blob: 45ad59ff62e1b26c214744b2adea6794c91879d8 [file] [log] [blame]
[email protected]eaf6dd52011-09-02 00:39:261// 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]5bcd97cb2012-10-25 17:19:425#ifndef UI_BASE_HIT_TEST_H_
6#define UI_BASE_HIT_TEST_H_
[email protected]eaf6dd52011-09-02 00:39:267
avi20f6a6d532015-12-23 08:05:248#include "build/build_config.h"
9
[email protected]aa4769f2011-10-10 16:51:3710#if !defined(OS_WIN)
11
[email protected]eaf6dd52011-09-02 00:39:2612// 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.
16enum HitTestCompat {
[email protected]912be0e2011-11-09 19:05:2417 HTNOWHERE = 0,
18 HTBORDER,
[email protected]eaf6dd52011-09-02 00:39:2619 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]eaf6dd52011-09-02 00:39:2633 HTREDUCE,
34 HTRIGHT,
35 HTSIZE,
36 HTSYSMENU,
37 HTTOP,
38 HTTOPLEFT,
39 HTTOPRIGHT,
40 HTTRANSPARENT,
41 HTVSCROLL,
42 HTZOOM
43};
44
[email protected]aa4769f2011-10-10 16:51:3745#endif // !defined(OS_WIN)
46
[email protected]5bcd97cb2012-10-25 17:19:4247#endif // UI_BASE_HIT_TEST_H_