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

Unified Diff: content/common/view_messages.h

Issue 1731373002: Allow to have a transparent UA dependent background. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Decouple background color and transparency in RenderWidgetHostView Created 4 years, 10 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index b343ced974a7a3a0b33b0ace9a4e22f1eb8e43f6..84db54bfeef716671cdd5fa975d3e65f77a8ecee 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -801,6 +801,9 @@ IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement)
// Make the RenderView background transparent or opaque.
IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundOpaque, bool /* opaque */)
+// Change the RenderView background color.
+IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundColor, uint32_t /* SKcolorARGB */)
+
// Used to tell the renderer not to add scrollbars with height and
// width below a threshold.
IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows,

Powered by Google App Engine
This is Rietveld 408576698