popup-commands.h 4.2 KB
Newer Older
1
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
Marco Pesenti Gritti's avatar
Marco Pesenti Gritti committed
2
/*
3
 *  Copyright © 2000, 2001, 2002 Marco Pesenti Gritti
Marco Pesenti Gritti's avatar
Marco Pesenti Gritti committed
4
 *
Michael Catanzaro's avatar
Michael Catanzaro committed
5 6 7
 *  This file is part of Epiphany.
 *
 *  Epiphany is free software: you can redistribute it and/or modify
Marco Pesenti Gritti's avatar
Marco Pesenti Gritti committed
8
 *  it under the terms of the GNU General Public License as published by
Michael Catanzaro's avatar
Michael Catanzaro committed
9 10
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
Marco Pesenti Gritti's avatar
Marco Pesenti Gritti committed
11
 *
Michael Catanzaro's avatar
Michael Catanzaro committed
12
 *  Epiphany is distributed in the hope that it will be useful,
Marco Pesenti Gritti's avatar
Marco Pesenti Gritti committed
13 14 15 16 17
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
Michael Catanzaro's avatar
Michael Catanzaro committed
18
 *  along with Epiphany.  If not, see <http://www.gnu.org/licenses/>.
Marco Pesenti Gritti's avatar
Marco Pesenti Gritti committed
19 20
 */

21
#pragma once
22

23
#include <gtk/gtk.h>
24

25
#include "ephy-window.h"
Marco Pesenti Gritti's avatar
Marco Pesenti Gritti committed
26

27 28
G_BEGIN_DECLS

Iulian Radu's avatar
Iulian Radu committed
29
void popup_cmd_link_in_new_window       (GSimpleAction *action,
30 31
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
32
void popup_cmd_link_in_new_tab          (GSimpleAction *action,
33 34 35 36 37
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_link_in_incognito_window (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
38
void popup_cmd_view_source              (GSimpleAction *action,
39 40
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
41
void popup_cmd_copy_link_address        (GSimpleAction *action,
42 43 44 45 46
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_copy_link_location       (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
47
void popup_cmd_download_link_as         (GSimpleAction *action,
48 49 50 51 52
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_set_image_as_background  (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
53
void popup_cmd_copy_image_location      (GSimpleAction *action,
54 55
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
56
void popup_cmd_view_image_in_new_tab    (GSimpleAction *action,
57 58
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
59
void popup_cmd_download_link            (GSimpleAction *action,
60 61
                                         GVariant      *parameter,
                                         gpointer       user_data);
Iulian Radu's avatar
Iulian Radu committed
62
void popup_cmd_save_image_as            (GSimpleAction *action,
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_media_in_new_window      (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_media_in_new_tab         (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_copy_media_location      (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_save_media_as            (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
void popup_cmd_search_selection         (GSimpleAction *action,
                                         GVariant      *parameter,
                                         gpointer       user_data);
80

81
G_END_DECLS