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

Unified Diff: ui/aura/desktop.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 | « ui/aura/demo/demo_main.cc ('k') | ui/aura/toplevel_window_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop.cc
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
index 94a7034e7380cb4e92771d4e30da4ad5793d0b24..94399c11e9084649635acde58e01b72755018705 100644
--- a/ui/aura/desktop.cc
+++ b/ui/aura/desktop.cc
@@ -52,7 +52,7 @@ void Desktop::Init() {
window_->Init();
compositor()->SetRootLayer(window_->layer());
toplevel_window_container_->Init();
- toplevel_window_container_->SetBounds(gfx::Rect(0, 0, 1280, 1024), 0);
+ toplevel_window_container_->SetBounds(gfx::Rect(0, 0, 1280, 1024));
toplevel_window_container_->SetVisibility(aura::Window::VISIBILITY_SHOWN);
toplevel_window_container_->SetParent(window_.get());
}
@@ -88,7 +88,7 @@ bool Desktop::OnKeyEvent(const KeyEvent& event) {
void Desktop::OnHostResized(const gfx::Size& size) {
gfx::Rect bounds(window_->bounds().origin(), size);
- window_->SetBounds(bounds, 0);
+ window_->SetBounds(bounds);
compositor_->WidgetSizeChanged(size);
}
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/toplevel_window_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698