| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 class SliderThumbElement FINAL : public HTMLDivElement { | 49 class SliderThumbElement FINAL : public HTMLDivElement { |
| 50 public: | 50 public: |
| 51 static PassRefPtr<SliderThumbElement> create(Document*); | 51 static PassRefPtr<SliderThumbElement> create(Document*); |
| 52 | 52 |
| 53 void setPositionFromValue(); | 53 void setPositionFromValue(); |
| 54 | 54 |
| 55 void dragFrom(const LayoutPoint&); | 55 void dragFrom(const LayoutPoint&); |
| 56 virtual void defaultEventHandler(Event*); | 56 virtual void defaultEventHandler(Event*); |
| 57 virtual bool willRespondToMouseMoveEvents() OVERRIDE; | 57 virtual bool willRespondToMouseMoveEvents() OVERRIDE; |
| 58 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 58 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
| 59 virtual void detach(); | 59 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
| 60 virtual const AtomicString& shadowPseudoId() const; | 60 virtual const AtomicString& shadowPseudoId() const; |
| 61 HTMLInputElement* hostInput() const; | 61 HTMLInputElement* hostInput() const; |
| 62 void setPositionFromPoint(const LayoutPoint&); | 62 void setPositionFromPoint(const LayoutPoint&); |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 SliderThumbElement(Document*); | 65 SliderThumbElement(Document*); |
| 66 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 66 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 67 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); | 67 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); |
| 68 virtual bool isDisabledFormControl() const OVERRIDE; | 68 virtual bool isDisabledFormControl() const OVERRIDE; |
| 69 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; | 69 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 private: | 122 private: |
| 123 SliderContainerElement(Document*); | 123 SliderContainerElement(Document*); |
| 124 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 124 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 125 virtual const AtomicString& shadowPseudoId() const; | 125 virtual const AtomicString& shadowPseudoId() const; |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 } | 128 } |
| 129 | 129 |
| 130 #endif | 130 #endif |
| OLD | NEW |