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

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

Issue 20061003: Move isValid/isCurrentColor from Color to StyleColor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 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, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 mutable Color m_activeSelectionBackgroundColor; 342 mutable Color m_activeSelectionBackgroundColor;
343 mutable Color m_inactiveSelectionBackgroundColor; 343 mutable Color m_inactiveSelectionBackgroundColor;
344 mutable Color m_activeSelectionForegroundColor; 344 mutable Color m_activeSelectionForegroundColor;
345 mutable Color m_inactiveSelectionForegroundColor; 345 mutable Color m_inactiveSelectionForegroundColor;
346 346
347 mutable Color m_activeListBoxSelectionBackgroundColor; 347 mutable Color m_activeListBoxSelectionBackgroundColor;
348 mutable Color m_inactiveListBoxSelectionBackgroundColor; 348 mutable Color m_inactiveListBoxSelectionBackgroundColor;
349 mutable Color m_activeListBoxSelectionForegroundColor; 349 mutable Color m_activeListBoxSelectionForegroundColor;
350 mutable Color m_inactiveListBoxSelectionForegroundColor; 350 mutable Color m_inactiveListBoxSelectionForegroundColor;
351 351
352 mutable unsigned m_selectionColorsValid;
353
352 // This color is expected to be drawn on a semi-transparent overlay, 354 // This color is expected to be drawn on a semi-transparent overlay,
353 // making it more transparent than its alpha value indicates. 355 // making it more transparent than its alpha value indicates.
354 static const RGBA32 defaultTapHighlightColor = 0x66000000; 356 static const RGBA32 defaultTapHighlightColor = 0x66000000;
355 357
356 #if USE(NEW_THEME) 358 #if USE(NEW_THEME)
357 Theme* m_theme; // The platform-specific theme. 359 Theme* m_theme; // The platform-specific theme.
358 #endif 360 #endif
359 }; 361 };
360 362
361 } // namespace WebCore 363 } // namespace WebCore
362 364
363 #endif // RenderTheme_h 365 #endif // RenderTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698