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

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

Issue 10448110: Adds monitor ICC profile support for win and mac (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix reading length from small string Created 8 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_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index ab54ac33f98fe7ee416491fac99d56273e4430b6..76da42f630dd0208d458a9c6be42a6cb239444fa 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -90,6 +90,9 @@ class RenderMessageFilter : public content::BrowserMessageFilter {
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE;
virtual void OnDestruct() const OVERRIDE;
+ virtual void OverrideThreadForMessage(
+ const IPC::Message& message,
+ content::BrowserThread::ID* thread) OVERRIDE;
bool OffTheRecord() const;
@@ -183,6 +186,11 @@ class RenderMessageFilter : public content::BrowserMessageFilter {
void OnGetHardwareSampleRate(int* sample_rate);
void OnGetHardwareInputChannelLayout(ChannelLayout* layout);
+ // Used to look up the monitor color profile for a window or a named profile.
Noel Gordon 2012/06/21 16:58:33 // Return the monitor color profile of a window or
tpayne 2012/07/02 19:22:32 N/A.
+ void OnGetMonitorColorProfile(gfx::NativeViewId parent_window,
Noel Gordon 2012/06/21 16:58:33 OnGetMonitorColorProfile? We're somewhat fixated
tpayne 2012/07/02 19:22:32 N/A
+ std::string type,
+ std::vector<char>* profile);
+
// Used to ask the browser to allocate a block of shared memory for the
// renderer to send back data in, since shared memory can't be created
// in the renderer on POSIX due to the sandbox.

Powered by Google App Engine
This is Rietveld 408576698