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

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

Issue 1877543002: Revise the shelf alignment locking mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update and cleanup tests. Created 4 years, 8 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/shelf_test_api.h ('k') | ash/wm/panels/attached_panel_window_targeter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ash/test/shelf_test_api.h"
6
7 #include "ash/shelf/shelf.h"
8
9 namespace ash {
10 namespace test {
11
12 ShelfTestAPI::ShelfTestAPI(Shelf* shelf) : shelf_(shelf) {}
13
14 ShelfTestAPI::~ShelfTestAPI() {}
15
16 ShelfView* ShelfTestAPI::shelf_view() { return shelf_->shelf_view_; }
17
18 void ShelfTestAPI::SetShelfDelegate(ShelfDelegate* delegate) {
19 shelf_->delegate_ = delegate;
20 }
21
22 } // namespace test
23 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/shelf_test_api.h ('k') | ash/wm/panels/attached_panel_window_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698