| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 | 466 |
| 467 // MIDI function to control permission handling. | 467 // MIDI function to control permission handling. |
| 468 void setMIDIAccessorResult(const CppArgumentList&, CppVariant*); | 468 void setMIDIAccessorResult(const CppArgumentList&, CppVariant*); |
| 469 void setMIDISysExPermission(const CppArgumentList&, CppVariant*); | 469 void setMIDISysExPermission(const CppArgumentList&, CppVariant*); |
| 470 | 470 |
| 471 #if ENABLE_NOTIFICATIONS | 471 #if ENABLE_NOTIFICATIONS |
| 472 // Grants permission for desktop notifications to an origin | 472 // Grants permission for desktop notifications to an origin |
| 473 void grantWebNotificationPermission(const CppArgumentList&, CppVariant*); | 473 void grantWebNotificationPermission(const CppArgumentList&, CppVariant*); |
| 474 // Simulates a click on a desktop notification. | 474 // Simulates a click on a desktop notification. |
| 475 void simulateLegacyWebNotificationClick(const CppArgumentList&, CppVariant*)
; | 475 void simulateLegacyWebNotificationClick(const CppArgumentList&, CppVariant*)
; |
| 476 // Cancel all active desktop notifications. |
| 477 void cancelAllActiveNotifications(const CppArgumentList& arguments, CppVaria
nt* result); |
| 476 #endif | 478 #endif |
| 477 | 479 |
| 478 // Speech input related functions. | 480 // Speech input related functions. |
| 479 void addMockSpeechInputResult(const CppArgumentList&, CppVariant*); | 481 void addMockSpeechInputResult(const CppArgumentList&, CppVariant*); |
| 480 void setMockSpeechInputDumpRect(const CppArgumentList&, CppVariant*); | 482 void setMockSpeechInputDumpRect(const CppArgumentList&, CppVariant*); |
| 481 void addMockSpeechRecognitionResult(const CppArgumentList&, CppVariant*); | 483 void addMockSpeechRecognitionResult(const CppArgumentList&, CppVariant*); |
| 482 void setMockSpeechRecognitionError(const CppArgumentList&, CppVariant*); | 484 void setMockSpeechRecognitionError(const CppArgumentList&, CppVariant*); |
| 483 void wasMockSpeechRecognitionAborted(const CppArgumentList&, CppVariant*); | 485 void wasMockSpeechRecognitionAborted(const CppArgumentList&, CppVariant*); |
| 484 | 486 |
| 485 // WebPageOverlay related functions. Permits the adding and removing of only | 487 // WebPageOverlay related functions. Permits the adding and removing of only |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 enum { | 717 enum { |
| 716 PointerLockWillSucceed, | 718 PointerLockWillSucceed, |
| 717 PointerLockWillRespondAsync, | 719 PointerLockWillRespondAsync, |
| 718 PointerLockWillFailSync, | 720 PointerLockWillFailSync, |
| 719 } m_pointerLockPlannedResult; | 721 } m_pointerLockPlannedResult; |
| 720 }; | 722 }; |
| 721 | 723 |
| 722 } | 724 } |
| 723 | 725 |
| 724 #endif // TestRunner_h | 726 #endif // TestRunner_h |
| OLD | NEW |