| Index: chrome/browser/resources/md_downloads/toolbar.js
|
| diff --git a/chrome/browser/resources/md_downloads/toolbar.js b/chrome/browser/resources/md_downloads/toolbar.js
|
| index 4827868e6807229ef4c134a2798986358e71973f..f9437c02b2bdd1dd054b1ab78333e44828d16363 100644
|
| --- a/chrome/browser/resources/md_downloads/toolbar.js
|
| +++ b/chrome/browser/resources/md_downloads/toolbar.js
|
| @@ -7,6 +7,9 @@ cr.define('downloads', function() {
|
| is: 'downloads-toolbar',
|
|
|
| attached: function() {
|
| + // isRTL() only works after i18n_template.js runs to set <html dir>.
|
| + this.overflowAlign_ = isRTL() ? 'left' : 'right';
|
| +
|
| /** @private {!SearchFieldDelegate} */
|
| this.searchFieldDelegate_ = new ToolbarSearchFieldDelegate(this);
|
| this.$['search-input'].setDelegate(this.searchFieldDelegate_);
|
| @@ -19,6 +22,11 @@ cr.define('downloads', function() {
|
| value: false,
|
| observer: 'onDownloadsShowingChange_',
|
| },
|
| +
|
| + overflowAlign_: {
|
| + type: String,
|
| + value: 'right',
|
| + },
|
| },
|
|
|
| /** @return {boolean} Whether removal can be undone. */
|
|
|