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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool load_manually) OVERRIDE; | 61 bool load_manually) OVERRIDE; |
62 virtual void UpdateGeometry(const gfx::Rect& window_rect, | 62 virtual void UpdateGeometry(const gfx::Rect& window_rect, |
63 const gfx::Rect& clip_rect) OVERRIDE; | 63 const gfx::Rect& clip_rect) OVERRIDE; |
64 virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; | 64 virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; |
65 virtual NPObject* GetPluginScriptableObject() OVERRIDE; | 65 virtual NPObject* GetPluginScriptableObject() OVERRIDE; |
66 virtual struct _NPP* GetPluginNPP() OVERRIDE; | 66 virtual struct _NPP* GetPluginNPP() OVERRIDE; |
67 virtual bool GetFormValue(string16* value) OVERRIDE; | 67 virtual bool GetFormValue(string16* value) OVERRIDE; |
68 virtual void DidFinishLoadWithReason(const GURL& url, NPReason reason, | 68 virtual void DidFinishLoadWithReason(const GURL& url, NPReason reason, |
69 int notify_id) OVERRIDE; | 69 int notify_id) OVERRIDE; |
70 virtual void SetFocus(bool focused) OVERRIDE; | 70 virtual void SetFocus(bool focused) OVERRIDE; |
71 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, | 71 virtual bool HandleInputEvent(const blink::WebInputEvent& event, |
72 WebCursor::CursorInfo* cursor) OVERRIDE; | 72 WebCursor::CursorInfo* cursor) OVERRIDE; |
73 virtual int GetProcessId() OVERRIDE; | 73 virtual int GetProcessId() OVERRIDE; |
74 | 74 |
75 // Informs the plugin that its containing content view has gained or lost | 75 // Informs the plugin that its containing content view has gained or lost |
76 // first responder status. | 76 // first responder status. |
77 virtual void SetContentAreaFocus(bool has_focus); | 77 virtual void SetContentAreaFocus(bool has_focus); |
78 #if defined(OS_WIN) | 78 #if defined(OS_WIN) |
79 // Informs the plugin that plugin IME has updated its status. | 79 // Informs the plugin that plugin IME has updated its status. |
80 virtual void ImeCompositionUpdated( | 80 virtual void ImeCompositionUpdated( |
81 const string16& text, | 81 const string16& text, |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 // The url of the main frame hosting the plugin. | 301 // The url of the main frame hosting the plugin. |
302 GURL page_url_; | 302 GURL page_url_; |
303 | 303 |
304 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 304 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
305 }; | 305 }; |
306 | 306 |
307 } // namespace content | 307 } // namespace content |
308 | 308 |
309 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 309 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |