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

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

Issue 10698168: Part 3 of Move SelectFileDialog implementation to ui/base/dialogs/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More namespace to force rebuild. Created 8 years, 5 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 | « chrome/chrome_tests.gypi ('k') | ui/base/dialogs/base_shell_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dialogs/base_shell_dialog_win.h
diff --git a/chrome/browser/ui/views/base_shell_dialog_win.h b/ui/base/dialogs/base_shell_dialog_win.h
similarity index 92%
rename from chrome/browser/ui/views/base_shell_dialog_win.h
rename to ui/base/dialogs/base_shell_dialog_win.h
index 5a70dfd48303008610a3c69d61337868591bdf85..dcac33bdbc8b090b5c5d7a747c4cb601cff3ac7c 100644
--- a/chrome/browser/ui/views/base_shell_dialog_win.h
+++ b/ui/base/dialogs/base_shell_dialog_win.h
@@ -2,29 +2,32 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_
-#define CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_
+#ifndef UI_BASE_DIALOGS_BASE_SHELL_DIALOG_WIN_H_
+#define UI_BASE_DIALOGS_BASE_SHELL_DIALOG_WIN_H_
#include <shlobj.h>
#include <set>
+#include "ui/base/ui_export.h"
#include "ui/base/dialogs/base_shell_dialog.h"
namespace base {
class Thread;
}
+namespace ui {
+
///////////////////////////////////////////////////////////////////////////////
// A base class for all shell dialog implementations that handles showing a
// shell dialog modally on its own thread.
-class BaseShellDialogImpl {
+class UI_EXPORT BaseShellDialogImpl {
public:
BaseShellDialogImpl();
virtual ~BaseShellDialogImpl();
protected:
// Represents a run of a dialog.
- struct RunState {
+ struct UI_EXPORT RunState {
// Owning HWND, may be null.
HWND owner;
@@ -89,4 +92,6 @@ class BaseShellDialogImpl {
DISALLOW_COPY_AND_ASSIGN(BaseShellDialogImpl);
};
-#endif // CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_
+} // namespace ui
+
+#endif // UI_BASE_DIALOGS_BASE_SHELL_DIALOG_WIN_H_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/base/dialogs/base_shell_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698