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

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

Issue 2443753002: Count presence of viewport tag as mobile-friendly
Patch Set: use matchesHeuristicsForGpuRasterization instead 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..d1c0179dfdf968b04c86d2ef2aaacd6a984c94ef 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 viewportSpecifiedByAuthorForTesting() const {
+ return m_viewportSpecifiedByAuthor;
}
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_viewportSpecifiedByAuthor;
static const WebInputEvent* m_currentInputEvent;
MediaKeysClientImpl m_mediaKeysClientImpl;

Powered by Google App Engine
This is Rietveld 408576698