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

Side by Side Diff: ash/common/frame/caption_buttons/frame_caption_button_container_view_unittest.cc

Issue 2215223003: Moves most frame related classes to ash/common/frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/frame/caption_buttons/frame_caption_button_container_view.h" 5 #include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h "
6 6
7 #include "ash/common/ash_layout_constants.h" 7 #include "ash/common/ash_layout_constants.h"
8 #include "ash/common/frame/caption_buttons/frame_caption_button.h"
8 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" 9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
9 #include "ash/common/wm_shell.h" 10 #include "ash/common/wm_shell.h"
10 #include "ash/frame/caption_buttons/frame_caption_button.h"
11 #include "ash/shell.h"
12 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
13 #include "grit/ash_resources.h" 12 #include "grit/ash_resources.h"
14 #include "ui/gfx/geometry/rect.h" 13 #include "ui/gfx/geometry/rect.h"
15 #include "ui/gfx/vector_icons_public.h" 14 #include "ui/gfx/vector_icons_public.h"
16 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
17 #include "ui/views/widget/widget_delegate.h" 16 #include "ui/views/widget/widget_delegate.h"
18 17
19 namespace ash { 18 namespace ash {
20 19
21 namespace { 20 namespace {
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 EXPECT_TRUE(test.size_button()->visible()); 195 EXPECT_TRUE(test.size_button()->visible());
197 EXPECT_TRUE(test.close_button()->visible()); 196 EXPECT_TRUE(test.close_button()->visible());
198 EXPECT_EQ(initial_minimize_button_bounds, test.minimize_button()->bounds()); 197 EXPECT_EQ(initial_minimize_button_bounds, test.minimize_button()->bounds());
199 EXPECT_EQ(initial_size_button_bounds, test.size_button()->bounds()); 198 EXPECT_EQ(initial_size_button_bounds, test.size_button()->bounds());
200 EXPECT_EQ(initial_close_button_bounds, test.close_button()->bounds()); 199 EXPECT_EQ(initial_close_button_bounds, test.close_button()->bounds());
201 EXPECT_EQ(container.GetPreferredSize().width(), 200 EXPECT_EQ(container.GetPreferredSize().width(),
202 initial_container_bounds.width()); 201 initial_container_bounds.width());
203 } 202 }
204 203
205 } // namespace ash 204 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698