blob: 0fee3b5cbdc8ade396ae1bbec27b28188bf680e8 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h"
#include "content/public/browser/web_contents.h"
CoreTabHelperDelegate::~CoreTabHelperDelegate() {
}
std::unique_ptr<content::WebContents> CoreTabHelperDelegate::SwapTabContents(
content::WebContents* old_contents,
std::unique_ptr<content::WebContents> new_contents,
bool did_start_load,
bool did_finish_load) {
return nullptr;
}
bool CoreTabHelperDelegate::CanReloadContents(
content::WebContents* web_contents) const {
return true;
}
bool CoreTabHelperDelegate::CanSaveContents(
content::WebContents* web_contents) const {
return true;
}