~midori/midori/tabsignals

« back to all changes in this revision

Viewing changes to midori/midori-tab.vala

  • Committer: Christian Dywan
  • Date: 2013-10-16 21:33:25 UTC
  • Revision ID: christian.dywan@canonical.com-20131016213325-v40vpn4dfmddg21u
Move new-tab/window/view and download_requested to Midori.Tab

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
       /* Since: 0.5.5 */
93
93
        public signal void context_menu (WebKit.HitTestResult hit_test_result, ContextAction menu);
94
94
 
 
95
        public signal void new_tab (string uri, bool background);
 
96
        public signal void new_window (string uri);
 
97
        /* Since: 0.1.2
 
98
           Since: 0.3.4 a bool argument was added. */
 
99
        public signal void new_view (Tab view, NewView where, bool user_initiated);
 
100
        /* Emitted when a new download is requested, if a file cannot be shown
 
101
           or a download was initiated from the context menu.
 
102
           Returning @true causes the download to start otherwise it's cancelled.
 
103
           Since: 0.1.5 */
 
104
        public signal bool download_requested (WebKit.Download download);
 
105
 
95
106
        /* A dialog tab has a fixed size, limited GUI and is transient.
96
107
           Since: 0.5.6 */
97
108
        public bool is_dialog { get; protected set; }