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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.h

Issue 400027: On Linux, pick the color of the slider's thumbpart from the GTK theme.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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
OLDNEW
1 /* 1 /*
2 * This file is part of the WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
6 * Copyright (C) 2007 Holger Hans Peter Freyther 6 * Copyright (C) 2007 Holger Hans Peter Freyther
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
8 * Copyright (C) 2008, 2009 Google, Inc. 8 * Copyright (C) 2008, 2009 Google, Inc.
9 * All rights reserved. 9 * All rights reserved.
10 * Copyright (C) 2009 Kenneth Rohde Christiansen 10 * Copyright (C) 2009 Kenneth Rohde Christiansen
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual Color activeListBoxSelectionBackgroundColor() const; 47 virtual Color activeListBoxSelectionBackgroundColor() const;
48 virtual Color activeListBoxSelectionForegroundColor() const; 48 virtual Color activeListBoxSelectionForegroundColor() const;
49 virtual Color inactiveListBoxSelectionBackgroundColor() const; 49 virtual Color inactiveListBoxSelectionBackgroundColor() const;
50 virtual Color inactiveListBoxSelectionForegroundColor() const; 50 virtual Color inactiveListBoxSelectionForegroundColor() const;
51 51
52 virtual void adjustSliderThumbSize(RenderObject*) const; 52 virtual void adjustSliderThumbSize(RenderObject*) const;
53 53
54 void setCaretBlinkInterval(double interval); 54 void setCaretBlinkInterval(double interval);
55 virtual double caretBlinkIntervalInternal() const; 55 virtual double caretBlinkIntervalInternal() const;
56 56
57 static void setScrollbarColors(unsigned inactive_color,
58 unsigned active_color,
59 unsigned track_color);
60 static unsigned thumbInactiveColor() { return m_thumbInactiveColor; }
61 static unsigned thumbActiveColor() { return m_thumbActiveColor; }
62 static unsigned trackColor() { return m_trackColor; }
63
57 private: 64 private:
58 RenderThemeChromiumLinux(); 65 RenderThemeChromiumLinux();
59 virtual ~RenderThemeChromiumLinux(); 66 virtual ~RenderThemeChromiumLinux();
60 67
61 // A general method asking if any control tinting is supported at all. 68 // A general method asking if any control tinting is supported at all.
62 virtual bool supportsControlTints() const; 69 virtual bool supportsControlTints() const;
63 70
64 double m_caretBlinkInterval; 71 double m_caretBlinkInterval;
72
73 static unsigned m_thumbInactiveColor;
74 static unsigned m_thumbActiveColor;
75 static unsigned m_trackColor;
65 }; 76 };
66 77
67 } // namespace WebCore 78 } // namespace WebCore
68 79
69 #endif // RenderThemeChromiumLinux_h 80 #endif // RenderThemeChromiumLinux_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698