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

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: Add new layout tests. 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 const LayoutObject* pushMappingToContainer( 257 const LayoutObject* pushMappingToContainer(
258 const LayoutBoxModelObject* ancestorToStopAt, 258 const LayoutBoxModelObject* ancestorToStopAt,
259 LayoutGeometryMap&) const override; 259 LayoutGeometryMap&) const override;
260 void mapAncestorToLocal(const LayoutBoxModelObject*, 260 void mapAncestorToLocal(const LayoutBoxModelObject*,
261 TransformState&, 261 TransformState&,
262 MapCoordinatesFlags) const override; 262 MapCoordinatesFlags) const override;
263 void computeSelfHitTestRects(Vector<LayoutRect>&, 263 void computeSelfHitTestRects(Vector<LayoutRect>&,
264 const LayoutPoint& layerOffset) const override; 264 const LayoutPoint& layerOffset) const override;
265 265
266 bool canHaveChildren() const override;
267
266 void layoutContent(); 268 void layoutContent();
267 #if ENABLE(ASSERT) 269 #if ENABLE(ASSERT)
268 void checkLayoutState(); 270 void checkLayoutState();
269 #endif 271 #endif
270 272
271 void updateFromStyle() override; 273 void updateFromStyle() override;
272 bool allowsOverflowClip() const override; 274 bool allowsOverflowClip() const override;
273 275
274 bool shouldUsePrintingLayout() const; 276 bool shouldUsePrintingLayout() const;
275 277
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 Persistent<HitTestCache> m_hitTestCache; 322 Persistent<HitTestCache> m_hitTestCache;
321 323
322 Vector<LayoutMedia*> m_mediaForPositionNotification; 324 Vector<LayoutMedia*> m_mediaForPositionNotification;
323 }; 325 };
324 326
325 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 327 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
326 328
327 } // namespace blink 329 } // namespace blink
328 330
329 #endif // LayoutView_h 331 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698