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

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: Replace FrameTree::ForEach with a for loop 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 (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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 void RenderWidgetHostImpl::SetNeedsFlush() { 392 void RenderWidgetHostImpl::SetNeedsFlush() {
393 if (view_) 393 if (view_)
394 view_->OnSetNeedsFlushInput(); 394 view_->OnSetNeedsFlushInput();
395 } 395 }
396 396
397 void RenderWidgetHostImpl::Init() { 397 void RenderWidgetHostImpl::Init() {
398 DCHECK(process_->HasConnection()); 398 DCHECK(process_->HasConnection());
399 399
400 renderer_initialized_ = true; 400 renderer_initialized_ = true;
401 401
402 GetProcess()->ResumeRequestsForView(routing_id_);
403
404 // If the RWHV has not yet been set, the surface ID namespace will get 402 // If the RWHV has not yet been set, the surface ID namespace will get
405 // passed down by the call to SetView(). 403 // passed down by the call to SetView().
406 if (view_) { 404 if (view_) {
407 Send(new ViewMsg_SetSurfaceIdNamespace(routing_id_, 405 Send(new ViewMsg_SetSurfaceIdNamespace(routing_id_,
408 view_->GetSurfaceIdNamespace())); 406 view_->GetSurfaceIdNamespace()));
409 } 407 }
410 408
411 SendScreenRects(); 409 SendScreenRects();
412 WasResized(); 410 WasResized();
413 411
(...skipping 1832 matching lines...) Expand 10 before | Expand all | Expand 10 after
2246 } 2244 }
2247 2245
2248 #if defined(OS_WIN) 2246 #if defined(OS_WIN)
2249 gfx::NativeViewAccessible 2247 gfx::NativeViewAccessible
2250 RenderWidgetHostImpl::GetParentNativeViewAccessible() { 2248 RenderWidgetHostImpl::GetParentNativeViewAccessible() {
2251 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL; 2249 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL;
2252 } 2250 }
2253 #endif 2251 #endif
2254 2252
2255 } // namespace content 2253 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698