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

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

Issue 1833493003: Remove ForceHorriblySlowRectMapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pi
Patch Set: Created 4 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
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override; 216 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override;
217 217
218 void layoutContent(); 218 void layoutContent();
219 #if ENABLE(ASSERT) 219 #if ENABLE(ASSERT)
220 void checkLayoutState(); 220 void checkLayoutState();
221 #endif 221 #endif
222 222
223 void updateFromStyle() override; 223 void updateFromStyle() override;
224 bool allowsOverflowClip() const override; 224 bool allowsOverflowClip() const override;
225 225
226 friend class ForceHorriblySlowRectMapping;
227
228 bool shouldUsePrintingLayout() const; 226 bool shouldUsePrintingLayout() const;
229 227
230 int viewLogicalWidthForBoxSizing() const; 228 int viewLogicalWidthForBoxSizing() const;
231 int viewLogicalHeightForBoxSizing() const; 229 int viewLogicalHeightForBoxSizing() const;
232 230
233 UntracedMember<FrameView> m_frameView; 231 UntracedMember<FrameView> m_frameView;
234 232
235 // The current selection represented as 2 boundaries. 233 // The current selection represented as 2 boundaries.
236 // Selection boundaries are represented in LayoutView by a tuple 234 // Selection boundaries are represented in LayoutView by a tuple
237 // (LayoutObject, DOM node offset). 235 // (LayoutObject, DOM node offset).
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 Persistent<HitTestCache> m_hitTestCache; 273 Persistent<HitTestCache> m_hitTestCache;
276 274
277 Vector<LayoutMedia*> m_mediaForPositionNotification; 275 Vector<LayoutMedia*> m_mediaForPositionNotification;
278 }; 276 };
279 277
280 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 278 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
281 279
282 } // namespace blink 280 } // namespace blink
283 281
284 #endif // LayoutView_h 282 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698