| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/views/window/custom_frame_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "grit/ui_resources.h" | 10 #include "grit/ui_resources.h" |
| 11 #include "grit/ui_strings.h" | 11 #include "grit/ui_strings.h" |
| 12 #include "ui/base/hit_test.h" | 12 #include "ui/base/hit_test.h" |
| 13 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
| 14 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
| 15 #include "ui/gfx/canvas.h" | 15 #include "ui/gfx/canvas.h" |
| 16 #include "ui/gfx/font.h" | 16 #include "ui/gfx/font.h" |
| 17 #include "ui/gfx/path.h" | 17 #include "ui/gfx/path.h" |
| 18 #include "ui/views/window/client_view.h" |
| 19 #include "ui/views/window/window_resources.h" |
| 20 #include "ui/views/window/window_shape.h" |
| 18 #include "views/widget/widget_delegate.h" | 21 #include "views/widget/widget_delegate.h" |
| 19 #include "views/window/client_view.h" | |
| 20 #include "views/window/window_resources.h" | |
| 21 #include "views/window/window_shape.h" | |
| 22 | 22 |
| 23 #if defined(USE_AURA) | 23 #if defined(USE_AURA) |
| 24 #include "views/widget/native_widget_aura.h" | 24 #include "views/widget/native_widget_aura.h" |
| 25 #elif defined(OS_WIN) | 25 #elif defined(OS_WIN) |
| 26 #include "views/widget/native_widget_win.h" | 26 #include "views/widget/native_widget_win.h" |
| 27 #endif | 27 #endif |
| 28 | 28 |
| 29 namespace views { | 29 namespace views { |
| 30 | 30 |
| 31 // static | 31 // static |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 title_font_ = new gfx::Font(NativeWidgetWin::GetWindowTitleFont()); | 585 title_font_ = new gfx::Font(NativeWidgetWin::GetWindowTitleFont()); |
| 586 #elif defined(OS_LINUX) | 586 #elif defined(OS_LINUX) |
| 587 // TODO(ben): need to resolve what font this is. | 587 // TODO(ben): need to resolve what font this is. |
| 588 title_font_ = new gfx::Font(); | 588 title_font_ = new gfx::Font(); |
| 589 #endif | 589 #endif |
| 590 initialized = true; | 590 initialized = true; |
| 591 } | 591 } |
| 592 } | 592 } |
| 593 | 593 |
| 594 } // namespace views | 594 } // namespace views |
| OLD | NEW |