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

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

Issue 9085027: Pepper gamepad support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove hardcoded size assert in favour of matching webkit size assert Created 8 years, 11 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
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 int32_t index) OVERRIDE; 68 int32_t index) OVERRIDE;
69 virtual PP_Bool SetFullscreen(PP_Instance instance, 69 virtual PP_Bool SetFullscreen(PP_Instance instance,
70 PP_Bool fullscreen) OVERRIDE; 70 PP_Bool fullscreen) OVERRIDE;
71 virtual PP_Bool GetScreenSize(PP_Instance instance, 71 virtual PP_Bool GetScreenSize(PP_Instance instance,
72 PP_Size* size) OVERRIDE; 72 PP_Size* size) OVERRIDE;
73 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; 73 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
74 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 74 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
75 PP_Bool fullscreen) OVERRIDE; 75 PP_Bool fullscreen) OVERRIDE;
76 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) 76 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size)
77 OVERRIDE; 77 OVERRIDE;
78 virtual void SampleGamepads(PP_Instance instance, PP_GamepadsData_Dev* data)
79 OVERRIDE;
78 virtual int32_t RequestInputEvents(PP_Instance instance, 80 virtual int32_t RequestInputEvents(PP_Instance instance,
79 uint32_t event_classes) OVERRIDE; 81 uint32_t event_classes) OVERRIDE;
80 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, 82 virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
81 uint32_t event_classes) OVERRIDE; 83 uint32_t event_classes) OVERRIDE;
82 virtual void ClearInputEventRequest(PP_Instance instance, 84 virtual void ClearInputEventRequest(PP_Instance instance,
83 uint32_t event_classes) OVERRIDE; 85 uint32_t event_classes) OVERRIDE;
84 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; 86 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE;
85 virtual void ZoomLimitsChanged(PP_Instance instance, 87 virtual void ZoomLimitsChanged(PP_Instance instance,
86 double minimum_factor, 88 double minimum_factor,
87 double maximium_factor) OVERRIDE; 89 double maximium_factor) OVERRIDE;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); 170 void MouseLockCompleteInHost(int32_t result, PP_Instance instance);
169 171
170 pp::CompletionCallbackFactory<PPB_Instance_Proxy, 172 pp::CompletionCallbackFactory<PPB_Instance_Proxy,
171 ProxyNonThreadSafeRefCount> callback_factory_; 173 ProxyNonThreadSafeRefCount> callback_factory_;
172 }; 174 };
173 175
174 } // namespace proxy 176 } // namespace proxy
175 } // namespace ppapi 177 } // namespace ppapi
176 178
177 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 179 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698