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

Unified Diff: chrome/browser/resources/print_preview/previewarea/preview_area.js

Issue 11194020: Creates GCP promo for ChromeOS users with no cloud printers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge with trunk. Created 8 years, 2 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/previewarea/preview_area.js
diff --git a/chrome/browser/resources/print_preview/previewarea/preview_area.js b/chrome/browser/resources/print_preview/previewarea/preview_area.js
index 8e996703475ac79f9c8819307fb008847e10409c..102b026f8a6beb2932c72f1b25071e078f1a468f 100644
--- a/chrome/browser/resources/print_preview/previewarea/preview_area.js
+++ b/chrome/browser/resources/print_preview/previewarea/preview_area.js
@@ -150,8 +150,7 @@ cr.define('print_preview', function() {
OPEN_SYSTEM_DIALOG_BUTTON: 'preview-area-open-system-dialog-button',
OPEN_SYSTEM_DIALOG_BUTTON_THROBBER:
'preview-area-open-system-dialog-button-throbber',
- OVERLAY: 'preview-area-overlay-layer',
- PDF_PLUGIN: 'preview-area-pdf-plugin'
+ OVERLAY: 'preview-area-overlay-layer'
};
/**
@@ -418,7 +417,8 @@ cr.define('print_preview', function() {
this.plugin_.setAttribute('src', srcUrl);
this.plugin_.setAttribute('aria-live', 'polite');
this.plugin_.setAttribute('aria-atomic', 'true');
- this.getElement().appendChild(this.plugin_);
+ this.getChildElement('.preview-area-plugin-wrapper').
+ appendChild(this.plugin_);
global['onPreviewPluginLoad'] = this.onPluginLoad_.bind(this);
this.plugin_.onload('onPreviewPluginLoad()');

Powered by Google App Engine
This is Rietveld 408576698