2010-02-19 Marcus Bulach <bulach@chromium.org>
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-02-19  Marcus Bulach  <bulach@chromium.org>
2
3         Reviewed by Jeremy Orlow.
4
5         Fixes GeolocationServiceBridgeImpl::stopUpdating (it can be called multiple times).
6
7         * src/GeolocationServiceBridgeChromium.cpp:
8         (WebKit::GeolocationServiceBridgeImpl::stopUpdating):
9
10 2010-02-19  Pavel Feldman  <pfeldman@chromium.org>
11
12         Not reviewed. Chromium build fix: reverting r54997 and r54998.
13
14         * DEPS:
15
16 2010-02-19  Pavel Feldman  <pfeldman@chromium.org>
17
18         Not reviewed. Chromium tests fix: update devtools code to match new
19         web inspector object proxy format.
20
21         * src/js/DebuggerAgent.js:
22         (devtools.DebuggerAgent.prototype.formatCallFrame_):
23         (devtools.DebuggerAgent.formatObjectProxy_):
24
25 2010-02-12  Kent Tamura  <tkent@chromium.org>
26
27         Unreviewed. Fix Chromium build.
28
29         * DEPS: Bump Google URL revision to 123.
30
31 2010-02-18  Yury Semikhatsky  <yurys@chromium.org>
32
33         Reviewed by Pavel Feldman.
34
35         Don't truncate long lines when evaluating expressions on a breakpoint.
36
37         https://bugs.webkit.org/show_bug.cgi?id=35102
38
39         * src/js/DebuggerAgent.js:
40
41 2010-02-18  Jay Campan  <jcampan@google.com>
42
43         Reviewed by Adam Barth.
44
45         Exposing the title in WebDocument.
46         
47         https://bugs.webkit.org/show_bug.cgi?id=35058
48
49         * public/WebDocument.h:
50         * src/WebDocument.cpp:
51         (WebKit::WebDocument::title):
52
53 2010-02-17  Dmitry Titov  <dimich@chromium.org>
54
55         Reviewed by David Levin, Darin Fisher, Simon Hausmann.
56
57         When a live iframe element is moved between pages, it still depends on the old page.
58         https://bugs.webkit.org/show_bug.cgi?id=34382
59
60         * src/FrameLoaderClientImpl.cpp:
61         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
62         (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
63         Since Chromium's WebFrameClient is destroyed once a window is closed,
64         if Frame moves between Pages, the client of corresponding WebFrame
65         should be replaced as well.
66
67         * src/FrameLoaderClientImpl.h:
68         * src/WebFrameImpl.h:
69         (WebKit::WebFrameImpl::setClient):
70
71 2010-02-17  Evan Martin  <evan@chromium.org>
72
73         Reviewed by Eric Seidel.
74
75         [chromium] expose cache-bypass flag in reload() API
76         https://bugs.webkit.org/show_bug.cgi?id=34969
77
78         This flag is used to force a reload to ignore caches.
79         (Aka "shift-reload".)
80
81         * public/WebFrame.h:
82         * src/WebFrameImpl.cpp:
83         (WebKit::WebFrameImpl::reload):
84         * src/WebFrameImpl.h:
85
86 2010-02-17  Kent Tamura  <tkent@chromium.org>
87
88         Reviewed by Eric Seidel.
89
90         Introduces new Icon loading interface in order to support
91         asynchronous loading.
92         https://bugs.webkit.org/show_bug.cgi?id=32054
93
94         Add an empty implementation of ChromeClient::iconForFiles().
95
96         * src/ChromeClientImpl.cpp:
97         (WebKit::ChromeClientImpl::iconForFiles):
98         * src/ChromeClientImpl.h:
99
100 2010-02-17  Kenneth Russell  <kbr@google.com>
101
102         Reviewed by Oliver Hunt.
103
104         Refactor texImage2D and texSubImage2D taking Image to use common code
105         https://bugs.webkit.org/show_bug.cgi?id=34458
106
107         Merged the Safari and Chromium code which extracts the data from
108         Image objects into common entry points on GraphicsContext3D. This
109         immediately fixes the following three problems:
110           - Chromium not implementing texSubImage2D taking Image.
111           - Safari not obeying the flipY parameter to texImage2D or
112             texSubImage2D taking Image.
113           - Safari not obeying the premultipyAlpha parameter to texImage2D
114             or texSubImage2D taking Image.
115         Added new test verifying the behavior of texImage2D and
116         texSubImage2D and the flipY parameter. The premultiplyAlpha
117         parameter can not be tested yet as the implementation is not yet
118         spec compliant. This will be fixed in a follow-on bug.
119
120         Ran all WebGL demos in demo repository on Safari and Chromium;
121         textures are now the right way up in both browsers, and
122         transparent textures in Particles demo now look correct in Safari.
123
124         * src/GraphicsContext3D.cpp:
125         (WebCore::GraphicsContext3D::texImage2D):
126         (WebCore::GraphicsContext3D::texSubImage2D):
127
128 2010-02-17  Alok Priyadarshi  <alokp@chromium.org>
129
130         Reviewed by Ariya Hidayat.
131
132         Bug 34900: Implement accelerated compositing for chromium.
133         https://bugs.webkit.org/show_bug.cgi?id=34900
134
135         * features.gypi: Added WTF_USE_ACCELERATED_COMPOSITING flag.
136
137 2010-02-17  Jian Li  <jianli@chromium.org>
138
139         Reviewed by Darin Fisher.
140
141         [chromium] Remove the obsolete chromium interface for handling DownloadURL.
142         https://bugs.webkit.org/show_bug.cgi?id=34982
143
144         * public/WebDragData.h:
145         * src/WebDragData.cpp:
146
147 2010-02-16  James Hawkins  <jhawkins@chromium.org>
148
149         Reviewed by Eric Seidel.
150
151         [Chromium] Remove calls to releaseRef when passing PassRefPtrs to base
152         classes.  releaseRef releases the original pointer without decreasing
153         the reference count, and the base class constructor increases the
154         reference count, leading to a leak.
155
156         https://bugs.webkit.org/show_bug.cgi?id=35000
157
158         * src/WebDocument.cpp:
159         (WebKit::WebDocument::WebDocument):
160         * src/WebElement.cpp:
161         (WebKit::WebElement::WebElement):
162         * src/WebFormElement.cpp:
163         (WebKit::WebFormElement::WebFormElement):
164         * src/WebInputElement.cpp:
165         (WebKit::WebInputElement::WebInputElement):
166
167 2010-02-15  Jeremy Orlow  <jorlow@chromium.org>
168
169         Reviewed by Darin Fisher.
170
171         [Chromium] Fix StorageNamespaceProxy::copy() for test shell
172         https://bugs.webkit.org/show_bug.cgi?id=34949
173
174         Chromium passes back NULL when you call WebStorageNamespace::proxy()
175         but TestShell returns a valid object.  Both need to work via
176         the WebStorageNamespace.
177
178         * src/StorageNamespaceProxy.cpp:
179         (WebCore::StorageNamespaceProxy::copy):
180
181 2010-02-14  Vangelis Kokkevis  <vangelis@chromium.org>
182
183         Reviewed by Darin Fisher.
184
185         [Chromium] Add support for the showDebugBorders setting to Chromium.
186
187         https://bugs.webkit.org/show_bug.cgi?id=34906
188
189         * public/WebSettings.h: Add declaration for setShowDebugBorders
190         * src/WebSettingsImpl.cpp:
191         (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
192         * src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
193
194 2010-02-11  Darin Fisher  <darin@chromium.org>
195
196         Reviewed by Jeremy Orlow.
197
198         Introduce WebCookieJar, and provide for a frame specific cookie jar.
199
200         https://bugs.webkit.org/show_bug.cgi?id=34878
201
202         * WebKit.gyp:
203         * public/WebCookieJar.h: Added.
204         * public/WebFrameClient.h:
205         (WebKit::WebFrameClient::cookieJar):
206         * public/WebKitClient.h:
207         (WebKit::WebKitClient::cookieJar):
208         (WebKit::WebKitClient::setCookies):
209         (WebKit::WebKitClient::cookies):
210         (WebKit::WebKitClient::rawCookies):
211         (WebKit::WebKitClient::deleteCookie):
212         (WebKit::WebKitClient::cookiesEnabled):
213         * src/ChromiumBridge.cpp:
214         (WebCore::getCookieJar):
215         (WebCore::ChromiumBridge::setCookies):
216         (WebCore::ChromiumBridge::cookies):
217         (WebCore::ChromiumBridge::rawCookies):
218         (WebCore::ChromiumBridge::deleteCookie):
219         (WebCore::ChromiumBridge::cookiesEnabled):
220
221 2010-02-12  Pavel Feldman  <pfeldman@chromium.org>
222
223         Reviewed by David Levin.
224
225         Chromium: provide theme overrides for Chromium devtools on Mac.
226
227         https://bugs.webkit.org/show_bug.cgi?id=34856
228
229         * src/js/devTools.css:
230
231 2010-02-12  Jeremy Orlow  <jorlow@chromium.org>
232
233         Reviewed by Darin Fisher.
234
235         [Chromium] Add a blockedByPolicy output to WebStorageArea::setItem.
236         https://bugs.webkit.org/show_bug.cgi?id=34897
237
238         * public/WebStorageArea.h:
239         (WebKit::WebStorageArea::setItem):
240         * src/WebStorageAreaImpl.cpp:
241         (WebKit::WebStorageAreaImpl::setItem):
242         * src/WebStorageAreaImpl.h:
243
244 2010-02-11  Jeremy Orlow  <jorlow@chromium.org>
245
246         Reviewed by David Levin.
247
248         [Chromium] Add ENABLE_RUBY to the feature defines gypi
249         https://bugs.webkit.org/show_bug.cgi?id=34841
250
251         * features.gypi:
252
253 2010-02-12  Yury Semikhatsky  <yurys@chromium.org>
254
255         Reviewed by Pavel Feldman.
256
257         Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer
258
259         https://bugs.webkit.org/show_bug.cgi?id=34890
260
261         * src/DebuggerAgentImpl.cpp:
262         (WebKit::DebuggerAgentImpl::createUtilityContext):
263
264 2010-02-11  Mikhail Naganov  <mnaganov@chromium.org>
265
266         Reviewed by Pavel Feldman.
267
268         [Chromium] Ignore subsequent requests of the same profiler log
269         chunks. This eliminates emission of several instances for the same
270         heap snapshot.
271
272         https://bugs.webkit.org/show_bug.cgi?id=34833
273
274         * src/js/ProfilerAgent.js:
275         (devtools.ProfilerAgent):
276         (devtools.ProfilerAgent.prototype.initializeProfiling):
277         (devtools.ProfilerAgent.prototype._getNextLogLines):
278         (devtools.ProfilerAgent.prototype.startProfiling):
279         (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
280         (devtools.ProfilerAgent.prototype._didGetLogLines):
281
282 2010-02-10  James Hawkins  <jhawkins@chromium.org>
283
284         Reviewed by Eric Seidel.
285
286         [Chromium] Remove code from SuggestionsPopup that was removed in a
287         previous revision of AutocompletePopup and accidentally added back in
288         the refactoring.
289
290         https://bugs.webkit.org/show_bug.cgi?id=34818
291
292         * src/AutoFillPopupMenuClient.cpp:
293         * src/AutoFillPopupMenuClient.h: Added property svn:eol-style.
294         * src/SuggestionsPopupMenuClient.cpp:
295         (WebKit::SuggestionsPopupMenuClient::popupDidHide):
296         (WebKit::SuggestionsPopupMenuClient::setTextFromItem):
297         (WebKit::SuggestionsPopupMenuClient::initialize):
298         * src/SuggestionsPopupMenuClient.h:
299
300 2010-02-10  Nate Chapin  <japhet@chromium.org>
301
302         Reviewed by Adam Barth.
303
304         Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters.
305
306         https://bugs.webkit.org/show_bug.cgi?id=34768
307
308         * src/DebuggerAgentImpl.cpp:
309         (WebKit::DebuggerAgentImpl::createUtilityContext):
310
311 2010-02-10  Kenneth Russell  <kbr@google.com>
312
313         Reviewed by Oliver Hunt.
314
315         Remove automatic viewport resizing
316         https://bugs.webkit.org/show_bug.cgi?id=34766
317
318         Removed automatic viewport resizing per conclusions on the WebGL
319         mailing list. Added test verifying new behavior and updated a
320         couple of previous tests failing after this change.
321
322         * src/GraphicsContext3D.cpp:
323         (WebCore::GraphicsContext3DInternal::reshape):
324
325 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
326
327         Reviewed by Pavel Feldman.
328
329         Chromium Win build fix. Add third_party/nss to the dependencies list on Windows.
330
331         https://bugs.webkit.org/show_bug.cgi?id=34789
332
333         * DEPS:
334
335 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
336
337         Reviewed by Pavel Feldman.
338
339         Rolling Chromium dependencies to match Chromium revision 38580.
340
341         https://bugs.webkit.org/show_bug.cgi?id=34789
342
343         * DEPS:
344
345 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
346
347         Reviewed by Pavel Feldman.
348
349         Use v8::Debug::ProcessDebugMessages instead of executing an empty function
350
351         https://bugs.webkit.org/show_bug.cgi?id=34704
352
353         * src/DebuggerAgent.h:
354         * src/DebuggerAgentImpl.cpp:
355         (WebKit::DebuggerAgentImpl::processDebugCommands):
356         * src/DebuggerAgentImpl.h:
357         * src/ToolsAgent.h:
358         * src/WebDevToolsAgentImpl.cpp:
359         * src/WebDevToolsAgentImpl.h:
360         * src/js/DebuggerAgent.js:
361         (devtools.DebuggerAgent.prototype.addBreakpoint):
362         * src/js/DevToolsHostStub.js:
363         (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
364         * src/js/InjectDispatch.js:
365         (dispatch):
366         * src/js/ProfilerAgent.js:
367         (devtools.ProfilerAgent.prototype.startProfiling):
368         (devtools.ProfilerAgent.prototype.stopProfiling):
369         * src/js/Tests.js:
370
371 2010-02-10  Tony Chang  <tony@chromium.org>
372
373         Unreviewed, build fix for Chromium Mac take 2.
374
375         * src/AutoFillPopupMenuClient.cpp:
376         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
377
378 2010-02-10  Tony Chang  <tony@chromium.org>
379
380         Unreviewed, build fix for Chromium Mac.
381
382         * src/AutoFillPopupMenuClient.cpp:
383         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
384
385 2010-02-09  James Hawkins  <jhawkins@chromium.org>
386
387         Reviewed by Darin Fisher.
388
389         [Chromium] Refactor AutocompletePopupMenuClient into a base class,
390         SuggestionsPopupMenuClient, and two derived classes,
391         AutocompletePopupMenuClient and AutoFillPopupMenuClient.  Currently
392         the behavior of suggestions popups has not changed.
393
394         https://bugs.webkit.org/show_bug.cgi?id=34721
395
396         * WebKit.gyp:
397         * public/WebView.h:
398         * src/AutoFillPopupMenuClient.cpp: Added.
399         * src/AutoFillPopupMenuClient.h: Added.
400         * src/AutocompletePopupMenuClient.cpp:
401         (WebKit::AutocompletePopupMenuClient::getSuggestionsCount):
402         (WebKit::AutocompletePopupMenuClient::getSuggestion):
403         (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
404         (WebKit::AutocompletePopupMenuClient::initialize):
405         (WebKit::AutocompletePopupMenuClient::setSuggestions):
406         * src/AutocompletePopupMenuClient.h:
407         * src/SuggestionsPopupMenuClient.cpp: Added.
408         * src/SuggestionsPopupMenuClient.h: Added.
409         * src/WebViewImpl.cpp:
410         (WebKit::WebViewImpl::WebViewImpl):
411         (WebKit::WebViewImpl::keyEvent):
412         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
413         (WebKit::WebViewImpl::applyAutofillSuggestions):
414         (WebKit::WebViewImpl::applyAutoFillSuggestions):
415         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
416         * src/WebViewImpl.h:
417
418 2010-02-09  Chris Guillory  <ctguil@google.com>
419
420         Reviewed by Darin Fisher.
421
422         [Chromium] Add function for accessibility object state change notifications.
423         
424         https://bugs.webkit.org/show_bug.cgi?id=34464
425
426         * gyp_webkit:
427         * public/WebViewClient.h:
428         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
429         * src/ChromeClientImpl.cpp:
430         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
431         * src/ChromeClientImpl.h:
432
433 2010-02-09  Mikhail Naganov  <mnaganov@chromium.org>
434
435         Reviewed by Pavel Feldman.
436
437         Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
438         Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
439         for really enabling it in V8 bindings generation.
440
441         https://bugs.webkit.org/show_bug.cgi?id=34706
442
443         * features.gypi:
444
445 2010-02-09  Jian Li  <jianli@chromium.org>
446
447         Reviewed by Darin Fisher.
448
449         [chromium] Add the chromium interface to support Blob.slice.
450         https://bugs.webkit.org/show_bug.cgi?id=34652
451
452         * WebKit.gyp:
453         * public/WebFileInfo.h: Added.
454         * public/WebHTTPBody.h:
455         * src/WebHTTPBody.cpp:
456         (WebKit::WebHTTPBody::elementAt):
457         (WebKit::WebHTTPBody::appendFile):
458
459 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
460
461         Unreviewed. Follow-up fix.
462
463         Add missing devTools.css file.
464
465         https://bugs.webkit.org/show_bug.cgi?id=34756
466
467         * src/js/devTools.css: Added.
468
469 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
470
471         Reviewed by Pavel Feldman.
472
473         Upstream DevTools Images and .css files.
474
475         https://bugs.webkit.org/show_bug.cgi?id=34756
476
477         * WebKit.gypi:
478         * src/js/DevTools.css: Added.
479         * src/js/Images/segmentChromium.png: Added.
480         * src/js/Images/segmentHoverChromium.png: Added.
481         * src/js/Images/segmentHoverEndChromium.png: Added.
482         * src/js/Images/segmentSelectedChromium.png: Added.
483         * src/js/Images/segmentSelectedEndChromium.png: Added.
484         * src/js/Images/statusbarBackgroundChromium.png: Added.
485         * src/js/Images/statusbarBottomBackgroundChromium.png: Added.
486         * src/js/Images/statusbarButtonsChromium.png: Added.
487         * src/js/Images/statusbarMenuButtonChromium.png: Added.
488         * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added.
489
490 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
491
492         Reviewed by Pavel Feldman.
493
494         Upstream JavaScript part of DevTools WebKit API implementation(now
495         with the added files).
496
497         https://bugs.webkit.org/show_bug.cgi?id=34744
498
499         * WebKit.gypi: Added.
500         * src/js/DebuggerAgent.js: Added.
501         (devtools.DebuggerAgent):
502         (devtools.DebuggerAgent.prototype.reset):
503         (devtools.DebuggerAgent.prototype.initUI):
504         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
505         (devtools.DebuggerAgent.prototype.resolveScriptSource):
506         (devtools.DebuggerAgent.prototype.pauseExecution):
507         (devtools.DebuggerAgent.prototype.addBreakpoint):
508         (devtools.DebuggerAgent.prototype.removeBreakpoint):
509         (devtools.DebuggerAgent.prototype.updateBreakpoint):
510         (devtools.DebuggerAgent.prototype.stepIntoStatement):
511         (devtools.DebuggerAgent.prototype.stepOutOfFunction):
512         (devtools.DebuggerAgent.prototype.stepOverStatement):
513         (devtools.DebuggerAgent.prototype.resumeExecution):
514         (devtools.DebuggerAgent.prototype.createExceptionMessage_):
515         (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
516         (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
517         (devtools.DebuggerAgent.prototype.pauseOnExceptions):
518         (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
519         (devtools.DebuggerAgent.prototype.requestEvaluate):
520         (devtools.DebuggerAgent.prototype.resolveChildren):
521         (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
522         (devtools.DebuggerAgent.prototype.resolveScope):
523         (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
524         (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
525         (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
526         (devtools.DebuggerAgent.prototype.getScriptContextType):
527         (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
528         (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
529         (devtools.DebuggerAgent.prototype.requestBacktrace_):
530         (devtools.DebuggerAgent.sendCommand_):
531         (devtools.DebuggerAgent.prototype.stepCommand_):
532         (devtools.DebuggerAgent.prototype.requestLookup_):
533         (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
534         (devtools.DebuggerAgent.prototype.setContextId_):
535         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
536         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
537         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
538         (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
539         (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
540         (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
541         (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
542         (devtools.DebuggerAgent.prototype.addScriptInfo_):
543         (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
544         (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
545         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
546         (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
547         (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
548         (devtools.DebuggerAgent.prototype.formatCallFrame_):
549         (devtools.DebuggerAgent.formatObjectProperties_):
550         (devtools.DebuggerAgent.propertiesToProxies_):
551         (devtools.DebuggerAgent.formatObjectProxy_):
552         (devtools.DebuggerAgent.webkitToV8LineNumber_):
553         (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
554         (devtools.ScriptInfo):
555         (devtools.ScriptInfo.prototype.getLineOffset):
556         (devtools.ScriptInfo.prototype.getContextType):
557         (devtools.ScriptInfo.prototype.getUrl):
558         (devtools.ScriptInfo.prototype.isUnresolved):
559         (devtools.ScriptInfo.prototype.getBreakpointInfo):
560         (devtools.ScriptInfo.prototype.addBreakpointInfo):
561         (devtools.ScriptInfo.prototype.removeBreakpointInfo):
562         (devtools.BreakpointInfo):
563         (devtools.BreakpointInfo.prototype.getLine):
564         (devtools.BreakpointInfo.prototype.getV8Id):
565         (devtools.BreakpointInfo.prototype.setV8Id):
566         (devtools.BreakpointInfo.prototype.markAsRemoved):
567         (devtools.BreakpointInfo.prototype.isRemoved):
568         (devtools.CallFrame):
569         (devtools.CallFrame.prototype.evaluate_):
570         (devtools.DebugCommand):
571         (devtools.DebugCommand.prototype.getSequenceNumber):
572         (devtools.DebugCommand.prototype.toJSONProtocol):
573         (devtools.DebuggerMessage):
574         (devtools.DebuggerMessage.prototype.getType):
575         (devtools.DebuggerMessage.prototype.getEvent):
576         (devtools.DebuggerMessage.prototype.getCommand):
577         (devtools.DebuggerMessage.prototype.getRequestSeq):
578         (devtools.DebuggerMessage.prototype.isRunning):
579         (devtools.DebuggerMessage.prototype.isSuccess):
580         (devtools.DebuggerMessage.prototype.getMessage):
581         (devtools.DebuggerMessage.prototype.getBody):
582         (devtools.DebuggerMessage.prototype.lookup):
583         * src/js/DevTools.js: Added.
584         (devtools.dispatch):
585         (devtools.ToolsAgent):
586         (devtools.ToolsAgent.prototype.reset):
587         (devtools.ToolsAgent.prototype.evaluateJavaScript):
588         (devtools.ToolsAgent.prototype.getDebuggerAgent):
589         (devtools.ToolsAgent.prototype.getProfilerAgent):
590         (devtools.ToolsAgent.prototype.frameNavigate_):
591         (devtools.ToolsAgent.prototype.dispatchOnClient_):
592         (devtools.ToolsAgent.prototype.evaluate):
593         (WebInspector.setResourcesPanelEnabled):
594         (debugPrint):
595         (devtools):
596         (WebInspector.loaded):
597         ():
598         (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
599         (WebInspector.ScriptView.prototype.didResolveScriptSource_):
600         (WebInspector.UnresolvedPropertyValue):
601         (WebInspector.UIString):
602         (WebInspector.resourceTrackingWasEnabled):
603         (WebInspector.resourceTrackingWasDisabled):
604         (WebInspector.TestController.prototype.runAfterPendingDispatches):
605         (WebInspector.queuesAreEmpty):
606         (WebInspector.pausedScript):
607         * src/js/DevToolsHostStub.js: Added.
608         (.RemoteDebuggerAgentStub):
609         (.RemoteDebuggerAgentStub.prototype.getContextId):
610         (.RemoteProfilerAgentStub):
611         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
612         (.RemoteProfilerAgentStub.prototype.getLogLines):
613         (.RemoteToolsAgentStub):
614         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
615         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
616         (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
617         (.ProfilerStubHelper):
618         (.ProfilerStubHelper.GetInstance):
619         (.ProfilerStubHelper.prototype.StopProfiling):
620         (.ProfilerStubHelper.prototype.StartProfiling):
621         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
622         (.ProfilerStubHelper.prototype.getLogLines):
623         (.RemoteDebuggerCommandExecutorStub):
624         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
625         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
626         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
627         (.DevToolsHostStub):
628         (.DevToolsHostStub.prototype.reset):
629         (.DevToolsHostStub.prototype.setting):
630         (.DevToolsHostStub.prototype.setSetting):
631         * src/js/HeapProfilerPanel.js: Added.
632         (WebInspector.ProfilesPanel.prototype.addSnapshot):
633         (WebInspector.HeapSnapshotView):
634         (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
635         (WebInspector.HeapSnapshotView.prototype.get profile):
636         (WebInspector.HeapSnapshotView.prototype.set profile):
637         (WebInspector.HeapSnapshotView.prototype.show):
638         (WebInspector.HeapSnapshotView.prototype.hide):
639         (WebInspector.HeapSnapshotView.prototype.resize):
640         (WebInspector.HeapSnapshotView.prototype.refresh):
641         (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
642         (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
643         (WebInspector.HeapSnapshotView.prototype.searchCanceled):
644         (WebInspector.HeapSnapshotView.prototype.performSearch):
645         (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):
646         (WebInspector.HeapSnapshotView.prototype._changeBase):
647         (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
648         (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
649         (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
650         (WebInspector.HeapSnapshotView.prototype._percentClicked):
651         (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
652         (WebInspector.HeapSnapshotView.prototype._sortData):
653         (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
654         (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
655         (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
656         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
657         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
658         (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
659         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
660         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
661         (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
662         (WebInspector.HeapSummaryCalculator):
663         (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
664         (WebInspector.HeapSummaryCalculator.prototype.formatValue):
665         (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
666         (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
667         (WebInspector.HeapSummaryCountCalculator):
668         (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
669         (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
670         (WebInspector.HeapSummarySizeCalculator):
671         (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
672         (WebInspector.HeapSnapshotSidebarTreeElement):
673         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
674         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
675         (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
676         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
677         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
678         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
679         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
680         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
681         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
682         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
683         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
684         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
685         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
686         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
687         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
688         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
689         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
690         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
691         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
692         (WebInspector.HeapSnapshotDataGridNode):
693         (WebInspector.HeapSnapshotDataGridList):
694         (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
695         (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
696         (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
697         (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
698         (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
699         (WebInspector.HeapSnapshotDataGridList.propertyComparator):
700         (WebInspector.HeapSnapshotDataGridRetainerNode):
701         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
702         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
703         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
704         (WebInspector.HeapSnapshotProfileType):
705         (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
706         (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
707         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
708         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
709         (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
710         (WebInspector.HeapSnapshotProfileType.prototype.createView):
711         ():
712         * src/js/InjectDispatch.js: Added.
713         (InspectorControllerDispatcher.dispatch):
714         (ApuAgentDispatcher.dispatchToApu):
715         (dispatch):
716         (devtools):
717         * src/js/InspectorControllerImpl.js: Added.
718         (devtools.InspectorBackendImpl):
719         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
720         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
721         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
722         (devtools.InspectorBackendImpl.prototype.addBreakpoint):
723         (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
724         (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
725         (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
726         (devtools.InspectorBackendImpl.prototype.resumeDebugger):
727         (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
728         (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
729         (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
730         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
731         (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
732         (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
733         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
734         (devtools.InspectorBackendImpl.prototype.startProfiling):
735         (devtools.InspectorBackendImpl.prototype.stopProfiling):
736         (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
737         (devtools.InspectorBackendImpl.prototype.addFullProfile):
738         (devtools.InspectorBackendImpl.prototype.getProfile):
739         (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
740         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
741         (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
742         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
743         * src/js/ProfilerAgent.js: Added.
744         (devtools.ProfilerAgent):
745         (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
746         (devtools.ProfilerAgent.prototype.initializeProfiling):
747         (devtools.ProfilerAgent.prototype.startProfiling):
748         (devtools.ProfilerAgent.prototype.stopProfiling):
749         (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
750         (devtools.ProfilerAgent.prototype.didGetLogLines_):
751         * src/js/ProfilerProcessor.js: Added.
752         (devtools.profiler.WebKitViewBuilder):
753         (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
754         (devtools.profiler.WebKitViewNode):
755         (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
756         (devtools.profiler.JsProfile):
757         (devtools.profiler.JsProfile.prototype.skipThisFunction):
758         (devtools.profiler.Processor):
759         (devtools.profiler.Processor.prototype.printError):
760         (devtools.profiler.Processor.prototype.skipDispatch):
761         (devtools.profiler.Processor.prototype.setCallbacks):
762         (devtools.profiler.Processor.prototype.setNewProfileCallback):
763         (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
764         (devtools.profiler.Processor.prototype.processProfiler_):
765         (devtools.profiler.Processor.prototype.processCodeCreation_):
766         (devtools.profiler.Processor.prototype.processCodeMove_):
767         (devtools.profiler.Processor.prototype.processCodeDelete_):
768         (devtools.profiler.Processor.prototype.processFunctionCreation_):
769         (devtools.profiler.Processor.prototype.processFunctionMove_):
770         (devtools.profiler.Processor.prototype.processFunctionDelete_):
771         (devtools.profiler.Processor.prototype.processTick_):
772         (devtools.profiler.Processor.prototype.processTickV2_):
773         (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
774         (devtools.profiler.Processor.prototype.processHeapSampleStats_):
775         (devtools.profiler.Processor.prototype.processHeapSampleItem_):
776         (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
777         (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
778         (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
779         (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
780         (devtools.profiler.Processor.prototype.createProfileForView):
781         * src/js/Tests.js: Added.
782         (.TestSuite):
783         (.TestSuite.prototype.fail):
784         (.TestSuite.prototype.assertEquals):
785         (.TestSuite.prototype.assertTrue):
786         (.TestSuite.prototype.assertContains):
787         (.TestSuite.prototype.takeControl):
788         (.TestSuite.prototype.releaseControl):
789         (.TestSuite.prototype.reportOk_):
790         (.TestSuite.prototype.reportFailure_):
791         (.TestSuite.prototype.runTest):
792         (.TestSuite.prototype.showPanel):
793         (.TestSuite.prototype.addSniffer.receiver.methodName):
794         (.TestSuite.prototype.addSniffer):
795         (.TestSuite.prototype.testHostIsPresent):
796         (.TestSuite.prototype.testElementsTreeRoot):
797         (.TestSuite.prototype.testMainResource):
798         (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
799         (.TestSuite.prototype.testResourceHeaders):
800         (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
801         (.TestSuite.prototype.testCachedResourceMimeType):
802         (.TestSuite.prototype.testProfilerTab):
803         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
804         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
805         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
806         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
807         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
808         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
809         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
810         (.TestSuite.prototype.testPauseOnException):
811         (.TestSuite.prototype.testPauseWhenLoadingDevTools):
812         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
813         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
814         (.TestSuite.prototype.testPauseWhenScriptIsRunning):
815         (.TestSuite.prototype.optionsToString_):
816         (.TestSuite.prototype.evaluateInConsole_):
817         (.TestSuite.prototype.waitForSetBreakpointResponse_):
818         (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
819         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
820         (.TestSuite.prototype.testCompletionOnPause):
821         (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
822         (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
823         (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
824         (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
825         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
826         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
827         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
828         (.TestSuite.prototype._checkExecutionLine):
829         (.TestSuite.prototype._scriptsAreParsed):
830         (.TestSuite.prototype._waitForScriptPause):
831         (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
832         (.TestSuite.prototype._checkSourceFrameWhenLoaded):
833         (.TestSuite.prototype._performSteps.doNextAction):
834         (.TestSuite.prototype._performSteps):
835         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
836         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
837         (.TestSuite.prototype._waitUntilScriptsAreParsed):
838         (.TestSuite.prototype._executeFunctionForStepTest):
839         (.TestSuite.prototype.testStepOver):
840         (.TestSuite.prototype.testStepOut):
841         (.TestSuite.prototype.testStepIn):
842         (.TestSuite.prototype._evaluateXpath):
843         (.TestSuite.prototype._findNode):
844         (.TestSuite.prototype._findText):
845         (.TestSuite.prototype._nodeIterator):
846         (.TestSuite.prototype._checkScopeSectionDiv):
847         (.TestSuite.prototype._expandScopeSections.updateListener):
848         (.TestSuite.prototype._expandScopeSections):
849         (.TestSuite.prototype.testExpandScope):
850         (.TestSuite.prototype.testExpandScope.examineScopes):
851         (.TestSuite.prototype._findChildProperty):
852         (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
853         (.TestSuite.prototype._hookGetPropertiesCallback.try):
854         (.TestSuite.prototype._hookGetPropertiesCallback):
855         (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
856         (.TestSuite.prototype.testDebugIntrinsicProperties):
857         (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
858         (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
859         (.TestSuite.createKeyEvent):
860         (.TestSuite.prototype.testConsoleLog.assertNext):
861         (.TestSuite.prototype.testConsoleLog):
862         (.TestSuite.prototype.testEvalGlobal.initEval):
863         (.TestSuite.prototype.testEvalGlobal):
864         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
865         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
866         (.uiTests.runAllTests):
867         (.uiTests.runTest):
868
869 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
870
871         Reviewed by Pavel Feldman.
872
873         Upstream JavaScript part of DevTools WebKit API implementation
874
875         https://bugs.webkit.org/show_bug.cgi?id=34744
876
877         * WebKit.gypi: Added.
878         * src/js/DebuggerAgent.js: Added.
879         (devtools.DebuggerAgent):
880         (devtools.DebuggerAgent.prototype.reset):
881         (devtools.DebuggerAgent.prototype.initUI):
882         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
883         (devtools.DebuggerAgent.prototype.resolveScriptSource):
884         (devtools.DebuggerAgent.prototype.pauseExecution):
885         (devtools.DebuggerAgent.prototype.addBreakpoint):
886         (devtools.DebuggerAgent.prototype.removeBreakpoint):
887         (devtools.DebuggerAgent.prototype.updateBreakpoint):
888         (devtools.DebuggerAgent.prototype.stepIntoStatement):
889         (devtools.DebuggerAgent.prototype.stepOutOfFunction):
890         (devtools.DebuggerAgent.prototype.stepOverStatement):
891         (devtools.DebuggerAgent.prototype.resumeExecution):
892         (devtools.DebuggerAgent.prototype.createExceptionMessage_):
893         (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
894         (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
895         (devtools.DebuggerAgent.prototype.pauseOnExceptions):
896         (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
897         (devtools.DebuggerAgent.prototype.requestEvaluate):
898         (devtools.DebuggerAgent.prototype.resolveChildren):
899         (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
900         (devtools.DebuggerAgent.prototype.resolveScope):
901         (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
902         (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
903         (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
904         (devtools.DebuggerAgent.prototype.getScriptContextType):
905         (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
906         (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
907         (devtools.DebuggerAgent.prototype.requestBacktrace_):
908         (devtools.DebuggerAgent.sendCommand_):
909         (devtools.DebuggerAgent.prototype.stepCommand_):
910         (devtools.DebuggerAgent.prototype.requestLookup_):
911         (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
912         (devtools.DebuggerAgent.prototype.setContextId_):
913         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
914         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
915         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
916         (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
917         (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
918         (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
919         (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
920         (devtools.DebuggerAgent.prototype.addScriptInfo_):
921         (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
922         (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
923         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
924         (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
925         (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
926         (devtools.DebuggerAgent.prototype.formatCallFrame_):
927         (devtools.DebuggerAgent.formatObjectProperties_):
928         (devtools.DebuggerAgent.propertiesToProxies_):
929         (devtools.DebuggerAgent.formatObjectProxy_):
930         (devtools.DebuggerAgent.webkitToV8LineNumber_):
931         (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
932         (devtools.ScriptInfo):
933         (devtools.ScriptInfo.prototype.getLineOffset):
934         (devtools.ScriptInfo.prototype.getContextType):
935         (devtools.ScriptInfo.prototype.getUrl):
936         (devtools.ScriptInfo.prototype.isUnresolved):
937         (devtools.ScriptInfo.prototype.getBreakpointInfo):
938         (devtools.ScriptInfo.prototype.addBreakpointInfo):
939         (devtools.ScriptInfo.prototype.removeBreakpointInfo):
940         (devtools.BreakpointInfo):
941         (devtools.BreakpointInfo.prototype.getLine):
942         (devtools.BreakpointInfo.prototype.getV8Id):
943         (devtools.BreakpointInfo.prototype.setV8Id):
944         (devtools.BreakpointInfo.prototype.markAsRemoved):
945         (devtools.BreakpointInfo.prototype.isRemoved):
946         (devtools.CallFrame):
947         (devtools.CallFrame.prototype.evaluate_):
948         (devtools.DebugCommand):
949         (devtools.DebugCommand.prototype.getSequenceNumber):
950         (devtools.DebugCommand.prototype.toJSONProtocol):
951         (devtools.DebuggerMessage):
952         (devtools.DebuggerMessage.prototype.getType):
953         (devtools.DebuggerMessage.prototype.getEvent):
954         (devtools.DebuggerMessage.prototype.getCommand):
955         (devtools.DebuggerMessage.prototype.getRequestSeq):
956         (devtools.DebuggerMessage.prototype.isRunning):
957         (devtools.DebuggerMessage.prototype.isSuccess):
958         (devtools.DebuggerMessage.prototype.getMessage):
959         (devtools.DebuggerMessage.prototype.getBody):
960         (devtools.DebuggerMessage.prototype.lookup):
961         * src/js/DevTools.js: Added.
962         (devtools.dispatch):
963         (devtools.ToolsAgent):
964         (devtools.ToolsAgent.prototype.reset):
965         (devtools.ToolsAgent.prototype.evaluateJavaScript):
966         (devtools.ToolsAgent.prototype.getDebuggerAgent):
967         (devtools.ToolsAgent.prototype.getProfilerAgent):
968         (devtools.ToolsAgent.prototype.frameNavigate_):
969         (devtools.ToolsAgent.prototype.dispatchOnClient_):
970         (devtools.ToolsAgent.prototype.evaluate):
971         (WebInspector.setResourcesPanelEnabled):
972         (debugPrint):
973         (devtools):
974         (WebInspector.loaded):
975         ():
976         (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
977         (WebInspector.ScriptView.prototype.didResolveScriptSource_):
978         (WebInspector.UnresolvedPropertyValue):
979         (WebInspector.UIString):
980         (WebInspector.resourceTrackingWasEnabled):
981         (WebInspector.resourceTrackingWasDisabled):
982         (WebInspector.TestController.prototype.runAfterPendingDispatches):
983         (WebInspector.queuesAreEmpty):
984         (WebInspector.pausedScript):
985         * src/js/DevToolsHostStub.js: Added.
986         (.RemoteDebuggerAgentStub):
987         (.RemoteDebuggerAgentStub.prototype.getContextId):
988         (.RemoteProfilerAgentStub):
989         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
990         (.RemoteProfilerAgentStub.prototype.getLogLines):
991         (.RemoteToolsAgentStub):
992         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
993         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
994         (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
995         (.ProfilerStubHelper):
996         (.ProfilerStubHelper.GetInstance):
997         (.ProfilerStubHelper.prototype.StopProfiling):
998         (.ProfilerStubHelper.prototype.StartProfiling):
999         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
1000         (.ProfilerStubHelper.prototype.getLogLines):
1001         (.RemoteDebuggerCommandExecutorStub):
1002         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
1003         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
1004         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
1005         (.DevToolsHostStub):
1006         (.DevToolsHostStub.prototype.reset):
1007         (.DevToolsHostStub.prototype.setting):
1008         (.DevToolsHostStub.prototype.setSetting):
1009         * src/js/HeapProfilerPanel.js: Added.
1010         (WebInspector.ProfilesPanel.prototype.addSnapshot):
1011         (WebInspector.HeapSnapshotView):
1012         (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
1013         (WebInspector.HeapSnapshotView.prototype.get profile):
1014         (WebInspector.HeapSnapshotView.prototype.set profile):
1015         (WebInspector.HeapSnapshotView.prototype.show):
1016         (WebInspector.HeapSnapshotView.prototype.hide):
1017         (WebInspector.HeapSnapshotView.prototype.resize):
1018         (WebInspector.HeapSnapshotView.prototype.refresh):
1019         (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
1020         (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
1021         (WebInspector.HeapSnapshotView.prototype.searchCanceled):
1022         (WebInspector.HeapSnapshotView.prototype.performSearch):
1023         (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):
1024         (WebInspector.HeapSnapshotView.prototype._changeBase):
1025         (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
1026         (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
1027         (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
1028         (WebInspector.HeapSnapshotView.prototype._percentClicked):
1029         (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
1030         (WebInspector.HeapSnapshotView.prototype._sortData):
1031         (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
1032         (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
1033         (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
1034         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
1035         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
1036         (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
1037         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
1038         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
1039         (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
1040         (WebInspector.HeapSummaryCalculator):
1041         (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
1042         (WebInspector.HeapSummaryCalculator.prototype.formatValue):
1043         (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
1044         (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
1045         (WebInspector.HeapSummaryCountCalculator):
1046         (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
1047         (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
1048         (WebInspector.HeapSummarySizeCalculator):
1049         (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
1050         (WebInspector.HeapSnapshotSidebarTreeElement):
1051         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
1052         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
1053         (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
1054         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
1055         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
1056         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
1057         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
1058         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
1059         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
1060         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
1061         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
1062         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
1063         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
1064         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
1065         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
1066         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
1067         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
1068         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
1069         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
1070         (WebInspector.HeapSnapshotDataGridNode):
1071         (WebInspector.HeapSnapshotDataGridList):
1072         (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
1073         (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
1074         (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
1075         (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
1076         (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
1077         (WebInspector.HeapSnapshotDataGridList.propertyComparator):
1078         (WebInspector.HeapSnapshotDataGridRetainerNode):
1079         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
1080         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
1081         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
1082         (WebInspector.HeapSnapshotProfileType):
1083         (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
1084         (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
1085         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
1086         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
1087         (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
1088         (WebInspector.HeapSnapshotProfileType.prototype.createView):
1089         ():
1090         * src/js/InjectDispatch.js: Added.
1091         (InspectorControllerDispatcher.dispatch):
1092         (ApuAgentDispatcher.dispatchToApu):
1093         (dispatch):
1094         (devtools):
1095         * src/js/InspectorControllerImpl.js: Added.
1096         (devtools.InspectorBackendImpl):
1097         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
1098         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
1099         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
1100         (devtools.InspectorBackendImpl.prototype.addBreakpoint):
1101         (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
1102         (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
1103         (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
1104         (devtools.InspectorBackendImpl.prototype.resumeDebugger):
1105         (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
1106         (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
1107         (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
1108         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
1109         (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
1110         (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
1111         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
1112         (devtools.InspectorBackendImpl.prototype.startProfiling):
1113         (devtools.InspectorBackendImpl.prototype.stopProfiling):
1114         (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
1115         (devtools.InspectorBackendImpl.prototype.addFullProfile):
1116         (devtools.InspectorBackendImpl.prototype.getProfile):
1117         (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
1118         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
1119         (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
1120         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
1121         * src/js/ProfilerAgent.js: Added.
1122         (devtools.ProfilerAgent):
1123         (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
1124         (devtools.ProfilerAgent.prototype.initializeProfiling):
1125         (devtools.ProfilerAgent.prototype.startProfiling):
1126         (devtools.ProfilerAgent.prototype.stopProfiling):
1127         (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
1128         (devtools.ProfilerAgent.prototype.didGetLogLines_):
1129         * src/js/ProfilerProcessor.js: Added.
1130         (devtools.profiler.WebKitViewBuilder):
1131         (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
1132         (devtools.profiler.WebKitViewNode):
1133         (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
1134         (devtools.profiler.JsProfile):
1135         (devtools.profiler.JsProfile.prototype.skipThisFunction):
1136         (devtools.profiler.Processor):
1137         (devtools.profiler.Processor.prototype.printError):
1138         (devtools.profiler.Processor.prototype.skipDispatch):
1139         (devtools.profiler.Processor.prototype.setCallbacks):
1140         (devtools.profiler.Processor.prototype.setNewProfileCallback):
1141         (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
1142         (devtools.profiler.Processor.prototype.processProfiler_):
1143         (devtools.profiler.Processor.prototype.processCodeCreation_):
1144         (devtools.profiler.Processor.prototype.processCodeMove_):
1145         (devtools.profiler.Processor.prototype.processCodeDelete_):
1146         (devtools.profiler.Processor.prototype.processFunctionCreation_):
1147         (devtools.profiler.Processor.prototype.processFunctionMove_):
1148         (devtools.profiler.Processor.prototype.processFunctionDelete_):
1149         (devtools.profiler.Processor.prototype.processTick_):
1150         (devtools.profiler.Processor.prototype.processTickV2_):
1151         (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
1152         (devtools.profiler.Processor.prototype.processHeapSampleStats_):
1153         (devtools.profiler.Processor.prototype.processHeapSampleItem_):
1154         (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
1155         (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
1156         (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
1157         (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
1158         (devtools.profiler.Processor.prototype.createProfileForView):
1159         * src/js/Tests.js: Added.
1160         (.TestSuite):
1161         (.TestSuite.prototype.fail):
1162         (.TestSuite.prototype.assertEquals):
1163         (.TestSuite.prototype.assertTrue):
1164         (.TestSuite.prototype.assertContains):
1165         (.TestSuite.prototype.takeControl):
1166         (.TestSuite.prototype.releaseControl):
1167         (.TestSuite.prototype.reportOk_):
1168         (.TestSuite.prototype.reportFailure_):
1169         (.TestSuite.prototype.runTest):
1170         (.TestSuite.prototype.showPanel):
1171         (.TestSuite.prototype.addSniffer.receiver.methodName):
1172         (.TestSuite.prototype.addSniffer):
1173         (.TestSuite.prototype.testHostIsPresent):
1174         (.TestSuite.prototype.testElementsTreeRoot):
1175         (.TestSuite.prototype.testMainResource):
1176         (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
1177         (.TestSuite.prototype.testResourceHeaders):
1178         (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
1179         (.TestSuite.prototype.testCachedResourceMimeType):
1180         (.TestSuite.prototype.testProfilerTab):
1181         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
1182         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
1183         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
1184         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
1185         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
1186         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
1187         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
1188         (.TestSuite.prototype.testPauseOnException):
1189         (.TestSuite.prototype.testPauseWhenLoadingDevTools):
1190         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
1191         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
1192         (.TestSuite.prototype.testPauseWhenScriptIsRunning):
1193         (.TestSuite.prototype.optionsToString_):
1194         (.TestSuite.prototype.evaluateInConsole_):
1195         (.TestSuite.prototype.waitForSetBreakpointResponse_):
1196         (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
1197         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
1198         (.TestSuite.prototype.testCompletionOnPause):
1199         (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
1200         (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
1201         (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
1202         (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
1203         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
1204         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
1205         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
1206         (.TestSuite.prototype._checkExecutionLine):
1207         (.TestSuite.prototype._scriptsAreParsed):
1208         (.TestSuite.prototype._waitForScriptPause):
1209         (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
1210         (.TestSuite.prototype._checkSourceFrameWhenLoaded):
1211         (.TestSuite.prototype._performSteps.doNextAction):
1212         (.TestSuite.prototype._performSteps):
1213         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
1214         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1215         (.TestSuite.prototype._waitUntilScriptsAreParsed):
1216         (.TestSuite.prototype._executeFunctionForStepTest):
1217         (.TestSuite.prototype.testStepOver):
1218         (.TestSuite.prototype.testStepOut):
1219         (.TestSuite.prototype.testStepIn):
1220         (.TestSuite.prototype._evaluateXpath):
1221         (.TestSuite.prototype._findNode):
1222         (.TestSuite.prototype._findText):
1223         (.TestSuite.prototype._nodeIterator):
1224         (.TestSuite.prototype._checkScopeSectionDiv):
1225         (.TestSuite.prototype._expandScopeSections.updateListener):
1226         (.TestSuite.prototype._expandScopeSections):
1227         (.TestSuite.prototype.testExpandScope):
1228         (.TestSuite.prototype.testExpandScope.examineScopes):
1229         (.TestSuite.prototype._findChildProperty):
1230         (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
1231         (.TestSuite.prototype._hookGetPropertiesCallback.try):
1232         (.TestSuite.prototype._hookGetPropertiesCallback):
1233         (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
1234         (.TestSuite.prototype.testDebugIntrinsicProperties):
1235         (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
1236         (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
1237         (.TestSuite.createKeyEvent):
1238         (.TestSuite.prototype.testConsoleLog.assertNext):
1239         (.TestSuite.prototype.testConsoleLog):
1240         (.TestSuite.prototype.testEvalGlobal.initEval):
1241         (.TestSuite.prototype.testEvalGlobal):
1242         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
1243         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
1244         (.uiTests.runAllTests):
1245         (.uiTests.runTest):
1246
1247 2010-02-09  Avi Drissman  <avi@chromium.org>
1248
1249         Reviewed by David Levin.
1250
1251         Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy
1252         https://bugs.webkit.org/show_bug.cgi?id=34615
1253
1254         * src/WebViewImpl.cpp:
1255         (WebKit::WebViewImpl::keyEventDefault):
1256
1257 2010-02-08  Evan Martin  <evan@chromium.org>
1258
1259         dlopen() knows how to search the library search path, so just rely on
1260         it.  While I'm at it, print out the dlerror() error message on failure.
1261
1262         [chromium] webgl shouldn't hard code library search path
1263         https://bugs.webkit.org/show_bug.cgi?id=34659
1264
1265         * src/GraphicsContext3D.cpp:
1266         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
1267         (WebCore::GraphicsContext3DInternal::GLConnection::create):
1268
1269 2010-02-08  Charlie Reis  <creis@chromium.org>
1270
1271         Reviewed by Darin Adler.
1272
1273         onbeforeunload not called at window close + frame or iframe focused
1274         https://bugs.webkit.org/show_bug.cgi?id=27481
1275         http://code.google.com/p/chromium/issues/detail?id=32615
1276         http://code.google.com/p/chromium/issues/detail?id=17157
1277
1278         Chromium and WebKit on Windows will now fire beforeunload handlers
1279         even if an inner frame is focused.
1280
1281         Layout tests aren't able to test this bug, since it requires closing
1282         the actual browser window, not calling window.close().  Instead,
1283         test with WebCore/manual-tests/onbeforeunload-focused-iframe.html.
1284
1285         * src/WebViewImpl.cpp:
1286         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
1287
1288 2010-02-08  Pavel Feldman  <pfeldman@chromium.org>
1289
1290         Reviewed by David Levin.
1291
1292         WebKit/chromium: Custom context menu does not work in inspector.
1293         https://bugs.webkit.org/show_bug.cgi?id=34711
1294
1295         * src/WebDevToolsFrontendImpl.cpp:
1296         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
1297
1298 2010-02-08  Nate Chapin  <japhet@chromium.org>
1299
1300         Reviewed by Darin Fisher.
1301
1302         Check that the index passed into BackForwardListClientImpl::itemAtIndex()
1303         is valid, and return null if it isn't.
1304
1305         https://bugs.webkit.org/show_bug.cgi?id=34722
1306
1307         * src/BackForwardListClientImpl.cpp:
1308         (WebKit::BackForwardListClientImpl::itemAtIndex):
1309
1310 2010-02-05  Dumitru Daniliuc  <dumi@chromium.org>
1311
1312         Reviewed by Jeremy Orlow.
1313
1314         Adding a way to close all database handles pointing to a certain
1315         database as soon as possible.
1316         https://bugs.webkit.org/show_bug.cgi?id=34619
1317
1318         * public/WebDatabase.h:
1319         * src/WebDatabase.cpp:
1320         (WebKit::WebDatabase::closeDatabaseImmediately):
1321
1322 2010-02-08  Dirk Schulze  <krit@webkit.org>
1323
1324         Reviewed by Nikolas Zimmermann.
1325
1326         Add back an AffineTransform class for use by SVG
1327         https://bugs.webkit.org/show_bug.cgi?id=33750
1328
1329         Use AffineTransform instead of TransformationMatrix here.
1330
1331         * tests/TransparencyWinTest.cpp:
1332         (WebCore::TEST):
1333
1334 2010-02-07  Jian Li  <jianli@chromium.org>
1335
1336         Reviewed by Darin Fisher.
1337
1338         [chromium] Change chromium interface to handle DownloadURL format.
1339         https://bugs.webkit.org/show_bug.cgi?id=34655
1340
1341         * public/WebDragData.h:
1342         * src/WebDragData.cpp:
1343         (WebKit::WebDragData::downloadMetadata):
1344         (WebKit::WebDragData::setDownloadMetadata):
1345
1346 2010-02-06  Dimitri Glazkov  <dglazkov@chromium.org>
1347
1348         No review, rolling out r54364.
1349         http://trac.webkit.org/changeset/54364
1350         https://bugs.webkit.org/show_bug.cgi?id=34464
1351
1352         Introduced asserts in layout tests, needs more testing
1353         locally.
1354
1355         * public/WebViewClient.h:
1356         * src/ChromeClientImpl.cpp:
1357         * src/ChromeClientImpl.h:
1358
1359 2010-02-05  James Hawkins  <jhawkins@chromium.org>
1360
1361         Reviewed by David Levin.
1362
1363         [Chromium] Rename autocomplete* to suggestions* to prepare for the
1364         refactoring of AutocompletePopupMenuClient.
1365
1366         https://bugs.webkit.org/show_bug.cgi?id=34664
1367
1368         * public/WebView.h:
1369         * src/AutocompletePopupMenuClient.cpp:
1370         (WebKit::AutocompletePopupMenuClient::popupDidHide):
1371         * src/EditorClientImpl.cpp:
1372         (WebKit::EditorClientImpl::textFieldDidEndEditing):
1373         (WebKit::EditorClientImpl::doAutofill):
1374         * src/WebViewImpl.cpp:
1375         (WebKit::):
1376         (WebKit::WebViewImpl::WebViewImpl):
1377         (WebKit::WebViewImpl::mouseDown):
1378         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
1379         (WebKit::WebViewImpl::setFocus):
1380         (WebKit::WebViewImpl::applyAutofillSuggestions):
1381         (WebKit::WebViewImpl::hideAutofillPopup):
1382         (WebKit::WebViewImpl::hideSuggestionsPopup):
1383         (WebKit::WebViewImpl::refreshSuggestionsPopup):
1384         * src/WebViewImpl.h:
1385         (WebKit::WebViewImpl::suggestionsPopupDidHide):
1386
1387 2010-02-05  James Hawkins  <jhawkins@chromium.org>
1388
1389         Reviewed by David Levin.
1390
1391         [Chromium] Remove an unused forward declaration in WebKitClient.h.
1392
1393         https://bugs.webkit.org/show_bug.cgi?id=34622
1394
1395         * public/WebKitClient.h:
1396
1397 2010-02-05  James Hawkins  <jhawkins@chromium.org>
1398
1399         Reviewed by Darin Fisher.
1400
1401         Implement WebInputElement::isActivatedSubmit().
1402
1403         https://bugs.webkit.org/show_bug.cgi?id=34623
1404
1405         * public/WebInputElement.h:
1406         * src/WebInputElement.cpp:
1407         (WebKit::WebInputElement::isActivatedSubmit):
1408
1409 2010-02-05  Nate Chapin  <japhet@chromium.org>
1410
1411         Reviewed by Dimitri Glazkov.
1412
1413         Update code for getting a v8::FunctionTemplate.
1414
1415         https://bugs.webkit.org/show_bug.cgi?id=34606
1416
1417         * src/WebDevToolsAgentImpl.cpp:
1418         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
1419
1420 2010-02-05  Mikhail Naganov  <mnaganov@chromium.org>
1421
1422         Reviewed by Pavel Feldman.
1423
1424         Enable JAVASCRIPT_DEBUGGER in chromium port.
1425
1426         https://bugs.webkit.org/show_bug.cgi?id=34638
1427
1428         * features.gypi:
1429
1430 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
1431
1432         Reviewed by Darin Fisher.
1433
1434         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin
1435         https://bugs.webkit.org/show_bug.cgi?id=34509
1436
1437         Resubmit: The previous commit (r54333) was rolled back.
1438
1439         * WebKit.gyp:
1440         * tests/TransparencyWinTest.cpp: Added.
1441         (WebCore::RECTToFloatRect):
1442         (WebCore::drawNativeRect):
1443         (WebCore::getPixelAt):
1444         (WebCore::clearTopLayerAlphaChannel):
1445         (WebCore::clearTopLayerAlphaPixel):
1446         (WebCore::operator<<):
1447         (WebCore::TEST):
1448         * tests/UniscribeHelperTest.cpp: Added.
1449         (WebCore::UniscribeTest::UniscribeTest):
1450         (WebCore::UniscribeTest::MakeFont):
1451         (WebCore::UniscribeTest::SetUp):
1452         (WebCore::UniscribeTest::TearDown):
1453         (TEST_F):
1454
1455 2010-02-04  Drew Wilson  <atwilson@chromium.org>
1456
1457         Reviewed by David Levin.
1458
1459         WorkerContext.close() does not work in the chromium port
1460         https://bugs.webkit.org/show_bug.cgi?id=34551
1461
1462         Test: Adding new downstream test.
1463
1464         * src/WebWorkerBase.cpp:
1465         (WebKit::WebWorkerBase::workerContextClosedTask):
1466         Now shuts down the worker thread when WorkerContext::close() is invoked.
1467
1468 2010-02-04  Chris Guillory  <chris.guillory@google.com>
1469
1470         Reviewed by Darin Fisher.
1471
1472         [Chromium] Add function for AccessibilityObject state change notifications.
1473         
1474         https://bugs.webkit.org/show_bug.cgi?id=34464
1475
1476         * public/WebViewClient.h:
1477         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
1478         * src/ChromeClientImpl.cpp:
1479         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
1480         * src/ChromeClientImpl.h:
1481
1482 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
1483
1484         Reviewed by Darin Fisher.
1485
1486         Update comments to better document the possible values of the
1487         writing direction menu state variables.
1488
1489         * public/WebContextMenuData.h:
1490
1491 2010-02-04  Nate Chapin  <japhet@chromium.org>
1492
1493         Reviewed by Dimitri Glazkov.
1494
1495         Remove references to V8Custom.
1496
1497         https://bugs.webkit.org/show_bug.cgi?id=32638
1498
1499         * src/DebuggerAgentImpl.cpp:
1500         * src/WebDevToolsFrontendImpl.cpp:
1501
1502 2010-02-04  Yury Semikhatsky  <yurys@chromium.org>
1503
1504         Unreviewed. Revert 54333 which broke Chromium build.
1505
1506         * WebKit.gyp:
1507         * tests/TransparencyWinTest.cpp: Removed.
1508         * tests/UniscribeHelperTest.cpp: Removed.
1509
1510 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
1511
1512         Reviewed by Darin Fisher.
1513
1514         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
1515         https://bugs.webkit.org/show_bug.cgi?id=34509
1516
1517         * WebKit.gyp:
1518         * tests/TransparencyWinTest.cpp: Added.
1519         (WebCore::RECTToFloatRect):
1520         (WebCore::drawNativeRect):
1521         (WebCore::getPixelAt):
1522         (WebCore::clearTopLayerAlphaChannel):
1523         (WebCore::clearTopLayerAlphaPixel):
1524         (WebCore::operator<<):
1525         (WebCore::TEST):
1526         * tests/UniscribeHelperTest.cpp: Added.
1527         (WebCore::UniscribeTest::UniscribeTest):
1528         (WebCore::UniscribeTest::MakeFont):
1529         (WebCore::UniscribeTest::SetUp):
1530         (WebCore::UniscribeTest::TearDown):
1531         (WebCore::TEST_F):
1532
1533 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
1534
1535         Reviewed by David Levin.
1536
1537         [Chromium] WebKit side of "Writing direction" context menu on OS X.
1538         https://bugs.webkit.org/show_bug.cgi?id=34524
1539
1540         * public/WebContextMenuData.h:
1541         (WebKit::WebContextMenuData::):
1542         * src/ContextMenuClientImpl.cpp:
1543         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1544
1545 2010-02-03  Drew Wilson  <atwilson@chromium.org>
1546
1547         Reviewed by Alexey Proskuryakov.
1548
1549         SharedWorkerScriptLoader should not be an ActiveDOMObject
1550         https://bugs.webkit.org/show_bug.cgi?id=34513
1551
1552         * src/SharedWorkerRepository.cpp:
1553         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
1554         Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
1555         (WebCore::SharedWorkerScriptLoader::parentContext):
1556         (WebCore::pendingLoaders):
1557         Now we manually track pending loads so we can shut them down when the parent context shuts down.
1558         (WebCore::SharedWorkerScriptLoader::contextDetached):
1559         Shuts down/frees any pending worker loads.
1560         (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
1561         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).
1562         (WebCore::SharedWorkerScriptLoader::load):
1563         (WebCore::SharedWorkerRepository::documentDetached):
1564         Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
1565
1566 2010-02-03  Alexander Pavlov  <apavlov@chromium.org>
1567
1568         Reviewed by Timothy Hatcher.
1569
1570         [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
1571         https://bugs.webkit.org/show_bug.cgi?id=34523
1572
1573         * src/WebDevToolsFrontendImpl.cpp:
1574         (WebKit::WebDevToolsFrontendImpl::jsPlatform):
1575
1576 2010-02-02  Joel Stanley  <joel@jms.id.au>
1577
1578         Reviewed by David Levin.
1579
1580         [Chromium] Add API method for setting caret blink frequency.
1581         https://bugs.webkit.org/show_bug.cgi?id=31704
1582
1583         This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
1584         to be called Chromium's API.  The API is linux-only as it is currently
1585         the only port to implement RenderTheme::setCaretBlinkInterval.
1586
1587         * WebKit.gyp:  Add WebRenderTheme.{h,cpp}
1588         * public/linux/WebRenderTheme.h: Added.
1589         * src/linux/WebRenderTheme.cpp: Added.
1590         (WebKit::setCaretBlinkInterval): Exposed API
1591
1592 2010-02-02  Shinichiro Hamaji  <hamaji@chromium.org>
1593
1594         Reviewed by Dimitri Glazkov.
1595
1596         [Chromium] Implement WebFrameImpl::pageNumberForElementById
1597         https://bugs.webkit.org/show_bug.cgi?id=34471
1598
1599         * public/WebFrame.h:
1600         * src/WebFrameImpl.cpp:
1601         (WebKit::WebFrameImpl::pageNumberForElementById):
1602         * src/WebFrameImpl.h:
1603
1604 2010-02-02  Yury Semikhatsky  <yurys@chromium.org>
1605
1606         Reviewed by Pavel Feldman.
1607
1608         Upstream DevTools code.
1609
1610         https://bugs.webkit.org/show_bug.cgi?id=34326
1611
1612         * WebKit.gyp:
1613         * src/APUAgentDelegate.h: Added.
1614         * src/BoundObject.cpp: Added.
1615         (WebKit::BoundObject::BoundObject):
1616         (WebKit::BoundObject::~BoundObject):
1617         (WebKit::BoundObject::addProtoFunction):
1618         (WebKit::BoundObject::build):
1619         * src/BoundObject.h: Added.
1620         * src/DebuggerAgent.h: Added.
1621         * src/DebuggerAgentImpl.cpp: Added.
1622         (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
1623         (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl):
1624         (WebKit::DebuggerAgentImpl::getContextId):
1625         (WebKit::DebuggerAgentImpl::debuggerOutput):
1626         (WebKit::DebuggerAgentImpl::createUtilityContext):
1627         (WebKit::DebuggerAgentImpl::executeUtilityFunction):
1628         (WebKit::DebuggerAgentImpl::executeVoidJavaScript):
1629         (WebKit::DebuggerAgentImpl::page):
1630         * src/DebuggerAgentImpl.h: Added.
1631         (WebKit::DebuggerAgentImpl::setAutoContinueOnException):
1632         (WebKit::DebuggerAgentImpl::autoContinueOnException):
1633         (WebKit::DebuggerAgentImpl::webdevtoolsAgent):
1634         (WebKit::DebuggerAgentImpl::webView):
1635         * src/DebuggerAgentManager.cpp: Added.
1636         (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
1637         (WebKit::DebuggerAgentManager::debugAttach):
1638         (WebKit::DebuggerAgentManager::debugDetach):
1639         (WebKit::DebuggerAgentManager::onV8DebugMessage):
1640         (WebKit::DebuggerAgentManager::pauseScript):
1641         (WebKit::DebuggerAgentManager::executeDebuggerCommand):
1642         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
1643         (WebKit::DebuggerAgentManager::setHostId):
1644         (WebKit::DebuggerAgentManager::onWebViewClosed):
1645         (WebKit::DebuggerAgentManager::onNavigate):
1646         (WebKit::DebuggerAgentManager::sendCommandToV8):
1647         (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
1648         (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context):
1649         (WebKit::DebuggerAgentManager::debuggerAgentForHostId):
1650         * src/DebuggerAgentManager.h: Added.
1651         (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope):
1652         (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope):
1653         * src/DevToolsRPC.h: Added.
1654         (WebKit::):
1655         (WebKit::DevToolsRPC::Delegate::Delegate):
1656         (WebKit::DevToolsRPC::Delegate::~Delegate):
1657         (WebKit::DevToolsRPC::DevToolsRPC):
1658         (WebKit::DevToolsRPC::~DevToolsRPC):
1659         (WebKit::DevToolsRPC::sendRpcMessage):
1660         * src/DevToolsRPCJS.h: Added.
1661         * src/ProfilerAgent.h: Added.
1662         * src/ProfilerAgentImpl.cpp: Added.
1663         (WebKit::ProfilerAgentImpl::getActiveProfilerModules):
1664         (WebKit::ProfilerAgentImpl::getLogLines):
1665         * src/ProfilerAgentImpl.h: Added.
1666         (WebKit::ProfilerAgentImpl::ProfilerAgentImpl):
1667         (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl):
1668         * src/ToolsAgent.h: Added.
1669         * src/WebDevToolsAgentImpl.cpp: Added.
1670         (WebKit::):
1671         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1672         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
1673         (WebKit::WebDevToolsAgentImpl::disposeUtilityContext):
1674         (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary):
1675         (WebKit::WebDevToolsAgentImpl::attach):
1676         (WebKit::WebDevToolsAgentImpl::detach):
1677         (WebKit::WebDevToolsAgentImpl::didNavigate):
1678         (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
1679         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
1680         (WebKit::WebDevToolsAgentImpl::forceRepaint):
1681         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
1682         (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
1683         (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript):
1684         (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend):
1685         (WebKit::WebDevToolsAgentImpl::inspectElementAt):
1686         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
1687         (WebKit::WebDevToolsAgentImpl::sendRpcMessage):
1688         (WebKit::WebDevToolsAgentImpl::compileUtilityScripts):
1689         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
1690         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
1691         (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
1692         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
1693         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
1694         (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
1695         (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
1696         (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
1697         (WebKit::WebDevToolsAgentImpl::inspectorController):
1698         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
1699         (WebKit::WebDevToolsAgentImpl::willSendRequest):
1700         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1701         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
1702         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
1703         (WebKit::WebDevToolsAgentImpl::didFailLoading):
1704         (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector):
1705         (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled):
1706         (WebKit::WebDevToolsAgent::create):
1707         (WebKit::WebDevToolsAgent::executeDebuggerCommand):
1708         (WebKit::WebDevToolsAgent::debuggerPauseScript):
1709         (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler):
1710         (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
1711         * src/WebDevToolsAgentImpl.h: Added.
1712         (WebKit::WebDevToolsAgentImpl::hostId):
1713         * src/WebDevToolsFrontendImpl.cpp: Added.
1714         (WebKit::ToV8String):
1715         (WebKit::WebDevToolsFrontend::create):
1716         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
1717         (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
1718         (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent):
1719         (WebKit::WebDevToolsFrontendImpl::executeScript):
1720         (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector):
1721         (WebKit::WebDevToolsFrontendImpl::sendRpcMessage):
1722         (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected):
1723         (WebKit::WebDevToolsFrontendImpl::contextMenuCleared):
1724         (WebKit::WebDevToolsFrontendImpl::jsLoaded):
1725         (WebKit::WebDevToolsFrontendImpl::jsPlatform):
1726         (WebKit::WebDevToolsFrontendImpl::jsPort):
1727         (WebKit::WebDevToolsFrontendImpl::jsCopyText):
1728         (WebKit::WebDevToolsFrontendImpl::jsActivateWindow):
1729         (WebKit::WebDevToolsFrontendImpl::jsCloseWindow):
1730         (WebKit::WebDevToolsFrontendImpl::jsDockWindow):
1731         (WebKit::WebDevToolsFrontendImpl::jsUndockWindow):
1732         (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL):
1733         (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels):
1734         (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand):
1735         (WebKit::WebDevToolsFrontendImpl::jsSetting):
1736         (WebKit::WebDevToolsFrontendImpl::jsSetSetting):
1737         (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript):
1738         (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading):
1739         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
1740         * src/WebDevToolsFrontendImpl.h: Added.
1741         (WebKit::WebDevToolsFrontendImpl::MenuProvider::create):
1742         (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider):
1743         (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect):
1744         (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu):
1745         (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected):
1746         (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared):
1747         (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider):
1748
1749 2010-02-01  Jeremy Orlow  <jorlow@chromium.org>
1750
1751         Reviewed by Darin Fisher.
1752
1753         [Chromium] Add WebSecurityOrigin::createFromString factory
1754         https://bugs.webkit.org/show_bug.cgi?id=34460
1755
1756         * public/WebSecurityOrigin.h:
1757         * src/WebSecurityOrigin.cpp:
1758         (WebKit::WebSecurityOrigin::createFromString):
1759
1760 2010-02-02  Kent Tamura  <tkent@chromium.org>
1761
1762         Reviewed by Darin Fisher.
1763
1764         [Chromium] Should not select a word on right-click.
1765         https://bugs.webkit.org/show_bug.cgi?id=33364
1766
1767         For non-Mac platforms, do not select a word around the caret when
1768         a context menu is opening. This behavior is not common in non-Mac
1769         platforms, and it prevents pasting with a context menu.
1770
1771         In order that the spell checker works without the selection, we
1772         introduce WebFrame::selectWordAroundCaret(). We can replace a word
1773         around the caret with selectWordAroundCaret() + replaceSelection().
1774
1775         * public/WebFrame.h: Add pure selectWordAroundCaret() declaration.
1776         * src/ContextMenuClientImpl.cpp:
1777         (WebKit::selectMisspelledWord): Move word-selection code to
1778         WebFrameImpl::selectWordAroundPosition(), and clear the selection
1779         on non-Mac.
1780         * src/WebFrameImpl.cpp:
1781         (WebKit::WebFrameImpl::selectWordAroundPosition):
1782         (WebKit::WebFrameImpl::selectWordAroundCaret):
1783         * src/WebFrameImpl.h: Add selectWordAroundCaret() declaration.
1784
1785 2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
1786
1787         Unreviewed attempt to fix the broken build.
1788
1789         This was introduced in http://trac.webkit.org/changeset/54182
1790
1791         * src/WebViewImpl.cpp:
1792         (WebKit::WebViewImpl::performMediaPlayerAction):
1793
1794 2010-01-27  Matt Perry  <mpcomplete@chromium.org>
1795
1796         Reviewed by Eric Seidel.
1797
1798         Add support for addUserScript to chromium port.
1799
1800         * public/WebView.h:
1801         * src/WebViewImpl.cpp:
1802         (WebKit::WebViewImpl::addUserScript):
1803         (WebKit::WebViewImpl::removeAllUserContent):
1804         * src/WebViewImpl.h:
1805
1806 2010-01-29  Philippe Normand  <pnormand@igalia.com>
1807
1808         Reviewed by Eric Carlson.
1809
1810         [GTK] set playbin mute property depending on volume value
1811         https://bugs.webkit.org/show_bug.cgi?id=31586
1812
1813         New API in MediaPlayer for mute control
1814
1815         * public/WebMediaPlayerClient.h:
1816         * src/WebMediaPlayerClientImpl.cpp:
1817         (WebKit::WebMediaPlayerClientImpl::volumeChanged):
1818         (WebKit::WebMediaPlayerClientImpl::muteChanged):
1819         * src/WebMediaPlayerClientImpl.h:
1820
1821 2010-01-31  Kent Tamura  <tkent@chromium.org>
1822
1823         Reviewed by Jeremy Orlow.
1824
1825         [Chromium] Fix a bug that a selected word is not recognized as a
1826         spell-check source.
1827         https://bugs.webkit.org/show_bug.cgi?id=33660
1828
1829         * src/ContextMenuClientImpl.cpp:
1830         (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check
1831         the return value of textBreakNext().
1832
1833 2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
1834
1835         Reviewed by Eric Seidel.
1836
1837         [Chromium] Clean up WebStorageArea
1838         https://bugs.webkit.org/show_bug.cgi?id=34353
1839
1840         Get rid of legacy glue code and fix a typo.
1841
1842         * public/WebStorageArea.h:
1843
1844 2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
1845
1846         Reviewed by Dimitri Glazkov.
1847
1848         A first step towards the Indexed Database API
1849         https://bugs.webkit.org/show_bug.cgi?id=34342
1850
1851         Add runtime enable support for Indexed Database API.
1852
1853         * features.gypi:
1854         * public/WebRuntimeFeatures.h:
1855         * src/WebRuntimeFeatures.cpp:
1856         (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
1857         (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
1858
1859 2010-01-29  Yury Semikhatsky  <yurys@chromium.org>
1860
1861         Reviewed by Pavel Feldman.
1862
1863         Add API methods for loading inspector utility scripts.
1864
1865         https://bugs.webkit.org/show_bug.cgi?id=34326
1866
1867         * public/WebDevToolsAgentClient.h:
1868         (WebKit::WebDevToolsAgentClient::injectedScriptSource):
1869         (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource):
1870
1871 2010-01-29  Darin Fisher  <darin@chromium.org>
1872
1873         Reviewed by Adam Barth.
1874
1875         Add FrameLoaderClient::allowImages method to allow the client to
1876         overrule image loading policy on a per frame basis.
1877
1878         https://bugs.webkit.org/show_bug.cgi?id=34225
1879
1880         * public/WebFrameClient.h:
1881         (WebKit::WebFrameClient::allowImages):
1882         * public/WebSettings.h:
1883         * src/FrameLoaderClientImpl.cpp:
1884         (WebKit::FrameLoaderClientImpl::allowImages):
1885         * src/FrameLoaderClientImpl.h:
1886         * src/WebSettingsImpl.cpp:
1887         (WebKit::WebSettingsImpl::setImagesEnabled):
1888         * src/WebSettingsImpl.h:
1889
1890 2010-01-28  Jeremy Orlow  <jorlow@chromium.org>
1891
1892         Reviewed by Darin Fisher.
1893
1894         StorageNamespaceProxy::copy() should be a no-op
1895         https://bugs.webkit.org/show_bug.cgi?id=34298
1896
1897         The comment in the code should make clear why.
1898
1899         * public/WebViewClient.h:
1900         * src/StorageNamespaceProxy.cpp:
1901         (WebCore::StorageNamespaceProxy::copy):
1902
1903 2010-01-28  Michael Nordman  <michaeln@google.com>
1904
1905         Reviewed by Alexey Proskuryakov.
1906
1907         ApplicationCache events should be deferred until after Document onload has fired.
1908         https://bugs.webkit.org/show_bug.cgi?id=29690
1909
1910         * src/ApplicationCacheHost.cpp:
1911         (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
1912         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
1913         (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
1914
1915 2010-01-27  Aaron Boodman  <aa@chromium.org>
1916
1917         Reviewed by Darin Adler.
1918
1919         Send full URL and application id of requesting context to Chromium
1920         when checking notification permissions.
1921
1922         https://bugs.webkit.org/show_bug.cgi?id=34238
1923
1924         * public/WebDocument.h:
1925         * src/WebDocument.cpp:
1926         (WebKit::WebDocument::applicationID):
1927         Implement applicationID() method.
1928
1929         * public/WebNotificationPresenter.h:
1930         * src/NotificationPresenterImpl.cpp:
1931         (WebKit::NotificationPresenterImpl::checkPermission):
1932         * src/NotificationPresenterImpl.h:
1933         Send applicationID and full URL through to Chromium.
1934
1935 2010-01-27  Darin Fisher  <darin@chromium.org>
1936
1937         Reviewed by Pavel Feldman.
1938
1939         Expose HistoryItem::documentSequenceNumber
1940         https://bugs.webkit.org/show_bug.cgi?id=34243
1941
1942         * public/WebHistoryItem.h:
1943         * src/WebHistoryItem.cpp:
1944         (WebKit::WebHistoryItem::documentSequenceNumber):
1945         (WebKit::WebHistoryItem::setDocumentSequenceNumber):
1946
1947 2010-01-26  Darin Fisher  <darin@chromium.org>
1948
1949         Reviewed by David Levin.
1950
1951         Add methods to support running a nested modal loop outside of WebKit.
1952         https://bugs.webkit.org/show_bug.cgi?id=34199
1953
1954         * public/WebView.h:
1955         * src/WebViewImpl.cpp:
1956         (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer
1957         (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer
1958
1959 2010-01-27  Darin Fisher  <darin@chromium.org>
1960
1961         Reviewed by Dimitri Glazkov.
1962
1963         Adding missing WebMutationEvent.cpp file to fix build bustage. 
1964         https://bugs.webkit.org/show_bug.cgi?id=33882
1965
1966         * public/WebMutationEvent.h: Remove unnecessary constructor.
1967         * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h.
1968         * src/WebMutationEvent.cpp: Added.
1969
1970 2010-01-27  Jay Campan  <jcampan@google.com>
1971
1972         Reviewed by Darin Fisher.
1973
1974         Adding EventListeners to the chromium API.
1975
1976         https://bugs.webkit.org/show_bug.cgi?id=33882
1977
1978         * WebKit.gyp:
1979         * public/WebEvent.h: Added.
1980         * public/WebEventListener.h: Added.
1981         * public/WebMutationEvent.h: Added.
1982         * public/WebNode.h:
1983         * public/WebString.h:
1984         (WebKit::operator==):
1985         (WebKit::operator!=):
1986         * src/EventListenerWrapper.cpp: Added.
1987         * src/EventListenerWrapper.h: Added.
1988         * src/WebEvent.cpp: Added.
1989         * src/WebEventListener.cpp: Added.
1990         * src/WebEventListenerPrivate.cpp: Added.
1991         * src/WebEventListenerPrivate.h: Added.
1992         * src/WebNode.cpp:
1993         (WebKit::WebNode::addEventListener):
1994         (WebKit::WebNode::removeEventListener):
1995         * src/WebString.cpp:
1996         (WebKit::WebString::equals):
1997
1998 2010-01-26  Yaar Schnitman  <yaar@chromium.org>
1999
2000         Reviewed by Darin Fisher.
2001
2002         Add KeyboardTest to WebKit API tests
2003         https://bugs.webkit.org/show_bug.cgi?id=34178
2004
2005         * WebKit.gyp:
2006         * tests/KeyboardTest.cpp: Added.
2007
2008 2010-01-22  Jeremy Orlow  <jorlow@chromium.org>
2009
2010         Reviewed by Darin Adler.
2011
2012         Make storage events match the spec.
2013         https://bugs.webkit.org/show_bug.cgi?id=30546
2014
2015         Update the storageEvent algorithm to match the change in WebCore.
2016
2017         * src/StorageAreaProxy.cpp:
2018         (WebCore::StorageAreaProxy::storageEvent):
2019
2020 2010-01-22  Elliot Glaysher  <erg@chromium.org>
2021
2022         Reviewed by David Levin.
2023
2024         Chromium: theme selection colors to match gtk theme
2025         Add functions to RenderThemeChromiumLinux to change the selection color
2026         according to the current GTK+ theme.
2027
2028         Since the change is to the Chromium WebKit API layer, testing is done
2029         in Chromium's test shell (see Chromium side of this patch:
2030         http://codereview.chromium.org/554004)
2031
2032         https://bugs.webkit.org/show_bug.cgi?id=33921
2033
2034         * public/WebView.h: Adds interface to change the selection colors
2035         * src/WebViewImpl.cpp:
2036         (WebKit::WebViewImpl::setSelectionColors): Implements new interface.
2037         * src/WebViewImpl.h:
2038
2039 2010-01-22  Steve VanDeBogart  <vandebo@chromium.org>
2040
2041         Reviewed by David Levin.
2042
2043         Middle clicking the main scroll bars should not trigger a paste event
2044         in Linux chromium.
2045         https://bugs.webkit.org/show_bug.cgi?id=33062
2046
2047         * src/WebViewImpl.cpp:
2048         (WebKit::WebViewImpl::mouseUp):
2049
2050 2010-01-22  Albert J. Wong  <ajwong@chromium.org>
2051
2052         Not reviewed.  backout.
2053
2054         Backout r53705.
2055         Causes ui_tests to timeout, and browser_tests to fail with
2056         TestConnectToBadPort and WindowOpenInvalidExtension.
2057
2058         * src/FrameLoaderClientImpl.cpp:
2059         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
2060         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
2061         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
2062         * src/WebViewImpl.cpp:
2063         (WebKit::WebViewImpl::WebViewImpl):
2064         * src/WebViewImpl.h:
2065
2066 2010-01-22  Peter Kasting  <pkasting@google.com>
2067
2068         Not reviewed, backout.
2069
2070         Back out r52673, which caused several regressions.
2071         https://bugs.webkit.org/show_bug.cgi?id=32533
2072
2073         * src/AutocompletePopupMenuClient.cpp:
2074         (WebKit::AutocompletePopupMenuClient::initialize):
2075         (WebKit::AutocompletePopupMenuClient::popupDidHide):
2076         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
2077         * src/AutocompletePopupMenuClient.h:
2078
2079 2010-01-21  Jeremy Orlow  <jorlow@chromium.org>
2080
2081         Reviewed by Darin Fisher.
2082
2083         The Chromium WebKit API needs to expose storage event related data
2084         https://bugs.webkit.org/show_bug.cgi?id=33985
2085
2086         setItem and removeItem on WebStorageArea need to expose what the previous
2087         value was for the key being modified.  Clear needs to return whether it
2088         actually cleared anything.
2089
2090         * public/WebStorageArea.h:
2091         (WebKit::WebStorageArea::setItem):
2092         (WebKit::WebStorageArea::removeItem):
2093         (WebKit::WebStorageArea::clear):
2094         * src/StorageAreaProxy.cpp:
2095         (WebCore::StorageAreaProxy::StorageAreaProxy):
2096         (WebCore::StorageAreaProxy::setItem):
2097         (WebCore::StorageAreaProxy::removeItem):
2098         (WebCore::StorageAreaProxy::clear):
2099         (WebCore::StorageAreaProxy::storageEvent):
2100         * src/StorageAreaProxy.h:
2101         * src/StorageNamespaceProxy.cpp:
2102         (WebCore::StorageNamespace::localStorageNamespace):
2103         (WebCore::StorageNamespace::sessionStorageNamespace):
2104         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
2105         (WebCore::StorageNamespaceProxy::copy):
2106         (WebCore::StorageNamespaceProxy::storageArea):
2107         * src/StorageNamespaceProxy.h:
2108         * src/WebStorageAreaImpl.cpp:
2109         (WebKit::WebStorageAreaImpl::setItem):
2110         (WebKit::WebStorageAreaImpl::removeItem):
2111         (WebKit::WebStorageAreaImpl::clear):
2112         * src/WebStorageAreaImpl.h:
2113
2114 2010-01-21  Darin Fisher  <darin@chromium.org>
2115
2116         Reviewed by David Levin.
2117
2118         [Chromium] spurious WebViewClient::didStopLoading if changing
2119         location.hash while a subframe is still loading
2120
2121         https://bugs.webkit.org/show_bug.cgi?id=33884
2122
2123         This is a refinement of http://trac.webkit.org/changeset/51548
2124
2125         * src/FrameLoaderClientImpl.cpp:
2126         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
2127         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
2128         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
2129         * src/WebViewImpl.cpp:
2130         (WebKit::WebViewImpl::WebViewImpl):
2131         (WebKit::WebViewImpl::didStartLoading):
2132         (WebKit::WebViewImpl::didStopLoading):
2133         * src/WebViewImpl.h:
2134
2135 2010-01-21  Adam Barth  <abarth@webkit.org>
2136
2137         Unreviewed.  Added a blank line requested by the great an powerful
2138         fishd.
2139
2140         * public/WebFrameClient.h:
2141
2142 2010-01-21  Adam Barth  <abarth@webkit.org>
2143
2144         Reviewed by Eric Seidel.
2145
2146         [chromium] Add allowPlugins callback to allow per-site enabling of plugins
2147         https://bugs.webkit.org/show_bug.cgi?id=33974
2148
2149         Forward the new allowPlugins callback to WebKitClient so that it can
2150         make the policy decision.
2151
2152         * public/WebFrameClient.h:
2153         (WebKit::WebFrameClient::allowPlugins):
2154         * src/FrameLoaderClientImpl.cpp:
2155         (WebKit::FrameLoaderClientImpl::allowJavaScript):
2156         (WebKit::FrameLoaderClientImpl::allowPlugins):
2157         * src/FrameLoaderClientImpl.h:
2158
2159 2010-01-21  James Robinson  <jamesr@chromium.org>
2160
2161         Reviewed by Darin Fisher.
2162
2163         Bumps the refcount when WebNode::toElement/toConstElement are called.
2164         https://bugs.webkit.org/show_bug.cgi?id=33977
2165         
2166         Ensures that when a wrapper around a WebNode is create via the
2167         toElement() or toConstElement() calls that the refcount on the WebNode
2168         is increased, by forcing a call to WebNode::assign().  This is needed
2169         so that the following code:
2170         {
2171           WebNode n = someNode();
2172           WebElement e = n.toElement<WebElement>();
2173         }
2174         does not decrease the overall refcount on the Node that someNode()
2175         returns.
2176
2177         This caused crashes in the 'Save page as..' feature.
2178
2179         * public/WebNode.h:
2180         (WebKit::WebNode::toElement):
2181         (WebKit::WebNode::toConstElement):
2182
2183 2010-01-21  Michael Nordman  <michaeln@google.com>
2184
2185         Reviewed by Darin Fisher.
2186
2187         Adds WebKit::WebDataSource::applicationCacheHost() to the API.
2188         https://bugs.webkit.org/show_bug.cgi?id=33880
2189
2190         * WebKit.gyp:
2191         * public/WebDataSource.h:
2192         * src/ApplicationCacheHost.cpp:
2193         * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp.
2194         (WebCore::ApplicationCacheHostInternal::notifyEventListener):
2195         (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
2196         * src/WebDataSourceImpl.cpp:
2197         (WebKit::WebDataSourceImpl::applicationCacheHost):
2198         * src/WebDataSourceImpl.h:
2199
2200 2010-01-21  Eric Uhrhane  <ericu@chromium.org>
2201
2202         Reviewed by Dmitry Titov.
2203
2204         Add changes missing from r53595, without which Chromium has no database.
2205
2206         https://bugs.webkit.org/show_bug.cgi?id=33966
2207
2208         No new tests - fixes database layout tests in Chromium.
2209
2210         * src/WebRuntimeFeatures.cpp:
2211         (WebKit::WebRuntimeFeatures::enableDatabase):
2212         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2213
2214 2010-01-21  Kenneth Russell  <kbr@google.com>
2215
2216         Reviewed by Oliver Hunt.
2217
2218         [Chromium] Implement texSubImage2D taking WebGLArray
2219         https://bugs.webkit.org/show_bug.cgi?id=33932
2220
2221         * src/GraphicsContext3D.cpp:
2222         (WebCore::GraphicsContext3D::texSubImage2D):
2223
2224 2010-01-20  Vitaly Repeshko  <vitalyr@chromium.org>
2225
2226         Reviewed by Pavel Feldman.
2227
2228         [V8] Support SerializedScriptValue.
2229         https://bugs.webkit.org/show_bug.cgi?id=32920
2230         http://crbug.com/30620
2231
2232         Updated uses of SerializedScriptValue:
2233         * src/PlatformMessagePortChannel.cpp:
2234         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
2235         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
2236         * src/WebWorkerBase.cpp:
2237         (WebKit::WebWorkerBase::postMessageToWorkerObject):
2238         * src/WebWorkerClientImpl.cpp:
2239         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
2240         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
2241         * src/WebWorkerImpl.cpp:
2242         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
2243
2244 2010-01-20  Shinichiro Hamaji  <hamaji@chromium.org>
2245
2246         Reviewed by Darin Fisher.
2247
2248         [Chromium] computePageRectsForFrame seems to be unnecessary
2249         https://bugs.webkit.org/show_bug.cgi?id=33881
2250
2251         * src/WebFrameImpl.cpp: Stop including FrameChromium.h
2252
2253 2010-01-19  Jon Honeycutt  <jhoneycutt@apple.com>
2254
2255         Chromium build fix.
2256
2257         * public/WebAccessibilityRole.h:
2258         (WebKit::):
2259         Correct enum names.
2260
2261         * src/LocalizedStrings.cpp:
2262         (WebCore::AXMenuListPopupActionVerb):
2263         Stubbed.
2264         (WebCore::AXMenuListActionVerb):
2265         Stubbed.
2266
2267 2010-01-19  Jon Honeycutt  <jhoneycutt@apple.com>
2268
2269         Chromium build fix.
2270
2271         * public/WebAccessibilityRole.h:
2272         (WebKit::):
2273
2274         * src/AssertMatchingEnums.cpp:
2275
2276 2010-01-18  Jonathan Dixon  <joth@chromium.org>
2277
2278         Reviewed by Adam Barth.
2279
2280         Add support for enabling navigator.geolocation at runtime in the V8 bindings.
2281         Adds the [EnabledAtRuntime] modifier to the navigator IDL.
2282         https://bugs.webkit.org/show_bug.cgi?id=33467
2283
2284         * public/WebRuntimeFeatures.h:
2285         * src/WebRuntimeFeatures.cpp:
2286         (WebKit::WebRuntimeFeatures::enableGeolocation):
2287         (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
2288
2289 2010-01-17  Kent Tamura  <tkent@chromium.org>
2290
2291         Reviewed by Shinichiro Hamaji.
2292
2293         [Chromium] Remove an old runFileChooser() method.
2294         https://bugs.webkit.org/show_bug.cgi?id=33778
2295         
2296         Chromium code switched to new runFileChooser() introduced by
2297         r53269. The old one is not needed anymore.
2298
2299         * public/WebViewClient.h:
2300         * src/ChromeClientImpl.cpp:
2301         (WebKit::ChromeClientImpl::runOpenPanel):
2302
2303 2010-01-15  Eric Seidel  <eric@webkit.org>
2304
2305         No review, rolling out r53344.
2306         http://trac.webkit.org/changeset/53344
2307         https://bugs.webkit.org/show_bug.cgi?id=32920
2308
2309         Broke the Chromium Mac builder.
2310
2311         * src/PlatformMessagePortChannel.cpp:
2312         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
2313         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
2314         * src/WebWorkerBase.cpp:
2315         (WebKit::WebWorkerBase::postMessageToWorkerObject):
2316         * src/WebWorkerClientImpl.cpp:
2317         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
2318         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
2319         * src/WebWorkerImpl.cpp:
2320         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
2321
2322 2010-01-15  Vitaly Repeshko  <vitalyr@chromium.org>
2323
2324         Reviewed by David Levin.
2325
2326         [V8] Support SerializedScriptValue.
2327         https://bugs.webkit.org/show_bug.cgi?id=32920
2328         http://crbug.com/30620
2329
2330         Updated uses of SerializedScriptValue:
2331         * src/PlatformMessagePortChannel.cpp:
2332         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
2333         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
2334         * src/WebWorkerBase.cpp:
2335         (WebKit::WebWorkerBase::postMessageToWorkerObject):
2336         * src/WebWorkerClientImpl.cpp:
2337         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
2338         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
2339         * src/WebWorkerImpl.cpp:
2340         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
2341
2342 2010-01-14  Jeremy Orlow  <jorlow@chromium.org>
2343
2344         Reviewed by Oliver Hunt.
2345
2346         [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
2347         https://bugs.webkit.org/show_bug.cgi?id=33704
2348
2349         * src/StorageNamespaceProxy.cpp:
2350         (WebCore::StorageNamespace::localStorageNamespace):
2351         (WebCore::StorageNamespace::sessionStorageNamespace):
2352
2353 2010-01-14  Marcus Bulach  <bulach@chromium.org>
2354
2355         Reviewed by Dimitri Glazkov.
2356
2357         Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
2358         https://bugs.webkit.org/show_bug.cgi?id=33648
2359
2360         * public/WebSecurityOrigin.h:
2361         * src/WebSecurityOrigin.cpp:
2362         (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
2363
2364 2010-01-14  Brian Weinstein  <bweinstein@apple.com>
2365
2366         Reviewed by Adam Roben.
2367
2368         Drag and Drop source/destination code needs cleanup.
2369         <https://bugs.webkit.org/show_bug.cgi?id=33691>.
2370         
2371         Update to new way of calling sourceOperation.
2372
2373         * src/DragClientImpl.cpp:
2374         (WebKit::DragClientImpl::startDrag):
2375
2376 2010-01-14  Nate Chapin  <japhet@chromium.org>
2377
2378         Reviewed by Dimitri Glazkov.
2379
2380         Remove references to V8DOMWrapper::convertToNative*().
2381
2382         https://bugs.webkit.org/show_bug.cgi?id=33677
2383
2384         * src/WebBindings.cpp:
2385         (WebKit::getDragDataImpl):
2386         (WebKit::getRangeImpl):
2387
2388 2010-01-14  Kent Tamura  <tkent@chromium.org>
2389
2390         Reviewed by Darin Fisher.
2391
2392         Introduce WebFileChooserParams to convey parameters for
2393         WebViewClient::runFileChooser(), and add new parameters to it.
2394         https://bugs.webkit.org/show_bug.cgi?id=32473
2395
2396         The new parameters are
2397          - selected file names
2398          - "accept" attribute value
2399
2400         * WebKit.gyp: Add WebFileChooserParams.h
2401         * public/WebFileChooserParams.h: Added.
2402         * public/WebViewClient.h:
2403         (WebKit::WebViewClient::runFileChooser):
2404           Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated.
2405         * src/ChromeClientImpl.cpp:
2406         (WebKit::ChromeClientImpl::runOpenPanel):
2407           Call the new runFileChooser() first, then call the old
2408           runFileChooser() if the new one failed.
2409
2410 2010-01-13  Kenneth Russell  <kbr@google.com>
2411
2412         Reviewed by Oliver Hunt.
2413
2414         Need to implement WebGLContextAttributes
2415         https://bugs.webkit.org/show_bug.cgi?id=31169
2416
2417         Added the WebGLContextAttributes class and custom JavaScript
2418         bindings to accept a native object as the second argument to
2419         getContext("experimental-webgl") per the WebGL specification.
2420         Added GraphicsContext3D::Attributes struct to isolate DOM and
2421         graphics layers. Added getContextAttributes() to
2422         WebGLRenderingContext. Added test case ensuring that context
2423         attributes can be passed down and returned. Tested in Safari and
2424         Chromium. The attributes will be hooked up to the creation of the
2425         OpenGL context in bug 33416.
2426
2427         * src/GraphicsContext3D.cpp:
2428         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2429         (WebCore::GraphicsContext3DInternal::getContextAttributes):
2430         (WebCore::GraphicsContext3D::create):
2431         (WebCore::GraphicsContext3D::GraphicsContext3D):
2432         (WebCore::GraphicsContext3D::getContextAttributes):
2433
2434 2010-01-13  Jon Honeycutt  <jhoneycutt@apple.com>
2435
2436         MSAA: selected, selectable, extended selectable, and multiple
2437         selectable states are not reported
2438
2439         https://bugs.webkit.org/show_bug.cgi?id=33574
2440         <rdar://problem/7536826>
2441
2442         Reviewed by Darin Adler.
2443
2444         * public/WebAccessibilityObject.h:
2445         Update for WebCore::AccessibilityObject function rename.
2446
2447         * src/WebAccessibilityObject.cpp:
2448         (WebKit::WebAccessibilityObject::isMultiSelectable):
2449         Ditto.
2450
2451 2010-01-13  Jeremy Orlow  <jorlow@chromium.org>
2452
2453         Reviewed by Darin Fisher.
2454
2455         [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
2456         https://bugs.webkit.org/show_bug.cgi?id=33492
2457
2458         * public/WebKitClient.h:
2459         * public/WebViewClient.h:
2460         (WebKit::WebViewClient::createSessionStorageNamespace):
2461         * src/StorageNamespaceProxy.cpp:
2462         (WebCore::StorageNamespace::sessionStorageNamespace):
2463
2464 2010-01-13  Jeremy Orlow  <jorlow@chromium.org>
2465
2466         No reviewer.  More or less a build fix.  My 53180 broke some 
2467         stuff on the Chromium port so I'm reverting.
2468
2469         * public/WebKitClient.h:
2470         * public/WebViewClient.h:
2471         * src/StorageNamespaceProxy.cpp:
2472         (WebCore::StorageNamespace::sessionStorageNamespace):
2473
2474 2010-01-11  Jeremy Orlow  <jorlow@chromium.org>
2475
2476         Reviewed by Darin Fisher.
2477
2478         [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
2479         https://bugs.webkit.org/show_bug.cgi?id=33492
2480
2481         * public/WebKitClient.h:
2482         * public/WebViewClient.h:
2483         (WebKit::WebViewClient::getSessionStorageNamespace):
2484         * src/StorageNamespaceProxy.cpp:
2485         (WebCore::StorageNamespace::sessionStorageNamespace):
2486
2487 2010-01-11  Darin Fisher  <darin@chromium.org>
2488
2489         Reviewed by Dimitri Glazkov.
2490
2491         [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once
2492         https://bugs.webkit.org/show_bug.cgi?id=33504
2493
2494         * WebKit.gyp:
2495         * tests/KURLTest.cpp:
2496         (ComponentCase::TEST):
2497         * tests/RunAllTests.cpp: Added.
2498         (main):
2499         * tests/WebKitTest.h: Removed.
2500
2501 2010-01-09  Adam Barth  <abarth@webkit.org>
2502
2503         Reviewed by Darin Adler.
2504
2505         ScriptController::isEnabled needs to be renamed
2506         https://bugs.webkit.org/show_bug.cgi?id=32063
2507
2508         Rename ScriptController::isEnabled to
2509         ScriptController::canExecuteScripts.
2510
2511         * src/WebFrameImpl.cpp:
2512         (WebKit::WebFrameImpl::bindToWindowObject):
2513
2514 2010-01-08  Daniel Bates  <dbates@webkit.org>
2515
2516         Reviewed by Adam Barth.
2517
2518         https://bugs.webkit.org/show_bug.cgi?id=33417
2519
2520         Cleans up style errors exposed by the patch for bug #33198.
2521
2522         No functionality was changed. So, no new tests.
2523
2524         * src/GraphicsContext3D.cpp:
2525
2526 2010-01-08  Darin Fisher  <darin@chromium.org>
2527
2528         Reviewed by Dimitri Glazkov.
2529
2530         [Chromium] Upstream webkit unit tests from the chromium repository
2531         https://bugs.webkit.org/show_bug.cgi?id=33351
2532
2533         This adds one such test (for KURL) and sets up the test framework.
2534
2535         Switch WebKit to build a static library on all platforms.  Add a
2536         webkit_unit_tests executable target that runs the unit tests and also
2537         ensures that we don't have any missing symbols (a function that WebKit
2538         as a shared library used to serve).
2539
2540         Changes chromium_src_dir to ../../WebKit/chromium to match how
2541         WebCore.gyp defines that variable.
2542
2543         * WebKit.gyp:
2544         * public/WebKitClient.h:
2545         (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon.
2546         (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon.
2547         (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon.
2548         (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon.
2549         (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon.
2550         (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon.
2551         * tests: Added.
2552         * tests/KURLTest.cpp: Added.
2553         * tests/WebKitTest.h: Added.
2554
2555 2010-01-07  Mike Belshe  <mbelshe@chromium.org>
2556
2557         Reviewed by Darin Adler.
2558
2559         Fix Spdy casing to match style guide.
2560
2561         https://bugs.webkit.org/show_bug.cgi?id=33326
2562
2563         * public/WebURLResponse.h:
2564         * src/WebURLResponse.cpp:
2565         (WebKit::WebURLResponse::wasFetchedViaSPDY):
2566         (WebKit::WebURLResponse::setWasFetchedViaSPDY):
2567
2568 2010-01-07  Daniel Bates  <dbates@rim.com>
2569
2570         Reviewed by Eric Seidel.
2571
2572         https://bugs.webkit.org/show_bug.cgi?id=32987
2573
2574         Added ENABLE_XHTMLMP flag. Disabled by default.
2575
2576         * features.gypi:
2577
2578 2010-01-07  Adam Barth  <abarth@webkit.org>
2579
2580         No review, rolling out r52847.
2581         http://trac.webkit.org/changeset/52847
2582         https://bugs.webkit.org/show_bug.cgi?id=33232
2583
2584         Might have caused a perf regression.
2585
2586         * src/FrameLoaderClientImpl.cpp:
2587         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
2588
2589 2010-01-06  Mike Belshe  <mike@belshe.com>
2590
2591         Add a flag to the ResourceResponse for tracking if a request was
2592         fetched via SPDY.  This is plumbed through so that we can inform
2593         a webpage via JavaScript if it was fecthed via the experimental
2594         SPDY protocol.
2595
2596         https://bugs.webkit.org/show_bug.cgi?id=33186
2597
2598         * public/WebURLResponse.h:
2599         * src/WebURLResponse.cpp:
2600         (WebKit::WebURLResponse::wasFetchedViaSpdy):
2601         (WebKit::WebURLResponse::setWasFetchedViaSpdy):
2602
2603 2010-01-06  Darin Fisher  <darin@chromium.org>
2604
2605         Fix release build bustage.
2606
2607         * src/WebKit.cpp: Need to include Logging.h
2608
2609 2010-01-05  Darin Fisher  <darin@chromium.org>
2610
2611         Reviewed by Adam Barth.
2612
2613         [Chromium] Expose more APIs to eliminate WebCore usage in Chromium.
2614         https://bugs.webkit.org/show_bug.cgi?id=33249
2615
2616         * WebKit.gyp:
2617         * public/WebFrame.h:
2618         * public/WebGlyphCache.h: Added.
2619         * public/WebKit.h:
2620         * src/WebFrameImpl.cpp:
2621         (WebKit::WebFrame::instanceCount):
2622         (WebKit::WebFrameImpl::WebFrameImpl):
2623         (WebKit::WebFrameImpl::~WebFrameImpl):
2624         * src/WebFrameImpl.h:
2625         * src/WebGlyphCache.cpp: Added.
2626         (WebKit::WebGlyphCache::pageCount):
2627         * src/WebKit.cpp:
2628         (WebKit::enableLogChannel):
2629
2630 2010-01-05  Adam Barth  <abarth@webkit.org>
2631
2632         Reviewed by Dimitri Glazkov.
2633
2634         [v8] Move V8DOMWindowShell to ScriptController
2635         https://bugs.webkit.org/show_bug.cgi?id=33232
2636
2637         Update FrameLoaderClientImpl.cpp to call clearForClose on
2638         ScriptController instead of on V8Proxy.
2639
2640         * src/FrameLoaderClientImpl.cpp:
2641         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
2642
2643 2010-01-05  Rachel Petterson  <rlp@google.com>
2644
2645         Reviewed by Adam Barth.
2646
2647         Matches the texImage2D and texSubImage2D functions to their
2648         declarations. Elminates uncessary versions of those functions.
2649         https://bugs.webkit.org/show_bug.cgi?id=31562
2650         Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493
2651
2652         * src/GraphicsContext3D.cpp:
2653         (WebCore::GraphicsContext3D::texImage2D):
2654         (WebCore::GraphicsContext3D::texSubImage2D):
2655
2656 2010-01-04  Maciej Stachowiak  <mjs@apple.com>
2657
2658         Reviewed by Darin Fisher.
2659
2660         Reorganize, document and rename OS() platform macros.
2661         https://bugs.webkit.org/show_bug.cgi?id=33198
2662
2663         Adapt to name changes.
2664
2665         * src/ChromiumBridge.cpp:
2666         * src/EditorClientImpl.cpp:
2667         (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
2668         (WebKit::):
2669         (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
2670         * src/FrameLoaderClientImpl.cpp:
2671         (WebKit::FrameLoaderClientImpl::createPlugin):
2672         * src/GraphicsContext3D.cpp:
2673         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2674         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
2675         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
2676         * src/WebFrameImpl.cpp:
2677         (WebKit::WebFrameImpl::selectionAsText):
2678         (WebKit::WebFrameImpl::printPage):
2679         * src/WebPluginContainerImpl.cpp:
2680         (WebKit::WebPluginContainerImpl::handleMouseEvent):
2681         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2682         * src/WebViewImpl.cpp:
2683         (WebKit::WebViewImpl::mouseDown):
2684         (WebKit::WebViewImpl::mouseContextMenu):
2685         (WebKit::WebViewImpl::mouseUp):
2686         (WebKit::WebViewImpl::keyEvent):
2687         (WebKit::WebViewImpl::sendContextMenuEvent):
2688         (WebKit::WebViewImpl::setScrollbarColors):
2689         (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
2690
2691 2010-01-04  Darin Fisher  <darin@chromium.org>
2692
2693         Reviewed by Eric Seidel.
2694
2695         [Chromium] Expose more DOM methods to support LayoutTests
2696         https://bugs.webkit.org/show_bug.cgi?id=33185
2697
2698         * public/WebDocument.h: Adds documentElement method.
2699         * public/WebElement.h: Adds innerText method.
2700         * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById
2701         methods, and fixes a few whitespace issues.
2702         * src/WebDocument.cpp:
2703         (WebKit::WebDocument::documentElement):
2704         * src/WebElement.cpp:
2705         (WebKit::WebElement::innerText):
2706         * src/WebFrameImpl.cpp:
2707         (WebKit::WebFrameImpl::clearName):
2708         (WebKit::WebFrameImpl::renderTreeAsText):
2709         (WebKit::WebFrameImpl::counterValueForElementById):
2710         * src/WebFrameImpl.h:
2711
2712 2010-01-04  Darin Fisher  <darin@chromium.org>
2713
2714         Fix Chromium build bustage.
2715
2716         * src/WebAnimationControllerImpl.h:
2717
2718 2010-01-04  Yaar Schnitman  <yaar@chromium.org>
2719
2720         Reviewed by Darin Fisher.
2721
2722         Adding WebAnimationController to chromium's WebKit API.
2723
2724         https://bugs.webkit.org/show_bug.cgi?id=32870
2725
2726         * WebKit.gyp:
2727         * public/WebAnimationController.h: Added.
2728         (WebKit::WebAnimationController::~WebAnimationController):
2729         * public/WebFrame.h:
2730         * src/WebAnimationControllerImpl.cpp: Added.
2731         (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl):
2732         (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime):
2733         (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime):
2734         (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
2735         * src/WebAnimationControllerImpl.h: Added.
2736         (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl):
2737         * src/WebFrameImpl.cpp:
2738         (WebKit::WebFrameImpl::animationController):
2739         (WebKit::WebFrameImpl::WebFrameImpl):
2740         * src/WebFrameImpl.h:
2741
2742 2010-01-04  Jay Campan  <jcampan@google.com>
2743
2744         Reviewed by Darin Fisher
2745
2746         Adding  more DOM API methods. They are needed for the upcoming
2747         translate feature.
2748
2749         * public/WebElement.h:
2750         * public/WebNode.h:
2751         * src/WebElement.cpp:
2752         (WebKit::WebElement::tagName):
2753         (WebKit::WebElement::setAttribute):
2754         * src/WebNode.cpp:
2755         (WebKit::WebNode::setNodeValue):
2756
2757 2010-01-03  Adam Barth  <abarth@webkit.org>
2758
2759         Reviewed by Eric Seidel.
2760
2761         [Chromium] Implement CookieJarChromium::cookiesEnabled
2762         https://bugs.webkit.org/show_bug.cgi?id=33123
2763
2764         Call out to the webKitClient() to see if cookies are enabled.  Also
2765         remove some straggling references to policyURL!
2766
2767         * public/WebKitClient.h:
2768         (WebKit::WebKitClient::setCookies):
2769         (WebKit::WebKitClient::cookies):
2770         (WebKit::WebKitClient::rawCookies):
2771         (WebKit::WebKitClient::cookiesEnabled):
2772         * src/ChromiumBridge.cpp:
2773         (WebCore::ChromiumBridge::cookiesEnabled):
2774
2775 2010-01-03  Adam Barth  <abarth@webkit.org>
2776
2777         Reviewed by Eric Seidel.
2778
2779         [Chromium] Remove evaluateInNewContext (it's useless)
2780         https://bugs.webkit.org/show_bug.cgi?id=33068
2781
2782         This function has no clients and makes life complicated.  Isolated
2783         worlds won out over NewContext and there's not really any going back
2784         now.
2785
2786         * public/WebFrame.h:
2787         * src/FrameLoaderClientImpl.h:
2788         * src/WebFrameImpl.cpp:
2789         * src/WebFrameImpl.h:
2790
2791 2009-12-30  Darin Fisher  <darin@chromium.org>
2792
2793         Reviewed by David Levin.
2794
2795         [Chromium] Delete ResourceRequest::securityInfo
2796         https://bugs.webkit.org/show_bug.cgi?id=26847
2797
2798         * src/WebWorkerBase.cpp:
2799         (WebKit::WebWorkerBase::initializeLoader):
2800
2801 2009-12-30  Albert J. Wong  <ajwong@chromium.org>
2802
2803         Not reviewed.  Trivial Chromium build fix.
2804
2805         Add static_cast<unsigned>() to fix signed/unsigned comparison warning.
2806
2807         * src/AutocompletePopupMenuClient.cpp:
2808         (WebKit::AutocompletePopupMenuClient::selectionChanged):
2809
2810 2009-12-30  Zelidrag Hornung  <zelidrag@chromium.org>
2811
2812         Reviewed by Dimitri Glazkov.
2813
2814         Autocomplete in Chromium now offers suggestions within the input element as a user
2815         a) types text that produces some autocomplete suggestions, and
2816         b) scrolls through suggested values in the menu
2817         The suggested value is rendered but not exposed through JS unti the
2818         user makes the final selection.
2819
2820         No new tests since this new functionality (autocomplete suggestions)
2821         is intentionally hidden from everything else than renderer.
2822
2823         * src/AutocompletePopupMenuClient.cpp:
2824         (WebKit::AutocompletePopupMenuClient::initialize):
2825         (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue):
2826         (WebKit::AutocompletePopupMenuClient::selectionChanged):
2827         (WebKit::AutocompletePopupMenuClient::popupDidHide):
2828         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
2829         (WebKit::AutocompletePopupMenuClient::resetLastFieldValue):
2830         * src/AutocompletePopupMenuClient.h:
2831
2832
2833 2009-12-28  Kinuko Yasuda  <kinuko@chromium.org>
2834
2835         Reviewed by Maciej Stachowiak.
2836
2837         Fixed isKeypadEvent behavior for chromium/Mac to correctly report
2838         keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events.
2839         https://bugs.webkit.org/show_bug.cgi?id=28247
2840
2841         Test: fast/events/keydown-numpad-keys.html
2842
2843         * src/mac/WebInputEventFactory.mm:
2844         (WebKit::isKeypadEvent):
2845
2846 2009-12-22  Kenneth Russell  <kbr@google.com>
2847
2848         Reviewed by Eric Seidel.
2849
2850         [Chromium] Garbage in transparent regions of images uploaded as textures
2851         https://bugs.webkit.org/show_bug.cgi?id=32888
2852
2853         Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)
2854
2855         * src/GraphicsContext3D.cpp:
2856         (WebCore::GraphicsContext3D::texImage2D):
2857
2858 2009-12-22  Adam Langley  <agl@google.com>
2859
2860         Build fix: not reviewed.
2861
2862         r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the
2863         Chromium build on Windows and Mac due to a misplaced #endif. The
2864         buildbot didn't find the problem because it runs on Linux.
2865
2866         Have verified this patch with the author of the above.
2867
2868         * src/GraphicsContext3D.cpp:
2869
2870 2009-12-22  Kenneth Russell  <kbr@google.com>
2871
2872         Reviewed by Eric Seidel.
2873
2874         [Chromium] WebGL crashes intermittently on Linux
2875         https://bugs.webkit.org/show_bug.cgi?id=32845
2876         
2877         The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a
2878         GraphicsContext3D was created was occasionally causing it to be
2879         re-mapped at a different base address. Since GLEW is not
2880         re-initialized every time, primarily for performance reasons, its
2881         cached function pointers were pointing to garbage. Stopped closing
2882         and re-opening libGL.so.1 each time; now it is loaded lazily, when
2883         the first 3D context is created. Also reused the X display
2884         connection since the GLX routines' correctness might hinge upon it
2885         not resulting in a change of GL implementation.
2886
2887         * src/GraphicsContext3D.cpp:
2888         (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
2889         (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
2890         (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
2891         (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
2892         (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
2893         (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
2894         (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
2895         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
2896         (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad):
2897         (WebCore::GraphicsContext3DInternal::GLConnection::create):
2898         (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
2899         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2900         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
2901         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
2902
2903 2009-12-22  Yaar Schnitman  <yaar@chromium.org>
2904
2905         Reviewed by Darin Fisher.
2906
2907         autoComplete and getElementById methods for WebKit API
2908
2909         https://bugs.webkit.org/show_bug.cgi?id=32866
2910
2911         * public/WebDocument.h:
2912         * public/WebInputElement.h:
2913         * src/WebDocument.cpp:
2914         (WebKit::WebDocument::getElementById):
2915         * src/WebInputElement.cpp:
2916         (WebKit::WebInputElement::autoComplete):
2917
2918 2009-12-18  Kenneth Russell  <kbr@google.com>
2919
2920         Reviewed by Darin Fisher.
2921
2922         [Chromium] Eliminate redundant data copy in GraphicsContext3D readback
2923         https://bugs.webkit.org/show_bug.cgi?id=32763
2924
2925         Eliminated useless creation of a CGBitmapContext and from there a
2926         CGImage. Now create CGImage directly from data. Also changed
2927         readPixels parameters and CGImage alpha info to try to avoid byte
2928         swapping, and disabled interpolation when drawing the GL content.
2929         Some test cases run twice as fast with these changes, though more
2930         work is needed to achieve desired performance.
2931
2932         No test case; performance optimization only. Ran WebGL demos from
2933         Khronos site to verify changes.
2934
2935         * src/GraphicsContext3D.cpp:
2936         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2937         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
2938         (WebCore::GraphicsContext3DInternal::reshape):
2939         (WebCore::GraphicsContext3DInternal::beginPaint):
2940
2941 2009-12-18  Peter Kasting  <pkasting@google.com>
2942
2943         Reviewed by Adam Barth.
2944
2945         Chromium build fix
2946         https://bugs.webkit.org/show_bug.cgi?id=32756
2947
2948         * public/WebAccessibilityRole.h:
2949         (WebKit::):
2950         * src/AssertMatchingEnums.cpp:
2951
2952 2009-12-18  Adam Roben  <aroben@apple.com>
2953
2954         Chromium build fix
2955
2956         * src/ChromiumBridge.cpp:
2957         * src/WebPluginContainerImpl.cpp:
2958         * src/WebViewImpl.cpp:
2959         Added #includes.
2960
2961 2009-12-17  Eric Seidel  <eric@webkit.org>
2962
2963         No review, rolling out r52291.
2964         http://trac.webkit.org/changeset/52291
2965         https://bugs.webkit.org/show_bug.cgi?id=32618
2966
2967         Darin Fisher points out that this will likely break
2968         the SSL security indicator in Chromium.  Rolling out for now.
2969
2970         * src/WebViewImpl.cpp:
2971         (WebKit::WebViewImpl::WebViewImpl):
2972
2973 2009-12-17  Alexander Pavlov  <apavlov@chromium.org>
2974
2975         Reviewed by Eric Seidel.
2976
2977         Disable memory cache client calls so that a new identifier isn't created
2978         for the same resource on reload.
2979
2980         With the calls enabled, duplicate entries for cached resources are created
2981         in the Web Inspector. Safari for Windows disables the calls near the point of the
2982         Frame instance creation, and we just follow this for Chromium.
2983         https://bugs.webkit.org/show_bug.cgi?id=32618
2984
2985         * src/WebViewImpl.cpp:
2986         (WebKit::WebViewImpl::WebViewImpl):
2987
2988 2009-12-17  Yaar Schnitman  <yaar@chromium.org>
2989
2990         Reviewed by Darin Fisher.
2991
2992         Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support
2993         downstream unit-testing of serialization.
2994
2995         WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding.
2996
2997         https://bugs.webkit.org/show_bug.cgi?id=31737
2998
2999         * WebKit.gyp:
3000         * public/WebDocument.h: Added.
3001         (WebKit::WebDocument::WebDocument):
3002         (WebKit::WebDocument::operator=):
3003         (WebKit::WebDocument::assign):
3004         * public/WebElement.h:
3005         * public/WebFormElement.h:
3006         (WebKit::WebFormElement::operator=):
3007         * public/WebFrame.h:
3008         * public/WebNode.h:
3009         (WebKit::WebNode::):
3010         (WebKit::WebNode::toConstElement):
3011         * public/WebNodeCollection.h: Added.
3012         (WebKit::WebNodeCollection::~WebNodeCollection):
3013         (WebKit::WebNodeCollection::WebNodeCollection):
3014         (WebKit::WebNodeCollection::operator=):
3015         * public/WebNodeList.h: Added.
3016         (WebKit::WebNodeList::~WebNodeList):
3017         (WebKit::WebNodeList::WebNodeList):
3018         (WebKit::WebNodeList::operator=):
3019         * public/WebPageSerializer.h: Added.
3020         * public/WebPageSerializerClient.h: Added.
3021         (WebKit::WebPageSerializerClient::):
3022         (WebKit::WebPageSerializerClient::WebPageSerializerClient):
3023         (WebKit::WebPageSerializerClient::~WebPageSerializerClient):
3024         * public/WebString.h:
3025         * public/WebView.h:
3026         * src/AssertMatchingEnums.cpp:
3027         * src/DOMUtilitiesPrivate.cpp:
3028         (WebKit::elementHasLegalLinkAttribute):
3029         * src/DOMUtilitiesPrivate.h:
3030         * src/WebDocument.cpp: Added.
3031         (WebKit::WebDocument::WebDocument):
3032         (WebKit::WebDocument::operator=):
3033         (WebKit::WebDocument::operator WTF::PassRefPtr<Document>):
3034         (WebKit::WebDocument::frame):
3035         (WebKit::WebDocument::isHTMLDocument):
3036         (WebKit::WebDocument::baseURL):
3037         (WebKit::WebDocument::body):
3038         (WebKit::WebDocument::head):
3039         (WebKit::WebDocument::all):
3040         (WebKit::WebDocument::completeURL):
3041         * src/WebElement.cpp:
3042         (WebKit::WebElement::hasTagName):
3043         (WebKit::WebElement::hasAttribute):
3044         (WebKit::WebElement::getAttribute):
3045         * src/WebEntities.cpp: Added.
3046         (WebKit::populateMap):
3047         (WebKit::):
3048         (WebKit::WebEntities::WebEntities):
3049         (WebKit::WebEntities::entityNameByCode):
3050         (WebKit::WebEntities::convertEntitiesInString):
3051         * src/WebEntities.h: Added.
3052         * src/WebFrameImpl.cpp:
3053         (WebKit::WebFrame::fromFrameOwnerElement):
3054         (WebKit::WebFrameImpl::encoding):
3055         (WebKit::WebFrameImpl::document):
3056         (WebKit::WebFrameImpl::fromFrameOwnerElement):
3057         * src/WebFrameImpl.h:
3058         * src/WebNode.cpp:
3059         (WebKit::WebNode::nodeType):
3060         (WebKit::WebNode::nodeValue):
3061         (WebKit::WebNode::document):
3062         (WebKit::WebNode::firstChild):
3063         (WebKit::WebNode::lastChild):
3064         (WebKit::WebNode::previousSibling):
3065         (WebKit::WebNode::nextSibling):
3066         (WebKit::WebNode::hasChildNodes):
3067         (WebKit::WebNode::childNodes):
3068         (WebKit::WebNode::createMarkup):
3069         (WebKit::WebNode::isTextNode):
3070         (WebKit::WebNode::isElementNode):
3071         * src/WebNodeCollection.cpp: Added.
3072         (WebKit::WebNodeCollection::reset):
3073         (WebKit::WebNodeCollection::assign):
3074         (WebKit::WebNodeCollection::WebNodeCollection):
3075         (WebKit::WebNodeCollection::length):
3076         (WebKit::WebNodeCollection::nextItem):
3077         (WebKit::WebNodeCollection::firstItem):
3078         * src/WebNodeList.cpp: Added.
3079         (WebKit::WebNodeList::reset):
3080         (WebKit::WebNodeList::assign):
3081         (WebKit::WebNodeList::WebNodeList):
3082         (WebKit::WebNodeList::length):
3083         (WebKit::WebNodeList::item):
3084         * src/WebPageSerializer.cpp: Added.
3085         (WebKit::WebPageSerializer::serialize):
3086         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
3087         (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration):
3088         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
3089         * src/WebPageSerializerImpl.cpp: Added.
3090         (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
3091         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3092         (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
3093         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag):
3094         (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
3095         (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
3096         (WebKit::WebPageSerializerImpl::openTagToString):
3097         (WebKit::WebPageSerializerImpl::endTagToString):
3098         (WebKit::WebPageSerializerImpl::buildContentForNode):
3099         (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
3100         (WebKit::WebPageSerializerImpl::collectTargetFrames):
3101         (WebKit::WebPageSerializerImpl::serialize):
3102         * src/WebPageSerializerImpl.h: Added.
3103         * src/WebString.cpp:
3104         (WebKit::WebString::WebString):
3105         (WebKit::WebString::operator=):
3106         * src/WebViewImpl.cpp:
3107
3108 2009-12-17  Yury Semikhatsky  <yurys@chromium.org>
3109
3110         Reviewed by David Levin.
3111
3112         Provide explicit implementation of 'non-template' WebVector<T>::operator=
3113
3114         https://bugs.webkit.org/show_bug.cgi?id=32363
3115
3116         * public/WebVector.h:
3117
3118 2009-12-16  Fumitoshi Ukai  <ukai@chromium.org>
3119
3120         Unreviewed, build fix.
3121
3122         [Chromium] Add EditableTextRole to catch up with
3123         http://trac.webkit.org/changeset/52233
3124
3125         * public/WebAccessibilityRole.h:
3126         (WebKit::): Added WebAccessibilityRoleEditableText
3127         * src/AssertMatchingEnums.cpp: Added matching compile assert.
3128
3129 2009-12-15  Kenneth Russell  <kbr@google.com>
3130
3131         Reviewed by Darin Fisher.
3132
3133         Don't allow default framebuffer to be mutated
3134         https://bugs.webkit.org/show_bug.cgi?id=32391
3135
3136         * src/GraphicsContext3D.cpp:
3137         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
3138         (WebCore::GraphicsContext3DInternal::reshape):
3139         (WebCore::GraphicsContext3DInternal::beginPaint):
3140         (WebCore::GraphicsContext3DInternal::bindFramebuffer):
3141         (WebCore::GraphicsContext3D::bindFramebuffer):
3142
3143 2009-12-15  Dimitri Glazkov  <dglazkov@chromium.org>
3144
3145         Unreviewed, build fix.
3146
3147         [Chromium] Add TreeGridRole to catch up with
3148         http://trac.webkit.org/changeset/52159.
3149
3150         * public/WebAccessibilityRole.h:
3151         (WebKit::): Added WebAccessibilityRoleTreeGrid.
3152         * src/AssertMatchingEnums.cpp: Added matching compile assert.
3153
3154 2009-12-15  Jian Li  <jianli@chromium.org>
3155
3156         Reviewed by Dmitry Titov.
3157
3158         Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard.
3159         https://bugs.webkit.org/show_bug.cgi?id=31090
3160
3161         The proposal to whatwg can be found here:
3162         http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html
3163
3164         * public/WebDragData.h:
3165         * src/WebDragData.cpp:
3166         (WebKit::WebDragData::downloadURL):
3167         (WebKit::WebDragData::setDownloadURL):
3168
3169 2009-12-14  Evan Stade  <estade@chromium.org>
3170
3171         Reviewed by Darin Fisher.
3172
3173         https://bugs.webkit.org/show_bug.cgi?id=32347
3174         Chromium: Context menu launched by menu key has funky behavior
3175
3176         Make the context menu's position depend on the selection only when an
3177         editable field has focus. Also, don't send multiple context menu events
3178         for a single keypress.
3179
3180         * src/WebViewImpl.cpp:
3181         (WebKit::WebViewImpl::keyEvent):
3182         (WebKit::WebViewImpl::sendContextMenuEvent):
3183
3184 2009-12-13  Sam Weinig  <sam@webkit.org>
3185
3186         Reviewed by Dan Bernstein.
3187
3188         Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
3189         Add client based Geolocation provider
3190
3191         Add first cut of a client based Geolocation provider. This is guarded by
3192         ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
3193         GeolocationControllerClient interface that no-one currently implements,
3194         but will in a subsequent patch.
3195
3196         * src/WebViewImpl.cpp:
3197         (WebKit::WebViewImpl::WebViewImpl):
3198
3199 2009-12-13  Charles Reis  <creis@chromium.org>
3200
3201         Reviewed by Adam Barth.
3202
3203         Refactor some security code out of V8 bindings
3204         https://bugs.webkit.org/show_bug.cgi?id=32326
3205
3206         * src/WebBindings.cpp:
3207         (WebKit::getDragDataImpl):
3208
3209 2009-12-11  Nate Chapin  <japhet@chromium.org>
3210
3211         Reviewed by Darin Fisher.
3212
3213         Expose shouldHideReferrer() in WebSecurityPolicy.
3214
3215         https://bugs.webkit.org/show_bug.cgi?id=32398
3216
3217         * public/WebSecurityPolicy.h: Add shouldHideReferrer().
3218         * src/WebSecurityPolicy.cpp:
3219         (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added.
3220
3221 2009-12-11  Avi Drissman  <avi@chromium.org>
3222
3223         Reviewed by Darin Fisher.
3224
3225         Tickmarks in the scrollbar are not cleared for non-main frames
3226         https://bugs.webkit.org/show_bug.cgi?id=32385
3227
3228         * src/WebFrameImpl.cpp:
3229         (WebKit::WebFrameImpl::stopFinding):
3230
3231 2009-12-11  Yury Semikhatsky  <yurys@chromium.org>
3232
3233         Reviewed by Pavel Feldman.
3234
3235         Remove obsolete message handling methods from WebDevTools* interfaces
3236
3237         https://bugs.webkit.org/show_bug.cgi?id=32320
3238
3239         * public/WebDevToolsAgent.h:
3240         * public/WebDevToolsAgentClient.h:
3241         * public/WebDevToolsFrontend.h:
3242         * public/WebDevToolsFrontendClient.h:
3243
3244 2009-12-10  Mike Belshe  <mike@belshe.com>
3245
3246         Unreviewed, build fix for chromium.
3247
3248         * src/FrameLoaderClientImpl.cpp:
3249         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
3250
3251 2009-12-10  Kenneth Russell  <kbr@google.com>
3252
3253         Reviewed by Oliver Hunt.
3254
3255         Changed WebGLRenderingContext to synthesize GL errors rather than
3256         raising JavaScript exceptions. Removed internal getError() calls
3257         after each graphics call. The GraphicsContext3D maintains the
3258         synthetic exceptions because only it has complete information
3259         about certain conditions requiring them to be raised.
3260
3261         Based on idea from Ilmari Heikkinen, added create3DDebugContext()
3262         to webgl-test.js and changed the WebGL layout tests expecting
3263         error conditions to use it. Updated expected.txt files, which now
3264         implicitly test the OpenGL error as it is part of the exception's
3265         message.
3266
3267         Added new targeted test covering aspects of synthetic errors as
3268         well as regression tests for bugs uncovered during its development.
3269
3270         Test: fast/canvas/webgl/error-reporting.html
3271
3272         * src/GraphicsContext3D.cpp:
3273         (WebCore::GraphicsContext3DInternal::reshape):
3274         (WebCore::GraphicsContext3DInternal::getError):
3275         (WebCore::GraphicsContext3DInternal::synthesizeGLError):
3276         (WebCore::GraphicsContext3D::getActiveAttrib):
3277         (WebCore::GraphicsContext3D::getActiveUniform):
3278         (WebCore::GraphicsContext3D::getError):
3279         (WebCore::GraphicsContext3D::synthesizeGLError):
3280
3281 2009-12-10  Mike Belshe  <mike@belshe.com>
3282
3283         Reviewed by Darin Fisher.
3284
3285         Fix FrameLoader to use the new ResourceTypes properly.
3286
3287         https://bugs.webkit.org/show_bug.cgi?id=32336
3288
3289         * public/WebURLRequest.h:
3290         (WebKit::WebURLRequest::):
3291         * src/FrameLoaderClientImpl.cpp:
3292         (WebKit::setTargetTypeFromLoader):
3293         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
3294
3295 2009-12-10  Ilya Tikhonovsky <loislo@google.com>
3296
3297         Reviewed by Pavel Feldman.
3298
3299         Chromium: Expose devtools agent API for inspector layout tests.
3300
3301         https://bugs.webkit.org/show_bug.cgi?id=32379
3302
3303         * public/WebDevToolsAgent.h:
3304         (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled):
3305         (WebKit::WebDevToolsAgent::evaluateInWebInspector):
3306
3307 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
3308
3309         Unreviewed, build fix.
3310
3311         Change forward declaration of WebContextMenuData from class to
3312         struct to match its definition. The bug was introduced by
3313         http://trac.webkit.org/changeset/51874
3314
3315         * src/ContextMenuClientImpl.h:
3316
3317 2009-12-09  Darin Fisher  <darin@chromium.org>
3318
3319         Reviewed by Eric Seidel.
3320
3321         https://bugs.webkit.org/show_bug.cgi?id=32324
3322         [Chromium] Suppress WebFrameClient callbacks from a detached frame.
3323
3324         This change means that we no longer need the ClientHandle class.
3325         FrameLoaderClient::detachedFromParent3() is called on each frame
3326         in the frame tree from within frameDetached().
3327
3328         Test: http/tests/loading/gmail-assert-on-load.html
3329
3330         * src/FrameLoaderClientImpl.cpp:
3331         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
3332         * src/WebFrameImpl.cpp:
3333         (WebKit::WebFrameImpl::create):
3334         (WebKit::WebFrameImpl::WebFrameImpl):
3335         (WebKit::WebFrameImpl::createChildFrame):
3336         * src/WebFrameImpl.h:
3337         (WebKit::WebFrameImpl::client):
3338         (WebKit::WebFrameImpl::dropClient):
3339         * src/WebViewImpl.cpp:
3340         (WebKit::WebViewImpl::close):
3341
3342 2009-12-08  Stuart Morgan  <stuartmorgan@chromium.org>
3343
3344         Reviewed by Darin Fisher.
3345
3346         Include clickCount when doing MouseEvent -> WebMouseEvent conversion
3347         in Chromium API.
3348
3349         https://bugs.webkit.org/show_bug.cgi?id=32289
3350
3351         * src/WebInputEventConversion.cpp:
3352         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
3353
3354 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
3355
3356         Unreviewed, build fix.
3357
3358         Add return statement to default implementation of hostIdentifier method
3359         introduced in http://trac.webkit.org/changeset/51897
3360
3361         * public/WebDevToolsAgentClient.h:
3362         (WebKit::WebDevToolsAgentClient::hostIdentifier):
3363
3364 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
3365
3366         Reviewed by Pavel Feldman.
3367
3368         Add declaration of static methods that allow to dispatch
3369         DevTools messages on the IO thread and accept WebDevToolsMessageData
3370         argument.
3371
3372         https://bugs.webkit.org/show_bug.cgi?id=32314
3373
3374         * public/WebDevToolsAgent.h:
3375         * public/WebDevToolsAgentClient.h:
3376
3377 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
3378
3379         Reviewed by Pavel Feldman.
3380
3381         Introduce a class for devtools message data
3382
3383         https://bugs.webkit.org/show_bug.cgi?id=32314
3384
3385         * WebKit.gyp:
3386         * public/WebDevToolsAgent.h:
3387         * public/WebDevToolsAgentClient.h:
3388         (WebKit::WebDevToolsAgentClient::sendMessageToFrontend):
3389         (WebKit::WebDevToolsAgentClient::forceRepaint):
3390         (WebKit::WebDevToolsAgentClient::hostIdentifier):
3391         (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged):
3392         * public/WebDevToolsFrontend.h:
3393         * public/WebDevToolsFrontendClient.h:
3394         (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
3395         * public/WebDevToolsMessageData.h: Added.
3396
3397 2009-12-08  Pavel Feldman  <pfeldman@chromium.org>
3398
3399         Reviewed by Darin Fisher.
3400
3401         Chromium: support custom WebCore context menu items in Chromium port.
3402
3403         https://bugs.webkit.org/show_bug.cgi?id=32277
3404
3405         * public/WebContextMenuData.h:
3406         * public/WebPopupMenuInfo.h:
3407         (WebKit::WebPopupMenuInfo::Item::):
3408         * public/WebView.h:
3409         * src/ContextMenuClientImpl.cpp:
3410         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3411         * src/WebViewImpl.cpp:
3412         (WebKit::WebViewImpl::executeCustomContextMenuAction):
3413         * src/WebViewImpl.h:
3414
3415 2009-12-08  Albert J. Wong  <ajwong@chromium.org>
3416
3417         Not reviewed: Chromium build fix.
3418
3419         r51859 changed the case for some of the ResourceRequest::TargetType
3420         enums.
3421
3422         * src/FrameLoaderClientImpl.cpp:
3423         (WebKit::determineTargetTypeFromLoader):
3424
3425 2009-12-07  Zhe Su  <suzhe@chromium.org>
3426
3427         Reviewed by Darin Fisher.
3428
3429         [Chromium] accesskey is not supported on Chromium Mac.
3430         https://bugs.webkit.org/show_bug.cgi?id=32213
3431
3432         This change fixes (partially) the accesskey issue by decoupling the
3433         code for handling accesskeys and system keys. Because on Mac,
3434         the modifiers of accesskeys are ctrl+alt, which are not marked as
3435         system keys.
3436         In order to fully fix this issue, some changes in Chromium code is
3437         also required.
3438
3439         * src/WebViewImpl.cpp:
3440         (WebKit::WebViewImpl::keyEvent):
3441         (WebKit::WebViewImpl::charEvent):
3442
3443 2009-12-07  Evan Martin  <evan@chromium.org>
3444
3445         Reviewed by Eric Seidel.
3446
3447         Chromium: theme scrollbars to match GTK theme.
3448         Add API to set the colors.
3449
3450         Since the change is to the Chromium WebKit API layer, testing will
3451         be in Chromium's test shell.
3452         http://bugs.webkit.org/show_bug.cgi?id=32048
3453
3454         Patch from Markus Gutschke <markus@chromium.org>.
3455
3456         * public/WebView.h:
3457         * src/WebViewImpl.cpp:
3458         (WebKit::WebViewImpl::setScrollbarColors):
3459         * src/WebViewImpl.h:
3460
3461 2009-12-07  Finnur Thorarinsson  <finnur.webkit@gmail.com>
3462
3463         Reviewed by Darin Fisher.
3464
3465         A patch for Chromium to restrict the scope of the Gmail focus fix,
3466         where we set the Selection to 0,0 for content-editable fields and
3467         also make sure we set the selection end-state for find to select the
3468         text found (when not focusing a link we found).
3469         WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248
3470
3471         * src/WebFrameImpl.cpp:
3472         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
3473         * src/WebViewImpl.cpp:
3474         (WebKit::WebViewImpl::setFocus):
3475
3476 2009-12-07  Dmitry Titov  <dimich@chromium.org>
3477
3478         Rubber-stamped by Darin Adler.
3479
3480         Remove ENABLE_SHARED_SCRIPT flags
3481         https://bugs.webkit.org/show_bug.cgi?id=32245
3482         This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
3483
3484         * features.gypi:
3485
3486 2009-12-07  Yaar Schnitman  <yaar@chromium.org>
3487
3488         Reviewed by Darin Fisher.
3489
3490         fixes to build-webkit --chromium
3491         https://bugs.webkit.org/show_bug.cgi?id=32179
3492
3493         * DEPS:
3494         * WebKit.gyp:
3495         * gyp_webkit:
3496
3497 2009-12-07  Mikhail Naganov  <mnaganov@chromium.org>
3498
3499         Reviewed by Pavel Feldman.
3500
3501         [Chromium] Add declarations for DevTools message dispatching on IO thread
3502         (see http://codereview.chromium.org/460018)
3503
3504         https://bugs.webkit.org/show_bug.cgi?id=32217
3505
3506         * public/WebDevToolsAgent.h:
3507         * public/WebDevToolsAgentClient.h:
3508
3509 2009-12-04  James Hawkins  <jhawkins@chromium.org>
3510
3511         Reviewed by Darin Fisher.
3512
3513         https://bugs.webkit.org/show_bug.cgi?id=32095
3514         Implement WebRegularExpression, a WebKit API for accessing
3515         WebCore::RegularExpression.
3516
3517         * WebKit.gyp:
3518         * public/WebRegularExpression.h: Added.
3519         * public/WebTextCaseSensitivity.h: Added.
3520         (WebKit::):
3521         * src/AssertMatchingEnums.cpp:
3522         * src/WebRegularExpression.cpp: Added.
3523         (WebKit::WebRegularExpression::WebRegularExpression):
3524         (WebKit::WebRegularExpression::~WebRegularExpression):
3525         (WebKit::WebRegularExpression::match):
3526
3527 2009-12-04  Peter Kasting  <pkasting@google.com>
3528
3529         Reviewed by Darin Fisher.
3530
3531         [Chromium] Simplify zoom-related APIs and add a zoom level getter,
3532         part two: Remove deprecated APIs.
3533         https://bugs.webkit.org/show_bug.cgi?id=31893
3534
3535         * public/WebView.h:
3536         * src/WebViewImpl.cpp:
3537         * src/WebViewImpl.h:
3538
3539 2009-12-03  Jonathan Dixon  <joth@chromium.org>
3540
3541         Reviewed by Dimitri Glazkov.
3542
3543         Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
3544         https://bugs.webkit.org/show_bug.cgi?id=32066
3545
3546         Add the plumbing to map WebSettings through to WebCore::Settings
3547