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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2443753002: Count presence of viewport tag as mobile-friendly
Patch Set: default false Created 4 years, 2 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: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 2625883bd730b4c6f3ce2e1f62e39ebb9877892a..1291969cc626cdbdb285e32cf3ca0f1c9fcaa114 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -485,8 +485,8 @@ class WEB_EXPORT WebViewImpl final
WebLayerTreeView* layerTreeView() const { return m_layerTreeView; }
- bool matchesHeuristicsForGpuRasterizationForTesting() const {
- return m_matchesHeuristicsForGpuRasterization;
+ bool isDesktopSiteOnMobileForTesting() const {
+ return m_isDesktopSiteOnMobile;
}
void updateTopControlsState(WebTopControlsState constraint,
@@ -725,7 +725,7 @@ class WEB_EXPORT WebViewImpl final
WebLayer* m_rootLayer;
GraphicsLayer* m_rootGraphicsLayer;
GraphicsLayer* m_visualViewportContainerLayer;
- bool m_matchesHeuristicsForGpuRasterization;
+ bool m_isDesktopSiteOnMobile;
static const WebInputEvent* m_currentInputEvent;
MediaKeysClientImpl m_mediaKeysClientImpl;
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698