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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumSkia.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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE; 95 virtual bool paintMediaVolumeSliderThumb(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
96 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE; 96 virtual bool paintMediaPlayButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE;
97 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co nst IntRect&) OVERRIDE;
97 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE; 98 virtual bool paintMediaMuteButton(RenderObject*, const PaintInfo&, const Int Rect&) OVERRIDE;
98 virtual String formatMediaControlsTime(float time) const OVERRIDE; 99 virtual String formatMediaControlsTime(float time) const OVERRIDE;
99 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const OVERRIDE; 100 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const OVERRIDE;
100 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) OVERRIDE; 101 virtual bool paintMediaFullscreenButton(RenderObject*, const PaintInfo&, con st IntRect&) OVERRIDE;
101 102
102 // MenuList refers to an unstyled menulist (meaning a menulist without 103 // MenuList refers to an unstyled menulist (meaning a menulist without
103 // background-color or border set) and MenuListButton refers to a styled 104 // background-color or border set) and MenuListButton refers to a styled
104 // menulist (a menulist with background-color or border set). They have 105 // menulist (a menulist with background-color or border set). They have
105 // this distinction to support showing aqua style themes whenever they 106 // this distinction to support showing aqua style themes whenever they
106 // possibly can, which is something we don't want to replicate. 107 // possibly can, which is something we don't want to replicate.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 int menuListInternalPadding(RenderStyle*, int paddingType) const; 154 int menuListInternalPadding(RenderStyle*, int paddingType) const;
154 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); 155 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*);
155 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; 156 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const;
156 157
157 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 158 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
158 }; 159 };
159 160
160 } // namespace WebCore 161 } // namespace WebCore
161 162
162 #endif // RenderThemeChromiumSkia_h 163 #endif // RenderThemeChromiumSkia_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumMac.mm ('k') | Source/core/rendering/RenderThemeChromiumSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698