| OLD | NEW | 
|---|
| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 140     // We estimate the animation rate of a Mac OS X progress bar is 33 fps. | 140     // We estimate the animation rate of a Mac OS X progress bar is 33 fps. | 
| 141     // Hard code the value here because we haven't found API for it. | 141     // Hard code the value here because we haven't found API for it. | 
| 142     static constexpr double progressAnimationFrameRate = 0.033; | 142     static constexpr double progressAnimationFrameRate = 0.033; | 
| 143     // Mac OS X progress bar animation seems to have 256 frames. | 143     // Mac OS X progress bar animation seems to have 256 frames. | 
| 144     static constexpr double progressAnimationNumFrames = 256; | 144     static constexpr double progressAnimationNumFrames = 256; | 
| 145 | 145 | 
| 146     static constexpr float baseFontSize = 11.0f; | 146     static constexpr float baseFontSize = 11.0f; | 
| 147     static constexpr float menuListBaseArrowHeight = 4.0f; | 147     static constexpr float menuListBaseArrowHeight = 4.0f; | 
| 148     static constexpr float menuListBaseArrowWidth = 5.0f; | 148     static constexpr float menuListBaseArrowWidth = 5.0f; | 
| 149     static constexpr float menuListBaseSpaceBetweenArrows = 2.0f; | 149     static constexpr float menuListBaseSpaceBetweenArrows = 2.0f; | 
| 150     static const int menuListArrowPaddingLeft = 4; | 150     static const int menuListArrowPaddingStart = 4; | 
| 151     static const int menuListArrowPaddingRight = 4; | 151     static const int menuListArrowPaddingEnd = 4; | 
| 152     static const int sliderThumbWidth = 15; | 152     static const int sliderThumbWidth = 15; | 
| 153     static const int sliderThumbHeight = 15; | 153     static const int sliderThumbHeight = 15; | 
| 154     static const int sliderThumbShadowBlur = 1; | 154     static const int sliderThumbShadowBlur = 1; | 
| 155     static const int sliderThumbBorderWidth = 1; | 155     static const int sliderThumbBorderWidth = 1; | 
| 156     static const int sliderTrackWidth = 5; | 156     static const int sliderTrackWidth = 5; | 
| 157     static const int sliderTrackBorderWidth = 1; | 157     static const int sliderTrackBorderWidth = 1; | 
| 158 | 158 | 
| 159 protected: | 159 protected: | 
| 160     void adjustMediaSliderThumbSize(ComputedStyle&) const; | 160     void adjustMediaSliderThumbSize(ComputedStyle&) const; | 
| 161     String extraFullscreenStyleSheet() override; | 161     String extraFullscreenStyleSheet() override; | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 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 | 
| OLD | NEW | 
|---|