OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org) | 3 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org) |
4 * Copyright (C) 2012 Apple Inc. All Rights Reserved. | 4 * Copyright (C) 2012 Apple Inc. All Rights Reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 | 263 |
264 // Retrieves the text surrounding a position in a text node. | 264 // Retrieves the text surrounding a position in a text node. |
265 // Expects the first argument to be a text node, the second and third to be | 265 // Expects the first argument to be a text node, the second and third to be |
266 // point coordinates relative to the node and the fourth the maximum text | 266 // point coordinates relative to the node and the fourth the maximum text |
267 // length to retrieve. | 267 // length to retrieve. |
268 void textSurroundingNode(const CppArgumentList&, CppVariant*); | 268 void textSurroundingNode(const CppArgumentList&, CppVariant*); |
269 | 269 |
270 void enableAutoResizeMode(const CppArgumentList&, CppVariant*); | 270 void enableAutoResizeMode(const CppArgumentList&, CppVariant*); |
271 void disableAutoResizeMode(const CppArgumentList&, CppVariant*); | 271 void disableAutoResizeMode(const CppArgumentList&, CppVariant*); |
272 | 272 |
273 // DeviceOrientation related functions | 273 // Device Motion / Device Orientation related functions |
| 274 void setMockDeviceMotion(const CppArgumentList&, CppVariant*); |
274 void setMockDeviceOrientation(const CppArgumentList&, CppVariant*); | 275 void setMockDeviceOrientation(const CppArgumentList&, CppVariant*); |
275 | 276 |
276 void didAcquirePointerLock(const CppArgumentList&, CppVariant*); | 277 void didAcquirePointerLock(const CppArgumentList&, CppVariant*); |
277 void didNotAcquirePointerLock(const CppArgumentList&, CppVariant*); | 278 void didNotAcquirePointerLock(const CppArgumentList&, CppVariant*); |
278 void didLosePointerLock(const CppArgumentList&, CppVariant*); | 279 void didLosePointerLock(const CppArgumentList&, CppVariant*); |
279 void setPointerLockWillFailSynchronously(const CppArgumentList&, CppVariant*
); | 280 void setPointerLockWillFailSynchronously(const CppArgumentList&, CppVariant*
); |
280 void setPointerLockWillRespondAsynchronously(const CppArgumentList&, CppVari
ant*); | 281 void setPointerLockWillRespondAsynchronously(const CppArgumentList&, CppVari
ant*); |
281 | 282 |
282 /////////////////////////////////////////////////////////////////////////// | 283 /////////////////////////////////////////////////////////////////////////// |
283 // Methods modifying WebPreferences. | 284 // Methods modifying WebPreferences. |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 enum { | 691 enum { |
691 PointerLockWillSucceed, | 692 PointerLockWillSucceed, |
692 PointerLockWillRespondAsync, | 693 PointerLockWillRespondAsync, |
693 PointerLockWillFailSync, | 694 PointerLockWillFailSync, |
694 } m_pointerLockPlannedResult; | 695 } m_pointerLockPlannedResult; |
695 }; | 696 }; |
696 | 697 |
697 } | 698 } |
698 | 699 |
699 #endif // TestRunner_h | 700 #endif // TestRunner_h |
OLD | NEW |