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

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

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
« no previous file with comments | « chrome/test/base/in_process_browser_test.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) 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 private: 160 private:
161 class TestLocationBar : public LocationBar { 161 class TestLocationBar : public LocationBar {
162 public: 162 public:
163 TestLocationBar() : LocationBar(NULL) {} 163 TestLocationBar() : LocationBar(NULL) {}
164 virtual ~TestLocationBar() {} 164 virtual ~TestLocationBar() {}
165 165
166 // LocationBar: 166 // LocationBar:
167 virtual void ShowFirstRunBubble() OVERRIDE {} 167 virtual void ShowFirstRunBubble() OVERRIDE {}
168 virtual GURL GetDestinationURL() const OVERRIDE; 168 virtual GURL GetDestinationURL() const OVERRIDE;
169 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; 169 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE;
170 virtual content::PageTransition GetPageTransition() const OVERRIDE; 170 virtual ui::PageTransition GetPageTransition() const OVERRIDE;
171 virtual void AcceptInput() OVERRIDE {} 171 virtual void AcceptInput() OVERRIDE {}
172 virtual void FocusLocation(bool select_all) OVERRIDE {} 172 virtual void FocusLocation(bool select_all) OVERRIDE {}
173 virtual void FocusSearch() OVERRIDE {} 173 virtual void FocusSearch() OVERRIDE {}
174 virtual void UpdateContentSettingsIcons() OVERRIDE {} 174 virtual void UpdateContentSettingsIcons() OVERRIDE {}
175 virtual void UpdateManagePasswordsIconAndBubble() OVERRIDE {} 175 virtual void UpdateManagePasswordsIconAndBubble() OVERRIDE {}
176 virtual void UpdatePageActions() OVERRIDE {} 176 virtual void UpdatePageActions() OVERRIDE {}
177 virtual void InvalidatePageActions() OVERRIDE {} 177 virtual void InvalidatePageActions() OVERRIDE {}
178 virtual void UpdateBookmarkStarVisibility() OVERRIDE {} 178 virtual void UpdateBookmarkStarVisibility() OVERRIDE {}
179 virtual bool ShowPageActionPopup(const extensions::Extension* extension, 179 virtual bool ShowPageActionPopup(const extensions::Extension* extension,
180 bool grant_active_tab) OVERRIDE; 180 bool grant_active_tab) OVERRIDE;
(...skipping 16 matching lines...) Expand all
197 }; 197 };
198 198
199 namespace chrome { 199 namespace chrome {
200 200
201 // Helper that handle the lifetime of TestBrowserWindow instances. 201 // Helper that handle the lifetime of TestBrowserWindow instances.
202 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 202 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
203 203
204 } // namespace chrome 204 } // namespace chrome
205 205
206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698