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

Unified Diff: chrome/test/data/extensions/api_test/notifications/api/user_gesture/background.js

Issue 291193009: Reland: Allow high-res bitmaps to be passed in from notifications API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test post-rebase. Created 6 years, 7 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: chrome/test/data/extensions/api_test/notifications/api/user_gesture/background.js
diff --git a/chrome/test/data/extensions/api_test/notifications/api/user_gesture/background.js b/chrome/test/data/extensions/api_test/notifications/api/user_gesture/background.js
index f9194e24e49ee97c4cf24b92ce317b6b3f6b64a2..fd1bd6126b599f5e423f3493c6f5932bdd61d517 100644
--- a/chrome/test/data/extensions/api_test/notifications/api/user_gesture/background.js
+++ b/chrome/test/data/extensions/api_test/notifications/api/user_gesture/background.js
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+const red_dot = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA" +
+ "AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO" +
+ "9TXL0Y4OHwAAAABJRU5ErkJggg==";
+
function userActionTest() {
chrome.test.sendMessage("");
}
@@ -11,7 +15,7 @@ chrome.notifications.onButtonClicked.addListener(userActionTest);
chrome.notifications.onClosed.addListener(userActionTest);
chrome.notifications.create("test", {
- iconUrl: "",
+ iconUrl: red_dot,
title: "hi",
message: "there",
type: "basic",
« no previous file with comments | « chrome/test/data/extensions/api_test/notifications/api/partial_update/manifest.json ('k') | chrome/unit_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698