[DevTools] Address crash by checking if Tab loaded successfully
[chromium-blink-merge.git] / win8 / metro_driver / devices_handler.h
blobfdb2226c9fca99006e1adffebb4a45518f0c1751
1 // Copyright (c) 2012 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_METRO_DRIVER_DEVICES_HANDLER_H_
6 #define CHROME_BROWSER_UI_METRO_DRIVER_DEVICES_HANDLER_H_
8 #include <windows.ui.core.h>
10 #include "base/basictypes.h"
11 #include "win8/metro_driver/print_handler.h"
13 namespace metro_driver {
15 // This class handles the devices charm.
16 class DevicesHandler {
17 public:
18 DevicesHandler();
19 ~DevicesHandler();
21 HRESULT Initialize(winui::Core::ICoreWindow* window);
23 private:
24 PrintHandler print_handler_;
26 DISALLOW_COPY_AND_ASSIGN(DevicesHandler);
29 } // namespace metro_driver
31 #endif // CHROME_BROWSER_UI_METRO_DRIVER_DEVICES_HANDLER_H_