OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 // Key cannot be used for this purpose because it can be char* or | 321 // Key cannot be used for this purpose because it can be char* or |
322 // WindowProperty<>. | 322 // WindowProperty<>. |
323 struct Value { | 323 struct Value { |
324 const char* name; | 324 const char* name; |
325 int64_t value; | 325 int64_t value; |
326 PropertyDeallocator deallocator; | 326 PropertyDeallocator deallocator; |
327 }; | 327 }; |
328 | 328 |
329 std::map<const void*, Value> prop_map_; | 329 std::map<const void*, Value> prop_map_; |
330 | 330 |
331 MOJO_DISALLOW_COPY_AND_ASSIGN(Window); | 331 DISALLOW_COPY_AND_ASSIGN(Window); |
332 }; | 332 }; |
333 | 333 |
334 } // namespace mus | 334 } // namespace mus |
335 | 335 |
336 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ | 336 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_H_ |
OLD | NEW |