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

Side by Side Diff: ash/test/immersive_fullscreen_controller_test_api.h

Issue 2251213004: Moves ImmersiveFullscreenController::SetupForTest into test class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicit Created 4 years, 4 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_TEST_IMMERSIVE_FULLSCREEN_CONTROLLER_TEST_API_H_
6 #define ASH_TEST_IMMERSIVE_FULLSCREEN_CONTROLLER_TEST_API_H_
7
8 #include "base/macros.h"
9
10 namespace ash {
11
12 class ImmersiveFullscreenController;
13
14 // Use by tests to get at private state of ImmersiveFullscreenController.
msw 2016/08/18 22:59:34 nit: "Used" s/get at/access/
sky 2016/08/18 23:24:01 Done.
15 class ImmersiveFullscreenControllerTestApi {
16 public:
17 explicit ImmersiveFullscreenControllerTestApi(
18 ImmersiveFullscreenController* controller);
19 ~ImmersiveFullscreenControllerTestApi();
20
21 // Disables animations and moves the mouse so that it is not over the
22 // top-of-window views for the sake of testing.
23 void SetupForTest();
24
25 private:
26 ImmersiveFullscreenController* immersive_fullscreen_controller_;
27
28 DISALLOW_COPY_AND_ASSIGN(ImmersiveFullscreenControllerTestApi);
29 };
30
31 } // namespace ash
32
33 #endif // ASH_TEST_IMMERSIVE_FULLSCREEN_CONTROLLER_TEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698