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

Side by Side Diff: ui/base/dialogs/base_shell_dialog.h

Issue 10667026: Start consolidating cross-port file selection code into ui/base/dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/base/dialogs/select_file_policy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_DIALOG_BASE_SHELL_DIALOG_H_ 5 #ifndef UI_BASE_DIALOGS_BASE_SHELL_DIALOG_H_
6 #define UI_BASE_DIALOG_BASE_SHELL_DIALOG_H_ 6 #define UI_BASE_DIALOGS_BASE_SHELL_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/base/ui_export.h" 9 #include "ui/base/ui_export.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 // A base class for shell dialogs. 14 // A base class for shell dialogs.
15 class UI_EXPORT BaseShellDialog { 15 class UI_EXPORT BaseShellDialog {
16 public: 16 public:
17 // Returns true if a shell dialog box is currently being shown modally 17 // Returns true if a shell dialog box is currently being shown modally
18 // to the specified owner. 18 // to the specified owner.
19 virtual bool IsRunning(gfx::NativeWindow owning_window) const = 0; 19 virtual bool IsRunning(gfx::NativeWindow owning_window) const = 0;
20 20
21 // Notifies the dialog box that the listener has been destroyed and it should 21 // Notifies the dialog box that the listener has been destroyed and it should
22 // no longer be sent notifications. 22 // no longer be sent notifications.
23 virtual void ListenerDestroyed() = 0; 23 virtual void ListenerDestroyed() = 0;
24 24
25 protected: 25 protected:
26 virtual ~BaseShellDialog(); 26 virtual ~BaseShellDialog();
27 }; 27 };
28 28
29 } // namespace ui 29 } // namespace ui
30 30
31 #endif // UI_BASE_DIALOG_BASE_SHELL_DIALOG_H_ 31 #endif // UI_BASE_DIALOGS_BASE_SHELL_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/base/dialogs/select_file_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698