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

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: define RenderObject::frameView in the header Created 7 years, 3 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
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/page/FrameView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/page/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698