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

Unified Diff: content/public/browser/web_contents_delegate.cc

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/public/browser/web_contents_delegate.h ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 0e48d7c346de405d682acfa5c08d42f16b310cf7..d4028fbefd6c1df08f130d9bf9a8ceed8a601114 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -151,6 +151,11 @@ bool WebContentsDelegate::IsFullscreenForTabOrPending(
return false;
}
+blink::WebDisplayMode WebContentsDelegate::GetDisplayMode(
+ const WebContents* web_contents) const {
+ return blink::WebDisplayModeBrowser;
+}
+
content::ColorChooser* WebContentsDelegate::OpenColorChooser(
WebContents* web_contents,
SkColor color,
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698