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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 2069733002: MD - Use real comboboxes in website settings popup. Hide borders (but (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 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
Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index 57f2168c0db379b1bd1928321a53a75300a51dfb..1db7f46a14231596d879e70e5133af250e626ca5 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -207,6 +207,8 @@ class BookmarkButtonBase : public views::LabelButton {
SetElideBehavior(kElideBehavior);
SetHasInkDrop(true);
set_has_ink_drop_action_on_click(true);
+ if (ui::MaterialDesignController::IsModeMaterial())
+ SetFocusPainter(nullptr);
show_animation_.reset(new gfx::SlideAnimation(this));
if (!animations_enabled) {
// For some reason during testing the events generated by animating
@@ -332,6 +334,8 @@ class BookmarkMenuButtonBase : public views::MenuButton {
bool show_menu_marker)
: MenuButton(title, menu_button_listener, show_menu_marker) {
SetHasInkDrop(true);
+ if (ui::MaterialDesignController::IsModeMaterial())
+ SetFocusPainter(nullptr);
}
std::unique_ptr<views::InkDropRipple> CreateInkDropRipple() const override {

Powered by Google App Engine
This is Rietveld 408576698