OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 namespace WebKit { | 56 namespace WebKit { |
57 class WebFileChooserCompletion; | 57 class WebFileChooserCompletion; |
58 class WebGamepads; | 58 class WebGamepads; |
59 class WebMouseEvent; | 59 class WebMouseEvent; |
60 struct WebCompositionUnderline; | 60 struct WebCompositionUnderline; |
61 struct WebFileChooserParams; | 61 struct WebFileChooserParams; |
62 } | 62 } |
63 | 63 |
64 namespace webkit_glue { | 64 namespace webkit_glue { |
| 65 class ClipboardClient; |
65 struct CustomContextMenuContext; | 66 struct CustomContextMenuContext; |
66 } | 67 } |
67 | 68 |
68 class TransportDIB; | 69 class TransportDIB; |
69 | 70 |
70 // This object is NOT thread-safe. | 71 // This object is NOT thread-safe. |
71 class CONTENT_EXPORT BrokerDispatcherWrapper { | 72 class CONTENT_EXPORT BrokerDispatcherWrapper { |
72 public: | 73 public: |
73 BrokerDispatcherWrapper(); | 74 BrokerDispatcherWrapper(); |
74 ~BrokerDispatcherWrapper(); | 75 ~BrokerDispatcherWrapper(); |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 virtual bool LockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 383 virtual bool LockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
383 virtual void UnlockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 384 virtual void UnlockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
384 virtual bool IsMouseLocked(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 385 virtual bool IsMouseLocked(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
385 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance, | 386 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance, |
386 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 387 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
387 virtual void DidReceiveMouseEvent( | 388 virtual void DidReceiveMouseEvent( |
388 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 389 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
389 virtual bool IsInFullscreenMode() OVERRIDE; | 390 virtual bool IsInFullscreenMode() OVERRIDE; |
390 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 391 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
391 virtual bool IsPageVisible() const OVERRIDE; | 392 virtual bool IsPageVisible() const OVERRIDE; |
| 393 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; |
392 | 394 |
393 // RenderViewObserver implementation. | 395 // RenderViewObserver implementation. |
394 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 396 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
395 virtual void OnDestruct() OVERRIDE; | 397 virtual void OnDestruct() OVERRIDE; |
396 | 398 |
397 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 399 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
398 uint32 socket_id, | 400 uint32 socket_id, |
399 bool succeeded, | 401 bool succeeded, |
400 const PP_NetAddress_Private& local_addr, | 402 const PP_NetAddress_Private& local_addr, |
401 const PP_NetAddress_Private& remote_addr); | 403 const PP_NetAddress_Private& remote_addr); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 // |last_mouse_event_target_| is not owned by this class. We can know about | 488 // |last_mouse_event_target_| is not owned by this class. We can know about |
487 // when it is destroyed via InstanceDeleted(). | 489 // when it is destroyed via InstanceDeleted(). |
488 webkit::ppapi::PluginInstance* last_mouse_event_target_; | 490 webkit::ppapi::PluginInstance* last_mouse_event_target_; |
489 | 491 |
490 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 492 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
491 | 493 |
492 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 494 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
493 }; | 495 }; |
494 | 496 |
495 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 497 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |