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..0f7ae0c37195f83ca777747bbb42acf5fddfb302 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, |
@@ -118,6 +121,9 @@ class ExtensionAppShimHandler : public AppShimHandler, |
content::NotificationRegistrar& registrar() { return registrar_; } |
private: |
+ // Helper function to get the instance on the browser process. |
+ static ExtensionAppShimHandler* GetInstance(); |
+ |
// This is passed to Delegate::LoadProfileAsync for shim-initiated launches |
// where the profile was not yet loaded. |
void OnProfileLoaded(Host* host, |