From 3b6ea292868e9677ac4261235e7a8c82e1e177d8 Mon Sep 17 00:00:00 2001 From: "xiyuan@chromium.org" Date: Fri, 11 Mar 2011 20:23:00 +0000 Subject: [ChromeOS] Implement collected cookies in webui. - Allow ConstrainedWindowGtkDelegate to specify whether it needs padding. And webui based one use no padding so that the padding could be controled from html side; - Resurrected cookies_tree.js for the collected cookies UI and patched a bit so that we could have multiple instances in one html; - Added CookiesTreeModelAdapter to work with the JS CookiesTree; - Implemented the collected cookies UI in CollectedCookiesUIDelegate; BUG=chromium-os:8134 TEST=Verify webui based cookie prompt work as expected. Review URL: http://codereview.chromium.org/6644002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77853 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ui/gtk/constrained_window_gtk.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/ui/gtk/constrained_window_gtk.h') diff --git a/chrome/browser/ui/gtk/constrained_window_gtk.h b/chrome/browser/ui/gtk/constrained_window_gtk.h index 90cd2ea..51b4cb2 100644 --- a/chrome/browser/ui/gtk/constrained_window_gtk.h +++ b/chrome/browser/ui/gtk/constrained_window_gtk.h @@ -36,6 +36,9 @@ class ConstrainedWindowGtkDelegate { virtual bool GetBackgroundColor(GdkColor* color); + // Returns true if hosting ConstrainedWindowGtk should apply default padding. + virtual bool ShouldHaveBorderPadding() const; + protected: virtual ~ConstrainedWindowGtkDelegate(); }; -- cgit v1.1