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

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: Bots do not seem to care, but try not to break non-CrOS Ash on Linux. Also fix typo. 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
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();

Powered by Google App Engine
This is Rietveld 408576698