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. 4 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_PAIRING_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_PAIRING_UI_H_ 7 8 #include "chrome/browser/ui/webui/options/options_ui.h" 9 #include "ui/web_dialogs/web_dialog_ui.h" 10 11 namespace chromeos { 12 13 namespace options { 14 class CoreChromeOSOptionsHandler; 15 class BluetoothOptionsHandler; 16 } 17 18 // A WebUI to host bluetooth device pairing web ui. 19 class BluetoothPairingUI : public ui::WebDialogUI, 20 public ::options::OptionsPageUIHandlerHost { 21 public: 22 explicit BluetoothPairingUI(content::WebUI* web_ui); 23 virtual ~BluetoothPairingUI(); 24 25 private: 26 // Overridden from OptionsPageUIHandlerHost: 27 virtual void InitializeHandlers() OVERRIDE; 28 29 options::CoreChromeOSOptionsHandler* core_handler_; 30 options::BluetoothOptionsHandler* bluetooth_handler_; 31 32 DISALLOW_COPY_AND_ASSIGN(BluetoothPairingUI); 33 }; 34 35 } // namespace chromeos 36 37 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_BLUETOOTH_PAIRING_UI_H_ 38