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 #ifndef CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ | 5 #ifndef CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ |
6 #define CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ | 6 #define CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "chrome/browser/ui/omnibox/location_bar.h" | 10 #include "chrome/browser/ui/omnibox/location_bar.h" |
11 #include "content/public/common/page_transition_types.h" | 11 #include "content/public/common/page_transition_types.h" |
12 #include "ui/base/window_open_disposition.h" | 12 #include "ui/base/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 virtual ~TestLocationBar(); | 17 virtual ~TestLocationBar(); |
18 | 18 |
19 void set_input_string(const string16& input_string) { | 19 void set_input_string(const string16& input_string) { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // interface. | 52 // interface. |
53 string16 input_string_; | 53 string16 input_string_; |
54 WindowOpenDisposition disposition_; | 54 WindowOpenDisposition disposition_; |
55 content::PageTransition transition_; | 55 content::PageTransition transition_; |
56 | 56 |
57 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); | 57 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); |
58 }; | 58 }; |
59 | 59 |
60 | 60 |
61 #endif // CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ | 61 #endif // CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ |
OLD | NEW |