Changeset 58876 in webkit
- Timestamp:
- May 6, 2010 6:00:54 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebsettings.cpp
r58703 r58876 73 73 QString offlineWebApplicationCachePath; 74 74 qint64 offlineStorageDefaultQuota; 75 QUrl inspectorLocation;76 75 77 76 void apply(); … … 1005 1004 1006 1005 /*! 1007 \since 4.71008 1009 Specifies the \a location of a frontend to load with each web page when using Web Inspector.1010 1011 \sa inspectorUrl()1012 */1013 void QWebSettings::setInspectorUrl(const QUrl& location)1014 {1015 d->inspectorLocation = location;1016 d->apply();1017 }1018 1019 /*!1020 \since 4.71021 1022 Returns the location of the Web Inspector frontend.1023 1024 \sa setInspectorUrl()1025 */1026 QUrl QWebSettings::inspectorUrl() const1027 {1028 return d->inspectorLocation;1029 }1030 1031 /*!1032 1006 \since 4.6 1033 1007 \relates QWebSettings -
trunk/WebKit/qt/Api/qwebsettings.h
r58754 r58876 139 139 QString localStoragePath() const; 140 140 141 void setInspectorUrl(const QUrl &location);142 QUrl inspectorUrl() const;143 144 141 static void clearMemoryCaches(); 145 142 -
trunk/WebKit/qt/ChangeLog
r58764 r58876 1 2010-05-06 Simon Hausmann <simon.hausmann@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Replace public inspector url with private property for QtLauncher 6 https://bugs.webkit.org/show_bug.cgi?id=35340 7 8 Replace the public API with a private dynamic property until this feature 9 is ready. 10 11 * Api/qwebsettings.cpp: 12 * Api/qwebsettings.h: 13 * WebCoreSupport/InspectorClientQt.cpp: 14 (WebCore::InspectorClientQt::openInspectorFrontend): 15 * symbian/bwins/QtWebKitu.def: 16 * symbian/eabi/QtWebKitu.def: 17 1 18 2010-05-04 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 19 -
trunk/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp
r57281 r58876 89 89 inspectorView->setPage(inspectorPage); 90 90 91 QUrl inspectorUrl = m_inspectedWebPage->settings()->inspectorUrl(); 91 QWebInspector* inspector = m_inspectedWebPage->d->getOrCreateInspector(); 92 QUrl inspectorUrl = inspector->property("_q_inspectorUrl").toUrl(); 92 93 if (!inspectorUrl.isValid()) 93 94 inspectorUrl = QUrl("qrc:/webkit/inspector/inspector.html"); 94 95 inspectorView->page()->mainFrame()->load(inspectorUrl); 95 96 m_inspectedWebPage->d->inspectorFrontend = inspectorView; 96 m_inspectedWebPage->d->getOrCreateInspector()->d->setFrontend(inspectorView);97 inspector->d->setFrontend(inspectorView); 97 98 98 99 inspectorView->page()->d->page->inspectorController()->setInspectorFrontendClient(new InspectorFrontendClientQt(m_inspectedWebPage, inspectorView)); -
trunk/WebKit/qt/symbian/bwins/QtWebKitu.def
r58391 r58876 626 626 ?qtwebkit_webframe_scrollRecursively@@YA_NPAVQWebFrame@@HH@Z @ 625 NONAME ABSENT ; bool qtwebkit_webframe_scrollRecursively(class QWebFrame *, int, int) 627 627 ?closeEvent@QWebInspector@@MAEXPAVQCloseEvent@@@Z @ 626 NONAME ; void QWebInspector::closeEvent(class QCloseEvent *) 628 ?inspectorUrl@QWebSettings@@QBE?AVQUrl@@XZ @ 627 NONAME ; class QUrl QWebSettings::inspectorUrl(void) const628 ?inspectorUrl@QWebSettings@@QBE?AVQUrl@@XZ @ 627 NONAME ABSENT ; class QUrl QWebSettings::inspectorUrl(void) const 629 629 ?isTiledBackingStoreFrozen@QGraphicsWebView@@QBE_NXZ @ 628 NONAME ; bool QGraphicsWebView::isTiledBackingStoreFrozen(void) const 630 630 ?pageChanged@QWebFrame@@IAEXXZ @ 629 NONAME ; void QWebFrame::pageChanged(void) … … 647 647 ?resizesToContents@QGraphicsWebView@@QBE_NXZ @ 646 NONAME ; bool QGraphicsWebView::resizesToContents(void) const 648 648 ?scrollToAnchor@QWebFrame@@QAEXABVQString@@@Z @ 647 NONAME ; void QWebFrame::scrollToAnchor(class QString const &) 649 ?setInspectorUrl@QWebSettings@@QAEXABVQUrl@@@Z @ 648 NONAME ; void QWebSettings::setInspectorUrl(class QUrl const &)649 ?setInspectorUrl@QWebSettings@@QAEXABVQUrl@@@Z @ 648 NONAME ABSENT ; void QWebSettings::setInspectorUrl(class QUrl const &) 650 650 ?setResizesToContents@QGraphicsWebView@@QAEX_N@Z @ 649 NONAME ; void QGraphicsWebView::setResizesToContents(bool) 651 651 ?setTiledBackingStoreFrozen@QGraphicsWebView@@QAEX_N@Z @ 650 NONAME ; void QGraphicsWebView::setTiledBackingStoreFrozen(bool) -
trunk/WebKit/qt/symbian/eabi/QtWebKitu.def
r57029 r58876 713 713 _ZN9QWebFrame11pageChangedEv @ 712 NONAME 714 714 _ZN9QWebFrame14scrollToAnchorERK7QString @ 713 NONAME 715 _ZN12QWebSettings15setInspectorUrlERK4QUrl @ 714 NONAME 715 _ZN12QWebSettings15setInspectorUrlERK4QUrl @ 714 NONAME ABSENT 716 716 _ZN13QWebInspector10closeEventEP11QCloseEvent @ 715 NONAME 717 717 _ZN16QGraphicsWebView26setTiledBackingStoreFrozenEb @ 716 NONAME … … 720 720 _Z19qt_drt_setMediaTypeP9QWebFrameRK7QString @ 719 NONAME 721 721 _Z26qt_drt_enableCaretBrowsingP8QWebPageb @ 720 NONAME 722 _ZNK12QWebSettings12inspectorUrlEv @ 721 NONAME 722 _ZNK12QWebSettings12inspectorUrlEv @ 721 NONAME ABSENT -
trunk/WebKitTools/ChangeLog
r58868 r58876 1 2010-05-06 Simon Hausmann <simon.hausmann@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Replace public inspector url with private property for QtLauncher 6 https://bugs.webkit.org/show_bug.cgi?id=35340 7 8 Replace the public API with a private dynamic property until this feature 9 is ready. 10 11 * QtLauncher/main.cpp: 12 (LauncherWindow::init): 13 1 14 2010-05-05 Joseph Pecoraro <joepeck@webkit.org> 2 15 -
trunk/WebKitTools/QtLauncher/main.cpp
r57974 r58876 238 238 connect(this, SIGNAL(enteredFullScreenMode(bool)), this, SLOT(toggleFullScreenMode(bool))); 239 239 240 m_inspector = new WebInspector(splitter); 240 241 if (!gInspectorUrl.isEmpty()) 241 page()->settings()->setInspectorUrl(gInspectorUrl); 242 243 m_inspector = new WebInspector(splitter); 242 m_inspector->setProperty("_q_inspectorUrl", gInspectorUrl); 244 243 m_inspector->setPage(page()); 245 244 m_inspector->hide();
Note: See TracChangeset
for help on using the changeset viewer.