Title: [108773] trunk/Source/WebCore
- Revision
- 108773
- Author
- leo.y...@torchmobile.com.cn
- Date
- 2012-02-24 04:34:35 -0800 (Fri, 24 Feb 2012)
Log Message
[BlackBerry] Upstream the BlackBerry change to platform/graphics/IntSize.h
https://bugs.webkit.org/show_bug.cgi?id=79430
Reviewed by Antonio Gomes.
Add conversion convenience between WebCore::IntSize and BlackBerry::Platform::IntSize.
The porting can't be built yet, no new tests.
* platform/graphics/IntSize.h:
(Platform):
(IntSize):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (108772 => 108773)
--- trunk/Source/WebCore/ChangeLog 2012-02-24 12:32:27 UTC (rev 108772)
+++ trunk/Source/WebCore/ChangeLog 2012-02-24 12:34:35 UTC (rev 108773)
@@ -1,3 +1,18 @@
+2012-02-24 Leo Yang <leo.y...@torchmobile.com.cn>
+
+ [BlackBerry] Upstream the BlackBerry change to platform/graphics/IntSize.h
+ https://bugs.webkit.org/show_bug.cgi?id=79430
+
+ Reviewed by Antonio Gomes.
+
+ Add conversion convenience between WebCore::IntSize and BlackBerry::Platform::IntSize.
+
+ The porting can't be built yet, no new tests.
+
+ * platform/graphics/IntSize.h:
+ (Platform):
+ (IntSize):
+
2012-02-24 Shinya Kawanaka <shin...@chromium.org>
SpellCheckRequest needs to know the context where the spellcheck happened.
Modified: trunk/Source/WebCore/platform/graphics/IntSize.h (108772 => 108773)
--- trunk/Source/WebCore/platform/graphics/IntSize.h 2012-02-24 12:32:27 UTC (rev 108772)
+++ trunk/Source/WebCore/platform/graphics/IntSize.h 2012-02-24 12:34:35 UTC (rev 108773)
@@ -45,6 +45,12 @@
QT_BEGIN_NAMESPACE
class QSize;
QT_END_NAMESPACE
+#elif PLATFORM(BLACKBERRY)
+namespace BlackBerry {
+namespace Platform {
+class IntSize;
+}
+}
#endif
#if PLATFORM(WX)
@@ -128,6 +134,11 @@
operator wxSize() const;
#endif
+#if PLATFORM(BLACKBERRY)
+ IntSize(const BlackBerry::Platform::IntSize&);
+ operator BlackBerry::Platform::IntSize() const;
+#endif
+
private:
int m_width, m_height;
};
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes