Index: chrome/browser/resources/history/history.js |
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js |
index 5eff031b6a9392e4e4d4a083dc2a772349dde0ab..6471089713b6dc028f976c0e707e06641b004a9e 100644 |
--- a/chrome/browser/resources/history/history.js |
+++ b/chrome/browser/resources/history/history.js |
@@ -198,9 +198,13 @@ Visit.prototype.getResultDOM = function(propertyBag) { |
this.classList.remove('contains-focus'); |
}, true); |
- node.appendChild(entryBox); |
- if (this.model_.isManagedProfile && this.model_.getGroupByDomain()) { |
- node.appendChild( |
+ var entryBoxContainer = |
+ createElementWithClassName('div', 'entry-box-container'); |
+ node.appendChild(entryBoxContainer); |
+ entryBoxContainer.appendChild(entryBox); |
+ if (!isSearchResult && this.model_.isManagedProfile && |
+ this.model_.getGroupByDomain()) { |
+ entryBoxContainer.appendChild( |
getManagedStatusDOM(this.urlManualBehavior, this.urlInContentPack)); |
} |