| 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. |
| 11 * | 11 * |
| 12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Library General Public License for more details. | 15 * Library General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU Library General Public License | 17 * You should have received a copy of the GNU Library General Public License |
| 18 * along with this library; see the file COPYING.LIB. If not, write to | 18 * along with this library; see the file COPYING.LIB. If not, write to |
| 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 * Boston, MA 02110-1301, USA. | 20 * Boston, MA 02110-1301, USA. |
| 21 * | 21 * |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #ifndef LayoutThemeMac_h | 24 #ifndef LayoutThemeMac_h |
| 25 #define LayoutThemeMac_h | 25 #define LayoutThemeMac_h |
| 26 | 26 |
| 27 #import <Cocoa/Cocoa.h> |
| 28 |
| 27 #import "core/layout/LayoutTheme.h" | 29 #import "core/layout/LayoutTheme.h" |
| 28 #import "core/paint/ThemePainterMac.h" | 30 #import "core/paint/ThemePainterMac.h" |
| 29 #import "wtf/HashMap.h" | 31 #import "wtf/HashMap.h" |
| 30 #import "wtf/RetainPtr.h" | 32 #import "wtf/RetainPtr.h" |
| 31 | 33 |
| 32 OBJC_CLASS BlinkLayoutThemeNotificationObserver; | 34 OBJC_CLASS BlinkLayoutThemeNotificationObserver; |
| 33 | 35 |
| 34 namespace blink { | 36 namespace blink { |
| 35 | 37 |
| 36 class LayoutThemeMac final : public LayoutTheme { | 38 class LayoutThemeMac final : public LayoutTheme { |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 mutable HashMap<int, RGBA32> m_systemColorCache; | 200 mutable HashMap<int, RGBA32> m_systemColorCache; |
| 199 | 201 |
| 200 RetainPtr<BlinkLayoutThemeNotificationObserver> m_notificationObserver; | 202 RetainPtr<BlinkLayoutThemeNotificationObserver> m_notificationObserver; |
| 201 | 203 |
| 202 ThemePainterMac m_painter; | 204 ThemePainterMac m_painter; |
| 203 }; | 205 }; |
| 204 | 206 |
| 205 } // namespace blink | 207 } // namespace blink |
| 206 | 208 |
| 207 #endif // LayoutThemeMac_h | 209 #endif // LayoutThemeMac_h |
| OLD | NEW |