| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TEST_LOCATION_BAR_H_ | 5 #ifndef CHROME_TEST_TEST_LOCATION_BAR_H_ |
| 6 #define CHROME_TEST_TEST_LOCATION_BAR_H_ | 6 #define CHROME_TEST_TEST_LOCATION_BAR_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/first_run.h" | 8 #include "chrome/browser/first_run.h" |
| 9 #include "chrome/browser/location_bar.h" | 9 #include "chrome/browser/location_bar.h" |
| 10 #include "chrome/common/page_transition_types.h" | 10 #include "chrome/common/page_transition_types.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 virtual void UpdatePageActions() {} | 41 virtual void UpdatePageActions() {} |
| 42 virtual void InvalidatePageActions() {} | 42 virtual void InvalidatePageActions() {} |
| 43 virtual void SaveStateToContents(TabContents* contents) {} | 43 virtual void SaveStateToContents(TabContents* contents) {} |
| 44 virtual void Revert() {} | 44 virtual void Revert() {} |
| 45 virtual const AutocompleteEditView* location_entry() const { | 45 virtual const AutocompleteEditView* location_entry() const { |
| 46 return NULL; | 46 return NULL; |
| 47 } | 47 } |
| 48 virtual AutocompleteEditView* location_entry() { | 48 virtual AutocompleteEditView* location_entry() { |
| 49 return NULL; | 49 return NULL; |
| 50 } | 50 } |
| 51 virtual void PushForceHidden() {} | |
| 52 virtual void PopForceHidden() {} | |
| 53 virtual LocationBarTesting* GetLocationBarForTesting() { | 51 virtual LocationBarTesting* GetLocationBarForTesting() { |
| 54 return NULL; | 52 return NULL; |
| 55 } | 53 } |
| 56 | 54 |
| 57 private: | 55 private: |
| 58 | 56 |
| 59 // Test-supplied values that will be returned through the LocationBar | 57 // Test-supplied values that will be returned through the LocationBar |
| 60 // interface. | 58 // interface. |
| 61 std::wstring input_string_; | 59 std::wstring input_string_; |
| 62 WindowOpenDisposition disposition_; | 60 WindowOpenDisposition disposition_; |
| 63 PageTransition::Type transition_; | 61 PageTransition::Type transition_; |
| 64 | 62 |
| 65 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); | 63 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); |
| 66 }; | 64 }; |
| 67 | 65 |
| 68 | 66 |
| 69 #endif // CHROME_TEST_TEST_LOCATION_BAR_H_ | 67 #endif // CHROME_TEST_TEST_LOCATION_BAR_H_ |
| OLD | NEW |