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

Side by Side Diff: Source/bindings/v8/RuntimeEnabledFeatures.cpp

Issue 13725007: Remove the ENABLE_JAVASCRIPT_I18N_API compile time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove the flags altogether. Created 7 years, 8 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/bindings/v8/RuntimeEnabledFeatures.h ('k') | Source/bindings/v8/V8DOMWindowShell.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) 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 bool RuntimeEnabledFeatures::isGamepadEnabled = false; 69 bool RuntimeEnabledFeatures::isGamepadEnabled = false;
70 #endif 70 #endif
71 71
72 bool RuntimeEnabledFeatures::isFileSystemEnabled = false; 72 bool RuntimeEnabledFeatures::isFileSystemEnabled = false;
73 73
74 bool RuntimeEnabledFeatures::fileSystemEnabled() 74 bool RuntimeEnabledFeatures::fileSystemEnabled()
75 { 75 {
76 return isFileSystemEnabled && AsyncFileSystem::isAvailable(); 76 return isFileSystemEnabled && AsyncFileSystem::isAvailable();
77 } 77 }
78 78
79 #if ENABLE(JAVASCRIPT_I18N_API)
80 bool RuntimeEnabledFeatures::isJavaScriptI18NAPIEnabled = false;
81
82 bool RuntimeEnabledFeatures::javaScriptI18NAPIEnabled()
83 {
84 return isJavaScriptI18NAPIEnabled;
85 }
86 #endif
87
88 #if ENABLE(VIDEO) 79 #if ENABLE(VIDEO)
89 80
90 bool RuntimeEnabledFeatures::audioEnabled() 81 bool RuntimeEnabledFeatures::audioEnabled()
91 { 82 {
92 return MediaPlayer::isAvailable(); 83 return MediaPlayer::isAvailable();
93 } 84 }
94 85
95 bool RuntimeEnabledFeatures::htmlMediaElementEnabled() 86 bool RuntimeEnabledFeatures::htmlMediaElementEnabled()
96 { 87 {
97 return MediaPlayer::isAvailable(); 88 return MediaPlayer::isAvailable();
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 175
185 bool RuntimeEnabledFeatures::areExperimentalContentSecurityPolicyFeaturesEnabled = false; 176 bool RuntimeEnabledFeatures::areExperimentalContentSecurityPolicyFeaturesEnabled = false;
186 177
187 bool RuntimeEnabledFeatures::areSeamlessIFramesEnabled = false; 178 bool RuntimeEnabledFeatures::areSeamlessIFramesEnabled = false;
188 179
189 bool RuntimeEnabledFeatures::isFontLoadEventsEnabled = false; 180 bool RuntimeEnabledFeatures::isFontLoadEventsEnabled = false;
190 181
191 bool RuntimeEnabledFeatures::isWebPInAcceptHeaderEnabled = false; 182 bool RuntimeEnabledFeatures::isWebPInAcceptHeaderEnabled = false;
192 183
193 } // namespace WebCore 184 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/v8/RuntimeEnabledFeatures.h ('k') | Source/bindings/v8/V8DOMWindowShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698