OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 // WebPluginDelegate implementation: | 54 // WebPluginDelegate implementation: |
55 virtual void PluginDestroyed() OVERRIDE; | 55 virtual void PluginDestroyed() OVERRIDE; |
56 virtual bool Initialize(const GURL& url, | 56 virtual bool Initialize(const GURL& url, |
57 const std::vector<std::string>& arg_names, | 57 const std::vector<std::string>& arg_names, |
58 const std::vector<std::string>& arg_values, | 58 const std::vector<std::string>& arg_values, |
59 WebPlugin* plugin, | 59 WebPlugin* plugin, |
60 bool load_manually) OVERRIDE; | 60 bool load_manually) OVERRIDE; |
61 virtual void UpdateGeometry(const gfx::Rect& window_rect, | 61 virtual void UpdateGeometry(const gfx::Rect& window_rect, |
62 const gfx::Rect& clip_rect) OVERRIDE; | 62 const gfx::Rect& clip_rect) OVERRIDE; |
63 virtual void Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect) OVERRIDE; | 63 virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
64 virtual NPObject* GetPluginScriptableObject() OVERRIDE; | 64 virtual NPObject* GetPluginScriptableObject() OVERRIDE; |
65 virtual struct _NPP* GetPluginNPP() OVERRIDE; | 65 virtual struct _NPP* GetPluginNPP() OVERRIDE; |
66 virtual bool GetFormValue(string16* value) OVERRIDE; | 66 virtual bool GetFormValue(string16* value) OVERRIDE; |
67 virtual void DidFinishLoadWithReason(const GURL& url, NPReason reason, | 67 virtual void DidFinishLoadWithReason(const GURL& url, NPReason reason, |
68 int notify_id) OVERRIDE; | 68 int notify_id) OVERRIDE; |
69 virtual void SetFocus(bool focused) OVERRIDE; | 69 virtual void SetFocus(bool focused) OVERRIDE; |
70 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, | 70 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, |
71 WebCursor::CursorInfo* cursor) OVERRIDE; | 71 WebCursor::CursorInfo* cursor) OVERRIDE; |
72 virtual int GetProcessId() OVERRIDE; | 72 virtual int GetProcessId() OVERRIDE; |
73 | 73 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 287 |
288 // The url of the main frame hosting the plugin. | 288 // The url of the main frame hosting the plugin. |
289 GURL page_url_; | 289 GURL page_url_; |
290 | 290 |
291 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 291 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
292 }; | 292 }; |
293 | 293 |
294 } // namespace content | 294 } // namespace content |
295 | 295 |
296 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 296 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |