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) | 84 #if defined(OS_WIN) && !defined(USE_AURA) |
85 void OnImeCompositionUpdated(const string16& text, | 85 void OnImeCompositionUpdated(const string16& text, |
86 const std::vector<int>& clauses, | 86 const std::vector<int>& clauses, |
87 const std::vector<int>& target, | 87 const std::vector<int>& target, |
88 int cursor_position); | 88 int cursor_position); |
89 void OnImeCompositionCompleted(const string16& text); | 89 void OnImeCompositionCompleted(const string16& text); |
90 #endif | 90 #endif |
91 #if defined(OS_MACOSX) | 91 #if defined(OS_MACOSX) |
92 void OnSetWindowFocus(bool has_focus); | 92 void OnSetWindowFocus(bool has_focus); |
93 void OnContainerHidden(); | 93 void OnContainerHidden(); |
94 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, | 94 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // window handle which is used for subsequent communication back to the | 127 // window handle which is used for subsequent communication back to the |
128 // browser. | 128 // browser. |
129 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); | 129 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); |
130 #endif | 130 #endif |
131 #endif | 131 #endif |
132 | 132 |
133 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 133 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
134 }; | 134 }; |
135 | 135 |
136 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 136 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
OLD | NEW |