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

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

Issue 2824753005: Rename HostWindow to PlatformChromeClient (Closed)
Patch Set: mac Created 3 years, 8 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 *
(...skipping 23 matching lines...) Expand all
34 #include "platform/text/PlatformLocale.h" 34 #include "platform/text/PlatformLocale.h"
35 #include "platform/wtf/PassRefPtr.h" 35 #include "platform/wtf/PassRefPtr.h"
36 #include "platform/wtf/RefCounted.h" 36 #include "platform/wtf/RefCounted.h"
37 #include "platform/wtf/text/WTFString.h" 37 #include "platform/wtf/text/WTFString.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class ComputedStyle; 41 class ComputedStyle;
42 class Element; 42 class Element;
43 class FileList; 43 class FileList;
44 class HostWindow;
45 class HTMLInputElement; 44 class HTMLInputElement;
46 class LayoutObject; 45 class LayoutObject;
46 class PlatformChromeClient;
47 class Theme; 47 class Theme;
48 class ThemePainter; 48 class ThemePainter;
49 49
50 class CORE_EXPORT LayoutTheme : public RefCounted<LayoutTheme> { 50 class CORE_EXPORT LayoutTheme : public RefCounted<LayoutTheme> {
51 protected: 51 protected:
52 explicit LayoutTheme(Theme*); 52 explicit LayoutTheme(Theme*);
53 53
54 public: 54 public:
55 virtual ~LayoutTheme() {} 55 virtual ~LayoutTheme() {}
56 56
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 return false; 165 return false;
166 } 166 }
167 167
168 virtual int MinimumMenuListSize(const ComputedStyle&) const { return 0; } 168 virtual int MinimumMenuListSize(const ComputedStyle&) const { return 0; }
169 169
170 virtual void AdjustSliderThumbSize(ComputedStyle&) const; 170 virtual void AdjustSliderThumbSize(ComputedStyle&) const;
171 171
172 virtual int PopupInternalPaddingStart(const ComputedStyle&) const { 172 virtual int PopupInternalPaddingStart(const ComputedStyle&) const {
173 return 0; 173 return 0;
174 } 174 }
175 virtual int PopupInternalPaddingEnd(const HostWindow*, 175 virtual int PopupInternalPaddingEnd(const PlatformChromeClient*,
176 const ComputedStyle&) const { 176 const ComputedStyle&) const {
177 return 0; 177 return 0;
178 } 178 }
179 virtual int PopupInternalPaddingTop(const ComputedStyle&) const { return 0; } 179 virtual int PopupInternalPaddingTop(const ComputedStyle&) const { return 0; }
180 virtual int PopupInternalPaddingBottom(const ComputedStyle&) const { 180 virtual int PopupInternalPaddingBottom(const ComputedStyle&) const {
181 return 0; 181 return 0;
182 } 182 }
183 183
184 virtual ScrollbarControlSize ScrollbarControlSizeForPart(ControlPart) { 184 virtual ScrollbarControlSize ScrollbarControlSizeForPart(ControlPart) {
185 return kRegularScrollbar; 185 return kRegularScrollbar;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 static const RGBA32 kDefaultTapHighlightColor = 0x66000000; 290 static const RGBA32 kDefaultTapHighlightColor = 0x66000000;
291 291
292 static const RGBA32 kDefaultCompositionBackgroundColor = 0xFFFFDD55; 292 static const RGBA32 kDefaultCompositionBackgroundColor = 0xFFFFDD55;
293 293
294 Theme* platform_theme_; // The platform-specific theme. 294 Theme* platform_theme_; // The platform-specific theme.
295 }; 295 };
296 296
297 } // namespace blink 297 } // namespace blink
298 298
299 #endif // LayoutTheme_h 299 #endif // LayoutTheme_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMenuList.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutThemeDefault.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698