Index: ash/frame/frame_border_hit_test_controller.h |
diff --git a/ash/frame/frame_border_hit_test_controller.h b/ash/frame/frame_border_hit_test_controller.h |
index 1fef3892af7e79999884f63422103276c85a1a28..9d50b0faf475086ba93e85055caea6db7e9306af 100644 |
--- a/ash/frame/frame_border_hit_test_controller.h |
+++ b/ash/frame/frame_border_hit_test_controller.h |
@@ -23,7 +23,7 @@ class Widget; |
} |
namespace ash { |
-class HeaderPainter; |
+class FrameCaptionButtonContainerView; |
// Class which manages the hittest override bounds for |frame|. |
class ASH_EXPORT FrameBorderHitTestController { |
@@ -31,11 +31,12 @@ class ASH_EXPORT FrameBorderHitTestController { |
explicit FrameBorderHitTestController(views::Widget* frame); |
virtual ~FrameBorderHitTestController(); |
- // Does the non client hit test on behalf of |view|. |point| must be in the |
- // coordinates of |view|'s widget. |
- static int NonClientHitTest(views::NonClientFrameView* view, |
- HeaderPainter* header_painter, |
- const gfx::Point& point); |
+ // Does the non client hit test on behalf of |view|. |point_in_widget| must be |
+ // in the coordinates of |view|'s widget. |
+ static int NonClientHitTest( |
+ views::NonClientFrameView* view, |
+ FrameCaptionButtonContainerView* caption_button_container, |
+ const gfx::Point& point_in_widget); |
private: |
// The window whose hittest override bounds are being managed. |