2 * Copyright 2015 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
8 #ifndef COOKIE_WINDOW_H
9 #define COOKIE_WINDOW_H
15 class BColumnListView
;
16 class BNetworkCookieJar
;
17 class BOutlineListView
;
23 class CookieWindow
: public BWindow
{
25 CookieWindow(BRect frame
,
26 BNetworkCookieJar
& jar
);
27 virtual void MessageReceived(BMessage
* message
);
29 virtual bool QuitRequested();
32 void _BuildDomainList();
33 BStringItem
* _AddDomain(BString domain
, bool fake
);
34 void _ShowCookiesForDomain(BString domain
);
35 void _DeleteCookies();
38 BOutlineListView
* fDomains
;
39 BColumnListView
* fCookies
;
40 BStringView
* fHeaderView
;
42 BNetworkCookieJar
& fCookieJar
;
46 #endif // COOKIE_WINDOW_H