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_LOCATION_BAR_VIEW_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_VIEW_IOS_H_ |
6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_VIEW_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_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 "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "components/omnibox/browser/omnibox_view.h" | 14 #include "components/omnibox/browser/omnibox_view.h" |
15 #include "ios/chrome/browser/ui/omnibox/web_omnibox_edit_controller.h" | 15 #include "ios/chrome/browser/ui/omnibox/web_omnibox_edit_controller.h" |
16 #include "ui/base/page_transition_types.h" | 16 #include "ui/base/page_transition_types.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
18 | 18 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 bool show_hint_text_; | 108 bool show_hint_text_; |
109 base::scoped_nsobject<UIButton> clear_text_button_; | 109 base::scoped_nsobject<UIButton> clear_text_button_; |
110 std::unique_ptr<OmniboxViewIOS> edit_view_; | 110 std::unique_ptr<OmniboxViewIOS> edit_view_; |
111 base::scoped_nsobject<OmniboxClearButtonBridge> clear_button_bridge_; | 111 base::scoped_nsobject<OmniboxClearButtonBridge> clear_button_bridge_; |
112 OmniboxTextFieldIOS* field_; | 112 OmniboxTextFieldIOS* field_; |
113 id<LocationBarDelegate> delegate_; | 113 id<LocationBarDelegate> delegate_; |
114 bool is_showing_placeholder_while_collapsed_; | 114 bool is_showing_placeholder_while_collapsed_; |
115 }; | 115 }; |
116 | 116 |
117 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_VIEW_IOS_H_ | 117 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_VIEW_IOS_H_ |
OLD | NEW |