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

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

Issue 2393693002: Reformat comments in core/layout/line (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/BreakingContext.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void wordBoundaries(Vector<WordBoundaries>&) const; 82 void wordBoundaries(Vector<WordBoundaries>&) const;
83 String text() const; 83 String text() const;
84 bool isFirst() const; 84 bool isFirst() const;
85 bool isLast() const; 85 bool isLast() const;
86 PassRefPtr<AbstractInlineTextBox> nextOnLine() const; 86 PassRefPtr<AbstractInlineTextBox> nextOnLine() const;
87 PassRefPtr<AbstractInlineTextBox> previousOnLine() const; 87 PassRefPtr<AbstractInlineTextBox> previousOnLine() const;
88 88
89 private: 89 private:
90 void detach(); 90 void detach();
91 91
92 // Weak ptrs; these are nulled when InlineTextBox::destroy() calls AbstractInl ineTextBox::willDestroy. 92 // Weak ptrs; these are nulled when InlineTextBox::destroy() calls
93 // AbstractInlineTextBox::willDestroy.
93 LineLayoutText m_lineLayoutItem; 94 LineLayoutText m_lineLayoutItem;
94 InlineTextBox* m_inlineTextBox; 95 InlineTextBox* m_inlineTextBox;
95 96
96 typedef HashMap<InlineTextBox*, RefPtr<AbstractInlineTextBox>> 97 typedef HashMap<InlineTextBox*, RefPtr<AbstractInlineTextBox>>
97 InlineToAbstractInlineTextBoxHashMap; 98 InlineToAbstractInlineTextBoxHashMap;
98 static InlineToAbstractInlineTextBoxHashMap* gAbstractInlineTextBoxMap; 99 static InlineToAbstractInlineTextBoxHashMap* gAbstractInlineTextBoxMap;
99 }; 100 };
100 101
101 } // namespace blink 102 } // namespace blink
102 103
103 #endif // AbstractInlineTextBox_h 104 #endif // AbstractInlineTextBox_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/BreakingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698