| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 virtual void UnlockMouse(PluginInstance* instance) = 0; | 464 virtual void UnlockMouse(PluginInstance* instance) = 0; |
| 465 | 465 |
| 466 // Notifies that |instance| has changed the cursor. | 466 // Notifies that |instance| has changed the cursor. |
| 467 // This will update the cursor appearance if it is currently over the plugin | 467 // This will update the cursor appearance if it is currently over the plugin |
| 468 // instance. | 468 // instance. |
| 469 virtual void DidChangeCursor(PluginInstance* instance, | 469 virtual void DidChangeCursor(PluginInstance* instance, |
| 470 const WebKit::WebCursorInfo& cursor) = 0; | 470 const WebKit::WebCursorInfo& cursor) = 0; |
| 471 | 471 |
| 472 // Notifies that |instance| has received a mouse event. | 472 // Notifies that |instance| has received a mouse event. |
| 473 virtual void DidReceiveMouseEvent(PluginInstance* instance) = 0; | 473 virtual void DidReceiveMouseEvent(PluginInstance* instance) = 0; |
| 474 |
| 475 // Determines if the browser entered fullscreen mode. |
| 476 virtual bool IsInFullscreenMode() = 0; |
| 474 }; | 477 }; |
| 475 | 478 |
| 476 } // namespace ppapi | 479 } // namespace ppapi |
| 477 } // namespace webkit | 480 } // namespace webkit |
| 478 | 481 |
| 479 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 482 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| OLD | NEW |