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

Unified Diff: ash/frame/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
« no previous file with comments | « ash/frame/default_header_painter_unittest.cc ('k') | ash/frame/frame_border_hit_test_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ash/frame/default_header_painter_unittest.cc ('k') | ash/frame/frame_border_hit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698