Chromium Code Reviews| Index: chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
| diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
| index e88ab5c3f5717dfaad2fb524f3ac242e1e3be424..82af69084d35c63014dd350faa45139a2934dc37 100644 |
| --- a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
| +++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
| @@ -260,8 +260,9 @@ void ContentSettingImageView::OnClick() { |
| parent_->delegate()->CreateViewsBubble(bubble_view_); |
| bubble_widget->AddObserver(this); |
| // This is triggered by an input event, the icon will be in an active state |
| - // so the bubble doesn't need an arrow. |
| - if (ui::MaterialDesignController::IsModeMaterial()) |
| + // so the bubble doesn't need an arrow. When animation is paused the anchor |
| + // view doesn't show ink drop so the arrow is still shown. |
|
Peter Kasting
2016/03/08 03:16:28
Nit: Grammar. How about:
This is triggered by an
|
| + if (ui::MaterialDesignController::IsModeMaterial() && !pause_animation_) |
| bubble_view_->SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT); |
| bubble_widget->Show(); |
| } |