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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumMac.h

Issue 478733002: Rename repaint to paintInvalidation for remaining methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.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 18 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698