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

Side by Side Diff: ash/wm/dock/dock_types.h

Issue 594383002: Change behaviour of the Alt-] and Alt-[ keys so that it cycles through SnapLeft/SnapRight to DockLe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event
Patch Set: Fix comment Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « ash/wm/default_state.cc ('k') | ash/wm/dock/docked_window_layout_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_DOCK_DOCK_TYPES_H_ 5 #ifndef ASH_WM_DOCK_DOCK_TYPES_H_
6 #define ASH_WM_DOCK_DOCK_TYPES_H_ 6 #define ASH_WM_DOCK_DOCK_TYPES_H_
7 7
8 namespace ash { 8 namespace ash {
9 9
10 // Possible values of which side of the screen the windows are docked at. 10 // Possible values of which side of the screen the windows are docked at.
(...skipping 24 matching lines...) Expand all
35 DOCKED_ACTION_RESTORE, // Restored a docked window that was minimized. 35 DOCKED_ACTION_RESTORE, // Restored a docked window that was minimized.
36 DOCKED_ACTION_CLOSE, // Closed a window while it was docked. 36 DOCKED_ACTION_CLOSE, // Closed a window while it was docked.
37 DOCKED_ACTION_COUNT, // Maximum value of this enum for histograms use. 37 DOCKED_ACTION_COUNT, // Maximum value of this enum for histograms use.
38 }; 38 };
39 39
40 // Event source for the docking user action (when known). 40 // Event source for the docking user action (when known).
41 enum DockedActionSource { 41 enum DockedActionSource {
42 DOCKED_ACTION_SOURCE_UNKNOWN, 42 DOCKED_ACTION_SOURCE_UNKNOWN,
43 DOCKED_ACTION_SOURCE_MOUSE, 43 DOCKED_ACTION_SOURCE_MOUSE,
44 DOCKED_ACTION_SOURCE_TOUCH, 44 DOCKED_ACTION_SOURCE_TOUCH,
45 DOCKED_ACTION_SOURCE_KEYBOARD,
45 46
46 // Maximum value of this enum for histograms use. 47 // Maximum value of this enum for histograms use.
47 DOCKED_ACTION_SOURCE_COUNT, 48 DOCKED_ACTION_SOURCE_COUNT,
48 }; 49 };
49 50
50 } // namespace ash 51 } // namespace ash
51 52
52 #endif // ASH_WM_DOCK_DOCK_TYPES_H_ 53 #endif // ASH_WM_DOCK_DOCK_TYPES_H_
OLDNEW
« no previous file with comments | « ash/wm/default_state.cc ('k') | ash/wm/dock/docked_window_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698