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

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

Issue 2645783002: Replaced webControllerWebProcessDidCrash: with RenderProcessGone. (Closed)
Patch Set: 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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Called when a navigation is committed. 88 // Called when a navigation is committed.
89 void OnNavigationCommitted(const GURL& url); 89 void OnNavigationCommitted(const GURL& url);
90 90
91 // Notifies the observers that the URL hash of the current page changed. 91 // Notifies the observers that the URL hash of the current page changed.
92 void OnUrlHashChanged(); 92 void OnUrlHashChanged();
93 93
94 // Notifies the observers that the history state of the current page changed. 94 // Notifies the observers that the history state of the current page changed.
95 void OnHistoryStateChanged(); 95 void OnHistoryStateChanged();
96 96
97 // Notifies the observers that the render process was terminated.
98 void OnRenderProcessGone();
99
97 // Called when a script command is received. 100 // Called when a script command is received.
98 // Returns true if the command was handled. 101 // Returns true if the command was handled.
99 bool OnScriptCommandReceived(const std::string& command, 102 bool OnScriptCommandReceived(const std::string& command,
100 const base::DictionaryValue& value, 103 const base::DictionaryValue& value,
101 const GURL& url, 104 const GURL& url,
102 bool user_is_interacting); 105 bool user_is_interacting);
103 106
104 void SetIsLoading(bool is_loading); 107 void SetIsLoading(bool is_loading);
105 108
106 // Called when a page is loaded. Must be called only once per page. 109 // Called when a page is loaded. Must be called only once per page.
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 375
373 // Image Fetcher used to images. 376 // Image Fetcher used to images.
374 std::unique_ptr<ImageDataFetcher> image_fetcher_; 377 std::unique_ptr<ImageDataFetcher> image_fetcher_;
375 378
376 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 379 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
377 }; 380 };
378 381
379 } // namespace web 382 } // namespace web
380 383
381 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 384 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller_unittest.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698