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

Unified Diff: ash/wm/workspace/snap_types.h

Issue 10823025: Adding new maximize menu according to spec (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding mouse watcher Created 8 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
Index: ash/wm/workspace/snap_types.h
diff --git a/ash/wm/workspace/snap_types.h b/ash/wm/workspace/snap_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..a9f01dd3e1718b6e1af4c04eada3c253f592f29a
--- /dev/null
+++ b/ash/wm/workspace/snap_types.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_WM_WORKSPACE_SNAP_TYPES_H_
+#define ASH_WM_WORKSPACE_SNAP_TYPES_H_
+
+namespace ash {
+
+namespace workspace {
sky 2012/08/03 19:42:00 remove this namespace. Keep it in just ash.
Mr4D (OOO till 08-26) 2012/08/03 20:39:28 Odd - recently someone told me that the namespace
+
+enum SnapType {
sky 2012/08/03 19:42:00 Add a description.
Mr4D (OOO till 08-26) 2012/08/03 20:39:28 Done.
+ SNAP_LEFT,
+ SNAP_RIGHT,
+ SNAP_MAXIMIZE,
+ SNAP_MINIMIZE,
+ SNAP_RESTORE,
+ SNAP_NONE
+};
+
+} // namespace workspace
+
+} // namespace ash
+
+#endif // ASH_WM_WORKSPACE_SNAP_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698