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

Unified Diff: chrome/browser/ui/views/location_bar/content_setting_image_view.cc

Issue 1762163002: Removes arrow from location bar content bubbles when ink drop is shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b60d76758b535c8088c568eb3df845fd69c3168b..85fcb8a31806c99a9709d0c9cf51da0892d64822 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
@@ -259,6 +259,8 @@ void ContentSettingImageView::OnClick() {
views::Widget* bubble_widget =
parent_->delegate()->CreateViewsBubble(bubble_view_);
bubble_widget->AddObserver(this);
+ if (ui::MaterialDesignController::IsModeMaterial())
Peter Kasting 2016/03/04 02:21:23 Nit: Please add an explanatory comment as was done
varkha 2016/03/04 03:28:57 Done.
+ bubble_view_->SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT);
bubble_widget->Show();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698