OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SERVICES_WINDOW_MANAGER_HIT_TEST_H_ | |
6 #define SERVICES_WINDOW_MANAGER_HIT_TEST_H_ | |
7 | |
8 // Defines the same symbolic names used by the WM_NCHITTEST Notification under | |
9 // win32 (the integer values are not guaranteed to be equivalent). We do this | |
10 // because we have a whole bunch of code that deals with window resizing and | |
11 // such that requires these values. | |
12 enum HitTestCompat { | |
13 HTNOWHERE = 0, | |
14 HTBORDER, | |
15 HTBOTTOM, | |
16 HTBOTTOMLEFT, | |
17 HTBOTTOMRIGHT, | |
18 HTCAPTION, | |
19 HTCLIENT, | |
20 HTCLOSE, | |
21 HTERROR, | |
22 HTGROWBOX, | |
23 HTHELP, | |
24 HTHSCROLL, | |
25 HTLEFT, | |
26 HTMENU, | |
27 HTMAXBUTTON, | |
28 HTMINBUTTON, | |
29 HTREDUCE, | |
30 HTRIGHT, | |
31 HTSIZE, | |
32 HTSYSMENU, | |
33 HTTOP, | |
34 HTTOPLEFT, | |
35 HTTOPRIGHT, | |
36 HTTRANSPARENT, | |
37 HTVSCROLL, | |
38 HTZOOM | |
39 }; | |
40 | |
41 #endif // SERVICES_WINDOW_MANAGER_HIT_TEST_H_ | |
OLD | NEW |