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.
5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/browser_process_platform_part_base.h"
12 class ChromeMetroViewerProcessHost;
14 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase {
16 BrowserProcessPlatformPart();
17 virtual ~BrowserProcessPlatformPart();
19 // Invoked when the ASH metro viewer process on Windows 8 exits.
20 void OnMetroViewerProcessTerminated();
22 // Overridden from BrowserProcessPlatformPartBase:
23 virtual void PlatformSpecificCommandLineProcessing(
24 const CommandLine& command_line) OVERRIDE;
25 virtual void AttemptExit() OVERRIDE;
28 // Hosts the channel for the Windows 8 metro viewer process which runs in
29 // the ASH environment.
30 scoped_ptr<ChromeMetroViewerProcessHost> metro_viewer_process_host_;
32 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
35 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_