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

Unified Diff: chrome/browser/resources/print_preview/search/destination_search.js

Issue 399973004: Advanced printing destination settings modal dialog (non-functional yet, just the skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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/print_preview/search/destination_search.js
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js
index 5fbe06cf4339ab88a02dfe6ae7fe3dee2bd5aca6..f22d90aab6399593b148f59ecf0473c5fe416310 100644
--- a/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chrome/browser/resources/print_preview/search/destination_search.js
@@ -55,7 +55,8 @@ cr.define('print_preview', function() {
* @type {!print_preview.SearchBox}
* @private
*/
- this.searchBox_ = new print_preview.SearchBox();
+ this.searchBox_ = new print_preview.SearchBox(
+ localStrings.getString('searchBoxPlaceholder'));
this.addChild(this.searchBox_);
/**
@@ -260,7 +261,7 @@ cr.define('print_preview', function() {
/** @override */
decorateInternal: function() {
- this.searchBox_.decorate($('search-box'));
+ this.searchBox_.render(this.getChildElement('.search-box-container'));
this.recentList_.render(this.getChildElement('.recent-list'));
this.localList_.render(this.getChildElement('.local-list'));
this.cloudList_.render(this.getChildElement('.cloud-list'));

Powered by Google App Engine
This is Rietveld 408576698