| 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 15 matching lines...) Expand all  Loading... | 
|   26 #include "core/rendering/RenderThemeChromiumWin.h" |   26 #include "core/rendering/RenderThemeChromiumWin.h" | 
|   27  |   27  | 
|   28 #include <windows.h> |   28 #include <windows.h> | 
|   29 #include <uxtheme.h> |   29 #include <uxtheme.h> | 
|   30 #include <vssym32.h> |   30 #include <vssym32.h> | 
|   31  |   31  | 
|   32 #include "CSSValueKeywords.h" |   32 #include "CSSValueKeywords.h" | 
|   33 #include "HTMLNames.h" |   33 #include "HTMLNames.h" | 
|   34 #include "core/html/HTMLMediaElement.h" |   34 #include "core/html/HTMLMediaElement.h" | 
|   35 #include "core/html/shadow/MediaControlElements.h" |   35 #include "core/html/shadow/MediaControlElements.h" | 
|   36 #include "core/platform/LayoutTestSupport.h" |  | 
|   37 #include "core/platform/ScrollbarTheme.h" |   36 #include "core/platform/ScrollbarTheme.h" | 
|   38 #include "core/platform/graphics/FontSelector.h" |   37 #include "core/platform/graphics/FontSelector.h" | 
|   39 #include "core/platform/graphics/GraphicsContext.h" |   38 #include "core/platform/graphics/GraphicsContext.h" | 
|   40 #include "core/platform/graphics/chromium/FontUtilsChromiumWin.h" |   39 #include "core/platform/graphics/chromium/FontUtilsChromiumWin.h" | 
|   41 #include "core/platform/graphics/chromium/TransparencyWin.h" |   40 #include "core/platform/graphics/chromium/TransparencyWin.h" | 
|   42 #include "core/platform/win/SystemInfo.h" |   41 #include "core/platform/win/SystemInfo.h" | 
|   43 #include "core/rendering/PaintInfo.h" |   42 #include "core/rendering/PaintInfo.h" | 
|   44 #include "core/rendering/RenderBox.h" |   43 #include "core/rendering/RenderBox.h" | 
|   45 #include "core/rendering/RenderProgress.h" |   44 #include "core/rendering/RenderProgress.h" | 
|   46 #include "core/rendering/RenderSlider.h" |   45 #include "core/rendering/RenderSlider.h" | 
 |   46 #include "platform/LayoutTestSupport.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  |  | 
|   54 // FIXME: This dependency should eventually be removed. |   53 // FIXME: This dependency should eventually be removed. | 
|   55 #include <skia/ext/skia_utils_win.h> |   54 #include <skia/ext/skia_utils_win.h> | 
|   56  |   55  | 
|   57 namespace WebCore { |   56 namespace WebCore { | 
|   58  |   57  | 
|   59 // The standard width for the menu list drop-down button when run under |   58 // 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. |   59 // layout test mode. Use the value that's currently captured in most baselines. | 
|   61 static const int kStandardMenuListButtonWidth = 17; |   60 static const int kStandardMenuListButtonWidth = 17; | 
|   62  |   61  | 
|   63 namespace { |   62 namespace { | 
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  656  |  655  | 
|  657 bool RenderThemeChromiumWin::shouldUseFallbackTheme(RenderStyle* style) const |  656 bool RenderThemeChromiumWin::shouldUseFallbackTheme(RenderStyle* style) const | 
|  658 { |  657 { | 
|  659     ControlPart part = style->appearance(); |  658     ControlPart part = style->appearance(); | 
|  660     if (part == CheckboxPart || part == RadioPart) |  659     if (part == CheckboxPart || part == RadioPart) | 
|  661         return style->effectiveZoom() != 1; |  660         return style->effectiveZoom() != 1; | 
|  662     return false; |  661     return false; | 
|  663 } |  662 } | 
|  664  |  663  | 
|  665 } // namespace WebCore |  664 } // namespace WebCore | 
| OLD | NEW |