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

Side by Side Diff: ppapi/native_client/tests/ppapi_test_lib/get_browser_interface.cc

Issue 10827456: Remove PPB_Scrollbar_Dev and PPB_Widget_Dev from native client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove PPB_PDF and associated tests Created 8 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) 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 #include "native_client/src/shared/platform/nacl_check.h" 5 #include "native_client/src/shared/platform/nacl_check.h"
6 6
7 #include "ppapi/c/dev/ppb_font_dev.h" 7 #include "ppapi/c/dev/ppb_font_dev.h"
8 #include "ppapi/c/dev/ppb_memory_dev.h" 8 #include "ppapi/c/dev/ppb_memory_dev.h"
9 #include "ppapi/c/dev/ppb_scrollbar_dev.h"
10 #include "ppapi/c/dev/ppb_testing_dev.h" 9 #include "ppapi/c/dev/ppb_testing_dev.h"
11 #include "ppapi/c/dev/ppb_var_deprecated.h" 10 #include "ppapi/c/dev/ppb_var_deprecated.h"
12 #include "ppapi/c/dev/ppb_widget_dev.h"
13 #include "ppapi/c/ppb_audio.h" 11 #include "ppapi/c/ppb_audio.h"
14 #include "ppapi/c/ppb_audio_config.h" 12 #include "ppapi/c/ppb_audio_config.h"
15 #include "ppapi/c/ppb_core.h" 13 #include "ppapi/c/ppb_core.h"
16 #include "ppapi/c/ppb_file_io.h" 14 #include "ppapi/c/ppb_file_io.h"
17 #include "ppapi/c/ppb_file_ref.h" 15 #include "ppapi/c/ppb_file_ref.h"
18 #include "ppapi/c/ppb_file_system.h" 16 #include "ppapi/c/ppb_file_system.h"
19 #include "ppapi/c/ppb_fullscreen.h" 17 #include "ppapi/c/ppb_fullscreen.h"
20 #include "ppapi/c/ppb_graphics_2d.h" 18 #include "ppapi/c/ppb_graphics_2d.h"
21 #include "ppapi/c/ppb_graphics_3d.h" 19 #include "ppapi/c/ppb_graphics_3d.h"
22 #include "ppapi/c/ppb_image_data.h" 20 #include "ppapi/c/ppb_image_data.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // Change to GetBrowserInterfaceSafe when moving out of dev. 164 // Change to GetBrowserInterfaceSafe when moving out of dev.
167 GetBrowserInterface(PPB_FONT_DEV_INTERFACE)); 165 GetBrowserInterface(PPB_FONT_DEV_INTERFACE));
168 } 166 }
169 167
170 const PPB_Memory_Dev* PPBMemoryDev() { 168 const PPB_Memory_Dev* PPBMemoryDev() {
171 return reinterpret_cast<const PPB_Memory_Dev*>( 169 return reinterpret_cast<const PPB_Memory_Dev*>(
172 // Change to GetBrowserInterfaceSafe when moving out of dev. 170 // Change to GetBrowserInterfaceSafe when moving out of dev.
173 GetBrowserInterface(PPB_MEMORY_DEV_INTERFACE)); 171 GetBrowserInterface(PPB_MEMORY_DEV_INTERFACE));
174 } 172 }
175 173
176 const PPB_Scrollbar_Dev* PPBScrollbarDev() {
177 return reinterpret_cast<const PPB_Scrollbar_Dev*>(
178 // Change to GetBrowserInterfaceSafe when moving out of dev.
179 GetBrowserInterface(PPB_SCROLLBAR_DEV_INTERFACE));
180 }
181
182 const PPB_Testing_Dev* PPBTestingDev() { 174 const PPB_Testing_Dev* PPBTestingDev() {
183 return reinterpret_cast<const PPB_Testing_Dev*>( 175 return reinterpret_cast<const PPB_Testing_Dev*>(
184 // Change to GetBrowserInterfaceSafe when moving out of dev. 176 // Change to GetBrowserInterfaceSafe when moving out of dev.
185 GetBrowserInterface(PPB_TESTING_DEV_INTERFACE)); 177 GetBrowserInterface(PPB_TESTING_DEV_INTERFACE));
186 } 178 }
187 179
188 const PPB_View* PPBView() { 180 const PPB_View* PPBView() {
189 return reinterpret_cast<const PPB_View*>( 181 return reinterpret_cast<const PPB_View*>(
190 GetBrowserInterface(PPB_VIEW_INTERFACE)); 182 GetBrowserInterface(PPB_VIEW_INTERFACE));
191 } 183 }
192
193 const PPB_Widget_Dev* PPBWidgetDev() {
194 return reinterpret_cast<const PPB_Widget_Dev*>(
195 // Change to GetBrowserInterfaceSafe when moving out of dev.
196 GetBrowserInterface(PPB_WIDGET_DEV_INTERFACE));
197 }
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_test_lib/get_browser_interface.h ('k') | ppapi/native_client/tests/ppapi_tests/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698