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

Unified Diff: mojo/services/view_manager/public/cpp/lib/view.cc

Issue 911073005: Drop all uses of //base except ObserverList from view mgr client lib (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: gn check Created 5 years, 10 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: mojo/services/view_manager/public/cpp/lib/view.cc
diff --git a/mojo/services/view_manager/public/cpp/lib/view.cc b/mojo/services/view_manager/public/cpp/lib/view.cc
index 1e8b2b03d298df9218b03b7d5d4be826e1d822b7..bfbc67a8cb692ad3c7d81e6f3963d397cca85b0b 100644
--- a/mojo/services/view_manager/public/cpp/lib/view.cc
+++ b/mojo/services/view_manager/public/cpp/lib/view.cc
@@ -77,7 +77,7 @@ class ScopedTreeNotifier {
private:
ViewObserver::TreeChangeParams params_;
- DISALLOW_COPY_AND_ASSIGN(ScopedTreeNotifier);
+ MOJO_DISALLOW_COPY_AND_ASSIGN(ScopedTreeNotifier);
};
void RemoveChildImpl(View* child, View::Children* children) {
@@ -112,7 +112,7 @@ class ScopedOrderChangedNotifier {
View* relative_view_;
OrderDirection direction_;
- DISALLOW_COPY_AND_ASSIGN(ScopedOrderChangedNotifier);
+ MOJO_DISALLOW_COPY_AND_ASSIGN(ScopedOrderChangedNotifier);
};
// Returns true if the order actually changed.
@@ -168,7 +168,7 @@ class ScopedSetBoundsNotifier {
const Rect old_bounds_;
const Rect new_bounds_;
- DISALLOW_COPY_AND_ASSIGN(ScopedSetBoundsNotifier);
+ MOJO_DISALLOW_COPY_AND_ASSIGN(ScopedSetBoundsNotifier);
};
// Some operations are only permitted in the connection that created the view.

Powered by Google App Engine
This is Rietveld 408576698