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

Side by Side Diff: chrome/browser/file_select_helper.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/certificate_dialogs.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 CHROME_BROWSER_FILE_SELECT_HELPER_H_ 5 #ifndef CHROME_BROWSER_FILE_SELECT_HELPER_H_
6 #define CHROME_BROWSER_FILE_SELECT_HELPER_H_ 6 #define CHROME_BROWSER_FILE_SELECT_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "chrome/browser/ui/select_file_dialog.h" 13 #include "chrome/browser/ui/select_file_dialog.h"
14 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
16 #include "net/base/directory_lister.h" 16 #include "net/base/directory_lister.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace content { 20 namespace content {
21 class RenderViewHost; 21 class RenderViewHost;
22 class WebContents;
22 struct FileChooserParams; 23 struct FileChooserParams;
23 } 24 }
24 25
25 namespace ui { 26 namespace ui {
26 struct SelectedFileInfo; 27 struct SelectedFileInfo;
27 } 28 }
28 29
29 // This class handles file-selection requests coming from WebUI elements 30 // This class handles file-selection requests coming from WebUI elements
30 // (via the ExtensionHost class). It implements both the initialisation 31 // (via the ExtensionHost class). It implements both the initialisation
31 // and listener functions for file-selection dialogs. 32 // and listener functions for file-selection dialogs.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 struct ActiveDirectoryEnumeration; 158 struct ActiveDirectoryEnumeration;
158 std::map<int, ActiveDirectoryEnumeration*> directory_enumerations_; 159 std::map<int, ActiveDirectoryEnumeration*> directory_enumerations_;
159 160
160 // Registrar for notifications regarding our RenderViewHost. 161 // Registrar for notifications regarding our RenderViewHost.
161 content::NotificationRegistrar notification_registrar_; 162 content::NotificationRegistrar notification_registrar_;
162 163
163 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper); 164 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper);
164 }; 165 };
165 166
166 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_ 167 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/certificate_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698