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

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

Issue 743773003: OOPIF: Data URLs are now rendered in the renderer that initiated the navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing android compile Created 6 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_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // function takes ownership of the provided message pointer. 264 // function takes ownership of the provided message pointer.
265 // 265 //
266 // If a cross-site request is in progress, we may be suspended while waiting 266 // If a cross-site request is in progress, we may be suspended while waiting
267 // for the onbeforeunload handler, so this function might buffer the message 267 // for the onbeforeunload handler, so this function might buffer the message
268 // rather than sending it. 268 // rather than sending it.
269 void Navigate(const FrameMsg_Navigate_Params& params); 269 void Navigate(const FrameMsg_Navigate_Params& params);
270 270
271 // Load the specified URL; this is a shortcut for Navigate(). 271 // Load the specified URL; this is a shortcut for Navigate().
272 void NavigateToURL(const GURL& url); 272 void NavigateToURL(const GURL& url);
273 273
274 // Treat this prospective navigation as thought it originated from the 274 // Treat this prospective navigation as though it originated from the frame.
275 // frame. Used, e.g., for a navigation request that originated from 275 // Used, e.g., for a navigation request that originated from a RemoteFrame.
276 // a RemoteFrame. 276 // |source_site_instance| is the SiteInstance of the frame that initiated the
277 void OpenURL(const FrameHostMsg_OpenURL_Params& params); 277 // navigation.
278 // TODO(creis): Remove this method and have RenderFrameProxyHost call
279 // RequestOpenURL with its FrameTreeNode.
280 void OpenURL(const FrameHostMsg_OpenURL_Params& params,
281 SiteInstance* source_site_instance);
278 282
279 // Stop the load in progress. 283 // Stop the load in progress.
280 void Stop(); 284 void Stop();
281 285
282 // Returns whether navigation messages are currently suspended for this 286 // Returns whether navigation messages are currently suspended for this
283 // RenderFrameHost. Only true during a cross-site navigation, while waiting 287 // RenderFrameHost. Only true during a cross-site navigation, while waiting
284 // for the onbeforeunload handler. 288 // for the onbeforeunload handler.
285 bool are_navigations_suspended() const { return navigations_suspended_; } 289 bool are_navigations_suspended() const { return navigations_suspended_; }
286 290
287 // Suspends (or unsuspends) any navigation messages from being sent from this 291 // Suspends (or unsuspends) any navigation messages from being sent from this
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 617
614 // NOTE: This must be the last member. 618 // NOTE: This must be the last member.
615 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 619 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
616 620
617 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 621 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
618 }; 622 };
619 623
620 } // namespace content 624 } // namespace content
621 625
622 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 626 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698