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

Side by Side Diff: content/child/npapi/webplugin_delegate_impl.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
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_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // WebPluginDelegate implementation 83 // WebPluginDelegate implementation
84 virtual bool Initialize(const GURL& url, 84 virtual bool Initialize(const GURL& url,
85 const std::vector<std::string>& arg_names, 85 const std::vector<std::string>& arg_names,
86 const std::vector<std::string>& arg_values, 86 const std::vector<std::string>& arg_values,
87 WebPlugin* plugin, 87 WebPlugin* plugin,
88 bool load_manually) OVERRIDE; 88 bool load_manually) OVERRIDE;
89 virtual void PluginDestroyed() OVERRIDE; 89 virtual void PluginDestroyed() OVERRIDE;
90 virtual void UpdateGeometry(const gfx::Rect& window_rect, 90 virtual void UpdateGeometry(const gfx::Rect& window_rect,
91 const gfx::Rect& clip_rect) OVERRIDE; 91 const gfx::Rect& clip_rect) OVERRIDE;
92 virtual void Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect) OVERRIDE; 92 virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
93 virtual void SetFocus(bool focused) OVERRIDE; 93 virtual void SetFocus(bool focused) OVERRIDE;
94 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, 94 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event,
95 WebCursor::CursorInfo* cursor_info) OVERRIDE; 95 WebCursor::CursorInfo* cursor_info) OVERRIDE;
96 virtual NPObject* GetPluginScriptableObject() OVERRIDE; 96 virtual NPObject* GetPluginScriptableObject() OVERRIDE;
97 virtual NPP GetPluginNPP() OVERRIDE; 97 virtual NPP GetPluginNPP() OVERRIDE;
98 virtual bool GetFormValue(base::string16* value) OVERRIDE; 98 virtual bool GetFormValue(base::string16* value) OVERRIDE;
99 virtual void DidFinishLoadWithReason(const GURL& url, 99 virtual void DidFinishLoadWithReason(const GURL& url,
100 NPReason reason, 100 NPReason reason,
101 int notify_id) OVERRIDE; 101 int notify_id) OVERRIDE;
102 virtual int GetProcessId() OVERRIDE; 102 virtual int GetProcessId() OVERRIDE;
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 479
480 // True if NPP_New did not return an error. 480 // True if NPP_New did not return an error.
481 bool creation_succeeded_; 481 bool creation_succeeded_;
482 482
483 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 483 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
484 }; 484 };
485 485
486 } // namespace content 486 } // namespace content
487 487
488 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 488 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate.h ('k') | content/child/npapi/webplugin_delegate_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698