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/gfx/canvas.h" | |
8 #include "app/gfx/font.h" | |
9 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
11 #include "app/theme_provider.h" | 9 #include "app/theme_provider.h" |
12 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
13 #include "app/win_util.h" | 11 #include "app/win_util.h" |
14 #include "base/win_util.h" | 12 #include "base/win_util.h" |
15 #endif | 13 #endif |
| 14 #include "gfx/canvas.h" |
| 15 #include "gfx/font.h" |
16 #include "gfx/path.h" | 16 #include "gfx/path.h" |
17 #include "grit/app_resources.h" | 17 #include "grit/app_resources.h" |
18 #include "grit/app_strings.h" | 18 #include "grit/app_strings.h" |
19 #include "views/window/client_view.h" | 19 #include "views/window/client_view.h" |
20 #if defined(OS_LINUX) | 20 #if defined(OS_LINUX) |
21 #include "views/window/hit_test.h" | 21 #include "views/window/hit_test.h" |
22 #endif | 22 #endif |
23 #include "views/window/window_delegate.h" | 23 #include "views/window/window_delegate.h" |
24 | 24 |
25 namespace views { | 25 namespace views { |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 title_font_ = new gfx::Font(win_util::GetWindowTitleFont()); | 574 title_font_ = new gfx::Font(win_util::GetWindowTitleFont()); |
575 #elif defined(OS_LINUX) | 575 #elif defined(OS_LINUX) |
576 // TODO(ben): need to resolve what font this is. | 576 // TODO(ben): need to resolve what font this is. |
577 title_font_ = new gfx::Font(); | 577 title_font_ = new gfx::Font(); |
578 #endif | 578 #endif |
579 initialized = true; | 579 initialized = true; |
580 } | 580 } |
581 } | 581 } |
582 | 582 |
583 } // namespace views | 583 } // namespace views |
OLD | NEW |