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

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

Issue 2539363003: Don't include ComputedStyle.h where not needed. (Closed)
Patch Set: Add ~HTMLOptGroupElement(). Comment stolen from ~HTMLOptionElement(). Created 4 years 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 * Copyright (C) 2011 Nokia Inc. All rights reserved. 2 * Copyright (C) 2011 Nokia Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #ifndef LayoutQuote_h 22 #ifndef LayoutQuote_h
23 #define LayoutQuote_h 23 #define LayoutQuote_h
24 24
25 #include "core/layout/LayoutInline.h" 25 #include "core/layout/LayoutInline.h"
26 #include "core/style/ComputedStyle.h"
27 #include "core/style/ComputedStyleConstants.h"
28 #include "core/style/QuotesData.h" 26 #include "core/style/QuotesData.h"
29 27
30 namespace blink { 28 namespace blink {
31 29
32 class Document; 30 class Document;
33 class LayoutTextFragment; 31 class LayoutTextFragment;
34 32
35 // LayoutQuote is the layout object associated with generated quotes 33 // LayoutQuote is the layout object associated with generated quotes
36 // ("content: open-quote | close-quote | no-open-quote | no-close-quote"). 34 // ("content: open-quote | close-quote | no-open-quote | no-close-quote").
37 // http://www.w3.org/TR/CSS2/generate.html#quotes-insert 35 // http://www.w3.org/TR/CSS2/generate.html#quotes-insert
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 90
93 // Cached text for this quote. 91 // Cached text for this quote.
94 String m_text; 92 String m_text;
95 }; 93 };
96 94
97 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutQuote, isQuote()); 95 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutQuote, isQuote());
98 96
99 } // namespace blink 97 } // namespace blink
100 98
101 #endif // LayoutQuote_h 99 #endif // LayoutQuote_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698