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

Side by Side Diff: chrome/test/perf/rendering/throughput_tests.cc

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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 | « chrome/test/perf/frame_rate/frame_rate_tests.cc ('k') | chrome/test/ui/ui_test.cc » ('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 (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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_path.h" 6 #include "base/file_path.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/string_number_conversions.h"
11 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
12 #include "base/string_number_conversions.h"
13 #include "base/test/trace_event_analyzer.h" 13 #include "base/test/trace_event_analyzer.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/net/url_fixer_upper.h" 15 #include "chrome/browser/net/url_fixer_upper.h"
16 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/browser_window.h" 17 #include "chrome/browser/ui/browser_window.h"
18 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 18 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
19 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" 19 #include "chrome/browser/ui/window_snapshot/window_snapshot.h"
20 #include "chrome/common/chrome_paths.h" 20 #include "chrome/common/chrome_paths.h"
21 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
22 #include "chrome/test/base/test_switches.h" 22 #include "chrome/test/base/test_switches.h"
23 #include "chrome/test/base/tracing.h" 23 #include "chrome/test/base/tracing.h"
24 #include "chrome/test/base/ui_test_utils.h" 24 #include "chrome/test/base/ui_test_utils.h"
25 #include "chrome/test/perf/browser_perf_test.h" 25 #include "chrome/test/perf/browser_perf_test.h"
26 #include "chrome/test/perf/perf_test.h" 26 #include "chrome/test/perf/perf_test.h"
27 #include "content/public/browser/web_contents.h" 27 #include "content/public/browser/web_contents.h"
28 #include "content/public/common/content_switches.h" 28 #include "content/public/common/content_switches.h"
29 #include "googleurl/src/gurl.h" 29 #include "googleurl/src/gurl.h"
30 #include "net/base/mock_host_resolver.h" 30 #include "net/base/mock_host_resolver.h"
31 #include "net/base/net_util.h" 31 #include "net/base/net_util.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 #include "third_party/skia/include/core/SkBitmap.h" 33 #include "third_party/skia/include/core/SkBitmap.h"
34 #include "third_party/skia/include/core/SkColor.h" 34 #include "third_party/skia/include/core/SkColor.h"
35 #include "ui/gfx/codec/png_codec.h" 35 #include "ui/gfx/codec/png_codec.h"
36 #include "ui/gfx/gl/gl_switches.h" 36 #include "ui/gl/gl_switches.h"
37 37
38 namespace { 38 namespace {
39 39
40 enum RunTestFlags { 40 enum RunTestFlags {
41 kNone = 0, 41 kNone = 0,
42 kInternal = 1 << 0, // Test uses internal test data. 42 kInternal = 1 << 0, // Test uses internal test data.
43 kAllowExternalDNS = 1 << 1 // Test needs external DNS lookup. 43 kAllowExternalDNS = 1 << 1 // Test needs external DNS lookup.
44 }; 44 };
45 45
46 enum ThroughputTestFlags { 46 enum ThroughputTestFlags {
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 517
518 IN_PROC_BROWSER_TEST_F(ThroughputTestSW, CanvasManyImagesSW) { 518 IN_PROC_BROWSER_TEST_F(ThroughputTestSW, CanvasManyImagesSW) {
519 RunCanvasBenchTest("many_images", kNone); 519 RunCanvasBenchTest("many_images", kNone);
520 } 520 }
521 521
522 IN_PROC_BROWSER_TEST_F(ThroughputTestGPU, CanvasManyImagesGPU) { 522 IN_PROC_BROWSER_TEST_F(ThroughputTestGPU, CanvasManyImagesGPU) {
523 RunCanvasBenchTest("many_images", kNone); 523 RunCanvasBenchTest("many_images", kNone);
524 } 524 }
525 525
526 } // namespace 526 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/perf/frame_rate/frame_rate_tests.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698