Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab_strip.cc |
| diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
| index 5269e9947f96702fd54e6fc6d967b17fed866020..b6d12a55826257c0c569b059e622d355fd2c8cba 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_strip.cc |
| +++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
| @@ -61,7 +61,7 @@ |
| #include "ui/views/window/non_client_view.h" |
| #if defined(OS_WIN) |
| -#include "ui/gfx/win/dpi.h" |
| +#include "ui/gfx/screen_win.h" |
| #include "ui/gfx/win/hwnd_util.h" |
| #include "ui/views/widget/monitor_win.h" |
| #include "ui/views/win/hwnd_util.h" |
| @@ -311,7 +311,7 @@ void NewTabButton::OnMouseReleased(const ui::MouseEvent& event) { |
| if (event.IsOnlyRightMouseButton()) { |
| gfx::Point point = event.location(); |
| views::View::ConvertPointToScreen(this, &point); |
| - point = gfx::win::DIPToScreenPoint(point); |
| + point = gfx::ScreenWin::DIPToScreenPoint(point); |
|
scottmg
2015/10/28 18:48:21
Will this need an HWND in the future?
robliao
2015/10/29 00:30:24
At the moment, I don't think so. Callers that have
|
| bool destroyed = false; |
| destroyed_ = &destroyed; |
| gfx::ShowSystemMenuAtPoint(views::HWNDForView(this), point); |