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

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

Issue 714783003: Remove some straggling zoom-related code. (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
« no previous file with comments | « sky/engine/public/web/WebView.h ('k') | sky/engine/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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void setDefaultTextEncodingName(const WebString&) override; 61 virtual void setDefaultTextEncodingName(const WebString&) override;
62 virtual void setDefaultVideoPosterURL(const WebString&) override; 62 virtual void setDefaultVideoPosterURL(const WebString&) override;
63 virtual void setDeferredFiltersEnabled(bool) override; 63 virtual void setDeferredFiltersEnabled(bool) override;
64 virtual void setDeferredImageDecodingEnabled(bool) override; 64 virtual void setDeferredImageDecodingEnabled(bool) override;
65 virtual void setDeviceSupportsMouse(bool) override; 65 virtual void setDeviceSupportsMouse(bool) override;
66 66
67 // FIXME: Remove once the pointer/hover features are converted to use the 67 // FIXME: Remove once the pointer/hover features are converted to use the
68 // new APIs (e.g. setPrimaryPointerType) on the chromium side 68 // new APIs (e.g. setPrimaryPointerType) on the chromium side
69 virtual void setDeviceSupportsTouch(bool) override; 69 virtual void setDeviceSupportsTouch(bool) override;
70 70
71 virtual void setDoubleTapToZoomEnabled(bool) override;
72 virtual void setDownloadableBinaryFontsEnabled(bool) override; 71 virtual void setDownloadableBinaryFontsEnabled(bool) override;
73 virtual void setEnableTouchAdjustment(bool) override; 72 virtual void setEnableTouchAdjustment(bool) override;
74 virtual void setExperimentalWebGLEnabled(bool) override; 73 virtual void setExperimentalWebGLEnabled(bool) override;
75 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) override; 74 virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) override;
76 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) override; 75 virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) override;
77 virtual void setForceZeroLayoutHeight(bool) override; 76 virtual void setForceZeroLayoutHeight(bool) override;
78 virtual void setImagesEnabled(bool) override; 77 virtual void setImagesEnabled(bool) override;
79 virtual void setJavaScriptCanAccessClipboard(bool) override; 78 virtual void setJavaScriptCanAccessClipboard(bool) override;
80 virtual void setLoadsImagesAutomatically(bool) override; 79 virtual void setLoadsImagesAutomatically(bool) override;
81 virtual void setLoadWithOverviewMode(bool) override; 80 virtual void setLoadWithOverviewMode(bool) override;
(...skipping 25 matching lines...) Expand all
107 virtual void setTouchEditingEnabled(bool) override; 106 virtual void setTouchEditingEnabled(bool) override;
108 virtual void setUnifiedTextCheckerEnabled(bool) override; 107 virtual void setUnifiedTextCheckerEnabled(bool) override;
109 virtual void setUseSolidColorScrollbars(bool) override; 108 virtual void setUseSolidColorScrollbars(bool) override;
110 virtual void setUseWideViewport(bool) override; 109 virtual void setUseWideViewport(bool) override;
111 virtual void setV8CacheOptions(V8CacheOptions) override; 110 virtual void setV8CacheOptions(V8CacheOptions) override;
112 virtual void setWebGLErrorsToConsoleEnabled(bool) override; 111 virtual void setWebGLErrorsToConsoleEnabled(bool) override;
113 112
114 bool showFPSCounter() const { return m_showFPSCounter; } 113 bool showFPSCounter() const { return m_showFPSCounter; }
115 bool showPaintRects() const { return m_showPaintRects; } 114 bool showPaintRects() const { return m_showPaintRects; }
116 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 115 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
117 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
118 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 116 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
119 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 117 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
120 118
121 void setMockGestureTapHighlightsEnabled(bool); 119 void setMockGestureTapHighlightsEnabled(bool);
122 bool mockGestureTapHighlightsEnabled() const; 120 bool mockGestureTapHighlightsEnabled() const;
123 121
124 private: 122 private:
125 Settings* m_settings; 123 Settings* m_settings;
126 bool m_showFPSCounter; 124 bool m_showFPSCounter;
127 bool m_showPaintRects; 125 bool m_showPaintRects;
128 bool m_renderVSyncNotificationEnabled; 126 bool m_renderVSyncNotificationEnabled;
129 bool m_deferredImageDecodingEnabled; 127 bool m_deferredImageDecodingEnabled;
130 bool m_doubleTapToZoomEnabled;
131 bool m_perTilePaintingEnabled; 128 bool m_perTilePaintingEnabled;
132 bool m_supportDeprecatedTargetDensityDPI; 129 bool m_supportDeprecatedTargetDensityDPI;
133 bool m_shrinksViewportContentToFit; 130 bool m_shrinksViewportContentToFit;
134 bool m_mainFrameResizesAreOrientationChanges; 131 bool m_mainFrameResizesAreOrientationChanges;
135 }; 132 };
136 133
137 } // namespace blink 134 } // namespace blink
138 135
139 #endif 136 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebView.h ('k') | sky/engine/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698