~ubuntu-branches/ubuntu/wily/epiphany-browser/wily

« back to all changes in this revision

Viewing changes to embed/ephy-embed-private.h

  • Committer: Package Import Robot
  • Author(s): Gustavo Noronha Silva, Jeremy Bicha, Emilio Pozuelo Monfort, Gustavo Noronha Silva
  • Date: 2012-12-10 11:40:01 UTC
  • mfrom: (1.8.8) (105.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20121210114001-42jjyg3qw3eyz00a
Tags: 3.6.1-1
[ Jeremy Bicha ]
* New upstream unstable release
* debian/control.in:
  - Bump minimum intltool to 0.50
* debian/epiphany-browser-data.install:
  - The developers no longer provide help files to install since they were
    too outdated
* Dropped upstream patches:
  - 01_email-as-user-for-password-remembering.patch
  - 13_toolbar_size_fixes.patch
* debian/watch: Watch for unstable releases.

[ Emilio Pozuelo Monfort ]
* New upstream release.
  + debian/patches/14_pkglibdir.patch:
    - Removed, applied upstream.
  + debian/control.in:
    - Update (build-)dependencies.

[ Gustavo Noronha Silva ]
* debian/control.in:
- Build-Depend on gnome-common >= 3.6, needed for the code
  coverage feature

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#error "Only <epiphany/epiphany.h> can be included directly."
23
23
#endif
24
24
 
 
25
#include "ephy-embed-shell.h"
 
26
#include "ephy-frecent-store.h"
25
27
#include "ephy-history-types.h"
26
28
#include "ephy-web-view.h"
27
29
 
33
35
/* EphyWebView */
34
36
 
35
37
#define EPHY_WEB_VIEW_NON_SEARCH_REGEX  "(" \
36
 
                                        "^localhost(\\.[^[:space:]]+)?(:\\d+)?(/.*)?$|" \
37
 
                                        "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]$|" \
 
38
                                        "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9](:[0-9]+)?.*$|" \
38
39
                                        "^::[0-9a-f:]*$|" \
39
40
                                        "^[0-9a-f:]+:[0-9a-f:]*$|" \
40
 
                                        "^[^\\.[:space:]]+\\.[^\\.[:space:]]+.*$|" \
41
41
                                        "^https?://[^/\\.[:space:]]+.*$|" \
42
42
                                        "^about:.*$|" \
43
43
                                        "^data:.*$|" \
44
44
                                        "^file:.*$" \
45
45
                                        ")"
46
46
 
47
 
void                     ephy_web_view_set_visit_type (EphyWebView *view, 
48
 
                                                       EphyHistoryPageVisitType visit_type);
49
 
 
50
 
EphyHistoryPageVisitType ephy_web_view_get_visit_type (EphyWebView *view);
 
47
#define EPHY_WEB_VIEW_DOMAIN_REGEX "^localhost(\\.[^[:space:]]+)?(:\\d+)?(:[0-9]+)?(/.*)?$|" \
 
48
                                   "^[^\\.[:space:]]+\\.[^\\.[:space:]]+.*$|"
 
49
 
 
50
void                       ephy_web_view_set_visit_type           (EphyWebView *view, 
 
51
                                                                   EphyHistoryPageVisitType visit_type);
 
52
EphyHistoryPageVisitType   ephy_web_view_get_visit_type           (EphyWebView *view);
 
53
void                       ephy_web_view_set_loading_title        (EphyWebView               *view,
 
54
                                                                   const char                *title,
 
55
                                                                   gboolean                   is_address);
 
56
void                       ephy_web_view_popups_manager_reset     (EphyWebView               *view);
 
57
void                       ephy_web_view_save                     (EphyWebView               *view,
 
58
                                                                   const char                *uri);
 
59
void                       ephy_web_view_load_homepage            (EphyWebView               *view);
 
60
 
 
61
char *                     ephy_web_view_create_web_application   (EphyWebView               *view,
 
62
                                                                   const char                *title,
 
63
                                                                   GdkPixbuf                 *icon);
 
64
GdkPixbuf *                ephy_web_view_get_snapshot             (EphyWebView               *view,
 
65
                                                                   int                        x,
 
66
                                                                   int                        y,
 
67
                                                                   int                        width,
 
68
                                                                   int                        height);
 
69
 
 
70
char*                      ephy_web_view_normalize_or_autosearch_url (EphyWebView            *view,
 
71
                                                                      const char             *url);
 
72
 
 
73
EphyFrecentStore          *ephy_embed_shell_get_frecent_store      (EphyEmbedShell *shell);
51
74
 
52
75
G_END_DECLS
53
76