OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
3 * | 3 * |
4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
5 * Copyright (C) 2008, 2009 Google, Inc. | 5 * Copyright (C) 2008, 2009 Google, Inc. |
6 * Copyright (C) 2009 Kenneth Rohde Christiansen | 6 * Copyright (C) 2009 Kenneth Rohde Christiansen |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 WebKit::WebCanvas* canvas = painter.context()->canvas(); | 647 WebKit::WebCanvas* canvas = painter.context()->canvas(); |
648 WebKit::Platform::current()->themeEngine()->paintProgressBar(canvas, WebKit:
:WebRect(r), WebKit::WebRect(valueRect), renderProgress->isDeterminate(), animat
edSeconds); | 648 WebKit::Platform::current()->themeEngine()->paintProgressBar(canvas, WebKit:
:WebRect(r), WebKit::WebRect(valueRect), renderProgress->isDeterminate(), animat
edSeconds); |
649 return false; | 649 return false; |
650 } | 650 } |
651 | 651 |
652 bool RenderThemeChromiumWin::shouldOpenPickerWithF4Key() const | 652 bool RenderThemeChromiumWin::shouldOpenPickerWithF4Key() const |
653 { | 653 { |
654 return true; | 654 return true; |
655 } | 655 } |
656 | 656 |
| 657 bool RenderThemeChromiumWin::shouldUseFallbackTheme(RenderStyle* style) const |
| 658 { |
| 659 ControlPart part = style->appearance(); |
| 660 if (part == CheckboxPart || part == RadioPart) |
| 661 return style->effectiveZoom() != 1; |
| 662 return false; |
| 663 } |
| 664 |
657 } // namespace WebCore | 665 } // namespace WebCore |
OLD | NEW |