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

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

Issue 1851293002: Remove BLINK_ASSERT() and BLINK_ASSERT_NOT_REACHED() macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn compilation. Created 4 years, 8 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) 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698