OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "views/window/custom_frame_view.h" | 5 #include "views/window/custom_frame_view.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
9 #include "app/theme_provider.h" | |
10 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
11 #include "app/win_util.h" | 10 #include "app/win_util.h" |
12 #include "base/win_util.h" | 11 #include "base/win_util.h" |
13 #endif | 12 #endif |
14 #include "gfx/canvas.h" | 13 #include "gfx/canvas.h" |
15 #include "gfx/font.h" | 14 #include "gfx/font.h" |
16 #include "gfx/path.h" | 15 #include "gfx/path.h" |
17 #include "grit/app_resources.h" | 16 #include "grit/app_resources.h" |
18 #include "grit/app_strings.h" | 17 #include "grit/app_strings.h" |
19 #include "views/window/client_view.h" | 18 #include "views/window/client_view.h" |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 title_font_ = new gfx::Font(win_util::GetWindowTitleFont()); | 570 title_font_ = new gfx::Font(win_util::GetWindowTitleFont()); |
572 #elif defined(OS_LINUX) | 571 #elif defined(OS_LINUX) |
573 // TODO(ben): need to resolve what font this is. | 572 // TODO(ben): need to resolve what font this is. |
574 title_font_ = new gfx::Font(); | 573 title_font_ = new gfx::Font(); |
575 #endif | 574 #endif |
576 initialized = true; | 575 initialized = true; |
577 } | 576 } |
578 } | 577 } |
579 | 578 |
580 } // namespace views | 579 } // namespace views |
OLD | NEW |