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

Side by Side Diff: trunk/src/webkit/plugins/npapi/webplugin_delegate_impl.h

Issue 15757007: Revert 202364 "Track NPObject ownership by the originating plugi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 WebPlugin* plugin, 105 WebPlugin* plugin,
106 bool load_manually) OVERRIDE; 106 bool load_manually) OVERRIDE;
107 virtual void PluginDestroyed() OVERRIDE; 107 virtual void PluginDestroyed() OVERRIDE;
108 virtual void UpdateGeometry(const gfx::Rect& window_rect, 108 virtual void UpdateGeometry(const gfx::Rect& window_rect,
109 const gfx::Rect& clip_rect) OVERRIDE; 109 const gfx::Rect& clip_rect) OVERRIDE;
110 virtual void Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect) OVERRIDE; 110 virtual void Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
111 virtual void SetFocus(bool focused) OVERRIDE; 111 virtual void SetFocus(bool focused) OVERRIDE;
112 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, 112 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event,
113 WebCursor::CursorInfo* cursor_info) OVERRIDE; 113 WebCursor::CursorInfo* cursor_info) OVERRIDE;
114 virtual NPObject* GetPluginScriptableObject() OVERRIDE; 114 virtual NPObject* GetPluginScriptableObject() OVERRIDE;
115 virtual NPP GetPluginNPP() OVERRIDE;
116 virtual bool GetFormValue(base::string16* value) OVERRIDE; 115 virtual bool GetFormValue(base::string16* value) OVERRIDE;
117 virtual void DidFinishLoadWithReason(const GURL& url, 116 virtual void DidFinishLoadWithReason(const GURL& url,
118 NPReason reason, 117 NPReason reason,
119 int notify_id) OVERRIDE; 118 int notify_id) OVERRIDE;
120 virtual int GetProcessId() OVERRIDE; 119 virtual int GetProcessId() OVERRIDE;
121 virtual void SendJavaScriptStream(const GURL& url, 120 virtual void SendJavaScriptStream(const GURL& url,
122 const std::string& result, 121 const std::string& result,
123 bool success, 122 bool success,
124 int notify_id) OVERRIDE; 123 int notify_id) OVERRIDE;
125 virtual void DidReceiveManualResponse(const GURL& url, 124 virtual void DidReceiveManualResponse(const GURL& url,
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // True if NPP_New did not return an error. 497 // True if NPP_New did not return an error.
499 bool creation_succeeded_; 498 bool creation_succeeded_;
500 499
501 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 500 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
502 }; 501 };
503 502
504 } // namespace npapi 503 } // namespace npapi
505 } // namespace webkit 504 } // namespace webkit
506 505
507 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 506 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « trunk/src/webkit/plugins/npapi/webplugin_delegate.h ('k') | trunk/src/webkit/plugins/npapi/webplugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698