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

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

Issue 10824272: Add a skeleton gamepad resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 4 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 <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 int32_t total, 62 int32_t total,
63 PP_Bool final_result) OVERRIDE; 63 PP_Bool final_result) OVERRIDE;
64 virtual void SelectedFindResultChanged(PP_Instance instance, 64 virtual void SelectedFindResultChanged(PP_Instance instance,
65 int32_t index) OVERRIDE; 65 int32_t index) OVERRIDE;
66 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; 66 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE;
67 virtual PP_Bool SetFullscreen(PP_Instance instance, 67 virtual PP_Bool SetFullscreen(PP_Instance instance,
68 PP_Bool fullscreen) OVERRIDE; 68 PP_Bool fullscreen) OVERRIDE;
69 virtual PP_Bool GetScreenSize(PP_Instance instance, 69 virtual PP_Bool GetScreenSize(PP_Instance instance,
70 PP_Size* size) OVERRIDE; 70 PP_Size* size) OVERRIDE;
71 virtual thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE; 71 virtual thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE;
72 virtual void SampleGamepads(PP_Instance instance, 72 virtual thunk::PPB_Gamepad_API* GetGamepadAPI(PP_Instance instance) OVERRIDE;
73 PP_GamepadsSampleData* data) OVERRIDE;
74 virtual int32_t RequestInputEvents(PP_Instance instance, 73 virtual int32_t RequestInputEvents(PP_Instance instance,
75 uint32_t event_classes) OVERRIDE; 74 uint32_t event_classes) OVERRIDE;
76 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, 75 virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
77 uint32_t event_classes) OVERRIDE; 76 uint32_t event_classes) OVERRIDE;
78 virtual void ClearInputEventRequest(PP_Instance instance, 77 virtual void ClearInputEventRequest(PP_Instance instance,
79 uint32_t event_classes) OVERRIDE; 78 uint32_t event_classes) OVERRIDE;
80 virtual void ClosePendingUserGesture(PP_Instance instance, 79 virtual void ClosePendingUserGesture(PP_Instance instance,
81 PP_TimeTicks timestamp) OVERRIDE; 80 PP_TimeTicks timestamp) OVERRIDE;
82 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; 81 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE;
83 virtual void ZoomLimitsChanged(PP_Instance instance, 82 virtual void ZoomLimitsChanged(PP_Instance instance,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // Other helpers. 254 // Other helpers.
256 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); 255 void CancelAnyPendingRequestSurroundingText(PP_Instance instance);
257 256
258 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; 257 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_;
259 }; 258 };
260 259
261 } // namespace proxy 260 } // namespace proxy
262 } // namespace ppapi 261 } // namespace ppapi
263 262
264 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 263 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698