Remove IdFromNativeView, move this logic to RenderWidgetHostViwe::GetNativeViewId
[Linux/Mac] Changed RenderWidgetHost::GetScreenInfo/GetWindowRect/GetRootWindowRect to use RWHV instead of NativeViewId as use of NativeViewId is no longer necessary.
This is necessary to allow us to switch RWHV implementations
(RenderWidgetHostViewGtk and RenderWidgetHostViewViews) on the fly. (Windows will need something similar to support NPAPI with pure views, but this part is not implemented)
The current code doesn't work with RenderWidgetHostWin as win uses IPC method to get screen/window information and needs more work.
BUG=none
TEST=none No functional change. All test should pass.
Review URL: http://codereview.chromium.org/7670039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98009 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 8e35c324..f1000ea 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -4601,6 +4601,9 @@
['exclude', '^browser/extensions/extension_input_api.h'],
['exclude', '^browser/extensions/key_identifier_conversion_views.cc'],
['exclude', '^browser/extensions/key_identifier_conversion_views.h'],
+ ['exclude', '^browser/renderer_host/render_widget_host_view_views_gtk.h'],
+ ['exclude', '^browser/renderer_host/render_widget_host_view_views_gtk.cc'],
+
],
}],
# These GTK files haven't been ported to views, while ChromeOS has