| 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 "chrome/views/window/custom_frame_view.h" | 5 #include "chrome/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/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
| 10 #include "base/win_util.h" | 11 #include "base/win_util.h" |
| 11 #include "chrome/common/gfx/path.h" | |
| 12 #include "chrome/common/win_util.h" | 12 #include "chrome/common/win_util.h" |
| 13 #include "chrome/views/window/client_view.h" | 13 #include "chrome/views/window/client_view.h" |
| 14 #include "chrome/views/window/window_delegate.h" | 14 #include "chrome/views/window/window_delegate.h" |
| 15 #include "grit/theme_resources.h" | 15 #include "grit/theme_resources.h" |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 | 18 |
| 19 // An enumeration of bitmap resources used by this window. | 19 // An enumeration of bitmap resources used by this window. |
| 20 enum { | 20 enum { |
| 21 FRAME_PART_BITMAP_FIRST = 0, // Must be first. | 21 FRAME_PART_BITMAP_FIRST = 0, // Must be first. |
| (...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 active_resources_ = new ActiveWindowResources; | 686 active_resources_ = new ActiveWindowResources; |
| 687 inactive_resources_ = new InactiveWindowResources; | 687 inactive_resources_ = new InactiveWindowResources; |
| 688 | 688 |
| 689 title_font_ = new ChromeFont(win_util::GetWindowTitleFont()); | 689 title_font_ = new ChromeFont(win_util::GetWindowTitleFont()); |
| 690 | 690 |
| 691 initialized = true; | 691 initialized = true; |
| 692 } | 692 } |
| 693 } | 693 } |
| 694 | 694 |
| 695 } // namespace views | 695 } // namespace views |
| OLD | NEW |