diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-10-28 19:33:19 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-10-28 19:33:19 +0800 |
commit | 025c7959e438aad9770f9aa801b6ead6e19e79dd (patch) | |
tree | 7a3595c5b012722d6e6dcea81b97773c15c9450c /embed/mozilla/mozilla-embed.cpp | |
parent | 4ff6bbed9a23f05f1ee9158d2607c2e811c5de6f (diff) | |
download | gsoc2013-epiphany-025c7959e438aad9770f9aa801b6ead6e19e79dd.tar gsoc2013-epiphany-025c7959e438aad9770f9aa801b6ead6e19e79dd.tar.gz gsoc2013-epiphany-025c7959e438aad9770f9aa801b6ead6e19e79dd.tar.bz2 gsoc2013-epiphany-025c7959e438aad9770f9aa801b6ead6e19e79dd.tar.lz gsoc2013-epiphany-025c7959e438aad9770f9aa801b6ead6e19e79dd.tar.xz gsoc2013-epiphany-025c7959e438aad9770f9aa801b6ead6e19e79dd.tar.zst gsoc2013-epiphany-025c7959e438aad9770f9aa801b6ead6e19e79dd.zip |
Open source in the default editor and remove the unused copy api. Add a
2003-10-28 Marco Pesenti Gritti <marco@gnome.org>
* embed/ephy-embed-persist.h:
* embed/ephy-embed.c:
* embed/ephy-embed.h:
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_download):
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/EphyHeaderSniffer.cpp:
* embed/mozilla/EphyHeaderSniffer.h:
* embed/mozilla/MozDownload.cpp:
* embed/mozilla/MozDownload.h:
* embed/mozilla/mozilla-embed-persist.cpp:
* embed/mozilla/mozilla-embed.cpp:
* src/ephy-shell.c: (delete_files), (ephy_shell_finalize),
(ephy_shell_new_tab), (ephy_shell_delete_on_exit):
* src/ephy-shell.h:
* src/window-commands.c: (get_editor_application),
(editor_open_uri), (save_source_completed_cb),
(editor_can_open_uri), (save_temp_source),
(window_cmd_view_page_source):
Open source in the default editor and
remove the unused copy api.
Add a missing include while at it.
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index e240304d2..dbc04ad39 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -99,10 +99,6 @@ static gresult impl_reload (EphyEmbed *embed, EmbedReloadFlags flags); static gresult -impl_copy_page (EphyEmbed *dest, - EphyEmbed *source, - EmbedDisplayType display_type); -static gresult impl_zoom_set (EphyEmbed *embed, float zoom, gboolean reflow); @@ -377,7 +373,6 @@ ephy_embed_init (EphyEmbedClass *embed_class) embed_class->get_title = impl_get_title; embed_class->get_location = impl_get_location; embed_class->reload = impl_reload; - embed_class->copy_page = impl_copy_page; embed_class->zoom_set = impl_zoom_set; embed_class->zoom_get = impl_zoom_get; embed_class->shistory_count = impl_shistory_count; @@ -802,26 +797,6 @@ impl_reload (EphyEmbed *embed, } static gresult -impl_copy_page (EphyEmbed *dest, - EphyEmbed *source, - EmbedDisplayType display_type) -{ - MozillaEmbedPrivate *mpriv_dest = MOZILLA_EMBED(dest)->priv; - MozillaEmbedPrivate *mpriv_source = MOZILLA_EMBED(source)->priv; - - nsresult rv; - - nsCOMPtr<nsISupports> pageDescriptor; - rv = mpriv_source->browser->GetPageDescriptor(getter_AddRefs(pageDescriptor)); - if (!pageDescriptor || NS_FAILED(rv)) return G_FAILED; - - rv = mpriv_dest->browser->LoadDocument(pageDescriptor, static_cast<PRUint32>(display_type)); - if (NS_FAILED(rv)) return G_FAILED; - - return G_OK; -} - -static gresult impl_zoom_set (EphyEmbed *embed, float zoom, gboolean reflow) |