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

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

Issue 14576015: In WinAura, also kill the Metro viewer process in AttemptExit(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge up to r201426 Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_ 5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_ 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/browser_process_platform_part_base.h" 10 #include "chrome/browser/browser_process_platform_part_base.h"
11 11
12 class MetroViewerProcessHost; 12 class MetroViewerProcessHost;
13 13
14 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase { 14 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase {
15 public: 15 public:
16 BrowserProcessPlatformPart(); 16 BrowserProcessPlatformPart();
17 virtual ~BrowserProcessPlatformPart(); 17 virtual ~BrowserProcessPlatformPart();
18 18
19 // Invoked when the ASH metro viewer process on Windows 8 exits. 19 // Invoked when the ASH metro viewer process on Windows 8 exits.
20 void OnMetroViewerProcessTerminated(); 20 void OnMetroViewerProcessTerminated();
21 21
22 // Overridden from BrowserProcessPlatformPartBase: 22 // Overridden from BrowserProcessPlatformPartBase:
23 virtual void PlatformSpecificCommandLineProcessing( 23 virtual void PlatformSpecificCommandLineProcessing(
24 const CommandLine& command_line) OVERRIDE; 24 const CommandLine& command_line) OVERRIDE;
25 virtual void AttemptExit() OVERRIDE;
25 26
26 private: 27 private:
27 // Hosts the channel for the Windows 8 metro viewer process which runs in 28 // Hosts the channel for the Windows 8 metro viewer process which runs in
28 // the ASH environment. 29 // the ASH environment.
29 scoped_ptr<MetroViewerProcessHost> metro_viewer_process_host_; 30 scoped_ptr<MetroViewerProcessHost> metro_viewer_process_host_;
30 31
31 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); 32 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
32 }; 33 };
33 34
34 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_ 35 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_AURAWIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_platform_part_android.cc ('k') | chrome/browser/browser_process_platform_part_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698