- 05 Apr, 2011 37 commits
-
-
laszlo.1.gombos@nokia.com authored
Reviewed by Laszlo Gombos. [Qt] [Symbian] Disable WebKitTestRunner for Symbian https://bugs.webkit.org/show_bug.cgi?id=54977 This change is a preparation to enable building webkit2 for Symbian. Bug 57834 is filed to fix and enable WebKitTestRunner for Symbian. * Tools.pro: git-svn-id: svn://svn.chromium.org/blink/trunk@82930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alex@webkit.org authored
2011-04-05 Amruth Raj <amruthraj@motorola.com>, Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com> and Alejandro G. Castro <alex@igalia.com> Reviewed by Martin Robinson. [GTK] Implement WebPage class for WebKit2 https://bugs.webkit.org/show_bug.cgi?id=54230 Added functions to handle the generation of commands from the keycodes. * GNUmakefile.am: * Scripts/webkit2/messages.py: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/gtk/WebPageProxyGtk.cpp: (WebKit::WebPageProxy::getEditorCommandsForKeyEvent): * UIProcess/gtk/WebView.cpp: (WebKit::backspaceCallback): (WebKit::selectAllCallback): (WebKit::cutClipboardCallback): (WebKit::copyClipboardCallback): (WebKit::pasteClipboardCallback): (WebKit::toggleOverwriteCallback): (WebKit::popupMenuCallback): (WebKit::showHelpCallback): (WebKit::deleteFromCursorCallback): (WebKit::moveCursorCallback): (WebKit::WebView::WebView): (WebKit::WebView::getEditorCommandsForKeyEvent): * UIProcess/gtk/WebView.h: (WebKit::WebView::addPendingEditorCommand): * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebEditorClient.h: * WebProcess/WebCoreSupport/gtk/WebEditorClientGtk.cpp: Added. (WebKit::WebEditorClient::getEditorCommandsForKeyEvent): (WebKit::WebEditorClient::executePendingEditorCommands): (WebKit::WebEditorClient::handleKeyboardEvent): (WebKit::WebEditorClient::handleInputMethodKeydown): * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/gtk/WebPageGtk.cpp: Added. (WebKit::WebPage::platformInitialize): (WebKit::WebPage::platformPreferencesDidChange): (WebKit::scroll): (WebKit::WebPage::performDefaultBehaviorForKeyEvent): (WebKit::WebPage::platformHasLocalDataForURL): (WebKit::WebPage::cachedResponseMIMETypeForURL): (WebKit::WebPage::platformCanHandleRequest): git-svn-id: svn://svn.chromium.org/blink/trunk@82929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, add chromium-linux expectation for fast/ruby/overhang-vertical.html (the test changed in r82903). * platform/chromium-linux/fast/ruby/overhang-vertical-expected.png: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@82928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zoltan@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=57832 Reviewed by Andreas Kling. Only QWKPage has loadFinished signal so connect to it instead of BrowserWindow. * MiniBrowser/qt/UrlLoader.cpp: (UrlLoader::UrlLoader): git-svn-id: svn://svn.chromium.org/blink/trunk@82927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, revert bad rebaseline of english-lr-text-expected.html in r82918. * platform/chromium-linux/fast/blockflow/english-lr-text-expected.checksum: Added. * platform/chromium-win/fast/blockflow/english-lr-text-expected.checksum: Added. * platform/chromium-win/fast/blockflow/english-lr-text-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@82926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ap@apple.com authored
Reviewed by Darin Adler. Remove onformchange and onforminput events/event handlers https://bugs.webkit.org/show_bug.cgi?id=55755 <rdar://problem/9087969> * fast/dom/Window/window-properties-expected.txt: * fast/dom/Window/window-property-descriptors-expected.txt: * fast/forms/formchange-event-expected.txt: Removed. * fast/forms/formchange-event.html: Removed. * fast/forms/forminput-event-expected.txt: Removed. * fast/forms/forminput-event.html: Removed. * fast/forms/script-tests/formchange-event.js: Removed. * fast/forms/script-tests/forminput-event.js: Removed. 2011-04-05 Alexey Proskuryakov <ap@apple.com> Reviewed by Darin Adler. Remove onformchange and onforminput events/event handlers https://bugs.webkit.org/show_bug.cgi?id=55755 <rdar://problem/9087969> Covered by existing tests. * dom/Document.h: * dom/Document.idl: * dom/Element.h: * dom/Element.idl: * dom/Event.cpp: (WebCore::Event::fromUserGesture): * dom/EventNames.h: * html/FormAssociatedElement.h: * html/HTMLAttributeNames.in: * html/HTMLElement.cpp: (WebCore::HTMLElement::parseMappedAttribute): * html/HTMLElement.h: * html/HTMLFormControlElement.h: (WebCore::HTMLFormControlElement::isEnumeratable): * html/HTMLFormElement.cpp: * html/HTMLFormElement.h: * html/HTMLFormElement.idl: * html/HTMLInputElement.h: * html/HTMLKeygenElement.h: * html/HTMLObjectElement.h: (WebCore::HTMLObjectElement::isEnumeratable): * html/HTMLOutputElement.h: (WebCore::HTMLOutputElement::isEnumeratable): * html/HTMLSelectElement.h: (WebCore::HTMLSelectElement::isEnumeratable): * html/HTMLTextAreaElement.h: (WebCore::HTMLTextAreaElement::isEnumeratable): * page/DOMWindow.h: * page/DOMWindow.idl: git-svn-id: svn://svn.chromium.org/blink/trunk@82925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, rebaseline Kusa-Makura-background-canvas.html on chromium-mac after r82903. * platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Removed. * platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.png: * platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Removed. * platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@82924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, rolling out r82915. http://trac.webkit.org/changeset/82915 https://bugs.webkit.org/show_bug.cgi?id=57825 Broke 270 chromium tests on win and linux (Requested by podivilov on #webkit). * rendering/RenderThemeChromiumSkia.cpp: (WebCore::RenderThemeChromiumSkia::defaultGUIFont): git-svn-id: svn://svn.chromium.org/blink/trunk@82923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zoltan@webkit.org authored
[Qt] Linux Release minimal build fix after r82919. * MiniBrowser/qt/BrowserWindow.cpp: (BrowserWindow::loadURLListFromFile): * QtTestBrowser/launcherwindow.cpp: (LauncherWindow::loadURLListFromFile): git-svn-id: svn://svn.chromium.org/blink/trunk@82922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, remove unnecessary checksum files for fast/ruby tests. * platform/chromium-linux/fast/blockflow/english-lr-text-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-beforeafter-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-length-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-run-break-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-runs-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-runs-spans-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/ruby-trailing-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-rt-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-text1-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-text2-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-insert-text3-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt1-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt2-expected.checksum: Removed. * platform/chromium-linux/fast/ruby/rubyDOM-remove-text1-expected.checksum: Removed. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82921 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=57824 * platform/qt/Skipped:Add fast/ruby/overhang-horizontal.html and fast/ruby/overhang-vertical.html. git-svn-id: svn://svn.chromium.org/blink/trunk@82920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zoltan@webkit.org authored
Reviewed by Andreas Kling. [Qt] Make URL loader accessible from testbrowser's menus https://bugs.webkit.org/show_bug.cgi?id=57823 Add "Load URLs from file" to QtTestBrowser's and to MiniBrowser's menu. * MiniBrowser/qt/BrowserWindow.cpp: (BrowserWindow::BrowserWindow): (BrowserWindow::loadURLListFromFile): (BrowserWindow::~BrowserWindow): * MiniBrowser/qt/BrowserWindow.h: * QtTestBrowser/launcherwindow.cpp: (LauncherWindow::LauncherWindow): (LauncherWindow::~LauncherWindow): (LauncherWindow::createChrome): (LauncherWindow::loadURLListFromFile): * QtTestBrowser/launcherwindow.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Unreviewed, update fast/ruby/* chromium expectations after r82903. * platform/chromium-linux/fast/ruby/ruby-beforeafter-expected.png: * platform/chromium-linux/fast/ruby/ruby-length-expected.png: * platform/chromium-linux/fast/ruby/ruby-run-break-expected.png: * platform/chromium-linux/fast/ruby/ruby-runs-expected.png: * platform/chromium-linux/fast/ruby/ruby-runs-spans-expected.png: * platform/chromium-linux/fast/ruby/ruby-trailing-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-rt-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-text1-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-text2-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-insert-text3-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt1-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-remove-rt2-expected.png: * platform/chromium-linux/fast/ruby/rubyDOM-remove-text1-expected.png: * platform/chromium-mac/fast/ruby/ruby-beforeafter-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-length-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-run-break-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-runs-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-runs-spans-expected.png: Added. * platform/chromium-mac/fast/ruby/ruby-trailing-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-rt-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-text1-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-text2-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-insert-text3-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-remove-rt1-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-remove-rt2-expected.png: Added. * platform/chromium-mac/fast/ruby/rubyDOM-remove-text1-expected.png: Added. * platform/chromium-win/fast/blockflow/english-lr-text-expected.checksum: Removed. * platform/chromium-win/fast/blockflow/english-lr-text-expected.png: * platform/chromium-win/fast/ruby/overhang-horizontal-expected.png: Added. * platform/chromium-win/fast/ruby/overhang-vertical-expected.png: Added. * platform/chromium-win/fast/ruby/ruby-beforeafter-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-beforeafter-expected.png: * platform/chromium-win/fast/ruby/ruby-beforeafter-expected.txt: * platform/chromium-win/fast/ruby/ruby-length-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-length-expected.png: * platform/chromium-win/fast/ruby/ruby-length-expected.txt: * platform/chromium-win/fast/ruby/ruby-run-break-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-run-break-expected.png: * platform/chromium-win/fast/ruby/ruby-run-break-expected.txt: * platform/chromium-win/fast/ruby/ruby-runs-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-runs-expected.png: * platform/chromium-win/fast/ruby/ruby-runs-expected.txt: * platform/chromium-win/fast/ruby/ruby-runs-spans-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-runs-spans-expected.png: * platform/chromium-win/fast/ruby/ruby-runs-spans-expected.txt: * platform/chromium-win/fast/ruby/ruby-trailing-expected.checksum: Removed. * platform/chromium-win/fast/ruby/ruby-trailing-expected.png: * platform/chromium-win/fast/ruby/ruby-trailing-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-rt-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-rt-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-rt-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-text1-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-text1-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-text1-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-text2-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-text2-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-text2-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-insert-text3-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-insert-text3-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-insert-text3-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt1-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-remove-rt1-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt1-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt2-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-remove-rt2-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-remove-rt2-expected.txt: * platform/chromium-win/fast/ruby/rubyDOM-remove-text1-expected.checksum: Removed. * platform/chromium-win/fast/ruby/rubyDOM-remove-text1-expected.png: * platform/chromium-win/fast/ruby/rubyDOM-remove-text1-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hans@chromium.org authored
Reviewed by Adam Barth Clean up IndexedDB WebKit API https://bugs.webkit.org/show_bug.cgi?id=57507 Rename the backend proxy files that didn't have Backend in their name. Everything in WebKit should be in the WebKit namespace. Put everything behind the feature flag so we're consistient. Put the feature flag #if above includes. * WebKit.gyp: * src/IDBCallbacksProxy.cpp: (WebKit::IDBCallbacksProxy::create): (WebKit::IDBCallbacksProxy::IDBCallbacksProxy): (WebKit::IDBCallbacksProxy::onError): (WebKit::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBCursorBackendProxy.cpp: (WebKit::IDBCursorBackendProxy::create): (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy): * src/IDBCursorBackendProxy.h: * src/IDBDatabaseBackendProxy.cpp: (WebKit::IDBDatabaseBackendProxy::create): (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy): (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy): (WebKit::IDBDatabaseBackendProxy::name): (WebKit::IDBDatabaseBackendProxy::version): (WebKit::IDBDatabaseBackendProxy::objectStoreNames): (WebKit::IDBDatabaseBackendProxy::createObjectStore): (WebKit::IDBDatabaseBackendProxy::deleteObjectStore): (WebKit::IDBDatabaseBackendProxy::setVersion): (WebKit::IDBDatabaseBackendProxy::transaction): (WebKit::IDBDatabaseBackendProxy::close): (WebKit::IDBDatabaseBackendProxy::open): * src/IDBDatabaseCallbacksProxy.cpp: (WebKit::IDBDatabaseCallbacksProxy::create): (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy): * src/IDBDatabaseCallbacksProxy.h: * src/IDBFactoryBackendProxy.cpp: (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy): (WebKit::IDBFactoryBackendProxy::open): * src/IDBFactoryBackendProxy.h: * src/IDBIndexBackendProxy.cpp: (WebKit::IDBIndexBackendProxy::create): (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy): * src/IDBIndexBackendProxy.h: * src/IDBObjectStoreBackendProxy.cpp: (WebKit::IDBObjectStoreBackendProxy::create): (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy): (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy): (WebKit::IDBObjectStoreBackendProxy::name): (WebKit::IDBObjectStoreBackendProxy::keyPath): (WebKit::IDBObjectStoreBackendProxy::indexNames): (WebKit::IDBObjectStoreBackendProxy::get): (WebKit::IDBObjectStoreBackendProxy::put): (WebKit::IDBObjectStoreBackendProxy::deleteFunction): (WebKit::IDBObjectStoreBackendProxy::clear): (WebKit::IDBObjectStoreBackendProxy::createIndex): (WebKit::IDBObjectStoreBackendProxy::index): (WebKit::IDBObjectStoreBackendProxy::deleteIndex): (WebKit::IDBObjectStoreBackendProxy::openCursor): * src/IDBObjectStoreBackendProxy.h: Added. * src/IDBObjectStoreProxy.h: Removed. * src/IDBTransactionBackendProxy.cpp: (WebKit::IDBTransactionBackendProxy::create): (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy): (WebKit::IDBTransactionBackendProxy::objectStore): * src/IDBTransactionBackendProxy.h: (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction): * src/IDBTransactionCallbacksProxy.cpp: (WebKit::IDBTransactionCallbacksProxy::create): (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy): * src/IDBTransactionCallbacksProxy.h: * src/WebIDBCallbacksImpl.cpp: (WebKit::WebIDBCallbacksImpl::onError): (WebKit::WebIDBCallbacksImpl::onSuccess): * src/WebIDBCallbacksImpl.h: * src/WebIDBCursorImpl.cpp: * src/WebIDBCursorImpl.h: * src/WebIDBDatabaseCallbacksImpl.cpp: (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange): * src/WebIDBDatabaseCallbacksImpl.h: * src/WebIDBDatabaseError.cpp: * src/WebIDBDatabaseImpl.cpp: * src/WebIDBDatabaseImpl.h: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl): * src/WebIDBFactoryImpl.h: * src/WebIDBIndexImpl.cpp: * src/WebIDBIndexImpl.h: * src/WebIDBKey.cpp: (WebKit::WebIDBKey::createFromValueAndKeyPath): (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue): * src/WebIDBKeyPath.cpp: (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&): * src/WebIDBKeyRange.cpp: * src/WebIDBObjectStoreImpl.cpp: * src/WebIDBObjectStoreImpl.h: * src/WebIDBTransactionCallbacksImpl.cpp: * src/WebIDBTransactionCallbacksImpl.h: * src/WebIDBTransactionImpl.cpp: * src/WebIDBTransactionImpl.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simonjam@chromium.org authored
Reviewed by Adam Barth. Stop preload scanning CSS when it's impossible to have another @import. https://bugs.webkit.org/show_bug.cgi?id=57664 * fast/preloader/style-expected.txt: * fast/preloader/style.html: Updated to test invalid @import statements. 2011-04-05 James Simonsen <simonjam@chromium.org> Reviewed by Adam Barth. Stop preload scanning CSS when it's impossible to have another @import. https://bugs.webkit.org/show_bug.cgi?id=57664 @import statements are only allowed at the beginning of a CSS file. Only comments or @charset can precede them. After seeing anything else, abort early so that we: - don't have to parse the rest of the CSS. - don't preload something that the regular parser won't load. * html/parser/CSSPreloadScanner.cpp: (WebCore::CSSPreloadScanner::scan): Terminate early if we're done with @imports. (WebCore::CSSPreloadScanner::tokenize): Terminate early if we see a {} or any style rule. (WebCore::CSSPreloadScanner::emitRule): Only @charset or @import are allowed to precede @import. * html/parser/CSSPreloadScanner.h: Add DoneParsingImportRules state. git-svn-id: svn://svn.chromium.org/blink/trunk@82916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Tony Chang. [chromium] Specify 'sans-serif' as a fallback to the default UI font 'Arial' for non-latin UI scripts (e.g. CJK). https://bugs.webkit.org/show_bug.cgi?id=55035 No new tests, because it may still fail if the system is not configured properly to resolve 'sans-serif' to existing real font file, thus even manual test is hard to systematically tell it is working properly. * rendering/RenderThemeChromiumSkia.cpp git-svn-id: svn://svn.chromium.org/blink/trunk@82915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Darin Fisher. Don't clear existing files if the user cancels the file chooser dialog. https://bugs.webkit.org/show_bug.cgi?id=55200 * src/WebFileChooserCompletionImpl.cpp: (WebKit::WebFileChooserCompletionImpl::didChooseFile): git-svn-id: svn://svn.chromium.org/blink/trunk@82914 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Update a test affected by the behavior change of r82908. https://bugs.webkit.org/show_bug.cgi?id=57636 * fast/forms/ValidityState-tooLong-textarea-expected.txt: * fast/forms/script-tests/ValidityState-tooLong-textarea.js: git-svn-id: svn://svn.chromium.org/blink/trunk@82913 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Darin Fisher. [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow. https://bugs.webkit.org/show_bug.cgi?id=55681 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::find): (WebKit::WebFrameImpl::scopeStringMatches): git-svn-id: svn://svn.chromium.org/blink/trunk@82912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philn@webkit.org authored
Unreviewed, GTK rebaseline after r82903. * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: * platform/gtk/fast/ruby/ruby-beforeafter-expected.txt: * platform/gtk/fast/ruby/ruby-length-expected.txt: * platform/gtk/fast/ruby/ruby-run-break-expected.txt: * platform/gtk/fast/ruby/ruby-runs-expected.txt: * platform/gtk/fast/ruby/ruby-runs-spans-expected.txt: * platform/gtk/fast/ruby/ruby-trailing-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-rt-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-text1-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-text2-expected.txt: * platform/gtk/fast/ruby/rubyDOM-insert-text3-expected.txt: * platform/gtk/fast/ruby/rubyDOM-remove-rt1-expected.txt: * platform/gtk/fast/ruby/rubyDOM-remove-rt2-expected.txt: * platform/gtk/fast/ruby/rubyDOM-remove-text1-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82911 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
Roll Chromium DEPS. * DEPS: Rolled! git-svn-id: svn://svn.chromium.org/blink/trunk@82910 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Alexey Proskuryakov. Improper use of " in video-can-play-type layout test https://bugs.webkit.org/show_bug.cgi?id=57728 * media/video-can-play-type.html: git-svn-id: svn://svn.chromium.org/blink/trunk@82909 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Reviewed by Dimitri Glazkov. Setting defaultValue on a textarea with a modified value still clobbers the value https://bugs.webkit.org/show_bug.cgi?id=57636 * fast/forms/textarea-set-defaultvalue-after-value-expected.txt: Added. * fast/forms/textarea-set-defaultvalue-after-value.html: Added. 2011-04-05 Kent Tamura <tkent@chromium.org> Reviewed by Dimitri Glazkov. Setting defaultValue on a textarea with a modified value still clobbers the value https://bugs.webkit.org/show_bug.cgi?id=57636 If the dirty flag is true, we shouldn't update the value when the defaultValue is updated Test: fast/forms/textarea-set-defaultvalue-after-value.html * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::childrenChanged): (WebCore::HTMLTextAreaElement::setDefaultValue): git-svn-id: svn://svn.chromium.org/blink/trunk@82908 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
<rdar://problem/8727879> https://bugs.webkit.org/show_bug.cgi?id=57815 Unreviewed buildfix after r82906. Add UNUSED_PARAM to resourceCachesToClear, because it is only used within #if USE(CFURLCACHE) guard. * WebProcess/ResourceCache/WebResourceCacheManager.cpp: (WebKit::WebResourceCacheManager::clearCacheForOrigin): git-svn-id: svn://svn.chromium.org/blink/trunk@82907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
<rdar://problem/8727879> https://bugs.webkit.org/show_bug.cgi?id=57815 Reviewed by Brian Weinstein. Source/WebKit2: - Remove WKContextClearResourceCaches and WKContextClearApplicationCache in favor of their more modern counterparts WKResourceCacheManagerClearCacheForAllOrigins and WKApplicationCacheManagerDeleteAllEntries. - Expand clearing functionality of WKResourceCacheManager by adding type of resources to clear. * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::WebProcessCreationParameters): (WebKit::WebProcessCreationParameters::encode): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: Remove clearing bools. * UIProcess/API/C/WKAPICast.h: (WebKit::toResourceCachesToClear): Update for new name of enum. * UIProcess/API/C/WKContext.cpp: * UIProcess/API/C/WKContext.h: Remove WKContextClearResourceCaches and WKContextClearApplicationCache. * UIProcess/API/C/WKResourceCacheManager.cpp: (WKResourceCacheManagerClearCacheForOrigin): (WKResourceCacheManagerClearCacheForAllOrigins): * UIProcess/API/C/WKResourceCacheManager.h: Add WKResourceCachesToClear enum and use it in the clearing functions. * UIProcess/WebContext.cpp: (WebKit::WebContext::WebContext): (WebKit::WebContext::ensureWebProcess): * UIProcess/WebContext.h: * WebProcess/WebProcess.messages.in: Remove clearing functions and setting of bools for clear on launch. * UIProcess/WebFullScreenManagerProxy.cpp: Remove unnecessary #include. * UIProcess/WebResourceCacheManagerProxy.cpp: (WebKit::WebResourceCacheManagerProxy::clearCacheForOrigin): (WebKit::WebResourceCacheManagerProxy::clearCacheForAllOrigins): * UIProcess/WebResourceCacheManagerProxy.h: * WebProcess/ResourceCache/WebResourceCacheManager.cpp: (WebKit::WebResourceCacheManager::clearCacheForOrigin): (WebKit::WebResourceCacheManager::clearCacheForAllOrigins): * WebProcess/ResourceCache/WebResourceCacheManager.h: * WebProcess/ResourceCache/WebResourceCacheManager.messages.in: Add enum parameter describing what type of caches to clear. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess): (WebKit::WebProcess::clearResourceCaches): * WebProcess/WebProcess.h: No longer need to use opaque type now that it is not a message receiver. Tools: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WebKit2/SendingMessagesToTheWebProcessBeforeItIsValid.cpp: Removed. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Remove SendingMessagesToTheWebProcessBeforeItIsValid since the API it was testing is now removed. git-svn-id: svn://svn.chromium.org/blink/trunk@82906 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Unreviewed, rolling out r82876. http://trac.webkit.org/changeset/82876 https://bugs.webkit.org/show_bug.cgi?id=57816 Caused a lot of test crashes (Requested by tkent on #webkit). * JavaScriptCore.exp: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: * wtf/FastMalloc.cpp: (WTF::tryFastMalloc): (WTF::fastMalloc): (WTF::tryFastCalloc): (WTF::fastCalloc): (WTF::fastFree): (WTF::tryFastRealloc): (WTF::fastRealloc): (WTF::fastMallocSize): (WTF::TCMalloc_PageHeap::isScavengerSuspended): (WTF::TCMalloc_PageHeap::scheduleScavenger): (WTF::TCMalloc_PageHeap::suspendScavenger): (WTF::TCMalloc_PageHeap::signalScavenger): (WTF::TCMallocStats::malloc): (WTF::TCMallocStats::free): (WTF::TCMallocStats::fastCalloc): (WTF::TCMallocStats::tryFastCalloc): (WTF::TCMallocStats::calloc): (WTF::TCMallocStats::fastRealloc): (WTF::TCMallocStats::tryFastRealloc): (WTF::TCMallocStats::realloc): (WTF::TCMallocStats::fastMallocSize): * wtf/FastMalloc.h: (WTF::Internal::fastMallocMatchValidationType): (WTF::Internal::fastMallocMatchValidationValue): (WTF::Internal::setFastMallocMatchValidationType): (WTF::fastMallocMatchValidateFree): * wtf/Platform.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82905 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Add a case label which was unexpectedly removed in r82899. https://bugs.webkit.org/show_bug.cgi?id=50661 * css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): git-svn-id: svn://svn.chromium.org/blink/trunk@82904 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rdar://problem/7709452mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=49334 Reviewed by Simon Fraser. Source/WebCore: Tests: fast/ruby/overhang-horizontal.html fast/ruby/overhang-vertical.html This is a first cut at ruby overhang. It allows ruby text to hang over other text of equal or smaller size. Two notable omissions are that max preferred width computation was not patched, so it will overshoot, and that overhang ignores the width of the adjoining text runs. * rendering/RenderBlock.h: * rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Adjust margins of ruby runs for overhang. (WebCore::RenderBlock::fitBelowFloats): Maintain the increase in line width to compensate for overhang. (WebCore::RenderBlock::findNextLineBreak): When encountering a ruby run, increase the line width to account for the fact that overhang will be collapsed. * rendering/RenderRubyRun.cpp: (WebCore::RenderRubyRun::getOverhang): Added. Allows ruby to overhang if the adjoining renderer is text with equal or smaller font size. * rendering/RenderRubyRun.h: (WebCore::toRenderRubyRun): LayoutTests: * fast/ruby/overhang-horizontal-expected.checksum: Added. * fast/ruby/overhang-horizontal-expected.png: Added. * fast/ruby/overhang-horizontal-expected.txt: Added. * fast/ruby/overhang-horizontal.html: Added. * fast/ruby/overhang-vertical-expected.checksum: Added. * fast/ruby/overhang-vertical-expected.png: Added. * fast/ruby/overhang-vertical-expected.txt: Added. * fast/ruby/overhang-vertical.html: Added. * platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: * platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png: * platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: * platform/mac/fast/blockflow/english-lr-text-expected.checksum: * platform/mac/fast/blockflow/english-lr-text-expected.png: * platform/mac/fast/ruby/ruby-beforeafter-expected.checksum: * platform/mac/fast/ruby/ruby-beforeafter-expected.png: * platform/mac/fast/ruby/ruby-beforeafter-expected.txt: * platform/mac/fast/ruby/ruby-length-expected.checksum: * platform/mac/fast/ruby/ruby-length-expected.png: * platform/mac/fast/ruby/ruby-length-expected.txt: * platform/mac/fast/ruby/ruby-run-break-expected.checksum: * platform/mac/fast/ruby/ruby-run-break-expected.png: * platform/mac/fast/ruby/ruby-run-break-expected.txt: * platform/mac/fast/ruby/ruby-runs-expected.checksum: * platform/mac/fast/ruby/ruby-runs-expected.png: * platform/mac/fast/ruby/ruby-runs-expected.txt: * platform/mac/fast/ruby/ruby-runs-spans-expected.checksum: * platform/mac/fast/ruby/ruby-runs-spans-expected.png: * platform/mac/fast/ruby/ruby-runs-spans-expected.txt: * platform/mac/fast/ruby/ruby-trailing-expected.checksum: * platform/mac/fast/ruby/ruby-trailing-expected.png: * platform/mac/fast/ruby/ruby-trailing-expected.txt: * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.checksum: * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.png: * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt: * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.checksum: * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.png: * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt: * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.checksum: * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.png: * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.txt: * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.checksum: * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.png: * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.txt: * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.checksum: * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.png: * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt: * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.checksum: * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.png: * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.txt: * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.checksum: * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.png: * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82903 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@google.com authored
Unreviewed, Chromium expectations update for tests broken after r82899. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82902 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@google.com authored
Unreviewed expectations update following r82899. * platform/gtk/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt: * platform/gtk/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt: * platform/gtk/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt: * platform/gtk/fast/dom/HTMLMeterElement/meter-element-expected.txt: * platform/gtk/fast/dom/HTMLMeterElement/meter-optimums-expected.txt: * platform/gtk/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt: * platform/gtk/fast/dom/HTMLMeterElement/meter-styles-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82901 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
http://webkit.org/b/57384ddkilzer@apple.com authored
Reviewed by Alexey Proskuryakov. Source/WebCore: * WebCore.exp.in: Export wkSetHTTPPipeliningMaximumPriority(). * platform/mac/WebCoreSystemInterface.h: (wkSetHTTPPipeliningMaximumPriority): Added function pointer declaration. * platform/mac/WebCoreSystemInterface.mm: (wkSetHTTPPipeliningMaximumPriority): Added function pointer. * platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::initializeMaximumHTTPConnectionCountPerHost): Call wkSetHTTPPipeliningMaximumPriority() to set the maximum HTTP pipelining priority. * platform/network/cf/ResourceRequestCFNet.h: (WebCore::toResourceLoadPriority): Renamed from mapHTTPPipeliningPriorityToResourceLoadPriority(). Updated to to handle Unresolved case. (WebCore::toHTTPPipeliningPriority): Renamed from mapResourceLoadPriorityToHTTPPipeliningPriority(). Updated to handle Unresolved case. * platform/network/mac/ResourceRequestMac.mm: (WebCore::ResourceRequest::doUpdateResourceRequest): Switched to use toResourceLoadPriority(). (WebCore::ResourceRequest::doUpdatePlatformRequest): Switched to use toHTTPPipeliningPriority(). Moved shouldForceHTTPPipeliningPriorityHigh() check into the argument of toHTTPPipeliningPriority() instead of hard-coding a now-incorrect value. Source/WebKit/mac: * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Added initialization for wkSetHTTPPipeliningMaximumPriority(). Source/WebKit2: * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: (InitWebCoreSystemInterface): Added initialization for wkSetHTTPPipeliningMaximumPriority(). WebKitLibraries: * WebKitSystemInterface.h: (WKSetHTTPPipeliningMaximumPriority): Added declaration. (WKExtractWordDefinitionTokenRangeFromContextualString): Added missing declaration from r81890. (WKShowWordDefinitionWindow): Ditto. (WKHideWordDefinitionWindow): Ditto. * libWebKitSystemInterfaceLeopard.a: Updated. * libWebKitSystemInterfaceSnowLeopard.a: Updated. git-svn-id: svn://svn.chromium.org/blink/trunk@82900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@google.com authored
Reviewed by Kent Tamura. Convert <meter> shadow DOM to a DOM-based shadow. https://bugs.webkit.org/show_bug.cgi?id=50661 Updated expectations due to shadow structure chagne. Also updated meter-styles.html pixel result because the render tree is now laid out as normal flexboxes and its layout result is actually different, especially if there are non-zero borders on shadow elements. * fast/dom/HTMLMeterElement/meter-styles.html: * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt: * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png: * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt: 2011-04-04 MORITA Hajime <morrita@google.com> Reviewed by Kent Tamura. Convert <meter> shadow DOM to a DOM-based shadow. https://bugs.webkit.org/show_bug.cgi?id=50661 Eliminated a large part of <meter> custom layout code, which is replaced by a shadow tree. Note that the shadow tree is created on construction time and will remain during the host HTMLMeterElement lifecycle. * Android.mk: * CMakeLists.txt: * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * css/CSSMutableStyleDeclaration.cpp: (WebCore::CSSMutableStyleDeclaration::setProperty): * css/CSSMutableStyleDeclaration.h: * css/CSSSelector.cpp: (WebCore::CSSSelector::pseudoId): (WebCore::nameToPseudoTypeMap): (WebCore::CSSSelector::extractPseudoType): * css/CSSSelector.h: * css/html.css: (meter): (meter::-webkit-meter-bar): (meter::-webkit-meter-optimum-value): (meter::-webkit-meter-suboptimum-value): (meter::-webkit-meter-even-less-good-value): * html/HTMLMeterElement.cpp: (WebCore::HTMLMeterElement::~HTMLMeterElement): (WebCore::HTMLMeterElement::parseMappedAttribute): (WebCore::HTMLMeterElement::attach): (WebCore::HTMLMeterElement::valueRatio): (WebCore::HTMLMeterElement::didElementStateChange): (WebCore::HTMLMeterElement::createShadowSubtree): * html/HTMLMeterElement.h: * html/shadow/MeterShadowElement.cpp: Added. (WebCore::MeterShadowElement::MeterShadowElement): (WebCore::MeterShadowElement::meterElement): (WebCore::MeterShadowElement::rendererIsNeeded): (WebCore::MeterBarElement::shadowPseudoId): (WebCore::MeterValueElement::shadowPseudoId): (WebCore::MeterValueElement::setWidthPercentage): * html/shadow/MeterShadowElement.h: Added. (WebCore::MeterBarElement::MeterBarElement): (WebCore::MeterBarElement::create): (WebCore::MeterValueElement::MeterValueElement): (WebCore::MeterValueElement::create): * rendering/RenderMeter.cpp: (WebCore::RenderMeter::RenderMeter): (WebCore::RenderMeter::~RenderMeter): (WebCore::RenderMeter::valueRatio): * rendering/RenderMeter.h: (WebCore::RenderMeter::renderName): (WebCore::RenderMeter::isMeter): (WebCore::RenderMeter::requiresForcedStyleRecalcPropagation): (WebCore::RenderMeter::canHaveChildren): git-svn-id: svn://svn.chromium.org/blink/trunk@82899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
Reviewed by Antti Koivisto. Stop JSCell.h from including Structure.h https://bugs.webkit.org/show_bug.cgi?id=57809 * runtime/GetterSetter.h: * runtime/JSAPIValueWrapper.h: * runtime/JSCell.h: (JSC::JSCell::JSValue::toThisObject): * runtime/JSString.h: * runtime/ScopeChain.h: * runtime/Structure.h: (JSC::JSCell::isObject): (JSC::JSCell::isString): (JSC::JSCell::classInfo): (JSC::JSCell::createDummyStructure): (JSC::JSValue::needsThisConversion): (JSC::MarkStack::internalAppend): * runtime/StructureChain.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
Move to using FrameView::resize to handle changes in view size. https://bugs.webkit.org/show_bug.cgi?id=57805 git-svn-id: svn://svn.chromium.org/blink/trunk@82897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersca@apple.com authored
Reviewed by Darin Adler. Send NPCocoaEventFlagsChanged events https://bugs.webkit.org/show_bug.cgi?id=57811 <rdar://problem/9215600> * Shared/WebEvent.h: (WebKit::WebEvent::capsLockKey): Add CapsLock modifier and getter. * Shared/mac/WebEventFactory.mm: (WebKit::modifiersForEvent): Check for NSAlphaShiftKeyMask and set the CapsLockKey modifier. * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: (WebKit::modifierFlags): Check for CapsLockKey and set NSAlphaShiftKeyMask. (WebKit::isFlagsChangedEvent): Return whether a given event is a Cocoa flags changed event. (WebKit::initializeKeyboardEvent): If this is a flags changed event, set the event type to NPCocoaEventFlagsChanged. git-svn-id: svn://svn.chromium.org/blink/trunk@82896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mrobinson@webkit.org authored
Build fix for GTK+ after r82876. * Source/autotools/symbols.filter: Update the symbol filter to include new symbols from WTF that DRT uses. git-svn-id: svn://svn.chromium.org/blink/trunk@82895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersca@apple.com authored
Reviewed by Darin Adler. Don't discard the backing stores of WKViews in the key window https://bugs.webkit.org/show_bug.cgi?id=57808 <rdar://problem/9110793> <rdar://problem/9194284> <rdar://problem/9222216> * UIProcess/DrawingAreaProxy.h: (WebKit::DrawingAreaProxy::setBackingStoreIsDiscardable): Add empty stub. * UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl): Initialize m_isBackingStoreDiscardable to true. (WebKit::DrawingAreaProxyImpl::setBackingStoreIsDiscardable): Set m_isBackingStoreDiscardable and schedule or stop the discard backing store timer. (WebKit::DrawingAreaProxyImpl::discardBackingStoreSoon): Don't start the timer if m_isBackingStoreDiscardable is false. * UIProcess/DrawingAreaProxyImpl.h: Add m_isBackingStoreDiscardable. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::viewStateDidChange): Mark the backing store as discardable if the view is hidden or if the containing window is not active. git-svn-id: svn://svn.chromium.org/blink/trunk@82894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 04 Apr, 2011 3 commits
-
-
enne@google.com authored
Unreviewed, rolling out r82879. http://trac.webkit.org/changeset/82879 Trying to fix 10.6 layout test expectations broke 10.5 * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.checksum: Added. * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.png: Added. * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png: Removed. * platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-1-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-10-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-2-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-3-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-4-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-5-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-6-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-7-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-8-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-add-summary-9-expected.png: Added. * platform/chromium-mac/fast/html/details-no-summary1-expected.png: Added. * platform/chromium-mac/fast/html/details-no-summary2-expected.png: Added. * platform/chromium-mac/fast/html/details-no-summary3-expected.png: Added. * platform/chromium-mac/fast/html/details-no-summary4-expected.png: Added. * platform/chromium-mac/fast/html/details-open-javascript-expected.png: Added. * platform/chromium-mac/fast/html/details-open1-expected.png: Added. * platform/chromium-mac/fast/html/details-open2-expected.png: Added. * platform/chromium-mac/fast/html/details-open3-expected.png: Added. * platform/chromium-mac/fast/html/details-open4-expected.png: Added. * platform/chromium-mac/fast/html/details-open5-expected.png: Added. * platform/chromium-mac/fast/html/details-open6-expected.png: Added. * platform/chromium-mac/fast/html/details-position-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-1-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-2-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-3-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-4-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-5-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.png: Added. * platform/chromium-mac/fast/html/details-remove-summary-6-expected.png: Added. * platform/chromium-mac/fast/html/details-writing-mode-expected.png: Added. * platform/chromium-mac/fast/inline-block/inline-block-vertical-align-expected.checksum: Added. * platform/chromium-mac/fast/inline-block/inline-block-vertical-align-expected.png: Added. * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.checksum: Added. * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.png: Added. * platform/chromium-mac/fast/multicol/nested-columns-expected.checksum: Added. * platform/chromium-mac/fast/multicol/nested-columns-expected.png: * platform/chromium-mac/fast/repaint/list-marker-expected.checksum: Added. * platform/chromium-mac/fast/repaint/list-marker-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@82893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tony@chromium.org authored
Reviewed by Ojan Vafai. [chromium] don't write .checksum files if a fallback platform has an embedded checksum https://bugs.webkit.org/show_bug.cgi?id=57783 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py: git-svn-id: svn://svn.chromium.org/blink/trunk@82892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
Reviewed by Adam Barth. Introduce EventDispatchMediator abstraction, which encapsulate all non-trivial logic around firing a specific type of an event. https://bugs.webkit.org/show_bug.cgi?id=57562 Refactoring, covered by existing tests. * dom/Event.cpp: (WebCore::EventDispatchMediator::EventDispatchMediator): Added. (WebCore::EventDispatchMediator::~EventDispatchMediator): Added. (WebCore::EventDispatchMediator::dispatchEvent): Added. (WebCore::EventDispatchMediator::event): Added. * dom/Event.h: Added decl. * dom/EventDispatcher.cpp: (WebCore::EventDispatcher::dispatchEvent): Changed to use EventDispatchMediator. * dom/EventDispatcher.h: Updated decls. * dom/KeyboardEvent.cpp: (WebCore::KeyboardEventDispatchMediator::KeyboardEventDispatchMediator): Added. (WebCore::KeyboardEventDispatchMediator::dispatchEvent): Added. * dom/KeyboardEvent.h: Updated decls * dom/Node.cpp: (WebCore::Node::dispatchEvent): Changed to use EventDispatchMediator. (WebCore::Node::dispatchKeyEvent): Changed to use KeyboardEventDispatchMediator. git-svn-id: svn://svn.chromium.org/blink/trunk@82891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-