Changeset 119566 in webkit
- Timestamp:
- Jun 6, 2012 12:01:11 AM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r119527 r119566 6196 6196 #endif 6197 6197 6198 #if ENABLE(INDEXED_DATABASE) 6199 m_page->group().groupSettings()->setIndexedDBDatabasePath(webSettings->indexedDataBasePath()); 6200 #endif 6201 6202 6198 6203 #if ENABLE(WEB_SOCKETS) 6199 6204 WebSocket::setIsAvailable(webSettings->areWebSocketsEnabled()); -
trunk/Source/WebKit/blackberry/Api/WebSettings.cpp
r117330 r119566 67 67 DEFINE_STATIC_LOCAL(String, WebKitFrameFlatteningEnabled, ("WebKitFrameFlatteningEnabled")); 68 68 DEFINE_STATIC_LOCAL(String, WebKitGeolocationEnabled, ("WebKitGeolocationEnabled")); 69 DEFINE_STATIC_LOCAL(String, WebKitIndexedDataBasePath, ("WebKitIndexedDataBasePath")); 69 70 DEFINE_STATIC_LOCAL(String, WebKitJavaScriptCanOpenWindowsAutomaticallyEnabled, ("WebKitJavaScriptCanOpenWindowsAutomaticallyEnabled")); 70 71 DEFINE_STATIC_LOCAL(String, WebKitJavaScriptEnabled, ("WebKitJavaScriptEnabled")); … … 602 603 } 603 604 605 WebString WebSettings::indexedDataBasePath() const 606 { 607 return m_private->getString(WebKitIndexedDataBasePath); 608 } 609 610 void WebSettings::setIndexedDataBasePath(const WebString& path) 611 { 612 m_private->setString(WebKitIndexedDataBasePath, path); 613 } 614 604 615 WebString WebSettings::databasePath() const 605 616 { -
trunk/Source/WebKit/blackberry/Api/WebSettings.h
r117148 r119566 174 174 void setLocalStoragePath(const WebString&); 175 175 176 WebString indexedDataBasePath() const; 177 void setIndexedDataBasePath(const WebString&); 178 176 179 WebString databasePath() const; 177 180 void setDatabasePath(const WebString&); -
trunk/Source/WebKit/blackberry/ChangeLog
r119549 r119566 1 2012-06-06 Charles Wei <charles.wei@torchmobile.com.cn> 2 3 [BlackBerry] IndexedDB file should be sand-boxed to the application data directory. 4 https://bugs.webkit.org/show_bug.cgi?id=88065 5 6 Reviewed by George Staikos. 7 8 * Api/WebPage.cpp: 9 (BlackBerry::WebKit::WebPagePrivate::didChangeSettings): 10 * Api/WebSettings.cpp: 11 (WebKit): 12 (BlackBerry::WebKit::WebSettings::indexedDataBasePath): 13 (BlackBerry::WebKit::WebSettings::setIndexedDataBasePath): 14 * Api/WebSettings.h: 15 1 16 2012-06-05 Crystal Zhang <haizhang@rim.com> 2 17
Note: See TracChangeset
for help on using the changeset viewer.