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

Side by Side Diff: chrome/browser/resources/print_preview/previewarea/preview_area.js

Issue 251813008: Remove PDF extension dependencies from grd files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('print_preview', function() { 5 cr.define('print_preview', function() {
6 'use strict'; 6 'use strict';
7 7
8 <include src="../../pdf/pdf_scripting_api.js" />
9
10 /** 8 /**
11 * Creates a PreviewArea object. It represents the area where the preview 9 * Creates a PreviewArea object. It represents the area where the preview
12 * document is displayed. 10 * document is displayed.
13 * @param {!print_preview.DestinationStore} destinationStore Used to get the 11 * @param {!print_preview.DestinationStore} destinationStore Used to get the
14 * currently selected destination. 12 * currently selected destination.
15 * @param {!print_preview.PrintTicketStore} printTicketStore Used to get 13 * @param {!print_preview.PrintTicketStore} printTicketStore Used to get
16 * information about how the preview should be displayed. 14 * information about how the preview should be displayed.
17 * @param {!print_preview.NativeLayer} nativeLayer Needed to communicate with 15 * @param {!print_preview.NativeLayer} nativeLayer Needed to communicate with
18 * Chromium's preview generation system. 16 * Chromium's preview generation system.
19 * @param {!print_preview.DocumentInfo} documentInfo Document data model. 17 * @param {!print_preview.DocumentInfo} documentInfo Document data model.
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 new print_preview.Size(viewportWidth, viewportHeight)); 741 new print_preview.Size(viewportWidth, viewportHeight));
744 } 742 }
745 } 743 }
746 }; 744 };
747 745
748 // Export 746 // Export
749 return { 747 return {
750 PreviewArea: PreviewArea 748 PreviewArea: PreviewArea
751 }; 749 };
752 }); 750 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/component_extension_resources.grd ('k') | chrome/browser/resources/print_preview/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698