OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 6 #define CHROME_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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 int notify_id); | 82 int notify_id); |
83 | 83 |
84 void OnSetContentAreaFocus(bool has_focus); | 84 void OnSetContentAreaFocus(bool has_focus); |
85 #if defined(OS_MACOSX) | 85 #if defined(OS_MACOSX) |
86 void OnSetWindowFocus(bool has_focus); | 86 void OnSetWindowFocus(bool has_focus); |
87 void OnContainerHidden(); | 87 void OnContainerHidden(); |
88 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, | 88 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, |
89 bool has_focus); | 89 bool has_focus); |
90 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 90 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
91 const gfx::Rect& view_frame); | 91 const gfx::Rect& view_frame); |
92 void OnImeCompositionConfirmed(const string16& text); | 92 void OnImeCompositionCompleted(const string16& text); |
93 #endif | 93 #endif |
94 | 94 |
95 void OnDidReceiveManualResponse( | 95 void OnDidReceiveManualResponse( |
96 const GURL& url, | 96 const GURL& url, |
97 const PluginMsg_DidReceiveResponseParams& params); | 97 const PluginMsg_DidReceiveResponseParams& params); |
98 void OnDidReceiveManualData(const std::vector<char>& buffer); | 98 void OnDidReceiveManualData(const std::vector<char>& buffer); |
99 void OnDidFinishManualLoading(); | 99 void OnDidFinishManualLoading(); |
100 void OnDidManualLoadFail(); | 100 void OnDidManualLoadFail(); |
101 void OnInstallMissingPlugin(); | 101 void OnInstallMissingPlugin(); |
102 void OnHandleURLRequestReply(unsigned long resource_id, | 102 void OnHandleURLRequestReply(unsigned long resource_id, |
(...skipping 30 matching lines...) Expand all Loading... |
133 // browser. | 133 // browser. |
134 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); | 134 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); |
135 #endif | 135 #endif |
136 | 136 |
137 #endif | 137 #endif |
138 | 138 |
139 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 139 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
140 }; | 140 }; |
141 | 141 |
142 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 142 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
OLD | NEW |