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

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

Issue 2348853004: Remove non-md code in location bar (Views). (Closed)
Patch Set: images Created 4 years, 3 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/location_bar_bubble_delegate_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
index 3ace6d80e6b62c3c292ac3b59a23832c5b93c5e7..174f55e0a2a05db5b9af5c83ac17e852af9dcdec 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/ui/layout_constants.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/render_view_host.h"
-#include "ui/base/material_design/material_design_controller.h"
#include "ui/gfx/geometry/rect.h"
LocationBarBubbleDelegateView::WebContentMouseHandler::WebContentMouseHandler(
@@ -72,8 +71,7 @@ void LocationBarBubbleDelegateView::ShowForReason(DisplayReason reason) {
if (reason == USER_GESTURE) {
// In the USER_GESTURE case, the icon will be in an active state so the
// bubble doesn't need an arrow.
- if (ui::MaterialDesignController::IsModeMaterial())
- SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT);
+ SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT);
GetWidget()->Show();
} else {
GetWidget()->ShowInactive();

Powered by Google App Engine
This is Rietveld 408576698