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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h

Issue 2700613002: Reland recording box shadow as main thread scrolling reason with conflict fixed (Closed)
Patch Set: update test from TEST_F to TEST_P Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * Copyright (C) 2010 Google Inc. All rights reserved. 5 * Copyright (C) 2010 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 190
191 virtual LayoutRect visualOverflowRect() const = 0; 191 virtual LayoutRect visualOverflowRect() const = 0;
192 192
193 // Checks if this box, or any of it's descendants, or any of it's 193 // Checks if this box, or any of it's descendants, or any of it's
194 // continuations, will take up space in the layout of the page. 194 // continuations, will take up space in the layout of the page.
195 bool hasNonEmptyLayoutSize() const; 195 bool hasNonEmptyLayoutSize() const;
196 bool usesCompositedScrolling() const; 196 bool usesCompositedScrolling() const;
197 197
198 // Returns which layers backgrounds should be painted into for overflow 198 // Returns which layers backgrounds should be painted into for overflow
199 // scrolling boxes. 199 // scrolling boxes.
200 BackgroundPaintLocation backgroundPaintLocation() const; 200 BackgroundPaintLocation backgroundPaintLocation(uint32_t* reasons) const;
201 201
202 // These return the CSS computed padding values. 202 // These return the CSS computed padding values.
203 LayoutUnit computedCSSPaddingTop() const { 203 LayoutUnit computedCSSPaddingTop() const {
204 return computedCSSPadding(style()->paddingTop()); 204 return computedCSSPadding(style()->paddingTop());
205 } 205 }
206 LayoutUnit computedCSSPaddingBottom() const { 206 LayoutUnit computedCSSPaddingBottom() const {
207 return computedCSSPadding(style()->paddingBottom()); 207 return computedCSSPadding(style()->paddingBottom());
208 } 208 }
209 LayoutUnit computedCSSPaddingLeft() const { 209 LayoutUnit computedCSSPaddingLeft() const {
210 return computedCSSPadding(style()->paddingLeft()); 210 return computedCSSPadding(style()->paddingLeft());
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 std::unique_ptr<PaintLayer> m_layer; 546 std::unique_ptr<PaintLayer> m_layer;
547 547
548 std::unique_ptr<LayoutBoxModelObjectRareData> m_rareData; 548 std::unique_ptr<LayoutBoxModelObjectRareData> m_rareData;
549 }; 549 };
550 550
551 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBoxModelObject, isBoxModelObject()); 551 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBoxModelObject, isBoxModelObject());
552 552
553 } // namespace blink 553 } // namespace blink
554 554
555 #endif // LayoutBoxModelObject_h 555 #endif // LayoutBoxModelObject_h
OLDNEW
« no previous file with comments | « cc/input/main_thread_scrolling_reason.h ('k') | third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698