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

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

Issue 3358006: Revert 58328 - Pull new PPAPI, reland 58319 and 58321.... (Closed) Base URL: svn://svn.chromium.org/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);
97 96
98 // PPP_Instance pass-through. 97 // PPP_Instance pass-through.
99 void Delete(); 98 void Delete();
100 bool Initialize(WebKit::WebPluginContainer* container, 99 bool Initialize(WebKit::WebPluginContainer* container,
101 const std::vector<std::string>& arg_names, 100 const std::vector<std::string>& arg_names,
102 const std::vector<std::string>& arg_values, 101 const std::vector<std::string>& arg_values,
103 bool full_frame); 102 bool full_frame);
104 bool HandleDocumentLoad(URLLoader* loader); 103 bool HandleDocumentLoad(URLLoader* loader);
105 bool HandleInputEvent(const WebKit::WebInputEvent& event, 104 bool HandleInputEvent(const WebKit::WebInputEvent& event,
106 WebKit::WebCursorInfo* cursor_info); 105 WebKit::WebCursorInfo* cursor_info);
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 208
210 // Containes the cursor if it's set by the plugin. 209 // Containes the cursor if it's set by the plugin.
211 scoped_ptr<WebKit::WebCursorInfo> cursor_; 210 scoped_ptr<WebKit::WebCursorInfo> cursor_;
212 211
213 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 212 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
214 }; 213 };
215 214
216 } // namespace pepper 215 } // namespace pepper
217 216
218 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_INSTANCE_H_ 217 #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