OLD | NEW |
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 26 matching lines...) Expand all Loading... |
37 static PassRefPtr<RenderTheme> create(); | 37 static PassRefPtr<RenderTheme> create(); |
38 | 38 |
39 // A method asking if the control changes its tint when the window has focus
or not. | 39 // A method asking if the control changes its tint when the window has focus
or not. |
40 virtual bool controlSupportsTints(const RenderObject*) const OVERRIDE; | 40 virtual bool controlSupportsTints(const RenderObject*) const OVERRIDE; |
41 | 41 |
42 // A general method asking if any control tinting is supported at all. | 42 // A general method asking if any control tinting is supported at all. |
43 virtual bool supportsControlTints() const OVERRIDE { return true; } | 43 virtual bool supportsControlTints() const OVERRIDE { return true; } |
44 | 44 |
45 virtual void adjustRepaintRect(const RenderObject*, IntRect&) OVERRIDE; | 45 virtual void adjustRepaintRect(const RenderObject*, IntRect&) OVERRIDE; |
46 | 46 |
47 virtual bool isControlStyled(const RenderStyle*, const CachedUAStyle&) const
OVERRIDE; | 47 virtual bool isControlStyled(const RenderStyle*, const CachedUAStyle*) const
OVERRIDE; |
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 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 mutable RetainPtr<NSTextFieldCell> m_textField; | 206 mutable RetainPtr<NSTextFieldCell> m_textField; |
207 | 207 |
208 mutable HashMap<int, RGBA32> m_systemColorCache; | 208 mutable HashMap<int, RGBA32> m_systemColorCache; |
209 | 209 |
210 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 210 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
211 }; | 211 }; |
212 | 212 |
213 } // namespace WebCore | 213 } // namespace WebCore |
214 | 214 |
215 #endif // RenderThemeChromiumMac_h | 215 #endif // RenderThemeChromiumMac_h |
OLD | NEW |