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

Side by Side Diff: ppapi/thunk/ppb_instance_api.h

Issue 11416214: PPAPI: Move PPB_Console out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test Created 8 years 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_THUNK_INSTANCE_API_H_ 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_
6 #define PPAPI_THUNK_INSTANCE_API_H_ 6 #define PPAPI_THUNK_INSTANCE_API_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/c/dev/ppb_console_dev.h"
11 #include "ppapi/c/dev/ppb_text_input_dev.h" 10 #include "ppapi/c/dev/ppb_text_input_dev.h"
12 #include "ppapi/c/dev/ppb_url_util_dev.h" 11 #include "ppapi/c/dev/ppb_url_util_dev.h"
13 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
14 #include "ppapi/c/pp_completion_callback.h" 13 #include "ppapi/c/pp_completion_callback.h"
15 #include "ppapi/c/pp_size.h" 14 #include "ppapi/c/pp_size.h"
16 #include "ppapi/c/pp_time.h" 15 #include "ppapi/c/pp_time.h"
17 #include "ppapi/c/ppb_audio_config.h" 16 #include "ppapi/c/ppb_audio_config.h"
17 #include "ppapi/c/ppb_console.h"
18 #include "ppapi/c/ppb_gamepad.h" 18 #include "ppapi/c/ppb_gamepad.h"
19 #include "ppapi/c/ppb_instance.h" 19 #include "ppapi/c/ppb_instance.h"
20 #include "ppapi/c/ppb_mouse_cursor.h" 20 #include "ppapi/c/ppb_mouse_cursor.h"
21 #include "ppapi/c/private/pp_content_decryptor.h" 21 #include "ppapi/c/private/pp_content_decryptor.h"
22 #include "ppapi/c/private/ppb_instance_private.h" 22 #include "ppapi/c/private/ppb_instance_private.h"
23 #include "ppapi/shared_impl/api_id.h" 23 #include "ppapi/shared_impl/api_id.h"
24 #include "ppapi/shared_impl/resource.h" 24 #include "ppapi/shared_impl/resource.h"
25 #include "ppapi/shared_impl/singleton_resource_id.h" 25 #include "ppapi/shared_impl/singleton_resource_id.h"
26 26
27 // Windows headers interfere with this file. 27 // Windows headers interfere with this file.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Audio. 65 // Audio.
66 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) = 0; 66 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) = 0;
67 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) = 0; 67 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) = 0;
68 68
69 // CharSet. 69 // CharSet.
70 virtual PP_Var GetDefaultCharSet(PP_Instance instance) = 0; 70 virtual PP_Var GetDefaultCharSet(PP_Instance instance) = 0;
71 71
72 // Console. 72 // Console.
73 virtual void Log(PP_Instance instance, 73 virtual void Log(PP_Instance instance,
74 PP_LogLevel_Dev log_level, 74 PP_LogLevel log_level,
75 PP_Var value) = 0; 75 PP_Var value) = 0;
76 virtual void LogWithSource(PP_Instance instance, 76 virtual void LogWithSource(PP_Instance instance,
77 PP_LogLevel_Dev log_level, 77 PP_LogLevel log_level,
78 PP_Var source, 78 PP_Var source,
79 PP_Var value) = 0; 79 PP_Var value) = 0;
80 80
81 // Find. 81 // Find.
82 virtual void NumberOfFindResultsChanged(PP_Instance instance, 82 virtual void NumberOfFindResultsChanged(PP_Instance instance,
83 int32_t total, 83 int32_t total,
84 PP_Bool final_result) = 0; 84 PP_Bool final_result) = 0;
85 virtual void SelectedFindResultChanged(PP_Instance instance, 85 virtual void SelectedFindResultChanged(PP_Instance instance,
86 int32_t index) = 0; 86 int32_t index) = 0;
87 87
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 PP_URLComponents_Dev* components) = 0; 199 PP_URLComponents_Dev* components) = 0;
200 #endif // !defined(OS_NACL) 200 #endif // !defined(OS_NACL)
201 201
202 static const ApiID kApiID = API_ID_PPB_INSTANCE; 202 static const ApiID kApiID = API_ID_PPB_INSTANCE;
203 }; 203 };
204 204
205 } // namespace thunk 205 } // namespace thunk
206 } // namespace ppapi 206 } // namespace ppapi
207 207
208 #endif // PPAPI_THUNK_INSTANCE_API_H_ 208 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698