| 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 IOS_CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_IOS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_IOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 bool IsSearchResultsPage() const override; | 38 bool IsSearchResultsPage() 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 14 matching lines...) Expand all Loading... |
| 73 | 73 |
| 74 private: | 74 private: |
| 75 WebOmniboxEditController* controller_; | 75 WebOmniboxEditController* controller_; |
| 76 ios::ChromeBrowserState* browser_state_; | 76 ios::ChromeBrowserState* browser_state_; |
| 77 AutocompleteSchemeClassifierImpl scheme_classifier_; | 77 AutocompleteSchemeClassifierImpl scheme_classifier_; |
| 78 | 78 |
| 79 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxClientIOS); | 79 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxClientIOS); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_IOS_H_ | 82 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_CLIENT_IOS_H_ |
| OLD | NEW |