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

Side by Side Diff: ash/app_list/app_list_presenter_delegate_unittest.cc

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) Created 3 years, 6 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 <memory> 5 #include <memory>
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/public/cpp/shell_window_ids.h" 8 #include "ash/public/cpp/shell_window_ids.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
11 #include "ash/test/test_app_list_view_presenter_impl.h" 11 #include "ash/test/test_app_list_view_presenter_impl.h"
12 #include "ash/wm/window_util.h" 12 #include "ash/wm/window_util.h"
13 #include "ash/wm_window.h"
14 #include "base/command_line.h" 13 #include "base/command_line.h"
15 #include "base/macros.h" 14 #include "base/macros.h"
16 #include "base/test/scoped_feature_list.h" 15 #include "base/test/scoped_feature_list.h"
17 #include "ui/app_list/app_list_features.h" 16 #include "ui/app_list/app_list_features.h"
18 #include "ui/app_list/views/app_list_view.h" 17 #include "ui/app_list/views/app_list_view.h"
19 #include "ui/aura/test/test_windows.h" 18 #include "ui/aura/test/test_windows.h"
20 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
21 #include "ui/display/display.h" 20 #include "ui/display/display.h"
22 #include "ui/display/screen.h" 21 #include "ui/display/screen.h"
23 #include "ui/events/test/event_generator.h" 22 #include "ui/events/test/event_generator.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 180
182 app_list::AppListView* app_list = app_list_presenter_impl()->GetView(); 181 app_list::AppListView* app_list = app_list_presenter_impl()->GetView();
183 int app_list_view_top = 182 int app_list_view_top =
184 app_list->anchor_rect().y() - app_list->bounds().height() / 2; 183 app_list->anchor_rect().y() - app_list->bounds().height() / 2;
185 const int kMinimalAppListMargin = 10; 184 const int kMinimalAppListMargin = 10;
186 185
187 EXPECT_GE(app_list_view_top, kMinimalAppListMargin); 186 EXPECT_GE(app_list_view_top, kMinimalAppListMargin);
188 } 187 }
189 188
190 } // namespace ash 189 } // namespace ash
OLDNEW
« no previous file with comments | « ash/app_list/app_list_presenter_delegate.cc ('k') | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698