// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_WEB_MODAL_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_H_ #define COMPONENTS_WEB_MODAL_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_H_ #include "ui/gfx/native_widget_types.h" namespace content { class WebContents; } // namespace content namespace web_modal { class WebContentsModalDialogHost; // Interface from SingleWebContentsDialogManager to // WebContentsModalDialogManager. class SingleWebContentsDialogManagerDelegate { … }; // Provides an interface for platform-specific UI implementation for the web // contents modal dialog. Each object will manage a single dialog window // during its lifecycle. // // Implementation classes should accept a dialog window at construction time // and register to be notified when the dialog is closing, so that it can // notify its delegate (WillClose method). class SingleWebContentsDialogManager { … }; } // namespace web_modal #endif // COMPONENTS_WEB_MODAL_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_H_