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

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

Issue 266263002: [OriginChip] Add an option to display only on search result pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to comments Created 6 years, 7 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/about_flags.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index 72d89fe854f9540f1f8e2e5053c4d34ac681ce5d..f5fa06cc18ffdd2977626ff0c83291118ef209c2 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -56,10 +56,11 @@ enum OriginChipPosition {
ORIGIN_CHIP_NUM_VALUES,
};
-enum OriginChipV2HideTrigger {
+enum OriginChipV2Condition {
ORIGIN_CHIP_V2_DISABLED,
ORIGIN_CHIP_V2_HIDE_ON_MOUSE_RELEASE,
ORIGIN_CHIP_V2_HIDE_ON_USER_INPUT,
+ ORIGIN_CHIP_V2_ON_SRP,
ORIGIN_CHIP_V2_NUM_VALUES,
};
@@ -210,7 +211,7 @@ bool ShouldDisplayOriginChipV2();
// Returns a value indicating what event should trigger hiding the origin chip
// in the location bar.
-OriginChipV2HideTrigger GetOriginChipV2HideTrigger();
+OriginChipV2Condition GetOriginChipV2Condition();
// 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.
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698