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

Side by Side Diff: ash/test/immersive_fullscreen_controller_test_api.cc

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move 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
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/immersive_context_ash.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/test/immersive_fullscreen_controller_test_api.h" 5 #include "ash/test/immersive_fullscreen_controller_test_api.h"
6 6
7 #include "ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h" 7 #include "ash/shared/immersive_fullscreen_controller.h"
8 #include "ash/wm/immersive_fullscreen_controller.h" 8 #include "ash/shared/immersive_fullscreen_controller_delegate.h"
9 #include "ui/aura/env.h" 9 #include "ui/aura/env.h"
10 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 ImmersiveFullscreenControllerTestApi::ImmersiveFullscreenControllerTestApi( 14 ImmersiveFullscreenControllerTestApi::ImmersiveFullscreenControllerTestApi(
15 ImmersiveFullscreenController* controller) 15 ImmersiveFullscreenController* controller)
16 : immersive_fullscreen_controller_(controller) {} 16 : immersive_fullscreen_controller_(controller) {}
17 17
18 ImmersiveFullscreenControllerTestApi::~ImmersiveFullscreenControllerTestApi() {} 18 ImmersiveFullscreenControllerTestApi::~ImmersiveFullscreenControllerTestApi() {}
(...skipping 11 matching lines...) Expand all
30 for (size_t i = 1; i < bounds_in_screen.size(); ++i) { 30 for (size_t i = 1; i < bounds_in_screen.size(); ++i) {
31 if (bounds_in_screen[i].bottom() > bottommost_in_screen) 31 if (bounds_in_screen[i].bottom() > bottommost_in_screen)
32 bottommost_in_screen = bounds_in_screen[i].bottom(); 32 bottommost_in_screen = bounds_in_screen[i].bottom();
33 } 33 }
34 gfx::Point cursor_pos(0, bottommost_in_screen + 10); 34 gfx::Point cursor_pos(0, bottommost_in_screen + 10);
35 aura::Env::GetInstance()->set_last_mouse_location(cursor_pos); 35 aura::Env::GetInstance()->set_last_mouse_location(cursor_pos);
36 immersive_fullscreen_controller_->UpdateLocatedEventRevealedLock(); 36 immersive_fullscreen_controller_->UpdateLocatedEventRevealedLock();
37 } 37 }
38 38
39 } // namespace ash 39 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/immersive_context_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698