| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 int notify_id); | 78 int notify_id); |
| 79 | 79 |
| 80 void OnSetContentAreaFocus(bool has_focus); | 80 void OnSetContentAreaFocus(bool has_focus); |
| 81 #if defined(OS_MACOSX) | 81 #if defined(OS_MACOSX) |
| 82 void OnSetWindowFocus(bool has_focus); | 82 void OnSetWindowFocus(bool has_focus); |
| 83 void OnContainerHidden(); | 83 void OnContainerHidden(); |
| 84 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, | 84 void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, |
| 85 bool has_focus); | 85 bool has_focus); |
| 86 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 86 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
| 87 const gfx::Rect& view_frame); | 87 const gfx::Rect& view_frame); |
| 88 void OnImeCompositionConfirmed(const string16& text); |
| 88 #endif | 89 #endif |
| 89 | 90 |
| 90 void OnDidReceiveManualResponse( | 91 void OnDidReceiveManualResponse( |
| 91 const GURL& url, | 92 const GURL& url, |
| 92 const PluginMsg_DidReceiveResponseParams& params); | 93 const PluginMsg_DidReceiveResponseParams& params); |
| 93 void OnDidReceiveManualData(const std::vector<char>& buffer); | 94 void OnDidReceiveManualData(const std::vector<char>& buffer); |
| 94 void OnDidFinishManualLoading(); | 95 void OnDidFinishManualLoading(); |
| 95 void OnDidManualLoadFail(); | 96 void OnDidManualLoadFail(); |
| 96 void OnInstallMissingPlugin(); | 97 void OnInstallMissingPlugin(); |
| 97 void OnHandleURLRequestReply(unsigned long resource_id, | 98 void OnHandleURLRequestReply(unsigned long resource_id, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 128 // browser. | 129 // browser. |
| 129 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); | 130 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); |
| 130 #endif | 131 #endif |
| 131 | 132 |
| 132 #endif | 133 #endif |
| 133 | 134 |
| 134 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 135 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 138 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| OLD | NEW |