| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 const base::string16& GetTitle() const override; | 237 const base::string16& GetTitle() const override; |
| 238 bool IsLoading() const override; | 238 bool IsLoading() const override; |
| 239 double GetLoadingProgress() const override; | 239 double GetLoadingProgress() const override; |
| 240 bool IsBeingDestroyed() const override; | 240 bool IsBeingDestroyed() const override; |
| 241 const GURL& GetVisibleURL() const override; | 241 const GURL& GetVisibleURL() const override; |
| 242 const GURL& GetLastCommittedURL() const override; | 242 const GURL& GetLastCommittedURL() const override; |
| 243 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; | 243 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; |
| 244 void ShowTransientContentView(CRWContentView* content_view) override; | 244 void ShowTransientContentView(CRWContentView* content_view) override; |
| 245 bool IsShowingWebInterstitial() const override; | 245 bool IsShowingWebInterstitial() const override; |
| 246 WebInterstitial* GetWebInterstitial() const override; | 246 WebInterstitial* GetWebInterstitial() const override; |
| 247 void OnPasswordInputShownOnHttp() override; |
| 247 void AddScriptCommandCallback(const ScriptCommandCallback& callback, | 248 void AddScriptCommandCallback(const ScriptCommandCallback& callback, |
| 248 const std::string& command_prefix) override; | 249 const std::string& command_prefix) override; |
| 249 void RemoveScriptCommandCallback(const std::string& command_prefix) override; | 250 void RemoveScriptCommandCallback(const std::string& command_prefix) override; |
| 250 id<CRWWebViewProxy> GetWebViewProxy() const override; | 251 id<CRWWebViewProxy> GetWebViewProxy() const override; |
| 251 int DownloadImage(const GURL& url, | 252 int DownloadImage(const GURL& url, |
| 252 bool is_favicon, | 253 bool is_favicon, |
| 253 uint32_t max_bitmap_size, | 254 uint32_t max_bitmap_size, |
| 254 bool bypass_cache, | 255 bool bypass_cache, |
| 255 const ImageDownloadCallback& callback) override; | 256 const ImageDownloadCallback& callback) override; |
| 256 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; | 257 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 | 373 |
| 373 // Image Fetcher used to images. | 374 // Image Fetcher used to images. |
| 374 std::unique_ptr<ImageDataFetcher> image_fetcher_; | 375 std::unique_ptr<ImageDataFetcher> image_fetcher_; |
| 375 | 376 |
| 376 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 377 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
| 377 }; | 378 }; |
| 378 | 379 |
| 379 } // namespace web | 380 } // namespace web |
| 380 | 381 |
| 381 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 382 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
| OLD | NEW |