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_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 void OnImeSetComposition( | 144 void OnImeSetComposition( |
145 const string16& text, | 145 const string16& text, |
146 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 146 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
147 int selection_start, | 147 int selection_start, |
148 int selection_end); | 148 int selection_end); |
149 void OnImeConfirmComposition(const string16& text); | 149 void OnImeConfirmComposition(const string16& text); |
150 | 150 |
151 // Notification that a mouse event has arrived at the render view. | 151 // Notification that a mouse event has arrived at the render view. |
152 void WillHandleMouseEvent(); | 152 void WillHandleMouseEvent(); |
153 | 153 |
| 154 // Creates the renderer side of an out-of-process Pepper plugin's IPC proxy. |
| 155 void CreateHostDispatcher( |
| 156 const FilePath& plugin_path, |
| 157 int plugin_child_id, |
| 158 base::ProcessHandle plugin_process_handle, |
| 159 const std::string& channel_handle_name); |
| 160 |
154 // PluginDelegate implementation. | 161 // PluginDelegate implementation. |
155 virtual void PluginFocusChanged(webkit::ppapi::PluginInstance* instance, | 162 virtual void PluginFocusChanged(webkit::ppapi::PluginInstance* instance, |
156 bool focused) OVERRIDE; | 163 bool focused) OVERRIDE; |
157 virtual void PluginTextInputTypeChanged( | 164 virtual void PluginTextInputTypeChanged( |
158 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 165 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
159 virtual void PluginCaretPositionChanged( | 166 virtual void PluginCaretPositionChanged( |
160 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 167 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
161 virtual void PluginRequestedCancelComposition( | 168 virtual void PluginRequestedCancelComposition( |
162 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 169 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
163 virtual void PluginSelectionChanged( | 170 virtual void PluginSelectionChanged( |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 | 500 |
494 scoped_ptr<PepperDeviceEnumerationEventHandler> | 501 scoped_ptr<PepperDeviceEnumerationEventHandler> |
495 device_enumeration_event_handler_; | 502 device_enumeration_event_handler_; |
496 | 503 |
497 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 504 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
498 }; | 505 }; |
499 | 506 |
500 } // namespace content | 507 } // namespace content |
501 | 508 |
502 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 509 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |