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

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

Issue 2369113002: Revert "Apply first-line transform-text style" (Closed)
Patch Set: Created 4 years, 2 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
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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // TODO(eae): Rename and change to only handle the word measurements use 174 // TODO(eae): Rename and change to only handle the word measurements use
175 // case once the simple code path has been removed. crbug.com/404597 175 // case once the simple code path has been removed. crbug.com/404597
176 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } 176 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; }
177 177
178 void removeAndDestroyTextBoxes(); 178 void removeAndDestroyTextBoxes();
179 179
180 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); 180 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox();
181 181
182 float hyphenWidth(const Font&, TextDirection); 182 float hyphenWidth(const Font&, TextDirection);
183 183
184 void applyTextTransformFromTo(int from, int len, const ComputedStyle*);
185
186 LayoutRect debugRect() const override; 184 LayoutRect debugRect() const override;
187 185
188 protected: 186 protected:
189 void willBeDestroyed() override; 187 void willBeDestroyed() override;
190 188
191 void styleWillChange(StyleDifference, const ComputedStyle&) final { } 189 void styleWillChange(StyleDifference, const ComputedStyle&) final { }
192 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ; 190 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ;
193 191
194 virtual void setTextInternal(PassRefPtr<StringImpl>); 192 virtual void setTextInternal(PassRefPtr<StringImpl>);
195 virtual UChar previousCharacter() const; 193 virtual UChar previousCharacter() const;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 inline LayoutText* Text::layoutObject() const 295 inline LayoutText* Text::layoutObject() const
298 { 296 {
299 return toLayoutText(CharacterData::layoutObject()); 297 return toLayoutText(CharacterData::layoutObject());
300 } 298 }
301 299
302 void applyTextTransform(const ComputedStyle*, String&, UChar); 300 void applyTextTransform(const ComputedStyle*, String&, UChar);
303 301
304 } // namespace blink 302 } // namespace blink
305 303
306 #endif // LayoutText_h 304 #endif // LayoutText_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698