| 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_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| 6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // renderer over the IPC channel. | 59 // renderer over the IPC channel. |
| 60 void OnInit(const PluginMsg_Init_Params& params, | 60 void OnInit(const PluginMsg_Init_Params& params, |
| 61 bool* transparent, | 61 bool* transparent, |
| 62 bool* result); | 62 bool* result); |
| 63 void OnSetFocus(bool focused); | 63 void OnSetFocus(bool focused); |
| 64 void OnHandleInputEvent(const blink::WebInputEvent* event, | 64 void OnHandleInputEvent(const blink::WebInputEvent* event, |
| 65 bool* handled, WebCursor* cursor); | 65 bool* handled, WebCursor* cursor); |
| 66 void OnPaint(const gfx::Rect& damaged_rect); | 66 void OnPaint(const gfx::Rect& damaged_rect); |
| 67 void OnDidPaint(); | 67 void OnDidPaint(); |
| 68 void OnUpdateGeometry(const PluginMsg_UpdateGeometry_Param& param); | 68 void OnUpdateGeometry(const PluginMsg_UpdateGeometry_Param& param); |
| 69 void OnGetFormValue(base::string16* value, bool* success); | |
| 70 | 69 |
| 71 void OnSetContentAreaFocus(bool has_focus); | 70 void OnSetContentAreaFocus(bool has_focus); |
| 72 #if defined(OS_MACOSX) | 71 #if defined(OS_MACOSX) |
| 73 void OnSetWindowFocus(bool has_focus); | 72 void OnSetWindowFocus(bool has_focus); |
| 74 void OnContainerHidden(); | 73 void OnContainerHidden(); |
| 75 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, | 74 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, |
| 76 bool has_focus); | 75 bool has_focus); |
| 77 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 76 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
| 78 const gfx::Rect& view_frame); | 77 const gfx::Rect& view_frame); |
| 79 void OnImeCompositionCompleted(const base::string16& text); | 78 void OnImeCompositionCompleted(const base::string16& text); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 90 | 89 |
| 91 // The url of the main frame hosting the plugin. | 90 // The url of the main frame hosting the plugin. |
| 92 GURL page_url_; | 91 GURL page_url_; |
| 93 | 92 |
| 94 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 93 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace content | 96 } // namespace content |
| 98 | 97 |
| 99 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 98 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| OLD | NEW |