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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 1785953002: Ignore viewport meta tags when Request Desktop Site is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable HandheldFriendlyMeta and MobileOptimizedMeta as well Created 4 years, 9 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/browser/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index 8fc436c252598f4e4d00a997661f054559cfe711..87fb010ed95ee5612bbb8eab5c7ac5671d127465 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -237,6 +237,10 @@ class CONTENT_EXPORT RenderViewHostDelegate {
virtual void SetIsVirtualKeyboardRequested(bool requested) {}
virtual bool IsVirtualKeyboardRequested();
+ // Whether the user agent is overridden using the Android "Request Desktop
nasko 2016/03/18 21:05:25 nit: Technically the feature is of Chrome-on-Andro
aelias_OOO_until_Jul13 2016/03/18 22:49:18 Fixed.
+ // Site" feature.
+ virtual bool IsOverridingUserAgent();
+
protected:
virtual ~RenderViewHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698