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

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

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ash/test/shelf_test_api.h ('k') | ash/test/shelf_view_test_api.h » ('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/shelf_test_api.h" 5 #include "ash/test/shelf_test_api.h"
6 6
7 #include "ash/shelf/shelf.h" 7 #include "ash/shelf/shelf.h"
8 8
9 namespace ash { 9 namespace ash {
10 namespace test { 10 namespace test {
11 11
12 ShelfTestAPI::ShelfTestAPI(Shelf* shelf) 12 ShelfTestAPI::ShelfTestAPI(Shelf* shelf)
13 : shelf_(shelf) { 13 : shelf_(shelf) {
14 } 14 }
15 15
16 ShelfTestAPI::~ShelfTestAPI() { 16 ShelfTestAPI::~ShelfTestAPI() {
17 } 17 }
18 18
19 internal::ShelfView* ShelfTestAPI::shelf_view() { 19 ShelfView* ShelfTestAPI::shelf_view() { return shelf_->shelf_view_; }
20 return shelf_->shelf_view_;
21 }
22 20
23 void ShelfTestAPI::SetShelfDelegate(ShelfDelegate* delegate) { 21 void ShelfTestAPI::SetShelfDelegate(ShelfDelegate* delegate) {
24 shelf_->delegate_ = delegate; 22 shelf_->delegate_ = delegate;
25 } 23 }
26 24
27 } // namespace test 25 } // namespace test
28 } // namespace ash 26 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/shelf_test_api.h ('k') | ash/test/shelf_view_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698