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

Unified Diff: experimental/webtry/webtry.go

Issue 292433002: Move zooming into its own component, imported via HTML Imports. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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 side-by-side diff with in-line comments
Download patch
Index: experimental/webtry/webtry.go
diff --git a/experimental/webtry/webtry.go b/experimental/webtry/webtry.go
index bf352fb13178b0573a4128365f8695a1ac255c19..0c5186e32adce39b4e8a1f392db2a4fcf870b0ce 100644
--- a/experimental/webtry/webtry.go
+++ b/experimental/webtry/webtry.go
@@ -140,6 +140,8 @@ func init() {
filepath.Join(cwd, "templates/index.html"),
filepath.Join(cwd, "templates/titlebar.html"),
filepath.Join(cwd, "templates/content.html"),
+ filepath.Join(cwd, "templates/headercommon.html"),
+ filepath.Join(cwd, "templates/footercommon.html"),
)
if err != nil {
panic(err)
@@ -147,6 +149,8 @@ func init() {
iframeTemplate, err = htemplate.ParseFiles(
filepath.Join(cwd, "templates/iframe.html"),
filepath.Join(cwd, "templates/content.html"),
+ filepath.Join(cwd, "templates/headercommon.html"),
+ filepath.Join(cwd, "templates/footercommon.html"),
)
if err != nil {
panic(err)
@@ -154,6 +158,8 @@ func init() {
recentTemplate, err = htemplate.ParseFiles(
filepath.Join(cwd, "templates/recent.html"),
filepath.Join(cwd, "templates/titlebar.html"),
+ filepath.Join(cwd, "templates/headercommon.html"),
+ filepath.Join(cwd, "templates/footercommon.html"),
)
if err != nil {
panic(err)
@@ -162,6 +168,8 @@ func init() {
filepath.Join(cwd, "templates/workspace.html"),
filepath.Join(cwd, "templates/titlebar.html"),
filepath.Join(cwd, "templates/content.html"),
+ filepath.Join(cwd, "templates/headercommon.html"),
+ filepath.Join(cwd, "templates/footercommon.html"),
)
if err != nil {
panic(err)
« experimental/webtry/README.md ('K') | « experimental/webtry/templates/workspace.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698