Revert of Remove OneClickSigninHelper since it is no longer used. (patchset #5 id...
[chromium-blink-merge.git] / chrome / browser / ui / toolbar / test_toolbar_actions_bar_helper.h
blob7c9ce5dc8ec89ef8117a39b4dc4b7b246d44988b
1 // Copyright 2014 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 CHROME_BROWSER_UI_TOOLBAR_TEST_TOOLBAR_ACTIONS_BAR_HELPER_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_TEST_TOOLBAR_ACTIONS_BAR_HELPER_H_
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
11 class Browser;
12 class ToolbarActionsBar;
14 // A cross-platform container that creates and owns a ToolbarActionsBar and the
15 // corresponding view.
16 class TestToolbarActionsBarHelper {
17 public:
18 TestToolbarActionsBarHelper() {}
19 virtual ~TestToolbarActionsBarHelper() {}
21 // Creates and returns a TestToolbarActionsBarHelper. If |main_bar| is
22 // non-null, the created actions bar will be in overflow mode.
23 static scoped_ptr<TestToolbarActionsBarHelper> Create(
24 Browser* browser,
25 TestToolbarActionsBarHelper* main_bar);
27 virtual ToolbarActionsBar* GetToolbarActionsBar() = 0;
29 private:
30 DISALLOW_COPY_AND_ASSIGN(TestToolbarActionsBarHelper);
33 #endif // CHROME_BROWSER_UI_TOOLBAR_TEST_TOOLBAR_ACTIONS_BAR_HELPER_H_