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

Side by Side Diff: chrome/browser/dom_ui/personal_options_handler.h

Issue 3108018: Display a banner above each panel that contains managed options.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/dom_ui/options_ui.h" 9 #include "chrome/browser/dom_ui/options_ui.h"
10 #include "chrome/browser/sync/profile_sync_service.h" 10 #include "chrome/browser/sync/profile_sync_service.h"
11 11
12 class OptionsManagedBannerHandler;
13
12 // Chrome personal options page UI handler. 14 // Chrome personal options page UI handler.
13 class PersonalOptionsHandler : public OptionsPageUIHandler { 15 class PersonalOptionsHandler : public OptionsPageUIHandler {
14 public: 16 public:
15 PersonalOptionsHandler(); 17 PersonalOptionsHandler();
16 virtual ~PersonalOptionsHandler(); 18 virtual ~PersonalOptionsHandler();
17 19
18 // OptionsUIHandler implementation. 20 // OptionsUIHandler implementation.
19 virtual void GetLocalizedValues(DictionaryValue* localized_strings); 21 virtual void GetLocalizedValues(DictionaryValue* localized_strings);
22 virtual void Initialize();
20 23
21 // DOMMessageHandler implementation. 24 // DOMMessageHandler implementation.
22 virtual void RegisterMessages(); 25 virtual void RegisterMessages();
23 26
24 private: 27 private:
25 virtual void SetSyncStatusUIString(const Value* value); 28 virtual void SetSyncStatusUIString(const Value* value);
26 virtual void ThemesReset(const Value* value); 29 virtual void ThemesReset(const Value* value);
27 virtual void ThemesGallery(const Value* value); 30 virtual void ThemesGallery(const Value* value);
28 #if defined(TOOLKIT_GTK) 31 #if defined(TOOLKIT_GTK)
29 virtual void ThemesSetGTK(const Value* value); 32 virtual void ThemesSetGTK(const Value* value);
30 #endif 33 #endif
31 34
35 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
36
32 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); 37 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler);
33 }; 38 };
34 39
35 #endif // CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_ 40 #endif // CHROME_BROWSER_DOM_UI_PERSONAL_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/options_managed_banner_handler.cc ('k') | chrome/browser/dom_ui/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698