summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-30 20:52:49 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-30 20:52:49 +0000
commit2e7df5ee7efcf44e2eae9d093d4f26ffcdb48383 (patch)
treef39f3153c68bdd68d1d2a6f186587f0fd0b78ee7 /chrome
parent022614ef938eb2832aa5a4ba09ee0220b4837dec (diff)
downloadchromium_src-2e7df5ee7efcf44e2eae9d093d4f26ffcdb48383.zip
chromium_src-2e7df5ee7efcf44e2eae9d093d4f26ffcdb48383.tar.gz
chromium_src-2e7df5ee7efcf44e2eae9d093d4f26ffcdb48383.tar.bz2
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
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/render_widget.cc2
-rw-r--r--chrome/renderer/render_widget.h2
2 files changed, 2 insertions, 2 deletions
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);