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 "chrome/browser/views/frame/opaque_non_client_view.h" | 5 #include "chrome/browser/views/frame/opaque_non_client_view.h" |
6 | 6 |
7 #include "chrome/app/theme/theme_resources.h" | 7 #include "grit/theme_resources.h" |
8 #include "chrome/browser/views/frame/browser_view.h" | 8 #include "chrome/browser/views/frame/browser_view.h" |
9 #include "chrome/browser/views/tabs/tab_strip.h" | 9 #include "chrome/browser/views/tabs/tab_strip.h" |
10 #include "chrome/common/gfx/chrome_font.h" | 10 #include "chrome/common/gfx/chrome_font.h" |
11 #include "chrome/common/gfx/path.h" | 11 #include "chrome/common/gfx/path.h" |
12 #include "chrome/common/l10n_util.h" | 12 #include "chrome/common/l10n_util.h" |
13 #include "chrome/common/resource_bundle.h" | 13 #include "chrome/common/resource_bundle.h" |
14 #include "chrome/common/win_util.h" | 14 #include "chrome/common/win_util.h" |
15 #include "chrome/views/root_view.h" | 15 #include "chrome/views/root_view.h" |
16 #include "chrome/views/window_resources.h" | 16 #include "chrome/views/window_resources.h" |
17 #include "chromium_strings.h" | 17 #include "chromium_strings.h" |
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1074 } | 1074 } |
1075 | 1075 |
1076 // static | 1076 // static |
1077 void OpaqueNonClientView::InitAppWindowResources() { | 1077 void OpaqueNonClientView::InitAppWindowResources() { |
1078 static bool initialized = false; | 1078 static bool initialized = false; |
1079 if (!initialized) { | 1079 if (!initialized) { |
1080 title_font_ = win_util::GetWindowTitleFont(); | 1080 title_font_ = win_util::GetWindowTitleFont(); |
1081 initialized = true; | 1081 initialized = true; |
1082 } | 1082 } |
1083 } | 1083 } |
OLD | NEW |