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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_utils.h

Issue 2855113003: Move the fake omnibox constraints out of GoogleLandingViewController (Closed)
Patch Set: Address comments Created 3 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
Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_utils.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_utils.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_utils.h
index d47d24d885d5bce970e0427099cfc6aa8c1b4987..9d73f5caee7c9f5a279ea54e82cbf92fbdea2941 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_utils.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_utils.h
@@ -34,6 +34,15 @@ CGRect searchFieldFrame(CGFloat width, BOOL logoIsShowing);
CGFloat heightForLogoHeader(CGFloat width,
BOOL logoIsShowing,
BOOL promoCanShow);
+// Configure the |searchHintLabel| for the fake omnibox, adding it to the
+// |searchTapTarget| and constrain it.
+void configureSearchHintLabel(UILabel* searchHintLabel,
+ UIButton* searchTapTarget,
+ CGFloat searchFieldWidth);
+// Configure the |voiceSearchButton|, adding it to the |searchTapTarget| and
+// constraining it.
+void configureVoiceSearchButton(UIButton* voiceSearchButton,
+ UIButton* searchTapTarget);
} // namespace content_suggestions

Powered by Google App Engine
This is Rietveld 408576698