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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumSkia.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 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 23 matching lines...) Expand all
34 34
35 class RenderProgress; 35 class RenderProgress;
36 36
37 class RenderThemeChromiumSkia : public RenderTheme { 37 class RenderThemeChromiumSkia : public RenderTheme {
38 public: 38 public:
39 RenderThemeChromiumSkia(); 39 RenderThemeChromiumSkia();
40 virtual ~RenderThemeChromiumSkia(); 40 virtual ~RenderThemeChromiumSkia();
41 41
42 virtual String extraDefaultStyleSheet(); 42 virtual String extraDefaultStyleSheet();
43 virtual String extraQuirksStyleSheet(); 43 virtual String extraQuirksStyleSheet();
44 virtual String extraMediaControlsStyleSheet();
45 44
46 virtual Color platformTapHighlightColor() const OVERRIDE 45 virtual Color platformTapHighlightColor() const OVERRIDE
47 { 46 {
48 return Color(defaultTapHighlightColor); 47 return Color(defaultTapHighlightColor);
49 } 48 }
50 49
51 // A method asking if the theme's controls actually care about redrawing whe n hovered. 50 // A method asking if the theme's controls actually care about redrawing whe n hovered.
52 virtual bool supportsHover(const RenderStyle*) const; 51 virtual bool supportsHover(const RenderStyle*) const;
53 52
54 // A method asking if the theme is able to draw the focus ring. 53 // A method asking if the theme is able to draw the focus ring.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 int menuListInternalPadding(RenderStyle*, int paddingType) const; 158 int menuListInternalPadding(RenderStyle*, int paddingType) const;
160 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); 159 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*);
161 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; 160 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const;
162 161
163 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 162 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
164 }; 163 };
165 164
166 } // namespace WebCore 165 } // namespace WebCore
167 166
168 #endif // RenderThemeChromiumSkia_h 167 #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