OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/wm/frame_painter.h" | 5 #include "ash/wm/frame_painter.h" |
6 | 6 |
7 #include "ash/ash_constants.h" | 7 #include "ash/ash_constants.h" |
8 #include "ash/root_window_settings.h" | 8 #include "ash/root_window_settings.h" |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
11 #include "ash/test/ash_test_base.h" | 11 #include "ash/test/ash_test_base.h" |
| 12 #include "ash/wm/caption_buttons/frame_caption_button_container_view.h" |
12 #include "ash/wm/window_settings.h" | 13 #include "ash/wm/window_settings.h" |
13 #include "ash/wm/window_util.h" | 14 #include "ash/wm/window_util.h" |
14 #include "ash/wm/workspace/frame_caption_button_container_view.h" | |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
17 #include "grit/ash_resources.h" | 17 #include "grit/ash_resources.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 #include "ui/aura/client/aura_constants.h" | 19 #include "ui/aura/client/aura_constants.h" |
20 #include "ui/aura/root_window.h" | 20 #include "ui/aura/root_window.h" |
21 #include "ui/aura/window_observer.h" | 21 #include "ui/aura/window_observer.h" |
22 #include "ui/base/hit_test.h" | 22 #include "ui/base/hit_test.h" |
23 #include "ui/gfx/font.h" | 23 #include "ui/gfx/font.h" |
24 #include "ui/gfx/screen.h" | 24 #include "ui/gfx/screen.h" |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 FramePainterOwner* o2 = new FramePainterOwner(w2); | 654 FramePainterOwner* o2 = new FramePainterOwner(w2); |
655 FramePainter* p2 = o2->frame_painter(); | 655 FramePainter* p2 = o2->frame_painter(); |
656 w2->Show(); | 656 w2->Show(); |
657 EXPECT_FALSE(p1->UseSoloWindowHeader()); | 657 EXPECT_FALSE(p1->UseSoloWindowHeader()); |
658 EXPECT_FALSE(p2->UseSoloWindowHeader()); | 658 EXPECT_FALSE(p2->UseSoloWindowHeader()); |
659 | 659 |
660 // Exit with no resource release. They'll be released at shutdown. | 660 // Exit with no resource release. They'll be released at shutdown. |
661 } | 661 } |
662 | 662 |
663 } // namespace ash | 663 } // namespace ash |
OLD | NEW |