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

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

Issue 23943008: Rebaseline pixel test ref image for CSS3DBlueBox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: used svn rev Created 7 years, 3 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) 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"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 gfx::Size container_size(400, 300); 454 gfx::Size container_size(400, 300);
455 base::FilePath url = 455 base::FilePath url =
456 test_data_dir().AppendASCII("pixel_webgl.html"); 456 test_data_dir().AppendASCII("pixel_webgl.html");
457 RunPixelTest(container_size, url, ref_img_revision_update, 457 RunPixelTest(container_size, url, ref_img_revision_update,
458 ref_pixels, ref_pixel_count); 458 ref_pixels, ref_pixel_count);
459 } 459 }
460 460
461 IN_PROC_BROWSER_TEST_F(GpuPixelBrowserTest, MANUAL_CSS3DBlueBox) { 461 IN_PROC_BROWSER_TEST_F(GpuPixelBrowserTest, MANUAL_CSS3DBlueBox) {
462 // If test baseline needs to be updated after a given revision, update the 462 // If test baseline needs to be updated after a given revision, update the
463 // following number. If no revision requirement, then 0. 463 // following number. If no revision requirement, then 0.
464 const int64 ref_img_revision_update = 209827; 464 const int64 ref_img_revision_update = 223622;
465 465
466 const ReferencePixel ref_pixels[] = { 466 const ReferencePixel ref_pixels[] = {
467 // x, y, r, g, b 467 // x, y, r, g, b
468 {70, 50, 0, 0, 255}, 468 {70, 50, 0, 0, 255},
469 {150, 50, 0, 0, 0}, 469 {150, 50, 0, 0, 0},
470 {70, 90, 0, 0, 255}, 470 {70, 90, 0, 0, 255},
471 {150, 90, 0, 0, 255}, 471 {150, 90, 0, 0, 255},
472 {70, 125, 0, 0, 255}, 472 {70, 125, 0, 0, 255},
473 {150, 125, 0, 0, 0} 473 {150, 125, 0, 0, 0}
474 }; 474 };
(...skipping 84 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698