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

Side by Side Diff: chrome/test/test_browser_window.h

Issue 6260001: Cleanup: Remove unneeded chrome/browser/ui/browser.h usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector>
10
9 #include "chrome/browser/browser_window.h" 11 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/test/test_location_bar.h" 12 #include "chrome/test/test_location_bar.h"
12 13
13 // An implementation of BrowserWindow used for testing. TestBrowserWindow only 14 // An implementation of BrowserWindow used for testing. TestBrowserWindow only
14 // contains a valid LocationBar, all other getters return NULL. 15 // contains a valid LocationBar, all other getters return NULL.
15 // See BrowserWithTestWindowTest for an example of using this class. 16 // See BrowserWithTestWindowTest for an example of using this class.
16 class TestBrowserWindow : public BrowserWindow { 17 class TestBrowserWindow : public BrowserWindow {
17 public: 18 public:
18 explicit TestBrowserWindow(Browser* browser) {} 19 explicit TestBrowserWindow(Browser* browser) {}
19 virtual ~TestBrowserWindow() {} 20 virtual ~TestBrowserWindow() {}
20 21
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 protected: 123 protected:
123 virtual void DestroyBrowser() {} 124 virtual void DestroyBrowser() {}
124 125
125 private: 126 private:
126 TestLocationBar location_bar_; 127 TestLocationBar location_bar_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 129 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
129 }; 130 };
130 131
131 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 132 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698