Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Side by Side Diff: ios/chrome/browser/infobars/infobar_container_ios.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_INFOBARS_INFOBAR_CONTAINER_IOS_H_ 5 #ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_IOS_H_
6 #define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_IOS_H_ 6 #define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_IOS_H_
7 7
8 #include "components/infobars/core/infobar_container.h" 8 #include "components/infobars/core/infobar_container.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 11
12 #include "base/mac/scoped_nsobject.h" 12 #include "base/mac/scoped_nsobject.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 14
15 @class InfoBarContainerView; 15 @class InfoBarContainerView;
16 class InfoBarIOS;
17 16
18 // IOS infobar container specialization, managing infobars visibility so 17 // IOS infobar container specialization, managing infobars visibility so
19 // that only the front most one is visible at any time. 18 // that only the front most one is visible at any time.
20 class InfoBarContainerIOS : public infobars::InfoBarContainer { 19 class InfoBarContainerIOS : public infobars::InfoBarContainer {
21 public: 20 public:
22 explicit InfoBarContainerIOS(infobars::InfoBarContainer::Delegate* delegate); 21 explicit InfoBarContainerIOS(infobars::InfoBarContainer::Delegate* delegate);
23 ~InfoBarContainerIOS() override; 22 ~InfoBarContainerIOS() override;
24 23
25 // Returns the UIView container. 24 // Returns the UIView container.
26 InfoBarContainerView* view(); 25 InfoBarContainerView* view();
(...skipping 12 matching lines...) Expand all
39 void PlatformSpecificInfoBarStateChanged(bool is_animating) override; 38 void PlatformSpecificInfoBarStateChanged(bool is_animating) override;
40 39
41 private: 40 private:
42 base::scoped_nsobject<InfoBarContainerView> container_view_; 41 base::scoped_nsobject<InfoBarContainerView> container_view_;
43 InfoBarContainer::Delegate* delegate_; 42 InfoBarContainer::Delegate* delegate_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerIOS); 44 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerIOS);
46 }; 45 };
47 46
48 #endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_IOS_H_ 47 #endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_IOS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/favicon/large_icon_cache.h ('k') | ios/chrome/browser/installation_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698