diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-07 18:28:35 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-07 18:28:35 +0000 |
commit | a6b4a185656b7b16d965e5ff0e469658c424e85d (patch) | |
tree | 4112198f2f85677b00d3a81b4c6e7d4033816ef6 /chrome/views/chrome_menu.h | |
parent | f197851787237e4fa2d343f536f8fc7231316168 (diff) | |
download | chromium_src-a6b4a185656b7b16d965e5ff0e469658c424e85d.zip chromium_src-a6b4a185656b7b16d965e5ff0e469658c424e85d.tar.gz chromium_src-a6b4a185656b7b16d965e5ff0e469658c424e85d.tar.bz2 |
Make tabs affected by context menu actions pulse. The effect is somewhat subtle since I'm re-using the selection animation.
Added support to the Menu Delegate for notifications of when selection moves within the menu.
B=1313339
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/chrome_menu.h')
-rw-r--r-- | chrome/views/chrome_menu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/views/chrome_menu.h b/chrome/views/chrome_menu.h index 7a1d15b..0c478aa 100644 --- a/chrome/views/chrome_menu.h +++ b/chrome/views/chrome_menu.h @@ -198,6 +198,10 @@ class MenuDelegate : Controller { // menu for a drop. virtual void DropMenuClosed(MenuItemView* menu) { } + + // Notification that the user has highlighted the specified item. + virtual void SelectionChanged(MenuItemView* menu) { + } }; // MenuItemView -------------------------------------------------------------- |