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

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

Issue 1474543002: Makes NewWindow() take set of properties for window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke shadow_style changes 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
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 9c027424a33e6bcd4e6cfd99a77b0a6434d36f11..f08a1d0df82e5d6efa31442061ff3e7129c21139 100644
--- a/components/mus/public/interfaces/window_manager.mojom
+++ b/components/mus/public/interfaces/window_manager.mojom
@@ -16,9 +16,6 @@ struct WindowManagerConfig {
// 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
-// created by calls to OpenWindow() from the *same connection* to the window
-// manager. The callback indicates success or failure.
interface WindowManager {
// The window's preferred size as defined by its content. Type: gfx::Size.
const string kPreferredSize_Property = "prop:preferred-size";
@@ -26,6 +23,8 @@ interface WindowManager {
const string kResizeBehavior_Property = "prop:resize-behavior";
// Bounds the window is restored to. Type: gfx::Rect.
const string kRestoreBounds_Property = "prop:restore-bounds";
+ // Shadow style for the window. Type mojom::ShadowStyle.
+ const string kShadowStyle_Property = "prop:shadow-style";
// The window's show state. Type: ShowState.
const string kShowState_Property = "prop:show-state";
// The window bounds as set by user input. Type: gfx::Rect.
« no previous file with comments | « components/mus/public/cpp/window_tree_connection.h ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698