From 2e7df5ee7efcf44e2eae9d093d4f26ffcdb48383 Mon Sep 17 00:00:00 2001 From: "avi@google.com" Date: Tue, 30 Dec 2008 20:52:49 +0000 Subject: Adjusting the name of a function to make it more descriptive. Review URL: http://codereview.chromium.org/16489 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7504 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_widget.cc | 2 +- chrome/renderer/render_widget.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome') diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc index c10b9e6..a213c83 100644 --- a/chrome/renderer/render_widget.cc +++ b/chrome/renderer/render_widget.cc @@ -504,7 +504,7 @@ void RenderWidget::DoDeferredScroll() { /////////////////////////////////////////////////////////////////////////////// // WebWidgetDelegate -HWND RenderWidget::GetContainingWindow(WebWidget* webwidget) { +gfx::NativeView RenderWidget::GetContainingView(WebWidget* webwidget) { return host_window_; } diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h index 8eefe47..dfdb825 100644 --- a/chrome/renderer/render_widget.h +++ b/chrome/renderer/render_widget.h @@ -64,7 +64,7 @@ class RenderWidget : public IPC::Channel::Listener, bool InSend() const; // WebWidgetDelegate - virtual HWND GetContainingWindow(WebWidget* webwidget); + virtual gfx::NativeView GetContainingView(WebWidget* webwidget); virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect); virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, const gfx::Rect& clip_rect); -- cgit v1.1