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

Unified Diff: content/public/test/layouttest_support.h

Issue 2970183002: color: Use ColorSpace for plumbing (Closed)
Patch Set: Add missed places Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/layouttest_support.h
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h
index 0d8962b882f3dd0523973e777b50d2bb899319ad..ba6062995f154016fe08caf81e5f4d921d0b09a5 100644
--- a/content/public/test/layouttest_support.h
+++ b/content/public/test/layouttest_support.h
@@ -33,7 +33,7 @@ class OrientationData;
}
namespace gfx {
-class ICCProfile;
+class ColorSpace;
}
namespace test_runner {
@@ -144,13 +144,13 @@ std::unique_ptr<blink::WebInputEvent> TransformScreenToWidgetCoordinates(
test_runner::WebWidgetTestProxyBase* web_widget_test_proxy_base,
const blink::WebInputEvent& event);
-// Get the ICC profile for a given name string. This is not in the ICCProfile
+// Get the color space for a given name string. This is not in the ColorSpace
// class to avoid bloating the shipping build.
-gfx::ICCProfile GetTestingICCProfile(const std::string& name);
+gfx::ColorSpace GetTestingColorSpace(const std::string& name);
-// Set the device color profile associated with the profile |name|.
-void SetDeviceColorProfile(
- RenderView* render_view, const gfx::ICCProfile& icc_profile);
+// Set the device color space.
+void SetDeviceColorSpace(RenderView* render_view,
+ const gfx::ColorSpace& color_space);
// Sets the scan duration to 0.
void SetTestBluetoothScanDuration();
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698