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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutThemeMac.h

Issue 2224063003: LayoutTheme: Clean up popupInternalPadding* functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 bool needsHackForTextControlWithFontFamily(const AtomicString& family) const override; 60 bool needsHackForTextControlWithFontFamily(const AtomicString& family) const override;
61 61
62 int minimumMenuListSize(const ComputedStyle&) const override; 62 int minimumMenuListSize(const ComputedStyle&) const override;
63 63
64 void adjustSliderThumbSize(ComputedStyle&) const override; 64 void adjustSliderThumbSize(ComputedStyle&) const override;
65 65
66 IntSize sliderTickSize() const override; 66 IntSize sliderTickSize() const override;
67 int sliderTickOffsetFromTrackCenter() const override; 67 int sliderTickOffsetFromTrackCenter() const override;
68 68
69 int popupInternalPaddingLeft(const ComputedStyle&) const override; 69 int popupInternalPaddingStart(const ComputedStyle&) const override;
70 int popupInternalPaddingRight(const ComputedStyle&) const override; 70 int popupInternalPaddingEnd(const ComputedStyle&) const override;
71 int popupInternalPaddingTop(const ComputedStyle&) const override; 71 int popupInternalPaddingTop(const ComputedStyle&) const override;
72 int popupInternalPaddingBottom(const ComputedStyle&) const override; 72 int popupInternalPaddingBottom(const ComputedStyle&) const override;
73 73
74 bool popsMenuByArrowKeys() const override { return true; } 74 bool popsMenuByArrowKeys() const override { return true; }
75 bool popsMenuBySpaceKey() const final { return true; } 75 bool popsMenuBySpaceKey() const final { return true; }
76 76
77 // Returns the repeat interval of the animation for the progress bar. 77 // Returns the repeat interval of the animation for the progress bar.
78 double animationRepeatIntervalForProgressBar() const override; 78 double animationRepeatIntervalForProgressBar() const override;
79 // Returns the duration of the animation for the progress bar. 79 // Returns the duration of the animation for the progress bar.
80 double animationDurationForProgressBar() const override; 80 double animationDurationForProgressBar() const override;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 mutable HashMap<int, RGBA32> m_systemColorCache; 181 mutable HashMap<int, RGBA32> m_systemColorCache;
182 182
183 RetainPtr<BlinkLayoutThemeNotificationObserver> m_notificationObserver; 183 RetainPtr<BlinkLayoutThemeNotificationObserver> m_notificationObserver;
184 184
185 ThemePainterMac m_painter; 185 ThemePainterMac m_painter;
186 }; 186 };
187 187
188 } // namespace blink 188 } // namespace blink
189 189
190 #endif // LayoutThemeMac_h 190 #endif // LayoutThemeMac_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698