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

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

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void ExecuteExtensionCommand(const extensions::Extension* extension, 150 void ExecuteExtensionCommand(const extensions::Extension* extension,
151 const extensions::Command& command) override; 151 const extensions::Command& command) override;
152 ExclusiveAccessContext* GetExclusiveAccessContext() override; 152 ExclusiveAccessContext* GetExclusiveAccessContext() override;
153 153
154 protected: 154 protected:
155 void DestroyBrowser() override {} 155 void DestroyBrowser() override {}
156 156
157 private: 157 private:
158 class TestLocationBar : public LocationBar { 158 class TestLocationBar : public LocationBar {
159 public: 159 public:
160 TestLocationBar() : LocationBar(NULL) {} 160 TestLocationBar();
161 ~TestLocationBar() override {} 161 ~TestLocationBar() override {}
162 162
163 // LocationBar: 163 // LocationBar:
164 void ShowFirstRunBubble() override {} 164 void ShowFirstRunBubble() override {}
165 GURL GetDestinationURL() const override; 165 GURL GetDestinationURL() const override;
166 WindowOpenDisposition GetWindowOpenDisposition() const override; 166 WindowOpenDisposition GetWindowOpenDisposition() const override;
167 ui::PageTransition GetPageTransition() const override; 167 ui::PageTransition GetPageTransition() const override;
168 void AcceptInput() override {} 168 void AcceptInput() override {}
169 void FocusLocation(bool select_all) override {} 169 void FocusLocation(bool select_all) override {}
170 void FocusSearch() override {} 170 void FocusSearch() override {}
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 namespace chrome { 211 namespace chrome {
212 212
213 // Helper that handle the lifetime of TestBrowserWindow instances. 213 // Helper that handle the lifetime of TestBrowserWindow instances.
214 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( 214 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams(
215 Browser::CreateParams* params); 215 Browser::CreateParams* params);
216 216
217 } // namespace chrome 217 } // namespace chrome
218 218
219 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 219 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698