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

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

Issue 2600873002: Memoize LayoutThemeDefault::clampedMenuListArrowPaddingSize(). (Closed)
Patch Set: Update LayoutThemeDefault::didChangeThemeEngine 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 154 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
155 static double m_caretBlinkInterval; 155 static double m_caretBlinkInterval;
156 156
157 static unsigned m_activeSelectionBackgroundColor; 157 static unsigned m_activeSelectionBackgroundColor;
158 static unsigned m_activeSelectionForegroundColor; 158 static unsigned m_activeSelectionForegroundColor;
159 static unsigned m_inactiveSelectionBackgroundColor; 159 static unsigned m_inactiveSelectionBackgroundColor;
160 static unsigned m_inactiveSelectionForegroundColor; 160 static unsigned m_inactiveSelectionForegroundColor;
161 161
162 ThemePainterDefault m_painter; 162 ThemePainterDefault m_painter;
163 int m_menuListArrowWidthInDIP = 0; 163 // Cached values for crbug.com/673754.
164 mutable float m_cachedMenuListArrowZoomLevel = 0;
165 mutable float m_cachedMenuListArrowPaddingSize = 0;
164 }; 166 };
165 167
166 } // namespace blink 168 } // namespace blink
167 169
168 #endif // LayoutThemeDefault_h 170 #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