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

Side by Side Diff: mash/public/interfaces/launchable.mojom

Issue 2428173002: mash: Remove app_driver. (Closed)
Patch Set: Rebase to ToT Created 4 years, 1 month 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 | « mash/public/interfaces/OWNERS ('k') | mash/session/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 module mash.mojom; 5 module mash.mojom;
6 6
7 const uint32 kWindow = 1; 7 const uint32 kWindow = 1;
8 const uint32 kDocument = 2; 8 const uint32 kIncognitoWindow = 2;
9 const uint32 kIncognitoWindow = 3;
10 9
11 enum LaunchMode { 10 enum LaunchMode {
12 DEFAULT, 11 DEFAULT,
13 REUSE, 12 REUSE,
14 MAKE_NEW 13 MAKE_NEW
15 }; 14 };
16 15
17 interface Launchable { 16 interface Launchable {
18 // Launches something. The implementor decides what constitutes a "thing." If 17 // Launches something. The implementor decides what constitutes a "thing." If
19 // an instance of the thing is already present, the implementor may decide to 18 // an instance of the thing is already present, the implementor may decide to
20 // re-select that thing instead of making another, depending on the value of 19 // re-select that thing instead of making another, depending on the value of
21 // |how|. In many windowing cases, the thing is a window. 20 // |how|. In many windowing cases, the thing is a window.
22 Launch(uint32 what, LaunchMode how); 21 Launch(uint32 what, LaunchMode how);
23 }; 22 };
OLDNEW
« no previous file with comments | « mash/public/interfaces/OWNERS ('k') | mash/session/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698