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

Unified Diff: ash/shell.cc

Issue 2187303002: Remove KeyboardUmaEventFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing references to KeyboardUMAEventFilter Created 4 years, 5 months 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 | « ash/shell.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index c27108da8dd22d161e490f86b5de522c099a410d..24150f10fcc76a9bb4387ab40435d9ccf2b03726 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -52,7 +52,6 @@
#include "ash/high_contrast/high_contrast_controller.h"
#include "ash/host/ash_window_tree_host_init_params.h"
#include "ash/ime/input_method_event_handler.h"
-#include "ash/keyboard_uma_event_filter.h"
#include "ash/magnifier/magnification_controller.h"
#include "ash/magnifier/partial_magnification_controller.h"
#include "ash/new_window_delegate.h"
@@ -601,7 +600,6 @@ Shell::~Shell() {
RemovePreTargetHandler(toplevel_window_event_handler_.get());
RemovePostTargetHandler(toplevel_window_event_handler_.get());
RemovePreTargetHandler(system_gesture_filter_.get());
- RemovePreTargetHandler(keyboard_metrics_filter_.get());
RemovePreTargetHandler(mouse_cursor_filter_.get());
RemovePreTargetHandler(modality_filter_.get());
@@ -899,9 +897,6 @@ void Shell::Init(const ShellInitParams& init_params) {
system_gesture_filter_.reset(new SystemGestureEventFilter);
AddPreTargetHandler(system_gesture_filter_.get());
- keyboard_metrics_filter_.reset(new KeyboardUMAEventFilter);
- AddPreTargetHandler(keyboard_metrics_filter_.get());
-
#if defined(OS_CHROMEOS)
sticky_keys_controller_.reset(new StickyKeysController);
#endif
« no previous file with comments | « ash/shell.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698