OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "app/tree_model.h" | |
12 #include "base/task.h" | 11 #include "base/task.h" |
13 #include "chrome/browser/cookies_tree_model.h" | 12 #include "chrome/browser/cookies_tree_model.h" |
14 #include "net/base/cookie_monster.h" | 13 #include "net/base/cookie_monster.h" |
15 #include "views/controls/button/button.h" | 14 #include "views/controls/button/button.h" |
16 #include "views/controls/tree/tree_view.h" | 15 #include "views/controls/tree/tree_view.h" |
17 #include "views/controls/textfield/textfield.h" | 16 #include "views/controls/textfield/textfield.h" |
18 #include "views/view.h" | 17 #include "views/view.h" |
19 #include "views/window/dialog_delegate.h" | 18 #include "views/window/dialog_delegate.h" |
20 #include "views/window/window.h" | 19 #include "views/window/window.h" |
21 | 20 |
22 namespace views { | 21 namespace views { |
23 | 22 |
24 class Label; | 23 class Label; |
25 class NativeButton; | 24 class NativeButton; |
26 | 25 |
27 } // namespace views | 26 } // namespace views |
28 | 27 |
29 | 28 |
30 class AppCacheInfoView; | 29 class AppCacheInfoView; |
31 class CookieInfoView; | 30 class CookieInfoView; |
32 class CookiesTreeView; | 31 class CookiesTreeView; |
33 class DatabaseInfoView; | 32 class DatabaseInfoView; |
34 class LocalStorageInfoView; | 33 class LocalStorageInfoView; |
35 class Profile; | 34 class Profile; |
36 class Timer; | 35 class Timer; |
| 36 class TreeModel; |
| 37 class TreeModelNode; |
37 | 38 |
38 | 39 |
39 class CookiesView : public CookiesTreeModel::Observer, | 40 class CookiesView : public CookiesTreeModel::Observer, |
40 public views::View, | 41 public views::View, |
41 public views::DialogDelegate, | 42 public views::DialogDelegate, |
42 public views::ButtonListener, | 43 public views::ButtonListener, |
43 public views::TreeViewController, | 44 public views::TreeViewController, |
44 public views::Textfield::Controller { | 45 public views::Textfield::Controller { |
45 public: | 46 public: |
46 // Show the Cookies Window, creating one if necessary. | 47 // Show the Cookies Window, creating one if necessary. |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 ScopedRunnableMethodFactory<CookiesView> search_update_factory_; | 155 ScopedRunnableMethodFactory<CookiesView> search_update_factory_; |
155 | 156 |
156 // Our containing window. If this is non-NULL there is a visible Cookies | 157 // Our containing window. If this is non-NULL there is a visible Cookies |
157 // window somewhere. | 158 // window somewhere. |
158 static views::Window* instance_; | 159 static views::Window* instance_; |
159 | 160 |
160 DISALLOW_COPY_AND_ASSIGN(CookiesView); | 161 DISALLOW_COPY_AND_ASSIGN(CookiesView); |
161 }; | 162 }; |
162 | 163 |
163 #endif // CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ | 164 #endif // CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ |
OLD | NEW |