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

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

Issue 1810713002: Cascade shutdown of instances (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@55all_users
Patch Set: . Created 4 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
« no previous file with comments | « mash/shell/BUILD.gn ('k') | mash/shell/shell_application_delegate.h » ('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.shell.mojom; 5 module mash.shell.mojom;
6 6
7 interface ScreenlockStateListener { 7 interface ScreenlockStateListener {
8 // This method is called when the listener is initially added with the current 8 // This method is called when the listener is initially added with the current
9 // lock state, and subsequently whenever the lock state changes. 9 // lock state, and subsequently whenever the lock state changes.
10 ScreenlockStateChanged(bool locked); 10 ScreenlockStateChanged(bool locked);
11 }; 11 };
12 12
13 interface Shell { 13 interface Shell {
14 Logout();
15 SwitchUser();
14 LockScreen(); 16 LockScreen();
15 UnlockScreen(); 17 UnlockScreen();
16 AddScreenlockStateListener(ScreenlockStateListener listener); 18 AddScreenlockStateListener(ScreenlockStateListener listener);
17 }; 19 };
OLDNEW
« no previous file with comments | « mash/shell/BUILD.gn ('k') | mash/shell/shell_application_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698