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

Side by Side Diff: chrome/browser/ui/webui/settings/content_settings_handler.h

Issue 1372053002: Flesh out the location-page class to make it more general. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split list into two Created 5 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
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CONTENT_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CONTENT_SETTINGS_HANDLER_H_
7
8 #include <vector>
9
10 #include "chrome/browser/ui/webui/settings/md_settings_ui.h"
11
12 namespace base {
13 class Value;
14 }
15
16 namespace settings {
17
18 // Chrome "ContentSettings" settings page UI handler.
19 class ContentSettingsHandler : public SettingsPageUIHandler {
20 public:
21 ContentSettingsHandler();
22 ~ContentSettingsHandler() override;
23
24 // SettingsPageUIHandler implementation.
25 void RegisterMessages() override;
26
27 private:
28 void HandleFetchToggleState(const base::ListValue* args);
29 void HandleFetchData(const base::ListValue* args);
30 void HandleToggleChange(const base::ListValue* args);
31
32 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler);
33 };
34
35 } // namespace settings
36
37 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CONTENT_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698