Commit 9a45a2d0 authored by David Jacobo's avatar David Jacobo Committed by Commit Bot

Set transparent arrow for IntentPickerBubbleView

This one-liner is to make this UI looks like the spec, also the other
bubbles on the omnibox doesn't have a visible arrow.

Bug: None.
Test: Build, also on an ARC device enabled poked around with pinterest.
Change-Id: Iad9913d68d86b9a276f793b5a34962644c836344
Reviewed-on: https://chromium-review.googlesource.com/978671Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: David Jacobo <djacobo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545601}
parent d3f34a3f
...@@ -148,6 +148,8 @@ views::Widget* IntentPickerBubbleView::ShowBubble( ...@@ -148,6 +148,8 @@ views::Widget* IntentPickerBubbleView::ShowBubble(
} }
views::Widget* widget = views::Widget* widget =
views::BubbleDialogDelegateView::CreateBubble(intent_picker_bubble_); views::BubbleDialogDelegateView::CreateBubble(intent_picker_bubble_);
intent_picker_bubble_->SetArrowPaintType(
views::BubbleBorder::PAINT_TRANSPARENT);
intent_picker_bubble_->GetDialogClientView()->Layout(); intent_picker_bubble_->GetDialogClientView()->Layout();
intent_picker_bubble_->SetFocusBehavior(View::FocusBehavior::ALWAYS); intent_picker_bubble_->SetFocusBehavior(View::FocusBehavior::ALWAYS);
intent_picker_bubble_->GetIntentPickerLabelButtonAt(0)->MarkAsSelected( intent_picker_bubble_->GetIntentPickerLabelButtonAt(0)->MarkAsSelected(
......
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