Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Side by Side Diff: ios/web/web_state/web_state_impl.h

Issue 1905393002: [ios] Added WebState::GetLoadingProgress web// API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing method Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 NavigationManager* GetNavigationManager() override; 226 NavigationManager* GetNavigationManager() override;
227 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; 227 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override;
228 void ExecuteJavaScript(const base::string16& javascript) override; 228 void ExecuteJavaScript(const base::string16& javascript) override;
229 void ExecuteJavaScript(const base::string16& javascript, 229 void ExecuteJavaScript(const base::string16& javascript,
230 const JavaScriptResultCallback& callback) override; 230 const JavaScriptResultCallback& callback) override;
231 const std::string& GetContentLanguageHeader() const override; 231 const std::string& GetContentLanguageHeader() const override;
232 const std::string& GetContentsMimeType() const override; 232 const std::string& GetContentsMimeType() const override;
233 bool ContentIsHTML() const override; 233 bool ContentIsHTML() const override;
234 const base::string16& GetTitle() const override; 234 const base::string16& GetTitle() const override;
235 bool IsLoading() const override; 235 bool IsLoading() const override;
236 double GetLoadingProgress() const override;
236 bool IsBeingDestroyed() const override; 237 bool IsBeingDestroyed() const override;
237 const GURL& GetVisibleURL() const override; 238 const GURL& GetVisibleURL() const override;
238 const GURL& GetLastCommittedURL() const override; 239 const GURL& GetLastCommittedURL() const override;
239 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; 240 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override;
240 void ShowTransientContentView(CRWContentView* content_view) override; 241 void ShowTransientContentView(CRWContentView* content_view) override;
241 bool IsShowingWebInterstitial() const override; 242 bool IsShowingWebInterstitial() const override;
242 WebInterstitial* GetWebInterstitial() const override; 243 WebInterstitial* GetWebInterstitial() const override;
243 int GetCertGroupId() const override; 244 int GetCertGroupId() const override;
244 void AddScriptCommandCallback(const ScriptCommandCallback& callback, 245 void AddScriptCommandCallback(const ScriptCommandCallback& callback,
245 const std::string& command_prefix) override; 246 const std::string& command_prefix) override;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // any WeakPtrs to WebStateImpl are invalidated before its member variable's 351 // any WeakPtrs to WebStateImpl are invalidated before its member variable's
351 // destructors are executed, rendering them invalid. 352 // destructors are executed, rendering them invalid.
352 base::WeakPtrFactory<WebState> weak_factory_; 353 base::WeakPtrFactory<WebState> weak_factory_;
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_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698