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

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

Issue 513783002: Dispatch change event for input type=color when colorpicker is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Mac test fix Created 6 years, 3 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
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 virtual bool popsMenuBySpaceKey() const { return false; } 184 virtual bool popsMenuBySpaceKey() const { return false; }
185 virtual bool popsMenuByReturnKey() const { return false; } 185 virtual bool popsMenuByReturnKey() const { return false; }
186 virtual bool popsMenuByAltDownUpOrF4Key() const { return false; } 186 virtual bool popsMenuByAltDownUpOrF4Key() const { return false; }
187 187
188 virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, i nt width) const; 188 virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, i nt width) const;
189 189
190 virtual bool shouldOpenPickerWithF4Key() const; 190 virtual bool shouldOpenPickerWithF4Key() const;
191 191
192 virtual bool supportsSelectionForegroundColors() const { return true; } 192 virtual bool supportsSelectionForegroundColors() const { return true; }
193 193
194 virtual bool isModalColorChooser() const { return true; }
195
194 protected: 196 protected:
195 // The platform selection color. 197 // The platform selection color.
196 virtual Color platformActiveSelectionBackgroundColor() const; 198 virtual Color platformActiveSelectionBackgroundColor() const;
197 virtual Color platformInactiveSelectionBackgroundColor() const; 199 virtual Color platformInactiveSelectionBackgroundColor() const;
198 virtual Color platformActiveSelectionForegroundColor() const; 200 virtual Color platformActiveSelectionForegroundColor() const;
199 virtual Color platformInactiveSelectionForegroundColor() const; 201 virtual Color platformInactiveSelectionForegroundColor() const;
200 202
201 virtual Color platformActiveListBoxSelectionBackgroundColor() const; 203 virtual Color platformActiveListBoxSelectionBackgroundColor() const;
202 virtual Color platformInactiveListBoxSelectionBackgroundColor() const; 204 virtual Color platformInactiveListBoxSelectionBackgroundColor() const;
203 virtual Color platformActiveListBoxSelectionForegroundColor() const; 205 virtual Color platformActiveListBoxSelectionForegroundColor() const;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 305 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
304 306
305 #if USE(NEW_THEME) 307 #if USE(NEW_THEME)
306 Theme* m_platformTheme; // The platform-specific theme. 308 Theme* m_platformTheme; // The platform-specific theme.
307 #endif 309 #endif
308 }; 310 };
309 311
310 } // namespace blink 312 } // namespace blink
311 313
312 #endif // RenderTheme_h 314 #endif // RenderTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698