1 2010-02-12 Jeremy Orlow <jorlow (a] chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 [Chromium] Add a blockedByPolicy output to WebStorageArea::setItem. 6 https://bugs.webkit.org/show_bug.cgi?id=34897 7 8 * public/WebStorageArea.h: 9 (WebKit::WebStorageArea::setItem): 10 * src/WebStorageAreaImpl.cpp: 11 (WebKit::WebStorageAreaImpl::setItem): 12 * src/WebStorageAreaImpl.h: 13 14 2010-02-11 Jeremy Orlow <jorlow (a] chromium.org> 15 16 Reviewed by David Levin. 17 18 [Chromium] Add ENABLE_RUBY to the feature defines gypi 19 https://bugs.webkit.org/show_bug.cgi?id=34841 20 21 * features.gypi: 22 23 2010-02-12 Yury Semikhatsky <yurys (a] chromium.org> 24 25 Reviewed by Pavel Feldman. 26 27 Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer 28 29 https://bugs.webkit.org/show_bug.cgi?id=34890 30 31 * src/DebuggerAgentImpl.cpp: 32 (WebKit::DebuggerAgentImpl::createUtilityContext): 33 34 2010-02-11 Mikhail Naganov <mnaganov (a] chromium.org> 35 36 Reviewed by Pavel Feldman. 37 38 [Chromium] Ignore subsequent requests of the same profiler log 39 chunks. This eliminates emission of several instances for the same 40 heap snapshot. 41 42 https://bugs.webkit.org/show_bug.cgi?id=34833 43 44 * src/js/ProfilerAgent.js: 45 (devtools.ProfilerAgent): 46 (devtools.ProfilerAgent.prototype.initializeProfiling): 47 (devtools.ProfilerAgent.prototype._getNextLogLines): 48 (devtools.ProfilerAgent.prototype.startProfiling): 49 (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules): 50 (devtools.ProfilerAgent.prototype._didGetLogLines): 51 52 2010-02-10 James Hawkins <jhawkins (a] chromium.org> 53 54 Reviewed by Eric Seidel. 55 56 [Chromium] Remove code from SuggestionsPopup that was removed in a 57 previous revision of AutocompletePopup and accidentally added back in 58 the refactoring. 59 60 https://bugs.webkit.org/show_bug.cgi?id=34818 61 62 * src/AutoFillPopupMenuClient.cpp: 63 * src/AutoFillPopupMenuClient.h: Added property svn:eol-style. 64 * src/SuggestionsPopupMenuClient.cpp: 65 (WebKit::SuggestionsPopupMenuClient::popupDidHide): 66 (WebKit::SuggestionsPopupMenuClient::setTextFromItem): 67 (WebKit::SuggestionsPopupMenuClient::initialize): 68 * src/SuggestionsPopupMenuClient.h: 69 70 2010-02-10 Nate Chapin <japhet (a] chromium.org> 71 72 Reviewed by Adam Barth. 73 74 Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters. 75 76 https://bugs.webkit.org/show_bug.cgi?id=34768 77 78 * src/DebuggerAgentImpl.cpp: 79 (WebKit::DebuggerAgentImpl::createUtilityContext): 80 81 2010-02-10 Kenneth Russell <kbr (a] google.com> 82 83 Reviewed by Oliver Hunt. 84 85 Remove automatic viewport resizing 86 https://bugs.webkit.org/show_bug.cgi?id=34766 87 88 Removed automatic viewport resizing per conclusions on the WebGL 89 mailing list. Added test verifying new behavior and updated a 90 couple of previous tests failing after this change. 91 92 * src/GraphicsContext3D.cpp: 93 (WebCore::GraphicsContext3DInternal::reshape): 94 95 2010-02-10 Yury Semikhatsky <yurys (a] chromium.org> 96 97 Reviewed by Pavel Feldman. 98 99 Chromium Win build fix. Add third_party/nss to the dependencies list on Windows. 100 101 https://bugs.webkit.org/show_bug.cgi?id=34789 102 103 * DEPS: 104 105 2010-02-10 Yury Semikhatsky <yurys (a] chromium.org> 106 107 Reviewed by Pavel Feldman. 108 109 Rolling Chromium dependencies to match Chromium revision 38580. 110 111 https://bugs.webkit.org/show_bug.cgi?id=34789 112 113 * DEPS: 114 115 2010-02-10 Yury Semikhatsky <yurys (a] chromium.org> 116 117 Reviewed by Pavel Feldman. 118 119 Use v8::Debug::ProcessDebugMessages instead of executing an empty function 120 121 https://bugs.webkit.org/show_bug.cgi?id=34704 122 123 * src/DebuggerAgent.h: 124 * src/DebuggerAgentImpl.cpp: 125 (WebKit::DebuggerAgentImpl::processDebugCommands): 126 * src/DebuggerAgentImpl.h: 127 * src/ToolsAgent.h: 128 * src/WebDevToolsAgentImpl.cpp: 129 * src/WebDevToolsAgentImpl.h: 130 * src/js/DebuggerAgent.js: 131 (devtools.DebuggerAgent.prototype.addBreakpoint): 132 * src/js/DevToolsHostStub.js: 133 (.RemoteDebuggerAgentStub.prototype.processDebugCommands): 134 * src/js/InjectDispatch.js: 135 (dispatch): 136 * src/js/ProfilerAgent.js: 137 (devtools.ProfilerAgent.prototype.startProfiling): 138 (devtools.ProfilerAgent.prototype.stopProfiling): 139 * src/js/Tests.js: 140 141 2010-02-10 Tony Chang <tony (a] chromium.org> 142 143 Unreviewed, build fix for Chromium Mac take 2. 144 145 * src/AutoFillPopupMenuClient.cpp: 146 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): 147 148 2010-02-10 Tony Chang <tony (a] chromium.org> 149 150 Unreviewed, build fix for Chromium Mac. 151 152 * src/AutoFillPopupMenuClient.cpp: 153 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): 154 155 2010-02-09 James Hawkins <jhawkins (a] chromium.org> 156 157 Reviewed by Darin Fisher. 158 159 [Chromium] Refactor AutocompletePopupMenuClient into a base class, 160 SuggestionsPopupMenuClient, and two derived classes, 161 AutocompletePopupMenuClient and AutoFillPopupMenuClient. Currently 162 the behavior of suggestions popups has not changed. 163 164 https://bugs.webkit.org/show_bug.cgi?id=34721 165 166 * WebKit.gyp: 167 * public/WebView.h: 168 * src/AutoFillPopupMenuClient.cpp: Added. 169 * src/AutoFillPopupMenuClient.h: Added. 170 * src/AutocompletePopupMenuClient.cpp: 171 (WebKit::AutocompletePopupMenuClient::getSuggestionsCount): 172 (WebKit::AutocompletePopupMenuClient::getSuggestion): 173 (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex): 174 (WebKit::AutocompletePopupMenuClient::initialize): 175 (WebKit::AutocompletePopupMenuClient::setSuggestions): 176 * src/AutocompletePopupMenuClient.h: 177 * src/SuggestionsPopupMenuClient.cpp: Added. 178 * src/SuggestionsPopupMenuClient.h: Added. 179 * src/WebViewImpl.cpp: 180 (WebKit::WebViewImpl::WebViewImpl): 181 (WebKit::WebViewImpl::keyEvent): 182 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 183 (WebKit::WebViewImpl::applyAutofillSuggestions): 184 (WebKit::WebViewImpl::applyAutoFillSuggestions): 185 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 186 * src/WebViewImpl.h: 187 188 2010-02-09 Chris Guillory <ctguil (a] google.com> 189 190 Reviewed by Darin Fisher. 191 192 [Chromium] Add function for accessibility object state change notifications. 193 194 https://bugs.webkit.org/show_bug.cgi?id=34464 195 196 * gyp_webkit: 197 * public/WebViewClient.h: 198 (WebKit::WebViewClient::didChangeAccessibilityObjectState): 199 * src/ChromeClientImpl.cpp: 200 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState): 201 * src/ChromeClientImpl.h: 202 203 2010-02-09 Mikhail Naganov <mnaganov (a] chromium.org> 204 205 Reviewed by Pavel Feldman. 206 207 Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs. 208 Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required 209 for really enabling it in V8 bindings generation. 210 211 https://bugs.webkit.org/show_bug.cgi?id=34706 212 213 * features.gypi: 214 215 2010-02-09 Jian Li <jianli (a] chromium.org> 216 217 Reviewed by Darin Fisher. 218 219 [chromium] Add the chromium interface to support Blob.slice. 220 https://bugs.webkit.org/show_bug.cgi?id=34652 221 222 * WebKit.gyp: 223 * public/WebFileInfo.h: Added. 224 * public/WebHTTPBody.h: 225 * src/WebHTTPBody.cpp: 226 (WebKit::WebHTTPBody::elementAt): 227 (WebKit::WebHTTPBody::appendFile): 228 229 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 230 231 Unreviewed. Follow-up fix. 232 233 Add missing devTools.css file. 234 235 https://bugs.webkit.org/show_bug.cgi?id=34756 236 237 * src/js/devTools.css: Added. 238 239 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 240 241 Reviewed by Pavel Feldman. 242 243 Upstream DevTools Images and .css files. 244 245 https://bugs.webkit.org/show_bug.cgi?id=34756 246 247 * WebKit.gypi: 248 * src/js/DevTools.css: Added. 249 * src/js/Images/segmentChromium.png: Added. 250 * src/js/Images/segmentHoverChromium.png: Added. 251 * src/js/Images/segmentHoverEndChromium.png: Added. 252 * src/js/Images/segmentSelectedChromium.png: Added. 253 * src/js/Images/segmentSelectedEndChromium.png: Added. 254 * src/js/Images/statusbarBackgroundChromium.png: Added. 255 * src/js/Images/statusbarBottomBackgroundChromium.png: Added. 256 * src/js/Images/statusbarButtonsChromium.png: Added. 257 * src/js/Images/statusbarMenuButtonChromium.png: Added. 258 * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added. 259 260 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 261 262 Reviewed by Pavel Feldman. 263 264 Upstream JavaScript part of DevTools WebKit API implementation(now 265 with the added files). 266 267 https://bugs.webkit.org/show_bug.cgi?id=34744 268 269 * WebKit.gypi: Added. 270 * src/js/DebuggerAgent.js: Added. 271 (devtools.DebuggerAgent): 272 (devtools.DebuggerAgent.prototype.reset): 273 (devtools.DebuggerAgent.prototype.initUI): 274 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber): 275 (devtools.DebuggerAgent.prototype.resolveScriptSource): 276 (devtools.DebuggerAgent.prototype.pauseExecution): 277 (devtools.DebuggerAgent.prototype.addBreakpoint): 278 (devtools.DebuggerAgent.prototype.removeBreakpoint): 279 (devtools.DebuggerAgent.prototype.updateBreakpoint): 280 (devtools.DebuggerAgent.prototype.stepIntoStatement): 281 (devtools.DebuggerAgent.prototype.stepOutOfFunction): 282 (devtools.DebuggerAgent.prototype.stepOverStatement): 283 (devtools.DebuggerAgent.prototype.resumeExecution): 284 (devtools.DebuggerAgent.prototype.createExceptionMessage_): 285 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_): 286 (devtools.DebuggerAgent.prototype.clearExceptionMessage_): 287 (devtools.DebuggerAgent.prototype.pauseOnExceptions): 288 (devtools.DebuggerAgent.prototype.setPauseOnExceptions): 289 (devtools.DebuggerAgent.prototype.requestEvaluate): 290 (devtools.DebuggerAgent.prototype.resolveChildren): 291 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber): 292 (devtools.DebuggerAgent.prototype.resolveScope): 293 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler): 294 (devtools.DebuggerAgent.prototype.resolveFrameVariables_): 295 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame): 296 (devtools.DebuggerAgent.prototype.getScriptContextType): 297 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_): 298 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_): 299 (devtools.DebuggerAgent.prototype.requestBacktrace_): 300 (devtools.DebuggerAgent.sendCommand_): 301 (devtools.DebuggerAgent.prototype.stepCommand_): 302 (devtools.DebuggerAgent.prototype.requestLookup_): 303 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber): 304 (devtools.DebuggerAgent.prototype.setContextId_): 305 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_): 306 (devtools.DebuggerAgent.prototype.handleBreakEvent_): 307 (devtools.DebuggerAgent.prototype.handleExceptionEvent_): 308 (devtools.DebuggerAgent.prototype.handleScriptsResponse_): 309 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_): 310 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_): 311 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_): 312 (devtools.DebuggerAgent.prototype.addScriptInfo_): 313 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_): 314 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_): 315 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_): 316 (devtools.DebuggerAgent.prototype.evaluateInCallFrame): 317 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_): 318 (devtools.DebuggerAgent.prototype.formatCallFrame_): 319 (devtools.DebuggerAgent.formatObjectProperties_): 320 (devtools.DebuggerAgent.propertiesToProxies_): 321 (devtools.DebuggerAgent.formatObjectProxy_): 322 (devtools.DebuggerAgent.webkitToV8LineNumber_): 323 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_): 324 (devtools.ScriptInfo): 325 (devtools.ScriptInfo.prototype.getLineOffset): 326 (devtools.ScriptInfo.prototype.getContextType): 327 (devtools.ScriptInfo.prototype.getUrl): 328 (devtools.ScriptInfo.prototype.isUnresolved): 329 (devtools.ScriptInfo.prototype.getBreakpointInfo): 330 (devtools.ScriptInfo.prototype.addBreakpointInfo): 331 (devtools.ScriptInfo.prototype.removeBreakpointInfo): 332 (devtools.BreakpointInfo): 333 (devtools.BreakpointInfo.prototype.getLine): 334 (devtools.BreakpointInfo.prototype.getV8Id): 335 (devtools.BreakpointInfo.prototype.setV8Id): 336 (devtools.BreakpointInfo.prototype.markAsRemoved): 337 (devtools.BreakpointInfo.prototype.isRemoved): 338 (devtools.CallFrame): 339 (devtools.CallFrame.prototype.evaluate_): 340 (devtools.DebugCommand): 341 (devtools.DebugCommand.prototype.getSequenceNumber): 342 (devtools.DebugCommand.prototype.toJSONProtocol): 343 (devtools.DebuggerMessage): 344 (devtools.DebuggerMessage.prototype.getType): 345 (devtools.DebuggerMessage.prototype.getEvent): 346 (devtools.DebuggerMessage.prototype.getCommand): 347 (devtools.DebuggerMessage.prototype.getRequestSeq): 348 (devtools.DebuggerMessage.prototype.isRunning): 349 (devtools.DebuggerMessage.prototype.isSuccess): 350 (devtools.DebuggerMessage.prototype.getMessage): 351 (devtools.DebuggerMessage.prototype.getBody): 352 (devtools.DebuggerMessage.prototype.lookup): 353 * src/js/DevTools.js: Added. 354 (devtools.dispatch): 355 (devtools.ToolsAgent): 356 (devtools.ToolsAgent.prototype.reset): 357 (devtools.ToolsAgent.prototype.evaluateJavaScript): 358 (devtools.ToolsAgent.prototype.getDebuggerAgent): 359 (devtools.ToolsAgent.prototype.getProfilerAgent): 360 (devtools.ToolsAgent.prototype.frameNavigate_): 361 (devtools.ToolsAgent.prototype.dispatchOnClient_): 362 (devtools.ToolsAgent.prototype.evaluate): 363 (WebInspector.setResourcesPanelEnabled): 364 (debugPrint): 365 (devtools): 366 (WebInspector.loaded): 367 (): 368 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded): 369 (WebInspector.ScriptView.prototype.didResolveScriptSource_): 370 (WebInspector.UnresolvedPropertyValue): 371 (WebInspector.UIString): 372 (WebInspector.resourceTrackingWasEnabled): 373 (WebInspector.resourceTrackingWasDisabled): 374 (WebInspector.TestController.prototype.runAfterPendingDispatches): 375 (WebInspector.queuesAreEmpty): 376 (WebInspector.pausedScript): 377 * src/js/DevToolsHostStub.js: Added. 378 (.RemoteDebuggerAgentStub): 379 (.RemoteDebuggerAgentStub.prototype.getContextId): 380 (.RemoteProfilerAgentStub): 381 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules): 382 (.RemoteProfilerAgentStub.prototype.getLogLines): 383 (.RemoteToolsAgentStub): 384 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript): 385 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController): 386 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript): 387 (.ProfilerStubHelper): 388 (.ProfilerStubHelper.GetInstance): 389 (.ProfilerStubHelper.prototype.StopProfiling): 390 (.ProfilerStubHelper.prototype.StartProfiling): 391 (.ProfilerStubHelper.prototype.getActiveProfilerModules): 392 (.ProfilerStubHelper.prototype.getLogLines): 393 (.RemoteDebuggerCommandExecutorStub): 394 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand): 395 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript): 396 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_): 397 (.DevToolsHostStub): 398 (.DevToolsHostStub.prototype.reset): 399 (.DevToolsHostStub.prototype.setting): 400 (.DevToolsHostStub.prototype.setSetting): 401 * src/js/HeapProfilerPanel.js: Added. 402 (WebInspector.ProfilesPanel.prototype.addSnapshot): 403 (WebInspector.HeapSnapshotView): 404 (WebInspector.HeapSnapshotView.prototype.get statusBarItems): 405 (WebInspector.HeapSnapshotView.prototype.get profile): 406 (WebInspector.HeapSnapshotView.prototype.set profile): 407 (WebInspector.HeapSnapshotView.prototype.show): 408 (WebInspector.HeapSnapshotView.prototype.hide): 409 (WebInspector.HeapSnapshotView.prototype.resize): 410 (WebInspector.HeapSnapshotView.prototype.refresh): 411 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents): 412 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags): 413 (WebInspector.HeapSnapshotView.prototype.searchCanceled): 414 (WebInspector.HeapSnapshotView.prototype.performSearch): 415 (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData): 416 (WebInspector.HeapSnapshotView.prototype._changeBase): 417 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList): 418 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid): 419 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent): 420 (WebInspector.HeapSnapshotView.prototype._percentClicked): 421 (WebInspector.HeapSnapshotView.prototype._resetDataGridList): 422 (WebInspector.HeapSnapshotView.prototype._sortData): 423 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions): 424 (WebInspector.HeapSnapshotView.prototype._updatePercentButton): 425 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph): 426 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS): 427 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL): 428 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL): 429 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL): 430 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER): 431 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber): 432 (WebInspector.HeapSummaryCalculator): 433 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues): 434 (WebInspector.HeapSummaryCalculator.prototype.formatValue): 435 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent): 436 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent): 437 (WebInspector.HeapSummaryCountCalculator): 438 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow): 439 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString): 440 (WebInspector.HeapSummarySizeCalculator): 441 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow): 442 (WebInspector.HeapSnapshotSidebarTreeElement): 443 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle): 444 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle): 445 (WebInspector.HeapSnapshotDataGridNodeWithRetainers): 446 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers): 447 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent): 448 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if): 449 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate): 450 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff): 451 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort): 452 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta): 453 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent): 454 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount): 455 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize): 456 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent): 457 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent): 458 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent): 459 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent): 460 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data): 461 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell): 462 (WebInspector.HeapSnapshotDataGridNode): 463 (WebInspector.HeapSnapshotDataGridList): 464 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild): 465 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild): 466 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren): 467 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren): 468 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator): 469 (WebInspector.HeapSnapshotDataGridList.propertyComparator): 470 (WebInspector.HeapSnapshotDataGridRetainerNode): 471 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent): 472 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent): 473 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers): 474 (WebInspector.HeapSnapshotProfileType): 475 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip): 476 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle): 477 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): 478 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage): 479 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile): 480 (WebInspector.HeapSnapshotProfileType.prototype.createView): 481 (): 482 * src/js/InjectDispatch.js: Added. 483 (InspectorControllerDispatcher.dispatch): 484 (ApuAgentDispatcher.dispatchToApu): 485 (dispatch): 486 (devtools): 487 * src/js/InspectorControllerImpl.js: Added. 488 (devtools.InspectorBackendImpl): 489 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch): 490 (devtools.InspectorBackendImpl.prototype.debuggerEnabled): 491 (devtools.InspectorBackendImpl.prototype.profilerEnabled): 492 (devtools.InspectorBackendImpl.prototype.addBreakpoint): 493 (devtools.InspectorBackendImpl.prototype.removeBreakpoint): 494 (devtools.InspectorBackendImpl.prototype.updateBreakpoint): 495 (devtools.InspectorBackendImpl.prototype.pauseInDebugger): 496 (devtools.InspectorBackendImpl.prototype.resumeDebugger): 497 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger): 498 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger): 499 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger): 500 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState): 501 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState): 502 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions): 503 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions): 504 (devtools.InspectorBackendImpl.prototype.startProfiling): 505 (devtools.InspectorBackendImpl.prototype.stopProfiling): 506 (devtools.InspectorBackendImpl.prototype.getProfileHeaders): 507 (devtools.InspectorBackendImpl.prototype.addFullProfile): 508 (devtools.InspectorBackendImpl.prototype.getProfile): 509 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot): 510 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript): 511 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_): 512 (devtools.InspectorBackendImpl.prototype.callInspectorController_): 513 * src/js/ProfilerAgent.js: Added. 514 (devtools.ProfilerAgent): 515 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks): 516 (devtools.ProfilerAgent.prototype.initializeProfiling): 517 (devtools.ProfilerAgent.prototype.startProfiling): 518 (devtools.ProfilerAgent.prototype.stopProfiling): 519 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_): 520 (devtools.ProfilerAgent.prototype.didGetLogLines_): 521 * src/js/ProfilerProcessor.js: Added. 522 (devtools.profiler.WebKitViewBuilder): 523 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode): 524 (devtools.profiler.WebKitViewNode): 525 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_): 526 (devtools.profiler.JsProfile): 527 (devtools.profiler.JsProfile.prototype.skipThisFunction): 528 (devtools.profiler.Processor): 529 (devtools.profiler.Processor.prototype.printError): 530 (devtools.profiler.Processor.prototype.skipDispatch): 531 (devtools.profiler.Processor.prototype.setCallbacks): 532 (devtools.profiler.Processor.prototype.setNewProfileCallback): 533 (devtools.profiler.Processor.prototype.processProfiler_.switch.break): 534 (devtools.profiler.Processor.prototype.processProfiler_): 535 (devtools.profiler.Processor.prototype.processCodeCreation_): 536 (devtools.profiler.Processor.prototype.processCodeMove_): 537 (devtools.profiler.Processor.prototype.processCodeDelete_): 538 (devtools.profiler.Processor.prototype.processFunctionCreation_): 539 (devtools.profiler.Processor.prototype.processFunctionMove_): 540 (devtools.profiler.Processor.prototype.processFunctionDelete_): 541 (devtools.profiler.Processor.prototype.processTick_): 542 (devtools.profiler.Processor.prototype.processTickV2_): 543 (devtools.profiler.Processor.prototype.processHeapSampleBegin_): 544 (devtools.profiler.Processor.prototype.processHeapSampleStats_): 545 (devtools.profiler.Processor.prototype.processHeapSampleItem_): 546 (devtools.profiler.Processor.prototype.processHeapJsConsItem_): 547 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers): 548 (devtools.profiler.Processor.prototype.processHeapJsRetItem_): 549 (devtools.profiler.Processor.prototype.processHeapSampleEnd_): 550 (devtools.profiler.Processor.prototype.createProfileForView): 551 * src/js/Tests.js: Added. 552 (.TestSuite): 553 (.TestSuite.prototype.fail): 554 (.TestSuite.prototype.assertEquals): 555 (.TestSuite.prototype.assertTrue): 556 (.TestSuite.prototype.assertContains): 557 (.TestSuite.prototype.takeControl): 558 (.TestSuite.prototype.releaseControl): 559 (.TestSuite.prototype.reportOk_): 560 (.TestSuite.prototype.reportFailure_): 561 (.TestSuite.prototype.runTest): 562 (.TestSuite.prototype.showPanel): 563 (.TestSuite.prototype.addSniffer.receiver.methodName): 564 (.TestSuite.prototype.addSniffer): 565 (.TestSuite.prototype.testHostIsPresent): 566 (.TestSuite.prototype.testElementsTreeRoot): 567 (.TestSuite.prototype.testMainResource): 568 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.): 569 (.TestSuite.prototype.testResourceHeaders): 570 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.): 571 (.TestSuite.prototype.testCachedResourceMimeType): 572 (.TestSuite.prototype.testProfilerTab): 573 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): 574 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel): 575 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh): 576 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab): 577 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab): 578 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel): 579 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates): 580 (.TestSuite.prototype.testPauseOnException): 581 (.TestSuite.prototype.testPauseWhenLoadingDevTools): 582 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay): 583 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause): 584 (.TestSuite.prototype.testPauseWhenScriptIsRunning): 585 (.TestSuite.prototype.optionsToString_): 586 (.TestSuite.prototype.evaluateInConsole_): 587 (.TestSuite.prototype.waitForSetBreakpointResponse_): 588 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback): 589 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit): 590 (.TestSuite.prototype.testCompletionOnPause): 591 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion): 592 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion): 593 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion): 594 (.TestSuite.prototype.testCompletionOnPause.checkCompletions): 595 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList): 596 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test): 597 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent): 598 (.TestSuite.prototype._checkExecutionLine): 599 (.TestSuite.prototype._scriptsAreParsed): 600 (.TestSuite.prototype._waitForScriptPause): 601 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine): 602 (.TestSuite.prototype._checkSourceFrameWhenLoaded): 603 (.TestSuite.prototype._performSteps.doNextAction): 604 (.TestSuite.prototype._performSteps): 605 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage): 606 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): 607 (.TestSuite.prototype._waitUntilScriptsAreParsed): 608 (.TestSuite.prototype._executeFunctionForStepTest): 609 (.TestSuite.prototype.testStepOver): 610 (.TestSuite.prototype.testStepOut): 611 (.TestSuite.prototype.testStepIn): 612 (.TestSuite.prototype._evaluateXpath): 613 (.TestSuite.prototype._findNode): 614 (.TestSuite.prototype._findText): 615 (.TestSuite.prototype._nodeIterator): 616 (.TestSuite.prototype._checkScopeSectionDiv): 617 (.TestSuite.prototype._expandScopeSections.updateListener): 618 (.TestSuite.prototype._expandScopeSections): 619 (.TestSuite.prototype.testExpandScope): 620 (.TestSuite.prototype.testExpandScope.examineScopes): 621 (.TestSuite.prototype._findChildProperty): 622 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties): 623 (.TestSuite.prototype._hookGetPropertiesCallback.try): 624 (.TestSuite.prototype._hookGetPropertiesCallback): 625 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope): 626 (.TestSuite.prototype.testDebugIntrinsicProperties): 627 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty): 628 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty): 629 (.TestSuite.createKeyEvent): 630 (.TestSuite.prototype.testConsoleLog.assertNext): 631 (.TestSuite.prototype.testConsoleLog): 632 (.TestSuite.prototype.testEvalGlobal.initEval): 633 (.TestSuite.prototype.testEvalGlobal): 634 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.): 635 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer): 636 (.uiTests.runAllTests): 637 (.uiTests.runTest): 638 639 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 640 641 Reviewed by Pavel Feldman. 642 643 Upstream JavaScript part of DevTools WebKit API implementation 644 645 https://bugs.webkit.org/show_bug.cgi?id=34744 646 647 * WebKit.gypi: Added. 648 * src/js/DebuggerAgent.js: Added. 649 (devtools.DebuggerAgent): 650 (devtools.DebuggerAgent.prototype.reset): 651 (devtools.DebuggerAgent.prototype.initUI): 652 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber): 653 (devtools.DebuggerAgent.prototype.resolveScriptSource): 654 (devtools.DebuggerAgent.prototype.pauseExecution): 655 (devtools.DebuggerAgent.prototype.addBreakpoint): 656 (devtools.DebuggerAgent.prototype.removeBreakpoint): 657 (devtools.DebuggerAgent.prototype.updateBreakpoint): 658 (devtools.DebuggerAgent.prototype.stepIntoStatement): 659 (devtools.DebuggerAgent.prototype.stepOutOfFunction): 660 (devtools.DebuggerAgent.prototype.stepOverStatement): 661 (devtools.DebuggerAgent.prototype.resumeExecution): 662 (devtools.DebuggerAgent.prototype.createExceptionMessage_): 663 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_): 664 (devtools.DebuggerAgent.prototype.clearExceptionMessage_): 665 (devtools.DebuggerAgent.prototype.pauseOnExceptions): 666 (devtools.DebuggerAgent.prototype.setPauseOnExceptions): 667 (devtools.DebuggerAgent.prototype.requestEvaluate): 668 (devtools.DebuggerAgent.prototype.resolveChildren): 669 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber): 670 (devtools.DebuggerAgent.prototype.resolveScope): 671 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler): 672 (devtools.DebuggerAgent.prototype.resolveFrameVariables_): 673 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame): 674 (devtools.DebuggerAgent.prototype.getScriptContextType): 675 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_): 676 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_): 677 (devtools.DebuggerAgent.prototype.requestBacktrace_): 678 (devtools.DebuggerAgent.sendCommand_): 679 (devtools.DebuggerAgent.prototype.stepCommand_): 680 (devtools.DebuggerAgent.prototype.requestLookup_): 681 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber): 682 (devtools.DebuggerAgent.prototype.setContextId_): 683 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_): 684 (devtools.DebuggerAgent.prototype.handleBreakEvent_): 685 (devtools.DebuggerAgent.prototype.handleExceptionEvent_): 686 (devtools.DebuggerAgent.prototype.handleScriptsResponse_): 687 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_): 688 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_): 689 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_): 690 (devtools.DebuggerAgent.prototype.addScriptInfo_): 691 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_): 692 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_): 693 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_): 694 (devtools.DebuggerAgent.prototype.evaluateInCallFrame): 695 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_): 696 (devtools.DebuggerAgent.prototype.formatCallFrame_): 697 (devtools.DebuggerAgent.formatObjectProperties_): 698 (devtools.DebuggerAgent.propertiesToProxies_): 699 (devtools.DebuggerAgent.formatObjectProxy_): 700 (devtools.DebuggerAgent.webkitToV8LineNumber_): 701 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_): 702 (devtools.ScriptInfo): 703 (devtools.ScriptInfo.prototype.getLineOffset): 704 (devtools.ScriptInfo.prototype.getContextType): 705 (devtools.ScriptInfo.prototype.getUrl): 706 (devtools.ScriptInfo.prototype.isUnresolved): 707 (devtools.ScriptInfo.prototype.getBreakpointInfo): 708 (devtools.ScriptInfo.prototype.addBreakpointInfo): 709 (devtools.ScriptInfo.prototype.removeBreakpointInfo): 710 (devtools.BreakpointInfo): 711 (devtools.BreakpointInfo.prototype.getLine): 712 (devtools.BreakpointInfo.prototype.getV8Id): 713 (devtools.BreakpointInfo.prototype.setV8Id): 714 (devtools.BreakpointInfo.prototype.markAsRemoved): 715 (devtools.BreakpointInfo.prototype.isRemoved): 716 (devtools.CallFrame): 717 (devtools.CallFrame.prototype.evaluate_): 718 (devtools.DebugCommand): 719 (devtools.DebugCommand.prototype.getSequenceNumber): 720 (devtools.DebugCommand.prototype.toJSONProtocol): 721 (devtools.DebuggerMessage): 722 (devtools.DebuggerMessage.prototype.getType): 723 (devtools.DebuggerMessage.prototype.getEvent): 724 (devtools.DebuggerMessage.prototype.getCommand): 725 (devtools.DebuggerMessage.prototype.getRequestSeq): 726 (devtools.DebuggerMessage.prototype.isRunning): 727 (devtools.DebuggerMessage.prototype.isSuccess): 728 (devtools.DebuggerMessage.prototype.getMessage): 729 (devtools.DebuggerMessage.prototype.getBody): 730 (devtools.DebuggerMessage.prototype.lookup): 731 * src/js/DevTools.js: Added. 732 (devtools.dispatch): 733 (devtools.ToolsAgent): 734 (devtools.ToolsAgent.prototype.reset): 735 (devtools.ToolsAgent.prototype.evaluateJavaScript): 736 (devtools.ToolsAgent.prototype.getDebuggerAgent): 737 (devtools.ToolsAgent.prototype.getProfilerAgent): 738 (devtools.ToolsAgent.prototype.frameNavigate_): 739 (devtools.ToolsAgent.prototype.dispatchOnClient_): 740 (devtools.ToolsAgent.prototype.evaluate): 741 (WebInspector.setResourcesPanelEnabled): 742 (debugPrint): 743 (devtools): 744 (WebInspector.loaded): 745 (): 746 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded): 747 (WebInspector.ScriptView.prototype.didResolveScriptSource_): 748 (WebInspector.UnresolvedPropertyValue): 749 (WebInspector.UIString): 750 (WebInspector.resourceTrackingWasEnabled): 751 (WebInspector.resourceTrackingWasDisabled): 752 (WebInspector.TestController.prototype.runAfterPendingDispatches): 753 (WebInspector.queuesAreEmpty): 754 (WebInspector.pausedScript): 755 * src/js/DevToolsHostStub.js: Added. 756 (.RemoteDebuggerAgentStub): 757 (.RemoteDebuggerAgentStub.prototype.getContextId): 758 (.RemoteProfilerAgentStub): 759 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules): 760 (.RemoteProfilerAgentStub.prototype.getLogLines): 761 (.RemoteToolsAgentStub): 762 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript): 763 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController): 764 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript): 765 (.ProfilerStubHelper): 766 (.ProfilerStubHelper.GetInstance): 767 (.ProfilerStubHelper.prototype.StopProfiling): 768 (.ProfilerStubHelper.prototype.StartProfiling): 769 (.ProfilerStubHelper.prototype.getActiveProfilerModules): 770 (.ProfilerStubHelper.prototype.getLogLines): 771 (.RemoteDebuggerCommandExecutorStub): 772 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand): 773 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript): 774 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_): 775 (.DevToolsHostStub): 776 (.DevToolsHostStub.prototype.reset): 777 (.DevToolsHostStub.prototype.setting): 778 (.DevToolsHostStub.prototype.setSetting): 779 * src/js/HeapProfilerPanel.js: Added. 780 (WebInspector.ProfilesPanel.prototype.addSnapshot): 781 (WebInspector.HeapSnapshotView): 782 (WebInspector.HeapSnapshotView.prototype.get statusBarItems): 783 (WebInspector.HeapSnapshotView.prototype.get profile): 784 (WebInspector.HeapSnapshotView.prototype.set profile): 785 (WebInspector.HeapSnapshotView.prototype.show): 786 (WebInspector.HeapSnapshotView.prototype.hide): 787 (WebInspector.HeapSnapshotView.prototype.resize): 788 (WebInspector.HeapSnapshotView.prototype.refresh): 789 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents): 790 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags): 791 (WebInspector.HeapSnapshotView.prototype.searchCanceled): 792 (WebInspector.HeapSnapshotView.prototype.performSearch): 793 (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData): 794 (WebInspector.HeapSnapshotView.prototype._changeBase): 795 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList): 796 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid): 797 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent): 798 (WebInspector.HeapSnapshotView.prototype._percentClicked): 799 (WebInspector.HeapSnapshotView.prototype._resetDataGridList): 800 (WebInspector.HeapSnapshotView.prototype._sortData): 801 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions): 802 (WebInspector.HeapSnapshotView.prototype._updatePercentButton): 803 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph): 804 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS): 805 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL): 806 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL): 807 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL): 808 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER): 809 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber): 810 (WebInspector.HeapSummaryCalculator): 811 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues): 812 (WebInspector.HeapSummaryCalculator.prototype.formatValue): 813 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent): 814 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent): 815 (WebInspector.HeapSummaryCountCalculator): 816 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow): 817 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString): 818 (WebInspector.HeapSummarySizeCalculator): 819 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow): 820 (WebInspector.HeapSnapshotSidebarTreeElement): 821 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle): 822 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle): 823 (WebInspector.HeapSnapshotDataGridNodeWithRetainers): 824 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers): 825 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent): 826 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if): 827 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate): 828 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff): 829 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort): 830 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta): 831 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent): 832 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount): 833 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize): 834 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent): 835 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent): 836 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent): 837 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent): 838 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data): 839 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell): 840 (WebInspector.HeapSnapshotDataGridNode): 841 (WebInspector.HeapSnapshotDataGridList): 842 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild): 843 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild): 844 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren): 845 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren): 846 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator): 847 (WebInspector.HeapSnapshotDataGridList.propertyComparator): 848 (WebInspector.HeapSnapshotDataGridRetainerNode): 849 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent): 850 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent): 851 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers): 852 (WebInspector.HeapSnapshotProfileType): 853 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip): 854 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle): 855 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): 856 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage): 857 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile): 858 (WebInspector.HeapSnapshotProfileType.prototype.createView): 859 (): 860 * src/js/InjectDispatch.js: Added. 861 (InspectorControllerDispatcher.dispatch): 862 (ApuAgentDispatcher.dispatchToApu): 863 (dispatch): 864 (devtools): 865 * src/js/InspectorControllerImpl.js: Added. 866 (devtools.InspectorBackendImpl): 867 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch): 868 (devtools.InspectorBackendImpl.prototype.debuggerEnabled): 869 (devtools.InspectorBackendImpl.prototype.profilerEnabled): 870 (devtools.InspectorBackendImpl.prototype.addBreakpoint): 871 (devtools.InspectorBackendImpl.prototype.removeBreakpoint): 872 (devtools.InspectorBackendImpl.prototype.updateBreakpoint): 873 (devtools.InspectorBackendImpl.prototype.pauseInDebugger): 874 (devtools.InspectorBackendImpl.prototype.resumeDebugger): 875 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger): 876 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger): 877 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger): 878 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState): 879 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState): 880 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions): 881 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions): 882 (devtools.InspectorBackendImpl.prototype.startProfiling): 883 (devtools.InspectorBackendImpl.prototype.stopProfiling): 884 (devtools.InspectorBackendImpl.prototype.getProfileHeaders): 885 (devtools.InspectorBackendImpl.prototype.addFullProfile): 886 (devtools.InspectorBackendImpl.prototype.getProfile): 887 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot): 888 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript): 889 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_): 890 (devtools.InspectorBackendImpl.prototype.callInspectorController_): 891 * src/js/ProfilerAgent.js: Added. 892 (devtools.ProfilerAgent): 893 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks): 894 (devtools.ProfilerAgent.prototype.initializeProfiling): 895 (devtools.ProfilerAgent.prototype.startProfiling): 896 (devtools.ProfilerAgent.prototype.stopProfiling): 897 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_): 898 (devtools.ProfilerAgent.prototype.didGetLogLines_): 899 * src/js/ProfilerProcessor.js: Added. 900 (devtools.profiler.WebKitViewBuilder): 901 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode): 902 (devtools.profiler.WebKitViewNode): 903 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_): 904 (devtools.profiler.JsProfile): 905 (devtools.profiler.JsProfile.prototype.skipThisFunction): 906 (devtools.profiler.Processor): 907 (devtools.profiler.Processor.prototype.printError): 908 (devtools.profiler.Processor.prototype.skipDispatch): 909 (devtools.profiler.Processor.prototype.setCallbacks): 910 (devtools.profiler.Processor.prototype.setNewProfileCallback): 911 (devtools.profiler.Processor.prototype.processProfiler_.switch.break): 912 (devtools.profiler.Processor.prototype.processProfiler_): 913 (devtools.profiler.Processor.prototype.processCodeCreation_): 914 (devtools.profiler.Processor.prototype.processCodeMove_): 915 (devtools.profiler.Processor.prototype.processCodeDelete_): 916 (devtools.profiler.Processor.prototype.processFunctionCreation_): 917 (devtools.profiler.Processor.prototype.processFunctionMove_): 918 (devtools.profiler.Processor.prototype.processFunctionDelete_): 919 (devtools.profiler.Processor.prototype.processTick_): 920 (devtools.profiler.Processor.prototype.processTickV2_): 921 (devtools.profiler.Processor.prototype.processHeapSampleBegin_): 922 (devtools.profiler.Processor.prototype.processHeapSampleStats_): 923 (devtools.profiler.Processor.prototype.processHeapSampleItem_): 924 (devtools.profiler.Processor.prototype.processHeapJsConsItem_): 925 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers): 926 (devtools.profiler.Processor.prototype.processHeapJsRetItem_): 927 (devtools.profiler.Processor.prototype.processHeapSampleEnd_): 928 (devtools.profiler.Processor.prototype.createProfileForView): 929 * src/js/Tests.js: Added. 930 (.TestSuite): 931 (.TestSuite.prototype.fail): 932 (.TestSuite.prototype.assertEquals): 933 (.TestSuite.prototype.assertTrue): 934 (.TestSuite.prototype.assertContains): 935 (.TestSuite.prototype.takeControl): 936 (.TestSuite.prototype.releaseControl): 937 (.TestSuite.prototype.reportOk_): 938 (.TestSuite.prototype.reportFailure_): 939 (.TestSuite.prototype.runTest): 940 (.TestSuite.prototype.showPanel): 941 (.TestSuite.prototype.addSniffer.receiver.methodName): 942 (.TestSuite.prototype.addSniffer): 943 (.TestSuite.prototype.testHostIsPresent): 944 (.TestSuite.prototype.testElementsTreeRoot): 945 (.TestSuite.prototype.testMainResource): 946 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.): 947 (.TestSuite.prototype.testResourceHeaders): 948 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.): 949 (.TestSuite.prototype.testCachedResourceMimeType): 950 (.TestSuite.prototype.testProfilerTab): 951 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): 952 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel): 953 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh): 954 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab): 955 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab): 956 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel): 957 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates): 958 (.TestSuite.prototype.testPauseOnException): 959 (.TestSuite.prototype.testPauseWhenLoadingDevTools): 960 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay): 961 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause): 962 (.TestSuite.prototype.testPauseWhenScriptIsRunning): 963 (.TestSuite.prototype.optionsToString_): 964 (.TestSuite.prototype.evaluateInConsole_): 965 (.TestSuite.prototype.waitForSetBreakpointResponse_): 966 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback): 967 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit): 968 (.TestSuite.prototype.testCompletionOnPause): 969 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion): 970 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion): 971 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion): 972 (.TestSuite.prototype.testCompletionOnPause.checkCompletions): 973 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList): 974 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test): 975 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent): 976 (.TestSuite.prototype._checkExecutionLine): 977 (.TestSuite.prototype._scriptsAreParsed): 978 (.TestSuite.prototype._waitForScriptPause): 979 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine): 980 (.TestSuite.prototype._checkSourceFrameWhenLoaded): 981 (.TestSuite.prototype._performSteps.doNextAction): 982 (.TestSuite.prototype._performSteps): 983 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage): 984 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): 985 (.TestSuite.prototype._waitUntilScriptsAreParsed): 986 (.TestSuite.prototype._executeFunctionForStepTest): 987 (.TestSuite.prototype.testStepOver): 988 (.TestSuite.prototype.testStepOut): 989 (.TestSuite.prototype.testStepIn): 990 (.TestSuite.prototype._evaluateXpath): 991 (.TestSuite.prototype._findNode): 992 (.TestSuite.prototype._findText): 993 (.TestSuite.prototype._nodeIterator): 994 (.TestSuite.prototype._checkScopeSectionDiv): 995 (.TestSuite.prototype._expandScopeSections.updateListener): 996 (.TestSuite.prototype._expandScopeSections): 997 (.TestSuite.prototype.testExpandScope): 998 (.TestSuite.prototype.testExpandScope.examineScopes): 999 (.TestSuite.prototype._findChildProperty): 1000 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties): 1001 (.TestSuite.prototype._hookGetPropertiesCallback.try): 1002 (.TestSuite.prototype._hookGetPropertiesCallback): 1003 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope): 1004 (.TestSuite.prototype.testDebugIntrinsicProperties): 1005 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty): 1006 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty): 1007 (.TestSuite.createKeyEvent): 1008 (.TestSuite.prototype.testConsoleLog.assertNext): 1009 (.TestSuite.prototype.testConsoleLog): 1010 (.TestSuite.prototype.testEvalGlobal.initEval): 1011 (.TestSuite.prototype.testEvalGlobal): 1012 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.): 1013 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer): 1014 (.uiTests.runAllTests): 1015 (.uiTests.runTest): 1016 1017 2010-02-09 Avi Drissman <avi (a] chromium.org> 1018 1019 Reviewed by David Levin. 1020 1021 Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy 1022 https://bugs.webkit.org/show_bug.cgi?id=34615 1023 1024 * src/WebViewImpl.cpp: 1025 (WebKit::WebViewImpl::keyEventDefault): 1026 1027 2010-02-08 Evan Martin <evan (a] chromium.org> 1028 1029 dlopen() knows how to search the library search path, so just rely on 1030 it. While I'm at it, print out the dlerror() error message on failure. 1031 1032 [chromium] webgl shouldn't hard code library search path 1033 https://bugs.webkit.org/show_bug.cgi?id=34659 1034 1035 * src/GraphicsContext3D.cpp: 1036 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection): 1037 (WebCore::GraphicsContext3DInternal::GLConnection::create): 1038 1039 2010-02-08 Charlie Reis <creis (a] chromium.org> 1040 1041 Reviewed by Darin Adler. 1042 1043 onbeforeunload not called at window close + frame or iframe focused 1044 https://bugs.webkit.org/show_bug.cgi?id=27481 1045 http://code.google.com/p/chromium/issues/detail?id=32615 1046 http://code.google.com/p/chromium/issues/detail?id=17157 1047 1048 Chromium and WebKit on Windows will now fire beforeunload handlers 1049 even if an inner frame is focused. 1050 1051 Layout tests aren't able to test this bug, since it requires closing 1052 the actual browser window, not calling window.close(). Instead, 1053 test with WebCore/manual-tests/onbeforeunload-focused-iframe.html. 1054 1055 * src/WebViewImpl.cpp: 1056 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): 1057 1058 2010-02-08 Pavel Feldman <pfeldman (a] chromium.org> 1059 1060 Reviewed by David Levin. 1061 1062 WebKit/chromium: Custom context menu does not work in inspector. 1063 https://bugs.webkit.org/show_bug.cgi?id=34711 1064 1065 * src/WebDevToolsFrontendImpl.cpp: 1066 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu): 1067 1068 2010-02-08 Nate Chapin <japhet (a] chromium.org> 1069 1070 Reviewed by Darin Fisher. 1071 1072 Check that the index passed into BackForwardListClientImpl::itemAtIndex() 1073 is valid, and return null if it isn't. 1074 1075 https://bugs.webkit.org/show_bug.cgi?id=34722 1076 1077 * src/BackForwardListClientImpl.cpp: 1078 (WebKit::BackForwardListClientImpl::itemAtIndex): 1079 1080 2010-02-05 Dumitru Daniliuc <dumi (a] chromium.org> 1081 1082 Reviewed by Jeremy Orlow. 1083 1084 Adding a way to close all database handles pointing to a certain 1085 database as soon as possible. 1086 https://bugs.webkit.org/show_bug.cgi?id=34619 1087 1088 * public/WebDatabase.h: 1089 * src/WebDatabase.cpp: 1090 (WebKit::WebDatabase::closeDatabaseImmediately): 1091 1092 2010-02-08 Dirk Schulze <krit (a] webkit.org> 1093 1094 Reviewed by Nikolas Zimmermann. 1095 1096 Add back an AffineTransform class for use by SVG 1097 https://bugs.webkit.org/show_bug.cgi?id=33750 1098 1099 Use AffineTransform instead of TransformationMatrix here. 1100 1101 * tests/TransparencyWinTest.cpp: 1102 (WebCore::TEST): 1103 1104 2010-02-07 Jian Li <jianli (a] chromium.org> 1105 1106 Reviewed by Darin Fisher. 1107 1108 [chromium] Change chromium interface to handle DownloadURL format. 1109 https://bugs.webkit.org/show_bug.cgi?id=34655 1110 1111 * public/WebDragData.h: 1112 * src/WebDragData.cpp: 1113 (WebKit::WebDragData::downloadMetadata): 1114 (WebKit::WebDragData::setDownloadMetadata): 1115 1116 2010-02-06 Dimitri Glazkov <dglazkov (a] chromium.org> 1117 1118 No review, rolling out r54364. 1119 http://trac.webkit.org/changeset/54364 1120 https://bugs.webkit.org/show_bug.cgi?id=34464 1121 1122 Introduced asserts in layout tests, needs more testing 1123 locally. 1124 1125 * public/WebViewClient.h: 1126 * src/ChromeClientImpl.cpp: 1127 * src/ChromeClientImpl.h: 1128 1129 2010-02-05 James Hawkins <jhawkins (a] chromium.org> 1130 1131 Reviewed by David Levin. 1132 1133 [Chromium] Rename autocomplete* to suggestions* to prepare for the 1134 refactoring of AutocompletePopupMenuClient. 1135 1136 https://bugs.webkit.org/show_bug.cgi?id=34664 1137 1138 * public/WebView.h: 1139 * src/AutocompletePopupMenuClient.cpp: 1140 (WebKit::AutocompletePopupMenuClient::popupDidHide): 1141 * src/EditorClientImpl.cpp: 1142 (WebKit::EditorClientImpl::textFieldDidEndEditing): 1143 (WebKit::EditorClientImpl::doAutofill): 1144 * src/WebViewImpl.cpp: 1145 (WebKit::): 1146 (WebKit::WebViewImpl::WebViewImpl): 1147 (WebKit::WebViewImpl::mouseDown): 1148 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 1149 (WebKit::WebViewImpl::setFocus): 1150 (WebKit::WebViewImpl::applyAutofillSuggestions): 1151 (WebKit::WebViewImpl::hideAutofillPopup): 1152 (WebKit::WebViewImpl::hideSuggestionsPopup): 1153 (WebKit::WebViewImpl::refreshSuggestionsPopup): 1154 * src/WebViewImpl.h: 1155 (WebKit::WebViewImpl::suggestionsPopupDidHide): 1156 1157 2010-02-05 James Hawkins <jhawkins (a] chromium.org> 1158 1159 Reviewed by David Levin. 1160 1161 [Chromium] Remove an unused forward declaration in WebKitClient.h. 1162 1163 https://bugs.webkit.org/show_bug.cgi?id=34622 1164 1165 * public/WebKitClient.h: 1166 1167 2010-02-05 James Hawkins <jhawkins (a] chromium.org> 1168 1169 Reviewed by Darin Fisher. 1170 1171 Implement WebInputElement::isActivatedSubmit(). 1172 1173 https://bugs.webkit.org/show_bug.cgi?id=34623 1174 1175 * public/WebInputElement.h: 1176 * src/WebInputElement.cpp: 1177 (WebKit::WebInputElement::isActivatedSubmit): 1178 1179 2010-02-05 Nate Chapin <japhet (a] chromium.org> 1180 1181 Reviewed by Dimitri Glazkov. 1182 1183 Update code for getting a v8::FunctionTemplate. 1184 1185 https://bugs.webkit.org/show_bug.cgi?id=34606 1186 1187 * src/WebDevToolsAgentImpl.cpp: 1188 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper): 1189 1190 2010-02-05 Mikhail Naganov <mnaganov (a] chromium.org> 1191 1192 Reviewed by Pavel Feldman. 1193 1194 Enable JAVASCRIPT_DEBUGGER in chromium port. 1195 1196 https://bugs.webkit.org/show_bug.cgi?id=34638 1197 1198 * features.gypi: 1199 1200 2010-02-04 Yaar Schnitman <yaar (a] chromium.org> 1201 1202 Reviewed by Darin Fisher. 1203 1204 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin 1205 https://bugs.webkit.org/show_bug.cgi?id=34509 1206 1207 Resubmit: The previous commit (r54333) was rolled back. 1208 1209 * WebKit.gyp: 1210 * tests/TransparencyWinTest.cpp: Added. 1211 (WebCore::RECTToFloatRect): 1212 (WebCore::drawNativeRect): 1213 (WebCore::getPixelAt): 1214 (WebCore::clearTopLayerAlphaChannel): 1215 (WebCore::clearTopLayerAlphaPixel): 1216 (WebCore::operator<<): 1217 (WebCore::TEST): 1218 * tests/UniscribeHelperTest.cpp: Added. 1219 (WebCore::UniscribeTest::UniscribeTest): 1220 (WebCore::UniscribeTest::MakeFont): 1221 (WebCore::UniscribeTest::SetUp): 1222 (WebCore::UniscribeTest::TearDown): 1223 (TEST_F): 1224 1225 2010-02-04 Drew Wilson <atwilson (a] chromium.org> 1226 1227 Reviewed by David Levin. 1228 1229 WorkerContext.close() does not work in the chromium port 1230 https://bugs.webkit.org/show_bug.cgi?id=34551 1231 1232 Test: Adding new downstream test. 1233 1234 * src/WebWorkerBase.cpp: 1235 (WebKit::WebWorkerBase::workerContextClosedTask): 1236 Now shuts down the worker thread when WorkerContext::close() is invoked. 1237 1238 2010-02-04 Chris Guillory <chris.guillory (a] google.com> 1239 1240 Reviewed by Darin Fisher. 1241 1242 [Chromium] Add function for AccessibilityObject state change notifications. 1243 1244 https://bugs.webkit.org/show_bug.cgi?id=34464 1245 1246 * public/WebViewClient.h: 1247 (WebKit::WebViewClient::didChangeAccessibilityObjectState): 1248 * src/ChromeClientImpl.cpp: 1249 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState): 1250 * src/ChromeClientImpl.h: 1251 1252 2010-02-04 Jeremy Moskovich <jeremy (a] chromium.org> 1253 1254 Reviewed by Darin Fisher. 1255 1256 Update comments to better document the possible values of the 1257 writing direction menu state variables. 1258 1259 * public/WebContextMenuData.h: 1260 1261 2010-02-04 Nate Chapin <japhet (a] chromium.org> 1262 1263 Reviewed by Dimitri Glazkov. 1264 1265 Remove references to V8Custom. 1266 1267 https://bugs.webkit.org/show_bug.cgi?id=32638 1268 1269 * src/DebuggerAgentImpl.cpp: 1270 * src/WebDevToolsFrontendImpl.cpp: 1271 1272 2010-02-04 Yury Semikhatsky <yurys (a] chromium.org> 1273 1274 Unreviewed. Revert 54333 which broke Chromium build. 1275 1276 * WebKit.gyp: 1277 * tests/TransparencyWinTest.cpp: Removed. 1278 * tests/UniscribeHelperTest.cpp: Removed. 1279 1280 2010-02-04 Yaar Schnitman <yaar (a] chromium.org> 1281 1282 Reviewed by Darin Fisher. 1283 1284 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin. 1285 https://bugs.webkit.org/show_bug.cgi?id=34509 1286 1287 * WebKit.gyp: 1288 * tests/TransparencyWinTest.cpp: Added. 1289 (WebCore::RECTToFloatRect): 1290 (WebCore::drawNativeRect): 1291 (WebCore::getPixelAt): 1292 (WebCore::clearTopLayerAlphaChannel): 1293 (WebCore::clearTopLayerAlphaPixel): 1294 (WebCore::operator<<): 1295 (WebCore::TEST): 1296 * tests/UniscribeHelperTest.cpp: Added. 1297 (WebCore::UniscribeTest::UniscribeTest): 1298 (WebCore::UniscribeTest::MakeFont): 1299 (WebCore::UniscribeTest::SetUp): 1300 (WebCore::UniscribeTest::TearDown): 1301 (WebCore::TEST_F): 1302 1303 2010-02-04 Jeremy Moskovich <jeremy (a] chromium.org> 1304 1305 Reviewed by David Levin. 1306 1307 [Chromium] WebKit side of "Writing direction" context menu on OS X. 1308 https://bugs.webkit.org/show_bug.cgi?id=34524 1309 1310 * public/WebContextMenuData.h: 1311 (WebKit::WebContextMenuData::): 1312 * src/ContextMenuClientImpl.cpp: 1313 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 1314 1315 2010-02-03 Drew Wilson <atwilson (a] chromium.org> 1316 1317 Reviewed by Alexey Proskuryakov. 1318 1319 SharedWorkerScriptLoader should not be an ActiveDOMObject 1320 https://bugs.webkit.org/show_bug.cgi?id=34513 1321 1322 * src/SharedWorkerRepository.cpp: 1323 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): 1324 Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject. 1325 (WebCore::SharedWorkerScriptLoader::parentContext): 1326 (WebCore::pendingLoaders): 1327 Now we manually track pending loads so we can shut them down when the parent context shuts down. 1328 (WebCore::SharedWorkerScriptLoader::contextDetached): 1329 Shuts down/frees any pending worker loads. 1330 (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader): 1331 Marks the SharedWorker object as not having pending activity if there was a load active (handles case where load was pending when parent document exits). 1332 (WebCore::SharedWorkerScriptLoader::load): 1333 (WebCore::SharedWorkerRepository::documentDetached): 1334 Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads. 1335 1336 2010-02-03 Alexander Pavlov <apavlov (a] chromium.org> 1337 1338 Reviewed by Timothy Hatcher. 1339 1340 [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl 1341 https://bugs.webkit.org/show_bug.cgi?id=34523 1342 1343 * src/WebDevToolsFrontendImpl.cpp: 1344 (WebKit::WebDevToolsFrontendImpl::jsPlatform): 1345 1346 2010-02-02 Joel Stanley <joel (a] jms.id.au> 1347 1348 Reviewed by David Levin. 1349 1350 [Chromium] Add API method for setting caret blink frequency. 1351 https://bugs.webkit.org/show_bug.cgi?id=31704 1352 1353 This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method 1354 to be called Chromium's API. The API is linux-only as it is currently 1355 the only port to implement RenderTheme::setCaretBlinkInterval. 1356 1357 * WebKit.gyp: Add WebRenderTheme.{h,cpp} 1358 * public/linux/WebRenderTheme.h: Added. 1359 * src/linux/WebRenderTheme.cpp: Added. 1360 (WebKit::setCaretBlinkInterval): Exposed API 1361 1362 2010-02-02 Shinichiro Hamaji <hamaji (a] chromium.org> 1363 1364 Reviewed by Dimitri Glazkov. 1365 1366 [Chromium] Implement WebFrameImpl::pageNumberForElementById 1367 https://bugs.webkit.org/show_bug.cgi?id=34471 1368 1369 * public/WebFrame.h: 1370 * src/WebFrameImpl.cpp: 1371 (WebKit::WebFrameImpl::pageNumberForElementById): 1372 * src/WebFrameImpl.h: 1373 1374 2010-02-02 Yury Semikhatsky <yurys (a] chromium.org> 1375 1376 Reviewed by Pavel Feldman. 1377 1378 Upstream DevTools code. 1379 1380 https://bugs.webkit.org/show_bug.cgi?id=34326 1381 1382 * WebKit.gyp: 1383 * src/APUAgentDelegate.h: Added. 1384 * src/BoundObject.cpp: Added. 1385 (WebKit::BoundObject::BoundObject): 1386 (WebKit::BoundObject::~BoundObject): 1387 (WebKit::BoundObject::addProtoFunction): 1388 (WebKit::BoundObject::build): 1389 * src/BoundObject.h: Added. 1390 * src/DebuggerAgent.h: Added. 1391 * src/DebuggerAgentImpl.cpp: Added. 1392 (WebKit::DebuggerAgentImpl::DebuggerAgentImpl): 1393 (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl): 1394 (WebKit::DebuggerAgentImpl::getContextId): 1395 (WebKit::DebuggerAgentImpl::debuggerOutput): 1396 (WebKit::DebuggerAgentImpl::createUtilityContext): 1397 (WebKit::DebuggerAgentImpl::executeUtilityFunction): 1398 (WebKit::DebuggerAgentImpl::executeVoidJavaScript): 1399 (WebKit::DebuggerAgentImpl::page): 1400 * src/DebuggerAgentImpl.h: Added. 1401 (WebKit::DebuggerAgentImpl::setAutoContinueOnException): 1402 (WebKit::DebuggerAgentImpl::autoContinueOnException): 1403 (WebKit::DebuggerAgentImpl::webdevtoolsAgent): 1404 (WebKit::DebuggerAgentImpl::webView): 1405 * src/DebuggerAgentManager.cpp: Added. 1406 (WebKit::DebuggerAgentManager::debugHostDispatchHandler): 1407 (WebKit::DebuggerAgentManager::debugAttach): 1408 (WebKit::DebuggerAgentManager::debugDetach): 1409 (WebKit::DebuggerAgentManager::onV8DebugMessage): 1410 (WebKit::DebuggerAgentManager::pauseScript): 1411 (WebKit::DebuggerAgentManager::executeDebuggerCommand): 1412 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler): 1413 (WebKit::DebuggerAgentManager::setHostId): 1414 (WebKit::DebuggerAgentManager::onWebViewClosed): 1415 (WebKit::DebuggerAgentManager::onNavigate): 1416 (WebKit::DebuggerAgentManager::sendCommandToV8): 1417 (WebKit::DebuggerAgentManager::sendContinueCommandToV8): 1418 (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context): 1419 (WebKit::DebuggerAgentManager::debuggerAgentForHostId): 1420 * src/DebuggerAgentManager.h: Added. 1421 (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope): 1422 (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope): 1423 * src/DevToolsRPC.h: Added. 1424 (WebKit::): 1425 (WebKit::DevToolsRPC::Delegate::Delegate): 1426 (WebKit::DevToolsRPC::Delegate::~Delegate): 1427 (WebKit::DevToolsRPC::DevToolsRPC): 1428 (WebKit::DevToolsRPC::~DevToolsRPC): 1429 (WebKit::DevToolsRPC::sendRpcMessage): 1430 * src/DevToolsRPCJS.h: Added. 1431 * src/ProfilerAgent.h: Added. 1432 * src/ProfilerAgentImpl.cpp: Added. 1433 (WebKit::ProfilerAgentImpl::getActiveProfilerModules): 1434 (WebKit::ProfilerAgentImpl::getLogLines): 1435 * src/ProfilerAgentImpl.h: Added. 1436 (WebKit::ProfilerAgentImpl::ProfilerAgentImpl): 1437 (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl): 1438 * src/ToolsAgent.h: Added. 1439 * src/WebDevToolsAgentImpl.cpp: Added. 1440 (WebKit::): 1441 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): 1442 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl): 1443 (WebKit::WebDevToolsAgentImpl::disposeUtilityContext): 1444 (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary): 1445 (WebKit::WebDevToolsAgentImpl::attach): 1446 (WebKit::WebDevToolsAgentImpl::detach): 1447 (WebKit::WebDevToolsAgentImpl::didNavigate): 1448 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad): 1449 (WebKit::WebDevToolsAgentImpl::didClearWindowObject): 1450 (WebKit::WebDevToolsAgentImpl::forceRepaint): 1451 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController): 1452 (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript): 1453 (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript): 1454 (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend): 1455 (WebKit::WebDevToolsAgentImpl::inspectElementAt): 1456 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): 1457 (WebKit::WebDevToolsAgentImpl::sendRpcMessage): 1458 (WebKit::WebDevToolsAgentImpl::compileUtilityScripts): 1459 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): 1460 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper): 1461 (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy): 1462 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 1463 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): 1464 (WebKit::WebDevToolsAgentImpl::jsDispatchToApu): 1465 (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf): 1466 (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged): 1467 (WebKit::WebDevToolsAgentImpl::inspectorController): 1468 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest): 1469 (WebKit::WebDevToolsAgentImpl::willSendRequest): 1470 (WebKit::WebDevToolsAgentImpl::didReceiveData): 1471 (WebKit::WebDevToolsAgentImpl::didReceiveResponse): 1472 (WebKit::WebDevToolsAgentImpl::didFinishLoading): 1473 (WebKit::WebDevToolsAgentImpl::didFailLoading): 1474 (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector): 1475 (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled): 1476 (WebKit::WebDevToolsAgent::create): 1477 (WebKit::WebDevToolsAgent::executeDebuggerCommand): 1478 (WebKit::WebDevToolsAgent::debuggerPauseScript): 1479 (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler): 1480 (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread): 1481 * src/WebDevToolsAgentImpl.h: Added. 1482 (WebKit::WebDevToolsAgentImpl::hostId): 1483 * src/WebDevToolsFrontendImpl.cpp: Added. 1484 (WebKit::ToV8String): 1485 (WebKit::WebDevToolsFrontend::create): 1486 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 1487 (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl): 1488 (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent): 1489 (WebKit::WebDevToolsFrontendImpl::executeScript): 1490 (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector): 1491 (WebKit::WebDevToolsFrontendImpl::sendRpcMessage): 1492 (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected): 1493 (WebKit::WebDevToolsFrontendImpl::contextMenuCleared): 1494 (WebKit::WebDevToolsFrontendImpl::jsLoaded): 1495 (WebKit::WebDevToolsFrontendImpl::jsPlatform): 1496 (WebKit::WebDevToolsFrontendImpl::jsPort): 1497 (WebKit::WebDevToolsFrontendImpl::jsCopyText): 1498 (WebKit::WebDevToolsFrontendImpl::jsActivateWindow): 1499 (WebKit::WebDevToolsFrontendImpl::jsCloseWindow): 1500 (WebKit::WebDevToolsFrontendImpl::jsDockWindow): 1501 (WebKit::WebDevToolsFrontendImpl::jsUndockWindow): 1502 (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL): 1503 (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels): 1504 (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand): 1505 (WebKit::WebDevToolsFrontendImpl::jsSetting): 1506 (WebKit::WebDevToolsFrontendImpl::jsSetSetting): 1507 (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript): 1508 (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading): 1509 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu): 1510 * src/WebDevToolsFrontendImpl.h: Added. 1511 (WebKit::WebDevToolsFrontendImpl::MenuProvider::create): 1512 (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider): 1513 (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect): 1514 (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu): 1515 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected): 1516 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared): 1517 (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider): 1518 1519 2010-02-01 Jeremy Orlow <jorlow (a] chromium.org> 1520 1521 Reviewed by Darin Fisher. 1522 1523 [Chromium] Add WebSecurityOrigin::createFromString factory 1524 https://bugs.webkit.org/show_bug.cgi?id=34460 1525 1526 * public/WebSecurityOrigin.h: 1527 * src/WebSecurityOrigin.cpp: 1528 (WebKit::WebSecurityOrigin::createFromString): 1529 1530 2010-02-02 Kent Tamura <tkent (a] chromium.org> 1531 1532 Reviewed by Darin Fisher. 1533 1534 [Chromium] Should not select a word on right-click. 1535 https://bugs.webkit.org/show_bug.cgi?id=33364 1536 1537 For non-Mac platforms, do not select a word around the caret when 1538 a context menu is opening. This behavior is not common in non-Mac 1539 platforms, and it prevents pasting with a context menu. 1540 1541 In order that the spell checker works without the selection, we 1542 introduce WebFrame::selectWordAroundCaret(). We can replace a word 1543 around the caret with selectWordAroundCaret() + replaceSelection(). 1544 1545 * public/WebFrame.h: Add pure selectWordAroundCaret() declaration. 1546 * src/ContextMenuClientImpl.cpp: 1547 (WebKit::selectMisspelledWord): Move word-selection code to 1548 WebFrameImpl::selectWordAroundPosition(), and clear the selection 1549 on non-Mac. 1550 * src/WebFrameImpl.cpp: 1551 (WebKit::WebFrameImpl::selectWordAroundPosition): 1552 (WebKit::WebFrameImpl::selectWordAroundCaret): 1553 * src/WebFrameImpl.h: Add selectWordAroundCaret() declaration. 1554 1555 2010-02-01 Shinichiro Hamaji <hamaji (a] chromium.org> 1556 1557 Unreviewed attempt to fix the broken build. 1558 1559 This was introduced in http://trac.webkit.org/changeset/54182 1560 1561 * src/WebViewImpl.cpp: 1562 (WebKit::WebViewImpl::performMediaPlayerAction): 1563 1564 2010-01-27 Matt Perry <mpcomplete (a] chromium.org> 1565 1566 Reviewed by Eric Seidel. 1567 1568 Add support for addUserScript to chromium port. 1569 1570 * public/WebView.h: 1571 * src/WebViewImpl.cpp: 1572 (WebKit::WebViewImpl::addUserScript): 1573 (WebKit::WebViewImpl::removeAllUserContent): 1574 * src/WebViewImpl.h: 1575 1576 2010-01-29 Philippe Normand <pnormand (a] igalia.com> 1577 1578 Reviewed by Eric Carlson. 1579 1580 [GTK] set playbin mute property depending on volume value 1581 https://bugs.webkit.org/show_bug.cgi?id=31586 1582 1583 New API in MediaPlayer for mute control 1584 1585 * public/WebMediaPlayerClient.h: 1586 * src/WebMediaPlayerClientImpl.cpp: 1587 (WebKit::WebMediaPlayerClientImpl::volumeChanged): 1588 (WebKit::WebMediaPlayerClientImpl::muteChanged): 1589 * src/WebMediaPlayerClientImpl.h: 1590 1591 2010-01-31 Kent Tamura <tkent (a] chromium.org> 1592 1593 Reviewed by Jeremy Orlow. 1594 1595 [Chromium] Fix a bug that a selected word is not recognized as a 1596 spell-check source. 1597 https://bugs.webkit.org/show_bug.cgi?id=33660 1598 1599 * src/ContextMenuClientImpl.cpp: 1600 (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check 1601 the return value of textBreakNext(). 1602 1603 2010-01-29 Jeremy Orlow <jorlow (a] chromium.org> 1604 1605 Reviewed by Eric Seidel. 1606 1607 [Chromium] Clean up WebStorageArea 1608 https://bugs.webkit.org/show_bug.cgi?id=34353 1609 1610 Get rid of legacy glue code and fix a typo. 1611 1612 * public/WebStorageArea.h: 1613 1614 2010-01-29 Jeremy Orlow <jorlow (a] chromium.org> 1615 1616 Reviewed by Dimitri Glazkov. 1617 1618 A first step towards the Indexed Database API 1619 https://bugs.webkit.org/show_bug.cgi?id=34342 1620 1621 Add runtime enable support for Indexed Database API. 1622 1623 * features.gypi: 1624 * public/WebRuntimeFeatures.h: 1625 * src/WebRuntimeFeatures.cpp: 1626 (WebKit::WebRuntimeFeatures::enableIndexedDatabase): 1627 (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled): 1628 1629 2010-01-29 Yury Semikhatsky <yurys (a] chromium.org> 1630 1631 Reviewed by Pavel Feldman. 1632 1633 Add API methods for loading inspector utility scripts. 1634 1635 https://bugs.webkit.org/show_bug.cgi?id=34326 1636 1637 * public/WebDevToolsAgentClient.h: 1638 (WebKit::WebDevToolsAgentClient::injectedScriptSource): 1639 (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource): 1640 1641 2010-01-29 Darin Fisher <darin (a] chromium.org> 1642 1643 Reviewed by Adam Barth. 1644 1645 Add FrameLoaderClient::allowImages method to allow the client to 1646 overrule image loading policy on a per frame basis. 1647 1648 https://bugs.webkit.org/show_bug.cgi?id=34225 1649 1650 * public/WebFrameClient.h: 1651 (WebKit::WebFrameClient::allowImages): 1652 * public/WebSettings.h: 1653 * src/FrameLoaderClientImpl.cpp: 1654 (WebKit::FrameLoaderClientImpl::allowImages): 1655 * src/FrameLoaderClientImpl.h: 1656 * src/WebSettingsImpl.cpp: 1657 (WebKit::WebSettingsImpl::setImagesEnabled): 1658 * src/WebSettingsImpl.h: 1659 1660 2010-01-28 Jeremy Orlow <jorlow (a] chromium.org> 1661 1662 Reviewed by Darin Fisher. 1663 1664 StorageNamespaceProxy::copy() should be a no-op 1665 https://bugs.webkit.org/show_bug.cgi?id=34298 1666 1667 The comment in the code should make clear why. 1668 1669 * public/WebViewClient.h: 1670 * src/StorageNamespaceProxy.cpp: 1671 (WebCore::StorageNamespaceProxy::copy): 1672 1673 2010-01-28 Michael Nordman <michaeln (a] google.com> 1674 1675 Reviewed by Alexey Proskuryakov. 1676 1677 ApplicationCache events should be deferred until after Document onload has fired. 1678 https://bugs.webkit.org/show_bug.cgi?id=29690 1679 1680 * src/ApplicationCacheHost.cpp: 1681 (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true. 1682 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event. 1683 (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag. 1684 1685 2010-01-27 Aaron Boodman <aa (a] chromium.org> 1686 1687 Reviewed by Darin Adler. 1688 1689 Send full URL and application id of requesting context to Chromium 1690 when checking notification permissions. 1691 1692 https://bugs.webkit.org/show_bug.cgi?id=34238 1693 1694 * public/WebDocument.h: 1695 * src/WebDocument.cpp: 1696 (WebKit::WebDocument::applicationID): 1697 Implement applicationID() method. 1698 1699 * public/WebNotificationPresenter.h: 1700 * src/NotificationPresenterImpl.cpp: 1701 (WebKit::NotificationPresenterImpl::checkPermission): 1702 * src/NotificationPresenterImpl.h: 1703 Send applicationID and full URL through to Chromium. 1704 1705 2010-01-27 Darin Fisher <darin (a] chromium.org> 1706 1707 Reviewed by Pavel Feldman. 1708 1709 Expose HistoryItem::documentSequenceNumber 1710 https://bugs.webkit.org/show_bug.cgi?id=34243 1711 1712 * public/WebHistoryItem.h: 1713 * src/WebHistoryItem.cpp: 1714 (WebKit::WebHistoryItem::documentSequenceNumber): 1715 (WebKit::WebHistoryItem::setDocumentSequenceNumber): 1716 1717 2010-01-26 Darin Fisher <darin (a] chromium.org> 1718 1719 Reviewed by David Levin. 1720 1721 Add methods to support running a nested modal loop outside of WebKit. 1722 https://bugs.webkit.org/show_bug.cgi?id=34199 1723 1724 * public/WebView.h: 1725 * src/WebViewImpl.cpp: 1726 (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer 1727 (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer 1728 1729 2010-01-27 Darin Fisher <darin (a] chromium.org> 1730 1731 Reviewed by Dimitri Glazkov. 1732 1733 Adding missing WebMutationEvent.cpp file to fix build bustage. 1734 https://bugs.webkit.org/show_bug.cgi?id=33882 1735 1736 * public/WebMutationEvent.h: Remove unnecessary constructor. 1737 * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h. 1738 * src/WebMutationEvent.cpp: Added. 1739 1740 2010-01-27 Jay Campan <jcampan (a] google.com> 1741 1742 Reviewed by Darin Fisher. 1743 1744 Adding EventListeners to the chromium API. 1745 1746 https://bugs.webkit.org/show_bug.cgi?id=33882 1747 1748 * WebKit.gyp: 1749 * public/WebEvent.h: Added. 1750 * public/WebEventListener.h: Added. 1751 * public/WebMutationEvent.h: Added. 1752 * public/WebNode.h: 1753 * public/WebString.h: 1754 (WebKit::operator==): 1755 (WebKit::operator!=): 1756 * src/EventListenerWrapper.cpp: Added. 1757 * src/EventListenerWrapper.h: Added. 1758 * src/WebEvent.cpp: Added. 1759 * src/WebEventListener.cpp: Added. 1760 * src/WebEventListenerPrivate.cpp: Added. 1761 * src/WebEventListenerPrivate.h: Added. 1762 * src/WebNode.cpp: 1763 (WebKit::WebNode::addEventListener): 1764 (WebKit::WebNode::removeEventListener): 1765 * src/WebString.cpp: 1766 (WebKit::WebString::equals): 1767 1768 2010-01-26 Yaar Schnitman <yaar (a] chromium.org> 1769 1770 Reviewed by Darin Fisher. 1771 1772 Add KeyboardTest to WebKit API tests 1773 https://bugs.webkit.org/show_bug.cgi?id=34178 1774 1775 * WebKit.gyp: 1776 * tests/KeyboardTest.cpp: Added. 1777 1778 2010-01-22 Jeremy Orlow <jorlow (a] chromium.org> 1779 1780 Reviewed by Darin Adler. 1781 1782 Make storage events match the spec. 1783 https://bugs.webkit.org/show_bug.cgi?id=30546 1784 1785 Update the storageEvent algorithm to match the change in WebCore. 1786 1787 * src/StorageAreaProxy.cpp: 1788 (WebCore::StorageAreaProxy::storageEvent): 1789 1790 2010-01-22 Elliot Glaysher <erg (a] chromium.org> 1791 1792 Reviewed by David Levin. 1793 1794 Chromium: theme selection colors to match gtk theme 1795 Add functions to RenderThemeChromiumLinux to change the selection color 1796 according to the current GTK+ theme. 1797 1798 Since the change is to the Chromium WebKit API layer, testing is done 1799 in Chromium's test shell (see Chromium side of this patch: 1800 http://codereview.chromium.org/554004) 1801 1802 https://bugs.webkit.org/show_bug.cgi?id=33921 1803 1804 * public/WebView.h: Adds interface to change the selection colors 1805 * src/WebViewImpl.cpp: 1806 (WebKit::WebViewImpl::setSelectionColors): Implements new interface. 1807 * src/WebViewImpl.h: 1808 1809 2010-01-22 Steve VanDeBogart <vandebo (a] chromium.org> 1810 1811 Reviewed by David Levin. 1812 1813 Middle clicking the main scroll bars should not trigger a paste event 1814 in Linux chromium. 1815 https://bugs.webkit.org/show_bug.cgi?id=33062 1816 1817 * src/WebViewImpl.cpp: 1818 (WebKit::WebViewImpl::mouseUp): 1819 1820 2010-01-22 Albert J. Wong <ajwong (a] chromium.org> 1821 1822 Not reviewed. backout. 1823 1824 Backout r53705. 1825 Causes ui_tests to timeout, and browser_tests to fail with 1826 TestConnectToBadPort and WindowOpenInvalidExtension. 1827 1828 * src/FrameLoaderClientImpl.cpp: 1829 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 1830 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): 1831 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): 1832 * src/WebViewImpl.cpp: 1833 (WebKit::WebViewImpl::WebViewImpl): 1834 * src/WebViewImpl.h: 1835 1836 2010-01-22 Peter Kasting <pkasting (a] google.com> 1837 1838 Not reviewed, backout. 1839 1840 Back out r52673, which caused several regressions. 1841 https://bugs.webkit.org/show_bug.cgi?id=32533 1842 1843 * src/AutocompletePopupMenuClient.cpp: 1844 (WebKit::AutocompletePopupMenuClient::initialize): 1845 (WebKit::AutocompletePopupMenuClient::popupDidHide): 1846 (WebKit::AutocompletePopupMenuClient::setTextFromItem): 1847 * src/AutocompletePopupMenuClient.h: 1848 1849 2010-01-21 Jeremy Orlow <jorlow (a] chromium.org> 1850 1851 Reviewed by Darin Fisher. 1852 1853 The Chromium WebKit API needs to expose storage event related data 1854 https://bugs.webkit.org/show_bug.cgi?id=33985 1855 1856 setItem and removeItem on WebStorageArea need to expose what the previous 1857 value was for the key being modified. Clear needs to return whether it 1858 actually cleared anything. 1859 1860 * public/WebStorageArea.h: 1861 (WebKit::WebStorageArea::setItem): 1862 (WebKit::WebStorageArea::removeItem): 1863 (WebKit::WebStorageArea::clear): 1864 * src/StorageAreaProxy.cpp: 1865 (WebCore::StorageAreaProxy::StorageAreaProxy): 1866 (WebCore::StorageAreaProxy::setItem): 1867 (WebCore::StorageAreaProxy::removeItem): 1868 (WebCore::StorageAreaProxy::clear): 1869 (WebCore::StorageAreaProxy::storageEvent): 1870 * src/StorageAreaProxy.h: 1871 * src/StorageNamespaceProxy.cpp: 1872 (WebCore::StorageNamespace::localStorageNamespace): 1873 (WebCore::StorageNamespace::sessionStorageNamespace): 1874 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): 1875 (WebCore::StorageNamespaceProxy::copy): 1876 (WebCore::StorageNamespaceProxy::storageArea): 1877 * src/StorageNamespaceProxy.h: 1878 * src/WebStorageAreaImpl.cpp: 1879 (WebKit::WebStorageAreaImpl::setItem): 1880 (WebKit::WebStorageAreaImpl::removeItem): 1881 (WebKit::WebStorageAreaImpl::clear): 1882 * src/WebStorageAreaImpl.h: 1883 1884 2010-01-21 Darin Fisher <darin (a] chromium.org> 1885 1886 Reviewed by David Levin. 1887 1888 [Chromium] spurious WebViewClient::didStopLoading if changing 1889 location.hash while a subframe is still loading 1890 1891 https://bugs.webkit.org/show_bug.cgi?id=33884 1892 1893 This is a refinement of http://trac.webkit.org/changeset/51548 1894 1895 * src/FrameLoaderClientImpl.cpp: 1896 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 1897 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): 1898 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): 1899 * src/WebViewImpl.cpp: 1900 (WebKit::WebViewImpl::WebViewImpl): 1901 (WebKit::WebViewImpl::didStartLoading): 1902 (WebKit::WebViewImpl::didStopLoading): 1903 * src/WebViewImpl.h: 1904 1905 2010-01-21 Adam Barth <abarth (a] webkit.org> 1906 1907 Unreviewed. Added a blank line requested by the great an powerful 1908 fishd. 1909 1910 * public/WebFrameClient.h: 1911 1912 2010-01-21 Adam Barth <abarth (a] webkit.org> 1913 1914 Reviewed by Eric Seidel. 1915 1916 [chromium] Add allowPlugins callback to allow per-site enabling of plugins 1917 https://bugs.webkit.org/show_bug.cgi?id=33974 1918 1919 Forward the new allowPlugins callback to WebKitClient so that it can 1920 make the policy decision. 1921 1922 * public/WebFrameClient.h: 1923 (WebKit::WebFrameClient::allowPlugins): 1924 * src/FrameLoaderClientImpl.cpp: 1925 (WebKit::FrameLoaderClientImpl::allowJavaScript): 1926 (WebKit::FrameLoaderClientImpl::allowPlugins): 1927 * src/FrameLoaderClientImpl.h: 1928 1929 2010-01-21 James Robinson <jamesr (a] chromium.org> 1930 1931 Reviewed by Darin Fisher. 1932 1933 Bumps the refcount when WebNode::toElement/toConstElement are called. 1934 https://bugs.webkit.org/show_bug.cgi?id=33977 1935 1936 Ensures that when a wrapper around a WebNode is create via the 1937 toElement() or toConstElement() calls that the refcount on the WebNode 1938 is increased, by forcing a call to WebNode::assign(). This is needed 1939 so that the following code: 1940 { 1941 WebNode n = someNode(); 1942 WebElement e = n.toElement<WebElement>(); 1943 } 1944 does not decrease the overall refcount on the Node that someNode() 1945 returns. 1946 1947 This caused crashes in the 'Save page as..' feature. 1948 1949 * public/WebNode.h: 1950 (WebKit::WebNode::toElement): 1951 (WebKit::WebNode::toConstElement): 1952 1953 2010-01-21 Michael Nordman <michaeln (a] google.com> 1954 1955 Reviewed by Darin Fisher. 1956 1957 Adds WebKit::WebDataSource::applicationCacheHost() to the API. 1958 https://bugs.webkit.org/show_bug.cgi?id=33880 1959 1960 * WebKit.gyp: 1961 * public/WebDataSource.h: 1962 * src/ApplicationCacheHost.cpp: 1963 * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp. 1964 (WebCore::ApplicationCacheHostInternal::notifyEventListener): 1965 (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost): 1966 * src/WebDataSourceImpl.cpp: 1967 (WebKit::WebDataSourceImpl::applicationCacheHost): 1968 * src/WebDataSourceImpl.h: 1969 1970 2010-01-21 Eric Uhrhane <ericu (a] chromium.org> 1971 1972 Reviewed by Dmitry Titov. 1973 1974 Add changes missing from r53595, without which Chromium has no database. 1975 1976 https://bugs.webkit.org/show_bug.cgi?id=33966 1977 1978 No new tests - fixes database layout tests in Chromium. 1979 1980 * src/WebRuntimeFeatures.cpp: 1981 (WebKit::WebRuntimeFeatures::enableDatabase): 1982 (WebKit::WebRuntimeFeatures::isDatabaseEnabled): 1983 1984 2010-01-21 Kenneth Russell <kbr (a] google.com> 1985 1986 Reviewed by Oliver Hunt. 1987 1988 [Chromium] Implement texSubImage2D taking WebGLArray 1989 https://bugs.webkit.org/show_bug.cgi?id=33932 1990 1991 * src/GraphicsContext3D.cpp: 1992 (WebCore::GraphicsContext3D::texSubImage2D): 1993 1994 2010-01-20 Vitaly Repeshko <vitalyr (a] chromium.org> 1995 1996 Reviewed by Pavel Feldman. 1997 1998 [V8] Support SerializedScriptValue. 1999 https://bugs.webkit.org/show_bug.cgi?id=32920 2000 http://crbug.com/30620 2001 2002 Updated uses of SerializedScriptValue: 2003 * src/PlatformMessagePortChannel.cpp: 2004 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 2005 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 2006 * src/WebWorkerBase.cpp: 2007 (WebKit::WebWorkerBase::postMessageToWorkerObject): 2008 * src/WebWorkerClientImpl.cpp: 2009 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 2010 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 2011 * src/WebWorkerImpl.cpp: 2012 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 2013 2014 2010-01-20 Shinichiro Hamaji <hamaji (a] chromium.org> 2015 2016 Reviewed by Darin Fisher. 2017 2018 [Chromium] computePageRectsForFrame seems to be unnecessary 2019 https://bugs.webkit.org/show_bug.cgi?id=33881 2020 2021 * src/WebFrameImpl.cpp: Stop including FrameChromium.h 2022 2023 2010-01-19 Jon Honeycutt <jhoneycutt (a] apple.com> 2024 2025 Chromium build fix. 2026 2027 * public/WebAccessibilityRole.h: 2028 (WebKit::): 2029 Correct enum names. 2030 2031 * src/LocalizedStrings.cpp: 2032 (WebCore::AXMenuListPopupActionVerb): 2033 Stubbed. 2034 (WebCore::AXMenuListActionVerb): 2035 Stubbed. 2036 2037 2010-01-19 Jon Honeycutt <jhoneycutt (a] apple.com> 2038 2039 Chromium build fix. 2040 2041 * public/WebAccessibilityRole.h: 2042 (WebKit::): 2043 2044 * src/AssertMatchingEnums.cpp: 2045 2046 2010-01-18 Jonathan Dixon <joth (a] chromium.org> 2047 2048 Reviewed by Adam Barth. 2049 2050 Add support for enabling navigator.geolocation at runtime in the V8 bindings. 2051 Adds the [EnabledAtRuntime] modifier to the navigator IDL. 2052 https://bugs.webkit.org/show_bug.cgi?id=33467 2053 2054 * public/WebRuntimeFeatures.h: 2055 * src/WebRuntimeFeatures.cpp: 2056 (WebKit::WebRuntimeFeatures::enableGeolocation): 2057 (WebKit::WebRuntimeFeatures::isGeolocationEnabled): 2058 2059 2010-01-17 Kent Tamura <tkent (a] chromium.org> 2060 2061 Reviewed by Shinichiro Hamaji. 2062 2063 [Chromium] Remove an old runFileChooser() method. 2064 https://bugs.webkit.org/show_bug.cgi?id=33778 2065 2066 Chromium code switched to new runFileChooser() introduced by 2067 r53269. The old one is not needed anymore. 2068 2069 * public/WebViewClient.h: 2070 * src/ChromeClientImpl.cpp: 2071 (WebKit::ChromeClientImpl::runOpenPanel): 2072 2073 2010-01-15 Eric Seidel <eric (a] webkit.org> 2074 2075 No review, rolling out r53344. 2076 http://trac.webkit.org/changeset/53344 2077 https://bugs.webkit.org/show_bug.cgi?id=32920 2078 2079 Broke the Chromium Mac builder. 2080 2081 * src/PlatformMessagePortChannel.cpp: 2082 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 2083 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 2084 * src/WebWorkerBase.cpp: 2085 (WebKit::WebWorkerBase::postMessageToWorkerObject): 2086 * src/WebWorkerClientImpl.cpp: 2087 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 2088 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 2089 * src/WebWorkerImpl.cpp: 2090 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 2091 2092 2010-01-15 Vitaly Repeshko <vitalyr (a] chromium.org> 2093 2094 Reviewed by David Levin. 2095 2096 [V8] Support SerializedScriptValue. 2097 https://bugs.webkit.org/show_bug.cgi?id=32920 2098 http://crbug.com/30620 2099 2100 Updated uses of SerializedScriptValue: 2101 * src/PlatformMessagePortChannel.cpp: 2102 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 2103 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 2104 * src/WebWorkerBase.cpp: 2105 (WebKit::WebWorkerBase::postMessageToWorkerObject): 2106 * src/WebWorkerClientImpl.cpp: 2107 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 2108 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 2109 * src/WebWorkerImpl.cpp: 2110 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 2111 2112 2010-01-14 Jeremy Orlow <jorlow (a] chromium.org> 2113 2114 Reviewed by Oliver Hunt. 2115 2116 [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy 2117 https://bugs.webkit.org/show_bug.cgi?id=33704 2118 2119 * src/StorageNamespaceProxy.cpp: 2120 (WebCore::StorageNamespace::localStorageNamespace): 2121 (WebCore::StorageNamespace::sessionStorageNamespace): 2122 2123 2010-01-14 Marcus Bulach <bulach (a] chromium.org> 2124 2125 Reviewed by Dimitri Glazkov. 2126 2127 Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier. 2128 https://bugs.webkit.org/show_bug.cgi?id=33648 2129 2130 * public/WebSecurityOrigin.h: 2131 * src/WebSecurityOrigin.cpp: 2132 (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier): 2133 2134 2010-01-14 Brian Weinstein <bweinstein (a] apple.com> 2135 2136 Reviewed by Adam Roben. 2137 2138 Drag and Drop source/destination code needs cleanup. 2139 <https://bugs.webkit.org/show_bug.cgi?id=33691>. 2140 2141 Update to new way of calling sourceOperation. 2142 2143 * src/DragClientImpl.cpp: 2144 (WebKit::DragClientImpl::startDrag): 2145 2146 2010-01-14 Nate Chapin <japhet (a] chromium.org> 2147 2148 Reviewed by Dimitri Glazkov. 2149 2150 Remove references to V8DOMWrapper::convertToNative*(). 2151 2152 https://bugs.webkit.org/show_bug.cgi?id=33677 2153 2154 * src/WebBindings.cpp: 2155 (WebKit::getDragDataImpl): 2156 (WebKit::getRangeImpl): 2157 2158 2010-01-14 Kent Tamura <tkent (a] chromium.org> 2159 2160 Reviewed by Darin Fisher. 2161 2162 Introduce WebFileChooserParams to convey parameters for 2163 WebViewClient::runFileChooser(), and add new parameters to it. 2164 https://bugs.webkit.org/show_bug.cgi?id=32473 2165 2166 The new parameters are 2167 - selected file names 2168 - "accept" attribute value 2169 2170 * WebKit.gyp: Add WebFileChooserParams.h 2171 * public/WebFileChooserParams.h: Added. 2172 * public/WebViewClient.h: 2173 (WebKit::WebViewClient::runFileChooser): 2174 Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated. 2175 * src/ChromeClientImpl.cpp: 2176 (WebKit::ChromeClientImpl::runOpenPanel): 2177 Call the new runFileChooser() first, then call the old 2178 runFileChooser() if the new one failed. 2179 2180 2010-01-13 Kenneth Russell <kbr (a] google.com> 2181 2182 Reviewed by Oliver Hunt. 2183 2184 Need to implement WebGLContextAttributes 2185 https://bugs.webkit.org/show_bug.cgi?id=31169 2186 2187 Added the WebGLContextAttributes class and custom JavaScript 2188 bindings to accept a native object as the second argument to 2189 getContext("experimental-webgl") per the WebGL specification. 2190 Added GraphicsContext3D::Attributes struct to isolate DOM and 2191 graphics layers. Added getContextAttributes() to 2192 WebGLRenderingContext. Added test case ensuring that context 2193 attributes can be passed down and returned. Tested in Safari and 2194 Chromium. The attributes will be hooked up to the creation of the 2195 OpenGL context in bug 33416. 2196 2197 * src/GraphicsContext3D.cpp: 2198 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 2199 (WebCore::GraphicsContext3DInternal::getContextAttributes): 2200 (WebCore::GraphicsContext3D::create): 2201 (WebCore::GraphicsContext3D::GraphicsContext3D): 2202 (WebCore::GraphicsContext3D::getContextAttributes): 2203 2204 2010-01-13 Jon Honeycutt <jhoneycutt (a] apple.com> 2205 2206 MSAA: selected, selectable, extended selectable, and multiple 2207 selectable states are not reported 2208 2209 https://bugs.webkit.org/show_bug.cgi?id=33574 2210 <rdar://problem/7536826> 2211 2212 Reviewed by Darin Adler. 2213 2214 * public/WebAccessibilityObject.h: 2215 Update for WebCore::AccessibilityObject function rename. 2216 2217 * src/WebAccessibilityObject.cpp: 2218 (WebKit::WebAccessibilityObject::isMultiSelectable): 2219 Ditto. 2220 2221 2010-01-13 Jeremy Orlow <jorlow (a] chromium.org> 2222 2223 Reviewed by Darin Fisher. 2224 2225 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient 2226 https://bugs.webkit.org/show_bug.cgi?id=33492 2227 2228 * public/WebKitClient.h: 2229 * public/WebViewClient.h: 2230 (WebKit::WebViewClient::createSessionStorageNamespace): 2231 * src/StorageNamespaceProxy.cpp: 2232 (WebCore::StorageNamespace::sessionStorageNamespace): 2233 2234 2010-01-13 Jeremy Orlow <jorlow (a] chromium.org> 2235 2236 No reviewer. More or less a build fix. My 53180 broke some 2237 stuff on the Chromium port so I'm reverting. 2238 2239 * public/WebKitClient.h: 2240 * public/WebViewClient.h: 2241 * src/StorageNamespaceProxy.cpp: 2242 (WebCore::StorageNamespace::sessionStorageNamespace): 2243 2244 2010-01-11 Jeremy Orlow <jorlow (a] chromium.org> 2245 2246 Reviewed by Darin Fisher. 2247 2248 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient 2249 https://bugs.webkit.org/show_bug.cgi?id=33492 2250 2251 * public/WebKitClient.h: 2252 * public/WebViewClient.h: 2253 (WebKit::WebViewClient::getSessionStorageNamespace): 2254 * src/StorageNamespaceProxy.cpp: 2255 (WebCore::StorageNamespace::sessionStorageNamespace): 2256 2257 2010-01-11 Darin Fisher <darin (a] chromium.org> 2258 2259 Reviewed by Dimitri Glazkov. 2260 2261 [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once 2262 https://bugs.webkit.org/show_bug.cgi?id=33504 2263 2264 * WebKit.gyp: 2265 * tests/KURLTest.cpp: 2266 (ComponentCase::TEST): 2267 * tests/RunAllTests.cpp: Added. 2268 (main): 2269 * tests/WebKitTest.h: Removed. 2270 2271 2010-01-09 Adam Barth <abarth (a] webkit.org> 2272 2273 Reviewed by Darin Adler. 2274 2275 ScriptController::isEnabled needs to be renamed 2276 https://bugs.webkit.org/show_bug.cgi?id=32063 2277 2278 Rename ScriptController::isEnabled to 2279 ScriptController::canExecuteScripts. 2280 2281 * src/WebFrameImpl.cpp: 2282 (WebKit::WebFrameImpl::bindToWindowObject): 2283 2284 2010-01-08 Daniel Bates <dbates (a] webkit.org> 2285 2286 Reviewed by Adam Barth. 2287 2288 https://bugs.webkit.org/show_bug.cgi?id=33417 2289 2290 Cleans up style errors exposed by the patch for bug #33198. 2291 2292 No functionality was changed. So, no new tests. 2293 2294 * src/GraphicsContext3D.cpp: 2295 2296 2010-01-08 Darin Fisher <darin (a] chromium.org> 2297 2298 Reviewed by Dimitri Glazkov. 2299 2300 [Chromium] Upstream webkit unit tests from the chromium repository 2301 https://bugs.webkit.org/show_bug.cgi?id=33351 2302 2303 This adds one such test (for KURL) and sets up the test framework. 2304 2305 Switch WebKit to build a static library on all platforms. Add a 2306 webkit_unit_tests executable target that runs the unit tests and also 2307 ensures that we don't have any missing symbols (a function that WebKit 2308 as a shared library used to serve). 2309 2310 Changes chromium_src_dir to ../../WebKit/chromium to match how 2311 WebCore.gyp defines that variable. 2312 2313 * WebKit.gyp: 2314 * public/WebKitClient.h: 2315 (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon. 2316 (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon. 2317 (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon. 2318 (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon. 2319 (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon. 2320 (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon. 2321 * tests: Added. 2322 * tests/KURLTest.cpp: Added. 2323 * tests/WebKitTest.h: Added. 2324 2325 2010-01-07 Mike Belshe <mbelshe (a] chromium.org> 2326 2327 Reviewed by Darin Adler. 2328 2329 Fix Spdy casing to match style guide. 2330 2331 https://bugs.webkit.org/show_bug.cgi?id=33326 2332 2333 * public/WebURLResponse.h: 2334 * src/WebURLResponse.cpp: 2335 (WebKit::WebURLResponse::wasFetchedViaSPDY): 2336 (WebKit::WebURLResponse::setWasFetchedViaSPDY): 2337 2338 2010-01-07 Daniel Bates <dbates (a] rim.com> 2339 2340 Reviewed by Eric Seidel. 2341 2342 https://bugs.webkit.org/show_bug.cgi?id=32987 2343 2344 Added ENABLE_XHTMLMP flag. Disabled by default. 2345 2346 * features.gypi: 2347 2348 2010-01-07 Adam Barth <abarth (a] webkit.org> 2349 2350 No review, rolling out r52847. 2351 http://trac.webkit.org/changeset/52847 2352 https://bugs.webkit.org/show_bug.cgi?id=33232 2353 2354 Might have caused a perf regression. 2355 2356 * src/FrameLoaderClientImpl.cpp: 2357 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2358 2359 2010-01-06 Mike Belshe <mike (a] belshe.com> 2360 2361 Add a flag to the ResourceResponse for tracking if a request was 2362 fetched via SPDY. This is plumbed through so that we can inform 2363 a webpage via JavaScript if it was fecthed via the experimental 2364 SPDY protocol. 2365 2366 https://bugs.webkit.org/show_bug.cgi?id=33186 2367 2368 * public/WebURLResponse.h: 2369 * src/WebURLResponse.cpp: 2370 (WebKit::WebURLResponse::wasFetchedViaSpdy): 2371 (WebKit::WebURLResponse::setWasFetchedViaSpdy): 2372 2373 2010-01-06 Darin Fisher <darin (a] chromium.org> 2374 2375 Fix release build bustage. 2376 2377 * src/WebKit.cpp: Need to include Logging.h 2378 2379 2010-01-05 Darin Fisher <darin (a] chromium.org> 2380 2381 Reviewed by Adam Barth. 2382 2383 [Chromium] Expose more APIs to eliminate WebCore usage in Chromium. 2384 https://bugs.webkit.org/show_bug.cgi?id=33249 2385 2386 * WebKit.gyp: 2387 * public/WebFrame.h: 2388 * public/WebGlyphCache.h: Added. 2389 * public/WebKit.h: 2390 * src/WebFrameImpl.cpp: 2391 (WebKit::WebFrame::instanceCount): 2392 (WebKit::WebFrameImpl::WebFrameImpl): 2393 (WebKit::WebFrameImpl::~WebFrameImpl): 2394 * src/WebFrameImpl.h: 2395 * src/WebGlyphCache.cpp: Added. 2396 (WebKit::WebGlyphCache::pageCount): 2397 * src/WebKit.cpp: 2398 (WebKit::enableLogChannel): 2399 2400 2010-01-05 Adam Barth <abarth (a] webkit.org> 2401 2402 Reviewed by Dimitri Glazkov. 2403 2404 [v8] Move V8DOMWindowShell to ScriptController 2405 https://bugs.webkit.org/show_bug.cgi?id=33232 2406 2407 Update FrameLoaderClientImpl.cpp to call clearForClose on 2408 ScriptController instead of on V8Proxy. 2409 2410 * src/FrameLoaderClientImpl.cpp: 2411 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2412 2413 2010-01-05 Rachel Petterson <rlp (a] google.com> 2414 2415 Reviewed by Adam Barth. 2416 2417 Matches the texImage2D and texSubImage2D functions to their 2418 declarations. Elminates uncessary versions of those functions. 2419 https://bugs.webkit.org/show_bug.cgi?id=31562 2420 Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493 2421 2422 * src/GraphicsContext3D.cpp: 2423 (WebCore::GraphicsContext3D::texImage2D): 2424 (WebCore::GraphicsContext3D::texSubImage2D): 2425 2426 2010-01-04 Maciej Stachowiak <mjs (a] apple.com> 2427 2428 Reviewed by Darin Fisher. 2429 2430 Reorganize, document and rename OS() platform macros. 2431 https://bugs.webkit.org/show_bug.cgi?id=33198 2432 2433 Adapt to name changes. 2434 2435 * src/ChromiumBridge.cpp: 2436 * src/EditorClientImpl.cpp: 2437 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): 2438 (WebKit::): 2439 (WebKit::EditorClientImpl::handleEditingKeyboardEvent): 2440 * src/FrameLoaderClientImpl.cpp: 2441 (WebKit::FrameLoaderClientImpl::createPlugin): 2442 * src/GraphicsContext3D.cpp: 2443 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 2444 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 2445 (WebCore::GraphicsContext3DInternal::makeContextCurrent): 2446 * src/WebFrameImpl.cpp: 2447 (WebKit::WebFrameImpl::selectionAsText): 2448 (WebKit::WebFrameImpl::printPage): 2449 * src/WebPluginContainerImpl.cpp: 2450 (WebKit::WebPluginContainerImpl::handleMouseEvent): 2451 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 2452 * src/WebViewImpl.cpp: 2453 (WebKit::WebViewImpl::mouseDown): 2454 (WebKit::WebViewImpl::mouseContextMenu): 2455 (WebKit::WebViewImpl::mouseUp): 2456 (WebKit::WebViewImpl::keyEvent): 2457 (WebKit::WebViewImpl::sendContextMenuEvent): 2458 (WebKit::WebViewImpl::setScrollbarColors): 2459 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent): 2460 2461 2010-01-04 Darin Fisher <darin (a] chromium.org> 2462 2463 Reviewed by Eric Seidel. 2464 2465 [Chromium] Expose more DOM methods to support LayoutTests 2466 https://bugs.webkit.org/show_bug.cgi?id=33185 2467 2468 * public/WebDocument.h: Adds documentElement method. 2469 * public/WebElement.h: Adds innerText method. 2470 * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById 2471 methods, and fixes a few whitespace issues. 2472 * src/WebDocument.cpp: 2473 (WebKit::WebDocument::documentElement): 2474 * src/WebElement.cpp: 2475 (WebKit::WebElement::innerText): 2476 * src/WebFrameImpl.cpp: 2477 (WebKit::WebFrameImpl::clearName): 2478 (WebKit::WebFrameImpl::renderTreeAsText): 2479 (WebKit::WebFrameImpl::counterValueForElementById): 2480 * src/WebFrameImpl.h: 2481 2482 2010-01-04 Darin Fisher <darin (a] chromium.org> 2483 2484 Fix Chromium build bustage. 2485 2486 * src/WebAnimationControllerImpl.h: 2487 2488 2010-01-04 Yaar Schnitman <yaar (a] chromium.org> 2489 2490 Reviewed by Darin Fisher. 2491 2492 Adding WebAnimationController to chromium's WebKit API. 2493 2494 https://bugs.webkit.org/show_bug.cgi?id=32870 2495 2496 * WebKit.gyp: 2497 * public/WebAnimationController.h: Added. 2498 (WebKit::WebAnimationController::~WebAnimationController): 2499 * public/WebFrame.h: 2500 * src/WebAnimationControllerImpl.cpp: Added. 2501 (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl): 2502 (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime): 2503 (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime): 2504 (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations): 2505 * src/WebAnimationControllerImpl.h: Added. 2506 (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl): 2507 * src/WebFrameImpl.cpp: 2508 (WebKit::WebFrameImpl::animationController): 2509 (WebKit::WebFrameImpl::WebFrameImpl): 2510 * src/WebFrameImpl.h: 2511 2512 2010-01-04 Jay Campan <jcampan (a] google.com> 2513 2514 Reviewed by Darin Fisher 2515 2516 Adding more DOM API methods. They are needed for the upcoming 2517 translate feature. 2518 2519 * public/WebElement.h: 2520 * public/WebNode.h: 2521 * src/WebElement.cpp: 2522 (WebKit::WebElement::tagName): 2523 (WebKit::WebElement::setAttribute): 2524 * src/WebNode.cpp: 2525 (WebKit::WebNode::setNodeValue): 2526 2527 2010-01-03 Adam Barth <abarth (a] webkit.org> 2528 2529 Reviewed by Eric Seidel. 2530 2531 [Chromium] Implement CookieJarChromium::cookiesEnabled 2532 https://bugs.webkit.org/show_bug.cgi?id=33123 2533 2534 Call out to the webKitClient() to see if cookies are enabled. Also 2535 remove some straggling references to policyURL! 2536 2537 * public/WebKitClient.h: 2538 (WebKit::WebKitClient::setCookies): 2539 (WebKit::WebKitClient::cookies): 2540 (WebKit::WebKitClient::rawCookies): 2541 (WebKit::WebKitClient::cookiesEnabled): 2542 * src/ChromiumBridge.cpp: 2543 (WebCore::ChromiumBridge::cookiesEnabled): 2544 2545 2010-01-03 Adam Barth <abarth (a] webkit.org> 2546 2547 Reviewed by Eric Seidel. 2548 2549 [Chromium] Remove evaluateInNewContext (it's useless) 2550 https://bugs.webkit.org/show_bug.cgi?id=33068 2551 2552 This function has no clients and makes life complicated. Isolated 2553 worlds won out over NewContext and there's not really any going back 2554 now. 2555 2556 * public/WebFrame.h: 2557 * src/FrameLoaderClientImpl.h: 2558 * src/WebFrameImpl.cpp: 2559 * src/WebFrameImpl.h: 2560 2561 2009-12-30 Darin Fisher <darin (a] chromium.org> 2562 2563 Reviewed by David Levin. 2564 2565 [Chromium] Delete ResourceRequest::securityInfo 2566 https://bugs.webkit.org/show_bug.cgi?id=26847 2567 2568 * src/WebWorkerBase.cpp: 2569 (WebKit::WebWorkerBase::initializeLoader): 2570 2571 2009-12-30 Albert J. Wong <ajwong (a] chromium.org> 2572 2573 Not reviewed. Trivial Chromium build fix. 2574 2575 Add static_cast<unsigned>() to fix signed/unsigned comparison warning. 2576 2577 * src/AutocompletePopupMenuClient.cpp: 2578 (WebKit::AutocompletePopupMenuClient::selectionChanged): 2579 2580 2009-12-30 Zelidrag Hornung <zelidrag (a] chromium.org> 2581 2582 Reviewed by Dimitri Glazkov. 2583 2584 Autocomplete in Chromium now offers suggestions within the input element as a user 2585 a) types text that produces some autocomplete suggestions, and 2586 b) scrolls through suggested values in the menu 2587 The suggested value is rendered but not exposed through JS unti the 2588 user makes the final selection. 2589 2590 No new tests since this new functionality (autocomplete suggestions) 2591 is intentionally hidden from everything else than renderer. 2592 2593 * src/AutocompletePopupMenuClient.cpp: 2594 (WebKit::AutocompletePopupMenuClient::initialize): 2595 (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue): 2596 (WebKit::AutocompletePopupMenuClient::selectionChanged): 2597 (WebKit::AutocompletePopupMenuClient::popupDidHide): 2598 (WebKit::AutocompletePopupMenuClient::setTextFromItem): 2599 (WebKit::AutocompletePopupMenuClient::resetLastFieldValue): 2600 * src/AutocompletePopupMenuClient.h: 2601 2602 2603 2009-12-28 Kinuko Yasuda <kinuko (a] chromium.org> 2604 2605 Reviewed by Maciej Stachowiak. 2606 2607 Fixed isKeypadEvent behavior for chromium/Mac to correctly report 2608 keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events. 2609 https://bugs.webkit.org/show_bug.cgi?id=28247 2610 2611 Test: fast/events/keydown-numpad-keys.html 2612 2613 * src/mac/WebInputEventFactory.mm: 2614 (WebKit::isKeypadEvent): 2615 2616 2009-12-22 Kenneth Russell <kbr (a] google.com> 2617 2618 Reviewed by Eric Seidel. 2619 2620 [Chromium] Garbage in transparent regions of images uploaded as textures 2621 https://bugs.webkit.org/show_bug.cgi?id=32888 2622 2623 Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree) 2624 2625 * src/GraphicsContext3D.cpp: 2626 (WebCore::GraphicsContext3D::texImage2D): 2627 2628 2009-12-22 Adam Langley <agl (a] google.com> 2629 2630 Build fix: not reviewed. 2631 2632 r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the 2633 Chromium build on Windows and Mac due to a misplaced #endif. The 2634 buildbot didn't find the problem because it runs on Linux. 2635 2636 Have verified this patch with the author of the above. 2637 2638 * src/GraphicsContext3D.cpp: 2639 2640 2009-12-22 Kenneth Russell <kbr (a] google.com> 2641 2642 Reviewed by Eric Seidel. 2643 2644 [Chromium] WebGL crashes intermittently on Linux 2645 https://bugs.webkit.org/show_bug.cgi?id=32845 2646 2647 The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a 2648 GraphicsContext3D was created was occasionally causing it to be 2649 re-mapped at a different base address. Since GLEW is not 2650 re-initialized every time, primarily for performance reasons, its 2651 cached function pointers were pointing to garbage. Stopped closing 2652 and re-opening libGL.so.1 each time; now it is loaded lazily, when 2653 the first 3D context is created. Also reused the X display 2654 connection since the GLX routines' correctness might hinge upon it 2655 not resulting in a change of GL implementation. 2656 2657 * src/GraphicsContext3D.cpp: 2658 (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig): 2659 (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext): 2660 (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer): 2661 (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer): 2662 (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent): 2663 (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext): 2664 (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext): 2665 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection): 2666 (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad): 2667 (WebCore::GraphicsContext3DInternal::GLConnection::create): 2668 (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection): 2669 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 2670 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 2671 (WebCore::GraphicsContext3DInternal::makeContextCurrent): 2672 2673 2009-12-22 Yaar Schnitman <yaar (a] chromium.org> 2674 2675 Reviewed by Darin Fisher. 2676 2677 autoComplete and getElementById methods for WebKit API 2678 2679 https://bugs.webkit.org/show_bug.cgi?id=32866 2680 2681 * public/WebDocument.h: 2682 * public/WebInputElement.h: 2683 * src/WebDocument.cpp: 2684 (WebKit::WebDocument::getElementById): 2685 * src/WebInputElement.cpp: 2686 (WebKit::WebInputElement::autoComplete): 2687 2688 2009-12-18 Kenneth Russell <kbr (a] google.com> 2689 2690 Reviewed by Darin Fisher. 2691 2692 [Chromium] Eliminate redundant data copy in GraphicsContext3D readback 2693 https://bugs.webkit.org/show_bug.cgi?id=32763 2694 2695 Eliminated useless creation of a CGBitmapContext and from there a 2696 CGImage. Now create CGImage directly from data. Also changed 2697 readPixels parameters and CGImage alpha info to try to avoid byte 2698 swapping, and disabled interpolation when drawing the GL content. 2699 Some test cases run twice as fast with these changes, though more 2700 work is needed to achieve desired performance. 2701 2702 No test case; performance optimization only. Ran WebGL demos from 2703 Khronos site to verify changes. 2704 2705 * src/GraphicsContext3D.cpp: 2706 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 2707 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 2708 (WebCore::GraphicsContext3DInternal::reshape): 2709 (WebCore::GraphicsContext3DInternal::beginPaint): 2710 2711 2009-12-18 Peter Kasting <pkasting (a] google.com> 2712 2713 Reviewed by Adam Barth. 2714 2715 Chromium build fix 2716 https://bugs.webkit.org/show_bug.cgi?id=32756 2717 2718 * public/WebAccessibilityRole.h: 2719 (WebKit::): 2720 * src/AssertMatchingEnums.cpp: 2721 2722 2009-12-18 Adam Roben <aroben (a] apple.com> 2723 2724 Chromium build fix 2725 2726 * src/ChromiumBridge.cpp: 2727 * src/WebPluginContainerImpl.cpp: 2728 * src/WebViewImpl.cpp: 2729 Added #includes. 2730 2731 2009-12-17 Eric Seidel <eric (a] webkit.org> 2732 2733 No review, rolling out r52291. 2734 http://trac.webkit.org/changeset/52291 2735 https://bugs.webkit.org/show_bug.cgi?id=32618 2736 2737 Darin Fisher points out that this will likely break 2738 the SSL security indicator in Chromium. Rolling out for now. 2739 2740 * src/WebViewImpl.cpp: 2741 (WebKit::WebViewImpl::WebViewImpl): 2742 2743 2009-12-17 Alexander Pavlov <apavlov (a] chromium.org> 2744 2745 Reviewed by Eric Seidel. 2746 2747 Disable memory cache client calls so that a new identifier isn't created 2748 for the same resource on reload. 2749 2750 With the calls enabled, duplicate entries for cached resources are created 2751 in the Web Inspector. Safari for Windows disables the calls near the point of the 2752 Frame instance creation, and we just follow this for Chromium. 2753 https://bugs.webkit.org/show_bug.cgi?id=32618 2754 2755 * src/WebViewImpl.cpp: 2756 (WebKit::WebViewImpl::WebViewImpl): 2757 2758 2009-12-17 Yaar Schnitman <yaar (a] chromium.org> 2759 2760 Reviewed by Darin Fisher. 2761 2762 Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support 2763 downstream unit-testing of serialization. 2764 2765 WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding. 2766 2767 https://bugs.webkit.org/show_bug.cgi?id=31737 2768 2769 * WebKit.gyp: 2770 * public/WebDocument.h: Added. 2771 (WebKit::WebDocument::WebDocument): 2772 (WebKit::WebDocument::operator=): 2773 (WebKit::WebDocument::assign): 2774 * public/WebElement.h: 2775 * public/WebFormElement.h: 2776 (WebKit::WebFormElement::operator=): 2777 * public/WebFrame.h: 2778 * public/WebNode.h: 2779 (WebKit::WebNode::): 2780 (WebKit::WebNode::toConstElement): 2781 * public/WebNodeCollection.h: Added. 2782 (WebKit::WebNodeCollection::~WebNodeCollection): 2783 (WebKit::WebNodeCollection::WebNodeCollection): 2784 (WebKit::WebNodeCollection::operator=): 2785 * public/WebNodeList.h: Added. 2786 (WebKit::WebNodeList::~WebNodeList): 2787 (WebKit::WebNodeList::WebNodeList): 2788 (WebKit::WebNodeList::operator=): 2789 * public/WebPageSerializer.h: Added. 2790 * public/WebPageSerializerClient.h: Added. 2791 (WebKit::WebPageSerializerClient::): 2792 (WebKit::WebPageSerializerClient::WebPageSerializerClient): 2793 (WebKit::WebPageSerializerClient::~WebPageSerializerClient): 2794 * public/WebString.h: 2795 * public/WebView.h: 2796 * src/AssertMatchingEnums.cpp: 2797 * src/DOMUtilitiesPrivate.cpp: 2798 (WebKit::elementHasLegalLinkAttribute): 2799 * src/DOMUtilitiesPrivate.h: 2800 * src/WebDocument.cpp: Added. 2801 (WebKit::WebDocument::WebDocument): 2802 (WebKit::WebDocument::operator=): 2803 (WebKit::WebDocument::operator WTF::PassRefPtr<Document>): 2804 (WebKit::WebDocument::frame): 2805 (WebKit::WebDocument::isHTMLDocument): 2806 (WebKit::WebDocument::baseURL): 2807 (WebKit::WebDocument::body): 2808 (WebKit::WebDocument::head): 2809 (WebKit::WebDocument::all): 2810 (WebKit::WebDocument::completeURL): 2811 * src/WebElement.cpp: 2812 (WebKit::WebElement::hasTagName): 2813 (WebKit::WebElement::hasAttribute): 2814 (WebKit::WebElement::getAttribute): 2815 * src/WebEntities.cpp: Added. 2816 (WebKit::populateMap): 2817 (WebKit::): 2818 (WebKit::WebEntities::WebEntities): 2819 (WebKit::WebEntities::entityNameByCode): 2820 (WebKit::WebEntities::convertEntitiesInString): 2821 * src/WebEntities.h: Added. 2822 * src/WebFrameImpl.cpp: 2823 (WebKit::WebFrame::fromFrameOwnerElement): 2824 (WebKit::WebFrameImpl::encoding): 2825 (WebKit::WebFrameImpl::document): 2826 (WebKit::WebFrameImpl::fromFrameOwnerElement): 2827 * src/WebFrameImpl.h: 2828 * src/WebNode.cpp: 2829 (WebKit::WebNode::nodeType): 2830 (WebKit::WebNode::nodeValue): 2831 (WebKit::WebNode::document): 2832 (WebKit::WebNode::firstChild): 2833 (WebKit::WebNode::lastChild): 2834 (WebKit::WebNode::previousSibling): 2835 (WebKit::WebNode::nextSibling): 2836 (WebKit::WebNode::hasChildNodes): 2837 (WebKit::WebNode::childNodes): 2838 (WebKit::WebNode::createMarkup): 2839 (WebKit::WebNode::isTextNode): 2840 (WebKit::WebNode::isElementNode): 2841 * src/WebNodeCollection.cpp: Added. 2842 (WebKit::WebNodeCollection::reset): 2843 (WebKit::WebNodeCollection::assign): 2844 (WebKit::WebNodeCollection::WebNodeCollection): 2845 (WebKit::WebNodeCollection::length): 2846 (WebKit::WebNodeCollection::nextItem): 2847 (WebKit::WebNodeCollection::firstItem): 2848 * src/WebNodeList.cpp: Added. 2849 (WebKit::WebNodeList::reset): 2850 (WebKit::WebNodeList::assign): 2851 (WebKit::WebNodeList::WebNodeList): 2852 (WebKit::WebNodeList::length): 2853 (WebKit::WebNodeList::item): 2854 * src/WebPageSerializer.cpp: Added. 2855 (WebKit::WebPageSerializer::serialize): 2856 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration): 2857 (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration): 2858 (WebKit::WebPageSerializer::generateBaseTagDeclaration): 2859 * src/WebPageSerializerImpl.cpp: Added. 2860 (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam): 2861 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 2862 (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag): 2863 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag): 2864 (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag): 2865 (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer): 2866 (WebKit::WebPageSerializerImpl::openTagToString): 2867 (WebKit::WebPageSerializerImpl::endTagToString): 2868 (WebKit::WebPageSerializerImpl::buildContentForNode): 2869 (WebKit::WebPageSerializerImpl::WebPageSerializerImpl): 2870 (WebKit::WebPageSerializerImpl::collectTargetFrames): 2871 (WebKit::WebPageSerializerImpl::serialize): 2872 * src/WebPageSerializerImpl.h: Added. 2873 * src/WebString.cpp: 2874 (WebKit::WebString::WebString): 2875 (WebKit::WebString::operator=): 2876 * src/WebViewImpl.cpp: 2877 2878 2009-12-17 Yury Semikhatsky <yurys (a] chromium.org> 2879 2880 Reviewed by David Levin. 2881 2882 Provide explicit implementation of 'non-template' WebVector<T>::operator= 2883 2884 https://bugs.webkit.org/show_bug.cgi?id=32363 2885 2886 * public/WebVector.h: 2887 2888 2009-12-16 Fumitoshi Ukai <ukai (a] chromium.org> 2889 2890 Unreviewed, build fix. 2891 2892 [Chromium] Add EditableTextRole to catch up with 2893 http://trac.webkit.org/changeset/52233 2894 2895 * public/WebAccessibilityRole.h: 2896 (WebKit::): Added WebAccessibilityRoleEditableText 2897 * src/AssertMatchingEnums.cpp: Added matching compile assert. 2898 2899 2009-12-15 Kenneth Russell <kbr (a] google.com> 2900 2901 Reviewed by Darin Fisher. 2902 2903 Don't allow default framebuffer to be mutated 2904 https://bugs.webkit.org/show_bug.cgi?id=32391 2905 2906 * src/GraphicsContext3D.cpp: 2907 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 2908 (WebCore::GraphicsContext3DInternal::reshape): 2909 (WebCore::GraphicsContext3DInternal::beginPaint): 2910 (WebCore::GraphicsContext3DInternal::bindFramebuffer): 2911 (WebCore::GraphicsContext3D::bindFramebuffer): 2912 2913 2009-12-15 Dimitri Glazkov <dglazkov (a] chromium.org> 2914 2915 Unreviewed, build fix. 2916 2917 [Chromium] Add TreeGridRole to catch up with 2918 http://trac.webkit.org/changeset/52159. 2919 2920 * public/WebAccessibilityRole.h: 2921 (WebKit::): Added WebAccessibilityRoleTreeGrid. 2922 * src/AssertMatchingEnums.cpp: Added matching compile assert. 2923 2924 2009-12-15 Jian Li <jianli (a] chromium.org> 2925 2926 Reviewed by Dmitry Titov. 2927 2928 Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard. 2929 https://bugs.webkit.org/show_bug.cgi?id=31090 2930 2931 The proposal to whatwg can be found here: 2932 http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html 2933 2934 * public/WebDragData.h: 2935 * src/WebDragData.cpp: 2936 (WebKit::WebDragData::downloadURL): 2937 (WebKit::WebDragData::setDownloadURL): 2938 2939 2009-12-14 Evan Stade <estade (a] chromium.org> 2940 2941 Reviewed by Darin Fisher. 2942 2943 https://bugs.webkit.org/show_bug.cgi?id=32347 2944 Chromium: Context menu launched by menu key has funky behavior 2945 2946 Make the context menu's position depend on the selection only when an 2947 editable field has focus. Also, don't send multiple context menu events 2948 for a single keypress. 2949 2950 * src/WebViewImpl.cpp: 2951 (WebKit::WebViewImpl::keyEvent): 2952 (WebKit::WebViewImpl::sendContextMenuEvent): 2953 2954 2009-12-13 Sam Weinig <sam (a] webkit.org> 2955 2956 Reviewed by Dan Bernstein. 2957 2958 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499 2959 Add client based Geolocation provider 2960 2961 Add first cut of a client based Geolocation provider. This is guarded by 2962 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a 2963 GeolocationControllerClient interface that no-one currently implements, 2964 but will in a subsequent patch. 2965 2966 * src/WebViewImpl.cpp: 2967 (WebKit::WebViewImpl::WebViewImpl): 2968 2969 2009-12-13 Charles Reis <creis (a] chromium.org> 2970 2971 Reviewed by Adam Barth. 2972 2973 Refactor some security code out of V8 bindings 2974 https://bugs.webkit.org/show_bug.cgi?id=32326 2975 2976 * src/WebBindings.cpp: 2977 (WebKit::getDragDataImpl): 2978 2979 2009-12-11 Nate Chapin <japhet (a] chromium.org> 2980 2981 Reviewed by Darin Fisher. 2982 2983 Expose shouldHideReferrer() in WebSecurityPolicy. 2984 2985 https://bugs.webkit.org/show_bug.cgi?id=32398 2986 2987 * public/WebSecurityPolicy.h: Add shouldHideReferrer(). 2988 * src/WebSecurityPolicy.cpp: 2989 (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added. 2990 2991 2009-12-11 Avi Drissman <avi (a] chromium.org> 2992 2993 Reviewed by Darin Fisher. 2994 2995 Tickmarks in the scrollbar are not cleared for non-main frames 2996 https://bugs.webkit.org/show_bug.cgi?id=32385 2997 2998 * src/WebFrameImpl.cpp: 2999 (WebKit::WebFrameImpl::stopFinding): 3000 3001 2009-12-11 Yury Semikhatsky <yurys (a] chromium.org> 3002 3003 Reviewed by Pavel Feldman. 3004 3005 Remove obsolete message handling methods from WebDevTools* interfaces 3006 3007 https://bugs.webkit.org/show_bug.cgi?id=32320 3008 3009 * public/WebDevToolsAgent.h: 3010 * public/WebDevToolsAgentClient.h: 3011 * public/WebDevToolsFrontend.h: 3012 * public/WebDevToolsFrontendClient.h: 3013 3014 2009-12-10 Mike Belshe <mike (a] belshe.com> 3015 3016 Unreviewed, build fix for chromium. 3017 3018 * src/FrameLoaderClientImpl.cpp: 3019 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 3020 3021 2009-12-10 Kenneth Russell <kbr (a] google.com> 3022 3023 Reviewed by Oliver Hunt. 3024 3025 Changed WebGLRenderingContext to synthesize GL errors rather than 3026 raising JavaScript exceptions. Removed internal getError() calls 3027 after each graphics call. The GraphicsContext3D maintains the 3028 synthetic exceptions because only it has complete information 3029 about certain conditions requiring them to be raised. 3030 3031 Based on idea from Ilmari Heikkinen, added create3DDebugContext() 3032 to webgl-test.js and changed the WebGL layout tests expecting 3033 error conditions to use it. Updated expected.txt files, which now 3034 implicitly test the OpenGL error as it is part of the exception's 3035 message. 3036 3037 Added new targeted test covering aspects of synthetic errors as 3038 well as regression tests for bugs uncovered during its development. 3039 3040 Test: fast/canvas/webgl/error-reporting.html 3041 3042 * src/GraphicsContext3D.cpp: 3043 (WebCore::GraphicsContext3DInternal::reshape): 3044 (WebCore::GraphicsContext3DInternal::getError): 3045 (WebCore::GraphicsContext3DInternal::synthesizeGLError): 3046 (WebCore::GraphicsContext3D::getActiveAttrib): 3047 (WebCore::GraphicsContext3D::getActiveUniform): 3048 (WebCore::GraphicsContext3D::getError): 3049 (WebCore::GraphicsContext3D::synthesizeGLError): 3050 3051 2009-12-10 Mike Belshe <mike (a] belshe.com> 3052 3053 Reviewed by Darin Fisher. 3054 3055 Fix FrameLoader to use the new ResourceTypes properly. 3056 3057 https://bugs.webkit.org/show_bug.cgi?id=32336 3058 3059 * public/WebURLRequest.h: 3060 (WebKit::WebURLRequest::): 3061 * src/FrameLoaderClientImpl.cpp: 3062 (WebKit::setTargetTypeFromLoader): 3063 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 3064 3065 2009-12-10 Ilya Tikhonovsky <loislo (a] google.com> 3066 3067 Reviewed by Pavel Feldman. 3068 3069 Chromium: Expose devtools agent API for inspector layout tests. 3070 3071 https://bugs.webkit.org/show_bug.cgi?id=32379 3072 3073 * public/WebDevToolsAgent.h: 3074 (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled): 3075 (WebKit::WebDevToolsAgent::evaluateInWebInspector): 3076 3077 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 3078 3079 Unreviewed, build fix. 3080 3081 Change forward declaration of WebContextMenuData from class to 3082 struct to match its definition. The bug was introduced by 3083 http://trac.webkit.org/changeset/51874 3084 3085 * src/ContextMenuClientImpl.h: 3086 3087 2009-12-09 Darin Fisher <darin (a] chromium.org> 3088 3089 Reviewed by Eric Seidel. 3090 3091 https://bugs.webkit.org/show_bug.cgi?id=32324 3092 [Chromium] Suppress WebFrameClient callbacks from a detached frame. 3093 3094 This change means that we no longer need the ClientHandle class. 3095 FrameLoaderClient::detachedFromParent3() is called on each frame 3096 in the frame tree from within frameDetached(). 3097 3098 Test: http/tests/loading/gmail-assert-on-load.html 3099 3100 * src/FrameLoaderClientImpl.cpp: 3101 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 3102 * src/WebFrameImpl.cpp: 3103 (WebKit::WebFrameImpl::create): 3104 (WebKit::WebFrameImpl::WebFrameImpl): 3105 (WebKit::WebFrameImpl::createChildFrame): 3106 * src/WebFrameImpl.h: 3107 (WebKit::WebFrameImpl::client): 3108 (WebKit::WebFrameImpl::dropClient): 3109 * src/WebViewImpl.cpp: 3110 (WebKit::WebViewImpl::close): 3111 3112 2009-12-08 Stuart Morgan <stuartmorgan (a] chromium.org> 3113 3114 Reviewed by Darin Fisher. 3115 3116 Include clickCount when doing MouseEvent -> WebMouseEvent conversion 3117 in Chromium API. 3118 3119 https://bugs.webkit.org/show_bug.cgi?id=32289 3120 3121 * src/WebInputEventConversion.cpp: 3122 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 3123 3124 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 3125 3126 Unreviewed, build fix. 3127 3128 Add return statement to default implementation of hostIdentifier method 3129 introduced in http://trac.webkit.org/changeset/51897 3130 3131 * public/WebDevToolsAgentClient.h: 3132 (WebKit::WebDevToolsAgentClient::hostIdentifier): 3133 3134 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 3135 3136 Reviewed by Pavel Feldman. 3137 3138 Add declaration of static methods that allow to dispatch 3139 DevTools messages on the IO thread and accept WebDevToolsMessageData 3140 argument. 3141 3142 https://bugs.webkit.org/show_bug.cgi?id=32314 3143 3144 * public/WebDevToolsAgent.h: 3145 * public/WebDevToolsAgentClient.h: 3146 3147 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 3148 3149 Reviewed by Pavel Feldman. 3150 3151 Introduce a class for devtools message data 3152 3153 https://bugs.webkit.org/show_bug.cgi?id=32314 3154 3155 * WebKit.gyp: 3156 * public/WebDevToolsAgent.h: 3157 * public/WebDevToolsAgentClient.h: 3158 (WebKit::WebDevToolsAgentClient::sendMessageToFrontend): 3159 (WebKit::WebDevToolsAgentClient::forceRepaint): 3160 (WebKit::WebDevToolsAgentClient::hostIdentifier): 3161 (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged): 3162 * public/WebDevToolsFrontend.h: 3163 * public/WebDevToolsFrontendClient.h: 3164 (WebKit::WebDevToolsFrontendClient::sendMessageToAgent): 3165 * public/WebDevToolsMessageData.h: Added. 3166 3167 2009-12-08 Pavel Feldman <pfeldman (a] chromium.org> 3168 3169 Reviewed by Darin Fisher. 3170 3171 Chromium: support custom WebCore context menu items in Chromium port. 3172 3173 https://bugs.webkit.org/show_bug.cgi?id=32277 3174 3175 * public/WebContextMenuData.h: 3176 * public/WebPopupMenuInfo.h: 3177 (WebKit::WebPopupMenuInfo::Item::): 3178 * public/WebView.h: 3179 * src/ContextMenuClientImpl.cpp: 3180 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 3181 * src/WebViewImpl.cpp: 3182 (WebKit::WebViewImpl::executeCustomContextMenuAction): 3183 * src/WebViewImpl.h: 3184 3185 2009-12-08 Albert J. Wong <ajwong (a] chromium.org> 3186 3187 Not reviewed: Chromium build fix. 3188 3189 r51859 changed the case for some of the ResourceRequest::TargetType 3190 enums. 3191 3192 * src/FrameLoaderClientImpl.cpp: 3193 (WebKit::determineTargetTypeFromLoader): 3194 3195 2009-12-07 Zhe Su <suzhe (a] chromium.org> 3196 3197 Reviewed by Darin Fisher. 3198 3199 [Chromium] accesskey is not supported on Chromium Mac. 3200 https://bugs.webkit.org/show_bug.cgi?id=32213 3201 3202 This change fixes (partially) the accesskey issue by decoupling the 3203 code for handling accesskeys and system keys. Because on Mac, 3204 the modifiers of accesskeys are ctrl+alt, which are not marked as 3205 system keys. 3206 In order to fully fix this issue, some changes in Chromium code is 3207 also required. 3208 3209 * src/WebViewImpl.cpp: 3210 (WebKit::WebViewImpl::keyEvent): 3211 (WebKit::WebViewImpl::charEvent): 3212 3213 2009-12-07 Evan Martin <evan (a] chromium.org> 3214 3215 Reviewed by Eric Seidel. 3216 3217 Chromium: theme scrollbars to match GTK theme. 3218 Add API to set the colors. 3219 3220 Since the change is to the Chromium WebKit API layer, testing will 3221 be in Chromium's test shell. 3222 http://bugs.webkit.org/show_bug.cgi?id=32048 3223 3224 Patch from Markus Gutschke <markus (a] chromium.org>. 3225 3226 * public/WebView.h: 3227 * src/WebViewImpl.cpp: 3228 (WebKit::WebViewImpl::setScrollbarColors): 3229 * src/WebViewImpl.h: 3230 3231 2009-12-07 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 3232 3233 Reviewed by Darin Fisher. 3234 3235 A patch for Chromium to restrict the scope of the Gmail focus fix, 3236 where we set the Selection to 0,0 for content-editable fields and 3237 also make sure we set the selection end-state for find to select the 3238 text found (when not focusing a link we found). 3239 WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248 3240 3241 * src/WebFrameImpl.cpp: 3242 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): 3243 * src/WebViewImpl.cpp: 3244 (WebKit::WebViewImpl::setFocus): 3245 3246 2009-12-07 Dmitry Titov <dimich (a] chromium.org> 3247 3248 Rubber-stamped by Darin Adler. 3249 3250 Remove ENABLE_SHARED_SCRIPT flags 3251 https://bugs.webkit.org/show_bug.cgi?id=32245 3252 This patch was obtained by "git revert" command and then un-reverting of ChangeLog files. 3253 3254 * features.gypi: 3255 3256 2009-12-07 Yaar Schnitman <yaar (a] chromium.org> 3257 3258 Reviewed by Darin Fisher. 3259 3260 fixes to build-webkit --chromium 3261 https://bugs.webkit.org/show_bug.cgi?id=32179 3262 3263 * DEPS: 3264 * WebKit.gyp: 3265 * gyp_webkit: 3266 3267 2009-12-07 Mikhail Naganov <mnaganov (a] chromium.org> 3268 3269 Reviewed by Pavel Feldman. 3270 3271 [Chromium] Add declarations for DevTools message dispatching on IO thread 3272 (see http://codereview.chromium.org/460018) 3273 3274 https://bugs.webkit.org/show_bug.cgi?id=32217 3275 3276 * public/WebDevToolsAgent.h: 3277 * public/WebDevToolsAgentClient.h: 3278 3279 2009-12-04 James Hawkins <jhawkins (a] chromium.org> 3280 3281 Reviewed by Darin Fisher. 3282 3283 https://bugs.webkit.org/show_bug.cgi?id=32095 3284 Implement WebRegularExpression, a WebKit API for accessing 3285 WebCore::RegularExpression. 3286 3287 * WebKit.gyp: 3288 * public/WebRegularExpression.h: Added. 3289 * public/WebTextCaseSensitivity.h: Added. 3290 (WebKit::): 3291 * src/AssertMatchingEnums.cpp: 3292 * src/WebRegularExpression.cpp: Added. 3293 (WebKit::WebRegularExpression::WebRegularExpression): 3294 (WebKit::WebRegularExpression::~WebRegularExpression): 3295 (WebKit::WebRegularExpression::match): 3296 3297 2009-12-04 Peter Kasting <pkasting (a] google.com> 3298 3299 Reviewed by Darin Fisher. 3300 3301 [Chromium] Simplify zoom-related APIs and add a zoom level getter, 3302 part two: Remove deprecated APIs. 3303 https://bugs.webkit.org/show_bug.cgi?id=31893 3304 3305 * public/WebView.h: 3306 * src/WebViewImpl.cpp: 3307 * src/WebViewImpl.h: 3308 3309 2009-12-03 Jonathan Dixon <joth (a] chromium.org> 3310 3311 Reviewed by Dimitri Glazkov. 3312 3313 Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium 3314 https://bugs.webkit.org/show_bug.cgi?id=32066 3315 3316 Add the plumbing to map WebSettings through to WebCore::Settings 3317 3318 * features.gypi: 3319 * public/WebSettings.h: Add setGeolocationEnabled API to interface 3320 * src/WebSettingsImpl.cpp: 3321 (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled 3322 * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function 3323 3324 2009-12-03 Brady Eidson <beidson (a] apple.com> 3325 3326 Reviewed by Sam Weinig. 3327 3328 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API 3329 3330 * src/FrameLoaderClientImpl.cpp: 3331 (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage): 3332 (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage): 3333 (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): 3334 * src/FrameLoaderClientImpl.h: 3335 3336 2009-12-03 Pavel Feldman <pfeldman (a] chromium.org> 3337 3338 Reviewed by Timothy Hatcher. 3339 3340 Chromium: Add support for settings containing ":" 3341 3342 https://bugs.webkit.org/show_bug.cgi?id=32118 3343 3344 * src/InspectorClientImpl.cpp: 3345 (WebKit::InspectorClientImpl::loadSettings): 3346 3347 2009-12-03 Pavel Feldman <pfeldman (a] dhcp-172-28-174-220.spb.corp.google.com> 3348 3349 Reviewed by Timothy Hatcher. 3350 3351 Web Inspector: Simplify the settings support in inspector controller. 3352 3353 https://bugs.webkit.org/show_bug.cgi?id=32076 3354 3355 * src/InspectorClientImpl.cpp: 3356 (WebKit::InspectorClientImpl::hiddenPanels): 3357 (WebKit::InspectorClientImpl::populateSetting): 3358 (WebKit::InspectorClientImpl::storeSetting): 3359 (WebKit::InspectorClientImpl::loadSettings): 3360 (WebKit::InspectorClientImpl::saveSettings): 3361 * src/InspectorClientImpl.h: 3362 3363 2009-12-03 Ben Murdoch <benm (a] google.com> 3364 3365 Reviewed by Brady Eidson. 3366 3367 [Android] The FrameLoaderClient is unaware of BackForwardList changes. 3368 https://bugs.webkit.org/show_bug.cgi?id=31914 3369 3370 * src/FrameLoaderClientImpl.cpp: 3371 (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). 3372 (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto. 3373 (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito. 3374 * src/FrameLoaderClientImpl.h: 3375 3376 2009-12-02 Yusuke Sato <yusukes (a] chromium.org> 3377 3378 Reviewed by Eric Seidel. 3379 3380 Sanitize web fonts using the OTS library 3381 https://bugs.webkit.org/show_bug.cgi?id=31106 3382 3383 * DEPS: Added dependency to the OpenType sanitizer library. 3384 * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1. 3385 3386 2009-12-02 Evan Stade <estade (a] chromium.org> 3387 3388 Reviewed by Darin Fisher. 3389 3390 https://bugs.webkit.org/show_bug.cgi?id=32029 3391 Mousewheel event delta has reversed sign on Linux Chrome. 3392 3393 No new tests (layout tests don't cover event conversion code). 3394 Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel 3395 3396 * src/gtk/WebInputEventFactory.cpp: 3397 (WebKit::WebInputEventFactory::mouseWheelEvent): 3398 3399 2009-12-02 Anton Muhin <antonm (a] chromium.org> 3400 3401 Reviewed by Adam Barth. 3402 3403 Allow to skip thread checks when accessing DOMDataStore for processes 3404 which run V8 in single thread mode. 3405 https://bugs.webkit.org/show_bug.cgi?id=31877 3406 3407 * src/WebScriptController.cpp: 3408 (WebKit::WebScriptController::enableV8SingleThreadMode): 3409 3410 2009-12-01 Peter Kasting <pkasting (a] google.com> 3411 3412 Reviewed by Darin Fisher. 3413 3414 [Chromium] Simplify zoom-related APIs and add a zoom level getter, 3415 part one: Add new APIs. (Old APIs will be removed in a second pass.) 3416 https://bugs.webkit.org/show_bug.cgi?id=31893 3417 3418 * public/WebView.h: 3419 * src/WebViewImpl.cpp: 3420 (WebKit::WebViewImpl::zoomLevel): 3421 (WebKit::WebViewImpl::setZoomLevel): 3422 * src/WebViewImpl.h: 3423 3424 2009-12-01 Xiyuan Xia <xiyuan (a] chromium.org> 3425 3426 Reviewed by Darin Fisher. 3427 3428 Only fire start/stop events when main frame is not loading. 3429 3430 https://bugs.webkit.org/show_bug.cgi?id=31838 3431 3432 * src/FrameLoaderClientImpl.cpp: 3433 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 3434 3435 2009-11-27 Yury Semikhatsky <yurys (a] chromium.org> 3436 3437 Reviewed by Pavel Feldman. 3438 3439 Add separate method for pause command to WebDevToolsAgent 3440 and WebDevToolsFrontendClient interfaces so that pause command 3441 can be processed on the IO thread. 3442 3443 https://bugs.webkit.org/show_bug.cgi?id=31934 3444 3445 * public/WebDevToolsAgent.h: 3446 * public/WebDevToolsFrontendClient.h: 3447 (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent): 3448 (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript): 3449 (WebKit::WebDevToolsFrontendClient::activateWindow): 3450 (WebKit::WebDevToolsFrontendClient::closeWindow): 3451 (WebKit::WebDevToolsFrontendClient::dockWindow): 3452 (WebKit::WebDevToolsFrontendClient::undockWindow): 3453 3454 2009-11-27 Yury Semikhatsky <yurys (a] chromium.org> 3455 3456 Reviewed by Pavel Feldman. 3457 3458 WebCore part of the fix that allows to view plugin 3459 resources loaded by plugins. Methods that for resource 3460 loading notifications are exposed through WebDevToolsAgent 3461 interface to the glue code to allow Chromium's plugin 3462 implementation to notify InspectorController about resource 3463 loading in plugins. 3464 3465 https://bugs.webkit.org/show_bug.cgi?id=31832 3466 3467 * public/WebDevToolsAgent.h: 3468 * public/WebView.h: 3469 * src/WebViewImpl.cpp: 3470 (WebKit::WebViewImpl::createUniqueIdentifierForRequest): 3471 * src/WebViewImpl.h: 3472 3473 2009-11-26 Yury Semikhatsky <yurys (a] chromium.org> 3474 3475 Not reviewed. Build fix: revert r51421. 3476 3477 * public/WebDevToolsAgent.h: 3478 * public/WebView.h: 3479 * src/WebViewImpl.cpp: 3480 * src/WebViewImpl.h: 3481 3482 2009-11-25 Dimitri Glazkov <dglazkov (a] chromium.org> 3483 3484 Reviewed by David Levin. 3485 3486 [Chromium] Implement canSetValueAttribute in the API. 3487 https://bugs.webkit.org/show_bug.cgi?id=31894 3488 3489 * public/WebAccessibilityObject.h: Added decl. 3490 * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include. 3491 * src/WebAccessibilityObject.cpp: 3492 (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl. 3493 3494 2009-11-25 Dimitri Glazkov <dglazkov (a] chromium.org> 3495 3496 Reviewed by Darin Fisher. 3497 3498 [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API. 3499 https://bugs.webkit.org/show_bug.cgi?id=31878 3500 3501 * public/WebSettings.h: Added decl. 3502 * src/WebSettingsImpl.cpp: 3503 (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl. 3504 * src/WebSettingsImpl.h: 3505 3506 2009-11-24 Dmitry Titov <dimich (a] chromium.org> 3507 3508 Reviewed by Eric Seidel. 3509 3510 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit 3511 https://bugs.webkit.org/show_bug.cgi?id=31444 3512 3513 * features.gypi: 3514 3515 2009-11-24 Evan Stade <estade (a] chromium.org> 3516 3517 Reviewed by David Levin. 3518 3519 Linux Chromium sends too many click events 3520 https://bugs.webkit.org/show_bug.cgi?id=31841 3521 3522 Manually count number of clicks for double/triple click events. This 3523 makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html 3524 Chromium side of this patch is here: 3525 http://codereview.chromium.org/431031/show 3526 3527 * src/gtk/WebInputEventFactory.cpp: 3528 (WebKit::WebInputEventFactory::mouseEvent): 3529 3530 2009-11-24 Darin Fisher <darin (a] chromium.org> 3531 3532 Reviewed by Adam Barth. 3533 3534 [Chromium] Renderer hang when using www.expedia.com 3535 https://bugs.webkit.org/show_bug.cgi?id=31822 3536 3537 * src/FrameLoaderClientImpl.cpp: 3538 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 3539 Assign ReturnCacheDataDontLoad cache policy at the last moment 3540 to match Safari. This way the cache policy does not get stored 3541 in DocumentLoader's originalRequest preventing it from being 3542 inherited by subresource requests. 3543 * src/ResourceHandle.cpp: 3544 (WebCore::ResourceHandle::willLoadFromCache): Remove assignment 3545 of ReturnCacheDataDontLoad cache policy so that it doesn't end 3546 up applying to the DocumentLoader's originalRequest. 3547 3548 2009-11-23 Kenneth Russell <kbr (a] google.com> 3549 3550 Reviewed by Oliver Hunt. 3551 3552 Change get... calls to latest spec 3553 https://bugs.webkit.org/show_bug.cgi?id=30091 3554 3555 Removed old versions of get calls on WebGLRenderingContext and 3556 added new ones per spec returning "any". New code simplifies 3557 GraphicsContext3D and fixes previously unimplemented routines. 3558 Added custom JS and V8 bindings. Added exhaustive test case 3559 exercising all new code paths. Updated preexisting test cases for 3560 new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL 3561 implementations. 3562 3563 Ran WebGL layout tests in WebKit (clean) and Chrome (couple of 3564 preexisting known failures) and manual WebGL tests in both 3565 browsers. 3566 3567 Test: fast/canvas/webgl/gl-object-get-calls.html 3568 3569 * src/GraphicsContext3D.cpp: 3570 (WebCore::GraphicsContext3D::createFramebuffer): 3571 (WebCore::GraphicsContext3D::createRenderbuffer): 3572 (WebCore::GraphicsContext3D::deleteFramebuffer): 3573 (WebCore::GraphicsContext3D::deleteRenderbuffer): 3574 (WebCore::GraphicsContext3D::checkFramebufferStatus): 3575 (WebCore::GraphicsContext3D::getBooleanv): 3576 (WebCore::GraphicsContext3D::getBufferParameteriv): 3577 (WebCore::GraphicsContext3D::getFloatv): 3578 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): 3579 (WebCore::GraphicsContext3D::getIntegerv): 3580 (WebCore::GraphicsContext3D::getProgramiv): 3581 (WebCore::GraphicsContext3D::getRenderbufferParameteriv): 3582 (WebCore::GraphicsContext3D::getShaderiv): 3583 (WebCore::GraphicsContext3D::getTexParameterfv): 3584 (WebCore::GraphicsContext3D::getTexParameteriv): 3585 (WebCore::GraphicsContext3D::getUniformfv): 3586 (WebCore::GraphicsContext3D::getUniformiv): 3587 (WebCore::GraphicsContext3D::getVertexAttribfv): 3588 (WebCore::GraphicsContext3D::getVertexAttribiv): 3589 (WebCore::GraphicsContext3D::isFramebuffer): 3590 (WebCore::GraphicsContext3D::isRenderbuffer): 3591 3592 2009-11-24 Pavel Feldman <pfeldman (a] chromium.org> 3593 3594 Reviewed by Darin Fisher. 3595 3596 Chromium: Expose method for reporting user stats 3597 to the host. Also includes drive-by default implementation. 3598 3599 https://bugs.webkit.org/show_bug.cgi?id=31830 3600 3601 * public/WebKitClient.h: 3602 3603 2009-11-24 Adam Barth <abarth (a] webkit.org> 3604 3605 Reviewed by Dimitri Glazkov. 3606 3607 [Chromium] Fix DOM storage layout tests 3608 https://bugs.webkit.org/show_bug.cgi?id=31833 3609 3610 The issue is, essentially, that this code assumes that 3611 SecurityOrigin::createString can re-create a SecurityOrigin given 3612 the string produced from SecurityOrigin::toString. This is a bogus 3613 assumption in a number of corner cases (e.g., document.domain, 3614 @sandbox). A recent patch (http://trac.webkit.org/changeset/51294) 3615 make this assumption further invalid in the case of of file:// URLs. 3616 3617 The correct fix is for this code to use WebSecurityOrigin objects 3618 (and not strings) to represent SecurityOrigin objects. However, the 3619 expert on this code is on vacation, and I don't want to do major 3620 surgery here without his involvement. This patch is a temporary fix 3621 to get these tests passing again. We'll do the right fix once 3622 jorlow gets back from vacation. 3623 3624 Tests: Covered by a number of existing DOM storage tests. 3625 3626 * src/WebStorageNamespaceImpl.cpp: 3627 (WebKit::WebStorageNamespaceImpl::createStorageArea): 3628 3629 2009-11-23 Jian Li <jianli (a] chromium.org> 3630 3631 Reviewed by NOBODY (Chromium build fix). 3632 3633 * src/GraphicsContext3D.cpp: 3634 (WebCore::GraphicsContext3D::createShader): 3635 3636 2009-11-20 Jian Li <jianli (a] chromium.org> 3637 3638 Not reviewed. Fix chromium build. 3639 3640 * public/WebAccessibilityRole.h: 3641 (WebKit::): 3642 * src/AssertMatchingEnums.cpp: 3643 3644 2009-11-19 Yaar Schnitman <yaar (a] chromium.org> 3645 3646 Reviewed by Darin Fisher. 3647 3648 Make chromium/webkit/glue/FormFieldValues use the WebKit API 3649 3650 https://bugs.webkit.org/show_bug.cgi?id=31650 3651 3652 * public/WebElement.h: 3653 * public/WebFormElement.h: 3654 * public/WebInputElement.h: 3655 (WebKit::WebInputElement::): 3656 * public/WebNode.h: 3657 * src/AssertMatchingEnums.cpp: 3658 * src/DOMUtilitiesPrivate.cpp: 3659 (WebKit::nameOfInputElement): 3660 * src/DOMUtilitiesPrivate.h: 3661 * src/EditorClientImpl.cpp: 3662 (WebKit::EditorClientImpl::autofill): 3663 (WebKit::EditorClientImpl::doAutofill): 3664 * src/WebFormElement.cpp: 3665 (WebKit::WebFormElement::name): 3666 (WebKit::WebFormElement::method): 3667 (WebKit::WebFormElement::getNamedElements): 3668 (WebKit::WebFormElement::getInputElements): 3669 * src/WebInputElement.cpp: 3670 (WebKit::WebInputElement::isEnabledFormControl): 3671 (WebKit::WebInputElement::inputType): 3672 (WebKit::WebInputElement::formControlType): 3673 (WebKit::WebInputElement::value): 3674 (WebKit::WebInputElement::dispatchFormControlChangeEvent): 3675 (WebKit::WebInputElement::setSelectionRange): 3676 (WebKit::WebInputElement::name): 3677 (WebKit::WebInputElement::nameForAutofill): 3678 * src/WebNode.cpp: 3679 (WebKit::WebNode::frame): 3680 3681 2009-11-18 Michelangelo De Simone <micdesim (a] gmail.com> 3682 3683 Reviewed by Darin Adler. 3684 3685 Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. 3686 Support for validationMessage attribute, as per HTML5 specs. 3687 3688 * src/LocalizedStrings.cpp: 3689 (WebCore::validationMessageValueMissingText): 3690 (WebCore::validationMessageTypeMismatchText): 3691 (WebCore::validationMessagePatternMismatchText): 3692 (WebCore::validationMessageTooLongText): 3693 (WebCore::validationMessageRangeUnderflowText): 3694 (WebCore::validationMessageRangeOverflowText): 3695 (WebCore::validationMessageStepMismatchText): 3696 3697 2009-11-18 Nate Chapin <japhet (a] chromium.org> 3698 3699 Reviewed by Darin Fisher. 3700 3701 Remove Chromium port's dependency on some dummy pthreads header 3702 files that live in the Chromium repository. 3703 3704 https://bugs.webkit.org/show_bug.cgi?id=31648 3705 3706 * DEPS: Remove reference to chromium svn's webkit/build/ directory. 3707 3708 2009-11-18 Evan Stade <estade (a] chromium.org> 3709 3710 Reviewed by Darin Fisher. 3711 3712 Menu button shows wrong content in Chromium 3713 https://bugs.webkit.org/show_bug.cgi?id=31448 3714 3715 Make context menu button (VK_APPS) show context menu for node that has 3716 keyboard focus. This affects both the content and the positioning. 3717 3718 * src/WebViewImpl.cpp: 3719 (WebKit::WebViewImpl::sendContextMenuEvent): 3720 3721 2009-11-17 Darin Fisher <darin (a] chromium.org> 3722 3723 Reviewed by Dmitry Titov. 3724 3725 Minor cleanup in WebKit API 3726 https://bugs.webkit.org/show_bug.cgi?id=31616 3727 3728 * public/WebFormElement.h: Add missing WEBKIT_API prefix. 3729 * public/WebNode.h: Add missing WEBKIT_API prefix. 3730 * src/WebFormElement.cpp: 3731 (WebKit::WebFormElement::action): Make action getter const. 3732 * src/WebNode.cpp: 3733 (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame. 3734 3735 2009-11-17 Nicolas Weber <thakis (a] chromium.org> 3736 3737 Reviewed by Darin Fisher, Dmitry Titov. 3738 3739 Revert r50887, it regressed handling of cmd-left when a text box is focused. 3740 https://bugs.webkit.org/show_bug.cgi?id=31566 3741 3742 * src/mac/WebInputEventFactory.mm: 3743 (WebKit::WebInputEventFactory::keyboardEvent): 3744 3745 2009-11-16 Kenneth Russell <kbr (a] google.com> 3746 3747 Reviewed by Oliver Hunt. 3748 3749 Update API of WebGLArray and friends 3750 https://bugs.webkit.org/show_bug.cgi?id=31175 3751 3752 * src/GraphicsContext3D.cpp: 3753 (WebCore::GraphicsContext3D::bufferData): 3754 (WebCore::GraphicsContext3D::bufferSubData): 3755 3756 2009-11-15 Dimitri Glazkov <dglazkov (a] chromium.org> 3757 3758 Unreviewed, build fix. 3759 3760 Correct an error in the previous commit 3761 3762 * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory, 3763 not WebAccessibilityDirectoryRole. 3764 3765 2009-11-15 Dimitri Glazkov <dglazkov (a] chromium.org> 3766 3767 Unreviewed, build fix. 3768 3769 Bring WebAccessibilityRole up to sync after 3770 http://trac.webkit.org/changeset/51007. 3771 3772 * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory. 3773 * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and 3774 WebAccessibilityRoleDirectory. 3775 3776 2009-11-13 Dimitri Glazkov <dglazkov (a] chromium.org> 3777 3778 Unreviewed, build fix. 3779 3780 [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld 3781 to catch up http://trac.webkit.org/changeset/50973. 3782 3783 * src/FrameLoaderClientImpl.cpp: 3784 (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld): 3785 * src/FrameLoaderClientImpl.h: 3786 3787 2009-11-13 Yaar Schnitman <yaar (a] chromium.org> 3788 3789 Reviewed by Dimitri Glazkov. 3790 3791 Chromium WebKit Port to compile as dynamic lib 3792 3793 https://bugs.webkit.org/show_bug.cgi?id=31478 3794 3795 * WebKit.gyp: 3796 3797 2009-11-13 Aaron Boodman <aa (a] chromium.org> 3798 3799 Reviewed by Eric Seidel. 3800 3801 Adds a way to get the document element's scrollHeight, 3802 which is sort of the moral equivalent to 3803 RenderBox::minPrefWidth(). 3804 3805 https://bugs.webkit.org/show_bug.cgi?id=31036 3806 3807 * public/WebFrame.h: Declare documentElementScrollHeight() 3808 * src/WebFrameImpl.h: Ditto 3809 * src/WebFrameImpl.cpp: Implement documentElementScrollHeight() 3810 (WebKit::WebFrameImpl::documentElementScrollHeight): Return the 3811 scroll height of the document element, or zero if there's no 3812 documentElement. 3813 3814 2009-11-12 Dumitru Daniliuc <dumi (a] chromium.org> 3815 3816 Reviewed by Dimitri Glazkov. 3817 3818 Adding Chromium's DatabaseTracker implementation. 3819 3820 https://bugs.webkit.org/show_bug.cgi?id=31440 3821 3822 * WebKit.gyp: 3823 * src/ChromeClientImpl.cpp: 3824 (WebKit::ChromeClientImpl::exceededDatabaseQuota): 3825 * src/DatabaseObserver.cpp: Added. 3826 (WebCore::DatabaseObserver::databaseOpened): 3827 (WebCore::DatabaseObserver::databaseModified): 3828 (WebCore::DatabaseObserver::databaseClosed): 3829 * src/WebDatabase.cpp: 3830 (WebKit::WebDatabase::name): 3831 (WebKit::WebDatabase::displayName): 3832 (WebKit::WebDatabase::estimatedSize): 3833 (WebKit::WebDatabase::securityOrigin): 3834 (WebKit::WebDatabase::updateDatabaseSize): 3835 * src/WebSecurityOrigin.cpp: 3836 (WebKit::WebSecurityOrigin::toString): 3837 (WebKit::WebSecurityOrigin::databaseIdentifier): 3838 3839 2009-11-13 Yaar Schnitman <yaar (a] chromium.org> 3840 3841 Reviewed by Dimitri Glazkov. 3842 3843 Rolling Chromium dependencies to match Chromium revision 31834. 3844 3845 https://bugs.webkit.org/show_bug.cgi?id=31445 3846 3847 * DEPS: 3848 3849 2009-11-12 Dumitru Daniliuc <dumi (a] chromium.org> 3850 3851 Reviewed by Dimitri Glazkov. 3852 3853 Renaming some parameters passed to DB-related methods to better 3854 indicate their purpose. 3855 3856 https://bugs.webkit.org/show_bug.cgi?id=31449 3857 3858 * public/WebKitClient.h: 3859 * src/ChromiumBridge.cpp: 3860 (WebCore::ChromiumBridge::databaseOpenFile): 3861 (WebCore::ChromiumBridge::databaseDeleteFile): 3862 (WebCore::ChromiumBridge::databaseGetFileAttributes): 3863 (WebCore::ChromiumBridge::databaseGetFileSize): 3864 3865 2009-11-12 Adam Barth <abarth> 3866 3867 Reviewed by Dimitri Glazkov. 3868 3869 [Chromium] reload-subframe-object.html fails 3870 https://bugs.webkit.org/show_bug.cgi?id=31398 3871 3872 More closely match FrameLoaderClient.mm. Turns out we don't want to 3873 use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish 3874 between application/octet-stream and lack of knowledge of the MIME 3875 type. 3876 3877 Covered by reload-subframe-object.html. 3878 3879 * src/FrameLoaderClientImpl.cpp: 3880 (WebKit::FrameLoaderClientImpl::objectContentType): 3881 3882 2009-11-12 Nate Chapin <japhet (a] chromium.org> 3883 3884 Unreviewed, Chromium build fix. 3885 3886 Add new accessibility enum values to Chromium enums from 3887 http://trac.webkit.org/changeset/50865 and 3888 http://trac.webkit.org/changeset/50883. 3889 3890 https://bugs.webkit.org/show_bug.cgi?id=31424 3891 3892 * public/WebAccessibilityRole.h: 3893 (WebKit::): 3894 * src/AssertMatchingEnums.cpp: 3895 3896 2009-11-12 Nicolas Weber <thakis (a] chromium.org> 3897 3898 Reviewed by Dimitri Glazkov. 3899 3900 Send |keypress()| events for keys with cmd down, like safari. 3901 Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a 3902 keypress() event. 3903 3904 * src/mac/WebInputEventFactory.mm: 3905 (WebKit::WebInputEventFactory::keyboardEvent): 3906 3907 2009-11-11 Jeremy Orlow <jorlow (a] chromium.org> 3908 3909 Not reviewed. Build fix. Will be cleaned up in subsequent patch once we know exaclty what's going on. 3910 3911 * src/WebBindings.cpp: 3912 3913 2009-11-11 Drew Wilson <atwilson (a] chromium.org> 3914 3915 Reviewed by Dimitri Glazkov. 3916 3917 SharedWorkerRepository.connect() does not call WebSharedWorkerRepository 3918 https://bugs.webkit.org/show_bug.cgi?id=31371 3919 3920 Test: Unit tests can be enabled downstream when this lands. 3921 3922 * src/SharedWorkerRepository.cpp: 3923 (WebCore::SharedWorkerRepository::connect): 3924 Added missing call to WebSharedWorkerRepository.addSharedWorker(). 3925 3926 2009-11-11 Yaar Schnitman <yaar (a] chromium.org> 3927 3928 Reviewed by Dimitri Glazkov. 3929 3930 Tiny path fixes in Chromium API includes. 3931 3932 https://bugs.webkit.org/show_bug.cgi?id=31369 3933 3934 * public/linux/WebSandboxSupport.h: Fixed path. 3935 * src/WebBindings.cpp: Fixed path. 3936 3937 2009-11-11 Nate Chapin <japhet (a] chromium.org> 3938 3939 Reviewed by Dimitri Glazkov. 3940 3941 http://trac.webkit.org/changeset/50811 removed some methods from 3942 platform/network/SocketStreamHandleClient.h, so remove them 3943 here too. 3944 3945 https://bugs.webkit.org/show_bug.cgi?id=31360 3946 3947 * public/WebSocketStreamHandleClient.h: 3948 * src/SocketStreamHandle.cpp: 3949 (WebCore::SocketStreamHandleInternal::send): 3950 3951 2009-11-11 Nate Chapin <japhet (a] chromium.org> 3952 3953 Reviewed by Eric Seidel. 3954 3955 Remove some additional references to dragSourceMovedTo() not 3956 needed after http://trac.webkit.org/changeset/50786. 3957 3958 https://bugs.webkit.org/show_bug.cgi?id=31354 3959 3960 * public/WebView.h: 3961 * src/WebViewImpl.h: 3962 3963 2009-11-11 Nate Chapin <japhet (a] chromium.org> 3964 3965 Reviewed by Dimitri Glazkov. 3966 3967 Remove WebViewImpl::dragSourceMovedTo(), as it is no longer 3968 needed after http://trac.webkit.org/changeset/50786. 3969 3970 https://bugs.webkit.org/show_bug.cgi?id=31354 3971 3972 * src/WebViewImpl.cpp: 3973 3974 2009-11-10 Nate Chapin <japhet (a] chromium.org> 3975 3976 Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760. 3977 3978 * src/WebFrameImpl.cpp: 3979 (WebKit::WebFrameImpl::paint): 3980 3981 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 3982 3983 Reviewed by Dimitri Glazkov. 3984 3985 Modified WebKit.gyp to build the webkit api. 3986 3987 https://bugs.webkit.org/show_bug.cgi?id=31320 3988 3989 * README: Added. 3990 * WebKit.gyp: Added. 3991 * webkit.gyp: Removed. 3992 3993 2009-11-10 Nate Chapin <japhet (a] chromium.org> 3994 3995 Reviewed by Eric Seidel. 3996 3997 Update references to Canvas 3D classes to use the WebGL prefix 3998 introduced in http://trac.webkit.org/changeset/50725. 3999 4000 https://bugs.webkit.org/show_bug.cgi?id=31276 4001 4002 * src/GraphicsContext3D.cpp: 4003 (WebCore::GraphicsContext3DInternal::beginPaint): 4004 (WebCore::GraphicsContext3DInternal::bindBuffer): 4005 (WebCore::GraphicsContext3DInternal::bindTexture): 4006 (WebCore::GraphicsContext3D::beginPaint): 4007 (WebCore::GraphicsContext3D::bindAttribLocation): 4008 (WebCore::GraphicsContext3D::bindBuffer): 4009 (WebCore::GraphicsContext3D::bindTexture): 4010 (WebCore::GraphicsContext3D::bufferData): 4011 (WebCore::GraphicsContext3D::bufferSubData): 4012 (WebCore::GraphicsContext3D::detachShader): 4013 (WebCore::GraphicsContext3D::getActiveAttrib): 4014 (WebCore::GraphicsContext3D::getActiveUniform): 4015 (WebCore::GraphicsContext3D::getAttribLocation): 4016 (WebCore::GraphicsContext3D::getBooleanv): 4017 (WebCore::GraphicsContext3D::getBufferParameteriv): 4018 (WebCore::GraphicsContext3D::getFloatv): 4019 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): 4020 (WebCore::GraphicsContext3D::getIntegerv): 4021 (WebCore::GraphicsContext3D::getProgrami): 4022 (WebCore::GraphicsContext3D::getProgramiv): 4023 (WebCore::GraphicsContext3D::getProgramInfoLog): 4024 (WebCore::GraphicsContext3D::getRenderbufferParameteriv): 4025 (WebCore::GraphicsContext3D::getShaderi): 4026 (WebCore::GraphicsContext3D::getShaderiv): 4027 (WebCore::GraphicsContext3D::getShaderInfoLog): 4028 (WebCore::GraphicsContext3D::getShaderSource): 4029 (WebCore::GraphicsContext3D::getTexParameterfv): 4030 (WebCore::GraphicsContext3D::getTexParameteriv): 4031 (WebCore::GraphicsContext3D::getUniformf): 4032 (WebCore::GraphicsContext3D::getUniformfv): 4033 (WebCore::GraphicsContext3D::getUniformi): 4034 (WebCore::GraphicsContext3D::getUniformiv): 4035 (WebCore::GraphicsContext3D::getUniformLocation): 4036 (WebCore::GraphicsContext3D::getVertexAttribfv): 4037 (WebCore::GraphicsContext3D::getVertexAttribiv): 4038 (WebCore::GraphicsContext3D::isBuffer): 4039 (WebCore::GraphicsContext3D::isFramebuffer): 4040 (WebCore::GraphicsContext3D::isProgram): 4041 (WebCore::GraphicsContext3D::isRenderbuffer): 4042 (WebCore::GraphicsContext3D::isShader): 4043 (WebCore::GraphicsContext3D::isTexture): 4044 (WebCore::GraphicsContext3D::readPixels): 4045 (WebCore::GraphicsContext3D::shaderSource): 4046 (WebCore::GraphicsContext3D::texImage2D): 4047 (WebCore::GraphicsContext3D::texSubImage2D): 4048 4049 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4050 4051 Reviewed by Dimitri Glazkov. 4052 4053 Up-streaming Chromium API src files: WebWorker and friends. 4054 4055 https://bugs.webkit.org/show_bug.cgi?id=31276 4056 4057 * src/WebWorkerBase.cpp: Added. 4058 (WebKit::WorkerWebFrameClient::didCreateDataSource): 4059 (WebKit::WorkerWebFrameClient::sharedInstance): 4060 (WebKit::WorkerWebFrameClient::WorkerWebFrameClient): 4061 (WebKit::initializeWebKitStaticValues): 4062 (WebKit::WebWorkerBase::WebWorkerBase): 4063 (WebKit::WebWorkerBase::~WebWorkerBase): 4064 (WebKit::WebWorkerBase::stopWorkerThread): 4065 (WebKit::WebWorkerBase::initializeLoader): 4066 (WebKit::WebWorkerBase::dispatchTaskToMainThread): 4067 (WebKit::WebWorkerBase::invokeTaskMethod): 4068 (WebKit::WebWorkerBase::postMessageToWorkerObject): 4069 (WebKit::WebWorkerBase::postMessageTask): 4070 (WebKit::WebWorkerBase::postExceptionToWorkerObject): 4071 (WebKit::WebWorkerBase::postExceptionTask): 4072 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject): 4073 (WebKit::WebWorkerBase::postConsoleMessageTask): 4074 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject): 4075 (WebKit::WebWorkerBase::confirmMessageTask): 4076 (WebKit::WebWorkerBase::reportPendingActivity): 4077 (WebKit::WebWorkerBase::reportPendingActivityTask): 4078 (WebKit::WebWorkerBase::workerContextClosed): 4079 (WebKit::WebWorkerBase::workerContextClosedTask): 4080 (WebKit::WebWorkerBase::workerContextDestroyed): 4081 (WebKit::WebWorkerBase::workerContextDestroyedTask): 4082 (WebKit::WebWorkerBase::postTaskToLoader): 4083 (WebKit::WebWorkerBase::postTaskForModeToWorkerContext): 4084 * src/WebWorkerBase.h: Added. 4085 (WebKit::WebWorkerBase::setWorkerThread): 4086 (WebKit::WebWorkerBase::workerThread): 4087 * src/WebWorkerClientImpl.cpp: Added. 4088 (WebKit::WebWorkerClientImpl::createWorkerContextProxy): 4089 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl): 4090 (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl): 4091 (WebKit::WebWorkerClientImpl::setWebWorker): 4092 (WebKit::WebWorkerClientImpl::startWorkerContext): 4093 (WebKit::WebWorkerClientImpl::terminateWorkerContext): 4094 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 4095 (WebKit::WebWorkerClientImpl::hasPendingActivity): 4096 (WebKit::WebWorkerClientImpl::workerObjectDestroyed): 4097 (WebKit::WebWorkerClientImpl::postMessageToWorkerObject): 4098 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): 4099 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): 4100 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject): 4101 (WebKit::WebWorkerClientImpl::reportPendingActivity): 4102 (WebKit::WebWorkerClientImpl::workerContextDestroyed): 4103 (WebKit::WebWorkerClientImpl::workerContextClosed): 4104 (WebKit::WebWorkerClientImpl::startWorkerContextTask): 4105 (WebKit::WebWorkerClientImpl::terminateWorkerContextTask): 4106 (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask): 4107 (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask): 4108 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 4109 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): 4110 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): 4111 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask): 4112 (WebKit::WebWorkerClientImpl::reportPendingActivityTask): 4113 * src/WebWorkerClientImpl.h: Added. 4114 (WebKit::WebWorkerClientImpl::createWorker): 4115 (WebKit::WebWorkerClientImpl::notificationPresenter): 4116 * src/WebWorkerImpl.cpp: Added. 4117 (WebKit::WebWorker::create): 4118 (WebKit::WebWorkerImpl::WebWorkerImpl): 4119 (WebKit::WebWorkerImpl::~WebWorkerImpl): 4120 (WebKit::WebWorkerImpl::commonClient): 4121 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 4122 (WebKit::WebWorkerImpl::startWorkerContext): 4123 (WebKit::WebWorkerImpl::terminateWorkerContext): 4124 (WebKit::WebWorkerImpl::postMessageToWorkerContext): 4125 (WebKit::WebWorkerImpl::workerObjectDestroyed): 4126 (WebKit::WebWorkerImpl::clientDestroyed): 4127 * src/WebWorkerImpl.h: Added. 4128 (WebKit::WebWorkerImpl::client): 4129 4130 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4131 4132 Reviewed by Dimitri Glazkov. 4133 4134 Up-streaming Chromium API src files: Platform specific files. 4135 4136 https://bugs.webkit.org/show_bug.cgi?id=31276 4137 4138 * src/gtk/WebFontInfo.cpp: Added. 4139 (WebKit::WebFontInfo::familyForChars): 4140 * src/gtk/WebInputEventFactory.cpp: Added. 4141 (WebKit::gdkEventTimeToWebEventTime): 4142 (WebKit::gdkStateToWebEventModifiers): 4143 (WebKit::gdkEventToWindowsKeyCode): 4144 (WebKit::getControlCharacter): 4145 (WebKit::WebInputEventFactory::keyboardEvent): 4146 (WebKit::WebInputEventFactory::mouseEvent): 4147 (WebKit::WebInputEventFactory::mouseWheelEvent): 4148 * src/gtk/WebScreenInfoFactory.cpp: Added. 4149 (WebKit::WebScreenInfoFactory::screenInfo): 4150 * src/linux/WebFontRendering.cpp: Added. 4151 (WebKit::WebFontRendering::setHinting): 4152 (WebKit::WebFontRendering::setAntiAlias): 4153 (WebKit::WebFontRendering::setSubpixelGlyphs): 4154 (WebKit::WebFontRendering::setLCDOrder): 4155 (WebKit::WebFontRendering::setLCDOrientation): 4156 * src/mac/WebInputEventFactory.mm: Added. 4157 (WebKit::isKeyUpEvent): 4158 (WebKit::isKeypadEvent): 4159 (WebKit::windowsKeyCodeForKeyEvent): 4160 (WebKit::textFromEvent): 4161 (WebKit::unmodifiedTextFromEvent): 4162 (WebKit::keyIdentifierForKeyEvent): 4163 (WebKit::modifiersFromEvent): 4164 (WebKit::WebInputEventFactory::keyboardEvent): 4165 (WebKit::WebInputEventFactory::mouseEvent): 4166 (WebKit::WebInputEventFactory::mouseWheelEvent): 4167 * src/mac/WebScreenInfoFactory.mm: Added. 4168 (WebKit::screenForWindow): 4169 (WebKit::toUserSpace): 4170 (WebKit::WebScreenInfoFactory::screenInfo): 4171 * src/win/WebInputEventFactory.cpp: Added. 4172 (WebKit::isKeyPad): 4173 (WebKit::WebInputEventFactory::keyboardEvent): 4174 (WebKit::GetRelativeCursorPos): 4175 (WebKit::WebInputEventFactory::resetLastClickState): 4176 (WebKit::WebInputEventFactory::mouseEvent): 4177 (WebKit::WebInputEventFactory::mouseWheelEvent): 4178 * src/win/WebScreenInfoFactory.cpp: Added. 4179 (WebKit::toWebRect): 4180 (WebKit::WebScreenInfoFactory::screenInfo): 4181 * src/x11/WebScreenInfoFactory.cpp: Added. 4182 (WebKit::WebScreenInfoFactory::screenInfo): 4183 4184 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4185 4186 Reviewed by Eric Seidel. 4187 4188 Up-streaming Chromium API src files: WrapperResourceRequest and Response 4189 4190 https://bugs.webkit.org/show_bug.cgi?id=31276 4191 4192 * src/WrappedResourceRequest.h: Added. 4193 (WebKit::WrappedResourceRequest::~WrappedResourceRequest): 4194 (WebKit::WrappedResourceRequest::WrappedResourceRequest): 4195 (WebKit::WrappedResourceRequest::bind): 4196 (WebKit::WrappedResourceRequest::Handle::dispose): 4197 * src/WrappedResourceResponse.h: Added. 4198 (WebKit::WrappedResourceResponse::~WrappedResourceResponse): 4199 (WebKit::WrappedResourceResponse::WrappedResourceResponse): 4200 (WebKit::WrappedResourceResponse::bind): 4201 (WebKit::WrappedResourceResponse::Handle::dispose): 4202 4203 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4204 4205 Reviewed by Dimitri Glazkov. 4206 4207 Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy 4208 4209 https://bugs.webkit.org/show_bug.cgi?id=31276 4210 4211 * src/SocketStreamHandle.cpp: Added. 4212 (WebCore::SocketStreamHandleInternal::create): 4213 (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal): 4214 (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal): 4215 (WebCore::SocketStreamHandleInternal::connect): 4216 (WebCore::SocketStreamHandleInternal::send): 4217 (WebCore::SocketStreamHandleInternal::close): 4218 (WebCore::SocketStreamHandleInternal::willOpenStream): 4219 (WebCore::SocketStreamHandleInternal::didOpenStream): 4220 (WebCore::SocketStreamHandleInternal::didSendData): 4221 (WebCore::SocketStreamHandleInternal::didReceiveData): 4222 (WebCore::SocketStreamHandleInternal::didClose): 4223 (WebCore::SocketStreamHandleInternal::didFail): 4224 (WebCore::SocketStreamHandle::SocketStreamHandle): 4225 (WebCore::SocketStreamHandle::~SocketStreamHandle): 4226 (WebCore::SocketStreamHandle::platformSend): 4227 (WebCore::SocketStreamHandle::platformClose): 4228 (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge): 4229 (WebCore::SocketStreamHandle::receivedCredential): 4230 (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential): 4231 (WebCore::SocketStreamHandle::receivedCancellation): 4232 * src/StorageAreaProxy.cpp: Added. 4233 (WebCore::StorageAreaProxy::StorageAreaProxy): 4234 (WebCore::StorageAreaProxy::~StorageAreaProxy): 4235 (WebCore::StorageAreaProxy::length): 4236 (WebCore::StorageAreaProxy::key): 4237 (WebCore::StorageAreaProxy::getItem): 4238 (WebCore::StorageAreaProxy::setItem): 4239 (WebCore::StorageAreaProxy::removeItem): 4240 (WebCore::StorageAreaProxy::clear): 4241 (WebCore::StorageAreaProxy::contains): 4242 * src/StorageAreaProxy.h: Added. 4243 * src/StorageEventDispatcherChromium.cpp: Added. 4244 (WebCore::StorageEventDispatcher::dispatch): 4245 * src/StorageEventDispatcherImpl.cpp: Added. 4246 (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl): 4247 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): 4248 * src/StorageEventDispatcherImpl.h: Added. 4249 * src/StorageNamespaceProxy.cpp: Added. 4250 (WebCore::StorageNamespace::localStorageNamespace): 4251 (WebCore::StorageNamespace::sessionStorageNamespace): 4252 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): 4253 (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy): 4254 (WebCore::StorageNamespaceProxy::copy): 4255 (WebCore::StorageNamespaceProxy::storageArea): 4256 (WebCore::StorageNamespaceProxy::close): 4257 (WebCore::StorageNamespaceProxy::unlock): 4258 * src/StorageNamespaceProxy.h: Added. 4259 4260 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4261 4262 Reviewed by Dimitri Glazkov. 4263 4264 Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository 4265 4266 https://bugs.webkit.org/show_bug.cgi?id=31276 4267 4268 * src/NotificationPresenterImpl.cpp: Added. 4269 (WebKit::VoidCallbackClient::VoidCallbackClient): 4270 (WebKit::VoidCallbackClient::permissionRequestComplete): 4271 (WebKit::NotificationPresenterImpl::initialize): 4272 (WebKit::NotificationPresenterImpl::isInitialized): 4273 (WebKit::NotificationPresenterImpl::show): 4274 (WebKit::NotificationPresenterImpl::cancel): 4275 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed): 4276 (WebKit::NotificationPresenterImpl::checkPermission): 4277 (WebKit::NotificationPresenterImpl::requestPermission): 4278 * src/NotificationPresenterImpl.h: Added. 4279 (WebKit::NotificationPresenterImpl::NotificationPresenterImpl): 4280 * src/PlatformMessagePortChannel.cpp: Added. 4281 (WebCore::MessagePortChannel::create): 4282 (WebCore::MessagePortChannel::createChannel): 4283 (WebCore::MessagePortChannel::MessagePortChannel): 4284 (WebCore::MessagePortChannel::~MessagePortChannel): 4285 (WebCore::MessagePortChannel::entangleIfOpen): 4286 (WebCore::MessagePortChannel::disentangle): 4287 (WebCore::MessagePortChannel::postMessageToRemote): 4288 (WebCore::MessagePortChannel::tryGetMessageFromRemote): 4289 (WebCore::MessagePortChannel::close): 4290 (WebCore::MessagePortChannel::isConnectedTo): 4291 (WebCore::MessagePortChannel::hasPendingActivity): 4292 (WebCore::MessagePortChannel::locallyEntangledPort): 4293 (WebCore::PlatformMessagePortChannel::create): 4294 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel): 4295 (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel): 4296 (WebCore::PlatformMessagePortChannel::createChannel): 4297 (WebCore::PlatformMessagePortChannel::messageAvailable): 4298 (WebCore::PlatformMessagePortChannel::entangleIfOpen): 4299 (WebCore::PlatformMessagePortChannel::disentangle): 4300 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 4301 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 4302 (WebCore::PlatformMessagePortChannel::close): 4303 (WebCore::PlatformMessagePortChannel::isConnectedTo): 4304 (WebCore::PlatformMessagePortChannel::hasPendingActivity): 4305 (WebCore::PlatformMessagePortChannel::setEntangledChannel): 4306 (WebCore::PlatformMessagePortChannel::webChannelRelease): 4307 * src/PlatformMessagePortChannel.h: Added. 4308 * src/ResourceHandle.cpp: Added. 4309 (WebCore::ResourceHandleInternal::ResourceHandleInternal): 4310 (WebCore::ResourceHandleInternal::start): 4311 (WebCore::ResourceHandleInternal::cancel): 4312 (WebCore::ResourceHandleInternal::setDefersLoading): 4313 (WebCore::ResourceHandleInternal::allowStoredCredentials): 4314 (WebCore::ResourceHandleInternal::willSendRequest): 4315 (WebCore::ResourceHandleInternal::didSendData): 4316 (WebCore::ResourceHandleInternal::didReceiveResponse): 4317 (WebCore::ResourceHandleInternal::didReceiveData): 4318 (WebCore::ResourceHandleInternal::didFinishLoading): 4319 (WebCore::ResourceHandleInternal::didFail): 4320 (WebCore::ResourceHandle::ResourceHandle): 4321 (WebCore::ResourceHandle::create): 4322 (WebCore::ResourceHandle::request): 4323 (WebCore::ResourceHandle::client): 4324 (WebCore::ResourceHandle::setClient): 4325 (WebCore::ResourceHandle::setDefersLoading): 4326 (WebCore::ResourceHandle::start): 4327 (WebCore::ResourceHandle::clearAuthentication): 4328 (WebCore::ResourceHandle::cancel): 4329 (WebCore::ResourceHandle::~ResourceHandle): 4330 (WebCore::ResourceHandle::bufferedData): 4331 (WebCore::ResourceHandle::loadsBlocked): 4332 (WebCore::ResourceHandle::supportsBufferedData): 4333 (WebCore::ResourceHandle::loadResourceSynchronously): 4334 (WebCore::ResourceHandle::willLoadFromCache): 4335 * src/SharedWorkerRepository.cpp: Added. 4336 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): 4337 (WebCore::SharedWorkerScriptLoader::load): 4338 (WebCore::getWebPort): 4339 (WebCore::SharedWorkerScriptLoader::notifyFinished): 4340 (WebCore::SharedWorkerScriptLoader::sendConnect): 4341 (WebCore::SharedWorkerScriptLoader::contextDestroyed): 4342 (WebCore::SharedWorkerScriptLoader::connected): 4343 (WebCore::SharedWorkerRepository::isAvailable): 4344 (WebCore::getId): 4345 (WebCore::SharedWorkerRepository::connect): 4346 (WebCore::SharedWorkerRepository::documentDetached): 4347 (WebCore::SharedWorkerRepository::hasSharedWorkers): 4348 4349 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4350 4351 Reviewed by Dimitri Glazkov. 4352 4353 Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium 4354 4355 https://bugs.webkit.org/show_bug.cgi?id=31276 4356 4357 * src/GraphicsContext3D.cpp: Added. 4358 (WebCore::GraphicsContext3DInternal::): 4359 (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState): 4360 (WebCore::tryLoad): 4361 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 4362 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 4363 (WebCore::GraphicsContext3DInternal::checkError): 4364 (WebCore::GraphicsContext3DInternal::makeContextCurrent): 4365 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): 4366 (WebCore::GraphicsContext3DInternal::platformTexture): 4367 (WebCore::createTextureObject): 4368 (WebCore::GraphicsContext3DInternal::reshape): 4369 (WebCore::GraphicsContext3DInternal::flipVertically): 4370 (WebCore::GraphicsContext3DInternal::beginPaint): 4371 (WebCore::GraphicsContext3DInternal::validateTextureTarget): 4372 (WebCore::GraphicsContext3DInternal::validateTextureParameter): 4373 (WebCore::GraphicsContext3DInternal::activeTexture): 4374 (WebCore::GraphicsContext3DInternal::bindBuffer): 4375 (WebCore::GraphicsContext3DInternal::bindTexture): 4376 (WebCore::GraphicsContext3DInternal::bufferDataImpl): 4377 (WebCore::GraphicsContext3DInternal::disableVertexAttribArray): 4378 (WebCore::GraphicsContext3DInternal::enableVertexAttribArray): 4379 (WebCore::GraphicsContext3DInternal::vertexAttribPointer): 4380 (WebCore::GraphicsContext3DInternal::viewportImpl): 4381 (WebCore::GraphicsContext3D::create): 4382 (WebCore::GraphicsContext3D::GraphicsContext3D): 4383 (WebCore::GraphicsContext3D::~GraphicsContext3D): 4384 (WebCore::GraphicsContext3D::platformGraphicsContext3D): 4385 (WebCore::GraphicsContext3D::platformTexture): 4386 (WebCore::GraphicsContext3D::checkError): 4387 (WebCore::GraphicsContext3D::makeContextCurrent): 4388 (WebCore::GraphicsContext3D::reshape): 4389 (WebCore::GraphicsContext3D::beginPaint): 4390 (WebCore::GraphicsContext3D::endPaint): 4391 (WebCore::GraphicsContext3D::sizeInBytes): 4392 (WebCore::GraphicsContext3D::createBuffer): 4393 (WebCore::GraphicsContext3D::createFramebuffer): 4394 (WebCore::GraphicsContext3D::createProgram): 4395 (WebCore::GraphicsContext3D::createRenderbuffer): 4396 (WebCore::GraphicsContext3D::createShader): 4397 (WebCore::GraphicsContext3D::createTexture): 4398 (WebCore::GraphicsContext3D::deleteBuffer): 4399 (WebCore::GraphicsContext3D::deleteFramebuffer): 4400 (WebCore::GraphicsContext3D::deleteProgram): 4401 (WebCore::GraphicsContext3D::deleteRenderbuffer): 4402 (WebCore::GraphicsContext3D::deleteShader): 4403 (WebCore::GraphicsContext3D::deleteTexture): 4404 (WebCore::GraphicsContext3D::activeTexture): 4405 (WebCore::GraphicsContext3D::bindAttribLocation): 4406 (WebCore::GraphicsContext3D::bindBuffer): 4407 (WebCore::GraphicsContext3D::bindTexture): 4408 (WebCore::GraphicsContext3D::bufferData): 4409 (WebCore::GraphicsContext3D::bufferSubData): 4410 (WebCore::GraphicsContext3D::checkFramebufferStatus): 4411 (WebCore::GraphicsContext3D::detachShader): 4412 (WebCore::GraphicsContext3D::disableVertexAttribArray): 4413 (WebCore::GraphicsContext3D::drawArrays): 4414 (WebCore::GraphicsContext3D::drawElements): 4415 (WebCore::GraphicsContext3D::enableVertexAttribArray): 4416 (WebCore::GraphicsContext3D::generateMipmap): 4417 (WebCore::GraphicsContext3D::getActiveAttrib): 4418 (WebCore::GraphicsContext3D::getActiveUniform): 4419 (WebCore::GraphicsContext3D::getAttribLocation): 4420 (WebCore::GraphicsContext3D::getBoolean): 4421 (WebCore::GraphicsContext3D::getBooleanv): 4422 (WebCore::GraphicsContext3D::getBufferParameteri): 4423 (WebCore::GraphicsContext3D::getBufferParameteriv): 4424 (WebCore::GraphicsContext3D::getError): 4425 (WebCore::GraphicsContext3D::getFloat): 4426 (WebCore::GraphicsContext3D::getFloatv): 4427 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri): 4428 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): 4429 (WebCore::GraphicsContext3D::getInteger): 4430 (WebCore::GraphicsContext3D::getIntegerv): 4431 (WebCore::GraphicsContext3D::getProgrami): 4432 (WebCore::GraphicsContext3D::getProgramiv): 4433 (WebCore::GraphicsContext3D::getProgramInfoLog): 4434 (WebCore::GraphicsContext3D::getRenderbufferParameteri): 4435 (WebCore::GraphicsContext3D::getRenderbufferParameteriv): 4436 (WebCore::GraphicsContext3D::getShaderi): 4437 (WebCore::GraphicsContext3D::getShaderiv): 4438 (WebCore::GraphicsContext3D::getShaderInfoLog): 4439 (WebCore::GraphicsContext3D::getShaderSource): 4440 (WebCore::GraphicsContext3D::getString): 4441 (WebCore::GraphicsContext3D::getTexParameterf): 4442 (WebCore::GraphicsContext3D::getTexParameterfv): 4443 (WebCore::GraphicsContext3D::getTexParameteri): 4444 (WebCore::GraphicsContext3D::getTexParameteriv): 4445 (WebCore::GraphicsContext3D::getUniformf): 4446 (WebCore::GraphicsContext3D::getUniformfv): 4447 (WebCore::GraphicsContext3D::getUniformi): 4448 (WebCore::GraphicsContext3D::getUniformiv): 4449 (WebCore::GraphicsContext3D::getUniformLocation): 4450 (WebCore::GraphicsContext3D::getVertexAttribf): 4451 (WebCore::GraphicsContext3D::getVertexAttribfv): 4452 (WebCore::GraphicsContext3D::getVertexAttribi): 4453 (WebCore::GraphicsContext3D::getVertexAttribiv): 4454 (WebCore::GraphicsContext3D::getVertexAttribOffset): 4455 (WebCore::GraphicsContext3D::isBuffer): 4456 (WebCore::GraphicsContext3D::isEnabled): 4457 (WebCore::GraphicsContext3D::isFramebuffer): 4458 (WebCore::GraphicsContext3D::isProgram): 4459 (WebCore::GraphicsContext3D::isRenderbuffer): 4460 (WebCore::GraphicsContext3D::isShader): 4461 (WebCore::GraphicsContext3D::isTexture): 4462 (WebCore::GraphicsContext3D::pixelStorei): 4463 (WebCore::GraphicsContext3D::readPixels): 4464 (WebCore::GraphicsContext3D::releaseShaderCompiler): 4465 (WebCore::GraphicsContext3D::shaderSource): 4466 (WebCore::GraphicsContext3D::texImage2D): 4467 (WebCore::unmultiplyAlpha): 4468 (WebCore::texImage2DHelper): 4469 (WebCore::GraphicsContext3D::texSubImage2D): 4470 (WebCore::GraphicsContext3D::uniform1fv): 4471 (WebCore::GraphicsContext3D::uniform1iv): 4472 (WebCore::GraphicsContext3D::uniform2fv): 4473 (WebCore::GraphicsContext3D::uniform2iv): 4474 (WebCore::GraphicsContext3D::uniform3fv): 4475 (WebCore::GraphicsContext3D::uniform3iv): 4476 (WebCore::GraphicsContext3D::uniform4fv): 4477 (WebCore::GraphicsContext3D::uniform4iv): 4478 (WebCore::GraphicsContext3D::uniformMatrix2fv): 4479 (WebCore::GraphicsContext3D::uniformMatrix3fv): 4480 (WebCore::GraphicsContext3D::uniformMatrix4fv): 4481 (WebCore::GraphicsContext3D::vertexAttrib1fv): 4482 (WebCore::GraphicsContext3D::vertexAttrib2fv): 4483 (WebCore::GraphicsContext3D::vertexAttrib3fv): 4484 (WebCore::GraphicsContext3D::vertexAttrib4fv): 4485 (WebCore::GraphicsContext3D::vertexAttribPointer): 4486 (WebCore::GraphicsContext3D::viewport): 4487 * src/InspectorClientImpl.cpp: Added. 4488 (WebKit::InspectorClientImpl::InspectorClientImpl): 4489 (WebKit::InspectorClientImpl::~InspectorClientImpl): 4490 (WebKit::InspectorClientImpl::inspectorDestroyed): 4491 (WebKit::InspectorClientImpl::createPage): 4492 (WebKit::InspectorClientImpl::showWindow): 4493 (WebKit::InspectorClientImpl::closeWindow): 4494 (WebKit::InspectorClientImpl::windowVisible): 4495 (WebKit::InspectorClientImpl::attachWindow): 4496 (WebKit::InspectorClientImpl::detachWindow): 4497 (WebKit::InspectorClientImpl::setAttachedWindowHeight): 4498 (WebKit::invalidateNodeBoundingRect): 4499 (WebKit::InspectorClientImpl::highlight): 4500 (WebKit::InspectorClientImpl::hideHighlight): 4501 (WebKit::InspectorClientImpl::inspectedURLChanged): 4502 (WebKit::InspectorClientImpl::localizedStringsURL): 4503 (WebKit::InspectorClientImpl::hiddenPanels): 4504 (WebKit::InspectorClientImpl::populateSetting): 4505 (WebKit::InspectorClientImpl::storeSetting): 4506 (WebKit::InspectorClientImpl::removeSetting): 4507 (WebKit::InspectorClientImpl::inspectorWindowObjectCleared): 4508 (WebKit::InspectorClientImpl::loadSettings): 4509 (WebKit::InspectorClientImpl::saveSettings): 4510 * src/InspectorClientImpl.h: Added. 4511 * src/LocalizedStrings.cpp: Added. 4512 (WebCore::query): 4513 (WebCore::searchableIndexIntroduction): 4514 (WebCore::submitButtonDefaultLabel): 4515 (WebCore::inputElementAltText): 4516 (WebCore::resetButtonDefaultLabel): 4517 (WebCore::fileButtonChooseFileLabel): 4518 (WebCore::fileButtonNoFileSelectedLabel): 4519 (WebCore::searchMenuNoRecentSearchesText): 4520 (WebCore::searchMenuRecentSearchesText): 4521 (WebCore::searchMenuClearRecentSearchesText): 4522 (WebCore::AXWebAreaText): 4523 (WebCore::AXLinkText): 4524 (WebCore::AXListMarkerText): 4525 (WebCore::AXImageMapText): 4526 (WebCore::AXHeadingText): 4527 (WebCore::AXDefinitionListTermText): 4528 (WebCore::AXDefinitionListDefinitionText): 4529 (WebCore::AXButtonActionVerb): 4530 (WebCore::AXRadioButtonActionVerb): 4531 (WebCore::AXTextFieldActionVerb): 4532 (WebCore::AXCheckedCheckBoxActionVerb): 4533 (WebCore::AXUncheckedCheckBoxActionVerb): 4534 (WebCore::AXLinkActionVerb): 4535 (WebCore::multipleFileUploadText): 4536 (WebCore::unknownFileSizeText): 4537 (WebCore::keygenMenuHighGradeKeySize): 4538 (WebCore::keygenMenuMediumGradeKeySize): 4539 (WebCore::imageTitle): 4540 (WebCore::contextMenuItemTagOpenLinkInNewWindow): 4541 (WebCore::contextMenuItemTagDownloadLinkToDisk): 4542 (WebCore::contextMenuItemTagCopyLinkToClipboard): 4543 (WebCore::contextMenuItemTagOpenImageInNewWindow): 4544 (WebCore::contextMenuItemTagDownloadImageToDisk): 4545 (WebCore::contextMenuItemTagCopyImageToClipboard): 4546 (WebCore::contextMenuItemTagOpenFrameInNewWindow): 4547 (WebCore::contextMenuItemTagCopy): 4548 (WebCore::contextMenuItemTagGoBack): 4549 (WebCore::contextMenuItemTagGoForward): 4550 (WebCore::contextMenuItemTagStop): 4551 (WebCore::contextMenuItemTagReload): 4552 (WebCore::contextMenuItemTagCut): 4553 (WebCore::contextMenuItemTagPaste): 4554 (WebCore::contextMenuItemTagNoGuessesFound): 4555 (WebCore::contextMenuItemTagIgnoreSpelling): 4556 (WebCore::contextMenuItemTagLearnSpelling): 4557 (WebCore::contextMenuItemTagSearchWeb): 4558 (WebCore::contextMenuItemTagLookUpInDictionary): 4559 (WebCore::contextMenuItemTagOpenLink): 4560 (WebCore::contextMenuItemTagIgnoreGrammar): 4561 (WebCore::contextMenuItemTagSpellingMenu): 4562 (WebCore::contextMenuItemTagCheckSpelling): 4563 (WebCore::contextMenuItemTagCheckSpellingWhileTyping): 4564 (WebCore::contextMenuItemTagCheckGrammarWithSpelling): 4565 (WebCore::contextMenuItemTagFontMenu): 4566 (WebCore::contextMenuItemTagBold): 4567 (WebCore::contextMenuItemTagItalic): 4568 (WebCore::contextMenuItemTagUnderline): 4569 (WebCore::contextMenuItemTagOutline): 4570 (WebCore::contextMenuItemTagWritingDirectionMenu): 4571 (WebCore::contextMenuItemTagTextDirectionMenu): 4572 (WebCore::contextMenuItemTagDefaultDirection): 4573 (WebCore::contextMenuItemTagLeftToRight): 4574 (WebCore::contextMenuItemTagRightToLeft): 4575 (WebCore::contextMenuItemTagInspectElement): 4576 (WebCore::contextMenuItemTagShowSpellingPanel): 4577 (WebCore::mediaElementLiveBroadcastStateText): 4578 (WebCore::mediaElementLoadingStateText): 4579 (WebCore::localizedMediaControlElementString): 4580 (WebCore::localizedMediaControlElementHelpText): 4581 (WebCore::localizedMediaTimeDescription): 4582 * src/MediaPlayerPrivateChromium.cpp: Added. 4583 (WebCore::MediaPlayerPrivate::registerMediaEngine): 4584 4585 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4586 4587 Reviewed by Dimitri Glazkov. 4588 4589 Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl 4590 4591 https://bugs.webkit.org/show_bug.cgi?id=31276 4592 4593 * src/DOMUtilitiesPrivate.cpp: Added. 4594 (WebCore::toHTMLElement): 4595 (WebKit::toHTMLInputElement): 4596 (WebKit::toHTMLLinkElement): 4597 (WebKit::toHTMLMetaElement): 4598 (WebKit::toHTMLOptionElement): 4599 (WebKit::nameOfInputElement): 4600 * src/DOMUtilitiesPrivate.h: Added. 4601 * src/DragClientImpl.cpp: Added. 4602 (WebKit::DragClientImpl::willPerformDragDestinationAction): 4603 (WebKit::DragClientImpl::willPerformDragSourceAction): 4604 (WebKit::DragClientImpl::actionMaskForDrag): 4605 (WebKit::DragClientImpl::dragSourceActionMaskForPoint): 4606 (WebKit::DragClientImpl::startDrag): 4607 (WebKit::DragClientImpl::createDragImageForLink): 4608 (WebKit::DragClientImpl::dragControllerDestroyed): 4609 * src/DragClientImpl.h: Added. 4610 (WebKit::DragClientImpl::DragClientImpl): 4611 * src/EditorClientImpl.cpp: Added. 4612 (WebKit::EditorClientImpl::EditorClientImpl): 4613 (WebKit::EditorClientImpl::~EditorClientImpl): 4614 (WebKit::EditorClientImpl::pageDestroyed): 4615 (WebKit::EditorClientImpl::shouldShowDeleteInterface): 4616 (WebKit::EditorClientImpl::smartInsertDeleteEnabled): 4617 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): 4618 (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 4619 (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled): 4620 (WebKit::EditorClientImpl::toggleContinuousSpellChecking): 4621 (WebKit::EditorClientImpl::isGrammarCheckingEnabled): 4622 (WebKit::EditorClientImpl::toggleGrammarChecking): 4623 (WebKit::EditorClientImpl::spellCheckerDocumentTag): 4624 (WebKit::EditorClientImpl::isEditable): 4625 (WebKit::EditorClientImpl::shouldBeginEditing): 4626 (WebKit::EditorClientImpl::shouldEndEditing): 4627 (WebKit::EditorClientImpl::shouldInsertNode): 4628 (WebKit::EditorClientImpl::shouldInsertText): 4629 (WebKit::EditorClientImpl::shouldDeleteRange): 4630 (WebKit::EditorClientImpl::shouldChangeSelectedRange): 4631 (WebKit::EditorClientImpl::shouldApplyStyle): 4632 (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete): 4633 (WebKit::EditorClientImpl::didBeginEditing): 4634 (WebKit::EditorClientImpl::respondToChangedSelection): 4635 (WebKit::EditorClientImpl::respondToChangedContents): 4636 (WebKit::EditorClientImpl::didEndEditing): 4637 (WebKit::EditorClientImpl::didWriteSelectionToPasteboard): 4638 (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard): 4639 (WebKit::EditorClientImpl::registerCommandForUndo): 4640 (WebKit::EditorClientImpl::registerCommandForRedo): 4641 (WebKit::EditorClientImpl::clearUndoRedoOperations): 4642 (WebKit::EditorClientImpl::canUndo): 4643 (WebKit::EditorClientImpl::canRedo): 4644 (WebKit::EditorClientImpl::undo): 4645 (WebKit::EditorClientImpl::redo): 4646 (WebKit::): 4647 (WebKit::EditorClientImpl::interpretKeyEvent): 4648 (WebKit::EditorClientImpl::handleEditingKeyboardEvent): 4649 (WebKit::EditorClientImpl::handleKeyboardEvent): 4650 (WebKit::EditorClientImpl::handleInputMethodKeydown): 4651 (WebKit::EditorClientImpl::textFieldDidBeginEditing): 4652 (WebKit::EditorClientImpl::textFieldDidEndEditing): 4653 (WebKit::EditorClientImpl::textDidChangeInTextField): 4654 (WebKit::EditorClientImpl::showFormAutofillForNode): 4655 (WebKit::EditorClientImpl::autofill): 4656 (WebKit::EditorClientImpl::doAutofill): 4657 (WebKit::EditorClientImpl::cancelPendingAutofill): 4658 (WebKit::EditorClientImpl::onAutofillSuggestionAccepted): 4659 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent): 4660 (WebKit::EditorClientImpl::textWillBeDeletedInTextField): 4661 (WebKit::EditorClientImpl::textDidChangeInTextArea): 4662 (WebKit::EditorClientImpl::ignoreWordInSpellDocument): 4663 (WebKit::EditorClientImpl::learnWord): 4664 (WebKit::EditorClientImpl::checkSpellingOfString): 4665 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord): 4666 (WebKit::EditorClientImpl::checkGrammarOfString): 4667 (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString): 4668 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord): 4669 (WebKit::EditorClientImpl::showSpellingUI): 4670 (WebKit::EditorClientImpl::spellingUIIsShowing): 4671 (WebKit::EditorClientImpl::getGuessesForWord): 4672 (WebKit::EditorClientImpl::setInputMethodState): 4673 * src/EditorClientImpl.h: Added. 4674 (WebKit::EditorClientImpl::): 4675 * src/FrameLoaderClientImpl.cpp: Added. 4676 (WebKit::): 4677 (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl): 4678 (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl): 4679 (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed): 4680 (WebKit::FrameLoaderClientImpl::windowObjectCleared): 4681 (WebKit::FrameLoaderClientImpl::documentElementAvailable): 4682 (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame): 4683 (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame): 4684 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext): 4685 (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation): 4686 (WebKit::FrameLoaderClientImpl::registerForIconNotification): 4687 (WebKit::FrameLoaderClientImpl::didChangeScrollOffset): 4688 (WebKit::FrameLoaderClientImpl::allowJavaScript): 4689 (WebKit::FrameLoaderClientImpl::hasWebView): 4690 (WebKit::FrameLoaderClientImpl::hasFrameView): 4691 (WebKit::FrameLoaderClientImpl::makeDocumentView): 4692 (WebKit::FrameLoaderClientImpl::makeRepresentation): 4693 (WebKit::FrameLoaderClientImpl::forceLayout): 4694 (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML): 4695 (WebKit::FrameLoaderClientImpl::setCopiesOnScroll): 4696 (WebKit::FrameLoaderClientImpl::detachedFromParent2): 4697 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 4698 (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest): 4699 (WebKit::determineTargetTypeFromLoader): 4700 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 4701 (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage): 4702 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge): 4703 (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge): 4704 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse): 4705 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength): 4706 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading): 4707 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading): 4708 (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad): 4709 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache): 4710 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest): 4711 (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents): 4712 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad): 4713 (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect): 4714 (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect): 4715 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 4716 (WebKit::FrameLoaderClientImpl::dispatchWillClose): 4717 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon): 4718 (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad): 4719 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle): 4720 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): 4721 (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad): 4722 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad): 4723 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad): 4724 (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout): 4725 (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout): 4726 (WebKit::FrameLoaderClientImpl::dispatchCreatePage): 4727 (WebKit::FrameLoaderClientImpl::dispatchShow): 4728 (WebKit::shouldTreatAsAttachment): 4729 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType): 4730 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction): 4731 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction): 4732 (WebKit::FrameLoaderClientImpl::cancelPolicyCheck): 4733 (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy): 4734 (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm): 4735 (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource): 4736 (WebKit::FrameLoaderClientImpl::revertToProvisionalState): 4737 (WebKit::FrameLoaderClientImpl::setMainDocumentError): 4738 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): 4739 (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification): 4740 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): 4741 (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady): 4742 (WebKit::FrameLoaderClientImpl::startDownload): 4743 (WebKit::FrameLoaderClientImpl::willChangeTitle): 4744 (WebKit::FrameLoaderClientImpl::didChangeTitle): 4745 (WebKit::FrameLoaderClientImpl::committedLoad): 4746 (WebKit::FrameLoaderClientImpl::finishedLoading): 4747 (WebKit::FrameLoaderClientImpl::updateGlobalHistory): 4748 (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks): 4749 (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): 4750 (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent): 4751 (WebKit::FrameLoaderClientImpl::didRunInsecureContent): 4752 (WebKit::FrameLoaderClientImpl::blockedError): 4753 (WebKit::FrameLoaderClientImpl::cancelledError): 4754 (WebKit::FrameLoaderClientImpl::cannotShowURLError): 4755 (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError): 4756 (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError): 4757 (WebKit::FrameLoaderClientImpl::fileDoesNotExistError): 4758 (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError): 4759 (WebKit::FrameLoaderClientImpl::shouldFallBack): 4760 (WebKit::FrameLoaderClientImpl::canHandleRequest): 4761 (WebKit::FrameLoaderClientImpl::canShowMIMEType): 4762 (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme): 4763 (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme): 4764 (WebKit::FrameLoaderClientImpl::frameLoadCompleted): 4765 (WebKit::FrameLoaderClientImpl::saveViewStateToItem): 4766 (WebKit::FrameLoaderClientImpl::restoreViewState): 4767 (WebKit::FrameLoaderClientImpl::provisionalLoadStarted): 4768 (WebKit::FrameLoaderClientImpl::didFinishLoad): 4769 (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement): 4770 (WebKit::FrameLoaderClientImpl::createDocumentLoader): 4771 (WebKit::FrameLoaderClientImpl::setTitle): 4772 (WebKit::FrameLoaderClientImpl::userAgent): 4773 (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame): 4774 (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame): 4775 (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage): 4776 (WebKit::FrameLoaderClientImpl::canCachePage): 4777 (WebKit::FrameLoaderClientImpl::download): 4778 (WebKit::FrameLoaderClientImpl::createFrame): 4779 (WebKit::FrameLoaderClientImpl::createPlugin): 4780 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin): 4781 (WebKit::FrameLoaderClientImpl::createJavaAppletWidget): 4782 (WebKit::FrameLoaderClientImpl::objectContentType): 4783 (WebKit::FrameLoaderClientImpl::overrideMediaType): 4784 (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy): 4785 (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation): 4786 (WebKit::FrameLoaderClientImpl::pluginLoadObserver): 4787 * src/FrameLoaderClientImpl.h: Added. 4788 (WebKit::FrameLoaderClientImpl::webFrame): 4789 (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress): 4790 (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress): 4791 4792 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4793 4794 Reviewed by Dimitri Glazkov. 4795 4796 Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl 4797 4798 https://bugs.webkit.org/show_bug.cgi?id=31276 4799 4800 * src/ChromeClientImpl.cpp: Added. 4801 (WebKit::ChromeClientImpl::ChromeClientImpl): 4802 (WebKit::ChromeClientImpl::~ChromeClientImpl): 4803 (WebKit::ChromeClientImpl::chromeDestroyed): 4804 (WebKit::ChromeClientImpl::setWindowRect): 4805 (WebKit::ChromeClientImpl::windowRect): 4806 (WebKit::ChromeClientImpl::pageRect): 4807 (WebKit::ChromeClientImpl::scaleFactor): 4808 (WebKit::ChromeClientImpl::focus): 4809 (WebKit::ChromeClientImpl::unfocus): 4810 (WebKit::ChromeClientImpl::canTakeFocus): 4811 (WebKit::ChromeClientImpl::takeFocus): 4812 (WebKit::ChromeClientImpl::focusedNodeChanged): 4813 (WebKit::ChromeClientImpl::createWindow): 4814 (WebKit::currentEventShouldCauseBackgroundTab): 4815 (WebKit::ChromeClientImpl::show): 4816 (WebKit::ChromeClientImpl::canRunModal): 4817 (WebKit::ChromeClientImpl::runModal): 4818 (WebKit::ChromeClientImpl::setToolbarsVisible): 4819 (WebKit::ChromeClientImpl::toolbarsVisible): 4820 (WebKit::ChromeClientImpl::setStatusbarVisible): 4821 (WebKit::ChromeClientImpl::statusbarVisible): 4822 (WebKit::ChromeClientImpl::setScrollbarsVisible): 4823 (WebKit::ChromeClientImpl::scrollbarsVisible): 4824 (WebKit::ChromeClientImpl::setMenubarVisible): 4825 (WebKit::ChromeClientImpl::menubarVisible): 4826 (WebKit::ChromeClientImpl::setResizable): 4827 (WebKit::ChromeClientImpl::addMessageToConsole): 4828 (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel): 4829 (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel): 4830 (WebKit::ChromeClientImpl::closeWindowSoon): 4831 (WebKit::ChromeClientImpl::runJavaScriptAlert): 4832 (WebKit::ChromeClientImpl::runJavaScriptConfirm): 4833 (WebKit::ChromeClientImpl::runJavaScriptPrompt): 4834 (WebKit::ChromeClientImpl::setStatusbarText): 4835 (WebKit::ChromeClientImpl::shouldInterruptJavaScript): 4836 (WebKit::ChromeClientImpl::tabsToLinks): 4837 (WebKit::ChromeClientImpl::windowResizerRect): 4838 (WebKit::ChromeClientImpl::repaint): 4839 (WebKit::ChromeClientImpl::scroll): 4840 (WebKit::ChromeClientImpl::screenToWindow): 4841 (WebKit::ChromeClientImpl::windowToScreen): 4842 (WebKit::ChromeClientImpl::contentsSizeChanged): 4843 (WebKit::ChromeClientImpl::scrollbarsModeDidChange): 4844 (WebKit::ChromeClientImpl::mouseDidMoveOverElement): 4845 (WebKit::ChromeClientImpl::setToolTip): 4846 (WebKit::ChromeClientImpl::print): 4847 (WebKit::ChromeClientImpl::exceededDatabaseQuota): 4848 (WebKit::ChromeClientImpl::reachedMaxAppCacheSize): 4849 (WebKit::ChromeClientImpl::runOpenPanel): 4850 (WebKit::ChromeClientImpl::popupOpened): 4851 (WebKit::ChromeClientImpl::setCursor): 4852 (WebKit::ChromeClientImpl::setCursorForPlugin): 4853 (WebKit::ChromeClientImpl::formStateDidChange): 4854 (WebKit::ChromeClientImpl::getPopupMenuInfo): 4855 (WebKit::ChromeClientImpl::notificationPresenter): 4856 * src/ChromeClientImpl.h: Added. 4857 (WebKit::ChromeClientImpl::webView): 4858 (WebKit::ChromeClientImpl::platformPageClient): 4859 (WebKit::ChromeClientImpl::scrollRectIntoView): 4860 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): 4861 (WebKit::ChromeClientImpl::setCursor): 4862 (WebKit::ChromeClientImpl::createHTMLParserQuirks): 4863 * src/ChromiumBridge.cpp: Added. 4864 (WebCore::toChromeClientImpl): 4865 (WebCore::toWebWidgetClient): 4866 (WebCore::ChromiumBridge::clipboardIsFormatAvailable): 4867 (WebCore::ChromiumBridge::clipboardReadPlainText): 4868 (WebCore::ChromiumBridge::clipboardReadHTML): 4869 (WebCore::ChromiumBridge::clipboardWriteSelection): 4870 (WebCore::ChromiumBridge::clipboardWritePlainText): 4871 (WebCore::ChromiumBridge::clipboardWriteURL): 4872 (WebCore::ChromiumBridge::clipboardWriteImage): 4873 (WebCore::ChromiumBridge::setCookies): 4874 (WebCore::ChromiumBridge::cookies): 4875 (WebCore::ChromiumBridge::rawCookies): 4876 (WebCore::ChromiumBridge::deleteCookie): 4877 (WebCore::ChromiumBridge::prefetchDNS): 4878 (WebCore::ChromiumBridge::fileExists): 4879 (WebCore::ChromiumBridge::deleteFile): 4880 (WebCore::ChromiumBridge::deleteEmptyDirectory): 4881 (WebCore::ChromiumBridge::getFileSize): 4882 (WebCore::ChromiumBridge::getFileModificationTime): 4883 (WebCore::ChromiumBridge::directoryName): 4884 (WebCore::ChromiumBridge::pathByAppendingComponent): 4885 (WebCore::ChromiumBridge::makeAllDirectories): 4886 (WebCore::ChromiumBridge::getAbsolutePath): 4887 (WebCore::ChromiumBridge::isDirectory): 4888 (WebCore::ChromiumBridge::filePathToURL): 4889 (WebCore::ChromiumBridge::ensureFontLoaded): 4890 (WebCore::ChromiumBridge::getFontFamilyForCharacters): 4891 (WebCore::ChromiumBridge::databaseOpenFile): 4892 (WebCore::ChromiumBridge::databaseDeleteFile): 4893 (WebCore::ChromiumBridge::databaseGetFileAttributes): 4894 (WebCore::ChromiumBridge::databaseGetFileSize): 4895 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString): 4896 (WebCore::ChromiumBridge::computedDefaultLanguage): 4897 (WebCore::ChromiumBridge::layoutTestMode): 4898 (WebCore::ChromiumBridge::isSupportedImageMIMEType): 4899 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType): 4900 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType): 4901 (WebCore::ChromiumBridge::mimeTypeForExtension): 4902 (WebCore::ChromiumBridge::mimeTypeFromFile): 4903 (WebCore::ChromiumBridge::preferredExtensionForMIMEType): 4904 (WebCore::ChromiumBridge::plugins): 4905 (WebCore::ChromiumBridge::pluginScriptableObject): 4906 (WebCore::ChromiumBridge::loadPlatformImageResource): 4907 (WebCore::ChromiumBridge::sandboxEnabled): 4908 (WebCore::ChromiumBridge::setSharedTimerFiredFunction): 4909 (WebCore::ChromiumBridge::setSharedTimerFireTime): 4910 (WebCore::ChromiumBridge::stopSharedTimer): 4911 (WebCore::ChromiumBridge::decrementStatsCounter): 4912 (WebCore::ChromiumBridge::incrementStatsCounter): 4913 (WebCore::ChromiumBridge::suddenTerminationChanged): 4914 (WebCore::ChromiumBridge::currentTime): 4915 (WebCore::ChromiumBridge::paintButton): 4916 (WebCore::ChromiumBridge::paintMenuList): 4917 (WebCore::ChromiumBridge::paintScrollbarArrow): 4918 (WebCore::ChromiumBridge::paintScrollbarThumb): 4919 (WebCore::ChromiumBridge::paintScrollbarTrack): 4920 (WebCore::ChromiumBridge::paintTextField): 4921 (WebCore::ChromiumBridge::paintTrackbar): 4922 (WebCore::ChromiumBridge::traceEventBegin): 4923 (WebCore::ChromiumBridge::traceEventEnd): 4924 (WebCore::ChromiumBridge::visitedLinkHash): 4925 (WebCore::ChromiumBridge::isLinkVisited): 4926 (WebCore::ChromiumBridge::notifyJSOutOfMemory): 4927 (WebCore::ChromiumBridge::memoryUsageMB): 4928 (WebCore::ChromiumBridge::screenDepth): 4929 (WebCore::ChromiumBridge::screenDepthPerComponent): 4930 (WebCore::ChromiumBridge::screenIsMonochrome): 4931 (WebCore::ChromiumBridge::screenRect): 4932 (WebCore::ChromiumBridge::screenAvailableRect): 4933 (WebCore::ChromiumBridge::popupsAllowed): 4934 (WebCore::ChromiumBridge::widgetSetCursor): 4935 (WebCore::ChromiumBridge::widgetSetFocus): 4936 (WebCore::WorkerContextProxy::create): 4937 * src/ChromiumCurrentTime.cpp: Added. 4938 (WTF::currentTime): 4939 * src/ChromiumThreading.cpp: Added. 4940 (WTF::ChromiumThreading::initializeMainThread): 4941 (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread): 4942 * src/ContextMenuClientImpl.cpp: Added. 4943 (WebKit::urlFromFrame): 4944 (WebKit::isASingleWord): 4945 (WebKit::selectMisspelledWord): 4946 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 4947 * src/ContextMenuClientImpl.h: Added. 4948 (WebKit::ContextMenuClientImpl::ContextMenuClientImpl): 4949 (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl): 4950 (WebKit::ContextMenuClientImpl::copyImageToClipboard): 4951 (WebKit::ContextMenuClientImpl::contextMenuDestroyed): 4952 (WebKit::ContextMenuClientImpl::contextMenuItemSelected): 4953 (WebKit::ContextMenuClientImpl::downloadURL): 4954 (WebKit::ContextMenuClientImpl::isSpeaking): 4955 (WebKit::ContextMenuClientImpl::lookUpInDictionary): 4956 (WebKit::ContextMenuClientImpl::searchWithGoogle): 4957 (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem): 4958 (WebKit::ContextMenuClientImpl::speak): 4959 (WebKit::ContextMenuClientImpl::stopSpeaking): 4960 4961 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 4962 4963 Reviewed by Dimitri Glazkov. 4964 4965 Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl 4966 4967 https://bugs.webkit.org/show_bug.cgi?id=31276 4968 4969 * src/ApplicationCacheHost.cpp: Added. 4970 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal): 4971 (WebCore::ApplicationCacheHostInternal::notifyEventListener): 4972 (WebCore::ApplicationCacheHost::ApplicationCacheHost): 4973 (WebCore::ApplicationCacheHost::~ApplicationCacheHost): 4974 (WebCore::ApplicationCacheHost::maybeLoadMainResource): 4975 (WebCore::ApplicationCacheHost::selectCacheWithoutManifest): 4976 (WebCore::ApplicationCacheHost::selectCacheWithManifest): 4977 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse): 4978 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError): 4979 (WebCore::ApplicationCacheHost::mainResourceDataReceived): 4980 (WebCore::ApplicationCacheHost::failedLoadingMainResource): 4981 (WebCore::ApplicationCacheHost::finishedLoadingMainResource): 4982 (WebCore::ApplicationCacheHost::maybeLoadResource): 4983 (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect): 4984 (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse): 4985 (WebCore::ApplicationCacheHost::maybeLoadFallbackForError): 4986 (WebCore::ApplicationCacheHost::maybeLoadSynchronously): 4987 (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously): 4988 (WebCore::ApplicationCacheHost::canCacheInPageCache): 4989 (WebCore::ApplicationCacheHost::setDOMApplicationCache): 4990 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): 4991 (WebCore::ApplicationCacheHost::status): 4992 (WebCore::ApplicationCacheHost::update): 4993 (WebCore::ApplicationCacheHost::swapCache): 4994 (WebCore::ApplicationCacheHost::isApplicationCacheEnabled): 4995 * src/AssertMatchingEnums.cpp: Added. 4996 * src/AutocompletePopupMenuClient.cpp: Added. 4997 (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient): 4998 (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient): 4999 (WebKit::AutocompletePopupMenuClient::initialize): 5000 (WebKit::AutocompletePopupMenuClient::valueChanged): 5001 (WebKit::AutocompletePopupMenuClient::itemText): 5002 (WebKit::AutocompletePopupMenuClient::itemStyle): 5003 (WebKit::AutocompletePopupMenuClient::menuStyle): 5004 (WebKit::AutocompletePopupMenuClient::clientPaddingLeft): 5005 (WebKit::AutocompletePopupMenuClient::clientPaddingRight): 5006 (WebKit::AutocompletePopupMenuClient::popupDidHide): 5007 (WebKit::AutocompletePopupMenuClient::setTextFromItem): 5008 (WebKit::AutocompletePopupMenuClient::fontSelector): 5009 (WebKit::AutocompletePopupMenuClient::hostWindow): 5010 (WebKit::AutocompletePopupMenuClient::createScrollbar): 5011 (WebKit::AutocompletePopupMenuClient::setSuggestions): 5012 (WebKit::AutocompletePopupMenuClient::removeItemAtIndex): 5013 (WebKit::AutocompletePopupMenuClient::textFieldStyle): 5014 * src/AutocompletePopupMenuClient.h: Added. 5015 (WebKit::AutocompletePopupMenuClient::textField): 5016 (WebKit::AutocompletePopupMenuClient::itemToolTip): 5017 (WebKit::AutocompletePopupMenuClient::itemIsEnabled): 5018 (WebKit::AutocompletePopupMenuClient::clientInsetLeft): 5019 (WebKit::AutocompletePopupMenuClient::clientInsetRight): 5020 (WebKit::AutocompletePopupMenuClient::listSize): 5021 (WebKit::AutocompletePopupMenuClient::selectedIndex): 5022 (WebKit::AutocompletePopupMenuClient::itemIsSeparator): 5023 (WebKit::AutocompletePopupMenuClient::itemIsLabel): 5024 (WebKit::AutocompletePopupMenuClient::itemIsSelected): 5025 (WebKit::AutocompletePopupMenuClient::shouldPopOver): 5026 (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack): 5027 * src/BackForwardListClientImpl.cpp: Added. 5028 (WebKit::BackForwardListClientImpl::BackForwardListClientImpl): 5029 (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl): 5030 (WebKit::BackForwardListClientImpl::setCurrentHistoryItem): 5031 (WebKit::BackForwardListClientImpl::previousHistoryItem): 5032 (WebKit::BackForwardListClientImpl::addItem): 5033 (WebKit::BackForwardListClientImpl::goToItem): 5034 (WebKit::BackForwardListClientImpl::currentItem): 5035 (WebKit::BackForwardListClientImpl::itemAtIndex): 5036 (WebKit::BackForwardListClientImpl::backListCount): 5037 (WebKit::BackForwardListClientImpl::forwardListCount): 5038 (WebKit::BackForwardListClientImpl::close): 5039 * src/BackForwardListClientImpl.h: Added. 5040 5041 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 5042 5043 Reviewed by Dimitri Glazkov. 5044 5045 Up-streaming Chromium API src files: WebString...WebViewImpl 5046 5047 https://bugs.webkit.org/show_bug.cgi?id=31276 5048 5049 * src/WebString.cpp: Added. 5050 (WebKit::WebString::reset): 5051 (WebKit::WebString::assign): 5052 (WebKit::WebString::length): 5053 (WebKit::WebString::data): 5054 (WebKit::WebString::utf8): 5055 (WebKit::WebString::fromUTF8): 5056 (WebKit::WebString::WebString): 5057 (WebKit::WebString::operator=): 5058 (WebKit::WebString::operator WebCore::String): 5059 (WebKit::WebString::operator WebCore::AtomicString): 5060 * src/WebURL.cpp: Added. 5061 (WebKit::WebURL::WebURL): 5062 (WebKit::WebURL::operator=): 5063 (WebKit::WebURL::operator WebCore::KURL): 5064 * src/WebURLError.cpp: Added. 5065 (WebKit::WebURLError::WebURLError): 5066 (WebKit::WebURLError::operator=): 5067 (WebKit::WebURLError::operator ResourceError): 5068 * src/WebURLRequest.cpp: Added. 5069 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): 5070 (WebKit::WebURLRequestPrivateImpl::dispose): 5071 (WebKit::WebURLRequest::initialize): 5072 (WebKit::WebURLRequest::reset): 5073 (WebKit::WebURLRequest::assign): 5074 (WebKit::WebURLRequest::isNull): 5075 (WebKit::WebURLRequest::url): 5076 (WebKit::WebURLRequest::setURL): 5077 (WebKit::WebURLRequest::firstPartyForCookies): 5078 (WebKit::WebURLRequest::setFirstPartyForCookies): 5079 (WebKit::WebURLRequest::allowCookies): 5080 (WebKit::WebURLRequest::setAllowCookies): 5081 (WebKit::WebURLRequest::allowStoredCredentials): 5082 (WebKit::WebURLRequest::setAllowStoredCredentials): 5083 (WebKit::WebURLRequest::cachePolicy): 5084 (WebKit::WebURLRequest::setCachePolicy): 5085 (WebKit::WebURLRequest::httpMethod): 5086 (WebKit::WebURLRequest::setHTTPMethod): 5087 (WebKit::WebURLRequest::httpHeaderField): 5088 (WebKit::WebURLRequest::setHTTPHeaderField): 5089 (WebKit::WebURLRequest::addHTTPHeaderField): 5090 (WebKit::WebURLRequest::clearHTTPHeaderField): 5091 (WebKit::WebURLRequest::visitHTTPHeaderFields): 5092 (WebKit::WebURLRequest::httpBody): 5093 (WebKit::WebURLRequest::setHTTPBody): 5094 (WebKit::WebURLRequest::reportUploadProgress): 5095 (WebKit::WebURLRequest::setReportUploadProgress): 5096 (WebKit::WebURLRequest::targetType): 5097 (WebKit::WebURLRequest::setTargetType): 5098 (WebKit::WebURLRequest::requestorID): 5099 (WebKit::WebURLRequest::setRequestorID): 5100 (WebKit::WebURLRequest::requestorProcessID): 5101 (WebKit::WebURLRequest::setRequestorProcessID): 5102 (WebKit::WebURLRequest::appCacheHostID): 5103 (WebKit::WebURLRequest::setAppCacheHostID): 5104 (WebKit::WebURLRequest::toMutableResourceRequest): 5105 (WebKit::WebURLRequest::toResourceRequest): 5106 * src/WebURLRequestPrivate.h: Added. 5107 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): 5108 * src/WebURLResponse.cpp: Added. 5109 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): 5110 (WebKit::WebURLResponsePrivateImpl::dispose): 5111 (WebKit::WebURLResponse::initialize): 5112 (WebKit::WebURLResponse::reset): 5113 (WebKit::WebURLResponse::assign): 5114 (WebKit::WebURLResponse::isNull): 5115 (WebKit::WebURLResponse::url): 5116 (WebKit::WebURLResponse::setURL): 5117 (WebKit::WebURLResponse::mimeType): 5118 (WebKit::WebURLResponse::setMIMEType): 5119 (WebKit::WebURLResponse::expectedContentLength): 5120 (WebKit::WebURLResponse::setExpectedContentLength): 5121 (WebKit::WebURLResponse::textEncodingName): 5122 (WebKit::WebURLResponse::setTextEncodingName): 5123 (WebKit::WebURLResponse::suggestedFileName): 5124 (WebKit::WebURLResponse::setSuggestedFileName): 5125 (WebKit::WebURLResponse::httpStatusCode): 5126 (WebKit::WebURLResponse::setHTTPStatusCode): 5127 (WebKit::WebURLResponse::httpStatusText): 5128 (WebKit::WebURLResponse::setHTTPStatusText): 5129 (WebKit::WebURLResponse::httpHeaderField): 5130 (WebKit::WebURLResponse::setHTTPHeaderField): 5131 (WebKit::WebURLResponse::addHTTPHeaderField): 5132 (WebKit::WebURLResponse::clearHTTPHeaderField): 5133 (WebKit::WebURLResponse::visitHTTPHeaderFields): 5134 (WebKit::WebURLResponse::lastModifiedDate): 5135 (WebKit::WebURLResponse::setLastModifiedDate): 5136 (WebKit::WebURLResponse::isContentFiltered): 5137 (WebKit::WebURLResponse::setIsContentFiltered): 5138 (WebKit::WebURLResponse::appCacheID): 5139 (WebKit::WebURLResponse::setAppCacheID): 5140 (WebKit::WebURLResponse::appCacheManifestURL): 5141 (WebKit::WebURLResponse::setAppCacheManifestURL): 5142 (WebKit::WebURLResponse::securityInfo): 5143 (WebKit::WebURLResponse::setSecurityInfo): 5144 (WebKit::WebURLResponse::toMutableResourceResponse): 5145 (WebKit::WebURLResponse::toResourceResponse): 5146 * src/WebURLResponsePrivate.h: Added. 5147 (WebKit::WebURLResponsePrivate::WebURLResponsePrivate): 5148 * src/WebViewImpl.cpp: Added. 5149 (WebKit::): 5150 (WebKit::WebView::create): 5151 (WebKit::WebView::updateVisitedLinkState): 5152 (WebKit::WebView::resetVisitedLinkState): 5153 (WebKit::WebViewImpl::initializeMainFrame): 5154 (WebKit::WebViewImpl::WebViewImpl): 5155 (WebKit::WebViewImpl::~WebViewImpl): 5156 (WebKit::WebViewImpl::theme): 5157 (WebKit::WebViewImpl::mainFrameImpl): 5158 (WebKit::WebViewImpl::tabKeyCyclesThroughElements): 5159 (WebKit::WebViewImpl::setTabKeyCyclesThroughElements): 5160 (WebKit::WebViewImpl::mouseMove): 5161 (WebKit::WebViewImpl::mouseLeave): 5162 (WebKit::WebViewImpl::mouseDown): 5163 (WebKit::WebViewImpl::mouseContextMenu): 5164 (WebKit::WebViewImpl::mouseUp): 5165 (WebKit::WebViewImpl::mouseWheel): 5166 (WebKit::WebViewImpl::keyEvent): 5167 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 5168 (WebKit::WebViewImpl::charEvent): 5169 (WebKit::WebViewImpl::sendContextMenuEvent): 5170 (WebKit::WebViewImpl::keyEventDefault): 5171 (WebKit::WebViewImpl::scrollViewWithKeyboard): 5172 (WebKit::WebViewImpl::propagateScroll): 5173 (WebKit::WebViewImpl::focusedWebCoreFrame): 5174 (WebKit::WebViewImpl::fromPage): 5175 (WebKit::WebViewImpl::close): 5176 (WebKit::WebViewImpl::resize): 5177 (WebKit::WebViewImpl::layout): 5178 (WebKit::WebViewImpl::paint): 5179 (WebKit::WebViewImpl::handleInputEvent): 5180 (WebKit::WebViewImpl::mouseCaptureLost): 5181 (WebKit::WebViewImpl::setFocus): 5182 (WebKit::WebViewImpl::handleCompositionEvent): 5183 (WebKit::WebViewImpl::queryCompositionStatus): 5184 (WebKit::WebViewImpl::setTextDirection): 5185 (WebKit::WebViewImpl::settings): 5186 (WebKit::WebViewImpl::pageEncoding): 5187 (WebKit::WebViewImpl::setPageEncoding): 5188 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): 5189 (WebKit::WebViewImpl::dispatchUnloadEvent): 5190 (WebKit::WebViewImpl::mainFrame): 5191 (WebKit::WebViewImpl::findFrameByName): 5192 (WebKit::WebViewImpl::focusedFrame): 5193 (WebKit::WebViewImpl::setFocusedFrame): 5194 (WebKit::WebViewImpl::setInitialFocus): 5195 (WebKit::WebViewImpl::clearFocusedNode): 5196 (WebKit::WebViewImpl::zoomIn): 5197 (WebKit::WebViewImpl::zoomOut): 5198 (WebKit::WebViewImpl::zoomDefault): 5199 (WebKit::WebViewImpl::performMediaPlayerAction): 5200 (WebKit::WebViewImpl::copyImageAt): 5201 (WebKit::WebViewImpl::dragSourceEndedAt): 5202 (WebKit::WebViewImpl::dragSourceMovedTo): 5203 (WebKit::WebViewImpl::dragSourceSystemDragEnded): 5204 (WebKit::WebViewImpl::dragTargetDragEnter): 5205 (WebKit::WebViewImpl::dragTargetDragOver): 5206 (WebKit::WebViewImpl::dragTargetDragLeave): 5207 (WebKit::WebViewImpl::dragTargetDrop): 5208 (WebKit::WebViewImpl::dragIdentity): 5209 (WebKit::WebViewImpl::inspectElementAt): 5210 (WebKit::WebViewImpl::inspectorSettings): 5211 (WebKit::WebViewImpl::setInspectorSettings): 5212 (WebKit::WebViewImpl::devToolsAgent): 5213 (WebKit::WebViewImpl::setDevToolsAgent): 5214 (WebKit::WebViewImpl::accessibilityObject): 5215 (WebKit::WebViewImpl::applyAutofillSuggestions): 5216 (WebKit::WebViewImpl::hideAutofillPopup): 5217 (WebKit::WebViewImpl::setDropEffect): 5218 (WebKit::WebViewImpl::setIsTransparent): 5219 (WebKit::WebViewImpl::isTransparent): 5220 (WebKit::WebViewImpl::setIsActive): 5221 (WebKit::WebViewImpl::isActive): 5222 (WebKit::WebViewImpl::didCommitLoad): 5223 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent): 5224 (WebKit::WebViewImpl::startDragging): 5225 (WebKit::WebViewImpl::setCurrentHistoryItem): 5226 (WebKit::WebViewImpl::previousHistoryItem): 5227 (WebKit::WebViewImpl::observeNewNavigation): 5228 (WebKit::WebViewImpl::hideAutoCompletePopup): 5229 (WebKit::WebViewImpl::autoCompletePopupDidHide): 5230 (WebKit::WebViewImpl::setIgnoreInputEvents): 5231 (WebKit::WebViewImpl::notificationPresenterImpl): 5232 (WebKit::WebViewImpl::refreshAutofillPopup): 5233 (WebKit::WebViewImpl::focusedWebCoreNode): 5234 (WebKit::WebViewImpl::hitTestResultForWindowPos): 5235 (WebKit::WebViewImpl::setTabsToLinks): 5236 (WebKit::WebViewImpl::tabsToLinks): 5237 * src/WebViewImpl.h: Added. 5238 (WebKit::WebViewImpl::size): 5239 (WebKit::WebViewImpl::devToolsAgentPrivate): 5240 (WebKit::WebViewImpl::lastMouseDownPoint): 5241 (WebKit::WebViewImpl::client): 5242 (WebKit::WebViewImpl::page): 5243 (WebKit::WebViewImpl::contextMenuAllowed): 5244 (WebKit::WebViewImpl::setInitialNavigationPolicy): 5245 (WebKit::WebViewImpl::initialNavigationPolicy): 5246 (WebKit::WebViewImpl::currentInputEvent): 5247 (WebKit::WebViewImpl::): 5248 5249 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 5250 5251 Reviewed by Dimitri Glazkov. 5252 5253 Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl 5254 5255 https://bugs.webkit.org/show_bug.cgi?id=31276 5256 5257 * src/WebScriptController.cpp: Added. 5258 (WebKit::WebScriptController::registerExtension): 5259 (WebKit::WebScriptController::enableV8SingleThreadMode): 5260 (WebKit::WebScriptController::flushConsoleMessages): 5261 * src/WebSearchableFormData.cpp: Added. 5262 (WebCore::GetFormEncoding): 5263 (WebCore::IsHTTPFormSubmit): 5264 (WebCore::GetButtonToActivate): 5265 (WebCore::IsSelectInDefaultState): 5266 (WebCore::IsInDefaultState): 5267 (WebCore::HasSuitableTextElement): 5268 (WebKit::WebSearchableFormData::WebSearchableFormData): 5269 * src/WebSecurityOrigin.cpp: Added. 5270 (WebKit::WebSecurityOrigin::reset): 5271 (WebKit::WebSecurityOrigin::assign): 5272 (WebKit::WebSecurityOrigin::protocol): 5273 (WebKit::WebSecurityOrigin::host): 5274 (WebKit::WebSecurityOrigin::port): 5275 (WebKit::WebSecurityOrigin::isEmpty): 5276 (WebKit::WebSecurityOrigin::toString): 5277 (WebKit::WebSecurityOrigin::databaseIdentifier): 5278 (WebKit::WebSecurityOrigin::WebSecurityOrigin): 5279 (WebKit::WebSecurityOrigin::operator=): 5280 (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>): 5281 * src/WebSecurityPolicy.cpp: Added. 5282 (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal): 5283 (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess): 5284 (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin): 5285 (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists): 5286 * src/WebSettingsImpl.cpp: Added. 5287 (WebKit::WebSettingsImpl::WebSettingsImpl): 5288 (WebKit::WebSettingsImpl::setStandardFontFamily): 5289 (WebKit::WebSettingsImpl::setFixedFontFamily): 5290 (WebKit::WebSettingsImpl::setSerifFontFamily): 5291 (WebKit::WebSettingsImpl::setSansSerifFontFamily): 5292 (WebKit::WebSettingsImpl::setCursiveFontFamily): 5293 (WebKit::WebSettingsImpl::setFantasyFontFamily): 5294 (WebKit::WebSettingsImpl::setDefaultFontSize): 5295 (WebKit::WebSettingsImpl::setDefaultFixedFontSize): 5296 (WebKit::WebSettingsImpl::setMinimumFontSize): 5297 (WebKit::WebSettingsImpl::setMinimumLogicalFontSize): 5298 (WebKit::WebSettingsImpl::setDefaultTextEncodingName): 5299 (WebKit::WebSettingsImpl::setJavaScriptEnabled): 5300 (WebKit::WebSettingsImpl::setWebSecurityEnabled): 5301 (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically): 5302 (WebKit::WebSettingsImpl::setLoadsImagesAutomatically): 5303 (WebKit::WebSettingsImpl::setPluginsEnabled): 5304 (WebKit::WebSettingsImpl::setDOMPasteAllowed): 5305 (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled): 5306 (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit): 5307 (WebKit::WebSettingsImpl::setUsesEncodingDetector): 5308 (WebKit::WebSettingsImpl::setTextAreasAreResizable): 5309 (WebKit::WebSettingsImpl::setJavaEnabled): 5310 (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows): 5311 (WebKit::WebSettingsImpl::setUserStyleSheetLocation): 5312 (WebKit::WebSettingsImpl::setUsesPageCache): 5313 (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled): 5314 (WebKit::WebSettingsImpl::setXSSAuditorEnabled): 5315 (WebKit::WebSettingsImpl::setLocalStorageEnabled): 5316 (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive): 5317 (WebKit::WebSettingsImpl::setFontRenderingModeNormal): 5318 (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars): 5319 (WebKit::WebSettingsImpl::setDatabasesEnabled): 5320 (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs): 5321 (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded): 5322 (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled): 5323 (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled): 5324 * src/WebSettingsImpl.h: Added. 5325 (WebKit::WebSettingsImpl::~WebSettingsImpl): 5326 * src/WebSharedWorkerImpl.cpp: Added. 5327 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl): 5328 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl): 5329 (WebKit::WebSharedWorkerImpl::isStarted): 5330 (WebKit::WebSharedWorkerImpl::connect): 5331 (WebKit::WebSharedWorkerImpl::connectTask): 5332 (WebKit::WebSharedWorkerImpl::startWorkerContext): 5333 (WebKit::WebSharedWorkerImpl::terminateWorkerContext): 5334 (WebKit::WebSharedWorkerImpl::clientDestroyed): 5335 (WebKit::WebSharedWorkerImpl::client): 5336 (WebKit::WebSharedWorker::create): 5337 * src/WebSharedWorkerImpl.h: Added. 5338 (WebKit::WebSharedWorkerImpl::commonClient): 5339 * src/WebStorageAreaImpl.cpp: Added. 5340 (WebKit::WebStorageAreaImpl::WebStorageAreaImpl): 5341 (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl): 5342 (WebKit::WebStorageAreaImpl::length): 5343 (WebKit::WebStorageAreaImpl::key): 5344 (WebKit::WebStorageAreaImpl::getItem): 5345 (WebKit::WebStorageAreaImpl::setItem): 5346 (WebKit::WebStorageAreaImpl::removeItem): 5347 (WebKit::WebStorageAreaImpl::clear): 5348 * src/WebStorageAreaImpl.h: Added. 5349 (WebKit::WebStorageAreaImpl::currentStorageEventURL): 5350 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL): 5351 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL): 5352 * src/WebStorageEventDispatcherImpl.cpp: Added. 5353 (WebKit::WebStorageEventDispatcher::create): 5354 (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl): 5355 (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent): 5356 * src/WebStorageEventDispatcherImpl.h: Added. 5357 * src/WebStorageNamespaceImpl.cpp: Added. 5358 (WebKit::WebStorageNamespace::createLocalStorageNamespace): 5359 (WebKit::WebStorageNamespace::createSessionStorageNamespace): 5360 (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl): 5361 (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl): 5362 (WebKit::WebStorageNamespaceImpl::createStorageArea): 5363 (WebKit::WebStorageNamespaceImpl::copy): 5364 (WebKit::WebStorageNamespaceImpl::close): 5365 * src/WebStorageNamespaceImpl.h: Added. 5366 5367 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 5368 5369 Reviewed by Dimitri Glazkov. 5370 5371 Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures 5372 5373 https://bugs.webkit.org/show_bug.cgi?id=31276 5374 5375 * src/WebPasswordFormData.cpp: Added. 5376 (WebKit::): 5377 (WebKit::WebPasswordFormData::WebPasswordFormData): 5378 * src/WebPasswordFormUtils.cpp: Added. 5379 (WebKit::findPasswordFormFields): 5380 * src/WebPasswordFormUtils.h: Added. 5381 (WebKit::PasswordFormFields::PasswordFormFields): 5382 * src/WebPluginContainerImpl.cpp: Added. 5383 (WebKit::WebPluginContainerImpl::setFrameRect): 5384 (WebKit::WebPluginContainerImpl::paint): 5385 (WebKit::WebPluginContainerImpl::invalidateRect): 5386 (WebKit::WebPluginContainerImpl::setFocus): 5387 (WebKit::WebPluginContainerImpl::show): 5388 (WebKit::WebPluginContainerImpl::hide): 5389 (WebKit::WebPluginContainerImpl::handleEvent): 5390 (WebKit::WebPluginContainerImpl::frameRectsChanged): 5391 (WebKit::WebPluginContainerImpl::setParentVisible): 5392 (WebKit::WebPluginContainerImpl::setParent): 5393 (WebKit::WebPluginContainerImpl::invalidate): 5394 (WebKit::WebPluginContainerImpl::reportGeometry): 5395 (WebKit::WebPluginContainerImpl::clearScriptObjects): 5396 (WebKit::WebPluginContainerImpl::scriptableObjectForElement): 5397 (WebKit::WebPluginContainerImpl::executeScriptURL): 5398 (WebKit::WebPluginContainerImpl::loadFrameRequest): 5399 (WebKit::WebPluginContainerImpl::didReceiveResponse): 5400 (WebKit::WebPluginContainerImpl::didReceiveData): 5401 (WebKit::WebPluginContainerImpl::didFinishLoading): 5402 (WebKit::WebPluginContainerImpl::didFailLoading): 5403 (WebKit::WebPluginContainerImpl::scriptableObject): 5404 (WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver): 5405 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): 5406 (WebKit::WebPluginContainerImpl::handleMouseEvent): 5407 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 5408 (WebKit::WebPluginContainerImpl::calculateGeometry): 5409 (WebKit::WebPluginContainerImpl::windowClipRect): 5410 (WebKit::getObjectStack): 5411 (WebKit::checkStackOnTop): 5412 (WebKit::WebPluginContainerImpl::windowCutOutRects): 5413 * src/WebPluginContainerImpl.h: Added. 5414 (WebKit::WebPluginContainerImpl::create): 5415 (WebKit::WebPluginContainerImpl::plugin): 5416 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl): 5417 * src/WebPluginListBuilderImpl.cpp: Added. 5418 (WebKit::WebPluginListBuilderImpl::addPlugin): 5419 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin): 5420 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType): 5421 * src/WebPluginListBuilderImpl.h: Added. 5422 (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl): 5423 * src/WebPluginLoadObserver.cpp: Added. 5424 (WebKit::WebPluginLoadObserver::~WebPluginLoadObserver): 5425 (WebKit::WebPluginLoadObserver::didFinishLoading): 5426 (WebKit::WebPluginLoadObserver::didFailLoading): 5427 * src/WebPluginLoadObserver.h: Added. 5428 (WebKit::WebPluginLoadObserver::WebPluginLoadObserver): 5429 (WebKit::WebPluginLoadObserver::url): 5430 (WebKit::WebPluginLoadObserver::clearPluginContainer): 5431 * src/WebPopupMenuImpl.cpp: Added. 5432 (WebKit::WebPopupMenu::create): 5433 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl): 5434 (WebKit::WebPopupMenuImpl::~WebPopupMenuImpl): 5435 (WebKit::WebPopupMenuImpl::Init): 5436 (WebKit::WebPopupMenuImpl::MouseMove): 5437 (WebKit::WebPopupMenuImpl::MouseLeave): 5438 (WebKit::WebPopupMenuImpl::MouseDown): 5439 (WebKit::WebPopupMenuImpl::MouseUp): 5440 (WebKit::WebPopupMenuImpl::MouseWheel): 5441 (WebKit::WebPopupMenuImpl::KeyEvent): 5442 (WebKit::WebPopupMenuImpl::close): 5443 (WebKit::WebPopupMenuImpl::resize): 5444 (WebKit::WebPopupMenuImpl::layout): 5445 (WebKit::WebPopupMenuImpl::paint): 5446 (WebKit::WebPopupMenuImpl::handleInputEvent): 5447 (WebKit::WebPopupMenuImpl::mouseCaptureLost): 5448 (WebKit::WebPopupMenuImpl::setFocus): 5449 (WebKit::WebPopupMenuImpl::handleCompositionEvent): 5450 (WebKit::WebPopupMenuImpl::queryCompositionStatus): 5451 (WebKit::WebPopupMenuImpl::setTextDirection): 5452 (WebKit::WebPopupMenuImpl::repaint): 5453 (WebKit::WebPopupMenuImpl::scroll): 5454 (WebKit::WebPopupMenuImpl::screenToWindow): 5455 (WebKit::WebPopupMenuImpl::windowToScreen): 5456 (WebKit::WebPopupMenuImpl::scrollRectIntoView): 5457 (WebKit::WebPopupMenuImpl::scrollbarsModeDidChange): 5458 (WebKit::WebPopupMenuImpl::popupClosed): 5459 * src/WebPopupMenuImpl.h: Added. 5460 (WebKit::WebPopupMenuImpl::size): 5461 (WebKit::WebPopupMenuImpl::client): 5462 (WebKit::WebPopupMenuImpl::platformPageClient): 5463 * src/WebRange.cpp: Added. 5464 (WebKit::WebRange::reset): 5465 (WebKit::WebRange::assign): 5466 (WebKit::WebRange::startOffset): 5467 (WebKit::WebRange::endOffset): 5468 (WebKit::WebRange::startContainer): 5469 (WebKit::WebRange::endContainer): 5470 (WebKit::WebRange::toHTMLText): 5471 (WebKit::WebRange::toPlainText): 5472 (WebKit::WebRange::WebRange): 5473 (WebKit::WebRange::operator=): 5474 (WebKit::WebRange::operator WTF::PassRefPtr<WebCore::Range>): 5475 * src/WebRuntimeFeatures.cpp: Added. 5476 (WebKit::WebRuntimeFeatures::enableDatabase): 5477 (WebKit::WebRuntimeFeatures::isDatabaseEnabled): 5478 (WebKit::WebRuntimeFeatures::enableLocalStorage): 5479 (WebKit::WebRuntimeFeatures::isLocalStorageEnabled): 5480 (WebKit::WebRuntimeFeatures::enableSessionStorage): 5481 (WebKit::WebRuntimeFeatures::isSessionStorageEnabled): 5482 (WebKit::WebRuntimeFeatures::enableMediaPlayer): 5483 (WebKit::WebRuntimeFeatures::isMediaPlayerEnabled): 5484 (WebKit::WebRuntimeFeatures::enableSockets): 5485 (WebKit::WebRuntimeFeatures::isSocketsEnabled): 5486 (WebKit::WebRuntimeFeatures::enableNotifications): 5487 (WebKit::WebRuntimeFeatures::isNotificationsEnabled): 5488 (WebKit::WebRuntimeFeatures::enableApplicationCache): 5489 (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled): 5490 5491 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 5492 5493 Reviewed by Dimitri Glazkov. 5494 5495 Up-streaming Chromium API src files: WebFileInputElement...WebNotifications 5496 5497 https://bugs.webkit.org/show_bug.cgi?id=31276 5498 5499 * src/WebInputElement.cpp: Added. 5500 (WebKit::WebInputElement::WebInputElement): 5501 (WebKit::WebInputElement::operator=): 5502 (WebKit::WebInputElement::operator WTF::PassRefPtr<HTMLInputElement>): 5503 (WebKit::WebInputElement::setActivatedSubmit): 5504 (WebKit::WebInputElement::setValue): 5505 (WebKit::WebInputElement::value): 5506 (WebKit::WebInputElement::setAutofilled): 5507 (WebKit::WebInputElement::dispatchFormControlChangeEvent): 5508 (WebKit::WebInputElement::setSelectionRange): 5509 * src/WebInputEvent.cpp: Added. 5510 (WebKit::staticKeyIdentifiers): 5511 (WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode): 5512 * src/WebInputEventConversion.cpp: Added. 5513 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder): 5514 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): 5515 (WebKit::toPlatformKeyboardEventType): 5516 (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder): 5517 (WebKit::PlatformKeyboardEventBuilder::setKeyType): 5518 (WebKit::PlatformKeyboardEventBuilder::isCharacterKey): 5519 (WebKit::getWebInputModifiers): 5520 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 5521 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder): 5522 * src/WebInputEventConversion.h: Added. 5523 * src/WebKit.cpp: Added. 5524 (WebKit::initialize): 5525 (WebKit::shutdown): 5526 (WebKit::webKitClient): 5527 (WebKit::setLayoutTestMode): 5528 (WebKit::layoutTestMode): 5529 (WebKit::resetPluginCache): 5530 * src/WebMediaPlayerClientImpl.cpp: Added. 5531 (WebKit::createWebMediaPlayer): 5532 (WebKit::WebMediaPlayerClientImpl::isEnabled): 5533 (WebKit::WebMediaPlayerClientImpl::setIsEnabled): 5534 (WebKit::WebMediaPlayerClientImpl::registerSelf): 5535 (WebKit::WebMediaPlayerClientImpl::networkStateChanged): 5536 (WebKit::WebMediaPlayerClientImpl::readyStateChanged): 5537 (WebKit::WebMediaPlayerClientImpl::volumeChanged): 5538 (WebKit::WebMediaPlayerClientImpl::timeChanged): 5539 (WebKit::WebMediaPlayerClientImpl::repaint): 5540 (WebKit::WebMediaPlayerClientImpl::durationChanged): 5541 (WebKit::WebMediaPlayerClientImpl::rateChanged): 5542 (WebKit::WebMediaPlayerClientImpl::sizeChanged): 5543 (WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks): 5544 (WebKit::WebMediaPlayerClientImpl::load): 5545 (WebKit::WebMediaPlayerClientImpl::cancelLoad): 5546 (WebKit::WebMediaPlayerClientImpl::play): 5547 (WebKit::WebMediaPlayerClientImpl::pause): 5548 (WebKit::WebMediaPlayerClientImpl::naturalSize): 5549 (WebKit::WebMediaPlayerClientImpl::hasVideo): 5550 (WebKit::WebMediaPlayerClientImpl::hasAudio): 5551 (WebKit::WebMediaPlayerClientImpl::setVisible): 5552 (WebKit::WebMediaPlayerClientImpl::duration): 5553 (WebKit::WebMediaPlayerClientImpl::currentTime): 5554 (WebKit::WebMediaPlayerClientImpl::seek): 5555 (WebKit::WebMediaPlayerClientImpl::seeking): 5556 (WebKit::WebMediaPlayerClientImpl::setEndTime): 5557 (WebKit::WebMediaPlayerClientImpl::setRate): 5558 (WebKit::WebMediaPlayerClientImpl::paused): 5559 (WebKit::WebMediaPlayerClientImpl::supportsFullscreen): 5560 (WebKit::WebMediaPlayerClientImpl::supportsSave): 5561 (WebKit::WebMediaPlayerClientImpl::setVolume): 5562 (WebKit::WebMediaPlayerClientImpl::networkState): 5563 (WebKit::WebMediaPlayerClientImpl::readyState): 5564 (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable): 5565 (WebKit::WebMediaPlayerClientImpl::buffered): 5566 (WebKit::WebMediaPlayerClientImpl::dataRate): 5567 (WebKit::WebMediaPlayerClientImpl::totalBytesKnown): 5568 (WebKit::WebMediaPlayerClientImpl::totalBytes): 5569 (WebKit::WebMediaPlayerClientImpl::bytesLoaded): 5570 (WebKit::WebMediaPlayerClientImpl::setSize): 5571 (WebKit::WebMediaPlayerClientImpl::paint): 5572 (WebKit::WebMediaPlayerClientImpl::setAutobuffer): 5573 (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin): 5574 (WebKit::WebMediaPlayerClientImpl::movieLoadType): 5575 (WebKit::WebMediaPlayerClientImpl::create): 5576 (WebKit::WebMediaPlayerClientImpl::getSupportedTypes): 5577 (WebKit::WebMediaPlayerClientImpl::supportsType): 5578 (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl): 5579 * src/WebMediaPlayerClientImpl.h: Added. 5580 * src/WebNode.cpp: Added. 5581 (WebKit::WebNode::reset): 5582 (WebKit::WebNode::assign): 5583 (WebKit::WebNode::parentNode): 5584 (WebKit::WebNode::nodeName): 5585 (WebKit::WebNode::WebNode): 5586 (WebKit::WebNode::operator=): 5587 (WebKit::WebNode::operator WTF::PassRefPtr<WebCore::Node>): 5588 (WebKit::WebNode::frame): 5589 * src/WebNotification.cpp: Added. 5590 (WebKit::WebNotification::reset): 5591 (WebKit::WebNotification::assign): 5592 (WebKit::WebNotification::lessThan): 5593 (WebKit::WebNotification::isHTML): 5594 (WebKit::WebNotification::url): 5595 (WebKit::WebNotification::icon): 5596 (WebKit::WebNotification::title): 5597 (WebKit::WebNotification::body): 5598 (WebKit::WebNotification::dispatchDisplayEvent): 5599 (WebKit::WebNotification::dispatchErrorEvent): 5600 (WebKit::WebNotification::dispatchCloseEvent): 5601 (WebKit::WebNotification::WebNotification): 5602 (WebKit::WebNotification::operator=): 5603 (WebKit::WebNotification::operator WTF::PassRefPtr<Notification>): 5604 5605 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 5606 5607 Reviewed by Dimitri Glazkov. 5608 5609 Up-streaming Chromium API src files: WebFileChooser...WebImageSkia 5610 5611 https://bugs.webkit.org/show_bug.cgi?id=31276 5612 5613 * src/WebFileChooserCompletionImpl.cpp: Added. 5614 (WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl): 5615 (WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl): 5616 (WebKit::WebFileChooserCompletionImpl::didChooseFile): 5617 * src/WebFileChooserCompletionImpl.h: Added. 5618 * src/WebFontCache.cpp: Added. 5619 (WebKit::WebFontCache::fontDataCount): 5620 (WebKit::WebFontCache::inactiveFontDataCount): 5621 (WebKit::WebFontCache::clear): 5622 * src/WebFormElement.cpp: Added. 5623 (WebKit::WebFormElement::WebFormElement): 5624 (WebKit::WebFormElement::operator=): 5625 (WebKit::WebFormElement::operator WTF::PassRefPtr<WebCore::HTMLFormElement>): 5626 (WebKit::WebFormElement::autoComplete): 5627 (WebKit::WebFormElement::action): 5628 (WebKit::WebFormElement::submit): 5629 (WebKit::WebFormElement::getNamedElements): 5630 * src/WebFrameImpl.cpp: Added. 5631 (WebKit::frameContentAsPlainText): 5632 (WebKit::ChromePrintContext::ChromePrintContext): 5633 (WebKit::ChromePrintContext::begin): 5634 (WebKit::ChromePrintContext::getPageShrink): 5635 (WebKit::ChromePrintContext::spoolPage): 5636 (WebKit::DataSourceForDocLoader): 5637 (WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches): 5638 (WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout): 5639 (WebKit::WebFrame::frameForEnteredContext): 5640 (WebKit::WebFrame::frameForCurrentContext): 5641 (WebKit::WebFrameImpl::name): 5642 (WebKit::WebFrameImpl::url): 5643 (WebKit::WebFrameImpl::favIconURL): 5644 (WebKit::WebFrameImpl::openSearchDescriptionURL): 5645 (WebKit::WebFrameImpl::scrollOffset): 5646 (WebKit::WebFrameImpl::contentsSize): 5647 (WebKit::WebFrameImpl::contentsPreferredWidth): 5648 (WebKit::WebFrameImpl::hasVisibleContent): 5649 (WebKit::WebFrameImpl::view): 5650 (WebKit::WebFrameImpl::opener): 5651 (WebKit::WebFrameImpl::parent): 5652 (WebKit::WebFrameImpl::top): 5653 (WebKit::WebFrameImpl::firstChild): 5654 (WebKit::WebFrameImpl::lastChild): 5655 (WebKit::WebFrameImpl::nextSibling): 5656 (WebKit::WebFrameImpl::previousSibling): 5657 (WebKit::WebFrameImpl::traverseNext): 5658 (WebKit::WebFrameImpl::traversePrevious): 5659 (WebKit::WebFrameImpl::findChildByName): 5660 (WebKit::WebFrameImpl::findChildByExpression): 5661 (WebKit::WebFrameImpl::forms): 5662 (WebKit::WebFrameImpl::securityOrigin): 5663 (WebKit::WebFrameImpl::grantUniversalAccess): 5664 (WebKit::WebFrameImpl::windowObject): 5665 (WebKit::WebFrameImpl::bindToWindowObject): 5666 (WebKit::WebFrameImpl::executeScript): 5667 (WebKit::WebFrameImpl::executeScriptInNewContext): 5668 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): 5669 (WebKit::WebFrameImpl::addMessageToConsole): 5670 (WebKit::WebFrameImpl::collectGarbage): 5671 (WebKit::WebFrameImpl::mainWorldScriptContext): 5672 (WebKit::WebFrameImpl::insertStyleText): 5673 (WebKit::WebFrameImpl::reload): 5674 (WebKit::WebFrameImpl::loadRequest): 5675 (WebKit::WebFrameImpl::loadHistoryItem): 5676 (WebKit::WebFrameImpl::loadData): 5677 (WebKit::WebFrameImpl::loadHTMLString): 5678 (WebKit::WebFrameImpl::isLoading): 5679 (WebKit::WebFrameImpl::stopLoading): 5680 (WebKit::WebFrameImpl::provisionalDataSource): 5681 (WebKit::WebFrameImpl::dataSource): 5682 (WebKit::WebFrameImpl::previousHistoryItem): 5683 (WebKit::WebFrameImpl::currentHistoryItem): 5684 (WebKit::WebFrameImpl::enableViewSourceMode): 5685 (WebKit::WebFrameImpl::isViewSourceModeEnabled): 5686 (WebKit::WebFrameImpl::setReferrerForRequest): 5687 (WebKit::WebFrameImpl::dispatchWillSendRequest): 5688 (WebKit::WebFrameImpl::commitDocumentData): 5689 (WebKit::WebFrameImpl::unloadListenerCount): 5690 (WebKit::WebFrameImpl::isProcessingUserGesture): 5691 (WebKit::WebFrameImpl::willSuppressOpenerInNewFrame): 5692 (WebKit::WebFrameImpl::replaceSelection): 5693 (WebKit::WebFrameImpl::insertText): 5694 (WebKit::WebFrameImpl::setMarkedText): 5695 (WebKit::WebFrameImpl::unmarkText): 5696 (WebKit::WebFrameImpl::hasMarkedText): 5697 (WebKit::WebFrameImpl::markedRange): 5698 (WebKit::WebFrameImpl::executeCommand): 5699 (WebKit::WebFrameImpl::isCommandEnabled): 5700 (WebKit::WebFrameImpl::enableContinuousSpellChecking): 5701 (WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled): 5702 (WebKit::WebFrameImpl::hasSelection): 5703 (WebKit::WebFrameImpl::selectionRange): 5704 (WebKit::WebFrameImpl::selectionAsText): 5705 (WebKit::WebFrameImpl::selectionAsMarkup): 5706 (WebKit::WebFrameImpl::printBegin): 5707 (WebKit::WebFrameImpl::getPrintPageShrink): 5708 (WebKit::WebFrameImpl::printPage): 5709 (WebKit::WebFrameImpl::printEnd): 5710 (WebKit::WebFrameImpl::find): 5711 (WebKit::WebFrameImpl::stopFinding): 5712 (WebKit::WebFrameImpl::scopeStringMatches): 5713 (WebKit::WebFrameImpl::cancelPendingScopingEffort): 5714 (WebKit::WebFrameImpl::increaseMatchCount): 5715 (WebKit::WebFrameImpl::reportFindInPageSelection): 5716 (WebKit::WebFrameImpl::resetMatchCount): 5717 (WebKit::WebFrameImpl::completeURL): 5718 (WebKit::WebFrameImpl::contentAsText): 5719 (WebKit::WebFrameImpl::contentAsMarkup): 5720 (WebKit::WebFrameImpl::create): 5721 (WebKit::WebFrameImpl::WebFrameImpl): 5722 (WebKit::WebFrameImpl::~WebFrameImpl): 5723 (WebKit::WebFrameImpl::initializeAsMainFrame): 5724 (WebKit::WebFrameImpl::createChildFrame): 5725 (WebKit::WebFrameImpl::layout): 5726 (WebKit::WebFrameImpl::paint): 5727 (WebKit::WebFrameImpl::createFrameView): 5728 (WebKit::WebFrameImpl::fromFrame): 5729 (WebKit::WebFrameImpl::viewImpl): 5730 (WebKit::WebFrameImpl::dataSourceImpl): 5731 (WebKit::WebFrameImpl::provisionalDataSourceImpl): 5732 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): 5733 (WebKit::WebFrameImpl::didFail): 5734 (WebKit::WebFrameImpl::setAllowsScrolling): 5735 (WebKit::WebFrameImpl::registerPasswordListener): 5736 (WebKit::WebFrameImpl::getPasswordListener): 5737 (WebKit::WebFrameImpl::closing): 5738 (WebKit::WebFrameImpl::invalidateArea): 5739 (WebKit::WebFrameImpl::addMarker): 5740 (WebKit::WebFrameImpl::setMarkerActive): 5741 (WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame): 5742 (WebKit::WebFrameImpl::shouldScopeMatches): 5743 (WebKit::WebFrameImpl::scopeStringMatchesSoon): 5744 (WebKit::WebFrameImpl::callScopeStringMatches): 5745 (WebKit::WebFrameImpl::invalidateIfNecessary): 5746 (WebKit::WebFrameImpl::clearPasswordListeners): 5747 (WebKit::WebFrameImpl::loadJavaScriptURL): 5748 * src/WebFrameImpl.h: Added. 5749 (WebKit::WebFrameImpl::liveObjectCount): 5750 (WebKit::WebFrameImpl::frame): 5751 (WebKit::WebFrameImpl::frameView): 5752 (WebKit::WebFrameImpl::activeMatchFrame): 5753 (WebKit::WebFrameImpl::client): 5754 (WebKit::WebFrameImpl::dropClient): 5755 (WebKit::WebFrameImpl::ClientHandle::create): 5756 (WebKit::WebFrameImpl::ClientHandle::client): 5757 (WebKit::WebFrameImpl::ClientHandle::dropClient): 5758 (WebKit::WebFrameImpl::ClientHandle::ClientHandle): 5759 (WebKit::WebFrameImpl::): 5760 * src/WebHTTPBody.cpp: Added. 5761 (WebKit::WebHTTPBody::initialize): 5762 (WebKit::WebHTTPBody::reset): 5763 (WebKit::WebHTTPBody::assign): 5764 (WebKit::WebHTTPBody::elementCount): 5765 (WebKit::WebHTTPBody::elementAt): 5766 (WebKit::WebHTTPBody::appendData): 5767 (WebKit::WebHTTPBody::appendFile): 5768 (WebKit::WebHTTPBody::identifier): 5769 (WebKit::WebHTTPBody::setIdentifier): 5770 (WebKit::WebHTTPBody::WebHTTPBody): 5771 (WebKit::WebHTTPBody::operator=): 5772 (WebKit::WebHTTPBody::operator PassRefPtr<FormData>): 5773 (WebKit::WebHTTPBody::ensureMutable): 5774 * src/WebHistoryItem.cpp: Added. 5775 (WebKit::WebHistoryItem::initialize): 5776 (WebKit::WebHistoryItem::reset): 5777 (WebKit::WebHistoryItem::assign): 5778 (WebKit::WebHistoryItem::urlString): 5779 (WebKit::WebHistoryItem::setURLString): 5780 (WebKit::WebHistoryItem::originalURLString): 5781 (WebKit::WebHistoryItem::setOriginalURLString): 5782 (WebKit::WebHistoryItem::referrer): 5783 (WebKit::WebHistoryItem::setReferrer): 5784 (WebKit::WebHistoryItem::target): 5785 (WebKit::WebHistoryItem::setTarget): 5786 (WebKit::WebHistoryItem::parent): 5787 (WebKit::WebHistoryItem::setParent): 5788 (WebKit::WebHistoryItem::title): 5789 (WebKit::WebHistoryItem::setTitle): 5790 (WebKit::WebHistoryItem::alternateTitle): 5791 (WebKit::WebHistoryItem::setAlternateTitle): 5792 (WebKit::WebHistoryItem::lastVisitedTime): 5793 (WebKit::WebHistoryItem::setLastVisitedTime): 5794 (WebKit::WebHistoryItem::scrollOffset): 5795 (WebKit::WebHistoryItem::setScrollOffset): 5796 (WebKit::WebHistoryItem::isTargetItem): 5797 (WebKit::WebHistoryItem::setIsTargetItem): 5798 (WebKit::WebHistoryItem::visitCount): 5799 (WebKit::WebHistoryItem::setVisitCount): 5800 (WebKit::WebHistoryItem::documentState): 5801 (WebKit::WebHistoryItem::setDocumentState): 5802 (WebKit::WebHistoryItem::httpContentType): 5803 (WebKit::WebHistoryItem::setHTTPContentType): 5804 (WebKit::WebHistoryItem::httpBody): 5805 (WebKit::WebHistoryItem::setHTTPBody): 5806 (WebKit::WebHistoryItem::children): 5807 (WebKit::WebHistoryItem::setChildren): 5808 (WebKit::WebHistoryItem::appendToChildren): 5809 (WebKit::WebHistoryItem::WebHistoryItem): 5810 (WebKit::WebHistoryItem::operator=): 5811 (WebKit::WebHistoryItem::operator PassRefPtr<HistoryItem>): 5812 (WebKit::WebHistoryItem::ensureMutable): 5813 * src/WebImageCG.cpp: Added. 5814 (WebKit::WebImage::fromData): 5815 (WebKit::WebImage::reset): 5816 (WebKit::WebImage::assign): 5817 (WebKit::WebImage::isNull): 5818 (WebKit::WebImage::size): 5819 (WebKit::WebImage::WebImage): 5820 (WebKit::WebImage::operator=): 5821 * src/WebImageSkia.cpp: Added. 5822 (WebKit::WebImage::fromData): 5823 (WebKit::WebImage::reset): 5824 (WebKit::WebImage::assign): 5825 (WebKit::WebImage::isNull): 5826 (WebKit::WebImage::size): 5827 (WebKit::WebImage::WebImage): 5828 (WebKit::WebImage::operator=): 5829 5830 2009-11-09 Yaar Schnitman <yaar (a] chromium.src> 5831 5832 Reviewed by Dimitri Glazkov. 5833 5834 Up-streaming Chromium API src files: WebData...WebElement 5835 5836 https://bugs.webkit.org/show_bug.cgi?id=31276 5837 5838 * src/WebData.cpp: Added. 5839 (WebKit::WebData::reset): 5840 (WebKit::WebData::assign): 5841 (WebKit::WebData::size): 5842 (WebKit::WebData::data): 5843 (WebKit::WebData::WebData): 5844 (WebKit::WebData::operator=): 5845 (WebKit::WebData::operator PassRefPtr<SharedBuffer>): 5846 * src/WebDataSourceImpl.cpp: Added. 5847 (WebKit::WebDataSourceImpl::create): 5848 (WebKit::WebDataSourceImpl::originalRequest): 5849 (WebKit::WebDataSourceImpl::request): 5850 (WebKit::WebDataSourceImpl::response): 5851 (WebKit::WebDataSourceImpl::hasUnreachableURL): 5852 (WebKit::WebDataSourceImpl::unreachableURL): 5853 (WebKit::WebDataSourceImpl::redirectChain): 5854 (WebKit::WebDataSourceImpl::pageTitle): 5855 (WebKit::WebDataSourceImpl::navigationType): 5856 (WebKit::WebDataSourceImpl::triggeringEventTime): 5857 (WebKit::WebDataSourceImpl::extraData): 5858 (WebKit::WebDataSourceImpl::setExtraData): 5859 (WebKit::WebDataSourceImpl::toWebNavigationType): 5860 (WebKit::WebDataSourceImpl::endOfRedirectChain): 5861 (WebKit::WebDataSourceImpl::clearRedirectChain): 5862 (WebKit::WebDataSourceImpl::appendRedirect): 5863 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): 5864 (WebKit::WebDataSourceImpl::WebDataSourceImpl): 5865 (WebKit::WebDataSourceImpl::~WebDataSourceImpl): 5866 * src/WebDataSourceImpl.h: Added. 5867 (WebKit::WebDataSourceImpl::fromDocumentLoader): 5868 (WebKit::WebDataSourceImpl::hasRedirectChain): 5869 (WebKit::WebDataSourceImpl::releasePluginLoadObserver): 5870 * src/WebDatabase.cpp: Added. 5871 (WebKit::WebDatabase::reset): 5872 (WebKit::WebDatabase::assign): 5873 (WebKit::WebDatabase::name): 5874 (WebKit::WebDatabase::displayName): 5875 (WebKit::WebDatabase::estimatedSize): 5876 (WebKit::WebDatabase::securityOrigin): 5877 (WebKit::WebDatabase::setObserver): 5878 (WebKit::WebDatabase::observer): 5879 (WebKit::WebDatabase::updateDatabaseSize): 5880 (WebKit::WebDatabase::WebDatabase): 5881 (WebKit::WebDatabase::operator=): 5882 (WebKit::WebDatabase::operator WTF::PassRefPtr<Database>): 5883 * src/WebDevToolsAgentPrivate.h: Added. 5884 * src/WebDragData.cpp: Added. 5885 (WebKit::WebDragData::initialize): 5886 (WebKit::WebDragData::reset): 5887 (WebKit::WebDragData::assign): 5888 (WebKit::WebDragData::url): 5889 (WebKit::WebDragData::setURL): 5890 (WebKit::WebDragData::urlTitle): 5891 (WebKit::WebDragData::setURLTitle): 5892 (WebKit::WebDragData::fileExtension): 5893 (WebKit::WebDragData::setFileExtension): 5894 (WebKit::WebDragData::hasFileNames): 5895 (WebKit::WebDragData::fileNames): 5896 (WebKit::WebDragData::setFileNames): 5897 (WebKit::WebDragData::appendToFileNames): 5898 (WebKit::WebDragData::plainText): 5899 (WebKit::WebDragData::setPlainText): 5900 (WebKit::WebDragData::htmlText): 5901 (WebKit::WebDragData::setHTMLText): 5902 (WebKit::WebDragData::htmlBaseURL): 5903 (WebKit::WebDragData::setHTMLBaseURL): 5904 (WebKit::WebDragData::fileContentFileName): 5905 (WebKit::WebDragData::setFileContentFileName): 5906 (WebKit::WebDragData::fileContent): 5907 (WebKit::WebDragData::setFileContent): 5908 (WebKit::WebDragData::WebDragData): 5909 (WebKit::WebDragData::operator=): 5910 (WebKit::WebDragData::operator WTF::PassRefPtr<WebCore::ChromiumDataObject>): 5911 (WebKit::WebDragData::ensureMutable): 5912 * src/WebElement.cpp: Added. 5913 (WebKit::WebElement::WebElement): 5914 (WebKit::WebElement::operator=): 5915 (WebKit::WebElement::operator WTF::PassRefPtr<Element>): 5916 5917 2009-11-09 Nate Chapin <japhet (a] chromium.org> 5918 5919 Reviewed by Dimitri Glazkov. 5920 5921 WebPo*.h and WebRunetimeFeatures.h Chromium API headers. 5922 5923 https://bugs.webkit.org/show_bug.cgi?id=28394 5924 5925 * public/WebPoint.h: Added. 5926 (WebKit::WebPoint::WebPoint): 5927 (WebKit::WebPoint::operator=): 5928 (WebKit::WebPoint::operator WebCore::IntPoint): 5929 (WebKit::WebPoint::operator gfx::Point): 5930 (WebKit::operator==): 5931 (WebKit::operator!=): 5932 * public/WebPopupMenu.h: Added. 5933 * public/WebPopupMenuInfo.h: Added. 5934 (WebKit::WebPopupMenuInfo::Item::): 5935 * public/WebRuntimeFeatures.h: Added. 5936 5937 2009-11-09 Nate Chapin <japhet (a] chromium.org> 5938 5939 Reviewed by Dimitri Glazkov. 5940 5941 WebPa*.h and WebPl*.h Chromium API headers. 5942 5943 https://bugs.webkit.org/show_bug.cgi?id=28394 5944 5945 * public/WebPasswordAutocompleteListener.h: Added. 5946 (WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener): 5947 * public/WebPasswordFormData.h: Added. 5948 (WebKit::WebPasswordFormData::isValid): 5949 * public/WebPlugin.h: Added. 5950 (WebKit::WebPlugin::~WebPlugin): 5951 * public/WebPluginContainer.h: Added. 5952 (WebKit::WebPluginContainer::~WebPluginContainer): 5953 * public/WebPluginListBuilder.h: Added. 5954 * public/WebPluginParams.h: Added. 5955 5956 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 5957 5958 Reviewed by Dimitri Glazkov. 5959 5960 Up-streaming Chromium API src files: WebBindging ... WebCursorInfo 5961 5962 https://bugs.webkit.org/show_bug.cgi?id=31276 5963 5964 * src/WebBindings.cpp: Added. 5965 (WebKit::WebBindings::construct): 5966 (WebKit::WebBindings::createObject): 5967 (WebKit::WebBindings::enumerate): 5968 (WebKit::WebBindings::evaluate): 5969 (WebKit::WebBindings::evaluateHelper): 5970 (WebKit::WebBindings::getIntIdentifier): 5971 (WebKit::WebBindings::getProperty): 5972 (WebKit::WebBindings::getStringIdentifier): 5973 (WebKit::WebBindings::getStringIdentifiers): 5974 (WebKit::WebBindings::hasMethod): 5975 (WebKit::WebBindings::hasProperty): 5976 (WebKit::WebBindings::identifierIsString): 5977 (WebKit::WebBindings::intFromIdentifier): 5978 (WebKit::WebBindings::initializeVariantWithStringCopy): 5979 (WebKit::WebBindings::invoke): 5980 (WebKit::WebBindings::invokeDefault): 5981 (WebKit::WebBindings::releaseObject): 5982 (WebKit::WebBindings::releaseVariantValue): 5983 (WebKit::WebBindings::removeProperty): 5984 (WebKit::WebBindings::retainObject): 5985 (WebKit::WebBindings::setException): 5986 (WebKit::WebBindings::setProperty): 5987 (WebKit::WebBindings::unregisterObject): 5988 (WebKit::WebBindings::utf8FromIdentifier): 5989 (WebKit::WebBindings::extractIdentifierData): 5990 (WebKit::getEvent): 5991 (WebKit::getDragDataImpl): 5992 (WebKit::getRangeImpl): 5993 (WebKit::WebBindings::getDragData): 5994 (WebKit::WebBindings::isDragEvent): 5995 (WebKit::WebBindings::getRange): 5996 * src/WebCString.cpp: Added. 5997 (WebKit::WebCString::reset): 5998 (WebKit::WebCString::assign): 5999 (WebKit::WebCString::length): 6000 (WebKit::WebCString::data): 6001 (WebKit::WebCString::utf16): 6002 (WebKit::WebCString::fromUTF16): 6003 (WebKit::WebCString::WebCString): 6004 (WebKit::WebCString::operator=): 6005 (WebKit::WebCString::operator WebCore::CString): 6006 * src/WebCache.cpp: Added. 6007 (WebKit::ToResourceTypeStat): 6008 (WebKit::WebCache::setCapacities): 6009 (WebKit::WebCache::clear): 6010 (WebKit::WebCache::getUsageStats): 6011 (WebKit::WebCache::getResourceTypeStats): 6012 * src/WebColor.cpp: Added. 6013 (WebKit::toCSSValueKeyword): 6014 (WebKit::setNamedColors): 6015 * src/WebCrossOriginPreflightResultCache.cpp: Added. 6016 (WebKit::WebCrossOriginPreflightResultCache::clear): 6017 * src/WebCursorInfo.cpp: Added. 6018 (WebKit::WebCursorInfo::WebCursorInfo): 6019 6020 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6021 6022 Reviewed by Dimitri Glazkov. 6023 6024 Up-streaming Chromium API src files: WebAccessibilty 6025 6026 https://bugs.webkit.org/show_bug.cgi?id=31276 6027 6028 * src/WebAccessibilityCache.cpp: Added. 6029 (WebKit::WebAccessibilityCache::enableAccessibility): 6030 * src/WebAccessibilityCacheImpl.cpp: Added. 6031 (WebKit::toAccessibilityObject): 6032 (WebKit::WebAccessibilityCache::create): 6033 (WebKit::WebAccessibilityCacheImpl::WeakHandle::create): 6034 (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle): 6035 (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach): 6036 (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl): 6037 (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl): 6038 (WebKit::WebAccessibilityCacheImpl::initialize): 6039 (WebKit::WebAccessibilityCacheImpl::getObjectById): 6040 (WebKit::WebAccessibilityCacheImpl::isValidId): 6041 (WebKit::WebAccessibilityCacheImpl::remove): 6042 (WebKit::WebAccessibilityCacheImpl::clear): 6043 (WebKit::WebAccessibilityCacheImpl::addOrGetId): 6044 * src/WebAccessibilityCacheImpl.h: Added. 6045 (WebKit::WebAccessibilityCacheImpl::isInitialized): 6046 * src/WebAccessibilityObject.cpp: Added. 6047 (WebKit::WebAccessibilityObject::reset): 6048 (WebKit::WebAccessibilityObject::assign): 6049 (WebKit::WebAccessibilityObject::accessibilityDescription): 6050 (WebKit::WebAccessibilityObject::actionVerb): 6051 (WebKit::WebAccessibilityObject::canSetFocusAttribute): 6052 (WebKit::WebAccessibilityObject::childCount): 6053 (WebKit::WebAccessibilityObject::childAt): 6054 (WebKit::WebAccessibilityObject::firstChild): 6055 (WebKit::WebAccessibilityObject::focusedChild): 6056 (WebKit::WebAccessibilityObject::lastChild): 6057 (WebKit::WebAccessibilityObject::nextSibling): 6058 (WebKit::WebAccessibilityObject::parentObject): 6059 (WebKit::WebAccessibilityObject::previousSibling): 6060 (WebKit::WebAccessibilityObject::isAnchor): 6061 (WebKit::WebAccessibilityObject::isChecked): 6062 (WebKit::WebAccessibilityObject::isFocused): 6063 (WebKit::WebAccessibilityObject::isEnabled): 6064 (WebKit::WebAccessibilityObject::isHovered): 6065 (WebKit::WebAccessibilityObject::isIndeterminate): 6066 (WebKit::WebAccessibilityObject::isMultiSelect): 6067 (WebKit::WebAccessibilityObject::isOffScreen): 6068 (WebKit::WebAccessibilityObject::isPasswordField): 6069 (WebKit::WebAccessibilityObject::isPressed): 6070 (WebKit::WebAccessibilityObject::isReadOnly): 6071 (WebKit::WebAccessibilityObject::isVisited): 6072 (WebKit::WebAccessibilityObject::boundingBoxRect): 6073 (WebKit::WebAccessibilityObject::helpText): 6074 (WebKit::WebAccessibilityObject::hitTest): 6075 (WebKit::WebAccessibilityObject::keyboardShortcut): 6076 (WebKit::WebAccessibilityObject::performDefaultAction): 6077 (WebKit::WebAccessibilityObject::roleValue): 6078 (WebKit::WebAccessibilityObject::stringValue): 6079 (WebKit::WebAccessibilityObject::title): 6080 (WebKit::WebAccessibilityObject::WebAccessibilityObject): 6081 (WebKit::WebAccessibilityObject::operator=): 6082 (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>): 6083 6084 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6085 6086 Reviewed by Dimitri Glazkov. 6087 6088 Upstreaming Chromium API: Platform specific files 6089 6090 https://bugs.webkit.org/show_bug.cgi?id=28394 6091 6092 * public/gtk/WebFontInfo.h: Added. 6093 * public/gtk/WebInputEventFactory.h: Added. 6094 * public/gtk/WebScreenInfoFactory.h: Added. 6095 * public/linux/WebFontRendering.h: Added. 6096 * public/linux/WebSandboxSupport.h: Added. 6097 * public/mac/WebInputEventFactory.h: Added. 6098 * public/mac/WebScreenInfoFactory.h: Added. 6099 * public/win/WebInputEventFactory.h: Added. 6100 * public/win/WebSandboxSupport.h: Added. 6101 * public/win/WebScreenInfoFactory.h: Added. 6102 * public/win/WebThemeEngine.h: Added. 6103 * public/x11/WebScreenInfoFactory.h: Added. 6104 6105 2009-11-09 David Levin <levin (a] chromium.org> 6106 6107 Reviewed by Dmitry Titov. 6108 6109 Change struct ResourceRequest to class ResourceRequest per 6110 http://trac.webkit.org/changeset/50625. 6111 6112 * public/WebURLRequest.h: 6113 6114 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6115 6116 Reviewed by Dimitri Glazkov. 6117 6118 Upstream remaining Chromium API WebN*.h headers. 6119 6120 https://bugs.webkit.org/show_bug.cgi?id=28394 6121 6122 * public/WebNonCopyable.h: Added. 6123 (WebKit::WebNonCopyable::WebNonCopyable): 6124 (WebKit::WebNonCopyable::~WebNonCopyable): 6125 * public/WebNotification.h: Added. 6126 (WebKit::WebNotification::WebNotification): 6127 (WebKit::WebNotification::~WebNotification): 6128 (WebKit::WebNotification::operator=): 6129 (WebKit::WebNotification::equals): 6130 (WebKit::operator==): 6131 (WebKit::operator!=): 6132 (WebKit::operator<): 6133 * public/WebNotificationPermissionCallback.h: Added. 6134 (WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback): 6135 * public/WebNotificationPresenter.h: Added. 6136 (WebKit::WebNotificationPresenter::): 6137 6138 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6139 6140 Reviewed by Dimitri Glazkov. 6141 6142 Upstream Chromium API headers WebMessage through WebNavigation. 6143 6144 https://bugs.webkit.org/show_bug.cgi?id=28394 6145 6146 * public/WebMessagePortChannel.h: Added. 6147 (WebKit::WebMessagePortChannel::~WebMessagePortChannel): 6148 * public/WebMessagePortChannelClient.h: Added. 6149 (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient): 6150 * public/WebMimeRegistry.h: Added. 6151 (WebKit::WebMimeRegistry::): 6152 (WebKit::WebMimeRegistry::~WebMimeRegistry): 6153 * public/WebNavigationPolicy.h: Added. 6154 (WebKit::): 6155 * public/WebNavigationType.h: Added. 6156 (WebKit::): 6157 6158 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6159 6160 Reviewed by Dimitri Glazkov. 6161 6162 Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo. 6163 6164 https://bugs.webkit.org/show_bug.cgi?id=28394 6165 6166 * public/WebScreenInfo.h: Added. 6167 (WebKit::WebScreenInfo::WebScreenInfo): 6168 * public/WebScriptController.h: Added. 6169 * public/WebScriptSource.h: Added. 6170 (WebKit::WebScriptSource::WebScriptSource): 6171 * public/WebSearchableFormData.h: Added. 6172 (WebKit::WebSearchableFormData::isValid): 6173 (WebKit::WebSearchableFormData::url): 6174 (WebKit::WebSearchableFormData::encoding): 6175 * public/WebSecurityOrigin.h: Added. 6176 (WebKit::WebSecurityOrigin::~WebSecurityOrigin): 6177 (WebKit::WebSecurityOrigin::WebSecurityOrigin): 6178 (WebKit::WebSecurityOrigin::operator=): 6179 (WebKit::WebSecurityOrigin::isNull): 6180 * public/WebSecurityPolicy.h: Added. 6181 * public/WebSettings.h: Added. 6182 (WebKit::WebSettings::~WebSettings): 6183 * public/WebSharedWorker.h: Added. 6184 (WebKit::WebSharedWorker::~WebSharedWorker): 6185 * public/WebSharedWorkerRepository.h: Added. 6186 6187 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6188 6189 Reviewed by Dimitri Glazkov. 6190 6191 Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h. 6192 6193 https://bugs.webkit.org/show_bug.cgi?id=28394 6194 6195 * public/WebKit.h: Added. 6196 * public/WebKitClient.h: Added. 6197 (WebKit::WebKitClient::~WebKitClient): 6198 * public/WebLocalizedString.h: Added. 6199 (WebKit::WebLocalizedString::): 6200 * public/WebMediaPlayer.h: Added. 6201 (WebKit::WebTimeRange::WebTimeRange): 6202 (WebKit::WebMediaPlayer::): 6203 (WebKit::WebMediaPlayer::~WebMediaPlayer): 6204 * public/WebMediaPlayerAction.h: Added. 6205 (WebKit::WebMediaPlayerAction::): 6206 (WebKit::WebMediaPlayerAction::WebMediaPlayerAction): 6207 * public/WebMediaPlayerClient.h: Added. 6208 (WebKit::WebMediaPlayerClient::~WebMediaPlayerClient): 6209 6210 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6211 6212 Reviewed by Dimitri Glazkov. 6213 6214 Upstream rest of WebH*.h and WebI*.h Chromium API headers. 6215 6216 https://bugs.webkit.org/show_bug.cgi?id=28394 6217 6218 * public/WebHTTPBody.h: Added. 6219 (WebKit::WebHTTPBody::Element::): 6220 (WebKit::WebHTTPBody::~WebHTTPBody): 6221 (WebKit::WebHTTPBody::WebHTTPBody): 6222 (WebKit::WebHTTPBody::operator=): 6223 (WebKit::WebHTTPBody::isNull): 6224 * public/WebHTTPHeaderVisitor.h: Added. 6225 (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor): 6226 * public/WebHistoryItem.h: Added. 6227 (WebKit::WebHistoryItem::~WebHistoryItem): 6228 (WebKit::WebHistoryItem::WebHistoryItem): 6229 (WebKit::WebHistoryItem::operator=): 6230 (WebKit::WebHistoryItem::isNull): 6231 * public/WebImage.h: Added. 6232 (WebKit::WebImage::~WebImage): 6233 (WebKit::WebImage::WebImage): 6234 (WebKit::WebImage::operator=): 6235 (WebKit::WebImage::getSkBitmap): 6236 (WebKit::WebImage::init): 6237 (WebKit::WebImage::getCGImageRef): 6238 * public/WebInputEvent.h: Added. 6239 (WebKit::WebInputEvent::WebInputEvent): 6240 (WebKit::WebInputEvent::): 6241 (WebKit::WebInputEvent::isKeyboardEventType): 6242 (WebKit::WebKeyboardEvent::WebKeyboardEvent): 6243 (WebKit::WebMouseEvent::): 6244 (WebKit::WebMouseEvent::WebMouseEvent): 6245 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent): 6246 6247 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6248 6249 Reviewed by Eric Seidel. 6250 6251 Upstreaming the Chromium WebKit API: WebSockets and WebStorage. 6252 6253 https://bugs.webkit.org/show_bug.cgi?id=28394 6254 6255 * public/WebSocketStreamError.h: Added. 6256 * public/WebSocketStreamHandle.h: Added. 6257 (WebKit::WebSocketStreamHandle::~WebSocketStreamHandle): 6258 * public/WebSocketStreamHandleClient.h: Added. 6259 * public/WebStorageArea.h: Added. 6260 (WebKit::WebStorageArea::~WebStorageArea): 6261 * public/WebStorageEventDispatcher.h: Added. 6262 (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher): 6263 * public/WebStorageNamespace.h: Added. 6264 (WebKit::WebStorageNamespace::~WebStorageNamespace): 6265 6266 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6267 6268 Reviewed by Dimitri Glazkov. 6269 6270 Upstreaming the Chromium WebKit API: WebString and other basic objects. 6271 6272 https://bugs.webkit.org/show_bug.cgi?id=28394 6273 6274 * public/WebRange.h: Added. 6275 (WebKit::WebRange::~WebRange): 6276 (WebKit::WebRange::WebRange): 6277 (WebKit::WebRange::operator=): 6278 (WebKit::WebRange::isNull): 6279 * public/WebRect.h: Added. 6280 (WebKit::WebRect::isEmpty): 6281 (WebKit::WebRect::WebRect): 6282 (WebKit::WebRect::operator=): 6283 (WebKit::WebRect::operator WebCore::IntRect): 6284 (WebKit::WebRect::operator gfx::Rect): 6285 (WebKit::operator==): 6286 (WebKit::operator!=): 6287 * public/WebSize.h: Added. 6288 (WebKit::WebSize::isEmpty): 6289 (WebKit::WebSize::WebSize): 6290 (WebKit::WebSize::operator=): 6291 (WebKit::WebSize::operator WebCore::IntSize): 6292 (WebKit::WebSize::operator gfx::Size): 6293 (WebKit::operator==): 6294 (WebKit::operator!=): 6295 * public/WebString.h: Added. 6296 (WebKit::WebString::~WebString): 6297 (WebKit::WebString::WebString): 6298 (WebKit::WebString::operator=): 6299 (WebKit::WebString::isEmpty): 6300 (WebKit::WebString::isNull): 6301 (WebKit::WebString::operator string16): 6302 (WebKit::WebString::operator NullableString16): 6303 (WebKit::WebString::fromUTF8): 6304 6305 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6306 6307 Reviewed by Eric Seidel. 6308 6309 Upstreaming the Chromium WebKit API: WebText* 6310 6311 https://bugs.webkit.org/show_bug.cgi?id=28394 6312 6313 * public/WebTextAffinity.h: Added. 6314 (WebKit::): 6315 * public/WebTextDirection.h: Added. 6316 (WebKit::): 6317 6318 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6319 6320 Reviewed by Dimitri Glazkov. 6321 6322 Upstream remainder of WebE*.h and WebF*.h Chromium API headers. 6323 6324 https://bugs.webkit.org/show_bug.cgi?id=28394 6325 6326 * public/WebEditingAction.h: Added. 6327 (WebKit::): 6328 * public/WebFileChooserCompletion.h: Added. 6329 (WebKit::WebFileChooserCompletion::~WebFileChooserCompletion): 6330 * public/WebFindOptions.h: Added. 6331 (WebKit::WebFindOptions::WebFindOptions): 6332 * public/WebFontCache.h: Added. 6333 * public/WebFrame.h: Added. 6334 (WebKit::WebFrame::~WebFrame): 6335 * public/WebFrameClient.h: Added. 6336 (WebKit::WebFrameClient::createPlugin): 6337 (WebKit::WebFrameClient::createWorker): 6338 (WebKit::WebFrameClient::createSharedWorker): 6339 (WebKit::WebFrameClient::createMediaPlayer): 6340 (WebKit::WebFrameClient::willClose): 6341 (WebKit::WebFrameClient::loadURLExternally): 6342 (WebKit::WebFrameClient::decidePolicyForNavigation): 6343 (WebKit::WebFrameClient::canHandleRequest): 6344 (WebKit::WebFrameClient::cannotHandleRequestError): 6345 (WebKit::WebFrameClient::cancelledError): 6346 (WebKit::WebFrameClient::unableToImplementPolicyWithError): 6347 (WebKit::WebFrameClient::willSubmitForm): 6348 (WebKit::WebFrameClient::willPerformClientRedirect): 6349 (WebKit::WebFrameClient::didCancelClientRedirect): 6350 (WebKit::WebFrameClient::didCompleteClientRedirect): 6351 (WebKit::WebFrameClient::didCreateDataSource): 6352 (WebKit::WebFrameClient::didStartProvisionalLoad): 6353 (WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad): 6354 (WebKit::WebFrameClient::didFailProvisionalLoad): 6355 (WebKit::WebFrameClient::didReceiveDocumentData): 6356 (WebKit::WebFrameClient::didCommitProvisionalLoad): 6357 (WebKit::WebFrameClient::didClearWindowObject): 6358 (WebKit::WebFrameClient::didCreateDocumentElement): 6359 (WebKit::WebFrameClient::didReceiveTitle): 6360 (WebKit::WebFrameClient::didFinishDocumentLoad): 6361 (WebKit::WebFrameClient::didHandleOnloadEvents): 6362 (WebKit::WebFrameClient::didFailLoad): 6363 (WebKit::WebFrameClient::didFinishLoad): 6364 (WebKit::WebFrameClient::didChangeLocationWithinPage): 6365 (WebKit::WebFrameClient::didUpdateCurrentHistoryItem): 6366 (WebKit::WebFrameClient::assignIdentifierToRequest): 6367 (WebKit::WebFrameClient::willSendRequest): 6368 (WebKit::WebFrameClient::didReceiveResponse): 6369 (WebKit::WebFrameClient::didFinishResourceLoad): 6370 (WebKit::WebFrameClient::didFailResourceLoad): 6371 (WebKit::WebFrameClient::didLoadResourceFromMemoryCache): 6372 (WebKit::WebFrameClient::didDisplayInsecureContent): 6373 (WebKit::WebFrameClient::didRunInsecureContent): 6374 (WebKit::WebFrameClient::allowScript): 6375 (WebKit::WebFrameClient::didExhaustMemoryAvailableForScript): 6376 (WebKit::WebFrameClient::didCreateScriptContext): 6377 (WebKit::WebFrameClient::didDestroyScriptContext): 6378 (WebKit::WebFrameClient::didCreateIsolatedScriptContext): 6379 (WebKit::WebFrameClient::didChangeContentsSize): 6380 (WebKit::WebFrameClient::didChangeScrollOffset): 6381 (WebKit::WebFrameClient::reportFindInPageMatchCount): 6382 (WebKit::WebFrameClient::reportFindInPageSelection): 6383 (WebKit::WebFrameClient::~WebFrameClient): 6384 6385 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6386 6387 Reviewed by Dimitri Glazkov. 6388 6389 Upstream WebDevTools*.h and WebDrag*.h Chromium API headers. 6390 6391 https://bugs.webkit.org/show_bug.cgi?id=28394 6392 6393 * public/WebDevToolsAgent.h: Added. 6394 (WebKit::WebDevToolsAgent::~WebDevToolsAgent): 6395 * public/WebDevToolsAgentClient.h: Added. 6396 (WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient): 6397 * public/WebDevToolsFrontend.h: Added. 6398 (WebKit::WebDevToolsFrontend::~WebDevToolsFrontend): 6399 * public/WebDevToolsFrontendClient.h: Added. 6400 (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient): 6401 (WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient): 6402 * public/WebDragData.h: Added. 6403 (WebKit::WebDragData::~WebDragData): 6404 (WebKit::WebDragData::WebDragData): 6405 (WebKit::WebDragData::operator=): 6406 (WebKit::WebDragData::isNull): 6407 * public/WebDragOperation.h: Added. 6408 (WebKit::): 6409 6410 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6411 6412 Reviewed by Dimitri Glazkov. 6413 6414 Upstreaming the Chromium WebKit API: WebURL and friends. 6415 6416 https://bugs.webkit.org/show_bug.cgi?id=28394 6417 6418 * public/WebURL.h: Added. 6419 (WebKit::WebURL::~WebURL): 6420 (WebKit::WebURL::WebURL): 6421 (WebKit::WebURL::operator=): 6422 (WebKit::WebURL::assign): 6423 (WebKit::WebURL::spec): 6424 (WebKit::WebURL::parsed): 6425 (WebKit::WebURL::isValid): 6426 (WebKit::WebURL::isEmpty): 6427 (WebKit::WebURL::isNull): 6428 (WebKit::WebURL::operator GURL): 6429 * public/WebURLError.h: Added. 6430 (WebKit::WebURLError::WebURLError): 6431 * public/WebURLLoader.h: Added. 6432 (WebKit::WebURLLoader::~WebURLLoader): 6433 * public/WebURLLoaderClient.h: Added. 6434 (WebKit::WebURLLoaderClient::~WebURLLoaderClient): 6435 * public/WebURLRequest.h: Added. 6436 (WebKit::WebURLRequest::): 6437 (WebKit::WebURLRequest::~WebURLRequest): 6438 (WebKit::WebURLRequest::WebURLRequest): 6439 (WebKit::WebURLRequest::operator=): 6440 * public/WebURLResponse.h: Added. 6441 (WebKit::WebURLResponse::~WebURLResponse): 6442 (WebKit::WebURLResponse::WebURLResponse): 6443 (WebKit::WebURLResponse::operator=): 6444 6445 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6446 6447 Reviewed by Dimitri Glazkov. 6448 6449 Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient 6450 6451 https://bugs.webkit.org/show_bug.cgi?id=28394 6452 6453 * public/WebVector.h: Added. 6454 (WebKit::WebVector::~WebVector): 6455 (WebKit::WebVector::WebVector): 6456 (WebKit::WebVector::operator=): 6457 (WebKit::WebVector::assign): 6458 (WebKit::WebVector::size): 6459 (WebKit::WebVector::isEmpty): 6460 (WebKit::WebVector::operator[]): 6461 (WebKit::WebVector::data): 6462 (WebKit::WebVector::swap): 6463 (WebKit::WebVector::initialize): 6464 (WebKit::WebVector::initializeFrom): 6465 (WebKit::WebVector::destroy): 6466 * public/WebView.h: Added. 6467 (WebKit::WebView::~WebView): 6468 * public/WebViewClient.h: Added. 6469 (WebKit::WebViewClient::createView): 6470 (WebKit::WebViewClient::createPopupMenu): 6471 (WebKit::WebViewClient::didAddMessageToConsole): 6472 (WebKit::WebViewClient::printPage): 6473 (WebKit::WebViewClient::notificationPresenter): 6474 (WebKit::WebViewClient::didStartLoading): 6475 (WebKit::WebViewClient::didStopLoading): 6476 (WebKit::WebViewClient::shouldBeginEditing): 6477 (WebKit::WebViewClient::shouldEndEditing): 6478 (WebKit::WebViewClient::shouldInsertNode): 6479 (WebKit::WebViewClient::shouldInsertText): 6480 (WebKit::WebViewClient::shouldChangeSelectedRange): 6481 (WebKit::WebViewClient::shouldDeleteRange): 6482 (WebKit::WebViewClient::shouldApplyStyle): 6483 (WebKit::WebViewClient::isSmartInsertDeleteEnabled): 6484 (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled): 6485 (WebKit::WebViewClient::setInputMethodEnabled): 6486 (WebKit::WebViewClient::didBeginEditing): 6487 (WebKit::WebViewClient::didChangeSelection): 6488 (WebKit::WebViewClient::didChangeContents): 6489 (WebKit::WebViewClient::didExecuteCommand): 6490 (WebKit::WebViewClient::didEndEditing): 6491 (WebKit::WebViewClient::handleCurrentKeyboardEvent): 6492 (WebKit::WebViewClient::spellCheck): 6493 (WebKit::WebViewClient::autoCorrectWord): 6494 (WebKit::WebViewClient::showSpellingUI): 6495 (WebKit::WebViewClient::isShowingSpellingUI): 6496 (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord): 6497 (WebKit::WebViewClient::runFileChooser): 6498 (WebKit::WebViewClient::runModalAlertDialog): 6499 (WebKit::WebViewClient::runModalConfirmDialog): 6500 (WebKit::WebViewClient::runModalPromptDialog): 6501 (WebKit::WebViewClient::runModalBeforeUnloadDialog): 6502 (WebKit::WebViewClient::setStatusText): 6503 (WebKit::WebViewClient::setMouseOverURL): 6504 (WebKit::WebViewClient::setKeyboardFocusURL): 6505 (WebKit::WebViewClient::setToolTipText): 6506 (WebKit::WebViewClient::showContextMenu): 6507 (WebKit::WebViewClient::startDragging): 6508 (WebKit::WebViewClient::acceptsLoadDrops): 6509 (WebKit::WebViewClient::focusNext): 6510 (WebKit::WebViewClient::focusPrevious): 6511 (WebKit::WebViewClient::navigateBackForwardSoon): 6512 (WebKit::WebViewClient::historyBackListCount): 6513 (WebKit::WebViewClient::historyForwardListCount): 6514 (WebKit::WebViewClient::didAddHistoryItem): 6515 (WebKit::WebViewClient::focusAccessibilityObject): 6516 (WebKit::WebViewClient::didUpdateInspectorSettings): 6517 (WebKit::WebViewClient::queryAutofillSuggestions): 6518 (WebKit::WebViewClient::removeAutofillSuggestions): 6519 (WebKit::WebViewClient::~WebViewClient): 6520 * public/WebWidget.h: Added. 6521 (WebKit::WebWidget::~WebWidget): 6522 * public/WebWidgetClient.h: Added. 6523 (WebKit::WebWidgetClient::didInvalidateRect): 6524 (WebKit::WebWidgetClient::didScrollRect): 6525 (WebKit::WebWidgetClient::didFocus): 6526 (WebKit::WebWidgetClient::didBlur): 6527 (WebKit::WebWidgetClient::didChangeCursor): 6528 (WebKit::WebWidgetClient::closeWidgetSoon): 6529 (WebKit::WebWidgetClient::show): 6530 (WebKit::WebWidgetClient::runModal): 6531 (WebKit::WebWidgetClient::windowRect): 6532 (WebKit::WebWidgetClient::setWindowRect): 6533 (WebKit::WebWidgetClient::windowResizerRect): 6534 (WebKit::WebWidgetClient::rootWindowRect): 6535 (WebKit::WebWidgetClient::screenInfo): 6536 (WebKit::WebWidgetClient::~WebWidgetClient): 6537 * public/WebWorker.h: Added. 6538 (WebKit::WebWorker::~WebWorker): 6539 * public/WebWorkerClient.h: Added. 6540 (WebKit::WebWorkerClient::~WebWorkerClient): 6541 6542 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6543 6544 Reviewed by Dimitri Glazkov. 6545 6546 Upstream WebData*.h Chromium API files. 6547 6548 https://bugs.webkit.org/show_bug.cgi?id=28394 6549 6550 * public/WebData.h: Added. 6551 (WebKit::WebData::~WebData): 6552 (WebKit::WebData::WebData): 6553 (WebKit::WebData::operator=): 6554 (WebKit::WebData::isEmpty): 6555 (WebKit::WebData::isNull): 6556 * public/WebDataSource.h: Added. 6557 (WebKit::WebDataSource::ExtraData::~ExtraData): 6558 (WebKit::WebDataSource::~WebDataSource): 6559 * public/WebDatabase.h: Added. 6560 (WebKit::WebDatabase::WebDatabase): 6561 (WebKit::WebDatabase::~WebDatabase): 6562 (WebKit::WebDatabase::operator=): 6563 (WebKit::WebDatabase::isNull): 6564 * public/WebDatabaseObserver.h: Added. 6565 (WebKit::WebDatabaseObserver::~WebDatabaseObserver): 6566 6567 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6568 6569 Reviewed by Dimitri Glazkov. 6570 6571 Upstream the last of the Chromium API WebC*.h files. 6572 6573 https://bugs.webkit.org/show_bug.cgi?id=28394 6574 6575 * public/WebConsoleMessage.h: Added. 6576 (WebKit::WebConsoleMessage::): 6577 (WebKit::WebConsoleMessage::WebConsoleMessage): 6578 * public/WebContextMenuData.h: Added. 6579 (WebKit::WebContextMenuData::): 6580 * public/WebCookie.h: Added. 6581 (WebKit::WebCookie::WebCookie): 6582 * public/WebCrossOriginPreflightResultCache.h: Added. 6583 * public/WebCursorInfo.h: Added. 6584 (WebKit::WebCursorInfo::): 6585 (WebKit::WebCursorInfo::WebCursorInfo): 6586 6587 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6588 6589 Reviewed by Dimitri Glazkov. 6590 6591 More WebC*.h upstreaming. 6592 6593 https://bugs.webkit.org/show_bug.cgi?id=28394 6594 6595 * public/WebCString.h: Added. 6596 (WebKit::WebCString::~WebCString): 6597 (WebKit::WebCString::WebCString): 6598 (WebKit::WebCString::operator=): 6599 (WebKit::WebCString::isEmpty): 6600 (WebKit::WebCString::isNull): 6601 (WebKit::WebCString::operator std::string): 6602 (WebKit::WebCString::fromUTF16): 6603 * public/WebColorName.h: Added. 6604 (WebKit::): 6605 * public/WebCommon.h: Added. 6606 * public/WebCommonWorkerClient.h: Added. 6607 (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient): 6608 * public/WebCompositionCommand.h: Added. 6609 (WebKit::): 6610 6611 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 6612 6613 Reviewed by Dimitri Glazkov. 6614 6615 Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes 6616 6617 https://bugs.webkit.org/show_bug.cgi?id=28394 6618 6619 * public/WebElement.h: Added. 6620 (WebKit::WebElement::WebElement): 6621 (WebKit::WebElement::operator=): 6622 (WebKit::WebElement::assign): 6623 * public/WebFormElement.h: Added. 6624 (WebKit::WebFormElement::~WebFormElement): 6625 (WebKit::WebFormElement::WebFormElement): 6626 (WebKit::WebFormElement::operator=): 6627 (WebKit::WebFormElement::assign): 6628 * public/WebInputElement.h: Added. 6629 (WebKit::WebInputElement::WebInputElement): 6630 (WebKit::WebInputElement::operator=): 6631 (WebKit::WebInputElement::assign): 6632 * public/WebNode.h: Added. 6633 (WebKit::WebNode::~WebNode): 6634 (WebKit::WebNode::WebNode): 6635 (WebKit::WebNode::operator=): 6636 (WebKit::WebNode::isNull): 6637 (WebKit::WebNode::toElement): 6638 (WebKit::WebNode::unwrap): 6639 (WebKit::WebNode::constUnwrap): 6640 6641 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6642 6643 Reviewed by Dimitri Glazkov. 6644 6645 WebKit Chromium API upstreaming, WebBindings.h through WebColor.h. 6646 6647 * public/WebBindings.h: Added. 6648 * public/WebCache.h: Added. 6649 * public/WebCanvas.h: Added. 6650 * public/WebClipboard.h: Added. 6651 (WebKit::WebClipboard::): 6652 (WebKit::WebClipboard::~WebClipboard): 6653 * public/WebColor.h: Added. 6654 6655 2009-11-09 Nate Chapin <japhet (a] chromium.org> 6656 6657 Reviewed by Dimitri Glazkov. 6658 6659 Starting upstreaming the Chromium WebKit API. public/ contains header files only. 6660 6661 https://bugs.webkit.org/show_bug.cgi?id=28394 6662 6663 * ChangeLog: First!! 6664 * public: Added. 6665 * public/WebAccessibilityCache.h: Added. 6666 (WebKit::WebAccessibilityCache::WebAccessibilityCache): 6667 (WebKit::WebAccessibilityCache::~WebAccessibilityCache): 6668 * public/WebAccessibilityObject.h: Added. 6669 (WebKit::WebAccessibilityObject::~WebAccessibilityObject): 6670 (WebKit::WebAccessibilityObject::WebAccessibilityObject): 6671 (WebKit::WebAccessibilityObject::operator=): 6672 (WebKit::WebAccessibilityObject::isNull): 6673 * public/WebAccessibilityRole.h: Added. 6674 (WebKit::): 6675 * public/WebApplicationCacheHost.h: Added. 6676 (WebKit::WebApplicationCacheHost::): 6677 (WebKit::WebApplicationCacheHost::~WebApplicationCacheHost): 6678 * public/WebApplicationCacheHostClient.h: Added. 6679 (WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient): 6680