| 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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 void RenderThemeChromiumMac::adjustRepaintRect(const RenderObject* o, IntRect& r
) | 519 void RenderThemeChromiumMac::adjustRepaintRect(const RenderObject* o, IntRect& r
) |
| 520 { | 520 { |
| 521 ControlPart part = o->style()->appearance(); | 521 ControlPart part = o->style()->appearance(); |
| 522 | 522 |
| 523 #if USE(NEW_THEME) | 523 #if USE(NEW_THEME) |
| 524 switch (part) { | 524 switch (part) { |
| 525 case CheckboxPart: | 525 case CheckboxPart: |
| 526 case RadioPart: | 526 case RadioPart: |
| 527 case PushButtonPart: | 527 case PushButtonPart: |
| 528 case SquareButtonPart: | 528 case SquareButtonPart: |
| 529 case DefaultButtonPart: | |
| 530 case ButtonPart: | 529 case ButtonPart: |
| 531 case InnerSpinButtonPart: | 530 case InnerSpinButtonPart: |
| 532 return RenderTheme::adjustRepaintRect(o, r); | 531 return RenderTheme::adjustRepaintRect(o, r); |
| 533 default: | 532 default: |
| 534 break; | 533 break; |
| 535 } | 534 } |
| 536 #endif | 535 #endif |
| 537 | 536 |
| 538 float zoomLevel = o->style()->effectiveZoom(); | 537 float zoomLevel = o->style()->effectiveZoom(); |
| 539 | 538 |
| (...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1975 { | 1974 { |
| 1976 return RenderMediaControlsChromium::paintMediaControlsPart(MediaEnterFullscr
eenButton, object, paintInfo, rect); | 1975 return RenderMediaControlsChromium::paintMediaControlsPart(MediaEnterFullscr
eenButton, object, paintInfo, rect); |
| 1977 } | 1976 } |
| 1978 | 1977 |
| 1979 bool RenderThemeChromiumMac::paintMediaToggleClosedCaptionsButton(RenderObject*
object, const PaintInfo& paintInfo, const IntRect& rect) | 1978 bool RenderThemeChromiumMac::paintMediaToggleClosedCaptionsButton(RenderObject*
object, const PaintInfo& paintInfo, const IntRect& rect) |
| 1980 { | 1979 { |
| 1981 return RenderMediaControlsChromium::paintMediaControlsPart(MediaShowClosedCa
ptionsButton, object, paintInfo, rect); | 1980 return RenderMediaControlsChromium::paintMediaControlsPart(MediaShowClosedCa
ptionsButton, object, paintInfo, rect); |
| 1982 } | 1981 } |
| 1983 | 1982 |
| 1984 } // namespace WebCore | 1983 } // namespace WebCore |
| OLD | NEW |