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

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

Issue 1567903002: [Test - Do Not Commit] Stop blocking requests for new windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge onto #371523 Created 4 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 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 #include "content/browser/frame_host/render_frame_host_impl.h" 5 #include "content/browser/frame_host/render_frame_host_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 if (created) 771 if (created)
772 delegate_->RenderFrameCreated(this); 772 delegate_->RenderFrameCreated(this);
773 else 773 else
774 delegate_->RenderFrameDeleted(this); 774 delegate_->RenderFrameDeleted(this);
775 } 775 }
776 776
777 if (created && render_widget_host_) 777 if (created && render_widget_host_)
778 render_widget_host_->InitForFrame(); 778 render_widget_host_->InitForFrame();
779 } 779 }
780 780
781 void RenderFrameHostImpl::Init() {
782 // TODO(csharrison): Call GetProcess()->ResumeRequestsForFrame(routing_id_)
783 // once ResourceDispatcherHostImpl is keyed on render frame routing ids
784 // instead of render view routing ids.
785 }
786
787 void RenderFrameHostImpl::OnAddMessageToConsole( 781 void RenderFrameHostImpl::OnAddMessageToConsole(
788 int32_t level, 782 int32_t level,
789 const base::string16& message, 783 const base::string16& message,
790 int32_t line_no, 784 int32_t line_no,
791 const base::string16& source_id) { 785 const base::string16& source_id) {
792 if (delegate_->AddMessageToConsole(level, message, line_no, source_id)) 786 if (delegate_->AddMessageToConsole(level, message, line_no, source_id))
793 return; 787 return;
794 788
795 // Pass through log level only on WebUI pages to limit console spew. 789 // Pass through log level only on WebUI pages to limit console spew.
796 const bool is_web_ui = 790 const bool is_web_ui =
(...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after
2552 *dst = src; 2546 *dst = src;
2553 2547
2554 if (src.routing_id != -1) 2548 if (src.routing_id != -1)
2555 dst->tree_id = RoutingIDToAXTreeID(src.routing_id); 2549 dst->tree_id = RoutingIDToAXTreeID(src.routing_id);
2556 2550
2557 if (src.parent_routing_id != -1) 2551 if (src.parent_routing_id != -1)
2558 dst->parent_tree_id = RoutingIDToAXTreeID(src.parent_routing_id); 2552 dst->parent_tree_id = RoutingIDToAXTreeID(src.parent_routing_id);
2559 } 2553 }
2560 2554
2561 } // namespace content 2555 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.h ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698