| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 const base::string16& GetTitle() const override; | 236 const base::string16& GetTitle() const override; |
| 237 bool IsLoading() const override; | 237 bool IsLoading() const override; |
| 238 double GetLoadingProgress() const override; | 238 double GetLoadingProgress() const override; |
| 239 bool IsBeingDestroyed() const override; | 239 bool IsBeingDestroyed() const override; |
| 240 const GURL& GetVisibleURL() const override; | 240 const GURL& GetVisibleURL() const override; |
| 241 const GURL& GetLastCommittedURL() const override; | 241 const GURL& GetLastCommittedURL() const override; |
| 242 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; | 242 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; |
| 243 void ShowTransientContentView(CRWContentView* content_view) override; | 243 void ShowTransientContentView(CRWContentView* content_view) override; |
| 244 bool IsShowingWebInterstitial() const override; | 244 bool IsShowingWebInterstitial() const override; |
| 245 WebInterstitial* GetWebInterstitial() const override; | 245 WebInterstitial* GetWebInterstitial() const override; |
| 246 void OnPasswordInputShownOnHttp() override; |
| 246 void AddScriptCommandCallback(const ScriptCommandCallback& callback, | 247 void AddScriptCommandCallback(const ScriptCommandCallback& callback, |
| 247 const std::string& command_prefix) override; | 248 const std::string& command_prefix) override; |
| 248 void RemoveScriptCommandCallback(const std::string& command_prefix) override; | 249 void RemoveScriptCommandCallback(const std::string& command_prefix) override; |
| 249 id<CRWWebViewProxy> GetWebViewProxy() const override; | 250 id<CRWWebViewProxy> GetWebViewProxy() const override; |
| 250 int DownloadImage(const GURL& url, | 251 int DownloadImage(const GURL& url, |
| 251 bool is_favicon, | 252 bool is_favicon, |
| 252 uint32_t max_bitmap_size, | 253 uint32_t max_bitmap_size, |
| 253 bool bypass_cache, | 254 bool bypass_cache, |
| 254 const ImageDownloadCallback& callback) override; | 255 const ImageDownloadCallback& callback) override; |
| 255 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; | 256 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 | 369 |
| 369 // Mojo interface registry for this WebState. | 370 // Mojo interface registry for this WebState. |
| 370 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; | 371 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; |
| 371 | 372 |
| 372 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 373 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
| 373 }; | 374 }; |
| 374 | 375 |
| 375 } // namespace web | 376 } // namespace web |
| 376 | 377 |
| 377 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 378 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
| OLD | NEW |