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_WEB_STATE_WEB_STATE_IMPL_H_ | 5 #ifndef IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 NavigationManager* GetNavigationManager() override; | 226 NavigationManager* GetNavigationManager() override; |
227 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; | 227 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; |
228 void ExecuteJavaScript(const base::string16& javascript) override; | 228 void ExecuteJavaScript(const base::string16& javascript) override; |
229 void ExecuteJavaScript(const base::string16& javascript, | 229 void ExecuteJavaScript(const base::string16& javascript, |
230 const JavaScriptResultCallback& callback) override; | 230 const JavaScriptResultCallback& callback) override; |
231 const std::string& GetContentLanguageHeader() const override; | 231 const std::string& GetContentLanguageHeader() const override; |
232 const std::string& GetContentsMimeType() const override; | 232 const std::string& GetContentsMimeType() const override; |
233 bool ContentIsHTML() const override; | 233 bool ContentIsHTML() const override; |
234 const base::string16& GetTitle() const override; | 234 const base::string16& GetTitle() const override; |
235 bool IsLoading() const override; | 235 bool IsLoading() const override; |
| 236 double GetLoadingProgress() const override; |
236 bool IsBeingDestroyed() const override; | 237 bool IsBeingDestroyed() const override; |
237 const GURL& GetVisibleURL() const override; | 238 const GURL& GetVisibleURL() const override; |
238 const GURL& GetLastCommittedURL() const override; | 239 const GURL& GetLastCommittedURL() const override; |
239 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; | 240 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; |
240 void ShowTransientContentView(CRWContentView* content_view) override; | 241 void ShowTransientContentView(CRWContentView* content_view) override; |
241 bool IsShowingWebInterstitial() const override; | 242 bool IsShowingWebInterstitial() const override; |
242 WebInterstitial* GetWebInterstitial() const override; | 243 WebInterstitial* GetWebInterstitial() const override; |
243 int GetCertGroupId() const override; | 244 int GetCertGroupId() const override; |
244 void AddScriptCommandCallback(const ScriptCommandCallback& callback, | 245 void AddScriptCommandCallback(const ScriptCommandCallback& callback, |
245 const std::string& command_prefix) override; | 246 const std::string& command_prefix) override; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // any WeakPtrs to WebStateImpl are invalidated before its member variable's | 351 // any WeakPtrs to WebStateImpl are invalidated before its member variable's |
351 // destructors are executed, rendering them invalid. | 352 // destructors are executed, rendering them invalid. |
352 base::WeakPtrFactory<WebState> weak_factory_; | 353 base::WeakPtrFactory<WebState> weak_factory_; |
353 | 354 |
354 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 355 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
355 }; | 356 }; |
356 | 357 |
357 } // namespace web | 358 } // namespace web |
358 | 359 |
359 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 360 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
OLD | NEW |