| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "core/html/shadow/SliderThumbElement.h" | 33 #include "core/html/shadow/SliderThumbElement.h" |
| 34 | 34 |
| 35 #include "core/events/Event.h" | 35 #include "core/events/Event.h" |
| 36 #include "core/events/MouseEvent.h" | 36 #include "core/events/MouseEvent.h" |
| 37 #include "core/dom/shadow/ShadowRoot.h" | 37 #include "core/dom/shadow/ShadowRoot.h" |
| 38 #include "core/frame/LocalFrame.h" | 38 #include "core/frame/LocalFrame.h" |
| 39 #include "core/html/HTMLInputElement.h" | 39 #include "core/html/HTMLInputElement.h" |
| 40 #include "core/html/forms/StepRange.h" | 40 #include "core/html/forms/StepRange.h" |
| 41 #include "core/html/parser/HTMLParserIdioms.h" | 41 #include "core/html/parser/HTMLParserIdioms.h" |
| 42 #include "core/html/shadow/ShadowElementNames.h" | 42 #include "core/html/shadow/ShadowElementNames.h" |
| 43 #include "core/input/EventHandler.h" |
| 43 #include "core/layout/LayoutFlexibleBox.h" | 44 #include "core/layout/LayoutFlexibleBox.h" |
| 44 #include "core/layout/LayoutSlider.h" | 45 #include "core/layout/LayoutSlider.h" |
| 45 #include "core/layout/LayoutSliderContainer.h" | 46 #include "core/layout/LayoutSliderContainer.h" |
| 46 #include "core/layout/LayoutSliderThumb.h" | 47 #include "core/layout/LayoutSliderThumb.h" |
| 47 #include "core/layout/LayoutTheme.h" | 48 #include "core/layout/LayoutTheme.h" |
| 48 #include "core/page/EventHandler.h" | |
| 49 | 49 |
| 50 namespace blink { | 50 namespace blink { |
| 51 | 51 |
| 52 using namespace HTMLNames; | 52 using namespace HTMLNames; |
| 53 | 53 |
| 54 inline static bool hasVerticalAppearance(HTMLInputElement* input) | 54 inline static bool hasVerticalAppearance(HTMLInputElement* input) |
| 55 { | 55 { |
| 56 ASSERT(input->layoutObject()); | 56 ASSERT(input->layoutObject()); |
| 57 const ComputedStyle& sliderStyle = input->layoutObject()->styleRef(); | 57 const ComputedStyle& sliderStyle = input->layoutObject()->styleRef(); |
| 58 | 58 |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 case MediaVolumeSliderThumbPart: | 327 case MediaVolumeSliderThumbPart: |
| 328 case MediaFullScreenVolumeSliderPart: | 328 case MediaFullScreenVolumeSliderPart: |
| 329 case MediaFullScreenVolumeSliderThumbPart: | 329 case MediaFullScreenVolumeSliderThumbPart: |
| 330 return mediaSliderContainer; | 330 return mediaSliderContainer; |
| 331 default: | 331 default: |
| 332 return sliderContainer; | 332 return sliderContainer; |
| 333 } | 333 } |
| 334 } | 334 } |
| 335 | 335 |
| 336 } | 336 } |
| OLD | NEW |