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

Issue 10916180: Context menus on view elements should be positioned above the finger when (Closed)

Created:
8 years, 3 months ago by varunjain
Modified:
8 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, asanka, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, tfarina, penghuang+watch_chromium.org, Randy Smith (Not in Mondays), James Su
Visibility:
Public.

Description

Context menus on view elements should be positioned above the finger when invoked using long press. BUG=142015 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=157005

Patch Set 1 #

Patch Set 2 : patch #

Patch Set 3 : patch #

Total comments: 2

Patch Set 4 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -13 lines) Patch
M ash/launcher/launcher_view.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/shell/window_type_launcher.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/shell_context_menu.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/browser_action_view.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/download/download_shelf_context_menu_view.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_aura.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_image_view.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/menu/menu_controller.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_runner.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/controls/scrollbar/base_scroll_bar.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/textfield/native_textfield_views.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
varunjain
8 years, 3 months ago (2012-09-13 15:54:06 UTC) #1
sky
Is there a reason we can't do this automatically? RunMenuAt takes the parent widget.
8 years, 3 months ago (2012-09-13 16:15:58 UTC) #2
varunjain
On 2012/09/13 16:15:58, sky wrote: > Is there a reason we can't do this automatically? ...
8 years, 3 months ago (2012-09-13 16:25:42 UTC) #3
sky
On Thu, Sep 13, 2012 at 9:25 AM, <varunjain@chromium.org> wrote: > On 2012/09/13 16:15:58, sky ...
8 years, 3 months ago (2012-09-13 17:24:11 UTC) #4
varunjain
Done.. PTAL. On 2012/09/13 17:24:11, sky wrote: > On Thu, Sep 13, 2012 at 9:25 ...
8 years, 3 months ago (2012-09-14 16:41:44 UTC) #5
sky
https://chromiumcodereview.appspot.com/10916180/diff/9001/ui/views/controls/menu/menu_runner.cc File ui/views/controls/menu/menu_runner.cc (right): https://chromiumcodereview.appspot.com/10916180/diff/9001/ui/views/controls/menu/menu_runner.cc#newcode298 ui/views/controls/menu/menu_runner.cc:298: if (anchor == MenuItemView::BOTTOMCENTER) Can this be moved to ...
8 years, 3 months ago (2012-09-14 17:19:57 UTC) #6
varunjain
https://codereview.chromium.org/10916180/diff/9001/ui/views/controls/menu/menu_runner.cc File ui/views/controls/menu/menu_runner.cc (right): https://codereview.chromium.org/10916180/diff/9001/ui/views/controls/menu/menu_runner.cc#newcode298 ui/views/controls/menu/menu_runner.cc:298: if (anchor == MenuItemView::BOTTOMCENTER) On 2012/09/14 17:19:57, sky wrote: ...
8 years, 3 months ago (2012-09-14 18:46:06 UTC) #7
sky
LGTM
8 years, 3 months ago (2012-09-14 19:45:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10916180/2004
8 years, 3 months ago (2012-09-14 19:49:05 UTC) #9
commit-bot: I haz the power
Retried try job too often for step(s) content_browsertests
8 years, 3 months ago (2012-09-15 00:52:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10916180/2004
8 years, 3 months ago (2012-09-15 01:01:23 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-15 01:52:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10916180/2004
8 years, 3 months ago (2012-09-15 02:26:39 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-15 03:22:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10916180/2004
8 years, 3 months ago (2012-09-15 03:55:11 UTC) #15
commit-bot: I haz the power
8 years, 3 months ago (2012-09-15 04:53:08 UTC) #16
Sorry for I got bad news for ya.
Compile failed with a clobber build.
Your code is likely broken or HEAD is junk. Please ensure your
code is not broken then alert the build sheriffs.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698