| Index: chrome/browser/browser.cc
|
| diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
|
| index 7b728e361c0966db3f2c9c3f9c1e0b6dc4829c3f..ebca6656fa3757af450ba6be2db65e86da6ce3c0 100644
|
| --- a/chrome/browser/browser.cc
|
| +++ b/chrome/browser/browser.cc
|
| @@ -7,6 +7,7 @@
|
| #include "app/animation.h"
|
| #include "app/l10n_util.h"
|
| #include "base/command_line.h"
|
| +#include "base/gfx/point.h"
|
| #include "base/keyboard_codes.h"
|
| #include "base/logging.h"
|
| #include "base/string_util.h"
|
| @@ -2020,16 +2021,15 @@ void Browser::URLStarredChanged(TabContents* source, bool starred) {
|
| window_->SetStarredState(starred);
|
| }
|
|
|
| -void Browser::ContentsMouseEvent(TabContents* source, bool motion) {
|
| +void Browser::ContentsMouseEvent(
|
| + TabContents* source, const gfx::Point& location, bool motion) {
|
| if (!GetStatusBubble())
|
| return;
|
|
|
| if (source == GetSelectedTabContents()) {
|
| - if (motion) {
|
| - GetStatusBubble()->MouseMoved();
|
| - } else {
|
| + GetStatusBubble()->MouseMoved(location, !motion);
|
| + if (!motion)
|
| GetStatusBubble()->SetURL(GURL(), std::wstring());
|
| - }
|
| }
|
| }
|
|
|
|
|