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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h

Issue 9814030: get rid of old options pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 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_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER2_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" 14 #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h"
15 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h" 15 #include "chrome/browser/chromeos/bluetooth/bluetooth_device.h"
16 #include "chrome/browser/ui/webui/options2/options_ui2.h" 16 #include "chrome/browser/ui/webui/options2/options_ui2.h"
17 17
18 namespace base { 18 namespace base {
19 class DictionaryValue; 19 class DictionaryValue;
20 } 20 }
21 21
22 namespace chromeos { 22 namespace chromeos {
23 namespace options2 { 23 namespace options2 {
24 24
25 // Handler for Bluetooth options on the system options page. 25 // Handler for Bluetooth options on the system options page.
26 class BluetoothOptionsHandler : public OptionsPageUIHandler, 26 class BluetoothOptionsHandler : public ::options2::OptionsPageUIHandler,
27 public chromeos::BluetoothAdapter::Observer, 27 public chromeos::BluetoothAdapter::Observer,
28 public BluetoothDevice::PairingDelegate { 28 public BluetoothDevice::PairingDelegate {
29 public: 29 public:
30 BluetoothOptionsHandler(); 30 BluetoothOptionsHandler();
31 virtual ~BluetoothOptionsHandler(); 31 virtual ~BluetoothOptionsHandler();
32 32
33 // OptionsPageUIHandler implementation. 33 // OptionsPageUIHandler implementation.
34 virtual void GetLocalizedValues( 34 virtual void GetLocalizedValues(
35 base::DictionaryValue* localized_strings) OVERRIDE; 35 base::DictionaryValue* localized_strings) OVERRIDE;
36 virtual void RegisterMessages() OVERRIDE; 36 virtual void RegisterMessages() OVERRIDE;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // than this object does. 190 // than this object does.
191 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_; 191 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_;
192 192
193 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); 193 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler);
194 }; 194 };
195 195
196 } // namespace options2 196 } // namespace options2
197 } // namespace chromeos 197 } // namespace chromeos
198 198
199 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER2_ H_ 199 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER2_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698