| 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 21 matching lines...) Expand all Loading... |
| 32 OBJC_CLASS LayoutThemeNotificationObserver; | 32 OBJC_CLASS LayoutThemeNotificationObserver; |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class LayoutThemeMac final : public LayoutTheme { | 36 class LayoutThemeMac final : public LayoutTheme { |
| 37 public: | 37 public: |
| 38 static PassRefPtr<LayoutTheme> create(); | 38 static PassRefPtr<LayoutTheme> create(); |
| 39 | 39 |
| 40 void addVisualOverflow(const LayoutObject&, IntRect& borderBox) override; | 40 void addVisualOverflow(const LayoutObject&, IntRect& borderBox) override; |
| 41 | 41 |
| 42 bool isControlStyled(const ComputedStyle&) const override; | 42 bool isControlStyled(const ComputedStyle&, const AuthorStyleInfo&) const ove
rride; |
| 43 | 43 |
| 44 Color platformActiveSelectionBackgroundColor() const override; | 44 Color platformActiveSelectionBackgroundColor() const override; |
| 45 Color platformInactiveSelectionBackgroundColor() const override; | 45 Color platformInactiveSelectionBackgroundColor() const override; |
| 46 Color platformActiveSelectionForegroundColor() const override; | 46 Color platformActiveSelectionForegroundColor() const override; |
| 47 Color platformActiveListBoxSelectionBackgroundColor() const override; | 47 Color platformActiveListBoxSelectionBackgroundColor() const override; |
| 48 Color platformActiveListBoxSelectionForegroundColor() const override; | 48 Color platformActiveListBoxSelectionForegroundColor() const override; |
| 49 Color platformInactiveListBoxSelectionBackgroundColor() const override; | 49 Color platformInactiveListBoxSelectionBackgroundColor() const override; |
| 50 Color platformInactiveListBoxSelectionForegroundColor() const override; | 50 Color platformInactiveListBoxSelectionForegroundColor() const override; |
| 51 Color platformFocusRingColor() const override; | 51 Color platformFocusRingColor() const override; |
| 52 | 52 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 mutable HashMap<int, RGBA32> m_systemColorCache; | 188 mutable HashMap<int, RGBA32> m_systemColorCache; |
| 189 | 189 |
| 190 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver; | 190 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver; |
| 191 | 191 |
| 192 ThemePainterMac m_painter; | 192 ThemePainterMac m_painter; |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 } // namespace blink | 195 } // namespace blink |
| 196 | 196 |
| 197 #endif // LayoutThemeMac_h | 197 #endif // LayoutThemeMac_h |
| OLD | NEW |