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

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

Issue 132163002: First set of changes to remove ENABLE_TOUCH_ICON_LOADING compile time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove stable from the flag Created 6 years, 11 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/platform/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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 void WebRuntimeFeatures::enableTouch(bool enable) 363 void WebRuntimeFeatures::enableTouch(bool enable)
364 { 364 {
365 RuntimeEnabledFeatures::setTouchEnabled(enable); 365 RuntimeEnabledFeatures::setTouchEnabled(enable);
366 } 366 }
367 367
368 bool WebRuntimeFeatures::isTouchEnabled() 368 bool WebRuntimeFeatures::isTouchEnabled()
369 { 369 {
370 return RuntimeEnabledFeatures::touchEnabled(); 370 return RuntimeEnabledFeatures::touchEnabled();
371 } 371 }
372 372
373 void WebRuntimeFeatures::enableTouchIconLoading(bool enable)
374 {
375 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable);
376 }
377
378 bool WebRuntimeFeatures::isTouchIconLoadingEnabled()
379 {
380 return RuntimeEnabledFeatures::touchIconLoadingEnabled();
381 }
382
373 void WebRuntimeFeatures::enableWebAnimationsCSS(bool enable) 383 void WebRuntimeFeatures::enableWebAnimationsCSS(bool enable)
374 { 384 {
375 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(enable); 385 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(enable);
376 } 386 }
377 387
378 void WebRuntimeFeatures::enableWebAnimationsSVG(bool enable) 388 void WebRuntimeFeatures::enableWebAnimationsSVG(bool enable)
379 { 389 {
380 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(enable); 390 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(enable);
381 } 391 }
382 392
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 { 469 {
460 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); 470 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable);
461 } 471 }
462 472
463 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) 473 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable)
464 { 474 {
465 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); 475 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable);
466 } 476 }
467 477
468 } // namespace blink 478 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698