summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver/devices_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'win8/metro_driver/devices_handler.h')
-rw-r--r--win8/metro_driver/devices_handler.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/win8/metro_driver/devices_handler.h b/win8/metro_driver/devices_handler.h
new file mode 100644
index 0000000..fdb2226
--- /dev/null
+++ b/win8/metro_driver/devices_handler.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2012 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_METRO_DRIVER_DEVICES_HANDLER_H_
+#define CHROME_BROWSER_UI_METRO_DRIVER_DEVICES_HANDLER_H_
+
+#include <windows.ui.core.h>
+
+#include "base/basictypes.h"
+#include "win8/metro_driver/print_handler.h"
+
+namespace metro_driver {
+
+// This class handles the devices charm.
+class DevicesHandler {
+ public:
+ DevicesHandler();
+ ~DevicesHandler();
+
+ HRESULT Initialize(winui::Core::ICoreWindow* window);
+
+ private:
+ PrintHandler print_handler_;
+
+ DISALLOW_COPY_AND_ASSIGN(DevicesHandler);
+};
+
+} // namespace metro_driver
+
+#endif // CHROME_BROWSER_UI_METRO_DRIVER_DEVICES_HANDLER_H_