OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <set> | 9 #include <set> |
10 #include <map> | 10 #include <map> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 struct WebFileChooserParams; | 52 struct WebFileChooserParams; |
53 } | 53 } |
54 | 54 |
55 namespace webkit_glue { | 55 namespace webkit_glue { |
56 struct CustomContextMenuContext; | 56 struct CustomContextMenuContext; |
57 } | 57 } |
58 | 58 |
59 class TransportDIB; | 59 class TransportDIB; |
60 | 60 |
61 // This object is NOT thread-safe. | 61 // This object is NOT thread-safe. |
62 class BrokerDispatcherWrapper { | 62 class CONTENT_EXPORT BrokerDispatcherWrapper { |
63 public: | 63 public: |
64 BrokerDispatcherWrapper(); | 64 BrokerDispatcherWrapper(); |
65 ~BrokerDispatcherWrapper(); | 65 ~BrokerDispatcherWrapper(); |
66 | 66 |
67 bool Init(base::ProcessHandle plugin_process_handle, | 67 bool Init(base::ProcessHandle plugin_process_handle, |
68 const IPC::ChannelHandle& channel_handle); | 68 const IPC::ChannelHandle& channel_handle); |
69 | 69 |
70 int32_t SendHandleToBroker(PP_Instance instance, | 70 int32_t SendHandleToBroker(PP_Instance instance, |
71 base::SyncSocket::Handle handle); | 71 base::SyncSocket::Handle handle); |
72 | 72 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 // The plugin instance that received the last mouse event. It is set to NULL | 403 // The plugin instance that received the last mouse event. It is set to NULL |
404 // if the last mouse event went to elements other than Pepper plugins. | 404 // if the last mouse event went to elements other than Pepper plugins. |
405 // |last_mouse_event_target_| is not owned by this class. We can know about | 405 // |last_mouse_event_target_| is not owned by this class. We can know about |
406 // when it is destroyed via InstanceDeleted(). | 406 // when it is destroyed via InstanceDeleted(). |
407 webkit::ppapi::PluginInstance* last_mouse_event_target_; | 407 webkit::ppapi::PluginInstance* last_mouse_event_target_; |
408 | 408 |
409 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 409 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
410 }; | 410 }; |
411 | 411 |
412 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 412 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |