| Index: chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/constrained_window_views_browsertest.cc b/chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| index 0d223b26885e7dd2a5996824fcfd962b3bb5f1c4..90b35ad0114ce99ae5e551647a16988468989f51 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| +++ b/chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| @@ -118,7 +118,7 @@ IN_PROC_BROWSER_TEST_F(ConstrainedWindowViewTest, FocusTest) {
|
| scoped_ptr<TestConstrainedDialog> test_dialog1(new TestConstrainedDialog);
|
| ConstrainedWindowViews* window1 = new ConstrainedWindowViews(
|
| web_contents, test_dialog1.get(), false,
|
| - ConstrainedWindowViews::DEFAULT_INSETS);
|
| + ConstrainedWindowViews::FRAME_LAYOUT_FULL);
|
|
|
| views::FocusManager* focus_manager = window1->GetFocusManager();
|
| ASSERT_TRUE(focus_manager);
|
| @@ -133,7 +133,7 @@ IN_PROC_BROWSER_TEST_F(ConstrainedWindowViewTest, FocusTest) {
|
| scoped_ptr<TestConstrainedDialog> test_dialog2(new TestConstrainedDialog);
|
| ConstrainedWindowViews* window2 = new ConstrainedWindowViews(
|
| web_contents, test_dialog2.get(), false,
|
| - ConstrainedWindowViews::DEFAULT_INSETS);
|
| + ConstrainedWindowViews::FRAME_LAYOUT_FULL);
|
| // Should be the same focus_manager.
|
| ASSERT_EQ(focus_manager, window2->GetFocusManager());
|
|
|
| @@ -194,7 +194,7 @@ IN_PROC_BROWSER_TEST_F(ConstrainedWindowViewTest, TabCloseTest) {
|
| scoped_ptr<TestConstrainedDialog> test_dialog(new TestConstrainedDialog);
|
| new ConstrainedWindowViews(
|
| web_contents, test_dialog.get(), true,
|
| - ConstrainedWindowViews::DEFAULT_INSETS);
|
| + ConstrainedWindowViews::FRAME_LAYOUT_FULL);
|
|
|
| bool closed =
|
| browser()->tab_strip_model()->CloseTabContentsAt(
|
| @@ -216,7 +216,7 @@ IN_PROC_BROWSER_TEST_F(ConstrainedWindowViewTest, TabSwitchTest) {
|
| scoped_ptr<TestConstrainedDialog> test_dialog(new TestConstrainedDialog);
|
| ConstrainedWindowViews* window = new ConstrainedWindowViews(
|
| web_contents, test_dialog.get(), true,
|
| - ConstrainedWindowViews::DEFAULT_INSETS);
|
| + ConstrainedWindowViews::FRAME_LAYOUT_FULL);
|
| EXPECT_TRUE(window->IsVisible());
|
|
|
| // Open a new tab. The constrained window should hide itself.
|
|
|