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

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

Issue 2945213002: [ios] Snapshot for WebState (Closed)
Patch Set: Address comments Created 3 years, 5 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/public/web_state/web_state.h ('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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool IsShowingWebInterstitial() const override; 201 bool IsShowingWebInterstitial() const override;
202 WebInterstitial* GetWebInterstitial() const override; 202 WebInterstitial* GetWebInterstitial() const override;
203 void OnPasswordInputShownOnHttp() override; 203 void OnPasswordInputShownOnHttp() override;
204 void OnCreditCardInputShownOnHttp() override; 204 void OnCreditCardInputShownOnHttp() override;
205 void AddScriptCommandCallback(const ScriptCommandCallback& callback, 205 void AddScriptCommandCallback(const ScriptCommandCallback& callback,
206 const std::string& command_prefix) override; 206 const std::string& command_prefix) override;
207 void RemoveScriptCommandCallback(const std::string& command_prefix) override; 207 void RemoveScriptCommandCallback(const std::string& command_prefix) override;
208 id<CRWWebViewProxy> GetWebViewProxy() const override; 208 id<CRWWebViewProxy> GetWebViewProxy() const override;
209 WebStateInterfaceProvider* GetWebStateInterfaceProvider() override; 209 WebStateInterfaceProvider* GetWebStateInterfaceProvider() override;
210 bool HasOpener() const override; 210 bool HasOpener() const override;
211 void TakeSnapshot(const SnapshotCallback& callback,
212 CGSize target_size) const override;
211 base::WeakPtr<WebState> AsWeakPtr() override; 213 base::WeakPtr<WebState> AsWeakPtr() override;
212 214
213 // Adds |interstitial|'s view to the web controller's content view. 215 // Adds |interstitial|'s view to the web controller's content view.
214 void ShowWebInterstitial(WebInterstitialImpl* interstitial); 216 void ShowWebInterstitial(WebInterstitialImpl* interstitial);
215 217
216 // Called to dismiss the currently-displayed transient content view. 218 // Called to dismiss the currently-displayed transient content view.
217 void ClearTransientContentView(); 219 void ClearTransientContentView();
218 220
219 // Notifies the delegate that the load progress was updated. 221 // Notifies the delegate that the load progress was updated.
220 void SendChangeLoadProgress(double progress); 222 void SendChangeLoadProgress(double progress);
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 350
349 // Mojo interface registry for this WebState. 351 // Mojo interface registry for this WebState.
350 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_; 352 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_;
351 353
352 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 354 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
353 }; 355 };
354 356
355 } // namespace web 357 } // namespace web
356 358
357 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 359 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/public/web_state/web_state.h ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698