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

Side by Side Diff: ash/aura/key_event_watcher_aura.h

Issue 2330403002: Do not activate system tray bubble by default (Closed)
Patch Set: Do not activate system tray bubble by default Created 4 years, 2 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
OLDNEW
(Empty)
1 // Copyright 2016 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 ASH_AURA_KEY_EVENT_WATCHER_AURA_H_
6 #define ASH_AURA_KEY_EVENT_WATCHER_AURA_H_
7
8 #include <map>
9
10 #include "ash/ash_export.h"
11 #include "ash/common/key_event_watcher.h"
12 #include "ui/events/event_handler.h"
13
14 namespace ui {
15 class KeyEvent;
16 }
17
18 namespace ash {
19
20 // An EventHandler based KeyEventWatcher implementation.
21 class ASH_EXPORT KeyEventWatcherAura : public KeyEventWatcher,
22 public ui::EventHandler {
23 public:
24 KeyEventWatcherAura();
25 ~KeyEventWatcherAura() override;
26
27 // ui::EventHandler:
28 void OnKeyEvent(ui::KeyEvent* event) override;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(KeyEventWatcherAura);
32 };
33
34 } // namespace ash
35
36 #endif // ASH_AURA_KEY_EVENT_WATCHER_AURA_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller_delegate_aura.cc ('k') | ash/aura/key_event_watcher_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698