Index: ui/views/controls/textfield/textfield_controller.h |
diff --git a/ui/views/controls/textfield/textfield_controller.h b/ui/views/controls/textfield/textfield_controller.h |
index a9471b12879c14fd69db6c0cacbe2790be4764e3..bc2e35fd60473d0c8f28fed0b1c2bb39742da90d 100644 |
--- a/ui/views/controls/textfield/textfield_controller.h |
+++ b/ui/views/controls/textfield/textfield_controller.h |
@@ -54,7 +54,7 @@ class VIEWS_EXPORT TextfieldController { |
virtual void UpdateContextMenu(ui::SimpleMenuModel* menu_contents) {} |
// Returns true if the |command_id| should be enabled in the context menu. |
- virtual bool IsCommandIdEnabled(int command_id) const; |
+ virtual bool IsCommandIdEnabled(int command_id) const { return false; } |
sky
2012/06/07 22:26:16
It's my understanding you shouldn't do this. Only
msw
2012/06/07 23:44:06
You're right, it's in our style guide! Reverted th
|
// Execute context menu command specified by |command_id|. |
virtual void ExecuteCommand(int command_id) {} |