| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 #include "components/mus/common/event_param_traits.h" | 5 #include "components/mus/common/event_param_traits.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include "ipc/ipc_message_utils.h" | 9 #include "ipc/ipc_message_utils.h" |
| 10 #include "ipc/ipc_param_traits.h" | 10 #include "ipc/ipc_param_traits.h" |
| 11 #include "ui/events/event.h" | 11 #include "ui/events/event.h" |
| 12 #include "ui/gfx/ipc/gfx_param_traits.h" | 12 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" |
| 13 | 13 |
| 14 // Generate param traits size methods. | 14 // Generate param traits size methods. |
| 15 #include "ipc/param_traits_size_macros.h" | 15 #include "ipc/param_traits_size_macros.h" |
| 16 namespace IPC { | 16 namespace IPC { |
| 17 #include "components/mus/common/event_param_traits_macros.h" | 17 #include "components/mus/common/event_param_traits_macros.h" |
| 18 } | 18 } |
| 19 | 19 |
| 20 // Generate param traits write methods. | 20 // Generate param traits write methods. |
| 21 #include "ipc/param_traits_write_macros.h" | 21 #include "ipc/param_traits_write_macros.h" |
| 22 namespace IPC { | 22 namespace IPC { |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 memcpy(p, data, sizeof(param_type)); | 275 memcpy(p, data, sizeof(param_type)); |
| 276 return true; | 276 return true; |
| 277 } | 277 } |
| 278 | 278 |
| 279 void ParamTraits<ui::GestureEventDetails::Details>::Log(const param_type& p, | 279 void ParamTraits<ui::GestureEventDetails::Details>::Log(const param_type& p, |
| 280 std::string* l) { | 280 std::string* l) { |
| 281 l->append("<ui::GestureEventDetails::Details>"); | 281 l->append("<ui::GestureEventDetails::Details>"); |
| 282 } | 282 } |
| 283 | 283 |
| 284 } // namespace IPC | 284 } // namespace IPC |
| OLD | NEW |