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

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

Issue 2666953003: [ios] Automatically fail any WebTest whose render process crashes. (Closed)
Patch Set: Fix comment. Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ 5 #ifndef IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_
6 #define IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ 6 #define IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 28 matching lines...) Expand all
39 39
40 // Forward to the registered observers. 40 // Forward to the registered observers.
41 void NavigationItemsPruned(WebState* web_state, size_t pruned_item_count); 41 void NavigationItemsPruned(WebState* web_state, size_t pruned_item_count);
42 void NavigationItemChanged(WebState* web_state); 42 void NavigationItemChanged(WebState* web_state);
43 void NavigationItemCommitted(WebState* web_state, 43 void NavigationItemCommitted(WebState* web_state,
44 const LoadCommittedDetails& load_details); 44 const LoadCommittedDetails& load_details);
45 void WebStateDidStartLoading(WebState* web_state); 45 void WebStateDidStartLoading(WebState* web_state);
46 void WebStateDidStopLoading(WebState* web_state); 46 void WebStateDidStopLoading(WebState* web_state);
47 void PageLoaded(WebState* web_state, 47 void PageLoaded(WebState* web_state,
48 PageLoadCompletionStatus load_completion_status); 48 PageLoadCompletionStatus load_completion_status);
49 void RenderProcessGone(WebState* web_state);
49 void WebStateDestroyed(WebState* web_state); 50 void WebStateDestroyed(WebState* web_state);
50 51
51 GlobalWebStateEventTracker(); 52 GlobalWebStateEventTracker();
52 ~GlobalWebStateEventTracker(); 53 ~GlobalWebStateEventTracker();
53 54
54 // List of observers currently registered with the tracker. 55 // List of observers currently registered with the tracker.
55 base::ObserverList<GlobalWebStateObserver, true> observer_list_; 56 base::ObserverList<GlobalWebStateObserver, true> observer_list_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(GlobalWebStateEventTracker); 58 DISALLOW_COPY_AND_ASSIGN(GlobalWebStateEventTracker);
58 }; 59 };
59 60
60 } // namespace web 61 } // namespace web
61 62
62 #endif // IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_ 63 #endif // IOS_WEB_WEB_STATE_GLOBAL_WEB_STATE_EVENT_TRACKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698