[email protected] | eaf6dd5 | 2011-09-02 00:39:26 | [diff] [blame] | 1 | // Copyright (c) 2011 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 | |
[email protected] | 5bcd97cb | 2012-10-25 17:19:42 | [diff] [blame] | 5 | #ifndef UI_BASE_HIT_TEST_H_ |
| 6 | #define UI_BASE_HIT_TEST_H_ |
[email protected] | eaf6dd5 | 2011-09-02 00:39:26 | [diff] [blame] | 7 | |
avi | 20f6a6d53 | 2015-12-23 08:05:24 | [diff] [blame] | 8 | #include "build/build_config.h" |
| 9 | |
[email protected] | aa4769f | 2011-10-10 16:51:37 | [diff] [blame] | 10 | #if !defined(OS_WIN) |
| 11 | |
[email protected] | eaf6dd5 | 2011-09-02 00:39:26 | [diff] [blame] | 12 | // Defines the same symbolic names used by the WM_NCHITTEST Notification under |
| 13 | // win32 (the integer values are not guaranteed to be equivalent). We do this |
| 14 | // because we have a whole bunch of code that deals with window resizing and |
| 15 | // such that requires these values. |
| 16 | enum HitTestCompat { |
[email protected] | 912be0e | 2011-11-09 19:05:24 | [diff] [blame] | 17 | HTNOWHERE = 0, |
| 18 | HTBORDER, |
[email protected] | eaf6dd5 | 2011-09-02 00:39:26 | [diff] [blame] | 19 | HTBOTTOM, |
| 20 | HTBOTTOMLEFT, |
| 21 | HTBOTTOMRIGHT, |
| 22 | HTCAPTION, |
| 23 | HTCLIENT, |
| 24 | HTCLOSE, |
| 25 | HTERROR, |
| 26 | HTGROWBOX, |
| 27 | HTHELP, |
| 28 | HTHSCROLL, |
| 29 | HTLEFT, |
| 30 | HTMENU, |
| 31 | HTMAXBUTTON, |
| 32 | HTMINBUTTON, |
[email protected] | eaf6dd5 | 2011-09-02 00:39:26 | [diff] [blame] | 33 | HTREDUCE, |
| 34 | HTRIGHT, |
| 35 | HTSIZE, |
| 36 | HTSYSMENU, |
| 37 | HTTOP, |
| 38 | HTTOPLEFT, |
| 39 | HTTOPRIGHT, |
| 40 | HTTRANSPARENT, |
| 41 | HTVSCROLL, |
| 42 | HTZOOM |
| 43 | }; |
| 44 | |
[email protected] | aa4769f | 2011-10-10 16:51:37 | [diff] [blame] | 45 | #endif // !defined(OS_WIN) |
| 46 | |
[email protected] | 5bcd97cb | 2012-10-25 17:19:42 | [diff] [blame] | 47 | #endif // UI_BASE_HIT_TEST_H_ |