Hi All, I would like to evaluate the URL that will be opened in a newly created popup window before the view for that window is created. It seems that the WebViewDelegate::CreateWebView() method might be the appropriate place to do this, but that method does not get the popup URL as an argument. This URL information is available in WebCore::createWindow() but is not passed into FrameLoader::createWindow(), etc. Is it reasonable to pass the URL through the call chain to WebViewDelegate::CreateWebView() (which will require changes to third_party\WebKit\WebCore), or is there a more appropriate way to access this information before the popup window view is created in WebViewDelegate::CreateWebView()?
Here is the relevant call chain: WebCore::createWindow() in webkit\port\bindings\v8\v8_custom.cpp WebCore::FrameLoader::createWindow() in third_party\WebKit\WebCore\loader\FrameLoader.cpp WebCore::Chrome::createWindow() in third_party\WebKit\WebCore\page\Chrome.cpp ChromeClientImpl::createWindow() in webkit\glue\chrome_client_impl.cc WebViewDelegate::CreateWebView() Thanks, Marshall --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
