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

Unified Diff: trunk/src/mojo/services/view_manager/ids.h

Issue 250733003: Revert 266159 "Adds more to viewmanager" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/mojo/services/view_manager/ids.h
===================================================================
--- trunk/src/mojo/services/view_manager/ids.h (revision 266161)
+++ trunk/src/mojo/services/view_manager/ids.h (working copy)
@@ -23,10 +23,6 @@
other.node_id == node_id;
}
- bool operator!=(const NodeId& other) const {
- return !(*this == other);
- }
-
uint16_t connection_id;
uint16_t node_id;
};
@@ -43,10 +39,6 @@
other.view_id == view_id;
}
- bool operator!=(const ViewId& other) const {
- return !(*this == other);
- }
-
uint16_t connection_id;
uint16_t view_id;
};
@@ -72,10 +64,6 @@
return ViewId(FirstIdFromTransportId(id), SecondIdFromTransportId(id));
}
-inline uint32_t ViewIdToTransportId(const ViewId& id) {
- return (id.connection_id << 16) | id.view_id;
-}
-
} // namespace view_manager
} // namespace services
} // namespace mojo
« no previous file with comments | « trunk/src/mojo/services/public/interfaces/view_manager/view_manager.mojom ('k') | trunk/src/mojo/services/view_manager/node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698