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

Unified Diff: chrome/browser/dom_ui/browser_options_handler.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/dom_ui/browser_options_handler.h ('k') | chrome/browser/dom_ui/core_options_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/browser_options_handler.cc
===================================================================
--- chrome/browser/dom_ui/browser_options_handler.cc (revision 56591)
+++ chrome/browser/dom_ui/browser_options_handler.cc (working copy)
@@ -11,8 +11,10 @@
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/custom_home_pages_table_model.h"
+#include "chrome/browser/dom_ui/options_managed_banner_handler.h"
#include "chrome/browser/net/url_fixer_upper.h"
#include "chrome/browser/profile.h"
+#include "chrome/browser/options_window.h"
#include "chrome/browser/session_startup_pref.h"
#include "chrome/installer/util/browser_distribution.h"
#include "grit/chromium_strings.h"
@@ -93,6 +95,10 @@
UpdateDefaultBrowserState();
UpdateStartupPages();
UpdateSearchEngines();
+ banner_handler_.reset(
+ new OptionsManagedBannerHandler(dom_ui_,
+ ASCIIToUTF16("BrowserOptions"),
+ OPTIONS_PAGE_GENERAL));
}
void BrowserOptionsHandler::UpdateDefaultBrowserState() {
« no previous file with comments | « chrome/browser/dom_ui/browser_options_handler.h ('k') | chrome/browser/dom_ui/core_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698