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

Side by Side Diff: Source/core/testing/InternalSettings.h

Issue 1118613002: Hook up Android closed captions 'enabled' setting to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed lgtm comment and rebased Created 5 years, 5 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
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/core/testing/InternalSettings.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void setPictographFontFamily(const AtomicString& family, const String& scrip t, ExceptionState&); 101 void setPictographFontFamily(const AtomicString& family, const String& scrip t, ExceptionState&);
102 102
103 void setDefaultVideoPosterURL(const String& url, ExceptionState&); 103 void setDefaultVideoPosterURL(const String& url, ExceptionState&);
104 void setEditingBehavior(const String&, ExceptionState&); 104 void setEditingBehavior(const String&, ExceptionState&);
105 void setImagesEnabled(bool, ExceptionState&); 105 void setImagesEnabled(bool, ExceptionState&);
106 void setMediaTypeOverride(const String& mediaType, ExceptionState&); 106 void setMediaTypeOverride(const String& mediaType, ExceptionState&);
107 void setDisplayModeOverride(const String& displayMode, ExceptionState&); 107 void setDisplayModeOverride(const String& displayMode, ExceptionState&);
108 void setMockScrollbarsEnabled(bool, ExceptionState&); 108 void setMockScrollbarsEnabled(bool, ExceptionState&);
109 void setMockGestureTapHighlightsEnabled(bool, ExceptionState&); 109 void setMockGestureTapHighlightsEnabled(bool, ExceptionState&);
110 void setTextAutosizingEnabled(bool, ExceptionState&); 110 void setTextAutosizingEnabled(bool, ExceptionState&);
111 void setTextTrackKindUserPreference(const String& preference, ExceptionState &);
111 void setAccessibilityFontScaleFactor(float fontScaleFactor, ExceptionState&) ; 112 void setAccessibilityFontScaleFactor(float fontScaleFactor, ExceptionState&) ;
112 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionSta te&); 113 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionSta te&);
113 void setViewportEnabled(bool, ExceptionState&); 114 void setViewportEnabled(bool, ExceptionState&);
114 void setViewportMetaEnabled(bool, ExceptionState&); 115 void setViewportMetaEnabled(bool, ExceptionState&);
115 116
116 // FIXME: The following are RuntimeEnabledFeatures and likely 117 // FIXME: The following are RuntimeEnabledFeatures and likely
117 // cannot be changed after process start. These setters should 118 // cannot be changed after process start. These setters should
118 // be removed or moved onto internals.runtimeFlags: 119 // be removed or moved onto internals.runtimeFlags:
119 void setAuthorShadowDOMForAnyElementEnabled(bool); 120 void setAuthorShadowDOMForAnyElementEnabled(bool);
120 void setLangAttributeAwareFormControlUIEnabled(bool); 121 void setLangAttributeAwareFormControlUIEnabled(bool);
(...skipping 20 matching lines...) Expand all
141 Page* page() const { return m_page; } 142 Page* page() const { return m_page; }
142 static const char* supplementName(); 143 static const char* supplementName();
143 144
144 RawPtrWillBeWeakMember<Page> m_page; 145 RawPtrWillBeWeakMember<Page> m_page;
145 Backup m_backup; 146 Backup m_backup;
146 }; 147 };
147 148
148 } // namespace blink 149 } // namespace blink
149 150
150 #endif // InternalSettings_h 151 #endif // InternalSettings_h
OLDNEW
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698