| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COMMON_WM_WORKSPACE_TWO_STEP_EDGE_CYCLER_H_ | 5 #ifndef ASH_WM_WORKSPACE_TWO_STEP_EDGE_CYCLER_H_ |
| 6 #define ASH_COMMON_WM_WORKSPACE_TWO_STEP_EDGE_CYCLER_H_ | 6 #define ASH_WM_WORKSPACE_TWO_STEP_EDGE_CYCLER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "ui/gfx/geometry/point.h" | 11 #include "ui/gfx/geometry/point.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 | 14 |
| 15 // TwoStepEdgeCycler is responsible for cycling between two modes when the mouse | 15 // TwoStepEdgeCycler is responsible for cycling between two modes when the mouse |
| 16 // is at the edge of the workspace. The cycler does not loop so it is impossible | 16 // is at the edge of the workspace. The cycler does not loop so it is impossible |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 bool paused_; | 51 bool paused_; |
| 52 | 52 |
| 53 // Determines a preferred movement direction that we are watching. | 53 // Determines a preferred movement direction that we are watching. |
| 54 Direction direction_; | 54 Direction direction_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(TwoStepEdgeCycler); | 56 DISALLOW_COPY_AND_ASSIGN(TwoStepEdgeCycler); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace ash | 59 } // namespace ash |
| 60 | 60 |
| 61 #endif // ASH_COMMON_WM_WORKSPACE_TWO_STEP_EDGE_CYCLER_H_ | 61 #endif // ASH_WM_WORKSPACE_TWO_STEP_EDGE_CYCLER_H_ |
| OLD | NEW |