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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1416123005: Implement setSinkId() for media elements without src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More jochen's comments Created 5 years, 1 month 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 30 matching lines...) Expand all
41 #include "WebIconURL.h" 41 #include "WebIconURL.h"
42 #include "WebNavigationPolicy.h" 42 #include "WebNavigationPolicy.h"
43 #include "WebNavigationType.h" 43 #include "WebNavigationType.h"
44 #include "WebNavigatorContentUtilsClient.h" 44 #include "WebNavigatorContentUtilsClient.h"
45 #include "WebSandboxFlags.h" 45 #include "WebSandboxFlags.h"
46 #include "WebTextDirection.h" 46 #include "WebTextDirection.h"
47 #include "public/platform/WebCommon.h" 47 #include "public/platform/WebCommon.h"
48 #include "public/platform/WebFileSystem.h" 48 #include "public/platform/WebFileSystem.h"
49 #include "public/platform/WebFileSystemType.h" 49 #include "public/platform/WebFileSystemType.h"
50 #include "public/platform/WebSecurityOrigin.h" 50 #include "public/platform/WebSecurityOrigin.h"
51 #include "public/platform/WebSetSinkIdCallbacks.h"
51 #include "public/platform/WebStorageQuotaCallbacks.h" 52 #include "public/platform/WebStorageQuotaCallbacks.h"
52 #include "public/platform/WebStorageQuotaType.h" 53 #include "public/platform/WebStorageQuotaType.h"
53 #include "public/platform/WebURLError.h" 54 #include "public/platform/WebURLError.h"
54 #include "public/platform/WebURLRequest.h" 55 #include "public/platform/WebURLRequest.h"
55 #include <v8.h> 56 #include <v8.h>
56 57
57 namespace blink { 58 namespace blink {
58 59
59 enum class WebTreeScopeType; 60 enum class WebTreeScopeType;
60 class WebApplicationCacheHost; 61 class WebApplicationCacheHost;
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 { 668 {
668 return WebCustomHandlersNew; 669 return WebCustomHandlersNew;
669 } 670 }
670 671
671 // Bluetooth ----------------------------------------------------------- 672 // Bluetooth -----------------------------------------------------------
672 virtual WebBluetooth* bluetooth() { return 0; } 673 virtual WebBluetooth* bluetooth() { return 0; }
673 674
674 // WebUSB -------------------------------------------------------------- 675 // WebUSB --------------------------------------------------------------
675 virtual WebUSBClient* usbClient() { return nullptr; } 676 virtual WebUSBClient* usbClient() { return nullptr; }
676 677
678
679 // Audio Output Devices API --------------------------------------------
680
681 // Checks that the given audio sink exists and is authorized. The result is provided via the callback.
682 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { }
Peter Beverloo 2015/11/09 20:05:06 nit: document that ownership of |callbacks| is pas
Guido Urdaneta 2015/11/10 15:36:51 Done.
683
677 protected: 684 protected:
678 virtual ~WebFrameClient() { } 685 virtual ~WebFrameClient() { }
679 }; 686 };
680 687
681 } // namespace blink 688 } // namespace blink
682 689
683 #endif 690 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698