diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 23:55:50 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 23:55:50 +0000 |
commit | efc7057308ae81e69861d37aaca33b67d5187284 (patch) | |
tree | bd0a402b24e261f6c79b1ec867cc44920eef4829 /chrome/views | |
parent | a4258dbc75748725c3e6f12ccdd6f642c297d1db (diff) | |
download | chromium_src-efc7057308ae81e69861d37aaca33b67d5187284.zip chromium_src-efc7057308ae81e69861d37aaca33b67d5187284.tar.gz chromium_src-efc7057308ae81e69861d37aaca33b67d5187284.tar.bz2 |
Make the system menu for frames have submenus for encoding and text zoom
B=1031854
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r-- | chrome/views/menu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/views/menu.h b/chrome/views/menu.h index ab70766..a1a4d02 100644 --- a/chrome/views/menu.h +++ b/chrome/views/menu.h @@ -203,6 +203,8 @@ class Menu { explicit Menu(HMENU hmenu); virtual ~Menu(); + void set_delegate(Delegate* delegate) { delegate_ = delegate; } + // Adds an item to this menu. // item_id The id of the item, used to identify it in delegate callbacks // or (if delegate is NULL) to identify the command associated |