aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.h
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2005-12-07 04:10:17 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2005-12-07 04:10:17 +0800
commit89e2f69727a24f8667b1daf2341bae55b0567d10 (patch)
treea69bf24ee33e77fb002695bce9e548a4fb18fa3c /embed/ephy-embed.h
parenta02815e758437be9ed36485a6a48b09423c59282 (diff)
downloadgsoc2013-epiphany-89e2f69727a24f8667b1daf2341bae55b0567d10.tar
gsoc2013-epiphany-89e2f69727a24f8667b1daf2341bae55b0567d10.tar.gz
gsoc2013-epiphany-89e2f69727a24f8667b1daf2341bae55b0567d10.tar.bz2
gsoc2013-epiphany-89e2f69727a24f8667b1daf2341bae55b0567d10.tar.lz
gsoc2013-epiphany-89e2f69727a24f8667b1daf2341bae55b0567d10.tar.xz
gsoc2013-epiphany-89e2f69727a24f8667b1daf2341bae55b0567d10.tar.zst
gsoc2013-epiphany-89e2f69727a24f8667b1daf2341bae55b0567d10.zip
Forward up/down/page up/page down from the findbar entry to the embed.
2005-12-06 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-find-toolbar.c: (entry_key_press_event_cb): Forward up/down/page up/page down from the findbar entry to the embed.
Diffstat (limited to 'embed/ephy-embed.h')
-rw-r--r--embed/ephy-embed.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index 02d3f3cb6..6f1787222 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -192,6 +192,8 @@ struct _EphyEmbedIface
void (* set_zoom) (EphyEmbed *embed,
float zoom);
float (* get_zoom) (EphyEmbed *embed);
+ void (* scroll) (EphyEmbed *embed, int num_lines);
+ void (* page_scroll) (EphyEmbed *embed, int num_pages);
char * (* get_encoding) (EphyEmbed *embed);
gboolean (* has_automatic_encoding) (EphyEmbed *embed);
void (* set_encoding) (EphyEmbed *embed,
@@ -205,6 +207,7 @@ struct _EphyEmbedIface
int page);
gboolean (* has_modified_forms) (EphyEmbed *embed);
void (* close) (EphyEmbed *embed);
+
};
GType ephy_embed_net_state_get_type (void);
@@ -283,6 +286,13 @@ void ephy_embed_set_zoom (EphyEmbed *embed,
float ephy_embed_get_zoom (EphyEmbed *embed);
+/* Scroll */
+void ephy_embed_scroll (EphyEmbed *embed,
+ int num_lines);
+
+void ephy_embed_page_scroll (EphyEmbed *embed,
+ int num_pages);
+
/* Encoding */
char *ephy_embed_get_encoding (EphyEmbed *embed);