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

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

Issue 1639563003: Renames WindowManagerConfig to FrameDecorationValues and moves to Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments 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 side-by-side diff with in-line comments
Download patch
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 8a1a0024870ccd440ba777d79d24f8f3972f619d..3c012692e3d48f915edb37ecb3e79c5e047ec631 100644
--- a/components/mus/public/interfaces/window_manager.mojom
+++ b/components/mus/public/interfaces/window_manager.mojom
@@ -8,16 +8,6 @@ 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;
- // Max width needed to display the buttons on the title bar. The buttons are
- // aligned to the trailing edge of the titlebar.
- // TODO(sky): this API is very narrow, and assumes a particular config.
- uint32 max_title_bar_button_width;
-};
-
// Represents a core interface that should be implemented by any window manager
// built on top of Mus.
interface WindowManager {
@@ -38,6 +28,4 @@ interface WindowManager {
const string kWindowTitle_Property = "prop:window-title";
OpenWindow(WindowTreeClient client, map<string, array<uint8>> properties);
-
- GetConfig() => (WindowManagerConfig config);
};

Powered by Google App Engine
This is Rietveld 408576698