summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 17:15:45 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 17:15:45 +0000
commit9d1e9a22e135fe8e04449bf23ba7fc915320e468 (patch)
treeb950d37838dfeacb038cfd7918ff4de79f1b8c38 /ash
parentf7a126b5018dbbb5c782224a0465269168cb3ae0 (diff)
downloadchromium_src-9d1e9a22e135fe8e04449bf23ba7fc915320e468.zip
chromium_src-9d1e9a22e135fe8e04449bf23ba7fc915320e468.tar.gz
chromium_src-9d1e9a22e135fe8e04449bf23ba7fc915320e468.tar.bz2
Making the desktop background context menu appears below-right
BUG=126439 TEST=right click on the wallpaper, see if the context menu appears below-right. Review URL: https://chromiumcodereview.appspot.com/10377091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r--ash/shell_context_menu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shell_context_menu.cc b/ash/shell_context_menu.cc
index 3adcb95..9487314 100644
--- a/ash/shell_context_menu.cc
+++ b/ash/shell_context_menu.cc
@@ -29,7 +29,7 @@ void ShellContextMenu::ShowMenu(views::Widget* widget,
menu_runner_.reset(new views::MenuRunner(menu_model_adapter.CreateMenu()));
if (menu_runner_->RunMenuAt(
widget, NULL, gfx::Rect(location, gfx::Size()),
- views::MenuItemView::TOPRIGHT, views::MenuRunner::HAS_MNEMONICS) ==
+ views::MenuItemView::TOPLEFT, views::MenuRunner::HAS_MNEMONICS) ==
views::MenuRunner::MENU_DELETED)
return;
}