| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // LICENSE file. |
| 4 // | 4 // |
| 5 // This file contains ParamTraits templates to support serialization of WebKit | 5 // This file contains ParamTraits templates to support serialization of WebKit |
| 6 // data types over IPC. | 6 // data types over IPC. |
| 7 // | 7 // |
| 8 // NOTE: IT IS IMPORTANT THAT ONLY POD (plain old data) TYPES ARE SERIALIZED. | 8 // NOTE: IT IS IMPORTANT THAT ONLY POD (plain old data) TYPES ARE SERIALIZED. |
| 9 // | 9 // |
| 10 // There are several reasons for this restrictions: | 10 // There are several reasons for this restrictions: |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 break; | 158 break; |
| 159 case WebKit::WebInputEvent::MouseUp: | 159 case WebKit::WebInputEvent::MouseUp: |
| 160 type = L"MouseUp"; | 160 type = L"MouseUp"; |
| 161 break; | 161 break; |
| 162 case WebKit::WebInputEvent::MouseMove: | 162 case WebKit::WebInputEvent::MouseMove: |
| 163 type = L"MouseMove"; | 163 type = L"MouseMove"; |
| 164 break; | 164 break; |
| 165 case WebKit::WebInputEvent::MouseLeave: | 165 case WebKit::WebInputEvent::MouseLeave: |
| 166 type = L"MouseLeave"; | 166 type = L"MouseLeave"; |
| 167 break; | 167 break; |
| 168 case WebKit::WebInputEvent::MouseEnter: |
| 169 type = L"MouseEnter"; |
| 170 break; |
| 168 case WebKit::WebInputEvent::MouseWheel: | 171 case WebKit::WebInputEvent::MouseWheel: |
| 169 type = L"MouseWheel"; | 172 type = L"MouseWheel"; |
| 170 break; | 173 break; |
| 171 case WebKit::WebInputEvent::RawKeyDown: | 174 case WebKit::WebInputEvent::RawKeyDown: |
| 172 type = L"RawKeyDown"; | 175 type = L"RawKeyDown"; |
| 173 break; | 176 break; |
| 174 case WebKit::WebInputEvent::KeyDown: | 177 case WebKit::WebInputEvent::KeyDown: |
| 175 type = L"KeyDown"; | 178 type = L"KeyDown"; |
| 176 break; | 179 break; |
| 177 case WebKit::WebInputEvent::KeyUp: | 180 case WebKit::WebInputEvent::KeyUp: |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 LogParam(p.scripts, l); | 260 LogParam(p.scripts, l); |
| 258 LogParam(p.xslStyleSheets, l); | 261 LogParam(p.xslStyleSheets, l); |
| 259 LogParam(p.fonts, l); | 262 LogParam(p.fonts, l); |
| 260 l->append(L"</WebCoreStats>"); | 263 l->append(L"</WebCoreStats>"); |
| 261 } | 264 } |
| 262 }; | 265 }; |
| 263 | 266 |
| 264 } // namespace IPC | 267 } // namespace IPC |
| 265 | 268 |
| 266 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ | 269 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ |
| OLD | NEW |