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

Unified Diff: chrome/browser/ui/views/constrained_window_views_browsertest.cc

Issue 11421164: Migrate CollectedCookiesViews to Chrome style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/ui/views/constrained_window_views.cc ('k') | chrome/browser/ui/views/cookie_info_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.cc ('k') | chrome/browser/ui/views/cookie_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698