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

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

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test 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
« no previous file with comments | « ash/wm/system_modal_container_layout_manager_unittest.cc ('k') | chrome/browser/ui/BUILD.gn » ('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/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"
13 #include "ash/shelf/shelf.h" 12 #include "ash/shelf/shelf.h"
14 #include "ash/shelf/shelf_constants.h" 13 #include "ash/shelf/shelf_constants.h"
15 #include "ash/shelf/shelf_layout_manager.h" 14 #include "ash/shelf/shelf_layout_manager.h"
16 #include "ash/shell.h" 15 #include "ash/shell.h"
17 #include "ash/shell_observer.h" 16 #include "ash/shell_observer.h"
18 #include "ash/shell_port.h" 17 #include "ash/shell_port.h"
19 #include "ash/test/ash_test_base.h" 18 #include "ash/test/ash_test_base.h"
20 #include "ash/wm/fullscreen_window_finder.h" 19 #include "ash/wm/fullscreen_window_finder.h"
21 #include "ash/wm/window_state.h" 20 #include "ash/wm/window_state.h"
22 #include "ash/wm/window_util.h" 21 #include "ash/wm/window_util.h"
(...skipping 170 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
« no previous file with comments | « ash/wm/system_modal_container_layout_manager_unittest.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698