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

Side by Side Diff: webkit/plugins/ppapi/ppapi_plugin_instance.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 WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "ppapi/c/dev/pp_cursor_type_dev.h" 18 #include "ppapi/c/dev/pp_cursor_type_dev.h"
19 #include "ppapi/c/dev/ppb_gamepad_dev.h" 19 #include "ppapi/c/dev/ppb_gamepad_dev.h"
20 #include "ppapi/c/dev/ppp_printing_dev.h" 20 #include "ppapi/c/dev/ppp_printing_dev.h"
21 #include "ppapi/c/dev/ppp_find_dev.h" 21 #include "ppapi/c/dev/ppp_find_dev.h"
22 #include "ppapi/c/dev/ppp_selection_dev.h" 22 #include "ppapi/c/dev/ppp_selection_dev.h"
23 #include "ppapi/c/dev/ppp_zoom_dev.h" 23 #include "ppapi/c/dev/ppp_zoom_dev.h"
24 #include "ppapi/c/pp_completion_callback.h" 24 #include "ppapi/c/pp_completion_callback.h"
25 #include "ppapi/c/pp_instance.h" 25 #include "ppapi/c/pp_instance.h"
26 #include "ppapi/c/pp_resource.h" 26 #include "ppapi/c/pp_resource.h"
27 #include "ppapi/c/pp_var.h" 27 #include "ppapi/c/pp_var.h"
28 #include "ppapi/c/ppb_audio_config.h"
28 #include "ppapi/c/ppb_input_event.h" 29 #include "ppapi/c/ppb_input_event.h"
29 #include "ppapi/c/ppp_graphics_3d.h" 30 #include "ppapi/c/ppp_graphics_3d.h"
30 #include "ppapi/c/ppp_input_event.h" 31 #include "ppapi/c/ppp_input_event.h"
31 #include "ppapi/c/ppp_messaging.h" 32 #include "ppapi/c/ppp_messaging.h"
32 #include "ppapi/c/ppp_mouse_lock.h" 33 #include "ppapi/c/ppp_mouse_lock.h"
33 #include "ppapi/c/private/ppp_instance_private.h" 34 #include "ppapi/c/private/ppp_instance_private.h"
34 #include "ppapi/shared_impl/function_group_base.h" 35 #include "ppapi/shared_impl/function_group_base.h"
35 #include "ppapi/shared_impl/ppb_instance_shared.h" 36 #include "ppapi/shared_impl/ppb_instance_shared.h"
36 #include "ppapi/shared_impl/ppb_view_shared.h" 37 #include "ppapi/shared_impl/ppb_view_shared.h"
37 #include "third_party/skia/include/core/SkRefCnt.h" 38 #include "third_party/skia/include/core/SkRefCnt.h"
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // PPB_Instance_FunctionAPI implementation. 324 // PPB_Instance_FunctionAPI implementation.
324 virtual PP_Bool BindGraphics(PP_Instance instance, 325 virtual PP_Bool BindGraphics(PP_Instance instance,
325 PP_Resource device) OVERRIDE; 326 PP_Resource device) OVERRIDE;
326 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; 327 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE;
327 virtual const ::ppapi::ViewData* GetViewData(PP_Instance instance) OVERRIDE; 328 virtual const ::ppapi::ViewData* GetViewData(PP_Instance instance) OVERRIDE;
328 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; 329 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE;
329 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; 330 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE;
330 virtual PP_Var ExecuteScript(PP_Instance instance, 331 virtual PP_Var ExecuteScript(PP_Instance instance,
331 PP_Var script, 332 PP_Var script,
332 PP_Var* exception) OVERRIDE; 333 PP_Var* exception) OVERRIDE;
334 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance)
335 OVERRIDE;
336 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance)
337 OVERRIDE;
333 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; 338 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE;
334 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; 339 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE;
335 virtual void NumberOfFindResultsChanged(PP_Instance instance, 340 virtual void NumberOfFindResultsChanged(PP_Instance instance,
336 int32_t total, 341 int32_t total,
337 PP_Bool final_result) OVERRIDE; 342 PP_Bool final_result) OVERRIDE;
338 virtual void SelectedFindResultChanged(PP_Instance instance, 343 virtual void SelectedFindResultChanged(PP_Instance instance,
339 int32_t index) OVERRIDE; 344 int32_t index) OVERRIDE;
340 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; 345 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
341 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 346 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
342 PP_Bool fullscreen) OVERRIDE; 347 PP_Bool fullscreen) OVERRIDE;
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 618
614 PP_CompletionCallback lock_mouse_callback_; 619 PP_CompletionCallback lock_mouse_callback_;
615 620
616 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 621 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
617 }; 622 };
618 623
619 } // namespace ppapi 624 } // namespace ppapi
620 } // namespace webkit 625 } // namespace webkit
621 626
622 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 627 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698