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

Unified Diff: chrome/browser/tab_contents/tab_contents_view.cc

Issue 3174030: Making window.focus()/blur() work only when there is a user gesture. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.cc ('k') | chrome/browser/views/app_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_view.cc
diff --git a/chrome/browser/tab_contents/tab_contents_view.cc b/chrome/browser/tab_contents/tab_contents_view.cc
index c08d1b7cc47318e2a961f6d7dba6193f22e02ee7..9c369d0ae49d957322ed732044d910ed174664bd 100644
--- a/chrome/browser/tab_contents/tab_contents_view.cc
+++ b/chrome/browser/tab_contents/tab_contents_view.cc
@@ -72,11 +72,11 @@ void TabContentsView::ShowCreatedWidget(int route_id,
}
void TabContentsView::Activate() {
- tab_contents_->delegate()->Activate();
+ tab_contents_->Activate();
}
void TabContentsView::Deactivate() {
- tab_contents_->delegate()->Deactivate();
+ tab_contents_->Deactivate();
}
void TabContentsView::ShowCreatedFullscreenWidget(int route_id) {
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.cc ('k') | chrome/browser/views/app_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698