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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just comments / minor restructuring (trybots previous) Created 4 years, 12 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 #include "content/browser/renderer_host/render_widget_host_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 void RenderWidgetHostImpl::SetNeedsFlush() { 390 void RenderWidgetHostImpl::SetNeedsFlush() {
391 if (view_) 391 if (view_)
392 view_->OnSetNeedsFlushInput(); 392 view_->OnSetNeedsFlushInput();
393 } 393 }
394 394
395 void RenderWidgetHostImpl::Init() { 395 void RenderWidgetHostImpl::Init() {
396 DCHECK(process_->HasConnection()); 396 DCHECK(process_->HasConnection());
397 397
398 renderer_initialized_ = true; 398 renderer_initialized_ = true;
399 399
400 GetProcess()->ResumeRequestsForView(routing_id_);
401
Randy Smith (Not in Mondays) 2015/12/29 23:11:37 Why?
Charlie Harrison 2015/12/30 20:51:49 I moved this logic to RenderFrameHost::Init(). I c
402 // If the RWHV has not yet been set, the surface ID namespace will get 400 // If the RWHV has not yet been set, the surface ID namespace will get
403 // passed down by the call to SetView(). 401 // passed down by the call to SetView().
404 if (view_) { 402 if (view_) {
405 Send(new ViewMsg_SetSurfaceIdNamespace(routing_id_, 403 Send(new ViewMsg_SetSurfaceIdNamespace(routing_id_,
406 view_->GetSurfaceIdNamespace())); 404 view_->GetSurfaceIdNamespace()));
407 } 405 }
408 406
409 SendScreenRects(); 407 SendScreenRects();
410 WasResized(); 408 WasResized();
411 409
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
2243 } 2241 }
2244 2242
2245 #if defined(OS_WIN) 2243 #if defined(OS_WIN)
2246 gfx::NativeViewAccessible 2244 gfx::NativeViewAccessible
2247 RenderWidgetHostImpl::GetParentNativeViewAccessible() { 2245 RenderWidgetHostImpl::GetParentNativeViewAccessible() {
2248 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL; 2246 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL;
2249 } 2247 }
2250 #endif 2248 #endif
2251 2249
2252 } // namespace content 2250 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698