Index: ui/aura/remote_root_window_host_win.cc |
diff --git a/ui/aura/remote_root_window_host_win.cc b/ui/aura/remote_root_window_host_win.cc |
index 326f9cffbb0c167f52fd012b95eccae04b24876c..95942b4012bc72f273b00b0da1f9226715a5300a 100644 |
--- a/ui/aura/remote_root_window_host_win.cc |
+++ b/ui/aura/remote_root_window_host_win.cc |
@@ -295,6 +295,10 @@ void RemoteRootWindowHostWin::HandleSelectFolder( |
host_->Send(new MetroViewerHostMsg_DisplaySelectFolder(title)); |
} |
+bool RemoteRootWindowHostWin::IsForegroundWindow() { |
+ return ::GetForegroundWindow() == remote_window_; |
+} |
+ |
Window* RemoteRootWindowHostWin::GetAshWindow() { |
return GetRootWindow()->window(); |
} |