OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MANAGER_IMPL_H_ | 5 #ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_IMPL_H_ |
6 #define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_IMPL_H_ | 6 #define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_IMPL_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "components/infobars/core/infobar_manager.h" | 10 #include "components/infobars/core/infobar_manager.h" |
10 #include "ios/web/public/web_state/web_state_observer.h" | 11 #include "ios/web/public/web_state/web_state_observer.h" |
11 #include "ios/web/public/web_state/web_state_user_data.h" | 12 #include "ios/web/public/web_state/web_state_user_data.h" |
12 | 13 |
13 namespace infobars { | 14 namespace infobars { |
14 class InfoBar; | 15 class InfoBar; |
15 } | 16 } |
16 | 17 |
17 namespace web { | 18 namespace web { |
(...skipping 28 matching lines...) Expand all Loading... |
46 const web::LoadCommittedDetails& load_details) override; | 47 const web::LoadCommittedDetails& load_details) override; |
47 void WebStateDestroyed() override; | 48 void WebStateDestroyed() override; |
48 | 49 |
49 // Opens a URL according to the specified |disposition|. | 50 // Opens a URL according to the specified |disposition|. |
50 void OpenURL(const GURL& url, WindowOpenDisposition disposition) override; | 51 void OpenURL(const GURL& url, WindowOpenDisposition disposition) override; |
51 | 52 |
52 DISALLOW_COPY_AND_ASSIGN(InfoBarManagerImpl); | 53 DISALLOW_COPY_AND_ASSIGN(InfoBarManagerImpl); |
53 }; | 54 }; |
54 | 55 |
55 #endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_IMPL_H_ | 56 #endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_IMPL_H_ |
OLD | NEW |