| 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 30 matching lines...) Expand all Loading... |
| 41 #include "core/platform/graphics/chromium/TransparencyWin.h" | 41 #include "core/platform/graphics/chromium/TransparencyWin.h" |
| 42 #include "core/platform/win/SystemInfo.h" | 42 #include "core/platform/win/SystemInfo.h" |
| 43 #include "core/rendering/PaintInfo.h" | 43 #include "core/rendering/PaintInfo.h" |
| 44 #include "core/rendering/RenderBox.h" | 44 #include "core/rendering/RenderBox.h" |
| 45 #include "core/rendering/RenderProgress.h" | 45 #include "core/rendering/RenderProgress.h" |
| 46 #include "core/rendering/RenderSlider.h" | 46 #include "core/rendering/RenderSlider.h" |
| 47 #include "public/platform/Platform.h" | 47 #include "public/platform/Platform.h" |
| 48 #include "public/platform/WebColor.h" | 48 #include "public/platform/WebColor.h" |
| 49 #include "public/platform/WebRect.h" | 49 #include "public/platform/WebRect.h" |
| 50 #include "public/platform/win/WebThemeEngine.h" | 50 #include "public/platform/win/WebThemeEngine.h" |
| 51 #include <wtf/CurrentTime.h> | 51 #include "wtf/CurrentTime.h" |
| 52 | 52 |
| 53 | 53 |
| 54 // FIXME: This dependency should eventually be removed. | 54 // FIXME: This dependency should eventually be removed. |
| 55 #include <skia/ext/skia_utils_win.h> | 55 #include <skia/ext/skia_utils_win.h> |
| 56 | 56 |
| 57 namespace WebCore { | 57 namespace WebCore { |
| 58 | 58 |
| 59 // The standard width for the menu list drop-down button when run under | 59 // The standard width for the menu list drop-down button when run under |
| 60 // layout test mode. Use the value that's currently captured in most baselines. | 60 // layout test mode. Use the value that's currently captured in most baselines. |
| 61 static const int kStandardMenuListButtonWidth = 17; | 61 static const int kStandardMenuListButtonWidth = 17; |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 | 656 |
| 657 bool RenderThemeChromiumWin::shouldUseFallbackTheme(RenderStyle* style) const | 657 bool RenderThemeChromiumWin::shouldUseFallbackTheme(RenderStyle* style) const |
| 658 { | 658 { |
| 659 ControlPart part = style->appearance(); | 659 ControlPart part = style->appearance(); |
| 660 if (part == CheckboxPart || part == RadioPart) | 660 if (part == CheckboxPart || part == RadioPart) |
| 661 return style->effectiveZoom() != 1; | 661 return style->effectiveZoom() != 1; |
| 662 return false; | 662 return false; |
| 663 } | 663 } |
| 664 | 664 |
| 665 } // namespace WebCore | 665 } // namespace WebCore |
| OLD | NEW |