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

Side by Side Diff: public/web/WebSettings.h

Issue 49913005: Add Settings::deviceScaleAdjustment. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments. Created 7 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void setCookieEnabled(bool) = 0; 87 virtual void setCookieEnabled(bool) = 0;
88 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 88 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
89 virtual void setDNSPrefetchingEnabled(bool) = 0; 89 virtual void setDNSPrefetchingEnabled(bool) = 0;
90 virtual void setDOMPasteAllowed(bool) = 0; 90 virtual void setDOMPasteAllowed(bool) = 0;
91 virtual void setDefaultFixedFontSize(int) = 0; 91 virtual void setDefaultFixedFontSize(int) = 0;
92 virtual void setDefaultFontSize(int) = 0; 92 virtual void setDefaultFontSize(int) = 0;
93 virtual void setDefaultTextEncodingName(const WebString&) = 0; 93 virtual void setDefaultTextEncodingName(const WebString&) = 0;
94 virtual void setDefaultVideoPosterURL(const WebString&) = 0; 94 virtual void setDefaultVideoPosterURL(const WebString&) = 0;
95 void setDeferred2dCanvasEnabled(bool) { } // temporary stub 95 void setDeferred2dCanvasEnabled(bool) { } // temporary stub
96 virtual void setDeferredImageDecodingEnabled(bool) = 0; 96 virtual void setDeferredImageDecodingEnabled(bool) = 0;
97 virtual void setDeviceScaleAdjustment(float) = 0;
97 virtual void setDeviceSupportsMouse(bool) = 0; 98 virtual void setDeviceSupportsMouse(bool) = 0;
98 virtual void setDeviceSupportsTouch(bool) = 0; 99 virtual void setDeviceSupportsTouch(bool) = 0;
99 virtual void setDoubleTapToZoomEnabled(bool) = 0; 100 virtual void setDoubleTapToZoomEnabled(bool) = 0;
100 virtual void setDownloadableBinaryFontsEnabled(bool) = 0; 101 virtual void setDownloadableBinaryFontsEnabled(bool) = 0;
101 virtual void setEditableLinkBehaviorNeverLive() = 0; 102 virtual void setEditableLinkBehaviorNeverLive() = 0;
102 virtual void setEditingBehavior(EditingBehavior) = 0; 103 virtual void setEditingBehavior(EditingBehavior) = 0;
103 virtual void setEnableScrollAnimator(bool) = 0; 104 virtual void setEnableScrollAnimator(bool) = 0;
104 virtual void setEnableTouchAdjustment(bool) = 0; 105 virtual void setEnableTouchAdjustment(bool) = 0;
105 virtual void setRegionBasedColumnsEnabled(bool) = 0; 106 virtual void setRegionBasedColumnsEnabled(bool) = 0;
106 virtual void setExperimentalWebGLEnabled(bool) = 0; 107 virtual void setExperimentalWebGLEnabled(bool) = 0;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 void setCSSStickyPositionEnabled(bool) { } 200 void setCSSStickyPositionEnabled(bool) { }
200 void setExperimentalCSSCustomFilterEnabled(bool) { } 201 void setExperimentalCSSCustomFilterEnabled(bool) { }
201 202
202 protected: 203 protected:
203 ~WebSettings() { } 204 ~WebSettings() { }
204 }; 205 };
205 206
206 } // namespace WebKit 207 } // namespace WebKit
207 208
208 #endif 209 #endif
OLDNEW
« Source/core/rendering/TextAutosizer.cpp ('K') | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698