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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 1796293003: Image decode color: Push color profile from browser to renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 // Called by |new_content_rendering_timeout_| if a renderer has loaded new 546 // Called by |new_content_rendering_timeout_| if a renderer has loaded new
547 // content but failed to produce a compositor frame in a defined time. 547 // content but failed to produce a compositor frame in a defined time.
548 void ClearDisplayedGraphics(); 548 void ClearDisplayedGraphics();
549 549
550 // Called if we know the renderer is responsive. When we currently think the 550 // Called if we know the renderer is responsive. When we currently think the
551 // renderer is unresponsive, this will clear that state and call 551 // renderer is unresponsive, this will clear that state and call
552 // NotifyRendererResponsive. 552 // NotifyRendererResponsive.
553 void RendererIsResponsive(); 553 void RendererIsResponsive();
554 554
555 // Routines used to send the RenderWidget its screen color profile. 555 // Routines used to send the RenderWidget its screen color profile.
556 void DispatchColorProfile();
557 void SendColorProfile(); 556 void SendColorProfile();
558 557
559 // IPC message handlers 558 // IPC message handlers
560 void OnRenderProcessGone(int status, int error_code); 559 void OnRenderProcessGone(int status, int error_code);
561 void OnClose(); 560 void OnClose();
562 void OnUpdateScreenRectsAck(); 561 void OnUpdateScreenRectsAck();
563 void OnRequestMove(const gfx::Rect& pos); 562 void OnRequestMove(const gfx::Rect& pos);
564 void OnSetTooltipText(const base::string16& tooltip_text, 563 void OnSetTooltipText(const base::string16& tooltip_text,
565 blink::WebTextDirection text_direction_hint); 564 blink::WebTextDirection text_direction_hint);
566 bool OnSwapCompositorFrame(const IPC::Message& message); 565 bool OnSwapCompositorFrame(const IPC::Message& message);
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 base::TimeDelta new_content_rendering_delay_; 817 base::TimeDelta new_content_rendering_delay_;
819 818
820 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 819 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
821 820
822 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 821 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
823 }; 822 };
824 823
825 } // namespace content 824 } // namespace content
826 825
827 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 826 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698