Changeset 140339 in webkit
- Timestamp:
- Jan 21, 2013 8:39:34 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140338 r140339 1 2013-01-21 Halton Huo <halton.huo@intel.com> 2 3 [GTK] Volume button should not be shown for videos without audio 4 https://bugs.webkit.org/show_bug.cgi?id=106436 5 6 Reviewed by Philippe Normand. 7 8 The volume control is no longer shown for videos with no audio. 9 10 No new tests, tested by media/video-no-audio.html. 11 12 * platform/gtk/RenderThemeGtk.cpp: 13 (WebCore::RenderThemeGtk::hasOwnDisabledStateHandlingFor): 14 (WebCore): 15 * platform/gtk/RenderThemeGtk.h: 16 1 17 2013-01-21 Dan Winship <danw@gnome.org> 2 18 -
trunk/Source/WebCore/platform/gtk/RenderThemeGtk.cpp
r132112 r140339 514 514 } 515 515 516 bool RenderThemeGtk::hasOwnDisabledStateHandlingFor(ControlPart part) const 517 { 518 return (part != MediaMuteButtonPart); 519 } 520 516 521 bool RenderThemeGtk::paintMediaFullscreenButton(RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect) 517 522 { -
trunk/Source/WebCore/platform/gtk/RenderThemeGtk.h
r132112 r140339 163 163 void initMediaButtons(); 164 164 void adjustMediaSliderThumbSize(RenderStyle*) const; 165 virtual bool hasOwnDisabledStateHandlingFor(ControlPart) const { return true; }165 virtual bool hasOwnDisabledStateHandlingFor(ControlPart) const; 166 166 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, const IntRect&); 167 167 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const IntRect&);
Note: See TracChangeset
for help on using the changeset viewer.