OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/cookies_tree_model.h" | 10 #include "chrome/browser/cookies_tree_model.h" |
11 #include "chrome/browser/ui/webui/options2/options_ui.h" | 11 #include "chrome/browser/ui/webui/options/options_ui.h" |
12 | 12 |
13 class CookiesTreeModelUtil; | 13 class CookiesTreeModelUtil; |
14 | 14 |
15 namespace options { | 15 namespace options { |
16 | 16 |
17 class CookiesViewHandler : public OptionsPageUIHandler, | 17 class CookiesViewHandler : public OptionsPageUIHandler, |
18 public CookiesTreeModel::Observer { | 18 public CookiesTreeModel::Observer { |
19 public: | 19 public: |
20 CookiesViewHandler(); | 20 CookiesViewHandler(); |
21 virtual ~CookiesViewHandler(); | 21 virtual ~CookiesViewHandler(); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // cookies one. This will cause different JavaScript functions to be called. | 87 // cookies one. This will cause different JavaScript functions to be called. |
88 bool app_context_; | 88 bool app_context_; |
89 | 89 |
90 scoped_ptr<CookiesTreeModelUtil> model_util_; | 90 scoped_ptr<CookiesTreeModelUtil> model_util_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler); | 92 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace options | 95 } // namespace options |
96 | 96 |
97 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ | 97 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_ |
OLD | NEW |