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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 void OnDidPaint(); | 74 void OnDidPaint(); |
75 void OnUpdateGeometry(const PluginMsg_UpdateGeometry_Param& param); | 75 void OnUpdateGeometry(const PluginMsg_UpdateGeometry_Param& param); |
76 void OnGetPluginScriptableObject(int* route_id); | 76 void OnGetPluginScriptableObject(int* route_id); |
77 void OnSendJavaScriptStream(const GURL& url, | 77 void OnSendJavaScriptStream(const GURL& url, |
78 const std::string& result, | 78 const std::string& result, |
79 bool success, | 79 bool success, |
80 int notify_id); | 80 int notify_id); |
81 void OnGetFormValue(string16* value, bool* success); | 81 void OnGetFormValue(string16* value, bool* success); |
82 | 82 |
83 void OnSetContentAreaFocus(bool has_focus); | 83 void OnSetContentAreaFocus(bool has_focus); |
| 84 #if defined(OS_WIN) |
| 85 void OnImeCompositionUpdated(const string16& text, |
| 86 const std::vector<int>& clauses, |
| 87 const std::vector<int>& target, |
| 88 int cursor_position); |
| 89 void OnImeCompositionCompleted(const string16& text); |
| 90 #endif |
84 #if defined(OS_MACOSX) | 91 #if defined(OS_MACOSX) |
85 void OnSetWindowFocus(bool has_focus); | 92 void OnSetWindowFocus(bool has_focus); |
86 void OnContainerHidden(); | 93 void OnContainerHidden(); |
87 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, | 94 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, |
88 bool has_focus); | 95 bool has_focus); |
89 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 96 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
90 const gfx::Rect& view_frame); | 97 const gfx::Rect& view_frame); |
91 void OnImeCompositionCompleted(const string16& text); | 98 void OnImeCompositionCompleted(const string16& text); |
92 #endif | 99 #endif |
93 | 100 |
(...skipping 26 matching lines...) Expand all Loading... |
120 // window handle which is used for subsequent communication back to the | 127 // window handle which is used for subsequent communication back to the |
121 // browser. | 128 // browser. |
122 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); | 129 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); |
123 #endif | 130 #endif |
124 #endif | 131 #endif |
125 | 132 |
126 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 133 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
127 }; | 134 }; |
128 | 135 |
129 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 136 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
OLD | NEW |