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

Side by Side Diff: ash/common/wm_root_window_controller.h

Issue 2168733002: Splits debug_commands into aura and non-aura parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 5 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm/workspace/workspace_types.h" 9 #include "ash/common/wm/workspace/workspace_types.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 int shell_container_id, 52 int shell_container_id,
53 views::Widget::InitParams* init_params) = 0; 53 views::Widget::InitParams* init_params) = 0;
54 54
55 // Returns the window events will be targeted at for the specified location 55 // Returns the window events will be targeted at for the specified location
56 // (in screen coordinates). 56 // (in screen coordinates).
57 // 57 //
58 // NOTE: the returned window may not contain the location as resize handles 58 // NOTE: the returned window may not contain the location as resize handles
59 // may extend outside the bounds of the window. 59 // may extend outside the bounds of the window.
60 virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0; 60 virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0;
61 61
62 // Gets the last location seen in a mouse event in this root window's
63 // coordinates. This may return a point outside the root window's bounds.
64 virtual gfx::Point GetLastMouseLocationInRoot() = 0;
65
62 virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0; 66 virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0;
63 virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0; 67 virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0;
64 }; 68 };
65 69
66 } // namespace ash 70 } // namespace ash
67 71
68 #endif // ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_ 72 #endif // ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698