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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ 5 #ifndef APPS_APP_SHIM_APP_SHIM_LAUNCH_H_
6 #define APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ 6 #define APPS_APP_SHIM_APP_SHIM_LAUNCH_H_
7 7
8 namespace apps { 8 namespace apps {
9 9
10 enum AppShimLaunchType { 10 enum AppShimLaunchType {
(...skipping 23 matching lines...) Expand all
34 // Just focus the app. 34 // Just focus the app.
35 APP_SHIM_FOCUS_NORMAL = 0, 35 APP_SHIM_FOCUS_NORMAL = 0,
36 // Focus the app or launch it if it has no windows open. 36 // Focus the app or launch it if it has no windows open.
37 APP_SHIM_FOCUS_REOPEN, 37 APP_SHIM_FOCUS_REOPEN,
38 // Open the given file in the app. 38 // Open the given file in the app.
39 APP_SHIM_FOCUS_OPEN_FILES, 39 APP_SHIM_FOCUS_OPEN_FILES,
40 // Counter and end marker. 40 // Counter and end marker.
41 APP_SHIM_FOCUS_NUM_TYPES 41 APP_SHIM_FOCUS_NUM_TYPES
42 }; 42 };
43 43
44 enum AppShimAttentionType {
45 // Removes any active attention request.
46 APP_SHIM_ATTENTION_CANCEL = 0,
47 // Bounces the shim in the dock briefly.
48 APP_SHIM_ATTENTION_INFORMATIONAL,
49 // Bounces the shim in the dock continuously.
50 APP_SHIM_ATTENTION_CRITICAL,
51 // Counter and end marker.
52 APP_SHIM_ATTENTION_NUM_TYPES
53 };
54
44 } // namespace apps 55 } // namespace apps
45 56
46 #endif // APPS_APP_SHIM_APP_SHIM_LAUNCH_H_ 57 #endif // APPS_APP_SHIM_APP_SHIM_LAUNCH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698