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

Unified Diff: chrome/browser/ui/webui/collected_cookies_ui_delegate.h

Issue 7831051: content: Move collected cookies constrained window to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile failures for everyone\! Created 9 years, 4 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/ui/webui/collected_cookies_ui_delegate.h
diff --git a/chrome/browser/ui/webui/collected_cookies_ui_delegate.h b/chrome/browser/ui/webui/collected_cookies_ui_delegate.h
index e9d52e5d1caeee0e42524e12778e7e3322d022d0..3f1a86cd09077dc4ced3ac78bb7d6d3ec65dc73d 100644
--- a/chrome/browser/ui/webui/collected_cookies_ui_delegate.h
+++ b/chrome/browser/ui/webui/collected_cookies_ui_delegate.h
@@ -18,6 +18,7 @@
class GURL;
class TabContents;
+class TabContentsWrapper;
namespace gfx {
class Size;
@@ -30,7 +31,7 @@ class CollectedCookiesUIDelegate : public HtmlDialogUIDelegate,
virtual ~CollectedCookiesUIDelegate();
// static factory method that shows CollectedCookiesUI for |tab_contents|.
- static void Show(TabContents* tab_contents);
+ static void Show(TabContentsWrapper* wrapper);
// HtmlDialogUIDelegate implementation:
virtual bool IsDialogModal() const OVERRIDE;
@@ -49,7 +50,7 @@ class CollectedCookiesUIDelegate : public HtmlDialogUIDelegate,
virtual void RegisterMessages();
private:
- explicit CollectedCookiesUIDelegate(TabContents* tab_contents);
+ explicit CollectedCookiesUIDelegate(TabContentsWrapper* wrapper);
// Closes the dialog from javascript.
void CloseDialog();
@@ -75,7 +76,7 @@ class CollectedCookiesUIDelegate : public HtmlDialogUIDelegate,
void AllowThisSession(const base::ListValue* args);
NotificationRegistrar registrar_;
- TabContents* tab_contents_;
+ TabContentsWrapper* wrapper_;
bool closed_;
scoped_ptr<CookiesTreeModel> allowed_cookies_tree_model_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/webui/collected_cookies_ui_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698