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

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

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: Patch for landing 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
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 12 matching lines...) Expand all
23 #include "ios/web/public/java_script_dialog_type.h" 23 #include "ios/web/public/java_script_dialog_type.h"
24 #import "ios/web/public/web_state/web_state.h" 24 #import "ios/web/public/web_state/web_state.h"
25 #import "ios/web/public/web_state/web_state_delegate.h" 25 #import "ios/web/public/web_state/web_state_delegate.h"
26 #include "url/gurl.h" 26 #include "url/gurl.h"
27 27
28 @class CRWSessionStorage; 28 @class CRWSessionStorage;
29 @class CRWWebController; 29 @class CRWWebController;
30 @protocol CRWWebViewProxy; 30 @protocol CRWWebViewProxy;
31 @class NSURLRequest; 31 @class NSURLRequest;
32 @class NSURLResponse; 32 @class NSURLResponse;
33 @protocol CRWWebViewNavigationProxy;
33 34
34 namespace net { 35 namespace net {
35 class HttpResponseHeaders; 36 class HttpResponseHeaders;
36 } 37 }
37 38
38 namespace web { 39 namespace web {
39 40
40 class BrowserState; 41 class BrowserState;
41 struct ContextMenuParams; 42 struct ContextMenuParams;
42 struct FaviconURL; 43 struct FaviconURL;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 void OnNavigationItemChanged() override; 263 void OnNavigationItemChanged() override;
263 void OnNavigationItemCommitted( 264 void OnNavigationItemCommitted(
264 const LoadCommittedDetails& load_details) override; 265 const LoadCommittedDetails& load_details) override;
265 266
266 // Updates the HTTP response headers for the main page using the headers 267 // Updates the HTTP response headers for the main page using the headers
267 // passed to the OnHttpResponseHeadersReceived() function below. 268 // passed to the OnHttpResponseHeadersReceived() function below.
268 // GetHttpResponseHeaders() can be used to get the headers. 269 // GetHttpResponseHeaders() can be used to get the headers.
269 void UpdateHttpResponseHeaders(const GURL& url); 270 void UpdateHttpResponseHeaders(const GURL& url);
270 271
271 WebState* GetWebState() override; 272 WebState* GetWebState() override;
273 id<CRWWebViewNavigationProxy> GetWebViewNavigationProxy() const override;
272 274
273 protected: 275 protected:
274 void AddObserver(WebStateObserver* observer) override; 276 void AddObserver(WebStateObserver* observer) override;
275 void RemoveObserver(WebStateObserver* observer) override; 277 void RemoveObserver(WebStateObserver* observer) override;
276 void AddPolicyDecider(WebStatePolicyDecider* decider) override; 278 void AddPolicyDecider(WebStatePolicyDecider* decider) override;
277 void RemovePolicyDecider(WebStatePolicyDecider* decider) override; 279 void RemovePolicyDecider(WebStatePolicyDecider* decider) override;
278 280
279 private: 281 private:
280 // The SessionStorageBuilder functions require access to private variables of 282 // The SessionStorageBuilder functions require access to private variables of
281 // WebStateImpl. 283 // WebStateImpl.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 352
351 // Mojo interface registry for this WebState. 353 // Mojo interface registry for this WebState.
352 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_; 354 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_;
353 355
354 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 356 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
355 }; 357 };
356 358
357 } // namespace web 359 } // namespace web
358 360
359 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 361 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_web_view_navigation_proxy.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