Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2898)

Unified Diff: ash/wm/frame_border_hit_test_controller.h

Issue 189463013: [Refactor] Move code for painting the window header for browser windows out of ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/wm/frame_border_hit_test_controller.h
diff --git a/ash/wm/frame_border_hit_test_controller.h b/ash/wm/frame_border_hit_test_controller.h
index 126f40601b52b93f7ad0dcab31128db4fad51dd3..2fe595c4385ac609d1261073a9376a49939cc3d0 100644
--- a/ash/wm/frame_border_hit_test_controller.h
+++ b/ash/wm/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 {
@@ -33,9 +33,10 @@ class ASH_EXPORT 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);
+ static int NonClientHitTest(
+ views::NonClientFrameView* view,
+ FrameCaptionButtonContainerView* caption_button_container,
+ const gfx::Point& point);
private:
// The window whose hittest override bounds are being managed.

Powered by Google App Engine
This is Rietveld 408576698