blob: 0aa615d960ee54901b90bc23390ea447b3a8dce2 [file] [log] [blame]
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/web_modal/modal_dialog_host.h"
namespace web_modal {
ModalDialogHostObserver::~ModalDialogHostObserver() {
}
ModalDialogHost::~ModalDialogHost() {
}
bool ModalDialogHost::ShouldActivateDialog() const {
return true;
}
bool ModalDialogHost::ShouldConstrainDialogBoundsByHost() {
// Please consult with //constrained_window OWNERS if you intend to release
// the bounds constraint for your WebContents container (i.e. returning
// false from this function).
return true;
}
} // namespace web_modal