Web Inspector: render box model elements and grid on inspector overlay
https://bugs.webkit.org/show_bug.cgi?id=95456

Reviewed by Vsevolod Vlasov.

This change migrates native rendering for box model to the InspectorOverlay.

* inspector/InspectorInstrumentation.cpp:
(WebCore):
(WebCore::InspectorInstrumentation::didScrollImpl):
* inspector/InspectorInstrumentation.h:
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::didScroll):
(WebCore):
* inspector/InspectorOverlay.cpp:
(WebCore::InspectorOverlay::drawNodeHighlight):
(WebCore::InspectorOverlay::drawRectHighlight):
(WebCore::InspectorOverlay::overlayPage):
(WebCore::InspectorOverlay::evaluateInOverlay):
* inspector/InspectorOverlay.h:
(WebCore::Highlight::setColors):
(Highlight):
(InspectorOverlay):
* inspector/InspectorOverlayPage.html:
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::didLayout):
(WebCore):
(WebCore::InspectorPageAgent::didScroll):
* inspector/InspectorPageAgent.h:
* page/Chrome.cpp:
(WebCore::Chrome::scroll):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Exclusions] Exclusions tests should run without errors in standalone browser
https://bugs.webkit.org/show_bug.cgi?id=95369

Patch by Bear Travis <betravis@adobe.com> on 2012-08-31
Reviewed by Andreas Kling.

Adding a check to make sure window.internals exists before accessing it.
Without the check, a reference error would occur when trying to run these
tests from the browser (as opposed to the test script).

* fast/exclusions/css-exclusions-disabled.html:
* fast/exclusions/script-tests/parsing-wrap-shape-inside.js:
* fast/exclusions/script-tests/parsing-wrap-shape-outside.js:
* fast/exclusions/script-tests/wrap-flow-parsing.js:
* fast/exclusions/script-tests/wrap-margin-parsing.js:
* fast/exclusions/script-tests/wrap-padding-parsing.js:
* fast/exclusions/script-tests/wrap-parsing.js:
* fast/exclusions/script-tests/wrap-through-parsing.js:
* fast/exclusions/shape-inside/shape-inside-floats-simple.html:
* fast/exclusions/shape-inside/shape-inside-inline-elements.html:
* fast/exclusions/shape-inside/shape-inside-overflow.html:
* fast/exclusions/shape-inside/shape-inside-percentage-auto.html:
* fast/exclusions/shape-inside/shape-inside-text.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Add high-DPI images for status bar glyphs
https://bugs.webkit.org/show_bug.cgi?id=95471

Patch by Patrick Dubroy <dubroy@chromium.org> on 2012-08-31
Reviewed by Pavel Feldman.

Add the new 2x resolution image for the status bar glyphs, and add
media queries to use the images on high-DPI devices.

* inspector/front-end/Images/statusbarButtonGlyphs2x.png: Added.
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.css:
(.long-click-glyph):
(@media (-webkit-min-device-pixel-ratio: 1.5)):
(.status-bar-item > .glyph):
* inspector/front-end/scriptsPanel.css:
(.toggle-breakpoints .glyph):
(@media (-webkit-min-device-pixel-ratio: 1.5)):
(.status-bar-item.scripts-navigator-show-hide-button > .glyph):
(.status-bar-item.scripts-debugger-show-hide-button > .glyph):
* WebCore.gypi
* inspector/front-end/timelinePanel.css:
(#timeline-overview-sidebar .icon):
(@media (-webkit-min-device-pixel-ratio: 1.5)):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [WebGL] Link WebGL calls to the source code where it was made
https://bugs.webkit.org/show_bug.cgi?id=95426

Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-08-31
Reviewed by Vsevolod Vlasov.

Save a stack trace for every call we capture and report to the frontend sourceURL,lineNumber,columnNumber were the call was made from.
Right now, this will work only with V8.

* inspector/InjectedScriptExterns.js:
(CallSite.prototype.getFileName):
(CallSite.prototype.getLineNumber):
(CallSite.prototype.getColumnNumber):
* inspector/InjectedScriptWebGLModuleSource.js:
(.):
* inspector/Inspector.json:
* inspector/front-end/WebGLProfileView.js:
(WebInspector.WebGLProfileView):
(WebInspector.WebGLProfileView.prototype._showTraceLog):

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