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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumMac.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
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumDefault.h ('k') | Source/web/PopupListBox.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 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 Apple Computer, Inc. 4 * Copyright (C) 2005 Apple Computer, Inc.
5 * Copyright (C) 2008, 2009 Google, Inc. 5 * Copyright (C) 2008, 2009 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; 70 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE;
71 71
72 virtual int popupInternalPaddingLeft(RenderStyle*) const OVERRIDE; 72 virtual int popupInternalPaddingLeft(RenderStyle*) const OVERRIDE;
73 virtual int popupInternalPaddingRight(RenderStyle*) const OVERRIDE; 73 virtual int popupInternalPaddingRight(RenderStyle*) const OVERRIDE;
74 virtual int popupInternalPaddingTop(RenderStyle*) const OVERRIDE; 74 virtual int popupInternalPaddingTop(RenderStyle*) const OVERRIDE;
75 virtual int popupInternalPaddingBottom(RenderStyle*) const OVERRIDE; 75 virtual int popupInternalPaddingBottom(RenderStyle*) const OVERRIDE;
76 76
77 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I ntRect&) OVERRIDE; 77 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I ntRect&) OVERRIDE;
78 78
79 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; } 79 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; }
80 virtual bool popsMenuBySpaceKey() const OVERRIDE FINAL { return true; }
80 81
81 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE; 82 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE;
82 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE RRIDE; 83 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE RRIDE;
83 virtual bool supportsMeter(ControlPart) const OVERRIDE; 84 virtual bool supportsMeter(ControlPart) const OVERRIDE;
84 85
85 // Returns the repeat interval of the animation for the progress bar. 86 // Returns the repeat interval of the animation for the progress bar.
86 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const OVERRIDE; 87 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const OVERRIDE;
87 // Returns the duration of the animation for the progress bar. 88 // Returns the duration of the animation for the progress bar.
88 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI DE; 89 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI DE;
89 90
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 mutable RetainPtr<NSTextFieldCell> m_textField; 207 mutable RetainPtr<NSTextFieldCell> m_textField;
207 208
208 mutable HashMap<int, RGBA32> m_systemColorCache; 209 mutable HashMap<int, RGBA32> m_systemColorCache;
209 210
210 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 211 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
211 }; 212 };
212 213
213 } // namespace WebCore 214 } // namespace WebCore
214 215
215 #endif // RenderThemeChromiumMac_h 216 #endif // RenderThemeChromiumMac_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumDefault.h ('k') | Source/web/PopupListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698