repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Elim cr-checkbox
[chromium-blink-merge.git]
/
chrome
/
browser
/
resources
/
pdf
/
elements
/
viewer-error-screen
/
viewer-error-screen.js
blob
f0ae0b1880a3630ce81dffb37147f430b8d6b584
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
3
// found in the LICENSE file.
4
5
Polymer
({
6
is
:
'viewer-error-screen'
,
7
properties
: {
8
text
:
String
,
9
10
reloadFn
: {
11
type
:
Object
,
12
value
:
null
,
13
}
14
},
15
16
show
:
function
() {
17
this
.$.
dialog
.
open
();
18
},
19
20
reload
:
function
() {
21
if
(
this
.
reloadFn
)
22
this
.
reloadFn
();
23
}
24
});