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

Side by Side Diff: ash/system/user/tray_user_unittest.cc

Issue 2000403003: [forbots] IWYU for ax_enums.h Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/system/user/button_from_view.cc ('k') | ash/system/user/user_card_view.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <vector> 5 #include <vector>
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/shelf/shelf_layout_manager.h" 8 #include "ash/shelf/shelf_layout_manager.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
11 #include "ash/system/tray/system_tray.h" 11 #include "ash/system/tray/system_tray.h"
12 #include "ash/system/tray/tray_constants.h" 12 #include "ash/system/tray/tray_constants.h"
13 #include "ash/system/user/tray_user.h" 13 #include "ash/system/user/tray_user.h"
14 #include "ash/system/user/tray_user_separator.h" 14 #include "ash/system/user/tray_user_separator.h"
15 #include "ash/system/user/user_view.h" 15 #include "ash/system/user/user_view.h"
16 #include "ash/test/ash_test_base.h" 16 #include "ash/test/ash_test_base.h"
17 #include "ash/test/test_session_state_delegate.h" 17 #include "ash/test/test_session_state_delegate.h"
18 #include "ash/test/test_shell_delegate.h" 18 #include "ash/test/test_shell_delegate.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #include "components/signin/core/account_id/account_id.h" 20 #include "components/signin/core/account_id/account_id.h"
21 #include "components/user_manager/user_info.h" 21 #include "components/user_manager/user_info.h"
22 #include "ui/accessibility/ax_enums.h"
22 #include "ui/accessibility/ax_view_state.h" 23 #include "ui/accessibility/ax_view_state.h"
23 #include "ui/events/test/event_generator.h" 24 #include "ui/events/test/event_generator.h"
24 #include "ui/gfx/animation/animation_container_element.h" 25 #include "ui/gfx/animation/animation_container_element.h"
25 #include "ui/views/view.h" 26 #include "ui/views/view.h"
26 #include "ui/views/widget/widget.h" 27 #include "ui/views/widget/widget.h"
27 28
28 namespace ash { 29 namespace ash {
29 30
30 class TrayUserTest : public ash::test::AshTestBase { 31 class TrayUserTest : public ash::test::AshTestBase {
31 public: 32 public:
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // Since the name is capitalized, the email should be different then the 269 // Since the name is capitalized, the email should be different then the
269 // user_id. 270 // user_id.
270 EXPECT_NE(active_user->GetAccountId().GetUserEmail(), 271 EXPECT_NE(active_user->GetAccountId().GetUserEmail(),
271 second_user->GetEmail()); 272 second_user->GetEmail());
272 tray()->CloseSystemBubble(); 273 tray()->CloseSystemBubble();
273 } 274 }
274 275
275 #endif 276 #endif
276 277
277 } // namespace ash 278 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/user/button_from_view.cc ('k') | ash/system/user/user_card_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698