Unreviewed. Fix make distcheck.

* GNUmakefile.am: Add CodeGeneratorInspectorStrings.py to
EXTRA_DIST.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2][EFL] Remove declaration of non-existent functions from EwkView
https://bugs.webkit.org/show_bug.cgi?id=110572

Reviewed by Kenneth Rohde Christiansen.

Removed declarations of non-existent EwkView::paintToCurrentGLContext() and
EwkView::paintToCairoSurface(cairo_surface_t*) that were accidentally
left at r143699.

* UIProcess/API/efl/EwkView.h:
(EwkView):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CoordGfx] Minor cleanup in CoordinatedGraphicsScene::paintToGraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=109824

Reviewed by Andreas Kling.

Avoid ugly ifdefs by using PlatformGraphicsContext.

Source/WebCore:

No new tests, only refactoring.

* platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
(WebCore::CoordinatedGraphicsScene::paintToGraphicsContext):
* platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:
(CoordinatedGraphicsScene):

Source/WebKit2:

* UIProcess/API/efl/EwkView.cpp:
(EwkView::displayTimerFired):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed preventive buildfix after my last commit.

* UIProcess/API/efl/EwkView.cpp:
* UIProcess/efl/WebView.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Skip tests until regressions (r143470, r143654) fixed.

* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Yet another unreviewed buildfix after r143714.

* UIProcess/efl/WebView.cpp:
(WebKit::WebView::paintToCairoSurface):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

* platform/gtk/TestExpectations: Adding crash expectations for tests that regressed with r143624.
* platform/gtk/fast/js/global-constructors-expected.txt: Rebaselining.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r143695.
http://trac.webkit.org/changeset/143695
https://bugs.webkit.org/show_bug.cgi?id=110554

Crashes in DocumentLoader::checkLoadComplete on AppleMac WK1, EFL, GTK.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::isLoading):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: InspectorPageAgent::disable() should not update view metrics regardless of the override state
https://bugs.webkit.org/show_bug.cgi?id=110593

Reviewed by Vsevolod Vlasov.

InspectorPageAgent::disable() now checks if the device metrics are overridden before
telling the client to disable the override.

* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::disable):
(WebCore::InspectorPageAgent::setDeviceMetricsOverride):
(WebCore::InspectorPageAgent::deviceMetricsChanged):
* inspector/InspectorPageAgent.h:
(InspectorPageAgent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add scroll view for new calendar picker
https://bugs.webkit.org/show_bug.cgi?id=110137

Reviewed by Kent Tamura.

Adding a scroll view class as part of the new calendar picker (Bug 109439).

No new tests. Code not yet used.

* Resources/pagepopups/calendarPicker.js:
(View):
(View.prototype.offsetRelativeTo): Returns the offset position of this view relative to the given ancestor element.
(View.prototype.attachTo): Attaches view to a node or view.
(View.prototype.bindCallbackMethods): Binds all methods starting with "on" to this.
(ScrollView): A custom scroll view that can contain extremely long content. CSS values have a limit. This can go beyond that.
(ScrollView.prototype.setWidth): Sets the view width.
(ScrollView.prototype.width):
(ScrollView.prototype.setHeight):Sets the view height.
(ScrollView.prototype.height):
(ScrollView.prototype.onScrollAnimatorStep): Callback for scroll animator step.
(ScrollView.prototype.scrollTo): Scrolls to a certain offset.
(ScrollView.prototype.scrollBy): Scrolls by a certain amount.
(ScrollView.prototype.contentOffset): Current content offset.
(ScrollView.prototype.onMouseWheel): Scroll with the mouse wheel.
(ScrollView.prototype.setContentOffset): Sets the content offset.
(ScrollView.prototype.contentPositionForContentOffset): Returns where the content element should be positioned.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unused declaration: Element::removeCachedHTMLCollection()

Not reviewed by Antti Koivisto.

* dom/Element.h:
(Element):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Chromium] add a browser test for frames on timeline
https://bugs.webkit.org/show_bug.cgi?id=110592

- factor out timeline recording logic from testPageOverlayUpdate for reuse;
- record timeline while running a simple DOM-based animation;
- assure we have frames and Style Recalc/Layout/Paint events in between.

Reviewed by Yury Semikhatsky.

* src/js/Tests.js:
(.TestSuite.prototype.assertHasKey):
(.TestSuite.prototype.testTimelineFrames.step1):
(.TestSuite.prototype.testTimelineFrames.onTimelineRecorded):
(.TestSuite.prototype.testTimelineFrames):
(.TestSuite.prototype.testPageOverlayUpdate.step4):
(.TestSuite.prototype.testPageOverlayUpdate.onTimelineRecorded):
(.TestSuite.prototype.recordTimeline.addRecord):
(.TestSuite.prototype.recordTimeline.innerAddRecord):
(.TestSuite.prototype.recordTimeline.done):
(.TestSuite.prototype.recordTimeline):
(.TestSuite.prototype.stopTimeline):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ShareableElementData should use zero-length array for storage.
<http://webkit.org/b/109959>

Reviewed by Anders Carlsson.

Use a zero-length Attribute array instead of always casting from void* to an array.
It was done this way originally because I didn't know we could sidestep the MSVC
build error with some #pragma hackery and a default constructor for Attribute.

* dom/Attribute.cpp:
(WebCore::Attribute::Attribute):
* dom/DocumentSharedObjectPool.cpp:
(WebCore::DocumentSharedObjectPool::cachedShareableElementDataWithAttributes):
* dom/Element.cpp:
(WebCore::sizeForShareableElementDataWithAttributeCount):
(WebCore::ShareableElementData::ShareableElementData):
(WebCore::ShareableElementData::~ShareableElementData):
(WebCore::UniqueElementData::UniqueElementData):
* dom/Element.h:
(ShareableElementData):
(WebCore::ElementData::attributeItem):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Allow child-frame content in hit-tests.
https://bugs.webkit.org/show_bug.cgi?id=95204

Reviewed by Julien Chaffraix.

Source/WebCore:

Refactors how EventHandler::hitTestResultAtPoint handles child-frame content,
it is now handled by the hit test itself controlled by the AllowChildFrameContent
flag in HitTestRequest.

This means that area-based hit-tests can now return elements from all the child frames
they intersect instead of just the one frame containing the center point. The improved
results from area-based hit-tests will among other things also improve touch adjustment
near frame boundaries.

Tests: fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html

* page/EventHandler.cpp:
(WebCore::EventHandler::hitTestResultAtPoint):
    Recursion into child-frames have been moved to RenderFrameBase::nodeAtPoint, so
    now hitTestResultAtPoint just needs to set AllowChildFrameContent.
* page/TouchAdjustment.cpp:
(WebCore::TouchAdjustment::parentShadowHostOrOwner):
    New function to iterate up across frame boundaries.
(WebCore::TouchAdjustment::compileSubtargetList):
    We need to iterate up across frame boundaries to avoid iframes competing with their
    own content for touch adjustment.
* rendering/HitTestRequest.h:
(WebCore::HitTestRequest::allowsChildFrameContent):
(WebCore::HitTestRequest::isChildFrameHitTest):
* rendering/HitTestResult.cpp:
(WebCore::HitTestResult::HitTestResult):
(WebCore::HitTestResult::operator=):
(WebCore::HitTestResult::append):
(WebCore::HitTestResult::dictationAlternatives):
* rendering/HitTestResult.h:
(WebCore::HitTestResult::pointInMainFrame):
(WebCore::HitTestResult::pointInInnerNodeFrame):
(HitTestResult):
    m_hitTestLocation is now in main frame coordinates, which make m_pointInMainFrame
    unnecessary, but requires the introduction of m_pointInInnerFrame, to remember
    the coordinates of inner-node in its own frame.
* rendering/RenderFrameBase.cpp:
(WebCore::RenderFrameBase::nodeAtPoint):
    The recursion into child-frames is now handled here instead of in hitTestResultAtPoint, this
    allows us to recurse into multiple frames, instead of just one.
* rendering/RenderFrameBase.h:
(RenderFrameBase):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTest):
    RenderLayer should not lie about being hit if the request is child-frame request.
* testing/Internals.cpp:
(WebCore::Internals::nodesFromRect):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:
    Extended so nodesFromRect with child-frame content can be tested.

LayoutTests:

A new tests for nodesFromRect that returns result from child frames.

* fast/dom/nodesFromRect/nodesFromRect-child-frame-content-expected.txt: Added.
* fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html: Added.
* fast/dom/nodesFromRect/nodesFromRect-continuation-crash.html:
* fast/dom/nodesFromRect/resources/child-frame.html: Added.
* fast/dom/nodesFromRect/resources/nodesFromRect.js:
(check):
(checkShadowContent):
(nodesFromRectAsString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening.

Skip failing tests on EFL bots.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: show source location after drawer views
https://bugs.webkit.org/show_bug.cgi?id=110156

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-02-22
Reviewed by Pavel Feldman.

- Add statusBarText method
- Add #drawer-view-anchor, which determines layout position of
drawerView
- Fix layout in #panel-status-bar to avoid floating elements.

No new tests.

* inspector/front-end/Panel.js:
(WebInspector.Panel.prototype.wasShown): Add statusBarItems before
drawer-view-anchor and statusBarText after.
(WebInspector.Panel.prototype.willHide): Remove statusBarText from DOM in the
way it's done for statusBarItems
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.statusBarText): Added.
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.statusBarText): Added.
(WebInspector.SourceFrame.prototype.statusBarItems):
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype.get statusBarItems):
* inspector/front-end/View.js:
(WebInspector.View.prototype.statusBarText):
* inspector/front-end/inspector.css:
(#drawer-view-anchor):
(.source-frame-cursor-position):
* inspector/front-end/inspector.html:
* inspector/front-end/inspector.js:
(WebInspector.showViewInDrawer):
* inspector/front-end/timelinePanel.css:
(.timeline-records-stats):
(.timeline-records-stats-container):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Multiple Layout Test crashes (ASSERT) on chromium linux debug after r143727
https://bugs.webkit.org/show_bug.cgi?id=110609

Reviewed by Antonio Gomes.

Point based hit tests should not append but assign HitTestResults.

* rendering/RenderFrameBase.cpp:
(WebCore::RenderFrameBase::nodeAtPoint):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Canvas] do no show a single frame node in data grid
https://bugs.webkit.org/show_bug.cgi?id=110473

Reviewed by Pavel Feldman.

In a single canvas frame capture mode do not show the single "Frame #1" node.
Drive-by: Fix a wrong "this" pointer.

* inspector/front-end/CanvasProfileView.js:
(WebInspector.CanvasProfileView.prototype._didReceiveTraceLog):
(WebInspector.CanvasProfileView.prototype.appendDrawCallGroup):
(WebInspector.CanvasProfileView.prototype._flattenSingleFrameNode):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Added platform specific expected files after 143626.

* platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt:
* platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
* platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt:
* platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt:
* platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt:
* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
32-bit build fix after r143706

* fileapi/FileReaderLoader.cpp:
(WebCore::FileReaderLoader::didReceiveData):

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