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 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Rebaseline. Created 3 years, 10 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 const LayoutObject* pushMappingToContainer( 250 const LayoutObject* pushMappingToContainer(
251 const LayoutBoxModelObject* ancestorToStopAt, 251 const LayoutBoxModelObject* ancestorToStopAt,
252 LayoutGeometryMap&) const override; 252 LayoutGeometryMap&) const override;
253 void mapAncestorToLocal(const LayoutBoxModelObject*, 253 void mapAncestorToLocal(const LayoutBoxModelObject*,
254 TransformState&, 254 TransformState&,
255 MapCoordinatesFlags) const override; 255 MapCoordinatesFlags) const override;
256 void computeSelfHitTestRects(Vector<LayoutRect>&, 256 void computeSelfHitTestRects(Vector<LayoutRect>&,
257 const LayoutPoint& layerOffset) const override; 257 const LayoutPoint& layerOffset) const override;
258 258
259 bool canHaveChildren() const override;
260
259 void layoutContent(); 261 void layoutContent();
260 #if DCHECK_IS_ON() 262 #if DCHECK_IS_ON()
261 void checkLayoutState(); 263 void checkLayoutState();
262 #endif 264 #endif
263 265
264 void updateFromStyle() override; 266 void updateFromStyle() override;
265 bool allowsOverflowClip() const override; 267 bool allowsOverflowClip() const override;
266 268
267 bool shouldUsePrintingLayout() const; 269 bool shouldUsePrintingLayout() const;
268 270
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 unsigned m_hitTestCount; 315 unsigned m_hitTestCount;
314 unsigned m_hitTestCacheHits; 316 unsigned m_hitTestCacheHits;
315 Persistent<HitTestCache> m_hitTestCache; 317 Persistent<HitTestCache> m_hitTestCache;
316 }; 318 };
317 319
318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 320 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
319 321
320 } // namespace blink 322 } // namespace blink
321 323
322 #endif // LayoutView_h 324 #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