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, | 51 bool is_error_page) override; |
52 bool is_iframe_srcdoc) override; | |
53 void DidCommitProvisionalLoadForFrame( | 52 void DidCommitProvisionalLoadForFrame( |
54 RenderFrameHost* render_frame_host, | 53 RenderFrameHost* render_frame_host, |
55 const GURL& url, | 54 const GURL& url, |
56 ui::PageTransition transition_type) override; | 55 ui::PageTransition transition_type) override; |
57 void DidFailProvisionalLoad(RenderFrameHost* render_frame_host, | 56 void DidFailProvisionalLoad(RenderFrameHost* render_frame_host, |
58 const GURL& validated_url, | 57 const GURL& validated_url, |
59 int error_code, | 58 int error_code, |
60 const base::string16& error_description, | 59 const base::string16& error_description, |
61 bool was_ignored_by_handler) override; | 60 bool was_ignored_by_handler) override; |
62 void DidNavigateMainFrame(const LoadCommittedDetails& details, | 61 void DidNavigateMainFrame(const LoadCommittedDetails& details, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 bool is_loading_; | 115 bool is_loading_; |
117 | 116 |
118 bool web_contents_destroyed_; | 117 bool web_contents_destroyed_; |
119 | 118 |
120 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); | 119 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); |
121 }; | 120 }; |
122 | 121 |
123 } // namespace content | 122 } // namespace content |
124 | 123 |
125 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ | 124 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ |
OLD | NEW |