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

Unified Diff: chrome/browser/tab_contents/tab_contents_view_mac.mm

Issue 165492: Make "Get Themes" button in prefs foreground the browser window (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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/cocoa/preferences_window_controller.mm ('k') | 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_view_mac.mm
===================================================================
--- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 23319)
+++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy)
@@ -144,6 +144,7 @@
void TabContentsViewMac::Focus() {
[[cocoa_view_.get() window] makeFirstResponder:GetContentNativeView()];
+ [[cocoa_view_.get() window] makeKeyAndOrderFront:GetContentNativeView()];
}
void TabContentsViewMac::SetInitialFocus() {
« no previous file with comments | « chrome/browser/cocoa/preferences_window_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698