| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2009 Google, Inc. | 3 * Copyright (C) 2008, 2009 Google, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1027 | 1027 |
| 1028 if (tint != oldTint) | 1028 if (tint != oldTint) |
| 1029 [cell setControlTint:tint]; | 1029 [cell setControlTint:tint]; |
| 1030 } | 1030 } |
| 1031 | 1031 |
| 1032 void LayoutThemeMac::adjustMediaSliderThumbSize(ComputedStyle& style) const | 1032 void LayoutThemeMac::adjustMediaSliderThumbSize(ComputedStyle& style) const |
| 1033 { | 1033 { |
| 1034 MediaControlsPainter::adjustMediaSliderThumbSize(style); | 1034 MediaControlsPainter::adjustMediaSliderThumbSize(style); |
| 1035 } | 1035 } |
| 1036 | 1036 |
| 1037 String LayoutThemeMac::extraFullScreenStyleSheet() | 1037 String LayoutThemeMac::extraFullscreenStyleSheet() |
| 1038 { | 1038 { |
| 1039 // FIXME: Chromium may wish to style its default media controls differently
in fullscreen. | 1039 // FIXME: Chromium may wish to style its default media controls differently
in fullscreen. |
| 1040 return String(); | 1040 return String(); |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 String LayoutThemeMac::extraDefaultStyleSheet() | 1043 String LayoutThemeMac::extraDefaultStyleSheet() |
| 1044 { | 1044 { |
| 1045 return LayoutTheme::extraDefaultStyleSheet() + | 1045 return LayoutTheme::extraDefaultStyleSheet() + |
| 1046 loadResourceAsASCIIString("themeInputMultipleFields.css") + | 1046 loadResourceAsASCIIString("themeInputMultipleFields.css") + |
| 1047 loadResourceAsASCIIString("themeMac.css"); | 1047 loadResourceAsASCIIString("themeMac.css"); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1077 | 1077 |
| 1078 bool LayoutThemeMac::shouldUseFallbackTheme(const ComputedStyle& style) const | 1078 bool LayoutThemeMac::shouldUseFallbackTheme(const ComputedStyle& style) const |
| 1079 { | 1079 { |
| 1080 ControlPart part = style.appearance(); | 1080 ControlPart part = style.appearance(); |
| 1081 if (part == CheckboxPart || part == RadioPart) | 1081 if (part == CheckboxPart || part == RadioPart) |
| 1082 return style.effectiveZoom() != 1; | 1082 return style.effectiveZoom() != 1; |
| 1083 return false; | 1083 return false; |
| 1084 } | 1084 } |
| 1085 | 1085 |
| 1086 } // namespace blink | 1086 } // namespace blink |
| OLD | NEW |