diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 17:55:47 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 17:55:47 +0000 |
commit | 8cf265160e3db291282802b00a7d1abdf375f456 (patch) | |
tree | 1d7d17507b01dc0fcb40dd047755fd610c0e9089 /views/view.h | |
parent | a6d0c44510e6aadd30921662a4015b2d6cbed25d (diff) | |
download | chromium_src-8cf265160e3db291282802b00a7d1abdf375f456.zip chromium_src-8cf265160e3db291282802b00a7d1abdf375f456.tar.gz chromium_src-8cf265160e3db291282802b00a7d1abdf375f456.tar.bz2 |
views: Fix a TODO about AcceleratorTarget section.
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8476016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view.h')
-rw-r--r-- | views/view.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/views/view.h b/views/view.h index 0373c06..c0154f0 100644 --- a/views/view.h +++ b/views/view.h @@ -12,6 +12,7 @@ #include <string> #include <vector> +#include "base/compiler_specific.h" #include "base/i18n/rtl.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" @@ -643,11 +644,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, // Removes all the keyboard accelerators for this view. virtual void ResetAccelerators(); - // TODO(beng): Move to an AcceleratorTarget override section. - // Called when a keyboard accelerator is pressed. - // Derived classes should implement desired behavior and return true if they - // handled the accelerator. - virtual bool AcceleratorPressed(const Accelerator& accelerator); + // Overridden from AcceleratorTarget: + virtual bool AcceleratorPressed(const Accelerator& accelerator) OVERRIDE; // Focus --------------------------------------------------------------------- |