| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |