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

Side by Side Diff: chrome/test/gpu/webgl_conformance_tests.cc

Issue 8364010: Remove deadcode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/common/chrome_paths.h" 9 #include "chrome/common/chrome_paths.h"
10 #include "chrome/test/automation/tab_proxy.h" 10 #include "chrome/test/automation/tab_proxy.h"
11 #include "chrome/test/base/test_launcher_utils.h"
12 #include "chrome/test/ui/javascript_test_util.h" 11 #include "chrome/test/ui/javascript_test_util.h"
13 #include "chrome/test/ui/ui_test.h" 12 #include "chrome/test/ui/ui_test.h"
14 #include "content/public/common/content_switches.h" 13 #include "content/public/common/content_switches.h"
15 #include "net/base/net_util.h" 14 #include "net/base/net_util.h"
16 #include "ui/gfx/gl/gl_implementation.h"
17 15
18 namespace { 16 namespace {
19 17
20 #if defined(OS_WIN)
21 const std::string& kGLImplementationName = gfx::kGLImplementationEGLName;
22 #else
23 const std::string& kGLImplementationName = gfx::kGLImplementationDesktopName;
24 #endif
25
26 class WebGLConformanceTests : public UITest { 18 class WebGLConformanceTests : public UITest {
27 public: 19 public:
28 WebGLConformanceTests() { 20 WebGLConformanceTests() {
29 show_window_ = true; 21 show_window_ = true;
30 dom_automation_enabled_ = true; 22 dom_automation_enabled_ = true;
31 } 23 }
32 24
33 void SetUp() { 25 void SetUp() {
34 // Force the use of GPU hardware. 26 // Force the use of GPU hardware.
35 force_use_osmesa_ = false; 27 force_use_osmesa_ = false;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 TEST_F(WebGLConformanceTests, name) { \ 79 TEST_F(WebGLConformanceTests, name) { \
88 RunTest(url); \ 80 RunTest(url); \
89 } 81 }
90 82
91 // The test declarations are located in webgl_conformance_test_list_autogen.h, 83 // The test declarations are located in webgl_conformance_test_list_autogen.h,
92 // because the list is automatically generated by a script. 84 // because the list is automatically generated by a script.
93 // See: generate_webgl_conformance_test_list.py 85 // See: generate_webgl_conformance_test_list.py
94 #include "webgl_conformance_test_list_autogen.h" 86 #include "webgl_conformance_test_list_autogen.h"
95 87
96 } // namespace 88 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698