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

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

Issue 1643663002: Conditionally create PaintLayer's scrollable area object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PaintLayerClipper
Patch Set: Created 4 years, 9 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 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances torToStopAt, LayoutGeometryMap&) const override; 216 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances torToStopAt, LayoutGeometryMap&) const override;
217 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove rride; 217 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove rride;
218 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override; 218 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override;
219 219
220 void layoutContent(); 220 void layoutContent();
221 #if ENABLE(ASSERT) 221 #if ENABLE(ASSERT)
222 void checkLayoutState(); 222 void checkLayoutState();
223 #endif 223 #endif
224 224
225 void updateFromStyle() override;
226 bool allowsOverflowClip() const override;
227
225 friend class ForceHorriblySlowRectMapping; 228 friend class ForceHorriblySlowRectMapping;
226 229
227 bool shouldUsePrintingLayout() const; 230 bool shouldUsePrintingLayout() const;
228 231
229 int viewLogicalWidthForBoxSizing() const; 232 int viewLogicalWidthForBoxSizing() const;
230 int viewLogicalHeightForBoxSizing() const; 233 int viewLogicalHeightForBoxSizing() const;
231 234
232 RawPtrWillBeUntracedMember<FrameView> m_frameView; 235 RawPtrWillBeUntracedMember<FrameView> m_frameView;
233 236
234 // The current selection represented as 2 boundaries. 237 // The current selection represented as 2 boundaries.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 303 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
301 } 304 }
302 private: 305 private:
303 const PaintInvalidationState* m_paintInvalidationState; 306 const PaintInvalidationState* m_paintInvalidationState;
304 bool m_didDisable; 307 bool m_didDisable;
305 }; 308 };
306 309
307 } // namespace blink 310 } // namespace blink
308 311
309 #endif // LayoutView_h 312 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698