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

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

Issue 9455092: HostResolver is exposed to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: s/class HostPortPair/struct HostPortPair. Created 8 years, 9 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
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_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; 76 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0;
77 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 77 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
78 const PP_Size& size, 78 const PP_Size& size,
79 PP_Bool is_always_opaque) = 0; 79 PP_Bool is_always_opaque) = 0;
80 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 80 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
81 PP_Resource share_context, 81 PP_Resource share_context,
82 const int32_t* attrib_list) = 0; 82 const int32_t* attrib_list) = 0;
83 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, 83 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
84 PP_Resource share_context, 84 PP_Resource share_context,
85 const int32_t* attrib_list) = 0; 85 const int32_t* attrib_list) = 0;
86 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0;
86 virtual PP_Resource CreateImageData(PP_Instance instance, 87 virtual PP_Resource CreateImageData(PP_Instance instance,
87 PP_ImageDataFormat format, 88 PP_ImageDataFormat format,
88 const PP_Size& size, 89 const PP_Size& size,
89 PP_Bool init_to_zero) = 0; 90 PP_Bool init_to_zero) = 0;
90 virtual PP_Resource CreateKeyboardInputEvent( 91 virtual PP_Resource CreateKeyboardInputEvent(
91 PP_Instance instance, 92 PP_Instance instance,
92 PP_InputEvent_Type type, 93 PP_InputEvent_Type type,
93 PP_TimeTicks time_stamp, 94 PP_TimeTicks time_stamp,
94 uint32_t modifiers, 95 uint32_t modifiers,
95 uint32_t key_code, 96 uint32_t key_code,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 const PP_FloatPoint* wheel_ticks, 135 const PP_FloatPoint* wheel_ticks,
135 PP_Bool scroll_by_page) = 0; 136 PP_Bool scroll_by_page) = 0;
136 137
137 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 138 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
138 }; 139 };
139 140
140 } // namespace thunk 141 } // namespace thunk
141 } // namespace ppapi 142 } // namespace ppapi
142 143
143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 144 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698