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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2085973004: Color: Remove ViewMsg_ColorProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't change profile yet Created 4 years, 6 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
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 502fc12606b73566eeff2fae04e399a17b497d54..68fb6a44997e94f2d821458a3bd1daae81a876d5 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -180,7 +180,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
void RemoveInputEventObserver(
RenderWidgetHost::InputEventObserver* observer) override;
void GetWebScreenInfo(blink::WebScreenInfo* result) override;
- bool GetScreenColorProfile(std::vector<char>* color_profile) override;
void HandleCompositorProto(const std::vector<uint8_t>& proto) override;
// Notification that the screen info has changed.
@@ -561,10 +560,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// NotifyRendererResponsive.
void RendererIsResponsive();
- // Routines used to send the RenderWidget its screen color profile.
- void DispatchColorProfile();
- void SendColorProfile();
-
// IPC message handlers
void OnRenderProcessGone(int status, int error_code);
void OnClose();
@@ -686,10 +681,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// True when waiting for RESIZE_ACK.
bool resize_ack_pending_;
- // Set if the color profile should fetched and sent to the RenderWidget
- // during the WasResized() resize message flow.
- bool color_profile_out_of_date_;
-
// The current size of the RenderWidget.
gfx::Size current_size_;
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698