summaryrefslogtreecommitdiffstats
path: root/ash/wm/window_resizer.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 18:50:45 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 18:50:45 +0000
commitebc1dea7ab6f535eac8db6de630d7c509d57b6d8 (patch)
tree828fcb3eca002347745a2c754f194060e7af265a /ash/wm/window_resizer.cc
parentf70e426254b0dda5540398aa47202d8d8c817196 (diff)
downloadchromium_src-ebc1dea7ab6f535eac8db6de630d7c509d57b6d8.zip
chromium_src-ebc1dea7ab6f535eac8db6de630d7c509d57b6d8.tar.gz
chromium_src-ebc1dea7ab6f535eac8db6de630d7c509d57b6d8.tar.bz2
Rename the remaining usage of Monitor to Display
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10675011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/window_resizer.cc')
-rw-r--r--ash/wm/window_resizer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/window_resizer.cc b/ash/wm/window_resizer.cc
index 7e62d23..df28ec7 100644
--- a/ash/wm/window_resizer.cc
+++ b/ash/wm/window_resizer.cc
@@ -292,7 +292,7 @@ int WindowResizer::GetWidthForDrag(const Details& details,
*delta_x = -x_multiplier * (details.initial_bounds.width() - min_width);
}
- // And don't let the window go bigger than the monitor.
+ // And don't let the window go bigger than the display.
int max_width =
gfx::Screen::GetDisplayNearestWindow(details.window).bounds().width();
if (width > max_width) {
@@ -326,7 +326,7 @@ int WindowResizer::GetHeightForDrag(const Details& details,
*delta_y = -y_multiplier * (details.initial_bounds.height() - min_height);
}
- // And don't let the window go bigger than the monitor.
+ // And don't let the window go bigger than the display.
int max_height =
gfx::Screen::GetDisplayNearestWindow(details.window).bounds().height();
if (height > max_height) {