| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |