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

Unified Diff: apps/app_window_contents.cc

Issue 26427002: Add always-on-top property to app windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | apps/shell_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window_contents.cc
diff --git a/apps/app_window_contents.cc b/apps/app_window_contents.cc
index 56ae403b2d0faff5ce3df1380f2e5920344ab3cd..ccafd054f11f2f3229dee9d6bd6cc8cf7987d240 100644
--- a/apps/app_window_contents.cc
+++ b/apps/app_window_contents.cc
@@ -92,6 +92,7 @@ void AppWindowContents::NativeWindowChanged(
native_app_window->IsFullscreenOrPending());
dictionary->SetBoolean("minimized", native_app_window->IsMinimized());
dictionary->SetBoolean("maximized", native_app_window->IsMaximized());
+ dictionary->SetBoolean("alwaysOnTop", native_app_window->IsAlwaysOnTop());
content::RenderViewHost* rvh = web_contents_->GetRenderViewHost();
rvh->Send(new ExtensionMsg_MessageInvoke(rvh->GetRoutingID(),
« no previous file with comments | « no previous file | apps/shell_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698