| Index: chrome/browser/views/location_bar/star_view.cc
|
| diff --git a/chrome/browser/views/location_bar/star_view.cc b/chrome/browser/views/location_bar/star_view.cc
|
| index c559a27e11d49f97dbc599927955b474adfbb92e..9dfaf621d582bd3bd12c8824e913f8266e10e65e 100644
|
| --- a/chrome/browser/views/location_bar/star_view.cc
|
| +++ b/chrome/browser/views/location_bar/star_view.cc
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/app/chrome_dll_resource.h"
|
| #include "chrome/browser/command_updater.h"
|
| #include "chrome/browser/view_ids.h"
|
| +#include "chrome/browser/views/browser_dialogs.h"
|
| #include "grit/generated_resources.h"
|
| #include "grit/theme_resources.h"
|
|
|
| @@ -38,6 +39,14 @@ bool StarView::GetAccessibleRole(AccessibilityTypes::Role* role) {
|
| return true;
|
| }
|
|
|
| +bool StarView::GetTooltipText(const gfx::Point& p, std::wstring* tooltip) {
|
| + // Don't show tooltip to distract user if BookmarkBubbleView is showing.
|
| + if (browser::IsBookmarkBubbleViewShowing())
|
| + return false;
|
| +
|
| + return ImageView::GetTooltipText(p, tooltip);
|
| +}
|
| +
|
| bool StarView::OnMousePressed(const views::MouseEvent& event) {
|
| // We want to show the bubble on mouse release; that is the standard behavior
|
| // for buttons.
|
|
|