summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-22 01:31:25 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-22 01:31:25 +0000
commita4c5814a1e4863f2a0d690f7cd3f264285bb51cf (patch)
treedcf2509bf5dc14c3837b70572b9e34a4b71e5891 /views
parent45e6041ea5bc692576bffce6a95c3d03d27faa0b (diff)
downloadchromium_src-a4c5814a1e4863f2a0d690f7cd3f264285bb51cf.zip
chromium_src-a4c5814a1e4863f2a0d690f7cd3f264285bb51cf.tar.gz
chromium_src-a4c5814a1e4863f2a0d690f7cd3f264285bb51cf.tar.bz2
Implement NativeWidgetAura::GetScreenBounds
BUG=none TEST=added new tests to window_unittests. Review URL: http://codereview.chromium.org/8372008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106829 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/widget/native_widget_aura.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
index cc1baa1..4388d64 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -259,17 +259,18 @@ void NativeWidgetAura::BecomeModal() {
}
gfx::Rect NativeWidgetAura::GetWindowScreenBounds() const {
- // TODO(beng): ensure screen bounds
- return window_->bounds();
+ return window_->GetScreenBounds();
}
gfx::Rect NativeWidgetAura::GetClientAreaScreenBounds() const {
// TODO(beng):
- return window_->bounds();
+ NOTIMPLEMENTED();
+ return window_->GetScreenBounds();
}
gfx::Rect NativeWidgetAura::GetRestoredBounds() const {
// TODO(beng):
+ NOTIMPLEMENTED();
return window_->bounds();
}