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

Side by Side Diff: ash/shelf/shelf_view_unittest.cc

Issue 2625843002: Folds WmRootWindowController into RootWindowController (Closed)
Patch Set: Created 3 years, 11 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/common/shelf/shelf_view.h" 5 #include "ash/common/shelf/shelf_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "ash/common/shelf/app_list_button.h" 12 #include "ash/common/shelf/app_list_button.h"
13 #include "ash/common/shelf/overflow_bubble.h" 13 #include "ash/common/shelf/overflow_bubble.h"
14 #include "ash/common/shelf/overflow_bubble_view.h" 14 #include "ash/common/shelf/overflow_bubble_view.h"
15 #include "ash/common/shelf/overflow_button.h" 15 #include "ash/common/shelf/overflow_button.h"
16 #include "ash/common/shelf/shelf_button.h" 16 #include "ash/common/shelf/shelf_button.h"
17 #include "ash/common/shelf/shelf_constants.h" 17 #include "ash/common/shelf/shelf_constants.h"
18 #include "ash/common/shelf/shelf_menu_model.h" 18 #include "ash/common/shelf/shelf_menu_model.h"
19 #include "ash/common/shelf/shelf_model.h" 19 #include "ash/common/shelf/shelf_model.h"
20 #include "ash/common/shelf/shelf_tooltip_manager.h" 20 #include "ash/common/shelf/shelf_tooltip_manager.h"
21 #include "ash/common/shelf/shelf_widget.h" 21 #include "ash/common/shelf/shelf_widget.h"
22 #include "ash/common/shelf/wm_shelf.h" 22 #include "ash/common/shelf/wm_shelf.h"
23 #include "ash/common/shelf/wm_shelf_observer.h" 23 #include "ash/common/shelf/wm_shelf_observer.h"
24 #include "ash/common/system/web_notification/web_notification_tray.h" 24 #include "ash/common/system/web_notification/web_notification_tray.h"
25 #include "ash/common/test/material_design_controller_test_api.h" 25 #include "ash/common/test/material_design_controller_test_api.h"
26 #include "ash/common/test/test_shelf_delegate.h" 26 #include "ash/common/test/test_shelf_delegate.h"
27 #include "ash/common/test/test_shelf_item_delegate.h" 27 #include "ash/common/test/test_shelf_item_delegate.h"
28 #include "ash/common/test/test_system_tray_delegate.h" 28 #include "ash/common/test/test_system_tray_delegate.h"
29 #include "ash/common/wm_lookup.h" 29 #include "ash/common/wm_lookup.h"
30 #include "ash/common/wm_root_window_controller.h"
31 #include "ash/common/wm_shell.h" 30 #include "ash/common/wm_shell.h"
32 #include "ash/common/wm_window.h" 31 #include "ash/common/wm_window.h"
33 #include "ash/public/cpp/shell_window_ids.h" 32 #include "ash/public/cpp/shell_window_ids.h"
33 #include "ash/root_window_controller.h"
34 #include "ash/shell.h" 34 #include "ash/shell.h"
35 #include "ash/test/ash_test_base.h" 35 #include "ash/test/ash_test_base.h"
36 #include "ash/test/ash_test_helper.h" 36 #include "ash/test/ash_test_helper.h"
37 #include "ash/test/overflow_bubble_view_test_api.h" 37 #include "ash/test/overflow_bubble_view_test_api.h"
38 #include "ash/test/shelf_view_test_api.h" 38 #include "ash/test/shelf_view_test_api.h"
39 #include "ash/test/test_shell_delegate.h" 39 #include "ash/test/test_shell_delegate.h"
40 #include "base/i18n/rtl.h" 40 #include "base/i18n/rtl.h"
41 #include "base/macros.h" 41 #include "base/macros.h"
42 #include "base/memory/ptr_util.h" 42 #include "base/memory/ptr_util.h"
43 #include "base/run_loop.h" 43 #include "base/run_loop.h"
(...skipping 3008 matching lines...) Expand 10 before | Expand all | Expand 10 after
3052 EXPECT_EQ(views::InkDropState::ACTIVATED, 3052 EXPECT_EQ(views::InkDropState::ACTIVATED,
3053 overflow_button_ink_drop_->GetTargetInkDropState()); 3053 overflow_button_ink_drop_->GetTargetInkDropState());
3054 EXPECT_THAT(overflow_button_ink_drop_->GetAndResetRequestedStates(), 3054 EXPECT_THAT(overflow_button_ink_drop_->GetAndResetRequestedStates(),
3055 IsEmpty()); 3055 IsEmpty());
3056 3056
3057 ASSERT_TRUE(test_api_->IsShowingOverflowBubble()); 3057 ASSERT_TRUE(test_api_->IsShowingOverflowBubble());
3058 } 3058 }
3059 3059
3060 } // namespace test 3060 } // namespace test
3061 } // namespace ash 3061 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698