Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: chrome/browser/message_box_handler.cc

Issue 597061: Make the setItem CONTENT_SETTING_ASK dialog more useful by showing the actual... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/message_box_handler.h" 5 #include "chrome/browser/message_box_handler.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/message_box_flags.h" 8 #include "app/message_box_flags.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/app_modal_dialog_queue.h" 10 #include "chrome/browser/app_modal_dialog_queue.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const std::string& host, 63 const std::string& host,
64 const std::string& cookie_line, 64 const std::string& cookie_line,
65 CookiePromptModalDialogDelegate* delegate) { 65 CookiePromptModalDialogDelegate* delegate) {
66 Singleton<AppModalDialogQueue>()->AddDialog( 66 Singleton<AppModalDialogQueue>()->AddDialog(
67 new CookiePromptModalDialog(tab_contents, host, cookie_line, delegate)); 67 new CookiePromptModalDialog(tab_contents, host, cookie_line, delegate));
68 } 68 }
69 69
70 70
71 void RunLocalStoragePrompt( 71 void RunLocalStoragePrompt(
72 TabContents* tab_contents, 72 TabContents* tab_contents,
73 const BrowsingDataLocalStorageHelper::LocalStorageInfo& local_storage_info, 73 const std::string& host,
74 const string16& key,
75 const string16& value,
74 CookiePromptModalDialogDelegate* delegate) { 76 CookiePromptModalDialogDelegate* delegate) {
75 Singleton<AppModalDialogQueue>()->AddDialog( 77 Singleton<AppModalDialogQueue>()->AddDialog(
76 new CookiePromptModalDialog(tab_contents, local_storage_info, delegate)); 78 new CookiePromptModalDialog(tab_contents, host, key, value, delegate));
77 } 79 }
78 #endif 80 #endif
79 81
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698