diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 21:50:41 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 21:50:41 +0000 |
commit | 5590f8286b568b29e67f0d575dad0cb84f071e87 (patch) | |
tree | 76a5cc4ce0cdb148a3a4d258104e1f249878bc91 /chrome | |
parent | 35a61135047d83c9b87fdb57f86367c05efeeb26 (diff) | |
download | chromium_src-5590f8286b568b29e67f0d575dad0cb84f071e87.zip chromium_src-5590f8286b568b29e67f0d575dad0cb84f071e87.tar.gz chromium_src-5590f8286b568b29e67f0d575dad0cb84f071e87.tar.bz2 |
Rename ViewHandle to NativeView et al.
ViewHandle is a very unfortunate name when we actually start dealing with
views, so we are renaming the cross-platform typedefs to make it clear
that they refer to platform specific native UI elements.
Review URL: http://codereview.chromium.org/13754
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6826 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resource_message_filter.cc | 2 | ||||
-rw-r--r-- | chrome/browser/resource_message_filter.h | 2 | ||||
-rw-r--r-- | chrome/common/render_messages_internal.h | 2 | ||||
-rw-r--r-- | chrome/renderer/renderer_glue.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/resource_message_filter.cc b/chrome/browser/resource_message_filter.cc index 7a91075..a674628 100644 --- a/chrome/browser/resource_message_filter.cc +++ b/chrome/browser/resource_message_filter.cc @@ -386,7 +386,7 @@ void ResourceMessageFilter::OnLoadFont(LOGFONT font) { } void ResourceMessageFilter::OnGetScreenInfo( - gfx::ViewHandle window, webkit_glue::ScreenInfo* results) { + gfx::NativeView window, webkit_glue::ScreenInfo* results) { *results = webkit_glue::GetScreenInfoHelper(window); } diff --git a/chrome/browser/resource_message_filter.h b/chrome/browser/resource_message_filter.h index 0fd3cce..0322953 100644 --- a/chrome/browser/resource_message_filter.h +++ b/chrome/browser/resource_message_filter.h @@ -101,7 +101,7 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter, // Cache fonts for the renderer. See ResourceMessageFilter::OnLoadFont // implementation for more details void OnLoadFont(LOGFONT font); - void OnGetScreenInfo(gfx::ViewHandle window, + void OnGetScreenInfo(gfx::NativeView window, webkit_glue::ScreenInfo* results); void OnGetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); void OnGetPluginPath(const GURL& url, diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 96d7d89..a852732 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -826,7 +826,7 @@ IPC_BEGIN_MESSAGES(ViewHost, 2) // Returns ScreenInfo corresponding to the given window. IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetScreenInfo, - gfx::ViewHandle /* window */, + gfx::NativeView /* window */, webkit_glue::ScreenInfo /* results */) // Send the tooltip text for the current mouse position to the browser. diff --git a/chrome/renderer/renderer_glue.cc b/chrome/renderer/renderer_glue.cc index 1fafed2..35f2a73 100644 --- a/chrome/renderer/renderer_glue.cc +++ b/chrome/renderer/renderer_glue.cc @@ -245,7 +245,7 @@ bool webkit_glue::EnsureFontLoaded(HFONT font) { return RenderThread::current()->Send(new ViewHostMsg_LoadFont(logfont)); } -webkit_glue::ScreenInfo webkit_glue::GetScreenInfo(gfx::ViewHandle window) { +webkit_glue::ScreenInfo webkit_glue::GetScreenInfo(gfx::NativeView window) { webkit_glue::ScreenInfo results; RenderThread::current()->Send( new ViewHostMsg_GetScreenInfo(window, &results)); |