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

Unified Diff: ash/common/wm_root_window_controller.h

Issue 2624613002: Promotes common functions to WmRootWindowController (Closed)
Patch Set: order Created 3 years, 11 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/aura/wm_root_window_controller_aura.cc ('k') | ash/common/wm_root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_root_window_controller.h
diff --git a/ash/common/wm_root_window_controller.h b/ash/common/wm_root_window_controller.h
index 8b6387c4743399a382a09cf2b39ebf71f005a288..b61bbfab1b36180e87fcd41f3d4dff60e9a82b43 100644
--- a/ash/common/wm_root_window_controller.h
+++ b/ash/common/wm_root_window_controller.h
@@ -112,21 +112,21 @@ class ASH_EXPORT WmRootWindowController {
// Configures |init_params| prior to initializing |widget|.
// |shell_container_id| is the id of the container to parent |widget| to.
- virtual void ConfigureWidgetInitParamsForContainer(
+ void ConfigureWidgetInitParamsForContainer(
views::Widget* widget,
int shell_container_id,
- views::Widget::InitParams* init_params) = 0;
+ views::Widget::InitParams* init_params);
// Returns the window events will be targeted at for the specified location
// (in screen coordinates).
//
// NOTE: the returned window may not contain the location as resize handles
// may extend outside the bounds of the window.
- virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0;
+ WmWindow* FindEventTarget(const gfx::Point& location_in_screen);
// Gets the last location seen in a mouse event in this root window's
// coordinates. This may return a point outside the root window's bounds.
- virtual gfx::Point GetLastMouseLocationInRoot() = 0;
+ gfx::Point GetLastMouseLocationInRoot();
// Shows a context menu at the |location_in_screen|.
void ShowContextMenu(const gfx::Point& location_in_screen,
« no previous file with comments | « ash/aura/wm_root_window_controller_aura.cc ('k') | ash/common/wm_root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698