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

Side by Side Diff: chrome/browser/chromeos/login/screenshot_testing/SkPMetric.h

Issue 1707963002: Remove unused Skia includes in SkPMetric.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // WARNING! This file is copied from third_party/skia/tools/skpdiff and slightly 5 // WARNING! This file is copied from third_party/skia/tools/skpdiff and slightly
6 // modified to be compilable outside Skia and suit chromium style. Some comments 6 // modified to be compilable outside Skia and suit chromium style. Some comments
7 // can make no sense. 7 // can make no sense.
8 // TODO(elizavetai): remove this file and reuse the original one in Skia 8 // TODO(elizavetai): remove this file and reuse the original one in Skia
9 9
10 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENSHOT_TESTING_SKPMETRIC_H_ 10 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENSHOT_TESTING_SKPMETRIC_H_
11 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENSHOT_TESTING_SKPMETRIC_H_ 11 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENSHOT_TESTING_SKPMETRIC_H_
12 12
13 #include "chrome/browser/chromeos/login/screenshot_testing/SkImageDiffer.h" 13 #include "chrome/browser/chromeos/login/screenshot_testing/SkImageDiffer.h"
14 #include "third_party/skia/include/core/SkTArray.h"
15 #include "third_party/skia/include/core/SkTDArray.h"
16 14
17 /** 15 /**
18 * An image differ that uses the pdiff image metric to compare images. 16 * An image differ that uses the pdiff image metric to compare images.
19 */ 17 */
20 18
21 class SkPMetric { 19 class SkPMetric {
22 public: 20 public:
23 virtual bool diff(SkBitmap* baseline, 21 virtual bool diff(SkBitmap* baseline,
24 SkBitmap* test, 22 SkBitmap* test,
25 const SkImageDiffer::BitmapsToCreate& bitmapsToCreate, 23 const SkImageDiffer::BitmapsToCreate& bitmapsToCreate,
26 SkImageDiffer::Result* result); 24 SkImageDiffer::Result* result);
27 25
28 private: 26 private:
29 typedef SkImageDiffer INHERITED; 27 typedef SkImageDiffer INHERITED;
30 }; 28 };
31 29
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENSHOT_TESTING_SKPMETRIC_H_ 30 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENSHOT_TESTING_SKPMETRIC_H_
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