| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 inline PassRefPtrWillBeRawPtr<Element> SliderThumbElement::cloneElementWithoutAt
tributesAndChildren() | 76 inline PassRefPtrWillBeRawPtr<Element> SliderThumbElement::cloneElementWithoutAt
tributesAndChildren() |
| 77 { | 77 { |
| 78 return create(document()); | 78 return create(document()); |
| 79 } | 79 } |
| 80 | 80 |
| 81 // FIXME: There are no ways to check if a node is a SliderThumbElement. | 81 // FIXME: There are no ways to check if a node is a SliderThumbElement. |
| 82 DEFINE_ELEMENT_TYPE_CASTS(SliderThumbElement, isHTMLElement()); | 82 DEFINE_ELEMENT_TYPE_CASTS(SliderThumbElement, isHTMLElement()); |
| 83 | 83 |
| 84 // -------------------------------- | |
| 85 | |
| 86 class RenderSliderThumb FINAL : public RenderBlockFlow { | |
| 87 public: | |
| 88 RenderSliderThumb(SliderThumbElement*); | |
| 89 void updateAppearance(RenderStyle* parentStyle); | |
| 90 | |
| 91 private: | |
| 92 virtual bool isSliderThumb() const OVERRIDE; | |
| 93 }; | |
| 94 | |
| 95 // -------------------------------- | |
| 96 | |
| 97 class SliderContainerElement FINAL : public HTMLDivElement { | 84 class SliderContainerElement FINAL : public HTMLDivElement { |
| 98 public: | 85 public: |
| 99 DECLARE_NODE_FACTORY(SliderContainerElement); | 86 DECLARE_NODE_FACTORY(SliderContainerElement); |
| 100 | 87 |
| 101 private: | 88 private: |
| 102 explicit SliderContainerElement(Document&); | 89 explicit SliderContainerElement(Document&); |
| 103 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 90 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 104 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 91 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 105 }; | 92 }; |
| 106 | 93 |
| 107 } | 94 } |
| 108 | 95 |
| 109 #endif | 96 #endif |
| OLD | NEW |