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

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: Created 5 years, 10 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 virtual void setViewportMetaEnabled(bool) override; 173 virtual void setViewportMetaEnabled(bool) override;
174 virtual void setViewportMetaLayoutSizeQuirk(bool) override; 174 virtual void setViewportMetaLayoutSizeQuirk(bool) override;
175 virtual void setViewportMetaMergeContentQuirk(bool) override; 175 virtual void setViewportMetaMergeContentQuirk(bool) override;
176 virtual void setViewportMetaNonUserScalableQuirk(bool) override; 176 virtual void setViewportMetaNonUserScalableQuirk(bool) override;
177 virtual void setViewportMetaZeroValuesQuirk(bool) override; 177 virtual void setViewportMetaZeroValuesQuirk(bool) override;
178 virtual void setWebAudioEnabled(bool) override; 178 virtual void setWebAudioEnabled(bool) override;
179 virtual void setWebGLErrorsToConsoleEnabled(bool) override; 179 virtual void setWebGLErrorsToConsoleEnabled(bool) override;
180 virtual void setWebSecurityEnabled(bool) override; 180 virtual void setWebSecurityEnabled(bool) override;
181 virtual void setWideViewportQuirkEnabled(bool) override; 181 virtual void setWideViewportQuirkEnabled(bool) override;
182 virtual void setXSSAuditorEnabled(bool) override; 182 virtual void setXSSAuditorEnabled(bool) override;
183 virtual void setTextTrackTextColor(const WebString&);
fs 2015/02/13 13:13:16 Order alphabetically.
fs 2015/02/17 09:43:46 This has not been addressed. (The new methods are
srivats 2015/02/18 01:46:51 Done.
184 virtual void setTextTrackBackgroundColor(const WebString&);
185 virtual void setTextTrackWindowColor(const WebString&);
186 virtual void setTextTrackTextShadow(const WebString&);
187 virtual void setTextTrackTextSize(const WebString&);
188 virtual void setTextTrackFontFamily(const WebString&);
189 virtual void setTextTrackFontStyle(const WebString&);
190 virtual void setTextTrackFontVariant(const WebString&);
183 191
184 bool showFPSCounter() const { return m_showFPSCounter; } 192 bool showFPSCounter() const { return m_showFPSCounter; }
185 bool showPaintRects() const { return m_showPaintRects; } 193 bool showPaintRects() const { return m_showPaintRects; }
186 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 194 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
187 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; } 195 bool autoZoomFocusedNodeToLegibleScale() const { return m_autoZoomFocusedNod eToLegibleScale; }
188 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; } 196 bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
189 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 197 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
190 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 198 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
191 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; } 199 bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQu irk; }
192 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; } 200 bool viewportMetaNonUserScalableQuirk() const { return m_viewportMetaNonUser ScalableQuirk; }
(...skipping 25 matching lines...) Expand all
218 // This quirk is to maintain compatibility with Android apps built on 226 // This quirk is to maintain compatibility with Android apps built on
219 // the Android SDK prior to and including version 18. Presumably, this 227 // the Android SDK prior to and including version 18. Presumably, this
220 // 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.
221 bool m_clobberUserAgentInitialScaleQuirk; 229 bool m_clobberUserAgentInitialScaleQuirk;
222 bool m_mainFrameResizesAreOrientationChanges; 230 bool m_mainFrameResizesAreOrientationChanges;
223 }; 231 };
224 232
225 } // namespace blink 233 } // namespace blink
226 234
227 #endif 235 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698