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

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

Issue 895383002: Let StyleResolver figure out differences between UA style and resolved style. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: I mean *remove* assert. Created 5 years, 10 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/LayoutThemeChromiumMac.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 20 matching lines...) Expand all
31 OBJC_CLASS LayoutThemeNotificationObserver; 31 OBJC_CLASS LayoutThemeNotificationObserver;
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class LayoutThemeChromiumMac final : public LayoutTheme { 35 class LayoutThemeChromiumMac final : public LayoutTheme {
36 public: 36 public:
37 static PassRefPtr<LayoutTheme> create(); 37 static PassRefPtr<LayoutTheme> create();
38 38
39 virtual void adjustPaintInvalidationRect(const LayoutObject*, IntRect&) over ride; 39 virtual void adjustPaintInvalidationRect(const LayoutObject*, IntRect&) over ride;
40 40
41 virtual bool isControlStyled(const LayoutStyle&, const CachedUAStyle*) const override; 41 virtual bool isControlStyled(const LayoutStyle&, const AuthorStyleInfo&) con st 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;
50 virtual Color platformFocusRingColor() const override; 50 virtual Color platformFocusRingColor() const override;
51 51
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 mutable RetainPtr<NSTextFieldCell> m_textField; 200 mutable RetainPtr<NSTextFieldCell> m_textField;
201 201
202 mutable HashMap<int, RGBA32> m_systemColorCache; 202 mutable HashMap<int, RGBA32> m_systemColorCache;
203 203
204 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver; 204 RetainPtr<LayoutThemeNotificationObserver> m_notificationObserver;
205 }; 205 };
206 206
207 } // namespace blink 207 } // namespace blink
208 208
209 #endif // LayoutThemeChromiumMac_h 209 #endif // LayoutThemeChromiumMac_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTheme.cpp ('k') | Source/core/layout/LayoutThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698