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

Unified Diff: ui/views/mus/desktop_window_tree_host_mus.h

Issue 2538633002: Adds a couple more properties to the property converter (Closed)
Patch Set: merge again Created 4 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 | « ui/aura/mus/property_converter_unittest.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/desktop_window_tree_host_mus.h
diff --git a/ui/views/mus/desktop_window_tree_host_mus.h b/ui/views/mus/desktop_window_tree_host_mus.h
index dff5dd7b4205a288de76cc66cb3dca9bc3dbdcb2..2b0620027cd3c33ca946b651f73a64f1c78eb1cc 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.h
+++ b/ui/views/mus/desktop_window_tree_host_mus.h
@@ -30,6 +30,10 @@ class VIEWS_MUS_EXPORT DesktopWindowTreeHostMus
const std::map<std::string, std::vector<uint8_t>>* mus_properties);
~DesktopWindowTreeHostMus() override;
+ // Returns a bitmask of the resize types. See ui::mojom::kResizeBehavior.
+ // |delegate| may be null.
+ static int32_t GetResizeBehaviorFromDelegate(WidgetDelegate* delegate);
+
private:
bool IsDocked() const;
« no previous file with comments | « ui/aura/mus/property_converter_unittest.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698