Chromium Code Reviews| 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 CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ |
| 6 #define CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" | 10 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" |
| 11 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h" | 11 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h" |
| 12 #include "chrome/common/search/instant_types.h" | 12 #include "chrome/common/search/instant_types.h" |
| 13 #include "components/omnibox/browser/omnibox_client.h" | 13 #include "components/omnibox/browser/omnibox_client.h" |
| 14 | 14 |
| 15 class ChromeOmniboxEditController; | 15 class ChromeOmniboxEditController; |
| 16 class OmniboxEditController; | 16 class OmniboxEditController; |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace content { | |
| 20 class NavigationController; | |
|
Marc Treib
2016/08/03 10:22:41
unrelated - unused forward declaration
| |
| 21 } | |
| 22 | |
| 23 class ChromeOmniboxClient : public OmniboxClient { | 19 class ChromeOmniboxClient : public OmniboxClient { |
| 24 public: | 20 public: |
| 25 ChromeOmniboxClient(OmniboxEditController* controller, Profile* profile); | 21 ChromeOmniboxClient(OmniboxEditController* controller, Profile* profile); |
| 26 ~ChromeOmniboxClient() override; | 22 ~ChromeOmniboxClient() override; |
| 27 | 23 |
| 28 // OmniboxClient. | 24 // OmniboxClient. |
| 29 std::unique_ptr<AutocompleteProviderClient> CreateAutocompleteProviderClient() | 25 std::unique_ptr<AutocompleteProviderClient> CreateAutocompleteProviderClient() |
| 30 override; | 26 override; |
| 31 std::unique_ptr<OmniboxNavigationObserver> CreateOmniboxNavigationObserver( | 27 std::unique_ptr<OmniboxNavigationObserver> CreateOmniboxNavigationObserver( |
| 32 const base::string16& text, | 28 const base::string16& text, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 | 84 |
| 89 ChromeOmniboxEditController* controller_; | 85 ChromeOmniboxEditController* controller_; |
| 90 Profile* profile_; | 86 Profile* profile_; |
| 91 ChromeAutocompleteSchemeClassifier scheme_classifier_; | 87 ChromeAutocompleteSchemeClassifier scheme_classifier_; |
| 92 BitmapFetcherService::RequestId request_id_; | 88 BitmapFetcherService::RequestId request_id_; |
| 93 | 89 |
| 94 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxClient); | 90 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxClient); |
| 95 }; | 91 }; |
| 96 | 92 |
| 97 #endif // CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ | 93 #endif // CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ |
| OLD | NEW |