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

Unified Diff: ppapi/proxy/plugin_dispatcher.h

Issue 8226009: Remove the proxy callback tracker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PostMessage define. 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/plugin_dispatcher.h
diff --git a/ppapi/proxy/plugin_dispatcher.h b/ppapi/proxy/plugin_dispatcher.h
index 028cf72e5fab3a4c35084e5571dc8c2bf6223ad0..f468df7ae33f5c2de6b4ca2f82e23218e9a1a766 100644
--- a/ppapi/proxy/plugin_dispatcher.h
+++ b/ppapi/proxy/plugin_dispatcher.h
@@ -34,9 +34,14 @@ namespace proxy {
// Used to keep track of per-instance data.
struct InstanceData {
InstanceData();
+ ~InstanceData();
+
PP_Rect position;
PP_Bool fullscreen; // Used for PPB_Fullscreen.
PP_Bool flash_fullscreen; // Used for PPB_FlashFullscreen.
+
+ // When non-0, indicates the callback to execute when mouse lock is lost.
+ PP_CompletionCallback mouse_lock_callback;
};
class PPAPI_PROXY_EXPORT PluginDispatcher : public Dispatcher {

Powered by Google App Engine
This is Rietveld 408576698