OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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 #include "components/arc/common/arc_message_types.h" | |
6 #include "ipc/ipc_message_macros.h" | |
7 #include "ipc/ipc_message_utils.h" | |
8 | |
9 IPC_ENUM_TRAITS_MIN_MAX_VALUE(arc::ScaleFactor, | |
10 arc::ScaleFactor::SCALE_FACTOR_100P, | |
yoshiki
2015/12/03 02:24:32
SCALE_FACTOR_NONE is never passed, right? SCALE_FA
khmel1
2015/12/03 03:53:27
Right, SCALE_FACTOR_NONE is invalid value for this
| |
11 arc::ScaleFactor::NUM_SCALE_FACTORS); | |
yoshiki
2015/12/03 02:24:32
This is the max value, so you may specify "NUM_SCA
khmel1
2015/12/03 03:53:27
Yes, you are right, they are both inclusive and I
| |
12 | |
13 IPC_STRUCT_TRAITS_BEGIN(arc::AppInfo) | |
14 IPC_STRUCT_TRAITS_MEMBER(name) | |
15 IPC_STRUCT_TRAITS_MEMBER(package) | |
16 IPC_STRUCT_TRAITS_MEMBER(activity) | |
17 IPC_STRUCT_TRAITS_END() | |
OLD | NEW |