Chromium Code Reviews| 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 0f7ae0c37195f83ca777747bbb42acf5fddfb302..6bb0bf696452f578168506bfcbe3579f777c9264 100644 |
| --- a/apps/app_shim/extension_app_shim_handler_mac.h |
| +++ b/apps/app_shim/extension_app_shim_handler_mac.h |
| @@ -80,8 +80,14 @@ class ExtensionAppShimHandler : public AppShimHandler, |
| static void FocusAppForWindow(AppWindow* app_window); |
| // Brings the window to the front without showing it and instructs the shim to |
| - // request user attention. Returns false if there is no shim for this window. |
| - static bool RequestUserAttentionForWindow(AppWindow* app_window); |
| + // request user attention. If there is no shim, show the app and return false. |
| + static bool ActivateAndRequestUserAttentionForWindow(AppWindow* app_window); |
| + |
| + // Instructs the shim to request user attention. Returns false if there is no |
| + // shim for this window. |
| + static bool RequestUserAttentionForWindow( |
|
tapted
2014/08/13 03:37:08
return void? I don't think anything uses the retur
jackhou1
2014/08/13 05:53:46
Done.
|
| + AppWindow* app_window, |
| + AppShimAttentionType attention_type); |
| // Called by AppControllerMac when Chrome hides. |
| static void OnChromeWillHide(); |