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

Unified Diff: ui/base/dialogs/base_shell_dialog.h

Issue 10669023: Start consolidating non-port specific code to ui/base/dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clenaup Created 8 years, 6 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 | « content/renderer/render_view_impl.cc ('k') | ui/base/dialogs/selected_file_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dialogs/base_shell_dialog.h
diff --git a/chrome/browser/ui/base_shell_dialog.h b/ui/base/dialogs/base_shell_dialog.h
similarity index 73%
rename from chrome/browser/ui/base_shell_dialog.h
rename to ui/base/dialogs/base_shell_dialog.h
index 4a5a99c1ab2056f7625cf86a56f773a56036f568..82c0cc4da15cd00bd7ff9cb93d747d562b8d3bb0 100644
--- a/chrome/browser/ui/base_shell_dialog.h
+++ b/ui/base/dialogs/base_shell_dialog.h
@@ -2,14 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_BASE_SHELL_DIALOG_H_
-#define CHROME_BROWSER_UI_BASE_SHELL_DIALOG_H_
+#ifndef UI_BASE_DIALOG_BASE_SHELL_DIALOG_H_
+#define UI_BASE_DIALOG_BASE_SHELL_DIALOG_H_
#pragma once
+#include "ui/base/ui_export.h"
#include "ui/gfx/native_widget_types.h"
+namespace ui {
+
// A base class for shell dialogs.
-class BaseShellDialog {
+class UI_EXPORT BaseShellDialog {
public:
// Returns true if a shell dialog box is currently being shown modally
// to the specified owner.
@@ -23,4 +26,6 @@ class BaseShellDialog {
virtual ~BaseShellDialog() {}
};
-#endif // CHROME_BROWSER_UI_BASE_SHELL_DIALOG_H_
+} // namespace ui
+
+#endif // UI_BASE_DIALOG_BASE_SHELL_DIALOG_H_
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | ui/base/dialogs/selected_file_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698