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

Side by Side Diff: sky/engine/web/WebSettingsImpl.h

Issue 654693004: Remove meta viewport and @viewport CSS rules. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 30 matching lines...) Expand all
41 public: 41 public:
42 explicit WebSettingsImpl(Settings*); 42 explicit WebSettingsImpl(Settings*);
43 virtual ~WebSettingsImpl() { } 43 virtual ~WebSettingsImpl() { }
44 44
45 virtual bool mainFrameResizesAreOrientationChanges() const override; 45 virtual bool mainFrameResizesAreOrientationChanges() const override;
46 virtual bool shrinksViewportContentToFit() const override; 46 virtual bool shrinksViewportContentToFit() const override;
47 virtual int availablePointerTypes() const override; 47 virtual int availablePointerTypes() const override;
48 virtual PointerType primaryPointerType() const override; 48 virtual PointerType primaryPointerType() const override;
49 virtual int availableHoverTypes() const override; 49 virtual int availableHoverTypes() const override;
50 virtual HoverType primaryHoverType() const override; 50 virtual HoverType primaryHoverType() const override;
51 virtual bool viewportEnabled() const override;
52 virtual void setAccelerated2dCanvasEnabled(bool) override; 51 virtual void setAccelerated2dCanvasEnabled(bool) override;
53 virtual void setAccelerated2dCanvasMSAASampleCount(int) override; 52 virtual void setAccelerated2dCanvasMSAASampleCount(int) override;
54 virtual void setPreferCompositingToLCDTextEnabled(bool) override; 53 virtual void setPreferCompositingToLCDTextEnabled(bool) override;
55 virtual void setAccessibilityEnabled(bool) override; 54 virtual void setAccessibilityEnabled(bool) override;
56 virtual void setAllowDisplayOfInsecureContent(bool) override; 55 virtual void setAllowDisplayOfInsecureContent(bool) override;
57 virtual void setAllowFileAccessFromFileURLs(bool) override; 56 virtual void setAllowFileAccessFromFileURLs(bool) override;
58 virtual void setAllowCustomScrollbarInMainFrame(bool) override; 57 virtual void setAllowCustomScrollbarInMainFrame(bool) override;
59 virtual void setAllowRunningOfInsecureContent(bool) override; 58 virtual void setAllowRunningOfInsecureContent(bool) override;
60 virtual void setAllowConnectingInsecureWebSocket(bool) override; 59 virtual void setAllowConnectingInsecureWebSocket(bool) override;
61 virtual void setAllowUniversalAccessFromFileURLs(bool) override; 60 virtual void setAllowUniversalAccessFromFileURLs(bool) override;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; 124 virtual void setSupportDeprecatedTargetDensityDPI(bool) override;
126 virtual void setTextAreasAreResizable(bool) override; 125 virtual void setTextAreasAreResizable(bool) override;
127 virtual void setAccessibilityFontScaleFactor(float) override; 126 virtual void setAccessibilityFontScaleFactor(float) override;
128 virtual void setTouchDragDropEnabled(bool) override; 127 virtual void setTouchDragDropEnabled(bool) override;
129 virtual void setTouchEditingEnabled(bool) override; 128 virtual void setTouchEditingEnabled(bool) override;
130 virtual void setUnifiedTextCheckerEnabled(bool) override; 129 virtual void setUnifiedTextCheckerEnabled(bool) override;
131 virtual void setUseSolidColorScrollbars(bool) override; 130 virtual void setUseSolidColorScrollbars(bool) override;
132 virtual void setUseWideViewport(bool) override; 131 virtual void setUseWideViewport(bool) override;
133 virtual void setV8CacheOptions(V8CacheOptions) override; 132 virtual void setV8CacheOptions(V8CacheOptions) override;
134 virtual void setValidationMessageTimerMagnification(int) override; 133 virtual void setValidationMessageTimerMagnification(int) override;
135 virtual void setViewportEnabled(bool) override;
136 virtual void setViewportMetaEnabled(bool) override;
137 virtual void setWebGLErrorsToConsoleEnabled(bool) override; 134 virtual void setWebGLErrorsToConsoleEnabled(bool) override;
138 virtual void setWebSecurityEnabled(bool) override; 135 virtual void setWebSecurityEnabled(bool) override;
139 136
140 bool showFPSCounter() const { return m_showFPSCounter; } 137 bool showFPSCounter() const { return m_showFPSCounter; }
141 bool showPaintRects() const { return m_showPaintRects; } 138 bool showPaintRects() const { return m_showPaintRects; }
142 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 139 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
143 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 140 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
144 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 141 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
145 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 142 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
146 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 143 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
(...skipping 11 matching lines...) Expand all
158 bool m_doubleTapToZoomEnabled; 155 bool m_doubleTapToZoomEnabled;
159 bool m_perTilePaintingEnabled; 156 bool m_perTilePaintingEnabled;
160 bool m_supportDeprecatedTargetDensityDPI; 157 bool m_supportDeprecatedTargetDensityDPI;
161 bool m_shrinksViewportContentToFit; 158 bool m_shrinksViewportContentToFit;
162 bool m_mainFrameResizesAreOrientationChanges; 159 bool m_mainFrameResizesAreOrientationChanges;
163 }; 160 };
164 161
165 } // namespace blink 162 } // namespace blink
166 163
167 #endif 164 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698