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

Unified Diff: mojo/services/public/cpp/view_manager/view.h

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 years 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: mojo/services/public/cpp/view_manager/view.h
diff --git a/mojo/services/public/cpp/view_manager/view.h b/mojo/services/public/cpp/view_manager/view.h
index 56d930f8073b3681989c604f61889953bdd6bd57..c585dd58ca11bdb752e5a28160745b4e266f5357 100644
--- a/mojo/services/public/cpp/view_manager/view.h
+++ b/mojo/services/public/cpp/view_manager/view.h
@@ -154,6 +154,18 @@ class View {
void LocalSetBounds(const Rect& old_bounds, const Rect& new_bounds);
void LocalSetDrawn(bool drawn);
+ // Methods implementing visibility change notifications. See ViewObserver
+ // for more details.
+ void NotifyViewVisibilityChanged(View* target);
+ // Notifies this view's observers. Returns false if |this| was deleted during
+ // the call (by an observer), otherwise true.
+ bool NotifyViewVisibilityChangedAtReceiver(View* target);
+ // Notifies this view and its child hierarchy. Returns false if |this| was
+ // deleted during the call (by an observer), otherwise true.
+ bool NotifyViewVisibilityChangedDown(View* target);
+ // Notifies this view and its parent hierarchy.
+ void NotifyViewVisibilityChangedUp(View* target);
+
ViewManager* manager_;
Id id_;
View* parent_;

Powered by Google App Engine
This is Rietveld 408576698