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

Unified Diff: chrome/browser/dom_ui/options/options_managed_banner_handler.h

Issue 6469067: WebUI: Move chrome/browser/dom_ui/options/ to chrome/browser/webui/options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing mac files 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/dom_ui/options/options_managed_banner_handler.h
diff --git a/chrome/browser/dom_ui/options/options_managed_banner_handler.h b/chrome/browser/dom_ui/options/options_managed_banner_handler.h
index 49047df2d5955f4f53b09d668e59cbbb4f7be049..c7422ca7dac55c359f427173ec103110d35ded47 100644
--- a/chrome/browser/dom_ui/options/options_managed_banner_handler.h
+++ b/chrome/browser/dom_ui/options/options_managed_banner_handler.h
@@ -6,34 +6,7 @@
#define CHROME_BROWSER_DOM_UI_OPTIONS_OPTIONS_MANAGED_BANNER_HANDLER_H_
#pragma once
-#include "base/string16.h"
-#include "chrome/browser/policy/managed_prefs_banner_base.h"
-#include "chrome/browser/ui/options/options_window.h"
-
-class WebUI;
-
-// Managed options banner handler.
-// Controls the display of a banner if an options panel contains options
-// that are under administator control.
-class OptionsManagedBannerHandler : public policy::ManagedPrefsBannerBase {
- public:
- OptionsManagedBannerHandler(WebUI* web_ui, const string16& page_name,
- OptionsPage page);
- virtual ~OptionsManagedBannerHandler();
-
- protected:
- // ManagedPrefsBannerBase implementation.
- virtual void OnUpdateVisibility();
-
- private:
- // Set the managed options banner to be visible or invisible.
- void SetupBannerVisibilty();
-
- WebUI* web_ui_; // weak reference to the WebUI.
- string16 page_name_; // current options page name.
- OptionsPage page_; // current options page value.
-
- DISALLOW_COPY_AND_ASSIGN(OptionsManagedBannerHandler);
-};
+#include "chrome/browser/webui/options/options_managed_banner_handler.h"
+// TODO(tfarina): remove this file once all includes have been updated.
#endif // CHROME_BROWSER_DOM_UI_OPTIONS_OPTIONS_MANAGED_BANNER_HANDLER_H_
« no previous file with comments | « chrome/browser/dom_ui/options/language_options_handler_common.h ('k') | chrome/browser/dom_ui/options/options_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698