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

Unified Diff: views/widget/native_widget_aura.cc

Issue 7972023: Implicit animations through Layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More tweaks Created 9 years, 3 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 | « views/layer_property_setter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_aura.cc
diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
index f85ff1a93a8bf20469af456cd9521a221207dfcd..12c4625d293da35f810a3123479abdb0d2a4583b 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -59,7 +59,7 @@ void NativeWidgetAura::InitNativeWidget(const Widget::InitParams& params) {
window_->set_user_data(this);
window_->Init();
delegate_->OnNativeWidgetCreated();
- window_->SetBounds(params.bounds, 0);
+ window_->SetBounds(params.bounds);
window_->SetParent(params.parent);
// TODO(beng): do this some other way.
delegate_->OnNativeWidgetSizeChanged(params.bounds.size());
@@ -218,11 +218,11 @@ gfx::Rect NativeWidgetAura::GetRestoredBounds() const {
}
void NativeWidgetAura::SetBounds(const gfx::Rect& bounds) {
- window_->SetBounds(bounds, 0);
+ window_->SetBounds(bounds);
}
void NativeWidgetAura::SetSize(const gfx::Size& size) {
- window_->SetBounds(gfx::Rect(window_->bounds().origin(), size), 0);
+ window_->SetBounds(gfx::Rect(window_->bounds().origin(), size));
}
void NativeWidgetAura::SetBoundsConstrained(const gfx::Rect& bounds,
« no previous file with comments | « views/layer_property_setter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698