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_WEBUI_OPTIONS_MEDIA_GALLERIES_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_GALLERIES_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_GALLERIES_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_GALLERIES_HANDLER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/prefs/public/pref_change_registrar.h" | 9 #include "base/prefs/pref_change_registrar.h" |
10 #include "chrome/browser/ui/webui/options/options_ui.h" | 10 #include "chrome/browser/ui/webui/options/options_ui.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "ui/shell_dialogs/select_file_dialog.h" | 12 #include "ui/shell_dialogs/select_file_dialog.h" |
13 | 13 |
14 namespace options { | 14 namespace options { |
15 | 15 |
16 // Handles messages related to adding or removing media galleries. | 16 // Handles messages related to adding or removing media galleries. |
17 class MediaGalleriesHandler : public OptionsPageUIHandler, | 17 class MediaGalleriesHandler : public OptionsPageUIHandler, |
18 public ui::SelectFileDialog::Listener { | 18 public ui::SelectFileDialog::Listener { |
19 public: | 19 public: |
(...skipping 23 matching lines...) Expand all Loading... |
43 PrefChangeRegistrar pref_change_registrar_; | 43 PrefChangeRegistrar pref_change_registrar_; |
44 | 44 |
45 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; | 45 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesHandler); | 47 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesHandler); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace options | 50 } // namespace options |
51 | 51 |
52 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_GALLERIES_HANDLER_H_ | 52 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_GALLERIES_HANDLER_H_ |
OLD | NEW |