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

Side by Side Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 14467003: Remove ENABLE_DIALOG_ELEMENT (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | Source/core/css/StyleResolver.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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 RuntimeEnabledFeatures::setInputTypeWeekEnabled(enable); 409 RuntimeEnabledFeatures::setInputTypeWeekEnabled(enable);
410 } 410 }
411 411
412 bool WebRuntimeFeatures::isInputTypeWeekEnabled() 412 bool WebRuntimeFeatures::isInputTypeWeekEnabled()
413 { 413 {
414 return RuntimeEnabledFeatures::inputTypeWeekEnabled(); 414 return RuntimeEnabledFeatures::inputTypeWeekEnabled();
415 } 415 }
416 416
417 void WebRuntimeFeatures::enableDialogElement(bool enable) 417 void WebRuntimeFeatures::enableDialogElement(bool enable)
418 { 418 {
419 #if ENABLE(DIALOG_ELEMENT)
420 RuntimeEnabledFeatures::setDialogElementEnabled(enable); 419 RuntimeEnabledFeatures::setDialogElementEnabled(enable);
421 #else
422 UNUSED_PARAM(enable);
423 #endif
424 } 420 }
425 421
426 bool WebRuntimeFeatures::isDialogElementEnabled() 422 bool WebRuntimeFeatures::isDialogElementEnabled()
427 { 423 {
428 #if ENABLE(DIALOG_ELEMENT)
429 return RuntimeEnabledFeatures::dialogElementEnabled(); 424 return RuntimeEnabledFeatures::dialogElementEnabled();
430 #else
431 return false;
432 #endif
abarth-chromium 2013/04/25 03:59:33 LGTM
433 } 425 }
434 426
435 void WebRuntimeFeatures::enableLazyLayout(bool enable) 427 void WebRuntimeFeatures::enableLazyLayout(bool enable)
436 { 428 {
437 RuntimeEnabledFeatures::setLazyLayoutEnabled(enable); 429 RuntimeEnabledFeatures::setLazyLayoutEnabled(enable);
438 } 430 }
439 431
440 bool WebRuntimeFeatures::isLazyLayoutEnabled() 432 bool WebRuntimeFeatures::isLazyLayoutEnabled()
441 { 433 {
442 return RuntimeEnabledFeatures::lazyLayoutEnabled(); 434 return RuntimeEnabledFeatures::lazyLayoutEnabled();
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 { 558 {
567 RuntimeEnabledFeatures::setIMEAPIEnabled(enable); 559 RuntimeEnabledFeatures::setIMEAPIEnabled(enable);
568 } 560 }
569 561
570 bool WebRuntimeFeatures::isIMEAPIEnabled() 562 bool WebRuntimeFeatures::isIMEAPIEnabled()
571 { 563 {
572 return RuntimeEnabledFeatures::imeAPIEnabled(); 564 return RuntimeEnabledFeatures::imeAPIEnabled();
573 } 565 }
574 566
575 } // namespace WebKit 567 } // namespace WebKit
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698