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

Unified Diff: ash/wm/window_util.cc

Issue 2625113004: Unify window fullscreen and minimizing implementation (Closed)
Patch Set: Update Created 3 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 | « ash/wm/window_util.h ('k') | ui/views/mus/desktop_window_tree_host_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_util.cc
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
index 0e4f632a3855674123fa855f5a73e8a505f60f7f..23188762e75a6923e7c584e79318ae8f1431ff51 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -55,6 +55,10 @@ bool CanActivateWindow(aura::Window* window) {
return ::wm::CanActivateWindow(window);
}
+void SetWindowFullscreen(aura::Window* window, bool fullscreen) {
sky 2017/01/23 20:13:34 Can't callers call through to ::wm::SetWindowFulls
Peng 2017/01/23 20:23:45 Done.
+ ::wm::SetWindowFullscreen(window, fullscreen);
+}
+
bool IsWindowUserPositionable(aura::Window* window) {
return GetWindowState(window)->IsUserPositionable();
}
« no previous file with comments | « ash/wm/window_util.h ('k') | ui/views/mus/desktop_window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698