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

Side by Side Diff: webkit/plugins/ppapi/ppapi_webplugin_impl.h

Issue 9609008: Implemented Browser Plugin (NOT FOR REVIEW) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: New BrowserPluginSerializationRules. Removed unnecessary changes to VarTracker Created 8 years, 7 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 | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | no next file » | 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 WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 17 matching lines...) Expand all
28 class PluginModule; 28 class PluginModule;
29 class PPB_URLLoader_Impl; 29 class PPB_URLLoader_Impl;
30 30
31 class WebPluginImpl : public WebKit::WebPlugin { 31 class WebPluginImpl : public WebKit::WebPlugin {
32 public: 32 public:
33 WEBKIT_PLUGINS_EXPORT WebPluginImpl( 33 WEBKIT_PLUGINS_EXPORT WebPluginImpl(
34 PluginModule* module, 34 PluginModule* module,
35 const WebKit::WebPluginParams& params, 35 const WebKit::WebPluginParams& params,
36 const base::WeakPtr<PluginDelegate>& plugin_delegate); 36 const base::WeakPtr<PluginDelegate>& plugin_delegate);
37 37
38 PluginInstance* instance() { return instance_.get(); }
39
38 // WebKit::WebPlugin implementation. 40 // WebKit::WebPlugin implementation.
39 virtual WebKit::WebPluginContainer* container() const; 41 virtual WebKit::WebPluginContainer* container() const;
40 virtual bool initialize(WebKit::WebPluginContainer* container); 42 virtual bool initialize(WebKit::WebPluginContainer* container);
41 virtual void destroy(); 43 virtual void destroy();
42 virtual NPObject* scriptableObject(); 44 virtual NPObject* scriptableObject();
43 virtual bool getFormValue(WebKit::WebString& value); 45 virtual bool getFormValue(WebKit::WebString& value);
44 virtual void paint(WebKit::WebCanvas* canvas, const WebKit::WebRect& rect); 46 virtual void paint(WebKit::WebCanvas* canvas, const WebKit::WebRect& rect);
45 virtual void updateGeometry( 47 virtual void updateGeometry(
46 const WebKit::WebRect& frame_rect, 48 const WebKit::WebRect& frame_rect,
47 const WebKit::WebRect& clip_rect, 49 const WebKit::WebRect& clip_rect,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 PP_Var instance_object_; 99 PP_Var instance_object_;
98 WebKit::WebPluginContainer* container_; 100 WebKit::WebPluginContainer* container_;
99 101
100 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 102 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
101 }; 103 };
102 104
103 } // namespace ppapi 105 } // namespace ppapi
104 } // namespace webkit 106 } // namespace webkit
105 107
106 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_ 108 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698