Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Side by Side Diff: Source/testing/runner/TestRunner.h

Issue 23135009: Improve IDB module's SecurityError messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 void setMockGeolocationPositionUnavailableError(const CppArgumentList&, CppV ariant*); 464 void setMockGeolocationPositionUnavailableError(const CppArgumentList&, CppV ariant*);
465 465
466 // MIDI function to control permission handling. 466 // MIDI function to control permission handling.
467 void setMIDISysExPermission(const CppArgumentList&, CppVariant*); 467 void setMIDISysExPermission(const CppArgumentList&, CppVariant*);
468 468
469 #if ENABLE_NOTIFICATIONS 469 #if ENABLE_NOTIFICATIONS
470 // Grants permission for desktop notifications to an origin 470 // Grants permission for desktop notifications to an origin
471 void grantWebNotificationPermission(const CppArgumentList&, CppVariant*); 471 void grantWebNotificationPermission(const CppArgumentList&, CppVariant*);
472 // Simulates a click on a desktop notification. 472 // Simulates a click on a desktop notification.
473 void simulateLegacyWebNotificationClick(const CppArgumentList&, CppVariant*) ; 473 void simulateLegacyWebNotificationClick(const CppArgumentList&, CppVariant*) ;
474 // Removes all permissions for desktop notifications
475 void removeAllWebNotificationPermissions(const CppArgumentList&, CppVariant* );
474 #endif 476 #endif
475 477
476 // Speech input related functions. 478 // Speech input related functions.
477 void addMockSpeechInputResult(const CppArgumentList&, CppVariant*); 479 void addMockSpeechInputResult(const CppArgumentList&, CppVariant*);
478 void setMockSpeechInputDumpRect(const CppArgumentList&, CppVariant*); 480 void setMockSpeechInputDumpRect(const CppArgumentList&, CppVariant*);
479 void addMockSpeechRecognitionResult(const CppArgumentList&, CppVariant*); 481 void addMockSpeechRecognitionResult(const CppArgumentList&, CppVariant*);
480 void setMockSpeechRecognitionError(const CppArgumentList&, CppVariant*); 482 void setMockSpeechRecognitionError(const CppArgumentList&, CppVariant*);
481 void wasMockSpeechRecognitionAborted(const CppArgumentList&, CppVariant*); 483 void wasMockSpeechRecognitionAborted(const CppArgumentList&, CppVariant*);
482 484
483 // WebPageOverlay related functions. Permits the adding and removing of only 485 // WebPageOverlay related functions. Permits the adding and removing of only
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 enum { 715 enum {
714 PointerLockWillSucceed, 716 PointerLockWillSucceed,
715 PointerLockWillRespondAsync, 717 PointerLockWillRespondAsync,
716 PointerLockWillFailSync, 718 PointerLockWillFailSync,
717 } m_pointerLockPlannedResult; 719 } m_pointerLockPlannedResult;
718 }; 720 };
719 721
720 } 722 }
721 723
722 #endif // TestRunner_h 724 #endif // TestRunner_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698