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

Side by Side Diff: webkit/glue/plugins/pepper_plugin_instance.h

Issue 3323005: Unrevert 58354, reland PPAPI with the instance test disabled. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // has not yet been positioned. You can supply an empty gfx::Rect() to 86 // has not yet been positioned. You can supply an empty gfx::Rect() to
87 // invalidate the entire plugin. 87 // invalidate the entire plugin.
88 void InvalidateRect(const gfx::Rect& rect); 88 void InvalidateRect(const gfx::Rect& rect);
89 89
90 // PPB_Instance implementation. 90 // PPB_Instance implementation.
91 PP_Var GetWindowObject(); 91 PP_Var GetWindowObject();
92 PP_Var GetOwnerElementObject(); 92 PP_Var GetOwnerElementObject();
93 bool BindGraphics(PP_Resource device_id); 93 bool BindGraphics(PP_Resource device_id);
94 bool full_frame() const { return full_frame_; } 94 bool full_frame() const { return full_frame_; }
95 bool SetCursor(PP_CursorType_Dev type); 95 bool SetCursor(PP_CursorType_Dev type);
96 PP_Var ExecuteScript(PP_Var script, PP_Var* exception);
96 97
97 // PPP_Instance pass-through. 98 // PPP_Instance pass-through.
98 void Delete(); 99 void Delete();
99 bool Initialize(WebKit::WebPluginContainer* container, 100 bool Initialize(WebKit::WebPluginContainer* container,
100 const std::vector<std::string>& arg_names, 101 const std::vector<std::string>& arg_names,
101 const std::vector<std::string>& arg_values, 102 const std::vector<std::string>& arg_values,
102 bool full_frame); 103 bool full_frame);
103 bool HandleDocumentLoad(URLLoader* loader); 104 bool HandleDocumentLoad(URLLoader* loader);
104 bool HandleInputEvent(const WebKit::WebInputEvent& event, 105 bool HandleInputEvent(const WebKit::WebInputEvent& event,
105 WebKit::WebCursorInfo* cursor_info); 106 WebKit::WebCursorInfo* cursor_info);
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 // Containes the cursor if it's set by the plugin. 210 // Containes the cursor if it's set by the plugin.
210 scoped_ptr<WebKit::WebCursorInfo> cursor_; 211 scoped_ptr<WebKit::WebCursorInfo> cursor_;
211 212
212 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 213 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
213 }; 214 };
214 215
215 } // namespace pepper 216 } // namespace pepper
216 217
217 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ 218 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_entrypoints.cc ('k') | webkit/glue/plugins/pepper_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698