diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2011-01-19 00:10:11 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2011-03-08 04:34:52 +0800 |
commit | b9f9bf1a0763492f8bf41b8856bbd1149c5871a9 (patch) | |
tree | 92ad55101bff9eabcbc17afdba4a398ce4c4b709 /embed/Makefile.am | |
parent | 7f7826a163f31bb662247ac4486dca0d01df35f6 (diff) | |
download | gsoc2013-epiphany-b9f9bf1a0763492f8bf41b8856bbd1149c5871a9.tar.gz gsoc2013-epiphany-b9f9bf1a0763492f8bf41b8856bbd1149c5871a9.tar.zst gsoc2013-epiphany-b9f9bf1a0763492f8bf41b8856bbd1149c5871a9.zip |
ephy-download: add the new EphyDownload object
EphyDownload is a wrapper object around WebKitDownload that handles common
behavior in downloads: auto-destination, default action for the MIME type.
It can be used to wrap a WebKitDownload coming from a WebKitView or to download
a url: ephy_download_new_for_uri and ephy_download_new_for_download are
provided.
Its lifetime is not automagic like EphyEmbedPersist, so you have to unref it
when you no longer need it.
This new object replaces EphyEmbedPersist and enables us to use a single
codepath for downloads in all Epiphany.
Bug #618443
Diffstat (limited to 'embed/Makefile.am')
-rw-r--r-- | embed/Makefile.am | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/embed/Makefile.am b/embed/Makefile.am index 51380435f..d517fb480 100644 --- a/embed/Makefile.am +++ b/embed/Makefile.am @@ -8,7 +8,6 @@ header_DATA = \ $(INST_H_FILES) NOINST_H_FILES = \ - downloader-view.h \ ephy-embed-dialog.h \ ephy-encodings.h \ ephy-favicon-cache.h @@ -16,10 +15,10 @@ NOINST_H_FILES = \ INST_H_FILES = \ ephy-adblock.h \ ephy-adblock-manager.h \ + ephy-download.h \ ephy-embed.h \ ephy-embed-container.h \ ephy-embed-event.h \ - ephy-embed-persist.h \ ephy-embed-prefs.h \ ephy-embed-single.h \ ephy-embed-shell.h \ @@ -36,12 +35,11 @@ BUILT_SOURCES = \ libephyembed_la_SOURCES = \ ephy-adblock.c \ ephy-adblock-manager.c \ - downloader-view.c \ + ephy-download.c \ ephy-embed.c \ ephy-embed-container.c \ ephy-embed-dialog.c \ ephy-embed-event.c \ - ephy-embed-persist.c \ ephy-embed-single.c \ ephy-embed-shell.c \ ephy-embed-utils.c \ |