OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/public/browser/web_ui_controller.h" | 9 #include "content/public/browser/web_ui_controller.h" |
10 | 10 |
11 namespace power_manager { | |
12 class PowerSupplyProperties; | |
13 } | |
14 | |
15 // The WebUI handler for chrome://device-emulator | 11 // The WebUI handler for chrome://device-emulator |
16 class DeviceEmulatorUI : public content::WebUIController { | 12 class DeviceEmulatorUI : public content::WebUIController { |
17 public: | 13 public: |
18 explicit DeviceEmulatorUI(content::WebUI* web_ui); | 14 explicit DeviceEmulatorUI(content::WebUI* web_ui); |
19 ~DeviceEmulatorUI() override; | 15 ~DeviceEmulatorUI() override; |
20 | 16 |
21 private: | 17 private: |
22 DISALLOW_COPY_AND_ASSIGN(DeviceEmulatorUI); | 18 DISALLOW_COPY_AND_ASSIGN(DeviceEmulatorUI); |
23 }; | 19 }; |
24 | 20 |
25 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_ | 21 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_ |
OLD | NEW |