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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 // -------------------------------- | 87 // -------------------------------- |
88 | 88 |
89 class RenderSliderThumb FINAL : public RenderBlock { | 89 class RenderSliderThumb FINAL : public RenderBlock { |
90 public: | 90 public: |
91 RenderSliderThumb(SliderThumbElement*); | 91 RenderSliderThumb(SliderThumbElement*); |
92 void updateAppearance(RenderStyle* parentStyle); | 92 void updateAppearance(RenderStyle* parentStyle); |
93 | 93 |
94 private: | 94 private: |
95 virtual bool isSliderThumb() const; | 95 virtual bool isSliderThumb() const; |
| 96 virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
96 }; | 97 }; |
97 | 98 |
98 // -------------------------------- | 99 // -------------------------------- |
99 | 100 |
100 class SliderContainerElement FINAL : public HTMLDivElement { | 101 class SliderContainerElement FINAL : public HTMLDivElement { |
101 public: | 102 public: |
102 static PassRefPtr<SliderContainerElement> create(Document&); | 103 static PassRefPtr<SliderContainerElement> create(Document&); |
103 | 104 |
104 private: | 105 private: |
105 SliderContainerElement(Document&); | 106 SliderContainerElement(Document&); |
106 virtual RenderObject* createRenderer(RenderStyle*); | 107 virtual RenderObject* createRenderer(RenderStyle*); |
107 virtual const AtomicString& part() const; | 108 virtual const AtomicString& part() const; |
108 }; | 109 }; |
109 | 110 |
110 } | 111 } |
111 | 112 |
112 #endif | 113 #endif |
OLD | NEW |