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

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

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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_OPTIONS_COOKIES_VIEW_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_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/browsing_data/cookies_tree_model.h" 10 #include "chrome/browser/browsing_data/cookies_tree_model.h"
11 #include "chrome/browser/ui/webui/options/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();
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;
26 virtual void RegisterMessages() OVERRIDE; 26 virtual void RegisterMessages() override;
27 27
28 // CookiesTreeModel::Observer implementation. 28 // CookiesTreeModel::Observer implementation.
29 virtual void TreeNodesAdded(ui::TreeModel* model, 29 virtual void TreeNodesAdded(ui::TreeModel* model,
30 ui::TreeModelNode* parent, 30 ui::TreeModelNode* parent,
31 int start, 31 int start,
32 int count) OVERRIDE; 32 int count) override;
33 virtual void TreeNodesRemoved(ui::TreeModel* model, 33 virtual void TreeNodesRemoved(ui::TreeModel* model,
34 ui::TreeModelNode* parent, 34 ui::TreeModelNode* parent,
35 int start, 35 int start,
36 int count) OVERRIDE; 36 int count) override;
37 virtual void TreeNodeChanged(ui::TreeModel* model, 37 virtual void TreeNodeChanged(ui::TreeModel* model,
38 ui::TreeModelNode* node) OVERRIDE {} 38 ui::TreeModelNode* node) override {}
39 virtual void TreeModelBeginBatch(CookiesTreeModel* model) OVERRIDE; 39 virtual void TreeModelBeginBatch(CookiesTreeModel* model) override;
40 virtual void TreeModelEndBatch(CookiesTreeModel* model) OVERRIDE; 40 virtual void TreeModelEndBatch(CookiesTreeModel* model) override;
41 41
42 private: 42 private:
43 // Creates the CookiesTreeModel if neccessary. 43 // Creates the CookiesTreeModel if neccessary.
44 void EnsureCookiesTreeModelCreated(); 44 void EnsureCookiesTreeModelCreated();
45 45
46 // Updates search filter for cookies tree model. 46 // Updates search filter for cookies tree model.
47 void UpdateSearchResults(const base::ListValue* args); 47 void UpdateSearchResults(const base::ListValue* args);
48 48
49 // Remove all sites data. 49 // Remove all sites data.
50 void RemoveAll(const base::ListValue* args); 50 void RemoveAll(const base::ListValue* args);
(...skipping 20 matching lines...) Expand all
71 bool batch_update_; 71 bool batch_update_;
72 72
73 scoped_ptr<CookiesTreeModelUtil> model_util_; 73 scoped_ptr<CookiesTreeModelUtil> model_util_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler); 75 DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler);
76 }; 76 };
77 77
78 } // namespace options 78 } // namespace options
79 79
80 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_ 80 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_COOKIES_VIEW_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.h ('k') | chrome/browser/ui/webui/options/core_options_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698