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

Unified Diff: content/renderer/render_view_impl.h

Issue 2649023004: Have one ICCProfile per WebScreenInfo in Blink. (Closed)
Patch Set: rebase Created 3 years, 11 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 57d38b49b5daa02f4952f8a8483daa654544c35a..18e359dce7184fe38722a6a32ed48fcfd8597f3b 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -92,6 +92,10 @@ class WebHitTestResult;
#endif
} // namespace blink
+namespace gfx {
+class ICCProfile;
+}
+
namespace content {
class RendererDateTimePicker;
@@ -235,6 +239,9 @@ class CONTENT_EXPORT RenderViewImpl
// Change the device scale factor and force the compositor to resize.
void SetDeviceScaleFactorForTesting(float factor);
+ // Change the device ICC color profile while running a layout test.
+ void SetDeviceColorProfileForTesting(const gfx::ICCProfile& icc_profile);
+
// Used to force the size of a window when running layout tests.
void ForceResizeForTesting(const gfx::Size& new_size);
@@ -484,8 +491,6 @@ class CONTENT_EXPORT RenderViewImpl
// RenderWidgetOwnerDelegate implementation ----------------------------------
- void RenderWidgetDidSetColorProfile(
- const gfx::ICCProfile& color_profile) override;
void RenderWidgetFocusChangeComplete() override;
bool DoesRenderWidgetHaveTouchEventHandlersAt(
const gfx::Point& point) const override;
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698