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

Unified Diff: mash/wm/frame/frame_border_hit_test_controller.h

Issue 2029883002: Moves mash/wm into ash/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_static_assert
Patch Set: move comment Created 4 years, 7 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 | « mash/wm/frame/default_header_painter.cc ('k') | mash/wm/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: mash/wm/frame/frame_border_hit_test_controller.h
diff --git a/mash/wm/frame/frame_border_hit_test_controller.h b/mash/wm/frame/frame_border_hit_test_controller.h
deleted file mode 100644
index 2011afd53e4c99e8f38dc6005ac791e5ac0fffd3..0000000000000000000000000000000000000000
--- a/mash/wm/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 MASH_WM_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_
-#define MASH_WM_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_
-
-#include "base/macros.h"
-
-namespace gfx {
-class Insets;
-class Point;
-}
-
-namespace views {
-class NonClientFrameView;
-class Widget;
-}
-
-namespace mash {
-namespace wm {
-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 wm
-} // namespace mash
-
-#endif // MASH_WM_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_
« no previous file with comments | « mash/wm/frame/default_header_painter.cc ('k') | mash/wm/frame/frame_border_hit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698