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

Side by Side Diff: Source/web/WebRuntimeFeatures.cpp

Issue 14429004: Remove the compile and runtime flags for the JavaScript i18n API from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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') | public/web/WebRuntimeFeatures.h » ('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) 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 void WebRuntimeFeatures::enableGeolocation(bool enable) 168 void WebRuntimeFeatures::enableGeolocation(bool enable)
169 { 169 {
170 RuntimeEnabledFeatures::setGeolocationEnabled(enable); 170 RuntimeEnabledFeatures::setGeolocationEnabled(enable);
171 } 171 }
172 172
173 bool WebRuntimeFeatures::isGeolocationEnabled() 173 bool WebRuntimeFeatures::isGeolocationEnabled()
174 { 174 {
175 return RuntimeEnabledFeatures::geolocationEnabled(); 175 return RuntimeEnabledFeatures::geolocationEnabled();
176 } 176 }
177 177
178 void WebRuntimeFeatures::enableJavaScriptI18NAPI(bool enable)
179 {
180 RuntimeEnabledFeatures::setJavaScriptI18NAPIEnabled(enable);
181 }
182
183 bool WebRuntimeFeatures::isJavaScriptI18NAPIEnabled()
184 {
185 return RuntimeEnabledFeatures::javaScriptI18NAPIEnabled();
186 }
187
188 void WebRuntimeFeatures::enableLazyLayout(bool enable) 178 void WebRuntimeFeatures::enableLazyLayout(bool enable)
189 { 179 {
190 RuntimeEnabledFeatures::setLazyLayoutEnabled(enable); 180 RuntimeEnabledFeatures::setLazyLayoutEnabled(enable);
191 } 181 }
192 182
193 bool WebRuntimeFeatures::isLazyLayoutEnabled() 183 bool WebRuntimeFeatures::isLazyLayoutEnabled()
194 { 184 {
195 return RuntimeEnabledFeatures::lazyLayoutEnabled(); 185 return RuntimeEnabledFeatures::lazyLayoutEnabled();
196 } 186 }
197 187
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 { 367 {
378 RuntimeEnabledFeatures::setDataListElementEnabled(enable); 368 RuntimeEnabledFeatures::setDataListElementEnabled(enable);
379 } 369 }
380 370
381 bool WebRuntimeFeatures::isDataListElementEnabled() 371 bool WebRuntimeFeatures::isDataListElementEnabled()
382 { 372 {
383 return RuntimeEnabledFeatures::dataListElementEnabled(); 373 return RuntimeEnabledFeatures::dataListElementEnabled();
384 } 374 }
385 375
386 } // namespace WebKit 376 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/core/page/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698