Skip to content

Commit

Permalink
Add placeholder text for url bar in //ios/web_view shell app.
Browse files Browse the repository at this point in the history
It says "Search or type URL" like in //ios/chrome.

Change-Id: I3d58b0487f76e174e9779f361c28869833fe943e
Reviewed-on: https://chromium-review.googlesource.com/c/1448118
Auto-Submit: John Wu <[email protected]>
Reviewed-by: Hiroshi Ichikawa <[email protected]>
Commit-Queue: Hiroshi Ichikawa <[email protected]>
Cr-Commit-Position: refs/heads/master@{#628184}
  • Loading branch information
John Z Wu authored and Commit Bot committed Feb 1, 2019
1 parent 38acb33 commit 80fe685
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/web_view/shell/shell_view_controller.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ - (void)viewDidLoad {
action:@selector(showMenu)
forControlEvents:UIControlEventTouchUpInside];

_field.placeholder = @"Search or type URL";
_field.backgroundColor = [UIColor whiteColor];
_field.tintColor = _headerBackgroundView.backgroundColor;
[_field setContentHuggingPriority:UILayoutPriorityDefaultLow - 1
Expand Down

0 comments on commit 80fe685

Please sign in to comment.