OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 if (isRunningLayoutTest() && cssValueId == CSSValueButtonface) { | 62 if (isRunningLayoutTest() && cssValueId == CSSValueButtonface) { |
63 // Match Chromium Linux' button color in layout tests. | 63 // Match Chromium Linux' button color in layout tests. |
64 static const Color linuxButtonGrayColor(0xffdddddd); | 64 static const Color linuxButtonGrayColor(0xffdddddd); |
65 return linuxButtonGrayColor; | 65 return linuxButtonGrayColor; |
66 } | 66 } |
67 return RenderTheme::systemColor(cssValueId); | 67 return RenderTheme::systemColor(cssValueId); |
68 } | 68 } |
69 | 69 |
70 String RenderThemeChromiumAndroid::extraMediaControlsStyleSheet() | 70 String RenderThemeChromiumAndroid::extraMediaControlsStyleSheet() |
71 { | 71 { |
72 return String(mediaControlsChromiumAndroidUserAgentStyleSheet, sizeof(mediaC
ontrolsChromiumAndroidUserAgentStyleSheet)); | 72 return String(mediaControlsAndroidUserAgentStyleSheet, sizeof(mediaControlsA
ndroidUserAgentStyleSheet)); |
73 } | 73 } |
74 | 74 |
75 String RenderThemeChromiumAndroid::extraDefaultStyleSheet() | 75 String RenderThemeChromiumAndroid::extraDefaultStyleSheet() |
76 { | 76 { |
77 return RenderThemeChromiumDefault::extraDefaultStyleSheet() + | 77 return RenderThemeChromiumDefault::extraDefaultStyleSheet() + |
78 String(themeChromiumAndroidUserAgentStyleSheet, sizeof(themeChromiumAndr
oidUserAgentStyleSheet)); | 78 String(themeChromiumAndroidUserAgentStyleSheet, sizeof(themeChromiumAndr
oidUserAgentStyleSheet)); |
79 } | 79 } |
80 | 80 |
81 void RenderThemeChromiumAndroid::adjustInnerSpinButtonStyle(RenderStyle* style,
Element*) const | 81 void RenderThemeChromiumAndroid::adjustInnerSpinButtonStyle(RenderStyle* style,
Element*) const |
82 { | 82 { |
(...skipping 19 matching lines...) Expand all Loading... |
102 IntSize scrollbarSize = WebKit::Platform::current()->themeEngine()->getSize(
WebKit::WebThemeEngine::PartScrollbarDownArrow); | 102 IntSize scrollbarSize = WebKit::Platform::current()->themeEngine()->getSize(
WebKit::WebThemeEngine::PartScrollbarDownArrow); |
103 return scrollbarSize.width(); | 103 return scrollbarSize.width(); |
104 } | 104 } |
105 | 105 |
106 bool RenderThemeChromiumAndroid::supportsDataListUI(const AtomicString& type) co
nst | 106 bool RenderThemeChromiumAndroid::supportsDataListUI(const AtomicString& type) co
nst |
107 { | 107 { |
108 return false; | 108 return false; |
109 } | 109 } |
110 | 110 |
111 } // namespace WebCore | 111 } // namespace WebCore |
OLD | NEW |