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

Unified Diff: ui/v2/src/layout.cc

Issue 25757007: V2: Implement reparenting, bounds and visibility change notifications, and write more tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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
Index: ui/v2/src/layout.cc
diff --git a/ui/v2/src/layout.cc b/ui/v2/src/layout.cc
index 567060c5be781b752c5e117e283ac1445921e063..9b213bdb77438d7abae9dc09151e985a6db7ae9f 100644
--- a/ui/v2/src/layout.cc
+++ b/ui/v2/src/layout.cc
@@ -5,6 +5,7 @@
#include "ui/v2/public/layout.h"
#include "ui/v2/public/view.h"
+#include "ui/v2/src/view_private.h"
namespace v2 {
@@ -22,7 +23,7 @@ void Layout::SetChildBounds(View* child,
// Layout, protected:
void Layout::SetChildBoundsDirect(View* child, const gfx::Rect& bounds) {
- child->SetBoundsInternal(bounds);
+ ViewPrivate(child).set_bounds(bounds);
}
} // namespace v2
« no previous file with comments | « ui/v2/public/view_observer.h ('k') | ui/v2/src/view.cc » ('j') | ui/v2/src/view_private.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698