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

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

Issue 2046063005: Added const getter for WebState's NavigationManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 NSString* GetRequestGroupID(); 217 NSString* GetRequestGroupID();
218 218
219 // WebState: 219 // WebState:
220 WebStateDelegate* GetDelegate() override; 220 WebStateDelegate* GetDelegate() override;
221 void SetDelegate(WebStateDelegate* delegate) override; 221 void SetDelegate(WebStateDelegate* delegate) override;
222 bool IsWebUsageEnabled() const override; 222 bool IsWebUsageEnabled() const override;
223 void SetWebUsageEnabled(bool enabled) override; 223 void SetWebUsageEnabled(bool enabled) override;
224 UIView* GetView() override; 224 UIView* GetView() override;
225 BrowserState* GetBrowserState() const override; 225 BrowserState* GetBrowserState() const override;
226 void OpenURL(const WebState::OpenURLParams& params) override; 226 void OpenURL(const WebState::OpenURLParams& params) override;
227 const NavigationManager* GetNavigationManager() const override;
227 NavigationManager* GetNavigationManager() override; 228 NavigationManager* GetNavigationManager() override;
228 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; 229 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override;
229 void ExecuteJavaScript(const base::string16& javascript) override; 230 void ExecuteJavaScript(const base::string16& javascript) override;
230 void ExecuteJavaScript(const base::string16& javascript, 231 void ExecuteJavaScript(const base::string16& javascript,
231 const JavaScriptResultCallback& callback) override; 232 const JavaScriptResultCallback& callback) override;
232 const std::string& GetContentLanguageHeader() const override; 233 const std::string& GetContentLanguageHeader() const override;
233 const std::string& GetContentsMimeType() const override; 234 const std::string& GetContentsMimeType() const override;
234 bool ContentIsHTML() const override; 235 bool ContentIsHTML() const override;
235 const base::string16& GetTitle() const override; 236 const base::string16& GetTitle() const override;
236 bool IsLoading() const override; 237 bool IsLoading() const override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 359
359 // Mojo interface registry for this WebState. 360 // Mojo interface registry for this WebState.
360 std::unique_ptr<shell::InterfaceRegistry> mojo_interface_registry_; 361 std::unique_ptr<shell::InterfaceRegistry> mojo_interface_registry_;
361 362
362 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 363 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
363 }; 364 };
364 365
365 } // namespace web 366 } // namespace web
366 367
367 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 368 #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