OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This is the Gtk implementation of the Cookie Manager dialog. | 5 // This is the Gtk implementation of the Cookie Manager dialog. |
6 | 6 |
7 #ifndef CHROME_BROWSER_UI_GTK_OPTIONS_COOKIES_VIEW_H_ | 7 #ifndef CHROME_BROWSER_UI_GTK_OPTIONS_COOKIES_VIEW_H_ |
8 #define CHROME_BROWSER_UI_GTK_OPTIONS_COOKIES_VIEW_H_ | 8 #define CHROME_BROWSER_UI_GTK_OPTIONS_COOKIES_VIEW_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include <gtk/gtk.h> | 11 #include <gtk/gtk.h> |
12 | 12 |
13 #include "app/gtk_signal.h" | |
14 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
15 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
16 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
17 #include "base/task.h" | 16 #include "base/task.h" |
18 #include "chrome/browser/browsing_data_appcache_helper.h" | 17 #include "chrome/browser/browsing_data_appcache_helper.h" |
19 #include "chrome/browser/browsing_data_database_helper.h" | 18 #include "chrome/browser/browsing_data_database_helper.h" |
20 #include "chrome/browser/browsing_data_indexed_db_helper.h" | 19 #include "chrome/browser/browsing_data_indexed_db_helper.h" |
21 #include "chrome/browser/browsing_data_local_storage_helper.h" | 20 #include "chrome/browser/browsing_data_local_storage_helper.h" |
22 #include "chrome/browser/ui/gtk/gtk_chrome_cookie_view.h" | 21 #include "chrome/browser/ui/gtk/gtk_chrome_cookie_view.h" |
23 #include "chrome/browser/ui/gtk/gtk_tree.h" | 22 #include "chrome/browser/ui/gtk/gtk_tree.h" |
24 #include "net/base/cookie_monster.h" | 23 #include "net/base/cookie_monster.h" |
| 24 #include "ui/base/gtk/gtk_signal.h" |
25 | 25 |
26 class CookieDisplayGtk; | 26 class CookieDisplayGtk; |
27 class CookiesTreeModel; | 27 class CookiesTreeModel; |
28 class CookiesViewTest; | 28 class CookiesViewTest; |
29 class Profile; | 29 class Profile; |
30 | 30 |
31 // CookiesView is thread-hostile, and should only be called on the UI thread. | 31 // CookiesView is thread-hostile, and should only be called on the UI thread. |
32 // Usage: | 32 // Usage: |
33 // CookiesView::Show(profile); | 33 // CookiesView::Show(profile); |
34 // Once the CookiesView is shown, it is responsible for deleting itself when the | 34 // Once the CookiesView is shown, it is responsible for deleting itself when the |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, RemoveByDomain); | 142 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, RemoveByDomain); |
143 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, RemoveDefaultSelection); | 143 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, RemoveDefaultSelection); |
144 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, Filter); | 144 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, Filter); |
145 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, FilterRemoveAll); | 145 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, FilterRemoveAll); |
146 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, FilterRemove); | 146 FRIEND_TEST_ALL_PREFIXES(CookiesViewTest, FilterRemove); |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(CookiesView); | 148 DISALLOW_COPY_AND_ASSIGN(CookiesView); |
149 }; | 149 }; |
150 | 150 |
151 #endif // CHROME_BROWSER_UI_GTK_OPTIONS_COOKIES_VIEW_H_ | 151 #endif // CHROME_BROWSER_UI_GTK_OPTIONS_COOKIES_VIEW_H_ |
OLD | NEW |