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_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_ | 5 #ifndef IOS_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_ |
6 #define IOS_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_ | 6 #define IOS_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #import "base/ios/weak_nsobject.h" | 10 #import "base/ios/weak_nsobject.h" |
| 11 #include "base/macros.h" |
11 #include "ios/web/public/web_state/web_state_observer.h" | 12 #include "ios/web/public/web_state/web_state_observer.h" |
12 | 13 |
13 @class CRWWebController; | 14 @class CRWWebController; |
14 @protocol CRWWebControllerObserver; | 15 @protocol CRWWebControllerObserver; |
15 class GURL; | 16 class GURL; |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class DictionaryValue; | 19 class DictionaryValue; |
19 } | 20 } |
20 | 21 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 base::WeakNSProtocol<id<CRWWebControllerObserver>> web_controller_observer_; | 57 base::WeakNSProtocol<id<CRWWebControllerObserver>> web_controller_observer_; |
57 base::WeakNSObject<CRWWebController> web_controller_; | 58 base::WeakNSObject<CRWWebController> web_controller_; |
58 std::string script_command_callback_prefix_; | 59 std::string script_command_callback_prefix_; |
59 | 60 |
60 DISALLOW_COPY_AND_ASSIGN(WebControllerObserverBridge); | 61 DISALLOW_COPY_AND_ASSIGN(WebControllerObserverBridge); |
61 }; | 62 }; |
62 | 63 |
63 } // namespace web | 64 } // namespace web |
64 | 65 |
65 #endif // IOS_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_ | 66 #endif // IOS_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_ |
OLD | NEW |