Changeset 110701 in webkit
- Timestamp:
- Mar 14, 2012 8:24:13 AM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r110699 r110701 1 2012-03-14 Leo Yang <leo.yang@torchmobile.com.cn> 2 3 [BlackBerry] Upstream the BlackBerry change to platform/Cursor.h 4 https://bugs.webkit.org/show_bug.cgi?id=81086 5 6 Reviewed by Rob Buis. 7 8 * platform/Cursor.h: 9 (WebCore): 10 (WebCore::Cursor::Cursor): 11 Add the BlackBerry specific PlatformCursor. 12 * platform/blackberry/PageClientBlackBerry.h: 13 There was an alias named PlatformCursorHandle for PlatformCursor 14 in the internal version of Cursor.h. But it's not necessary so it's 15 not included in the upstreaming version of Cursor.h. As a result, 16 use PlatformCursor directly in this file. 17 (PageClientBlackBerry): 18 1 19 2012-03-14 Simon Hausmann <simon.hausmann@nokia.com> 2 20 -
trunk/Source/WebCore/platform/Cursor.h
r105203 r110701 44 44 #elif PLATFORM(CHROMIUM) 45 45 #include "PlatformCursor.h" 46 #elif PLATFORM(BLACKBERRY) 47 #include <BlackBerryPlatformCursor.h> 46 48 #endif 47 49 … … 91 93 #elif PLATFORM(CHROMIUM) 92 94 // See PlatformCursor.h 95 #elif PLATFORM(BLACKBERRY) 96 typedef BlackBerry::Platform::BlackBerryCursor PlatformCursor; 93 97 #else 94 98 typedef void* PlatformCursor; … … 147 151 148 152 Cursor() 149 #if !PLATFORM(IOS) 153 #if !PLATFORM(IOS) && !PLATFORM(BLACKBERRY) 150 154 : m_platformCursor(0) 151 155 #endif -
trunk/Source/WebCore/platform/blackberry/PageClientBlackBerry.h
r103393 r110701 40 40 class PageClientBlackBerry { 41 41 public: 42 virtual void setCursor(WebCore::PlatformCursor Handle) = 0;42 virtual void setCursor(WebCore::PlatformCursor) = 0; 43 43 virtual BlackBerry::Platform::NetworkStreamFactory* networkStreamFactory() = 0; 44 44 virtual BlackBerry::Platform::Graphics::Window* platformWindow() const = 0; -
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r110630 r110701 1844 1844 } 1845 1845 1846 void WebPagePrivate::setCursor(PlatformCursor Handlehandle)1846 void WebPagePrivate::setCursor(PlatformCursor handle) 1847 1847 { 1848 1848 if (m_currentCursor.type() != handle.type()) { -
trunk/Source/WebKit/blackberry/Api/WebPage_p.h
r110562 r110701 157 157 158 158 // Virtual functions inherited from PageClientBlackBerry. 159 virtual void setCursor(WebCore::PlatformCursor Handle);159 virtual void setCursor(WebCore::PlatformCursor); 160 160 virtual Platform::NetworkStreamFactory* networkStreamFactory(); 161 161 virtual Platform::Graphics::Window* platformWindow() const; -
trunk/Source/WebKit/blackberry/ChangeLog
r110630 r110701 1 2012-03-14 Leo Yang <leo.yang@torchmobile.com.cn> 2 3 [BlackBerry] Upstream the BlackBerry change to platform/Cursor.h 4 https://bugs.webkit.org/show_bug.cgi?id=81086 5 6 Reviewed by Rob Buis. 7 8 There was an alias named PlatformCursorHandle for PlatformCursor 9 in the internal version of Cursor.h. But it's not necessary so it's 10 not included in the upstreaming version of Cursor.h. As a result, 11 use PlatformCursor directly. 12 13 * Api/WebPage.cpp: 14 (BlackBerry::WebKit::WebPagePrivate::setCursor): 15 * Api/WebPage_p.h: 16 (WebPagePrivate): 17 1 18 2012-03-13 Mike Fenton <mifenton@rim.com> 2 19
Note: See TracChangeset
for help on using the changeset viewer.