Unreviewed gardening. Updating test expectations after r125794.

* fast/repaint/transform-absolute-child-expected.txt: Added.
* fast/repaint/transform-repaint-descendants-expected.txt: Added.
* platform/chromium-linux/compositing/shadows/shadow-drawing-expected.png:
* platform/chromium-linux/fast/repaint/transform-absolute-child-expected.png:
* platform/chromium-linux/fast/repaint/transform-repaint-descendants-expected.png:
* platform/chromium-linux/fast/repaint/transform-translate-expected.png:
* platform/chromium-linux/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.png: Added.
* platform/chromium-linux/fast/transforms/transformed-document-element-expected.png:
* platform/chromium-linux/media/audio-repaint-expected.png:
* platform/chromium-linux/svg/transforms/svg-css-transforms-expected.png:
* platform/chromium-linux/transforms/svg-vs-css-expected.png:
* platform/chromium-mac-snowleopard/compositing/shadows/shadow-drawing-expected.png:
* platform/chromium-mac-snowleopard/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.txt: Removed.
* platform/chromium-mac-snowleopard/media/audio-repaint-expected.png:
* platform/chromium-mac/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.txt: Removed.
* platform/chromium-win/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png:
* platform/chromium-win/fast/repaint/transform-absolute-child-expected.png:
* platform/chromium-win/fast/repaint/transform-repaint-descendants-expected.png:
* platform/chromium-win/fast/repaint/transform-translate-expected.png:
* platform/chromium-win/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.png: Added.
* platform/chromium-win/fast/transforms/transformed-document-element-expected.png:
* platform/chromium-win/media/audio-repaint-expected.png:
* platform/chromium-win/svg/transforms/svg-css-transforms-expected.png:
* platform/chromium-win/transforms/svg-vs-css-expected.png:
* platform/chromium/TestExpectations:
* platform/chromium/fast/sub-pixel: Added.
* platform/chromium/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.txt: Added.
* platform/efl/fast/repaint/transform-absolute-child-expected.txt: Removed.
* platform/efl/fast/repaint/transform-repaint-descendants-expected.txt: Removed.
* platform/gtk/fast/repaint/transform-absolute-child-expected.txt: Removed.
* platform/gtk/fast/repaint/transform-repaint-descendants-expected.txt: Removed.
* platform/mac/fast/repaint/transform-absolute-child-expected.txt: Removed.
* platform/qt/fast/repaint/transform-absolute-child-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r125710) - canvas-fallback-content tests asserting in Chromium
https://bugs.webkit.org/show_bug.cgi?id=94156

Reviewed by Chris Fleizach.

Source/WebCore:

When determining if a Node is focusable, check the canvas subtree
case first before encountering assertions that assume that anything
focusable must have an associated renderer.

Fixes existing tests so they don't assert.

* dom/Node.cpp:
(WebCore::Node::isFocusable):

LayoutTests:

Fixes two canvas tests that were asserting.

* platform/chromium/TestExpectations:


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

Removing expectations for two flaky crashers that were fixed in r125181.

Skipping three tests of otherwise unsupported features as they time out
and just prolong the bot cycle in doing so.

* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: make profiles panel a lazily loaded module.
https://bugs.webkit.org/show_bug.cgi?id=94351

Reviewed by Yury Semikhatsky.

Source/WebCore:

Moving files from .html to importScript.

* WebCore.gypi:
* inspector/front-end/CPUProfileView.js:
(WebInspector.CPUProfileHeader.prototype.createView):
* inspector/front-end/CSSSelectorProfileView.js:
(WebInspector.CSSSelectorProfileType.prototype.buttonClicked):
(WebInspector.CSSSelectorProfileType.prototype._startRecordingProfile):
(WebInspector.CSSSelectorProfileType.prototype._stopRecordingProfile):
(WebInspector.CSSProfileHeader.prototype.createView):
* inspector/front-end/HeapSnapshotDataGrids.js:
(WebInspector.HeapSnapshotSortableDataGrid.prototype.populateContextMenu.revealInDominatorsView):
(WebInspector.HeapSnapshotSortableDataGrid.prototype.populateContextMenu.else.revealInSummaryView):
(WebInspector.HeapSnapshotSortableDataGrid.prototype.populateContextMenu):
* inspector/front-end/HeapSnapshotView.js:
(WebInspector.HeapSnapshotView.prototype._profiles):
(WebInspector.HeapSnapshotView.prototype.populateContextMenu):
(WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
(WebInspector.HeapProfileHeader.prototype.createView):
* inspector/front-end/InspectorFrontendAPI.js:
(InspectorFrontendAPI.isProfilingJavaScript):
(InspectorFrontendAPI.startProfilingJavaScript):
(InspectorFrontendAPI.stopProfilingJavaScript):
* inspector/front-end/NativeMemorySnapshotView.js:
(WebInspector.NativeMemoryProfileHeader.prototype.createView):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfileType.prototype.buttonClicked):
(WebInspector.ProfileHeader.prototype.view):
(WebInspector.ProfileHeader.prototype.createView):
(WebInspector.ProfilesPanel.prototype.toggleRecordButton):
(WebInspector.ProfilesPanel.prototype.showProfileForURL):
(WebInspector.RevealInHeapSnapshotContextMenuProvider.prototype.populateContextMenu.didReceiveHeapObjectId):
(WebInspector.RevealInHeapSnapshotContextMenuProvider.prototype.populateContextMenu):
(WebInspector.ProfileSidebarTreeElement.prototype.handleContextMenuEvent):
(WebInspector.ProfileGroupSidebarTreeElement.prototype.onselect):
* inspector/front-end/externs.js:
* inspector/front-end/inspector.html:
* inspector/front-end/inspector.js:
(WebInspector._panelDescriptors):
(WebInspector._toggleSearchingForNode):
(WebInspector._profilesLinkifier):
(WebInspector._requestZoom.set InspectorFrontendHost):
(WebInspector._requestZoom):
(WebInspector.documentClick.followLink):
(WebInspector.documentClick):

Source/WebKit/chromium:

* WebKit.gyp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Access m_process directly in WebPageProxy.cpp
https://bugs.webkit.org/show_bug.cgi?id=94363

Reviewed by John Sullivan.

Consistency fix - we don't use accessors when we don't have to, and there is a mix in this file.

* UIProcess/WebPageProxy.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CMake] Add FindDBus.cmake and use it in the EFL port.
https://bugs.webkit.org/show_bug.cgi?id=94319

Reviewed by Daniel Bates.

.:

Currently, the Battery Status-related code in the EFL port uses
libdbus but does not directly include its directories or link
against it, relying instead on the compiler flags coming via
EDbus's pkg-config information.

That will break once we stop obtaining EFL's include directories
and library paths from pkg-config, so write FindDBus.cmake to
prepare for that.

* Source/cmake/FindDBus.cmake: Added.
* Source/cmake/OptionsEfl.cmake: Look for D-Bus if BATTERY_STATUS
support is enabled.

Source/WebCore:

* PlatformEfl.cmake: Link against DBUS_LIBRARIES and add
DBUS_INCLUDE_DIRS to the include path list if BATTERY_STATUS
support is enabled.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Text Autosizing: Increase line height in proportion to font size.
https://bugs.webkit.org/show_bug.cgi?id=91660

Patch by John Mellor <johnme@chromium.org> on 2012-08-17
Reviewed by Julien Chaffraix.

Source/WebCore:

This patch causes line heights to be increased in proportion to font
size (so autosized text doesn't overlap itself). It does this by adding
a textAutosizingMultiplier() to RenderStyle, which the lineHeight()
getter multiplies its response by.

It also cleans up one or two things, for example treatAsInline is
renamed isNotAnAutosizingContainer to clarify that its purpose is to
discriminate autosizing containers (the smallest unit that we can turn
Text Autosizing on or off for; in particular these are not allowed to
be line participants, since multiple sizes on one line looks awful).

Tests: fast/text-autosizing/em-margin-border-padding.html
       fast/text-autosizing/narrow-child.html
       fast/text-autosizing/nested-em-line-height.html
       fast/text-autosizing/simple-paragraph.html
       fast/text-autosizing/span-child.html
       fast/text-autosizing/wide-child.html

* css/StyleBuilder.cpp:
(WebCore::ApplyPropertyLineHeight::applyValue):

    Replaced Length(-100.0, Percent) with RenderStyle::initialLineHeight(),
    which is equivalent but makes the intent clearer.

(WebCore::ApplyPropertyLineHeight::createHandler):

    Use specifiedLineHeight to match setLineHeight which takes a specified
    line height (and generally this avoids accidentally inheriting text
    autosizing).

* css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty):

    Similarly use specifiedLineHeight when inheriting line height.

* page/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimation::ensurePropertyMap):

    Get and set specified lineHeight/fontSize if Text Autosizing is
    enabled to avoid setting the specified value to the computed value
    (causing values to be multiplied more than once!).

* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::RenderThemeBlackBerry::adjustMediaControlStyle):

    Adjust for renamed setBlendedFontSize, and maintain cast to int.

* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::createInnerTextStyle):

    Replaced Length(-100.0, Percent) with RenderStyle::initialLineHeight(),
    which is equivalent but makes the intent clearer.

* rendering/TextAutosizer.cpp:
(WebCore::TextAutosizer::processSubtree):

    Use nextInPreOrderMatchingFilter instead of traverseNext, and some
    other methods that got renamed.

(WebCore::TextAutosizer::processBox):

    Renamed from processBlock, since RenderBoxes are sufficient; use
    renamed nextInPreOrderMatchingFilter; make two calls to setMultiplier
    (one for parent for line height) instead of processText.

(WebCore::TextAutosizer::setMultiplier):

    Simplified from previous processText method; this just sets the
    style's textAutosizingMultiplier (and the style does the rest).

(WebCore::TextAutosizer::isNotAnAutosizingContainer):

    Renamed from treatAsInline; added explanatory comment; changed
    isRenderBlock to isBox as boxes still have logicalWidth; changed
    isInlineBlockOrInlineTable to isInline as it was an omission that
    other inlines were allowed.

(WebCore::TextAutosizer::nextInPreOrderMatchingFilter):

    Renamed from TextAutosizer::traverseNext.

(RenderObjectFilterFunctor):

    Renamed from RenderObjectFilter to clafiry that it's a function ptr.

* rendering/TextAutosizer.h:
(TextAutosizer): Previously mentioned renamings.

* rendering/mathml/RenderMathMLSubSup.cpp:
(WebCore::RenderMathMLSubSup::fixScriptsStyle):

    Adjust for renamed setBlendedFontSize.

* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):

    textAutosizingMultiplier is a StyleDifferenceLayout (we want
    setNeedsLayoutAndPrefWidthsRecalc to get called).

(WebCore::RenderStyle::setFontSize):

    Renamed from setBlendedFontSize; if Text Autosizing is enabled and a
    multiplier is set it auto-calculates the computedSize; float
    param instead of int as discussed on webkit.org/b/91660.

* rendering/style/RenderStyle.h:

    Added specifiedFontSize, computedFontSize and specifiedLineHeight
    getters; changed lineHeight to dynamically calculate autosized line
    height, and made computedLineHeight use this value instead of the
    specified line height; also added textAutosizingMultiplier
    getter/setter (the setter updated the font description's computed
    size, by calling setFontSize); also renamed the parameter to
    setLineHeight to explicitly note that it's setting the
    specifiedLineHeight (and can still be adjusted by autosizing).

* rendering/style/StyleVisualData.cpp/.h:

    Added m_textAutosizingMultiplier (this seems the best place to put a
    non-inherited non-rare presentational property).

LayoutTests:

Adjusted the expectation for simple-paragraph.html and
font-scale-factor.html now that line-height is correctly increased.
Also added 5 more tests making sure that autosized children of
non-autosized parents work correctly, and vice versa; that nested
inline elements behave correctly; and documenting the behavior of
margins, borders, and padding with em lengths.

* fast/text-autosizing/em-margin-border-padding-expected.html: Added.
* fast/text-autosizing/em-margin-border-padding.html: Copied from LayoutTests/fast/text-autosizing/simple-paragraph.html.
* fast/text-autosizing/font-scale-factor-expected.html:
* fast/text-autosizing/font-scale-factor.html:
* fast/text-autosizing/narrow-child-expected.html: Added.
* fast/text-autosizing/narrow-child.html: Copied from LayoutTests/fast/text-autosizing/simple-paragraph.html.
* fast/text-autosizing/nested-em-line-height-expected.html: Added.
* fast/text-autosizing/nested-em-line-height.html: Added.
* fast/text-autosizing/simple-paragraph-expected.html:
* fast/text-autosizing/simple-paragraph.html:
* fast/text-autosizing/span-child-expected.html: Added.
* fast/text-autosizing/span-child.html: Copied from LayoutTests/fast/text-autosizing/simple-paragraph.html.
* fast/text-autosizing/wide-child-expected.html: Added.
* fast/text-autosizing/wide-child.html: Copied from LayoutTests/fast/text-autosizing/simple-paragraph.html.

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