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

Side by Side Diff: ash/test/material_design_controller_test_api.cc

Issue 2053113002: Replaced BackgroundAnimator with ShelfBackgroundAnimator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved ash/test/material_design_controller_test_api.(h|cc) to ash/common/material_design/test/. 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
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 #include "ash/test/material_design_controller_test_api.h"
6
7 namespace ash {
8 namespace test {
9
10 MaterialDesignControllerTestAPI::MaterialDesignControllerTestAPI(
11 MaterialDesignController::Mode mode)
12 : previous_mode_(MaterialDesignController::mode()) {
13 MaterialDesignController::SetMode(mode);
14 }
15
16 MaterialDesignControllerTestAPI::~MaterialDesignControllerTestAPI() {
17 MaterialDesignController::SetMode(previous_mode_);
18 }
19
20 // static
21 MaterialDesignController::Mode MaterialDesignControllerTestAPI::DefaultMode() {
22 return MaterialDesignController::DefaultMode();
23 }
24
25 // static
26 void MaterialDesignControllerTestAPI::Uninitialize() {
27 MaterialDesignController::Uninitialize();
28 }
29
30 } // namespace test
31 } // namespace ash
OLDNEW
« ash/system/tray/tray_background_view.cc ('K') | « ash/test/material_design_controller_test_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698