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

Side by Side Diff: content/public/test/test_navigation_observer.h

Issue 2541063002: Revert of Remove about:srcdoc url conversion. (Closed)
Patch Set: Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_
6 #define CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 WebContents* web_contents); 58 WebContents* web_contents);
59 void OnNavigationEntryCommitted( 59 void OnNavigationEntryCommitted(
60 TestWebContentsObserver* observer, 60 TestWebContentsObserver* observer,
61 WebContents* web_contents, 61 WebContents* web_contents,
62 const LoadCommittedDetails& load_details); 62 const LoadCommittedDetails& load_details);
63 void OnDidAttachInterstitialPage(WebContents* web_contents); 63 void OnDidAttachInterstitialPage(WebContents* web_contents);
64 void OnDidStartLoading(WebContents* web_contents); 64 void OnDidStartLoading(WebContents* web_contents);
65 void OnDidStopLoading(WebContents* web_contents); 65 void OnDidStopLoading(WebContents* web_contents);
66 void OnDidStartProvisionalLoad(RenderFrameHost* render_frame_host, 66 void OnDidStartProvisionalLoad(RenderFrameHost* render_frame_host,
67 const GURL& validated_url, 67 const GURL& validated_url,
68 bool is_error_page); 68 bool is_error_page,
69 bool is_iframe_srcdoc);
69 void OnDidFailProvisionalLoad(RenderFrameHost* render_frame_host, 70 void OnDidFailProvisionalLoad(RenderFrameHost* render_frame_host,
70 const GURL& validated_url, 71 const GURL& validated_url,
71 int error_code, 72 int error_code,
72 const base::string16& error_description); 73 const base::string16& error_description);
73 void OnDidCommitProvisionalLoadForFrame(RenderFrameHost* render_frame_host, 74 void OnDidCommitProvisionalLoadForFrame(RenderFrameHost* render_frame_host,
74 const GURL& url, 75 const GURL& url,
75 ui::PageTransition transition_type); 76 ui::PageTransition transition_type);
76 77
77 // If true the navigation has started. 78 // If true the navigation has started.
78 bool navigation_started_; 79 bool navigation_started_;
(...skipping 18 matching lines...) Expand all
97 98
98 // Living TestWebContentsObservers created by this observer. 99 // Living TestWebContentsObservers created by this observer.
99 std::set<std::unique_ptr<TestWebContentsObserver>> web_contents_observers_; 100 std::set<std::unique_ptr<TestWebContentsObserver>> web_contents_observers_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(TestNavigationObserver); 102 DISALLOW_COPY_AND_ASSIGN(TestNavigationObserver);
102 }; 103 };
103 104
104 } // namespace content 105 } // namespace content
105 106
106 #endif // CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ 107 #endif // CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/test/test_frame_navigation_observer.cc ('k') | content/public/test/test_navigation_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698