| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/test/test_location_bar.h" | |
| 6 | |
| 7 TestLocationBar::TestLocationBar() | |
| 8 : disposition_(CURRENT_TAB), | |
| 9 transition_(PageTransition::LINK) { | |
| 10 } | |
| 11 | |
| 12 TestLocationBar::~TestLocationBar() {} | |
| 13 | |
| 14 std::wstring TestLocationBar::GetInputString() const { | |
| 15 return input_string_; | |
| 16 } | |
| 17 | |
| 18 WindowOpenDisposition TestLocationBar::GetWindowOpenDisposition() const { | |
| 19 return disposition_; | |
| 20 } | |
| 21 | |
| 22 PageTransition::Type TestLocationBar::GetPageTransition() const { | |
| 23 return transition_; | |
| 24 } | |
| 25 | |
| 26 const OmniboxView* TestLocationBar::location_entry() const { | |
| 27 return NULL; | |
| 28 } | |
| 29 | |
| 30 OmniboxView* TestLocationBar::location_entry() { | |
| 31 return NULL; | |
| 32 } | |
| 33 | |
| 34 LocationBarTesting* TestLocationBar::GetLocationBarForTesting() { | |
| 35 return NULL; | |
| 36 } | |
| OLD | NEW |