OLD | NEW |
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 Loading... |
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 Loading... |
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) {} |
OLD | NEW |