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

Side by Side Diff: ui/gl/test/gl_surface_test_support.cc

Issue 1545113002: Switch to standard integer types in ui/gl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « ui/gl/test/gl_image_test_template.h ('k') | ui/gl/test/gl_test_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ui/gl/test/gl_surface_test_support.h" 5 #include "ui/gl/test/gl_surface_test_support.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "build/build_config.h"
9 #include "ui/gl/gl_context.h" 10 #include "ui/gl/gl_context.h"
10 #include "ui/gl/gl_implementation.h" 11 #include "ui/gl/gl_implementation.h"
11 #include "ui/gl/gl_surface.h" 12 #include "ui/gl/gl_surface.h"
12 #include "ui/gl/gl_switches.h" 13 #include "ui/gl/gl_switches.h"
13 14
14 #if defined(USE_X11) 15 #if defined(USE_X11)
15 #include <X11/Xlib.h> 16 #include <X11/Xlib.h>
16 #include "ui/platform_window/x11/x11_window.h" 17 #include "ui/platform_window/x11/x11_window.h"
17 #endif 18 #endif
18 19
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void GLSurfaceTestSupport::InitializeOneOffWithMockBindings() { 83 void GLSurfaceTestSupport::InitializeOneOffWithMockBindings() {
83 InitializeOneOffImplementation(kGLImplementationMockGL, false); 84 InitializeOneOffImplementation(kGLImplementationMockGL, false);
84 } 85 }
85 86
86 // static 87 // static
87 void GLSurfaceTestSupport::InitializeDynamicMockBindings(GLContext* context) { 88 void GLSurfaceTestSupport::InitializeDynamicMockBindings(GLContext* context) {
88 CHECK(InitializeDynamicGLBindings(kGLImplementationMockGL, context)); 89 CHECK(InitializeDynamicGLBindings(kGLImplementationMockGL, context));
89 } 90 }
90 91
91 } // namespace gfx 92 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/test/gl_image_test_template.h ('k') | ui/gl/test/gl_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698