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

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

Issue 66023004: Allow Web Animations flags to be turned off as well as on (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | no next file » | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 BLINK_EXPORT static void enableSpeechInput(bool); 125 BLINK_EXPORT static void enableSpeechInput(bool);
126 BLINK_EXPORT static bool isSpeechInputEnabled(); 126 BLINK_EXPORT static bool isSpeechInputEnabled();
127 127
128 BLINK_EXPORT static void enableSpeechSynthesis(bool); 128 BLINK_EXPORT static void enableSpeechSynthesis(bool);
129 BLINK_EXPORT static bool isSpeechSynthesisEnabled(); 129 BLINK_EXPORT static bool isSpeechSynthesisEnabled();
130 130
131 BLINK_EXPORT static void enableTouch(bool); 131 BLINK_EXPORT static void enableTouch(bool);
132 BLINK_EXPORT static bool isTouchEnabled(); 132 BLINK_EXPORT static bool isTouchEnabled();
133 133
134 BLINK_EXPORT static void enableWebAnimationsCSS(); 134 // FIXME: Default values are a temporary measure until the addition of an
135 BLINK_EXPORT static void enableWebAnimationsSVG(); 135 // 'enable' parameter here is rolled into Chromium and runtime_features.cc
136 // is updated.
137 BLINK_EXPORT static void enableWebAnimationsCSS(bool enable = true);
138 BLINK_EXPORT static void enableWebAnimationsSVG(bool enable = true);
136 139
137 BLINK_EXPORT static void enableWebAudio(bool); 140 BLINK_EXPORT static void enableWebAudio(bool);
138 BLINK_EXPORT static bool isWebAudioEnabled(); 141 BLINK_EXPORT static bool isWebAudioEnabled();
139 142
140 BLINK_EXPORT static void enableWebGLDraftExtensions(bool); 143 BLINK_EXPORT static void enableWebGLDraftExtensions(bool);
141 BLINK_EXPORT static bool isWebGLDraftExtensionsEnabled(); 144 BLINK_EXPORT static bool isWebGLDraftExtensionsEnabled();
142 145
143 BLINK_EXPORT static void enableWebMIDI(bool); 146 BLINK_EXPORT static void enableWebMIDI(bool);
144 BLINK_EXPORT static bool isWebMIDIEnabled(); 147 BLINK_EXPORT static bool isWebMIDIEnabled();
145 148
(...skipping 17 matching lines...) Expand all
163 166
164 BLINK_EXPORT static void enableRepaintAfterLayout(bool); 167 BLINK_EXPORT static void enableRepaintAfterLayout(bool);
165 168
166 private: 169 private:
167 WebRuntimeFeatures(); 170 WebRuntimeFeatures();
168 }; 171 };
169 172
170 } // namespace blink 173 } // namespace blink
171 174
172 #endif 175 #endif
OLDNEW
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698