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

Side by Side Diff: Source/core/layout/LayoutText.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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/layout/LayoutTableSection.cpp ('k') | Source/core/layout/LayoutText.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-2009, 2013 Apple Inc. All rights reserved. 4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved.
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } 139 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; }
140 140
141 void removeAndDestroyTextBoxes(); 141 void removeAndDestroyTextBoxes();
142 142
143 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); 143 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox();
144 144
145 protected: 145 protected:
146 virtual void willBeDestroyed() override; 146 virtual void willBeDestroyed() override;
147 147
148 virtual void styleWillChange(StyleDifference, const LayoutStyle&) override f inal { } 148 virtual void styleWillChange(StyleDifference, const ComputedStyle&) override final { }
149 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov erride; 149 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
150 150
151 virtual void setTextInternal(PassRefPtr<StringImpl>); 151 virtual void setTextInternal(PassRefPtr<StringImpl>);
152 virtual UChar previousCharacter() const; 152 virtual UChar previousCharacter() const;
153 153
154 virtual void addLayerHitTestRects(LayerHitTestRects&, const DeprecatedPaintL ayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerR ect) const override; 154 virtual void addLayerHitTestRects(LayerHitTestRects&, const DeprecatedPaintL ayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerR ect) const override;
155 155
156 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S ubclassed by SVG. 156 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S ubclassed by SVG.
157 157
158 virtual void invalidateDisplayItemClients(const LayoutBoxModelObject& paintI nvalidationContainer) const override; 158 virtual void invalidateDisplayItemClients(const LayoutBoxModelObject& paintI nvalidationContainer) const override;
159 159
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 inline void LayoutText::checkConsistency() const 233 inline void LayoutText::checkConsistency() const
234 { 234 {
235 } 235 }
236 #endif 236 #endif
237 237
238 inline LayoutText* Text::layoutObject() const 238 inline LayoutText* Text::layoutObject() const
239 { 239 {
240 return toLayoutText(CharacterData::layoutObject()); 240 return toLayoutText(CharacterData::layoutObject());
241 } 241 }
242 242
243 void applyTextTransform(const LayoutStyle*, String&, UChar); 243 void applyTextTransform(const ComputedStyle*, String&, UChar);
244 244
245 } // namespace blink 245 } // namespace blink
246 246
247 #endif // LayoutText_h 247 #endif // LayoutText_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTableSection.cpp ('k') | Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698