summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_2.h
diff options
context:
space:
mode:
authorchocobo@google.com <chocobo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 21:31:23 +0000
committerchocobo@google.com <chocobo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 21:31:23 +0000
commitd01a87df31bfe4266d0ce00df7fa4dc063c0611a (patch)
tree6e595acebdb74232149c06d70254172c7824ea0a /views/controls/menu/menu_2.h
parentcbd7dcc7c93c7e73443abd6ddc6c140e2e7e98fd (diff)
downloadchromium_src-d01a87df31bfe4266d0ce00df7fa4dc063c0611a.zip
chromium_src-d01a87df31bfe4266d0ce00df7fa4dc063c0611a.tar.gz
chromium_src-d01a87df31bfe4266d0ce00df7fa4dc063c0611a.tar.bz2
Make gtk menu block on call to RunMenuAt.
TEST=none BUG=25429 Review URL: http://codereview.chromium.org/293057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/menu_2.h')
-rw-r--r--views/controls/menu/menu_2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h
index 3eba306..e91d5d3 100644
--- a/views/controls/menu/menu_2.h
+++ b/views/controls/menu/menu_2.h
@@ -116,9 +116,9 @@ class Menu2 {
ALIGN_TOPRIGHT
};
- // Runs the menu at the specified point. This may or may not block, depending
- // on the platform and type of menu in use. RunContextMenuAt is the same, but
- // the alignment is the default for a context menu.
+ // Runs the menu at the specified point. This method blocks until done.
+ // RunContextMenuAt is the same, but the alignment is the default for a
+ // context menu.
void RunMenuAt(const gfx::Point& point, Alignment alignment);
void RunContextMenuAt(const gfx::Point& point);