Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: ui/aura_shell/desktop_event_filter.cc

Issue 8602003: Revert 110637 - Add ShellAcceleratorController that manages global keyboard accelerators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/desktop_event_filter.h ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/desktop_event_filter.cc
===================================================================
--- ui/aura_shell/desktop_event_filter.cc (revision 110642)
+++ ui/aura_shell/desktop_event_filter.cc (working copy)
@@ -9,7 +9,6 @@
#include "ui/aura/focus_manager.h"
#include "ui/aura/window_delegate.h"
#include "ui/aura_shell/shell.h"
-#include "ui/aura_shell/shell_accelerator_filter.h"
#include "ui/aura_shell/stacking_controller.h"
#include "ui/base/hit_test.h"
@@ -44,16 +43,13 @@
// DesktopEventFilter, public:
DesktopEventFilter::DesktopEventFilter()
- : EventFilter(aura::Desktop::GetInstance()),
- shell_accelerator_filter_(new ShellAcceleratorFilter) {
- AddFilter(shell_accelerator_filter_.get());
+ : EventFilter(aura::Desktop::GetInstance()) {
}
DesktopEventFilter::~DesktopEventFilter() {
// Additional filters are not owned by DesktopEventFilter and they
// should all be removed when running here. |filters_| has
// check_empty == true and will DCHECK failure if it is not empty.
- RemoveFilter(shell_accelerator_filter_.get());
}
void DesktopEventFilter::AddFilter(aura::EventFilter* filter) {
« no previous file with comments | « ui/aura_shell/desktop_event_filter.h ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698