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

Side by Side Diff: mash/wm/public/interfaces/user_window_controller.mojom

Issue 1576683002: Add rudimentary mash shelf functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 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
« no previous file with comments | « mash/wm/public/interfaces/BUILD.gn ('k') | mash/wm/user_window_controller_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 module mash.wm.mojom;
6
7 // An observer of user windows within mojom::CONTAINER_USER_WINDOWS.
8 // TODO(msw): Observe focus changes, title/icon changes, etc.
9 interface UserWindowObserver {
10 // Called when the observer is first added to supply the initial state.
11 OnUserWindowObserverAdded(array<uint32> window_ids);
12
13 OnUserWindowAdded(uint32 window_id);
14 OnUserWindowRemoved(uint32 window_id);
15 };
16
17 // An interface allowing system UIs to manage the set of user windows.
18 // TODO(msw): Add minimization, restoration, opening a chooser view, etc.
19 interface UserWindowController {
20 AddUserWindowObserver(UserWindowObserver observer);
21 FocusUserWindow(uint32 window_id);
22 };
OLDNEW
« no previous file with comments | « mash/wm/public/interfaces/BUILD.gn ('k') | mash/wm/user_window_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698