title: How to insert notification action buttons in chrome extension?
body: <p>Hi I am in need to develop a notification with 2 buttons performing different actions.One button is 'MARK' and other one is 'IGNORE'.When I click MARK button it has to navigate to a website.And when I click IGNORE,the notification box should be invisible and should not be shown anymore.How can I do that? 
  Here is my background.js</p>
  
  <pre><code>  var oldChromeVersion = !chrome.runtime;
  
    function getGmailUrl() {
      return "http://calpinemate.com/";
      }
         function isGmailUrl(url) {
  
         return url.indexOf(getGmailUrl()) == 0;
        }
  
      chrome.browserAction.onClicked.addListener(function(tab) {
  
       chrome.tabs.query({
      url: "http://calpinemate.com/*",
      currentWindow: true
      }, function(tabs) {
      if (tabs.length &gt; 0) {
          var tab = tabs[0];
          console.log("Found (at least one) Gmail tab: " + tab.url);
          console.log("Focusing and refreshing count...");
          chrome.tabs.update(tab.id, { active: true });
           updateIcon();
      } else {
          console.log("Could not find Gmail tab. Creating one...");
          chrome.tabs.create({ url: getGmailUrl() });
           updateIcon();
      }
       });
       });
     function onInit() {
        console.log('onInit');
        updateIcon();
        if (!oldChromeVersion) {
        chrome.alarms.create('watchdog', {periodInMinutes:5});
           }
            }
  
          function onAlarm(alarm) {
         console.log('Got alarm', alarm);
       if (alarm &amp;&amp; alarm.name == 'watchdog') {
      onWatchdog();
     } else {
      updateIcon();
         }
       }
  
       function onWatchdog() {
        chrome.alarms.get('refresh', function(alarm) {
          if (alarm) {
       console.log('Refresh alarm exists. Yay.');
      } else {
     console.log('Refresh alarm doesn\'t exist!? ' +
                'Refreshing now and rescheduling.');
      updateIcon();
     }
    });
   }
      if (oldChromeVersion) {
     updateIcon();
     onInit();
      } else {
          chrome.runtime.onInstalled.addListener(onInit);
          chrome.alarms.onAlarm.addListener(onAlarm);
         }
  
         function updateIcon(){
  
      var req = new XMLHttpRequest();
      ...
    }
   });
   req.open("GET", "http://blog.calpinetech.com/test/index.php", true);
   req.send(null);
    }
  
   var notification = webkitNotifications.createNotification(
   '/icon_128.png',  // icon url - can be relative
  'Hello!',  // notification title
  'Lorem ipsum...'  // notification body text
   );
  
   notification.show();
  </code></pre>