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

Unified Diff: ash/mus/bridge/wm_window_mus.h

Issue 2227643003: Converts mash to use the common non-client frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_widget_mus_fix
Patch Set: feedback Created 4 years, 4 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 | « ash/mus/BUILD.gn ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.h
diff --git a/ash/mus/bridge/wm_window_mus.h b/ash/mus/bridge/wm_window_mus.h
index 3e94c97661f1d370339a05b001fc92edaf10f25f..cecb7e739ffbade6062ad201f32140baf2694673 100644
--- a/ash/mus/bridge/wm_window_mus.h
+++ b/ash/mus/bridge/wm_window_mus.h
@@ -27,6 +27,7 @@ namespace mus {
class MusLayoutManagerAdapter;
class WmRootWindowControllerMus;
+class WmWindowMusTestApi;
// WmWindow implementation for mus.
//
@@ -229,6 +230,8 @@ class WmWindowMus : public WmWindow, public ui::WindowObserver {
void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) override;
private:
+ friend class WmWindowMusTestApi;
+
// ui::WindowObserver:
void OnTreeChanging(const TreeChangeParams& params) override;
void OnTreeChanged(const TreeChangeParams& params) override;
@@ -278,6 +281,9 @@ class WmWindowMus : public WmWindow, public ui::WindowObserver {
base::ObserverList<WmTransientWindowObserver, true> transient_observers_;
+ // If true the minimum size is 0x0, default is minimum size comes from widget.
+ bool use_empty_minimum_size_for_testing_ = false;
+
DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
};
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698