| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/first_run/first_run.h" | 9 #include "chrome/browser/first_run/first_run.h" |
| 10 #include "chrome/browser/location_bar.h" | 10 #include "chrome/browser/ui/omnibox/location_bar.h" |
| 11 #include "chrome/common/page_transition_types.h" | 11 #include "chrome/common/page_transition_types.h" |
| 12 #include "webkit/glue/window_open_disposition.h" | 12 #include "webkit/glue/window_open_disposition.h" |
| 13 | 13 |
| 14 class TestLocationBar : public LocationBar { | 14 class TestLocationBar : public LocationBar { |
| 15 public: | 15 public: |
| 16 TestLocationBar() | 16 TestLocationBar() |
| 17 : disposition_(CURRENT_TAB), | 17 : disposition_(CURRENT_TAB), |
| 18 transition_(PageTransition::LINK) { | 18 transition_(PageTransition::LINK) { |
| 19 } | 19 } |
| 20 | 20 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // interface. | 60 // interface. |
| 61 std::wstring input_string_; | 61 std::wstring input_string_; |
| 62 WindowOpenDisposition disposition_; | 62 WindowOpenDisposition disposition_; |
| 63 PageTransition::Type transition_; | 63 PageTransition::Type transition_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); | 65 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 | 68 |
| 69 #endif // CHROME_TEST_TEST_LOCATION_BAR_H_ | 69 #endif // CHROME_TEST_TEST_LOCATION_BAR_H_ |
| OLD | NEW |