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

Side by Side Diff: ios/web/public/test/fakes/test_web_state.h

Issue 1360993002: Moved NavigationManagerImpl serialization out of CRWSessionController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compilation fix after rebase Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_ 6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 20 matching lines...) Expand all
31 bool IsWebUsageEnabled() const override; 31 bool IsWebUsageEnabled() const override;
32 void SetWebUsageEnabled(bool enabled) override; 32 void SetWebUsageEnabled(bool enabled) override;
33 bool ShouldSuppressDialogs() const override; 33 bool ShouldSuppressDialogs() const override;
34 void SetShouldSuppressDialogs(bool should_suppress) override; 34 void SetShouldSuppressDialogs(bool should_suppress) override;
35 UIView* GetView() override; 35 UIView* GetView() override;
36 BrowserState* GetBrowserState() const override; 36 BrowserState* GetBrowserState() const override;
37 void OpenURL(const OpenURLParams& params) override {} 37 void OpenURL(const OpenURLParams& params) override {}
38 void Stop() override {} 38 void Stop() override {}
39 const NavigationManager* GetNavigationManager() const override; 39 const NavigationManager* GetNavigationManager() const override;
40 NavigationManager* GetNavigationManager() override; 40 NavigationManager* GetNavigationManager() override;
41 CRWNavigationManagerStorage* BuildSerializedNavigationManager() override;
41 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; 42 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override;
42 void ExecuteJavaScript(const base::string16& javascript) override; 43 void ExecuteJavaScript(const base::string16& javascript) override;
43 void ExecuteJavaScript(const base::string16& javascript, 44 void ExecuteJavaScript(const base::string16& javascript,
44 const JavaScriptResultCallback& callback) override; 45 const JavaScriptResultCallback& callback) override;
45 const std::string& GetContentsMimeType() const override; 46 const std::string& GetContentsMimeType() const override;
46 const std::string& GetContentLanguageHeader() const override; 47 const std::string& GetContentLanguageHeader() const override;
47 bool ContentIsHTML() const override; 48 bool ContentIsHTML() const override;
48 const base::string16& GetTitle() const override; 49 const base::string16& GetTitle() const override;
49 bool IsLoading() const override; 50 bool IsLoading() const override;
50 double GetLoadingProgress() const override; 51 double GetLoadingProgress() const override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 std::unique_ptr<NavigationManager> navigation_manager_; 102 std::unique_ptr<NavigationManager> navigation_manager_;
102 base::scoped_nsobject<UIView> view_; 103 base::scoped_nsobject<UIView> view_;
103 104
104 // A list of observers notified when page state changes. Weak references. 105 // A list of observers notified when page state changes. Weak references.
105 base::ObserverList<WebStateObserver, true> observers_; 106 base::ObserverList<WebStateObserver, true> observers_;
106 }; 107 };
107 108
108 } // namespace web 109 } // namespace web
109 110
110 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_ 111 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
OLDNEW
« no previous file with comments | « ios/web/public/crw_navigation_manager_storage.mm ('k') | ios/web/public/test/fakes/test_web_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698