Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: ui/web_dialogs/web_dialog_observer.h

Issue 10448066: Move the web dialogs code to src/ui/web_dialogs from src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/web_dialogs/web_dialog_delegate.cc ('k') | ui/web_dialogs/web_dialog_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/web_dialogs/web_dialog_delegate.cc ('k') | ui/web_dialogs/web_dialog_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698