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

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

Issue 921833003: Expose APIs for text track settings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 9 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
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 virtual void setSpatialNavigationEnabled(bool) override; 154 virtual void setSpatialNavigationEnabled(bool) override;
155 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) override; 155 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) override;
156 virtual void setStrictMixedContentChecking(bool) override; 156 virtual void setStrictMixedContentChecking(bool) override;
157 virtual void setStrictPowerfulFeatureRestrictions(bool) override; 157 virtual void setStrictPowerfulFeatureRestrictions(bool) override;
158 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; 158 virtual void setSupportDeprecatedTargetDensityDPI(bool) override;
159 virtual void setSupportsMultipleWindows(bool) override; 159 virtual void setSupportsMultipleWindows(bool) override;
160 virtual void setSyncXHRInDocumentsEnabled(bool) override; 160 virtual void setSyncXHRInDocumentsEnabled(bool) override;
161 virtual void setTextAreasAreResizable(bool) override; 161 virtual void setTextAreasAreResizable(bool) override;
162 virtual void setTextAutosizingEnabled(bool) override; 162 virtual void setTextAutosizingEnabled(bool) override;
163 virtual void setAccessibilityFontScaleFactor(float) override; 163 virtual void setAccessibilityFontScaleFactor(float) override;
164 virtual void setTextTrackBackgroundColor(const WebString&);
165 virtual void setTextTrackFontFamily(const WebString&);
166 virtual void setTextTrackFontStyle(const WebString&);
167 virtual void setTextTrackFontVariant(const WebString&);
168 virtual void setTextTrackTextColor(const WebString&);
169 virtual void setTextTrackTextShadow(const WebString&);
170 virtual void setTextTrackTextSize(const WebString&);
164 virtual void setThreadedScrollingEnabled(bool) override; 171 virtual void setThreadedScrollingEnabled(bool) override;
165 virtual void setTouchDragDropEnabled(bool) override; 172 virtual void setTouchDragDropEnabled(bool) override;
166 virtual void setTouchEditingEnabled(bool) override; 173 virtual void setTouchEditingEnabled(bool) override;
167 virtual void setUnifiedTextCheckerEnabled(bool) override; 174 virtual void setUnifiedTextCheckerEnabled(bool) override;
168 virtual void setUnsafePluginPastingEnabled(bool) override; 175 virtual void setUnsafePluginPastingEnabled(bool) override;
169 virtual void setUsesEncodingDetector(bool) override; 176 virtual void setUsesEncodingDetector(bool) override;
170 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) override; 177 virtual void setUseLegacyBackgroundSizeShorthandBehavior(bool) override;
171 virtual void setUseMobileViewportStyle(bool) override; 178 virtual void setUseMobileViewportStyle(bool) override;
172 virtual void setUseSolidColorScrollbars(bool) override; 179 virtual void setUseSolidColorScrollbars(bool) override;
173 virtual void setUseWideViewport(bool) override; 180 virtual void setUseWideViewport(bool) override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // This quirk is to maintain compatibility with Android apps built on 230 // This quirk is to maintain compatibility with Android apps built on
224 // the Android SDK prior to and including version 18. Presumably, this 231 // the Android SDK prior to and including version 18. Presumably, this
225 // can be removed any time after 2015. See http://crbug.com/313754. 232 // can be removed any time after 2015. See http://crbug.com/313754.
226 bool m_clobberUserAgentInitialScaleQuirk; 233 bool m_clobberUserAgentInitialScaleQuirk;
227 bool m_mainFrameResizesAreOrientationChanges; 234 bool m_mainFrameResizesAreOrientationChanges;
228 }; 235 };
229 236
230 } // namespace blink 237 } // namespace blink
231 238
232 #endif 239 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698