| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 264 |
| 265 // Retrieves the text surrounding a position in a text node. | 265 // Retrieves the text surrounding a position in a text node. |
| 266 // Expects the first argument to be a text node, the second and third to be | 266 // Expects the first argument to be a text node, the second and third to be |
| 267 // point coordinates relative to the node and the fourth the maximum text | 267 // point coordinates relative to the node and the fourth the maximum text |
| 268 // length to retrieve. | 268 // length to retrieve. |
| 269 void textSurroundingNode(const CppArgumentList&, CppVariant*); | 269 void textSurroundingNode(const CppArgumentList&, CppVariant*); |
| 270 | 270 |
| 271 void enableAutoResizeMode(const CppArgumentList&, CppVariant*); | 271 void enableAutoResizeMode(const CppArgumentList&, CppVariant*); |
| 272 void disableAutoResizeMode(const CppArgumentList&, CppVariant*); | 272 void disableAutoResizeMode(const CppArgumentList&, CppVariant*); |
| 273 | 273 |
| 274 // DeviceOrientation related functions | 274 // DeviceOrientation / DeviceMotion related functions |
| 275 void setMockDeviceMotion(const CppArgumentList&, CppVariant*); |
| 276 void fireMockDeviceMotion(const CppArgumentList&, CppVariant*); |
| 275 void setMockDeviceOrientation(const CppArgumentList&, CppVariant*); | 277 void setMockDeviceOrientation(const CppArgumentList&, CppVariant*); |
| 276 | 278 |
| 277 void didAcquirePointerLock(const CppArgumentList&, CppVariant*); | 279 void didAcquirePointerLock(const CppArgumentList&, CppVariant*); |
| 278 void didNotAcquirePointerLock(const CppArgumentList&, CppVariant*); | 280 void didNotAcquirePointerLock(const CppArgumentList&, CppVariant*); |
| 279 void didLosePointerLock(const CppArgumentList&, CppVariant*); | 281 void didLosePointerLock(const CppArgumentList&, CppVariant*); |
| 280 void setPointerLockWillFailSynchronously(const CppArgumentList&, CppVariant*
); | 282 void setPointerLockWillFailSynchronously(const CppArgumentList&, CppVariant*
); |
| 281 void setPointerLockWillRespondAsynchronously(const CppArgumentList&, CppVari
ant*); | 283 void setPointerLockWillRespondAsynchronously(const CppArgumentList&, CppVari
ant*); |
| 282 | 284 |
| 283 /////////////////////////////////////////////////////////////////////////// | 285 /////////////////////////////////////////////////////////////////////////// |
| 284 // Methods modifying WebPreferences. | 286 // Methods modifying WebPreferences. |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 enum { | 698 enum { |
| 697 PointerLockWillSucceed, | 699 PointerLockWillSucceed, |
| 698 PointerLockWillRespondAsync, | 700 PointerLockWillRespondAsync, |
| 699 PointerLockWillFailSync, | 701 PointerLockWillFailSync, |
| 700 } m_pointerLockPlannedResult; | 702 } m_pointerLockPlannedResult; |
| 701 }; | 703 }; |
| 702 | 704 |
| 703 } | 705 } |
| 704 | 706 |
| 705 #endif // TestRunner_h | 707 #endif // TestRunner_h |
| OLD | NEW |