Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Side by Side Diff: ash/wm/custom_frame_view_ash_unittest.cc

Issue 23498031: Move code related to the window controls to ash/wm/caption_buttons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/custom_frame_view_ash.cc ('k') | ash/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/custom_frame_view_ash.h" 5 #include "ash/wm/custom_frame_view_ash.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/test/ash_test_base.h" 9 #include "ash/test/ash_test_base.h"
10 #include "ash/wm/maximize_bubble_controller.h" 10 #include "ash/wm/caption_buttons/frame_caption_button_container_view.h"
11 #include "ash/wm/caption_buttons/frame_maximize_button.h"
12 #include "ash/wm/caption_buttons/maximize_bubble_controller.h"
11 #include "ash/wm/property_util.h" 13 #include "ash/wm/property_util.h"
12 #include "ash/wm/window_util.h" 14 #include "ash/wm/window_util.h"
13 #include "ash/wm/workspace/frame_caption_button_container_view.h"
14 #include "ash/wm/workspace/frame_maximize_button.h"
15 #include "ash/wm/workspace/snap_sizer.h" 15 #include "ash/wm/workspace/snap_sizer.h"
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "ui/aura/client/aura_constants.h" 17 #include "ui/aura/client/aura_constants.h"
18 #include "ui/aura/client/focus_client.h" 18 #include "ui/aura/client/focus_client.h"
19 #include "ui/aura/test/event_generator.h" 19 #include "ui/aura/test/event_generator.h"
20 #include "ui/aura/root_window.h" 20 #include "ui/aura/root_window.h"
21 #include "ui/aura/window.h" 21 #include "ui/aura/window.h"
22 #include "ui/base/events/event_utils.h" 22 #include "ui/base/events/event_utils.h"
23 #include "ui/base/gestures/gesture_configuration.h" 23 #include "ui/base/gestures/gesture_configuration.h"
24 #include "ui/views/controls/button/image_button.h" 24 #include "ui/views/controls/button/image_button.h"
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 810
811 // Check that there was no size change. 811 // Check that there was no size change.
812 EXPECT_EQ(widget()->GetWindowBoundsInScreen().size().ToString(), 812 EXPECT_EQ(widget()->GetWindowBoundsInScreen().size().ToString(),
813 initial_bounds.size().ToString()); 813 initial_bounds.size().ToString());
814 // Check that there is no phantom window left open. 814 // Check that there is no phantom window left open.
815 EXPECT_FALSE(maximize_button->phantom_window_open()); 815 EXPECT_FALSE(maximize_button->phantom_window_open());
816 } 816 }
817 817
818 } // namespace test 818 } // namespace test
819 } // namespace ash 819 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/custom_frame_view_ash.cc ('k') | ash/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698