| 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 #define SliderThumbElement_h | 33 #define SliderThumbElement_h |
| 34 | 34 |
| 35 #include "core/HTMLNames.h" | 35 #include "core/HTMLNames.h" |
| 36 #include "core/html/HTMLDivElement.h" | 36 #include "core/html/HTMLDivElement.h" |
| 37 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class HTMLInputElement; | 41 class HTMLInputElement; |
| 42 class Event; | 42 class Event; |
| 43 class TouchEvent; |
| 43 | 44 |
| 44 class SliderThumbElement final : public HTMLDivElement { | 45 class SliderThumbElement final : public HTMLDivElement { |
| 45 public: | 46 public: |
| 46 static SliderThumbElement* create(Document&); | 47 static SliderThumbElement* create(Document&); |
| 47 | 48 |
| 48 void setPositionFromValue(); | 49 void setPositionFromValue(); |
| 49 | 50 |
| 50 void dragFrom(const LayoutPoint&); | 51 void dragFrom(const LayoutPoint&); |
| 51 void defaultEventHandler(Event*) override; | 52 void defaultEventHandler(Event*) override; |
| 52 bool willRespondToMouseMoveEvents() override; | 53 bool willRespondToMouseMoveEvents() override; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 103 |
| 103 bool m_hasTouchEventHandler; | 104 bool m_hasTouchEventHandler; |
| 104 bool m_touchStarted; | 105 bool m_touchStarted; |
| 105 Direction m_slidingDirection; | 106 Direction m_slidingDirection; |
| 106 LayoutPoint m_startPoint; | 107 LayoutPoint m_startPoint; |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 } // namespace blink | 110 } // namespace blink |
| 110 | 111 |
| 111 #endif | 112 #endif |
| OLD | NEW |