Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1178)

Side by Side Diff: Source/core/layout/LayoutThemeMac.h

Issue 1266723004: Revert of Delete AuthorStyleInfo and move its data into ComputedStyle.RareNonInheritedData. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/layout/LayoutTheme.cpp ('k') | Source/core/layout/LayoutThemeMac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 mutable HashMap<int, RGBA32> m_systemColorCache; 189 mutable HashMap<int, RGBA32> m_systemColorCache;
190 190
191 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver; 191 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver;
192 192
193 ThemePainterMac m_painter; 193 ThemePainterMac m_painter;
194 }; 194 };
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 #endif // LayoutThemeMac_h 198 #endif // LayoutThemeMac_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTheme.cpp ('k') | Source/core/layout/LayoutThemeMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698