Changeset 149831 in webkit
- Timestamp:
- May 9, 2013 12:00:22 PM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/InRegionScroller.cpp
r149816 r149831 135 135 136 136 // Position is offset on the layer by the layer anchor point. 137 FloatPoint layerPosition(-scrollPosition.x() + anchor.x() * bounds.width(), 138 -scrollPosition.y() + anchor.y() * bounds.height()); 137 FloatPoint layerPosition(-scrollPosition.x() + anchor.x() * bounds.width(), -scrollPosition.y() + anchor.y() * bounds.height()); 139 138 140 139 scrollLayer->override()->setPosition(FloatPoint(layerPosition.x(), layerPosition.y())); -
trunk/Source/WebKit/blackberry/Api/InRegionScroller_p.h
r145553 r149831 20 20 #define InRegionScroller_p_h 21 21 22 #include "IntPoint.h" 22 23 #include "IntSize.h" 23 #include "IntPoint.h"24 24 25 25 #include <interaction/ScrollViewBase.h> -
trunk/Source/WebKit/blackberry/Api/WebKitTextCodec.cpp
r149769 r149831 71 71 } 72 72 73 TranscodeResult transcode(const char* sourceEncoding, const char* targetEncoding, const char*& sourceStart, int sourceLength, char*& targetStart, unsigned inttargetLength)73 TranscodeResult transcode(const char* sourceEncoding, const char* targetEncoding, const char*& sourceStart, int sourceLength, char*& targetStart, unsigned targetLength) 74 74 { 75 75 TextEncoding textEncodingSource(sourceEncoding); -
trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp
r149137 r149831 22 22 23 23 #if USE(ACCELERATED_COMPOSITING) 24 #include "WebPageCompositorClient.h"25 #include "WebPageCompositor_p.h"26 27 24 #include "BackingStore_p.h" 28 25 #include "LayerWebKitThread.h" 29 26 #include "WebOverlay_p.h" 27 #include "WebPageCompositorClient.h" 28 #include "WebPageCompositor_p.h" 30 29 #include "WebPage_p.h" 31 30 … … 396 395 397 396 void WebPageCompositor::render(Platform::Graphics::GLES2Context*, 398 399 400 401 402 397 const Platform::IntRect&, 398 const Platform::IntRect&, 399 const Platform::TransformationMatrix&, 400 const Platform::FloatRect&, 401 const Platform::FloatRect&) 403 402 { 404 403 } -
trunk/Source/WebKit/blackberry/Api/WebPageCompositor.h
r147136 r149831 52 52 53 53 void render(Platform::Graphics::GLES2Context*, 54 55 56 57 58 54 const Platform::IntRect& targetRect, 55 const Platform::IntRect& clipRect, 56 const Platform::TransformationMatrix&, 57 const Platform::FloatRect& documentContents, 58 const Platform::FloatRect& viewport); 59 59 60 60 void cleanup(Platform::Graphics::GLES2Context*); -
trunk/Source/WebKit/blackberry/Api/WebPageCompositor_p.h
r149137 r149831 60 60 void prepareFrame(double animationTime); 61 61 void render(const WebCore::IntRect& targetRect, 62 63 64 65 62 const WebCore::IntRect& clipRect, 63 const WebCore::TransformationMatrix&, 64 const WebCore::FloatRect& documentContents, 65 const WebCore::FloatRect& viewport); 66 66 67 67 Platform::Graphics::GLES2Context* context() const { return m_context; } … … 97 97 98 98 WebPagePrivate* page() const { return m_webPage; } 99 void setPage(WebPagePrivate* page);99 void setPage(WebPagePrivate*); 100 100 void detach(); 101 101 WebPageCompositorClient* client() const { return m_client; } -
trunk/Source/WebKit/blackberry/Api/WebSettings_p.h
r107764 r149831 26 26 27 27 #define synthesizeAccessorsForPrimitiveValuePrefixAndType(prefix, type) \ 28 29 30 28 void set##prefix(const String& key, type newValue) { \ 29 ASSERT(impl); \ 30 if (get##prefix(key) == newValue) \ 31 31 return; \ 32 32 if (copyOnWrite) { \ 33 33 copyOnWrite = false; \ 34 34 impl = new WebSettingsPrivateImpl(*impl); \ 35 36 37 38 39 35 } \ 36 PrimitiveValue primitiveValue; \ 37 primitiveValue.prefix##Value = newValue; \ 38 impl->primitiveValues.set(key, primitiveValue); \ 39 if (delegate) \ 40 40 delegate->didChangeSettings(sender); \ 41 } \42 type get##prefix(const String& key) const { \43 44 45 46 47 41 } \ 42 type get##prefix(const String& key) const { \ 43 ASSERT(impl); \ 44 if (!impl->primitiveValues.contains(key)) \ 45 return static_cast<type>(false); \ 46 return impl->primitiveValues.get(key).prefix##Value; \ 47 } 48 48 49 49 namespace BlackBerry { -
trunk/Source/WebKit/blackberry/ChangeLog
r149830 r149831 1 2013-05-09 Mike Fenton <mifenton@rim.com> 2 3 [BlackBerry] Style updates required based on new check-webkit-style 4 https://bugs.webkit.org/show_bug.cgi?id=115857 5 6 Reviewed by Rob Buis. 7 8 Update iInRegionScroller, WebKitTextCodec and WebPageCompositor 9 to match check-webkit-style updates. 10 11 * Api/InRegionScroller.cpp: 12 (BlackBerry::WebKit::InRegionScrollerPrivate::setScrollPositionCompositingThread): 13 * Api/InRegionScroller_p.h: 14 * Api/WebKitTextCodec.cpp: 15 (BlackBerry::WebKit::transcode): 16 * Api/WebPageCompositor.cpp: 17 (BlackBerry::WebKit::WebPageCompositor::render): 18 * Api/WebPageCompositor.h: 19 * Api/WebPageCompositor_p.h: 20 (WebPageCompositorPrivate): 21 * Api/WebSettings_p.h: 22 1 23 2013-05-09 Max Feil <mfeil@rim.com> 2 24
Note: See TracChangeset
for help on using the changeset viewer.