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

Side by Side Diff: ui/keyboard/keyboard_event_filter.h

Issue 2666843003: Disable pinch-to-zoom gesture on virtual keyboard (Closed)
Patch Set: rebase Created 3 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 unified diff | Download patch
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_event_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_KEYBOARD_KEYBOARD_EVENT_FILTER_H_
6 #define UI_KEYBOARD_KEYBOARD_EVENT_FILTER_H_
7
8 #include "base/macros.h"
9 #include "ui/events/event_handler.h"
10 #include "ui/keyboard/keyboard_export.h"
11
12 namespace keyboard {
13
14 // EventFilter for the keyboard window, which intercepts events before they are
15 // processed by the keyboard window.
16 class KEYBOARD_EXPORT KeyboardEventFilter : public ui::EventHandler {
17 public:
18 KeyboardEventFilter() = default;
19 ~KeyboardEventFilter() override = default;
20
21 // ui::EventHandler overrides:
22 void OnGestureEvent(ui::GestureEvent* event) override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(KeyboardEventFilter);
26 };
27
28 } // namespace keyboard
29
30 #endif // UI_KEYBOARD_KEYBOARD_EVENT_FILTER_H_
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698