| Index: content/public/browser/web_contents_delegate.h
|
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
|
| index 13f227dc0c4595ef36c969a8041434fb1abaec62..ef73451fc22bb90396332d2416e048d25de58257 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -16,6 +16,7 @@
|
| #include "content/public/browser/navigation_type.h"
|
| #include "content/public/common/media_stream_request.h"
|
| #include "content/public/common/window_container_type.h"
|
| +#include "third_party/WebKit/public/platform/WebDisplayMode.h"
|
| #include "third_party/WebKit/public/web/WebDragOperation.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| #include "ui/base/window_open_disposition.h"
|
| @@ -357,6 +358,14 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| virtual bool IsFullscreenForTabOrPending(
|
| const WebContents* web_contents) const;
|
|
|
| + // Returns the actual display mode of the top-level browsing context.
|
| + // For example, it should return 'blink::WebDisplayModeFullscreen' whenever
|
| + // the browser window is put to fullscreen mode (either by the end user,
|
| + // or HTML API or from a web manifest setting).
|
| + // See http://w3c.github.io/manifest/#dfn-display-mode
|
| + virtual blink::WebDisplayMode GetDisplayMode(
|
| + const WebContents* web_contents) const;
|
| +
|
| // Register a new handler for URL requests with the given scheme.
|
| // |user_gesture| is true if the registration is made in the context of a user
|
| // gesture.
|
|
|