summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cookie_modal_dialog.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 17:00:51 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 17:00:51 +0000
commitbe6354f978d56dd8237d3ac9bcf8bb76cdd0cb57 (patch)
tree09cda907cbfecc852b92e68017bd833156e332a4 /chrome/browser/cookie_modal_dialog.h
parent86b3ea336404f6248e3d8b63be219c5ba100f9d4 (diff)
downloadchromium_src-be6354f978d56dd8237d3ac9bcf8bb76cdd0cb57.zip
chromium_src-be6354f978d56dd8237d3ac9bcf8bb76cdd0cb57.tar.gz
chromium_src-be6354f978d56dd8237d3ac9bcf8bb76cdd0cb57.tar.bz2
Couple of tweaks to the cookie prompt dialog:
. Fixes bug that lead to randomly expanding and not (expanded_view_ wasn't in the member initializer list). . Fixed bug where expanding/collapsing would result in dialog changing to wrong size. . Persist expanded state to prefs. BUG=35092, 35165 TEST=see bugs Review URL: http://codereview.chromium.org/595014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cookie_modal_dialog.h')
-rw-r--r--chrome/browser/cookie_modal_dialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/cookie_modal_dialog.h b/chrome/browser/cookie_modal_dialog.h
index df70f0a..d36bb93 100644
--- a/chrome/browser/cookie_modal_dialog.h
+++ b/chrome/browser/cookie_modal_dialog.h
@@ -12,6 +12,7 @@
#include "chrome/browser/cookie_prompt_modal_dialog_delegate.h"
#include "googleurl/src/gurl.h"
+class PrefService;
// A controller+model class for cookie and local storage warning prompt.
// |NativeDialog| is a platform specific view.
@@ -29,6 +30,8 @@ class CookiePromptModalDialog : public AppModalDialog {
CookiePromptModalDialogDelegate* delegate);
virtual ~CookiePromptModalDialog() {}
+ static void RegisterPrefs(PrefService* prefs);
+
// AppModalDialog overrides.
virtual int GetDialogButtons();
virtual void AcceptWindow();