Disable Enhanced Bookmark on tablets
[chromium-blink-merge.git] / ash / test / shelf_test_api.h
blob7c353ab6b000f65f4a5c5338785bd894c0465300
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 #ifndef ASH_TEST_SHELF_TEST_API_H_
6 #define ASH_TEST_SHELF_TEST_API_H_
8 #include "base/basictypes.h"
10 namespace ash {
12 class Shelf;
13 class ShelfDelegate;
14 class ShelfView;
16 namespace test {
18 // Use the api in this class to access private members of Shelf.
19 class ShelfTestAPI {
20 public:
21 explicit ShelfTestAPI(Shelf* shelf);
23 ~ShelfTestAPI();
25 // An accessor for |shelf_view|.
26 ShelfView* shelf_view();
28 // Set ShelfDelegate.
29 void SetShelfDelegate(ShelfDelegate* delegate);
31 private:
32 Shelf* shelf_;
34 DISALLOW_COPY_AND_ASSIGN(ShelfTestAPI);
37 } // namespace test
38 } // namespace ash
40 #endif // ASH_TEST_SHELF_TEST_API_H_