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

Side by Side Diff: chrome/browser/browser_process_platform_part_aurawin.h

Issue 1602403002: Revert of Remove remote tree host and some related input and metro_driver code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-3
Patch Set: Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/browser_process_platform_part_base.h"
12 #include "content/public/browser/notification_observer.h"
13 #include "content/public/browser/notification_registrar.h"
14
15 class ChromeMetroViewerProcessHost;
16
17 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
18 public content::NotificationObserver {
19 public:
20 BrowserProcessPlatformPart();
21 ~BrowserProcessPlatformPart() override;
22
23 // Invoked when the ASH metro viewer process on Windows 8 exits.
24 void OnMetroViewerProcessTerminated();
25
26 // Overridden from BrowserProcessPlatformPartBase:
27 void PlatformSpecificCommandLineProcessing(
28 const base::CommandLine& command_line) override;
29
30 // content::NotificationObserver method:
31 void Observe(int type,
32 const content::NotificationSource& source,
33 const content::NotificationDetails& details) override;
34
35 private:
36 // Hosts the channel for the Windows 8 metro viewer process which runs in
37 // the ASH environment.
38 scoped_ptr<ChromeMetroViewerProcessHost> metro_viewer_process_host_;
39
40 content::NotificationRegistrar registrar_;
41
42 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
43 };
44
45 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_platform_part.h ('k') | chrome/browser/browser_process_platform_part_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698