web_contents_modal_dialog_manager_delegate.cc 781 B

12345678910111213141516171819202122232425262728
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
  5. #include <string.h>
  6. namespace web_modal {
  7. void WebContentsModalDialogManagerDelegate::SetWebContentsBlocked(
  8. content::WebContents* web_contents, bool blocked) {
  9. }
  10. WebContentsModalDialogHost*
  11. WebContentsModalDialogManagerDelegate::GetWebContentsModalDialogHost() {
  12. return nullptr;
  13. }
  14. bool WebContentsModalDialogManagerDelegate::IsWebContentsVisible(
  15. content::WebContents* web_contents) {
  16. return true;
  17. }
  18. WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate(
  19. ) {}
  20. } // namespace web_modal