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

Side by Side Diff: components/arc/common/accessibility_helper.mojom

Issue 2559663002: Support focus highlight in Android window (Closed)
Patch Set: Fix a comment. Created 3 years, 11 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 // Next MinVersion: 1
6
7 module arc.mojom;
8
9 import "screen_rect.mojom";
10
11 // AccessibilityEventType is a enum which corresponds to event types of
12 // AccessibilityEvent in Android.
13 [Extensible]
14 enum AccessibilityEventType {
15 VIEW_FOCUSED,
16 };
17
18 // AccessibilityNodeInfoData is a struct to contain info of
19 // AccessibilityNodeInfo in Android.
dcheng 2017/01/24 09:36:56 Nit: I'm not sure how stable Android documentation
yawano 2017/01/24 11:18:09 Done.
20 struct AccessibilityNodeInfoData {
21 ScreenRect boundsInScreen;
22 };
23
24 // Next method ID: 1
25 interface AccessibilityHelperHost {
26 // OnAccessibilityEvent is called when a converted Android accessibility event
27 // is sent from Android.
28 OnAccessibilityEvent@0(AccessibilityEventType eventType,
29 AccessibilityNodeInfoData eventSource);
30 };
31
32 // Next method ID: 1
33 interface AccessibilityHelperInstance {
34 Init@0(AccessibilityHelperHost host);
35 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698