summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-28 15:09:37 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-28 15:09:37 +0000
commit5e207050d52060974ab6b9ce6686574af706d440 (patch)
treedc1bc4fef6db3f49d3cd9aba54d0dc9b88f29d73 /views
parent70fda3cd4f91d6bbcbc2bb1cc4c4f2990511eb69 (diff)
downloadchromium_src-5e207050d52060974ab6b9ce6686574af706d440.zip
chromium_src-5e207050d52060974ab6b9ce6686574af706d440.tar.gz
chromium_src-5e207050d52060974ab6b9ce6686574af706d440.tar.bz2
aura: Comment noisy NOTIMPLEMENTEDs in NativeWidgetAura.
This also wires up GetRestoredBounds(). BUG=99729 TEST=manual: less spam Review URL: http://codereview.chromium.org/8417014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/widget/native_widget_aura.cc23
1 files changed, 10 insertions, 13 deletions
diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
index de95a18..11fcb07 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -164,7 +164,7 @@ void NativeWidgetAura::ReorderLayers() {
}
void NativeWidgetAura::ViewRemoved(View* view) {
-// NOTIMPLEMENTED();
+ //NOTIMPLEMENTED();
}
void NativeWidgetAura::SetNativeWindowProperty(const char* name, void* value) {
@@ -181,14 +181,14 @@ TooltipManager* NativeWidgetAura::GetTooltipManager() const {
}
bool NativeWidgetAura::IsScreenReaderActive() const {
- NOTIMPLEMENTED();
+ //NOTIMPLEMENTED();
return false;
}
void NativeWidgetAura::SendNativeAccessibilityEvent(
View* view,
ui::AccessibilityTypes::Event event_type) {
- NOTIMPLEMENTED();
+ //NOTIMPLEMENTED();
}
void NativeWidgetAura::SetMouseCapture() {
@@ -228,24 +228,24 @@ void NativeWidgetAura::GetWindowPlacement(
}
void NativeWidgetAura::SetWindowTitle(const string16& title) {
- NOTIMPLEMENTED();
+ // Aura doesn't have native window frames.
}
void NativeWidgetAura::SetWindowIcons(const SkBitmap& window_icon,
const SkBitmap& app_icon) {
- NOTIMPLEMENTED();
+ // Aura doesn't have window icons.
}
void NativeWidgetAura::SetAccessibleName(const string16& name) {
- NOTIMPLEMENTED();
+ //NOTIMPLEMENTED();
}
void NativeWidgetAura::SetAccessibleRole(ui::AccessibilityTypes::Role role) {
- NOTIMPLEMENTED();
+ //NOTIMPLEMENTED();
}
void NativeWidgetAura::SetAccessibleState(ui::AccessibilityTypes::State state) {
- NOTIMPLEMENTED();
+ //NOTIMPLEMENTED();
}
void NativeWidgetAura::BecomeModal() {
@@ -257,15 +257,12 @@ gfx::Rect NativeWidgetAura::GetWindowScreenBounds() const {
}
gfx::Rect NativeWidgetAura::GetClientAreaScreenBounds() const {
- // TODO(beng):
- NOTIMPLEMENTED();
+ // In Aura, the entire window is the client area.
return window_->GetScreenBounds();
}
gfx::Rect NativeWidgetAura::GetRestoredBounds() const {
- // TODO(beng):
- NOTIMPLEMENTED();
- return window_->bounds();
+ return window_->restore_bounds();
}
void NativeWidgetAura::SetBounds(const gfx::Rect& bounds) {