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

Side by Side Diff: ui/shell_dialogs/linux_ui_shell_dialog.h

Issue 12315139: Sort out build dependencies for LinuxUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment Created 7 years, 9 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 | « ui/shell_dialogs/linux_shell_dialog.cc ('k') | ui/shell_dialogs/select_file_dialog.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_SHELL_DIALOGS_LINUX_UI_SHELL_DIALOG_H_
6 #define UI_SHELL_DIALOGS_LINUX_UI_SHELL_DIALOG_H_
7
8 #include "ui/base/linux_ui.h"
9 #include "ui/shell_dialogs/select_file_dialog.h"
10 #include "ui/shell_dialogs/shell_dialogs_export.h"
11
12 namespace ui {
13 // This subclass of the base LinuxUI class provides a way for subclasses to
14 // override the CreateSelectFileDialog function declared here to return
15 // native file dialogs.
16 class SHELL_DIALOGS_EXPORT LinuxUIShellDialog : public ui::LinuxUI {
17 public:
18 virtual ~LinuxUIShellDialog() {}
19
20 // Returns a native file selection dialog.
21 virtual SelectFileDialog* CreateSelectFileDialog(
22 SelectFileDialog::Listener* listener,
23 SelectFilePolicy* policy) const = 0;
24 };
25
26 } // namespace ui
27
28 #endif // UI_SHELL_DIALOGS_LINUX_UI_SHELL_DIALOG_H_
29
OLDNEW
« no previous file with comments | « ui/shell_dialogs/linux_shell_dialog.cc ('k') | ui/shell_dialogs/select_file_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698