Changeset 17820 in webkit
- Timestamp:
- Nov 16, 2006 3:24:33 PM (17 years ago)
- Location:
- S60/trunk/WebKit
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
S60/trunk/WebKit/BrowserView/inc/WidgetExtension.h
r17301 r17820 1 1 /* 2 2 * ============================================================================== 3 * Name : WebKitWidgetInterface.h 4 * Part of : WebEngine/WebKitWidgetInterface 5 * Description : 6 * Version : 2.1.1 7 * 8 * Copyright (c) 2004 Nokia Corporation. 9 * This material, including documentation and any related 10 * computer programs, is protected by copyright controlled by 11 * Nokia Corporation. All rights are reserved. Copying, 12 * including reproducing, storing, adapting or translating, any 13 * or all of this material requires the prior written consent of 14 * Nokia Corporation. This material also contains confidential 15 * information which may not be disclosed to others without the 16 * prior written consent of Nokia Corporation. 3 * Name : WidgetExtension.h 4 * Part of : WebKit / BrowserView 5 * Description : This class represents the Widget Extension object 6 * Version : 3.2 7 * 8 * Copyright (c) 2006, Nokia Corporation 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 15 * * Redistributions of source code must retain the above copyright 16 * notice, this list of conditions and the following disclaimer. 17 * * Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in 19 * the documentation and/or other materials provided with the 20 * distribution. 21 * * Neither the name of the Nokia Corporation nor the names of its 22 * contributors may be used to endorse or promote products derived 23 * from this software without specific prior written permission. 24 * 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 35 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 36 * DAMAGE. 37 * 38 * Please see file patentlicense.txt for further grants. 17 39 * ============================================================================== 18 40 */ -
S60/trunk/WebKit/BrowserView/inc/WidgetPreferences.h
r17301 r17820 1 1 /* 2 2 * ============================================================================== 3 * Name : W ebKitWidgetInterface.h4 * Part of : Web Engine/WebKitWidgetInterface5 * Description : 6 * Version : 2.1.13 * Name : WidgetPreferences.h 4 * Part of : WebKit / BrowserView 5 * Description : This class represents the Widget Preferences object 6 * Version : 3.2 7 7 * 8 * Copyright (c) 2004 Nokia Corporation. 9 * This material, including documentation and any related 10 * computer programs, is protected by copyright controlled by 11 * Nokia Corporation. All rights are reserved. Copying, 12 * including reproducing, storing, adapting or translating, any 13 * or all of this material requires the prior written consent of 14 * Nokia Corporation. This material also contains confidential 15 * information which may not be disclosed to others without the 16 * prior written consent of Nokia Corporation. 8 * Copyright (c) 2006, Nokia Corporation 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 15 * * Redistributions of source code must retain the above copyright 16 * notice, this list of conditions and the following disclaimer. 17 * * Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in 19 * the documentation and/or other materials provided with the 20 * distribution. 21 * * Neither the name of the Nokia Corporation nor the names of its 22 * contributors may be used to endorse or promote products derived 23 * from this software without specific prior written permission. 24 * 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 35 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 36 * DAMAGE. 37 * 38 * Please see file patentlicense.txt for further grants. 17 39 * ============================================================================== 18 40 */ -
S60/trunk/WebKit/BrowserView/inc/WidgetRenderer.h
r17301 r17820 1 1 /* 2 2 * ============================================================================== 3 * Name : Widget EngineRenderer.h4 * Part of : Web Engine/WebKitWidgetInterface5 * Description : 6 * Version : 2.1.13 * Name : WidgetRenderer.h 4 * Part of : WebKit / BrowserView 5 * Description : This class represents the Widget Renderer object 6 * Version : 3.2 7 7 * 8 * Copyright (c) 2004 Nokia Corporation. 9 * This material, including documentation and any related 10 * computer programs, is protected by copyright controlled by 11 * Nokia Corporation. All rights are reserved. Copying, 12 * including reproducing, storing, adapting or translating, any 13 * or all of this material requires the prior written consent of 14 * Nokia Corporation. This material also contains confidential 15 * information which may not be disclosed to others without the 16 * prior written consent of Nokia Corporation. 8 * Copyright (c) 2006, Nokia Corporation 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 15 * * Redistributions of source code must retain the above copyright 16 * notice, this list of conditions and the following disclaimer. 17 * * Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in 19 * the documentation and/or other materials provided with the 20 * distribution. 21 * * Neither the name of the Nokia Corporation nor the names of its 22 * contributors may be used to endorse or promote products derived 23 * from this software without specific prior written permission. 24 * 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 35 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 36 * DAMAGE. 37 * 38 * Please see file patentlicense.txt for further grants. 17 39 * ============================================================================== 18 40 */ … … 43 65 * @lib widgetengine.dll 44 66 * @since 3.1 45 */ 67 */ 46 68 class TWidgetRenderer 47 69 { … … 51 73 ~TWidgetRenderer(); 52 74 53 public: 75 public: 54 76 void PrepareForTransitionL(const TDesC& aTransition); 55 77 void PerformTransitionL(); 56 78 57 79 public: 58 80 void TransitionCb(); … … 72 94 CFbsBitmap* iFadeMask; 73 95 CPeriodic* iTransitionTimer; 74 TInt iTransitionCount; 75 96 TInt iTransitionCount; 97 76 98 }; 77 99 78 100 #endif -
S60/trunk/WebKit/BrowserView/src/WidgetExtension.cpp
r17301 r17820 1 1 /* 2 2 * ============================================================================== 3 * Name : W ebKitWidgetInterface.cpp4 * Part of : Web Engine/WebKitWidgetInterface5 * Description : 6 * Version : 2.1.13 * Name : WidgetExtension.cpp 4 * Part of : WebKit / BrowserView 5 * Description : This class represents the Widget Extension object 6 * Version : 3.2 7 7 * 8 * Copyright (c) 2004 Nokia Corporation. 9 * This material, including documentation and any related 10 * computer programs, is protected by copyright controlled by 11 * Nokia Corporation. All rights are reserved. Copying, 12 * including reproducing, storing, adapting or translating, any 13 * or all of this material requires the prior written consent of 14 * Nokia Corporation. This material also contains confidential 15 * information which may not be disclosed to others without the 16 * prior written consent of Nokia Corporation. 8 * Copyright (c) 2006, Nokia Corporation 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 15 * * Redistributions of source code must retain the above copyright 16 * notice, this list of conditions and the following disclaimer. 17 * * Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in 19 * the documentation and/or other materials provided with the 20 * distribution. 21 * * Neither the name of the Nokia Corporation nor the names of its 22 * contributors may be used to endorse or promote products derived 23 * from this software without specific prior written permission. 24 * 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 35 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 36 * DAMAGE. 37 * 38 * Please see file patentlicense.txt for further grants. 17 39 * ============================================================================== 18 40 */ -
S60/trunk/WebKit/BrowserView/src/WidgetPreferences.cpp
r17301 r17820 1 1 /* 2 2 * ============================================================================== 3 * Name : WebKitWidgetInterface.cpp 4 * Part of : WebEngine/WebKitWidgetInterface 5 * Description : 6 * Version : 2.1.1 7 * 8 * Copyright (c) 2004 Nokia Corporation. 9 * This material, including documentation and any related 10 * computer programs, is protected by copyright controlled by 11 * Nokia Corporation. All rights are reserved. Copying, 12 * including reproducing, storing, adapting or translating, any 13 * or all of this material requires the prior written consent of 14 * Nokia Corporation. This material also contains confidential 15 * information which may not be disclosed to others without the 16 * prior written consent of Nokia Corporation. 3 * Name : WidgetPreferences.cpp 4 * Part of : WebKit / BrowserView 5 * Description : This class represents the Widget Preferences object 6 * Version : 3.2 7 * 8 * Copyright (c) 2006, Nokia Corporation 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 15 * * Redistributions of source code must retain the above copyright 16 * notice, this list of conditions and the following disclaimer. 17 * * Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in 19 * the documentation and/or other materials provided with the 20 * distribution. 21 * * Neither the name of the Nokia Corporation nor the names of its 22 * contributors may be used to endorse or promote products derived 23 * from this software without specific prior written permission. 24 * 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 35 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 36 * DAMAGE. 37 * 38 * Please see file patentlicense.txt for further grants. 17 39 * ============================================================================== 18 40 */ -
S60/trunk/WebKit/BrowserView/src/WidgetRenderer.cpp
r17301 r17820 1 1 /* 2 2 * ============================================================================== 3 * Name : WidgetEngineRenderer.cpp 4 * Part of : WebEngine/WebKitWidgetInterface 5 * Description : 6 * Version : 2.1.1 7 * 8 * Copyright (c) 2004 Nokia Corporation. 9 * This material, including documentation and any related 10 * computer programs, is protected by copyright controlled by 11 * Nokia Corporation. All rights are reserved. Copying, 12 * including reproducing, storing, adapting or translating, any 13 * or all of this material requires the prior written consent of 14 * Nokia Corporation. This material also contains confidential 15 * information which may not be disclosed to others without the 16 * prior written consent of Nokia Corporation. 3 * Name : WidgetExtension.cpp 4 * Part of : WebKit / BrowserView 5 * Description : This class represents the Widget Extension object 6 * Version : 3.2 7 * 8 * Copyright (c) 2006, Nokia Corporation 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 15 * * Redistributions of source code must retain the above copyright 16 * notice, this list of conditions and the following disclaimer. 17 * * Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in 19 * the documentation and/or other materials provided with the 20 * distribution. 21 * * Neither the name of the Nokia Corporation nor the names of its 22 * contributors may be used to endorse or promote products derived 23 * from this software without specific prior written permission. 24 * 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 35 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 36 * DAMAGE. 37 * 38 * Please see file patentlicense.txt for further grants. 17 39 * ============================================================================== 18 40 */ … … 55 77 // 56 78 // ---------------------------------------------------------------------------- 57 TWidgetRenderer::TWidgetRenderer(CWebKitView& aWebKitView) : iWebKitView(&aWebKitView), iTransitionBitmap(0), iFadeMask(0), iTransitionTimer(0), iTransitionCount(0) 79 TWidgetRenderer::TWidgetRenderer(CWebKitView& aWebKitView) : iWebKitView(&aWebKitView), iTransitionBitmap(0), iFadeMask(0), iTransitionTimer(0), iTransitionCount(0) 58 80 { 59 81 } … … 76 98 // ---------------------------------------------------------------------------- 77 99 void TWidgetRenderer::PrepareForTransitionL(const TDesC& /*aTransition*/) 78 { 79 iTransitionCount = 0; 100 { 101 iTransitionCount = 0; 80 102 DestroyTransitionBitmap(); 81 CreateTransitionBitmapL(); 103 CreateTransitionBitmapL(); 82 104 DestroyFadeMask(); 83 105 CreateFadeMaskL(); 84 DrawFadeMaskL(); 106 DrawFadeMaskL(); 85 107 } 86 108 … … 93 115 void TWidgetRenderer::PerformTransitionL() 94 116 { 95 117 96 118 delete iTransitionTimer; 97 119 iTransitionTimer = 0; … … 109 131 void TWidgetRenderer::TransitionCb() 110 132 { 111 133 112 134 iTransitionCount++; 113 135 114 136 if (iTransitionCount==MaxTransitionCount) 115 137 { … … 121 143 TRAP_IGNORE(DrawFadeMaskL()); 122 144 iWebKitView->DrawDeferred(); 123 145 124 146 } 125 147 … … 189 211 { 190 212 if (iFadeMask) 191 { 213 { 192 214 CFbsBitmapDevice* dev = CFbsBitmapDevice::NewL(iFadeMask); 193 215 CleanupStack::PushL(dev); … … 220 242 if (!iTransitionBitmap || !aCurrentBitmap || !iFadeMask) 221 243 return; 222 244 223 245 TSize s = iTransitionBitmap->SizeInPixels(); 224 246 gc.BitBlt(TPoint(0,0),iTransitionBitmap); -
S60/trunk/WebKit/ChangeLog
r17819 r17820 1 2006-11-16 yadavall <sriram.yadavalli@nokia.com> 2 3 Reviewed by Sachin Padma (sachin.padma@nokia.com). 4 DESC: Fix copyright issues 5 http://bugs.webkit.org/show_bug.cgi?id=11620 6 7 * BrowserView/inc/WidgetExtension.h: 8 * BrowserView/inc/WidgetPreferences.h: 9 * BrowserView/inc/WidgetRenderer.h: 10 * BrowserView/src/WidgetExtension.cpp: 11 * BrowserView/src/WidgetPreferences.cpp: 12 * BrowserView/src/WidgetRenderer.cpp: 13 (TWidgetRenderer::TWidgetRenderer): 14 (TWidgetRenderer::PrepareForTransitionL): 15 (TWidgetRenderer::PerformTransitionL): 16 (TWidgetRenderer::TransitionCb): 17 (TWidgetRenderer::DrawFadeMaskL): 18 (TWidgetRenderer::DrawTransition): 19 1 20 2006-11-15 rathnasa <sornalatha.rathnasamy@nokia.com> 2 21
Note: See TracChangeset
for help on using the changeset viewer.