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

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: 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 popsMenuBySpaceOrReturn() const { return false; }
191 virtual bool shouldOpenDropDownWithAltDownUpOrF4Key() const { return false; }
191 192
192 virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, i nt width) const; 193 virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, i nt width) const;
193 194
194 virtual bool shouldOpenPickerWithF4Key() const; 195 virtual bool shouldOpenPickerWithF4Key() const;
195 196
196 virtual bool supportsSelectionForegroundColors() const { return true; } 197 virtual bool supportsSelectionForegroundColors() const { return true; }
197 198
198 protected: 199 protected:
199 // The platform selection color. 200 // The platform selection color.
200 virtual Color platformActiveSelectionBackgroundColor() const; 201 virtual Color platformActiveSelectionBackgroundColor() const;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 308 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
308 309
309 #if USE(NEW_THEME) 310 #if USE(NEW_THEME)
310 Theme* m_platformTheme; // The platform-specific theme. 311 Theme* m_platformTheme; // The platform-specific theme.
311 #endif 312 #endif
312 }; 313 };
313 314
314 } // namespace WebCore 315 } // namespace WebCore
315 316
316 #endif // RenderTheme_h 317 #endif // RenderTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698