OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CONTROLLER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CONTROLLER_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CONTROLLER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CONTROLLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "components/omnibox/browser/autocomplete_controller.h" | 12 #include "components/omnibox/browser/autocomplete_controller.h" |
13 #include "components/omnibox/browser/autocomplete_controller_delegate.h" | 13 #include "components/omnibox/browser/autocomplete_controller_delegate.h" |
14 #include "components/omnibox/browser/autocomplete_match.h" | 14 #include "components/omnibox/browser/autocomplete_match.h" |
15 | 15 |
16 class AUtocompleteInput; | 16 class AUtocompleteInput; |
17 struct AutocompleteMatch; | 17 struct AutocompleteMatch; |
18 class AutocompleteResult; | 18 class AutocompleteResult; |
19 class InstantController; | 19 class InstantController; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // but the ones specifically needed are unclear. We should therefore spend | 89 // but the ones specifically needed are unclear. We should therefore spend |
90 // some time to extract these fields and use a tighter structure here. | 90 // some time to extract these fields and use a tighter structure here. |
91 AutocompleteMatch current_match_; | 91 AutocompleteMatch current_match_; |
92 | 92 |
93 base::WeakPtrFactory<OmniboxController> weak_ptr_factory_; | 93 base::WeakPtrFactory<OmniboxController> weak_ptr_factory_; |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(OmniboxController); | 95 DISALLOW_COPY_AND_ASSIGN(OmniboxController); |
96 }; | 96 }; |
97 | 97 |
98 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CONTROLLER_H_ | 98 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CONTROLLER_H_ |
OLD | NEW |