summaryrefslogtreecommitdiffstats
path: root/ui/gfx/display.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-24 06:07:17 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-24 06:07:17 +0000
commit10e01dd51c3fce59f054866729f1e43162b7067d (patch)
tree4f965e2f00216fc8b3da90fbf4632c990acfefac /ui/gfx/display.h
parente9847c65eb40f8a7e1c508f651cb38cda277d3d2 (diff)
downloadchromium_src-10e01dd51c3fce59f054866729f1e43162b7067d.zip
chromium_src-10e01dd51c3fce59f054866729f1e43162b7067d.tar.gz
chromium_src-10e01dd51c3fce59f054866729f1e43162b7067d.tar.bz2
* Fix coordinates for minimize animation
* Update the display bounds correctly in |Fix coordinates for minimize animation|. Update the test so that it will fail with original code, and removed the debugging message that was checked in by mistake. * Update the display layout after the secondary display is initialized on startup. * Fix comment in Display.h. It was probably cut&paste error. BUG=123160 TEST=Updated MultiDisplayTest::NativeDisplayTest Review URL: https://chromiumcodereview.appspot.com/10795080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/display.h')
-rw-r--r--ui/gfx/display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/display.h b/ui/gfx/display.h
index 79aef79..1cbb9af 100644
--- a/ui/gfx/display.h
+++ b/ui/gfx/display.h
@@ -29,11 +29,11 @@ class UI_EXPORT Display {
~Display();
// Sets/Gets unique identifier associated with the display.
+ // -1 means invalid display and it doesn't not exit.
int id() const { return id_; }
void set_id(int id) { id_ = id; }
// Gets/Sets the display's bounds in gfx::Screen's coordinates.
- // -1 means invalid display and it doesn't not exit.
const Rect& bounds() const { return bounds_; }
void set_bounds(const Rect& bounds) { bounds_ = bounds; }