aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2005-01-04 03:22:58 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2005-01-04 03:22:58 +0800
commit93497400220851d93705a0340dbff5d8d45d176f (patch)
tree8fabe4abf9c8793ac6ebb59bc1026378acb77227 /embed/mozilla
parent569106975500d16750f6bf9dcfd716c4e898f891 (diff)
downloadgsoc2013-epiphany-93497400220851d93705a0340dbff5d8d45d176f.tar
gsoc2013-epiphany-93497400220851d93705a0340dbff5d8d45d176f.tar.gz
gsoc2013-epiphany-93497400220851d93705a0340dbff5d8d45d176f.tar.bz2
gsoc2013-epiphany-93497400220851d93705a0340dbff5d8d45d176f.tar.lz
gsoc2013-epiphany-93497400220851d93705a0340dbff5d8d45d176f.tar.xz
gsoc2013-epiphany-93497400220851d93705a0340dbff5d8d45d176f.tar.zst
gsoc2013-epiphany-93497400220851d93705a0340dbff5d8d45d176f.zip
Ensure that flags and enums start with 'Ephy'
2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_flags): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_security_level), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_document_type_cb), (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_security_change_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_set_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup), (ephy_window_class_init): * src/popup-commands.c: (popup_cmd_copy_link_address): Ensure that flags and enums start with 'Ephy'
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/EphyBrowser.cpp4
-rw-r--r--embed/mozilla/EphyBrowser.h2
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp2
-rw-r--r--embed/mozilla/MozDownload.cpp4
-rw-r--r--embed/mozilla/mozilla-embed-event.cpp4
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp4
-rw-r--r--embed/mozilla/mozilla-embed.cpp16
7 files changed, 18 insertions, 18 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 9da900f57..1b31ac383 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -1133,10 +1133,10 @@ EphyBrowser::ShowCertificate ()
#endif
}
-EmbedDocumentType
+EphyEmbedDocumentType
EphyBrowser::GetDocumentType ()
{
- EmbedDocumentType type = EMBED_DOCUMENT_OTHER;
+ EphyEmbedDocumentType type = EMBED_DOCUMENT_OTHER;
NS_ENSURE_TRUE (mDOMWindow, type);
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h
index c2d583417..3b4f4ce06 100644
--- a/embed/mozilla/EphyBrowser.h
+++ b/embed/mozilla/EphyBrowser.h
@@ -147,7 +147,7 @@ public:
nsresult GetSecurityInfo (PRUint32 *aState, nsACString &aDescription);
nsresult ShowCertificate ();
- EmbedDocumentType GetDocumentType ();
+ EphyEmbedDocumentType GetDocumentType ();
nsCOMPtr<nsIWebBrowser> mWebBrowser;
private:
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index d65e13901..88700e850 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -237,7 +237,7 @@ filechooser_response_cb (EphyFileChooser *dialog, gint response, EphyHeaderSniff
nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI)
{
nsresult rv;
- EmbedPersistFlags flags;
+ EphyEmbedPersistFlags flags;
PRBool askDownloadDest;
mOriginalURI = inOriginalURI;
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 103301425..ced33dc71 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -100,7 +100,7 @@ MozDownload::Init(nsIURI *aSource, nsIURI *aTarget, const PRUnichar *aDisplayNam
if (mEmbedPersist)
{
- EmbedPersistFlags flags;
+ EphyEmbedPersistFlags flags;
flags = ephy_embed_persist_get_flags (EPHY_EMBED_PERSIST (mEmbedPersist));
@@ -523,7 +523,7 @@ nsresult InitiateMozillaDownload (nsIDOMDocument *domDocument, nsIURI *sourceURI
{
nsresult rv = NS_OK;
- EmbedPersistFlags ephy_flags;
+ EphyEmbedPersistFlags ephy_flags;
ephy_flags = ephy_embed_persist_get_flags (EPHY_EMBED_PERSIST (embedPersist));
PRBool isHTML = (contentType &&
diff --git a/embed/mozilla/mozilla-embed-event.cpp b/embed/mozilla/mozilla-embed-event.cpp
index 3eda0aa45..6e37313d4 100644
--- a/embed/mozilla/mozilla-embed-event.cpp
+++ b/embed/mozilla/mozilla-embed-event.cpp
@@ -118,10 +118,10 @@ impl_get_type (EphyEmbedEvent *event)
return ((MozillaEmbedEvent *) event)->type;
}
-static EmbedEventContext
+static EphyEmbedEventContext
impl_get_context (EphyEmbedEvent *event)
{
- return (EmbedEventContext) ((MozillaEmbedEvent *) event)->context;
+ return (EphyEmbedEventContext) ((MozillaEmbedEvent *) event)->context;
}
static guint
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp
index 4e6b08efd..5d8f9dc6c 100644
--- a/embed/mozilla/mozilla-embed-persist.cpp
+++ b/embed/mozilla/mozilla-embed-persist.cpp
@@ -138,7 +138,7 @@ impl_save (EphyEmbedPersist *persist)
char *uri;
long max_size;
EphyEmbed *embed;
- EmbedPersistFlags flags;
+ EphyEmbedPersistFlags flags;
EphyEmbedSingle *single;
single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (embed_shell));
@@ -284,7 +284,7 @@ impl_to_string (EphyEmbedPersist *persist)
{
EphyEmbed *embed;
nsCOMPtr<nsIDOMDocument> DOMDocument;
- EmbedPersistFlags flags;
+ EphyEmbedPersistFlags flags;
EphyBrowser *browser;
nsresult rv = NS_OK;
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 8019e7fbe..15ef2311c 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -74,7 +74,7 @@ static void mozilla_embed_security_change_cb (GtkMozEmbed *embed,
gpointer request,
PRUint32 state,
MozillaEmbed *membed);
-static EmbedSecurityLevel mozilla_embed_security_level (PRUint32 state);
+static EphyEmbedSecurityLevel mozilla_embed_security_level (PRUint32 state);
#define MOZILLA_EMBED_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), MOZILLA_TYPE_EMBED, MozillaEmbedPrivate))
@@ -632,7 +632,7 @@ impl_shistory_go_nth (EphyEmbed *embed,
static void
impl_get_security_level (EphyEmbed *embed,
- EmbedSecurityLevel *level,
+ EphyEmbedSecurityLevel *level,
char **description)
{
MozillaEmbedPrivate *mpriv = MOZILLA_EMBED (embed)->priv;
@@ -688,7 +688,7 @@ impl_print_preview_n_pages (EphyEmbed *embed)
static void
impl_print_preview_navigate (EphyEmbed *embed,
- EmbedPrintPreviewNavType type,
+ EphyEmbedPrintPreviewNavType type,
int page)
{
MozillaEmbedPrivate *mpriv = MOZILLA_EMBED(embed)->priv;
@@ -836,13 +836,13 @@ mozilla_embed_net_state_all_cb (GtkMozEmbed *embed, const char *aURI,
gint state, guint status,
MozillaEmbed *membed)
{
- EmbedNetState estate = EMBED_STATE_UNKNOWN;
+ EphyEmbedNetState estate = EMBED_STATE_UNKNOWN;
int i;
struct
{
guint state;
- EmbedNetState embed_state;
+ EphyEmbedNetState embed_state;
}
conversion_map [] =
{
@@ -861,7 +861,7 @@ mozilla_embed_net_state_all_cb (GtkMozEmbed *embed, const char *aURI,
{
if (state & conversion_map[i].state)
{
- estate = (EmbedNetState) (estate | conversion_map[i].embed_state);
+ estate = (EphyEmbedNetState) (estate | conversion_map[i].embed_state);
}
}
@@ -1097,10 +1097,10 @@ mozilla_embed_security_change_cb (GtkMozEmbed *embed,
mozilla_embed_security_level (state));
}
-static EmbedSecurityLevel
+static EphyEmbedSecurityLevel
mozilla_embed_security_level (PRUint32 state)
{
- EmbedSecurityLevel level;
+ EphyEmbedSecurityLevel level;
switch (state)
{