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

Unified Diff: components/mus/public/interfaces/window_manager.mojom

Issue 1419793006: Makes windowmanager draw non-client area (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add include Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/public/cpp/window_observer.h ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/interfaces/window_manager.mojom
diff --git a/components/mus/public/interfaces/window_manager.mojom b/components/mus/public/interfaces/window_manager.mojom
index c7881f4661c4f5962eb2f07109b352e27325a4c0..140e455a8c2244e17a6995c286230ae3f758e0b5 100644
--- a/components/mus/public/interfaces/window_manager.mojom
+++ b/components/mus/public/interfaces/window_manager.mojom
@@ -8,6 +8,12 @@ import "components/mus/public/interfaces/window_manager_constants.mojom";
import "components/mus/public/interfaces/window_tree.mojom";
import "ui/mojo/geometry/geometry.mojom";
+struct WindowManagerConfig {
+ array<Display> displays;
+ mojo.Insets normal_client_area_insets;
+ mojo.Insets maximized_client_area_insets;
+};
+
// Represents a core interface that should be implemented by any window manager
// built on top of Mus.
// For security reasons, methods that take window_ids can only pass window ids
@@ -35,5 +41,5 @@ interface WindowManager {
SetShowState(uint32 window_id, ShowState show_state) =>
(WindowManagerErrorCode result);
- GetDisplays() => (array<Display> displays);
+ GetConfig() => (WindowManagerConfig config);
};
« no previous file with comments | « components/mus/public/cpp/window_observer.h ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698