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

Side by Side Diff: content/shell/renderer/test_runner/TestRunner.h

Issue 184313005: Clean up the TestRunner methods exposed for Web Notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/TestRunner.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/TestRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698