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

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

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Keep the logic to call WebScrollbarGroupImpl's methods in WebKit entirely Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 uint32_t key_code, 93 uint32_t key_code,
94 struct PP_Var character_text) = 0; 94 struct PP_Var character_text) = 0;
95 virtual PP_Resource CreateMouseInputEvent( 95 virtual PP_Resource CreateMouseInputEvent(
96 PP_Instance instance, 96 PP_Instance instance,
97 PP_InputEvent_Type type, 97 PP_InputEvent_Type type,
98 PP_TimeTicks time_stamp, 98 PP_TimeTicks time_stamp,
99 uint32_t modifiers, 99 uint32_t modifiers,
100 PP_InputEvent_MouseButton mouse_button, 100 PP_InputEvent_MouseButton mouse_button,
101 const PP_Point* mouse_position, 101 const PP_Point* mouse_position,
102 int32_t click_count) = 0; 102 int32_t click_count) = 0;
103 virtual PP_Resource CreateScrollbar(PP_Instance instance, 103 virtual PP_Resource CreateScrollbar(PP_Resource scrollbar_group,
104 PP_Bool vertical) = 0; 104 PP_Bool vertical) = 0;
105 virtual PP_Resource CreateScrollbarGroup(PP_Instance instance) = 0;
105 virtual PP_Resource CreateSurface3D(PP_Instance instance, 106 virtual PP_Resource CreateSurface3D(PP_Instance instance,
106 PP_Config3D_Dev config, 107 PP_Config3D_Dev config,
107 const int32_t* attrib_list) = 0; 108 const int32_t* attrib_list) = 0;
108 virtual PP_Resource CreateTransport(PP_Instance instance, 109 virtual PP_Resource CreateTransport(PP_Instance instance,
109 const char* name, 110 const char* name,
110 const char* proto) = 0; 111 const char* proto) = 0;
111 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 112 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
112 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; 113 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0;
113 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 114 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
114 virtual PP_Resource CreateVideoDecoder( 115 virtual PP_Resource CreateVideoDecoder(
(...skipping 11 matching lines...) Expand all
126 PP_Bool scroll_by_page) = 0; 127 PP_Bool scroll_by_page) = 0;
127 128
128 static const ::pp::proxy::InterfaceID interface_id = 129 static const ::pp::proxy::InterfaceID interface_id =
129 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; 130 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION;
130 }; 131 };
131 132
132 } // namespace thunk 133 } // namespace thunk
133 } // namespace ppapi 134 } // namespace ppapi
134 135
135 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 136 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698