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

Side by Side Diff: ash/wm/workspace/magnetism_matcher.h

Issue 802473003: Fix references to ui/gfx headers in a*/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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/wm_event.h ('k') | ash/wm/workspace/multi_window_resize_controller.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WORKSPACE_MAGNETISM_MATCHER_H_ 5 #ifndef ASH_WM_WORKSPACE_MAGNETISM_MATCHER_H_
6 #define ASH_WM_WORKSPACE_MAGNETISM_MATCHER_H_ 6 #define ASH_WM_WORKSPACE_MAGNETISM_MATCHER_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 16
17 namespace ash { 17 namespace ash {
18 18
19 enum MagnetismEdge { 19 enum MagnetismEdge {
20 MAGNETISM_EDGE_TOP = 1 << 0, 20 MAGNETISM_EDGE_TOP = 1 << 0,
21 MAGNETISM_EDGE_LEFT = 1 << 1, 21 MAGNETISM_EDGE_LEFT = 1 << 1,
22 MAGNETISM_EDGE_BOTTOM = 1 << 2, 22 MAGNETISM_EDGE_BOTTOM = 1 << 2,
23 MAGNETISM_EDGE_RIGHT = 1 << 3, 23 MAGNETISM_EDGE_RIGHT = 1 << 3,
24 }; 24 };
25 25
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const int32 edges_; 180 const int32 edges_;
181 181
182 ScopedVector<MagnetismEdgeMatcher> matchers_; 182 ScopedVector<MagnetismEdgeMatcher> matchers_;
183 183
184 DISALLOW_COPY_AND_ASSIGN(MagnetismMatcher); 184 DISALLOW_COPY_AND_ASSIGN(MagnetismMatcher);
185 }; 185 };
186 186
187 } // namespace ash 187 } // namespace ash
188 188
189 #endif // ASH_WM_WORKSPACE_MAGNETISM_MATCHER_H_ 189 #endif // ASH_WM_WORKSPACE_MAGNETISM_MATCHER_H_
OLDNEW
« no previous file with comments | « ash/wm/wm_event.h ('k') | ash/wm/workspace/multi_window_resize_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698