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

Unified Diff: chrome/test/base/browser_with_test_window_test.h

Issue 280863002: Reduce creation of ViewsDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add widget includes for undef CreateWindow Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/browser_with_test_window_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/browser_with_test_window_test.h
diff --git a/chrome/test/base/browser_with_test_window_test.h b/chrome/test/base/browser_with_test_window_test.h
index 4c832f4c4a2eb0b326ac4de31330694c99d40bd2..9fa87d756ff09c7ce2e4520b43572175fd5bf344 100644
--- a/chrome/test/base/browser_with_test_window_test.h
+++ b/chrome/test/base/browser_with_test_window_test.h
@@ -157,13 +157,13 @@ class BrowserWithTestWindowTest : public testing::Test {
chrome::HostDesktopType host_desktop_type,
BrowserWindow* browser_window);
-#if defined(TOOLKIT_VIEWS)
+ private:
+#if !defined(OS_CHROMEOS) && defined(TOOLKIT_VIEWS)
// Creates the ViewsDelegate to use, may be overriden to create a different
// ViewsDelegate.
- virtual views::ViewsDelegate* CreateViewsDelegate();
+ views::ViewsDelegate* CreateViewsDelegate();
#endif
- private:
// We need to create a MessageLoop, otherwise a bunch of things fails.
content::TestBrowserThreadBundle thread_bundle_;
base::ShadowingAtExitManager at_exit_manager_;
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/browser_with_test_window_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698