1. 05 Apr, 2011 3 commits
  2. 04 Apr, 2011 37 commits
    • enne@google.com's avatar
      2011-04-04 Adrienne Walker <enne@google.com> · 1fe7a87b
      enne@google.com authored
              Unreviewed, rolling out r82879.
              http://trac.webkit.org/changeset/82879
      
              Trying to fix 10.6 layout test expectations broke 10.5
      
              * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.checksum: Added.
              * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.png: Added.
              * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-1-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-10-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-2-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-3-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-4-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-5-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-6-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-7-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-8-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-9-expected.png: Added.
              * platform/chromium-mac/fast/html/details-no-summary1-expected.png: Added.
              * platform/chromium-mac/fast/html/details-no-summary2-expected.png: Added.
              * platform/chromium-mac/fast/html/details-no-summary3-expected.png: Added.
              * platform/chromium-mac/fast/html/details-no-summary4-expected.png: Added.
              * platform/chromium-mac/fast/html/details-open-javascript-expected.png: Added.
              * platform/chromium-mac/fast/html/details-open1-expected.png: Added.
              * platform/chromium-mac/fast/html/details-open2-expected.png: Added.
              * platform/chromium-mac/fast/html/details-open3-expected.png: Added.
              * platform/chromium-mac/fast/html/details-open4-expected.png: Added.
              * platform/chromium-mac/fast/html/details-open5-expected.png: Added.
              * platform/chromium-mac/fast/html/details-open6-expected.png: Added.
              * platform/chromium-mac/fast/html/details-position-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-1-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-2-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-3-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-4-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-5-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.png: Added.
              * platform/chromium-mac/fast/html/details-remove-summary-6-expected.png: Added.
              * platform/chromium-mac/fast/html/details-writing-mode-expected.png: Added.
              * platform/chromium-mac/fast/inline-block/inline-block-vertical-align-expected.checksum: Added.
              * platform/chromium-mac/fast/inline-block/inline-block-vertical-align-expected.png: Added.
              * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.checksum: Added.
              * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.png: Added.
              * platform/chromium-mac/fast/multicol/nested-columns-expected.checksum: Added.
              * platform/chromium-mac/fast/multicol/nested-columns-expected.png:
              * platform/chromium-mac/fast/repaint/list-marker-expected.checksum: Added.
              * platform/chromium-mac/fast/repaint/list-marker-expected.png:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1fe7a87b
    • tony@chromium.org's avatar
      2011-04-04 Tony Chang <tony@chromium.org> · 0a080870
      tony@chromium.org authored
              Reviewed by Ojan Vafai.
      
              [chromium] don't write .checksum files if a fallback platform has an embedded checksum
              https://bugs.webkit.org/show_bug.cgi?id=57783
      
              * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0a080870
    • dglazkov@chromium.org's avatar
      2011-04-04 Dimitri Glazkov <dglazkov@chromium.org> · d47a7b41
      dglazkov@chromium.org authored
              Reviewed by Adam Barth.
      
              Introduce EventDispatchMediator abstraction, which encapsulate all
              non-trivial logic around firing a specific type of an event.
              https://bugs.webkit.org/show_bug.cgi?id=57562
      
              Refactoring, covered by existing tests.
      
              * dom/Event.cpp:
              (WebCore::EventDispatchMediator::EventDispatchMediator): Added.
              (WebCore::EventDispatchMediator::~EventDispatchMediator): Added.
              (WebCore::EventDispatchMediator::dispatchEvent): Added.
              (WebCore::EventDispatchMediator::event): Added.
              * dom/Event.h: Added decl.
              * dom/EventDispatcher.cpp:
              (WebCore::EventDispatcher::dispatchEvent): Changed to use EventDispatchMediator.
              * dom/EventDispatcher.h: Updated decls.
              * dom/KeyboardEvent.cpp:
              (WebCore::KeyboardEventDispatchMediator::KeyboardEventDispatchMediator): Added.
              (WebCore::KeyboardEventDispatchMediator::dispatchEvent): Added.
              * dom/KeyboardEvent.h: Updated decls
              * dom/Node.cpp:
              (WebCore::Node::dispatchEvent): Changed to use EventDispatchMediator.
              (WebCore::Node::dispatchKeyEvent): Changed to use KeyboardEventDispatchMediator.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d47a7b41
    • mrobinson@webkit.org's avatar
      2011-04-04 Martin Robinson <mrobinson@igalia.com> · f6fff6ae
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [Cairo] Memory leak in RefPtrCairo
              https://bugs.webkit.org/show_bug.cgi?id=57758
      
              No new tests. This just fixes a memory leak.
      
              * platform/graphics/cairo/RefPtrCairo.cpp:
              (WTF::derefIfNotNull): Deref should unref the cairo_font_fact_t, not reference it.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f6fff6ae
    • enne@google.com's avatar
      2011-04-04 Adrienne Walker <enne@google.com> · e0caa8a1
      enne@google.com authored
              Unreviewed, rolling out r82880.
              http://trac.webkit.org/changeset/82880
              https://bugs.webkit.org/show_bug.cgi?id=50661
      
              Meter elements not rendered in Chromium Linux layout tests.
      
              * fast/dom/HTMLMeterElement/meter-styles.html:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
      2011-04-04  Adrienne Walker  <enne@google.com>
      
              Unreviewed, rolling out r82880.
              http://trac.webkit.org/changeset/82880
              https://bugs.webkit.org/show_bug.cgi?id=50661
      
              Meter elements not rendered in Chromium Linux layout tests
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSMutableStyleDeclaration.cpp:
              * css/CSSMutableStyleDeclaration.h:
              * css/CSSSelector.cpp:
              (WebCore::CSSSelector::pseudoId):
              (WebCore::nameToPseudoTypeMap):
              (WebCore::CSSSelector::extractPseudoType):
              * css/CSSSelector.h:
              * css/html.css:
              (meter):
              (meter::-webkit-meter):
              (meter::-webkit-meter-bar):
              (meter::-webkit-meter-optimum-value):
              (meter::-webkit-meter-suboptimal-value):
              (meter::-webkit-meter-even-less-good-value):
              * html/HTMLMeterElement.cpp:
              (WebCore::HTMLMeterElement::create):
              (WebCore::HTMLMeterElement::parseMappedAttribute):
              (WebCore::HTMLMeterElement::attach):
              * html/HTMLMeterElement.h:
              * html/shadow/MeterShadowElement.cpp: Removed.
              * html/shadow/MeterShadowElement.h: Removed.
              * rendering/RenderMeter.cpp:
              (WebCore::RenderMeter::RenderMeter):
              (WebCore::RenderMeter::~RenderMeter):
              (WebCore::RenderMeter::createPart):
              (WebCore::RenderMeter::updateFromElement):
              (WebCore::RenderMeter::layoutParts):
              (WebCore::RenderMeter::styleDidChange):
              (WebCore::RenderMeter::shouldHaveParts):
              (WebCore::RenderMeter::valueRatio):
              (WebCore::RenderMeter::barPartRect):
              (WebCore::RenderMeter::valuePartRect):
              (WebCore::RenderMeter::valuePseudoId):
              (WebCore::RenderMeter::barPseudoId):
              (WebCore::RenderMeter::detachShadows):
              (WebCore::RenderMeter::updateShadows):
              * rendering/RenderMeter.h:
              (WebCore::RenderMeter::renderName):
              (WebCore::RenderMeter::isMeter):
              (WebCore::RenderMeter::shadowAttached):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e0caa8a1
    • oliver@apple.com's avatar
      Fix clang build. · 3a210053
      oliver@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@82888 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3a210053
    • dpranke@chromium.org's avatar
      2011-04-04 Dirk Pranke <dpranke@chromium.org> · bada757c
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Adjust the list of flaky tests based on NRWT on webkit mac using
              a 35 second timeout by default.
      
              * platform/mac/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82887 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bada757c
    • commit-queue@webkit.org's avatar
      2011-04-04 Chang Shu <cshu@webkit.org> · 2b8be220
      commit-queue@webkit.org authored
              Reviewed by Ryosuke Niwa.
      
              setContentEditable with true/false/inherit string is not working properly
              https://bugs.webkit.org/show_bug.cgi?id=52058
      
              Updated expected results after this patch fixes the set contenteditable issue.
      
              * fast/dom/HTMLElement/set-false-expected.txt:
              * fast/dom/HTMLElement/set-false.html:
              * fast/dom/HTMLElement/set-inherit-parent-false-expected.txt:
              * fast/dom/HTMLElement/set-inherit-parent-true-expected.txt:
              * fast/dom/HTMLElement/set-true-expected.txt:
              * fast/dom/HTMLElement/set-value-caseinsensitive-expected.txt:
      2011-04-04  Chang Shu  <cshu@webkit.org>
      
              Reviewed by Ryosuke Niwa.
      
              setContentEditable with true/false/inherit string is not working properly
              https://bugs.webkit.org/show_bug.cgi?id=52058
      
              Move isContentEditable from HTMLElement to Node. Thus, Node provides two functions for
              checking editability: rendererIsEditable and isContentEdiable. The former is a fast path,
              which does NOT trigger layout and only checks the render style of usermodify. The latter
              updates the layout first to make sure the render style syncs with DOM contenteditable
              attribute. Certain call sites that need to call isContentEditable rather than rendererIsEditable
              are also updated in the patch. But a complete fix will follow up in bug 57244.
      
              This patch fixes all the failed layout tests related to set contenteditable.
      
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::isReadOnly):
              * dom/Node.cpp:
              (WebCore::Node::isContentEditable):
              (WebCore::Node::shouldUseInputMethod):
              * dom/Node.h:
              * html/HTMLElement.cpp:
              * html/HTMLElement.h:
      2011-04-04  Chang Shu  <cshu@webkit.org>
      
              Reviewed by Ryosuke Niwa.
      
              setContentEditable with true/false/inherit string is not working properly
              https://bugs.webkit.org/show_bug.cgi?id=52058
      
              Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
              as rendererIsEditable is for WebCore internal use.
      
              * src/WebNode.cpp:
              (WebKit::WebNode::isContentEditable):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::setFocus):
              (WebKit::WebViewImpl::setComposition):
              (WebKit::WebViewImpl::confirmComposition):
      2011-04-04  Chang Shu  <cshu@webkit.org>
      
              Reviewed by Ryosuke Niwa.
      
              setContentEditable with true/false/inherit string is not working properly
              https://bugs.webkit.org/show_bug.cgi?id=52058
      
              Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
              as rendererIsEditable is for WebCore internal use.
      
              * WebCoreSupport/EditorClientHaiku.cpp:
              (WebCore::EditorClientHaiku::handleKeyboardEvent):
      2011-04-04  Chang Shu  <cshu@webkit.org>
      
              Reviewed by Ryosuke Niwa.
      
              setContentEditable with true/false/inherit string is not working properly
              https://bugs.webkit.org/show_bug.cgi?id=52058
      
              Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
              as rendererIsEditable is for WebCore internal use.
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::EditorClientQt::handleKeyboardEvent):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2b8be220
    • kevino@webkit.org's avatar
    • oliver@apple.com's avatar
      Remove accidental change to Platform.h · 7f54642e
      oliver@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@82884 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7f54642e
    • ossy@webkit.org's avatar
      2011-04-04 Jade Han <jade.han@nokia.com> · 733784d9
      ossy@webkit.org authored
              Reviewed by Csaba Osztrogonác.
      
              Symbian build fix.
              https://bugs.webkit.org/show_bug.cgi?id=54977
      
              * config.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82883 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      733784d9
    • rolandsteiner@chromium.org's avatar
      2011-04-04 Roland Steiner <rolandsteiner@chromium.org> · 315dc66d
      rolandsteiner@chromium.org authored
              Reviewed by NOBODY (OOPS!).
      
              Bug 57689 - Extract scoping functionality from Document
              https://bugs.webkit.org/show_bug.cgi?id=57689
      
              Moved selfOnlyRef (renamed to guardRef), element ID, image map
              and accesss key functionalities from Document to a new base
              class TreeScope.
      
              TreeShared: made removedLastRef protected
      
              No new tests. (refactoring)
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::destroyScope):
              (WebCore::Document::getElementById):
              (WebCore::Document::childrenChanged):
              (WebCore::Document::scheduleStyleRecalc):
              (WebCore::Document::attach):
              (WebCore::Document::detach):
              * dom/Document.h:
              (WebCore::Node::Node):
              * dom/DocumentOrderedMap.cpp:
              (WebCore::DocumentOrderedMap::get):
              (WebCore::DocumentOrderedMap::getElementById):
              (WebCore::DocumentOrderedMap::getElementByMapName):
              (WebCore::DocumentOrderedMap::getElementByLowercasedMapName):
              * dom/DocumentOrderedMap.h:
              * dom/DOMAllInOne.cpp:
              * dom/Node.cpp:
              (WebCore::Node::~Node):
              (WebCore::Node::setDocument):
              * dom/Node.h:
              * dom/TreeScope.cpp: Added.
              * dom/TreeScope.h: Added.
              * platform/TreeShared.h:
              (WebCore::TreeShared::removedLastRef): made protected
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82882 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      315dc66d
    • beidson@apple.com's avatar
      Add WKIconDatabase* headers to the WebKit2 export for Windows: · 19201468
      beidson@apple.com authored
      * win/WebKit2Generated.make:
      
      Rubberstamped by Adam Roben.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82881 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      19201468
    • morrita@google.com's avatar
      2011-04-04 MORITA Hajime <morrita@google.com> · 918c6f80
      morrita@google.com authored
              Reviewed by Dimitri Glazkov.
      
              Convert <meter> shadow DOM to a DOM-based shadow.
              https://bugs.webkit.org/show_bug.cgi?id=50661
      
              Updated expectations due to shadow structure chagne.
              Also updated meter-styles.html pixel result because the render tree is now laid out
              as normal flexboxes and its layout result is actually different,
              especially if there are non-zero borders on shadow elements.
      
              * fast/dom/HTMLMeterElement/meter-styles.html:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
      2011-04-04  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Convert <meter> shadow DOM to a DOM-based shadow.
              https://bugs.webkit.org/show_bug.cgi?id=50661
      
              Eliminated a large part of <meter> custom layout code,
              which is replaced by a shadow tree.
              Note that the shadow tree is created on construction time and
              will remain during the host HTMLMeterElement lifecycle.
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSMutableStyleDeclaration.cpp:
              (WebCore::CSSMutableStyleDeclaration::setProperty):
              * css/CSSMutableStyleDeclaration.h:
              * css/CSSSelector.cpp:
              (WebCore::CSSSelector::pseudoId):
              (WebCore::nameToPseudoTypeMap):
              (WebCore::CSSSelector::extractPseudoType):
              * css/CSSSelector.h:
              * css/html.css:
              (meter):
              (meter::-webkit-meter-bar):
              (meter::-webkit-meter-optimum-value):
              (meter::-webkit-meter-suboptimum-value):
              (meter::-webkit-meter-even-less-good-value):
              * html/HTMLMeterElement.cpp:
              (WebCore::HTMLMeterElement::~HTMLMeterElement):
              (WebCore::HTMLMeterElement::parseMappedAttribute):
              (WebCore::HTMLMeterElement::attach):
              (WebCore::HTMLMeterElement::valueRatio):
              (WebCore::HTMLMeterElement::didElementStateChange):
              (WebCore::HTMLMeterElement::createShadowSubtree):
              * html/HTMLMeterElement.h:
              * html/shadow/MeterShadowElement.cpp: Added.
              (WebCore::MeterShadowElement::MeterShadowElement):
              (WebCore::MeterShadowElement::meterElement):
              (WebCore::MeterShadowElement::rendererIsNeeded):
              (WebCore::MeterBarElement::shadowPseudoId):
              (WebCore::MeterValueElement::shadowPseudoId):
              (WebCore::MeterValueElement::setWidthPercentage):
              * html/shadow/MeterShadowElement.h: Added.
              (WebCore::MeterBarElement::MeterBarElement):
              (WebCore::MeterBarElement::create):
              (WebCore::MeterValueElement::MeterValueElement):
              (WebCore::MeterValueElement::create):
              * rendering/RenderMeter.cpp:
              (WebCore::RenderMeter::RenderMeter):
              (WebCore::RenderMeter::~RenderMeter):
              (WebCore::RenderMeter::valueRatio):
              * rendering/RenderMeter.h:
              (WebCore::RenderMeter::renderName):
              (WebCore::RenderMeter::isMeter):
              (WebCore::RenderMeter::requiresForcedStyleRecalcPropagation):
              (WebCore::RenderMeter::canHaveChildren):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82880 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      918c6f80
    • enne@google.com's avatar
      2011-04-04 Adrienne Walker <enne@google.com> · d5ed5c32
      enne@google.com authored
              Unreviewed, update Chromium Snow Leopard image baselines.
      
              These were all minor font-related image differences.
      
              * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.checksum: Removed.
              * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.png: Removed.
              * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png: Added.
              * platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-1-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-10-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-2-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-3-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-4-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-5-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-6-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-7-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-8-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-add-summary-9-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-no-summary1-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-no-summary2-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-no-summary3-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-no-summary4-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-open-javascript-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-open1-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-open2-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-open3-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-open4-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-open5-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-open6-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-position-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-1-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-2-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-3-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-4-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-5-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-remove-summary-6-expected.png: Removed.
              * platform/chromium-mac/fast/html/details-writing-mode-expected.png: Removed.
              * platform/chromium-mac/fast/inline-block/inline-block-vertical-align-expected.checksum: Removed.
              * platform/chromium-mac/fast/inline-block/inline-block-vertical-align-expected.png: Removed.
              * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.checksum: Removed.
              * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.png: Removed.
              * platform/chromium-mac/fast/multicol/nested-columns-expected.checksum: Removed.
              * platform/chromium-mac/fast/multicol/nested-columns-expected.png:
              * platform/chromium-mac/fast/repaint/list-marker-expected.checksum: Removed.
              * platform/chromium-mac/fast/repaint/list-marker-expected.png:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d5ed5c32
    • mrobinson@webkit.org's avatar
      2011-04-04 Martin Robinson <mrobinson@igalia.com> · ec2f0cc4
      mrobinson@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [GTK] WebGL support
              https://bugs.webkit.org/show_bug.cgi?id=31517
      
              * configure.ac: Update configure.ac to ensure that GL/GLX headers exist.
      2011-04-04  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Gustavo Noronha Silva.
      
              [GTK] WebGL support
              https://bugs.webkit.org/show_bug.cgi?id=31517
      
              Add WebGL support for the GTK+ bits of WebCore.
      
              No new tests. This will be covered by the existing WebGL tests once
              the bots are capable of running WebGL tests.
      
              * GNUmakefile.am: Added new files required for WebGL support.
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::getContext): Extend #ifdef to cover GTK+ as well, which does not
              yet support accelerated compositing.
              * platform/graphics/ANGLEWebKitBridge.h: Update to reflect the fact that ANGLE isn't compiled as
              a framework for GTK+.
              * platform/graphics/GraphicsContext3D.h:
              (WebCore::GraphicsContext3D::platformTexture): Added a declaration of this method for Cairo.
              (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer): Ditto.
              * platform/graphics/cairo/GraphicsContext3DCairo.cpp: Added.
              (WebCore::GraphicsContext3D::getImageData): Added.
              (WebCore::GraphicsContext3D::paintToCanvas): Added.
              * platform/graphics/cairo/OpenGLShims.cpp: Added. This file controls loading of GL extension
              functions dynamically. They have different names across the different vendors' GL implementations.
              (WebCore::lookupOpenGLFunctionAddress): Added
              (WebCore::openGLFunctionTable): Added
              (WebCore::initializeOpenGLShims): Added
              * platform/graphics/cairo/OpenGLShims.h: Added.
              * platform/graphics/gtk/DrawingBufferGtk.cpp: Added.
              (WebCore::DrawingBuffer::DrawingBuffer): Very generic implementation for Cairo.
              (WebCore::DrawingBuffer::~DrawingBuffer): Ditto.
              (WebCore::DrawingBuffer::didReset): Ditto.
              (WebCore::DrawingBuffer::platformColorBuffer): Ditto.
              * platform/graphics/gtk/GraphicsContext3DGtk.cpp: Added.
              (WebCore::GraphicsContext3D::create): Initial implementation.
              (WebCore::GraphicsContext3D::GraphicsContext3D): Ditto.
              (WebCore::GraphicsContext3D::~GraphicsContext3D): Ditto.
              (WebCore::GraphicsContext3D::makeContextCurrent): Ditto.
              (WebCore::GraphicsContext3D::platformGraphicsContext3D): Ditto.
              (WebCore::GraphicsContext3D::isGLES2Compliant): Ditto.
              * platform/graphics/gtk/GraphicsContext3DInternal.cpp: Added.
              (sharedDisplay): Added this shared display which is required by some
              display drivers.
              (WebCore::activeGraphicsContexts): This method keeps track of all active GraphicsContext3D
              contexts, in order to clean them up at exit. This prevents crashes on certain OpenGL drivers.
              (WebCore::GraphicsContext3DInternal::addActiveGraphicsContext): Ditto.
              (WebCore::GraphicsContext3DInternal::removeActiveGraphicsContext): Ditto.
              (WebCore::GraphicsContext3DInternal::cleanupActiveContextsAtExit): Ditto.
              (WebCore::GraphicsContext3DInternal::create): Figure out the best way to create an OpenGL
              context given the current environment.
              (WebCore::GraphicsContext3DInternal::createPbufferContext): Pbuffer context initializer.
              (WebCore::GraphicsContext3DInternal::createPixmapContext): Pixmap context initializer.
              (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): Initial implementation.
              (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): Ditto.
              (WebCore::GraphicsContext3DInternal::makeContextCurrent): Ditto.
              * platform/graphics/gtk/GraphicsContext3DInternal.h: Added.
              * platform/graphics/opengl/Extensions3DOpenGL.cpp: Added generic implementation.
              (WebCore::Extensions3DOpenGL::ensureEnabled): Ditto.
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::reshape): Test for the context using the public API rather than
              the private bits that are specific to the Apple port.
      2011-04-04  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Gustavo Noronha Silva.
      
              [GTK] WebGL support
              https://bugs.webkit.org/show_bug.cgi?id=31517
      
              Add support for toggling WebGL at runtime when it's enabled.
      
              * webkit/webkitwebsettings.cpp: Add the enable-webgl property. When ENABLE_WEBGL
              is not enabled, it's a no-op.
              (webkit_web_settings_class_init): Update to support enable-webgl.
              (webkit_web_settings_set_property): Ditto.
              (webkit_web_settings_get_property): Ditto.
              * webkit/webkitwebview.cpp:
              (webkit_web_view_update_settings): Ditto.
      2011-04-04  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Gustavo Noronha Silva.
      
              [GTK] WebGL support
              https://bugs.webkit.org/show_bug.cgi?id=31517
      
              Add support to the DRT for turning on WebGL when a layout tests requests it.
      
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::overridePreference): Allow turning on WebGL from tests.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ec2f0cc4
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · c37ef03f
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Fixed a weak-handle-related leak in RegisterFile
              https://bugs.webkit.org/show_bug.cgi?id=57793
      
              * interpreter/RegisterFile.cpp: Nixed leaky GlobalObjectNotifier.
              * interpreter/RegisterFile.h:
              (JSC::RegisterFile::GlobalObjectOwner::finalize):
              (JSC::RegisterFile::RegisterFile): Replaced GlobalObjectNotifier with
              a per-RegisterFile weak handle owner, which does not leak.
      
              * runtime/WeakGCPtr.h:
              (JSC::WeakGCPtr::set): Allow set() to take a context argument, since
              RegisterFile now needs this. (Seems like it was an accidental omission
              all along.)
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c37ef03f
    • oliver@apple.com's avatar
      2011-04-04 Oliver Hunt <oliver@apple.com> · 53eb3898
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Make malloc validation useful
              https://bugs.webkit.org/show_bug.cgi?id=57502
      
              This patch changes FAST_MALLOC_MATCH_VALIDATION with a general
              corruption check that tags the beginning and end of all allocations
              to check for write overflows and overwrites the contents of
              memory on free in order to (hopefully) show up use-after-free issues
              sooner.
      
              We also turn it on by default for debug builds.
      
              * JavaScriptCore.exp:
              * wtf/FastMalloc.cpp:
              (WTF::tryFastMalloc):
              (WTF::fastMalloc):
              (WTF::tryFastCalloc):
              (WTF::fastCalloc):
              (WTF::fastFree):
              (WTF::tryFastRealloc):
              (WTF::fastRealloc):
              (WTF::TCMalloc_PageHeap::isScavengerSuspended):
              (WTF::TCMalloc_PageHeap::scheduleScavenger):
              (WTF::TCMalloc_PageHeap::suspendScavenger):
              (WTF::TCMalloc_PageHeap::signalScavenger):
              (WTF::TCMallocStats::malloc):
              (WTF::TCMallocStats::free):
              (WTF::TCMallocStats::fastCalloc):
              (WTF::TCMallocStats::tryFastCalloc):
              (WTF::TCMallocStats::calloc):
              (WTF::TCMallocStats::fastRealloc):
              (WTF::TCMallocStats::tryFastRealloc):
              (WTF::TCMallocStats::realloc):
              * wtf/FastMalloc.h:
              (WTF::Internal::fastMallocValidationHeader):
              (WTF::Internal::fastMallocValidationSuffix):
              (WTF::Internal::fastMallocMatchValidationType):
              (WTF::Internal::setFastMallocMatchValidationType):
              (WTF::fastMallocMatchValidateFree):
              (WTF::fastMallocValidate):
              * wtf/Platform.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      53eb3898
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · 98849b93
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Renamed clearWeakPointers => updateWeakHandles and removed misleading comment
              https://bugs.webkit.org/show_bug.cgi?id=57790
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::updateWeakHandles): Updated for rename.
      
              * collector/handles/HandleHeap.h: Removed comment claiming that this
              function should only be called during teardown, because it's actually
              called after every GC pass.
      
              * runtime/Heap.cpp:
              (JSC::Heap::destroy):
              (JSC::Heap::markRoots): Updated for rename.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      98849b93
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · 89f977fb
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Standardized handling of handles for immediate values
              https://bugs.webkit.org/show_bug.cgi?id=57788
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::clearWeakPointers): Don't check for null or non-cell
              values here, because our write barrier guarantees that such values are
              not in the weak list.
      
              (JSC::HandleHeap::writeBarrier): Standardized on checking for null before
              checking for cell, and on using early return instead of if/else.
      
              * collector/handles/HandleHeap.h:
              (JSC::HandleHeap::deallocate):
              (JSC::HandleHeap::makeWeak): Ditto.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      89f977fb
    • andersca@apple.com's avatar
      2011-04-04 Anders Carlsson <andersca@apple.com> · 227df473
      andersca@apple.com authored
              Reviewed by Dan Bernstein.
      
              Get rid of WebContext::process() in more places
              https://bugs.webkit.org/show_bug.cgi?id=57787
      
              Migrate calls to WebContext::process() over to sendToAllProcesses and
              sendToAllProcessesRelaunchingThemIfNecessary.
      
              Add FIXMEs for things that need to be fixed in order to support multiple web processes.
                      
              * UIProcess/Downloads/DownloadProxy.cpp:
              (WebKit::DownloadProxy::cancel):
              * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
              (WebKit::WebPluginSiteDataManager::getSitesWithData):
              (WebKit::WebPluginSiteDataManager::clearSiteData):
              * UIProcess/VisitedLinkProvider.cpp:
              (WebKit::VisitedLinkProvider::pendingVisitedLinksTimerFired):
              * UIProcess/WebApplicationCacheManagerProxy.cpp:
              (WebKit::WebApplicationCacheManagerProxy::getApplicationCacheOrigins):
              (WebKit::WebApplicationCacheManagerProxy::deleteEntriesForOrigin):
              (WebKit::WebApplicationCacheManagerProxy::deleteAllEntries):
              * UIProcess/WebCookieManagerProxy.cpp:
              (WebKit::WebCookieManagerProxy::getHostnamesWithCookies):
              (WebKit::WebCookieManagerProxy::getHTTPCookieAcceptPolicy):
              * UIProcess/WebDatabaseManagerProxy.cpp:
              (WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin):
              (WebKit::WebDatabaseManagerProxy::getDatabaseOrigins):
              (WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin):
              (WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin):
              (WebKit::WebDatabaseManagerProxy::deleteAllDatabases):
              (WebKit::WebDatabaseManagerProxy::setQuotaForOrigin):
              * UIProcess/WebGeolocationManagerProxy.cpp:
              (WebKit::WebGeolocationManagerProxy::providerDidChangePosition):
              (WebKit::WebGeolocationManagerProxy::providerDidFailToDeterminePosition):
              * UIProcess/WebIconDatabase.cpp:
              (WebKit::WebIconDatabase::getLoadDecisionForIconURL):
              (WebKit::WebIconDatabase::didFinishURLImport):
              * UIProcess/WebKeyValueStorageManagerProxy.cpp:
              (WebKit::WebKeyValueStorageManagerProxy::getKeyValueStorageOrigins):
              (WebKit::WebKeyValueStorageManagerProxy::deleteEntriesForOrigin):
              (WebKit::WebKeyValueStorageManagerProxy::deleteAllEntries):
              * UIProcess/WebMediaCacheManagerProxy.cpp:
              (WebKit::WebMediaCacheManagerProxy::getHostnamesWithMediaCache):
              (WebKit::WebMediaCacheManagerProxy::clearCacheForHostname):
              (WebKit::WebMediaCacheManagerProxy::clearCacheForAllHostnames):
              * UIProcess/WebResourceCacheManagerProxy.cpp:
              (WebKit::WebResourceCacheManagerProxy::getCacheOrigins):
              (WebKit::WebResourceCacheManagerProxy::clearCacheForOrigin):
              (WebKit::WebResourceCacheManagerProxy::clearCacheForAllOrigins):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      227df473
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · 76d97b5f
      ggaren@apple.com authored
              Not reviewed.
      
              Removed a redundant variable from HandleHeap
              https://bugs.webkit.org/show_bug.cgi?id=57786
              
              Forgot to commit the file that actually removes the data member!
              
              * collector/handles/HandleHeap.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      76d97b5f
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · a8f7b13b
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Removed a redundant variable from HandleHeap
              https://bugs.webkit.org/show_bug.cgi?id=57786
              
              We don't need a specific variable to indicate that we're in the middle
              of the finalization phase, since m_nextToFinalize already does this.
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::HandleHeap):
              (JSC::HandleHeap::clearWeakPointers):
              (JSC::HandleHeap::writeBarrier):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a8f7b13b
    • ap@apple.com's avatar
      Reviewed by Dan Bernstein. · 7c2f18b6
      ap@apple.com authored
              REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=51230
              <rdar://problem/8780989>
      
              <rdar://problem/9015250> REGRESSION (WebKit2): Key events not fired for modifier keys
      
              * UIProcess/API/mac/WKView.mm:
              (-[WKView flagsChanged:]): Ported from WebHTMLView.
              (-[WKView _interpretKeyEvent:withCachedTextInputState:savingCommandsTo:WebCore::]):
              AppKit isn't happy about attempts to interpret NSFlagsChanged, but WK2 lacked the check.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7c2f18b6
    • sfalken@apple.com's avatar
      Fix Windows build warning. · 82502c9f
      sfalken@apple.com authored
      * WebCore.vcproj/WebCore.vcproj: Exclude EventQueue.cpp in Debug_All build.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      82502c9f
    • aroben@apple.com's avatar
      Attempted Mac build fix, part III · 4eb7cebe
      aroben@apple.com authored
      * WebCore.exp.in: Export PlatformCALayer::setGeometryFlipped. Also resorted some symbols.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82868 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4eb7cebe
    • aestes@apple.com's avatar
      Fix the Mac build. · c1b2f660
      aestes@apple.com authored
      * WebCore.exp.in:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82867 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c1b2f660
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · f288d264
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Renamed Finalizer => WeakHandleOwner (in preparation for adding a reachability callback)
              https://bugs.webkit.org/show_bug.cgi?id=57775
              
              Also renamed noFinalizer => emptyWeakOwner, since this is really an
              optimization for a weak owner with empty callbacks.
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::clearWeakPointers): Updated for renames. Removed
              redundant initialization of m_nextToFinalize. Moved deletion check inside
              weak owner check, since the weak owner can't delete the node if there is
              no weak owner!
      
              * collector/handles/HandleHeap.h:
              (JSC::WeakHandleOwner::~WeakHandleOwner):
              (JSC::HandleHeap::makeWeak): Updated for renames.
      
              (JSC::HandleHeap::hasWeakOwner): Changed getFinalizer to hasWeakOwner,
              to clarify this function's role in assertions.
      
              (JSC::HandleHeap::Node::Node):
              (JSC::HandleHeap::Node::makeWeak):
              (JSC::HandleHeap::Node::isWeak):
              (JSC::HandleHeap::Node::weakOwner):
              (JSC::HandleHeap::Node::weakOwnerContext):
              (JSC::HandleHeap::Node::emptyWeakOwner):
              * interpreter/RegisterFile.cpp:
              (JSC::RegisterFile::globalObjectCollectedNotifier):
              * interpreter/RegisterFile.h:
              * runtime/WeakGCMap.h:
              * runtime/WeakGCPtr.h:
              (JSC::WeakGCPtr::WeakGCPtr):
              (JSC::WeakGCPtr::set): Updated for renames.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f288d264
    • enne@google.com's avatar
      2011-04-04 Adrienne Walker <enne@google.com> · 399d2d7a
      enne@google.com authored
              Unreviewed, mark revoke-blob-url.html as CRASH for Chromium on Win.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82865 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      399d2d7a
    • commit-queue@webkit.org's avatar
      2011-04-04 David Dorwin <ddorwin@chromium.org> · 924c29b3
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Chromium Mac crashes when entering fullscreen
              https://bugs.webkit.org/show_bug.cgi?id=57483
      
              Override extraFullScreenStyleSheet in RenderThemeChromiumMac to avoid hitting the ASSERT_NOT_REACHED in RenderThemeMac.
      
              * WebCore.gyp/WebCore.gyp:
              * rendering/RenderThemeChromiumMac.h:
              * rendering/RenderThemeChromiumMac.mm:
              (WebCore::RenderThemeChromiumMac::extraFullScreenStyleSheet):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82863 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      924c29b3
    • aroben@apple.com's avatar
      Attempted Mac build fix, part II · d2c3a99e
      aroben@apple.com authored
      * WebCore.xcodeproj/project.pbxproj: Marked PlatformCALayerClient.h and
      PlatformCAAnimation.h as private so that WebKit2 can #include them (transitively).
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82862 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d2c3a99e
    • sfalken@apple.com's avatar
      Remove unused AnalyzeWithLargeStack code from Windows build files · a99596fa
      sfalken@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=57771
              
      Reviewed by Adam Roben.
      
      This was used for us to build with prefast automatically,
      but it is out-of-date and hasn't been used for some time.
      Removing completely for now.
      
      Source/WebCore: 
      
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcproj/WebCorePreBuild.cmd:
      
      Source/WebKit/win: 
      
      * WebKit.vcproj/WebKitLibPreBuild.cmd:
      
      Source/WebKit2: 
      
      * win/WebKitPreBuild.cmd:
      
      WebKitLibraries: 
      
      * win/tools/vsprops/common.vsprops:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a99596fa
    • mdelaney@apple.com's avatar
      2011-04-01 Matthew Delaney <mdelaney@apple.com> · 996c3e30
      mdelaney@apple.com authored
              Reviewed by Simon Fraser.
      
              [CG] Do not accelerate small canvases
              https://bugs.webkit.org/show_bug.cgi?id=57596
      
              No new tests. No outward behavior changes.
      
              * platform/graphics/cg/ImageBufferCG.cpp:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82860 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      996c3e30
    • aroben@apple.com's avatar
      Attempted Mac build fix · 1fb6b784
      aroben@apple.com authored
      * WebCore.xcodeproj/project.pbxproj: Marked PlatformCALayer.h and GraphicsLayerCA.h private
      so that WebKit can #include them.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82859 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1fb6b784
    • oliver@apple.com's avatar
      Fix WinCE build. · a7003e56
      oliver@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@82858 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a7003e56
    • andersca@apple.com's avatar
      Attempt to fix the Windows build. · 52df6cc0
      andersca@apple.com authored
      * UIProcess/win/WebContextWin.cpp:
      (WebKit::WebContext::setShouldPaintNativeControls):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82857 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      52df6cc0
    • andersca@apple.com's avatar
      2011-04-04 Anders Carlsson <andersca@apple.com> · 041c2b4b
      andersca@apple.com authored
              Reviewed by Adam Roben.
      
              Make it easier to send a message to all processes in a context
              https://bugs.webkit.org/show_bug.cgi?id=57776
      
              Add WebContext::sendToAllProcesses and WebContext::sendToAllProcessesRelaunchingThemIfNecessary
              as a first step towards getting rid of WebContext::process() and getting rid of a class of crashers
              where WebContext::process() is null.
      
              * UIProcess/WebContext.cpp:
              (WebKit::WebContext::initializeHistoryClient):
              (WebKit::WebContext::languageChanged):
              (WebKit::WebContext::setAlwaysUsesComplexTextCodePath):
              (WebKit::WebContext::registerURLSchemeAsEmptyDocument):
              (WebKit::WebContext::registerURLSchemeAsSecure):
              (WebKit::WebContext::setDomainRelaxationForbiddenForURLScheme):
              (WebKit::WebContext::setCacheModel):
              (WebKit::WebContext::setDefaultRequestTimeoutInterval):
              (WebKit::WebContext::clearResourceCaches):
              (WebKit::WebContext::clearApplicationCache):
              (WebKit::WebContext::setEnhancedAccessibility):
              (WebKit::WebContext::startMemorySampler):
              Use sendToAllProcesses.
      
              (WebKit::WebContext::stopMemorySampler):
              Use sendToAllProcesses. This is a slight policy change where we now create a sandbox extension even
              if there's no process around. Since this is a debugging tool it seems OK to do this.
      
              * UIProcess/WebContext.h:
              Get rid of hasValidProcess.
      
              (WebKit::WebContext::sendToAllProcesses):
              If we have a process and we can send messages to it, then do so.
      
              (WebKit::WebContext::sendToAllProcessesRelaunchingThemIfNecessary):
              Relaunch the web process and send the message.
      
              * UIProcess/WebCookieManagerProxy.cpp:
              (WebKit::WebCookieManagerProxy::deleteCookiesForHostname):
              (WebKit::WebCookieManagerProxy::deleteAllCookies):
              (WebKit::WebCookieManagerProxy::startObservingCookieChanges):
              (WebKit::WebCookieManagerProxy::stopObservingCookieChanges):
              (WebKit::WebCookieManagerProxy::setHTTPCookieAcceptPolicy):
              Use sendToAllProcesses and sendToAllProcessesRelaunchingThemIfNecessary.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@82856 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      041c2b4b