From a109d02492863aeb537dea09bfb445eb6f5d94c5 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Fri, 19 Jun 2009 22:57:54 +0000 Subject: Removed the last Windows specific part out of the focus manager. HWNDs are not subclassed anymore.The FocusManager is now created and owned by top-level WidgetWins.BUG=NoneTEST=Run the unit tests, UI tests, interactive UI tests. Fully test the focus behavior in the browser: activate/deactivate the browser windows, make sure focus is remembered. Switch tabs, make sure focus is remembered for each tab. make sure accelerators work as expected. Test focus traversal in a web page, in the option dialog. Review URL: http://codereview.chromium.org/125148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18872 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/first_run_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/first_run_win.cc') diff --git a/chrome/browser/first_run_win.cc b/chrome/browser/first_run_win.cc index 136350c..6f1d4a5 100644 --- a/chrome/browser/first_run_win.cc +++ b/chrome/browser/first_run_win.cc @@ -684,7 +684,7 @@ class TryChromeDialog : public views::ButtonListener, popup->set_delete_on_destroy(true); popup->set_window_style(WS_POPUP | WS_CLIPCHILDREN); popup->set_window_ex_style(WS_EX_TOOLWINDOW); - popup->Init(NULL, pos, true); + popup->Init(NULL, pos); views::RootView* root_view = popup->GetRootView(); // The window color is a tiny bit off-white. -- cgit v1.1