Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index f314706dce798568d48ac5ecbb1f7a3756f516d5..f3905c277ba2ab4d689d55c4e7ffdabd26d56de7 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -38,6 +38,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" |
| @@ -80,6 +81,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::WebDisplayModeFullscreen) |
| IPC_ENUM_TRAITS(WindowContainerType) |
| IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
| IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
| @@ -444,8 +447,10 @@ IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) |
| IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
| // The resizer rect. |
| IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
| - // Indicates whether a page is fullscreen or not. |
| + // Indicates whether a page is set fullscreen via HTML API. |
|
kenneth.christiansen
2015/03/06 12:21:29
you dont set a page to fullscreen using the JS API
|
| IPC_STRUCT_MEMBER(bool, is_fullscreen) |
| + // The display mode. |
| + IPC_STRUCT_MEMBER(blink::WebDisplayMode, display_mode) |
| IPC_STRUCT_END() |
| IPC_STRUCT_BEGIN(ViewMsg_New_Params) |