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

Unified Diff: chrome/browser/views/cookie_prompt_view.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/cookie_prompt_view.h
===================================================================
--- chrome/browser/views/cookie_prompt_view.h (revision 38896)
+++ chrome/browser/views/cookie_prompt_view.h (working copy)
@@ -32,21 +32,15 @@
// Cookie alert dialog UI.
class CookiePromptView : public views::View,
- public ModalDialogDelegate,
- public views::ButtonListener,
- public views::LinkController,
- public CookieInfoViewDelegate {
+ public ModalDialogDelegate,
+ public views::ButtonListener,
+ public views::LinkController,
+ public CookieInfoViewDelegate {
public:
CookiePromptView(
CookiePromptModalDialog* parent,
gfx::NativeWindow root_window,
- Profile* profile,
- const BrowsingDataLocalStorageHelper::LocalStorageInfo&
- local_storage_info,
- const std::string& host,
- const std::string& cookie_line,
- CookiePromptModalDialogDelegate* delegate,
- bool cookie_ui);
+ Profile* profile);
virtual ~CookiePromptView();
@@ -113,25 +107,11 @@
// Prompt window title.
std::wstring title_;
- // Whether we're showing cookie UI as opposed to other site data.
- bool cookie_ui_;
-
// A pointer to the AppModalDialog that owns us.
CookiePromptModalDialog* parent_;
gfx::NativeWindow root_window_;
- // Cookie / local storage host.
- std::string host_;
-
- // Displayed cookie. Only used when |cookie_ui_| is true.
- std::string cookie_line_;
-
- // Displayed local storage info. Only used when |cookie_ui_| is false.
- BrowsingDataLocalStorageHelper::LocalStorageInfo local_storage_info_;
-
- CookiePromptModalDialogDelegate* delegate_;
-
DISALLOW_COPY_AND_ASSIGN(CookiePromptView);
};

Powered by Google App Engine
This is Rietveld 408576698