Changeset 150628 in webkit
- Timestamp:
- May 23, 2013 11:23:20 PM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPageClient.h
r149820 r150628 172 172 virtual bool chooseFilenames(bool allowMultiple, const SharedArray<BlackBerry::Platform::String>& acceptTypes, const SharedArray<BlackBerry::Platform::String>& initialFiles, const BlackBerry::Platform::String& capture, SharedArray<BlackBerry::Platform::String>& chosenFiles) = 0; 173 173 174 virtual WebPage* createWindow(int x, int y, int width, int height, unsigned flags, const BlackBerry::Platform::String& url, const BlackBerry::Platform::String& windowName, bool userGesture) = 0;174 virtual WebPage* createWindow(int x, int y, int width, int height, unsigned flags, const BlackBerry::Platform::String& url, const BlackBerry::Platform::String& windowName, const BlackBerry::Platform::String& openerFrameUrl, bool userGesture) = 0; 175 175 176 176 virtual void scheduleCloseWindow() = 0; -
trunk/Source/WebKit/blackberry/ChangeLog
r150625 r150628 1 2013-05-23 Andy Chen <andchen@blackberry.com> 2 3 [BlackBerry] Need to forward the opener frame url to client when creating a new window 4 https://bugs.webkit.org/show_bug.cgi?id=116566 5 6 Reviewed by Rob Buis. 7 8 PR 337935 9 Internally reviewed by Arvid Nilsson. 10 When creating a new window, forward the opener frame url to client. 11 12 * Api/WebPageClient.h: 13 * WebCoreSupport/ChromeClientBlackBerry.cpp: 14 (WebCore::ChromeClientBlackBerry::createWindow): 15 * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: 16 (WebCore::FrameLoaderClientBlackBerry::dispatchCreatePage): 17 1 18 2013-05-23 Jakob Petsovits <jpetsovits@blackberry.com> 2 19 -
trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp
r150434 r150628 257 257 flags |= WebPageClient::FlagWindowIsDialog; 258 258 259 WebPage* webPage = m_webPagePrivate->m_client->createWindow(x, y, width, height, flags, url.string(), request.frameName(), ScriptController::processingUserGesture());259 WebPage* webPage = m_webPagePrivate->m_client->createWindow(x, y, width, height, flags, url.string(), request.frameName(), frame->document()->url().string(), ScriptController::processingUserGesture()); 260 260 if (!webPage) 261 261 return 0; -
trunk/Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp
r150585 r150628 943 943 Frame* FrameLoaderClientBlackBerry::dispatchCreatePage(const NavigationAction& navigation) 944 944 { 945 WebPage* webPage = m_webPagePrivate->m_client->createWindow(0, 0, -1, -1, WebPageClient::FlagWindowDefault, navigation.url().string(), BlackBerry::Platform::String::emptyString(), ScriptController::processingUserGesture());945 WebPage* webPage = m_webPagePrivate->m_client->createWindow(0, 0, -1, -1, WebPageClient::FlagWindowDefault, navigation.url().string(), BlackBerry::Platform::String::emptyString(), m_frame->document()->url().string(), ScriptController::processingUserGesture()); 946 946 if (!webPage) 947 947 return 0;
Note: See TracChangeset
for help on using the changeset viewer.