diff options
Diffstat (limited to 'chrome/views/menu.h')
-rw-r--r-- | chrome/views/menu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/views/menu.h b/chrome/views/menu.h index 3894a5b..44a69c2 100644 --- a/chrome/views/menu.h +++ b/chrome/views/menu.h @@ -316,6 +316,9 @@ class Menu { // Cancels the menu. virtual void Cancel(); + // Returns the number of menu items. + int ItemCount(); + protected: // The delegate that is being used to get information about the presentation. Delegate* delegate_; |