Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: Source/core/html/shadow/SliderThumbElement.h

Issue 18601002: Add infrastructure for partial layouts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix release compile, minor cleanups Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // -------------------------------- 103 // --------------------------------
104 104
105 class RenderSliderThumb FINAL : public RenderBlock { 105 class RenderSliderThumb FINAL : public RenderBlock {
106 public: 106 public:
107 RenderSliderThumb(SliderThumbElement*); 107 RenderSliderThumb(SliderThumbElement*);
108 void updateAppearance(RenderStyle* parentStyle); 108 void updateAppearance(RenderStyle* parentStyle);
109 109
110 private: 110 private:
111 virtual bool isSliderThumb() const; 111 virtual bool isSliderThumb() const;
112 virtual bool supportsPartialLayout() const OVERRIDE { return false; }
112 }; 113 };
113 114
114 // -------------------------------- 115 // --------------------------------
115 116
116 class SliderContainerElement FINAL : public HTMLDivElement { 117 class SliderContainerElement FINAL : public HTMLDivElement {
117 public: 118 public:
118 static PassRefPtr<SliderContainerElement> create(Document*); 119 static PassRefPtr<SliderContainerElement> create(Document*);
119 120
120 private: 121 private:
121 SliderContainerElement(Document*); 122 SliderContainerElement(Document*);
122 virtual RenderObject* createRenderer(RenderStyle*); 123 virtual RenderObject* createRenderer(RenderStyle*);
123 virtual const AtomicString& part() const; 124 virtual const AtomicString& part() const;
124 }; 125 };
125 126
126 } 127 }
127 128
128 #endif 129 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698