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

Unified Diff: ash/frame/frame_border_hit_test_controller.h

Issue 2215223003: Moves most frame related classes to ash/common/frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 4 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 e46ff5b2548ecc2fa39c6b2837435f0092861f6f..af2a2caff7ccd5ea0b8a10bd9c478e8f6f6c7c56 100644
--- a/ash/frame/frame_border_hit_test_controller.h
+++ b/ash/frame/frame_border_hit_test_controller.h
@@ -6,38 +6,25 @@
#define ASH_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_
#include "ash/ash_export.h"
-#include "base/compiler_specific.h"
#include "base/macros.h"
namespace aura {
class Window;
}
-namespace gfx {
-class Point;
-}
-
namespace views {
-class NonClientFrameView;
class Widget;
}
namespace ash {
-class FrameCaptionButtonContainerView;
// Class which manages the hittest override bounds for |frame|.
+// TODO(sky): remove this class entirely. It isn't really needed.
class ASH_EXPORT FrameBorderHitTestController {
public:
explicit FrameBorderHitTestController(views::Widget* frame);
virtual ~FrameBorderHitTestController();
- // 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.
aura::Window* frame_window_;
« 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