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

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

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
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_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 5 #ifndef CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 15 matching lines...) Expand all
26 // AddTab(browser(), GURL("http://foo/1")); 26 // AddTab(browser(), GURL("http://foo/1"));
27 // NavigationController* controller = 27 // NavigationController* controller =
28 // browser()->GetTabContentsAt(0)->controller(); 28 // browser()->GetTabContentsAt(0)->controller();
29 // 29 //
30 // // Navigate somewhere else. 30 // // Navigate somewhere else.
31 // GURL url2("http://foo/2"); 31 // GURL url2("http://foo/2");
32 // NavigateAndCommit(controller, url2); 32 // NavigateAndCommit(controller, url2);
33 // 33 //
34 // // This is equivalent to the above, and lets you test pending navigations. 34 // // This is equivalent to the above, and lets you test pending navigations.
35 // browser()->OpenURL(GURL("http://foo/2"), GURL(), CURRENT_TAB, 35 // browser()->OpenURL(GURL("http://foo/2"), GURL(), CURRENT_TAB,
36 // PageTransition::TYPED); 36 // content::PAGE_TRANSITION_TYPED);
37 // CommitPendingLoadAsNewNavigation(controller, url2); 37 // CommitPendingLoadAsNewNavigation(controller, url2);
38 // 38 //
39 // Subclasses must invoke BrowserWithTestWindowTest::SetUp as it is responsible 39 // Subclasses must invoke BrowserWithTestWindowTest::SetUp as it is responsible
40 // for creating the various objects of this class. 40 // for creating the various objects of this class.
41 class BrowserWithTestWindowTest : public testing::Test { 41 class BrowserWithTestWindowTest : public testing::Test {
42 public: 42 public:
43 BrowserWithTestWindowTest(); 43 BrowserWithTestWindowTest();
44 virtual ~BrowserWithTestWindowTest(); 44 virtual ~BrowserWithTestWindowTest();
45 45
46 virtual void SetUp(); 46 virtual void SetUp();
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 scoped_ptr<TestBrowserWindow> window_; 103 scoped_ptr<TestBrowserWindow> window_;
104 scoped_ptr<Browser> browser_; 104 scoped_ptr<Browser> browser_;
105 105
106 MockRenderProcessHostFactory rph_factory_; 106 MockRenderProcessHostFactory rph_factory_;
107 TestRenderViewHostFactory rvh_factory_; 107 TestRenderViewHostFactory rvh_factory_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); 109 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest);
110 }; 110 };
111 111
112 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 112 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_classifier_delegate.cc ('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