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

Unified Diff: ui/v2/public/view.h

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
« no previous file with comments | « no previous file | ui/v2/public/view_observer.h » ('j') | ui/v2/src/view_private.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/v2/public/view.h
diff --git a/ui/v2/public/view.h b/ui/v2/public/view.h
index 975afbf29d4bb2a8e3ac879775594525157635e3..016d8d0494a5844ad5dafb747c37eb7981086e9c 100644
--- a/ui/v2/public/view.h
+++ b/ui/v2/public/view.h
@@ -36,6 +36,8 @@ class V2_EXPORT View /* : public EventTarget */ {
// View takes ownership.
void SetPainter(Painter* painter);
+ // See documentation in layout.h. A layout manager's rules apply to this
+ // View's children.
// View takes ownership.
void SetLayout(Layout* layout);
@@ -70,9 +72,7 @@ class V2_EXPORT View /* : public EventTarget */ {
private:
friend class Layout;
- friend class ViewObserversAccessor;
-
- void SetBoundsInternal(const gfx::Rect& bounds);
+ friend class ViewPrivate;
// Disposition attributes.
gfx::Rect bounds_;
« no previous file with comments | « no previous file | ui/v2/public/view_observer.h » ('j') | ui/v2/src/view_private.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698