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

Unified Diff: ash/common/wm/window_positioning_utils.h

Issue 2162193003: Separates out accelerators using non-common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@accelerators
Patch Set: sim=20 Created 4 years, 5 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/ash.gyp ('k') | ash/common/wm/window_positioning_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_positioning_utils.h
diff --git a/ash/common/wm/window_positioning_utils.h b/ash/common/wm/window_positioning_utils.h
index eb12b60d54705a74ca0436d60e2447aa108cce08..30aca7ac28ff5d350773efb318caa42da369f8c2 100644
--- a/ash/common/wm/window_positioning_utils.h
+++ b/ash/common/wm/window_positioning_utils.h
@@ -51,6 +51,9 @@ ASH_EXPORT gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(
ASH_EXPORT gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(
WmWindow* window);
+// Moves the window to the center of the display.
+ASH_EXPORT void CenterWindow(WmWindow* window);
+
} // namespace wm
} // namespace ash
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/wm/window_positioning_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698