OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /* | 5 /* |
6 * Copyright (C) 2010 Google Inc. All rights reserved. | 6 * Copyright (C) 2010 Google Inc. All rights reserved. |
7 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org) | 7 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org) |
8 * Copyright (C) 2012 Apple Inc. All Rights Reserved. | 8 * Copyright (C) 2012 Apple Inc. All Rights Reserved. |
9 * | 9 * |
10 * Redistribution and use in source and binary forms, with or without | 10 * Redistribution and use in source and binary forms, with or without |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 // Resets between tests. | 477 // Resets between tests. |
478 void setPOSIXLocale(const CppArgumentList&, CppVariant*); | 478 void setPOSIXLocale(const CppArgumentList&, CppVariant*); |
479 | 479 |
480 // MIDI function to control permission handling. | 480 // MIDI function to control permission handling. |
481 void setMIDIAccessorResult(const CppArgumentList&, CppVariant*); | 481 void setMIDIAccessorResult(const CppArgumentList&, CppVariant*); |
482 void setMIDISysExPermission(const CppArgumentList&, CppVariant*); | 482 void setMIDISysExPermission(const CppArgumentList&, CppVariant*); |
483 | 483 |
484 // Grants permission for desktop notifications to an origin | 484 // Grants permission for desktop notifications to an origin |
485 void grantWebNotificationPermission(const CppArgumentList&, CppVariant*); | 485 void grantWebNotificationPermission(const CppArgumentList&, CppVariant*); |
486 // Simulates a click on a desktop notification. | 486 // Simulates a click on a desktop notification. |
487 void simulateLegacyWebNotificationClick(const CppArgumentList&, CppVariant*)
; | 487 void simulateWebNotificationClick(const CppArgumentList&, CppVariant*); |
488 // Cancel all active desktop notifications. | |
489 void cancelAllActiveNotifications(const CppArgumentList& arguments, CppVaria
nt* result); | |
490 | 488 |
491 // Speech input related functions. | 489 // Speech input related functions. |
492 void addMockSpeechInputResult(const CppArgumentList&, CppVariant*); | 490 void addMockSpeechInputResult(const CppArgumentList&, CppVariant*); |
493 void setMockSpeechInputDumpRect(const CppArgumentList&, CppVariant*); | 491 void setMockSpeechInputDumpRect(const CppArgumentList&, CppVariant*); |
494 void addMockSpeechRecognitionResult(const CppArgumentList&, CppVariant*); | 492 void addMockSpeechRecognitionResult(const CppArgumentList&, CppVariant*); |
495 void setMockSpeechRecognitionError(const CppArgumentList&, CppVariant*); | 493 void setMockSpeechRecognitionError(const CppArgumentList&, CppVariant*); |
496 void wasMockSpeechRecognitionAborted(const CppArgumentList&, CppVariant*); | 494 void wasMockSpeechRecognitionAborted(const CppArgumentList&, CppVariant*); |
497 | 495 |
498 // WebPageOverlay related functions. Permits the adding and removing of only | 496 // WebPageOverlay related functions. Permits the adding and removing of only |
499 // one opaque overlay. | 497 // one opaque overlay. |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 PointerLockWillSucceed, | 725 PointerLockWillSucceed, |
728 PointerLockWillRespondAsync, | 726 PointerLockWillRespondAsync, |
729 PointerLockWillFailSync, | 727 PointerLockWillFailSync, |
730 } m_pointerLockPlannedResult; | 728 } m_pointerLockPlannedResult; |
731 bool m_useMockTheme; | 729 bool m_useMockTheme; |
732 }; | 730 }; |
733 | 731 |
734 } | 732 } |
735 | 733 |
736 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTRUNNER_H_ | 734 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTRUNNER_H_ |
OLD | NEW |