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

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: Fixed mac tests 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 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; }
81 virtual bool popsMenuByReturnKey() const OVERRIDE FINAL { return true; }
keishi 2014/07/09 03:38:21 This should be false. On mac the popup should be o
80 82
81 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE; 83 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE;
82 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE RRIDE; 84 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE RRIDE;
83 virtual bool supportsMeter(ControlPart) const OVERRIDE; 85 virtual bool supportsMeter(ControlPart) const OVERRIDE;
84 86
85 // Returns the repeat interval of the animation for the progress bar. 87 // Returns the repeat interval of the animation for the progress bar.
86 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const OVERRIDE; 88 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const OVERRIDE;
87 // Returns the duration of the animation for the progress bar. 89 // Returns the duration of the animation for the progress bar.
88 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI DE; 90 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI DE;
89 91
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 mutable RetainPtr<NSTextFieldCell> m_textField; 208 mutable RetainPtr<NSTextFieldCell> m_textField;
207 209
208 mutable HashMap<int, RGBA32> m_systemColorCache; 210 mutable HashMap<int, RGBA32> m_systemColorCache;
209 211
210 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 212 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
211 }; 213 };
212 214
213 } // namespace WebCore 215 } // namespace WebCore
214 216
215 #endif // RenderThemeChromiumMac_h 217 #endif // RenderThemeChromiumMac_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698