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_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 5 #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // Informs the plugin that its container (window/tab) has changed visibility. | 87 // Informs the plugin that its container (window/tab) has changed visibility. |
88 virtual void SetContainerVisibility(bool is_visible); | 88 virtual void SetContainerVisibility(bool is_visible); |
89 // Informs the plugin that its enclosing window's frame has changed. | 89 // Informs the plugin that its enclosing window's frame has changed. |
90 virtual void WindowFrameChanged(gfx::Rect window_frame, gfx::Rect view_frame); | 90 virtual void WindowFrameChanged(gfx::Rect window_frame, gfx::Rect view_frame); |
91 // Informs the plugin that text is avaiable from plugin IME. | 91 // Informs the plugin that text is avaiable from plugin IME. |
92 virtual void ImeCompositionConfirmed(const string16& text, int plugin_id); | 92 virtual void ImeCompositionConfirmed(const string16& text, int plugin_id); |
93 #endif | 93 #endif |
94 | 94 |
95 // IPC::Channel::Listener implementation: | 95 // IPC::Channel::Listener implementation: |
96 virtual void OnMessageReceived(const IPC::Message& msg); | 96 virtual void OnMessageReceived(const IPC::Message& msg); |
97 void OnChannelError(); | 97 virtual void OnChannelError(); |
98 | 98 |
99 // IPC::Message::Sender implementation: | 99 // IPC::Message::Sender implementation: |
100 virtual bool Send(IPC::Message* msg); | 100 virtual bool Send(IPC::Message* msg); |
101 | 101 |
102 virtual void SendJavaScriptStream(const GURL& url, | 102 virtual void SendJavaScriptStream(const GURL& url, |
103 const std::string& result, | 103 const std::string& result, |
104 bool success, | 104 bool success, |
105 int notify_id); | 105 int notify_id); |
106 | 106 |
107 virtual void DidReceiveManualResponse(const GURL& url, | 107 virtual void DidReceiveManualResponse(const GURL& url, |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 // This lets us know which portion of the backing store has been painted into. | 274 // This lets us know which portion of the backing store has been painted into. |
275 gfx::Rect backing_store_painted_; | 275 gfx::Rect backing_store_painted_; |
276 | 276 |
277 // The url of the main frame hosting the plugin. | 277 // The url of the main frame hosting the plugin. |
278 GURL page_url_; | 278 GURL page_url_; |
279 | 279 |
280 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 280 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
281 }; | 281 }; |
282 | 282 |
283 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 283 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |