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

Unified Diff: chrome/test/data/extensions/platform_apps/window_api_interactive/test.js

Issue 461303002: [Mac] Bounce app shims when app windows request attention. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update FakeHost in test. 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
« no previous file with comments | « chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
diff --git a/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js b/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
index 9f6784901fbb6f184f7d64403aec64b356e99704..ab02b4d5928e202fdd076bd94c83f66ae6231bc0 100644
--- a/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
+++ b/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
@@ -221,6 +221,17 @@ function testShow() {
]);
}
+function testDrawAttention() {
+ chrome.test.runTests([
+ function drawThenClearAttention() {
+ chrome.app.window.create('test.html', {}, callbackPass(function(win) {
+ win.drawAttention();
+ win.clearAttention();
+ }));
+ }
+ ]);
+}
+
chrome.app.runtime.onLaunched.addListener(function() {
chrome.test.sendMessage('Launched', function(reply) {
window[reply]();
« no previous file with comments | « chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698