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

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

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Comments from esprehn. Created 4 years 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 const LayoutObject* pushMappingToContainer( 246 const LayoutObject* pushMappingToContainer(
247 const LayoutBoxModelObject* ancestorToStopAt, 247 const LayoutBoxModelObject* ancestorToStopAt,
248 LayoutGeometryMap&) const override; 248 LayoutGeometryMap&) const override;
249 void mapAncestorToLocal(const LayoutBoxModelObject*, 249 void mapAncestorToLocal(const LayoutBoxModelObject*,
250 TransformState&, 250 TransformState&,
251 MapCoordinatesFlags) const override; 251 MapCoordinatesFlags) const override;
252 void computeSelfHitTestRects(Vector<LayoutRect>&, 252 void computeSelfHitTestRects(Vector<LayoutRect>&,
253 const LayoutPoint& layerOffset) const override; 253 const LayoutPoint& layerOffset) const override;
254 254
255 bool canHaveChildren() const override;
256
255 void layoutContent(); 257 void layoutContent();
256 #if ENABLE(ASSERT) 258 #if ENABLE(ASSERT)
257 void checkLayoutState(); 259 void checkLayoutState();
258 #endif 260 #endif
259 261
260 void updateFromStyle() override; 262 void updateFromStyle() override;
261 bool allowsOverflowClip() const override; 263 bool allowsOverflowClip() const override;
262 264
263 bool shouldUsePrintingLayout() const; 265 bool shouldUsePrintingLayout() const;
264 266
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 unsigned m_hitTestCount; 311 unsigned m_hitTestCount;
310 unsigned m_hitTestCacheHits; 312 unsigned m_hitTestCacheHits;
311 Persistent<HitTestCache> m_hitTestCache; 313 Persistent<HitTestCache> m_hitTestCache;
312 }; 314 };
313 315
314 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 316 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
315 317
316 } // namespace blink 318 } // namespace blink
317 319
318 #endif // LayoutView_h 320 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698