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

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

Issue 27694002: Ability to block <audio> and <video> media. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename "video" to "media". Created 7 years, 2 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
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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // arguments, and ignores any that may be present. 380 // arguments, and ignores any that may be present.
381 void dumpResourceRequestCallbacks(const CppArgumentList&, CppVariant*); 381 void dumpResourceRequestCallbacks(const CppArgumentList&, CppVariant*);
382 382
383 // This function sets a flag that tells the test_shell to dump the MIME type 383 // This function sets a flag that tells the test_shell to dump the MIME type
384 // for each resource that was loaded. It takes no arguments, and ignores any 384 // for each resource that was loaded. It takes no arguments, and ignores any
385 // that may be present. 385 // that may be present.
386 void dumpResourceResponseMIMETypes(const CppArgumentList&, CppVariant*); 386 void dumpResourceResponseMIMETypes(const CppArgumentList&, CppVariant*);
387 387
388 // WebPermissionClient related. 388 // WebPermissionClient related.
389 void setImagesAllowed(const CppArgumentList&, CppVariant*); 389 void setImagesAllowed(const CppArgumentList&, CppVariant*);
390 void setMediaAllowed(const CppArgumentList&, CppVariant*);
390 void setScriptsAllowed(const CppArgumentList&, CppVariant*); 391 void setScriptsAllowed(const CppArgumentList&, CppVariant*);
391 void setStorageAllowed(const CppArgumentList&, CppVariant*); 392 void setStorageAllowed(const CppArgumentList&, CppVariant*);
392 void setPluginsAllowed(const CppArgumentList&, CppVariant*); 393 void setPluginsAllowed(const CppArgumentList&, CppVariant*);
393 void setAllowDisplayOfInsecureContent(const CppArgumentList&, CppVariant*); 394 void setAllowDisplayOfInsecureContent(const CppArgumentList&, CppVariant*);
394 void setAllowRunningOfInsecureContent(const CppArgumentList&, CppVariant*); 395 void setAllowRunningOfInsecureContent(const CppArgumentList&, CppVariant*);
395 void dumpPermissionClientCallbacks(const CppArgumentList&, CppVariant*); 396 void dumpPermissionClientCallbacks(const CppArgumentList&, CppVariant*);
396 397
397 // This function sets a flag that tells the test_shell to dump all calls 398 // This function sets a flag that tells the test_shell to dump all calls
398 // to window.status(). 399 // to window.status().
399 // It takes no arguments, and ignores any that may be present. 400 // It takes no arguments, and ignores any that may be present.
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 enum { 725 enum {
725 PointerLockWillSucceed, 726 PointerLockWillSucceed,
726 PointerLockWillRespondAsync, 727 PointerLockWillRespondAsync,
727 PointerLockWillFailSync, 728 PointerLockWillFailSync,
728 } m_pointerLockPlannedResult; 729 } m_pointerLockPlannedResult;
729 }; 730 };
730 731
731 } 732 }
732 733
733 #endif // TestRunner_h 734 #endif // TestRunner_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698