OLD | NEW |
(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) |
| 13 : shelf_(shelf) { |
| 14 } |
| 15 |
| 16 ShelfTestAPI::~ShelfTestAPI() { |
| 17 } |
| 18 |
| 19 internal::ShelfView* ShelfTestAPI::shelf_view() { |
| 20 return shelf_->shelf_view_; |
| 21 } |
| 22 |
| 23 void ShelfTestAPI::SetShelfDelegate(ShelfDelegate* delegate) { |
| 24 shelf_->delegate_ = delegate; |
| 25 } |
| 26 |
| 27 } // namespace test |
| 28 } // namespace ash |
OLD | NEW |