summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/menu_controller.mm
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 15:57:29 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 15:57:29 +0000
commit210e33bb96f415629c4404b8b72199de80f3a33b (patch)
tree309386713031a028dd308a1b24681e04513e8bd5 /chrome/browser/cocoa/menu_controller.mm
parentf3071247741d3c88d52c06613061e7f03a833769 (diff)
downloadchromium_src-210e33bb96f415629c4404b8b72199de80f3a33b.zip
chromium_src-210e33bb96f415629c4404b8b72199de80f3a33b.tar.gz
chromium_src-210e33bb96f415629c4404b8b72199de80f3a33b.tar.bz2
Add bugs, update, and remove TODOs that are no longer valid
BUG=none TEST=none Review URL: http://codereview.chromium.org/577021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/menu_controller.mm')
-rw-r--r--chrome/browser/cocoa/menu_controller.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/menu_controller.mm b/chrome/browser/cocoa/menu_controller.mm
index f4e69a6..83a47ed 100644
--- a/chrome/browser/cocoa/menu_controller.mm
+++ b/chrome/browser/cocoa/menu_controller.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
// source code is governed by a BSD-style license that can be found in the
// LICENSE file.
@@ -107,7 +107,8 @@
}
// Called before the menu is to be displayed to update the state (enabled,
-// radio, etc) of each item in the menu.
+// radio, etc) of each item in the menu. Also will update the title if
+// the item is marked as "dynamic".
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item {
SEL action = [item action];
if (action != @selector(itemSelected:))