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

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

Issue 2881283002: add interface to start first run when voice interaction oobe is completed (Closed)
Patch Set: address review comment Created 3 years, 7 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Next MinVersion: 1 5 // Next MinVersion: 2
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 import "mojo/common/string16.mojom"; 9 import "mojo/common/string16.mojom";
10 import "screen_rect.mojom"; 10 import "screen_rect.mojom";
11 11
12 // Represents the start and end unicode char indices of the selected 12 // Represents the start and end unicode char indices of the selected
13 // portion of the text [start, end). 13 // portion of the text [start, end).
14 struct TextSelection { 14 struct TextSelection {
15 int32 start_selection; 15 int32 start_selection;
(...skipping 27 matching lines...) Expand all
43 43
44 // Fake Android view class name of the element. Each node is assigned 44 // Fake Android view class name of the element. Each node is assigned
45 // a closest approximation of Android's views. 45 // a closest approximation of Android's views.
46 string class_name; 46 string class_name;
47 47
48 // Children of current node 48 // Children of current node
49 array<VoiceInteractionStructure> children; 49 array<VoiceInteractionStructure> children;
50 }; 50 };
51 51
52 // Handles voice interaction queries from Android. 52 // Handles voice interaction queries from Android.
53 // Next method ID: 1 53 // Next method ID: 3
54 interface VoiceInteractionArcHomeHost { 54 interface VoiceInteractionArcHomeHost {
55 // Returns view hierarchy of current window represented as 55 // Returns view hierarchy of current window represented as
56 // VoiceInteractionStructure. Returns empty if the request 56 // VoiceInteractionStructure. Returns empty if the request
57 // fails. 57 // fails.
58 GetVoiceInteractionStructure@1() => (VoiceInteractionStructure? structure); 58 GetVoiceInteractionStructure@1() => (VoiceInteractionStructure? structure);
59
60 // Notifies VoiceInteractionArcHomeHost that voice interaction OOBE setup
61 // is done.
62 [MinVersion=1] OnVoiceInteractionOobeSetupComplete@2();
59 }; 63 };
60 64
61 // Connects with ArcHome. 65 // Connects with ArcHome.
62 // Next method ID: 1 66 // Next method ID: 1
63 interface VoiceInteractionArcHomeInstance { 67 interface VoiceInteractionArcHomeInstance {
64 Init@0(VoiceInteractionArcHomeHost host_ptr); 68 Init@0(VoiceInteractionArcHomeHost host_ptr);
65 }; 69 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698