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

Side by Side Diff: chrome/test/data/extensions/api_test/notifications/api/basic_app/index.js

Issue 2335293002: ShouldDisplayOverFullscreen implementation (Closed)
Patch Set: Rebasing to try to get patch to compile Created 4 years, 3 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 const redDot = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA' +
6 'AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO' +
7 '9TXL0Y4OHwAAAABJRU5ErkJggg==';
8
9 const options = {
10 iconUrl: redDot,
11 title: 'hi',
12 message: 'there',
13 type: 'basic',
14 buttons: [{title: 'Button'}, {title: 'Button'}]
15 };
16
17 onload = function() {
18 chrome.notifications.create('test', options, function() {
19 chrome.test.sendMessage('created');
20 });
21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698