| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 class SliderThumbElement FINAL : public HTMLDivElement { | 47 class SliderThumbElement FINAL : public HTMLDivElement { |
| 48 public: | 48 public: |
| 49 static PassRefPtr<SliderThumbElement> create(Document&); | 49 static PassRefPtr<SliderThumbElement> create(Document&); |
| 50 | 50 |
| 51 void setPositionFromValue(); | 51 void setPositionFromValue(); |
| 52 | 52 |
| 53 void dragFrom(const LayoutPoint&); | 53 void dragFrom(const LayoutPoint&); |
| 54 virtual void defaultEventHandler(Event*); | 54 virtual void defaultEventHandler(Event*); |
| 55 virtual bool willRespondToMouseMoveEvents() OVERRIDE; | 55 virtual bool willRespondToMouseMoveEvents() OVERRIDE; |
| 56 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 56 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
| 57 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 57 virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERR
IDE; |
| 58 virtual const AtomicString& part() const OVERRIDE; | 58 virtual const AtomicString& part() const OVERRIDE; |
| 59 HTMLInputElement* hostInput() const; | 59 HTMLInputElement* hostInput() const; |
| 60 void setPositionFromPoint(const LayoutPoint&); | 60 void setPositionFromPoint(const LayoutPoint&); |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 SliderThumbElement(Document&); | 63 SliderThumbElement(Document&); |
| 64 virtual RenderObject* createRenderer(RenderStyle*); | 64 virtual RenderObject* createRenderer(RenderStyle*); |
| 65 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); | 65 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); |
| 66 virtual bool isDisabledFormControl() const OVERRIDE; | 66 virtual bool isDisabledFormControl() const OVERRIDE; |
| 67 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; | 67 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 105 private: | 105 private: |
| 106 SliderContainerElement(Document&); | 106 SliderContainerElement(Document&); |
| 107 virtual RenderObject* createRenderer(RenderStyle*); | 107 virtual RenderObject* createRenderer(RenderStyle*); |
| 108 virtual const AtomicString& part() const; | 108 virtual const AtomicString& part() const; |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 } | 111 } |
| 112 | 112 |
| 113 #endif | 113 #endif |
| OLD | NEW |