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

Unified Diff: ash/wm/workspace/workspace_window_resizer.cc

Issue 10675011: Rename the remaining usage of Monitor to Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/workspace/workspace_manager.cc ('k') | ash/wm/workspace/workspace_window_resizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_window_resizer.cc
diff --git a/ash/wm/workspace/workspace_window_resizer.cc b/ash/wm/workspace/workspace_window_resizer.cc
index 9b520305a8e86bf1c5a9d8aec2005fac4e491a7f..26d957c843cc75961eaa98b098fed220eddbb459 100644
--- a/ash/wm/workspace/workspace_window_resizer.cc
+++ b/ash/wm/workspace/workspace_window_resizer.cc
@@ -286,7 +286,7 @@ void WorkspaceWindowResizer::AdjustBoundsForMainWindow(
if (bounds->y() > max_y)
bounds->set_y(max_y);
- // Don't allow dragging above the top of the monitor.
+ // Don't allow dragging above the top of the display.
if (bounds->y() <= work_area.y())
bounds->set_y(work_area.y());
@@ -419,8 +419,8 @@ void WorkspaceWindowResizer::RestackWindows() {
WorkspaceWindowResizer::SnapType WorkspaceWindowResizer::GetSnapType(
const gfx::Point& location) const {
- // TODO: this likely only wants total monitor area, not the area of a single
- // monitor.
+ // TODO: this likely only wants total display area, not the area of a single
+ // display.
gfx::Rect area(
gfx::Screen::GetDisplayNearestWindow(details_.window).bounds());
if (location.x() <= area.x())
« no previous file with comments | « ash/wm/workspace/workspace_manager.cc ('k') | ash/wm/workspace/workspace_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698