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

Side by Side Diff: ios/chrome/search_widget_extension/ui_util.h

Issue 2858253002: Adding search widget UI and functionality. (Closed)
Patch Set: comment and naming 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_SEARCH_WIDGET_EXTENSION_UI_UTIL_H_
6 #define IOS_CHROME_SEARCH_WIDGET_EXTENSION_UI_UTIL_H_
7
8 namespace ui_util {
9
10 // Returns constraints to make two views' size and center equal by pinning
11 // leading, trailing, top and bottom anchors.
12 NSArray<NSLayoutConstraint*>* CreateSameConstraints(UIView* view1,
13 UIView* view2);
14
15 } // namespace ui_util
16
17 #endif // IOS_CHROME_SEARCH_WIDGET_EXTENSION_UI_UTIL_H_
OLDNEW
« no previous file with comments | « ios/chrome/search_widget_extension/search_widget_view_controller.mm ('k') | ios/chrome/search_widget_extension/ui_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698