| Index: chrome/browser/ui/cocoa/browser_window_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| index 62b2895144d3d7f8989a4a6ceeb3af94a03a7e41..91b0f3a31c4698ed6d48339944e03e9107c2c086 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| @@ -95,6 +95,7 @@
|
| #include "content/public/browser/web_contents.h"
|
| #import "ui/base/cocoa/cocoa_base_utils.h"
|
| #import "ui/base/cocoa/nsview_additions.h"
|
| +#include "ui/base/material_design/material_design_controller.h"
|
| #include "ui/display/screen.h"
|
| #import "ui/gfx/mac/coordinate_conversion.h"
|
| #include "ui/gfx/mac/scoped_cocoa_disable_screen_updates.h"
|
| @@ -1488,7 +1489,7 @@ bool IsTabDetachingInFullscreenEnabled() {
|
|
|
| bookmarkBubbleObserver_.reset(new BookmarkBubbleObserverCocoa(self));
|
|
|
| - if (chrome::ToolkitViewsDialogsEnabled()) {
|
| + if (ui::MaterialDesignController::IsSecondaryUiMaterial()) {
|
| chrome::ShowBookmarkBubbleViewsAtPoint(
|
| gfx::ScreenPointFromNSPoint(ui::ConvertPointFromWindowToScreen(
|
| [self window], [self bookmarkBubblePoint])),
|
|
|