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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumMac.h

Issue 254633002: Start using the mediaControlsOverlayPlayButtonEnabled setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 NSLevelIndicatorStyle levelIndicatorStyleFor(ControlPart) const; 166 NSLevelIndicatorStyle levelIndicatorStyleFor(ControlPart) const;
167 NSLevelIndicatorCell* levelIndicatorFor(const RenderMeter*) const; 167 NSLevelIndicatorCell* levelIndicatorFor(const RenderMeter*) const;
168 168
169 int minimumProgressBarHeight(RenderStyle*) const; 169 int minimumProgressBarHeight(RenderStyle*) const;
170 const IntSize* progressBarSizes() const; 170 const IntSize* progressBarSizes() const;
171 const int* progressBarMargins(NSControlSize) const; 171 const int* progressBarMargins(NSControlSize) const;
172 172
173 protected: 173 protected:
174 virtual void adjustMediaSliderThumbSize(RenderStyle*) const; 174 virtual void adjustMediaSliderThumbSize(RenderStyle*) const;
175 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE; 175 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE;
176 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
176 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE; 177 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE;
177 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE; 178 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE;
178 virtual String extraFullScreenStyleSheet() OVERRIDE; 179 virtual String extraFullScreenStyleSheet() OVERRIDE;
179 180
180 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE; 181 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE;
181 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&) OVERRIDE; 182 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&) OVERRIDE;
182 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE; 183 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
183 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE; 184 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
184 virtual String formatMediaControlsTime(float time) const OVERRIDE; 185 virtual String formatMediaControlsTime(float time) const OVERRIDE;
185 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const OVERRIDE; 186 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const OVERRIDE;
(...skipping 19 matching lines...) Expand all
205 mutable RetainPtr<NSTextFieldCell> m_textField; 206 mutable RetainPtr<NSTextFieldCell> m_textField;
206 207
207 mutable HashMap<int, RGBA32> m_systemColorCache; 208 mutable HashMap<int, RGBA32> m_systemColorCache;
208 209
209 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 210 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
210 }; 211 };
211 212
212 } // namespace WebCore 213 } // namespace WebCore
213 214
214 #endif // RenderThemeChromiumMac_h 215 #endif // RenderThemeChromiumMac_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumAndroid.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698