Changeset 110290 in webkit
- Timestamp:
- Mar 9, 2012 5:11:28 AM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r110186 r110290 73 73 #include "NetworkManager.h" 74 74 #include "NodeRenderStyle.h" 75 #if ENABLE(NOTIFICATIONS) 76 #include "NotificationPresenterImpl.h" 77 #endif 75 78 #include "Page.h" 76 79 #include "PageCache.h" … … 428 431 pageClients.deviceOrientationClient = new DeviceOrientationClientBlackBerry(this); 429 432 m_page = new Page(pageClients); 433 434 #if ENABLE(NOTIFICATIONS) 435 WebCore::provideNotification(m_page, NotificationPresenterImpl::instance()); 436 #endif 430 437 431 438 #if ENABLE(CLIENT_BASED_GEOLOCATION) && ENABLE_DRT -
trunk/Source/WebKit/blackberry/ChangeLog
r110230 r110290 1 2012-03-09 Charles Wei <charles.wei@torchmobile.com.cn> 2 3 [BlackBerry] Web Notification not working after rebase 4 https://bugs.webkit.org/show_bug.cgi?id=80690 5 6 Reviewed by George Staikos. 7 8 1. NotificationPresenterImpl should be in namespace WebCore 9 2. Need to connect NotificationPresenterImpl to webcore the new way: 10 WebCore::provideNotification(Page*, NotificationPresenter*) 11 3. Remove the old way of connecting the Notification: 12 ChromeClientBlackBerry::notificationPresenter() 13 14 * Api/WebPage.cpp: 15 (BlackBerry::WebKit::WebPagePrivate::init): 16 * WebCoreSupport/ChromeClientBlackBerry.cpp: 17 (WebCore): 18 * WebCoreSupport/ChromeClientBlackBerry.h: 19 (ChromeClientBlackBerry): 20 * WebCoreSupport/NotificationPresenterImpl.cpp: 21 * WebCoreSupport/NotificationPresenterImpl.h: 22 1 23 2012-03-08 Mike Fenton <mifenton@rim.com> 2 24 -
trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp
r110175 r110290 44 44 #include "Node.h" 45 45 #include "NotImplemented.h" 46 #include "NotificationPresenterImpl.h"47 46 #include "Page.h" 48 47 #include "PageGroup.h" … … 726 725 #endif 727 726 728 #if ENABLE(NOTIFICATIONS)729 NotificationPresenter* ChromeClientBlackBerry::notificationPresenter() const730 {731 return WebKit::NotificationPresenterImpl::instance();732 }733 #endif734 735 727 #if USE(ACCELERATED_COMPOSITING) 736 728 void ChromeClientBlackBerry::attachRootGraphicsLayer(Frame* frame, GraphicsLayer* graphicsLayer) -
trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h
r108957 r110290 129 129 #endif 130 130 131 #if ENABLE(NOTIFICATIONS)132 virtual NotificationPresenter* notificationPresenter() const;133 #endif134 135 131 #if ENABLE(SVG) 136 132 virtual void didSetSVGZoomAndPan(Frame*, unsigned short zoomAndPan); -
trunk/Source/WebKit/blackberry/WebCoreSupport/NotificationPresenterImpl.cpp
r109475 r110290 27 27 #include <UUID.h> 28 28 29 using namespace WebCore;30 29 31 namespace Web Kit{30 namespace WebCore { 32 31 33 32 NotificationPresenter* NotificationPresenterImpl::instance() -
trunk/Source/WebKit/blackberry/WebCoreSupport/NotificationPresenterImpl.h
r103975 r110290 30 30 #include <wtf/text/StringHash.h> 31 31 32 namespace Web Kit{32 namespace WebCore { 33 33 34 34 class NotificationPresenterImpl : public WebCore::NotificationPresenter, public BlackBerry::Platform::NotificationAckListener {
Note: See TracChangeset
for help on using the changeset viewer.