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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumSkia.cpp

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. 2 * Copyright (C) 2007 Apple Inc.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2008 Collabora Ltd. 4 * Copyright (C) 2008 Collabora Ltd.
5 * Copyright (C) 2008, 2009 Google Inc. 5 * Copyright (C) 2008, 2009 Google Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 padding += menuListArrowPadding(); 489 padding += menuListArrowPadding();
490 490
491 return padding; 491 return padding;
492 } 492 }
493 493
494 bool RenderThemeChromiumSkia::shouldShowPlaceholderWhenFocused() const 494 bool RenderThemeChromiumSkia::shouldShowPlaceholderWhenFocused() const
495 { 495 {
496 return true; 496 return true;
497 } 497 }
498 498
499 #if ENABLE(DATALIST_ELEMENT)
500 LayoutUnit RenderThemeChromiumSkia::sliderTickSnappingThreshold() const 499 LayoutUnit RenderThemeChromiumSkia::sliderTickSnappingThreshold() const
501 { 500 {
502 return RenderThemeChromiumCommon::sliderTickSnappingThreshold(); 501 return RenderThemeChromiumCommon::sliderTickSnappingThreshold();
503 } 502 }
504 #endif
505 503
506 // 504 //
507 // Following values are come from default of GTK+ 505 // Following values are come from default of GTK+
508 // 506 //
509 static const int progressDeltaPixelsPerSecond = 100; 507 static const int progressDeltaPixelsPerSecond = 100;
510 static const int progressActivityBlocks = 5; 508 static const int progressActivityBlocks = 5;
511 static const int progressAnimationFrmaes = 10; 509 static const int progressAnimationFrmaes = 10;
512 static const double progressAnimationInterval = 0.125; 510 static const double progressAnimationInterval = 0.125;
513 511
514 IntRect RenderThemeChromiumSkia::determinateProgressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const 512 IntRect RenderThemeChromiumSkia::determinateProgressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 } 556 }
559 557
560 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() 558 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope()
561 { 559 {
562 if (!m_needsFlipping) 560 if (!m_needsFlipping)
563 return; 561 return;
564 m_paintInfo.context->restore(); 562 m_paintInfo.context->restore();
565 } 563 }
566 564
567 } // namespace WebCore 565 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698