|
|
@ -132,6 +132,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
drawAttention: function(window_id) {
|
|
|
|
drawAttention: function(window_id) {
|
|
|
|
|
|
|
|
console.log('draw attention');
|
|
|
|
if (chrome.app.window) {
|
|
|
|
if (chrome.app.window) {
|
|
|
|
var w = chrome.app.window.get(window_id);
|
|
|
|
var w = chrome.app.window.get(window_id);
|
|
|
|
w.clearAttention();
|
|
|
|
w.clearAttention();
|
|
|
@ -140,6 +141,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
clearAttention: function(window_id) {
|
|
|
|
clearAttention: function(window_id) {
|
|
|
|
|
|
|
|
console.log('clear attention');
|
|
|
|
if (chrome.app.window) {
|
|
|
|
if (chrome.app.window) {
|
|
|
|
var w = chrome.app.window.get(window_id);
|
|
|
|
var w = chrome.app.window.get(window_id);
|
|
|
|
w.clearAttention();
|
|
|
|
w.clearAttention();
|
|
|
|