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

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

Issue 18181010: Simplify media controls CSS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename mediaControlsChromiumAndroid.css to mediaControlsAndroid.css Created 7 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 int minimumProgressBarHeight(RenderStyle*) const; 174 int minimumProgressBarHeight(RenderStyle*) const;
175 const IntSize* progressBarSizes() const; 175 const IntSize* progressBarSizes() const;
176 const int* progressBarMargins(NSControlSize) const; 176 const int* progressBarMargins(NSControlSize) const;
177 177
178 protected: 178 protected:
179 virtual void adjustMediaSliderThumbSize(RenderStyle*) const; 179 virtual void adjustMediaSliderThumbSize(RenderStyle*) const;
180 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&); 180 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&);
181 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&); 181 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&);
182 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&); 182 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&);
183 virtual String extraMediaControlsStyleSheet();
184 virtual String extraFullScreenStyleSheet(); 183 virtual String extraFullScreenStyleSheet();
185 184
186 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&); 185 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&);
187 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&); 186 virtual bool paintMediaVolumeSliderContainer(RenderObject*, const PaintInfo& , const IntRect&);
188 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&); 187 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&);
189 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&); 188 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&);
190 virtual bool usesMediaControlStatusDisplay() { return false; } 189 virtual bool usesMediaControlStatusDisplay() { return false; }
191 virtual bool hasOwnDisabledStateHandlingFor(ControlPart) const { return true ; } 190 virtual bool hasOwnDisabledStateHandlingFor(ControlPart) const { return true ; }
192 virtual bool usesVerticalVolumeSlider() const { return false; } 191 virtual bool usesVerticalVolumeSlider() const { return false; }
193 virtual String formatMediaControlsTime(float time) const; 192 virtual String formatMediaControlsTime(float time) const;
(...skipping 20 matching lines...) Expand all
214 mutable RetainPtr<NSTextFieldCell> m_textField; 213 mutable RetainPtr<NSTextFieldCell> m_textField;
215 214
216 mutable HashMap<int, RGBA32> m_systemColorCache; 215 mutable HashMap<int, RGBA32> m_systemColorCache;
217 216
218 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 217 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
219 }; 218 };
220 219
221 } // namespace WebCore 220 } // namespace WebCore
222 221
223 #endif // RenderThemeChromiumMac_h 222 #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