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

Side by Side Diff: chrome/browser/resources/pdf/elements/viewer-error-screen/viewer-error-screen.js

Issue 2915773003: PDF Plugin: Add compile targets for a few more files. (Closed)
Patch Set: Addressing comments. Created 3 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 Polymer({ 5 Polymer({
6 is: 'viewer-error-screen', 6 is: 'viewer-error-screen',
7 properties: { 7 properties: {
8 reloadFn: Object, 8 reloadFn: Function,
9 9
10 strings: Object, 10 strings: Object,
11 }, 11 },
12 12
13 show: function() { 13 show: function() {
14 this.$.dialog.showModal(); 14 /** @type {!CrDialogElement} */ (this.$.dialog).showModal();
15 }, 15 },
16 16
17 reload: function() { 17 reload: function() {
18 if (this.reloadFn) 18 if (this.reloadFn)
19 this.reloadFn(); 19 this.reloadFn();
20 } 20 }
21 }); 21 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698