blob: 0ce27f7f5369b6a6f1c833c87702bd5fd18646de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/test/shelf_test_api.h"
#include "ash/shelf/shelf.h"
namespace ash {
namespace test {
ShelfTestAPI::ShelfTestAPI(Shelf* shelf)
: shelf_(shelf) {
}
ShelfTestAPI::~ShelfTestAPI() {
}
internal::ShelfView* ShelfTestAPI::shelf_view() {
return shelf_->shelf_view_;
}
void ShelfTestAPI::SetShelfDelegate(ShelfDelegate* delegate) {
shelf_->delegate_ = delegate;
}
} // namespace test
} // namespace ash
|