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

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 792233007: blink: Enable the GPU trigger when viewport meta tag is not read (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge once again last time I swear Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 virtual void setWideViewportQuirkEnabled(bool) override; 189 virtual void setWideViewportQuirkEnabled(bool) override;
190 virtual void setXSSAuditorEnabled(bool) override; 190 virtual void setXSSAuditorEnabled(bool) override;
191 191
192 bool showFPSCounter() const { return m_showFPSCounter; } 192 bool showFPSCounter() const { return m_showFPSCounter; }
193 bool showPaintRects() const { return m_showPaintRects; } 193 bool showPaintRects() const { return m_showPaintRects; }
194 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 194 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
195 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 195 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
196 bool doubleTapToZoomEnabled() const; 196 bool doubleTapToZoomEnabled() const;
197 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 197 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
198 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 198 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
199 bool viewportMetaEnabled() const;
199 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 200 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
200 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 201 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
201 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; } 202 bool clobberUserAgentInitialScaleQuirk() const { return m_clobberUserAgentIn itialScaleQuirk; }
202 203
203 void setMockGestureTapHighlightsEnabled(bool); 204 void setMockGestureTapHighlightsEnabled(bool);
204 bool mockGestureTapHighlightsEnabled() const; 205 bool mockGestureTapHighlightsEnabled() const;
205 206
206 private: 207 private:
207 Settings* m_settings; 208 Settings* m_settings;
208 DevToolsEmulator* m_devToolsEmulator; 209 DevToolsEmulator* m_devToolsEmulator;
(...skipping 16 matching lines...) Expand all
225 // This quirk is to maintain compatibility with Android apps built on 226 // This quirk is to maintain compatibility with Android apps built on
226 // the Android SDK prior to and including version 18. Presumably, this 227 // the Android SDK prior to and including version 18. Presumably, this
227 // can be removed any time after 2015. See http://crbug.com/313754. 228 // can be removed any time after 2015. See http://crbug.com/313754.
228 bool m_clobberUserAgentInitialScaleQuirk; 229 bool m_clobberUserAgentInitialScaleQuirk;
229 bool m_mainFrameResizesAreOrientationChanges; 230 bool m_mainFrameResizesAreOrientationChanges;
230 }; 231 };
231 232
232 } // namespace blink 233 } // namespace blink
233 234
234 #endif 235 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698