Don't announce clipboard events if the event target is not visible and focused.
[chromium-blink-merge.git] / ppapi / cpp / private / flash_message_loop.h
blobfecb2d6b42d8b2d53d2a8ce61027987783708f40
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PPAPI_CPP_PRIVATE_FLASH_MESSAGE_LOOP_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_MESSAGE_LOOP_H_
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/cpp/resource.h"
11 namespace pp {
13 class InstanceHandle;
15 namespace flash {
17 class MessageLoop : public Resource {
18 public:
19 explicit MessageLoop(const InstanceHandle& instance);
20 virtual ~MessageLoop();
22 static bool IsAvailable();
24 int32_t Run();
25 void Quit();
28 } // namespace flash
29 } // namespace pp
31 #endif // PPAPI_CPP_PRIVATE_FLASH_MESSAGE_LOOP_H_