summaryrefslogtreecommitdiffstats
path: root/views/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/view.h')
-rw-r--r--views/view.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/views/view.h b/views/view.h
index 760192f..63fd56d 100644
--- a/views/view.h
+++ b/views/view.h
@@ -509,15 +509,6 @@ class View : public AcceleratorTarget {
return false;
}
- // Called on a view (if it is has focus) before an Accelerator is processed.
- // Views that want to override an accelerator should override this method to
- // perform the required action and return true, to indicate that the
- // accelerator should not be processed any further (in which case the key
- // event is eaten).
- virtual bool OverrideAccelerator(const Accelerator& accelerator) {
- return false;
- }
-
// Returns whether this view currently has the focus.
virtual bool HasFocus();