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

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

Issue 20681004: Make first-letter style to work with editing Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-08-01T17:57:42 Created 7 years, 4 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
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, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual bool isWordBreak() const; 47 virtual bool isWordBreak() const;
48 48
49 virtual PassRefPtr<StringImpl> originalText() const; 49 virtual PassRefPtr<StringImpl> originalText() const;
50 50
51 void extractTextBox(InlineTextBox*); 51 void extractTextBox(InlineTextBox*);
52 void attachTextBox(InlineTextBox*); 52 void attachTextBox(InlineTextBox*);
53 void removeTextBox(InlineTextBox*); 53 void removeTextBox(InlineTextBox*);
54 54
55 const String& text() const { return m_text; } 55 const String& text() const { return m_text; }
56 String textWithoutTranscoding() const; 56 String textWithoutTranscoding() const;
57 virtual unsigned textStartOffset() const { return 0; }
57 58
58 InlineTextBox* createInlineTextBox(); 59 InlineTextBox* createInlineTextBox();
59 void dirtyLineBoxes(bool fullLayout); 60 void dirtyLineBoxes(bool fullLayout);
60 61
61 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const OVERRIDE FINAL; 62 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const OVERRIDE FINAL;
62 void absoluteRectsForRange(Vector<IntRect>&, unsigned startOffset = 0, unsig ned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); 63 void absoluteRectsForRange(Vector<IntRect>&, unsigned startOffset = 0, unsig ned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0);
63 64
64 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID E FINAL; 65 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID E FINAL;
65 void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, uns igned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); 66 void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, uns igned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0);
66 67
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 inline void RenderText::checkConsistency() const 240 inline void RenderText::checkConsistency() const
240 { 241 {
241 } 242 }
242 #endif 243 #endif
243 244
244 void applyTextTransform(const RenderStyle*, String&, UChar); 245 void applyTextTransform(const RenderStyle*, String&, UChar);
245 246
246 } // namespace WebCore 247 } // namespace WebCore
247 248
248 #endif // RenderText_h 249 #endif // RenderText_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698