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

Side by Side Diff: Source/core/rendering/InlineFlowBox.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/InlineBox.cpp ('k') | Source/core/rendering/InlineFlowBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 } 292 }
293 293
294 bool descendantsHaveSameLineHeightAndBaseline() const { return m_descendants HaveSameLineHeightAndBaseline; } 294 bool descendantsHaveSameLineHeightAndBaseline() const { return m_descendants HaveSameLineHeightAndBaseline; }
295 void clearDescendantsHaveSameLineHeightAndBaseline() 295 void clearDescendantsHaveSameLineHeightAndBaseline()
296 { 296 {
297 m_descendantsHaveSameLineHeightAndBaseline = false; 297 m_descendantsHaveSameLineHeightAndBaseline = false;
298 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) 298 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline())
299 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); 299 parent()->clearDescendantsHaveSameLineHeightAndBaseline();
300 } 300 }
301 301
302 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE FINAL;
303
304 private: 302 private:
305 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); 303 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow);
306 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); 304 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow);
307 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM ap&, LayoutRect& logicalVisualOverflow); 305 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM ap&, LayoutRect& logicalVisualOverflow);
308 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve rflow, LayoutRect& logicalVisualOverflow); 306 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve rflow, LayoutRect& logicalVisualOverflow);
309 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; 307 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const;
310 308
311 protected: 309 protected:
312 OwnPtr<RenderOverflow> m_overflow; 310 OwnPtr<RenderOverflow> m_overflow;
313 311
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 380 }
383 381
384 } // namespace WebCore 382 } // namespace WebCore
385 383
386 #ifndef NDEBUG 384 #ifndef NDEBUG
387 // Outside the WebCore namespace for ease of invocation from gdb. 385 // Outside the WebCore namespace for ease of invocation from gdb.
388 void showTree(const WebCore::InlineFlowBox*); 386 void showTree(const WebCore::InlineFlowBox*);
389 #endif 387 #endif
390 388
391 #endif // InlineFlowBox_h 389 #endif // InlineFlowBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/InlineBox.cpp ('k') | Source/core/rendering/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698