| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 bool IsLoading() const override; | 217 bool IsLoading() const override; |
| 218 double GetLoadingProgress() const override; | 218 double GetLoadingProgress() const override; |
| 219 bool IsBeingDestroyed() const override; | 219 bool IsBeingDestroyed() const override; |
| 220 const GURL& GetVisibleURL() const override; | 220 const GURL& GetVisibleURL() const override; |
| 221 const GURL& GetLastCommittedURL() const override; | 221 const GURL& GetLastCommittedURL() const override; |
| 222 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; | 222 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; |
| 223 void ShowTransientContentView(CRWContentView* content_view) override; | 223 void ShowTransientContentView(CRWContentView* content_view) override; |
| 224 bool IsShowingWebInterstitial() const override; | 224 bool IsShowingWebInterstitial() const override; |
| 225 WebInterstitial* GetWebInterstitial() const override; | 225 WebInterstitial* GetWebInterstitial() const override; |
| 226 void OnPasswordInputShownOnHttp() override; | 226 void OnPasswordInputShownOnHttp() override; |
| 227 void OnCreditCardInputShownOnHttp() override; |
| 227 void AddScriptCommandCallback(const ScriptCommandCallback& callback, | 228 void AddScriptCommandCallback(const ScriptCommandCallback& callback, |
| 228 const std::string& command_prefix) override; | 229 const std::string& command_prefix) override; |
| 229 void RemoveScriptCommandCallback(const std::string& command_prefix) override; | 230 void RemoveScriptCommandCallback(const std::string& command_prefix) override; |
| 230 id<CRWWebViewProxy> GetWebViewProxy() const override; | 231 id<CRWWebViewProxy> GetWebViewProxy() const override; |
| 231 int DownloadImage(const GURL& url, | 232 int DownloadImage(const GURL& url, |
| 232 bool is_favicon, | 233 bool is_favicon, |
| 233 uint32_t max_bitmap_size, | 234 uint32_t max_bitmap_size, |
| 234 bool bypass_cache, | 235 bool bypass_cache, |
| 235 const ImageDownloadCallback& callback) override; | 236 const ImageDownloadCallback& callback) override; |
| 236 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; | 237 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 | 351 |
| 351 // Image Fetcher used to images. | 352 // Image Fetcher used to images. |
| 352 std::unique_ptr<ImageDataFetcher> image_fetcher_; | 353 std::unique_ptr<ImageDataFetcher> image_fetcher_; |
| 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 |