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

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

Issue 2560733002: SELECT element: Fix a bug that intrinsic width is too narrow in less-than-100% zoom level. (Closed)
Patch Set: PartScrollbarVerticalTrack -> PartScrollbarDownArrow to fix Android crash Created 4 years 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const AtomicString& family) const override; 67 const AtomicString& family) const override;
68 68
69 int minimumMenuListSize(const ComputedStyle&) const override; 69 int minimumMenuListSize(const ComputedStyle&) const override;
70 70
71 void adjustSliderThumbSize(ComputedStyle&) const override; 71 void adjustSliderThumbSize(ComputedStyle&) const override;
72 72
73 IntSize sliderTickSize() const override; 73 IntSize sliderTickSize() const override;
74 int sliderTickOffsetFromTrackCenter() const override; 74 int sliderTickOffsetFromTrackCenter() const override;
75 75
76 int popupInternalPaddingStart(const ComputedStyle&) const override; 76 int popupInternalPaddingStart(const ComputedStyle&) const override;
77 int popupInternalPaddingEnd(const ComputedStyle&) const override; 77 int popupInternalPaddingEnd(const HostWindow*,
78 const ComputedStyle&) const override;
78 int popupInternalPaddingTop(const ComputedStyle&) const override; 79 int popupInternalPaddingTop(const ComputedStyle&) const override;
79 int popupInternalPaddingBottom(const ComputedStyle&) const override; 80 int popupInternalPaddingBottom(const ComputedStyle&) const override;
80 81
81 bool popsMenuByArrowKeys() const override { return true; } 82 bool popsMenuByArrowKeys() const override { return true; }
82 bool popsMenuBySpaceKey() const final { return true; } 83 bool popsMenuBySpaceKey() const final { return true; }
83 84
84 // Returns the repeat interval of the animation for the progress bar. 85 // Returns the repeat interval of the animation for the progress bar.
85 double animationRepeatIntervalForProgressBar() const override; 86 double animationRepeatIntervalForProgressBar() const override;
86 // Returns the duration of the animation for the progress bar. 87 // Returns the duration of the animation for the progress bar.
87 double animationDurationForProgressBar() const override; 88 double animationDurationForProgressBar() const override;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 mutable HashMap<int, RGBA32> m_systemColorCache; 198 mutable HashMap<int, RGBA32> m_systemColorCache;
198 199
199 RetainPtr<BlinkLayoutThemeNotificationObserver> m_notificationObserver; 200 RetainPtr<BlinkLayoutThemeNotificationObserver> m_notificationObserver;
200 201
201 ThemePainterMac m_painter; 202 ThemePainterMac m_painter;
202 }; 203 };
203 204
204 } // namespace blink 205 } // namespace blink
205 206
206 #endif // LayoutThemeMac_h 207 #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