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

Side by Side Diff: chrome/browser/ui/webui/options2/cookies_view_handler.h

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_OPTIONS2_COOKIES_VIEW_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_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/options2/options_ui.h"
12 12
13 class CookiesTreeModelUtil; 13 class CookiesTreeModelUtil;
14 14
15 namespace options2 { 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();
22 22
23 // OptionsPageUIHandler implementation. 23 // OptionsPageUIHandler implementation.
24 virtual void GetLocalizedValues( 24 virtual void GetLocalizedValues(
25 base::DictionaryValue* localized_strings) OVERRIDE; 25 base::DictionaryValue* localized_strings) OVERRIDE;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // A flag to indicate which view is active - the apps dialog or the regular 86 // A flag to indicate which view is active - the apps dialog or the regular
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 options2 95 } // namespace options
96 96
97 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_ 97 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_COOKIES_VIEW_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options2/content_settings_handler.cc ('k') | chrome/browser/ui/webui/options2/cookies_view_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698