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

Unified Diff: chrome/browser/resources/ntp4/new_tab.js

Issue 8565014: NTP4: Remove native focus emulation for bubbles when explictly told to. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/browser/resources/ntp4/new_tab.js
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js
index 21ea7737ad76b1b930b03a558f3e35705fe48e5a..d52b34e9da6b2e1ffa9ac8289c9226d651370d20 100644
--- a/chrome/browser/resources/ntp4/new_tab.js
+++ b/chrome/browser/resources/ntp4/new_tab.js
@@ -138,6 +138,7 @@ cr.define('ntp4', function() {
} else if (localStrings.getString('ntp4_intro_message')) {
infoBubble = new cr.ui.Bubble;
infoBubble.anchorNode = newTabView.mostVisitedPage.navigationDot;
+ infoBubble.captureFocus = false;
infoBubble.setArrowLocation(cr.ui.ArrowLocation.BOTTOM_START);
infoBubble.handleCloseEvent = function() {
this.hide();
« no previous file with comments | « no previous file | chrome/browser/resources/shared/js/cr/ui/bubble.js » ('j') | chrome/browser/resources/shared/js/cr/ui/bubble.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698