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