| 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 21 matching lines...) Expand all Loading... |
| 32 #ifndef SliderThumbElement_h | 32 #ifndef SliderThumbElement_h |
| 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 "core/rendering/RenderBlockFlow.h" | 37 #include "core/rendering/RenderBlockFlow.h" |
| 38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class HTMLElement; | |
| 43 class HTMLInputElement; | 42 class HTMLInputElement; |
| 44 class Event; | 43 class Event; |
| 45 class FloatPoint; | |
| 46 | 44 |
| 47 class SliderThumbElement FINAL : public HTMLDivElement { | 45 class SliderThumbElement FINAL : public HTMLDivElement { |
| 48 public: | 46 public: |
| 49 static PassRefPtrWillBeRawPtr<SliderThumbElement> create(Document&); | 47 static PassRefPtrWillBeRawPtr<SliderThumbElement> create(Document&); |
| 50 | 48 |
| 51 void setPositionFromValue(); | 49 void setPositionFromValue(); |
| 52 | 50 |
| 53 void dragFrom(const LayoutPoint&); | 51 void dragFrom(const LayoutPoint&); |
| 54 virtual void defaultEventHandler(Event*) OVERRIDE; | 52 virtual void defaultEventHandler(Event*) OVERRIDE; |
| 55 virtual bool willRespondToMouseMoveEvents() OVERRIDE; | 53 virtual bool willRespondToMouseMoveEvents() OVERRIDE; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 85 |
| 88 private: | 86 private: |
| 89 explicit SliderContainerElement(Document&); | 87 explicit SliderContainerElement(Document&); |
| 90 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 88 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 91 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 89 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 92 }; | 90 }; |
| 93 | 91 |
| 94 } | 92 } |
| 95 | 93 |
| 96 #endif | 94 #endif |
| OLD | NEW |