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

Unified Diff: ui/aura/remote_root_window_host_win.h

Issue 58853004: [win8] Force browsers created with Chrome in Metro mode to be on the Ash desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move from browser_commands to BrowserWindow Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | ui/aura/remote_root_window_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/remote_root_window_host_win.h
diff --git a/ui/aura/remote_root_window_host_win.h b/ui/aura/remote_root_window_host_win.h
index d0c591075a6ce3613432e22a937692271c8d004f..c1680a0b424244ea21c498b8f43ddd00ff38b92b 100644
--- a/ui/aura/remote_root_window_host_win.h
+++ b/ui/aura/remote_root_window_host_win.h
@@ -142,6 +142,10 @@ class AURA_EXPORT RemoteRootWindowHostWin : public RootWindowHost {
// Returns the active ASH root window.
Window* GetAshWindow();
+ // Returns true if the remote window is the foreground window according to the
+ // OS.
+ bool IsForegroundWindow();
+
private:
explicit RemoteRootWindowHostWin(const gfx::Rect& bounds);
virtual ~RemoteRootWindowHostWin();
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | ui/aura/remote_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698