Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: chrome/browser/ui/toolbar/test_toolbar_actions_bar_helper.h

Issue 1104813005: [Extensions Toolbar] Refactor a few test classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_TOOLBAR_TEST_TOOLBAR_ACTIONS_BAR_HELPER_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_TEST_TOOLBAR_ACTIONS_BAR_HELPER_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10
11 class Browser;
12 class ToolbarActionsBar;
13
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() {}
20
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);
26
27 virtual ToolbarActionsBar* GetToolbarActionsBar() = 0;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(TestToolbarActionsBarHelper);
31 };
32
33 #endif // CHROME_BROWSER_UI_TOOLBAR_TEST_TOOLBAR_ACTIONS_BAR_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698