summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/ntp4/new_tab.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/ntp4/new_tab.js')
-rw-r--r--chrome/browser/resources/ntp4/new_tab.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js
index f51cc1c..57c2a68 100644
--- a/chrome/browser/resources/ntp4/new_tab.js
+++ b/chrome/browser/resources/ntp4/new_tab.js
@@ -181,27 +181,6 @@ cr.define('ntp', function() {
// The anchor node won't be updated until updateLogin is called so don't
// show the bubble yet.
shouldShowLoginBubble = true;
- } else if (loadTimeData.valueExists('ntp4_intro_message')) {
- infoBubble = new cr.ui.Bubble;
- infoBubble.anchorNode = newTabView.mostVisitedPage.navigationDot;
- infoBubble.setArrowLocation(cr.ui.ArrowLocation.BOTTOM_START);
- infoBubble.handleCloseEvent = function() {
- this.hide();
- chrome.send('introMessageDismissed');
- };
-
- var bubbleContent = $('ntp4-intro-bubble-contents');
- infoBubble.content = bubbleContent;
-
- bubbleContent.querySelector('div > div').innerHTML =
- loadTimeData.getString('ntp4_intro_message');
-
- var learnMoreLink = bubbleContent.querySelector('a');
- learnMoreLink.href = loadTimeData.getString('ntp4_intro_url');
- learnMoreLink.onclick = infoBubble.hide.bind(infoBubble);
-
- infoBubble.show();
- chrome.send('introMessageSeen');
}
var loginContainer = getRequiredElement('login-container');