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

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_Var GetFontFamilies(PP_Instance instance) OVERRIDE; 65 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE;
62 virtual PP_Bool SetFullscreen(PP_Instance instance, 66 virtual PP_Bool SetFullscreen(PP_Instance instance,
63 PP_Bool fullscreen) OVERRIDE; 67 PP_Bool fullscreen) OVERRIDE;
64 virtual PP_Bool GetScreenSize(PP_Instance instance, 68 virtual PP_Bool GetScreenSize(PP_Instance instance,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void OnHostMsgGetOwnerElementObject(PP_Instance instance, 110 void OnHostMsgGetOwnerElementObject(PP_Instance instance,
107 SerializedVarReturnValue result); 111 SerializedVarReturnValue result);
108 void OnHostMsgBindGraphics(PP_Instance instance, 112 void OnHostMsgBindGraphics(PP_Instance instance,
109 const ppapi::HostResource& device, 113 const ppapi::HostResource& device,
110 PP_Bool* result); 114 PP_Bool* result);
111 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); 115 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result);
112 void OnHostMsgExecuteScript(PP_Instance instance, 116 void OnHostMsgExecuteScript(PP_Instance instance,
113 SerializedVarReceiveInput script, 117 SerializedVarReceiveInput script,
114 SerializedVarOutParam out_exception, 118 SerializedVarOutParam out_exception,
115 SerializedVarReturnValue result); 119 SerializedVarReturnValue result);
120 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance,
121 uint32_t *result);
122 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance,
123 uint32_t *result);
116 void OnHostMsgGetDefaultCharSet(PP_Instance instance, 124 void OnHostMsgGetDefaultCharSet(PP_Instance instance,
117 SerializedVarReturnValue result); 125 SerializedVarReturnValue result);
118 void OnHostMsgSetFullscreen(PP_Instance instance, 126 void OnHostMsgSetFullscreen(PP_Instance instance,
119 PP_Bool fullscreen, 127 PP_Bool fullscreen,
120 PP_Bool* result); 128 PP_Bool* result);
121 void OnHostMsgGetScreenSize(PP_Instance instance, 129 void OnHostMsgGetScreenSize(PP_Instance instance,
122 PP_Bool* result, 130 PP_Bool* result,
123 PP_Size* size); 131 PP_Size* size);
124 void OnHostMsgFlashSetFullscreen(PP_Instance instance, 132 void OnHostMsgFlashSetFullscreen(PP_Instance instance,
125 PP_Bool fullscreen, 133 PP_Bool fullscreen,
(...skipping 30 matching lines...) Expand all
156 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); 164 void MouseLockCompleteInHost(int32_t result, PP_Instance instance);
157 165
158 pp::CompletionCallbackFactory<PPB_Instance_Proxy, 166 pp::CompletionCallbackFactory<PPB_Instance_Proxy,
159 ProxyNonThreadSafeRefCount> callback_factory_; 167 ProxyNonThreadSafeRefCount> callback_factory_;
160 }; 168 };
161 169
162 } // namespace proxy 170 } // namespace proxy
163 } // namespace ppapi 171 } // namespace ppapi
164 172
165 #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