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

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

Issue 9129007: Work on improving PpbAudioConfig:RecommendSampleFrameCount (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // PPB_Instance_FunctionAPI implementation. 45 // PPB_Instance_FunctionAPI implementation.
46 virtual PP_Bool BindGraphics(PP_Instance instance, 46 virtual PP_Bool BindGraphics(PP_Instance instance,
47 PP_Resource device) OVERRIDE; 47 PP_Resource device) OVERRIDE;
48 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; 48 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE;
49 virtual const ViewData* GetViewData(PP_Instance instance) OVERRIDE; 49 virtual const ViewData* GetViewData(PP_Instance instance) OVERRIDE;
50 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; 50 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE;
51 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; 51 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE;
52 virtual PP_Var ExecuteScript(PP_Instance instance, 52 virtual PP_Var ExecuteScript(PP_Instance instance,
53 PP_Var script, 53 PP_Var script,
54 PP_Var* exception) OVERRIDE; 54 PP_Var* exception) OVERRIDE;
55 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance)
56 OVERRIDE;
57 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance)
58 OVERRIDE;
55 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; 59 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE;
56 virtual void NumberOfFindResultsChanged(PP_Instance instance, 60 virtual void NumberOfFindResultsChanged(PP_Instance instance,
57 int32_t total, 61 int32_t total,
58 PP_Bool final_result) OVERRIDE; 62 PP_Bool final_result) OVERRIDE;
59 virtual void SelectedFindResultChanged(PP_Instance instance, 63 virtual void SelectedFindResultChanged(PP_Instance instance,
60 int32_t index) OVERRIDE; 64 int32_t index) OVERRIDE;
61 virtual PP_Bool SetFullscreen(PP_Instance instance, 65 virtual PP_Bool SetFullscreen(PP_Instance instance,
62 PP_Bool fullscreen) OVERRIDE; 66 PP_Bool fullscreen) OVERRIDE;
63 virtual PP_Bool GetScreenSize(PP_Instance instance, 67 virtual PP_Bool GetScreenSize(PP_Instance instance,
64 PP_Size* size) OVERRIDE; 68 PP_Size* size) OVERRIDE;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void OnHostMsgGetOwnerElementObject(PP_Instance instance, 109 void OnHostMsgGetOwnerElementObject(PP_Instance instance,
106 SerializedVarReturnValue result); 110 SerializedVarReturnValue result);
107 void OnHostMsgBindGraphics(PP_Instance instance, 111 void OnHostMsgBindGraphics(PP_Instance instance,
108 const ppapi::HostResource& device, 112 const ppapi::HostResource& device,
109 PP_Bool* result); 113 PP_Bool* result);
110 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); 114 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result);
111 void OnHostMsgExecuteScript(PP_Instance instance, 115 void OnHostMsgExecuteScript(PP_Instance instance,
112 SerializedVarReceiveInput script, 116 SerializedVarReceiveInput script,
113 SerializedVarOutParam out_exception, 117 SerializedVarOutParam out_exception,
114 SerializedVarReturnValue result); 118 SerializedVarReturnValue result);
119 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance,
120 uint32_t *result);
121 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance,
122 uint32_t *result);
115 void OnHostMsgGetDefaultCharSet(PP_Instance instance, 123 void OnHostMsgGetDefaultCharSet(PP_Instance instance,
116 SerializedVarReturnValue result); 124 SerializedVarReturnValue result);
117 void OnHostMsgSetFullscreen(PP_Instance instance, 125 void OnHostMsgSetFullscreen(PP_Instance instance,
118 PP_Bool fullscreen, 126 PP_Bool fullscreen,
119 PP_Bool* result); 127 PP_Bool* result);
120 void OnHostMsgGetScreenSize(PP_Instance instance, 128 void OnHostMsgGetScreenSize(PP_Instance instance,
121 PP_Bool* result, 129 PP_Bool* result,
122 PP_Size* size); 130 PP_Size* size);
123 void OnHostMsgFlashSetFullscreen(PP_Instance instance, 131 void OnHostMsgFlashSetFullscreen(PP_Instance instance,
124 PP_Bool fullscreen, 132 PP_Bool fullscreen,
(...skipping 30 matching lines...) Expand all
155 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); 163 void MouseLockCompleteInHost(int32_t result, PP_Instance instance);
156 164
157 pp::CompletionCallbackFactory<PPB_Instance_Proxy, 165 pp::CompletionCallbackFactory<PPB_Instance_Proxy,
158 ProxyNonThreadSafeRefCount> callback_factory_; 166 ProxyNonThreadSafeRefCount> callback_factory_;
159 }; 167 };
160 168
161 } // namespace proxy 169 } // namespace proxy
162 } // namespace ppapi 170 } // namespace ppapi
163 171
164 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 172 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698