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

Side by Side Diff: content/browser/frame_host/navigator_delegate.h

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Rebase 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 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 CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/public/browser/invalidate_type.h" 10 #include "content/public/browser/invalidate_type.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Called when the navigation finished: it was either committed or canceled 43 // Called when the navigation finished: it was either committed or canceled
44 // before commit. Note that |navigation_handle| will be destroyed at the end 44 // before commit. Note that |navigation_handle| will be destroyed at the end
45 // of this call. 45 // of this call.
46 virtual void DidFinishNavigation(NavigationHandle* navigation_handle) {} 46 virtual void DidFinishNavigation(NavigationHandle* navigation_handle) {}
47 47
48 // TODO(clamy): all methods below that are related to navigation 48 // TODO(clamy): all methods below that are related to navigation
49 // events should go away in favor of the ones above. 49 // events should go away in favor of the ones above.
50 50
51 // The RenderFrameHost started a provisional load for the frame 51 // The RenderFrameHost started a provisional load for the frame
52 // represented by |render_frame_host|. 52 // represented by |render_frame_host|.
53 virtual void DidStartProvisionalLoad( 53 virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
54 RenderFrameHostImpl* render_frame_host, 54 const GURL& validated_url,
55 const GURL& validated_url, 55 bool is_error_page) {}
56 bool is_error_page,
57 bool is_iframe_srcdoc) {}
58 56
59 // A provisional load in |render_frame_host| failed. 57 // A provisional load in |render_frame_host| failed.
60 virtual void DidFailProvisionalLoadWithError( 58 virtual void DidFailProvisionalLoadWithError(
61 RenderFrameHostImpl* render_frame_host, 59 RenderFrameHostImpl* render_frame_host,
62 const GURL& validated_url, 60 const GURL& validated_url,
63 int error_code, 61 int error_code,
64 const base::string16& error_description, 62 const base::string16& error_description,
65 bool was_ignored_by_handler) {} 63 bool was_ignored_by_handler) {}
66 64
67 // Document load in |render_frame_host| failed. 65 // Document load in |render_frame_host| failed.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // wants to see passed to the corresponding URLRequest on the IO thread. 144 // wants to see passed to the corresponding URLRequest on the IO thread.
147 // In the case of a navigation to an interstitial, no call will be made to the 145 // In the case of a navigation to an interstitial, no call will be made to the
148 // embedder and |nullptr| is returned. 146 // embedder and |nullptr| is returned.
149 virtual std::unique_ptr<NavigationUIData> GetNavigationUIData( 147 virtual std::unique_ptr<NavigationUIData> GetNavigationUIData(
150 NavigationHandle* navigation_handle); 148 NavigationHandle* navigation_handle);
151 }; 149 };
152 150
153 } // namspace content 151 } // namspace content
154 152
155 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 153 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698