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

Side by Side Diff: content/browser/renderer_host/render_widget_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, 10 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 void RenderWidgetHostImpl::SetNeedsFlush() { 393 void RenderWidgetHostImpl::SetNeedsFlush() {
394 if (view_) 394 if (view_)
395 view_->OnSetNeedsFlushInput(); 395 view_->OnSetNeedsFlushInput();
396 } 396 }
397 397
398 void RenderWidgetHostImpl::Init() { 398 void RenderWidgetHostImpl::Init() {
399 DCHECK(process_->HasConnection()); 399 DCHECK(process_->HasConnection());
400 400
401 renderer_initialized_ = true; 401 renderer_initialized_ = true;
402 402
403 GetProcess()->ResumeRequestsForView(routing_id_);
404
405 // If the RWHV has not yet been set, the surface ID namespace will get 403 // If the RWHV has not yet been set, the surface ID namespace will get
406 // passed down by the call to SetView(). 404 // passed down by the call to SetView().
407 if (view_) { 405 if (view_) {
408 Send(new ViewMsg_SetSurfaceIdNamespace(routing_id_, 406 Send(new ViewMsg_SetSurfaceIdNamespace(routing_id_,
409 view_->GetSurfaceIdNamespace())); 407 view_->GetSurfaceIdNamespace()));
410 } 408 }
411 409
412 SendScreenRects(); 410 SendScreenRects();
413 WasResized(); 411 WasResized();
414 412
(...skipping 1830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2245 } 2243 }
2246 2244
2247 #if defined(OS_WIN) 2245 #if defined(OS_WIN)
2248 gfx::NativeViewAccessible 2246 gfx::NativeViewAccessible
2249 RenderWidgetHostImpl::GetParentNativeViewAccessible() { 2247 RenderWidgetHostImpl::GetParentNativeViewAccessible() {
2250 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL; 2248 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL;
2251 } 2249 }
2252 #endif 2250 #endif
2253 2251
2254 } // namespace content 2252 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698