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

Unified Diff: ash/wm/window_util.cc

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/wm/window_util.h ('k') | ash/wm/window_util_unittest.cc » ('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 32e0b1e8c768a7adb8eeba3b0f1655c0a0e136a9..9cf50d32120034195e23230d032b26d5a36a0c0d 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -62,11 +62,6 @@ bool IsWindowUserPositionable(aura::Window* window) {
return GetWindowState(window)->IsUserPositionable();
}
-void CenterWindow(aura::Window* window) {
- wm::WMEvent event(wm::WM_EVENT_CENTER);
- wm::GetWindowState(window)->OnWMEvent(&event);
-}
-
void PinWindow(aura::Window* window) {
wm::WMEvent event(wm::WM_EVENT_PIN);
wm::GetWindowState(window)->OnWMEvent(&event);
« no previous file with comments | « ash/wm/window_util.h ('k') | ash/wm/window_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698