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

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

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 #ifndef CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ 5 #ifndef CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_
6 #define CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ 6 #define CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string16.h"
10 #include "chrome/browser/browsing_data_local_storage_helper.h" 11 #include "chrome/browser/browsing_data_local_storage_helper.h"
11 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
12 #include "ipc/ipc_message.h" 13 #include "ipc/ipc_message.h"
13 #include "net/base/cookie_monster.h" 14 #include "net/base/cookie_monster.h"
14 15
15 class CookiePromptModalDialogDelegate; 16 class CookiePromptModalDialogDelegate;
16 class GURL; 17 class GURL;
17 class JavaScriptMessageBoxClient; 18 class JavaScriptMessageBoxClient;
18 class TabContents; 19 class TabContents;
19 20
(...skipping 27 matching lines...) Expand all
47 void RunCookiePrompt(TabContents* tab_contents, 48 void RunCookiePrompt(TabContents* tab_contents,
48 const std::string& host, 49 const std::string& host,
49 const std::string& cookie_line, 50 const std::string& cookie_line,
50 CookiePromptModalDialogDelegate* delegate); 51 CookiePromptModalDialogDelegate* delegate);
51 52
52 // This will display a modal dialog box with local storage information asking 53 // This will display a modal dialog box with local storage information asking
53 // user to accept or reject it. The caller should pass |delegate| 54 // user to accept or reject it. The caller should pass |delegate|
54 // that will handle the reply from the dialog. 55 // that will handle the reply from the dialog.
55 void RunLocalStoragePrompt( 56 void RunLocalStoragePrompt(
56 TabContents* tab_contents, 57 TabContents* tab_contents,
57 const BrowsingDataLocalStorageHelper::LocalStorageInfo& local_storage_info, 58 const std::string& host,
59 const string16& key,
60 const string16& value,
58 CookiePromptModalDialogDelegate* delegate); 61 CookiePromptModalDialogDelegate* delegate);
59 #endif 62 #endif
60 63
61 #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ 64 #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_
62 65
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698