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

Side by Side Diff: ash/root_window_controller.h

Issue 2891183002: chromeos: removes WmWindow usage from MultiWindowResizeController (Closed)
Patch Set: feedback and merge Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 SystemTray* GetSystemTray(); 192 SystemTray* GetSystemTray();
193 193
194 // True if the window can receive events on this root window. 194 // True if the window can receive events on this root window.
195 bool CanWindowReceiveEvents(aura::Window* window); 195 bool CanWindowReceiveEvents(aura::Window* window);
196 196
197 // Returns the window events will be targeted at for the specified location 197 // Returns the window events will be targeted at for the specified location
198 // (in screen coordinates). 198 // (in screen coordinates).
199 // 199 //
200 // NOTE: the returned window may not contain the location as resize handles 200 // NOTE: the returned window may not contain the location as resize handles
201 // may extend outside the bounds of the window. 201 // may extend outside the bounds of the window.
202 WmWindow* FindEventTarget(const gfx::Point& location_in_screen); 202 aura::Window* FindEventTarget(const gfx::Point& location_in_screen);
203 203
204 // Gets the last location seen in a mouse event in this root window's 204 // Gets the last location seen in a mouse event in this root window's
205 // coordinates. This may return a point outside the root window's bounds. 205 // coordinates. This may return a point outside the root window's bounds.
206 gfx::Point GetLastMouseLocationInRoot(); 206 gfx::Point GetLastMouseLocationInRoot();
207 207
208 aura::Window* GetContainer(int container_id); 208 aura::Window* GetContainer(int container_id);
209 const aura::Window* GetContainer(int container_id) const; 209 const aura::Window* GetContainer(int container_id) const;
210 210
211 // TODO(sky): remove these. http://crbug.com/671246. 211 // TODO(sky): remove these. http://crbug.com/671246.
212 WmWindow* GetWmContainer(int container_id) { 212 WmWindow* GetWmContainer(int container_id) {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 378
379 // On classic ash, returns the RootWindowController for the given |root_window|. 379 // On classic ash, returns the RootWindowController for the given |root_window|.
380 // On mus ash, returns the RootWindowController for the primary display. 380 // On mus ash, returns the RootWindowController for the primary display.
381 // See RootWindowController class comment above. 381 // See RootWindowController class comment above.
382 ASH_EXPORT RootWindowController* GetRootWindowController( 382 ASH_EXPORT RootWindowController* GetRootWindowController(
383 const aura::Window* root_window); 383 const aura::Window* root_window);
384 384
385 } // namespace ash 385 } // namespace ash
386 386
387 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 387 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698