| 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 20 matching lines...) Expand all Loading... |
| 31 OBJC_CLASS LayoutThemeNotificationObserver; | 31 OBJC_CLASS LayoutThemeNotificationObserver; |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class LayoutThemeChromiumMac final : public LayoutTheme { | 35 class LayoutThemeChromiumMac final : public LayoutTheme { |
| 36 public: | 36 public: |
| 37 static PassRefPtr<LayoutTheme> create(); | 37 static PassRefPtr<LayoutTheme> create(); |
| 38 | 38 |
| 39 virtual void adjustPaintInvalidationRect(const RenderObject*, IntRect&) over
ride; | 39 virtual void adjustPaintInvalidationRect(const RenderObject*, IntRect&) over
ride; |
| 40 | 40 |
| 41 virtual bool isControlStyled(const RenderStyle*, const CachedUAStyle*) const
override; | 41 virtual bool isControlStyled(const RenderStyle*, const UAStyleChange&) const
override; |
| 42 | 42 |
| 43 virtual Color platformActiveSelectionBackgroundColor() const override; | 43 virtual Color platformActiveSelectionBackgroundColor() const override; |
| 44 virtual Color platformInactiveSelectionBackgroundColor() const override; | 44 virtual Color platformInactiveSelectionBackgroundColor() const override; |
| 45 virtual Color platformActiveSelectionForegroundColor() const override; | 45 virtual Color platformActiveSelectionForegroundColor() const override; |
| 46 virtual Color platformActiveListBoxSelectionBackgroundColor() const override
; | 46 virtual Color platformActiveListBoxSelectionBackgroundColor() const override
; |
| 47 virtual Color platformActiveListBoxSelectionForegroundColor() const override
; | 47 virtual Color platformActiveListBoxSelectionForegroundColor() const override
; |
| 48 virtual Color platformInactiveListBoxSelectionBackgroundColor() const overri
de; | 48 virtual Color platformInactiveListBoxSelectionBackgroundColor() const overri
de; |
| 49 virtual Color platformInactiveListBoxSelectionForegroundColor() const overri
de; | 49 virtual Color platformInactiveListBoxSelectionForegroundColor() const overri
de; |
| 50 virtual Color platformFocusRingColor() const override; | 50 virtual Color platformFocusRingColor() const override; |
| 51 | 51 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 mutable RetainPtr<NSTextFieldCell> m_textField; | 200 mutable RetainPtr<NSTextFieldCell> m_textField; |
| 201 | 201 |
| 202 mutable HashMap<int, RGBA32> m_systemColorCache; | 202 mutable HashMap<int, RGBA32> m_systemColorCache; |
| 203 | 203 |
| 204 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver; | 204 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver; |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 } // namespace blink | 207 } // namespace blink |
| 208 | 208 |
| 209 #endif // LayoutThemeChromiumMac_h | 209 #endif // LayoutThemeChromiumMac_h |
| OLD | NEW |