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

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

Issue 2889413002: chromeos: nukes window_state_aura (Closed)
Patch Set: merge, remove include from windows and shuffle functions for declaration 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_event_handler.h" 5 #include "ash/wm/workspace/workspace_event_handler.h"
6 6
7 #include "ash/public/cpp/config.h" 7 #include "ash/public/cpp/config.h"
8 #include "ash/screen_util.h" 8 #include "ash/screen_util.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/workspace_controller_test_api.h" 11 #include "ash/test/workspace_controller_test_api.h"
12 #include "ash/wm/window_state.h" 12 #include "ash/wm/window_state.h"
13 #include "ash/wm/window_state_aura.h"
14 #include "ash/wm/window_util.h" 13 #include "ash/wm/window_util.h"
15 #include "ash/wm/wm_event.h" 14 #include "ash/wm/wm_event.h"
16 #include "ash/wm/workspace_controller.h" 15 #include "ash/wm/workspace_controller.h"
17 #include "base/threading/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
18 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 17 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
19 #include "ui/aura/client/aura_constants.h" 18 #include "ui/aura/client/aura_constants.h"
20 #include "ui/aura/test/test_window_delegate.h" 19 #include "ui/aura/test/test_window_delegate.h"
21 #include "ui/aura/window.h" 20 #include "ui/aura/window.h"
22 #include "ui/aura/window_tree_host.h" 21 #include "ui/aura/window_tree_host.h"
23 #include "ui/base/hit_test.h" 22 #include "ui/base/hit_test.h"
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 delegate.set_window_component(HTCAPTION); 543 delegate.set_window_component(HTCAPTION);
545 generator.PressRightButton(); 544 generator.PressRightButton();
546 generator.ReleaseRightButton(); 545 generator.ReleaseRightButton();
547 EXPECT_FALSE(window_state->IsMaximized()); 546 EXPECT_FALSE(window_state->IsMaximized());
548 ClickButtonWithFlags(&generator, ui::EF_LEFT_MOUSE_BUTTON, 547 ClickButtonWithFlags(&generator, ui::EF_LEFT_MOUSE_BUTTON,
549 ui::EF_IS_DOUBLE_CLICK); 548 ui::EF_IS_DOUBLE_CLICK);
550 EXPECT_FALSE(window_state->IsMaximized()); 549 EXPECT_FALSE(window_state->IsMaximized());
551 } 550 }
552 551
553 } // namespace ash 552 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/multi_window_resize_controller.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698