OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/chrome_canvas.h" | 7 #include "app/gfx/chrome_canvas.h" |
8 #include "app/gfx/chrome_font.h" | 8 #include "app/gfx/chrome_font.h" |
9 #include "app/gfx/path.h" | 9 #include "app/gfx/path.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
| 12 #include "app/win_util.h" |
12 #include "base/win_util.h" | 13 #include "base/win_util.h" |
13 #include "chrome/common/win_util.h" | |
14 #endif | 14 #endif |
15 #include "grit/theme_resources.h" | 15 #include "grit/theme_resources.h" |
16 #include "views/window/client_view.h" | 16 #include "views/window/client_view.h" |
17 #if defined(OS_LINUX) | 17 #if defined(OS_LINUX) |
18 #include "views/window/hit_test.h" | 18 #include "views/window/hit_test.h" |
19 #endif | 19 #endif |
20 #include "views/window/window_delegate.h" | 20 #include "views/window/window_delegate.h" |
21 | 21 |
22 namespace views { | 22 namespace views { |
23 | 23 |
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 title_font_ = new ChromeFont(win_util::GetWindowTitleFont()); | 695 title_font_ = new ChromeFont(win_util::GetWindowTitleFont()); |
696 #elif defined(OS_LINUX) | 696 #elif defined(OS_LINUX) |
697 // TODO: need to resolve what font this is. | 697 // TODO: need to resolve what font this is. |
698 title_font_ = new ChromeFont(); | 698 title_font_ = new ChromeFont(); |
699 #endif | 699 #endif |
700 initialized = true; | 700 initialized = true; |
701 } | 701 } |
702 } | 702 } |
703 | 703 |
704 } // namespace views | 704 } // namespace views |
OLD | NEW |