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

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

Issue 368023003: Popup open and hide using Alt+KeyDown (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: "Build fix" Created 6 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
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // Returns the distance of slider tick origin from the slider track center. 180 // Returns the distance of slider tick origin from the slider track center.
181 virtual int sliderTickOffsetFromTrackCenter() const = 0; 181 virtual int sliderTickOffsetFromTrackCenter() const = 0;
182 void paintSliderTicks(RenderObject*, const PaintInfo&, const IntRect&); 182 void paintSliderTicks(RenderObject*, const PaintInfo&, const IntRect&);
183 183
184 virtual bool shouldShowPlaceholderWhenFocused() const { return false; } 184 virtual bool shouldShowPlaceholderWhenFocused() const { return false; }
185 virtual bool shouldHaveSpinButton(HTMLInputElement*) const; 185 virtual bool shouldHaveSpinButton(HTMLInputElement*) const;
186 186
187 // Functions for <select> elements. 187 // Functions for <select> elements.
188 virtual bool delegatesMenuListRendering() const { return false; } 188 virtual bool delegatesMenuListRendering() const { return false; }
189 virtual bool popsMenuByArrowKeys() const { return false; } 189 virtual bool popsMenuByArrowKeys() const { return false; }
190 virtual bool popsMenuBySpaceOrReturn() const { return false; } 190 virtual bool popsMenuBySpaceKey() const { return false; }
191 virtual bool popsMenuByReturnKey() const { return false; }
192 virtual bool popsMenuByAltDownUpOrF4Key() const { return false; }
191 193
192 virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, i nt width) const; 194 virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, i nt width) const;
193 195
194 virtual bool shouldOpenPickerWithF4Key() const; 196 virtual bool shouldOpenPickerWithF4Key() const;
195 197
196 virtual bool supportsSelectionForegroundColors() const { return true; } 198 virtual bool supportsSelectionForegroundColors() const { return true; }
197 199
198 protected: 200 protected:
199 // The platform selection color. 201 // The platform selection color.
200 virtual Color platformActiveSelectionBackgroundColor() const; 202 virtual Color platformActiveSelectionBackgroundColor() const;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 309 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
308 310
309 #if USE(NEW_THEME) 311 #if USE(NEW_THEME)
310 Theme* m_platformTheme; // The platform-specific theme. 312 Theme* m_platformTheme; // The platform-specific theme.
311 #endif 313 #endif
312 }; 314 };
313 315
314 } // namespace WebCore 316 } // namespace WebCore
315 317
316 #endif // RenderTheme_h 318 #endif // RenderTheme_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLSelectElementWin.cpp ('k') | Source/core/rendering/RenderThemeChromiumDefault.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698