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

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

Issue 160505: Activate scrollbars (etc.) upon selecting a tab.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 22243)
+++ chrome/browser/tab_contents/tab_contents.cc (working copy)
@@ -600,8 +600,12 @@
void TabContents::DidBecomeSelected() {
controller_.SetActive(true);
- if (render_widget_host_view())
+ if (render_widget_host_view()) {
render_widget_host_view()->DidBecomeSelected();
+#if defined(OS_MACOSX)
+ render_widget_host_view()->SetActive(true);
+#endif
+ }
// If pid() is -1, that means the RenderProcessHost still hasn't been
// initialized. It'll register with CacheManagerHost when it is.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698