Commit 2e2541e8 authored by Jiaquan He's avatar Jiaquan He Committed by Commit Bot

app_list: fix a bug.

When we show the launcher for the first time, we set the placeholder
text, but it doesn't show. This commit schedule to paint the placeholder
text when it changes.

Bug: 733662
Change-Id: I332c6e426171e19f4a035b6fa940f68f3721c058
Reviewed-on: https://chromium-review.googlesource.com/959436Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Jiaquan He <hejq@google.com>
Cr-Commit-Position: refs/heads/master@{#542803}
parent f02f6d09
......@@ -300,6 +300,7 @@ void SearchBoxView::HintTextChanged() {
search_model_->search_box();
search_box()->set_placeholder_text(search_box_model->hint_text());
search_box()->SetAccessibleName(search_box_model->accessible_name());
SchedulePaint();
}
void SearchBoxView::SelectionModelChanged() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment