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

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: 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 24
25 // Windows headers interfere with this file. 25 // Windows headers interfere with this file.
26 #ifdef PostMessage 26 #ifdef PostMessage
27 #undef PostMessage 27 #undef PostMessage
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Audio. 62 // Audio.
63 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) = 0; 63 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) = 0;
64 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) = 0; 64 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) = 0;
65 65
66 // CharSet. 66 // CharSet.
67 virtual PP_Var GetDefaultCharSet(PP_Instance instance) = 0; 67 virtual PP_Var GetDefaultCharSet(PP_Instance instance) = 0;
68 68
69 // Console. 69 // Console.
70 virtual void Log(PP_Instance instance, 70 virtual void Log(PP_Instance instance,
71 PP_LogLevel_Dev log_level, 71 PP_LogLevel log_level,
72 PP_Var value) = 0; 72 PP_Var value) = 0;
73 virtual void LogWithSource(PP_Instance instance, 73 virtual void LogWithSource(PP_Instance instance,
74 PP_LogLevel_Dev log_level, 74 PP_LogLevel log_level,
75 PP_Var source, 75 PP_Var source,
76 PP_Var value) = 0; 76 PP_Var value) = 0;
77 77
78 // Find. 78 // Find.
79 virtual void NumberOfFindResultsChanged(PP_Instance instance, 79 virtual void NumberOfFindResultsChanged(PP_Instance instance,
80 int32_t total, 80 int32_t total,
81 PP_Bool final_result) = 0; 81 PP_Bool final_result) = 0;
82 virtual void SelectedFindResultChanged(PP_Instance instance, 82 virtual void SelectedFindResultChanged(PP_Instance instance,
83 int32_t index) = 0; 83 int32_t index) = 0;
84 84
(...skipping 114 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