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_POPUP_VIEW_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_VIEW_IOS_H_ |
6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_VIEW_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_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/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "components/omnibox/browser/omnibox_popup_view.h" | 14 #include "components/omnibox/browser/omnibox_popup_view.h" |
15 | 15 |
16 struct AutocompleteMatch; | 16 struct AutocompleteMatch; |
17 class OmniboxEditModel; | 17 class OmniboxEditModel; |
18 @class OmniboxPopupMaterialViewController; | 18 @class OmniboxPopupMaterialViewController; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 base::scoped_nsobject<UIView> popupView_; | 53 base::scoped_nsobject<UIView> popupView_; |
54 base::scoped_nsobject<OmniboxPopupMaterialViewController> popup_controller_; | 54 base::scoped_nsobject<OmniboxPopupMaterialViewController> popup_controller_; |
55 bool is_open_; | 55 bool is_open_; |
56 // Animate the appearance of the omnibox popup view. | 56 // Animate the appearance of the omnibox popup view. |
57 void AnimateDropdownExpansion(CGFloat parentHeight); | 57 void AnimateDropdownExpansion(CGFloat parentHeight); |
58 // Animate the disappearance of the omnibox popup view. | 58 // Animate the disappearance of the omnibox popup view. |
59 void AnimateDropdownCollapse(); | 59 void AnimateDropdownCollapse(); |
60 }; | 60 }; |
61 | 61 |
62 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_VIEW_IOS_H_ | 62 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_VIEW_IOS_H_ |
OLD | NEW |