| 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" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 bool IsPasteAndGoEnabled() const override; | 38 bool IsPasteAndGoEnabled() const override; |
| 39 bool IsNewTabPage(const std::string& url) const override; | 39 bool IsNewTabPage(const std::string& url) const override; |
| 40 bool IsHomePage(const std::string& url) const override; | 40 bool IsHomePage(const std::string& url) const override; |
| 41 const SessionID& GetSessionID() const override; | 41 const SessionID& GetSessionID() const override; |
| 42 bookmarks::BookmarkModel* GetBookmarkModel() override; | 42 bookmarks::BookmarkModel* GetBookmarkModel() override; |
| 43 TemplateURLService* GetTemplateURLService() override; | 43 TemplateURLService* GetTemplateURLService() override; |
| 44 const AutocompleteSchemeClassifier& GetSchemeClassifier() const override; | 44 const AutocompleteSchemeClassifier& GetSchemeClassifier() const override; |
| 45 AutocompleteClassifier* GetAutocompleteClassifier() override; | 45 AutocompleteClassifier* GetAutocompleteClassifier() override; |
| 46 gfx::Image GetIconIfExtensionMatch( | 46 gfx::Image GetIconIfExtensionMatch( |
| 47 const AutocompleteMatch& match) const override; | 47 const AutocompleteMatch& match) const override; |
| 48 bool ProcessExtensionKeyword(TemplateURL* template_url, | 48 bool ProcessExtensionKeyword(const TemplateURL* template_url, |
| 49 const AutocompleteMatch& match, | 49 const AutocompleteMatch& match, |
| 50 WindowOpenDisposition disposition, | 50 WindowOpenDisposition disposition, |
| 51 OmniboxNavigationObserver* observer) override; | 51 OmniboxNavigationObserver* observer) override; |
| 52 void OnInputStateChanged() override; | 52 void OnInputStateChanged() override; |
| 53 void OnFocusChanged(OmniboxFocusState state, | 53 void OnFocusChanged(OmniboxFocusState state, |
| 54 OmniboxFocusChangeReason reason) override; | 54 OmniboxFocusChangeReason reason) override; |
| 55 void OnResultChanged(const AutocompleteResult& result, | 55 void OnResultChanged(const AutocompleteResult& result, |
| 56 bool default_match_changed, | 56 bool default_match_changed, |
| 57 const base::Callback<void(const SkBitmap& bitmap)>& | 57 const base::Callback<void(const SkBitmap& bitmap)>& |
| 58 on_bitmap_fetched) override; | 58 on_bitmap_fetched) override; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 84 | 84 |
| 85 ChromeOmniboxEditController* controller_; | 85 ChromeOmniboxEditController* controller_; |
| 86 Profile* profile_; | 86 Profile* profile_; |
| 87 ChromeAutocompleteSchemeClassifier scheme_classifier_; | 87 ChromeAutocompleteSchemeClassifier scheme_classifier_; |
| 88 BitmapFetcherService::RequestId request_id_; | 88 BitmapFetcherService::RequestId request_id_; |
| 89 | 89 |
| 90 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxClient); | 90 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxClient); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 #endif // CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ | 93 #endif // CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_H_ |
| OLD | NEW |