| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/gfx/native_theme.h" | 5 #include "base/gfx/native_theme.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <uxtheme.h> | 8 #include <uxtheme.h> |
| 9 #include <vsstyle.h> | 9 #include <vsstyle.h> |
| 10 #include <vssym32.h> | 10 #include <vssym32.h> |
| 11 | 11 |
| 12 #include "base/gfx/bitmap_header.h" | 12 #include "base/gfx/gdi_util.h" |
| 13 #include "base/gfx/platform_canvas_win.h" | 13 #include "base/gfx/platform_canvas_win.h" |
| 14 #include "base/gfx/skia_utils.h" | 14 #include "base/gfx/skia_utils.h" |
| 15 #include "base/gfx/rect.h" | 15 #include "base/gfx/rect.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/scoped_handle.h" | 17 #include "base/scoped_handle.h" |
| 18 #include "skia/include/SkShader.h" | 18 #include "skia/include/SkShader.h" |
| 19 | 19 |
| 20 namespace gfx { | 20 namespace gfx { |
| 21 | 21 |
| 22 /* static */ | 22 /* static */ |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 break; | 594 break; |
| 595 default: | 595 default: |
| 596 NOTREACHED(); | 596 NOTREACHED(); |
| 597 } | 597 } |
| 598 theme_handles_[theme_name] = handle; | 598 theme_handles_[theme_name] = handle; |
| 599 return handle; | 599 return handle; |
| 600 } | 600 } |
| 601 | 601 |
| 602 } // namespace gfx | 602 } // namespace gfx |
| 603 | 603 |
| OLD | NEW |