| Index: ui/web_dialogs/web_dialog_observer.h
|
| diff --git a/chrome/browser/ui/webui/web_dialog_observer.h b/ui/web_dialogs/web_dialog_observer.h
|
| similarity index 70%
|
| rename from chrome/browser/ui/webui/web_dialog_observer.h
|
| rename to ui/web_dialogs/web_dialog_observer.h
|
| index 41c2563c6739c18a4f32096a4de35a455d23f410..53fcfd7eeb1b1ffa22fb33ceb3b7bb904db26179 100644
|
| --- a/chrome/browser/ui/webui/web_dialog_observer.h
|
| +++ b/ui/web_dialogs/web_dialog_observer.h
|
| @@ -2,17 +2,21 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_UI_WEBUI_WEB_DIALOG_OBSERVER_H_
|
| -#define CHROME_BROWSER_UI_WEBUI_WEB_DIALOG_OBSERVER_H_
|
| +#ifndef UI_WEB_DIALOGS_WEB_DIALOG_OBSERVER_H_
|
| +#define UI_WEB_DIALOGS_WEB_DIALOG_OBSERVER_H_
|
| #pragma once
|
|
|
| +#include "ui/web_dialogs/web_dialogs_export.h"
|
| +
|
| namespace content {
|
| class RenderViewHost;
|
| class WebUI;
|
| }
|
|
|
| +namespace ui {
|
| +
|
| // Implement this class to receive notifications.
|
| -class WebDialogObserver {
|
| +class WEB_DIALOGS_EXPORT WebDialogObserver {
|
| public:
|
| // Invoked when a web dialog has been shown.
|
| // |webui| is the WebUI with which the dialog is associated.
|
| @@ -24,4 +28,6 @@ class WebDialogObserver {
|
| virtual ~WebDialogObserver() {}
|
| };
|
|
|
| -#endif // CHROME_BROWSER_UI_WEBUI_WEB_DIALOG_OBSERVER_H_
|
| +} // namespace ui
|
| +
|
| +#endif // UI_WEB_DIALOGS_WEB_DIALOG_OBSERVER_H_
|
|
|