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

Unified Diff: apps/app_shim/extension_app_shim_handler_mac.h

Issue 403743002: [Mac] Hide all shims when Chrome is hidden. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/extension_app_shim_handler_mac.h
diff --git a/apps/app_shim/extension_app_shim_handler_mac.h b/apps/app_shim/extension_app_shim_handler_mac.h
index ed277f3cca18cf2ef94296caaf8db7d173b9fd6f..0cfa9b15bb36fb80b20e4d843b8c684e5bbf63bf 100644
--- a/apps/app_shim/extension_app_shim_handler_mac.h
+++ b/apps/app_shim/extension_app_shim_handler_mac.h
@@ -83,6 +83,9 @@ class ExtensionAppShimHandler : public AppShimHandler,
// request user attention. Returns false if there is no shim for this window.
static bool RequestUserAttentionForWindow(AppWindow* app_window);
+ // Called by AppControllerMac when Chrome hides.
+ static void OnChromeWillHide();
+
// AppShimHandler overrides:
virtual void OnShimLaunch(Host* host,
AppShimLaunchType launch_type,
« no previous file with comments | « no previous file | apps/app_shim/extension_app_shim_handler_mac.cc » ('j') | apps/app_shim/extension_app_shim_handler_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698