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

Side by Side Diff: trunk/src/mojo/services/public/cpp/view_manager/util.h

Issue 269973002: Revert 268218 "Add support for mapping node tree on the client." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_UTIL_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_UTIL_H_
7
8 #include "mojo/services/public/cpp/view_manager/view_manager_types.h"
9
10 namespace mojo {
11 namespace services {
12 namespace view_manager {
13
14 inline uint16_t HiWord(uint32_t id) {
15 return static_cast<uint16_t>((id >> 16) & 0xFFFF);
16 }
17
18 inline uint16_t LoWord(uint32_t id) {
19 return static_cast<uint16_t>(id & 0xFFFF);
20 }
21
22 } // namespace view_manager
23 } // namespace services
24 } // namespace mojo
25
26 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698