OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #include "chrome/browser/metro_viewer/metro_viewer_process_host_win.h" | 5 #include "chrome/browser/metro_viewer/metro_viewer_process_host_win.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
9 #include "chrome/browser/browser_process_platform_part_aurawin.h" | 9 #include "chrome/browser/browser_process_platform_part_aurawin.h" |
10 #include "chrome/browser/ui/ash/ash_init.h" | 10 #include "chrome/browser/ui/ash/ash_init.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 scoped_refptr<AcceleratedPresenter> any_window = | 105 scoped_refptr<AcceleratedPresenter> any_window = |
106 AcceleratedPresenter::GetForWindow(NULL); | 106 AcceleratedPresenter::GetForWindow(NULL); |
107 any_window->SetNewTargetWindow(hwnd); | 107 any_window->SetNewTargetWindow(hwnd); |
108 aura::RemoteRootWindowHostWin::Instance()->Connected(this); | 108 aura::RemoteRootWindowHostWin::Instance()->Connected(this); |
109 // Tell the rest of Chrome that Ash is running. | 109 // Tell the rest of Chrome that Ash is running. |
110 content::NotificationService::current()->Notify( | 110 content::NotificationService::current()->Notify( |
111 chrome::NOTIFICATION_ASH_SESSION_STARTED, | 111 chrome::NOTIFICATION_ASH_SESSION_STARTED, |
112 content::NotificationService::AllSources(), | 112 content::NotificationService::AllSources(), |
113 content::NotificationService::NoDetails()); | 113 content::NotificationService::NoDetails()); |
114 } | 114 } |
OLD | NEW |