WebKit-https.git
10 years ago2009-11-11 Laszlo Gombos <laszlo.1.gombos@nokia.com>
eric@webkit.org [Wed, 11 Nov 2009 20:00:05 +0000 (20:00 +0000)]
2009-11-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Alexey Proskuryakov.

        Refactor multiple JavaScriptCore threads
        https://bugs.webkit.org/show_bug.cgi?id=31328

        Remove the id field from the PlatformThread structure
        as it is not used.

        * runtime/Collector.cpp:
        (JSC::getCurrentPlatformThread):
        (JSC::suspendThread):
        (JSC::resumeThread):
        (JSC::getPlatformThreadRegisters):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50833 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebKit/qt: Unreviewed buildbot fix.
kenneth@webkit.org [Wed, 11 Nov 2009 19:57:02 +0000 (19:57 +0000)]
WebKit/qt: Unreviewed buildbot fix.

Export a method to the DRT to know if the document has a
document element.

* Api/qwebframe.cpp:
(qt_drt_hasDocumentElement):

WebKitTools: Unreviewed Qt buildbot fix.

My previous fix was wrong, so revert that change and fix it by
returning when the document of the frame has no document element.
Idea is borrowed from mac and win DRT.

* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::dumpFramesAsText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50832 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoMake V8 bindings return NULL handles instead of calling v8::Undefined(). This has...
snej@chromium.org [Wed, 11 Nov 2009 19:53:19 +0000 (19:53 +0000)]
Make V8 bindings return NULL handles instead of calling v8::Undefined(). This has equivalent
meaning to the caller, saves code, and appears to save a few cycles at runtime too.
https://bugs.webkit.org/show_bug.cgi?id=31367

Reviewed by Dimitri Glazkov.

* bindings/scripts/CodeGeneratorV8.pm: Change "v8::Undefined()" to "v8::Handle<v8::Value>()"

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50831 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Eric Z. Ayers <zundel@google.com>
eric@webkit.org [Wed, 11 Nov 2009 19:51:11 +0000 (19:51 +0000)]
2009-11-11  Eric Z. Ayers  <zundel@google.com>

        Reviewed by Pavel Feldman.

        Added a test of an externally loaded script tag for Inspector
        timeline records.
        Fixed identity comparisons.

        https://bugs.webkit.org/show_bug.cgi?id=31365

        * inspector/timeline-script-tag-1.html:
        * inspector/timeline-script-tag-2-expected.txt: Added.
        * inspector/timeline-script-tag-2.html: Added.
        * inspector/timeline-script-tag-2.js: Added.
        * inspector/timeline-test.js:
        ():
        (timelineAgentTypeToString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50830 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 11 Nov 2009 19:46:44 +0000 (19:46 +0000)]
2009-11-11  Eric Seidel  <eric@webkit.org>

        Reviewed byg Kenneth Rohde Christiansen.

        Update Kenneth's committer record to include the email he
        uses on lists.webkit.org.

        * Scripts/modules/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50829 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 11 Nov 2009 19:23:07 +0000 (19:23 +0000)]
2009-11-11  Eric Seidel  <eric@webkit.org>

        Reviewed by Gustavo Noronha Silva.

        Several committers use separate email addresses for bugzilla and svn.webkit.org
        https://bugs.webkit.org/show_bug.cgi?id=31364

        Update records for existing committers to include email addresses
        used in svn.webkit.org and lists.webkit.org.
        Most committers use the same email address in all 3 places, but some use
        separate addresses.  committers.py needs record of each of these addresses.

        * Scripts/modules/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50828 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRubber-stamped by Kenneth Christiansen.
tonikitoo@webkit.org [Wed, 11 Nov 2009 19:21:52 +0000 (19:21 +0000)]
Rubber-stamped by Kenneth Christiansen.

Grouping some of the current skipped plugin tests that fail
due to the same reason: no support for objective-c functions.

* platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50827 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoOptimize V8 getDOMNodeMap(), a hot function in Dromaeo DOM tests, by increasing inlining.
snej@chromium.org [Wed, 11 Nov 2009 19:19:50 +0000 (19:19 +0000)]
Optimize V8 getDOMNodeMap(), a hot function in Dromaeo DOM tests, by increasing inlining.

Reviewed by Dimitri Glazkov.

* bindings/v8/DOMData.cpp:
(WebCore::DOMData::getCurrent):  Moved getCurrentMainThread to MainThreadDOMData::getCurrent
    so it can be inlined by its caller.
* bindings/v8/DOMData.h:
* bindings/v8/MainThreadDOMData.cpp:
(WebCore::MainThreadDOMData::getCurrent):  Moved here from DOMData.cpp.
(WebCore::MainThreadDOMData::getMainThreadStore):  Added UNLIKELY macro to improve codegen.
(WebCore::MainThreadDOMData::getCurrentMainThreadStore):  Combination of getCurrentMainThread
    and getStore, which inline both calls together.
* bindings/v8/MainThreadDOMData.h:
(WebCore::MainThreadDOMData::getStore):  Broke out nonvirtual getMainThreadStore for inlineability.
* bindings/v8/V8DOMMap.cpp:
(WebCore::getDOMNodeMap):  Call new getCurrentMainThreadStore, which is faster.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50826 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Wed, 11 Nov 2009 19:04:59 +0000 (19:04 +0000)]
2009-11-11  Daniel Bates  <dbates@webkit.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=31334

        We should skip the test case /fast/events/drag-and-drop-fire-drag-dragover.html
        on both the Qt and GTK builds since there are issues with drag-and-drop support
        in these builds.

        For Qt: https://bugs.webkit.org/show_bug.cgi?id=31332
        For GTK: https://bugs.webkit.org/show_bug.cgi?id=30576

        * platform/gtk/Skipped: Skip test case /fast/events/drag-and-drop-fire-drag-dragover.html
        since there are issues with drag-and-drop support in both GTK and Qt.
        * platform/qt/Skipped: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50825 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoIf the frame has no innerText don't append it, and
kenneth@webkit.org [Wed, 11 Nov 2009 18:45:11 +0000 (18:45 +0000)]
If the frame has no innerText don't append it, and
do not add a newline which breaks some cross platform
results.

Reviewed by Simon Hausmann.

* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::dumpFramesAsText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50824 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix a crash in the layout test plugins/document-open.html
kenneth@webkit.org [Wed, 11 Nov 2009 18:44:58 +0000 (18:44 +0000)]
Fix a crash in the layout test plugins/document-open.html

Reviewed by Simon Hausmann.

* Api/qwebframe.cpp:
(QWebFrame::toPlainText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50823 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Liang QI <liang.qi@nokia.com>
eric@webkit.org [Wed, 11 Nov 2009 18:43:55 +0000 (18:43 +0000)]
2009-11-11  Liang QI  <liang.qi@nokia.com>

        [Qt] Fix tst_qwebpage and tst_qwebframe compilation on Symbian.

        * tests/qwebframe/qwebframe.pro:
        * tests/qwebframe/tst_qwebframe.cpp:
        * tests/qwebpage/qwebpage.pro:
        * tests/qwebpage/tst_qwebpage.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50822 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 11 Nov 2009 18:39:58 +0000 (18:39 +0000)]
2009-11-11  Eric Seidel  <eric@webkit.org>

        No review, adding second email address for an existing committer.

        Add Yong Li's second bugzilla account to his committer record.
        See: https://bugs.webkit.org/show_bug.cgi?id=27371#c27

        * Scripts/modules/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50821 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Nov 2009 18:36:47 +0000 (18:36 +0000)]
2009-11-11  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        http://trac.webkit.org/changeset/50811 removed some methods from
        platform/network/SocketStreamHandleClient.h, so remove them
        here too.

        https://bugs.webkit.org/show_bug.cgi?id=31360

        * public/WebSocketStreamHandleClient.h:
        * src/SocketStreamHandle.cpp:
        (WebCore::SocketStreamHandleInternal::send):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50820 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Nov 2009 18:32:02 +0000 (18:32 +0000)]
2009-11-11  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Add methods to KURLGoogle.cpp declared in http://trac.webkit.org/changeset/50784 but not defined when using KURLGoogle.

        https://bugs.webkit.org/show_bug.cgi?id=31357

        * platform/KURLGoogle.cpp:
        (WebCore::isSchemeFirstChar):
        (WebCore::isSchemeChar):
        (WebCore::KURL::hasPort):
        (WebCore::KURL::removePort):
        (WebCore::protocolIsValid):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50819 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Regression: Preserve the parent of plugin objects when using
hausmann@webkit.org [Wed, 11 Nov 2009 18:31:33 +0000 (18:31 +0000)]
[Qt] Regression: Preserve the parent of plugin objects when using
QtWebKit with only a QWebPage.

Reviewed by Tor Arne Vestbø.

* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::createPlugin): Don't reparent
plugins to 0.
* tests/qwebpage/tst_qwebpage.cpp:
(PluginCounterPage::PluginCounterPage): Initialize m_pluginParent to 0.
(PluginCounterPage::~PluginCounterPage): Delete the plugin parent later
(after the page)
(PluginTracerPage::createPlugin): Assign a dummy parent to the plugin.
(PluginTracerPage::PluginTracerPage): Set up the plugin parent.
(tst_QWebPage::createViewlessPlugin): Verify that for viewless pages the
plugin parent remains unchanged.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50818 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 David Boddie <dboddie@trolltech.com>
eric@webkit.org [Wed, 11 Nov 2009 18:21:37 +0000 (18:21 +0000)]
2009-11-11  David Boddie  <dboddie@trolltech.com>

        [Qt] Doc: Added internal or hidden placeholder documentation.

        * Api/qwebpage.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50817 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix, no reviewed.
bfulgham@webkit.org [Wed, 11 Nov 2009 18:15:16 +0000 (18:15 +0000)]
Build fix, no reviewed.

Correct setPlatformFillColor and setPlatformStrokeColor calls
to match new ColorSpace-supporting signatures.

* platform/graphics/win/GraphicsContextCairoWin.cpp:  Add the
  color space to the set[...]Color calls.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50816 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Martin Smith <msmith@trolltech.com>
eric@webkit.org [Wed, 11 Nov 2009 18:14:15 +0000 (18:14 +0000)]
2009-11-11  Martin Smith  <msmith@trolltech.com>

        [Qt] doc: Changed Trolltech to Nokia

        * Api/qwebview.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50815 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Nov 2009 18:06:17 +0000 (18:06 +0000)]
2009-11-11  Nate Chapin  <japhet@chromium.org>

        Reviewed by Eric Seidel.

        Remove some additional references to dragSourceMovedTo() not
        needed after http://trac.webkit.org/changeset/50786.

        https://bugs.webkit.org/show_bug.cgi?id=31354

        * public/WebView.h:
        * src/WebViewImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50814 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Yuta Kitamura <yutak@chromium.org>
eric@webkit.org [Wed, 11 Nov 2009 17:51:01 +0000 (17:51 +0000)]
2009-11-11  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Eric Seidel.

        Convert LayoutTests/fast/inline/dirtyLinesForInline.html into dumpAsText.

        This test checks if the browser crashes after some operations. It doesn't test
        any other interesting features, so we can safely make it a dumpAsText test.

        https://bugs.webkit.org/show_bug.cgi?id=31335

        * fast/inline/dirtyLinesForInline-expected.txt: Added.
        * fast/inline/dirtyLinesForInline.html: Added dumpAsText().
        * platform/mac/fast/inline/dirtyLinesForInline-expected.checksum: Removed.
        * platform/mac/fast/inline/dirtyLinesForInline-expected.png: Removed.
        * platform/mac/fast/inline/dirtyLinesForInline-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50813 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoImplement missing functionality in the Gtk/Qt TestNetscapePlugin.
kenneth@webkit.org [Wed, 11 Nov 2009 17:33:25 +0000 (17:33 +0000)]
Implement missing functionality in the Gtk/Qt TestNetscapePlugin.

Reviewed by Simon Hausmann.

* DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
(webkit_test_plugin_new_instance):
(webkit_test_plugin_destroy_instance):
(webkit_test_plugin_destroy_stream):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50812 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago Reviewed by Sam Weinig.
ap@apple.com [Wed, 11 Nov 2009 17:22:52 +0000 (17:22 +0000)]
    Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=31327
        Clean up SocketStreamHandleClient interface

        No change in behavior.

        * platform/network/SocketStreamHandleClient.h: Removed willOpenStream and willSendData.
        (WebCore::SocketStreamHandleClient::willOpenStream): Removed. This is currently not used by
        the only client (WebSocketChannel), and it's not clear what this callback's semantics
        should be.
        (WebCore::SocketStreamHandleClient::willSendData): Ditto.
        (WebCore::SocketStreamHandleClient::receivedCancellation): Removed, because it was misplaced.
        For ResourceHandle, this method is called when the user cancels authentication sheet,
        not when something happens with the stream.

        * websockets/WebSocketChannel.h: Some WebSocketChannel methods were virtual without any
        reason. Also, added didReceiveAuthenticationChallenge/didCancelAuthenticationChallenge.

        * websockets/WebSocketChannel.cpp: Adjusted for the above change. Authentication-related
        callbacks have no real implementation yet.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50811 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAllow custom memory allocation control for the part of page directory in WebCore
zoltan@webkit.org [Wed, 11 Nov 2009 17:06:13 +0000 (17:06 +0000)]
Allow custom memory allocation control for the part of page directory in WebCore
https://bugs.webkit.org/show_bug.cgi?id=31350

Reviewed by Eric Seidel.

Inherits the following classes from Noncopyable because these are instantiated
by 'new' and these are no need to be copyable:

class DragController         - instantiated at: WebCore/page/Page.cpp:107
class FocusController        - instantiated at: WebCore/page/Page.cpp:109
class Settings               - instantiated at: WebCore/page/Page.cpp:116
class PluginHalter           - instantiated at: WebCore/page/Page.cpp:160
struct ScheduledEvent        - instantiated at: WebCore/page/FrameView.cpp:1275
class UserScript             - instantiated at: WebCore/page/PageGroup.cpp:208
struct EventHandlerDragState - instantiated at: WebCore/page/EventHandler.cpp:182
class XSSAuditor             - instantiated at: WebCore/bindings/js/ScriptController.cpp:70
class UserStyleSheet         - instantiated at: WebCore/page/PageGroup.cpp:222

Inherits PropertyWrapperBase class from Noncopyable because (its child class)
PropertyWrapper is instantiated by 'new' in
WebCore/page/animation/AnimationBase.cpp:564 it is no need to be copyable.

* page/DragController.h:
* page/EventHandler.h:
* page/FocusController.h:
* page/FrameView.cpp:
* page/PluginHalter.h:
* page/Settings.h:
* page/UserScript.h:
* page/UserStyleSheet.h:
* page/XSSAuditor.h:
* page/animation/AnimationBase.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50810 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Eric Z. Ayers <zundel@google.com>
eric@webkit.org [Wed, 11 Nov 2009 17:05:30 +0000 (17:05 +0000)]
2009-11-11  Eric Z. Ayers  <zundel@google.com>

        Reviewed by Timothy Hatcher.

        Adds a test that dumps the timeline data for a simple script tag.

        https://bugs.webkit.org/show_bug.cgi?id=31204

        * inspector/inspector-test.js:
        (onload):
        * inspector/timeline-script-tag-1-expected.txt: Added.
        * inspector/timeline-script-tag-1.html: Added.
        * inspector/timeline-test.js: Added.
        (retrieveTimelineData):
        ():
        (dumpTimelineRecords):
        (printTimelineRecordProperties):
        (isNonDeterministicProp):
        (printProps):
        (isTimelineOverheadRecord):
        (markTimelineRecordAsOverhead):
        (timelineAgentTypeToString):
        (frontend_startTimelineProfiler.window.WebInspector.addRecordToTimeline):
        (frontend_startTimelineProfiler):
        (frontend_getTimelineResults):
        (frontend_setup):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50809 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Nov 2009 17:03:11 +0000 (17:03 +0000)]
2009-11-11  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Remove WebViewImpl::dragSourceMovedTo(), as it is no longer
        needed after http://trac.webkit.org/changeset/50786.

        https://bugs.webkit.org/show_bug.cgi?id=31354

        * src/WebViewImpl.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50808 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoQt build fix on Mac OS X
vestbo@webkit.org [Wed, 11 Nov 2009 16:02:17 +0000 (16:02 +0000)]
Qt build fix on Mac OS X

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50807 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Laszlo Gombos <laszlo.1.gombos@nokia.com>
eric@webkit.org [Wed, 11 Nov 2009 14:45:38 +0000 (14:45 +0000)]
2009-11-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        https://bugs.webkit.org/show_bug.cgi?id=31323
        Fix a few compiler warnings

        No new tests as there is no new functionality.

        * editing/htmlediting.cpp:
        (WebCore::isRenderedAsNonInlineTableImageOrHR): Use explicit
        parentheses to silence gcc 4.4 -Wparentheses warnings
2009-11-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        https://bugs.webkit.org/show_bug.cgi?id=31323
        Fix a few compiler warnings

        * tests/qwebframe/tst_qwebframe.cpp: Add extra brackets
        to make it explicit where the else case belongs

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50806 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Force -graphicssystem raster and -style windows when running DRT
vestbo@webkit.org [Wed, 11 Nov 2009 14:19:07 +0000 (14:19 +0000)]
[Qt] Force -graphicssystem raster and -style windows when running DRT

Reviewed by Simon Hausmann.

* DumpRenderTree/qt/main.cpp:
* Scripts/run-webkit-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50805 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: Set m_hasPendingGeometryChange to true by default, so that
kenneth@webkit.org [Wed, 11 Nov 2009 14:11:16 +0000 (14:11 +0000)]
WebCore: Set m_hasPendingGeometryChange to true by default, so that
at least one call to NPP_SetWindow is executed, which is
needed by the DRT plugin testing framework.

Reviewed by Mark Rowe.

* plugins/PluginView.cpp:
(WebCore::PluginView::PluginView):

WebKitTools: Implement the functionality needed by plugins/window-open.html

Reviewed by Mark Rowe.

* DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
(webkit_test_plugin_new_instance):
(webkit_test_plugin_set_window):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50804 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRubber-stamped by Kenneth Rohde Christiansen.
ossy@webkit.org [Wed, 11 Nov 2009 14:00:12 +0000 (14:00 +0000)]
Rubber-stamped by Kenneth Rohde Christiansen.

https://bugs.webkit.org/show_bug.cgi?id=31348
[Qt] Remove unnecessary LUT creator from WebCore.pro

* WebCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50803 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoCompute correct library paths for Qt
vestbo@webkit.org [Wed, 11 Nov 2009 13:31:48 +0000 (13:31 +0000)]
Compute correct library paths for Qt

Reviewed by Simon Hausmann.

* Scripts/webkitdirs.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50802 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: Introduce a function for querying the input method status
hausmann@webkit.org [Wed, 11 Nov 2009 13:19:35 +0000 (13:19 +0000)]
WebCore: Introduce a function for querying the input method status
in QWebPageClient.

Reviewed by Tor Arne Vestbø.

* platform/qt/QWebPageClient.h:

WebKit/qt: Fix enabling of software input panel when activating editable elements
in QGraphicsWebView.

Reviewed by Tor Arne Vestbø.

* Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::inputMethodEnabled): Implement method to
query for input method support.
* Api/qwebpage.cpp:
(QWebPageWidgetClient::inputMethodEnabled): Ditto for QWidget.
(QWebPagePrivate::handleSoftwareInputPanel): Don't use view() to
test for input method support. Instead query using QWebPageClient
and send the SIPR event to the ownerWidget() instead of the view().
The latter is null for QGraphicsWebView.
* tests/qwebpage/tst_qwebpage.cpp:
(EventSpy::EventSpy):
(EventSpy::eventFilter):
(tst_QWebPage::inputMethods): Modify the test to verify that SIPR
events are dispatched when activating focusable content.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50801 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed. Skipping new tests.
kov@webkit.org [Wed, 11 Nov 2009 12:57:30 +0000 (12:57 +0000)]
Unreviewed. Skipping new tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50800 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoReviewed by Holger Freyther.
kov@webkit.org [Wed, 11 Nov 2009 12:44:02 +0000 (12:44 +0000)]
Reviewed by Holger Freyther.

Should not print javascript console messages to stdout
https://bugs.webkit.org/show_bug.cgi?id=31346

* webkit/webkitwebview.cpp:
(webkit_web_view_real_console_message): Print console messages to
stderr instead, using the recommended method (a g_log variant).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50799 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Benjamin Otte <otte@gnome.org>
eric@webkit.org [Wed, 11 Nov 2009 11:24:56 +0000 (11:24 +0000)]
2009-11-11  Benjamin Otte  <otte@gnome.org>

        Reviewed by Jan Alonzo.

        [GTK] Black artifacts in youtube.com/html5

        Paint the video to the given size. It's the job of the callers to keep
        track of aspect ratio. RenderVideo.cpp does it for the <video>
        element.
        https://bugs.webkit.org/show_bug.cgi?id=30925

        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivate::paint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50798 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Joanmarie Diggs <joanmarie.diggs@gmail.com>
eric@webkit.org [Wed, 11 Nov 2009 11:17:20 +0000 (11:17 +0000)]
2009-11-11  Joanmarie Diggs  <joanmarie.diggs@gmail.com>

        Reviewed by Reviewed by Jan Alonzo.

        https://bugs.webkit.org/show_bug.cgi?id=30901
        [Gtk] Need to de-lint the Atk a11y code

        Cleaned up some missed capitalization style-guideline violations.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50797 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
eric@webkit.org [Wed, 11 Nov 2009 09:38:36 +0000 (09:38 +0000)]
2009-11-11  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>

        Reviewed by Eric Seidel.

        [Qt] Make the default style background color valid.
        Currently the color is transparent but invalid, this causes
        list boxes in QtWebKit to be drawn with a black background
        since r49242.
        https://bugs.webkit.org/show_bug.cgi?id=31295

        * rendering/style/RenderStyle.h:
        (WebCore::InheritedFlags::initialBackgroundColor):
        * rendering/style/StyleBackgroundData.cpp:
        (WebCore::StyleBackgroundData::StyleBackgroundData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50796 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Yuzo Fujishima <yuzo@google.com>
eric@webkit.org [Wed, 11 Nov 2009 09:23:18 +0000 (09:23 +0000)]
2009-11-11  Yuzo Fujishima  <yuzo@google.com>

        Reviewed by David Levin.

        Add a test for web socket handshake error.

        https://bugs.webkit.org/show_bug.cgi?id=31336

        * websocket/tests/handshake-error-expected.txt: Added.
        * websocket/tests/handshake-error.html: Added.
        * websocket/tests/handshake-error_wsh.py: Added.
        * websocket/tests/script-tests/handshake-error.js: Added.
        (endTest):
        (ws.onopen):
        (ws.onmessage):
        (ws.onclose):
        (timeOutCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50795 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Yuzo Fujishima <yuzo@google.com>
eric@webkit.org [Wed, 11 Nov 2009 08:45:09 +0000 (08:45 +0000)]
2009-11-11  Yuzo Fujishima  <yuzo@google.com>

        Reviewed by David Levin.

        Add a simple web socket test. This tests basic features of Web Socket.
        This also serves as an example of Web Socket tests.

        https://bugs.webkit.org/show_bug.cgi?id=27492

        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
        * websocket/tests/resources/simple.js: Added.
        (ws.onopen):
        (ws.onmessage):
        (ws.onclose):
        (timeOutCallback):
        * websocket/tests/simple-expected.txt: Added.
        * websocket/tests/simple.html: Added.
        * websocket/tests/simple_wsh.py: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50794 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-11 Philippe Normand <pnormand@igalia.com>
eric@webkit.org [Wed, 11 Nov 2009 08:36:58 +0000 (08:36 +0000)]
2009-11-11  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Xan Lopez.

        https://bugs.webkit.org/show_bug.cgi?id=30221
        [GTK] fails to load media embedded in iframe element

        * platform/gtk/Skipped: Unskip fixed tests.
2009-11-11  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Xan Lopez.

        https://bugs.webkit.org/show_bug.cgi?id=30221
        [GTK] fails to load media embedded in iframe element

        The FrameLoader can show Media if the audio/video support is
        enabled at compile time.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::canShowMIMEType):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50793 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoSimplify the ownership model for worlds - rather than having a pair of weak references
barraclough@apple.com [Wed, 11 Nov 2009 07:56:52 +0000 (07:56 +0000)]
Simplify the ownership model for worlds - rather than having a pair of weak references
between DOMWrapperWorld and ScriptController/ScriptCachedFrameData, give the latter an
ref pointer to the former.  This reduces complexity & cost of the caching entries in the
back forward cache.

Patch by Gavin Barraclough <barraclough@apple.com> on 2009-11-10
Reviewed by Geoff Garen.

* WebCore.base.exp:
* bindings/js/JSDOMBinding.cpp:
(WebCore::DOMWrapperWorld::~DOMWrapperWorld):
* bindings/js/JSDOMBinding.h:
(WebCore::DOMWrapperWorld::forgetDocument):
* bindings/js/ScriptCachedFrameData.cpp:
(WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
(WebCore::ScriptCachedFrameData::restore):
(WebCore::ScriptCachedFrameData::clear):
* bindings/js/ScriptCachedFrameData.h:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::~ScriptController):
(WebCore::ScriptController::clearWindowShell):
(WebCore::ScriptController::initScript):
(WebCore::ScriptController::updateDocument):
* bindings/js/ScriptController.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50792 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoLinux build fix: Added an #include for UINT_MAX.
ggaren@apple.com [Wed, 11 Nov 2009 07:30:06 +0000 (07:30 +0000)]
Linux build fix: Added an #include for UINT_MAX.

* runtime/WeakRandom.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50791 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoJavaScriptGlue build fix: Marked a file 'private' instead of 'project'.
ggaren@apple.com [Wed, 11 Nov 2009 07:27:43 +0000 (07:27 +0000)]
JavaScriptGlue build fix: Marked a file 'private' instead of 'project'.

* JavaScriptCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50790 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFaster Math.random, based on GameRand.
ggaren@apple.com [Wed, 11 Nov 2009 07:22:30 +0000 (07:22 +0000)]
Faster Math.random, based on GameRand.

Reviewed by Gavin "avGni arBalroguch" Barraclough.

SunSpider says 1.4% faster.

* GNUmakefile.am:
* JavaScriptCore.gypi:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj: Added the header to the project.

* runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):
* runtime/JSGlobalData.h: Use an object to track random number generation
state, initialized to the current time.

* runtime/MathObject.cpp:
(JSC::MathObject::MathObject):
(JSC::mathProtoFuncRandom): Use the new hotness.

* runtime/WeakRandom.h: Added.
(JSC::WeakRandom::WeakRandom):
(JSC::WeakRandom::get):
(JSC::WeakRandom::advance): The new hotness.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50789 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRe-baselined layout test results for Windows for tests in fast/ruby.
rolandsteiner@chromium.org [Wed, 11 Nov 2009 05:51:02 +0000 (05:51 +0000)]
Re-baselined layout test results for Windows for tests in fast/ruby.
(see https://bugs.webkit.org/show_bug.cgi?id=28420)

Reviewed by Eric Seidel.

* platform/win/fast/ruby: Added.
* platform/win/fast/ruby/ruby-empty-rt-expected.checksum: Added.
* platform/win/fast/ruby/ruby-empty-rt-expected.png: Added.
* platform/win/fast/ruby/ruby-empty-rt-expected.txt: Added.
* platform/win/fast/ruby/ruby-length-expected.checksum: Added.
* platform/win/fast/ruby/ruby-length-expected.png: Added.
* platform/win/fast/ruby/ruby-length-expected.txt: Added.
* platform/win/fast/ruby/ruby-run-break-expected.checksum: Added.
* platform/win/fast/ruby/ruby-run-break-expected.png: Added.
* platform/win/fast/ruby/ruby-run-break-expected.txt: Added.
* platform/win/fast/ruby/ruby-runs-expected.checksum: Added.
* platform/win/fast/ruby/ruby-runs-expected.png: Added.
* platform/win/fast/ruby/ruby-runs-expected.txt: Added.
* platform/win/fast/ruby/ruby-runs-spans-expected.checksum: Added.
* platform/win/fast/ruby/ruby-runs-spans-expected.png: Added.
* platform/win/fast/ruby/ruby-runs-spans-expected.txt: Added.
* platform/win/fast/ruby/ruby-simple-expected.checksum: Added.
* platform/win/fast/ruby/ruby-simple-expected.png: Added.
* platform/win/fast/ruby/ruby-simple-expected.txt: Added.
* platform/win/fast/ruby/ruby-simple-rp-expected.checksum: Added.
* platform/win/fast/ruby/ruby-simple-rp-expected.png: Added.
* platform/win/fast/ruby/ruby-simple-rp-expected.txt: Added.
* platform/win/fast/ruby/ruby-trailing-expected.checksum: Added.
* platform/win/fast/ruby/ruby-trailing-expected.png: Added.
* platform/win/fast/ruby/ruby-trailing-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-insert-rt-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-insert-rt-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-insert-rt-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-insert-text1-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-insert-text1-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-insert-text1-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-insert-text2-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-insert-text2-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-insert-text2-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-insert-text3-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-insert-text3-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-insert-text3-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-remove-rt1-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-remove-rt1-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-remove-rt1-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-remove-rt2-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-remove-rt2-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-remove-rt2-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-remove-text1-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-remove-text1-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-remove-text1-expected.txt: Added.
* platform/win/fast/ruby/rubyDOM-remove-text2-expected.checksum: Added.
* platform/win/fast/ruby/rubyDOM-remove-text2-expected.png: Added.
* platform/win/fast/ruby/rubyDOM-remove-text2-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50788 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Wed, 11 Nov 2009 03:08:27 +0000 (03:08 +0000)]
2009-11-10  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Darin Adler.

        rename counter to makeCounterNode in RenderCounter.cpp
        https://bugs.webkit.org/show_bug.cgi?id=31289

        No new test because this is just a small refactoring.

        * rendering/RenderCounter.cpp:
        (WebCore::findPlaceForCounter):
        (WebCore::makeCounterNode):
        (WebCore::RenderCounter::originalText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50787 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Wed, 11 Nov 2009 02:52:23 +0000 (02:52 +0000)]
2009-11-10  Daniel Bates  <dbates@webkit.org>

        Reviewed by Oliver Hunt.

        https://bugs.webkit.org/show_bug.cgi?id=30754

        Patch 2 of 2.

        Removed method EventHandler::dragSourceMovedTo, since it is no longer
        needed. This method fired a drag event whenever the mouse moved, but
        section 7.9.4 of the HTML 5 spec. defines the drag-and-drop processing
        model independent of when the mouse moves. See "Among other changes..."
        in the change log for patch 1 for more details.

        * WebCore.DragSupport.exp:
        * page/EventHandler.cpp: Removed method EventHandler::dragSourceMovedTo.
        (WebCore::EventHandler::handleDrag): Updated comment about reentrancy issue.
        * page/EventHandler.h:

2009-11-10  Daniel Bates  <dbates@webkit.org>

        Reviewed by Oliver Hunt.

        https://bugs.webkit.org/show_bug.cgi?id=30754

        Removed method draggedImage:movedTo:

        * WebView/WebFrame.mm:
        * WebView/WebFrameInternal.h:
        * WebView/WebHTMLView.mm:

2009-11-10  Daniel Bates  <dbates@webkit.org>

        Reviewed by Oliver Hunt.

        https://bugs.webkit.org/show_bug.cgi?id=30754

        Modified WebDropSource::QueryContinueDrag so as to not call EventHandler::dragSourceMovedTo.

        * WebDropSource.cpp:
        (WebDropSource::QueryContinueDrag): Removed call to EventHandler::dragSourceMovedTo.

2009-11-10  Daniel Bates  <dbates@webkit.org>

        Reviewed by Oliver Hunt.

        https://bugs.webkit.org/show_bug.cgi?id=30754

        Patch 1 of 2.

        As per Section 7.9.4 of the HTML 5 spec. <http://dev.w3.org/html5/spec/Overview.html#drag-and-drop-processing-model>,
        the drag event should always fire before the dragover event.

        In fixing this bug, this patch also makes our drag processing model
        conform to the HTML 5 spec.

        Among the changes, this patch ensures that the drag event isn't fired outside
        of the drag-and-drop processing loop, WebCore::EventHandler::updateDragAndDrop.
        Currently, the drag event is fired whenever the mouse button is down and the OS
        detects the mouse moved. But, as per the spec, the drag event should
        fire approx. every 350ms so long as the mouse button is down.

        Test: fast/events/drag-and-drop-fire-drag-dragover.html

        * page/EventHandler.cpp:
        (WebCore::EventHandler::clear):
        (WebCore::EventHandler::canHandleDragAndDropForTarget): Formerly named handleDragAndDropForTarget.
        Modified to determine when we are in the correct instance of EventHandler to service the drag
        and drop operation.
        (WebCore::EventHandler::updateDragAndDrop): Moved code from WebCore::EventHandler::dragSourceMovedTo
        into this method.
        (WebCore::EventHandler::cancelDragAndDrop):
        (WebCore::EventHandler::performDragAndDrop):
        (WebCore::EventHandler::clearDragState):
        * page/EventHandler.h: Added field m_shouldOnlyFireDragOverEvent to determine whether
        we should fire both drag and dragover events or only the dragover event.

2009-11-10  Daniel Bates  <dbates@webkit.org>

        Reviewed by Oliver Hunt.

        https://bugs.webkit.org/show_bug.cgi?id=30754

        Tests that the drag event always fires before the dragover event.

        Also, re-bases the result for test fast/events/drag-in-frames.html, since
        we now conform to the HTML 5 spec.

        * fast/events/drag-and-drop-fire-drag-dragover-expected.txt: Added.
        * fast/events/drag-and-drop-fire-drag-dragover.html: Added.
        * fast/events/drag-in-frames-expected.txt: Rebased result.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50786 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Vitaly Repeshko <vitalyr@chromium.org>
eric@webkit.org [Wed, 11 Nov 2009 02:15:19 +0000 (02:15 +0000)]
2009-11-10  Vitaly Repeshko  <vitalyr@chromium.org>

        Reviewed by Dimitri Glazkov.

        [V8] Fix crash in V8CustomXPathNSResolver (http://crbug.com/26726).
        https://bugs.webkit.org/show_bug.cgi?id=31301

        * fast/xpath/xpath-detached-iframe-resolver-crash-expected.txt: Added.
        * fast/xpath/xpath-detached-iframe-resolver-crash.html: Added.
2009-11-10  Vitaly Repeshko  <vitalyr@chromium.org>

        Reviewed by Dimitri Glazkov.

        [V8] Fix crash in V8CustomXPathNSResolver (http://crbug.com/26726).
        https://bugs.webkit.org/show_bug.cgi?id=31301

        Tested by new fast/xpath/xpath-detached-iframe-resolver-crash.html.

        Allowed passing V8Proxy for the calling JS context:
        * bindings/v8/V8DOMWrapper.h:
        (WebCore::V8DOMWrapper::getXPathNSResolver):
        * bindings/v8/custom/V8CustomXPathNSResolver.cpp:
        (WebCore::V8CustomXPathNSResolver::create):
        (WebCore::V8CustomXPathNSResolver::V8CustomXPathNSResolver):
        (WebCore::V8CustomXPathNSResolver::lookupNamespaceURI):
        * bindings/v8/custom/V8CustomXPathNSResolver.h:
        * bindings/v8/custom/V8DocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50785 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yael Aharon <yael.aharon@nokia.com>
eric@webkit.org [Wed, 11 Nov 2009 02:07:18 +0000 (02:07 +0000)]
2009-11-10  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Timothy Hatcher.

        Implement URL decomposition IDL attributes for HTMLAnchorElement.
        https://bugs.webkit.org/show_bug.cgi?id=29972

        Testcases for setting and getting different parts of the URL.

        * fast/dom/HTMLAnchorElement: Added.
        * fast/dom/HTMLAnchorElement/script-tests: Added.
        * fast/dom/HTMLAnchorElement/script-tests/TEMPLATE.html: Added.
        * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-hash.js: Added.
        * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js: Added.
        * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-hostname.js: Added.
        * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-pathname.js: Added.
        * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-port.js: Added.
        * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-protocol.js: Added.
        * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-search.js: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-hash.html: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-host.html: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-hostname.html: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-pathname.html: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-port.html: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt: Added.
        * fast/dom/HTMLAnchorElement/set-href-attribute-search.html: Added.
2009-11-10  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Timothy Hatcher.

        Implement URL decomposition IDL attributes for HTMLAnchorElement.
        https://bugs.webkit.org/show_bug.cgi?id=29972.

        Add methods for setting different parts of the URL in href attribute.

        Tests: fast/dom/HTMLAnchorElement/set-href-attribute-hash.html
               fast/dom/HTMLAnchorElement/set-href-attribute-host.html
               fast/dom/HTMLAnchorElement/set-href-attribute-hostname.html
               fast/dom/HTMLAnchorElement/set-href-attribute-pathname.html
               fast/dom/HTMLAnchorElement/set-href-attribute-port.html
               fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html
               fast/dom/HTMLAnchorElement/set-href-attribute-search.html

        * bindings/js/JSLocationCustom.cpp:
        (WebCore::JSLocation::setPort):
        * html/HTMLAnchorElement.cpp:
        (WebCore::parsePortFromStringPosition):
        (WebCore::HTMLAnchorElement::setHash):
        (WebCore::HTMLAnchorElement::setHost):
        (WebCore::HTMLAnchorElement::setHostname):
        (WebCore::HTMLAnchorElement::setPathname):
        (WebCore::HTMLAnchorElement::setPort):
        (WebCore::HTMLAnchorElement::setProtocol):
        (WebCore::HTMLAnchorElement::setSearch):
        * html/HTMLAnchorElement.h:
        * html/HTMLAnchorElement.idl:
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::iconURL):
        * platform/KURL.cpp:
        (WebCore::KURL::removePort):
        (WebCore::KURL::setPort):
        (WebCore::KURL::prettyURL):
        (WebCore::protocolIsValid):
        * platform/KURL.h:
        (WebCore::KURL::canSetHostOrPort):
        (WebCore::KURL::canSetPathname):
        (WebCore::KURL::hasPort):
        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50784 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago<http://webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail...
mrowe@apple.com [Wed, 11 Nov 2009 01:29:33 +0000 (01:29 +0000)]
<webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail when new tests are added

Reviewed by Sam Weinig.

The first request to an HTTPS URL results in didFailProvisionalLoadWithError being called with an error
about the validity of the self-signed certificates used in the regression tests.  We would then add the
host to the ignore list for SSL certificate errors and retry the request.  If this happened during a test
that had enabled frame load delegate logging this would result in extra log messages being generated,
causing the test to fail.

We address this by explicitly ignoring SSL certificate errors for localhost and 127.0.0.1 before running any
tests.

* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50783 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate getComputedStyle results for Windows to add -webkit-color-correction.
bweinstein@apple.com [Wed, 11 Nov 2009 01:24:42 +0000 (01:24 +0000)]
Update getComputedStyle results for Windows to add -webkit-color-correction.

* platform/win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50782 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Nov 2009 01:14:43 +0000 (01:14 +0000)]
2009-11-10  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760.

        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupContainer::paintBorder):
        (WebCore::PopupListBox::paint):
        (WebCore::PopupListBox::paintRow):
        * platform/graphics/chromium/TransparencyWin.cpp:
        (WebCore::TransparencyWin::setupLayerForWhiteLayer):
        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::fillRect):
        (WebCore::GraphicsContext::fillRoundedRect):
        (WebCore::GraphicsContext::setPlatformFillColor):
        (WebCore::GraphicsContext::setPlatformStrokeColor):
        * rendering/RenderMediaControlsChromium.cpp:
        (WebCore::paintMediaSlider):
        (WebCore::paintMediaVolumeSlider):
        (WebCore::paintMediaTimelineContainer):
        * rendering/RenderThemeChromiumMac.mm:
        (WebCore::RenderThemeChromiumMac::paintMenuListButton):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50781 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Wed, 11 Nov 2009 00:56:22 +0000 (00:56 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Modified WebKit.gyp to build the webkit api.

        https://bugs.webkit.org/show_bug.cgi?id=31320

        * README: Added.
        * WebKit.gyp: Added.
        * webkit.gyp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50780 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoMade a small change to my test then didn't update the results before landing.
beidson@apple.com [Wed, 11 Nov 2009 00:46:08 +0000 (00:46 +0000)]
Made a small change to my test then didn't update the results before landing.

Reviewed by NOBODY (Fix my own layout-test snafu)

* http/tests/webarchive/cross-origin-stylesheet-crash-expected.webarchive:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50779 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRepro crash saving pcmag.com article as a webarchive.
beidson@apple.com [Tue, 10 Nov 2009 23:36:44 +0000 (23:36 +0000)]
Repro crash saving pcmag.com article as a webarchive.
<rdar://problem/7381219> and https://webkit.org/b/31322

Reviewed by Sam Weinig.

WebCore:

Test: http/tests/webarchive/cross-origin-stylesheet-crash.html

* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::addSubresourceStyleURLs): Walk the stylesheet itself instead
  of creating a CSSRuleList (and subjecting ourselves to the security origin check)

LayoutTests:

* http/tests/webarchive/cross-origin-stylesheet-crash.html: Added.
* http/tests/webarchive/cross-origin-stylesheet-crash-expected.webarchive: Added.
* http/tests/webarchive/resources/localhost-stylesheet.css: Added.
* platform/gtk/Skipped: Add this test to the gtk Skipped list which tracks all individual skipped tests
  instead of directories.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50778 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoReviewed by Kevin Ollivier.
kevino@webkit.org [Tue, 10 Nov 2009 23:31:59 +0000 (23:31 +0000)]
Reviewed by Kevin Ollivier.

Add sanity checks to RunScript to ensure it doesn't run when the document hasn't yet
loaded nor when JavaScript is disabled.

https://bugs.webkit.org/show_bug.cgi?id=31309

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50777 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAttempt 2 to fix Tiger build. No review needed.
bdakin@apple.com [Tue, 10 Nov 2009 23:16:43 +0000 (23:16 +0000)]
Attempt 2 to fix Tiger build. No review needed.

* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::deviceRGBColorSpaceRef):
(WebCore::sRGBColorSpaceRef):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50776 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agowx build fix. Changes needed after r50760.
kevino@webkit.org [Tue, 10 Nov 2009 23:16:05 +0000 (23:16 +0000)]
wx build fix. Changes needed after r50760.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50775 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago Qt build fix.
ap@apple.com [Tue, 10 Nov 2009 23:03:36 +0000 (23:03 +0000)]
    Qt build fix.

        * platform/network/ResourceHandle.h: Only inherit from AuthenticationClient on platforms
        that use ResourceHandle as a delegate (Mac, CFNetwork, Curl).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50774 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoTiger build fix. No review needed.
bdakin@apple.com [Tue, 10 Nov 2009 22:52:47 +0000 (22:52 +0000)]
Tiger build fix. No review needed.

* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::sRGBColorSpaceRef):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago Reviewed by Dan Bernstein.
ap@apple.com [Tue, 10 Nov 2009 22:38:08 +0000 (22:38 +0000)]
    Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=31312
        Decouple authentication panel callbacks from ResourceHandle

        No change in functionality.

        SocketStreamHandle also needs to request credentials, so it's not appropriate to store
        ResourceHandle as delegate.

WebCore:
        * WebCore.vcproj/WebCore.vcproj:
        * platform/network/AuthenticationClient.h: Added.
        Added a new interface for listening to authentication panel notifications.

        * WebCore.xcodeproj/project.pbxproj: Added AuthenticationClient.h. Let Visual Studio do what
        it wants with the project file.

        (WebCore::AuthenticationClient::ref): Using our usual method of exposing refcounting on an
        interface class.
        (WebCore::AuthenticationClient::deref): Ditto.

        * platform/network/ResourceHandle.h:
        (WebCore::ResourceHandle::refAuthenticationClient): Ditto.
        (WebCore::ResourceHandle::derefAuthenticationClient): Ditto.

        * platform/network/cf/AuthenticationCF.cpp:
        (WebCore::AuthenticationChallenge::AuthenticationChallenge):
        (WebCore::AuthenticationChallenge::platformCompare):
        * platform/network/cf/AuthenticationChallenge.h:
        (WebCore::AuthenticationChallenge::authenticationClient):
        * platform/network/chromium/AuthenticationChallenge.h:
        (WebCore::AuthenticationChallenge::authenticationClient):
        * platform/network/curl/AuthenticationChallenge.h:
        (WebCore::AuthenticationChallenge::authenticationClient):
        Keeping a reference to AuthenticationClient, not to ResourceHandle.

WebKit:
        * WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
        * WebURLAuthenticationChallenge.cpp:
        (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
        (WebURLAuthenticationChallenge::sender):
        * WebURLAuthenticationChallengeSender.cpp:
        (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
        (WebURLAuthenticationChallengeSender::createInstance):
        (WebURLAuthenticationChallengeSender::authenticationClient):
        * WebURLAuthenticationChallengeSender.h:
        * WebURLAuthenticationChallengeSenderCFNet.cpp:
        (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
        (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
        (WebURLAuthenticationChallengeSender::useCredential):
        Adjusted for WebCore changes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50772 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago Second attempted gtk build fix. No review needed.
bdakin@apple.com [Tue, 10 Nov 2009 22:35:53 +0000 (22:35 +0000)]
   Second attempted gtk build fix. No review needed.

* html/canvas/CanvasStyle.cpp:
(WebCore::CanvasStyle::applyStrokeColor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50771 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoVersioning.
mrowe@apple.com [Tue, 10 Nov 2009 22:28:31 +0000 (22:28 +0000)]
Versioning.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50770 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRubber-stamped by Anders Carlsson.
bweinstein@apple.com [Tue, 10 Nov 2009 22:22:32 +0000 (22:22 +0000)]
Rubber-stamped by Anders Carlsson.

Add timing out test to Windows Skipped list.

* platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50768 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix back/forwards cache with JSC isolated worlds.
barraclough@apple.com [Tue, 10 Nov 2009 22:21:54 +0000 (22:21 +0000)]
Fix back/forwards cache with JSC isolated worlds.
https://bugs.webkit.org/show_bug.cgi?id=31310
<rdar://problem/7328111> Cached back navigation doesn't restore global object in extension isolated world

Patch by Gavin Barraclough <barraclough@apple.com> on 2009-11-10
Reviewed by Geoff Garen.

Store the global object for all worlds, not just the normal world.
Also maintain bidirectional weak references between the ScriptCachedFrameData and the DOMWrapperWorld,
so we can forget global objects if a world goes away.

* bindings/js/JSDOMBinding.cpp:
(WebCore::DOMWrapperWorld::~DOMWrapperWorld):
* bindings/js/JSDOMBinding.h:
(WebCore::DOMWrapperWorld::rememberScriptCachedFrameData):
(WebCore::DOMWrapperWorld::forgetScriptCachedFrameData):
* bindings/js/ScriptCachedFrameData.cpp:
(WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
(WebCore::ScriptCachedFrameData::forgetWorld):
(WebCore::ScriptCachedFrameData::domWindow):
(WebCore::ScriptCachedFrameData::restore):
(WebCore::ScriptCachedFrameData::clear):
* bindings/js/ScriptCachedFrameData.h:
* bindings/js/ScriptController.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50767 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Unreviewed buildfix after r50760.
ossy@webkit.org [Tue, 10 Nov 2009 22:20:08 +0000 (22:20 +0000)]
[Qt] Unreviewed buildfix after r50760.

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::GraphicsContext):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAttempted build fix. (No review needed.)
bdakin@apple.com [Tue, 10 Nov 2009 22:14:56 +0000 (22:14 +0000)]
Attempted build fix. (No review needed.)

* GNUmakefile.am: Adding ColorSpace.h

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50765 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: Updated function calls to take a ColorSpace argument, passing
bweinstein@apple.com [Tue, 10 Nov 2009 22:05:51 +0000 (22:05 +0000)]
WebCore: Updated function calls to take a ColorSpace argument, passing
in DeviceColorSpace for now - this should be fixed. Also added
ColorSpace.h to WebCore project.

Reviewed by NOBODY - Build Fix.

* WebCore.vcproj/WebCore.vcproj:
* platform/graphics/win/FontCGWin.cpp:
(WebCore::Font::drawGlyphs):
* platform/graphics/win/GraphicsContextCGWin.cpp:
(WebCore::GraphicsContext::GraphicsContext):
* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::paint):
* platform/win/WebCoreTextRenderer.cpp:
(WebCore::doDrawTextAtPoint):
* rendering/RenderThemeSafari.cpp:
(WebCore::RenderThemeSafari::paintMenuListButton):

WebKit/win: Updated fillRoundedRect to take a ColorSpace argument.

Reviewed by NOBODY - Build Fix.

* WebCoreSupport/WebDragClient.cpp:
(WebDragClient::createDragImageForLink):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50764 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoOptimizations to Element::getAttribute
snej@chromium.org [Tue, 10 Nov 2009 22:03:20 +0000 (22:03 +0000)]
Optimizations to Element::getAttribute
https://bugs.webkit.org/show_bug.cgi?id=30926

Reviewed by Darin Adler.

* dom/Element.cpp:
(WebCore::Element::getAttribute):  User case-insensitive compare instead of lowercasing the name.
* dom/NamedAttrMap.cpp:
(WebCore::NamedNodeMap::getAttributeItem):  Avoid redundant compares, and do fast/likely compares first.
* platform/text/PlatformString.h:
(WebCore::equalPossiblyIgnoringCase):  New inline method, used by both of the above.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50763 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoPut test into skiplist added in r50758 because
ossy@webkit.org [Tue, 10 Nov 2009 21:52:35 +0000 (21:52 +0000)]
Put test into skiplist added in r50758 because
layoutTestController.showWebInspector() is unimplemented now.

* platform/qt/Skipped: inspector/timeline-enum-stability.html added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50762 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed. Skip another test that requires implementing editing
kov@webkit.org [Tue, 10 Nov 2009 21:48:53 +0000 (21:48 +0000)]
Unreviewed. Skip another test that requires implementing editing
callbacks.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50761 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: Fix for <rdar://problem/7059710>
bdakin@apple.com [Tue, 10 Nov 2009 21:44:56 +0000 (21:44 +0000)]
WebCore: Fix for <rdar://problem/7059710>
-and corresponding-
https://bugs.webkit.org/show_bug.cgi?id=31196 Implement -webkit-
color-correction for CSS colors

Reviewed by Darin Adler.

New exported symbol for GraphicsContext::fillColor() which now
accepts a ColorSpace as an optional parameter.
* WebCore.base.exp:

Added a new file, ColorSpace.h, to define the ColorSpace enum.
* WebCore.xcodeproj/project.pbxproj:

Computed Style for -webkit-color-correction
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

Parse -webkit-color-correction
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):

       Map CSS identifiers to the appropriate values of the ColorSpace enum
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator ColorSpace):

New property -webkit-color-correction
* css/CSSPropertyNames.in:

Map -webkit-color-correction into the RenderStyle.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):

Add new value sRGB.
* css/CSSValueKeywords.in:

Comment out the reference to sRGB since it will now be inherited as
a value from CSSValueKeywords.
* css/SVGCSSValueKeywords.in:

Definition of the ColorSpace enum.
* platform/graphics/ColorSpace.h: Added.
(WebCore::):

These functions all now take a ColorSpace as a parameter.
* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::setStrokeColor):
(WebCore::GraphicsContext::setFillColor):
(WebCore::GraphicsContext::drawHighlightForText):

Return the appropriate ColorSpace.
(WebCore::GraphicsContext::strokeColorSpace):
(WebCore::GraphicsContext::fillColorSpace):

These functions all call other functions which require a ColorSpace
as a parameter.
(WebCore::GraphicsContext::setStrokePattern):
(WebCore::GraphicsContext::setFillPattern):
(WebCore::GraphicsContext::setStrokeGradient):
(WebCore::GraphicsContext::setFillGradient):

All of the GraphicsContext functions that take a Color should now
also take a ColorSpace.
* platform/graphics/GraphicsContext.h:

Added new member variables stokeColorSpace and fillColorSpace.
* platform/graphics/GraphicsContextPrivate.h:
(WebCore::GraphicsContextState::GraphicsContextState):

Attempt to keep the Cairo port building with all of the massive
changes to GraphicsContext.
* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::setPlatformFillColor):
(WebCore::GraphicsContext::setPlatformStrokeColor):
(WebCore::GraphicsContext::fillRoundedRect):

* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::sRGBColorSpaceRef): New static function that returns a
CGColorSpaceRef for the sRGB color space.
(WebCore::deviceRGBColorSpaceRef): New static function that returns
a CGColorSpaceRef for the device RGB color space.

(WebCore::setCGFillColor): Now takes a ColorSpace parameter and
sets the fill color to the specified color in the given ColorSpace.
(WebCore::setCGStrokeColor): Same, but for stroke.

(WebCore::setCGFillColorSpace): New static to set the
CGFillColorSpace to the given ColorSpace
(WebCore::setCGStrokeColorSpace): Same, but for stroke.

Send ColorSpaces when appropriate, set ColorSpaces when
appropriate, and check ColorSpaces when appropriate.
(WebCore::GraphicsContext::GraphicsContext):
(WebCore::GraphicsContext::drawRect):
(WebCore::GraphicsContext::drawLine):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::strokeRect):
(WebCore::GraphicsContext::drawLineForText):
(WebCore::GraphicsContext::setPlatformStrokeColor):
(WebCore::GraphicsContext::setPlatformFillColor):

Attempt to keep Haiku building.
* platform/graphics/haiku/GraphicsContextHaiku.cpp:
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::setPlatformStrokeColor):
(WebCore::GraphicsContext::setPlatformFillColor):

Attempt to keep QT building.
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::setPlatformStrokeColor):
(WebCore::GraphicsContext::setPlatformFillColor):

Attempt to keep Wince building.
* platform/graphics/wince/GraphicsContextWince.cpp:
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::setPlatformFillColor):
(WebCore::GraphicsContext::setPlatformStrokeColor):
(WebCore::GraphicsContext::clearRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::setPlatformShadow):

Attempt to keep WX building.
* platform/graphics/wx/GraphicsContextWx.cpp:
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::setPlatformStrokeColor):
(WebCore::GraphicsContext::setPlatformFillColor):

Added functions colorSpace() and setColorSpace()
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::colorSpace):
(WebCore::InheritedFlags::setColorSpace):

The ColorSpace is stored here.
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:

All of these call sites call GraphicsContext functions which now
require ColorSpaces.
* editing/SelectionController.cpp:
(WebCore::SelectionController::paintCaret):
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawTextInternal):
* html/canvas/CanvasStyle.cpp:
(WebCore::CanvasStyle::applyStrokeColor):
(WebCore::CanvasStyle::applyFillColor):
* inspector/InspectorController.cpp:
(WebCore::drawOutlinedQuad):
* page/FrameView.cpp:
(WebCore::FrameView::paintContents):
* platform/ScrollbarTheme.h:
(WebCore::ScrollbarTheme::paintScrollCorner):
* platform/ScrollbarThemeComposite.cpp:
(WebCore::ScrollbarThemeComposite::paintScrollCorner):
* platform/graphics/Image.cpp:
(WebCore::Image::fillWithSolidColor):
* platform/graphics/mac/FontMac.mm:
(WebCore::Font::drawGlyphs):
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivate::paint):
* rendering/EllipsisBox.cpp:
(WebCore::EllipsisBox::paint):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paintTextDecorations):
* rendering/InlineTextBox.cpp:
(WebCore::updateGraphicsContext):
(WebCore::paintTextWithShadows):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintSelection):
(WebCore::InlineTextBox::paintCompositionBackground):
(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintTextMatchMarker):
(WebCore::InlineTextBox::paintCompositionUnderline):
* rendering/InlineTextBox.h:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::fillHorizontalSelectionGap):
(WebCore::RenderBlock::fillVerticalSelectionGap):
(WebCore::RenderBlock::fillLeftSelectionGap):
(WebCore::RenderBlock::fillRightSelectionGap):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
(WebCore::RenderBoxModelObject::paintBoxShadow):
* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):
* rendering/RenderFrameSet.cpp:
(WebCore::RenderFrameSet::paintColumnBorder):
(WebCore::RenderFrameSet::paintRowBorder):
* rendering/RenderImage.cpp:
(WebCore::RenderImage::paintReplaced):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintScrollCorner):
(WebCore::RenderLayer::paintResizer):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::paintItemForeground):
(WebCore::RenderListBox::paintItemBackground):
* rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::paint):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::drawLineForBoxSide):
(WebCore::RenderObject::drawArcForBoxSide):
* rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::paint):
* rendering/RenderScrollbarTheme.cpp:
(WebCore::RenderScrollbarTheme::paintScrollCorner):
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::paintMenuListButton):
* rendering/RenderView.cpp:
(WebCore::RenderView::paintBoxDecorations):
* rendering/RenderWidget.cpp:
(WebCore::RenderWidget::paint):
* rendering/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paintSelection):
* svg/graphics/SVGPaintServerGradient.cpp:
(WebCore::SVGPaintServerGradient::setup):
* svg/graphics/SVGPaintServerSolid.cpp:
(WebCore::SVGPaintServerSolid::setup):

WebKit/mac: Small WebKit part of:
Fix for <rdar://problem/7059710>
-and corresponding-
https://bugs.webkit.org/show_bug.cgi?id=31196 Implement -webkit-
color-correction for CSS colors

Reviewed by Darin Adler.

* Misc/WebKitNSStringExtras.mm:
(-[NSString _web_drawAtPoint:font:textColor:]): setFillColor now
requires callers to pass a ColorSpace.

LayoutTests: Tests for <rdar://problem/7059710>
-and corresponding-
https://bugs.webkit.org/show_bug.cgi?id=31196 Implement -webkit-
color-correction for CSS colors

Reviewed by Darin Adler.

New tests.
* fast/css/color-correction-backgrounds-and-text.html: Added.
* fast/css/color-correction-on-backgrounds.html: Added.
* fast/css/color-correction-on-text.html: Added.
* fast/css/color-correction.html: Added.
* fast/css/parsing-color-correction-expected.txt: Added.
* fast/css/parsing-color-correction.html: Added.
* fast/css/resources/parsing-color-correction.js: Added.
(test):
* fast/css/resources/purple-srgb.png: Added.
* platform/mac/fast/css/color-correction-backgrounds-and-text-expected.checksum: Added.
* platform/mac/fast/css/color-correction-backgrounds-and-text-expected.png: Added.
* platform/mac/fast/css/color-correction-backgrounds-and-text-expected.txt: Added.
* platform/mac/fast/css/color-correction-expected.checksum: Added.
* platform/mac/fast/css/color-correction-expected.png: Added.
* platform/mac/fast/css/color-correction-expected.txt: Added.
* platform/mac/fast/css/color-correction-on-backgrounds-expected.checksum: Added.
* platform/mac/fast/css/color-correction-on-backgrounds-expected.png: Added.
* platform/mac/fast/css/color-correction-on-backgrounds-expected.txt: Added.
* platform/mac/fast/css/color-correction-on-text-expected.checksum: Added.
* platform/mac/fast/css/color-correction-on-text-expected.png: Added.
* platform/mac/fast/css/color-correction-on-text-expected.txt: Added.

New and improved results.
* platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* svg/css/getComputedStyle-basic-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50760 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Tue, 10 Nov 2009 21:37:00 +0000 (21:37 +0000)]
2009-11-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Unreviewed. Skip new tests.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50759 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Eric Z. Ayers <zundel@google.com>
eric@webkit.org [Tue, 10 Nov 2009 21:20:46 +0000 (21:20 +0000)]
2009-11-10  Eric Z. Ayers  <zundel@google.com>

        Reviewed by Timothy Hatcher.

        Adds a test to flag changes to values of the WebInspector Timeline record types.
        Downstream apps depend on these mappings remaining stable.

        https://bugs.webkit.org/show_bug.cgi?id=31303

        * inspector/timeline-enum-stability-expected.txt: Added.
        * inspector/timeline-enum-stability.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Andras Becsi <becsi.andras@stud.u-szeged.hu>
eric@webkit.org [Tue, 10 Nov 2009 21:12:10 +0000 (21:12 +0000)]
2009-11-10  Andras Becsi  <becsi.andras@stud.u-szeged.hu>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Update outdated metrics in these tests after r50665 enabled the previously missing scrollbar.
        This fixes https://bugs.webkit.org/show_bug.cgi?id=31281.

        * platform/qt/css1/basic/class_as_selector-expected.txt:
        * platform/qt/css1/basic/comments-expected.txt:
        * platform/qt/css1/basic/containment-expected.txt:
        * platform/qt/css1/basic/id_as_selector-expected.txt:
        * platform/qt/css1/basic/inheritance-expected.txt:
        * platform/qt/css1/box_properties/border-expected.txt:
        * platform/qt/css1/box_properties/border_bottom-expected.txt:
        * platform/qt/css1/box_properties/border_bottom_width-expected.txt:
        * platform/qt/css1/box_properties/border_left-expected.txt:
        * platform/qt/css1/box_properties/border_left_width-expected.txt:
        * platform/qt/css1/box_properties/border_right_inline-expected.txt:
        * platform/qt/css1/box_properties/border_right_width-expected.txt:
        * platform/qt/css1/box_properties/border_style-expected.txt:
        * platform/qt/css1/box_properties/border_top-expected.txt:
        * platform/qt/css1/box_properties/border_top_width-expected.txt:
        * platform/qt/css1/box_properties/border_width-expected.txt:
        * platform/qt/css1/box_properties/clear-expected.txt:
        * platform/qt/css1/box_properties/clear_float-expected.txt:
        * platform/qt/css1/box_properties/float_elements_in_series-expected.txt:
        * platform/qt/css1/box_properties/float_margin-expected.txt:
        * platform/qt/css1/box_properties/float_on_text_elements-expected.txt:
        * platform/qt/css1/box_properties/height-expected.txt:
        * platform/qt/css1/box_properties/margin-expected.txt:
        * platform/qt/css1/box_properties/margin_bottom-expected.txt:
        * platform/qt/css1/box_properties/margin_inline-expected.txt:
        * platform/qt/css1/box_properties/margin_left-expected.txt:
        * platform/qt/css1/box_properties/margin_right-expected.txt:
        * platform/qt/css1/box_properties/margin_top-expected.txt:
        * platform/qt/css1/box_properties/padding-expected.txt:
        * platform/qt/css1/box_properties/padding_bottom-expected.txt:
        * platform/qt/css1/box_properties/padding_inline-expected.txt:
        * platform/qt/css1/box_properties/padding_left-expected.txt:
        * platform/qt/css1/box_properties/padding_right-expected.txt:
        * platform/qt/css1/box_properties/padding_top-expected.txt:
        * platform/qt/css1/box_properties/width-expected.txt:
        * platform/qt/css1/cascade/cascade_order-expected.txt:
        * platform/qt/css1/cascade/important-expected.txt:
        * platform/qt/css1/classification/display-expected.txt:
        * platform/qt/css1/classification/list_style_type-expected.txt:
        * platform/qt/css1/classification/white_space-expected.txt:
        * platform/qt/css1/color_and_background/background-expected.txt:
        * platform/qt/css1/color_and_background/background_attachment-expected.txt:
        * platform/qt/css1/color_and_background/background_color-expected.txt:
        * platform/qt/css1/color_and_background/background_image-expected.txt:
        * platform/qt/css1/color_and_background/background_position-expected.txt:
        * platform/qt/css1/color_and_background/background_repeat-expected.txt:
        * platform/qt/css1/conformance/forward_compatible_parsing-expected.txt:
        * platform/qt/css1/font_properties/font-expected.txt:
        * platform/qt/css1/font_properties/font_family-expected.txt:
        * platform/qt/css1/font_properties/font_size-expected.txt:
        * platform/qt/css1/font_properties/font_weight-expected.txt:
        * platform/qt/css1/formatting_model/floating_elements-expected.txt:
        * platform/qt/css1/formatting_model/height_of_lines-expected.txt:
        * platform/qt/css1/formatting_model/horizontal_formatting-expected.txt:
        * platform/qt/css1/formatting_model/inline_elements-expected.txt:
        * platform/qt/css1/formatting_model/replaced_elements-expected.txt:
        * platform/qt/css1/formatting_model/vertical_formatting-expected.txt:
        * platform/qt/css1/pseudo/anchor-expected.txt:
        * platform/qt/css1/pseudo/firstletter-expected.txt:
        * platform/qt/css1/pseudo/firstline-expected.txt:
        * platform/qt/css1/pseudo/multiple_pseudo_elements-expected.txt:
        * platform/qt/css1/pseudo/pseudo_elements_in_selectors-expected.txt:
        * platform/qt/css1/text_properties/letter_spacing-expected.txt:
        * platform/qt/css1/text_properties/line_height-expected.txt:
        * platform/qt/css1/text_properties/text_decoration-expected.txt:
        * platform/qt/css1/text_properties/text_indent-expected.txt:
        * platform/qt/css1/text_properties/text_transform-expected.txt:
        * platform/qt/css1/text_properties/vertical_align-expected.txt:
        * platform/qt/css1/text_properties/word_spacing-expected.txt:
        * platform/qt/css1/units/color_units-expected.txt:
        * platform/qt/css1/units/length_units-expected.txt:
        * platform/qt/css1/units/percentage_units-expected.txt:
        * platform/qt/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt:
        * platform/qt/css2.1/t1202-counter-09-b-expected.txt:
        * platform/qt/css2.1/t1202-counters-08-b-expected.txt:
        * platform/qt/css2.1/t1202-counters-09-b-expected.txt:
        * platform/qt/css2.1/t140201-c535-bg-fixd-00-b-g-expected.txt:
        * platform/qt/css2.1/t1508-c527-font-07-b-expected.txt:
        * platform/qt/fast/backgrounds/background-inherit-color-bug-expected.txt:
        * platform/qt/fast/backgrounds/size/backgroundSize15-expected.txt:
        * platform/qt/fast/block/float/008-expected.txt:
        * platform/qt/fast/block/float/019-expected.txt:
        * platform/qt/fast/block/float/033-expected.txt:
        * platform/qt/fast/block/float/035-expected.txt:
        * platform/qt/fast/block/float/avoidance-percent-width-strict-expected.txt:
        * platform/qt/fast/box-shadow/basic-shadows-expected.txt:
        * platform/qt/fast/canvas/canvas-bg-expected.txt:
        * platform/qt/fast/css/nested-floating-relative-position-percentages-expected.txt:
        * platform/qt/fast/css/nth-child-dynamic-expected.txt:
        * platform/qt/fast/css/text-rendering-expected.txt:
        * platform/qt/fast/dynamic/anchor-lock-expected.txt:
        * platform/qt/fast/flexbox/flex-hang-expected.txt:
        * platform/qt/fast/forms/search-vertical-alignment-expected.txt:
        * platform/qt/fast/frames/iframe-scrolling-attribute-expected.txt:
        * platform/qt/fast/lists/ol-start-parsing-expected.txt:
        * platform/qt/fast/multicol/positioned-with-constrained-height-expected.txt:
        * platform/qt/fast/overflow/position-fixed-transform-clipping-expected.txt:
        * platform/qt/fast/table/height-percent-test-expected.txt:
        * platform/qt/fast/table/wide-colspan-expected.txt:
        * platform/qt/fast/table/wide-column-expected.txt:
        * platform/qt/fast/text/text-letter-spacing-expected.txt:
        * platform/qt/svg/css/stars-with-shadow-expected.txt:
        * platform/qt/tables/mozilla/bugs/bug29314-expected.txt:
2009-11-10  Andras Becsi  <becsi.andras@stud.u-szeged.hu>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Remove obsolete scrollbar policy settings from DRT constructor.

        * DumpRenderTree/qt/DumpRenderTree.cpp:
        (WebCore::DumpRenderTree::DumpRenderTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 10 Nov 2009 21:04:24 +0000 (21:04 +0000)]
2009-11-10  Nate Chapin  <japhet@chromium.org>

        Reviewed by Eric Seidel.

        Update references to Canvas 3D classes to use the WebGL prefix
        introduced in http://trac.webkit.org/changeset/50725.

        https://bugs.webkit.org/show_bug.cgi?id=31276

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Keishi Hattori <casey.hattori@gmail.com>
eric@webkit.org [Tue, 10 Nov 2009 21:04:04 +0000 (21:04 +0000)]
2009-11-10  Keishi Hattori  <casey.hattori@gmail.com>

        Reviewed by Timothy Hatcher.

        Web Inspector: Speed up syntax highlighter
        https://bugs.webkit.org/show_bug.cgi?id=31291

        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._loaded):
        (WebInspector.SourceSyntaxHighlighter.prototype.process.moveToNextLine): Replace the line content node.
        (WebInspector.SourceSyntaxHighlighter.prototype.process):
        (WebInspector.SourceSyntaxHighlighter.prototype.appendNonToken):
        (WebInspector.SourceSyntaxHighlighter.prototype.syntaxHighlightNode):
        (WebInspector.CSSSourceSyntaxHighlighter):
        (WebInspector.JavaScriptSourceSyntaxHighlighter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50755 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-09 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 10 Nov 2009 20:52:57 +0000 (20:52 +0000)]
2009-11-09  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Eric Seidel.

        Remove session storage setting
        https://bugs.webkit.org/show_bug.cgi?id=31279

        Remove session storage from Settings.  It was added temporarily so we could
        disable it by default at runtime in Chromium.  We now disable these things in a
        different way, so it's time to remove it.  Qt also depended on this setting for
        a short period of time, but after talking to them we agreed that it should be
        removed.

        This bug is the second half of https://bugs.webkit.org/show_bug.cgi?id=30602

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::sessionStorage):
        * page/Settings.cpp:
        (WebCore::Settings::Settings):
        * page/Settings.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50754 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: WebCore part of making full-screen video pause during scrubbing.
mitz@apple.com [Tue, 10 Nov 2009 20:06:36 +0000 (20:06 +0000)]
WebCore: WebCore part of making full-screen video pause during scrubbing.

Reviewed by Eric Carlson and Darin Adler.

* WebCore.Video.exp: Sorted and added HTMLMediaElement::beginScrubbing()
and HTMLMediaElement::endScrubbing().

WebKit/mac: WebKit part of making full-screen video pause during scrubbing.

Reviewed by Eric Carlson and Darin Adler.

* WebView/WebVideoFullscreenHUDWindowController.h: Added _isScrubbing
ivar.
* WebView/WebVideoFullscreenHUDWindowController.mm:
(-[WebVideoFullscreenHUDWindowController dealloc]): Assert that
_isScrubbing is NO.
(-[WebVideoFullscreenHUDWindowController endScrubbing]): Call
HTMLMediaElement::endScrubbing().
(-[WebVideoFullscreenHUDWindowController timelinePositionChanged:]):
If scrubbing has just begun, call HTMLMediaElement::beginScrubbing()
and schedule -endScrubbing to be called when mouse tracking ends.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50753 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Anton Muhin <antonm@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 20:00:33 +0000 (20:00 +0000)]
2009-11-10  Anton Muhin  <antonm@chromium.org>

        Reviewed by Adam Barth.

        Reapply 50562 reverted by 50588 due to issues with sandboxing (should be fine now).
        https://bugs.webkit.org/show_bug.cgi?id=31051

        * bindings/v8/V8GCController.cpp:
        (WebCore::V8GCController::gcEpilogue):
        (WebCore::V8GCController::checkMemoryUsage):
        * bindings/v8/V8GCController.h:
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::evaluate):
        (WebCore::V8Proxy::runScript):
        (WebCore::V8Proxy::callFunction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50752 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 19:52:46 +0000 (19:52 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: WebWorker and friends.

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/WebWorkerBase.cpp: Added.
        (WebKit::WorkerWebFrameClient::didCreateDataSource):
        (WebKit::WorkerWebFrameClient::sharedInstance):
        (WebKit::WorkerWebFrameClient::WorkerWebFrameClient):
        (WebKit::initializeWebKitStaticValues):
        (WebKit::WebWorkerBase::WebWorkerBase):
        (WebKit::WebWorkerBase::~WebWorkerBase):
        (WebKit::WebWorkerBase::stopWorkerThread):
        (WebKit::WebWorkerBase::initializeLoader):
        (WebKit::WebWorkerBase::dispatchTaskToMainThread):
        (WebKit::WebWorkerBase::invokeTaskMethod):
        (WebKit::WebWorkerBase::postMessageToWorkerObject):
        (WebKit::WebWorkerBase::postMessageTask):
        (WebKit::WebWorkerBase::postExceptionToWorkerObject):
        (WebKit::WebWorkerBase::postExceptionTask):
        (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
        (WebKit::WebWorkerBase::postConsoleMessageTask):
        (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
        (WebKit::WebWorkerBase::confirmMessageTask):
        (WebKit::WebWorkerBase::reportPendingActivity):
        (WebKit::WebWorkerBase::reportPendingActivityTask):
        (WebKit::WebWorkerBase::workerContextClosed):
        (WebKit::WebWorkerBase::workerContextClosedTask):
        (WebKit::WebWorkerBase::workerContextDestroyed):
        (WebKit::WebWorkerBase::workerContextDestroyedTask):
        (WebKit::WebWorkerBase::postTaskToLoader):
        (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
        * src/WebWorkerBase.h: Added.
        (WebKit::WebWorkerBase::setWorkerThread):
        (WebKit::WebWorkerBase::workerThread):
        * src/WebWorkerClientImpl.cpp: Added.
        (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
        (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
        (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
        (WebKit::WebWorkerClientImpl::setWebWorker):
        (WebKit::WebWorkerClientImpl::startWorkerContext):
        (WebKit::WebWorkerClientImpl::terminateWorkerContext):
        (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
        (WebKit::WebWorkerClientImpl::hasPendingActivity):
        (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
        (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
        (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
        (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
        (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
        (WebKit::WebWorkerClientImpl::reportPendingActivity):
        (WebKit::WebWorkerClientImpl::workerContextDestroyed):
        (WebKit::WebWorkerClientImpl::workerContextClosed):
        (WebKit::WebWorkerClientImpl::startWorkerContextTask):
        (WebKit::WebWorkerClientImpl::terminateWorkerContextTask):
        (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask):
        (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask):
        (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
        (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
        (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
        (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask):
        (WebKit::WebWorkerClientImpl::reportPendingActivityTask):
        * src/WebWorkerClientImpl.h: Added.
        (WebKit::WebWorkerClientImpl::createWorker):
        (WebKit::WebWorkerClientImpl::notificationPresenter):
        * src/WebWorkerImpl.cpp: Added.
        (WebKit::WebWorker::create):
        (WebKit::WebWorkerImpl::WebWorkerImpl):
        (WebKit::WebWorkerImpl::~WebWorkerImpl):
        (WebKit::WebWorkerImpl::commonClient):
        (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
        (WebKit::WebWorkerImpl::startWorkerContext):
        (WebKit::WebWorkerImpl::terminateWorkerContext):
        (WebKit::WebWorkerImpl::postMessageToWorkerContext):
        (WebKit::WebWorkerImpl::workerObjectDestroyed):
        (WebKit::WebWorkerImpl::clientDestroyed):
        * src/WebWorkerImpl.h: Added.
        (WebKit::WebWorkerImpl::client):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50751 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 19:45:13 +0000 (19:45 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: Platform specific files.

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/gtk/WebFontInfo.cpp: Added.
        (WebKit::WebFontInfo::familyForChars):
        * src/gtk/WebInputEventFactory.cpp: Added.
        (WebKit::gdkEventTimeToWebEventTime):
        (WebKit::gdkStateToWebEventModifiers):
        (WebKit::gdkEventToWindowsKeyCode):
        (WebKit::getControlCharacter):
        (WebKit::WebInputEventFactory::keyboardEvent):
        (WebKit::WebInputEventFactory::mouseEvent):
        (WebKit::WebInputEventFactory::mouseWheelEvent):
        * src/gtk/WebScreenInfoFactory.cpp: Added.
        (WebKit::WebScreenInfoFactory::screenInfo):
        * src/linux/WebFontRendering.cpp: Added.
        (WebKit::WebFontRendering::setHinting):
        (WebKit::WebFontRendering::setAntiAlias):
        (WebKit::WebFontRendering::setSubpixelGlyphs):
        (WebKit::WebFontRendering::setLCDOrder):
        (WebKit::WebFontRendering::setLCDOrientation):
        * src/mac/WebInputEventFactory.mm: Added.
        (WebKit::isKeyUpEvent):
        (WebKit::isKeypadEvent):
        (WebKit::windowsKeyCodeForKeyEvent):
        (WebKit::textFromEvent):
        (WebKit::unmodifiedTextFromEvent):
        (WebKit::keyIdentifierForKeyEvent):
        (WebKit::modifiersFromEvent):
        (WebKit::WebInputEventFactory::keyboardEvent):
        (WebKit::WebInputEventFactory::mouseEvent):
        (WebKit::WebInputEventFactory::mouseWheelEvent):
        * src/mac/WebScreenInfoFactory.mm: Added.
        (WebKit::screenForWindow):
        (WebKit::toUserSpace):
        (WebKit::WebScreenInfoFactory::screenInfo):
        * src/win/WebInputEventFactory.cpp: Added.
        (WebKit::isKeyPad):
        (WebKit::WebInputEventFactory::keyboardEvent):
        (WebKit::GetRelativeCursorPos):
        (WebKit::WebInputEventFactory::resetLastClickState):
        (WebKit::WebInputEventFactory::mouseEvent):
        (WebKit::WebInputEventFactory::mouseWheelEvent):
        * src/win/WebScreenInfoFactory.cpp: Added.
        (WebKit::toWebRect):
        (WebKit::WebScreenInfoFactory::screenInfo):
        * src/x11/WebScreenInfoFactory.cpp: Added.
        (WebKit::WebScreenInfoFactory::screenInfo):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50750 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 19:37:39 +0000 (19:37 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Eric Seidel.

        Up-streaming Chromium API src files: WrapperResourceRequest and Response

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/WrappedResourceRequest.h: Added.
        (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
        (WebKit::WrappedResourceRequest::WrappedResourceRequest):
        (WebKit::WrappedResourceRequest::bind):
        (WebKit::WrappedResourceRequest::Handle::dispose):
        * src/WrappedResourceResponse.h: Added.
        (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
        (WebKit::WrappedResourceResponse::WrappedResourceResponse):
        (WebKit::WrappedResourceResponse::bind):
        (WebKit::WrappedResourceResponse::Handle::dispose):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50749 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Zoltan Horvath <zoltan@webkit.org>
eric@webkit.org [Tue, 10 Nov 2009 19:24:21 +0000 (19:24 +0000)]
2009-11-10  Zoltan Horvath  <zoltan@webkit.org>

        Reviewed by Darin Adler.

        Allow custom memory allocation control for the part of loader directory in WebCore
        https://bugs.webkit.org/show_bug.cgi?id=31161

        Inherits the following classes from Noncopyable because these are instantiated
        by 'new' and these are no need to be copyable:

        class Request - WebCore/loader/loader.cpp:100
        struct ScheduledRedirection - WebCore/loader/RedirectScheduler.cpp:164
        class ApplicationCacheStorage - WebCore/loader/appcache/ApplicationCacheStorage.cpp:1121
        class ApplicationCacheHost -  WebCore/loader/DocumentLoader.cpp:151
        class ImageEventSender - WebCore/loader/ImageLoader.cpp:54
        struct ProgressItem - WebCore/loader/ProgressTracker.cpp:169

        Inherits ThreadableLoaderClient class from Noncopyable because (its child class)
        MainThreadBridge is instantiated by 'new' in
        WebCore/loader/WorkerThreadableLoader.cpp:59 it is no need to be copyable.

        ThreadableLoaderClient's inheriting has been changed to public.

        * loader/ImageLoader.cpp:
        * loader/ProgressTracker.cpp:
        * loader/RedirectScheduler.cpp:
        * loader/Request.h:
        * loader/ThreadableLoaderClient.h:
        * loader/WorkerThreadableLoader.h:
        * loader/appcache/ApplicationCacheHost.h:
        * loader/appcache/ApplicationCacheStorage.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50748 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed documentation fixes.
kenneth@webkit.org [Tue, 10 Nov 2009 18:57:34 +0000 (18:57 +0000)]
Unreviewed documentation fixes.

Added a few improvements from Jocelyn Turcotte to the
createWindow docs.

* Api/qwebview.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50747 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 18:56:36 +0000 (18:56 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/SocketStreamHandle.cpp: Added.
        (WebCore::SocketStreamHandleInternal::create):
        (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal):
        (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal):
        (WebCore::SocketStreamHandleInternal::connect):
        (WebCore::SocketStreamHandleInternal::send):
        (WebCore::SocketStreamHandleInternal::close):
        (WebCore::SocketStreamHandleInternal::willOpenStream):
        (WebCore::SocketStreamHandleInternal::didOpenStream):
        (WebCore::SocketStreamHandleInternal::didSendData):
        (WebCore::SocketStreamHandleInternal::didReceiveData):
        (WebCore::SocketStreamHandleInternal::didClose):
        (WebCore::SocketStreamHandleInternal::didFail):
        (WebCore::SocketStreamHandle::SocketStreamHandle):
        (WebCore::SocketStreamHandle::~SocketStreamHandle):
        (WebCore::SocketStreamHandle::platformSend):
        (WebCore::SocketStreamHandle::platformClose):
        (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
        (WebCore::SocketStreamHandle::receivedCredential):
        (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
        (WebCore::SocketStreamHandle::receivedCancellation):
        * src/StorageAreaProxy.cpp: Added.
        (WebCore::StorageAreaProxy::StorageAreaProxy):
        (WebCore::StorageAreaProxy::~StorageAreaProxy):
        (WebCore::StorageAreaProxy::length):
        (WebCore::StorageAreaProxy::key):
        (WebCore::StorageAreaProxy::getItem):
        (WebCore::StorageAreaProxy::setItem):
        (WebCore::StorageAreaProxy::removeItem):
        (WebCore::StorageAreaProxy::clear):
        (WebCore::StorageAreaProxy::contains):
        * src/StorageAreaProxy.h: Added.
        * src/StorageEventDispatcherChromium.cpp: Added.
        (WebCore::StorageEventDispatcher::dispatch):
        * src/StorageEventDispatcherImpl.cpp: Added.
        (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
        (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
        * src/StorageEventDispatcherImpl.h: Added.
        * src/StorageNamespaceProxy.cpp: Added.
        (WebCore::StorageNamespace::localStorageNamespace):
        (WebCore::StorageNamespace::sessionStorageNamespace):
        (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
        (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy):
        (WebCore::StorageNamespaceProxy::copy):
        (WebCore::StorageNamespaceProxy::storageArea):
        (WebCore::StorageNamespaceProxy::close):
        (WebCore::StorageNamespaceProxy::unlock):
        * src/StorageNamespaceProxy.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50746 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed documentation fix.
kenneth@webkit.org [Tue, 10 Nov 2009 18:52:06 +0000 (18:52 +0000)]
Unreviewed documentation fix.

[Qt] Make qwebpage's createWindow not qwebview dependent.
https://bugs.webkit.org/show_bug.cgi?id=30771

Update documentation to make it clear that a reimplementation
of the createWindow method of the associated QWebPage can
result in the QWebView::createWindow method to never be called.

* Api/qwebview.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50745 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 18:49:07 +0000 (18:49 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/NotificationPresenterImpl.cpp: Added.
        (WebKit::VoidCallbackClient::VoidCallbackClient):
        (WebKit::VoidCallbackClient::permissionRequestComplete):
        (WebKit::NotificationPresenterImpl::initialize):
        (WebKit::NotificationPresenterImpl::isInitialized):
        (WebKit::NotificationPresenterImpl::show):
        (WebKit::NotificationPresenterImpl::cancel):
        (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
        (WebKit::NotificationPresenterImpl::checkPermission):
        (WebKit::NotificationPresenterImpl::requestPermission):
        * src/NotificationPresenterImpl.h: Added.
        (WebKit::NotificationPresenterImpl::NotificationPresenterImpl):
        * src/PlatformMessagePortChannel.cpp: Added.
        (WebCore::MessagePortChannel::create):
        (WebCore::MessagePortChannel::createChannel):
        (WebCore::MessagePortChannel::MessagePortChannel):
        (WebCore::MessagePortChannel::~MessagePortChannel):
        (WebCore::MessagePortChannel::entangleIfOpen):
        (WebCore::MessagePortChannel::disentangle):
        (WebCore::MessagePortChannel::postMessageToRemote):
        (WebCore::MessagePortChannel::tryGetMessageFromRemote):
        (WebCore::MessagePortChannel::close):
        (WebCore::MessagePortChannel::isConnectedTo):
        (WebCore::MessagePortChannel::hasPendingActivity):
        (WebCore::MessagePortChannel::locallyEntangledPort):
        (WebCore::PlatformMessagePortChannel::create):
        (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
        (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel):
        (WebCore::PlatformMessagePortChannel::createChannel):
        (WebCore::PlatformMessagePortChannel::messageAvailable):
        (WebCore::PlatformMessagePortChannel::entangleIfOpen):
        (WebCore::PlatformMessagePortChannel::disentangle):
        (WebCore::PlatformMessagePortChannel::postMessageToRemote):
        (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
        (WebCore::PlatformMessagePortChannel::close):
        (WebCore::PlatformMessagePortChannel::isConnectedTo):
        (WebCore::PlatformMessagePortChannel::hasPendingActivity):
        (WebCore::PlatformMessagePortChannel::setEntangledChannel):
        (WebCore::PlatformMessagePortChannel::webChannelRelease):
        * src/PlatformMessagePortChannel.h: Added.
        * src/ResourceHandle.cpp: Added.
        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
        (WebCore::ResourceHandleInternal::start):
        (WebCore::ResourceHandleInternal::cancel):
        (WebCore::ResourceHandleInternal::setDefersLoading):
        (WebCore::ResourceHandleInternal::allowStoredCredentials):
        (WebCore::ResourceHandleInternal::willSendRequest):
        (WebCore::ResourceHandleInternal::didSendData):
        (WebCore::ResourceHandleInternal::didReceiveResponse):
        (WebCore::ResourceHandleInternal::didReceiveData):
        (WebCore::ResourceHandleInternal::didFinishLoading):
        (WebCore::ResourceHandleInternal::didFail):
        (WebCore::ResourceHandle::ResourceHandle):
        (WebCore::ResourceHandle::create):
        (WebCore::ResourceHandle::request):
        (WebCore::ResourceHandle::client):
        (WebCore::ResourceHandle::setClient):
        (WebCore::ResourceHandle::setDefersLoading):
        (WebCore::ResourceHandle::start):
        (WebCore::ResourceHandle::clearAuthentication):
        (WebCore::ResourceHandle::cancel):
        (WebCore::ResourceHandle::~ResourceHandle):
        (WebCore::ResourceHandle::bufferedData):
        (WebCore::ResourceHandle::loadsBlocked):
        (WebCore::ResourceHandle::supportsBufferedData):
        (WebCore::ResourceHandle::loadResourceSynchronously):
        (WebCore::ResourceHandle::willLoadFromCache):
        * src/SharedWorkerRepository.cpp: Added.
        (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
        (WebCore::SharedWorkerScriptLoader::load):
        (WebCore::getWebPort):
        (WebCore::SharedWorkerScriptLoader::notifyFinished):
        (WebCore::SharedWorkerScriptLoader::sendConnect):
        (WebCore::SharedWorkerScriptLoader::contextDestroyed):
        (WebCore::SharedWorkerScriptLoader::connected):
        (WebCore::SharedWorkerRepository::isAvailable):
        (WebCore::getId):
        (WebCore::SharedWorkerRepository::connect):
        (WebCore::SharedWorkerRepository::documentDetached):
        (WebCore::SharedWorkerRepository::hasSharedWorkers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50744 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 18:34:59 +0000 (18:34 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/GraphicsContext3D.cpp: Added.
        (WebCore::GraphicsContext3DInternal::):
        (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
        (WebCore::tryLoad):
        (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
        (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
        (WebCore::GraphicsContext3DInternal::checkError):
        (WebCore::GraphicsContext3DInternal::makeContextCurrent):
        (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
        (WebCore::GraphicsContext3DInternal::platformTexture):
        (WebCore::createTextureObject):
        (WebCore::GraphicsContext3DInternal::reshape):
        (WebCore::GraphicsContext3DInternal::flipVertically):
        (WebCore::GraphicsContext3DInternal::beginPaint):
        (WebCore::GraphicsContext3DInternal::validateTextureTarget):
        (WebCore::GraphicsContext3DInternal::validateTextureParameter):
        (WebCore::GraphicsContext3DInternal::activeTexture):
        (WebCore::GraphicsContext3DInternal::bindBuffer):
        (WebCore::GraphicsContext3DInternal::bindTexture):
        (WebCore::GraphicsContext3DInternal::bufferDataImpl):
        (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
        (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
        (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
        (WebCore::GraphicsContext3DInternal::viewportImpl):
        (WebCore::GraphicsContext3D::create):
        (WebCore::GraphicsContext3D::GraphicsContext3D):
        (WebCore::GraphicsContext3D::~GraphicsContext3D):
        (WebCore::GraphicsContext3D::platformGraphicsContext3D):
        (WebCore::GraphicsContext3D::platformTexture):
        (WebCore::GraphicsContext3D::checkError):
        (WebCore::GraphicsContext3D::makeContextCurrent):
        (WebCore::GraphicsContext3D::reshape):
        (WebCore::GraphicsContext3D::beginPaint):
        (WebCore::GraphicsContext3D::endPaint):
        (WebCore::GraphicsContext3D::sizeInBytes):
        (WebCore::GraphicsContext3D::createBuffer):
        (WebCore::GraphicsContext3D::createFramebuffer):
        (WebCore::GraphicsContext3D::createProgram):
        (WebCore::GraphicsContext3D::createRenderbuffer):
        (WebCore::GraphicsContext3D::createShader):
        (WebCore::GraphicsContext3D::createTexture):
        (WebCore::GraphicsContext3D::deleteBuffer):
        (WebCore::GraphicsContext3D::deleteFramebuffer):
        (WebCore::GraphicsContext3D::deleteProgram):
        (WebCore::GraphicsContext3D::deleteRenderbuffer):
        (WebCore::GraphicsContext3D::deleteShader):
        (WebCore::GraphicsContext3D::deleteTexture):
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::checkFramebufferStatus):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::disableVertexAttribArray):
        (WebCore::GraphicsContext3D::drawArrays):
        (WebCore::GraphicsContext3D::drawElements):
        (WebCore::GraphicsContext3D::enableVertexAttribArray):
        (WebCore::GraphicsContext3D::generateMipmap):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::getBoolean):
        (WebCore::GraphicsContext3D::getBooleanv):
        (WebCore::GraphicsContext3D::getBufferParameteri):
        (WebCore::GraphicsContext3D::getBufferParameteriv):
        (WebCore::GraphicsContext3D::getError):
        (WebCore::GraphicsContext3D::getFloat):
        (WebCore::GraphicsContext3D::getFloatv):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
        (WebCore::GraphicsContext3D::getInteger):
        (WebCore::GraphicsContext3D::getIntegerv):
        (WebCore::GraphicsContext3D::getProgrami):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getRenderbufferParameteri):
        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
        (WebCore::GraphicsContext3D::getShaderi):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getShaderSource):
        (WebCore::GraphicsContext3D::getString):
        (WebCore::GraphicsContext3D::getTexParameterf):
        (WebCore::GraphicsContext3D::getTexParameterfv):
        (WebCore::GraphicsContext3D::getTexParameteri):
        (WebCore::GraphicsContext3D::getTexParameteriv):
        (WebCore::GraphicsContext3D::getUniformf):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformi):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getVertexAttribf):
        (WebCore::GraphicsContext3D::getVertexAttribfv):
        (WebCore::GraphicsContext3D::getVertexAttribi):
        (WebCore::GraphicsContext3D::getVertexAttribiv):
        (WebCore::GraphicsContext3D::getVertexAttribOffset):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isEnabled):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::pixelStorei):
        (WebCore::GraphicsContext3D::readPixels):
        (WebCore::GraphicsContext3D::releaseShaderCompiler):
        (WebCore::GraphicsContext3D::shaderSource):
        (WebCore::GraphicsContext3D::texImage2D):
        (WebCore::unmultiplyAlpha):
        (WebCore::texImage2DHelper):
        (WebCore::GraphicsContext3D::texSubImage2D):
        (WebCore::GraphicsContext3D::uniform1fv):
        (WebCore::GraphicsContext3D::uniform1iv):
        (WebCore::GraphicsContext3D::uniform2fv):
        (WebCore::GraphicsContext3D::uniform2iv):
        (WebCore::GraphicsContext3D::uniform3fv):
        (WebCore::GraphicsContext3D::uniform3iv):
        (WebCore::GraphicsContext3D::uniform4fv):
        (WebCore::GraphicsContext3D::uniform4iv):
        (WebCore::GraphicsContext3D::uniformMatrix2fv):
        (WebCore::GraphicsContext3D::uniformMatrix3fv):
        (WebCore::GraphicsContext3D::uniformMatrix4fv):
        (WebCore::GraphicsContext3D::vertexAttrib1fv):
        (WebCore::GraphicsContext3D::vertexAttrib2fv):
        (WebCore::GraphicsContext3D::vertexAttrib3fv):
        (WebCore::GraphicsContext3D::vertexAttrib4fv):
        (WebCore::GraphicsContext3D::vertexAttribPointer):
        (WebCore::GraphicsContext3D::viewport):
        * src/InspectorClientImpl.cpp: Added.
        (WebKit::InspectorClientImpl::InspectorClientImpl):
        (WebKit::InspectorClientImpl::~InspectorClientImpl):
        (WebKit::InspectorClientImpl::inspectorDestroyed):
        (WebKit::InspectorClientImpl::createPage):
        (WebKit::InspectorClientImpl::showWindow):
        (WebKit::InspectorClientImpl::closeWindow):
        (WebKit::InspectorClientImpl::windowVisible):
        (WebKit::InspectorClientImpl::attachWindow):
        (WebKit::InspectorClientImpl::detachWindow):
        (WebKit::InspectorClientImpl::setAttachedWindowHeight):
        (WebKit::invalidateNodeBoundingRect):
        (WebKit::InspectorClientImpl::highlight):
        (WebKit::InspectorClientImpl::hideHighlight):
        (WebKit::InspectorClientImpl::inspectedURLChanged):
        (WebKit::InspectorClientImpl::localizedStringsURL):
        (WebKit::InspectorClientImpl::hiddenPanels):
        (WebKit::InspectorClientImpl::populateSetting):
        (WebKit::InspectorClientImpl::storeSetting):
        (WebKit::InspectorClientImpl::removeSetting):
        (WebKit::InspectorClientImpl::inspectorWindowObjectCleared):
        (WebKit::InspectorClientImpl::loadSettings):
        (WebKit::InspectorClientImpl::saveSettings):
        * src/InspectorClientImpl.h: Added.
        * src/LocalizedStrings.cpp: Added.
        (WebCore::query):
        (WebCore::searchableIndexIntroduction):
        (WebCore::submitButtonDefaultLabel):
        (WebCore::inputElementAltText):
        (WebCore::resetButtonDefaultLabel):
        (WebCore::fileButtonChooseFileLabel):
        (WebCore::fileButtonNoFileSelectedLabel):
        (WebCore::searchMenuNoRecentSearchesText):
        (WebCore::searchMenuRecentSearchesText):
        (WebCore::searchMenuClearRecentSearchesText):
        (WebCore::AXWebAreaText):
        (WebCore::AXLinkText):
        (WebCore::AXListMarkerText):
        (WebCore::AXImageMapText):
        (WebCore::AXHeadingText):
        (WebCore::AXDefinitionListTermText):
        (WebCore::AXDefinitionListDefinitionText):
        (WebCore::AXButtonActionVerb):
        (WebCore::AXRadioButtonActionVerb):
        (WebCore::AXTextFieldActionVerb):
        (WebCore::AXCheckedCheckBoxActionVerb):
        (WebCore::AXUncheckedCheckBoxActionVerb):
        (WebCore::AXLinkActionVerb):
        (WebCore::multipleFileUploadText):
        (WebCore::unknownFileSizeText):
        (WebCore::keygenMenuHighGradeKeySize):
        (WebCore::keygenMenuMediumGradeKeySize):
        (WebCore::imageTitle):
        (WebCore::contextMenuItemTagOpenLinkInNewWindow):
        (WebCore::contextMenuItemTagDownloadLinkToDisk):
        (WebCore::contextMenuItemTagCopyLinkToClipboard):
        (WebCore::contextMenuItemTagOpenImageInNewWindow):
        (WebCore::contextMenuItemTagDownloadImageToDisk):
        (WebCore::contextMenuItemTagCopyImageToClipboard):
        (WebCore::contextMenuItemTagOpenFrameInNewWindow):
        (WebCore::contextMenuItemTagCopy):
        (WebCore::contextMenuItemTagGoBack):
        (WebCore::contextMenuItemTagGoForward):
        (WebCore::contextMenuItemTagStop):
        (WebCore::contextMenuItemTagReload):
        (WebCore::contextMenuItemTagCut):
        (WebCore::contextMenuItemTagPaste):
        (WebCore::contextMenuItemTagNoGuessesFound):
        (WebCore::contextMenuItemTagIgnoreSpelling):
        (WebCore::contextMenuItemTagLearnSpelling):
        (WebCore::contextMenuItemTagSearchWeb):
        (WebCore::contextMenuItemTagLookUpInDictionary):
        (WebCore::contextMenuItemTagOpenLink):
        (WebCore::contextMenuItemTagIgnoreGrammar):
        (WebCore::contextMenuItemTagSpellingMenu):
        (WebCore::contextMenuItemTagCheckSpelling):
        (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
        (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
        (WebCore::contextMenuItemTagFontMenu):
        (WebCore::contextMenuItemTagBold):
        (WebCore::contextMenuItemTagItalic):
        (WebCore::contextMenuItemTagUnderline):
        (WebCore::contextMenuItemTagOutline):
        (WebCore::contextMenuItemTagWritingDirectionMenu):
        (WebCore::contextMenuItemTagTextDirectionMenu):
        (WebCore::contextMenuItemTagDefaultDirection):
        (WebCore::contextMenuItemTagLeftToRight):
        (WebCore::contextMenuItemTagRightToLeft):
        (WebCore::contextMenuItemTagInspectElement):
        (WebCore::contextMenuItemTagShowSpellingPanel):
        (WebCore::mediaElementLiveBroadcastStateText):
        (WebCore::mediaElementLoadingStateText):
        (WebCore::localizedMediaControlElementString):
        (WebCore::localizedMediaControlElementHelpText):
        (WebCore::localizedMediaTimeDescription):
        * src/MediaPlayerPrivateChromium.cpp: Added.
        (WebCore::MediaPlayerPrivate::registerMediaEngine):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50743 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 18:27:16 +0000 (18:27 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/DOMUtilitiesPrivate.cpp: Added.
        (WebCore::toHTMLElement):
        (WebKit::toHTMLInputElement):
        (WebKit::toHTMLLinkElement):
        (WebKit::toHTMLMetaElement):
        (WebKit::toHTMLOptionElement):
        (WebKit::nameOfInputElement):
        * src/DOMUtilitiesPrivate.h: Added.
        * src/DragClientImpl.cpp: Added.
        (WebKit::DragClientImpl::willPerformDragDestinationAction):
        (WebKit::DragClientImpl::willPerformDragSourceAction):
        (WebKit::DragClientImpl::actionMaskForDrag):
        (WebKit::DragClientImpl::dragSourceActionMaskForPoint):
        (WebKit::DragClientImpl::startDrag):
        (WebKit::DragClientImpl::createDragImageForLink):
        (WebKit::DragClientImpl::dragControllerDestroyed):
        * src/DragClientImpl.h: Added.
        (WebKit::DragClientImpl::DragClientImpl):
        * src/EditorClientImpl.cpp: Added.
        (WebKit::EditorClientImpl::EditorClientImpl):
        (WebKit::EditorClientImpl::~EditorClientImpl):
        (WebKit::EditorClientImpl::pageDestroyed):
        (WebKit::EditorClientImpl::shouldShowDeleteInterface):
        (WebKit::EditorClientImpl::smartInsertDeleteEnabled):
        (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
        (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
        (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled):
        (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
        (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
        (WebKit::EditorClientImpl::toggleGrammarChecking):
        (WebKit::EditorClientImpl::spellCheckerDocumentTag):
        (WebKit::EditorClientImpl::isEditable):
        (WebKit::EditorClientImpl::shouldBeginEditing):
        (WebKit::EditorClientImpl::shouldEndEditing):
        (WebKit::EditorClientImpl::shouldInsertNode):
        (WebKit::EditorClientImpl::shouldInsertText):
        (WebKit::EditorClientImpl::shouldDeleteRange):
        (WebKit::EditorClientImpl::shouldChangeSelectedRange):
        (WebKit::EditorClientImpl::shouldApplyStyle):
        (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete):
        (WebKit::EditorClientImpl::didBeginEditing):
        (WebKit::EditorClientImpl::respondToChangedSelection):
        (WebKit::EditorClientImpl::respondToChangedContents):
        (WebKit::EditorClientImpl::didEndEditing):
        (WebKit::EditorClientImpl::didWriteSelectionToPasteboard):
        (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard):
        (WebKit::EditorClientImpl::registerCommandForUndo):
        (WebKit::EditorClientImpl::registerCommandForRedo):
        (WebKit::EditorClientImpl::clearUndoRedoOperations):
        (WebKit::EditorClientImpl::canUndo):
        (WebKit::EditorClientImpl::canRedo):
        (WebKit::EditorClientImpl::undo):
        (WebKit::EditorClientImpl::redo):
        (WebKit::):
        (WebKit::EditorClientImpl::interpretKeyEvent):
        (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
        (WebKit::EditorClientImpl::handleKeyboardEvent):
        (WebKit::EditorClientImpl::handleInputMethodKeydown):
        (WebKit::EditorClientImpl::textFieldDidBeginEditing):
        (WebKit::EditorClientImpl::textFieldDidEndEditing):
        (WebKit::EditorClientImpl::textDidChangeInTextField):
        (WebKit::EditorClientImpl::showFormAutofillForNode):
        (WebKit::EditorClientImpl::autofill):
        (WebKit::EditorClientImpl::doAutofill):
        (WebKit::EditorClientImpl::cancelPendingAutofill):
        (WebKit::EditorClientImpl::onAutofillSuggestionAccepted):
        (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
        (WebKit::EditorClientImpl::textWillBeDeletedInTextField):
        (WebKit::EditorClientImpl::textDidChangeInTextArea):
        (WebKit::EditorClientImpl::ignoreWordInSpellDocument):
        (WebKit::EditorClientImpl::learnWord):
        (WebKit::EditorClientImpl::checkSpellingOfString):
        (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
        (WebKit::EditorClientImpl::checkGrammarOfString):
        (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString):
        (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
        (WebKit::EditorClientImpl::showSpellingUI):
        (WebKit::EditorClientImpl::spellingUIIsShowing):
        (WebKit::EditorClientImpl::getGuessesForWord):
        (WebKit::EditorClientImpl::setInputMethodState):
        * src/EditorClientImpl.h: Added.
        (WebKit::EditorClientImpl::):
        * src/FrameLoaderClientImpl.cpp: Added.
        (WebKit::):
        (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
        (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl):
        (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed):
        (WebKit::FrameLoaderClientImpl::windowObjectCleared):
        (WebKit::FrameLoaderClientImpl::documentElementAvailable):
        (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
        (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
        (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
        (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation):
        (WebKit::FrameLoaderClientImpl::registerForIconNotification):
        (WebKit::FrameLoaderClientImpl::didChangeScrollOffset):
        (WebKit::FrameLoaderClientImpl::allowJavaScript):
        (WebKit::FrameLoaderClientImpl::hasWebView):
        (WebKit::FrameLoaderClientImpl::hasFrameView):
        (WebKit::FrameLoaderClientImpl::makeDocumentView):
        (WebKit::FrameLoaderClientImpl::makeRepresentation):
        (WebKit::FrameLoaderClientImpl::forceLayout):
        (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML):
        (WebKit::FrameLoaderClientImpl::setCopiesOnScroll):
        (WebKit::FrameLoaderClientImpl::detachedFromParent2):
        (WebKit::FrameLoaderClientImpl::detachedFromParent3):
        (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest):
        (WebKit::determineTargetTypeFromLoader):
        (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
        (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage):
        (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge):
        (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge):
        (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse):
        (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
        (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading):
        (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading):
        (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
        (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache):
        (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest):
        (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents):
        (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad):
        (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect):
        (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
        (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
        (WebKit::FrameLoaderClientImpl::dispatchWillClose):
        (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon):
        (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad):
        (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
        (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
        (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad):
        (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad):
        (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad):
        (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
        (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
        (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
        (WebKit::FrameLoaderClientImpl::dispatchShow):
        (WebKit::shouldTreatAsAttachment):
        (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
        (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
        (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
        (WebKit::FrameLoaderClientImpl::cancelPolicyCheck):
        (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy):
        (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm):
        (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource):
        (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
        (WebKit::FrameLoaderClientImpl::setMainDocumentError):
        (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
        (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
        (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
        (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady):
        (WebKit::FrameLoaderClientImpl::startDownload):
        (WebKit::FrameLoaderClientImpl::willChangeTitle):
        (WebKit::FrameLoaderClientImpl::didChangeTitle):
        (WebKit::FrameLoaderClientImpl::committedLoad):
        (WebKit::FrameLoaderClientImpl::finishedLoading):
        (WebKit::FrameLoaderClientImpl::updateGlobalHistory):
        (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks):
        (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem):
        (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent):
        (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
        (WebKit::FrameLoaderClientImpl::blockedError):
        (WebKit::FrameLoaderClientImpl::cancelledError):
        (WebKit::FrameLoaderClientImpl::cannotShowURLError):
        (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError):
        (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError):
        (WebKit::FrameLoaderClientImpl::fileDoesNotExistError):
        (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError):
        (WebKit::FrameLoaderClientImpl::shouldFallBack):
        (WebKit::FrameLoaderClientImpl::canHandleRequest):
        (WebKit::FrameLoaderClientImpl::canShowMIMEType):
        (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme):
        (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme):
        (WebKit::FrameLoaderClientImpl::frameLoadCompleted):
        (WebKit::FrameLoaderClientImpl::saveViewStateToItem):
        (WebKit::FrameLoaderClientImpl::restoreViewState):
        (WebKit::FrameLoaderClientImpl::provisionalLoadStarted):
        (WebKit::FrameLoaderClientImpl::didFinishLoad):
        (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement):
        (WebKit::FrameLoaderClientImpl::createDocumentLoader):
        (WebKit::FrameLoaderClientImpl::setTitle):
        (WebKit::FrameLoaderClientImpl::userAgent):
        (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame):
        (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame):
        (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage):
        (WebKit::FrameLoaderClientImpl::canCachePage):
        (WebKit::FrameLoaderClientImpl::download):
        (WebKit::FrameLoaderClientImpl::createFrame):
        (WebKit::FrameLoaderClientImpl::createPlugin):
        (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
        (WebKit::FrameLoaderClientImpl::createJavaAppletWidget):
        (WebKit::FrameLoaderClientImpl::objectContentType):
        (WebKit::FrameLoaderClientImpl::overrideMediaType):
        (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
        (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation):
        (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
        * src/FrameLoaderClientImpl.h: Added.
        (WebKit::FrameLoaderClientImpl::webFrame):
        (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress):
        (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50742 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 18:19:44 +0000 (18:19 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/ChromeClientImpl.cpp: Added.
        (WebKit::ChromeClientImpl::ChromeClientImpl):
        (WebKit::ChromeClientImpl::~ChromeClientImpl):
        (WebKit::ChromeClientImpl::chromeDestroyed):
        (WebKit::ChromeClientImpl::setWindowRect):
        (WebKit::ChromeClientImpl::windowRect):
        (WebKit::ChromeClientImpl::pageRect):
        (WebKit::ChromeClientImpl::scaleFactor):
        (WebKit::ChromeClientImpl::focus):
        (WebKit::ChromeClientImpl::unfocus):
        (WebKit::ChromeClientImpl::canTakeFocus):
        (WebKit::ChromeClientImpl::takeFocus):
        (WebKit::ChromeClientImpl::focusedNodeChanged):
        (WebKit::ChromeClientImpl::createWindow):
        (WebKit::currentEventShouldCauseBackgroundTab):
        (WebKit::ChromeClientImpl::show):
        (WebKit::ChromeClientImpl::canRunModal):
        (WebKit::ChromeClientImpl::runModal):
        (WebKit::ChromeClientImpl::setToolbarsVisible):
        (WebKit::ChromeClientImpl::toolbarsVisible):
        (WebKit::ChromeClientImpl::setStatusbarVisible):
        (WebKit::ChromeClientImpl::statusbarVisible):
        (WebKit::ChromeClientImpl::setScrollbarsVisible):
        (WebKit::ChromeClientImpl::scrollbarsVisible):
        (WebKit::ChromeClientImpl::setMenubarVisible):
        (WebKit::ChromeClientImpl::menubarVisible):
        (WebKit::ChromeClientImpl::setResizable):
        (WebKit::ChromeClientImpl::addMessageToConsole):
        (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel):
        (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel):
        (WebKit::ChromeClientImpl::closeWindowSoon):
        (WebKit::ChromeClientImpl::runJavaScriptAlert):
        (WebKit::ChromeClientImpl::runJavaScriptConfirm):
        (WebKit::ChromeClientImpl::runJavaScriptPrompt):
        (WebKit::ChromeClientImpl::setStatusbarText):
        (WebKit::ChromeClientImpl::shouldInterruptJavaScript):
        (WebKit::ChromeClientImpl::tabsToLinks):
        (WebKit::ChromeClientImpl::windowResizerRect):
        (WebKit::ChromeClientImpl::repaint):
        (WebKit::ChromeClientImpl::scroll):
        (WebKit::ChromeClientImpl::screenToWindow):
        (WebKit::ChromeClientImpl::windowToScreen):
        (WebKit::ChromeClientImpl::contentsSizeChanged):
        (WebKit::ChromeClientImpl::scrollbarsModeDidChange):
        (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
        (WebKit::ChromeClientImpl::setToolTip):
        (WebKit::ChromeClientImpl::print):
        (WebKit::ChromeClientImpl::exceededDatabaseQuota):
        (WebKit::ChromeClientImpl::reachedMaxAppCacheSize):
        (WebKit::ChromeClientImpl::runOpenPanel):
        (WebKit::ChromeClientImpl::popupOpened):
        (WebKit::ChromeClientImpl::setCursor):
        (WebKit::ChromeClientImpl::setCursorForPlugin):
        (WebKit::ChromeClientImpl::formStateDidChange):
        (WebKit::ChromeClientImpl::getPopupMenuInfo):
        (WebKit::ChromeClientImpl::notificationPresenter):
        * src/ChromeClientImpl.h: Added.
        (WebKit::ChromeClientImpl::webView):
        (WebKit::ChromeClientImpl::platformPageClient):
        (WebKit::ChromeClientImpl::scrollRectIntoView):
        (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
        (WebKit::ChromeClientImpl::setCursor):
        (WebKit::ChromeClientImpl::createHTMLParserQuirks):
        * src/ChromiumBridge.cpp: Added.
        (WebCore::toChromeClientImpl):
        (WebCore::toWebWidgetClient):
        (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
        (WebCore::ChromiumBridge::clipboardReadPlainText):
        (WebCore::ChromiumBridge::clipboardReadHTML):
        (WebCore::ChromiumBridge::clipboardWriteSelection):
        (WebCore::ChromiumBridge::clipboardWritePlainText):
        (WebCore::ChromiumBridge::clipboardWriteURL):
        (WebCore::ChromiumBridge::clipboardWriteImage):
        (WebCore::ChromiumBridge::setCookies):
        (WebCore::ChromiumBridge::cookies):
        (WebCore::ChromiumBridge::rawCookies):
        (WebCore::ChromiumBridge::deleteCookie):
        (WebCore::ChromiumBridge::prefetchDNS):
        (WebCore::ChromiumBridge::fileExists):
        (WebCore::ChromiumBridge::deleteFile):
        (WebCore::ChromiumBridge::deleteEmptyDirectory):
        (WebCore::ChromiumBridge::getFileSize):
        (WebCore::ChromiumBridge::getFileModificationTime):
        (WebCore::ChromiumBridge::directoryName):
        (WebCore::ChromiumBridge::pathByAppendingComponent):
        (WebCore::ChromiumBridge::makeAllDirectories):
        (WebCore::ChromiumBridge::getAbsolutePath):
        (WebCore::ChromiumBridge::isDirectory):
        (WebCore::ChromiumBridge::filePathToURL):
        (WebCore::ChromiumBridge::ensureFontLoaded):
        (WebCore::ChromiumBridge::getFontFamilyForCharacters):
        (WebCore::ChromiumBridge::databaseOpenFile):
        (WebCore::ChromiumBridge::databaseDeleteFile):
        (WebCore::ChromiumBridge::databaseGetFileAttributes):
        (WebCore::ChromiumBridge::databaseGetFileSize):
        (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
        (WebCore::ChromiumBridge::computedDefaultLanguage):
        (WebCore::ChromiumBridge::layoutTestMode):
        (WebCore::ChromiumBridge::isSupportedImageMIMEType):
        (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
        (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
        (WebCore::ChromiumBridge::mimeTypeForExtension):
        (WebCore::ChromiumBridge::mimeTypeFromFile):
        (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
        (WebCore::ChromiumBridge::plugins):
        (WebCore::ChromiumBridge::pluginScriptableObject):
        (WebCore::ChromiumBridge::loadPlatformImageResource):
        (WebCore::ChromiumBridge::sandboxEnabled):
        (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
        (WebCore::ChromiumBridge::setSharedTimerFireTime):
        (WebCore::ChromiumBridge::stopSharedTimer):
        (WebCore::ChromiumBridge::decrementStatsCounter):
        (WebCore::ChromiumBridge::incrementStatsCounter):
        (WebCore::ChromiumBridge::suddenTerminationChanged):
        (WebCore::ChromiumBridge::currentTime):
        (WebCore::ChromiumBridge::paintButton):
        (WebCore::ChromiumBridge::paintMenuList):
        (WebCore::ChromiumBridge::paintScrollbarArrow):
        (WebCore::ChromiumBridge::paintScrollbarThumb):
        (WebCore::ChromiumBridge::paintScrollbarTrack):
        (WebCore::ChromiumBridge::paintTextField):
        (WebCore::ChromiumBridge::paintTrackbar):
        (WebCore::ChromiumBridge::traceEventBegin):
        (WebCore::ChromiumBridge::traceEventEnd):
        (WebCore::ChromiumBridge::visitedLinkHash):
        (WebCore::ChromiumBridge::isLinkVisited):
        (WebCore::ChromiumBridge::notifyJSOutOfMemory):
        (WebCore::ChromiumBridge::memoryUsageMB):
        (WebCore::ChromiumBridge::screenDepth):
        (WebCore::ChromiumBridge::screenDepthPerComponent):
        (WebCore::ChromiumBridge::screenIsMonochrome):
        (WebCore::ChromiumBridge::screenRect):
        (WebCore::ChromiumBridge::screenAvailableRect):
        (WebCore::ChromiumBridge::popupsAllowed):
        (WebCore::ChromiumBridge::widgetSetCursor):
        (WebCore::ChromiumBridge::widgetSetFocus):
        (WebCore::WorkerContextProxy::create):
        * src/ChromiumCurrentTime.cpp: Added.
        (WTF::currentTime):
        * src/ChromiumThreading.cpp: Added.
        (WTF::ChromiumThreading::initializeMainThread):
        (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread):
        * src/ContextMenuClientImpl.cpp: Added.
        (WebKit::urlFromFrame):
        (WebKit::isASingleWord):
        (WebKit::selectMisspelledWord):
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/ContextMenuClientImpl.h: Added.
        (WebKit::ContextMenuClientImpl::ContextMenuClientImpl):
        (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl):
        (WebKit::ContextMenuClientImpl::copyImageToClipboard):
        (WebKit::ContextMenuClientImpl::contextMenuDestroyed):
        (WebKit::ContextMenuClientImpl::contextMenuItemSelected):
        (WebKit::ContextMenuClientImpl::downloadURL):
        (WebKit::ContextMenuClientImpl::isSpeaking):
        (WebKit::ContextMenuClientImpl::lookUpInDictionary):
        (WebKit::ContextMenuClientImpl::searchWithGoogle):
        (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem):
        (WebKit::ContextMenuClientImpl::speak):
        (WebKit::ContextMenuClientImpl::stopSpeaking):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50741 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 18:12:15 +0000 (18:12 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/ApplicationCacheHost.cpp: Added.
        (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
        (WebCore::ApplicationCacheHostInternal::notifyEventListener):
        (WebCore::ApplicationCacheHost::ApplicationCacheHost):
        (WebCore::ApplicationCacheHost::~ApplicationCacheHost):
        (WebCore::ApplicationCacheHost::maybeLoadMainResource):
        (WebCore::ApplicationCacheHost::selectCacheWithoutManifest):
        (WebCore::ApplicationCacheHost::selectCacheWithManifest):
        (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
        (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
        (WebCore::ApplicationCacheHost::mainResourceDataReceived):
        (WebCore::ApplicationCacheHost::failedLoadingMainResource):
        (WebCore::ApplicationCacheHost::finishedLoadingMainResource):
        (WebCore::ApplicationCacheHost::maybeLoadResource):
        (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect):
        (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse):
        (WebCore::ApplicationCacheHost::maybeLoadFallbackForError):
        (WebCore::ApplicationCacheHost::maybeLoadSynchronously):
        (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously):
        (WebCore::ApplicationCacheHost::canCacheInPageCache):
        (WebCore::ApplicationCacheHost::setDOMApplicationCache):
        (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
        (WebCore::ApplicationCacheHost::status):
        (WebCore::ApplicationCacheHost::update):
        (WebCore::ApplicationCacheHost::swapCache):
        (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
        * src/AssertMatchingEnums.cpp: Added.
        * src/AutocompletePopupMenuClient.cpp: Added.
        (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient):
        (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient):
        (WebKit::AutocompletePopupMenuClient::initialize):
        (WebKit::AutocompletePopupMenuClient::valueChanged):
        (WebKit::AutocompletePopupMenuClient::itemText):
        (WebKit::AutocompletePopupMenuClient::itemStyle):
        (WebKit::AutocompletePopupMenuClient::menuStyle):
        (WebKit::AutocompletePopupMenuClient::clientPaddingLeft):
        (WebKit::AutocompletePopupMenuClient::clientPaddingRight):
        (WebKit::AutocompletePopupMenuClient::popupDidHide):
        (WebKit::AutocompletePopupMenuClient::setTextFromItem):
        (WebKit::AutocompletePopupMenuClient::fontSelector):
        (WebKit::AutocompletePopupMenuClient::hostWindow):
        (WebKit::AutocompletePopupMenuClient::createScrollbar):
        (WebKit::AutocompletePopupMenuClient::setSuggestions):
        (WebKit::AutocompletePopupMenuClient::removeItemAtIndex):
        (WebKit::AutocompletePopupMenuClient::textFieldStyle):
        * src/AutocompletePopupMenuClient.h: Added.
        (WebKit::AutocompletePopupMenuClient::textField):
        (WebKit::AutocompletePopupMenuClient::itemToolTip):
        (WebKit::AutocompletePopupMenuClient::itemIsEnabled):
        (WebKit::AutocompletePopupMenuClient::clientInsetLeft):
        (WebKit::AutocompletePopupMenuClient::clientInsetRight):
        (WebKit::AutocompletePopupMenuClient::listSize):
        (WebKit::AutocompletePopupMenuClient::selectedIndex):
        (WebKit::AutocompletePopupMenuClient::itemIsSeparator):
        (WebKit::AutocompletePopupMenuClient::itemIsLabel):
        (WebKit::AutocompletePopupMenuClient::itemIsSelected):
        (WebKit::AutocompletePopupMenuClient::shouldPopOver):
        (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack):
        * src/BackForwardListClientImpl.cpp: Added.
        (WebKit::BackForwardListClientImpl::BackForwardListClientImpl):
        (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl):
        (WebKit::BackForwardListClientImpl::setCurrentHistoryItem):
        (WebKit::BackForwardListClientImpl::previousHistoryItem):
        (WebKit::BackForwardListClientImpl::addItem):
        (WebKit::BackForwardListClientImpl::goToItem):
        (WebKit::BackForwardListClientImpl::currentItem):
        (WebKit::BackForwardListClientImpl::itemAtIndex):
        (WebKit::BackForwardListClientImpl::backListCount):
        (WebKit::BackForwardListClientImpl::forwardListCount):
        (WebKit::BackForwardListClientImpl::close):
        * src/BackForwardListClientImpl.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50740 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Tue, 10 Nov 2009 18:04:41 +0000 (18:04 +0000)]
2009-11-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Dimitri Glazkov.

        Up-streaming Chromium API src files: WebString...WebViewImpl

        https://bugs.webkit.org/show_bug.cgi?id=31276

        * src/WebString.cpp: Added.
        (WebKit::WebString::reset):
        (WebKit::WebString::assign):
        (WebKit::WebString::length):
        (WebKit::WebString::data):
        (WebKit::WebString::utf8):
        (WebKit::WebString::fromUTF8):
        (WebKit::WebString::WebString):
        (WebKit::WebString::operator=):
        (WebKit::WebString::operator WebCore::String):
        (WebKit::WebString::operator WebCore::AtomicString):
        * src/WebURL.cpp: Added.
        (WebKit::WebURL::WebURL):
        (WebKit::WebURL::operator=):
        (WebKit::WebURL::operator WebCore::KURL):
        * src/WebURLError.cpp: Added.
        (WebKit::WebURLError::WebURLError):
        (WebKit::WebURLError::operator=):
        (WebKit::WebURLError::operator ResourceError):
        * src/WebURLRequest.cpp: Added.
        (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
        (WebKit::WebURLRequestPrivateImpl::dispose):
        (WebKit::WebURLRequest::initialize):
        (WebKit::WebURLRequest::reset):
        (WebKit::WebURLRequest::assign):
        (WebKit::WebURLRequest::isNull):
        (WebKit::WebURLRequest::url):
        (WebKit::WebURLRequest::setURL):
        (WebKit::WebURLRequest::firstPartyForCookies):
        (WebKit::WebURLRequest::setFirstPartyForCookies):
        (WebKit::WebURLRequest::allowCookies):
        (WebKit::WebURLRequest::setAllowCookies):
        (WebKit::WebURLRequest::allowStoredCredentials):
        (WebKit::WebURLRequest::setAllowStoredCredentials):
        (WebKit::WebURLRequest::cachePolicy):
        (WebKit::WebURLRequest::setCachePolicy):
        (WebKit::WebURLRequest::httpMethod):
        (WebKit::WebURLRequest::setHTTPMethod):
        (WebKit::WebURLRequest::httpHeaderField):
        (WebKit::WebURLRequest::setHTTPHeaderField):
        (WebKit::WebURLRequest::addHTTPHeaderField):
        (WebKit::WebURLRequest::clearHTTPHeaderField):
        (WebKit::WebURLRequest::visitHTTPHeaderFields):
        (WebKit::WebURLRequest::httpBody):
        (WebKit::WebURLRequest::setHTTPBody):
        (WebKit::WebURLRequest::reportUploadProgress):
        (WebKit::WebURLRequest::setReportUploadProgress):
        (WebKit::WebURLRequest::targetType):
        (WebKit::WebURLRequest::setTargetType):
        (WebKit::WebURLRequest::requestorID):
        (WebKit::WebURLRequest::setRequestorID):
        (WebKit::WebURLRequest::requestorProcessID):
        (WebKit::WebURLRequest::setRequestorProcessID):
        (WebKit::WebURLRequest::appCacheHostID):
        (WebKit::WebURLRequest::setAppCacheHostID):
        (WebKit::WebURLRequest::toMutableResourceRequest):
        (WebKit::WebURLRequest::toResourceRequest):
        * src/WebURLRequestPrivate.h: Added.
        (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
        * src/WebURLResponse.cpp: Added.
        (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
        (WebKit::WebURLResponsePrivateImpl::dispose):
        (WebKit::WebURLResponse::initialize):
        (WebKit::WebURLResponse::reset):
        (WebKit::WebURLResponse::assign):
        (WebKit::WebURLResponse::isNull):
        (WebKit::WebURLResponse::url):
        (WebKit::WebURLResponse::setURL):
        (WebKit::WebURLResponse::mimeType):
        (WebKit::WebURLResponse::setMIMEType):
        (WebKit::WebURLResponse::expectedContentLength):
        (WebKit::WebURLResponse::setExpectedContentLength):
        (WebKit::WebURLResponse::textEncodingName):
        (WebKit::WebURLResponse::setTextEncodingName):
        (WebKit::WebURLResponse::suggestedFileName):
        (WebKit::WebURLResponse::setSuggestedFileName):
        (WebKit::WebURLResponse::httpStatusCode):
        (WebKit::WebURLResponse::setHTTPStatusCode):
        (WebKit::WebURLResponse::httpStatusText):
        (WebKit::WebURLResponse::setHTTPStatusText):
        (WebKit::WebURLResponse::httpHeaderField):
        (WebKit::WebURLResponse::setHTTPHeaderField):
        (WebKit::WebURLResponse::addHTTPHeaderField):
        (WebKit::WebURLResponse::clearHTTPHeaderField):
        (WebKit::WebURLResponse::visitHTTPHeaderFields):
        (WebKit::WebURLResponse::lastModifiedDate):
        (WebKit::WebURLResponse::setLastModifiedDate):
        (WebKit::WebURLResponse::isContentFiltered):
        (WebKit::WebURLResponse::setIsContentFiltered):
        (WebKit::WebURLResponse::appCacheID):
        (WebKit::WebURLResponse::setAppCacheID):
        (WebKit::WebURLResponse::appCacheManifestURL):
        (WebKit::WebURLResponse::setAppCacheManifestURL):
        (WebKit::WebURLResponse::securityInfo):
        (WebKit::WebURLResponse::setSecurityInfo):
        (WebKit::WebURLResponse::toMutableResourceResponse):
        (WebKit::WebURLResponse::toResourceResponse):
        * src/WebURLResponsePrivate.h: Added.
        (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
        * src/WebViewImpl.cpp: Added.
        (WebKit::):
        (WebKit::WebView::create):
        (WebKit::WebView::updateVisitedLinkState):
        (WebKit::WebView::resetVisitedLinkState):
        (WebKit::WebViewImpl::initializeMainFrame):
        (WebKit::WebViewImpl::WebViewImpl):
        (WebKit::WebViewImpl::~WebViewImpl):
        (WebKit::WebViewImpl::theme):
        (WebKit::WebViewImpl::mainFrameImpl):
        (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
        (WebKit::WebViewImpl::setTabKeyCyclesThroughElements):
        (WebKit::WebViewImpl::mouseMove):
        (WebKit::WebViewImpl::mouseLeave):
        (WebKit::WebViewImpl::mouseDown):
        (WebKit::WebViewImpl::mouseContextMenu):
        (WebKit::WebViewImpl::mouseUp):
        (WebKit::WebViewImpl::mouseWheel):
        (WebKit::WebViewImpl::keyEvent):
        (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
        (WebKit::WebViewImpl::charEvent):
        (WebKit::WebViewImpl::sendContextMenuEvent):
        (WebKit::WebViewImpl::keyEventDefault):
        (WebKit::WebViewImpl::scrollViewWithKeyboard):
        (WebKit::WebViewImpl::propagateScroll):
        (WebKit::WebViewImpl::focusedWebCoreFrame):
        (WebKit::WebViewImpl::fromPage):
        (WebKit::WebViewImpl::close):
        (WebKit::WebViewImpl::resize):
        (WebKit::WebViewImpl::layout):
        (WebKit::WebViewImpl::paint):
        (WebKit::WebViewImpl::handleInputEvent):
        (WebKit::WebViewImpl::mouseCaptureLost):
        (WebKit::WebViewImpl::setFocus):
        (WebKit::WebViewImpl::handleCompositionEvent):
        (WebKit::WebViewImpl::queryCompositionStatus):
        (WebKit::WebViewImpl::setTextDirection):
        (WebKit::WebViewImpl::settings):
        (WebKit::WebViewImpl::pageEncoding):
        (WebKit::WebViewImpl::setPageEncoding):
        (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
        (WebKit::WebViewImpl::dispatchUnloadEvent):
        (WebKit::WebViewImpl::mainFrame):
        (WebKit::WebViewImpl::findFrameByName):
        (WebKit::WebViewImpl::focusedFrame):
        (WebKit::WebViewImpl::setFocusedFrame):
        (WebKit::WebViewImpl::setInitialFocus):
        (WebKit::WebViewImpl::clearFocusedNode):
        (WebKit::WebViewImpl::zoomIn):
        (WebKit::WebViewImpl::zoomOut):
        (WebKit::WebViewImpl::zoomDefault):
        (WebKit::WebViewImpl::performMediaPlayerAction):
        (WebKit::WebViewImpl::copyImageAt):
        (WebKit::WebViewImpl::dragSourceEndedAt):
        (WebKit::WebViewImpl::dragSourceMovedTo):
        (WebKit::WebViewImpl::dragSourceSystemDragEnded):
        (WebKit::WebViewImpl::dragTargetDragEnter):
        (WebKit::WebViewImpl::dragTargetDragOver):
        (WebKit::WebViewImpl::dragTargetDragLeave):
        (WebKit::WebViewImpl::dragTargetDrop):
        (WebKit::WebViewImpl::dragIdentity):
        (WebKit::WebViewImpl::inspectElementAt):
        (WebKit::WebViewImpl::inspectorSettings):
        (WebKit::WebViewImpl::setInspectorSettings):
        (WebKit::WebViewImpl::devToolsAgent):
        (WebKit::WebViewImpl::setDevToolsAgent):
        (WebKit::WebViewImpl::accessibilityObject):
        (WebKit::WebViewImpl::applyAutofillSuggestions):
        (WebKit::WebViewImpl::hideAutofillPopup):
        (WebKit::WebViewImpl::setDropEffect):
        (WebKit::WebViewImpl::setIsTransparent):
        (WebKit::WebViewImpl::isTransparent):
        (WebKit::WebViewImpl::setIsActive):
        (WebKit::WebViewImpl::isActive):
        (WebKit::WebViewImpl::didCommitLoad):
        (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
        (WebKit::WebViewImpl::startDragging):
        (WebKit::WebViewImpl::setCurrentHistoryItem):
        (WebKit::WebViewImpl::previousHistoryItem):
        (WebKit::WebViewImpl::observeNewNavigation):
        (WebKit::WebViewImpl::hideAutoCompletePopup):
        (WebKit::WebViewImpl::autoCompletePopupDidHide):
        (WebKit::WebViewImpl::setIgnoreInputEvents):
        (WebKit::WebViewImpl::notificationPresenterImpl):
        (WebKit::WebViewImpl::refreshAutofillPopup):
        (WebKit::WebViewImpl::focusedWebCoreNode):
        (WebKit::WebViewImpl::hitTestResultForWindowPos):
        (WebKit::WebViewImpl::setTabsToLinks):
        (WebKit::WebViewImpl::tabsToLinks):
        * src/WebViewImpl.h: Added.
        (WebKit::WebViewImpl::size):
        (WebKit::WebViewImpl::devToolsAgentPrivate):
        (WebKit::WebViewImpl::lastMouseDownPoint):
        (WebKit::WebViewImpl::client):
        (WebKit::WebViewImpl::page):
        (WebKit::WebViewImpl::contextMenuAllowed):
        (WebKit::WebViewImpl::setInitialNavigationPolicy):
        (WebKit::WebViewImpl::initialNavigationPolicy):
        (WebKit::WebViewImpl::currentInputEvent):
        (WebKit::WebViewImpl::):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-09 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 10 Nov 2009 16:35:46 +0000 (16:35 +0000)]
2009-11-09  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        WebPa*.h and WebPl*.h Chromium API headers.

        https://bugs.webkit.org/show_bug.cgi?id=28394

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50738 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Philippe Normand <pnormand@igalia.com>
eric@webkit.org [Tue, 10 Nov 2009 11:42:34 +0000 (11:42 +0000)]
2009-11-10  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Jan Alonzo.

        [GTK] Remove WebSocket configuration from WebKitWebSettings
        https://bugs.webkit.org/show_bug.cgi?id=31244

        Follow-up of r50724. Don't set the enable-web-socket property
        anymore.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (resetDefaultsToConsistentValues):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50737 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Philippe Normand <pnormand@igalia.com>
eric@webkit.org [Tue, 10 Nov 2009 11:34:48 +0000 (11:34 +0000)]
2009-11-10  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=31047
        [GTK] Failing test media/video-played-ranges-1.html

        WebKit coding style fixes.

        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::mediaPlayerPrivateMessageCallback):
        (WebCore::MediaPlayerPrivate::naturalSize):
        (WebCore::MediaPlayerPrivate::paint):
        (WebCore::mimeTypeCache):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50736 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2009-11-10 Philippe Normand <pnormand@igalia.com>
eric@webkit.org [Tue, 10 Nov 2009 11:27:18 +0000 (11:27 +0000)]
2009-11-10  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=31047
        [GTK] Failing test media/video-played-ranges-1.html

        * platform/gtk/Skipped: Unskip fixed tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50735 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove build failure introduced by earlier build fix.
oliver@apple.com [Tue, 10 Nov 2009 10:59:39 +0000 (10:59 +0000)]
Remove build failure introduced by earlier build fix.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50734 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoIs this the last build fix? grep tells me yes.
oliver@apple.com [Tue, 10 Nov 2009 10:54:58 +0000 (10:54 +0000)]
Is this the last build fix? grep tells me yes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50733 268f45cc-cd09-0410-ab3c-d52691b4dbfc