Changeset 207308 in webkit
- Timestamp:
- Oct 13, 2016 2:36:02 PM (8 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r207151 r207308 1 2016-10-12 Anders Carlsson <andersca@apple.com> 2 3 Copy BackForwardList from WebCore to WebKit/win 4 https://bugs.webkit.org/show_bug.cgi?id=163360 5 6 Reviewed by Alex Christensen. 7 8 This is the first step towards getting rid of BackForwardList in WebCore. 9 10 * PlatformWin.cmake: 11 Add new files. 12 1 13 2016-10-11 Alex Christensen <achristensen@webkit.org> 2 14 -
trunk/Source/WebKit/PlatformWin.cmake
r206873 r207308 145 145 win/AccessibleImage.cpp 146 146 win/AccessibleTextImpl.cpp 147 win/BackForwardList.cpp 147 148 win/CFDictionaryPropertyBag.cpp 148 149 win/DOMCSSClasses.cpp -
trunk/Source/WebKit/win/ChangeLog
r207300 r207308 1 2016-10-12 Anders Carlsson <andersca@apple.com> 2 3 Copy BackForwardList from WebCore to WebKit/win 4 https://bugs.webkit.org/show_bug.cgi?id=163360 5 6 Reviewed by Alex Christensen. 7 8 Use our local BackForwardList class instead of WebCore::BackForwardList. 9 10 * BackForwardList.cpp: Added. 11 * BackForwardList.h: Added. 12 * WebBackForwardList.h: 13 * WebView.cpp: 14 (WebView::initWithFrame): 15 (WebView::backForwardList): 16 1 17 2016-10-13 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/Source/WebKit/win/WebBackForwardList.cpp
r207300 r207308 27 27 #include "WebBackForwardList.h" 28 28 29 #include "BackForwardList.h" 29 30 #include "WebFrame.h" 30 31 #include "WebKit.h" 31 32 #include "WebPreferences.h" 32 33 33 #include <WebCore/BackForwardList.h>34 34 #include <WebCore/COMPtr.h> 35 35 #include <WebCore/HistoryItem.h> -
trunk/Source/WebKit/win/WebBackForwardList.h
r188662 r207308 24 24 */ 25 25 26 #ifndef WebBackForwardList_H 27 #define WebBackForwardList_H 26 #pragma once 28 27 29 28 #include "WebKit.h" … … 34 33 #include <WTF/RefPtr.h> 35 34 36 namespace WebCore { 37 class BackForwardList; 38 } 35 class BackForwardList; 39 36 40 37 class WebBackForwardList : public IWebBackForwardList, IWebBackForwardListPrivate 41 38 { 42 39 public: 43 static WebBackForwardList* createInstance(PassRefPtr< WebCore::BackForwardList>);40 static WebBackForwardList* createInstance(PassRefPtr<BackForwardList>); 44 41 protected: 45 WebBackForwardList(PassRefPtr< WebCore::BackForwardList>);42 WebBackForwardList(PassRefPtr<BackForwardList>); 46 43 ~WebBackForwardList(); 47 44 … … 74 71 protected: 75 72 ULONG m_refCount { 0 }; 76 RefPtr< WebCore::BackForwardList> m_backForwardList;73 RefPtr<BackForwardList> m_backForwardList; 77 74 }; 78 79 #endif -
trunk/Source/WebKit/win/WebView.cpp
r207218 r207308 28 28 #include "WebView.h" 29 29 30 #include "BackForward Controller.h"30 #include "BackForwardList.h" 31 31 #include "COMVariantSetter.h" 32 32 #include "DOMCoreClasses.h" … … 85 85 #include <WebCore/BString.h> 86 86 #include <WebCore/BackForwardController.h> 87 #include <WebCore/BackForwardList.h>88 87 #include <WebCore/BitmapInfo.h> 89 88 #include <WebCore/Chrome.h> … … 3100 3099 3101 3100 PageConfiguration configuration(makeUniqueRef<WebEditorClient>(this), SocketProvider::create()); 3101 configuration.backForwardClient = BackForwardList::create(); 3102 3102 configuration.chromeClient = new WebChromeClient(this); 3103 3103 configuration.contextMenuClient = new WebContextMenuClient(this); … … 3431 3431 return E_FAIL; 3432 3432 3433 *list = WebBackForwardList::createInstance(static_cast< WebCore::BackForwardList*>(m_page->backForward().client()));3433 *list = WebBackForwardList::createInstance(static_cast<BackForwardList*>(m_page->backForward().client())); 3434 3434 3435 3435 return S_OK;
Note: See TracChangeset
for help on using the changeset viewer.