OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
248 enum KeyLocationCode { | 248 enum KeyLocationCode { |
249 DOMKeyLocationStandard = 0x00, | 249 DOMKeyLocationStandard = 0x00, |
250 DOMKeyLocationLeft = 0x01, | 250 DOMKeyLocationLeft = 0x01, |
251 DOMKeyLocationRight = 0x02, | 251 DOMKeyLocationRight = 0x02, |
252 DOMKeyLocationNumpad = 0x03 | 252 DOMKeyLocationNumpad = 0x03 |
253 }; | 253 }; |
254 | 254 |
255 } | 255 } |
256 | 256 |
257 EventSender::EventSender(TestInterfaces* interfaces) | 257 EventSender::EventSender(TestInterfaces* interfaces) |
258 : m_delegate(0) | 258 : m_testInterfaces(interfaces) |
259 , m_testInterfaces(interfaces) | 259 , m_delegate(0) |
Nico
2013/10/31 15:40:59
Huh, do you know why the mac waterfall bots don't
lgombos
2013/10/31 19:10:11
The answer - https://codereview.chromium.org/51413
| |
260 { | 260 { |
261 // Initialize the map that associates methods of this class with the names | 261 // Initialize the map that associates methods of this class with the names |
262 // they will use when called by JavaScript. The actual binding of those | 262 // they will use when called by JavaScript. The actual binding of those |
263 // names to their methods will be done by calling bindToJavaScript() (define d | 263 // names to their methods will be done by calling bindToJavaScript() (define d |
264 // by CppBoundClass, the parent to EventSender). | 264 // by CppBoundClass, the parent to EventSender). |
265 bindMethod("addTouchPoint", &EventSender::addTouchPoint); | 265 bindMethod("addTouchPoint", &EventSender::addTouchPoint); |
266 bindMethod("beginDragWithFiles", &EventSender::beginDragWithFiles); | 266 bindMethod("beginDragWithFiles", &EventSender::beginDragWithFiles); |
267 bindMethod("cancelTouchPoint", &EventSender::cancelTouchPoint); | 267 bindMethod("cancelTouchPoint", &EventSender::cancelTouchPoint); |
268 bindMethod("clearKillRing", &EventSender::clearKillRing); | 268 bindMethod("clearKillRing", &EventSender::clearKillRing); |
269 bindMethod("clearTouchPoints", &EventSender::clearTouchPoints); | 269 bindMethod("clearTouchPoints", &EventSender::clearTouchPoints); |
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1452 { | 1452 { |
1453 result->setNull(); | 1453 result->setNull(); |
1454 } | 1454 } |
1455 | 1455 |
1456 void EventSender::clearKillRing(const CppArgumentList&, CppVariant* result) | 1456 void EventSender::clearKillRing(const CppArgumentList&, CppVariant* result) |
1457 { | 1457 { |
1458 result->setNull(); | 1458 result->setNull(); |
1459 } | 1459 } |
1460 | 1460 |
1461 } | 1461 } |
OLD | NEW |