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

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

Issue 2743053003: [Reland #1] Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: rebaseline. Created 3 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 const LayoutObject* pushMappingToContainer( 262 const LayoutObject* pushMappingToContainer(
263 const LayoutBoxModelObject* ancestorToStopAt, 263 const LayoutBoxModelObject* ancestorToStopAt,
264 LayoutGeometryMap&) const override; 264 LayoutGeometryMap&) const override;
265 void mapAncestorToLocal(const LayoutBoxModelObject*, 265 void mapAncestorToLocal(const LayoutBoxModelObject*,
266 TransformState&, 266 TransformState&,
267 MapCoordinatesFlags) const override; 267 MapCoordinatesFlags) const override;
268 void computeSelfHitTestRects(Vector<LayoutRect>&, 268 void computeSelfHitTestRects(Vector<LayoutRect>&,
269 const LayoutPoint& layerOffset) const override; 269 const LayoutPoint& layerOffset) const override;
270 270
271 bool canHaveChildren() const override;
272
271 void layoutContent(); 273 void layoutContent();
272 #if DCHECK_IS_ON() 274 #if DCHECK_IS_ON()
273 void checkLayoutState(); 275 void checkLayoutState();
274 #endif 276 #endif
275 277
276 void updateFromStyle() override; 278 void updateFromStyle() override;
277 bool allowsOverflowClip() const override; 279 bool allowsOverflowClip() const override;
278 280
279 bool shouldUsePrintingLayout() const; 281 bool shouldUsePrintingLayout() const;
280 282
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 unsigned m_hitTestCount; 327 unsigned m_hitTestCount;
326 unsigned m_hitTestCacheHits; 328 unsigned m_hitTestCacheHits;
327 Persistent<HitTestCache> m_hitTestCache; 329 Persistent<HitTestCache> m_hitTestCache;
328 }; 330 };
329 331
330 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 332 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
331 333
332 } // namespace blink 334 } // namespace blink
333 335
334 #endif // LayoutView_h 336 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698