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

Unified Diff: ash/wm/workspace/workspace_manager.h

Issue 9699013: MonitorManager to manage multiple monitors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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
Index: ash/wm/workspace/workspace_manager.h
diff --git a/ash/wm/workspace/workspace_manager.h b/ash/wm/workspace/workspace_manager.h
index 00715cd9fe37c139efdb7b81e5a1f004983f694e..13d2d94661d81fc17624210d4c3669e0a7bfeb37 100644
--- a/ash/wm/workspace/workspace_manager.h
+++ b/ash/wm/workspace/workspace_manager.h
@@ -63,8 +63,8 @@ class ASH_EXPORT WorkspaceManager {
// Sets the size of a single workspace (all workspaces have the same size).
void SetWorkspaceSize(const gfx::Size& workspace_size);
- // Called when screen work area insets changes.
- void OnScreenWorkAreaInsetsChanged();
+ // Called when monitor's work area insets changes.
+ void OnMonitorWorkAreaInsetsChanged();
// Returns the window the layout manager should allow the size to be set for.
// TODO: maybe this should be set on WorkspaceLayoutManager.
@@ -123,7 +123,7 @@ class ASH_EXPORT WorkspaceManager {
void SetActiveWorkspace(Workspace* workspace);
// Returns the bounds of the work area.
- gfx::Rect GetWorkAreaBounds();
+ gfx::Rect GetWorkAreaBounds() const;
// Returns the index of the workspace that contains the |window|.
int GetWorkspaceIndexContaining(aura::Window* window) const;

Powered by Google App Engine
This is Rietveld 408576698