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

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

Issue 2549553002: Verify paintedOutputOfObjectHasNoEffectRegardlessOfSize during painting (Closed)
Patch Set: Remove from LayoutObject.h 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 #endif 258 #endif
259 259
260 void updateFromStyle() override; 260 void updateFromStyle() override;
261 bool allowsOverflowClip() const override; 261 bool allowsOverflowClip() const override;
262 262
263 bool shouldUsePrintingLayout() const; 263 bool shouldUsePrintingLayout() const;
264 264
265 int viewLogicalWidthForBoxSizing() const; 265 int viewLogicalWidthForBoxSizing() const;
266 int viewLogicalHeightForBoxSizing() const; 266 int viewLogicalHeightForBoxSizing() const;
267 267
268 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override;
269
268 UntracedMember<FrameView> m_frameView; 270 UntracedMember<FrameView> m_frameView;
269 271
270 // The current selection represented as 2 boundaries. 272 // The current selection represented as 2 boundaries.
271 // Selection boundaries are represented in LayoutView by a tuple 273 // Selection boundaries are represented in LayoutView by a tuple
272 // (LayoutObject, DOM node offset). 274 // (LayoutObject, DOM node offset).
273 // See http://www.w3.org/TR/dom/#range for more information. 275 // See http://www.w3.org/TR/dom/#range for more information.
274 // 276 //
275 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for 277 // |m_selectionStartPos| and |m_selectionEndPos| are only valid for
276 // |Text| node without 'transform' or 'first-letter'. 278 // |Text| node without 'transform' or 'first-letter'.
277 // 279 //
(...skipping 29 matching lines...) Expand all
307 unsigned m_hitTestCount; 309 unsigned m_hitTestCount;
308 unsigned m_hitTestCacheHits; 310 unsigned m_hitTestCacheHits;
309 Persistent<HitTestCache> m_hitTestCache; 311 Persistent<HitTestCache> m_hitTestCache;
310 }; 312 };
311 313
312 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 314 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
313 315
314 } // namespace blink 316 } // namespace blink
315 317
316 #endif // LayoutView_h 318 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698