OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_ANDROID_OMNIBOX_AUTOCOMPLETE_CONTROLLER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OMNIBOX_AUTOCOMPLETE_CONTROLLER_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_OMNIBOX_AUTOCOMPLETE_CONTROLLER_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_OMNIBOX_AUTOCOMPLETE_CONTROLLER_ANDROID_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
14 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" | 14 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" |
15 #include "components/autocomplete/autocomplete_input.h" | |
16 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 15 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 16 #include "components/keyed_service/core/keyed_service.h" |
18 #include "components/metrics/proto/omnibox_event.pb.h" | 17 #include "components/metrics/proto/omnibox_event.pb.h" |
| 18 #include "components/omnibox/autocomplete_input.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
21 #include "content/public/browser/notification_service.h" | 21 #include "content/public/browser/notification_service.h" |
22 | 22 |
23 class AutocompleteController; | 23 class AutocompleteController; |
24 struct AutocompleteMatch; | 24 struct AutocompleteMatch; |
25 class AutocompleteResult; | 25 class AutocompleteResult; |
26 class Profile; | 26 class Profile; |
27 class Tab; | 27 class Tab; |
28 | 28 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 JavaObjectWeakGlobalRef weak_java_autocomplete_controller_android_; | 147 JavaObjectWeakGlobalRef weak_java_autocomplete_controller_android_; |
148 Profile* profile_; | 148 Profile* profile_; |
149 | 149 |
150 DISALLOW_COPY_AND_ASSIGN(AutocompleteControllerAndroid); | 150 DISALLOW_COPY_AND_ASSIGN(AutocompleteControllerAndroid); |
151 }; | 151 }; |
152 | 152 |
153 // Registers the LocationBar native method. | 153 // Registers the LocationBar native method. |
154 bool RegisterAutocompleteControllerAndroid(JNIEnv* env); | 154 bool RegisterAutocompleteControllerAndroid(JNIEnv* env); |
155 | 155 |
156 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_AUTOCOMPLETE_CONTROLLER_ANDROID_H_ | 156 #endif // CHROME_BROWSER_ANDROID_OMNIBOX_AUTOCOMPLETE_CONTROLLER_ANDROID_H_ |
OLD | NEW |