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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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_DEVICES_SELECTION_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_DEVICES_SELECTION_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_DEVICES_SELECTION_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_DEVICES_SELECTION_HANDLER_H_
7 7
8 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 8 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
9 #include "chrome/browser/ui/webui/options/options_ui.h" 9 #include "chrome/browser/ui/webui/options/options_ui.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 #include "grit/generated_resources.h"
12 11
13 namespace options { 12 namespace options {
14 13
15 // Handler for media devices selection in content settings. 14 // Handler for media devices selection in content settings.
16 class MediaDevicesSelectionHandler 15 class MediaDevicesSelectionHandler
17 : public MediaCaptureDevicesDispatcher::Observer, 16 : public MediaCaptureDevicesDispatcher::Observer,
18 public OptionsPageUIHandler { 17 public OptionsPageUIHandler {
19 public: 18 public:
20 MediaDevicesSelectionHandler(); 19 MediaDevicesSelectionHandler();
21 virtual ~MediaDevicesSelectionHandler(); 20 virtual ~MediaDevicesSelectionHandler();
(...skipping 24 matching lines...) Expand all
46 void UpdateDevicesMenuForType(DeviceType type); 45 void UpdateDevicesMenuForType(DeviceType type);
47 void UpdateDevicesMenu(DeviceType type, 46 void UpdateDevicesMenu(DeviceType type,
48 const content::MediaStreamDevices& devices); 47 const content::MediaStreamDevices& devices);
49 48
50 DISALLOW_COPY_AND_ASSIGN(MediaDevicesSelectionHandler); 49 DISALLOW_COPY_AND_ASSIGN(MediaDevicesSelectionHandler);
51 }; 50 };
52 51
53 } // namespace options 52 } // namespace options
54 53
55 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_DEVICES_SELECTION_HANDLER_H_ 54 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MEDIA_DEVICES_SELECTION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698