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

Unified Diff: chrome/browser/search/search.h

Issue 731423002: Remove OriginChip code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index 6e5d9ba03c50ed2a6f80949f2ac2ba267d8d015e..f5bf2f3d225c2dde4897b8e5729c1676b45e18c5 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -48,13 +48,6 @@ enum DisplaySearchButtonConditions {
DISPLAY_SEARCH_BUTTON_NUM_VALUES,
};
-enum OriginChipCondition {
- ORIGIN_CHIP_DISABLED = 0,
- ORIGIN_CHIP_ALWAYS,
- ORIGIN_CHIP_ON_SRP,
- ORIGIN_CHIP_NUM_VALUES,
-};
-
// Use this value for "start margin" to prevent the "es_sm" parameter from
// being used.
extern const int kDisableStartMargin;
@@ -184,12 +177,6 @@ GURL GetLocalInstantURL(Profile* profile);
// ToolbarModel::WouldPerformSearchTermReplacement().
DisplaySearchButtonConditions GetDisplaySearchButtonConditions();
-// Returns true if the origin chip should be shown.
-bool ShouldDisplayOriginChip();
-
-// Returns a value indicating when the origin chip should be shown.
-OriginChipCondition GetOriginChipCondition();
-
// Returns true if the local new tab page should show a Google logo and search
// box for users whose default search provider is Google, or false if not.
bool ShouldShowGoogleLocalNTP();

Powered by Google App Engine
This is Rietveld 408576698