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

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

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (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/test/test_session_state_delegate.cc ('k') | ash/test/test_shelf_item_delegate.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 "ash/test/test_shelf_delegate.h" 5 #include "ash/test/test_shelf_delegate.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/shell_observer.h"
10 #include "ash/common/wm_shell.h"
11 #include "ash/common/wm_window.h"
9 #include "ash/root_window_controller.h" 12 #include "ash/root_window_controller.h"
10 #include "ash/shelf/shelf_model.h" 13 #include "ash/shelf/shelf_model.h"
11 #include "ash/shelf/wm_shelf.h" 14 #include "ash/shelf/wm_shelf.h"
12 #include "ash/shell_observer.h"
13 #include "ash/test/test_shelf_item_delegate.h" 15 #include "ash/test/test_shelf_item_delegate.h"
14 #include "ash/wm/window_properties.h" 16 #include "ash/wm/window_properties.h"
15 #include "ash/wm_shell.h"
16 #include "ash/wm_window.h"
17 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
18 #include "ui/aura/window.h" 18 #include "ui/aura/window.h"
19 19
20 namespace ash { 20 namespace ash {
21 namespace test { 21 namespace test {
22 22
23 TestShelfDelegate* TestShelfDelegate::instance_ = nullptr; 23 TestShelfDelegate* TestShelfDelegate::instance_ = nullptr;
24 24
25 // A ShellObserver that sets the shelf alignment and auto hide behavior when the 25 // A ShellObserver that sets the shelf alignment and auto hide behavior when the
26 // shelf is created, to simulate ChromeLauncherController's behavior. 26 // shelf is created, to simulate ChromeLauncherController's behavior.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 const std::string& app_id) { 153 const std::string& app_id) {
154 shelf_id_to_app_id_map_[shelf_id] = app_id; 154 shelf_id_to_app_id_map_[shelf_id] = app_id;
155 } 155 }
156 156
157 void TestShelfDelegate::RemoveShelfIDToAppIDMapping(ShelfID shelf_id) { 157 void TestShelfDelegate::RemoveShelfIDToAppIDMapping(ShelfID shelf_id) {
158 shelf_id_to_app_id_map_.erase(shelf_id); 158 shelf_id_to_app_id_map_.erase(shelf_id);
159 } 159 }
160 160
161 } // namespace test 161 } // namespace test
162 } // namespace ash 162 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_session_state_delegate.cc ('k') | ash/test/test_shelf_item_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698