Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: content/renderer/npapi/webplugin_delegate_proxy.h

Issue 23684023: Move the WebPluginResourceClient interface to its own header. Also fix up method order in webplugin… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698