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

Side by Side Diff: chrome/browser/chromeos/accessibility/event_handler_common.h

Issue 2711343005: Set keys to traverse accessibility tree. Using focus ring to highlight selected node. (Closed)
Patch Set: Fixing closure compilation error Created 3 years, 9 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 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 CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_EVENT_HANDLER_COMMON_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_EVENT_HANDLER_COMMON_H_
7
8 #include "extensions/browser/extension_host.h"
9 #include "ui/events/event_handler.h"
10
11 namespace chromeos {
12
13 // Gets the extension host for the corresponding extension ID.
14 extensions::ExtensionHost* GetAccessibilityExtensionHost(
15 const std::string& extension_id);
16
17 // Forwards the key event to the extension background page for the
18 // corresponding host.
19 void ForwardKeyToExtension(const ui::KeyEvent& key_event,
20 extensions::ExtensionHost* host);
21
22 } // namespace chromeos
23
24 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_EVENT_HANDLER_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698