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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a crashers (everything is building!) 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 | 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect &) override; 82 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect &) override;
83 83
84 virtual bool shouldOpenPickerWithF4Key() const override; 84 virtual bool shouldOpenPickerWithF4Key() const override;
85 85
86 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground Color); 86 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground Color);
87 87
88 protected: 88 protected:
89 LayoutThemeChromiumDefault(); 89 LayoutThemeChromiumDefault();
90 virtual ~LayoutThemeChromiumDefault(); 90 virtual ~LayoutThemeChromiumDefault();
91 virtual bool shouldUseFallbackTheme(RenderStyle*) const override; 91 virtual bool shouldUseFallbackTheme(const RenderStyle*) const override;
92 92
93 private: 93 private:
94 static double m_caretBlinkInterval; 94 static double m_caretBlinkInterval;
95 95
96 static unsigned m_activeSelectionBackgroundColor; 96 static unsigned m_activeSelectionBackgroundColor;
97 static unsigned m_activeSelectionForegroundColor; 97 static unsigned m_activeSelectionForegroundColor;
98 static unsigned m_inactiveSelectionBackgroundColor; 98 static unsigned m_inactiveSelectionBackgroundColor;
99 static unsigned m_inactiveSelectionForegroundColor; 99 static unsigned m_inactiveSelectionForegroundColor;
100 }; 100 };
101 101
102 } // namespace blink 102 } // namespace blink
103 103
104 #endif // LayoutThemeChromiumDefault_h 104 #endif // LayoutThemeChromiumDefault_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698