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

Unified Diff: ash/wm/event_rewriter_event_filter.h

Issue 165463002: event-rewrite: Clean up how events are rewritten. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix-debug Created 6 years, 10 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.cc ('k') | ash/wm/event_rewriter_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/event_rewriter_event_filter.h
diff --git a/ash/wm/event_rewriter_event_filter.h b/ash/wm/event_rewriter_event_filter.h
deleted file mode 100644
index 86f7f5381193333adcd3d27c9a3e64de1b694d33..0000000000000000000000000000000000000000
--- a/ash/wm/event_rewriter_event_filter.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_WM_EVENT_REWRITER_EVENT_FILTER_
-#define ASH_WM_EVENT_REWRITER_EVENT_FILTER_
-
-#include "ash/ash_export.h"
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/events/event_handler.h"
-
-namespace ash {
-
-class EventRewriterDelegate;
-
-namespace internal {
-
-// An event filter that rewrites or drops an event.
-class ASH_EXPORT EventRewriterEventFilter : public ui::EventHandler {
- public:
- EventRewriterEventFilter();
- virtual ~EventRewriterEventFilter();
-
- void SetEventRewriterDelegate(scoped_ptr<EventRewriterDelegate> delegate);
-
- private:
- // Overridden from ui::EventHandler:
- virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
- virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
-
- scoped_ptr<EventRewriterDelegate> delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(EventRewriterEventFilter);
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_WM_EVENT_REWRITER_EVENT_FILTER_
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/event_rewriter_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698