| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Publicw | 5 * modify it under the terms of the GNU Library General Publicw |
| 6 * version 2 of the License, or (at your option) any later version. | 6 * version 2 of the License, or (at your option) any later version. |
| 7 * | 7 * |
| 8 * This library is distributed in the hope that it will be useful, | 8 * This library is distributed in the hope that it will be useful, |
| 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void LayoutSlider::layout() { | 67 void LayoutSlider::layout() { |
| 68 // FIXME: Find a way to cascade appearance. | 68 // FIXME: Find a way to cascade appearance. |
| 69 // http://webkit.org/b/62535 | 69 // http://webkit.org/b/62535 |
| 70 LayoutBox* thumbBox = sliderThumbElement()->layoutBox(); | 70 LayoutBox* thumbBox = sliderThumbElement()->layoutBox(); |
| 71 if (thumbBox && thumbBox->isSliderThumb()) | 71 if (thumbBox && thumbBox->isSliderThumb()) |
| 72 toLayoutSliderThumb(thumbBox)->updateAppearance(styleRef()); | 72 toLayoutSliderThumb(thumbBox)->updateAppearance(styleRef()); |
| 73 | 73 |
| 74 LayoutFlexibleBox::layout(); | 74 LayoutFlexibleBox::layout(); |
| 75 } | 75 } |
| 76 | 76 |
| 77 bool LayoutSlider::inDragMode() const { | |
| 78 return sliderThumbElement()->isActive(); | |
| 79 } | |
| 80 | |
| 81 } // namespace blink | 77 } // namespace blink |
| OLD | NEW |