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

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

Issue 2922973004: [ObjC ARC] Converts ios/web/public/test/fakes:fakes to ARC. (Closed)
Patch Set: scoped_nsobject in .h Created 3 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
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 // Notifier for tests. 94 // Notifier for tests.
95 void OnPageLoaded(PageLoadCompletionStatus load_completion_status); 95 void OnPageLoaded(PageLoadCompletionStatus load_completion_status);
96 void OnNavigationStarted(NavigationContext* navigation_context); 96 void OnNavigationStarted(NavigationContext* navigation_context);
97 void OnRenderProcessGone(); 97 void OnRenderProcessGone();
98 98
99 private: 99 private:
100 BrowserState* browser_state_; 100 BrowserState* browser_state_;
101 bool web_usage_enabled_; 101 bool web_usage_enabled_;
102 bool is_loading_; 102 bool is_loading_;
103 base::scoped_nsobject<CRWContentView> transient_content_view_; 103 CRWContentView* transient_content_view_;
104 GURL url_; 104 GURL url_;
105 base::string16 title_; 105 base::string16 title_;
106 URLVerificationTrustLevel trust_level_; 106 URLVerificationTrustLevel trust_level_;
107 bool content_is_html_; 107 bool content_is_html_;
108 std::string mime_type_; 108 std::string mime_type_;
109 std::string content_language_; 109 std::string content_language_;
110 std::unique_ptr<NavigationManager> navigation_manager_; 110 std::unique_ptr<NavigationManager> navigation_manager_;
111 base::scoped_nsobject<UIView> view_; 111 UIView* view_;
112 112
113 // A list of observers notified when page state changes. Weak references. 113 // A list of observers notified when page state changes. Weak references.
114 base::ObserverList<WebStateObserver, true> observers_; 114 base::ObserverList<WebStateObserver, true> observers_;
115 }; 115 };
116 116
117 } // namespace web 117 } // namespace web
118 118
119 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_ 119 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/fakes/test_web_client.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