Ensure low-memory renderers retry failed loads correctly.
[chromium-blink-merge.git] / components / web_modal / web_contents_modal_dialog_manager_delegate.cc
blob25a777cf4f56f9e54c1037fd393f7a3ff9823e35
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.
5 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
7 #include <string.h>
9 namespace web_modal {
11 void WebContentsModalDialogManagerDelegate::SetWebContentsBlocked(
12 content::WebContents* web_contents, bool blocked) {
15 WebContentsModalDialogHost*
16 WebContentsModalDialogManagerDelegate::GetWebContentsModalDialogHost() {
17 return NULL;
20 bool WebContentsModalDialogManagerDelegate::IsWebContentsVisible(
21 content::WebContents* web_contents) {
22 return true;
25 WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate(
26 ) {}
28 } // namespace web_modal