Not reviewed, Chromium build fix from Abhishek Arya.
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-06-10  Dmitry Titov  <dimich@chromium.org>
2
3         Not reviewed, Chromium build fix from Abhishek Arya.
4
5         * src/WebImageCG.cpp:
6         (WebKit::WebImage::WebImage):
7         (WebKit::WebImage::operator=):
8
9 2010-06-10  Abhishek Arya  <inferno@chromium.org>
10
11         Reviewed by Dimitri Glazkov.
12
13         Add null pointer checks for nativeImageForCurrentFrame
14         function calls.
15         https://bugs.webkit.org/show_bug.cgi?id=39797
16
17         * src/WebImageCG.cpp:
18         (WebKit::WebImage::WebImage):
19         (WebKit::WebImage::operator=):
20
21 2010-06-10  Yury Semikhatsky  <yurys@chromium.org>
22
23         Reviewed by Pavel Feldman.
24
25         Web Inspector: to reduce the front end start up time don't push script
26         sources to frontend if debugger is always enabled, instead request
27         script content lazily at the moment it should be displyed. It is critical for
28         always enabled debugger because in that case lots of script may have
29         already been parsed when the front end is opening and pushing all
30         of them at once may slow things down(even though the script sources will never
31         be used if scripts panel isn't open).
32         https://bugs.webkit.org/show_bug.cgi?id=40364
33
34         * src/js/DevTools.js:
35         * src/js/InspectorControllerImpl.js:
36         (devtools.InspectorBackendImpl):
37         (.devtools.InspectorBackendImpl.prototype.getScriptSource):
38
39 2010-06-10  Mike Belshe  <mbelshe@google.com>
40
41         Reviewed by David Levin
42
43         Track whether a resource is loaded via a proxy.
44
45         https://bugs.webkit.org/show_bug.cgi?id=40312
46
47         * public/WebURLResponse.h:
48         * src/WebURLResponse.cpp:
49         (WebKit::WebURLResponse::wasFetchedViaProxy):
50         (WebKit::WebURLResponse::setWasFetchedViaProxy):
51
52 2010-06-10  Vangelis Kokkevis  <vangelis@chromium.org>
53
54         Reviewed by Dimitri Glazkov.
55
56         [chromium] Adding the ANGLE project to the DEPS file as it's required
57         by the gpu-accelerated compositor.
58         https://bugs.webkit.org/show_bug.cgi?id=40379
59
60         * DEPS:
61
62 2010-06-09  Bo Liu  <boliu@chromium.org>
63
64         Reviewed by David Levin.
65
66         [Chromium] Pass <video> full screen calls to Chromium port client
67         https://bugs.webkit.org/show_bug.cgi?id=40317
68
69         * public/WebViewClient.h:
70         (WebKit::WebViewClient::supportsFullscreen):
71         (WebKit::WebViewClient::enterFullscreenForNode):
72         (WebKit::WebViewClient::exitFullscreenForNode):
73         * src/ChromeClientImpl.cpp:
74         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
75         (WebKit::ChromeClientImpl::enterFullscreenForNode):
76         (WebKit::ChromeClientImpl::exitFullscreenForNode):
77         * src/ChromeClientImpl.h:
78
79 2010-06-09  Kenneth Russell  <kbr@google.com>
80
81         Reviewed by Dimitri Glazkov.
82
83         Rename FloatArray to Float32Array
84         https://bugs.webkit.org/show_bug.cgi?id=40323
85
86         Used do-webcore-rename to perform renaming. Manually undid
87         incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp,
88         WebCore/manual-tests/resources/ArrayParameterTestApplet.java and
89         ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran
90         all layout tests on Safari; built Chromium and ran selected WebGL
91         tests.
92
93         * src/GraphicsContext3D.cpp:
94
95 2010-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
96
97         Unreviewed, rolling out r60889.
98         http://trac.webkit.org/changeset/60889
99         https://bugs.webkit.org/show_bug.cgi?id=40365
100
101         gtk bot has some kind of memory corruption (Requested by
102         loislo on #webkit).
103
104         * src/InspectorClientImpl.cpp:
105         * src/InspectorClientImpl.h:
106         * src/WebDevToolsAgentImpl.cpp:
107         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
108
109 2010-06-09  Pavel Podivilov  <podivilov@chromium.org>
110
111         Reviewed by Yury Semikhatsky.
112
113         Web Inspector: retreive debugger script source synchronously when
114         frontend is attached. We need this to be able to stop on top-level
115         breakpoints.
116         https://bugs.webkit.org/show_bug.cgi?id=40289
117
118         * WebKit.gypi:
119         * src/DebuggerAgent.h:
120         * src/DebuggerAgentImpl.cpp:
121         * src/DebuggerAgentImpl.h:
122         * src/WebDevToolsAgentImpl.cpp:
123         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
124         * src/js/DebuggerScript.js:
125         * src/js/DevTools.js:
126         (WebInspector.loaded):
127         * src/js/DevToolsHostStub.js:
128
129 2010-06-07  Ilya Tikhonovsky  <loislo@chromium.org>
130
131         Reviewed by Pavel Feldman.
132
133         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
134         data from inspected page to WebInspector as JSON string via http. The native
135         serialization to JSON string is supported by InspectorValue's classes. This patch
136         has the implementation of sendMessageToFrontend function. WebKit version of it still
137         uses ScriptFunctionCall and will be switched to another transport a little bit later.
138         https://bugs.webkit.org/show_bug.cgi?id=40134
139
140         * src/InspectorClientImpl.cpp:
141         (WebKit::InspectorClientImpl::sendMessageToFrontend):
142         * src/InspectorClientImpl.h:
143         * src/WebDevToolsAgentImpl.cpp:
144         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
145
146 2010-06-09  Yury Semikhatsky  <yurys@chromium.org>
147
148         Reviewed by Pavel Feldman.
149
150         Web Inspector: update stack trace after script source editing
151         https://bugs.webkit.org/show_bug.cgi?id=40357
152
153         * src/js/DebuggerAgent.js:
154         (devtools.DebuggerAgent.prototype.editScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
155         (devtools.DebuggerAgent.prototype.editScriptSource.requestBacktrace):
156         (devtools.DebuggerAgent.prototype.editScriptSource.handleBacktraceResponse):
157         (devtools.DebuggerAgent.prototype.editScriptSource.reportDidCommitEditing):
158         (devtools.DebuggerAgent.prototype.editScriptSource):
159         (devtools.DebuggerAgent.prototype.requestBacktrace_):
160         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
161         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
162         (devtools.DebuggerAgent.prototype.updateCallFramesFromBacktraceResponse_):
163         * src/js/InspectorControllerImpl.js:
164         (.devtools.InspectorBackendImpl.prototype.editScriptSource):
165
166 2010-06-08  Tony Chang  <tony@chromium.org>
167
168         Reviewed by David Levin.
169
170         [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
171         https://bugs.webkit.org/show_bug.cgi?id=40285
172
173         Take 2 at landing this patch, this time rolling DEPS just a bit
174         further to pick up some chromium fixes.
175
176         * DEPS
177         * gyp_webkit:
178
179 2010-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
180
181         Unreviewed, rolling out r60878.
182         http://trac.webkit.org/changeset/60878
183         https://bugs.webkit.org/show_bug.cgi?id=40349
184
185         broke linux build (Requested by tony^work on #webkit).
186
187         * DEPS:
188         * gyp_webkit:
189
190 2010-06-08  Tony Chang  <tony@chromium.org>
191
192         Reviewed by David Levin.
193
194         [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
195         https://bugs.webkit.org/show_bug.cgi?id=40285
196
197         * gyp_webkit:
198
199 2010-06-08  Tony Chang  <tony@chromium.org>
200
201         Not reviewed, build fix.
202
203         [chromium] fix linux compile
204         https://bugs.webkit.org/show_bug.cgi?id=40343
205
206         * DEPS:
207
208 2010-06-08  Yury Semikhatsky  <yurys@chromium.org>
209
210         Reviewed by Pavel Feldman.
211
212         Web Inspector: extend ScriptDebugServer to support script source editing
213         https://bugs.webkit.org/show_bug.cgi?id=40297
214
215         * src/js/DebuggerAgent.js:
216         (devtools.ScriptInfo.prototype.worldType):
217         * src/js/DebuggerScript.js:
218         (debuggerScriptConstructor.DebuggerScript.editScriptSource):
219         * src/js/DevTools.js:
220         (WebInspector.loaded):
221         * src/js/InspectorControllerImpl.js:
222         (devtools.InspectorBackendImpl):
223
224 2010-06-08  Antonio Gomes  <tonikitoo@webkit.org>
225
226         Reviewed by Ojan Vafai and Darin Adler.
227
228         Refactor platform dependent editing behavior code out of Settings
229         https://bugs.webkit.org/show_bug.cgi?id=39854
230
231         EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
232         EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
233
234         * src/WebSettingsImpl.cpp:
235         (WebKit::WebSettingsImpl::setEditingBehavior):
236 2010-06-07  Tony Chang  <tony@chromium.org>
237
238         Reviewed by Kent Tamura.
239
240         [chromium] roll chromium DEPS
241         https://bugs.webkit.org/show_bug.cgi?id=40277
242
243         * DEPS:
244
245 2010-06-07  Kinuko Yasuda  <kinuko@chromium.org>
246
247         Reviewed by Jian Li.
248
249         Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder.
250         https://bugs.webkit.org/show_bug.cgi?id=39083
251
252         Replace FormDataList::Item list with BlobItemList to get it compiled
253         with the refactoring in FormDataList.
254
255         * src/WebSearchableFormData.cpp:
256         (WebCore::HasSuitableTextElement):
257
258 2010-06-07  Andrei Popescu  <andreip@google.com>
259
260         Reviewed by Jeremy Orlow.
261
262         [indexedDB] It is impossible to create object stores
263         https://bugs.webkit.org/show_bug.cgi?id=40054
264
265         * WebKit.gyp:
266         * public/WebIDBCallbacks.h:
267         (WebKit::WebIDBCallbacks::onSuccess):
268         * public/WebIDBDatabase.h:
269         (WebKit::WebIDBDatabase::createObjectStore):
270         * public/WebIDBObjectStore.h: Added.
271         (WebKit::WebIDBObjectStore::~WebIDBObjectStore):
272         (WebKit::WebIDBObjectStore::name):
273         (WebKit::WebIDBObjectStore::keyPath):
274         * src/IDBCallbacksProxy.cpp:
275         (WebCore::IDBCallbacksProxy::onSuccess):
276         * src/IDBCallbacksProxy.h:
277         * src/IDBDatabaseProxy.cpp:
278         (WebCore::IDBDatabaseProxy::createObjectStore):
279         * src/IDBDatabaseProxy.h:
280         * src/IDBObjectStoreProxy.cpp: Added.
281         (WebCore::IDBObjectStoreProxy::create):
282         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
283         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
284         (WebCore::IDBObjectStoreProxy::name):
285         (WebCore::IDBObjectStoreProxy::keyPath):
286         (WebCore::IDBObjectStoreProxy::indexNames):
287         (WebCore::IDBObjectStoreProxy::createIndex):
288         (WebCore::IDBObjectStoreProxy::index):
289         (WebCore::IDBObjectStoreProxy::removeIndex):
290         * src/IDBObjectStoreProxy.h: Added.
291         * src/IndexedDatabaseProxy.cpp:
292         (WebCore::IndexedDatabaseProxy::open):
293         * src/WebIDBCallbacksImpl.cpp:
294         (WebCore::WebIDBCallbacksImpl::onSuccess):
295         * src/WebIDBCallbacksImpl.h:
296         * src/WebIDBDatabaseImpl.cpp:
297         (WebKit::WebIDBDatabaseImpl::createObjectStore):
298         * src/WebIDBDatabaseImpl.h:
299         * src/WebIDBObjectStoreImpl.cpp: Added.
300         (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
301         (WebKit::WebIDBObjectStoreImpl::~WebIDBObjectStoreImpl):
302         (WebKit::WebIDBObjectStoreImpl::name):
303         (WebKit::WebIDBObjectStoreImpl::keyPath):
304         * src/WebIDBObjectStoreImpl.h: Added.
305         * src/WebIndexedDatabaseImpl.cpp:
306         (WebKit::WebIndexedDatabaseImpl::open):
307
308 2010-06-07  Yury Semikhatsky  <yurys@chromium.org>
309
310         Reviewed by Pavel Feldman.
311
312         Web Inspector: should be possible to distinguish extension scripts from main world scripts
313         https://bugs.webkit.org/show_bug.cgi?id=40220
314
315         * src/js/DebuggerAgent.js:
316         (devtools.DebuggerAgent.prototype.initUI):
317         (devtools.DebuggerAgent.prototype.addScriptInfo_):
318         (devtools.DebuggerAgent.prototype.formatCallFrame_):
319         (devtools.ScriptInfo.prototype.worldType):
320         * src/js/DebuggerScript.js:
321         (debuggerScriptConstructor.DebuggerScript.getScripts): use only context id without context type
322         when filtering scripts so that extension scripts are also included.
323         (debuggerScriptConstructor.DebuggerScript._formatScript):
324         * src/js/devTools.css:
325
326 2010-06-04  Jay Civelli  <jcivelli@chromium.org>
327
328         Reviewed by Dimitri Glazkov.
329
330         Accessibility focus change notifications are now sent from
331         ChromeClientImpl::focusedNodeChanged().
332         https://bugs.webkit.org/show_bug.cgi?id=39792
333
334         * src/ChromeClientImpl.cpp:
335         (WebKit::ChromeClientImpl::focus):
336         (WebKit::ChromeClientImpl::focusedNodeChanged):
337
338 2010-06-04  Jay Civelli  <jcivelli@chromium.org>
339
340         Reviewed by David Levin.
341
342         [chromium] Adding support for the left and right Windows keys to the
343                    NativeWebKeyboardEvent.
344         https://bugs.webkit.org/show_bug.cgi?id=39752
345
346         * src/gtk/WebInputEventFactory.cpp:
347         (WebKit::gdkEventToWindowsKeyCode):
348
349 2010-06-04  Pavel Podivilov  <podivilov@chromium.org>
350
351         Reviewed by Yury Semikhatsky.
352
353         Web Inspector: Create resource for DebuggerScript.js.
354         https://bugs.webkit.org/show_bug.cgi?id=40122
355
356         * WebKit.grd:
357         * public/WebDevToolsAgentClient.h:
358         (WebKit::WebDevToolsAgentClient::debuggerScriptSource):
359
360 2010-05-26  MORITA Hajime  <morrita@google.com>
361
362         Reviewed by Jian Li.
363
364         [Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges
365         https://bugs.webkit.org/show_bug.cgi?id=39725
366
367         Added WebViewImpl::scrollForDragging() to handle scroll-on-drag.
368         Note that this change handes both source and destination cases.
369         
370         * public/WebView.h:
371         * src/WebViewImpl.cpp:
372         (WebKit::WebViewImpl::dragSourceMovedTo):
373         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
374         (WebKit::WebViewImpl::scrollForDragging):
375         * src/WebViewImpl.h:
376
377 2010-06-03  Yury Semikhatsky  <yurys@chromium.org>
378
379         Reviewed by Pavel Feldman.
380
381         [v8] Web Inspector: show "Object" as description for values with anonymous constructor
382         https://bugs.webkit.org/show_bug.cgi?id=40121
383
384         * src/js/DevTools.js: don't call DebuggerAgent methods if ScriptDebugServer is used.
385
386 2010-06-03  Kent Tamura  <tkent@chromium.org>
387
388         Reviewed by Dimitri Glazkov.
389
390         [DRT/Chromium] Checking out lighttpd
391         https://bugs.webkit.org/show_bug.cgi?id=39948
392
393         - Add lighttpd only on Windows. It is used by new-run-webkit-tests.
394         - Add libvpx.
395         - Remove pthreads-win32 from DEPS.
396           It has not been used since Chromium r28642.
397         - Update Chromium revision to use Windows resource query code and
398           webkit_glue dependency fix.
399
400         * DEPS:
401
402 2010-06-02  Tony Chang  <tony@chromium.org>
403
404         Reviewed by Kent Tamura.
405
406         [chromium] refactor WebKit.gyp's DRT section so the conditions are less messy
407         https://bugs.webkit.org/show_bug.cgi?id=40104
408
409         * WebKit.gyp:
410
411 2010-06-02  Tony Chang  <tony@chromium.org>
412
413         Not reviewed, build fix in downstream chromium.
414
415         Fix the path to repack.py so it works in a chromium checkout too.
416
417         * WebKit.gyp:
418
419 2010-06-02  Tony Chang  <tony@chromium.org>
420
421         Reviewed by Kent Tamura.
422
423         [chromium] generate DumpRenderTree.pak on DRT linux
424         https://bugs.webkit.org/show_bug.cgi?id=40098
425
426         * WebKit.gyp:
427
428 2010-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>
429
430         Unreviewed, rolling out r60592.
431         http://trac.webkit.org/changeset/60592
432         https://bugs.webkit.org/show_bug.cgi?id=40099
433
434         broke the build, need to coordiate updating DEPS (Requested by
435         tony^work on #webkit).
436
437         * DEPS:
438         * public/WebMediaPlayer.h:
439
440 2010-06-02  Victoria Kirst  <vrk@google.com>
441
442         Reviewed by David Levin.
443
444         Modifying the WebMediaPlayer interface to be compatible with
445         a change in chrome.
446         This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
447         has been updated, so this commit should NOT break chromium anymore.
448         https://bugs.webkit.org/show_bug.cgi?id=39445
449
450         * DEPS: Updated to a newer chrome revision number.
451         * public/WebMediaPlayer.h: Changed buffered() to be non-const.
452
453 2010-06-02  Peter Kasting  <pkasting@google.com>
454
455         Unreviewed, emergency fix for test crashes (verbal r+ beforehand from
456         John Gregg).
457
458         Temporarily make notificationObjectDestroyed() a no-op to avoid an
459         ASSERT failure.
460
461         https://bugs.webkit.org/show_bug.cgi?id=40097
462
463         * src/NotificationPresenterImpl.cpp:
464         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
465
466 2010-06-02  Sterling Swigart  <sswigart@google.com>
467
468         Reviewed by David Levin.
469
470         Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches.
471         https://bugs.webkit.org/show_bug.cgi?id=39906
472
473         * features.gypi:
474
475 2010-06-01  James Hawkins  <jhawkins@chromium.org>
476
477         UNREVIEWED: build fix.
478
479         Implement the added virtual methods from PopupMenuClient to
480         TestPopupMenuClient.
481
482         * tests/PopupMenuTest.cpp:
483         (WebKit::TestPopupMenuClient::selectionChanged):
484         (WebKit::TestPopupMenuClient::selectionCleared):
485
486 2010-05-24  James Hawkins  <jhawkins@chromium.org>
487
488         Reviewed by Darin Fisher.
489
490         [Chromium] Implement new PopupMenuClient methods selectionChanged()
491         and selectionCleared().  Expose placeHolder methods and isAutoFilled()
492         in WebInputElement.
493
494         https://bugs.webkit.org/show_bug.cgi?id=39639
495
496         * public/WebInputElement.h:
497         * public/WebViewClient.h:
498         (WebKit::WebViewClient::didSelectAutoFillSuggestion):
499         (WebKit::WebViewClient::didClearAutoFillSelection):
500         * src/AutoFillPopupMenuClient.cpp:
501         (WebKit::AutoFillPopupMenuClient::selectionChanged):
502         (WebKit::AutoFillPopupMenuClient::selectionCleared):
503         (WebKit::AutoFillPopupMenuClient::popupDidHide):
504         * src/AutoFillPopupMenuClient.h:
505         * src/SuggestionsPopupMenuClient.h:
506         (WebKit::SuggestionsPopupMenuClient::selectionChanged):
507         (WebKit::SuggestionsPopupMenuClient::selectionCleared):
508         * src/WebInputElement.cpp:
509         (WebKit::WebInputElement::setPlaceholder):
510         (WebKit::WebInputElement::placeholder):
511         (WebKit::WebInputElement::isAutofilled):
512
513 2010-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
514
515         Unreviewed, rolling out r60483.
516         http://trac.webkit.org/changeset/60483
517         https://bugs.webkit.org/show_bug.cgi?id=40013
518
519         Breaks Mac and Linux builds (Requested by antonm on #webkit).
520
521         * DEPS:
522
523 2010-06-01  Jeremy Orlow  <jorlow@chromium.org>
524
525         Reviewed by Darin Fisher.
526
527         IndexedDB cleanup
528         https://bugs.webkit.org/show_bug.cgi?id=40007
529
530         Remove the exception code paramter (that hasn't been used for a while).
531         Add asserts to default implementations.
532
533         * public/WebIDBDatabase.h:
534         (WebKit::WebIDBDatabase::name):
535         (WebKit::WebIDBDatabase::description):
536         (WebKit::WebIDBDatabase::version):
537         (WebKit::WebIDBDatabase::objectStores):
538         * public/WebIndexedDatabase.h:
539         (WebKit::WebIndexedDatabase::open):
540         * src/WebIndexedDatabaseImpl.cpp:
541         (WebKit::WebIndexedDatabaseImpl::open):
542         * src/WebIndexedDatabaseImpl.h:
543
544 2010-06-01  Anton Muhin  <antonm@chromium.org>
545
546         Reviewed by Dimitri Glazkov.
547
548         Rolling Chromium revision to bring recent changes to V8.
549
550         * DEPS:
551
552 2010-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
553
554         Unreviewed, rolling out r60470.
555         http://trac.webkit.org/changeset/60470
556         https://bugs.webkit.org/show_bug.cgi?id=39990
557
558         Need to rollout until bot can be updated (Requested by jorlow
559         on #webkit).
560
561         * DEPS:
562
563 2010-05-31  Pavel Podivilov  <podivilov@chromium.org>
564
565         Reviewed by Pavel Feldman.
566
567         Chromium: save inspector settings as dictionary, not as string.
568         https://bugs.webkit.org/show_bug.cgi?id=32118
569
570         * public/WebView.h:
571         * public/WebViewClient.h:
572         (WebKit::WebViewClient::didUpdateInspectorSetting):
573         * src/InspectorClientImpl.cpp:
574         (WebKit::InspectorClientImpl::populateSetting):
575         (WebKit::InspectorClientImpl::storeSetting):
576         * src/InspectorClientImpl.h:
577         * src/WebViewImpl.cpp:
578         (WebKit::WebViewImpl::WebViewImpl):
579         (WebKit::WebViewImpl::inspectorSetting):
580         (WebKit::WebViewImpl::setInspectorSetting):
581         * src/WebViewImpl.h:
582
583 2010-05-31  James Robinson  <jamesr@chromium.org>
584
585         Reviewed by Darin Fisher.
586
587         Expose html5 parser enabled flag in WebSettings
588         https://bugs.webkit.org/show_bug.cgi?id=39913
589
590         * public/WebSettings.h:
591         * src/WebSettingsImpl.cpp:
592         (WebKit::WebSettingsImpl::setHTML5ParserEnabled):
593         * src/WebSettingsImpl.h:
594
595 2010-05-31  Lyon Chen  <liachen@rim.com>
596
597         Reviewed by Kent Tamura.
598
599         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
600         https://bugs.webkit.org/show_bug.cgi?id=35530
601
602         Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance.
603
604         * src/WebFrameImpl.cpp:
605         (WebKit::WebFrameImpl::executeCommand):
606
607 2010-05-31  Roland Steiner  <rolandsteiner@chromium.org>
608
609         Bug 39977 - Missing Chromium bindings for InspectorController methods introduced in r60443
610         https://bugs.webkit.org/show_bug.cgi?id=39977
611         
612         add missing InspectorController JS bindings:
613         - getStyleSheet
614         - getRuleRangesForStyleSheetId
615         
616         Tests: inspector/styles-source-offsets.html
617
618         * src/js/InspectorControllerImpl.js:
619         (devtools.InspectorBackendImpl):
620
621 2010-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
622
623         Unreviewed, rolling out r60456.
624         http://trac.webkit.org/changeset/60456
625         https://bugs.webkit.org/show_bug.cgi?id=39974
626
627         Broke Chromium Linux/Max build (Requested by tkent on
628         #webkit).
629
630         * DEPS:
631
632 2010-05-31  Kent Tamura  <tkent@chromium.org>
633
634         Reviewed by Dimitri Glazkov.
635
636         [DRT/Chromium] Checking out lighttpd
637         https://bugs.webkit.org/show_bug.cgi?id=39948
638
639         - Checking out lighttpd only on Windows. It is used by new-run-webkit-tests.
640         - Update Chromium revision to use Windows resource query code
641
642         * DEPS:
643
644 2010-05-31  Yury Semikhatsky  <yurys@chromium.org>
645
646         Reviewed by Pavel Feldman.
647
648         Web Inspector: allow hiding Scripts panel from Chromium code. This
649         is needed to support v8 debugging protocol which has an implementation
650         that conflicts with debugger provided by the inspector.
651         https://bugs.webkit.org/show_bug.cgi?id=39952
652
653         * public/WebDevToolsAgentClient.h:
654         (WebKit::WebDevToolsAgentClient::exposeV8DebuggerProtocol):
655         * public/WebDevToolsFrontendClient.h:
656         (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
657         (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
658         (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
659         (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
660         (WebKit::WebDevToolsFrontendClient::activateWindow):
661         (WebKit::WebDevToolsFrontendClient::closeWindow):
662         (WebKit::WebDevToolsFrontendClient::requestDockWindow):
663         (WebKit::WebDevToolsFrontendClient::requestUndockWindow):
664         (WebKit::WebDevToolsFrontendClient::hideScriptsPanel):
665         * src/DebuggerAgentManager.cpp:
666         (WebKit::DebuggerAgentManager::debugAttach):
667         (WebKit::DebuggerAgentManager::debugDetach):
668         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
669         * src/DebuggerAgentManager.h:
670         * src/InspectorFrontendClientImpl.cpp:
671         (WebKit::InspectorFrontendClientImpl::hiddenPanels):
672         * src/WebDevToolsAgentImpl.cpp:
673         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
674         (WebKit::WebDevToolsAgentImpl::attach):
675
676 2010-05-30  Lyon Chen  <liachen@rim.com>
677
678         Reviewed by Kent Tamura.
679
680         This is a coding style cleanup before fixing to bug 35530.
681
682         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
683         https://bugs.webkit.org/show_bug.cgi?id=35530
684
685         * src/WebFrameImpl.cpp:
686         (WebKit::WebFrameImpl::find):
687         (WebKit::WebFrameImpl::scopeStringMatches):
688         (WebKit::WebFrameImpl::createChildFrame):
689         (WebKit::WebFrameImpl::shouldScopeMatches):
690
691 2010-05-30  Daniel Bates  <dbates@rim.com>
692
693         Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
694
695         I missed a few call sites in the Chromium source when I
696         landed http://trac.webkit.org/changeset/60419.
697
698         Credit to Chris Jerdonek for looking over both this patch and the patch
699         committed in r60419.
700
701         * src/WebSearchableFormData.cpp:
702         (WebCore::GetButtonToActivate):
703         (WebCore::HasSuitableTextElement):
704
705 2010-05-30  Daniel Bates  <dbates@rim.com>
706
707         Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
708
709         * src/EditorClientImpl.cpp:
710         (WebKit::EditorClientImpl::autofill):
711         * src/WebFormControlElement.cpp:
712         (WebKit::WebFormControlElement::formControlName):
713         (WebKit::WebFormControlElement::formControlType):
714         * src/WebFormElement.cpp:
715         (WebKit::WebFormElement::getFormControlElements):
716         * src/WebPasswordFormUtils.cpp:
717         (WebKit::findPasswordFormFields):
718
719 2010-05-30  Jessie Berlin  <jberlin@webkit.org>
720
721         Reviewed by Pavel Feldman.
722
723         https://bugs.webkit.org/show_bug.cgi?id=39224
724         Bug 39224 - Web Inspector: There should be a way to clean up profiles
725
726         * src/js/InspectorControllerImpl.js:
727         (devtools.InspectorBackendImpl):
728
729 2010-05-29  Vangelis Kokkevis  <vangelis@chromium.org>
730
731         Reviewed by Darin Fisher.
732
733         Adding support for a runtime flag to enable accelerated
734         compositing in chromium.
735         https://bugs.webkit.org/show_bug.cgi?id=39917
736
737         * public/WebSettings.h:
738         * src/WebSettingsImpl.cpp:
739         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
740         * src/WebSettingsImpl.h:
741
742 2010-05-28  Aaron Boodman  <aa@chromium.org>
743
744         Reviewed by Darin Fisher.
745
746         Add isXHTMLDocument() to WebDocument.
747
748         https://bugs.webkit.org/show_bug.cgi?id=39887
749
750         * public/WebDocument.h: Add isXHTMLDocument().
751         * src/WebDocument.cpp: ditto.
752         (WebKit::WebDocument::isXHTMLDocument): dittorama.
753
754 2010-05-27  Jeremy Orlow  <jorlow@chromium.org>
755
756         Reviewed by Steve Block.
757
758         Add IndexedDB's IDBIndex
759         https://bugs.webkit.org/show_bug.cgi?id=39850
760
761         Add WebKit layer for IDBIndex.
762
763         * WebKit.gyp:
764         * public/WebCommon.h:
765         * public/WebIDBCallbacks.h:
766         (WebKit::WebIDBCallbacks::onError):
767         (WebKit::WebIDBCallbacks::onSuccess):
768         * public/WebIDBDatabase.h:
769         * public/WebIDBIndex.h: Added.
770         (WebKit::WebIDBIndex::~WebIDBIndex):
771         (WebKit::WebIDBIndex::name):
772         (WebKit::WebIDBIndex::keyPath):
773         (WebKit::WebIDBIndex::unique):
774         * src/IDBCallbacksProxy.cpp:
775         (WebCore::IDBCallbacksProxy::onSuccess):
776         * src/IDBCallbacksProxy.h:
777         * src/IDBDatabaseProxy.cpp:
778         * src/IDBDatabaseProxy.h:
779         * src/IDBIndexProxy.cpp: Added.
780         (WebCore::IDBIndexProxy::create):
781         (WebCore::IDBIndexProxy::IDBIndexProxy):
782         (WebCore::IDBIndexProxy::~IDBIndexProxy):
783         (WebCore::IDBIndexProxy::name):
784         (WebCore::IDBIndexProxy::keyPath):
785         (WebCore::IDBIndexProxy::unique):
786         * src/IDBIndexProxy.h: Added.
787         * src/WebIDBCallbacksImpl.cpp:
788         (WebCore::WebIDBCallbacksImpl::onSuccess):
789         * src/WebIDBCallbacksImpl.h:
790         * src/WebIDBDatabaseImpl.cpp:
791         * src/WebIDBDatabaseImpl.h:
792         * src/WebIDBIndexImpl.cpp: Added.
793         (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
794         (WebKit::WebIDBIndexImpl::~WebIDBIndexImpl):
795         (WebKit::WebIDBIndexImpl::name):
796         (WebKit::WebIDBIndexImpl::keyPath):
797         (WebKit::WebIDBIndexImpl::unique):
798         * src/WebIDBIndexImpl.h: Added.
799
800 2010-05-28  Yury Semikhatsky  <yurys@chromium.org>
801
802         Reviewed by Pavel Feldman.
803
804         Web Inspector: check that ClientMessageLoopAdapter is not 0 before
805         accessing its fileds from inspectedViewClosed method. It may be 0
806         if inspector frontend has not been open.
807         https://bugs.webkit.org/show_bug.cgi?id=39876
808
809         * src/WebDevToolsAgentImpl.cpp:
810         (WebKit::):
811
812 2010-05-27  Eric Uhrhane  <ericu@chromium.org>
813
814         Reviewed by Adam Barth.
815
816         Add v8 bindings for async DB API in workers
817         https://bugs.webkit.org/show_bug.cgi?id=39145
818         
819         * src/DatabaseObserver.cpp:
820         We should check that we're on the context thread now, not the main
821         thread.
822         (WebCore::DatabaseObserver::databaseOpened):
823         (WebCore::DatabaseObserver::databaseModified):
824         (WebCore::DatabaseObserver::databaseClosed):
825
826 2010-05-27  Yury Semikhatsky  <yurys@chromium.org>
827
828         Reviewed by Pavel Feldman.
829
830         Resume script execution if user tries to navigate to another URL
831         https://bugs.webkit.org/show_bug.cgi?id=39842
832
833         * src/WebDevToolsAgentImpl.cpp:
834         (WebKit::):
835         (WebKit::WebDevToolsAgentImpl::didNavigate):
836
837 2010-05-27  Zhenyao Mo  <zmo@google.com>
838
839         Reviewed by Dimitri Glazkov.
840
841         Implement lazy clearing of renderbuffers
842         https://bugs.webkit.org/show_bug.cgi?id=36248
843
844         * src/WebGraphicsContext3DDefaultImpl.cpp:
845         (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Clear WebGL internal buffers.
846
847 2010-05-26  Roland Steiner  <rolandsteiner@chromium.org>
848
849         Reviewed by NOBODY (layout test crashing fix).
850
851         Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
852         https://bugs.webkit.org/show_bug.cgi?id=39811
853
854         Initialize the pluginIndex field (quick fix).
855
856         Tests: covered by fast/dom/prototype-inheritance-2.html
857         (crashed under Chromium Linux and Windows)
858
859         * src/WebPluginListBuilderImpl.cpp:
860         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
861
862 2010-05-26  Anders Carlsson  <andersca@apple.com>
863
864         Reviewed by Darin Adler.
865
866         Clean up MimeClassInfo and PluginInfo
867         https://bugs.webkit.org/show_bug.cgi?id=39700
868
869         Update for WebCore changes.
870
871         * src/WebPluginListBuilderImpl.cpp:
872         (WebKit::WebPluginListBuilderImpl::addPlugin):
873         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
874         (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
875         * src/WebPluginListBuilderImpl.h:
876         (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
877
878 2010-05-26  Jeremy Orlow  <jorlow@chromium.org>
879
880         Unreviewed chromium build fix
881         https://bugs.webkit.org/show_bug.cgi?id=39739
882
883         The backwards compat function needs to take in a WebSecurityOrigin
884         instead of a WebString.
885
886         * public/WebIndexedDatabase.h:
887         (WebKit::WebIndexedDatabase::open):
888
889 2010-05-26  Jeremy Orlow  <jorlow@chromium.org>
890
891         Reviewed by Darin Fisher.
892
893         Implement WebDOMStorageList and make WebIDBDatabase use it
894         https://bugs.webkit.org/show_bug.cgi?id=39731
895
896         * WebKit.gyp:
897         * public/WebDOMStringList.h: Added.
898         (WebKit::WebDOMStringList::~WebDOMStringList):
899         (WebKit::WebDOMStringList::WebDOMStringList):
900         (WebKit::WebDOMStringList::operator=):
901         * public/WebIDBDatabase.h:
902         (WebKit::WebIDBDatabase::objectStores):
903         * src/IDBDatabaseProxy.cpp:
904         (WebCore::IDBDatabaseProxy::objectStores):
905         * src/WebDOMStringList.cpp: Added.
906         (WebKit::WebDOMStringList::reset):
907         (WebKit::WebDOMStringList::assign):
908         (WebKit::WebDOMStringList::append):
909         (WebKit::WebDOMStringList::length):
910         (WebKit::WebDOMStringList::item):
911         (WebKit::WebDOMStringList::WebDOMStringList):
912         (WebKit::WebDOMStringList::operator=):
913         (WebKit::WebDOMStringList::operator WTF::PassRefPtr<WebCore::DOMStringList>):
914         * src/WebIDBDatabaseImpl.cpp:
915         (WebKit::WebIDBDatabaseImpl::objectStores):
916         * src/WebIDBDatabaseImpl.h:
917
918 2010-05-24  Jeremy Orlow  <jorlow@chromium.org>
919
920         Reviewed by Steve Block.
921
922         Add IDBDatabase's attributes
923         https://bugs.webkit.org/show_bug.cgi?id=39602
924
925         Plumbing to hook up the synchronous attribute requests
926         on IDBDatabase.
927
928         * public/WebIDBDatabase.h:
929         (WebKit::WebIDBDatabase::name):
930         (WebKit::WebIDBDatabase::description):
931         (WebKit::WebIDBDatabase::version):
932         (WebKit::WebIDBDatabase::objectStores):
933         * src/IDBDatabaseProxy.cpp:
934         (WebCore::IDBDatabaseProxy::name):
935         (WebCore::IDBDatabaseProxy::description):
936         (WebCore::IDBDatabaseProxy::version):
937         (WebCore::IDBDatabaseProxy::objectStores):
938         * src/IDBDatabaseProxy.h:
939         * src/WebIDBDatabaseImpl.cpp:
940         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
941         (WebKit::WebIDBDatabaseImpl::name):
942         (WebKit::WebIDBDatabaseImpl::description):
943         (WebKit::WebIDBDatabaseImpl::version):
944         (WebKit::WebIDBDatabaseImpl::objectStores):
945         * src/WebIDBDatabaseImpl.h:
946
947 2010-05-24  Dirk Pranke  <dpranke@chromium.org>
948
949         Reviewed by Dimitri Glazkov.
950
951         Re-commit r58765 - it had been rolled out to see if it was causing
952         a perf regression (in r59787 and r59789), but that does not seem to
953         have been the case.
954
955         * public/WebNotification.h:
956         * src/WebNotification.cpp:
957         (WebKit::WebNotification::dir):
958         (WebKit::WebNotification::replaceId):
959
960 2010-05-25  Brett Wilson  <brettw@chromium.org>
961
962         Reviewed by Darin Fisher.
963
964         Remove obsolete code for Mac & Windows plugin creation in the Chromium
965         port. This non-Windows code was to prevent a crash which we no longer
966         seem to have, and it is preventing other types of plugins from working.
967         https://bugs.webkit.org/show_bug.cgi?id=39684
968
969         * src/FrameLoaderClientImpl.cpp:
970         (WebKit::FrameLoaderClientImpl::createPlugin):
971
972 2010-05-25  Kent Tamura  <tkent@chromium.org>
973
974         Reviewed by Dimitri Glazkov.
975
976         [DRT/Chromium] Enable 3D_CANVAS, FILTERS, METER_TAG and PROGRESS_TAG
977         https://bugs.webkit.org/show_bug.cgi?id=39652
978
979         3D_CANVAS and FILTERS have been enabled for Chromium tree
980         build. They fix dozens of unexpected test results in a case of
981         upstreaming build.
982         Enable METER_TAG and PROGRESS_TAG too because they will be enabled
983         in Chromium tree in the near future.
984
985         * features.gypi:
986
987 2010-05-25  Vangelis Kokkevis  <vangelis@chromium.org>
988
989         Reviewed by Darin Fisher.
990
991         The GraphicsContext that serves as a backing store for the root layer
992         updates when doing accelerated compositing is now stored in LayerRendererChromium
993         instead of the Layer itself. Updating code in WebViewImpl to reflect
994         that change.
995         https://bugs.webkit.org/show_bug.cgi?id=39640
996
997         * src/WebViewImpl.cpp:
998         (WebKit::WebViewImpl::updateRootLayerContents):
999
1000 2010-05-24  Yury Semikhatsky  <yurys@chromium.org>
1001
1002         Reviewed by Pavel Feldman.
1003
1004         ScriptDebugServer is now implemented as DebugEventListener which means it doesn't
1005         depend on v8 debugging protocol, instead it uses ExecState to collect debugging
1006         info and pass it to the listeners.
1007
1008         New implementation of ScriptDebugServer uses methods provided by client to dispatch
1009         its messages while JS is paused(previously the messages was dispatched in a callback
1010         passed to v8 along with DebugEventHandler).
1011
1012         Pause command is dispatched on IO thread.
1013
1014         https://bugs.webkit.org/show_bug.cgi?id=39594
1015
1016         * public/WebDevToolsAgentClient.h:
1017         (WebKit::WebDevToolsAgentClient::ClientMessageLoop::~ClientMessageLoop):
1018         (WebKit::WebDevToolsAgentClient::createClientMessageLoop): Returns an object that allows to run
1019         nested client message loop while script execution is paused on a breakpoint.
1020         * src/DebuggerAgentManager.cpp:
1021         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
1022         * src/DebuggerAgentManager.h:
1023         * src/WebDevToolsAgentImpl.cpp:
1024         (WebKit::):
1025         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
1026         (WebKit::WebDevToolsAgentImpl::attach):
1027         * src/js/DebuggerScript.js:
1028         (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
1029         (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
1030         (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
1031         (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
1032         * src/js/InspectorControllerImpl.js:
1033         (devtools.InspectorBackendImpl):
1034         (else.devtools.InspectorBackendImpl.prototype.pauseInDebugger): Pause command should be handled on IO
1035         thread so that script can be paused even if it's in an infinite loop.
1036
1037 2010-05-25  Yury Semikhatsky  <yurys@chromium.org>
1038
1039         Reviewed by Pavel Feldman.
1040
1041         Add memory graph to Timeline overview pane.
1042
1043         https://bugs.webkit.org/show_bug.cgi?id=37879
1044
1045         * src/js/devTools.css:
1046         (.timeline-category-statusbar-item input):
1047
1048 2010-05-24  Tony Chang  <tony@chromium.org>
1049
1050         Reviewed by David Levin.
1051
1052         [chromium] Fix zoom tests after r60104
1053         https://bugs.webkit.org/show_bug.cgi?id=39645
1054         
1055         m_zoomFactor moved from Frame to FrameView.  FrameView has separate
1056         notions of page zoom and text zoom.  In my hurried compile fix, I
1057         assumed that m_zoomFactor was for page zoom, but it's not always.
1058
1059         * src/WebViewImpl.cpp:
1060         (WebKit::WebViewImpl::setZoomLevel):
1061
1062 2010-05-24  Kent Tamura  <tkent@chromium.org>
1063
1064         Unreviewed. Sort features.
1065
1066         * features.gypi:
1067
1068 2010-05-24  Kent Tamura  <tkent@chromium.org>
1069
1070         Reviewed by Dimitri Glazkov.
1071
1072         [DRT/Chromium] Import layout_test_helper for Windows
1073         https://bugs.webkit.org/show_bug.cgi?id=39581
1074
1075         * WebKit.gyp: Add a build rule for LayoutTestHelper.exe for Windows.
1076
1077 2010-05-24  Marcus Bulach  <bulach@chromium.org>
1078
1079         Reviewed by Kent Tamura.
1080
1081         [chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
1082         https://bugs.webkit.org/show_bug.cgi?id=39587
1083
1084         * public/WebGeolocationServiceMock.h:
1085         * src/WebGeolocationServiceMock.cpp:
1086         (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
1087         (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
1088         (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
1089         (WebKit::WebGeolocationServiceMockImpl::attachBridge):
1090         (WebKit::WebGeolocationServiceMockImpl::detachBridge):
1091
1092 2010-05-24  Tony Chang  <tony@chromium.org>
1093
1094         Reviewed by Kent Tamura.
1095
1096         [chromium] setup fonts on chromium linux DRT
1097         https://bugs.webkit.org/show_bug.cgi?id=39644
1098
1099         * WebKit.gyp:
1100
1101 2010-05-24  Tony Chang  <tony@chromium.org>
1102
1103         Not reviewed, build fix.
1104
1105         Fix the chromium compile due to pageZoomFactor refactoring.
1106
1107         * src/WebViewImpl.cpp:
1108         (WebKit::WebViewImpl::setZoomLevel):
1109
1110 2010-05-24  Darin Adler  <darin@apple.com>
1111
1112         Reviewed by Eric Seidel.
1113
1114         Move view-related functions from Frame to FrameView
1115         https://bugs.webkit.org/show_bug.cgi?id=39366
1116
1117         * src/WebViewImpl.cpp:
1118         (WebKit::WebViewImpl::setZoomLevel): Call setZoomLevel on FrameView.
1119
1120 2010-05-24  Anders Carlsson  <andersca@apple.com>
1121
1122         Attempt to fix the Chromium build.
1123
1124         * src/WebViewImpl.cpp:
1125
1126 2010-05-21  Tony Chang  <tony@chromium.org>
1127
1128         Reviewed by Ojan Vafai.
1129
1130         [chromium] if keydown is prevented, don't update the IME and clear the IME state
1131         https://bugs.webkit.org/show_bug.cgi?id=39475
1132
1133         * src/WebViewImpl.cpp:
1134         (WebKit::WebViewImpl::handleCompositionEvent):
1135
1136 2010-05-23  Roman Gershman  <romange@google.com>
1137
1138         Reviewed by Darin Fisher.
1139
1140         [Chromium] Suggestion popup is not closed when the view is scrolled.
1141         https://bugs.webkit.org/show_bug.cgi?id=38640
1142
1143         This bug appears on both Windows and Linux platforms.
1144         Mac OS, however handles window messages differently and
1145         closes popup menu in RenderWidgetHostViewMac::Destroy().
1146
1147         No tests were added because test_shell does not support suggestion
1148         popup.
1149
1150         * src/ChromeClientImpl.cpp:
1151         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
1152         (WebKit::ChromeClientImpl::scroll):
1153
1154 2010-05-23  Marcus Bulach  <bulach@chromium.org>
1155
1156         Reviewed by Kent Tamura.
1157
1158         [chromium] Adds Geolocation support to DumpRenderTree.
1159         https://bugs.webkit.org/show_bug.cgi?id=39440
1160
1161         Existing LayoutTests/fast/dom/Geolocation/* should pass.
1162
1163         * public/WebGeolocationServiceMock.h:
1164         * src/WebGeolocationServiceMock.cpp:
1165         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
1166         (WebKit::WebGeolocationServiceMock::requestPermissionForFrame):
1167         (WebKit::WebGeolocationServiceMock::attachBridge):
1168         (WebKit::WebGeolocationServiceMock::detachBridge):
1169
1170 2010-05-22  Kent Tamura  <tkent@chromium.org>
1171
1172         Reviewed by Dimitri Glazkov.
1173
1174         [DRT/Chromium] Link resources and load Ahem font for Windows
1175         https://bugs.webkit.org/show_bug.cgi?id=39473
1176
1177         * WebKit.gyp:
1178           Add net and webkit resources for Windows.
1179           Copy AHEM____.TTF to DumpRenderTree.exe directory.
1180
1181 2010-05-21  Steve Block  <steveblock@google.com>
1182
1183         Reviewed by Jeremy Orlow.
1184
1185         Add DeviceOrientation and DeviceOrientationClient
1186         https://bugs.webkit.org/show_bug.cgi?id=39479
1187
1188         * src/WebViewImpl.cpp:
1189         (WebKit::WebViewImpl::WebViewImpl):
1190
1191 2010-05-20  Viet-Trung Luu  <viettrungluu@chromium.org>
1192
1193         Reviewed by Darin Fisher.
1194
1195         [Chromium] Don't rely on focused node to route mouse events to plugins.
1196         https://bugs.webkit.org/show_bug.cgi?id=39375
1197         http://crbug.com/43935
1198
1199         On mouse down, do a hit test and check if a plugin was hit. If so, then
1200         save the node for future mouse events (until mouse up or capture lost).
1201
1202         * src/WebViewImpl.cpp:
1203         (WebKit::WebViewImpl::WebViewImpl):
1204         (WebKit::WebViewImpl::mouseDown):
1205         (WebKit::WebViewImpl::handleInputEvent):
1206         (WebKit::WebViewImpl::mouseCaptureLost):
1207         * src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode.
1208
1209 2010-05-20  Dominic Mazzoni  <dmazzoni@chromium.org>
1210
1211         Reviewed by Darin Fisher.
1212
1213         Add headingLevel and setFocused methods.
1214
1215         https://bugs.webkit.org/show_bug.cgi?id=39238
1216
1217         * public/WebAccessibilityObject.h:
1218         * src/WebAccessibilityObject.cpp:
1219         (WebKit::WebAccessibilityObject::headingLevel):
1220         (WebKit::WebAccessibilityObject::setFocused):
1221
1222 2010-05-20  Zhenyao Mo  <zmo@google.com>
1223
1224         Reviewed by Dimitri Glazkov.
1225
1226         Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
1227         https://bugs.webkit.org/show_bug.cgi?id=39077
1228
1229         * src/WebGraphicsContext3DDefaultImpl.cpp:
1230         (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums.
1231
1232 2010-05-20  Abhishek Arya  <inferno@chromium.org>
1233
1234         Reviewed by Adam Barth.
1235
1236         Added method to WebSecurityOrigin for invoking
1237         SecurityOrigin::canAccessPasswordManager.
1238         https://bugs.webkit.org/show_bug.cgi?id=38916
1239
1240         * public/WebSecurityOrigin.h:
1241         * src/WebSecurityOrigin.cpp:
1242         (WebKit::WebSecurityOrigin::canAccessPasswordManager):
1243
1244 2010-05-20  Darin Fisher  <darin@chromium.org>
1245
1246         Reviewed by Nate Chapin.
1247
1248         [chromium] Provide a way to catch exceptions thrown while interacting
1249         with a NPObject via WebBindings methods.
1250         https://bugs.webkit.org/show_bug.cgi?id=39378
1251
1252         * public/WebBindings.h:
1253         * src/WebBindings.cpp:
1254         (WebKit::WebBindings::pushExceptionHandler):
1255         (WebKit::WebBindings::popExceptionHandler):
1256
1257 2010-05-20  Jian Li  <jianli@chromium.org>
1258
1259         Reviewed by David Levin.
1260
1261         Rename GenericWorkerTask.h to CrossThreadTask.h and move it to dom directory.
1262         https://bugs.webkit.org/show_bug.cgi?id=39135
1263
1264         * src/WebSharedWorkerImpl.cpp:
1265         * src/WebWorkerBase.cpp:
1266         * src/WebWorkerClientImpl.cpp:
1267         * src/WebWorkerImpl.cpp:
1268
1269 2010-05-20  Martin Robinson  <mrobinson@webkit.org>
1270
1271         Reviewed by Ojan Vafai.
1272
1273         Expose the editing behavior setting in DRT to test all editing code paths
1274         https://bugs.webkit.org/show_bug.cgi?id=38603
1275
1276         * public/WebSettings.h:
1277         (WebKit::WebSettings::): Added an enum for EditingBehavior types.
1278         * src/WebSettingsImpl.cpp: 
1279         (WebKit::WebSettingsImpl::setEditingBehavior): Added.
1280         * src/WebSettingsImpl.h:
1281
1282 2010-05-19  Vangelis Kokkevis  <vangelis@chromium.org>
1283
1284         Reviewed by Darin Fisher.
1285
1286         Modifying WebViewImpl to support new hardware compositing for
1287         LayerChromium layers.
1288         https://bugs.webkit.org/show_bug.cgi?id=38783
1289
1290         * src/WebViewImpl.cpp:
1291         (WebKit::WebViewImpl::paint):
1292         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1293         (WebKit::WebViewImpl::updateRootLayerContents):
1294         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1295
1296 2010-05-19  Tony Chang  <tony@chromium.org>
1297
1298         Reviewed by Kent Tamura.
1299
1300         [chromium] disable spelling suggestions if spellcheck=false
1301         https://bugs.webkit.org/show_bug.cgi?id=39402
1302         
1303         This is the Chromium fix for bug 25639 that was fixed in the
1304         other ports in r59585.
1305
1306         * src/ContextMenuClientImpl.cpp:
1307         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1308
1309 2010-05-19  Darin Fisher  <darin@chromium.org>
1310
1311         Revert r59790 due to failing Chromium npruntime tests.
1312
1313         * public/WebBindings.h:
1314         * src/WebBindings.cpp:
1315
1316 2010-05-19  Darin Fisher  <darin@chromium.org>
1317
1318         Reviewed by Nate Chapin.
1319
1320         [chromium] Provide a way to catch exceptions thrown while interacting
1321         with a NPObject via WebBindings methods.
1322         https://bugs.webkit.org/show_bug.cgi?id=39378
1323
1324         * public/WebBindings.h:
1325         * src/WebBindings.cpp:
1326         (WebKit::WebBindings::pushExceptionHandler):
1327         (WebKit::WebBindings::popExceptionHandler):
1328
1329 2010-05-19  Dirk Pranke  <dpranke@chromium.org>
1330
1331         Try again to roll out r58765.
1332
1333         * public/WebNotification.h:
1334         * src/WebNotification.cpp:
1335
1336 2010-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1337
1338         Unreviewed, rolling out r59782.
1339         http://trac.webkit.org/changeset/59782
1340         https://bugs.webkit.org/show_bug.cgi?id=39379
1341
1342         broke DRT build (Requested by dpranke on #webkit).
1343
1344         * public/WebNotification.h:
1345         * src/WebNotification.cpp:
1346         (WebKit::WebNotification::dir):
1347         (WebKit::WebNotification::replaceId):
1348
1349 2010-05-19  Jian Li  <jianli@chromium.org>
1350
1351         Reviewed by Darin Fisher.
1352
1353         Remove obsolete ChromiumBridge code that routes FileSystem calls to WebKitClient.
1354         https://bugs.webkit.org/show_bug.cgi?id=39332
1355
1356         * public/WebKitClient.h:
1357         * src/ChromiumBridge.cpp:
1358         (WebCore::ChromiumBridge::fileExists):
1359         (WebCore::ChromiumBridge::deleteFile):
1360         (WebCore::ChromiumBridge::deleteEmptyDirectory):
1361         (WebCore::ChromiumBridge::getFileSize):
1362         (WebCore::ChromiumBridge::getFileModificationTime):
1363         (WebCore::ChromiumBridge::directoryName):
1364         (WebCore::ChromiumBridge::pathByAppendingComponent):
1365         (WebCore::ChromiumBridge::makeAllDirectories):
1366         (WebCore::ChromiumBridge::getAbsolutePath):
1367         (WebCore::ChromiumBridge::isDirectory):
1368         (WebCore::ChromiumBridge::filePathToURL):
1369
1370 2010-05-19  Marcus Bulach  <bulach@chromium.org>
1371
1372         Reviewed by Steve Block.
1373
1374         [chromium] Adds supports for layout tests using GeolocationServiceMock.
1375         https://bugs.webkit.org/show_bug.cgi?id=39081
1376
1377         Allows injection of GeolocationServiceMock factory.
1378         Tests: existing fast/dom/Geolocation/*
1379
1380         * WebKit.gyp:
1381         * public/WebGeolocationServiceMock.h: Added.
1382         * src/WebGeolocationServiceMock.cpp: Added.
1383         (WebCore::GeolocationServiceChromiumMock::create):
1384         (WebCore::GeolocationServiceChromiumMock::GeolocationServiceChromiumMock):
1385         (WebCore::GeolocationServiceChromiumMock::startUpdating):
1386         (WebCore::GeolocationServiceChromiumMock::stopUpdating):
1387         (WebCore::GeolocationServiceChromiumMock::lastPosition):
1388         (WebCore::GeolocationServiceChromiumMock::lastError):
1389         (WebCore::GeolocationServiceChromiumMock::geolocationServicePositionChanged):
1390         (WebCore::GeolocationServiceChromiumMock::geolocationServiceErrorOccurred):
1391         (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
1392         (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
1393
1394 2010-05-17  Jeremy Orlow  <jorlow@chromium.org>
1395
1396         Reviewed by Darin Fisher.
1397
1398         Hook Chromium's WebIndexedDatabaseImpl up to IndexedDatabaseImpl
1399         https://bugs.webkit.org/show_bug.cgi?id=39216
1400
1401         Web____Impl is for re-entering the WebKit layer from the browser layer.
1402         Thus the previous IDBCallbacksProxy was mis-named (and should have been
1403         WebIDBCallbacksImpl).  This patch renames it and then implements the
1404         proper proxy (which is for going from WebCore to WebKit).
1405
1406         Also change using security origin strings to using WebSecurityOrigin
1407         objects.
1408
1409         This patch also implements the glue between WebIndexedDatabaseImpl and
1410         IndexedDatabaseImpl.
1411
1412         * WebKit.gyp:
1413         * src/IDBCallbacksProxy.cpp:
1414         (WebCore::IDBCallbacksProxy::create):
1415         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
1416         (WebCore::IDBCallbacksProxy::onError):
1417         (WebCore::IDBCallbacksProxy::onSuccess):
1418         * src/IDBCallbacksProxy.h:
1419         * src/IndexedDatabaseProxy.cpp:
1420         (WebCore::IndexedDatabaseProxy::open):
1421         * src/IndexedDatabaseProxy.h:
1422         * src/WebIDBCallbacksImpl.cpp: Added.
1423         (WebCore::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
1424         (WebCore::WebIDBCallbacksImpl::~WebIDBCallbacksImpl):
1425         (WebCore::WebIDBCallbacksImpl::onError):
1426         (WebCore::WebIDBCallbacksImpl::onSuccess):
1427         * src/WebIDBCallbacksImpl.h: Added.
1428         * src/WebIDBDatabaseImpl.cpp: Added.
1429         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
1430         (WebKit::WebIDBDatabaseImpl::~WebIDBDatabaseImpl):
1431         * src/WebIDBDatabaseImpl.h: Added.
1432         * src/WebIndexedDatabaseImpl.cpp:
1433         (WebKit::WebIndexedDatabaseImpl::WebIndexedDatabaseImpl):
1434         (WebKit::WebIndexedDatabaseImpl::open):
1435         * src/WebIndexedDatabaseImpl.h:
1436
1437 2010-05-18  Kent Tamura  <tkent@chromium.org>
1438
1439         Reviewed by Dimitri Glazkov.
1440
1441         [DRT/Chromium] Fix a repaint issue and textarea tests
1442         https://bugs.webkit.org/show_bug.cgi?id=39054
1443
1444         * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
1445           and textAreaResizeCorner.png
1446         * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
1447
1448 2010-05-18  Tony Chang  <tony@chromium.org>
1449
1450         Reviewed by Ojan Vafai.
1451
1452         [chromium] ignore IME events if the keydown event was prevented
1453         https://bugs.webkit.org/show_bug.cgi?id=37692
1454
1455         * src/WebViewImpl.cpp:
1456         (WebKit::WebViewImpl::handleCompositionEvent):
1457
1458 2010-05-18  MORITA Hajime  <morrita@google.com>
1459
1460         Reviewed by Kent Tamura.
1461
1462         [Chromium] Windows: Determinate progress bar should have glossy overlay
1463         https://bugs.webkit.org/show_bug.cgi?id=39269
1464
1465         Changed WebThemeEngine::drawProgressBar() signature to delegate
1466         theme implementation detail to the engine.
1467         Chromium side will come to http://crbug.com/44430.
1468         
1469         No new tests, animation effect can be confirmed only manually.        
1470
1471         * public/WebThemeEngine.h:
1472         (WebKit::WebThemeEngine::paintProgressBar):
1473         * src/ChromiumBridge.cpp:
1474         (WebCore::ChromiumBridge::paintProgressBar):
1475
1476 2010-05-16  Mike Belshe  <mbelshe@chromium.org>
1477
1478         Reviewed by Dimitri Glazkov.
1479
1480         Add a flag to the ResourceResponse for tracking if a request was
1481         fetched via the TLS/Next-Protocol-Negotiation mechanism.
1482
1483         Also cleaned up the style in ResourceResponse to group the flags
1484         together (and alphabetically) and hopefully improve readability of
1485         the file.
1486
1487         https://bugs.webkit.org/show_bug.cgi?id=39078
1488
1489         * public/WebURLResponse.h:
1490         * src/WebURLResponse.cpp:
1491         (WebKit::WebURLResponse::wasNpnNegotiated):
1492         (WebKit::WebURLResponse::setWasNpnNegotiated):
1493
1494 2010-05-16  Eric Seidel  <eric@webkit.org>
1495
1496         Unreviewed, rolling out r59571.
1497         http://trac.webkit.org/changeset/59571
1498         https://bugs.webkit.org/show_bug.cgi?id=39054
1499
1500         Broke Cr Win, but we didn't notice immediately due to
1501         https://bugs.webkit.org/show_bug.cgi?id=38926.  It's possible
1502         that this didn't actually break Cr Win, but rather that bug
1503         38926 necessitates a clean compile after this and sucessive
1504         checkins only produced a partial recompile and thus failed to
1505         build.
1506
1507         * DEPS:
1508         * WebKit.gyp:
1509         * features.gypi:
1510
1511 2010-05-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1512
1513         Unreviewed, rolling out r59574.
1514         http://trac.webkit.org/changeset/59574
1515         https://bugs.webkit.org/show_bug.cgi?id=39176
1516
1517         Supposedly broke cr-win, but the errors seems somewhat
1518         unrelated (Requested by abarth on #webkit).
1519
1520         * public/WebURLResponse.h:
1521         * src/WebURLResponse.cpp:
1522
1523 2010-05-16  Mike Belshe  <mbelshe@chromium.org>
1524
1525         Reviewed by Dimitri Glazkov.
1526
1527         Add a flag to the ResourceResponse for tracking if a request was
1528         fetched via the TLS/Next-Protocol-Negotiation mechanism.
1529
1530         Also cleaned up the style in ResourceResponse to group the flags
1531         together (and alphabetically) and hopefully improve readability of
1532         the file.
1533
1534         https://bugs.webkit.org/show_bug.cgi?id=39078
1535
1536         * public/WebURLResponse.h:
1537         * src/WebURLResponse.cpp:
1538         (WebKit::WebURLResponse::wasNpnNegotiated):
1539         (WebKit::WebURLResponse::setWasNpnNegotiated):
1540
1541 2010-05-16  Kent Tamura  <tkent@chromium.org>
1542
1543         Reviewed by Dimitri Glazkov.
1544
1545         [DRT/Chromium] Fix repaint, WebGL, textarea tests
1546         https://bugs.webkit.org/show_bug.cgi?id=39054
1547
1548         * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
1549           and textAreaResizeCorner.png
1550         * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
1551         * features.gypi: Enable ENABLE_3D_CANVAS.
1552
1553 2010-05-15  Darin Fisher  <darin@chromium.org>
1554
1555         Reviewed by Adam Barth.
1556
1557         [chromium] Expose element accessor on WebPluginContainer
1558         https://bugs.webkit.org/show_bug.cgi?id=39152
1559
1560         * public/WebPluginContainer.h:
1561         * src/WebPluginContainerImpl.cpp:
1562         (WebKit::WebPluginContainerImpl::element):
1563         * src/WebPluginContainerImpl.h:
1564
1565 2010-05-15  Jochen Eisinger  <jochen@chromium.org>
1566
1567         Reviewed by Dmitry Titov.
1568
1569         Implement canEstablishDatabase call for workers.
1570         https://bugs.webkit.org/show_bug.cgi?id=38742
1571
1572         * public/WebCommonWorkerClient.h:
1573         * src/DatabaseObserver.cpp:
1574         (WebCore::DatabaseObserver::canEstablishDatabase):
1575         * src/WebWorkerBase.cpp:
1576         (WebKit::WebWorkerBase::allowDatabase):
1577         (WebKit::WebWorkerBase::allowDatabaseTask):
1578         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
1579         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::cancel):
1580         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::result):
1581         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::signalCompleted):
1582         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::didComplete):
1583         * src/WebWorkerBase.h:
1584         * src/WebWorkerClientImpl.h:
1585         (WebKit::WebWorkerClientImpl::allowDatabase):
1586
1587 2010-05-15  Jay Civelli  <jcivelli@chromium.org>
1588
1589         Reviewed by Darin Fisher.
1590
1591         [chromium] Adding a notification on WebViewClient when a new 
1592         node gets focused.
1593         https://bugs.webkit.org/show_bug.cgi?id=38508
1594
1595         * public/WebViewClient.h:
1596         (WebKit::WebViewClient::focusedNodeChanged):
1597         * src/ChromeClientImpl.cpp:
1598         (WebKit::ChromeClientImpl::focusedNodeChanged):
1599
1600 2010-05-15  Evan Stade  <estade@chromium.org>
1601
1602         Reviewed by Adam Barth.
1603
1604         [chromium] "Check spelling in this field" context menu item always checked
1605         https://bugs.webkit.org/show_bug.cgi?id=39018
1606
1607         Initialize all POD members of WebContextMenuData in a default
1608         constructor.
1609
1610         No tests because this code would need some major refactoring to unit
1611         test, and AFAICT it's not testable via layout tests. See note at top
1612         of getCustomMenuFromDefaultItems.
1613
1614         * public/WebContextMenuData.h:
1615         (WebKit::WebContextMenuData::WebContextMenuData):
1616         * src/ContextMenuClientImpl.cpp:
1617         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1618
1619 2010-05-14  Darin Fisher  <darin@chromium.org>
1620
1621         Reviewed by Dimitri Glazkov.
1622
1623         [chromium] Remove temporary relative include paths
1624         https://bugs.webkit.org/show_bug.cgi?id=38776
1625
1626         * public/WebPasswordAutocompleteListener.h:
1627         * src/FrameLoaderClientImpl.h:
1628         * src/PlatformMessagePortChannel.h:
1629         * src/WebAnimationControllerImpl.h:
1630         * src/WebBindings.cpp:
1631         * src/WebDataSourceImpl.h:
1632         * src/WebDevToolsAgentPrivate.h:
1633         * src/WebFileChooserCompletionImpl.h:
1634         * src/WebFrameImpl.h:
1635         * src/WebInputEventConversion.h:
1636         * src/WebPluginContainerImpl.h:
1637         * src/WebPluginLoadObserver.h:
1638         * src/WebPopupMenuImpl.h:
1639         * src/WebSettingsImpl.h:
1640         * src/WebViewImpl.h:
1641         * src/WebWorkerClientImpl.h:
1642         * src/WrappedResourceRequest.h:
1643         * src/WrappedResourceResponse.h:
1644
1645 2010-05-14  Anton Muhin  <antonm@chromium.org>
1646
1647         Reviewed by Darin Fisher.
1648
1649         [Chromium] Consider implementing addOriginAccessWhitelistEntry method
1650         https://bugs.webkit.org/show_bug.cgi?id=37578
1651
1652         Remove deprecated methods.
1653
1654         * public/WebSecurityPolicy.h:
1655         * src/WebSecurityPolicy.cpp:
1656
1657 2010-05-14  Kenneth Russell  <kbr@google.com>
1658
1659         Reviewed by Darin Adler.
1660
1661         Rename WebGLArray types to TypedArray types
1662         https://bugs.webkit.org/show_bug.cgi?id=39091
1663
1664         Extended functionality of do-webcore-rename script and used it to
1665         rename the WebGLArray types to the TypedArray naming convention.
1666         The only source files which were touched by hand, and which are
1667         being manually reviewed, are:
1668             WebCore/page/DOMWindow.idl
1669             WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
1670             WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
1671             WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
1672         These only needed to be touched to update the aliases between the
1673         WebGLArray and TypedArray names introduced in bug 39036. (It was
1674         not feasible to have do-webcore-rename handle this as it would
1675         introduce circular renamings.) These aliases will be removed in
1676         roughly a month once existing WebGL content has been updated.
1677
1678         No new tests; covered under existing WebGL tests. Updated
1679         constructed-objects-prototypes and prototype-inheritance-2 tests.
1680         Ran all layout tests in Safari and all WebGL tests in Chromium.
1681
1682         * src/GraphicsContext3D.cpp:
1683         (WebCore::GraphicsContext3DInternal::bufferData):
1684         (WebCore::GraphicsContext3DInternal::bufferSubData):
1685
1686 2010-05-14  Jochen Eisinger  <jochen@chromium.org>
1687
1688         Reviewed by Eric Seidel.
1689
1690         Make ImageDiff depend on webkit (again).
1691         https://bugs.webkit.org/show_bug.cgi?id=39000
1692
1693         * WebKit.gyp:
1694
1695 2010-05-14  James Simonsen  <simonjam+webkit@google.com>
1696
1697         Reviewed by Darin Fisher.
1698
1699         [chromium] Expose volume through WebMediaPlayerClient
1700         https://bugs.webkit.org/show_bug.cgi?id=38947
1701
1702         * public/WebMediaPlayerClient.h:
1703         * src/WebMediaPlayerClientImpl.cpp:
1704         (WebKit::WebMediaPlayerClientImpl::volume):
1705         * src/WebMediaPlayerClientImpl.h:
1706
1707 2010-05-14  Tony Gentilcore  <tonyg@chromium.org>
1708
1709         Reviewed by Darin Fisher.
1710
1711         [chromium] Update chromium port to send/receive cached metadata
1712         https://bugs.webkit.org/show_bug.cgi?id=38665
1713
1714         * public/WebKitClient.h:
1715         (WebKit::WebKitClient::cacheMetadata):
1716         * public/WebURLLoaderClient.h:
1717         (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
1718         * public/WebURLResponse.h:
1719         * src/ChromiumBridge.cpp:
1720         (WebCore::ChromiumBridge::cacheMetadata):
1721         * src/ResourceHandle.cpp:
1722         (WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
1723         (WebCore::ResourceHandle::cacheMetadata):
1724         * src/WebURLResponse.cpp:
1725         (WebKit::WebURLResponse::responseTime):
1726         (WebKit::WebURLResponse::setResponseTime):
1727
1728 2010-05-13  Tony Chang  <tony@chromium.org>
1729
1730         Reviewed by Kent Tamura.
1731
1732         [chromium] enable DRT build in chromium (for the last time)
1733         https://bugs.webkit.org/show_bug.cgi?id=39109
1734
1735         * WebKit.gyp:
1736
1737 2010-05-13  Pavel Feldman  <pfeldman@chromium.org>
1738
1739         Reviewed by Yury Semikhatsky.
1740
1741         Web Inspector: main inspector toolbar takes noticeable time to expand.
1742
1743         https://bugs.webkit.org/show_bug.cgi?id=39013
1744
1745         * src/js/DevTools.js:
1746         (devtools.domContentLoaded):
1747
1748 2010-05-12  Hans Wennborg  <hans@chromium.org>
1749
1750         Reviewed by Jeremy Orlow.
1751
1752         [Chromium] Remove transitional functions from WebStorageNamespace and WebViewClient.
1753         https://bugs.webkit.org/show_bug.cgi?id=38985
1754
1755         These functions are no longer called as of Chromium revision 47020.
1756         This is part of resolving http://crbug.com/42740
1757
1758         * public/WebStorageNamespace.h:
1759         * public/WebViewClient.h:
1760         (WebKit::WebViewClient::createSessionStorageNamespace):
1761
1762 2010-05-12  Tony Chang  <tony@chromium.org>
1763
1764         Reviewed by Kent Tamura.
1765
1766         [chromium] disable DRT in chromium again
1767         https://bugs.webkit.org/show_bug.cgi?id=39049
1768
1769         * WebKit.gyp:
1770
1771 2010-05-12  John Abd-El-Malek  <jam@chromium.org>
1772
1773         Reviewed by Darin Fisher.
1774
1775         [chromium] Disable WebScrollbarImpl's scrollbar if it's not needed
1776         https://bugs.webkit.org/show_bug.cgi?id=39025
1777
1778         * src/WebScrollbarImpl.cpp:
1779         (WebKit::WebScrollbarImpl::setLocation):
1780         (WebKit::WebScrollbarImpl::setDocumentSize):
1781
1782 2010-05-12  Dumitru Daniliuc  <dumi@chromium.org>
1783
1784         Reviewed by Dimitri Glazkov.
1785
1786         Removing the unnecessary dirfd parameter.
1787         https://bugs.webkit.org/show_bug.cgi?id=38869
1788
1789         * public/WebKitClient.h:
1790         (WebKit::WebKitClient::databaseOpenFile):
1791         * src/ChromiumBridge.cpp:
1792         (WebCore::ChromiumBridge::databaseOpenFile):
1793
1794 2010-05-12  Jeremy Orlow  <jorlow@chromium.org>
1795
1796         Reviewed by Steve Block.
1797
1798         [Chromium] Pass the origin parameter for WebIndexedDatabase::open
1799         https://bugs.webkit.org/show_bug.cgi?id=38983
1800
1801         * public/WebIndexedDatabase.h:
1802         * src/IndexedDatabaseProxy.cpp:
1803         (WebCore::IndexedDatabaseProxy::open):
1804         * src/WebIndexedDatabaseImpl.cpp:
1805         (WebKit::WebIndexedDatabaseImpl::open):
1806         * src/WebIndexedDatabaseImpl.h:
1807
1808 2010-05-10  yael aharon  <yael.aharon@nokia.com>
1809
1810         Reviewed by Darin Adler.
1811
1812         Support control attribute of HTMLLabelElement
1813         https://bugs.webkit.org/show_bug.cgi?id=38688
1814
1815         Renamed HTMLLabelElement::correspondingControl to HTMLLabelElement::control
1816
1817         * src/WebLabelElement.cpp:
1818         (WebKit::WebLabelElement::correspondingControl):
1819
1820 2010-05-12  MORITA Hajime  <morrita@google.com>
1821
1822         Reviewed by Kent Tamura.
1823         
1824         [Chromium] Support HTML5 <progress> element on Windows.
1825         https://bugs.webkit.org/show_bug.cgi?id=37308
1826
1827         Extended ChromiumBridge to handle progress bar painting,
1828         and added delegations to it.
1829         
1830         No new tests. Test cases should be shared with existing ones for
1831         progress element.  Expectaions will be added after PROGRESS_TAG is
1832         enabled on Chromium tree.
1833
1834         * public/WebThemeEngine.h:
1835         (WebKit::WebThemeEngine::paintProgressBar):
1836         * src/ChromiumBridge.cpp:
1837         (WebCore::ChromiumBridge::paintProgressBar):
1838
1839 2010-05-12  Marcus Bulach  <bulach@chromium.org>
1840
1841         Reviewed by Steve Block.
1842
1843         Attaches the geolocation bridge later on startUpdating().
1844         This prevents a page requesting permission when it has just accessed navigator.geolocation (without calling navigator.geolocation.getCurrentPosition/watchPosition).
1845         Note: when Geolocation::haveSuitableCachedPosition(), WebGeolocationServiceBridgeImpl::startUpdating() is not called,
1846         so we attach the bridge if needed at requestGeolocationPermissionForFrame().
1847         https://bugs.webkit.org/show_bug.cgi?id=38323
1848         http://crbug.com/42789
1849
1850         * src/ChromeClientImpl.cpp:
1851         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
1852         * src/WebGeolocationServiceBridgeImpl.cpp:
1853         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
1854         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
1855
1856 2010-05-12  Tony Chang  <tony@chromium.org>
1857
1858         Reviewed by Kent Tamura.
1859
1860         [chromium] add DRT back to the chromium build
1861         https://bugs.webkit.org/show_bug.cgi?id=38978
1862
1863         * WebKit.gyp:
1864
1865 2010-05-11  Kent Tamura  <tkent@chromium.org>
1866
1867         Reviewed by Dimitri Glazkov.
1868
1869         [DRT/Chromium] Apply recent changes of test_shell to DRT
1870         https://bugs.webkit.org/show_bug.cgi?id=38895
1871
1872         * DEPS: Update Chromium revision to use the recent webkit_support change.
1873         * WebKit.gyp: Add JavaScriptCore/wtf to 'include' section.
1874         * src/WebGraphicsContext3D.cpp:
1875           Remove ENABLE(3D_CANVAS) to provide an empty implementation of
1876           WebGraphicsContext3D::createDefault().
1877
1878 2010-05-11  Avi Drissman  <avi@chromium.org>
1879
1880         Reviewed by Darin Fisher.
1881
1882         [Chromium] Pipe RTL info into WebPopupMenuInfo
1883         https://bugs.webkit.org/show_bug.cgi?id=38749
1884
1885         * public/WebPopupMenuInfo.h:
1886         * src/ChromeClientImpl.cpp:
1887         (WebKit::ChromeClientImpl::getPopupMenuInfo):
1888
1889 2010-05-11  David Holloway  <dhollowa@chromium.org>
1890
1891         Reviewed by Darin Fisher.
1892
1893         [chromium] Add size method to WebInputElement class, providing same data
1894         as HTMLInputElement::size().  During form AutoFill Chromium needs to
1895         access the input element's size attribute in aid of form matching and
1896         filling heuristics.
1897         
1898         https://bugs.webkit.org/show_bug.cgi?id=38825
1899
1900         * public/WebInputElement.h:
1901         * src/WebInputElement.cpp:
1902         (WebKit::WebInputElement::size):
1903
1904 2010-05-11  Nate Chapin  <japhet@chromium.org>
1905
1906         Reviewed by Adam Barth.
1907
1908         Crash fix in WebPageSerializerImpl::serialize().
1909
1910         https://bugs.webkit.org/show_bug.cgi?id=38543
1911
1912         The relevant test is a test_shell_test in src.chromium.org, because neither
1913         DRT nor the Chromium webkit unit tests can currently cover the serializer
1914         functionality.
1915
1916         * src/WebPageSerializerImpl.cpp:
1917         (WebKit::WebPageSerializerImpl::serialize): Check each frame's url before using it,
1918             since they are not guaranteed to be valid (e.g., if the frame was treated as a download).
1919
1920 2010-05-11  Jian Li  <jianli@chromium.org>
1921
1922         Reviewed by Dmitry Titov.
1923
1924         Expose FileReader interface.
1925         https://bugs.webkit.org/show_bug.cgi?id=38609
1926
1927         * features.gypi: turn on building FileReader for Chromium.
1928
1929 2010-05-10  Tony Chang  <tony@chromium.org>
1930
1931         Reviewed by Kent Tamura.
1932
1933         [chromium] don't build DRT in chromium checkouts due to a circular gyp dependency
1934         https://bugs.webkit.org/show_bug.cgi?id=38889
1935
1936         * WebKit.gyp:
1937
1938 2010-05-10  John Abd-El-Malek  <jam@chromium.org>
1939
1940         Reviewed by Darin Fisher.
1941
1942         [chromium] Add WebKitScrollbar interface to allow Chromium code to reuse the scrollbar code
1943         https://bugs.webkit.org/show_bug.cgi?id=38854
1944
1945         * public/WebScrollbar.h: Added.
1946         (WebKit::WebScrollbar::):
1947         (WebKit::WebScrollbar::~WebScrollbar):
1948         * public/WebScrollbarClient.h: Added.
1949         * public/WebThemeEngine.h:
1950         * src/AssertMatchingEnums.cpp:
1951         * src/WebScrollbarImpl.cpp: Added.
1952         (WebKit::WebScrollbar::create):
1953         (WebKit::WebScrollbar::defaultThickness):
1954         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1955         (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
1956         (WebKit::WebScrollbarImpl::setLocation):
1957         (WebKit::WebScrollbarImpl::value):
1958         (WebKit::WebScrollbarImpl::setValue):
1959         (WebKit::WebScrollbarImpl::setDocumentSize):
1960         (WebKit::WebScrollbarImpl::scroll):
1961         (WebKit::WebScrollbarImpl::paint):
1962         (WebKit::WebScrollbarImpl::handleInputEvent):
1963         (WebKit::WebScrollbarImpl::onMouseDown):
1964         (WebKit::WebScrollbarImpl::onMouseUp):
1965         (WebKit::WebScrollbarImpl::onMouseMove):
1966         (WebKit::WebScrollbarImpl::onMouseLeave):
1967         (WebKit::WebScrollbarImpl::onMouseWheel):
1968         (WebKit::WebScrollbarImpl::onKeyDown):
1969         (WebKit::WebScrollbarImpl::valueChanged):
1970         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
1971         (WebKit::WebScrollbarImpl::isActive):
1972         (WebKit::WebScrollbarImpl::scrollbarCornerPresent):
1973         (WebKit::WebScrollbarImpl::getTickmarks):
1974         * src/WebScrollbarImpl.h: Added.
1975         * src/WebViewImpl.cpp:
1976         (WebKit::WebViewImpl::scrollViewWithKeyboard):
1977         (WebKit::WebViewImpl::mapKeyCodeForScroll):
1978         * src/WebViewImpl.h:
1979
1980 2010-05-10  Tony Gentilcore  <tonyg@chromium.org>
1981
1982         Reviewed by Adam Barth.
1983
1984         Provide mechanism to cache metadata for a resource
1985         https://bugs.webkit.org/show_bug.cgi?id=37874
1986
1987         * src/ResourceHandle.cpp:
1988         (WebCore::ResourceHandle::cacheMetadata):
1989
1990 2010-05-10  Hans Wennborg  <hans@chromium.org>
1991
1992         Reviewed by Jeremy Orlow.
1993
1994         [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace()
1995         https://bugs.webkit.org/show_bug.cgi?id=38750
1996
1997         Put a per-origin quota on session storage since it is using memory in
1998         the browser process, and should not be allowed to grow arbitrarily
1999         large. See also http://trac.webkit.org/changeset/58828.
2000
2001         * public/WebStorageNamespace.h:
2002         * public/WebViewClient.h:
2003         (WebKit::WebViewClient::createSessionStorageNamespace):
2004         * src/StorageNamespaceProxy.cpp:
2005         (WebCore::StorageNamespace::sessionStorageNamespace):
2006
2007
2008 2010-05-10  Jeremy Orlow  <jorlow@chromium.org>
2009
2010         Reviewed by Nate Chapin.
2011
2012         Change IndexedDB to use events instead of callbacks
2013         https://bugs.webkit.org/show_bug.cgi?id=38594
2014
2015         Change the glue here to match the changes I made in WebCore.
2016
2017         * WebKit.gyp:
2018         * public/WebIDBCallbacks.h:
2019         * public/WebIndexedDatabase.h:
2020         * src/IDBCallbacksProxy.cpp: Added.
2021         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
2022         (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
2023         (WebCore::IDBCallbacksProxy::onError):
2024         (WebCore::IDBCallbacksProxy::onSuccess):
2025         * src/IDBCallbacksProxy.h:
2026         * src/IndexedDatabaseProxy.cpp:
2027         (WebCore::IndexedDatabaseProxy::open):
2028         * src/IndexedDatabaseProxy.h:
2029         * src/WebIndexedDatabaseImpl.cpp:
2030         (WebKit::WebIndexedDatabaseImpl::open):
2031         * src/WebIndexedDatabaseImpl.h:
2032
2033 2010-05-08  Jens Alfke  <snej@chromium.org>
2034
2035         Reviewed by Darin Fisher.
2036
2037         [chromium] WebFrame::registerPasswordListener shouldn't assert on duplicate listener.
2038         https://bugs.webkit.org/show_bug.cgi?id=38765
2039
2040         * public/WebFrame.h:
2041         (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. Updated comment.
2042         * src/WebFrameImpl.cpp:
2043         (WebKit::WebFrameImpl::registerPasswordListener): Return false instead of asserting.
2044         * src/WebFrameImpl.h:
2045         (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool.
2046
2047 2010-05-08  Michael Nordman  <michaeln@google.com>
2048
2049         Reviewed by Dmitry Titov.
2050
2051         Add an additional parameter to the WebSharedWorker::startWorkerContext method
2052         to indicate which appcache the shared worker script resource was loaded from,
2053         and provide that value when calling out to chrome via this interface.
2054         https://bugs.webkit.org/show_bug.cgi?id=38605
2055
2056         I'm keeping the old method around until patches can land in both repositories
2057         that make the old method obsolete and unneeded. There's a FIXME for that.
2058
2059         Also somewhat related but independent change to propagate the runtime enabled 
2060         flag thru to the page settings instance used by the 'shadow page'.
2061  
2062         * public/WebSharedWorker.h: Add the new param (but keep the old interface around for now too)
2063         (WebKit::WebSharedWorker::startWorkerContext):
2064         * src/SharedWorkerRepository.cpp: Provide the value when calling out to chrome.
2065         (WebCore::SharedWorkerScriptLoader::notifyFinished):
2066         * src/WebSharedWorkerImpl.cpp:
2067         (WebKit::WebSharedWorkerImpl::startWorkerContext):
2068         * src/WebSharedWorkerImpl.h:
2069         * src/WebWorkerBase.cpp: Propagate runtime enabled flag thru to the page settings.
2070         (WebKit::WebWorkerBase::initializeLoader):
2071
2072 2010-05-07  Darin Fisher  <darin@chromium.org>
2073
2074         Fix build bustage.  Update to Chromium code that avoids a bad
2075         dependency from net/ on chrome/.
2076
2077         * DEPS:
2078
2079 2010-05-07  Darin Fisher  <darin@chromium.org>
2080
2081         Fix build bustage.  Update to Chromium code that no longer uses
2082         deprecated methods.
2083
2084         * DEPS:
2085
2086 2010-05-07  Darin Fisher  <darin@chromium.org>
2087
2088         Reviewed by Dimitri Glazkov.
2089
2090         [chromium] clear out more deprecated methods that are no longer used
2091         https://bugs.webkit.org/show_bug.cgi?id=38702
2092
2093         * public/WebFrame.h:
2094         * public/WebNode.h:
2095         * src/WebFrameImpl.cpp:
2096         * src/WebFrameImpl.h:
2097         * src/WebNode.cpp:
2098
2099 2010-05-07  Finnur Thorarinsson  <finnur.webkit@gmail.com>
2100
2101         Reviewed by Dimitri Glazkov.
2102
2103         [chromium]: Fixing Find in page crash on sites.google.com
2104         https://bugs.webkit.org/show_bug.cgi?id=38591
2105         
2106         setMarkerActive should not try to set a collapsed marker as
2107         active. This can happen when you Edit a Sites page after doing
2108         a Find operation and then you press FindNext.
2109         
2110         * src/WebFrameImpl.cpp:
2111         (WebKit::WebFrameImpl::setMarkerActive):
2112
2113 2010-05-06  Kent Tamura  <tkent@chromium.org>
2114
2115         Reviewed by Dimitri Glazkov.
2116
2117         [DRT/Chromium] Add support for resources on Mac
2118         https://bugs.webkit.org/show_bug.cgi?id=38637
2119
2120         * DEPS: Check out tools/data_pack.
2121
2122 2010-05-06  Pavel Feldman  <pfeldman@chromium.org>
2123
2124         Reviewed by Timothy Hatcher.
2125
2126         Chromium Dev Tools: Large toolbar icons flash when dev
2127         tools is opened in docked mode.
2128
2129         https://bugs.webkit.org/show_bug.cgi?id=38631
2130
2131         * src/js/DevTools.js:
2132         (devtools.domContentLoaded):
2133
2134 2010-05-06  Adam Barth  <abarth@webkit.org>
2135
2136         Reviewed by Eric Seidel.
2137
2138         drop support for sessionStorage in sandbox iframes
2139         https://bugs.webkit.org/show_bug.cgi?id=38151
2140
2141         Update client of sessionStorage to handle exceptions.
2142
2143         * src/StorageAreaProxy.cpp:
2144         (WebCore::StorageAreaProxy::storageEvent):
2145
2146 2010-05-05  Darin Fisher  <darin@chromium.org>
2147
2148         Reviewed by Dimitri Glazkov.
2149
2150         [chromium] clear out deprecated methods that are no longer used
2151         https://bugs.webkit.org/show_bug.cgi?id=38610
2152
2153         * public/WebFormElement.h:
2154         * public/WebInputElement.h:
2155         * public/WebKitClient.h:
2156         * public/WebView.h:
2157         * public/WebViewClient.h:
2158         (WebKit::WebViewClient::createPopupMenu):
2159         * src/ChromeClientImpl.cpp:
2160         (WebKit::ChromeClientImpl::popupOpened):
2161         * src/WebFormElement.cpp:
2162         * src/WebInputElement.cpp:
2163         (WebKit::WebInputElement::setSelectionRange):
2164         * src/WebViewImpl.cpp:
2165         (WebKit::WebViewImpl::hideSuggestionsPopup):
2166         * src/WebViewImpl.h:
2167
2168 2010-05-05  Hans Wennborg  <hans@chromium.org>
2169
2170         Reviewed by Jeremy Orlow.
2171
2172         [chromium] Add quota parameter to  WebStorageNamespace::createSessionStorageNamespace
2173         https://bugs.webkit.org/show_bug.cgi?id=38589
2174
2175         * public/WebStorageNamespace.h:
2176         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
2177         * src/WebStorageNamespaceImpl.cpp:
2178         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
2179
2180 2010-05-05  Stuart Morgan  <stuartmorgan@chromium.org>
2181
2182         Reviewed by Darin Fisher.
2183
2184         Update the plugin container's setFocus implementation to pass the new
2185         boolean argument to the next layer.
2186
2187         https://bugs.webkit.org/show_bug.cgi?id=37961
2188
2189         * src/WebPluginContainerImpl.cpp:
2190         (WebKit::WebPluginContainerImpl::setFocus):
2191         * src/WebPluginContainerImpl.h:
2192
2193 2010-05-04  Vangelis Kokkevis  <vangelis@chromium.org>
2194
2195         Reviewed by Darin Fisher.
2196
2197         Provide an API for querying whether a WebWidget is using gpu accelerated compositing.
2198         Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive.
2199         https://bugs.webkit.org/show_bug.cgi?id=38220
2200
2201         * public/WebWidget.h:
2202         * src/WebPopupMenuImpl.h:
2203         (WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive):
2204         * src/WebViewImpl.cpp:
2205         (WebKit::WebViewImpl::WebViewImpl):
2206         (WebKit::WebViewImpl::paint):
2207         (WebKit::WebViewImpl::isAcceleratedCompositingActive):
2208         (WebKit::WebViewImpl::setRootGraphicsLayer):
2209         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2210         (WebKit::WebViewImpl::updateRootLayerContents):
2211         * src/WebViewImpl.h:
2212
2213 2010-04-29  John Gregg  <johnnyg@google.com>
2214
2215         Reviewed by Dmitry Titov.
2216
2217         notifications should have dir and replaceId attributes
2218         https://bugs.webkit.org/show_bug.cgi?id=38336
2219
2220         * public/WebNotification.h:
2221         * src/WebNotification.cpp:
2222         (WebKit::WebNotification::dir):
2223         (WebKit::WebNotification::replaceId):
2224
2225 2010-05-04  Jay Civelli  <jcivelli@chromium.org>
2226
2227         Reviewed by David Levin.
2228
2229         [chromium] Make the select popup not close on right/middle clicks.
2230         https://bugs.webkit.org/show_bug.cgi?id=38473
2231
2232         * src/WebViewImpl.cpp:
2233         (WebKit::WebViewImpl::mouseDown):
2234
2235 2010-05-03  Abhishek Arya  <inferno@chromium.org>
2236
2237         Reviewed by Adam Barth.
2238
2239         Add support for controlling clipboard access from javascript.
2240         Clipboard access from javascript is disabled by default.
2241         https://bugs.webkit.org/show_bug.cgi?id=27751
2242
2243         * public/WebSettings.h:
2244         * src/WebSettingsImpl.cpp:
2245         (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
2246         * src/WebSettingsImpl.h:
2247
2248 2010-05-03  Jens Alfke  <snej@chromium.org>
2249
2250         Reviewed by Darin Fisher.
2251
2252         [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
2253         https://bugs.webkit.org/show_bug.cgi?id=38397
2254
2255         No tests (functionality is exposed only through native WebKit API.)
2256
2257         * public/WebFrameClient.h:
2258         (WebKit::WebFrameClient::willSendSubmitEvent): New empty method
2259         * src/FrameLoaderClientImpl.cpp:
2260         (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Delegate to client
2261         * src/FrameLoaderClientImpl.h:
2262
2263 2010-05-02  Michael Nordman  <michaeln@google.com>
2264
2265         Reviewed by Dmitry Titov.
2266
2267         Define two new ResourceRequestBase TargetTypes for worker and shared worker
2268         main resources. Use the new target types where appropiate. Add logic to marshal
2269         the target type specified by requests initiated on a background worker thread.
2270
2271         https://bugs.webkit.org/show_bug.cgi?id=38295
2272
2273         * src/SharedWorkerRepository.cpp:  use TargetIsSharedWorker
2274         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
2275
2276 2010-05-02  Rafael Weinstein  <rafaelw@chromium.org>
2277
2278         Reviewed by Darin Fisher.
2279
2280         Include WebWindowFeatures in call to WebViewClient::createView.
2281         https://bugs.webkit.org/show_bug.cgi?id=38301
2282
2283         * public/WebViewClient.h:
2284         (WebKit::WebViewClient::createView):
2285         * public/WebWindowFeatures.h:
2286         * src/ChromeClientImpl.cpp:
2287         (WebKit::ChromeClientImpl::createWindow):
2288
2289 2010-05-01  Evan Stade  <estade@chromium.org>
2290
2291         Reviewed by David Levin
2292
2293         [chromium] Skia needs to fade DragImages
2294         https://bugs.webkit.org/show_bug.cgi?id=38008
2295
2296         * tests/DragImageTest.cpp:
2297         (DragImageTest.CreateDragImage): test that the drag image is a deep copy
2298
2299 2010-04-30  Jian Li  <jianli@chromium.org>
2300
2301         Reviewed by Darin Fisher.
2302
2303         [chromium] Add WebFileSystem interface and hook up with all FileSystem methods.
2304         https://bugs.webkit.org/show_bug.cgi?id=38228
2305
2306         * WebKit.gyp:
2307         * public/WebFileSystem.h: Added.
2308         * public/WebKitClient.h:
2309         (WebKit::WebKitClient::fileSystem):
2310         * src/ChromiumBridge.cpp:
2311         (WebCore::ChromiumBridge::fileExists):
2312         (WebCore::ChromiumBridge::deleteFile):
2313         (WebCore::ChromiumBridge::deleteEmptyDirectory):
2314         (WebCore::ChromiumBridge::getFileSize):
2315         (WebCore::ChromiumBridge::getFileModificationTime):
2316         (WebCore::ChromiumBridge::directoryName):
2317         (WebCore::ChromiumBridge::pathByAppendingComponent):
2318         (WebCore::ChromiumBridge::makeAllDirectories):
2319         (WebCore::ChromiumBridge::getAbsolutePath):
2320         (WebCore::ChromiumBridge::isDirectory):
2321         (WebCore::ChromiumBridge::filePathToURL):
2322         (WebCore::ChromiumBridge::openFile):
2323         (WebCore::ChromiumBridge::closeFile):
2324         (WebCore::ChromiumBridge::seekFile):
2325         (WebCore::ChromiumBridge::truncateFile):
2326         (WebCore::ChromiumBridge::readFromFile):
2327         (WebCore::ChromiumBridge::writeToFile):
2328
2329 2010-04-29  Jeremy Orlow  <jorlow@chromium.org>
2330
2331         Reviewed by Darin Fisher.
2332
2333         Change StorageEvent.uri to StorageEvent.url to match the spec
2334         https://bugs.webkit.org/show_bug.cgi?id=38331
2335
2336         Get rid of a stale FIXME and combine 2 lines that needn't be split.
2337
2338         * src/StorageEventDispatcherImpl.cpp:
2339         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
2340
2341 2010-04-29  Anton Muhin  <antonm@chromium.org>
2342
2343         Reviewed by Darin Fisher.
2344
2345         [Chromium] Consider implementing addOriginAccessWhitelistEntry method
2346         http://trac.webkit.org/changeset/57537 introduced a new method
2347         to manage whitelisting of origins.
2348         Expose this method in Chromium's bridge.
2349         https://bugs.webkit.org/show_bug.cgi?id=37578
2350
2351         * public/WebSecurityPolicy.h: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
2352         * src/WebSecurityPolicy.cpp: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
2353
2354 2010-04-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2355
2356         Unreviewed, rolling out r58498.
2357         http://trac.webkit.org/changeset/58498
2358         https://bugs.webkit.org/show_bug.cgi?id=38332
2359
2360         "Broke a bunch of tests on Chromium canaries" (Requested by
2361         dglazkov on #webkit).
2362
2363         * public/WebViewClient.h:
2364         (WebKit::WebViewClient::createView):
2365         * public/WebWindowFeatures.h:
2366         * src/ChromeClientImpl.cpp:
2367         (WebKit::ChromeClientImpl::createWindow):
2368
2369 2010-04-29  Adam Langley  <agl@chromium.org>
2370
2371         Unreviewed, DEPS roll.
2372
2373         WebKit's r58517 needs OTS's r30 which was rolled into Chromium in
2374         r45932.
2375
2376         * DEPS:
2377           Use Chromium r45932.
2378
2379 2010-04-29  Rafael Weinstein  <rafaelw@chromium.org>
2380
2381         Reviewed by Darin Fisher.
2382
2383         Include WindowFeatures in call to WebViewClient::createView.
2384
2385         https://bugs.webkit.org/show_bug.cgi?id=38301
2386
2387         * public/WebViewClient.h:
2388         (WebKit::WebViewClient::createView):
2389         * public/WebWindowFeatures.h:
2390         * src/ChromeClientImpl.cpp:
2391         (WebKit::ChromeClientImpl::createWindow):
2392
2393 2010-04-29  Garret Kelly  <gdk@chromium.org>
2394
2395         Reviewed by Darin Fisher.
2396
2397         Expose the RuntimeFeature for touch events through the
2398         WebRuntimeFeatures mechanism.
2399         https://bugs.webkit.org/show_bug.cgi?id=37486
2400
2401         * public/WebRuntimeFeatures.h:
2402         * src/WebRuntimeFeatures.cpp:
2403         (WebKit::WebRuntimeFeatures::enableTouch):
2404         (WebKit::WebRuntimeFeatures::isTouchEnabled):
2405
2406 2010-04-29  Zhenyao Mo  <zmo@google.com>
2407
2408         Reviewed by Dimitri Glazkov.
2409
2410         Remove the unnecessary texImage2D function with Image as input in GraphicsContext3D
2411         https://bugs.webkit.org/show_bug.cgi?id=38235
2412
2413         * src/GraphicsContext3D.cpp: Remove tex*image implementation with Image input.
2414
2415 2010-04-28  Pavel Feldman  <pfeldman@chromium.org>
2416
2417         Reviewed by Yury Semikhatsky.
2418
2419         Web Inspector: Allow editing script resources when resource tracking is enabled.
2420
2421         http://bugs.webkit.org/show_bug.cgi?id=38269
2422  
2423         * src/js/DebuggerAgent.js:
2424         * src/js/InspectorControllerImpl.js:
2425         (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
2426         (.devtools.InspectorBackendImpl.prototype.editScriptSource):
2427
2428 2010-04-28  Darin Fisher  <darin@chromium.org>
2429
2430         Reviewed by David Levin.
2431
2432         [Chromium] callOnMainThread should equate to MessageLoop::PostTask
2433         https://bugs.webkit.org/show_bug.cgi?id=38276
2434
2435         * public/WebKitClient.h:
2436         (WebKit::WebKitClient::callOnMainThread):
2437         * src/ChromiumThreading.cpp:
2438         (WTF::ChromiumThreading::callOnMainThread):
2439
2440 2010-04-27  John Abd-El-Malek  <jam@chromium.org>
2441
2442         Reviewed by Darin Fisher.
2443
2444         Make WebThemeEngine::paint take a const ref of ExtraParams
2445         https://bugs.webkit.org/show_bug.cgi?id=38242
2446
2447         * public/WebThemeEngine.h:
2448         (WebKit::WebThemeEngine::paint):
2449
2450 2010-04-28  Andrey Kosyakov  <caseq@chromium.org>
2451
2452         Reviewed by Pavel Feldman.
2453
2454         Fixed passing breakpoints to V8. 
2455         https://bugs.webkit.org/show_bug.cgi?id=38266
2456
2457         * src/js/InspectorControllerImpl.js:
2458         (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
2459
2460 2010-04-28  Yury Semikhatsky  <yurys@chromium.org>
2461
2462         Reviewed by Pavel Feldman.
2463
2464         Support pause on exceptions in v8 implementation of ScriptDebugServer.
2465
2466         https://bugs.webkit.org/show_bug.cgi?id=38205        
2467
2468         * src/js/DebuggerScript.js:
2469         (debuggerScriptConstructor.DebuggerScript.getScripts):
2470         (debuggerScriptConstructor.DebuggerScript.pauseOnExceptionsState):
2471         (debuggerScriptConstructor.DebuggerScript.setPauseOnExceptionsState):
2472         (debuggerScriptConstructor.DebuggerScript._v8ToWebkitLineNumber):
2473         (debuggerScriptConstructor):
2474
2475 2010-04-27  Jens Alfke  <snej@chromium.org>
2476
2477         Reviewed by Eric Seidel.
2478
2479         [chromium] Fix bug that prevents autosave of forms without action attribute
2480         https://bugs.webkit.org/show_bug.cgi?id=38014
2481         Change is in the Chromium WebKit API so it can't be tested with a JS-based layout test.
2482         It needs a native unit test, which would go in the Chromium repo, not WebKit.
2483
2484         * src/WebPasswordFormData.cpp:
2485         (WebKit::WebPasswordFormData::WebPasswordFormData): Set correct URL if action is NULL
2486
2487 2010-04-27  Michael Nordman  <michaeln@google.com>
2488
2489         Reviewed by Dmitry Titov.
2490
2491         [Chromium] Add two things to the webkit API to support appcaches in workers.
2492         1) WebURLRequest TargetTypes for worker and shared worker main resources.
2493         2) Factory method on class WebCommonWorkerClient to
2494            createApplicationCacheHost() for the associated worker.
2495
2496         https://bugs.webkit.org/show_bug.cgi?id=38147
2497
2498         * public/WebCommonWorkerClient.h: add the factory method
2499         * public/WebURLRequest.h: add the TargetTypes
2500         * src/WebWorkerBase.cpp: call the embedder's factory when needed
2501         (WebKit::WebWorkerBase::didCreateDataSource)
2502         (WebKit::WebWorkerBase::createApplicationCacheHost)
2503         * src/WebWorkerBase.h: ditto
2504         * src/WebWorkerClientImpl.h: add a stub impl of the factory method 
2505         (WebKit::WebWorkerClientImpl::createApplicationCacheHost):
2506
2507 2010-04-27  Kent Tamura  <tkent@chromium.org>
2508
2509         Reviewed by Shinichiro Hamaji.
2510
2511         [DRT/Chromium] Enable Windows project generation
2512         https://bugs.webkit.org/show_bug.cgi?id=38103
2513
2514         - Avoid platform.system(), which causes a crash with python.exe in
2515           depot_tools. Use sys.platform instead.
2516         - Process DumpRenderTree.gyp on all platforms.
2517
2518         * gyp_webkit:
2519
2520 2010-04-27  Jay Civelli  <jcivelli@chromium.org>
2521
2522         Reviewed by Darin Fisher.
2523
2524         Makes clicking a select element close its associated popup if
2525         it is open.
2526         https://bugs.webkit.org/show_bug.cgi?id=38105
2527
2528         * src/WebViewImpl.cpp:
2529         (WebKit::WebViewImpl::mouseDown):
2530
2531 2010-04-27  Jay Civelli  <jcivelli@chromium.org>
2532
2533         Reviewed by Darin Fisher.
2534
2535         [chromium] Merged the WebView public method to close suggestion popups
2536         into a single method to close all popups (select and suggestions).
2537         That ensures select popups are closed when the browser window is moved
2538         or resized.
2539         https://bugs.webkit.org/show_bug.cgi?id=37837
2540
2541         * public/WebView.h:
2542         * src/WebViewImpl.cpp:
2543         (WebKit::WebViewImpl::hidePopups):
2544         (WebKit::WebViewImpl::hideSuggestionsPopup):
2545         * src/WebViewImpl.h:
2546
2547 2010-04-27  John Abd-El-Malek  <jam@chromium.org>
2548
2549         Reviewed by Darin Adler.
2550
2551         Remove unnecessary header now that Chrome is updated
2552         https://bugs.webkit.org/show_bug.cgi?id=38211
2553
2554         * public/win/WebThemeEngine.h: Removed.
2555
2556 2010-04-27  Jens Alfke  <snej@chromium.org>
2557
2558         Reviewed by Darin Fisher.
2559
2560         [Chromium] Add some notifications and an accessor to WebKit API
2561         https://bugs.webkit.org/show_bug.cgi?id=37625
2562
2563         * public/WebFrameClient.h:
2564         (WebKit::WebFrameClient::didFirstLayout):
2565         (WebKit::WebFrameClient::didFirstVisuallyNonEmptyLayout):
2566         * public/WebNode.h:
2567         * src/FrameLoaderClientImpl.cpp:
2568         (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
2569         (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
2570         * src/WebElement.cpp:
2571         * src/WebNode.cpp:
2572         (WebKit::WebNode::hasNonEmptyBoundingBox):
2573
2574 2010-04-27  Darin Fisher  <darin@chromium.org>
2575
2576         Reviewed by Dimitri Glazkov.
2577
2578         [Chromium] Remove deprecated form of didChangeLocationWithinPage
2579         https://bugs.webkit.org/show_bug.cgi?id=38178
2580
2581         * public/WebFrameClient.h:
2582         * src/FrameLoaderClientImpl.cpp:
2583         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
2584
2585 2010-04-27  Evan Martin  <evan@chromium.org>
2586
2587         Reviewed by David Levin.
2588
2589         [chromium] bold bengali text not rendered properly on Linux
2590         Roll forward Chrome DEPS so we get new Skia API.
2591
2592         * DEPS: update Chrome to r45696.
2593
2594 2010-04-27  Andrey Kosyakov  <caseq@chromium.org>
2595
2596         Reviewed by Pavel Feldman.
2597
2598         Restore breakpoints associated with script's URL once
2599         script is parsed.
2600         https://bugs.webkit.org/show_bug.cgi?id=38132
2601
2602         * src/js/DebuggerAgent.js:
2603         (devtools.DebuggerAgent.prototype.initUI):
2604         (devtools.DebuggerAgent.prototype.addBreakpoint):
2605         (devtools.DebuggerAgent.prototype.addScriptInfo_):
2606         (devtools.DebuggerAgent.prototype.restoreBreakpoints_):
2607         (devtools.BreakpointInfo):
2608         (devtools.BreakpointInfo.prototype.enabled):
2609         (devtools.BreakpointInfo.prototype.condition):
2610
2611 2010-04-27  Pavel Feldman  <pfeldman@chromium.org>
2612
2613         Reviewed by Yury Semikhatsky.
2614
2615         Chrome Dev Tools: Further beautify themes.
2616
2617         https://bugs.webkit.org/show_bug.cgi?id=38187
2618
2619         * src/js/DevTools.js:
2620         (WebInspector.setToolbarColors):
2621         * src/js/devTools.css:
2622         (body.platform-windows #toolbar, body.platform-windows.inactive #toolbar):
2623
2624 2010-04-26  John Abd-El-Malek  <jam@chromium.org>
2625
2626         Reviewed by Darin Fisher.
2627
2628         [chromium] Prepare to making WebThemeEngine cross-platform
2629         https://bugs.webkit.org/show_bug.cgi?id=38077
2630
2631         * WebKit.gyp:
2632         * public/WebThemeEngine.h: Added.
2633         * public/win/WebThemeEngine.h:
2634
2635 2010-04-26  Darin Fisher  <darin@chromium.org>
2636
2637         Reviewed by Adam Barth.
2638
2639         [Chromium] Crash after calling window.print() on a window object that has been closed.
2640         https://bugs.webkit.org/show_bug.cgi?id=38148
2641
2642         It is unfortunately not possible to write a layout test for this as the
2643         crash occurs in an API that is only called by Chrome while showing a
2644         print dialog.
2645
2646         * src/WebViewImpl.cpp:
2647         (WebKit::WebView::willEnterModalLoop):
2648         (WebKit::WebView::didExitModalLoop):
2649
2650 2010-04-25  Sam Weinig  <sam@webkit.org>
2651
2652         Reviewed by Maciej Stachowiak.
2653
2654         Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
2655         Disentangle initializing the main thread from initializing threading
2656
2657         * src/WebKit.cpp:
2658         (WebKit::initialize): Add call to initializeMainThread.
2659         * src/WebViewImpl.cpp:
2660         (WebKit::WebViewImpl::WebViewImpl): Ditto.
2661
2662 2010-04-26  Roman Gershman  <romange@google.com>
2663
2664         Reviewed by Adam Barth.
2665
2666         [Chromium] Font size in suggestions popup menu should be correlated with the font size of its text field.
2667
2668         https://bugs.webkit.org/show_bug.cgi?id=37977
2669
2670         * src/SuggestionsPopupMenuClient.cpp:
2671         (WebKit::SuggestionsPopupMenuClient::initialize):
2672
2673 2010-04-26  Pavel Feldman  <pfeldman@chromium.org>
2674
2675         Reviewed by Yury Semikhatsky.
2676
2677         Chromium Dev Tools: brush up images.
2678
2679         https://bugs.webkit.org/show_bug.cgi?id=38124
2680
2681         * WebKit.gypi:
2682         * src/js/DevTools.js:
2683         (WebInspector.setToolbarColors):
2684         * src/js/Images/segmentChromium.png:
2685         * src/js/Images/segmentChromium2.png: Removed.
2686         * src/js/Images/segmentHoverChromium2.png: Removed.
2687         * src/js/Images/segmentSelectedChromium2.png: Removed.
2688         * src/js/Images/statusbarBackgroundChromium.png:
2689         * src/js/Images/statusbarBackgroundChromium2.png: Removed.
2690         * src/js/Images/statusbarBottomBackgroundChromium.png:
2691         * src/js/Images/statusbarButtonsChromium.png:
2692         * src/js/Images/statusbarMenuButtonChromium.png:
2693         * src/js/Images/statusbarMenuButtonChromium2.png: Removed.
2694         * src/js/devTools.css:
2695         (.section > .header):
2696         (.console-group-messages .section > .header):
2697         (#resources-filter):
2698         (.crumbs .crumb):
2699         (.crumbs .crumb.end):
2700         (.crumbs .crumb.selected):
2701         (.crumbs .crumb.selected:hover):
2702         (.crumbs .crumb.selected.end, .crumbs .crumb.selected.end:hover):
2703         (.crumbs .crumb:hover):
2704         (.crumbs .crumb.dimmed:hover):
2705         (.crumbs .crumb.end:hover):
2706         (body.drawer-visible #main-status-bar):
2707         (.status-bar):
2708         (button.status-bar-item):
2709         (select.status-bar-item:active):
2710         (#drawer):
2711         (select.status-bar-item):
2712
2713 2010-04-23  Zhenyao Mo  <zmo@google.com>
2714
2715         Reviewed by Darin Fisher.
2716
2717         Add isGLES2Compliant to GraphicsContext3D: make the method const.
2718         https://bugs.webkit.org/show_bug.cgi?id=37872
2719
2720         * src/GraphicsContext3D.cpp: Make isGLES2Compliant() const.
2721         (WebCore::GraphicsContext3DInternal::isGLES2Compliant):
2722         (WebCore::GraphicsContext3D::isGLES2Compliant):
2723
2724 2010-04-23  Rafael Weinstein  <rafaelw@grafaelw.sfo.corp.google.com>
2725
2726         Reviewed by Darin Fisher.
2727
2728         This patch adds a WebWindowFeatures binding struct for the
2729         chromium client in anticipation of a follow-on patch which will
2730         pass it to WebViewClient::createWindow.
2731
2732         https://bugs.webkit.org/show_bug.cgi?id=38013
2733
2734         * public/WebViewClient.h:
2735         (WebKit::WebViewClient::createView):
2736         * public/WebWindowFeatures.h: Added.
2737         (WebKit::WebWindowFeatures::WebWindowFeatures):
2738         * src/ChromeClientImpl.cpp:
2739         (WebKit::ChromeClientImpl::createWindow):
2740
2741 2010-04-22  Zhenyao Mo  <zmo@google.com>
2742
2743         Reviewed by Darin Fisher.
2744
2745         Add isGLES2Compliant to GraphicsContext3D
2746         https://bugs.webkit.org/show_bug.cgi?id=37872
2747
2748         * public/WebGraphicsContext3D.h: Add isGLES2Compliant().
2749         * src/GraphicsContext3D.cpp: Ditto.
2750         * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
2751         (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
2752         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
2753
2754 2010-04-22  Dave Moore  <davemoore@chromium.org>
2755
2756         Reviewed by Dimitri Glazkov.
2757
2758         Added notification when the favicons for a page are changed
2759         from a script.
2760         The Document object will notify the frame loader, which will
2761         notify the client. Implementations of FrameLoaderClient will
2762         have to add one method; dispatchDidChangeIcons().
2763
2764         https://bugs.webkit.org/show_bug.cgi?id=33812
2765
2766         * public/WebFrameClient.h:
2767         (WebKit::WebFrameClient::didChangeIcons):
2768         * src/FrameLoaderClientImpl.cpp:
2769         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
2770         * src/FrameLoaderClientImpl.h:
2771
2772 2010-04-22  Zhenyao Mo  <zmo@google.com>
2773
2774         Reviewed by Dimitri Glazkov.
2775
2776         Emulate GL_IMPLEMENTATION_COLOR_READ_FORMAT/TYPE for glGet
2777         https://bugs.webkit.org/show_bug.cgi?id=37281
2778
2779         * src/WebGraphicsContext3DDefaultImpl.cpp:
2780         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate two  enums.
2781
2782 2010-04-22  Adam Barth  <abarth@webkit.org>
2783
2784         Unreviewed, rolling out r58069.
2785         http://trac.webkit.org/changeset/58069
2786         https://bugs.webkit.org/show_bug.cgi?id=27751
2787
2788         Broke compile on Windows.
2789
2790         * public/WebSettings.h:
2791         * src/WebSettingsImpl.cpp:
2792         * src/WebSettingsImpl.h:
2793
2794 2010-04-22  Tony Chang  <tony@chromium.org>
2795
2796         Reviewed by Shinichiro Hamaji.
2797
2798         [chromium] roll chromium deps to pick up some windows build fixes
2799         https://bugs.webkit.org/show_bug.cgi?id=37972
2800
2801         * DEPS:
2802
2803 2010-04-22  Abhishek Arya  <inferno@chromium.org>
2804
2805         Reviewed by Adam Barth.
2806
2807         Add support for controlling clipboard access from javascript.
2808         Clipboard access from javascript is disabled by default.
2809         https://bugs.webkit.org/show_bug.cgi?id=27751
2810
2811         * public/WebSettings.h:
2812         * src/WebSettingsImpl.cpp:
2813         (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
2814         * src/WebSettingsImpl.h:
2815
2816 2010-04-21  Tony Chang  <tony@chromium.org>
2817
2818         Reviewed by Shinichiro Hamaji.
2819
2820         [chromium] gyp_webkit should be executable
2821         https://bugs.webkit.org/show_bug.cgi?id=37971
2822
2823         * gyp_webkit: Added property svn:executable.
2824
2825 2010-04-21  Jay Civelli  <jcivelli@chromium.org>
2826
2827         Reviewed by Darin Fisher.
2828
2829         [Chromium] Don't notify the WebView that a popup was
2830         opened when the popup is handled externally, as the popup
2831         is in that case transparent to the WebView.
2832         The notification was causing an ASSERT on Mac (where
2833         the popup is handled externally) as there would be no
2834         notification that the popup was closed.
2835         https://bugs.webkit.org/show_bug.cgi?id=37825
2836
2837         * src/ChromeClientImpl.cpp:
2838         (WebKit::ChromeClientImpl::popupOpened):
2839
2840 2010-04-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2841
2842         Unreviewed, rolling out r58028.
2843         http://trac.webkit.org/changeset/58028
2844         https://bugs.webkit.org/show_bug.cgi?id=37962
2845
2846         broke the chromium build (Requested by tony^work on #webkit).
2847
2848         * DEPS:
2849
2850 2010-04-21  Evan Martin  <evan@chromium.org>
2851
2852         Unreviewed, just a dependency change.
2853
2854         [chromium] roll skia forward to r538
2855         https://bugs.webkit.org/show_bug.cgi?id=37960
2856
2857         This will cause a bunch of pixel tests to fail due to bulleted
2858         lists rendering slightly differently.  I will grab new baselines
2859         from the bots and check them in in a followup.
2860
2861         * DEPS:
2862
2863 2010-04-21  Evan Stade  <estade@chromium.org>
2864
2865         Reviewed by Darin Fisher.
2866
2867         [chromium] Web page serializer saves tag names in upper case
2868         https://bugs.webkit.org/show_bug.cgi?id=37940
2869
2870         Simply convert all tags to lower case.
2871
2872         This is tested by chrome tests:
2873          - save page browser tests
2874          - encoding ui tests
2875          - web page serializer test shell tests
2876
2877         * src/WebPageSerializer.cpp:
2878         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
2879         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
2880         * src/WebPageSerializerImpl.cpp:
2881         (WebKit::WebPageSerializerImpl::openTagToString):
2882         (WebKit::WebPageSerializerImpl::endTagToString):
2883
2884 2010-04-20  Adam Barth  <abarth@webkit.org>
2885
2886         Reviewed by Eric Seidel.
2887
2888         Factor DocumentWriter out of FrameLoader
2889         https://bugs.webkit.org/show_bug.cgi?id=37175
2890
2891         Update these callsites because the method moved to DocumentWriter.
2892
2893         * src/ContextMenuClientImpl.cpp:
2894         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2895         * src/FrameLoaderClientImpl.cpp:
2896         (WebKit::FrameLoaderClientImpl::finishedLoading):
2897         * src/WebFrameImpl.cpp:
2898         (WebKit::WebFrameImpl::encoding):
2899         (WebKit::WebFrameImpl::commitDocumentData):
2900         * src/WebPageSerializerImpl.cpp:
2901         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
2902         (WebKit::WebPageSerializerImpl::serialize):
2903         * src/WebSearchableFormData.cpp:
2904         (WebCore::GetFormEncoding):
2905         * src/WebViewImpl.cpp:
2906         (WebKit::WebViewImpl::pageEncoding):
2907
2908 2010-04-20  Pavel Feldman  <pfeldman@chromium.org>
2909
2910         Reviewed by Timothy Hatcher.
2911
2912         Web Inspector: add basic script editing capabilities to the front-end.
2913
2914         https://bugs.webkit.org/show_bug.cgi?id=37875
2915
2916         * src/js/DebuggerAgent.js:
2917         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
2918         (devtools.DebuggerAgent.prototype.resolveScriptSource):
2919         (devtools.DebuggerAgent.prototype.editScriptLine.this.requestSeqToCallback_.cmd.getSequenceNumber):
2920         (devtools.DebuggerAgent.prototype.editScriptLine):
2921         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
2922         * src/js/DevTools.js:
2923         * src/js/InspectorControllerImpl.js:
2924         (.devtools.InspectorBackendImpl.prototype.editScriptLine):
2925
2926 2010-04-20  Kent Tamura  <tkent@chromium.org>
2927
2928         Reviewed by Darin Adler.
2929
2930         Change a parameter type of chooseIconForFiles()
2931         https://bugs.webkit.org/show_bug.cgi?id=37504
2932
2933         * src/ChromeClientImpl.cpp:
2934         (WebKit::ChromeClientImpl::chooseIconForFiles):
2935         * src/ChromeClientImpl.h:
2936
2937 2010-04-20  Jay Civelli  <jcivelli@chromium.org>
2938
2939         Reviewed by Dimitri Glazkov.
2940
2941         [chromium] Tests that pressing tab now closes the select popup.
2942         https://bugs.webkit.org/show_bug.cgi?id=37721
2943
2944         * tests/PopupMenuTest.cpp:
2945         (WebKit::TEST_F):
2946
2947 2010-04-20  Evan Stade  <estade@chromium.org>
2948
2949         Reviewed by David Levin.
2950
2951         [chromium] crash when dragging images
2952         https://bugs.webkit.org/show_bug.cgi?id=37715
2953
2954         Added unit tests for DragImageChromiumSkia.
2955
2956         * WebKit.gyp:
2957         * tests/DragImageTest.cpp: Added.
2958         (WebCore::TestImage::TestImage):
2959         (WebCore::TestImage::~TestImage):
2960         (WebCore::TestImage::size):
2961         (WebCore::TestImage::nativeImageForCurrentFrame):
2962         (WebCore::TestImage::destroyDecodedData):
2963         (WebCore::TestImage::decodedSize):
2964         (WebCore::TestImage::draw):
2965         (WebCore::TEST):
2966
2967 2010-04-20  Stuart Morgan  <stuartmorgan@chromium.org>
2968
2969         Reviewed by David Levin.
2970
2971         Remove a workaround in plugin cursor setting that was obsoleted by
2972         the change in https://bugs.webkit.org/show_bug.cgi?id=35132
2973         https://bugs.webkit.org/show_bug.cgi?id=37811
2974
2975         * src/ChromeClientImpl.cpp:
2976         (WebKit::ChromeClientImpl::ChromeClientImpl):
2977         (WebKit::ChromeClientImpl::setCursor):
2978         (WebKit::ChromeClientImpl::setCursorForPlugin):
2979         * src/ChromeClientImpl.h:
2980
2981 2010-04-19  Ada Chan  <adachan@apple.com>
2982
2983         Reviewed by Jeremy Orlow.
2984
2985         https://bugs.webkit.org/show_bug.cgi?id=37717
2986         Changes needed now that StorageNamespaceImpl::sessionStorageNamespace() and
2987         StorageNamespace::sessionStorageNamespace() take in a quota parameter.
2988
2989         * src/StorageNamespaceProxy.cpp:
2990         (WebCore::StorageNamespace::sessionStorageNamespace):
2991         * src/WebStorageNamespaceImpl.cpp:
2992         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
2993
2994 2010-04-17  Vangelis Kokkevis  <vangelis@chromium.org>
2995
2996         Reviewed by Dimitri Glazkov.
2997
2998         Adding the implementation of GLES2Context class which provides WebCore access to a GL ES context.
2999         https://bugs.webkit.org/show_bug.cgi?id=37541
3000
3001         * WebKit.gyp:
3002         * public/WebGLES2Context.h: Added.
3003         (WebKit::WebGLES2Context::~WebGLES2Context):
3004         * src/GLES2Context.cpp: Added.
3005         (WebCore::GLES2ContextInternal::GLES2ContextInternal):
3006         (WebCore::GLES2ContextInternal::~GLES2ContextInternal):
3007         (WebCore::GLES2ContextInternal::getWebGLES2Context):
3008         (WebCore::GLES2ContextInternal::initialize):
3009         (WebCore::GLES2Context::create):
3010         (WebCore::GLES2Context::~GLES2Context):
3011         (WebCore::GLES2Context::initialize):
3012         (WebCore::GLES2Context::makeCurrent):
3013         (WebCore::GLES2Context::destroy):
3014         (WebCore::GLES2Context::swapBuffers):
3015
3016 2010-04-16  Dumitru Daniliuc  <dumi@chromium.org>
3017
3018         Reviewed by Eric Seidel.
3019
3020         Get rid of the UNUSED_PARAM macro in GraphicsContext3D.cpp.
3021         https://bugs.webkit.org/show_bug.cgi?id=37733
3022
3023         * src/GraphicsContext3D.cpp:
3024         (WebCore::GraphicsContext3D::GraphicsContext3D):
3025
3026 2010-04-16  Dumitru Daniliuc  <dumi@chromium.org>
3027
3028         Reviewed by Jeremy Orlow.
3029
3030         Changing the return type of WebSecurityOrigin::createFromDatabaseIdentifier().
3031         https://bugs.webkit.org/show_bug.cgi?id=34466
3032
3033         Changing the return type of
3034         WebSecurityOrigin::createFromDatabaseIdentifier() from
3035         WebSecurityOrigin* to WebSecurityOrigin, to make it more
3036         consistent with the other WebSecurityOrigin methods.
3037
3038         * public/WebSecurityOrigin.h:
3039         * src/WebDatabase.cpp:
3040         (WebKit::WebDatabase::closeDatabaseImmediately):
3041         * src/WebSecurityOrigin.cpp:
3042         (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
3043
3044 2010-04-16  Dmitry Titov  <dimich@chromium.org>
3045
3046         Reviewed by Yury Semikhatsky.
3047
3048         [v8] In Workers, script errors right after close() are not delivered to the Worker.onerror
3049         https://bugs.webkit.org/show_bug.cgi?id=37691
3050
3051         * src/WebWorkerClientImpl.cpp:
3052         (WebKit::WebWorkerClientImpl::createWorkerContextProxy): Don't need to pull V8 proxy to retrieve current WorkerContext.
3053
3054 2010-04-16  Albert J. Wong  <ajwong@chromium.org>
3055
3056         Not reviewed. Build fix.
3057
3058         [chromium] Compile fix. Missing include header, and missing type conversion.
3059
3060         * src/GraphicsContext3D.cpp:
3061         (WebCore::GraphicsContext3DInternal::beginPaint):
3062
3063 2010-04-16  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
3064  
3065         Reviewed by Simon Hausmann.
3066  
3067         [Qt] WebGL is not visible when QGLWidget viewport is used
3068         https://bugs.webkit.org/show_bug.cgi?id=37070
3069  
3070         Added HostWindow parameter to the constructor of GraphicsContext3D.
3071         Shared OpenGL context is initialized with parent QGLWidget.
3072  
3073         * src/GraphicsContext3D.cpp:
3074         (WebCore::GraphicsContext3D::GraphicsContext3D):
3075
3076 2010-04-16  Fumitoshi Ukai  <ukai@chromium.org>
3077
3078         Reviewed by Jian Li.
3079
3080         [chromium] WebKit::WebURLResponse::addHTTPHeaderField will crash if response is invalid UTF-8
3081         https://bugs.webkit.org/show_bug.cgi?id=37687
3082
3083         * src/WebURLResponse.cpp:
3084         (WebKit::WebURLResponse::addHTTPHeaderField): ignore if name or value is null string.
3085
3086 2010-04-16  Jay Civelli  <jcivelli@chromium.org>
3087
3088         Reviewed by Dimitri Glazkov.
3089
3090         [chromium] Select popups would assert when destroyed.
3091         Also adding unit-tests for the select popup code.
3092         https://bugs.webkit.org/show_bug.cgi?id=37436
3093
3094         * WebKit.gyp:
3095         * src/WebViewImpl.h:
3096         (WebKit::WebViewImpl::selectPopup):
3097         * tests/PopupMenuTest.cpp: Added.
3098
3099 2010-04-16  Tony Chang  <tony@chromium.org>
3100
3101         Reviewed by Dimitri Glazkov.
3102
3103         [chromium] build DRT on Linux
3104         https://bugs.webkit.org/show_bug.cgi?id=37690
3105
3106         * DEPS: Need to roll deps to remove a dependency on src/chrome
3107         * gyp_webkit: generate makefiles for DRT.gyp on Linux
3108
3109 2010-04-15  Tony Chang  <tony@chromium.org>
3110
3111         Reviewed by Dimitri Glazkov.
3112
3113         build DRT on chromium mac
3114         https://bugs.webkit.org/show_bug.cgi?id=37639
3115
3116         * gyp_webkit: generate build files for DRT on mac
3117
3118 2010-04-15  Yury Semikhatsky  <yurys@google.com>
3119
3120         Reviewed by Pavel Feldman.
3121
3122         Support basic debugging capabilities including step in/over/out in v8
3123         implementation of ScriptDebugServer.
3124
3125         https://bugs.webkit.org/show_bug.cgi?id=37604
3126
3127         * WebKit.gypi:
3128         * src/DebuggerAgent.h:
3129         * src/DebuggerAgentImpl.cpp:
3130         (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
3131         * src/DebuggerAgentImpl.h:
3132         * src/DebuggerAgentManager.cpp:
3133         (WebKit::DebuggerAgentManager::hostDispatchHandler):
3134         (WebKit::DebuggerAgentManager::debugAttach):
3135         (WebKit::DebuggerAgentManager::debugDetach):
3136         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
3137         * src/DebuggerAgentManager.h:
3138         * src/InspectorFrontendClientImpl.cpp:
3139         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
3140         * src/js/DebuggerScript.js: Added.
3141         (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
3142         (debuggerScriptConstructor.DebuggerScript.getScripts):
3143         (debuggerScriptConstructor.DebuggerScript._formatScript):
3144         (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
3145         (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
3146         (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
3147         (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
3148         (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
3149         (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
3150         (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
3151         (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
3152         (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
3153         (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
3154         (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
3155         (debuggerScriptConstructor):
3156         * src/js/DevTools.js:
3157         (WebInspector.loaded):
3158         (.):
3159         ():
3160         * src/js/DevToolsHostStub.js:
3161         (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
3162         * src/js/InspectorControllerImpl.js:
3163         (devtools.InspectorBackendImpl):
3164
3165 2010-04-15  Matt Perry  <mpcomplete@chromium.org>
3166
3167         Reviewed by Dimitri Glazkov.
3168
3169         Implement layoutTestController's addUserStyleSheet and
3170         setAuthorAndUserStylesEnabled on Chromium port.
3171         https://bugs.webkit.org/show_bug.cgi?id=37595
3172
3173         * public/WebSettings.h:
3174         * public/WebView.h:
3175         * src/WebSettingsImpl.cpp:
3176         (WebKit::WebSettingsImpl::setAuthorAndUserStylesEnabled):
3177         * src/WebSettingsImpl.h:
3178         * src/WebViewImpl.cpp:
3179         (WebKit::WebViewImpl::addUserStyleSheet):
3180         * src/WebViewImpl.h:
3181
3182 2010-04-15  Zhenyao Mo  <zmo@google.com>
3183
3184         Reviewed by Dimitri Glazkov.
3185
3186         Must enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization
3187         https://bugs.webkit.org/show_bug.cgi?id=37178
3188
3189         * src/WebGraphicsContext3DDefaultImpl.cpp: Enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization.
3190         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
3191
3192 2010-04-15  Albert J. Wong  <ajwong@chromium.org>
3193
3194         Unreviewed, rolling out r57660.
3195         http://trac.webkit.org/changeset/57660
3196         https://bugs.webkit.org/show_bug.cgi?id=37604
3197
3198         Broke a large number of inspector layout tests in chromium.
3199
3200         * WebKit.gypi:
3201         * src/DebuggerAgent.h:
3202         * src/DebuggerAgentImpl.cpp:
3203         * src/DebuggerAgentImpl.h:
3204         * src/DebuggerAgentManager.cpp:
3205         (WebKit::DebuggerAgentManager::debugAttach):
3206         (WebKit::DebuggerAgentManager::debugDetach):
3207         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
3208         * src/DebuggerAgentManager.h:
3209         * src/InspectorFrontendClientImpl.cpp:
3210         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
3211         * src/js/DebuggerScript.js: Removed.
3212         * src/js/DevTools.js:
3213         (WebInspector.loaded):
3214         (WebInspector.UnresolvedPropertyValue):
3215         ():
3216         * src/js/DevToolsHostStub.js:
3217         * src/js/InspectorControllerImpl.js:
3218         (devtools.InspectorBackendImpl):
3219
3220 2010-04-15  Yury Semikhatsky  <yurys@google.com>
3221
3222         Reviewed by Pavel Feldman.
3223
3224         Support basic debugging capabilities including step in/over/out in v8
3225         implementation of ScriptDebugServer.
3226
3227         https://bugs.webkit.org/show_bug.cgi?id=37604
3228
3229         * WebKit.gypi:
3230         * src/DebuggerAgent.h:
3231         * src/DebuggerAgentImpl.cpp:
3232         (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
3233         * src/DebuggerAgentImpl.h:
3234         * src/DebuggerAgentManager.cpp:
3235         (WebKit::DebuggerAgentManager::hostDispatchHandler):
3236         (WebKit::DebuggerAgentManager::debugAttach):
3237         (WebKit::DebuggerAgentManager::debugDetach):
3238         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
3239         * src/DebuggerAgentManager.h:
3240         * src/InspectorFrontendClientImpl.cpp:
3241         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
3242         * src/js/DebuggerScript.js: Added.
3243         (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
3244         (debuggerScriptConstructor.DebuggerScript.getScripts):
3245         (debuggerScriptConstructor.DebuggerScript._formatScript):
3246         (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
3247         (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
3248         (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
3249         (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
3250         (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
3251         (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
3252         (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
3253         (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
3254         (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
3255         (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
3256         (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
3257         (debuggerScriptConstructor):
3258         * src/js/DevTools.js:
3259         (WebInspector.loaded):
3260         (.):
3261         ():
3262         * src/js/DevToolsHostStub.js:
3263         (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
3264         * src/js/InspectorControllerImpl.js:
3265         (devtools.InspectorBackendImpl):
3266
3267 2010-04-15  Ben Murdoch  <benm@google.com>
3268
3269         Unreviewed, rolling out r57652.
3270         http://trac.webkit.org/changeset/57652
3271         https://bugs.webkit.org/show_bug.cgi?id=37609
3272
3273         Caused a build break on Chromium Mac and Layout Test fail on
3274         Qt
3275
3276         * src/WebInputEventConversion.cpp:
3277         (WebKit::toPlatformTouchPointState):
3278
3279 2010-04-14  Ben Murdoch  <benm@google.com>
3280
3281         Reviewed by Kenneth Rohde Christiansen.
3282
3283         The TouchStationary state of WebCore::PlatformTouchPoint is not
3284         handled inside the touch event handler.
3285         https://bugs.webkit.org/show_bug.cgi?id=37609
3286
3287         After discussions at the WebKit contributors meeting, we decided that
3288         this is a currently unused state without a good future use case in the
3289         Touch API and thus decided to remove it. This patch actions that decision.
3290
3291         * src/WebInputEventConversion.cpp:
3292         (WebKit::toPlatformTouchPointState): Remove TouchStationary.
3293
3294 2010-04-12  Tony Chang  <tony@chromium.org>
3295
3296         Reviewed by Darin Fisher.
3297
3298         [chromium] update chromium DEPS for upstream compile
3299         https://bugs.webkit.org/show_bug.cgi?id=36578
3300
3301         * DEPS: Pull sub deps from chromium's DEPS file
3302
3303 2010-04-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3304
3305         Unreviewed, rolling out r57599.
3306         http://trac.webkit.org/changeset/57599
3307         https://bugs.webkit.org/show_bug.cgi?id=37605
3308
3309         "Broke Chromium build" (Requested by dglazkov on #webkit).
3310
3311         * WebKit.gyp:
3312         * src/WebViewImpl.h:
3313         * tests/PopupMenuTest.cpp: Removed.
3314
3315 2010-04-14  Aaron Boodman  <aa@chromium.org>
3316
3317         Reviewed by David Levin.
3318
3319         Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting
3320         the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are
3321         unsupported. Fixed by resolving the relative URL first.
3322
3323         https://bugs.webkit.org/show_bug.cgi?id=36623
3324
3325         Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows.
3326
3327         * public/WebNotification.h: Remove deprecated icon() method.
3328         * src/WebNotification.cpp: Ditto.
3329
3330 2010-04-14  Jay Civelli  <jcivelli@chromium.org>
3331
3332         Reviewed by Dimitri Glazkov.
3333
3334         [chromium] Select popups would assert when destroyed.
3335         Also adding unit-tests for the select popup code.
3336         https://bugs.webkit.org/show_bug.cgi?id=37436
3337
3338         * WebKit.gyp:
3339         * src/WebViewImpl.h:
3340         (WebKit::WebViewImpl::selectPopup):
3341         * tests/PopupMenuTest.cpp: Added.
3342
3343 2010-04-14  Zhenyao Mo  <zmo@google.com>
3344
3345         Reviewed by Dimitri Glazkov.
3346
3347         readPixels must take PACK_ALIGNMENT into account
3348         https://bugs.webkit.org/show_bug.cgi?id=34718
3349
3350         * src/GraphicsContext3D.cpp: Refactor readPixels.
3351         * src/WebGraphicsContext3DDefaultImpl.cpp:
3352         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): Temporarily disable pack alignment for glReadPixels.
3353         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Move array allocation and alpha fix to WebGLRenderingContext; flush before read pixels.
3354
3355 2010-04-14  Mikhail Naganov  <mnaganov@chromium.org>
3356
3357         Reviewed by Pavel Feldman.
3358
3359         Re-write testProfilerTab to match the new implementation.
3360
3361         https://bugs.webkit.org/show_bug.cgi?id=37516
3362
3363         * src/js/Tests.js:
3364         (.TestSuite.prototype.testProfilerTab.findDisplayedNode):
3365         (.TestSuite.prototype.testProfilerTab.findVisibleView):
3366         (.TestSuite.prototype.testProfilerTab):
3367
3368 2010-04-13  Timothy Hatcher  <timothy@apple.com>
3369
3370         Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
3371         And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
3372
3373         SecurityOrigin needs a way to remove individual OriginAccessEntries
3374         https://bugs.webkit.org/show_bug.cgi?id=37449
3375
3376         Reviewed by Dave Hyatt.
3377
3378         * src/WebSecurityPolicy.cpp:
3379         (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
3380         (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
3381
3382 2010-04-13  Mikhail Naganov  <mnaganov@chromium.org>
3383
3384         Reviewed by Pavel Feldman.
3385
3386         Fix search behavior in Heap profiles.
3387
3388         https://bugs.webkit.org/show_bug.cgi?id=37498
3389
3390         * src/js/HeapProfilerPanel.js:
3391
3392 2010-04-13  Jeremy Moskovich  <jeremy@chromium.org>
3393
3394         Reviewed by David Levin.
3395
3396         Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
3397
3398         https://bugs.webkit.org/show_bug.cgi?id=36426
3399
3400         * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
3401         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
3402         (WebCore::ResourceHandleInternal::):
3403         (WebCore::ResourceHandleInternal::start):
3404         (WebCore::ResourceHandleInternal::cancel):
3405         (WebCore::ResourceHandleInternal::didReceiveResponse):
3406         (WebCore::ResourceHandleInternal::didReceiveData):
3407         (WebCore::ResourceHandleInternal::didFinishLoading):
3408         (WebCore::ResourceHandleInternal::didFail):
3409
3410 2010-04-13  Mikhail Naganov  <mnaganov@chromium.org>
3411
3412         Unreviewed Chromium build fix: pin to a newer V8 revision (4386).
3413
3414         * DEPS:
3415
3416 2010-04-12  Mikhail Naganov  <mnaganov@chromium.org>
3417
3418         Reviewed by Yury Semikhatsky.
3419
3420         Replace hand-written JavaScriptProfile* bindings with idl-based, and
3421         in Chromium port, bind them to the new V8's profiler API that is
3422         aligned with JSC.
3423
3424         https://bugs.webkit.org/show_bug.cgi?id=37448
3425
3426         * src/js/InspectorControllerImpl.js:
3427         (devtools.InspectorBackendImpl):
3428         * src/js/ProfilerAgent.js:
3429         (devtools.ProfilerAgent):
3430         (devtools.ProfilerAgent.prototype.initializeProfiling):
3431         (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
3432         (devtools.ProfilerAgent.prototype._didGetLogLines):
3433         * src/js/Tests.js:
3434
3435 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
3436
3437         Unreviewed, rolling out r57468.
3438         http://trac.webkit.org/changeset/57468
3439         https://bugs.webkit.org/show_bug.cgi?id=37433
3440
3441         Broke the world...  Must have applied the patch wrong
3442         (Requested by abarth on #webkit).
3443
3444         * src/ContextMenuClientImpl.cpp:
3445         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3446         * src/FrameLoaderClientImpl.cpp:
3447         (WebKit::FrameLoaderClientImpl::finishedLoading):
3448         * src/WebFrameImpl.cpp:
3449         (WebKit::WebFrameImpl::encoding):
3450         (WebKit::WebFrameImpl::commitDocumentData):
3451         * src/WebPageSerializerImpl.cpp:
3452         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3453         (WebKit::WebPageSerializerImpl::serialize):
3454         * src/WebSearchableFormData.cpp:
3455         (WebCore::GetFormEncoding):
3456         * src/WebViewImpl.cpp:
3457         (WebKit::WebViewImpl::pageEncoding):
3458
3459 2010-04-11  Adam Barth  <abarth@webkit.org>
3460
3461         Reviewed by Eric Seidel.
3462
3463         Factor DocumentWriter out of FrameLoader
3464         https://bugs.webkit.org/show_bug.cgi?id=37175
3465
3466         Update these callsites because the method moved to DocumentWriter.
3467
3468         * src/ContextMenuClientImpl.cpp:
3469         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3470         * src/FrameLoaderClientImpl.cpp:
3471         (WebKit::FrameLoaderClientImpl::finishedLoading):
3472         * src/WebFrameImpl.cpp:
3473         (WebKit::WebFrameImpl::encoding):
3474         (WebKit::WebFrameImpl::commitDocumentData):
3475         * src/WebPageSerializerImpl.cpp:
3476         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3477         (WebKit::WebPageSerializerImpl::serialize):
3478         * src/WebSearchableFormData.cpp:
3479         (WebCore::GetFormEncoding):
3480         * src/WebViewImpl.cpp:
3481         (WebKit::WebViewImpl::pageEncoding):
3482
3483 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
3484
3485         Unreviewed, rolling out r57460.
3486         http://trac.webkit.org/changeset/57460
3487         https://bugs.webkit.org/show_bug.cgi?id=37424
3488
3489         broke chromium builders (Requested by tony^work on #webkit).
3490
3491         * DEPS:
3492         * gyp_webkit:
3493
3494 2010-04-11  Tony Chang  <tony@chromium.org>
3495
3496         Reviewed by Darin Fisher.
3497
3498         [chromium] update chromium DEPS for upstream compile
3499         https://bugs.webkit.org/show_bug.cgi?id=36578
3500
3501         * DEPS:
3502         * gyp_webkit: Add DumpRenderTree.gyp so we generate xcode projects for DRT.
3503
3504 2010-04-10  Vangelis Kokkevis  <vangelis@chromium.org>
3505
3506         Reviewed by Dimitri Glazkov.
3507
3508         Include file change as a result of renaming LayerRenderSkia.h to LayerRenderChromium.h
3509         https://bugs.webkit.org/show_bug.cgi?id=37231
3510
3511         * src/WebViewImpl.h:
3512
3513 2010-04-10  Rafael Weinstein  <rafaelw@chromium.org>
3514
3515         Reviewed by Eric Seidel.
3516
3517         Cleanup after chromium breakage. All interface methods are
3518         returned to being abstract.
3519
3520         * public/WebNotificationPresenter.h:
3521
3522 2010-04-09  Evan Stade  <estade@chromium.org>
3523
3524         Reviewed by Eric Seidel.
3525
3526         [chromium] Linux: respect the scale factor during printing
3527         https://bugs.webkit.org/show_bug.cgi?id=37168
3528
3529         Chromium doesn't support testing .pdfs from printing at the moment, so
3530         this change is not covered by any tests.
3531
3532         * src/WebFrameImpl.cpp:
3533         (WebKit::ChromePrintContext::spoolPage):
3534
3535 2010-04-09  Aaron Boodman  <aa@chromium.org>
3536
3537         Reviewed by Eric Seidel.
3538
3539         Remove applicationID() from WebDocument as it is Chromium-specific.
3540         https://bugs.webkit.org/show_bug.cgi?id=37350
3541
3542         * public/WebDocument.h:
3543         * src/WebDocument.cpp:
3544
3545 2010-04-09  Jeremy Orlow  <jorlow@chromium.org>
3546
3547         Reviewed by Darin Adler.
3548
3549         Move the IDB::open ExceptionCode paramter to be last
3550         https://bugs.webkit.org/show_bug.cgi?id=37277
3551
3552         Move the ExceptionCode paramter to the last position in 
3553         IndexedDatabaseRequest::open and friends.  It should definitely
3554         go after the callbacks to keep the parameters that come directly
3555         from javascript together.  And having output parameters appear
3556         last is done often in the code base, so it makes sense to push
3557         it past the Frame* param as well.
3558
3559         * public/WebIndexedDatabase.h:
3560         * src/IndexedDatabaseProxy.cpp:
3561         (WebCore::IndexedDatabaseProxy::open):
3562         * src/IndexedDatabaseProxy.h:
3563         * src/WebIndexedDatabaseImpl.cpp:
3564         (WebKit::WebIndexedDatabaseImpl::open):
3565         * src/WebIndexedDatabaseImpl.h:
3566
3567 2010-04-09  Jochen Eisinger  <jochen@chromium.org>
3568
3569         Reviewed by Darin Fisher.
3570
3571         Complete move of createApplicationCacheHost from WebKitClient to WebFrameClient.
3572         https://bugs.webkit.org/show_bug.cgi?id=37330
3573
3574         * public/WebApplicationCacheHost.h:
3575         * public/WebKitClient.h:
3576         * src/ApplicationCacheHostInternal.h:
3577         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
3578
3579 2010-04-09  Marcus Bulach  <bulach@chromium.org>
3580
3581         Reviewed by Jeremy Orlow.
3582
3583         Crash on WebKit::WebGeolocationServiceBridgeImpl::stopUpdating() during frame disconnection
3584         Should not try to access WebViewClient if the frame has already been disconnected.
3585         https://bugs.webkit.org/show_bug.cgi?id=37318
3586
3587         * src/WebGeolocationServiceBridgeImpl.cpp:
3588         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
3589
3590 2010-04-09  Jochen Eisinger  <jochen@chromium.org>
3591
3592         Reviewed by Adam Barth.
3593
3594         Expose SecurityOrigin::canRequest in WebSecurityOrigin.
3595         https://bugs.webkit.org/show_bug.cgi?id=37271
3596
3597         * public/WebSecurityOrigin.h:
3598         * src/WebSecurityOrigin.cpp:
3599         (WebKit::WebSecurityOrigin::canRequest):
3600
3601 2010-04-09  Zhenyao Mo  <zmo@google.com>
3602
3603         Reviewed by Dimitri Glazkov.
3604
3605         Must resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D
3606         https://bugs.webkit.org/show_bug.cgi?id=37174
3607
3608         Test: fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html
3609
3610         * src/WebGraphicsContext3DDefaultImpl.cpp: Resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D.
3611         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
3612         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
3613
3614 2010-04-07  Pavel Feldman  <pfeldman@chromium.org>
3615
3616         Reviewed by Yury Semikhatsky.
3617
3618         Chromium: support themes in devtools window.
3619
3620         https://bugs.webkit.org/attachment.cgi?bugid=37216
3621
3622         * WebKit.gypi:
3623         * src/js/DevTools.js:
3624         (WebInspector.setToolbarColors):
3625         (WebInspector.resetToolbarColors):
3626         * src/js/Images/segmentChromium2.png: Added.
3627         * src/js/Images/segmentHoverChromium2.png: Added.
3628         * src/js/Images/segmentSelectedChro