| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 06081f17624339e361de50da4b31a70dbfca9120..a11e07a244f064c4f61884ab374eac1c5bdf7ecb 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -611,17 +611,6 @@ gfx::ImageSkia BrowserView::GetOTRAvatarIcon() const {
|
| return *GetThemeProvider()->GetImageSkiaNamed(GetOTRIconResourceID());
|
| }
|
|
|
| -bool BrowserView::IsPositionInWindowCaption(const gfx::Point& point) {
|
| - if (window_switcher_button_) {
|
| - gfx::Point window_switcher_point(point);
|
| - views::View::ConvertPointToTarget(this, window_switcher_button_,
|
| - &window_switcher_point);
|
| - if (window_switcher_button_->HitTestPoint(window_switcher_point))
|
| - return false;
|
| - }
|
| - return GetBrowserViewLayout()->IsPositionInWindowCaption(point);
|
| -}
|
| -
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // BrowserView, BrowserWindow implementation:
|
|
|
| @@ -1797,7 +1786,7 @@ bool BrowserView::CanClose() {
|
| return true;
|
| }
|
|
|
| -int BrowserView::NonClientHitTest(const gfx::Point& point) {
|
| +int BrowserView::NonClientHitTest(const gfx::Point& point) const {
|
| return GetBrowserViewLayout()->NonClientHitTest(point);
|
| }
|
|
|
|
|