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

Side by Side Diff: chrome/browser/webui/shown_sections_handler.h

Issue 6575054: WebUI: Move the core files of WebUI from chrome/browser/webui to content/webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 10 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
« no previous file with comments | « chrome/browser/webui/settings_browsertest.cc ('k') | chrome/browser/webui/slideshow_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEBUI_SHOWN_SECTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_WEBUI_SHOWN_SECTIONS_HANDLER_H_
6 #define CHROME_BROWSER_WEBUI_SHOWN_SECTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_WEBUI_SHOWN_SECTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/prefs/pref_change_registrar.h" 9 #include "chrome/browser/prefs/pref_change_registrar.h"
10 #include "chrome/browser/webui/web_ui.h"
11 #include "chrome/common/notification_observer.h" 10 #include "chrome/common/notification_observer.h"
11 #include "content/browser/webui/web_ui.h"
12 12
13 class Extension; 13 class Extension;
14 class Value; 14 class Value;
15 class PrefService; 15 class PrefService;
16 16
17 // Use for the shown sections bitmask. 17 // Use for the shown sections bitmask.
18 // Currently, only the THUMB and APPS sections can be toggled by the user. Other 18 // Currently, only the THUMB and APPS sections can be toggled by the user. Other
19 // sections are shown automatically if they have data, and hidden otherwise. 19 // sections are shown automatically if they have data, and hidden otherwise.
20 enum Section { 20 enum Section {
21 // If one of these is set, the corresponding section shows large thumbnails, 21 // If one of these is set, the corresponding section shows large thumbnails,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const Extension* extension); 70 const Extension* extension);
71 71
72 private: 72 private:
73 PrefService* pref_service_; 73 PrefService* pref_service_;
74 PrefChangeRegistrar pref_registrar_; 74 PrefChangeRegistrar pref_registrar_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(ShownSectionsHandler); 76 DISALLOW_COPY_AND_ASSIGN(ShownSectionsHandler);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_WEBUI_SHOWN_SECTIONS_HANDLER_H_ 79 #endif // CHROME_BROWSER_WEBUI_SHOWN_SECTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/webui/settings_browsertest.cc ('k') | chrome/browser/webui/slideshow_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698