OLD | NEW |
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_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "chrome/browser/ui/views/extensions/extension_dialog_observer.h" | 13 #include "chrome/browser/ui/views/extensions/extension_dialog_observer.h" |
13 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow | 14 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow |
14 #include "ui/shell_dialogs/select_file_dialog.h" | 15 #include "ui/shell_dialogs/select_file_dialog.h" |
15 | 16 |
16 class ExtensionDialog; | 17 class ExtensionDialog; |
17 class Profile; | 18 class Profile; |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 class RenderViewHost; | 21 class RenderViewHost; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 }; | 120 }; |
120 SelectionType selection_type_; | 121 SelectionType selection_type_; |
121 std::vector<ui::SelectedFileInfo> selection_files_; | 122 std::vector<ui::SelectedFileInfo> selection_files_; |
122 int selection_index_; | 123 int selection_index_; |
123 void* params_; | 124 void* params_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogExtension); | 126 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogExtension); |
126 }; | 127 }; |
127 | 128 |
128 #endif // CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_H_ | 129 #endif // CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_H_ |
OLD | NEW |