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

Unified Diff: chrome/browser/native_ui_contents.cc

Issue 5005: Reorganize the declarations to have some grouping and logical ordering in tab... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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/encoding_menu_controller_delegate.cc ('k') | chrome/browser/navigation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/native_ui_contents.cc
===================================================================
--- chrome/browser/native_ui_contents.cc (revision 2626)
+++ chrome/browser/native_ui_contents.cc (working copy)
@@ -322,7 +322,7 @@
if (browser)
browser->FocusLocationBar();
else
- ::SetFocus(GetHWND());
+ TabContents::SetInitialFocus(); // Will set focus to our HWND.
}
}
« no previous file with comments | « chrome/browser/encoding_menu_controller_delegate.cc ('k') | chrome/browser/navigation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698