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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MASH_WM_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_
6 #define MASH_WM_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_
7
8 #include "base/macros.h"
9
10 namespace gfx {
11 class Insets;
12 class Point;
13 }
14
15 namespace views {
16 class NonClientFrameView;
17 class Widget;
18 }
19
20 namespace mash {
21 namespace wm {
22 class FrameCaptionButtonContainerView;
23
24 // Class which manages the hittest override bounds for |frame|.
25 class FrameBorderHitTestController {
26 public:
27 // Returns the amount of space resizes are allowed to occur outside the
28 // bounds of windows.
29 static gfx::Insets GetResizeOutsideBoundsSize();
30
31 // Does the non client hit test on behalf of |view|. |point_in_widget| must be
32 // in the coordinates of |view|'s widget.
33 static int NonClientHitTest(
34 views::NonClientFrameView* view,
35 FrameCaptionButtonContainerView* caption_button_container,
36 const gfx::Point& point_in_widget);
37
38 private:
39 DISALLOW_IMPLICIT_CONSTRUCTORS(FrameBorderHitTestController);
40 };
41
42 } // namespace wm
43 } // namespace mash
44
45 #endif // MASH_WM_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_
OLDNEW
« 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