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

Side by Side Diff: Source/core/rendering/InlineTextBox.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/InlineFlowBox.cpp ('k') | Source/core/rendering/InlineTextBox.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 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Dirk Mueller (mueller@kde.org) 3 * (C) 2000 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 LayoutUnit logicalTopVisualOverflow() const { return logicalOverflowRect().y (); } 95 LayoutUnit logicalTopVisualOverflow() const { return logicalOverflowRect().y (); }
96 LayoutUnit logicalBottomVisualOverflow() const { return logicalOverflowRect( ).maxY(); } 96 LayoutUnit logicalBottomVisualOverflow() const { return logicalOverflowRect( ).maxY(); }
97 LayoutUnit logicalLeftVisualOverflow() const { return logicalOverflowRect(). x(); } 97 LayoutUnit logicalLeftVisualOverflow() const { return logicalOverflowRect(). x(); }
98 LayoutUnit logicalRightVisualOverflow() const { return logicalOverflowRect() .maxX(); } 98 LayoutUnit logicalRightVisualOverflow() const { return logicalOverflowRect() .maxX(); }
99 99
100 #ifndef NDEBUG 100 #ifndef NDEBUG
101 virtual void showBox(int = 0) const; 101 virtual void showBox(int = 0) const;
102 virtual const char* boxName() const; 102 virtual const char* boxName() const;
103 #endif 103 #endif
104 104
105 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE FINAL;
106
107 private: 105 private:
108 LayoutUnit selectionTop(); 106 LayoutUnit selectionTop();
109 LayoutUnit selectionBottom(); 107 LayoutUnit selectionBottom();
110 LayoutUnit selectionHeight(); 108 LayoutUnit selectionHeight();
111 109
112 TextRun constructTextRun(RenderStyle*, const Font&, BufferForAppendingHyphen * = 0) const; 110 TextRun constructTextRun(RenderStyle*, const Font&, BufferForAppendingHyphen * = 0) const;
113 TextRun constructTextRun(RenderStyle*, const Font&, String, int maximumLengt h, BufferForAppendingHyphen* = 0) const; 111 TextRun constructTextRun(RenderStyle*, const Font&, String, int maximumLengt h, BufferForAppendingHyphen* = 0) const;
114 112
115 public: 113 public:
116 virtual FloatRect calculateBoundaries() const { return FloatRect(x(), y(), w idth(), height()); } 114 virtual FloatRect calculateBoundaries() const { return FloatRect(x(), y(), w idth(), height()); }
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 inline RenderText* InlineTextBox::textRenderer() const 212 inline RenderText* InlineTextBox::textRenderer() const
215 { 213 {
216 return toRenderText(renderer()); 214 return toRenderText(renderer());
217 } 215 }
218 216
219 void alignSelectionRectToDevicePixels(FloatRect&); 217 void alignSelectionRectToDevicePixels(FloatRect&);
220 218
221 } // namespace WebCore 219 } // namespace WebCore
222 220
223 #endif // InlineTextBox_h 221 #endif // InlineTextBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/InlineFlowBox.cpp ('k') | Source/core/rendering/InlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698