/usr/share/vala-0.14/vapi/gtkmozembed.vapi is in valac-0.14 0.14.2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | /* gtkmozembed.vala
*
* Copyright (C) 2007 Alberto Ruiz
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Author:
* Alberto Ruiz <aruiz@gnome.org>
*/
[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_")]
namespace Gtk {
[CCode (cprefix = "GTK_MOZ_EMBED_FLAG_", cheader_filename = "gtkembedmoz/gtkmozembed.h")]
public enum MozEmbedProgressFlags {
START,
REDIRECTING,
TRANSFERRING,
NEGOTIATING,
STOP,
IS_REQUEST,
IS_DOCUMENT,
IS_NETWORK,
IS_WINDOW,
RESTORING,
}
[CCode (cprefix = "GTK_MOZ_EMBED_STATUS_", cheader_filename = "gtkembedmoz/gtkmozembed.h")]
public enum MozEmbedStatusFlags
{
FAILED_DNS,
FAILED_CONNECT,
FAILED_TIMEOUT,
FAILED_USERCANCELED,
}
[CCode (cprefix = "GTK_MOZ_EMBED_FLAG_", cheader_filename = "gtkembedmoz/gtkmozembed.h")]
public enum MozEmbedReloadFlags
{
RELOADNORMAL,
RELOADBYPASSCACHE,
RELOADBYPASSPROXY,
RELOADBYPASSPROXYANDCACHE,
RELOADCHARSETCHANGE,
}
[CCode (cprefix = "GTK_MOZ_EMBED_FLAG_", cheader_filename = "gtkembedmoz/gtkmozembed.h")]
public enum MozEmbedChromeFlags
{
DEFAULTCHROME,
WINDOWBORDERSON,
WINDOWCLOSEON,
WINDOWRESIZEON,
MENUBARON,
TOOLBARON,
LOCATIONBARON,
STATUSBARON,
PERSONALTOOLBARON,
SCROLLBARSON,
TITLEBARON,
EXTRACHROMEON,
ALLCHROME,
WINDOWRAISED,
WINDOWLOWERED,
CENTERSCREEN,
DEPENDENT,
MODAL,
OPENASDIALOG,
OPENASCHROME,
}
[CCode (cheader_filename = "gtkembedmoz/gtkmozembed.h")]
public class MozEmbed : Gtk.Bin {
public MozEmbed ();
public void load_url (string url);
public void stop_load ();
public unowned bool can_go_back ();
public unowned bool can_go_forward ();
public void go_back ();
public void go_forward ();
public void render_data (string data, uint32 len, string base_uri, string mime_type);
public void open_stream (string base_uri, string mime_type);
public void append_data (string data, uint32 len);
public void close_stream ();
public unowned string get_link_message ();
public unowned string get_js_status ();
public unowned string get_title ();
public unowned string get_location ();
public void reload (MozEmbedReloadFlags flags);
public void set_chrome_mask (MozEmbedChromeFlags flags);
public MozEmbedChromeFlags get_chrome_mask ();
public static void push_startup ();
public static void pop_startup ();
public static void set_comp_path (string aPath);
public static void set_profile_path (string aDir, string aName);
public signal void js_status ();
public signal void location ();
public signal void link_message ();
public signal void title ();
public signal void progress (int cur, int max);
public signal void net_state (int flags, uint status);
public signal void net_start ();
public signal void net_stop ();
public signal void new_window (out MozEmbed retval, MozEmbedChromeFlags chromemask);
public signal void visibility (bool visibility);
public signal void destroy_browser ();
public signal bool open_uri (string uri);
}
}
|