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

Side by Side Diff: content/browser/gpu/gpu_pixel_browsertest.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « content/browser/gpu/gpu_memory_test.cc ('k') | content/browser/gpu/webgl_conformance_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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_util.h" 6 #include "base/file_util.h"
7 #include "base/files/file_enumerator.h" 7 #include "base/files/file_enumerator.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "content/public/browser/render_view_host.h" 13 #include "content/public/browser/render_view_host.h"
14 #include "content/public/browser/render_widget_host_view.h" 14 #include "content/public/browser/render_widget_host_view.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
16 #include "content/public/common/content_paths.h" 16 #include "content/public/common/content_paths.h"
17 #include "content/public/common/content_switches.h" 17 #include "content/public/common/content_switches.h"
18 #include "content/public/test/browser_test_utils.h" 18 #include "content/public/test/browser_test_utils.h"
19 #include "content/shell/shell.h" 19 #include "content/shell/browser/shell.h"
20 #include "content/test/content_browser_test.h" 20 #include "content/test/content_browser_test.h"
21 #include "content/test/content_browser_test_utils.h" 21 #include "content/test/content_browser_test_utils.h"
22 #include "gpu/config/gpu_test_config.h" 22 #include "gpu/config/gpu_test_config.h"
23 #include "net/base/net_util.h" 23 #include "net/base/net_util.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 #include "third_party/skia/include/core/SkBitmap.h" 25 #include "third_party/skia/include/core/SkBitmap.h"
26 #include "third_party/skia/include/core/SkColor.h" 26 #include "third_party/skia/include/core/SkColor.h"
27 #include "ui/gfx/codec/png_codec.h" 27 #include "ui/gfx/codec/png_codec.h"
28 #include "ui/gfx/size.h" 28 #include "ui/gfx/size.h"
29 #include "ui/gl/gl_switches.h" 29 #include "ui/gl/gl_switches.h"
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 559
560 gfx::Size container_size(400, 300); 560 gfx::Size container_size(400, 300);
561 base::FilePath url = 561 base::FilePath url =
562 test_data_dir().AppendASCII("pixel_browser_plugin.html"); 562 test_data_dir().AppendASCII("pixel_browser_plugin.html");
563 RunPixelTest(container_size, url, ref_img_revision_update, 563 RunPixelTest(container_size, url, ref_img_revision_update,
564 ref_pixels, ref_pixel_count); 564 ref_pixels, ref_pixel_count);
565 } 565 }
566 566
567 } // namespace content 567 } // namespace content
568 568
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_memory_test.cc ('k') | content/browser/gpu/webgl_conformance_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698