| 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 19 matching lines...) Expand all Loading... |
| 30 #import "wtf/RetainPtr.h" | 30 #import "wtf/RetainPtr.h" |
| 31 | 31 |
| 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 virtual void adjustPaintInvalidationRect(const LayoutObject*, IntRect&) over
ride; | 40 virtual void addVisualOverflow(const LayoutObject&, IntRect& borderBox) over
ride; |
| 41 | 41 |
| 42 virtual bool isControlStyled(const ComputedStyle&, const AuthorStyleInfo&) c
onst override; | 42 virtual bool isControlStyled(const ComputedStyle&, const AuthorStyleInfo&) c
onst override; |
| 43 | 43 |
| 44 virtual Color platformActiveSelectionBackgroundColor() const override; | 44 virtual Color platformActiveSelectionBackgroundColor() const override; |
| 45 virtual Color platformInactiveSelectionBackgroundColor() const override; | 45 virtual Color platformInactiveSelectionBackgroundColor() const override; |
| 46 virtual Color platformActiveSelectionForegroundColor() const override; | 46 virtual Color platformActiveSelectionForegroundColor() const override; |
| 47 virtual Color platformActiveListBoxSelectionBackgroundColor() const override
; | 47 virtual Color platformActiveListBoxSelectionBackgroundColor() const override
; |
| 48 virtual Color platformActiveListBoxSelectionForegroundColor() const override
; | 48 virtual Color platformActiveListBoxSelectionForegroundColor() const override
; |
| 49 virtual Color platformInactiveListBoxSelectionBackgroundColor() const overri
de; | 49 virtual Color platformInactiveListBoxSelectionBackgroundColor() const overri
de; |
| 50 virtual Color platformInactiveListBoxSelectionForegroundColor() const overri
de; | 50 virtual Color platformInactiveListBoxSelectionForegroundColor() const overri
de; |
| (...skipping 137 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 |