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

Side by Side Diff: chrome/browser/ui/webui/options/media_galleries_handler.h

Issue 12789006: base/prefs: Remove the public/ directory and move the files to //base/prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
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_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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698