| 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 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "ChromiumBridge.h" | 30 #include "ChromiumBridge.h" |
| 31 #include "CSSValueKeywords.h" | 31 #include "CSSValueKeywords.h" |
| 32 #include "Document.h" | 32 #include "Document.h" |
| 33 #include "FontSelector.h" | 33 #include "FontSelector.h" |
| 34 #include "FontUtilsWin.h" | 34 #include "FontUtilsWin.h" |
| 35 #include "GraphicsContext.h" | 35 #include "GraphicsContext.h" |
| 36 #include "ScrollbarTheme.h" | 36 #include "ScrollbarTheme.h" |
| 37 #include "SkiaUtils.h" | 37 #include "SkiaUtils.h" |
| 38 #include "ThemeHelperWin.h" | 38 #include "ThemeHelperWin.h" |
| 39 | 39 |
| 40 // TODO(brettw) all of these dependencies should eventually be removed. |
| 40 #include "base/gfx/native_theme.h" | 41 #include "base/gfx/native_theme.h" |
| 41 #include "base/gfx/skia_utils.h" | |
| 42 #include "base/win_util.h" | 42 #include "base/win_util.h" |
| 43 #include "skia/ext/skia_utils_win.h" |
| 43 | 44 |
| 44 namespace { | 45 namespace { |
| 45 | 46 |
| 46 enum PaddingType { | 47 enum PaddingType { |
| 47 TopPadding, | 48 TopPadding, |
| 48 RightPadding, | 49 RightPadding, |
| 49 BottomPadding, | 50 BottomPadding, |
| 50 LeftPadding | 51 LeftPadding |
| 51 }; | 52 }; |
| 52 | 53 |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 // static | 609 // static |
| 609 void RenderThemeWin::setFindInPageMode(bool enable) { | 610 void RenderThemeWin::setFindInPageMode(bool enable) { |
| 610 if (m_findInPageMode == enable) | 611 if (m_findInPageMode == enable) |
| 611 return; | 612 return; |
| 612 | 613 |
| 613 m_findInPageMode = enable; | 614 m_findInPageMode = enable; |
| 614 theme()->platformColorsDidChange(); | 615 theme()->platformColorsDidChange(); |
| 615 } | 616 } |
| 616 | 617 |
| 617 } // namespace WebCore | 618 } // namespace WebCore |
| OLD | NEW |