| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEB_STATE_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_H_ |
| 6 #define IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_H_ | 6 #define IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 13 #include "base/supports_user_data.h" | 15 #include "base/supports_user_data.h" |
| 14 #include "ios/web/public/referrer.h" | 16 #include "ios/web/public/referrer.h" |
| 15 #include "ios/web/public/web_state/url_verification_constants.h" | 17 #include "ios/web/public/web_state/url_verification_constants.h" |
| 16 #include "ios/web/public/web_view_type.h" | 18 #include "ios/web/public/web_view_type.h" |
| 17 #include "ui/base/page_transition_types.h" | 19 #include "ui/base/page_transition_types.h" |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 227 |
| 226 // Returns a WeakPtr<WebState> to the current WebState. Must remain private | 228 // Returns a WeakPtr<WebState> to the current WebState. Must remain private |
| 227 // and only call must be in WebStateWeakPtrFactory. Please consult that class | 229 // and only call must be in WebStateWeakPtrFactory. Please consult that class |
| 228 // for more details. Remove as part of http://crbug.com/556736. | 230 // for more details. Remove as part of http://crbug.com/556736. |
| 229 virtual base::WeakPtr<WebState> AsWeakPtr() = 0; | 231 virtual base::WeakPtr<WebState> AsWeakPtr() = 0; |
| 230 }; | 232 }; |
| 231 | 233 |
| 232 } // namespace web | 234 } // namespace web |
| 233 | 235 |
| 234 #endif // IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_H_ | 236 #endif // IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_H_ |
| OLD | NEW |