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

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

Issue 2067013002: Removed InkDropFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed views:: -> ui:: compile error. 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/location_bar/bubble_icon_view.cc
diff --git a/chrome/browser/ui/views/location_bar/bubble_icon_view.cc b/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
index 7be21249ce7609f53ab7b2d69929f8ea5df833b6..aadea3e6eaa2a96e22ec79e83fe23130dbd381e0 100644
--- a/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
@@ -24,11 +24,12 @@ BubbleIconView::BubbleIconView(CommandUpdater* command_updater, int command_id)
AddChildView(image_);
image_->set_interactive(false);
image_->EnableCanvasFlippingForRTLUI(true);
- if (ui::MaterialDesignController::IsModeMaterial())
+ if (ui::MaterialDesignController::IsModeMaterial()) {
+ SetHasInkDrop(true);
SetFocusBehavior(FocusBehavior::ACCESSIBLE_ONLY);
- else
+ } else {
image_->SetFocusBehavior(FocusBehavior::ACCESSIBLE_ONLY);
- SetHasInkDrop(true);
+ }
}
BubbleIconView::~BubbleIconView() {}

Powered by Google App Engine
This is Rietveld 408576698