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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api.h

Issue 868673002: OOPIF: report both original and destination rfh in AboutToNavigateRenderFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 5 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 (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 // Defines the Chrome Extensions WebNavigation API functions for observing and 5 // Defines the Chrome Extensions WebNavigation API functions for observing and
6 // intercepting navigation events, as specified in the extension JSON API. 6 // intercepting navigation events, as specified in the extension JSON API.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_H_
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // content::NotificationObserver implementation. 49 // content::NotificationObserver implementation.
50 void Observe(int type, 50 void Observe(int type,
51 const content::NotificationSource& source, 51 const content::NotificationSource& source,
52 const content::NotificationDetails& details) override; 52 const content::NotificationDetails& details) override;
53 53
54 // content::WebContentsObserver implementation. 54 // content::WebContentsObserver implementation.
55 void RenderFrameDeleted(content::RenderFrameHost* render_frame_host) override; 55 void RenderFrameDeleted(content::RenderFrameHost* render_frame_host) override;
56 void RenderViewDeleted(content::RenderViewHost* render_view_host) override; 56 void RenderViewDeleted(content::RenderViewHost* render_view_host) override;
57 void AboutToNavigateRenderFrame( 57 void AboutToNavigateRenderFrame(
58 content::RenderFrameHost* render_frame_host) override; 58 content::RenderFrameHost* old_host,
59 content::RenderFrameHost* new_host) override;
59 void DidStartProvisionalLoadForFrame( 60 void DidStartProvisionalLoadForFrame(
60 content::RenderFrameHost* render_frame_host, 61 content::RenderFrameHost* render_frame_host,
61 const GURL& validated_url, 62 const GURL& validated_url,
62 bool is_error_page, 63 bool is_error_page,
63 bool is_iframe_srcdoc) override; 64 bool is_iframe_srcdoc) override;
64 void DidCommitProvisionalLoadForFrame( 65 void DidCommitProvisionalLoadForFrame(
65 content::RenderFrameHost* render_frame_host, 66 content::RenderFrameHost* render_frame_host,
66 const GURL& url, 67 const GURL& url,
67 ui::PageTransition transition_type) override; 68 ui::PageTransition transition_type) override;
68 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, 69 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 232
232 // Created lazily upon OnListenerAdded. 233 // Created lazily upon OnListenerAdded.
233 scoped_ptr<WebNavigationEventRouter> web_navigation_event_router_; 234 scoped_ptr<WebNavigationEventRouter> web_navigation_event_router_;
234 235
235 DISALLOW_COPY_AND_ASSIGN(WebNavigationAPI); 236 DISALLOW_COPY_AND_ASSIGN(WebNavigationAPI);
236 }; 237 };
237 238
238 } // namespace extensions 239 } // namespace extensions
239 240
240 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_H_ 241 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.cc ('k') | chrome/browser/extensions/api/web_navigation/web_navigation_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698