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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 virtual bool LockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 381 virtual bool LockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
381 virtual void UnlockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 382 virtual void UnlockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
382 virtual bool IsMouseLocked(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 383 virtual bool IsMouseLocked(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
383 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance, | 384 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance, |
384 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 385 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
385 virtual void DidReceiveMouseEvent( | 386 virtual void DidReceiveMouseEvent( |
386 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 387 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
387 virtual bool IsInFullscreenMode() OVERRIDE; | 388 virtual bool IsInFullscreenMode() OVERRIDE; |
388 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 389 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
389 virtual bool IsPageVisible() const OVERRIDE; | 390 virtual bool IsPageVisible() const OVERRIDE; |
| 391 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; |
390 | 392 |
391 // RenderViewObserver implementation. | 393 // RenderViewObserver implementation. |
392 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 394 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
393 virtual void OnDestruct() OVERRIDE; | 395 virtual void OnDestruct() OVERRIDE; |
394 | 396 |
395 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, | 397 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
396 uint32 socket_id, | 398 uint32 socket_id, |
397 bool succeeded, | 399 bool succeeded, |
398 const PP_NetAddress_Private& local_addr, | 400 const PP_NetAddress_Private& local_addr, |
399 const PP_NetAddress_Private& remote_addr); | 401 const PP_NetAddress_Private& remote_addr); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 // |last_mouse_event_target_| is not owned by this class. We can know about | 486 // |last_mouse_event_target_| is not owned by this class. We can know about |
485 // when it is destroyed via InstanceDeleted(). | 487 // when it is destroyed via InstanceDeleted(). |
486 webkit::ppapi::PluginInstance* last_mouse_event_target_; | 488 webkit::ppapi::PluginInstance* last_mouse_event_target_; |
487 | 489 |
488 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 490 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
489 | 491 |
490 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 492 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
491 }; | 493 }; |
492 | 494 |
493 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 495 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |