OLD | NEW |
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 CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 5 #ifndef CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
6 #define CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 6 #define CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 RenderFrameHost* render_frame_host) override; | 41 RenderFrameHost* render_frame_host) override; |
42 void RenderFrameHostChanged(RenderFrameHost* old_host, | 42 void RenderFrameHostChanged(RenderFrameHost* old_host, |
43 RenderFrameHost* new_host) override; | 43 RenderFrameHost* new_host) override; |
44 void FrameDeleted(RenderFrameHost* render_frame_host) override; | 44 void FrameDeleted(RenderFrameHost* render_frame_host) override; |
45 void DidStartNavigation(NavigationHandle* navigation_handle) override; | 45 void DidStartNavigation(NavigationHandle* navigation_handle) override; |
46 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; | 46 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; |
47 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; | 47 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; |
48 void DidFinishNavigation(NavigationHandle* navigation_handle) override; | 48 void DidFinishNavigation(NavigationHandle* navigation_handle) override; |
49 void DidStartProvisionalLoadForFrame(RenderFrameHost* render_frame_host, | 49 void DidStartProvisionalLoadForFrame(RenderFrameHost* render_frame_host, |
50 const GURL& validated_url, | 50 const GURL& validated_url, |
51 bool is_error_page) override; | 51 bool is_error_page, |
| 52 bool is_iframe_srcdoc) override; |
52 void DidCommitProvisionalLoadForFrame( | 53 void DidCommitProvisionalLoadForFrame( |
53 RenderFrameHost* render_frame_host, | 54 RenderFrameHost* render_frame_host, |
54 const GURL& url, | 55 const GURL& url, |
55 ui::PageTransition transition_type) override; | 56 ui::PageTransition transition_type) override; |
56 void DidFailProvisionalLoad(RenderFrameHost* render_frame_host, | 57 void DidFailProvisionalLoad(RenderFrameHost* render_frame_host, |
57 const GURL& validated_url, | 58 const GURL& validated_url, |
58 int error_code, | 59 int error_code, |
59 const base::string16& error_description, | 60 const base::string16& error_description, |
60 bool was_ignored_by_handler) override; | 61 bool was_ignored_by_handler) override; |
61 void DidNavigateMainFrame(const LoadCommittedDetails& details, | 62 void DidNavigateMainFrame(const LoadCommittedDetails& details, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 bool is_loading_; | 116 bool is_loading_; |
116 | 117 |
117 bool web_contents_destroyed_; | 118 bool web_contents_destroyed_; |
118 | 119 |
119 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); | 120 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); |
120 }; | 121 }; |
121 | 122 |
122 } // namespace content | 123 } // namespace content |
123 | 124 |
124 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 125 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
OLD | NEW |