| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OMNIBOX_VIEW_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_IOS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_IOS_H_ |
| 7 | 7 |
| 8 #include <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/mac/scoped_nsobject.h" | 12 #include "base/mac/scoped_nsobject.h" |
| 13 #include "components/omnibox/browser/omnibox_view.h" | 13 #include "components/omnibox/browser/omnibox_view.h" |
| 14 #include "components/toolbar/toolbar_model.h" | 14 #include "components/toolbar/toolbar_model.h" |
| 15 #import "ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h" | 15 #import "ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h" |
| 16 | 16 |
| 17 struct AutocompleteMatch; | 17 struct AutocompleteMatch; |
| 18 class AutocompleteResult; | 18 class AutocompleteResult; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // ends up inadvertently triggering a new round of autocomplete. Fix the | 164 // ends up inadvertently triggering a new round of autocomplete. Fix the |
| 165 // underlying problem, which is that textDidChange: is called when closing the | 165 // underlying problem, which is that textDidChange: is called when closing the |
| 166 // popup, and then remove this hack. b/5877366. | 166 // popup, and then remove this hack. b/5877366. |
| 167 BOOL ignore_popup_updates_; | 167 BOOL ignore_popup_updates_; |
| 168 | 168 |
| 169 // Bridges delegate method calls from |field_| to C++ land. | 169 // Bridges delegate method calls from |field_| to C++ land. |
| 170 base::scoped_nsobject<AutocompleteTextFieldDelegate> field_delegate_; | 170 base::scoped_nsobject<AutocompleteTextFieldDelegate> field_delegate_; |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_IOS_H_ | 173 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_VIEW_IOS_H_ |
| OLD | NEW |