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

Unified Diff: apps/app_shim/app_shim_host_mac.cc

Issue 23514021: Add Hide to app menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
Index: apps/app_shim/app_shim_host_mac.cc
diff --git a/apps/app_shim/app_shim_host_mac.cc b/apps/app_shim/app_shim_host_mac.cc
index aba1a58bcce6d6865f0473a503aa90640fb48e7b..6762873ade7c2c2596b2f278431c5193e3272a42 100644
--- a/apps/app_shim/app_shim_host_mac.cc
+++ b/apps/app_shim/app_shim_host_mac.cc
@@ -114,6 +114,10 @@ void AppShimHost::OnAppClosed() {
Close();
}
+void AppShimHost::OnAppHide() {
+ Send(new AppShimMsg_Hide);
+}
+
void AppShimHost::OnAppRequestUserAttention() {
Send(new AppShimMsg_RequestUserAttention);
}

Powered by Google App Engine
This is Rietveld 408576698