| 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 18 matching lines...) Expand all Loading... |
| 29 #import "wtf/RetainPtr.h" | 29 #import "wtf/RetainPtr.h" |
| 30 | 30 |
| 31 OBJC_CLASS WebCoreRenderThemeNotificationObserver; | 31 OBJC_CLASS WebCoreRenderThemeNotificationObserver; |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class RenderThemeChromiumMac FINAL : public RenderTheme { | 35 class RenderThemeChromiumMac FINAL : public RenderTheme { |
| 36 public: | 36 public: |
| 37 static PassRefPtr<RenderTheme> create(); | 37 static PassRefPtr<RenderTheme> create(); |
| 38 | 38 |
| 39 virtual void adjustRepaintRect(const RenderObject*, IntRect&) OVERRIDE; | 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 CachedUAStyle*) 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; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 mutable RetainPtr<NSTextFieldCell> m_textField; | 201 mutable RetainPtr<NSTextFieldCell> m_textField; |
| 202 | 202 |
| 203 mutable HashMap<int, RGBA32> m_systemColorCache; | 203 mutable HashMap<int, RGBA32> m_systemColorCache; |
| 204 | 204 |
| 205 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 205 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
| 206 }; | 206 }; |
| 207 | 207 |
| 208 } // namespace blink | 208 } // namespace blink |
| 209 | 209 |
| 210 #endif // RenderThemeChromiumMac_h | 210 #endif // RenderThemeChromiumMac_h |
| OLD | NEW |