OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_COMMON_FRAME_FRAME_BORDER_HIT_TEST_H_ | 5 #ifndef ASH_FRAME_FRAME_BORDER_HIT_TEST_H_ |
6 #define ASH_COMMON_FRAME_FRAME_BORDER_HIT_TEST_H_ | 6 #define ASH_FRAME_FRAME_BORDER_HIT_TEST_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Point; | 11 class Point; |
12 } | 12 } |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 class NonClientFrameView; | 15 class NonClientFrameView; |
16 } | 16 } |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 | 19 |
20 class FrameCaptionButtonContainerView; | 20 class FrameCaptionButtonContainerView; |
21 | 21 |
22 // Returns the HitTestCompat for the specified point. | 22 // Returns the HitTestCompat for the specified point. |
23 ASH_EXPORT int FrameBorderNonClientHitTest( | 23 ASH_EXPORT int FrameBorderNonClientHitTest( |
24 views::NonClientFrameView* view, | 24 views::NonClientFrameView* view, |
25 FrameCaptionButtonContainerView* caption_button_container, | 25 FrameCaptionButtonContainerView* caption_button_container, |
26 const gfx::Point& point_in_widget); | 26 const gfx::Point& point_in_widget); |
27 | 27 |
28 } // namespace ash | 28 } // namespace ash |
29 | 29 |
30 #endif // ASH_COMMON_FRAME_FRAME_BORDER_HIT_TEST_H_ | 30 #endif // ASH_FRAME_FRAME_BORDER_HIT_TEST_H_ |
OLD | NEW |