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

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

Issue 2015583003: Remove assorted unnecessary includes in core/layout/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 * This file is part of the theme implementation for form controls in WebCore. 2 * This file is part of the theme implementation for form controls in WebCore.
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc.
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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 * 20 *
21 */ 21 */
22 22
23 #ifndef LayoutTheme_h 23 #ifndef LayoutTheme_h
24 #define LayoutTheme_h 24 #define LayoutTheme_h
25 25
26 #include "core/CSSValueKeywords.h"
26 #include "core/CoreExport.h" 27 #include "core/CoreExport.h"
27 #include "core/layout/LayoutObject.h"
28 #include "platform/ThemeTypes.h" 28 #include "platform/ThemeTypes.h"
29 #include "platform/fonts/Font.h"
30 #include "platform/fonts/FontDescription.h"
31 #include "platform/fonts/FontTraits.h"
32 #include "platform/graphics/Color.h"
29 #include "platform/scroll/ScrollTypes.h" 33 #include "platform/scroll/ScrollTypes.h"
34 #include "platform/text/PlatformLocale.h"
30 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
31 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
32 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
33 38
34 namespace blink { 39 namespace blink {
35 40
36 class ComputedStyle; 41 class ComputedStyle;
37 class Element; 42 class Element;
38 class FileList; 43 class FileList;
39 class HTMLInputElement; 44 class HTMLInputElement;
45 class LayoutObject;
40 class Theme; 46 class Theme;
41 class ThemePainter; 47 class ThemePainter;
42 48
43 class CORE_EXPORT LayoutTheme : public RefCounted<LayoutTheme> { 49 class CORE_EXPORT LayoutTheme : public RefCounted<LayoutTheme> {
44 protected: 50 protected:
45 explicit LayoutTheme(Theme*); 51 explicit LayoutTheme(Theme*);
46 52
47 public: 53 public:
48 virtual ~LayoutTheme() { } 54 virtual ~LayoutTheme() { }
49 55
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 static const RGBA32 defaultTapHighlightColor = 0x66000000; 249 static const RGBA32 defaultTapHighlightColor = 0x66000000;
244 250
245 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 251 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
246 252
247 Theme* m_platformTheme; // The platform-specific theme. 253 Theme* m_platformTheme; // The platform-specific theme.
248 }; 254 };
249 255
250 } // namespace blink 256 } // namespace blink
251 257
252 #endif // LayoutTheme_h 258 #endif // LayoutTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698