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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc

Issue 73833002: Fix some incorrect comments in app_list_win_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc b/chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc
index 992a7988341a369df265c34c8ea68fe73e624035..0b389310855f89ff896a126b087edb11cfb2df2c 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc
@@ -93,15 +93,15 @@ TEST_F(AppListWinUnitTest, FindAnchorPointMouseOnTaskbar) {
EXPECT_EQ(gfx::Point(158, 133),
FindAnchorPoint(view_size, display, cursor, taskbar_rect));
- // Left taskbar. Expect the app list to be at the top centered on the
- // mouse X coordinate.
+ // Left taskbar. Expect the app list to be at the left centered on the
+ // mouse Y coordinate.
taskbar_rect = gfx::Rect(0, 0, 30, kScreenHeight);
cursor = gfx::Point(80, 158);
EXPECT_EQ(gfx::Point(83, 158),
FindAnchorPoint(view_size, display, cursor, taskbar_rect));
- // Right taskbar. Expect the app list to be at the bottom centered on the
- // mouse X coordinate.
+ // Right taskbar. Expect the app list to be at the right centered on the
+ // mouse Y coordinate.
taskbar_rect = gfx::Rect(kScreenWidth - 30, 0, 30, kScreenHeight);
cursor = gfx::Point(kScreenWidth - 80, 158);
EXPECT_EQ(gfx::Point(kScreenWidth - 83, 158),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698