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

Unified Diff: trunk/src/ash/system/web_notification/web_notification_tray_unittest.cc

Issue 269893004: Revert 268203 "There are many ways to get it wrong." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 | « trunk/src/ash/system/tray/system_tray_unittest.cc ('k') | trunk/src/base/observer_list_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/system/web_notification/web_notification_tray_unittest.cc
===================================================================
--- trunk/src/ash/system/web_notification/web_notification_tray_unittest.cc (revision 268216)
+++ trunk/src/ash/system/web_notification/web_notification_tray_unittest.cc (working copy)
@@ -332,11 +332,11 @@
// even more, but still visible.
GetSystemTray()->ShowNotificationView(test_item);
EXPECT_TRUE(GetTray()->IsPopupVisible());
- gfx::Rect work_area_with_tray_notification = GetPopupWorkArea();
+ gfx::Rect work_area_with_tray_notificaiton = GetPopupWorkArea();
EXPECT_GT(work_area.size().GetArea(),
- work_area_with_tray_notification.size().GetArea());
+ work_area_with_tray_notificaiton.size().GetArea());
EXPECT_GT(work_area_with_tray.size().GetArea(),
- work_area_with_tray_notification.size().GetArea());
+ work_area_with_tray_notificaiton.size().GetArea());
// Close system tray, only system tray notifications.
GetSystemTray()->ClickedOutsideBubble();
@@ -344,7 +344,7 @@
gfx::Rect work_area_with_notification = GetPopupWorkArea();
EXPECT_GT(work_area.size().GetArea(),
work_area_with_notification.size().GetArea());
- EXPECT_LT(work_area_with_tray_notification.size().GetArea(),
+ EXPECT_LT(work_area_with_tray_notificaiton.size().GetArea(),
work_area_with_notification.size().GetArea());
// Close the system tray notifications.
« no previous file with comments | « trunk/src/ash/system/tray/system_tray_unittest.cc ('k') | trunk/src/base/observer_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698