1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_PAIRING_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_PAIRING_UI_H_
8 #include "chrome/browser/ui/webui/options/options_ui.h"
9 #include "ui/web_dialogs/web_dialog_ui.h"
14 class CoreChromeOSOptionsHandler;
15 class BluetoothOptionsHandler;
18 // A WebUI to host bluetooth device pairing web ui.
19 class BluetoothPairingUI : public ui::WebDialogUI,
20 public ::options::OptionsPageUIHandlerHost {
22 explicit BluetoothPairingUI(content::WebUI* web_ui);
23 virtual ~BluetoothPairingUI();
26 // Overridden from OptionsPageUIHandlerHost:
27 virtual void InitializeHandlers() OVERRIDE;
29 options::CoreChromeOSOptionsHandler* core_handler_;
30 options::BluetoothOptionsHandler* bluetooth_handler_;
32 DISALLOW_COPY_AND_ASSIGN(BluetoothPairingUI);
35 } // namespace chromeos
37 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_PAIRING_UI_H_