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

Unified Diff: chrome/browser/resources/pdf/background.js

Issue 110723007: Add the viewer toolbar to the PDF extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « chrome/browser/resources/component_extension_resources.grd ('k') | chrome/browser/resources/pdf/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/pdf/background.js
diff --git a/chrome/browser/resources/pdf/background.js b/chrome/browser/resources/pdf/background.js
index 0a37f6d631340b18e4cf88f9ff0d19b0d12cb0ad..06f5b2e0d768225039bf04a19d041ac281247e11 100644
--- a/chrome/browser/resources/pdf/background.js
+++ b/chrome/browser/resources/pdf/background.js
@@ -7,6 +7,6 @@ chrome.streamsPrivate.onExecuteMimeTypeHandler.addListener(
// TODO(raymes): Currently this doesn't work with embedded PDFs (it
// causes the entire frame to navigate). Also work out how we can
// mask the URL with the URL of the PDF.
- chrome.tabs.update(tab_id, { url: 'pdf.html?' + content_url });
+ chrome.tabs.update(tab_id, { url: 'index.html?' + content_url });
}
);
« no previous file with comments | « chrome/browser/resources/component_extension_resources.grd ('k') | chrome/browser/resources/pdf/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698