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 /webkit/tools/test_shell/test_shell_mac.mm | |
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 'webkit/tools/test_shell/test_shell_mac.mm')
-rw-r--r-- | webkit/tools/test_shell/test_shell_mac.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/test_shell_mac.mm b/webkit/tools/test_shell/test_shell_mac.mm index 403f1f0..bf6ca2a 100644 --- a/webkit/tools/test_shell/test_shell_mac.mm +++ b/webkit/tools/test_shell/test_shell_mac.mm @@ -59,7 +59,7 @@ const int kTestWindowXLocation = -14000; const int kTestWindowYLocation = -14000; // Define static member variables -base::LazyInstance <std::map<gfx::WindowHandle, TestShell *> > +base::LazyInstance <std::map<gfx::NativeWindow, TestShell *> > TestShell::window_map_(base::LINKER_INITIALIZED); // Receives notification that the window is closing so that it can start the @@ -107,7 +107,7 @@ void TestShell::PlatformCleanUp() { } // static -void TestShell::DestroyAssociatedShell(gfx::WindowHandle handle) { +void TestShell::DestroyAssociatedShell(gfx::NativeWindow handle) { TestShell* shell = window_map_.Get()[handle]; if (shell) window_map_.Get().erase(handle); @@ -407,7 +407,7 @@ bool TestShell::CreateNewWindow(const std::wstring& startingURL, } // static -void TestShell::DestroyWindow(gfx::WindowHandle windowHandle) { +void TestShell::DestroyWindow(gfx::NativeWindow windowHandle) { TestShell::RemoveWindowFromList(windowHandle); [windowHandle close]; } @@ -690,7 +690,7 @@ bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { return false; // NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); } -ScreenInfo GetScreenInfo(gfx::ViewHandle window) { +ScreenInfo GetScreenInfo(gfx::NativeView window) { // This should call GetScreenInfoHelper, which should be implemented in // webkit_glue_mac.mm NOTIMPLEMENTED(); |