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

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

Issue 9369003: Pepper: Add a function to PPB_Flash to check if a rect is topmost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add stubs for InvokePrinting() and UpdateActivity() Created 8 years, 10 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 | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | 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_PLUGIN_INSTANCE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // asynchronous. WebKit will trigger corresponding VewChanged calls. 284 // asynchronous. WebKit will trigger corresponding VewChanged calls.
285 // Returns true on success, false on failure (e.g. trying to enter fullscreen 285 // Returns true on success, false on failure (e.g. trying to enter fullscreen
286 // when not processing a user gesture or trying to set fullscreen when 286 // when not processing a user gesture or trying to set fullscreen when
287 // already in fullscreen mode). 287 // already in fullscreen mode).
288 bool SetFullscreen(bool fullscreen); 288 bool SetFullscreen(bool fullscreen);
289 289
290 // Implementation of PPB_Flash. 290 // Implementation of PPB_Flash.
291 int32_t Navigate(PPB_URLRequestInfo_Impl* request, 291 int32_t Navigate(PPB_URLRequestInfo_Impl* request,
292 const char* target, 292 const char* target,
293 bool from_user_action); 293 bool from_user_action);
294 bool IsRectTopmost(const gfx::Rect& rect);
294 295
295 // Implementation of PPB_Gamepad. 296 // Implementation of PPB_Gamepad.
296 void SampleGamepads(PP_Instance instance, PP_GamepadsData_Dev* data) 297 void SampleGamepads(PP_Instance instance, PP_GamepadsData_Dev* data)
297 OVERRIDE; 298 OVERRIDE;
298 299
299 // Implementation of PPP_Messaging. 300 // Implementation of PPP_Messaging.
300 void HandleMessage(PP_Var message); 301 void HandleMessage(PP_Var message);
301 302
302 PluginDelegate::PlatformContext3D* CreateContext3D(); 303 PluginDelegate::PlatformContext3D* CreateContext3D();
303 304
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 614
614 PP_CompletionCallback lock_mouse_callback_; 615 PP_CompletionCallback lock_mouse_callback_;
615 616
616 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 617 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
617 }; 618 };
618 619
619 } // namespace ppapi 620 } // namespace ppapi
620 } // namespace webkit 621 } // namespace webkit
621 622
622 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 623 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698