| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/browser/shell_dialogs.h" | 11 #include "chrome/browser/ui/shell_dialogs.h" |
| 12 #include "chrome/common/notification_observer.h" | 12 #include "chrome/common/notification_observer.h" |
| 13 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
| 14 #include "net/base/directory_lister.h" | 14 #include "net/base/directory_lister.h" |
| 15 | 15 |
| 16 class Profile; | 16 class Profile; |
| 17 class RenderViewHost; | 17 class RenderViewHost; |
| 18 struct ViewHostMsg_RunFileChooser_Params; | 18 struct ViewHostMsg_RunFileChooser_Params; |
| 19 | 19 |
| 20 class FileSelectHelper | 20 class FileSelectHelper |
| 21 : public SelectFileDialog::Listener, | 21 : public SelectFileDialog::Listener, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // as the listing proceeds. | 74 // as the listing proceeds. |
| 75 std::vector<FilePath> directory_lister_results_; | 75 std::vector<FilePath> directory_lister_results_; |
| 76 | 76 |
| 77 // Registrar for notifications regarding our RenderViewHost. | 77 // Registrar for notifications regarding our RenderViewHost. |
| 78 NotificationRegistrar notification_registrar_; | 78 NotificationRegistrar notification_registrar_; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper); | 80 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_ | 83 #endif // CHROME_BROWSER_FILE_SELECT_HELPER_H_ |
| OLD | NEW |