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

Unified Diff: mash/wm/property_util.h

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase 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
« no previous file with comments | « mash/wm/non_client_frame_controller.cc ('k') | mash/wm/property_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/property_util.h
diff --git a/mash/wm/property_util.h b/mash/wm/property_util.h
index 04b540a2463c5547811f43bad38d741d18e80abd..54b21c7f2d9b1600791a59d0a6450053b4316ad8 100644
--- a/mash/wm/property_util.h
+++ b/mash/wm/property_util.h
@@ -37,7 +37,9 @@ gfx::Size GetWindowPreferredSize(const mus::Window* window);
mojom::Container GetRequestedContainer(const mus::Window* window);
-mus::mojom::ResizeBehavior GetResizeBehavior(const mus::Window* window);
+// Returns a bitfield of kResizeBehavior* values from
+// window_manager_constants.mojom.
+int32_t GetResizeBehavior(const mus::Window* window);
void SetRestoreBounds(mus::Window* window, const gfx::Rect& bounds);
gfx::Rect GetRestoreBounds(const mus::Window* window);
« no previous file with comments | « mash/wm/non_client_frame_controller.cc ('k') | mash/wm/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698