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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutThemeDefault.h

Issue 2612113003: Revert of Memoize LayoutTheemDefault::clampedMenuListArrowPaddingSize(). (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp » ('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 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 153 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
154 static double m_caretBlinkInterval; 154 static double m_caretBlinkInterval;
155 155
156 static unsigned m_activeSelectionBackgroundColor; 156 static unsigned m_activeSelectionBackgroundColor;
157 static unsigned m_activeSelectionForegroundColor; 157 static unsigned m_activeSelectionForegroundColor;
158 static unsigned m_inactiveSelectionBackgroundColor; 158 static unsigned m_inactiveSelectionBackgroundColor;
159 static unsigned m_inactiveSelectionForegroundColor; 159 static unsigned m_inactiveSelectionForegroundColor;
160 160
161 ThemePainterDefault m_painter; 161 ThemePainterDefault m_painter;
162 // Cached values for crbug.com/673754. 162 int m_menuListArrowWidthInDIP = 0;
163 mutable float m_cachedMenuListArrowZoomLevel = 0;
164 mutable float m_cachedMenuListArrowPaddingSize = 0;
165 }; 163 };
166 164
167 } // namespace blink 165 } // namespace blink
168 166
169 #endif // LayoutThemeDefault_h 167 #endif // LayoutThemeDefault_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698