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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc

Issue 2861873002: Align the base of the shelf's context menu to the top edge of the shelf. (Closed)
Patch Set: Rebased and adressed comments. Created 3 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
Index: chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc b/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
index 5ef9154d57ab71a8e4fc47060c49b7855ff2fb78..698d067b70b3bb9ae66f5aac0c43704c96caa308 100644
--- a/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
+++ b/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
@@ -163,7 +163,7 @@ void OpenBrowserUsingContextMenuOnRootWindow(aura::Window* root_window) {
gfx::Point chrome_icon =
GetChromeIconBoundsForRootWindow(root_window).CenterPoint();
gfx::Point release_point = chrome_icon;
- release_point.Offset(50, -120);
+ release_point.Offset(50, -153);
dschuyler 2017/05/08 20:46:58 Consider a comment about the constants 50 and -153
ui_controls::SendMouseMoveNotifyWhenDone(
chrome_icon.x(), chrome_icon.y(),
base::Bind(&WindowSizerContextMenuTest::Step1, release_point));
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | ui/base/ui_base_types.h » ('j') | ui/base/ui_base_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698