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

Unified Diff: content/common/view_messages.h

Issue 964403003: Make it possible to set the display mode from Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-enable test for Android, force "was resized" IPC message there. Created 5 years, 8 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 | « content/common/DEPS ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 85134356abd3a939aefc6ae4b285c4ff8da57703..7d06beb1861ddba5a71d18de170a024ae11d1ef9 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -39,6 +39,7 @@
#include "media/base/channel_layout.h"
#include "media/base/media_log_event.h"
#include "net/base/network_change_notifier.h"
+#include "third_party/WebKit/public/platform/WebDisplayMode.h"
#include "third_party/WebKit/public/platform/WebFloatPoint.h"
#include "third_party/WebKit/public/platform/WebFloatRect.h"
#include "third_party/WebKit/public/platform/WebScreenInfo.h"
@@ -84,6 +85,8 @@ IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPopupType,
blink::WebPopupType::WebPopupTypeLast)
IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTextDirection,
blink::WebTextDirection::WebTextDirectionLast)
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDisplayMode,
+ blink::WebDisplayMode::WebDisplayModeLast)
IPC_ENUM_TRAITS(WindowContainerType)
IPC_ENUM_TRAITS(content::FaviconURL::IconType)
IPC_ENUM_TRAITS(content::FileChooserParams::Mode)
@@ -472,6 +475,8 @@ IPC_STRUCT_BEGIN(ViewMsg_Resize_Params)
IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect)
// Indicates whether tab-initiated fullscreen was granted.
IPC_STRUCT_MEMBER(bool, is_fullscreen_granted)
+ // The display mode.
+ IPC_STRUCT_MEMBER(blink::WebDisplayMode, display_mode)
// If set, requests the renderer to reply with a ViewHostMsg_UpdateRect
// with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags.
IPC_STRUCT_MEMBER(bool, needs_resize_ack)
« no previous file with comments | « content/common/DEPS ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698