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 10 matching lines...) Expand all Loading... |
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 <AppKit/AppKit.h> | 27 #import <AppKit/AppKit.h> |
28 | 28 |
29 #import "core/layout/LayoutTheme.h" | 29 #import "core/layout/LayoutTheme.h" |
30 #import "core/paint/ThemePainterMac.h" | 30 #import "core/paint/ThemePainterMac.h" |
31 #import "wtf/HashMap.h" | 31 #import "platform/wtf/HashMap.h" |
32 #import "wtf/RetainPtr.h" | 32 #import "platform/wtf/RetainPtr.h" |
33 | 33 |
34 OBJC_CLASS BlinkLayoutThemeNotificationObserver; | 34 OBJC_CLASS BlinkLayoutThemeNotificationObserver; |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class LayoutThemeMac final : public LayoutTheme { | 38 class LayoutThemeMac final : public LayoutTheme { |
39 public: | 39 public: |
40 static PassRefPtr<LayoutTheme> Create(); | 40 static PassRefPtr<LayoutTheme> Create(); |
41 | 41 |
42 void AddVisualOverflow(const LayoutObject&, IntRect& border_box) override; | 42 void AddVisualOverflow(const LayoutObject&, IntRect& border_box) override; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 mutable HashMap<int, RGBA32> system_color_cache_; | 200 mutable HashMap<int, RGBA32> system_color_cache_; |
201 | 201 |
202 RetainPtr<BlinkLayoutThemeNotificationObserver> notification_observer_; | 202 RetainPtr<BlinkLayoutThemeNotificationObserver> notification_observer_; |
203 | 203 |
204 ThemePainterMac painter_; | 204 ThemePainterMac painter_; |
205 }; | 205 }; |
206 | 206 |
207 } // namespace blink | 207 } // namespace blink |
208 | 208 |
209 #endif // LayoutThemeMac_h | 209 #endif // LayoutThemeMac_h |
OLD | NEW |