| 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 // DeviceOrientation / DeviceMotion related functions |
| 274 void setMockDeviceMotion(const CppArgumentList&, CppVariant*); |
| 275 void fireMockDeviceMotion(const CppArgumentList&, CppVariant*); |
| 274 void setMockDeviceOrientation(const CppArgumentList&, CppVariant*); | 276 void setMockDeviceOrientation(const CppArgumentList&, CppVariant*); |
| 275 | 277 |
| 276 void didAcquirePointerLock(const CppArgumentList&, CppVariant*); | 278 void didAcquirePointerLock(const CppArgumentList&, CppVariant*); |
| 277 void didNotAcquirePointerLock(const CppArgumentList&, CppVariant*); | 279 void didNotAcquirePointerLock(const CppArgumentList&, CppVariant*); |
| 278 void didLosePointerLock(const CppArgumentList&, CppVariant*); | 280 void didLosePointerLock(const CppArgumentList&, CppVariant*); |
| 279 void setPointerLockWillFailSynchronously(const CppArgumentList&, CppVariant*
); | 281 void setPointerLockWillFailSynchronously(const CppArgumentList&, CppVariant*
); |
| 280 void setPointerLockWillRespondAsynchronously(const CppArgumentList&, CppVari
ant*); | 282 void setPointerLockWillRespondAsynchronously(const CppArgumentList&, CppVari
ant*); |
| 281 | 283 |
| 282 /////////////////////////////////////////////////////////////////////////// | 284 /////////////////////////////////////////////////////////////////////////// |
| 283 // Methods modifying WebPreferences. | 285 // Methods modifying WebPreferences. |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 enum { | 694 enum { |
| 693 PointerLockWillSucceed, | 695 PointerLockWillSucceed, |
| 694 PointerLockWillRespondAsync, | 696 PointerLockWillRespondAsync, |
| 695 PointerLockWillFailSync, | 697 PointerLockWillFailSync, |
| 696 } m_pointerLockPlannedResult; | 698 } m_pointerLockPlannedResult; |
| 697 }; | 699 }; |
| 698 | 700 |
| 699 } | 701 } |
| 700 | 702 |
| 701 #endif // TestRunner_h | 703 #endif // TestRunner_h |
| OLD | NEW |