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

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

Issue 18854016: Add runtime flags for Web Animations CSS and SVG implementations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Turn on WebAnimations when WebAnimationsCSS/SVG is specified. Fix copy pasta. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/RuntimeEnabledFeatures.in ('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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 WEBKIT_EXPORT static void enableSpeechInput(bool); 117 WEBKIT_EXPORT static void enableSpeechInput(bool);
118 WEBKIT_EXPORT static bool isSpeechInputEnabled(); 118 WEBKIT_EXPORT static bool isSpeechInputEnabled();
119 119
120 WEBKIT_EXPORT static void enableSpeechSynthesis(bool); 120 WEBKIT_EXPORT static void enableSpeechSynthesis(bool);
121 WEBKIT_EXPORT static bool isSpeechSynthesisEnabled(); 121 WEBKIT_EXPORT static bool isSpeechSynthesisEnabled();
122 122
123 WEBKIT_EXPORT static void enableTouch(bool); 123 WEBKIT_EXPORT static void enableTouch(bool);
124 WEBKIT_EXPORT static bool isTouchEnabled(); 124 WEBKIT_EXPORT static bool isTouchEnabled();
125 125
126 WEBKIT_EXPORT static void enableWebAnimationsCSS();
127 WEBKIT_EXPORT static void enableWebAnimationsSVG();
abarth-chromium 2013/07/09 17:51:29 Normally we pass a bool here, but I guess there's
128
126 WEBKIT_EXPORT static void enableWebAudio(bool); 129 WEBKIT_EXPORT static void enableWebAudio(bool);
127 WEBKIT_EXPORT static bool isWebAudioEnabled(); 130 WEBKIT_EXPORT static bool isWebAudioEnabled();
128 131
129 WEBKIT_EXPORT static void enableWebGLDraftExtensions(bool); 132 WEBKIT_EXPORT static void enableWebGLDraftExtensions(bool);
130 WEBKIT_EXPORT static bool isWebGLDraftExtensionsEnabled(); 133 WEBKIT_EXPORT static bool isWebGLDraftExtensionsEnabled();
131 134
132 WEBKIT_EXPORT static void enableWebMIDI(bool); 135 WEBKIT_EXPORT static void enableWebMIDI(bool);
133 WEBKIT_EXPORT static bool isWebMIDIEnabled(); 136 WEBKIT_EXPORT static bool isWebMIDIEnabled();
134 137
135 WEBKIT_EXPORT static void enableDataListElement(bool); 138 WEBKIT_EXPORT static void enableDataListElement(bool);
136 WEBKIT_EXPORT static bool isDataListElementEnabled(); 139 WEBKIT_EXPORT static bool isDataListElementEnabled();
137 140
138 private: 141 private:
139 WebRuntimeFeatures(); 142 WebRuntimeFeatures();
140 }; 143 };
141 144
142 } // namespace WebKit 145 } // namespace WebKit
143 146
144 #endif 147 #endif
OLDNEW
« no previous file with comments | « Source/core/page/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698