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

Unified Diff: chrome/browser/ui/constrained_window_tab_helper.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/constrained_window_tab_helper.cc
diff --git a/chrome/browser/ui/constrained_window_tab_helper.cc b/chrome/browser/ui/constrained_window_tab_helper.cc
index cc19569fd3d5bef15f1b984846649d51278e8613..fe72fec9182a74515bd45f167f5a433eb9d361ad 100644
--- a/chrome/browser/ui/constrained_window_tab_helper.cc
+++ b/chrome/browser/ui/constrained_window_tab_helper.cc
@@ -80,9 +80,9 @@ void ConstrainedWindowTabHelper::BlockTabContent(bool blocked) {
// RenderViewHost may be NULL during shutdown.
RenderViewHost* host = contents->GetRenderViewHost();
if (host) {
- host->set_ignore_input_events(blocked);
- host->Send(
- new ChromeViewMsg_SetVisuallyDeemphasized(host->routing_id(), blocked));
+ host->SetIgnoreInputEvents(blocked);
+ host->Send(new ChromeViewMsg_SetVisuallyDeemphasized(
+ host->GetRoutingID(), blocked));
}
if (delegate_)
delegate_->SetTabContentBlocked(wrapper_, blocked);
« no previous file with comments | « chrome/browser/ui/cocoa/tabpose_window.mm ('k') | chrome/browser/ui/content_settings/content_setting_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698