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

Unified Diff: chrome/browser/ui/webui/instant_ui.h

Issue 10967022: alternate ntp: persist show-search-provider-logo option at chrome://instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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/ui/views/search_view_controller.cc ('k') | chrome/browser/ui/webui/instant_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/instant_ui.h
diff --git a/chrome/browser/ui/webui/instant_ui.h b/chrome/browser/ui/webui/instant_ui.h
index 32ac0643ff17e683ea1db49dcad540ac6aa1466d..fac71a44da7afcca0cd66e047a698d3a40734ca1 100644
--- a/chrome/browser/ui/webui/instant_ui.h
+++ b/chrome/browser/ui/webui/instant_ui.h
@@ -7,6 +7,12 @@
#include "content/public/browser/web_ui_controller.h"
+class PrefService;
+
+namespace content {
+class BrowserContext;
+}
+
// Provides configuration options for Instant web search.
class InstantUI : public content::WebUIController {
public:
@@ -18,7 +24,10 @@ class InstantUI : public content::WebUIController {
static int GetSlowAnimationScaleFactor();
// Returns true if search provider logo should be shown.
- static bool ShouldShowSearchProviderLogo();
+ static bool ShouldShowSearchProviderLogo(
+ content::BrowserContext* browser_context);
+
+ static void RegisterUserPrefs(PrefService* user_prefs);
private:
DISALLOW_COPY_AND_ASSIGN(InstantUI);
« no previous file with comments | « chrome/browser/ui/views/search_view_controller.cc ('k') | chrome/browser/ui/webui/instant_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698