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

Unified Diff: chrome/browser/ui/panels/panel_overflow_browsertest.cc

Issue 9817020: Linux: Fix the build for Ubuntu Precise. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « no previous file | chrome/browser/webdata/web_database_migration_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_overflow_browsertest.cc
===================================================================
--- chrome/browser/ui/panels/panel_overflow_browsertest.cc (revision 128057)
+++ chrome/browser/ui/panels/panel_overflow_browsertest.cc (working copy)
@@ -115,7 +115,7 @@
panel_manager->SetMouseWatcherForTesting(mouse_watcher);
// All the overflow tests assume 800x600 work area. Do the check now.
- DCHECK(PanelManager::GetInstance()->work_area().width() == 800);
+ DCHECK_EQ(800, PanelManager::GetInstance()->work_area().width());
}
protected:
@@ -388,7 +388,7 @@
docked_strip->AddPanel(panel, PanelStrip::DEFAULT_POSITION);
EXPECT_EQ(Panel::MINIMIZED, panel->expansion_state());
- EXPECT_EQ(false, panel->has_temporary_layout());
+ EXPECT_FALSE(panel->has_temporary_layout());
}
EXPECT_EQ(num_panels_to_add, num_panels);
@@ -965,8 +965,8 @@
// docked: P0, P1, P2
// overflow: P3, P4, P5
const int panel_widths[] = {
- 240, 240, 120, // docked
- 240, 240, 240 // overflow
+ 240, 240, 120, // docked
+ 240, 240, 240 // overflow
};
std::vector<Panel*> panels = CreateOverflowPanels(3, 3, panel_widths);
@@ -1225,9 +1225,11 @@
// http://crbug.com/115568
#if defined(OS_WIN) || defined(OS_MACOSX)
-#define MAYBE_HoverOverOverflowAreaWithOverflowOfOverflow HoverOverOverflowAreaWithOverflowOfOverflow
+#define MAYBE_HoverOverOverflowAreaWithOverflowOfOverflow \
+ HoverOverOverflowAreaWithOverflowOfOverflow
#else
-#define MAYBE_HoverOverOverflowAreaWithOverflowOfOverflow DISABLED_HoverOverOverflowAreaWithOverflowOfOverflow
+#define MAYBE_HoverOverOverflowAreaWithOverflowOfOverflow \
+ DISABLED_HoverOverOverflowAreaWithOverflowOfOverflow
#endif
IN_PROC_BROWSER_TEST_F(PanelOverflowBrowserTest,
MAYBE_HoverOverOverflowAreaWithOverflowOfOverflow) {
« no previous file with comments | « no previous file | chrome/browser/webdata/web_database_migration_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698