| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 UI_BASE_HIT_TEST_H_ | 5 #ifndef SERVICES_WINDOW_MANAGER_HIT_TEST_H_ |
| 6 #define UI_BASE_HIT_TEST_H_ | 6 #define SERVICES_WINDOW_MANAGER_HIT_TEST_H_ |
| 7 | 7 |
| 8 #if !defined(OS_WIN) | 8 #if !defined(OS_WIN) |
| 9 | 9 |
| 10 // Defines the same symbolic names used by the WM_NCHITTEST Notification under | 10 // Defines the same symbolic names used by the WM_NCHITTEST Notification under |
| 11 // win32 (the integer values are not guaranteed to be equivalent). We do this | 11 // win32 (the integer values are not guaranteed to be equivalent). We do this |
| 12 // because we have a whole bunch of code that deals with window resizing and | 12 // because we have a whole bunch of code that deals with window resizing and |
| 13 // such that requires these values. | 13 // such that requires these values. |
| 14 enum HitTestCompat { | 14 enum HitTestCompat { |
| 15 HTNOWHERE = 0, | 15 HTNOWHERE = 0, |
| 16 HTBORDER, | 16 HTBORDER, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 35 HTTOP, | 35 HTTOP, |
| 36 HTTOPLEFT, | 36 HTTOPLEFT, |
| 37 HTTOPRIGHT, | 37 HTTOPRIGHT, |
| 38 HTTRANSPARENT, | 38 HTTRANSPARENT, |
| 39 HTVSCROLL, | 39 HTVSCROLL, |
| 40 HTZOOM | 40 HTZOOM |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 #endif // !defined(OS_WIN) | 43 #endif // !defined(OS_WIN) |
| 44 | 44 |
| 45 #endif // UI_BASE_HIT_TEST_H_ | 45 #endif // SERVICES_WINDOW_MANAGER_HIT_TEST_H_ |
| OLD | NEW |