Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 714 virtual WebBluetooth* bluetooth() { return 0; } | 714 virtual WebBluetooth* bluetooth() { return 0; } |
| 715 | 715 |
| 716 // WebUSB -------------------------------------------------------------- | 716 // WebUSB -------------------------------------------------------------- |
| 717 virtual WebUSBClient* usbClient() { return nullptr; } | 717 virtual WebUSBClient* usbClient() { return nullptr; } |
| 718 | 718 |
| 719 | 719 |
| 720 // Audio Output Devices API -------------------------------------------- | 720 // Audio Output Devices API -------------------------------------------- |
| 721 | 721 |
| 722 // Checks that the given audio sink exists and is authorized. The result is provided via the callbacks. | 722 // Checks that the given audio sink exists and is authorized. The result is provided via the callbacks. |
| 723 // This method takes ownership of the callbacks pointer. | 723 // This method takes ownership of the callbacks pointer. |
| 724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } | 724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) = 0; |
|
liberato (no reviews please)
2016/04/06 14:39:43
everything else in the default implementation retu
kotenkov
2016/04/07 06:03:28
Yes, this is the precise reason:
https://coderevie
| |
| 725 | 725 |
| 726 protected: | 726 protected: |
| 727 virtual ~WebFrameClient() { } | 727 virtual ~WebFrameClient() { } |
| 728 }; | 728 }; |
| 729 | 729 |
| 730 } // namespace blink | 730 } // namespace blink |
| 731 | 731 |
| 732 #endif | 732 #endif |
| OLD | NEW |