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

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

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
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. 2 * Copyright (C) 2007 Apple Inc.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2008 Collabora Ltd. 4 * Copyright (C) 2008 Collabora Ltd.
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 String(themeWinUserAgentStyleSheet, sizeof(themeWinUserAgentStyleSheet)) + 73 String(themeWinUserAgentStyleSheet, sizeof(themeWinUserAgentStyleSheet)) +
74 String(themeChromiumSkiaUserAgentStyleSheet, sizeof(themeChromiumSkiaUse rAgentStyleSheet)) + 74 String(themeChromiumSkiaUserAgentStyleSheet, sizeof(themeChromiumSkiaUse rAgentStyleSheet)) +
75 String(themeChromiumUserAgentStyleSheet, sizeof(themeChromiumUserAgentSt yleSheet)); 75 String(themeChromiumUserAgentStyleSheet, sizeof(themeChromiumUserAgentSt yleSheet));
76 } 76 }
77 77
78 String RenderThemeChromiumSkia::extraQuirksStyleSheet() 78 String RenderThemeChromiumSkia::extraQuirksStyleSheet()
79 { 79 {
80 return String(themeWinQuirksUserAgentStyleSheet, sizeof(themeWinQuirksUserAg entStyleSheet)); 80 return String(themeWinQuirksUserAgentStyleSheet, sizeof(themeWinQuirksUserAg entStyleSheet));
81 } 81 }
82 82
83 String RenderThemeChromiumSkia::extraMediaControlsStyleSheet()
84 {
85 return String(mediaControlsChromiumUserAgentStyleSheet, sizeof(mediaControls ChromiumUserAgentStyleSheet));
86 }
87
88 bool RenderThemeChromiumSkia::supportsHover(const RenderStyle* style) const 83 bool RenderThemeChromiumSkia::supportsHover(const RenderStyle* style) const
89 { 84 {
90 return true; 85 return true;
91 } 86 }
92 87
93 bool RenderThemeChromiumSkia::supportsFocusRing(const RenderStyle* style) const 88 bool RenderThemeChromiumSkia::supportsFocusRing(const RenderStyle* style) const
94 { 89 {
95 // This causes WebKit to draw the focus rings for us. 90 // This causes WebKit to draw the focus rings for us.
96 return false; 91 return false;
97 } 92 }
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 } 478 }
484 479
485 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() 480 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope()
486 { 481 {
487 if (!m_needsFlipping) 482 if (!m_needsFlipping)
488 return; 483 return;
489 m_paintInfo.context->restore(); 484 m_paintInfo.context->restore();
490 } 485 }
491 486
492 } // namespace WebCore 487 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698