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

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

Issue 15941006: Track NPObject ownership by the originating plugins' NPP identifier. [2/3] (Chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CppBoundClass. 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;
115 virtual bool GetFormValue(base::string16* value) OVERRIDE; 116 virtual bool GetFormValue(base::string16* value) OVERRIDE;
116 virtual void DidFinishLoadWithReason(const GURL& url, 117 virtual void DidFinishLoadWithReason(const GURL& url,
117 NPReason reason, 118 NPReason reason,
118 int notify_id) OVERRIDE; 119 int notify_id) OVERRIDE;
119 virtual int GetProcessId() OVERRIDE; 120 virtual int GetProcessId() OVERRIDE;
120 virtual void SendJavaScriptStream(const GURL& url, 121 virtual void SendJavaScriptStream(const GURL& url,
121 const std::string& result, 122 const std::string& result,
122 bool success, 123 bool success,
123 int notify_id) OVERRIDE; 124 int notify_id) OVERRIDE;
124 virtual void DidReceiveManualResponse(const GURL& url, 125 virtual void DidReceiveManualResponse(const GURL& url,
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 // True if NPP_New did not return an error. 498 // True if NPP_New did not return an error.
498 bool creation_succeeded_; 499 bool creation_succeeded_;
499 500
500 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 501 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
501 }; 502 };
502 503
503 } // namespace npapi 504 } // namespace npapi
504 } // namespace webkit 505 } // namespace webkit
505 506
506 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 507 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin_delegate.h ('k') | webkit/plugins/npapi/webplugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698