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

Unified Diff: apps/app_shim/app_shim_launch.h

Issue 461303002: [Mac] Bounce app shims when app windows request attention. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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_launch.h
diff --git a/apps/app_shim/app_shim_launch.h b/apps/app_shim/app_shim_launch.h
index 26b6416f019f1808e1894013de6b74cf2a2e8db8..61f87da6dda8d592c7af569ea18bce25bb27873c 100644
--- a/apps/app_shim/app_shim_launch.h
+++ b/apps/app_shim/app_shim_launch.h
@@ -41,6 +41,17 @@ enum AppShimFocusType {
APP_SHIM_FOCUS_NUM_TYPES
};
+enum AppShimAttentionType {
+ // Removes any active attention request.
+ APP_SHIM_ATTENTION_CANCEL = 0,
+ // Bounces the shim in the dock briefly.
+ APP_SHIM_ATTENTION_INFORMATIONAL,
+ // Bounces the shim in the dock continuously.
+ APP_SHIM_ATTENTION_CRITICAL,
+ // Counter and end marker.
+ APP_SHIM_ATTENTION_NUM_TYPES
+};
+
} // namespace apps
#endif // APPS_APP_SHIM_APP_SHIM_LAUNCH_H_

Powered by Google App Engine
This is Rietveld 408576698