Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
|
sky
2016/01/13 21:17:17
2016.
Also, I don't think this interface should be
msw
2016/01/13 22:54:56
Done.
| |
| 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 mus.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 OnUserWindowAdded(uint32 window_id); | |
|
sky
2016/01/13 21:17:17
I recommend an initial function that is always cal
msw
2016/01/13 22:54:56
Done; this gets the quick launcher window now too!
| |
| 11 OnUserWindowRemoved(uint32 window_id); | |
| 12 }; | |
| 13 | |
| 14 // An interface allowing system UIs to manage the set of user windows. | |
| 15 // TODO(msw): Add minimization, restoration, opening a chooser view, etc. | |
| 16 interface UserWindowController { | |
| 17 AddUserWindowObserver(UserWindowObserver observer); | |
| 18 FocusUserWindow(uint32 window_id); | |
| 19 }; | |
| OLD | NEW |