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

Side by Side Diff: chrome/browser/extensions/browser_action_test_util.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « chrome/browser/extensions/blacklist.h ('k') | chrome/browser/extensions/chrome_app_sorting.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_BROWSER_ACTION_TEST_UTIL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_BROWSER_ACTION_TEST_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_ACTION_TEST_UTIL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_ACTION_TEST_UTIL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
15 15
16 class Browser; 16 class Browser;
17 class ToolbarActionsBar; 17 class ToolbarActionsBar;
18 class ToolbarActionsBarDelegate;
19 18
20 namespace gfx { 19 namespace gfx {
21 class Image; 20 class Image;
22 class Rect;
23 class Size; 21 class Size;
24 } // namespace gfx 22 } // namespace gfx
25 23
26 // A class that creates and owns the platform-specific views for the browser 24 // A class that creates and owns the platform-specific views for the browser
27 // actions container. Specific implementations are in the .cc/.mm files. 25 // actions container. Specific implementations are in the .cc/.mm files.
28 class TestToolbarActionsBarHelper { 26 class TestToolbarActionsBarHelper {
29 public: 27 public:
30 virtual ~TestToolbarActionsBarHelper() {} 28 virtual ~TestToolbarActionsBarHelper() {}
31 }; 29 };
32 30
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 Browser* browser_; // weak 107 Browser* browser_; // weak
110 108
111 // Our test helper, which constructs and owns the views if we don't have a 109 // Our test helper, which constructs and owns the views if we don't have a
112 // real browser window, or if this is an overflow version. 110 // real browser window, or if this is an overflow version.
113 std::unique_ptr<TestToolbarActionsBarHelper> test_helper_; 111 std::unique_ptr<TestToolbarActionsBarHelper> test_helper_;
114 112
115 DISALLOW_COPY_AND_ASSIGN(BrowserActionTestUtil); 113 DISALLOW_COPY_AND_ASSIGN(BrowserActionTestUtil);
116 }; 114 };
117 115
118 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_ACTION_TEST_UTIL_H_ 116 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_ACTION_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/blacklist.h ('k') | chrome/browser/extensions/chrome_app_sorting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698