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

Side by Side Diff: ash/metrics/desktop_task_switch_metric_recorder_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/metrics/desktop_task_switch_metric_recorder.cc ('k') | ash/metrics/gesture_action_type.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/metrics/desktop_task_switch_metric_recorder.h" 5 #include "ash/metrics/desktop_task_switch_metric_recorder.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/common/wm_shell.h"
10 #include "ash/shell.h" 9 #include "ash/shell.h"
11 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
11 #include "ash/wm_shell.h"
12 #include "base/test/user_action_tester.h" 12 #include "base/test/user_action_tester.h"
13 #include "ui/aura/test/test_window_delegate.h" 13 #include "ui/aura/test/test_window_delegate.h"
14 #include "ui/aura/window.h" 14 #include "ui/aura/window.h"
15 #include "ui/compositor/layer_type.h" 15 #include "ui/compositor/layer_type.h"
16 #include "ui/events/test/event_generator.h" 16 #include "ui/events/test/event_generator.h"
17 #include "ui/wm/public/activation_client.h" 17 #include "ui/wm/public/activation_client.h"
18 #include "ui/wm/public/window_types.h" 18 #include "ui/wm/public/window_types.h"
19 19
20 using aura::client::ActivationChangeObserver; 20 using aura::client::ActivationChangeObserver;
21 21
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 CreatePositionableWindowInShellWithBounds(gfx::Rect(0, 0, 10, 10)); 342 CreatePositionableWindowInShellWithBounds(gfx::Rect(0, 0, 10, 10));
343 343
344 Shell::GetInstance()->activation_client()->ActivateWindow( 344 Shell::GetInstance()->activation_client()->ActivateWindow(
345 positionable_window); 345 positionable_window);
346 346
347 EXPECT_EQ(0, GetActionCount()); 347 EXPECT_EQ(0, GetActionCount());
348 } 348 }
349 349
350 } // namespace 350 } // namespace
351 } // namespace ash 351 } // namespace ash
OLDNEW
« no previous file with comments | « ash/metrics/desktop_task_switch_metric_recorder.cc ('k') | ash/metrics/gesture_action_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698