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

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

Issue 8273029: PPAPI Fullscreen: In ViewChanged, check if the browser entered fullscreen mode (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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) 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
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_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698