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

Unified Diff: ash/public/interfaces/user_window_controller.mojom

Issue 2235493002: mash: Disable ash_sysui; begin removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Connect to chrome on mash session launch; add missing gn dep. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/public/interfaces/shelf_layout.mojom ('k') | ash/public/interfaces/wallpaper.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/user_window_controller.mojom
diff --git a/ash/public/interfaces/user_window_controller.mojom b/ash/public/interfaces/user_window_controller.mojom
deleted file mode 100644
index 0352ff0728d981b8952ff386aecd9c4d3858d44a..0000000000000000000000000000000000000000
--- a/ash/public/interfaces/user_window_controller.mojom
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module ash.mojom;
-
-struct UserWindow {
- uint32 window_id; // The local window id, defined by UserWindowController.
- string window_title; // The window title.
- bool window_has_focus; // A flag; true if the window is currently focused.
- array<uint8> window_app_icon; // A serialized SkBitmap.
- string window_app_id; // The window application ID (ie. 'mojo:foo').
- bool ignored_by_shelf; // A flag; true to avoid showing a shelf item.
-};
-
-// An observer of user windows within mojom::Container::USER_WINDOWS.
-// TODO(msw): Observe focus changes, title/icon changes, etc.
-interface UserWindowObserver {
- // Called when the observer is first added to supply the initial state.
- OnUserWindowObserverAdded(array<UserWindow> user_windows);
-
- OnUserWindowAdded(UserWindow user_window);
- OnUserWindowRemoved(uint32 window_id);
-
- OnUserWindowTitleChanged(uint32 window_id, string window_title);
-
- // |app_icon| is a serialized SkBitmap.
- OnUserWindowAppIconChanged(uint32 window_id, array<uint8> app_icon);
-
- OnUserWindowFocusChanged(uint32 window_id, bool has_focus);
-};
-
-// An interface allowing system UIs to manage the set of user windows.
-// TODO(msw): Add minimization, restoration, opening a chooser view, etc.
-interface UserWindowController {
- AddUserWindowObserver(UserWindowObserver observer);
- ActivateUserWindow(uint32 window_id);
-};
« no previous file with comments | « ash/public/interfaces/shelf_layout.mojom ('k') | ash/public/interfaces/wallpaper.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698