summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget_win.cc
diff options
context:
space:
mode:
authoroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-13 01:37:35 +0000
committeroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-13 01:37:35 +0000
commitcaee17863b73aa083656381a918a98e76d93b61f (patch)
tree37621788206406eac0fd880fe31e4639be79164a /views/widget/native_widget_win.cc
parent86da286163563a0c1fd3079e677289b2ebc8a932 (diff)
downloadchromium_src-caee17863b73aa083656381a918a98e76d93b61f.zip
chromium_src-caee17863b73aa083656381a918a98e76d93b61f.tar.gz
chromium_src-caee17863b73aa083656381a918a98e76d93b61f.tar.bz2
Relanding 100792
Use TabContentsViewViews for RenderWidgetHostViweViews. * Removed TabContentsViewTouch. * Changed so that mouse and resize event goes through NativeWidgetViews so that NativeTabContentsViewViews can invoke NativeTabContentsViewDelegates. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100792 Review URL: http://codereview.chromium.org/7460001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/native_widget_win.cc')
-rw-r--r--views/widget/native_widget_win.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc
index 23ef015..b75a4a9 100644
--- a/views/widget/native_widget_win.cc
+++ b/views/widget/native_widget_win.cc
@@ -1092,6 +1092,10 @@ bool NativeWidgetWin::ConvertPointFromAncestor(
return false;
}
+gfx::Rect NativeWidgetWin::GetWorkAreaBoundsInScreen() const {
+ return gfx::Screen::GetMonitorWorkAreaNearestWindow(GetNativeView());
+}
+
////////////////////////////////////////////////////////////////////////////////
// NativeWidgetWin, MessageLoop::Observer implementation: