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

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

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reenable previously crashing tests - now fixed Created 6 years, 3 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 WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
6 * Copyright (C) 2007 Holger Hans Peter Freyther 6 * Copyright (C) 2007 Holger Hans Peter Freyther
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
8 * Copyright (C) 2008, 2009 Google, Inc. 8 * Copyright (C) 2008, 2009 Google, Inc.
9 * All rights reserved. 9 * All rights reserved.
10 * 10 *
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void adjustSearchFieldDecorationStyle(RenderStyle*, Element*) const OVERRIDE; 85 virtual void adjustSearchFieldDecorationStyle(RenderStyle*, Element*) const OVERRIDE;
86 86
87 virtual void adjustSearchFieldResultsDecorationStyle(RenderStyle*, Element*) const OVERRIDE; 87 virtual void adjustSearchFieldResultsDecorationStyle(RenderStyle*, Element*) const OVERRIDE;
88 virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInf o&, const IntRect&) OVERRIDE; 88 virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInf o&, const IntRect&) OVERRIDE;
89 89
90 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE; 90 virtual bool paintMediaSliderTrack(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE;
91 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE; 91 virtual bool paintMediaVolumeSliderTrack(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
92 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const OVERRIDE; 92 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const OVERRIDE;
93 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE; 93 virtual bool paintMediaSliderThumb(RenderObject*, const PaintInfo&, const In tRect&) OVERRIDE;
94 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const Paint Info&, const IntRect&) OVERRIDE; 94 virtual bool paintMediaToggleClosedCaptionsButton(RenderObject*, const Paint Info&, const IntRect&) OVERRIDE;
95 virtual bool paintMediaCastButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE;
95 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE; 96 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
96 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE; 97 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE;
97 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE; 98 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
98 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE; 99 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE;
99 virtual String formatMediaControlsTime(float time) const OVERRIDE; 100 virtual String formatMediaControlsTime(float time) const OVERRIDE;
100 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const OVERRIDE; 101 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const OVERRIDE;
101 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) OVERRIDE; 102 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) OVERRIDE;
102 103
103 // MenuList refers to an unstyled menulist (meaning a menulist without 104 // MenuList refers to an unstyled menulist (meaning a menulist without
104 // background-color or border set) and MenuListButton refers to a styled 105 // background-color or border set) and MenuListButton refers to a styled
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 int menuListInternalPadding(RenderStyle*, int paddingType) const; 155 int menuListInternalPadding(RenderStyle*, int paddingType) const;
155 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); 156 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*);
156 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; 157 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const;
157 158
158 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 159 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
159 }; 160 };
160 161
161 } // namespace blink 162 } // namespace blink
162 163
163 #endif // RenderThemeChromiumSkia_h 164 #endif // RenderThemeChromiumSkia_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698