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

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

Issue 7541001: Move more files from chrome/test to chrome/test/base, part #3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/test/base/run_all_unittests.cc ('k') | chrome/test/base/test_browser_window.cc » ('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) 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_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
13 #include "chrome/test/test_location_bar.h" 13 #include "chrome/test/base/test_location_bar.h"
14 14
15 // An implementation of BrowserWindow used for testing. TestBrowserWindow only 15 // An implementation of BrowserWindow used for testing. TestBrowserWindow only
16 // contains a valid LocationBar, all other getters return NULL. 16 // contains a valid LocationBar, all other getters return NULL.
17 // See BrowserWithTestWindowTest for an example of using this class. 17 // See BrowserWithTestWindowTest for an example of using this class.
18 class TestBrowserWindow : public BrowserWindow { 18 class TestBrowserWindow : public BrowserWindow {
19 public: 19 public:
20 explicit TestBrowserWindow(Browser* browser); 20 explicit TestBrowserWindow(Browser* browser);
21 virtual ~TestBrowserWindow(); 21 virtual ~TestBrowserWindow();
22 22
23 // BrowserWindow: 23 // BrowserWindow:
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 protected: 118 protected:
119 virtual void DestroyBrowser() OVERRIDE {} 119 virtual void DestroyBrowser() OVERRIDE {}
120 120
121 private: 121 private:
122 TestLocationBar location_bar_; 122 TestLocationBar location_bar_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 124 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
125 }; 125 };
126 126
127 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 127 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/test/base/run_all_unittests.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698