| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |