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

Side by Side Diff: ppapi/proxy/ppb_instance_proxy.h

Issue 9405033: Revise gamepad interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comment 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
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 PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_resource.h" 9 #include "ppapi/c/pp_resource.h"
10 #include "ppapi/c/pp_var.h" 10 #include "ppapi/c/pp_var.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; 65 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE;
66 virtual PP_Bool SetFullscreen(PP_Instance instance, 66 virtual PP_Bool SetFullscreen(PP_Instance instance,
67 PP_Bool fullscreen) OVERRIDE; 67 PP_Bool fullscreen) OVERRIDE;
68 virtual PP_Bool GetScreenSize(PP_Instance instance, 68 virtual PP_Bool GetScreenSize(PP_Instance instance,
69 PP_Size* size) OVERRIDE; 69 PP_Size* size) OVERRIDE;
70 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; 70 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
71 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 71 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
72 PP_Bool fullscreen) OVERRIDE; 72 PP_Bool fullscreen) OVERRIDE;
73 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) 73 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size)
74 OVERRIDE; 74 OVERRIDE;
75 virtual void SampleGamepads(PP_Instance instance, PP_GamepadsData_Dev* data) 75 virtual void SampleGamepads(PP_Instance instance,
76 OVERRIDE; 76 PP_GamepadsSampleData_Dev* data) OVERRIDE;
77 virtual int32_t RequestInputEvents(PP_Instance instance, 77 virtual int32_t RequestInputEvents(PP_Instance instance,
78 uint32_t event_classes) OVERRIDE; 78 uint32_t event_classes) OVERRIDE;
79 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, 79 virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
80 uint32_t event_classes) OVERRIDE; 80 uint32_t event_classes) OVERRIDE;
81 virtual void ClearInputEventRequest(PP_Instance instance, 81 virtual void ClearInputEventRequest(PP_Instance instance,
82 uint32_t event_classes) OVERRIDE; 82 uint32_t event_classes) OVERRIDE;
83 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; 83 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE;
84 virtual void ZoomLimitsChanged(PP_Instance instance, 84 virtual void ZoomLimitsChanged(PP_Instance instance,
85 double minimum_factor, 85 double minimum_factor,
86 double maximium_factor) OVERRIDE; 86 double maximium_factor) OVERRIDE;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); 164 void MouseLockCompleteInHost(int32_t result, PP_Instance instance);
165 165
166 pp::CompletionCallbackFactory<PPB_Instance_Proxy, 166 pp::CompletionCallbackFactory<PPB_Instance_Proxy,
167 ProxyNonThreadSafeRefCount> callback_factory_; 167 ProxyNonThreadSafeRefCount> callback_factory_;
168 }; 168 };
169 169
170 } // namespace proxy 170 } // namespace proxy
171 } // namespace ppapi 171 } // namespace ppapi
172 172
173 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 173 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698