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

Side by Side Diff: ash/common/shelf/shelf_button_pressed_metric_tracker_unittest.cc

Issue 2293183002: ash: Remove ash::Shelf in favor of ash::WmShelf (Closed)
Patch Set: rebase again Created 4 years, 3 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/common/shelf/shelf.cc ('k') | ash/common/shelf/shelf_layout_manager.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 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/common/shelf/shelf_button_pressed_metric_tracker.h" 5 #include "ash/common/shelf/shelf_button_pressed_metric_tracker.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/shelf/wm_shelf.h" 9 #include "ash/common/shelf/wm_shelf.h"
10 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
11 #include "ash/test/shelf_button_pressed_metric_tracker_test_api.h" 11 #include "ash/test/shelf_button_pressed_metric_tracker_test_api.h"
12 #include "ash/test/shelf_test_api.h"
13 #include "ash/test/shelf_view_test_api.h" 12 #include "ash/test/shelf_view_test_api.h"
14 #include "base/macros.h" 13 #include "base/macros.h"
15 #include "base/test/histogram_tester.h" 14 #include "base/test/histogram_tester.h"
16 #include "base/test/simple_test_tick_clock.h" 15 #include "base/test/simple_test_tick_clock.h"
17 #include "base/test/user_action_tester.h" 16 #include "base/test/user_action_tester.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/events/event.h" 18 #include "ui/events/event.h"
20 #include "ui/views/controls/button/button.h" 19 #include "ui/views/controls/button/button.h"
21 20
22 namespace ash { 21 namespace ash {
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 287
289 histogram_tester.ExpectTotalCount( 288 histogram_tester.ExpectTotalCount(
290 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName, 1); 289 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName, 1);
291 histogram_tester.ExpectBucketCount( 290 histogram_tester.ExpectBucketCount(
292 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName, 291 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName,
293 kTimeDeltaInMilliseconds, 1); 292 kTimeDeltaInMilliseconds, 1);
294 } 293 }
295 294
296 } // namespace test 295 } // namespace test
297 } // namespace ash 296 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf.cc ('k') | ash/common/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698