summaryrefslogtreecommitdiffstats
path: root/chrome/browser/message_box_handler.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-17 20:21:04 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-17 20:21:04 +0000
commit5d9163e2136f0b4eef4aac3e650f1b6e655118fd (patch)
treeed86b9c0422989d8c4d90cf628ca9f6239bd5d8b /chrome/browser/message_box_handler.cc
parent87c23d51618a288127eed63419e4f26d770f74c5 (diff)
downloadchromium_src-5d9163e2136f0b4eef4aac3e650f1b6e655118fd.zip
chromium_src-5d9163e2136f0b4eef4aac3e650f1b6e655118fd.tar.gz
chromium_src-5d9163e2136f0b4eef4aac3e650f1b6e655118fd.tar.bz2
Remove vestigial cookie/web app permissions prompting UI now that the async UI has been approved for M7.This allows me to more easily change the way the appmodal dialog system works.
http://crbug.com/55121 TEST=existing tests Review URL: http://codereview.chromium.org/3299020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/message_box_handler.cc')
-rw-r--r--chrome/browser/message_box_handler.cc49
1 files changed, 0 insertions, 49 deletions
diff --git a/chrome/browser/message_box_handler.cc b/chrome/browser/message_box_handler.cc
index be21323..a6006dc 100644
--- a/chrome/browser/message_box_handler.cc
+++ b/chrome/browser/message_box_handler.cc
@@ -12,9 +12,6 @@
#include "build/build_config.h"
#include "chrome/browser/app_modal_dialog_queue.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/browsing_data_local_storage_helper.h"
-#include "chrome/browser/cookie_modal_dialog.h"
-#include "chrome/browser/cookie_prompt_modal_dialog_delegate.h"
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/js_modal_dialog.h"
#include "chrome/browser/profile.h"
@@ -93,49 +90,3 @@ void RunBeforeUnloadDialog(TabContents* tab_contents,
MessageBoxFlags::kIsJavascriptConfirm, message_text, std::wstring(),
false, true, reply_msg));
}
-
-void RunCookiePrompt(TabContents* tab_contents,
- HostContentSettingsMap* host_content_settings_map,
- const GURL& origin,
- const std::string& cookie_line,
- CookiePromptModalDialogDelegate* delegate) {
- Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, host_content_settings_map,
- origin, cookie_line, delegate));
-}
-
-void RunLocalStoragePrompt(
- TabContents* tab_contents,
- HostContentSettingsMap* host_content_settings_map,
- const GURL& origin,
- const string16& key,
- const string16& value,
- CookiePromptModalDialogDelegate* delegate) {
- Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, host_content_settings_map,
- origin, key, value, delegate));
-}
-
-void RunDatabasePrompt(
- TabContents* tab_contents,
- HostContentSettingsMap* host_content_settings_map,
- const GURL& origin,
- const string16& database_name,
- const string16& display_name,
- unsigned long estimated_size,
- CookiePromptModalDialogDelegate* delegate) {
- Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, host_content_settings_map,
- origin, database_name, display_name,
- estimated_size, delegate));
-}
-
-void RunAppCachePrompt(
- TabContents* tab_contents,
- HostContentSettingsMap* host_content_settings_map,
- const GURL& manifest_url,
- CookiePromptModalDialogDelegate* delegate) {
- Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, host_content_settings_map,
- manifest_url, delegate));
-}