Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index 5fdf88886f462ae567d1e144aa10f7ecebb64931..e6f8aa0f0cff83d08d702e8a0b176d572d8dba60 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -22,7 +22,6 @@ |
#include "chrome/browser/load_notification_details.h" |
#include "chrome/browser/notifications/desktop_notification_service.h" |
#include "chrome/browser/notifications/desktop_notification_service_factory.h" |
-#include "chrome/browser/platform_util.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/renderer_host/web_cache_manager.h" |
@@ -762,14 +761,6 @@ void TabContents::WillClose(ConstrainedWindow* window) { |
} |
} |
-void TabContents::EmailPageLocation() { |
- std::string title = EscapeQueryParamValue(UTF16ToUTF8(GetTitle()), false); |
- std::string page_url = EscapeQueryParamValue(GetURL().spec(), false); |
- std::string mailto = std::string("mailto:?subject=Fwd:%20") + |
- title + "&body=%0A%0A" + page_url; |
- platform_util::OpenExternal(GURL(mailto)); |
-} |
- |
bool TabContents::IsActiveEntry(int32 page_id) { |
NavigationEntry* active_entry = controller_.GetActiveEntry(); |
return (active_entry != NULL && |