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

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: Fix DOM object leaks. Diff this against Patch Set 10. Created 3 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 const LayoutObject* pushMappingToContainer( 263 const LayoutObject* pushMappingToContainer(
264 const LayoutBoxModelObject* ancestorToStopAt, 264 const LayoutBoxModelObject* ancestorToStopAt,
265 LayoutGeometryMap&) const override; 265 LayoutGeometryMap&) const override;
266 void mapAncestorToLocal(const LayoutBoxModelObject*, 266 void mapAncestorToLocal(const LayoutBoxModelObject*,
267 TransformState&, 267 TransformState&,
268 MapCoordinatesFlags) const override; 268 MapCoordinatesFlags) const override;
269 void computeSelfHitTestRects(Vector<LayoutRect>&, 269 void computeSelfHitTestRects(Vector<LayoutRect>&,
270 const LayoutPoint& layerOffset) const override; 270 const LayoutPoint& layerOffset) const override;
271 271
272 bool canHaveChildren() const override;
273
272 void layoutContent(); 274 void layoutContent();
273 #if DCHECK_IS_ON() 275 #if DCHECK_IS_ON()
274 void checkLayoutState(); 276 void checkLayoutState();
275 #endif 277 #endif
276 278
277 void updateFromStyle() override; 279 void updateFromStyle() override;
278 bool allowsOverflowClip() const override; 280 bool allowsOverflowClip() const override;
279 281
280 bool shouldUsePrintingLayout() const; 282 bool shouldUsePrintingLayout() const;
281 283
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 unsigned m_hitTestCount; 328 unsigned m_hitTestCount;
327 unsigned m_hitTestCacheHits; 329 unsigned m_hitTestCacheHits;
328 Persistent<HitTestCache> m_hitTestCache; 330 Persistent<HitTestCache> m_hitTestCache;
329 }; 331 };
330 332
331 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 333 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
332 334
333 } // namespace blink 335 } // namespace blink
334 336
335 #endif // LayoutView_h 337 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698