OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 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 CHROME_VIEWS_WINDOW_HIT_TEST_H_ |
| 6 #define CHROME_VIEWS_WINDOW_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 HTBORDER = 1, |
| 14 HTBOTTOM, |
| 15 HTBOTTOMLEFT, |
| 16 HTBOTTOMRIGHT, |
| 17 HTCAPTION, |
| 18 HTCLIENT, |
| 19 HTCLOSE, |
| 20 HTERROR, |
| 21 HTGROWBOX, |
| 22 HTHELP, |
| 23 HTHSCROLL, |
| 24 HTLEFT, |
| 25 HTMENU, |
| 26 HTMAXBUTTON, |
| 27 HTMINBUTTON, |
| 28 HTNOWHERE, |
| 29 HTREDUCE, |
| 30 HTRIGHT, |
| 31 HTSIZE, |
| 32 HTSYSMENU, |
| 33 HTTOP, |
| 34 HTTOPLEFT, |
| 35 HTTOPRIGHT, |
| 36 HTTRANSPARENT, |
| 37 HTVSCROLL, |
| 38 HTZOOM |
| 39 }; |
| 40 |
| 41 #endif // CHROME_VIEWS_WINDOW_HIT_TEST_H_ |
OLD | NEW |