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

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

Issue 347773002: Implement select listbox using shadow DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('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 * 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 Apple Computer, Inc. 4 * Copyright (C) 2005 Apple Computer, Inc.
5 * Copyright (C) 2008, 2009 Google, Inc. 5 * Copyright (C) 2008, 2009 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE; 49 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE;
50 virtual Color platformInactiveSelectionBackgroundColor() const OVERRIDE; 50 virtual Color platformInactiveSelectionBackgroundColor() const OVERRIDE;
51 virtual Color platformActiveSelectionForegroundColor() const OVERRIDE; 51 virtual Color platformActiveSelectionForegroundColor() const OVERRIDE;
52 virtual Color platformActiveListBoxSelectionBackgroundColor() const OVERRIDE ; 52 virtual Color platformActiveListBoxSelectionBackgroundColor() const OVERRIDE ;
53 virtual Color platformActiveListBoxSelectionForegroundColor() const OVERRIDE ; 53 virtual Color platformActiveListBoxSelectionForegroundColor() const OVERRIDE ;
54 virtual Color platformInactiveListBoxSelectionBackgroundColor() const OVERRI DE; 54 virtual Color platformInactiveListBoxSelectionBackgroundColor() const OVERRI DE;
55 virtual Color platformInactiveListBoxSelectionForegroundColor() const OVERRI DE; 55 virtual Color platformInactiveListBoxSelectionForegroundColor() const OVERRI DE;
56 virtual Color platformFocusRingColor() const OVERRIDE; 56 virtual Color platformFocusRingColor() const OVERRIDE;
57 57
58 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) OVERRI DE { return SmallScrollbar; } 58 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart part) O VERRIDE { return part == ListboxPart ? SmallScrollbar : RegularScrollbar; }
59 59
60 virtual void platformColorsDidChange() OVERRIDE; 60 virtual void platformColorsDidChange() OVERRIDE;
61 61
62 // System fonts. 62 // System fonts.
63 virtual void systemFont(CSSValueID, FontDescription&) const OVERRIDE; 63 virtual void systemFont(CSSValueID, FontDescription&) const OVERRIDE;
64 64
65 virtual int minimumMenuListSize(RenderStyle*) const OVERRIDE; 65 virtual int minimumMenuListSize(RenderStyle*) const OVERRIDE;
66 66
67 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const OVERRIDE; 67 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const OVERRIDE;
68 68
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 mutable RetainPtr<NSTextFieldCell> m_textField; 207 mutable RetainPtr<NSTextFieldCell> m_textField;
208 208
209 mutable HashMap<int, RGBA32> m_systemColorCache; 209 mutable HashMap<int, RGBA32> m_systemColorCache;
210 210
211 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 211 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
212 }; 212 };
213 213
214 } // namespace WebCore 214 } // namespace WebCore
215 215
216 #endif // RenderThemeChromiumMac_h 216 #endif // RenderThemeChromiumMac_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698