Index: chrome/browser/search/search.h |
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h |
index f76635bc2926f303538fdb3d40f8e9b43177f88d..7102d10b0d5eaaa73769810cfec4c3df38a843ae 100644 |
--- a/chrome/browser/search/search.h |
+++ b/chrome/browser/search/search.h |
@@ -48,6 +48,14 @@ enum DisplaySearchButtonConditions { |
DISPLAY_SEARCH_BUTTON_NUM_VALUES, |
}; |
+enum OriginChipPosition { |
+ ORIGIN_CHIP_DISABLED, |
+ ORIGIN_CHIP_LEFT_OF_LOCATION_BAR, |
+ ORIGIN_CHIP_RIGHT_OF_LOCATION_BAR, |
+ ORIGIN_CHIP_LEFT_OF_MENU, |
+ ORIGIN_CHIP_NUM_VALUES, |
+}; |
+ |
// Use this value for "start margin" to prevent the "es_sm" parameter from |
// being used. |
extern const int kDisableStartMargin; |
@@ -159,10 +167,14 @@ bool ShouldShowInstantNTP(); |
// ToolbarModel::WouldPerformSearchTermReplacement(). |
DisplaySearchButtonConditions GetDisplaySearchButtonConditions(); |
-// Returns true if the origin chip should be shown next to the omnibox. This |
+// Returns true if the origin chip should be shown in the toolbar. This |
// also includes the related changes to the omnibox. |
bool ShouldDisplayOriginChip(); |
+// Returns a value indicating where the origin chip should be positioned on the |
+// toolbar. |
+OriginChipPosition GetOriginChipPosition(); |
+ |
// Transforms the input |url| into its "effective URL". The returned URL |
// facilitates grouping process-per-site. The |url| is transformed, for |
// example, from |