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.
5 #include "ash/test/shelf_test_api.h"
7 #include "ash/shelf/shelf.h"
12 ShelfTestAPI::ShelfTestAPI(Shelf
* shelf
)
16 ShelfTestAPI::~ShelfTestAPI() {
19 ShelfView
* ShelfTestAPI::shelf_view() { return shelf_
->shelf_view_
; }
21 void ShelfTestAPI::SetShelfDelegate(ShelfDelegate
* delegate
) {
22 shelf_
->delegate_
= delegate
;