| OLD | NEW |
| (Empty) |
| 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 | |
| 5 #ifndef AURA_HIT_TEST_H_ | |
| 6 #define AURA_HIT_TEST_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 // Defines the same symbolic names used by the WM_NCHITTEST Notification under | |
| 10 // win32 (the integer values are not guaranteed to be equivalent). We do this | |
| 11 // because we have a whole bunch of code that deals with window resizing and | |
| 12 // such that requires these values. | |
| 13 enum HitTestCompat { | |
| 14 HTBORDER = 1, | |
| 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 HTNOWHERE, | |
| 30 HTREDUCE, | |
| 31 HTRIGHT, | |
| 32 HTSIZE, | |
| 33 HTSYSMENU, | |
| 34 HTTOP, | |
| 35 HTTOPLEFT, | |
| 36 HTTOPRIGHT, | |
| 37 HTTRANSPARENT, | |
| 38 HTVSCROLL, | |
| 39 HTZOOM | |
| 40 }; | |
| 41 | |
| 42 #endif // AURA_HIT_TEST_H_ | |
| OLD | NEW |