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

Unified Diff: chrome/browser/ui/webui/chromeos/emulator/device_emulator_ui.h

Issue 1205753002: Create chrome://device-emulator and add the ability to get a battery percentage and send an updated… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chromeos/emulator/device_emulator_ui.h
diff --git a/chrome/browser/ui/webui/chromeos/emulator/device_emulator_ui.h b/chrome/browser/ui/webui/chromeos/emulator/device_emulator_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..a695e21369c213789829b79d5a18d9a55f1f41d4
--- /dev/null
+++ b/chrome/browser/ui/webui/chromeos/emulator/device_emulator_ui.h
@@ -0,0 +1,25 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_
+
+#include "base/basictypes.h"
+#include "content/public/browser/web_ui_controller.h"
+
+namespace power_manager {
+class PowerSupplyProperties;
+}
+
+// The WebUI handler for chrome://device-emulator
+class DeviceEmulatorUI : public content::WebUIController {
+ public:
+ explicit DeviceEmulatorUI(content::WebUI* web_ui);
+ ~DeviceEmulatorUI() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DeviceEmulatorUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_EMULATOR_DEVICE_EMULATOR_UI_H_

Powered by Google App Engine
This is Rietveld 408576698