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

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

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/test_browser_window.h ('k') | chrome/test/base/ui_test_utils.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 #include "chrome/test/base/test_browser_window.h" 5 #include "chrome/test/base/test_browser_window.h"
6 6
7 #include "chrome/browser/ui/browser_list.h" 7 #include "chrome/browser/ui/browser_list.h"
8 #include "chrome/browser/ui/browser_list_observer.h" 8 #include "chrome/browser/ui/browser_list_observer.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 GURL TestBrowserWindow::TestLocationBar::GetDestinationURL() const { 55 GURL TestBrowserWindow::TestLocationBar::GetDestinationURL() const {
56 return GURL(); 56 return GURL();
57 } 57 }
58 58
59 WindowOpenDisposition 59 WindowOpenDisposition
60 TestBrowserWindow::TestLocationBar::GetWindowOpenDisposition() const { 60 TestBrowserWindow::TestLocationBar::GetWindowOpenDisposition() const {
61 return CURRENT_TAB; 61 return CURRENT_TAB;
62 } 62 }
63 63
64 content::PageTransition 64 ui::PageTransition
65 TestBrowserWindow::TestLocationBar::GetPageTransition() const { 65 TestBrowserWindow::TestLocationBar::GetPageTransition() const {
66 return content::PAGE_TRANSITION_LINK; 66 return ui::PAGE_TRANSITION_LINK;
67 } 67 }
68 68
69 bool TestBrowserWindow::TestLocationBar::ShowPageActionPopup( 69 bool TestBrowserWindow::TestLocationBar::ShowPageActionPopup(
70 const extensions::Extension* extension, bool grant_active_tab) { 70 const extensions::Extension* extension, bool grant_active_tab) {
71 return false; 71 return false;
72 } 72 }
73 73
74 const OmniboxView* TestBrowserWindow::TestLocationBar::GetOmniboxView() const { 74 const OmniboxView* TestBrowserWindow::TestLocationBar::GetOmniboxView() const {
75 return NULL; 75 return NULL;
76 } 76 }
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 217
218 int 218 int
219 TestBrowserWindow::GetRenderViewHeightInsetWithDetachedBookmarkBar() { 219 TestBrowserWindow::GetRenderViewHeightInsetWithDetachedBookmarkBar() {
220 return 0; 220 return 0;
221 } 221 }
222 222
223 void TestBrowserWindow::ExecuteExtensionCommand( 223 void TestBrowserWindow::ExecuteExtensionCommand(
224 const extensions::Extension* extension, 224 const extensions::Extension* extension,
225 const extensions::Command& command) {} 225 const extensions::Command& command) {}
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698