| OLD | NEW |
| 1 // Copyright 2011 The Native Client Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can | 2 // Use of this source code is governed by a BSD-style license that can |
| 3 // be found in the LICENSE file. | 3 // be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_INPUT_EVENT_DATA_H_ | 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_INPUT_EVENT_DATA_H_ |
| 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_INPUT_EVENT_DATA_H_ | 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_INPUT_EVENT_DATA_H_ |
| 7 | 7 |
| 8 #include "native_client/src/include/nacl_macros.h" | 8 #include "native_client/src/include/nacl_macros.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
| 11 #include "ppapi/c/pp_rect.h" | 11 #include "ppapi/c/pp_rect.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 36 // consistent. Note the fields above are carefully ordered to make sure it is | 36 // consistent. Note the fields above are carefully ordered to make sure it is |
| 37 // consistent. New fields may require some adjustment to keep a consistent size | 37 // consistent. New fields may require some adjustment to keep a consistent size |
| 38 // and alignment. TODO(dmichael): This is only required because we don't pickle | 38 // and alignment. TODO(dmichael): This is only required because we don't pickle |
| 39 // the type. As a short-cut, we memcpy it instead. It would be cleaner to | 39 // the type. As a short-cut, we memcpy it instead. It would be cleaner to |
| 40 // pickle this struct. | 40 // pickle this struct. |
| 41 PP_COMPILE_ASSERT_SIZE_IN_BYTES(InputEventData, 56); | 41 PP_COMPILE_ASSERT_SIZE_IN_BYTES(InputEventData, 56); |
| 42 | 42 |
| 43 } // namespace ppapi_proxy | 43 } // namespace ppapi_proxy |
| 44 | 44 |
| 45 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_INPUT_EVENT_DATA_H_ | 45 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_INPUT_EVENT_DATA_H_ |
| OLD | NEW |