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

Side by Side Diff: components/mus/common/event_param_traits.cc

Issue 1924613002: Move ui/gfx/geometry ParamTraits to ui/gfx/ipc/geometry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forward declare Range in gfx_param_traits Created 4 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
« no previous file with comments | « components/mus/common/BUILD.gn ('k') | components/printing/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/mus/common/BUILD.gn ('k') | components/printing/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698