| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 bool IsLoading() const override; | 216 bool IsLoading() const override; |
| 217 double GetLoadingProgress() const override; | 217 double GetLoadingProgress() const override; |
| 218 bool IsBeingDestroyed() const override; | 218 bool IsBeingDestroyed() const override; |
| 219 const GURL& GetVisibleURL() const override; | 219 const GURL& GetVisibleURL() const override; |
| 220 const GURL& GetLastCommittedURL() const override; | 220 const GURL& GetLastCommittedURL() const override; |
| 221 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; | 221 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; |
| 222 void ShowTransientContentView(CRWContentView* content_view) override; | 222 void ShowTransientContentView(CRWContentView* content_view) override; |
| 223 bool IsShowingWebInterstitial() const override; | 223 bool IsShowingWebInterstitial() const override; |
| 224 WebInterstitial* GetWebInterstitial() const override; | 224 WebInterstitial* GetWebInterstitial() const override; |
| 225 void OnPasswordInputShownOnHttp() override; | 225 void OnPasswordInputShownOnHttp() override; |
| 226 void OnCreditCardInputShownOnHttp() override; |
| 226 void AddScriptCommandCallback(const ScriptCommandCallback& callback, | 227 void AddScriptCommandCallback(const ScriptCommandCallback& callback, |
| 227 const std::string& command_prefix) override; | 228 const std::string& command_prefix) override; |
| 228 void RemoveScriptCommandCallback(const std::string& command_prefix) override; | 229 void RemoveScriptCommandCallback(const std::string& command_prefix) override; |
| 229 id<CRWWebViewProxy> GetWebViewProxy() const override; | 230 id<CRWWebViewProxy> GetWebViewProxy() const override; |
| 230 int DownloadImage(const GURL& url, | 231 int DownloadImage(const GURL& url, |
| 231 bool is_favicon, | 232 bool is_favicon, |
| 232 uint32_t max_bitmap_size, | 233 uint32_t max_bitmap_size, |
| 233 bool bypass_cache, | 234 bool bypass_cache, |
| 234 const ImageDownloadCallback& callback) override; | 235 const ImageDownloadCallback& callback) override; |
| 235 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; | 236 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 354 |
| 354 // Image Fetcher used to images. | 355 // Image Fetcher used to images. |
| 355 std::unique_ptr<ImageDataFetcher> image_fetcher_; | 356 std::unique_ptr<ImageDataFetcher> image_fetcher_; |
| 356 | 357 |
| 357 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 358 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
| 358 }; | 359 }; |
| 359 | 360 |
| 360 } // namespace web | 361 } // namespace web |
| 361 | 362 |
| 362 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 363 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
| OLD | NEW |