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

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: Reviewable Created 3 years, 8 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 70c90cddf4713c880e36c532344625dfd6fe2f1f..6e01b90acd75af855d4b235832fe8398ed3bfb2d 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
@@ -28,6 +28,13 @@ CGRect searchFieldFrame(CGFloat width, BOOL logoIsShowing);
CGFloat heightForLogoHeader(CGFloat width,
BOOL logoIsShowing,
BOOL promoCanShow);
+// Returns a UILabel containing the hint for the omnibox, added to the
marq (ping after 24h) 2017/05/03 15:22:05 Normally I would object to a function that does th
gambard 2017/05/03 15:27:35 Which part are you disagreeing on? My first intent
marq (ping after 24h) 2017/05/10 09:11:26 Yes; in general I don't like functions that return
gambard 2017/05/10 12:14:44 Acknowledged.
+// |searchTapTarget| and constrained.
+UILabel* configuredSearchHintLabel(UIButton* searchTapTarget,
+ CGFloat searchFieldWidth);
+// Returns a button for the voice search, added to the |searcgTapTarget| and
marq (ping after 24h) 2017/05/03 15:22:05 searcg -> search
gambard 2017/05/10 12:14:44 Done.
+// constrained.
+UIButton* configuredVoiceTapTarget(UIButton* searchTapTarget);
} // namespace content_suggestions

Powered by Google App Engine
This is Rietveld 408576698