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

Unified Diff: apps/app_shim/app_shim_messages.h

Issue 461303002: [Mac] Bounce app shims when app windows request attention. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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_messages.h
diff --git a/apps/app_shim/app_shim_messages.h b/apps/app_shim/app_shim_messages.h
index 75be2d0c685f7815ce86d24db5889ce05276afbf..9b8556b7d2100f77c5a1798a727e4a3abd524e84 100644
--- a/apps/app_shim/app_shim_messages.h
+++ b/apps/app_shim/app_shim_messages.h
@@ -21,6 +21,8 @@ IPC_ENUM_TRAITS_MAX_VALUE(apps::AppShimLaunchResult,
apps::APP_SHIM_LAUNCH_NUM_RESULTS - 1)
IPC_ENUM_TRAITS_MAX_VALUE(apps::AppShimFocusType,
apps::APP_SHIM_FOCUS_NUM_TYPES - 1)
+IPC_ENUM_TRAITS_MAX_VALUE(apps::AppShimAttentionType,
+ apps::APP_SHIM_ATTENTION_NUM_TYPES - 1)
// Signals that a previous LaunchApp message has been processed, and lets the
// app shim process know whether it was registered successfully.
@@ -31,7 +33,8 @@ IPC_MESSAGE_CONTROL1(AppShimMsg_LaunchApp_Done,
IPC_MESSAGE_CONTROL0(AppShimMsg_Hide)
// Instructs the shim to request user attention.
-IPC_MESSAGE_CONTROL0(AppShimMsg_RequestUserAttention)
+IPC_MESSAGE_CONTROL1(AppShimMsg_RequestUserAttention,
tapted 2014/08/13 03:37:08 So.. now that this is released, I'm not sure how s
jackhou1 2014/08/13 05:53:45 Argh. Just adding a new IPC message instead. As
+ apps::AppShimAttentionType /* attention_type */)
// Signals to the main Chrome process that a shim has started indicating the
// profile and app_id that the shim should be associated with and whether to

Powered by Google App Engine
This is Rietveld 408576698