OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_WEB_PUBLIC_WEB_STATE_GLOBAL_WEB_STATE_OBSERVER_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_GLOBAL_WEB_STATE_OBSERVER_H_ |
6 #define IOS_WEB_PUBLIC_WEB_STATE_GLOBAL_WEB_STATE_OBSERVER_H_ | 6 #define IOS_WEB_PUBLIC_WEB_STATE_GLOBAL_WEB_STATE_OBSERVER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "ios/web/public/web_state/web_state_observer.h" | 11 #include "ios/web/public/web_state/web_state_observer.h" |
10 | 12 |
11 namespace web { | 13 namespace web { |
12 | 14 |
13 struct LoadCommittedDetails; | 15 struct LoadCommittedDetails; |
14 class WebState; | 16 class WebState; |
15 | 17 |
16 // An observer API implemented by classes that are interested in various | 18 // An observer API implemented by classes that are interested in various |
17 // WebState-related events from all WebStates. GlobalWebStateObservers will | 19 // WebState-related events from all WebStates. GlobalWebStateObservers will |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 GlobalWebStateObserver(); | 52 GlobalWebStateObserver(); |
51 virtual ~GlobalWebStateObserver(); | 53 virtual ~GlobalWebStateObserver(); |
52 | 54 |
53 private: | 55 private: |
54 DISALLOW_COPY_AND_ASSIGN(GlobalWebStateObserver); | 56 DISALLOW_COPY_AND_ASSIGN(GlobalWebStateObserver); |
55 }; | 57 }; |
56 | 58 |
57 } // namespace web | 59 } // namespace web |
58 | 60 |
59 #endif // IOS_WEB_PUBLIC_WEB_STATE_GLOBAL_WEB_STATE_OBSERVER_H_ | 61 #endif // IOS_WEB_PUBLIC_WEB_STATE_GLOBAL_WEB_STATE_OBSERVER_H_ |
OLD | NEW |