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

Side by Side Diff: ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc

Issue 2860163005: chromeos: gets rid of wm_screen_util (Closed)
Patch Set: include Created 3 years, 7 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 (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/workspace/workspace_layout_manager.h" 5 #include "ash/wm/workspace/workspace_layout_manager.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/public/cpp/shell_window_ids.h" 10 #include "ash/public/cpp/shell_window_ids.h"
11 #include "ash/root_window_controller.h" 11 #include "ash/root_window_controller.h"
12 #include "ash/session/session_state_delegate.h" 12 #include "ash/session/session_state_delegate.h"
13 #include "ash/shelf/shelf_constants.h" 13 #include "ash/shelf/shelf_constants.h"
14 #include "ash/shelf/shelf_layout_manager.h" 14 #include "ash/shelf/shelf_layout_manager.h"
15 #include "ash/shelf/wm_shelf.h" 15 #include "ash/shelf/wm_shelf.h"
16 #include "ash/shell.h" 16 #include "ash/shell.h"
17 #include "ash/shell_observer.h" 17 #include "ash/shell_observer.h"
18 #include "ash/shell_port.h" 18 #include "ash/shell_port.h"
19 #include "ash/test/ash_test_base.h" 19 #include "ash/test/ash_test_base.h"
20 #include "ash/wm/fullscreen_window_finder.h" 20 #include "ash/wm/fullscreen_window_finder.h"
21 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h" 21 #include "ash/wm/maximize_mode/workspace_backdrop_delegate.h"
22 #include "ash/wm/window_state.h" 22 #include "ash/wm/window_state.h"
23 #include "ash/wm/window_util.h" 23 #include "ash/wm/window_util.h"
24 #include "ash/wm/wm_event.h" 24 #include "ash/wm/wm_event.h"
25 #include "ash/wm/wm_screen_util.h"
26 #include "ash/wm/workspace/workspace_window_resizer.h" 25 #include "ash/wm/workspace/workspace_window_resizer.h"
27 #include "ash/wm_window.h" 26 #include "ash/wm_window.h"
28 #include "base/command_line.h" 27 #include "base/command_line.h"
29 #include "ui/base/ui_base_switches.h" 28 #include "ui/base/ui_base_switches.h"
30 #include "ui/base/ui_base_types.h" 29 #include "ui/base/ui_base_types.h"
31 #include "ui/display/display.h" 30 #include "ui/display/display.h"
32 #include "ui/display/screen.h" 31 #include "ui/display/screen.h"
33 #include "ui/gfx/geometry/insets.h" 32 #include "ui/gfx/geometry/insets.h"
34 #include "ui/keyboard/keyboard_controller.h" 33 #include "ui/keyboard/keyboard_controller.h"
35 #include "ui/keyboard/keyboard_ui.h" 34 #include "ui/keyboard/keyboard_ui.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 changed_window_bounds.Offset(0, -shift); 192 changed_window_bounds.Offset(0, -shift);
194 // Window should be shifted up. 193 // Window should be shifted up.
195 EXPECT_EQ(changed_window_bounds, window->bounds()); 194 EXPECT_EQ(changed_window_bounds, window->bounds());
196 195
197 kb_controller->HideKeyboard( 196 kb_controller->HideKeyboard(
198 keyboard::KeyboardController::HIDE_REASON_AUTOMATIC); 197 keyboard::KeyboardController::HIDE_REASON_AUTOMATIC);
199 EXPECT_EQ(orig_window_bounds, window->bounds()); 198 EXPECT_EQ(orig_window_bounds, window->bounds());
200 } 199 }
201 200
202 } // namespace ash 201 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698