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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayerScrollableArea.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 { 134 {
135 scrollToOffset(DoubleSize(scrollXOffset(), y), clamp, scrollBehavior); 135 scrollToOffset(DoubleSize(scrollXOffset(), y), clamp, scrollBehavior);
136 } 136 }
137 137
138 virtual void setScrollPosition(const DoublePoint& position, ScrollBehavior s crollBehavior = ScrollBehaviorInstant) override 138 virtual void setScrollPosition(const DoublePoint& position, ScrollBehavior s crollBehavior = ScrollBehaviorInstant) override
139 { 139 {
140 scrollToOffset(toDoubleSize(position), ScrollOffsetClamped, scrollBehavi or); 140 scrollToOffset(toDoubleSize(position), ScrollOffsetClamped, scrollBehavi or);
141 } 141 }
142 142
143 void updateAfterLayout(); 143 void updateAfterLayout();
144 void updateAfterStyleChange(const LayoutStyle*); 144 void updateAfterStyleChange(const ComputedStyle*);
145 void updateAfterOverflowRecalc(); 145 void updateAfterOverflowRecalc();
146 146
147 virtual bool updateAfterCompositingChange() override; 147 virtual bool updateAfterCompositingChange() override;
148 148
149 bool hasScrollbar() const { return m_hBar || m_vBar; } 149 bool hasScrollbar() const { return m_hBar || m_vBar; }
150 150
151 LayoutScrollbarPart* scrollCorner() const { return m_scrollCorner; } 151 LayoutScrollbarPart* scrollCorner() const { return m_scrollCorner; }
152 152
153 void resize(const PlatformEvent&, const LayoutSize&); 153 void resize(const PlatformEvent&, const LayoutSize&);
154 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const; 154 IntSize offsetFromResizeCorner(const IntPoint& absolutePoint) const;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // Renderers to hold our custom scroll corner. 281 // Renderers to hold our custom scroll corner.
282 LayoutScrollbarPart* m_scrollCorner; 282 LayoutScrollbarPart* m_scrollCorner;
283 283
284 // Renderers to hold our custom resizer. 284 // Renderers to hold our custom resizer.
285 LayoutScrollbarPart* m_resizer; 285 LayoutScrollbarPart* m_resizer;
286 }; 286 };
287 287
288 } // namespace blink 288 } // namespace blink
289 289
290 #endif // LayerScrollableArea_h 290 #endif // LayerScrollableArea_h
OLDNEW
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp ('k') | Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698