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

Unified Diff: ash/mus/frame/frame_border_hit_test_controller.h

Issue 2227643003: Converts mash to use the common non-client frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_widget_mus_fix
Patch Set: feedback 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/mus/frame/default_header_painter.cc ('k') | ash/mus/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/mus/frame/frame_border_hit_test_controller.h
diff --git a/ash/mus/frame/frame_border_hit_test_controller.h b/ash/mus/frame/frame_border_hit_test_controller.h
deleted file mode 100644
index aeb4d019338488dc3b2b28f7b66cf7036b66b890..0000000000000000000000000000000000000000
--- a/ash/mus/frame/frame_border_hit_test_controller.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_MUS_FRAME_FRAME_BORDER_HIT_TEST_CONTROLLER_H_
-#define ASH_MUS_FRAME_FRAME_BORDER_HIT_TEST_CONTROLLER_H_
-
-#include "base/macros.h"
-
-namespace gfx {
-class Insets;
-class Point;
-}
-
-namespace views {
-class NonClientFrameView;
-class Widget;
-}
-
-namespace ash {
-namespace mus {
-class FrameCaptionButtonContainerView;
-
-// Class which manages the hittest override bounds for |frame|.
-class FrameBorderHitTestController {
- public:
- // Returns the amount of space resizes are allowed to occur outside the
- // bounds of windows.
- static gfx::Insets GetResizeOutsideBoundsSize();
-
- // 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:
- DISALLOW_IMPLICIT_CONSTRUCTORS(FrameBorderHitTestController);
-};
-
-} // namespace mus
-} // namespace ash
-
-#endif // ASH_MUS_FRAME_FRAME_BORDER_HIT_TEST_CONTROLLER_H_
« no previous file with comments | « ash/mus/frame/default_header_painter.cc ('k') | ash/mus/frame/frame_border_hit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698