e2aaac8073b5bf9936618d725c9b7d134904f27f
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-09-17  Darin Adler  <darin@apple.com>
2
3         Reviewed by Sam Weinig.
4
5         REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
6         https://bugs.webkit.org/show_bug.cgi?id=42863
7
8         * src/FrameLoaderClientImpl.cpp:
9         (WebKit::FrameLoaderClientImpl::createPlugin):
10         * src/WebViewImpl.cpp:
11         (WebKit::WebViewImpl::setZoomLevel):
12         Call functions on Frame instead of FrameView.
13
14 2010-09-17  Kenneth Russell  <kbr@google.com>
15
16         Reviewed by James Robinson.
17
18         [chromium] Roll forward Chromium DEPS to pick up Mesa DRT changes
19         https://bugs.webkit.org/show_bug.cgi?id=46006
20
21         * DEPS:
22
23 2010-09-17  Kenneth Russell  <kbr@google.com>
24
25         Reviewed by Dimitri Glazkov.
26
27         [chromium] Add mesa as DumpRenderTree dependency
28         https://bugs.webkit.org/show_bug.cgi?id=46001
29
30         * WebKit.gyp:
31
32 2010-09-13  Matt Perry  <mpcomplete@chromium.org>
33
34         Reviewed by Darin Fisher.
35
36         Have V8DOMWindowShell ask the embedder whether to run a V8 extension
37         in a particular script context.
38         https://bugs.webkit.org/show_bug.cgi?id=45721
39
40         * public/WebFrameClient.h:
41         (WebKit::WebFrameClient::allowScriptExtension):
42         * public/WebScriptController.h:
43         * src/FrameLoaderClientImpl.cpp:
44         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
45         * src/FrameLoaderClientImpl.h:
46         * src/WebScriptController.cpp:
47         (WebKit::WebScriptController::registerExtension):
48
49 2010-09-17  Eric Uhrhane  <ericu@chromium.org>
50
51         Reviewed by David Levin.
52
53         Remove unimplemented destructor declaration to fix Chromium build.
54         https://bugs.webkit.org/show_bug.cgi?id=45987
55
56         * src/AsyncFileWriterChromium.h:
57
58 2010-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
59
60         Unreviewed, rolling out r67693.
61         http://trac.webkit.org/changeset/67693
62         https://bugs.webkit.org/show_bug.cgi?id=45946
63
64         "Need to pick up a chromium change first" (Requested by dumi
65         on #webkit).
66
67         * public/WebHTTPBody.h:
68         * src/WebHTTPBody.cpp:
69         (WebKit::WebHTTPBody::elementAt):
70         (WebKit::WebHTTPBody::appendFileRange):
71
72 2010-09-15  Dumitru Daniliuc  <dumi@chromium.org>
73
74         Reviewed by Darin Fisher.
75
76         Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&).
77
78         * public/WebHTTPBody.h:
79         * src/WebHTTPBody.cpp:
80         (WebKit::WebHTTPBody::elementAt):
81
82 2010-09-16  Kenneth Russell  <kbr@google.com>
83
84         Reviewed by James Robinson.
85
86         Add entry points to GraphicsContext3D needed for Chromium compositor port
87         https://bugs.webkit.org/show_bug.cgi?id=45939
88
89         Added entry points for two Chromium-specific extensions, and added
90         a flag to the GraphicsContext3D constructor, currently unsupported
91         by all ports (including Chromium), indicating whether the context
92         should render directly to the passed HostWindow or off-screen per
93         the current semantics. The switch to use GraphicsContext3D in
94         Chromium's compositor will follow in a subsequent patch.
95
96         No new tests; functionality is unchanged. Built and tested
97         Chromium and WebKit on Mac OS X.
98
99         * src/GraphicsContext3D.cpp:
100         (WebCore::GraphicsContext3D::GraphicsContext3D):
101         (WebCore::GraphicsContext3D::create):
102         * src/GraphicsContext3DInternal.h:
103
104 2010-09-16  Kenneth Russell  <kbr@google.com>
105
106         Reviewed by James Robinson.
107
108         [chromium] Add needed entry points to WebGraphicsContext3D for compositor
109         https://bugs.webkit.org/show_bug.cgi?id=45921
110
111         * public/WebGraphicsContext3D.h:
112         * src/WebGraphicsContext3DDefaultImpl.cpp:
113         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
114         (WebKit::WebGraphicsContext3DDefaultImpl::supportsMapSubCHROMIUM):
115         (WebKit::WebGraphicsContext3DDefaultImpl::mapBufferSubDataCHROMIUM):
116         (WebKit::WebGraphicsContext3DDefaultImpl::unmapBufferSubDataCHROMIUM):
117         (WebKit::WebGraphicsContext3DDefaultImpl::mapTexSubImage2DCHROMIUM):
118         (WebKit::WebGraphicsContext3DDefaultImpl::unmapTexSubImage2DCHROMIUM):
119         (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
120         (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
121         * src/WebGraphicsContext3DDefaultImpl.h:
122
123 2010-09-15  Tony Chang  <tony@chromium.org>
124
125         Reviewed by Kent Tamura.
126
127         [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
128         https://bugs.webkit.org/show_bug.cgi?id=42151
129
130         * public/WebDataSource.h:
131         * src/WebDataSourceImpl.cpp:
132         (WebKit::WebDataSourceImpl::applicationCacheHost):
133         (WebKit::WebDataSourceImpl::setDeferMainResourceDataLoad): Added so DRT can set this flag before a load.
134         * src/WebDataSourceImpl.h:
135
136 2010-09-16  Kenneth Russell  <kbr@google.com>
137
138         Reviewed by James Robinson.
139
140         Roll forward Chromium DEPS to r59706
141         https://bugs.webkit.org/show_bug.cgi?id=45916
142
143         * DEPS:
144
145 2010-09-16  Darin Adler  <darin@apple.com>
146
147         Reviewed by Andreas Kling.
148
149         Reduce use of HTMLInputElement::inputType so we can remove it later
150         https://bugs.webkit.org/show_bug.cgi?id=45903
151
152         * src/DOMUtilitiesPrivate.cpp:
153         (WebKit::elementHasLegalLinkAttribute): Use isImageButton.
154         * src/WebPasswordFormUtils.cpp:
155         (WebKit::findPasswordFormFields): Use isPasswordField.
156         * src/WebSearchableFormData.cpp:
157         (WebCore::IsInDefaultState): Use isCheckbox and isRadioButton.
158         (WebCore::HasSuitableTextElement): Use isFileUpload and isPasswordField.
159
160 2010-09-16  Kenneth Russell  <kbr@google.com>
161
162         Reviewed by James Robinson.
163
164         [chromium] Expose separate GraphicsContext3DInternal.h
165         https://bugs.webkit.org/show_bug.cgi?id=45914
166
167         * WebKit.gyp:
168         * src/GraphicsContext3D.cpp:
169         * src/GraphicsContext3DInternal.h: Added.
170
171 2010-09-16  Kenneth Russell  <kbr@google.com>
172
173         Reviewed by James Robinson.
174
175         [chromium] Add WebGraphicsContext3D accessor to WebView
176         https://bugs.webkit.org/show_bug.cgi?id=45913
177
178         * public/WebView.h:
179         * src/WebViewImpl.cpp:
180         (WebKit::WebViewImpl::WebViewImpl):
181         (WebKit::WebViewImpl::graphicsContext3D):
182         * src/WebViewImpl.h:
183
184 2010-09-16  Ilya Tikhonovsky  <loislo@chromium.org>
185
186         Reviewed by Yury Semikhatsky.
187
188         Web Inspector: move resourceTracking flag under control of BackendSettings.
189
190         Four Inspector API methods about resourceTracking flag were removed.
191         Actual state of the flag is transfered as the response of setResourceTracking request.
192         Initial state of the flag on the frontend side is obtained from settings.backend.
193
194         https://bugs.webkit.org/show_bug.cgi?id=45887
195
196         * src/WebDevToolsAgentImpl.cpp:
197         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
198         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
199
200 2010-09-16  Yury Semikhatsky  <yurys@chromium.org>
201
202         Reviewed by Pavel Feldman.
203
204         Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation
205         https://bugs.webkit.org/show_bug.cgi?id=45890
206
207         * src/WebDevToolsAgentImpl.cpp:
208         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): make sure debugger and profiler
209         are initialized when inspected page navigation leads to renderer process change.
210
211 2010-09-16  Eric Uhrhane  <ericu@chromium.org>
212
213         Reviewed by Jian Li.
214
215         Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
216         https://bugs.webkit.org/show_bug.cgi?id=45798
217
218         * src/AsyncFileWriterChromium.h:
219         * src/AsyncFileWriterChromium.cpp:
220
221 2010-09-16  Nat Duca  <nduca@chromium.org>
222
223         Reviewed by Darin Fisher.
224
225         [chromium] Make compositor obey finish flag
226         https://bugs.webkit.org/show_bug.cgi?id=45552
227
228         The compositor should obey the finish flag on doComposite. This
229         flag causes the compositor to finish rendering before returning,
230         which is needed when resizing the window to avoid flashes of green.
231
232         * src/WebViewImpl.cpp:
233         (WebKit::WebViewImpl::composite):
234
235 2010-09-15  Jeremy Orlow  <jorlow@chromium.org>
236
237         Reviewed by Steve Block.
238
239         Allow the embedder to specify the base path for IndexedDB.
240         https://bugs.webkit.org/show_bug.cgi?id=45815
241
242         Need to add the extra .open() parameter to make this all work.
243
244         * public/WebIDBFactory.h:
245         (WebKit::WebIDBFactory::open):
246         * src/IDBFactoryBackendProxy.cpp:
247         (WebCore::IDBFactoryBackendProxy::open):
248         * src/IDBFactoryBackendProxy.h:
249         * src/WebIDBFactoryImpl.cpp:
250         (WebKit::WebIDBFactoryImpl::open):
251         * src/WebIDBFactoryImpl.h:
252
253 2010-09-16  Jeremy Orlow  <jorlow@chromium.org>
254
255         Speculative build fix.
256
257         * src/IDBIndexBackendProxy.cpp:
258
259 2010-09-08  Jeremy Orlow  <jorlow@chromium.org>
260
261         Reviewed by Steve Block.
262
263         Complete index support for IndexedDB
264         https://bugs.webkit.org/show_bug.cgi?id=45386
265
266         * public/WebIDBCursor.h:
267         (WebKit::WebIDBCursor::direction):
268         (WebKit::WebIDBCursor::key):
269         (WebKit::WebIDBCursor::value):
270         (WebKit::WebIDBCursor::update):
271         (WebKit::WebIDBCursor::continueFunction):
272         (WebKit::WebIDBCursor::remove):
273         * public/WebIDBIndex.h:
274         (WebKit::WebIDBIndex::storeName):
275         (WebKit::WebIDBIndex::openObjectCursor):
276         (WebKit::WebIDBIndex::openCursor):
277         (WebKit::WebIDBIndex::getObject):
278         (WebKit::WebIDBIndex::get):
279         * public/WebIDBKey.h:
280         * src/IDBCursorBackendProxy.cpp:
281         (WebCore::IDBCursorBackendProxy::value):
282         * src/IDBCursorBackendProxy.h:
283         * src/IDBIndexBackendProxy.cpp:
284         (WebCore::IDBIndexBackendProxy::storeName):
285         (WebCore::IDBIndexBackendProxy::openObjectCursor):
286         (WebCore::IDBIndexBackendProxy::openCursor):
287         (WebCore::IDBIndexBackendProxy::getObject):
288         (WebCore::IDBIndexBackendProxy::get):
289         * src/IDBIndexBackendProxy.h:
290         * src/WebIDBCursorImpl.cpp:
291         (WebKit::WebIDBCursorImpl::value):
292         * src/WebIDBCursorImpl.h:
293         * src/WebIDBIndexImpl.cpp:
294         (WebKit::WebIDBIndexImpl::storeName):
295         (WebKit::WebIDBIndexImpl::openCursor):
296         (WebKit::WebIDBIndexImpl::openObjectCursor):
297         (WebKit::WebIDBIndexImpl::getObject):
298         (WebKit::WebIDBIndexImpl::get):
299         * src/WebIDBIndexImpl.h:
300
301 2010-09-15  Dumitru Daniliuc  <dumi@chromium.org>
302
303         Reviewed by Darin Fisher.
304
305         Overload WebHTTPBody::appendFileRange() to take a double modification time argument.
306         https://bugs.webkit.org/show_bug.cgi?id=45829
307
308         The plan is to change all callers of
309         WebHTTPBody::appendFileRange(..., const WebFileInfo&) to use the
310         new method, and then remove it.
311
312         * public/WebHTTPBody.h:
313         * src/WebHTTPBody.cpp:
314         (WebKit::WebHTTPBody::elementAt):
315         (WebKit::WebHTTPBody::appendFileRange):
316
317 2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
318
319         Reviewed by Yury Semikhatsky.
320
321         Web Inspector: Provide network-based load timing.
322         Before this change, inspector used timers taken from
323         within WebCore notifications (that are by definition
324         synchronous and serialized). As a result, timing was
325         affected by the routines running on the main thread
326         (JavaScript and such).
327         https://bugs.webkit.org/show_bug.cgi?id=45664
328
329         * public/WebURLLoadTiming.h:
330         * public/WebURLLoaderClient.h:
331         (WebKit::WebURLLoaderClient::didFinishLoading):
332         * src/ResourceHandle.cpp:
333         (WebCore::ResourceHandleInternal::didFinishLoading):
334         * src/WebDevToolsAgentImpl.cpp:
335         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
336         * src/WebURLLoadTiming.cpp:
337         (WebKit::WebURLLoadTiming::receiveHeadersStart):
338         (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
339
340 2010-09-15  Sheriff Bot  <webkit.review.bot@gmail.com>
341
342         Unreviewed, rolling out r67551.
343         http://trac.webkit.org/changeset/67551
344         https://bugs.webkit.org/show_bug.cgi?id=45816
345
346         "Plugin tests fail" (Requested by yurys on #webkit).
347
348         * public/WebURLLoaderClient.h:
349         (WebKit::WebURLLoaderClient::didFinishLoading):
350         * src/ResourceHandle.cpp:
351         (WebCore::ResourceHandleInternal::didFinishLoading):
352         * src/WebDevToolsAgentImpl.cpp:
353         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
354
355 2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
356
357         Reviewed by Yury Semikhatsky.
358
359         Web Inspector: Provide network-based load timing.
360         Before this change, inspector used timers taken from
361         within WebCore notifications (that are by definition
362         synchronous and serialized). As a result, timing was
363         affected by the routines running on the main thread
364         (JavaScript and such).
365         https://bugs.webkit.org/show_bug.cgi?id=45664
366
367         * public/WebURLLoadTiming.h:
368         * public/WebURLLoaderClient.h:
369         (WebKit::WebURLLoaderClient::didFinishLoading):
370         * src/ResourceHandle.cpp:
371         (WebCore::ResourceHandleInternal::didFinishLoading):
372         * src/WebDevToolsAgentImpl.cpp:
373         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
374         * src/WebURLLoadTiming.cpp:
375         (WebKit::WebURLLoadTiming::receiveHeadersStart):
376         (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
377
378 2010-09-14  Sheriff Bot  <webkit.review.bot@gmail.com>
379
380         Unreviewed, rolling out r67503.
381         http://trac.webkit.org/changeset/67503
382         https://bugs.webkit.org/show_bug.cgi?id=45802
383
384         This patch broke GTK builds (Requested by jianli_ on #webkit).
385
386         * src/ResourceHandle.cpp:
387
388 2010-09-14  Yury Semikhatsky  <yurys@chromium.org>
389
390         Reviewed by Pavel Feldman.
391
392         Web Inspector: Links from "Profiles" don't lead to "Scripts"
393         https://bugs.webkit.org/show_bug.cgi?id=45756
394
395         * src/js/DevTools.js: remove obsolete code
396
397 2010-09-14  Tony Chang  <tony@chromium.org>
398
399         Reviewed by Kent Tamura.
400
401         [chromium] fix http/tests/security/local-user-CSS-from-remote.html
402         https://bugs.webkit.org/show_bug.cgi?id=45788
403
404         * DEPS: Include webkit_support::LocalFileToDataURL
405
406 2010-09-14  Tony Chang  <tony@chromium.org>
407
408         Reviewed by Ojan Vafai.
409
410         [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed
411         https://bugs.webkit.org/show_bug.cgi?id=45768
412
413         * public/WebKit.h:
414         * src/WebKit.cpp:
415
416 2010-09-14  Mihai Parparita  <mihaip@chromium.org>
417
418         Reviewed by Tony Chang.
419
420         blob: URL scheme does not work with Chromium DRT
421         https://bugs.webkit.org/show_bug.cgi?id=45772
422
423         Roll Chromium forward to r59406, which registers the blob
424         URL scheme for the Chromium DRT too.
425
426         * DEPS:
427
428 2010-09-14  Jian Li  <jianli@chromium.org>
429
430         Reviewed by David Levin.
431
432         fast/files/apply-blob-url-to-img.html timeout on Leopard
433         https://bugs.webkit.org/show_bug.cgi?id=45576
434
435         * src/ResourceHandle.cpp: Remove the no longer applicable static comment.
436
437 2010-09-14  Chris Guillory   <chris.guillory@google.com>
438
439         Reviewed by Chris Fleizach.
440
441         Send all accessibility notifications to Chromium.
442         https://bugs.webkit.org/show_bug.cgi?id=45156
443         
444         Use postAccessibilityNotification to pass accessibility notifications
445         to chromium.
446
447         * WebKit.gyp:
448         * public/WebAccessibilityNotification.h: Added.
449         * public/WebViewClient.h:
450         (WebKit::WebViewClient::postAccessibilityNotification):
451         * src/AssertMatchingEnums.h: Added.
452         * src/ChromeClientImpl.cpp:
453         (WebKit::toWebAccessibilityNotification):
454         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
455         (WebKit::ChromeClientImpl::postAccessibilityNotification):
456         * src/ChromeClientImpl.h:
457
458 2010-09-14  Tony Chang  <tony@chromium.org>
459
460         Unreviewed, fix chromium win compile.
461
462         * public/WebView.h:
463
464 2010-09-14  Tony Chang  <tony@chromium.org>
465
466         Reviewed by Dimitri Glazkov.
467
468         [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme
469         https://bugs.webkit.org/show_bug.cgi?id=45762
470
471         * public/WebView.h: add WebView::setDomainRelaxationForbidden
472         * src/WebViewImpl.cpp:
473         (WebKit::WebViewImpl::setDomainRelaxationForbidden):
474         * src/WebViewImpl.h:
475
476 2010-09-14  Yury Semikhatsky  <yurys@chromium.org>
477
478         Reviewed by Andreas Kling.
479
480         Move DebuggerScript.js from WebKit/chromium/src/js to WebCore/bindings/v8
481         https://bugs.webkit.org/show_bug.cgi?id=45739
482
483         * WebKit.grd:
484         * WebKit.gypi:
485         * src/js/DebuggerScript.js: Removed.
486         * src/js/DevToolsHostStub.js: Removed.
487
488 2010-09-14  Hans Wennborg  <hans@chromium.org>
489
490         Reviewed by Jeremy Orlow.
491
492         Make WebDeviceOrientationClientMock constructor private.
493         https://bugs.webkit.org/show_bug.cgi?id=45743
494
495         Clients should use the create member function instead. DumpRenderTree
496         and the Chromium test_shell have previously been updated to call create.
497
498         * public/WebDeviceOrientationClientMock.h:
499         (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
500
501 2010-09-13  Eric Uhrhane  <ericu@chromium.org>
502
503         Reviewed by Darin Fisher.
504
505         Add Chromium API for FileWriter
506         https://bugs.webkit.org/show_bug.cgi?id=44360
507
508         Build file changes.
509         * WebKit.gyp:
510
511         Added a way to get a WebFileWriter.
512         * public/WebFileSystem.h:
513         (WebKit::WebFileSystem::createFileWriter):
514
515         WebFileWriter writes and truncates files.
516         * public/WebFileWriter.h: Added.
517
518         WebFileWriterClient reports success/failure and progress events.
519         * public/WebFileWriterClient.h: Added.
520
521         AsyncFileWriterChromium is a connector that links FileWriter and WebFileWriter, FileWriterClient and WebFileWriterClient.
522         * src/AsyncFileWriterChromium.cpp: Added.
523         * src/AsyncFileWriterChromium.h: Added.
524
525 2010-09-13  W. James MacLean  <wjmaclean@google.com>
526
527         Reviewed by Darin Fisher.
528
529         [chromium] Thumbnails not generated for GPU Rendered Pages
530         https://bugs.webkit.org/show_bug.cgi?id=44127
531
532         Modified WebViewImpl::paint() to detect non-null canvas pointers when
533         accelerated compositing is active, and instead fills the pixel buffer
534         from the GPU framebuffer. Includes re-scaling support when provided
535         canvas does not match size of current render layer. Limits pixel
536         readback to rect passed to paint(), clipped by size of rootLayerTexture.
537
538         * src/WebViewImpl.cpp:
539         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
540         (WebKit::WebViewImpl::paint):
541         * src/WebViewImpl.h:
542
543 2010-09-13  James Robinson  <jamesr@chromium.org>
544
545         Reviewed by Dimitri Glazkov.
546
547         [chromium] Return NULL from getSharedGraphicsContext3D if we couldn't initialize
548         https://bugs.webkit.org/show_bug.cgi?id=45731
549
550         If we can't create a GraphicsContext3D, return NULL from getSharedGraphicsContext3D rather
551         than an object with NULL internal pointers.  Callers know how to handle a null return value
552         but not one that has inconsistent internal state.
553
554         * src/WebViewImpl.cpp:
555         (WebKit::WebViewImpl::getSharedGraphicsContext3D):
556
557 2010-09-13  Chris Guillory  <chris.guillory@google.com>
558
559         Reviewed by Chris Fleizach.
560
561         WebAccessibilityCacheImpl needs to handle invalid accessibility object ids.
562         https://bugs.webkit.org/show_bug.cgi?id=45572
563
564         * public/WebAccessibilityObject.h:
565         * src/WebAccessibilityCacheImpl.cpp:
566         (WebKit::WebAccessibilityCacheImpl::addOrGetId):
567         * src/WebAccessibilityObject.cpp:
568         (WebKit::WebAccessibilityObject::isAxObjectIdValid):
569
570 2010-09-13  Pavel Podivilov  <podivilov@chromium.org>
571
572         Reviewed by Dimitri Glazkov.
573
574         [Chromium] fix broken dependency in ImageDiff
575         https://bugs.webkit.org/show_bug.cgi?id=45684
576
577         * WebKit.gyp:
578
579 2010-09-13  Enrica Casucci  <enrica@apple.com>
580
581         Reviewed by Sam Weinig.
582
583         Paste should be implemented in WebCore like Copy and Cut for Mac also.
584         https://bugs.webkit.org/show_bug.cgi?id=45494
585         <rdar://problem/7660537>
586
587         On the Mac platform, the implementation of the paste operation is all done
588         at the WebKit level. In order to support it on WebKit2 it is necessary to
589         refactor the code and move this functionality at the level of WebCore like
590         we already have on Windows.
591         The original code relies on some in AppKit functions that call back into
592         WebKit causing problems in WebKit2. All this functionality has been moved
593         at the level of the editor client where it can be dealt with appropriately.
594
595         * src/FrameLoaderClientImpl.cpp:
596         (WebKit::FrameLoaderClientImpl::canShowMIMETypeAsHTML): Added stub.
597         * src/FrameLoaderClientImpl.h:
598
599 2010-09-13  Jonathan Dixon  <joth@chromium.org>
600
601         Reviewed by Steve Block.
602
603         [chromium] Port test shell geolocation fixes to DRT
604         https://bugs.webkit.org/show_bug.cgi?id=45313
605
606         Ports over fixes from test shell:
607          - http://codereview.chromium.org/3294007
608          - http://codereview.chromium.org/333800
609
610         Resets state between service instances, which fixes delayed-permission-allowed-for-multiple-requests.html
611
612         Also re-apply rolled out patch http://trac.webkit.org/changeset/66886 :-
613         Access to out-of-scope WebGeolocationServiceBridgeImpl
614         https://bugs.webkit.org/show_bug.cgi?id=45112
615
616         Keep the WebGeolocationService pointer for lifetime of the bridge, to
617         ensure it can be detached reliably
618
619         Includes follow-up review comment to rename onWebGeolocationServiceDestroyed to didDestroyGeolocationService
620
621         * public/WebGeolocationService.h:
622         (WebKit::WebGeolocationService::~WebGeolocationService):
623         * public/WebGeolocationServiceBridge.h:
624         (WebKit::WebGeolocationServiceBridge::onWebGeolocationServiceDestroyed):
625         * public/WebGeolocationServiceMock.h:
626         * src/WebGeolocationServiceBridgeImpl.cpp:
627         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
628         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
629         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
630         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
631         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
632         (WebKit::WebGeolocationServiceBridgeImpl::resume):
633         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
634         (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
635         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
636         (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
637         (WebKit::WebGeolocationServiceBridgeImpl::didDestroyGeolocationService):
638         (WebKit::WebGeolocationServiceBridgeImpl::isAttached):
639         * src/WebGeolocationServiceMock.cpp:
640         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
641         (WebKit::WebGeolocationServiceMockImpl::WebGeolocationServiceMockImpl):
642         (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
643         (WebKit::WebGeolocationServiceMockImpl::setMockGeolocationPermission):
644         (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
645         (WebKit::WebGeolocationServiceMockImpl::notifyPendingPermissions):
646
647 2010-09-13  Yury Semikhatsky  <yurys@chromium.org>
648
649         Reviewed by Pavel Feldman.
650
651         Web Inspector: upstream testExpandScope debugger test
652         https://bugs.webkit.org/show_bug.cgi?id=45260
653
654         * src/js/DebuggerScript.js: copy scope variables into a new object, but for global scope object,
655         with statement parameter and catch block exception variable pass the object itself to the injected
656         script.
657         * src/js/Tests.js: moved testExpandScope to LayoutTests
658
659 2010-09-13  Hans Wennborg  <hans@chromium.org>
660
661         Reviewed by Jeremy Orlow.
662
663         Add WebDeviceOrientationClientMock::create() and use it from DRT.
664         https://bugs.webkit.org/show_bug.cgi?id=45650
665
666         Since the virtual member functions of WebDeviceOrientationClientMock
667         are not exported from the DLL, construction of the object must be done inside
668         the DLL, or else the linker will complain (because the vtable cannot
669         be set up). Clients should use the create() member function, and the constructor
670         will be made private in a subsequent patch.
671
672         * public/WebDeviceOrientationClientMock.h:
673         (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
674         * src/WebDeviceOrientationClientMock.cpp:
675         (WebKit::WebDeviceOrientationClientMock::create):
676
677 2010-09-12  Kent Tamura  <tkent@chromium.org>
678
679         Reviewed by Tony Chang.
680
681         [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
682         https://bugs.webkit.org/show_bug.cgi?id=45517
683
684         * DEPS: Roll Chromium revision to r59033 to have webkit_support_gfx.h.
685         * WebKit.gyp:
686
687 2010-09-10  MORITA Hajime  <morrita@google.com>
688
689         Reviewed by Tony Chang.
690
691         [Chromium] Implement textInputController.hasSpellingMarker() for Chromium
692         https://bugs.webkit.org/show_bug.cgi?id=45441
693
694         Exported Frame::selectionStartHasSpellingMarkerFor() for DRT use.
695
696         * public/WebFrame.h:
697         * src/WebFrameImpl.cpp:
698         (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
699         * src/WebFrameImpl.h:
700
701 2010-09-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
702
703         Reviewed by Darin Adler.
704
705         Add NetworkingContext to avoid layer violations
706         https://bugs.webkit.org/show_bug.cgi?id=42292
707
708         * src/ResourceHandle.cpp:
709         (WebCore::ResourceHandle::create):
710         (WebCore::ResourceHandle::start):
711         (WebCore::ResourceHandle::loadResourceSynchronously):
712
713 2010-09-10  Sam Weinig  <sam@webkit.org>
714
715         Fix chromium build.
716
717         * src/WebViewImpl.cpp:
718         (WebKit::WebViewImpl::setZoomLevel):
719
720 2010-09-10  Ryosuke Niwa  <rniwa@webkit.org>
721
722         Unreviewed, speculative chromium build fix.
723
724         * src/WebViewImpl.cpp:
725         (WebKit::WebViewImpl::setZoomLevel):
726
727 2010-09-10  Sam Weinig  <sam@webkit.org>
728
729         Reviewed by Darin Adler.
730
731         Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
732         Precursor to <rdar://problem/7660657>
733         https://bugs.webkit.org/show_bug.cgi?id=45522
734
735         * src/FrameLoaderClientImpl.cpp:
736         (WebKit::FrameLoaderClientImpl::createPlugin):
737         * src/WebViewImpl.cpp:
738         (WebKit::WebViewImpl::WebViewImpl):
739         (WebKit::WebViewImpl::setZoomLevel):
740         * src/WebViewImpl.h:
741         (WebKit::WebViewImpl::zoomTextOnly):
742         Move tracking of text only zoom here from WebCore.
743
744 2010-09-10  Adam Barth  <abarth@webkit.org>
745
746         Reviewed by Darin Fisher.
747
748         Move code from WebKit-layer to DocumentLoader
749         https://bugs.webkit.org/show_bug.cgi?id=45569
750
751         * src/FrameLoaderClientImpl.cpp:
752         (WebKit::FrameLoaderClientImpl::committedLoad):
753         * src/WebFrameImpl.cpp:
754         (WebKit::WebFrameImpl::commitDocumentData):
755
756 2010-09-10  Tony Chang  <tony@chromium.org>
757
758         Unreviewed, fix chromium compile after r67238.
759
760         shouldChangeSelection was removed from Frame.
761
762         * src/WebFrameImpl.cpp:
763         (WebKit::WebFrameImpl::selectWordAroundPosition):
764
765 2010-09-10  Nat Duca  <nduca@chromium.org>
766
767         Reviewed by Darin Fisher.
768
769         [chromium] Accelerated Compositing: screen garbage when scrolling
770         https://bugs.webkit.org/show_bug.cgi?id=45092
771
772         Introduce a new API on WebWidget for painting with accelerated
773         compositing that allows the compositor to properly distingiush
774         scrolling, invalidation and repainting from one another. The key
775         change is that in accelerated rendering case, invalidates and
776         scrolling pass directly to the compositor, rather than passing up
777         to the client as was the case in the software path. For
778         accelerated rendering, the previous paint() method is replaced by
779         composite().
780
781         * public/WebWidget.h:
782         * public/WebWidgetClient.h:
783         (WebKit::WebWidgetClient::scheduleComposite):
784         * src/ChromeClientImpl.cpp:
785         (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
786         (WebKit::ChromeClientImpl::scroll):
787         * src/WebPopupMenuImpl.cpp:
788         (WebKit::WebPopupMenuImpl::themeChanged):
789         (WebKit::WebPopupMenuImpl::composite):
790         * src/WebPopupMenuImpl.h:
791         * src/WebViewImpl.cpp:
792         (WebKit::WebViewImpl::resize):
793         (WebKit::WebViewImpl::paint):
794         (WebKit::WebViewImpl::themeChanged):
795         (WebKit::WebViewImpl::composite):
796         (WebKit::WebViewImpl::setRootGraphicsLayer):
797         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
798         (WebKit::WebViewImpl::scrollRootLayerRect):
799         (WebKit::WebViewImpl::invalidateRootLayerRect):
800         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
801         (WebKit::WebViewImpl::updateRootLayerContents):
802         (WebKit::WebViewImpl::doComposite):
803         * src/WebViewImpl.h:
804         * tests/PopupMenuTest.cpp:
805         (WebKit::TestWebWidget::themeChanged):
806         (WebKit::TestWebWidget::composite):
807
808 2010-09-10  David Holloway  <dhollowa@chromium.org>
809
810         Reviewed by Adam Barth.
811
812         Change WebKit::WebFormElement::wasUserSubmitted to use WebCore::HTMLFormElement::submittedByUserGesture
813         instead of WebCore::HTMLFormElement::submissionTrigger.
814         Chromium AutoFill feature semantics changed with respect to what we mean by "user submitted" form.  A
815         more accurate measure of the user manually submitting a form is via user gesture.
816         https://bugs.webkit.org/show_bug.cgi?id=45128
817
818         * src/WebFormElement.cpp:
819         (WebKit::WebFormElement::wasUserSubmitted):
820
821 2010-09-09  Darin Adler  <darin@apple.com>
822
823         Reviewed by Adam Barth.
824
825         Move functions from Frame to SelectionController as planned
826         https://bugs.webkit.org/show_bug.cgi?id=45508
827
828         * src/WebFrameImpl.cpp:
829         (WebKit::WebFrameImpl::selectionBoundsRect):
830         Call functions on selection().
831
832 2010-09-10  Adam Barth  <abarth@webkit.org>
833
834         Chromium build fix (one hopes!)
835
836         * src/WebFrameImpl.cpp:
837         (WebKit::WebFrameImpl::commitDocumentData):
838
839 2010-09-10  Adam Barth  <abarth@webkit.org>
840
841         Reviewed by Eric Seidel.
842
843         Main resource bytes shouldn't bounce through FrameLoader
844         https://bugs.webkit.org/show_bug.cgi?id=45496
845
846         Now return the bytes to the DocumentLoader.
847
848         Also, removed comment about wrong code in the Mac port.
849
850         * src/WebFrameImpl.cpp:
851         (WebKit::WebFrameImpl::commitDocumentData):
852
853 2010-09-08  Darin Adler  <darin@apple.com>
854
855         Reviewed by Adam Barth.
856
857         Move functions from Frame to Editor as planned
858         https://bugs.webkit.org/show_bug.cgi?id=45218
859
860         * src/ContextMenuClientImpl.cpp:
861         (WebKit::selectMisspelledWord):
862         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
863         * src/WebFrameImpl.cpp:
864         (WebKit::WebFrameImpl::find):
865         (WebKit::WebFrameImpl::stopFinding):
866         (WebKit::WebFrameImpl::scopeStringMatches):
867         * src/WebViewImpl.cpp:
868         (WebKit::WebViewImpl::caretOrSelectionBounds):
869         Changed call sites to use editor().
870
871 2010-09-09  Kenneth Russell  <kbr@google.com>
872
873         Reviewed by James Robinson.
874
875         Memory leak in red/black tree
876         https://bugs.webkit.org/show_bug.cgi?id=45472
877
878         Fixed memory leak in red/black tree where it was using operator
879         new directly to allocate its internal nodes rather than the arena
880         with which it was configured. Added allocateObject variant to
881         arena supporting single-argument constructors. Added test to
882         red/black tree unit tests to cover this functionality, and
883         refactored TrackedAllocator into helper file to share between
884         arena and red/black tree tests.
885
886         * WebKit.gyp:
887         * tests/ArenaTestHelpers.h: Added.
888         (WebCore::ArenaTestHelpers::TrackedAllocator::create):
889         (WebCore::ArenaTestHelpers::TrackedAllocator::allocate):
890         (WebCore::ArenaTestHelpers::TrackedAllocator::free):
891         (WebCore::ArenaTestHelpers::TrackedAllocator::isEmpty):
892         (WebCore::ArenaTestHelpers::TrackedAllocator::numRegions):
893         (WebCore::ArenaTestHelpers::TrackedAllocator::TrackedAllocator):
894         * tests/PODArenaTest.cpp:
895         * tests/PODRedBlackTreeTest.cpp:
896         (WebCore::TEST):
897
898 2010-09-09  Tony Chang  <tony@chromium.org>
899
900         Reviewed by Dimitri Glazkov.
901
902         [chromium] make linux checksums computed from pngs to match windows
903         https://bugs.webkit.org/show_bug.cgi?id=45465
904
905         * src/WebKit.cpp:
906         (WebKit::areLayoutTestImagesOpaque): Make linux match windows.
907
908 2010-09-10  Jay Civelli  <jcivelli@chromium.org>
909
910         Reviewed by Darin Fisher.
911
912         Add the destructor to WebDOMEvent to prevent a leak.
913         https://bugs.webkit.org/show_bug.cgi?id=45287
914
915         * public/WebDOMEvent.h:
916         (WebKit::WebDOMEvent::~WebDOMEvent):
917
918 2010-09-09  Chris Guillory  <chris.guillory@google.com>
919
920         Reviewed by Chris Fleizach.
921
922         Add methods used to determine accessibility state.
923         https://bugs.webkit.org/show_bug.cgi?id=45434
924
925         * public/WebAccessibilityObject.h:
926         * src/WebAccessibilityObject.cpp:
927         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
928         (WebKit::WebAccessibilityObject::isCollapsed):
929         (WebKit::WebAccessibilityObject::isLinked):
930         (WebKit::WebAccessibilityObject::isReadOnly):
931         (WebKit::WebAccessibilityObject::isVisible):
932
933 2010-09-08  Yury Semikhatsky  <yurys@chromium.org>
934
935         Reviewed by Joseph Pecoraro.
936
937         Web Inspector: add a sanity test for DOM storage view in the storage panel
938         https://bugs.webkit.org/show_bug.cgi?id=45294
939
940         * src/js/Tests.js: removed testStoragePanel which was superseded by inspector layout tests.
941
942 2010-09-08  Yury Semikhatsky  <yurys@chromium.org>
943
944         Reviewed by Joseph Pecoraro.
945
946         Web Inspector: test that debugger won't pause on syntax errors
947         https://bugs.webkit.org/show_bug.cgi?id=45388
948
949         * src/js/Tests.js: removed testAutoContinueOnSyntaxError which is now covered by 
950         inspector/debugger-autocontinue-on-syntax-error.html layout test
951
952 2010-09-08  Peter Kasting  <pkasting@google.com>
953
954         Reviewed by David Hyatt.
955
956         Add smooth scrolling framework, and a Windows implementation.
957         https://bugs.webkit.org/show_bug.cgi?id=32356
958
959         * src/WebScrollbarImpl.cpp: Plumb new ScrollbarClient functions.  Allow wheel scrolls to be animated.
960         (WebKit::WebScrollbarImpl::setLocation):
961         (WebKit::WebScrollbarImpl::setValue):
962         (WebKit::WebScrollbarImpl::scroll):
963         (WebKit::WebScrollbarImpl::onMouseWheel):
964         (WebKit::WebScrollbarImpl::onKeyDown):
965         (WebKit::WebScrollbarImpl::setScrollOffsetFromAnimation):
966         * src/WebScrollbarImpl.h: Plumb new ScrollbarClient functions.
967         * src/win/WebInputEventFactory.cpp: Update comments now that we have smooth scrolling.
968         (WebKit::WebInputEventFactory::mouseWheelEvent):
969
970 2010-09-08  Yury Semikhatsky  <yurys@chromium.org>
971
972         Reviewed by Joseph Pecoraro.
973
974         Web Inspector: remove some obsolete interactive tests
975         https://bugs.webkit.org/show_bug.cgi?id=45371
976
977         * src/js/Tests.js:
978
979 2010-09-08  Hans Wennborg  <hans@chromium.org>
980
981         Reviewed by Jeremy Orlow.
982
983         Plug leak in WebDeviceOrientationClientMock
984         https://bugs.webkit.org/show_bug.cgi?id=45305
985
986         WebDeviceOrientationClientMock is responsible for destroying the
987         WebDeviceOrientationController object pointed to by the argument
988         passed to the setController() member function.
989
990         Also use the new WebPrivateOnwPtr for m_clientMock.
991
992         * public/WebDeviceOrientationClientMock.h:
993         * src/WebDeviceOrientationClientMock.cpp:
994         (WebKit::WebDeviceOrientationClientMock::setController):
995         (WebKit::WebDeviceOrientationClientMock::initialize):
996         (WebKit::WebDeviceOrientationClientMock::reset):
997
998 2010-09-07  Tony Chang  <tony@chromium.org>
999
1000         Reviewed by Darin Fisher.
1001
1002         [chromium] Make a public flag for how DRT generates bitmaps on Linux
1003         https://bugs.webkit.org/show_bug.cgi?id=45133
1004
1005         This is so it's possible for me to fix
1006         http://code.google.com/p/chromium/issues/detail?id=21386 .
1007
1008         * public/WebKit.h: Add areLayoutTestImagesOpaque()
1009         * src/WebKit.cpp:
1010         (WebKit::areLayoutTestImagesOpaque):
1011
1012 2010-09-07  Dimitri Glazkov  <dglazkov@chromium.org>
1013
1014         Unreviewed, rolling out r66886.
1015         http://trac.webkit.org/changeset/66886
1016         https://bugs.webkit.org/show_bug.cgi?id=45112
1017
1018         Made
1019
1020         * public/WebGeolocationService.h:
1021         * src/WebGeolocationServiceBridgeImpl.cpp:
1022         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
1023         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
1024         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
1025         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
1026         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
1027         (WebKit::WebGeolocationServiceBridgeImpl::resume):
1028         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
1029         (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
1030         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
1031         (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
1032         (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
1033         (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
1034         * src/WebGeolocationServiceMock.cpp:
1035
1036 2010-09-07  Jonathan Dixon  <joth@chromium.org>
1037         
1038         Reviewed by Jeremy Orlow.
1039         
1040         Access to out-of-scope WebGeolocationServiceBridgeImpl
1041         https://bugs.webkit.org/show_bug.cgi?id=45112
1042
1043         Keep the WebGeolocationService pointer for lifetime of the bridge, to
1044         ensure it can be detached reliably
1045
1046         * public/WebGeolocationServiceBridge.h:
1047         (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
1048         * src/WebGeolocationServiceBridgeImpl.cpp:
1049         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
1050         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
1051         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
1052         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
1053         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
1054         (WebKit::WebGeolocationServiceBridgeImpl::resume):
1055         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
1056
1057 2010-09-07  Pavel Podivilov  <podivilov@chromium.org>
1058
1059         Reviewed by Yury Semikhatsky.
1060
1061         Web Inspector: upstream two debugger tests
1062         https://bugs.webkit.org/show_bug.cgi?id=45262
1063
1064         * src/js/Tests.js:
1065
1066 2010-09-06  Jonathan Dixon  <joth@chromium.org>
1067
1068         Reviewed by Jeremy Orlow.
1069
1070         Add new interface and empty impl. as precursor to bug 45112
1071         https://bugs.webkit.org/show_bug.cgi?id=45257
1072
1073         * public/WebGeolocationServiceBridge.h:
1074         (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
1075         * src/WebGeolocationServiceBridgeImpl.cpp:
1076         (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
1077
1078 2010-09-06  Pavel Podivilov  <podivilov@chromium.org>
1079
1080         Reviewed by Yury Semikhatsky.
1081
1082         Web Inspector: fix chromium devtools tests
1083         https://bugs.webkit.org/show_bug.cgi?id=45258
1084
1085         * src/js/Tests.js:
1086         (.TestSuite.prototype._waitForScriptPause):
1087
1088 2010-08-26  Jeremy Orlow  <jorlow@chromium.org>
1089
1090         Reviewed by Steve Block.
1091
1092         Add index insertion support to IndexedDB.
1093         https://bugs.webkit.org/show_bug.cgi?id=44695
1094
1095         Add asserts on the [] operator.
1096
1097         * public/WebVector.h:
1098         (WebKit::WebVector::operator[]):
1099
1100 2010-09-06  Anton Muhin  <antonm@chromium.org>
1101
1102         Reviewed by Adam Barth.
1103
1104         [v8] bypass caches when query memory usage from post GC and in crash handler.
1105         https://bugs.webkit.org/show_bug.cgi?id=45036
1106
1107         Add Chromium-specific API to query actual memory usage which bypasses any caches.
1108
1109         * public/WebKitClient.h:
1110         (WebKit::WebKitClient::actualMemoryUsageMB):
1111         * src/ChromiumBridge.cpp:
1112         (WebCore::ChromiumBridge::actualMemoryUsageMB):
1113
1114 2010-09-05  Peter Kasting  <pkasting@google.com>
1115
1116         Reviewed by Adam Barth.
1117
1118         Make Chromium/Mac generate continuous mousewheel events with the same wheelDelta values as Safari/Mac.
1119         https://bugs.webkit.org/show_bug.cgi?id=45155
1120
1121         * src/mac/WebInputEventFactory.mm:
1122         (WebKit::WebInputEventFactory::mouseWheelEvent):
1123
1124 2010-09-05  Yury Semikhatsky  <yurys@chromium.org>
1125
1126         Reviewed by Joseph Pecoraro.
1127
1128         Web Inspector: remove WebDevToolsAgentClient::forceRepaint which is not used
1129         https://bugs.webkit.org/show_bug.cgi?id=45179
1130
1131         * public/WebDevToolsAgentClient.h:
1132         * src/DebuggerAgentImpl.cpp:
1133         (WebKit::DebuggerAgentImpl::debuggerOutput):
1134         * src/WebDevToolsAgentImpl.cpp:
1135         * src/WebDevToolsAgentImpl.h:
1136
1137 2010-09-05  Kenneth Russell  <kbr@google.com>
1138
1139         Reviewed by Darin Fisher.
1140
1141         Add unit tests for interval tree
1142         https://bugs.webkit.org/show_bug.cgi?id=45161
1143
1144         * WebKit.gyp:
1145         * tests/PODIntervalTreeTest.cpp: Added.
1146         (WebCore::valueToString):
1147         (WebCore::TEST):
1148         (WebCore::UserData1::valueToString):
1149         (WebCore::EndpointType1::valueToString):
1150
1151 2010-09-05  Kenneth Russell  <kbr@google.com>
1152
1153         Reviewed by Darin Fisher.
1154
1155         Add unit tests for red-black tree and (POD) arena
1156         https://bugs.webkit.org/show_bug.cgi?id=45060
1157
1158         * WebKit.gyp:
1159         * tests/PODArenaTest.cpp: Added.
1160         (WebCore::TestClass1::TestClass2::TestClass2):
1161         (WebCore::TEST_F):
1162         * tests/PODRedBlackTreeTest.cpp: Added.
1163         (WebCore::TEST):
1164         * tests/TreeTestHelpers.cpp: Added.
1165         (WebCore::TreeTestHelpers::generateSeed):
1166         (WebCore::TreeTestHelpers::initRandom):
1167         (WebCore::TreeTestHelpers::nextRandom):
1168         * tests/TreeTestHelpers.h: Added.
1169
1170 2010-09-03  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1171
1172         Reviewed by Darin Adler.
1173
1174         Add NetworkingContext to avoid layer violations
1175         https://bugs.webkit.org/show_bug.cgi?id=42292
1176
1177         Add Chromium's implementation of NetworkingContext.
1178
1179         * src/FrameLoaderClientImpl.cpp:
1180         (WebKit::FrameLoaderClientImpl::createNetworkingContext):
1181         * src/FrameLoaderClientImpl.h:
1182
1183 2010-09-02  Vangelis Kokkevis  <vangelis@chromium.org>
1184
1185         Reviewed by Darin Fisher.
1186
1187         [chromium] Revert to software compositing if the accelerated
1188         compositor fails to initialize. If we tried to initialize the compositor
1189         for this WebView and failed, next time the associated chrome client is
1190         asked whether it can do accelerated compositing it will return false.
1191         https://bugs.webkit.org/show_bug.cgi?id=45124
1192         
1193         * src/ChromeClientImpl.cpp:
1194         (WebKit::ChromeClientImpl::allowsAcceleratedCompositing):
1195         * src/ChromeClientImpl.h:
1196         * src/WebViewImpl.cpp:
1197         (WebKit::WebViewImpl::WebViewImpl):
1198         (WebKit::WebViewImpl::paint):
1199         (WebKit::WebViewImpl::allowsAcceleratedCompositing):
1200         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1201         (WebKit::WebViewImpl::getOnscreenGLES2Context):
1202         * src/WebViewImpl.h:
1203
1204 2010-09-03  James Robinson  <jamesr@chromium.org>
1205
1206         [chromium] Add one more include to fix the mac compile.
1207
1208         * src/GraphicsContext3D.cpp:
1209
1210 2010-09-03  James Robinson  <jamesr@chromium.org>
1211
1212         [chromium] Compile fixes for 66746.
1213
1214         * src/GraphicsContext3D.cpp:
1215         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
1216
1217 2010-09-03  Tony Chang  <tony@chromium.org>
1218
1219         Unreviewed, remove svn:executable flag from images and css files.
1220
1221         * src/js/Images/segmentChromium.png: Removed property svn:executable.
1222         * src/js/Images/segmentHoverChromium.png: Removed property svn:executable.
1223         * src/js/Images/segmentHoverEndChromium.png: Removed property svn:executable.
1224         * src/js/Images/segmentSelectedChromium.png: Removed property svn:executable.
1225         * src/js/Images/segmentSelectedEndChromium.png: Removed property svn:executable.
1226         * src/js/Images/statusbarBackgroundChromium.png: Removed property svn:executable.
1227         * src/js/Images/statusbarBottomBackgroundChromium.png: Removed property svn:executable.
1228         * src/js/Images/statusbarButtonsChromium.png: Removed property svn:executable.
1229         * src/js/Images/statusbarMenuButtonChromium.png: Removed property svn:executable.
1230         * src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed property svn:executable.
1231         * src/js/devTools.css: Removed property svn:executable.
1232
1233 2010-09-03  James Robinson  <jamesr@chromium.org>
1234
1235         Reviewed by Chris Marrin.
1236
1237         Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D
1238         https://bugs.webkit.org/show_bug.cgi?id=44926
1239
1240         Adds a SharedContext3D to WebViewImpl. The SharedContext3D has to live on WebViewImpl to be
1241         tied to the lifetime of the compositor context.
1242
1243         * src/ChromeClientImpl.cpp:
1244         (WebKit::ChromeClientImpl::getSharedGraphicsContext3D):
1245         * src/ChromeClientImpl.h:
1246         * src/GraphicsContext3D.cpp:
1247         (WebCore::GraphicsContext3DInternal::initialize):
1248         (WebCore::GraphicsContext3DInternal::platformLayer):
1249         (WebCore::GraphicsContext3D::platformLayer):
1250         * src/WebViewImpl.cpp:
1251         (WebKit::WebViewImpl::getSharedGraphicsContext3D):
1252         * src/WebViewImpl.h:
1253
1254 2010-08-31  Jeremy Orlow  <jorlow@chromium.org>
1255
1256         Reviewed by Steve Block.
1257
1258         IDBCursor.continue() should reuse the .openCursor's IDBRequest object
1259         https://bugs.webkit.org/show_bug.cgi?id=44953
1260
1261         * src/WebIDBCallbacksImpl.cpp:
1262         (WebCore::WebIDBCallbacksImpl::onError):
1263         (WebCore::WebIDBCallbacksImpl::onSuccess):
1264
1265 2010-09-02  Yury Semikhatsky  <yurys@chromium.org>
1266
1267         Reviewed by Pavel Feldman.
1268
1269         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
1270         https://bugs.webkit.org/show_bug.cgi?id=44230
1271
1272         * src/InspectorFrontendClientImpl.cpp:
1273         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
1274         * src/InspectorFrontendClientImpl.h:
1275
1276 2010-09-02  Satish Sampath  <satish@chromium.org>
1277
1278         Reviewed by Jeremy Orlow.
1279
1280         Remove obsolete public/API methods in chromium port
1281         https://bugs.webkit.org/show_bug.cgi?id=45108
1282
1283         * public/WebSpeechInputController.h:
1284         (WebKit::WebSpeechInputController::startRecognition):
1285
1286 2010-09-02  Kent Tamura  <tkent@chromium.org>
1287
1288         Reviewed by Dimitri Glazkov.
1289
1290         [DRT/Chromium] Remove dependency to base/task.h and base/timer.h
1291         https://bugs.webkit.org/show_bug.cgi?id=45091
1292
1293         * DEPS: Roll Chromium revision to 58277 in order to have
1294         webkit_support::PostDelayedTask().
1295
1296 2010-09-02  Ilya Sherman  <isherman@google.com>
1297
1298         Reviewed by Eric Seidel.
1299
1300         Exposing computing an element's inherited language, per the DOM, in the
1301         Chromium API -- primarily for use with autofill i18n.
1302         https://bugs.webkit.org/show_bug.cgi?id=44803
1303
1304         * public/WebElement.h:
1305         * src/WebElement.cpp:
1306         (WebKit::WebElement::computeInheritedLanguage):
1307
1308 2010-09-01  Mikhail Naganov  <mnaganov@chromium.org>
1309
1310         Reviewed by Yury Semikhatsky.
1311
1312         Remove dependency on JS files for V8 logs processing.
1313
1314         https://bugs.webkit.org/show_bug.cgi?id=45045
1315
1316         * WebKit.gyp:
1317
1318 2010-09-01  Kent Tamura  <tkent@chromium.org>
1319
1320         Unreviewed, rolling out r66576.
1321         http://trac.webkit.org/changeset/66576
1322         https://bugs.webkit.org/show_bug.cgi?id=45016
1323
1324         This change is not needed.
1325
1326         * public/WebKitClient.h:
1327
1328 2010-08-31  Dave Hyatt  <hyatt@apple.com>
1329
1330         Reviewed by Sam Weinig.
1331
1332         https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
1333         the former can occur in more places without having to do the latter.
1334
1335         * src/WebFrameImpl.cpp:
1336         (WebKit::WebFrameImpl::layout):
1337
1338 2010-08-31  Kent Tamura  <tkent@chromium.org>
1339
1340         Reviewed by Dimitri Glazkov.
1341
1342         [Chromium] Add WebKitClient::callOnMainThreadWithDelay()
1343         https://bugs.webkit.org/show_bug.cgi?id=45016
1344
1345         It is required to remove base/task.h and base/timer.h dependency
1346         from DRT/Chromium.
1347
1348         * public/WebKitClient.h:
1349         (WebKit::WebKitClient::callOnMainThreadWithDelay): Added.
1350
1351 2010-08-31  Kinuko Yasuda  <kinuko@chromium.org>
1352
1353         Reviewed by Jian Li.
1354
1355         Add LocalFileSystem.requestFileSystem interface to DOMWindow
1356         https://bugs.webkit.org/show_bug.cgi?id=44734
1357
1358         * public/WebRuntimeFeatures.h:
1359         * src/WebRuntimeFeatures.cpp:
1360         (WebKit::WebRuntimeFeatures::enableFileSystem):
1361         (WebKit::WebRuntimeFeatures::isFileSystemEnabled):
1362
1363 2010-08-24  Jeremy Orlow  <jorlow@chromium.org>
1364
1365         Reviewed by Steve Block.
1366
1367         Implement the rest of IDBCursors + make them persistent
1368         https://bugs.webkit.org/show_bug.cgi?id=44546
1369
1370         * src/IDBCursorBackendProxy.cpp:
1371         (WebCore::IDBCursorBackendProxy::value):
1372         * src/IDBCursorBackendProxy.h:
1373         * src/WebIDBCursorImpl.cpp:
1374         (WebKit::WebIDBCursorImpl::value):
1375
1376 2010-08-27  John Gregg  <johnnyg@google.com>
1377
1378         Reviewed by David Levin.
1379
1380         Notifications should support a click event
1381         https://bugs.webkit.org/show_bug.cgi?id=44800
1382
1383         * public/WebNotification.h:
1384         * src/WebNotification.cpp:
1385         (WebKit::WebNotification::dispatchClickEvent):
1386
1387 2010-08-31  Jian Li  <jianli@chromium.org>
1388
1389         Reviewed by Darin Fisher.
1390
1391         Switch the Blob implementation to using the blob data registration model
1392         https://bugs.webkit.org/show_bug.cgi?id=44389
1393
1394         * src/WebSearchableFormData.cpp:
1395         (WebCore::HasSuitableTextElement):
1396
1397 2010-08-30  Nat Duca  <nduca@chromium.org>
1398
1399         Reviewed by Adam Barth.
1400
1401         [chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
1402         https://bugs.webkit.org/show_bug.cgi?id=44196
1403
1404         If accelerated compositing enables after a page loads, the dirtied
1405         portion of the screen will be only a subset of the full screen,
1406         leading to artefacts. Avoid these artefacts by invalidating the
1407         visible content rect on compositor initialization.
1408
1409         * src/WebViewImpl.cpp:
1410         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1411
1412 2010-08-30  Kinuko Yasuda  <kinuko@chromium.osrc>
1413
1414         Reviewed by Darin Fisher.
1415
1416         Add DOMFileSystem implementation to support Entry manipulation operations
1417         https://bugs.webkit.org/show_bug.cgi?id=44732
1418
1419         Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.)
1420
1421         * src/AsyncFileSystemChromium.cpp:
1422         (WebCore::AsyncFileSystemChromium::move):
1423         (WebCore::AsyncFileSystemChromium::copy):
1424         (WebCore::AsyncFileSystemChromium::remove):
1425         (WebCore::AsyncFileSystemChromium::readMetadata):
1426         (WebCore::AsyncFileSystemChromium::createFile):
1427         (WebCore::AsyncFileSystemChromium::createDirectory):
1428         (WebCore::AsyncFileSystemChromium::fileExists):
1429         (WebCore::AsyncFileSystemChromium::directoryExists):
1430         (WebCore::AsyncFileSystemChromium::readDirectory):
1431
1432 2010-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1433
1434         Unreviewed, rolling out r66198.
1435         http://trac.webkit.org/changeset/66198
1436         https://bugs.webkit.org/show_bug.cgi?id=44856
1437
1438         It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
1439
1440         * src/InspectorFrontendClientImpl.cpp:
1441         * src/InspectorFrontendClientImpl.h:
1442
1443 2010-08-29  Kent Tamura  <tkent@chromium.org>
1444
1445         Reviewed by Darin Adler.
1446
1447         Introduce isValidValue(const String&) of HTMLInputElement and HTMLTextAreaElement
1448         https://bugs.webkit.org/show_bug.cgi?id=43537
1449
1450         * public/WebInputElement.h:
1451         * src/WebInputElement.cpp:
1452         (WebKit::WebInputElement::isValidValue):
1453
1454 2010-08-29  Kent Tamura  <tkent@chromium.org>
1455
1456         Reviewed by Dimitri Glazkov.
1457
1458         [DRT/Chromium] Remove dependency to base/keyboard_codes.h
1459         https://bugs.webkit.org/show_bug.cgi?id=44847
1460
1461         * DEPS: Roll Chromium revision to 57823 to have a webkit_support change.
1462
1463 2010-08-28  Jian Li  <jianli@chromium.org>
1464
1465         Reviewed by Darin Fisher.
1466
1467         [chromium] Add webkit_support.gyp:blob to WebKit.gyp
1468         https://bugs.webkit.org/show_bug.cgi?id=44829
1469
1470         Also bump up chromium revision in DEPS in order to pick up
1471         the revision that contains blob change.
1472
1473         * DEPS:
1474         * WebKit.gyp:
1475
1476 2010-08-28  Chris Guillory   <chris.guillory@google.com>
1477
1478         Reviewed by Chris Fleizach.
1479
1480         Add AX notification for childrenChanged
1481         https://bugs.webkit.org/show_bug.cgi?id=44472
1482
1483         * public/WebViewClient.h:
1484         (WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
1485         * src/ChromeClientImpl.cpp:
1486         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
1487         * src/ChromeClientImpl.h:
1488
1489 2010-08-27  Daniel Cheng  <dcheng@chromium.org>
1490
1491         Reviewed by Tony Chang.
1492
1493         [chromium] Add new WebClipboard method for setting generic data in copy/cut handlers.
1494         https://bugs.webkit.org/show_bug.cgi?id=42121
1495
1496         * public/WebClipboard.h:
1497         (WebKit::WebClipboard::writeData):
1498         (WebKit::WebClipboard::readFilenames):
1499         * src/ChromiumBridge.cpp:
1500         (WebCore::ChromiumBridge::clipboardWriteData):
1501
1502 2010-08-27  Kinuko Yasuda  <kinuko@chromium.org>
1503
1504         Reviewed by Dumitru Daniliuc.
1505
1506         [chromium] Add chromium-side of AsyncFileSystem implementation
1507         https://bugs.webkit.org/show_bug.cgi?id=44434
1508
1509         * WebKit.gyp:
1510         * src/AssertMatchingEnums.cpp: Added assertions.
1511         * src/AsyncFileSystemChromium.cpp: Added.
1512         * src/AsyncFileSystemChromium.h: Added.
1513         * src/LocalFileSystemChromium.cpp: Added.
1514         * src/WebFileSystemCallbacksImpl.cpp:
1515         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
1516         * src/WebFileSystemCallbacksImpl.h:
1517
1518 2010-08-27  Michael Nordman  <michaeln@google.com>
1519
1520         Reviewed by David Levin.
1521
1522         https://bugs.webkit.org/show_bug.cgi?id=44133
1523         WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
1524
1525         * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
1526         * public/WebRuntimeFeatures.h:
1527         * src/WebRuntimeFeatures.cpp:
1528         (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
1529         (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
1530
1531 2010-08-25  Jeremy Orlow  <jorlow@chromium.org>
1532
1533         Reviewed by Steve Block.
1534
1535         Add setVersion to IndexedDB
1536         https://bugs.webkit.org/show_bug.cgi?id=44630
1537
1538         * public/WebIDBDatabase.h:
1539         (WebKit::WebIDBDatabase::createObjectStore):
1540         (WebKit::WebIDBDatabase::removeObjectStore):
1541         (WebKit::WebIDBDatabase::setVersion):
1542         * src/IDBDatabaseProxy.cpp:
1543         (WebCore::IDBDatabaseProxy::setVersion):
1544         * src/IDBDatabaseProxy.h:
1545         * src/WebIDBDatabaseImpl.cpp:
1546         (WebKit::WebIDBDatabaseImpl::setVersion):
1547         * src/WebIDBDatabaseImpl.h:
1548
1549 2010-08-27  Yury Semikhatsky  <yurys@chromium.org>
1550
1551         Reviewed by Pavel Feldman.
1552
1553         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
1554         https://bugs.webkit.org/show_bug.cgi?id=44230
1555
1556         * src/InspectorFrontendClientImpl.cpp:
1557         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
1558         * src/InspectorFrontendClientImpl.h:
1559
1560 2010-08-27  Kent Tamura  <tkent@chromium.org>
1561
1562         Reviewed by Pavel Feldman.
1563
1564         [DRT/Chromium] Fix inspector test failures
1565         https://bugs.webkit.org/show_bug.cgi?id=44748
1566
1567         * DEPS: Update Chromium revision to 57605 to have a webkit_support change.
1568
1569 2010-08-26  Dumitru Daniliuc  <dumi@chromium.org>
1570
1571         Unreviewed, Chromium build fix.
1572
1573         * src/WebFrameImpl.cpp:
1574         (WebKit::WebFrameImpl::markerTextForListItem):
1575
1576 2010-08-26  Dumitru Daniliuc  <dumi@chromium.org>
1577
1578         Reviewed by Darin Fisher.
1579
1580         Add support for markerTextForListItem() to Chromium's LayoutTestController.
1581         https://bugs.webkit.org/show_bug.cgi?id=44724
1582
1583         * public/WebBindings.h:
1584         * public/WebFrame.h:
1585         * src/WebBindings.cpp:
1586         (WebKit::getElementImpl):
1587         (WebKit::WebBindings::getElement):
1588         * src/WebFrameImpl.cpp:
1589         (WebKit::WebFrameImpl::markerTextForListItem):
1590         * src/WebFrameImpl.h:
1591
1592 2010-08-26  James Robinson  <jamesr@chromium.org>
1593
1594         Reviewed by Darin Fisher.
1595
1596         [chromium] Remove the USE(GLES2_RENDERING) define and associated code
1597         https://bugs.webkit.org/show_bug.cgi?id=43761
1598
1599         Removes API support to grab a GLES2Context from within WebCore.  The compositor
1600         has a special codepath to grab its GLES2Context and no other codepaths
1601         need access to a raw context.  Accelerated drawing elsewhere will go through
1602         GraphicsContext3D.
1603
1604         * src/ChromeClientImpl.cpp:
1605         * src/ChromeClientImpl.h:
1606
1607 2010-08-26  Ryosuke Niwa  <rniwa@webkit.org>
1608
1609         Reviewed by Eric Seidel.
1610
1611         [chromium] WebEntities is broken
1612         https://bugs.webkit.org/show_bug.cgi?id=44708
1613
1614         For serialization purposes, we don't need to convert all entity references.
1615         This patch modifies WebEntities::WebEntities to use hard-coded entity lists for both HTML and XML,
1616         and deletes populateMapFromXMLEntities and populateMapFromHTMLEntityTable.
1617
1618         No tests are added since the code is tested in DomSerializerTests
1619
1620         * src/WebEntities.cpp:
1621         (WebKit::):
1622         (WebKit::WebEntities::WebEntities):
1623
1624 2010-08-26  Peter Kasting  <pkasting@google.com>
1625
1626         Reviewed by Dimitri Glazkov.
1627
1628         Misc. cleanup split off from bug 32356.
1629         https://bugs.webkit.org/show_bug.cgi?id=44696
1630
1631         * src/WebScrollbarImpl.cpp:
1632         (WebKit::WebScrollbarImpl::setLocation):
1633         (WebKit::WebScrollbarImpl::onMouseWheel):
1634         * src/WebViewImpl.cpp:
1635         (WebKit::WebViewImpl::propagateScroll):
1636         * src/win/WebInputEventFactory.cpp:
1637         (WebKit::WebInputEventFactory::mouseWheelEvent):
1638
1639 2010-08-26  Mikhail Naganov  <mnaganov@chromium.org>
1640
1641         Reviewed by Pavel Feldman.
1642
1643         Web Inspector: Store heap snapshots in InspectorProfilerAgent.
1644
1645         Change the way heap snapshots are transported to Inspector
1646         to be aligned with CPU profiles. As a result, the Heap snapshots
1647         view of Profiles panel was upstreamed into WebCore.
1648
1649         https://bugs.webkit.org/show_bug.cgi?id=44531
1650
1651         * DEPS:
1652         * WebKit.gypi:
1653         * src/js/DevTools.js:
1654         ():
1655         * src/js/HeapProfilerPanel.js: Removed.
1656         * src/js/ProfilerAgent.js: Removed.
1657         * src/js/ProfilerProcessor.js: Removed.
1658         * src/js/devTools.css:
1659
1660 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
1661
1662         Unreviewed. Revert r66103 since Qt tests are failing.
1663
1664         * src/InspectorFrontendClientImpl.cpp:
1665         * src/InspectorFrontendClientImpl.h:
1666
1667 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
1668
1669         Reviewed by Pavel Feldman.
1670
1671         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
1672         https://bugs.webkit.org/show_bug.cgi?id=44230
1673
1674         * src/InspectorFrontendClientImpl.cpp:
1675         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
1676         * src/InspectorFrontendClientImpl.h:
1677
1678 2010-08-26  Kent Tamura  <tkent@chromium.org>
1679
1680         Reviewed by Tony Chang.
1681
1682         [DRT/Chromium] Enable DEVICE_ORIENTATION
1683         https://bugs.webkit.org/show_bug.cgi?id=44587
1684
1685         * features.gypi:
1686
1687 2010-08-25  Ilya Tikhonovsky  <loislo@chromium.org>
1688
1689         Reviewed by Pavel Feldman.
1690
1691         WebInspector: as far as we have 'seq' property in the each inspector message
1692         it would be better to remove explicit callId argument from Inspector.idl functions
1693         declarations.
1694         https://bugs.webkit.org/show_bug.cgi?id=44617
1695
1696         * src/js/ProfilerAgent.js:
1697         (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
1698         (devtools.ProfilerAgent.prototype._getNextLogLines):
1699
1700 2010-08-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1701
1702         Unreviewed, rolling out r66074.
1703         http://trac.webkit.org/changeset/66074
1704         https://bugs.webkit.org/show_bug.cgi?id=44660
1705
1706         Chromium canary turned red (Requested by yuzo on #webkit).
1707
1708         * features.gypi:
1709         * public/WebRuntimeFeatures.h:
1710         * src/WebRuntimeFeatures.cpp:
1711
1712 2010-08-25  Michael Nordman  <michaeln@google.com>
1713
1714         Reviewed by David Levin.
1715
1716         https://bugs.webkit.org/show_bug.cgi?id=44133
1717         WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
1718
1719         * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
1720         * public/WebRuntimeFeatures.h:
1721         * src/WebRuntimeFeatures.cpp:
1722         (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
1723         (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
1724
1725 2010-08-24  Victoria Kirst  <vrk@google.com>
1726
1727         Reviewed by Darin Fisher.
1728
1729         Adding a way to communicate video frames between Chromium and WebKit.
1730         The WebKit side acts as a middleman between Chromium and WebCore.
1731         The VideoFrameChromiumImpl is not being used by WebCore yet, as there
1732         still needs to be an implementation of WebVideoFrame in Chromium
1733         -- coming soon in a subsequent patch.
1734
1735         API changes for Video Frame sharing between WebKit and Chromium
1736         https://bugs.webkit.org/show_bug.cgi?id=44539
1737
1738         * WebKit.gyp:
1739         * public/WebMediaPlayer.h:
1740         (WebKit::WebMediaPlayer::getCurrentFrame):
1741         (WebKit::WebMediaPlayer::putCurrentFrame):
1742         * public/WebVideoFrame.h: Added.
1743         * src/VideoFrameChromiumImpl.cpp: Added.
1744         (WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
1745         (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
1746         (WebKit::VideoFrameChromiumImpl::type):
1747         (WebKit::VideoFrameChromiumImpl::format):
1748         (WebKit::VideoFrameChromiumImpl::width):
1749         (WebKit::VideoFrameChromiumImpl::height):
1750         (WebKit::VideoFrameChromiumImpl::planes):
1751         (WebKit::VideoFrameChromiumImpl::stride):
1752         (WebKit::VideoFrameChromiumImpl::data):
1753         * src/VideoFrameChromiumImpl.h: Added.
1754         * src/WebMediaPlayerClientImpl.cpp:
1755         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
1756         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
1757         (WebKit::WebMediaPlayerClientImpl::create):
1758         * src/WebMediaPlayerClientImpl.h:
1759
1760 2010-08-25  Eric Seidel  <eric@webkit.org>
1761
1762         Unreviewed.  Build fix.
1763
1764         Make Chromiums Broken WebPageSerializerImpl compile again
1765         https://bugs.webkit.org/show_bug.cgi?id=44652
1766
1767         Make it compile again.  This code is still horribly wrong.
1768
1769         * src/WebPageSerializerImpl.cpp:
1770         (WebKit::WebPageSerializerImpl::endTagToString):
1771
1772 2010-08-20  Zhenyao Mo  <zmo@google.com>
1773
1774         Reviewed by Kenneth Russell.
1775
1776         WebGL must enforce restrictions even if running on OpenGL ES 2.0
1777         https://bugs.webkit.org/show_bug.cgi?id=42908
1778
1779         * public/WebGraphicsContext3D.h: Add two new flags.
1780         * src/GraphicsContext3D.cpp: Ditto.
1781         (WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict):
1782         (WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses):
1783         (WebCore::GraphicsContext3D::isGLES2NPOTStrict):
1784         (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
1785         * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
1786         (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict):
1787         (WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses):
1788         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
1789
1790 2010-08-24  Zhenyao Mo  <zmo@google.com>
1791
1792         Reviewed by Kenneth Russell.
1793
1794         Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
1795         https://bugs.webkit.org/show_bug.cgi?id=38282
1796
1797         * src/WebImageDecoder.cpp:
1798         (WebKit::WebImageDecoder::init): Add premultiplyAlpha flag.
1799
1800 2010-08-25  Satish Sampath  <satish@chromium.org>
1801
1802         Reviewed by Jeremy Orlow.
1803
1804         Pass the element's bounds to embedder during speech recognition.
1805         https://bugs.webkit.org/show_bug.cgi?id=44427
1806
1807         * public/WebSpeechInputController.h:
1808         (WebKit::WebSpeechInputController::startRecognition):
1809         (WebKit::WebSpeechInputController::cancelRecognition):
1810         (WebKit::WebSpeechInputController::stopRecording):
1811         * src/SpeechInputClientImpl.cpp:
1812         (WebKit::SpeechInputClientImpl::startRecognition):
1813         * src/SpeechInputClientImpl.h:
1814         * src/WebSpeechInputControllerMockImpl.cpp:
1815         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1816         * src/WebSpeechInputControllerMockImpl.h:
1817
1818 2010-08-25  Pawel Hajdan  <phajdan.jr@chromium.org>
1819
1820         Reviewed by Darin Fisher.
1821
1822         Add an assertion to prevent re-initializing WebKit.
1823         https://bugs.webkit.org/show_bug.cgi?id=44545
1824         
1825         This will help prevent crashes like:
1826         - http://code.google.com/p/chromium/issues/detail?id=52731
1827         - http://code.google.com/p/chromium/issues/detail?id=52643
1828
1829         * src/WebKit.cpp:
1830         (WebKit::initialize):
1831
1832 2010-08-25  Jay Civelli  <jcivelli@chromium.org>
1833
1834         Reviewed by Dimitri Glazkov.
1835
1836         Adding missing test files and reenabling the WebFrame unit-test.
1837         https://bugs.webkit.org/show_bug.cgi?id=44492
1838
1839         * tests/WebFrameTest.cpp:
1840         (WebKit::TEST_F):
1841         * tests/data/iframes_test.html: Added.
1842         * tests/data/invisible_iframe.html: Added.
1843         * tests/data/visible_iframe.html: Added.
1844         * tests/data/zero_sized_iframe.html: Added.
1845
1846 2010-08-25  Kent Tamura  <tkent@chromium.org>
1847
1848         Unreviewed, build fix.
1849
1850         * DEPS: Roll Chromium revision to 57298 to fix upstream build.
1851
1852 2010-08-24  Dumitru Daniliuc  <dumi@chromium.org>
1853
1854         Reviewed by Adam Barth.
1855
1856         Build fix: Remove setHTML5ParserEnabled(), it's no longer used.
1857
1858         * public/WebSettings.h:
1859         * src/WebSettingsImpl.cpp:
1860         * src/WebSettingsImpl.h:
1861
1862 2010-08-24  Jian Li  <jianli@chromium.org>
1863
1864         Reviewed by Darin Fisher.
1865
1866         [chromium] WebBlobRegistry cleanup.
1867         https://bugs.webkit.org/show_bug.cgi?id=44571
1868
1869         Remove unneeded method from WebBlobRegistry interface.
1870         Also remove unneeded WebBlobRegistryImpl.* files. They're already
1871         excluded from gyp files.
1872
1873         * public/WebBlobRegistry.h:
1874         * src/WebBlobRegistryImpl.cpp: Removed.
1875         * src/WebBlobRegistryImpl.h: Removed.
1876
1877 2010-08-24  Adam Barth  <abarth@webkit.org>
1878
1879         Reviewed by Dimitri Glazkov.
1880
1881         [Chromium] Hulu popups are blocked
1882         https://bugs.webkit.org/show_bug.cgi?id=44572
1883
1884         We were blocking popups created by Flash Player because we were never
1885         setting the UserGestureIndicator for events.  Most WebKit ports handle
1886         events through EventHandler, but Chromium is special (for some unknown
1887         reason) and dispatches events directly.  That means Chromium misses out
1888         on some of the work done by EventHandler, including setting the
1889         UserGestureIndicator.
1890
1891         I suspect this is covered by an existing LayoutTest, but I don't have
1892         the ability to run the Chromium LayoutTests on this machine.  :(
1893
1894         * src/WebViewImpl.cpp:
1895         (WebKit::WebViewImpl::handleInputEvent):
1896
1897 2010-08-24  Jian Li  <jianli@chromium.org>
1898
1899         Reviewed by Darin Fisher.
1900
1901         [chromium] Update WebBlobData.
1902         https://bugs.webkit.org/show_bug.cgi?id=44481
1903
1904         Some changes to WebBlobData to match with chromium implementation.
1905         1) Change to use WebCString for data, instead of WebData.
1906         2) Separate path from URL.
1907
1908         * public/WebBlobData.h:
1909         * src/WebBlobData.cpp:
1910         (WebKit::WebBlobData::itemAt):
1911         (WebKit::WebBlobData::appendData):
1912         (WebKit::WebBlobData::appendBlob):
1913         * src/WebBlobStorageData.cpp:
1914         (WebKit::WebBlobStorageData::itemAt):
1915
1916 2010-08-24  Marcus Bulach  <bulach@chromium.org>
1917
1918         Reviewed by Jeremy Orlow.
1919
1920         Hooks IDBKeyPath with IDBObjectStorage::put.
1921         https://bugs.webkit.org/show_bug.cgi?id=44275
1922
1923         Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath
1924         during IDBObjectStorage::put.
1925
1926         * public/WebIDBKey.h:
1927         (WebKit::WebIDBKey::WebIDBKey):
1928         * public/WebKitClient.h:
1929         (WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath):
1930         * src/ChromiumBridge.cpp:
1931         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1932
1933 2010-08-24  Kent Tamura  <tkent@chromium.org>
1934
1935         Reviewed by Jeremy Orlow.
1936
1937         [DRT/Chromium] Support for IndexedDB tests
1938         https://bugs.webkit.org/show_bug.cgi?id=44490
1939
1940         * DEPS: Roll Chromium to r57145 to have a webkit_support change.
1941
1942 2010-08-24  Roland Steiner  <rolandsteiner@chromium.org>
1943
1944         Unreviewed build fix.
1945
1946         put the "DISABLED_" in front of the right identifier.
1947
1948         * tests/WebFrameTest.cpp:
1949         (WebKit::TEST_F):
1950
1951 2010-08-23  Roland Steiner  <rolandsteiner@chromium.org>
1952
1953         Reviewed by Tamura Kent.
1954
1955         Disable failing test
1956         https://bugs.webkit.org/show_bug.cgi?id=44492
1957
1958         * tests/WebFrameTest.cpp:
1959         (WebKit::TEST_F):
1960
1961 2010-08-23  Jay Civelli  <jcivelli@chromium.org>
1962
1963         Reviewed by Darin Fisher.
1964
1965         Made WebFrame not report the text from hidden frames.
1966         (some pages contain hidden frames with garbage text that
1967         should not be indexed or used to detect the page's language).
1968         https://bugs.webkit.org/show_bug.cgi?id=39456
1969
1970         * WebKit.gyp:
1971         * public/WebCString.h:
1972         (WebKit::operator<):
1973         * public/WebURL.h:
1974         (WebKit::operator<):
1975         * src/WebCString.cpp:
1976         (WebKit::WebCString::compare):
1977         * src/WebFrameImpl.cpp:
1978         (WebKit::frameContentAsPlainText):
1979         * tests/RunAllTests.cpp:
1980         (main):
1981         * tests/WebFrameTest.cpp: Added.
1982
1983 2010-08-23  Kent Tamura  <tkent@chromium.org>
1984
1985         Unreviewed, build fix for r65852.
1986
1987         * src/WebNode.cpp:
1988         (WebKit::WebNode::parentNode):
1989
1990 2010-08-23  Kenneth Russell  <kbr@google.com>
1991
1992         Reviewed by Dimitri Glazkov.
1993
1994         Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
1995         https://bugs.webkit.org/show_bug.cgi?id=44455
1996
1997         Updated Safari, Qt and Chromium WebGL ports to avoid referencing
1998         ArrayBuffer and ArrayBufferView types from GraphicsContext3D.
1999
2000         Ran all WebGL layout tests; no new regressions. Built and tested
2001         WebKit on Mac OS X; built Chromium on Mac OS X and Linux.
2002
2003         * src/GraphicsContext3D.cpp:
2004         (WebCore::GraphicsContext3DInternal::bufferData):
2005         (WebCore::GraphicsContext3DInternal::bufferSubData):
2006
2007 2010-08-23  Jian Li  <jianli@chromium.org>
2008
2009         Reviewed by David Levin.
2010
2011         Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from
2012         chromium project files.
2013         https://bugs.webkit.org/show_bug.cgi?id=44442
2014
2015         * WebKit.gyp:
2016
2017 2010-08-23  Satish Sampath  <satish@chromium.org>
2018
2019         Reviewed by Jeremy Orlow.
2020
2021         Remove obsolete public/API methods in chromium port
2022         https://bugs.webkit.org/show_bug.cgi?id=44421
2023
2024         * public/WebSpeechInputController.h:
2025         (WebKit::WebSpeechInputController::startRecognition):
2026         (WebKit::WebSpeechInputController::cancelRecognition):
2027         (WebKit::WebSpeechInputController::stopRecording):
2028         * public/WebSpeechInputListener.h:
2029
2030 2010-08-22  Daniel Bates  <dbates@rim.com>
2031
2032         Reviewed by Eric Seidel.
2033
2034         Encapsulate document marker management into DocumentMarkerController
2035         https://bugs.webkit.org/show_bug.cgi?id=44383
2036
2037         Modify call sites in the Chromium port to use DocumentMarkerController.
2038
2039         No functionality was changed, so no new tests.
2040
2041         * src/WebFrameImpl.cpp:
2042         (WebKit::WebFrameImpl::stopFinding):
2043         (WebKit::WebFrameImpl::addMarker):
2044         (WebKit::WebFrameImpl::setMarkerActive):
2045
2046 2010-08-22  Jian Li  <jianli@chromium.org>
2047
2048         Reviewed by Darin Fisher.
2049
2050         Add the blob URL member to FormData.
2051         https://bugs.webkit.org/show_bug.cgi?id=44387
2052
2053         As the result of adding the blob URL member to the FormData, we need
2054         to update the corresponding WebKit API for chromium.
2055
2056         * public/WebHTTPBody.h:
2057         (WebKit::WebHTTPBody::Element::):
2058         * src/WebHTTPBody.cpp:
2059         (WebKit::WebHTTPBody::elementAt):
2060         (WebKit::WebHTTPBody::appendBlob):
2061
2062 2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>
2063
2064         Unreviewed; build fix for chromium (and remove duplicated ChangeLog entry).
2065
2066 2010-08-20  James Robinson  <jamesr@chromium.org>
2067
2068         Synchronize default of use_accelerated_compositing gyp variable with downstream.  Unreviewed.
2069
2070         * features.gypi:
2071
2072 2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>
2073
2074         Reviewed by Darin Fisher.
2075
2076         [chromium] Add chromium-side callback implementation for FileSystem API
2077         https://bugs.webkit.org/show_bug.cgi?id=44350
2078
2079         Add WebFileSystemCallbacks that calls back the WebCore's implementation.
2080
2081         * WebKit.gyp:
2082         * src/WebFileSystemCallbacksImpl.cpp: Added.
2083         * src/WebFileSystemCallbacksImpl.h: Added.
2084
2085 2010-08-20  Tony Chang  <tony@chromium.org>
2086
2087         Reviewed by Kent Tamura.
2088
2089         [chromium] fix a null pointer crash when dispatching JS keyboard events
2090         https://bugs.webkit.org/show_bug.cgi?id=44313
2091
2092         * src/WebInputEventConversion.cpp:
2093         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
2094
2095 2010-08-20  Jay Civelli  <jcivelli@chromium.org>
2096
2097         Reviewed by Darin Fisher.
2098
2099         Removing the deprecated class WebEvent and friends.
2100         https://bugs.webkit.org/show_bug.cgi?id=44296
2101
2102         * WebKit.gyp:
2103         * public/WebEvent.h: Removed.
2104         * public/WebEventListener.h: Removed.
2105         * public/WebMutationEvent.h: Removed.
2106         * public/WebNode.h:
2107         * src/EventListenerWrapper.cpp:
2108         (WebKit::EventListenerWrapper::webDOMEventListenerDeleted):
2109         * src/EventListenerWrapper.h:
2110         * src/WebEvent.cpp: Removed.
2111         * src/WebEventListener.cpp: Removed.
2112         * src/WebEventListenerPrivate.cpp: Removed.
2113         * src/WebEventListenerPrivate.h: Removed.
2114         * src/WebNode.cpp:
2115         (WebKit::WebNode::removeEventListener):
2116
2117 2010-08-19  Zhenyao Mo  <zmo@google.com>
2118
2119         Reviewed by Kenneth Russell.
2120
2121         Fix failing WebGL tests in Chromium in-process-webgl port
2122         https://bugs.webkit.org/show_bug.cgi?id=44305
2123
2124         * src/WebGraphicsContext3DDefaultImpl.cpp:
2125         (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): Add implementation.
2126
2127 2010-08-19  Pavel Podivilov  <podivilov@chromium.org>
2128
2129         Reviewed by Yury Semikhatsky.
2130
2131         Web Inspector: enable DOM breakpoints for chromium
2132         https://bugs.webkit.org/show_bug.cgi?id=42886
2133
2134         * src/js/DevTools.js:
2135         (WebInspector.loaded):
2136
2137 2010-08-19  Vincent Scheib  <scheib@chromium.org>
2138
2139         Reviewed by David Levin.
2140
2141         [chromium] TilingData::tilePositionY has typo of X where Y should be used
2142         https://bugs.webkit.org/show_bug.cgi?id=44195
2143
2144         Unit tests added for tileSize and tilePosition.
2145
2146         * tests/TilingDataTest.cpp:
2147         (WebCore::TEST):
2148
2149 2010-08-19  Kinuko Yasuda  <kinuko@chromium.org>
2150
2151         Reviewed by Darin Fisher.
2152
2153         Add WebKit API for FileSystem API
2154         https://bugs.webkit.org/show_bug.cgi?id=43151
2155
2156         Add asynchronous FileSystem interface to WebKit API for
2157         FileSystem API.
2158         http://dev.w3.org/2009/dap/file-system/file-dir-sys.html
2159
2160         * WebKit.gyp:
2161         * public/WebFileError.h: Added.
2162         * public/WebFileSystem.h: Added.
2163         * public/WebFileSystemEntry.h: Added.
2164         * public/WebFileSystemCallbacks.h: Added.
2165         * public/WebKitClient.h:
2166         (WebKit::WebKitClient::fileSystem):
2167         * public/WebFrameClient.h:
2168         (WebKit::WebFrameClient::openFileSystem):
2169
2170 2010-08-19  Kinuko Yasuda  <kinuko@chromium.org>
2171
2172         Reviewed by Jian Li.
2173
2174         [Chromium] Rolls Chromium DEPS forward to 56564
2175         https://bugs.webkit.org/show_bug.cgi?id=44281
2176
2177         Roll Chromium DEPS forward to 56564 to include WebFileSystem
2178         implementation changes.
2179
2180         * DEPS:
2181
2182 2010-08-19  Vincent Scheib  <scheib@chromium.org>
2183
2184         Reviewed by David Levin.
2185
2186         Fixing previous Mac only build breakage with TilingDataTest.cpp
2187         https://bugs.webkit.org/show_bug.cgi?id=44223
2188
2189         TilingDataTest.cpp included the wrong header, which had a compile 
2190         option around the definition of the WebCore namespace. Without the 
2191         namespace defined, error. Fixed by correctly including TilingData.h, 
2192         which has no conditional compilation.
2193
2194         * WebKit.gyp:
2195         * tests/TilingDataTest.cpp:
2196
2197 2010-08-19  Jochen Eisinger  <jochen@chromium.org>
2198
2199         Reviewed by Pavel Feldman.
2200
2201         concatenated_devtools_js should depend on inspector_protocol_sources
2202         https://bugs.webkit.org/show_bug.cgi?id=44255
2203
2204         * WebKit.gyp:
2205
2206 2010-08-19  Pavel Podivilov  <podivilov@chromium.org>
2207
2208         Reviewed by Yury Semikhatsky.
2209
2210         Web Inspector: activate/deactivate breakpoints using v8 debugger flag.
2211         https://bugs.webkit.org/show_bug.cgi?id=44112
2212
2213         * src/js/DebuggerScript.js:
2214         ():
2215
2216 2010-08-19  Andrei Popescu  <andreip@google.com>
2217
2218         Reviewed by Jeremy Orlow.
2219
2220         [IndexedDB] Abort idle IDBTransactions when the JS context they were created in finishes execution.
2221         https://bugs.webkit.org/show_bug.cgi?id=44101
2222
2223         * WebKit.gyp:
2224         * public/WebIDBDatabase.h:
2225         (WebKit::WebIDBDatabase::transaction):
2226         * public/WebIDBFactory.h:
2227         (WebKit::WebIDBFactory::abortPendingTransactions):
2228         * public/WebIDBTransaction.h: Added.
2229         (WebKit::WebIDBTransaction::~WebIDBTransaction):
2230         (WebKit::WebIDBTransaction::mode):
2231         (WebKit::WebIDBTransaction::objectStore):
2232         (WebKit::WebIDBTransaction::abort):
2233         (WebKit::WebIDBTransaction::id):
2234         (WebKit::WebIDBTransaction::setCallbacks):
2235         * public/WebIDBTransactionCallbacks.h: Added.
2236         (WebKit::WebIDBTransactionCallbacks::~WebIDBTransactionCallbacks):
2237         (WebKit::WebIDBTransactionCallbacks::onAbort):
2238         (WebKit::WebIDBTransactionCallbacks::id):
2239         * src/IDBDatabaseProxy.cpp:
2240         (WebCore::IDBDatabaseProxy::transaction):
2241         * src/IDBFactoryBackendProxy.cpp:
2242         (WebCore::IDBFactoryBackendProxy::abortPendingTransactions):
2243         * src/IDBFactoryBackendProxy.h:
2244         * src/IDBTransactionBackendProxy.cpp: Added.
2245         (WebCore::IDBTransactionBackendProxy::create):
2246         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
2247         (WebCore::IDBTransactionBackendProxy::~IDBTransactionBackendProxy):
2248         (WebCore::IDBTransactionBackendProxy::objectStore):
2249         (WebCore::IDBTransactionBackendProxy::mode):
2250         (WebCore::IDBTransactionBackendProxy::abort):
2251         (WebCore::IDBTransactionBackendProxy::scheduleTask):
2252         (WebCore::IDBTransactionBackendProxy::sqliteDatabase):
2253         (WebCore::IDBTransactionBackendProxy::id):
2254         (WebCore::IDBTransactionBackendProxy::setCallbacks):
2255         * src/IDBTransactionBackendProxy.h: Added.
2256         * src/IDBTransactionCallbacksProxy.cpp: Added.
2257         (WebCore::IDBTransactionCallbacksProxy::create):
2258         (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
2259         (WebCore::IDBTransactionCallbacksProxy::~IDBTransactionCallbacksProxy):
2260         (WebCore::IDBTransactionCallbacksProxy::onAbort):
2261         (WebCore::IDBTransactionCallbacksProxy::id):
2262         * src/IDBTransactionCallbacksProxy.h: Added.
2263         * src/WebDOMStringList.cpp:
2264         (WebKit::WebDOMStringList::length):
2265         * src/WebIDBDatabaseImpl.cpp:
2266         (WebKit::WebIDBDatabaseImpl::transaction):
2267         * src/WebIDBDatabaseImpl.h:
2268         * src/WebIDBFactoryImpl.cpp:
2269         (WebKit::WebIDBFactoryImpl::abortPendingTransactions):
2270         * src/WebIDBFactoryImpl.h:
2271         * src/WebIDBTransactionCallbacksImpl.cpp: Added.
2272         (WebCore::WebIDBTransactionCallbacksImpl::WebIDBTransactionCallbacksImpl):
2273         (WebCore::WebIDBTransactionCallbacksImpl::~WebIDBTransactionCallbacksImpl):
2274         (WebCore::WebIDBTransactionCallbacksImpl::onAbort):
2275         (WebCore::WebIDBTransactionCallbacksImpl::id):
2276         * src/WebIDBTransactionCallbacksImpl.h: Added.
2277         * src/WebIDBTransactionImpl.cpp: Added.
2278         (WebKit::WebIDBTransactionImpl::WebIDBTransactionImpl):
2279         (WebKit::WebIDBTransactionImpl::~WebIDBTransactionImpl):
2280         (WebKit::WebIDBTransactionImpl::mode):
2281         (WebKit::WebIDBTransactionImpl::objectStore):
2282         (WebKit::WebIDBTransactionImpl::abort):
2283         (WebKit::WebIDBTransactionImpl::id):
2284         (WebKit::WebIDBTransactionImpl::setCallbacks):
2285         * src/WebIDBTransactionImpl.h: Added.
2286         (WebKit::):
2287
2288 2010-08-19  Pavel Feldman  <pfeldman@chromium.org>
2289
2290         Reviewed by Yury Semikhatsky.
2291
2292         Chromium DevTools: There is no need in resource-based InjectedScript.js source.
2293         Now that we populate front-end after its onload handler, I don't think we need
2294         to install injected script early.
2295         https://bugs.webkit.org/show_bug.cgi?id=44029
2296
2297         * public/WebDevToolsAgentClient.h:
2298         * src/WebDevToolsAgentImpl.cpp:
2299         (WebKit::):
2300         (WebKit::WebDevToolsAgentImpl::attach):
2301         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
2302
2303 2010-08-19  Pavel Feldman  <pfeldman@chromium.org>
2304
2305         Reviewed by Yury Semikhatsky.
2306
2307         Chromium DevTools: remove setRuntimeFeatureEnabled API method that
2308         is no longer used.
2309         https://bugs.webkit.org/show_bug.cgi?id=44237
2310
2311         * public/WebDevToolsAgent.h:
2312         * src/WebDevToolsAgentImpl.cpp:
2313         * src/WebDevToolsAgentImpl.h:
2314
2315 2010-08-18  Jian Li  <jianli@chromium.org>
2316
2317         Fix layout test crashes in chromium.
2318
2319         * src/BlobRegistryProxy.cpp:
2320         (WebCore::BlobRegistryProxy::registerBlobURL):
2321         (WebCore::BlobRegistryProxy::unregisterBlobURL):
2322
2323 2010-08-18  Jian Li  <jianli@chromium.org>
2324
2325         Fix chromium build break.
2326
2327         * src/WebBlobStorageData.cpp:
2328         (WebKit::WebBlobStorageData::itemAt):
2329
2330 2010-08-18  Jian Li  <jianli@chromium.org>
2331
2332         Reviewed by Darin Fisher.
2333
2334         [chromium] Chromium side implementation of blob data and blob registry.
2335         https://bugs.webkit.org/show_bug.cgi?id=43871
2336
2337         * WebKit.gyp:
2338         * public/WebBlobData.h: Added.
2339         * public/WebBlobRegistry.h: Added.
2340         * public/WebBlobStorageData.h: Added.
2341         * public/WebKitClient.h:
2342         (WebKit::WebKitClient::blobRegistry):
2343         * src/BlobRegistryProxy.cpp: Added.
2344         * src/BlobRegistryProxy.h: Added.
2345         * src/WebBlobData.cpp: Added.
2346         * src/WebBlobRegistryImpl.cpp: Added.
2347         * src/WebBlobRegistryImpl.h: Added.
2348         * src/WebBlobStorageData.cpp: Added.
2349
2350 2010-08-18  Dumitru Daniliuc  <dumi@chromium.org>
2351
2352         Reviewed by Darin Fisher.
2353
2354         Propagate the m_downloadFilePath correctly.
2355         https://bugs.webkit.org/show_bug.cgi?id=44198
2356
2357         * src/WebURLRequest.cpp:
2358         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
2359         * src/WebURLResponse.cpp:
2360         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
2361
2362 2010-08-18  Victor Wang  <victorw@chromium.org>
2363
2364         Unreviewed. Fix chromium multi dll build.
2365
2366         * public/WebIDBKeyPath.h:
2367
2368 2010-08-18  Jay Civelli  <jcivelli@chromium.org>
2369
2370         Reviewed by Darin Fisher.
2371
2372         Renaming the WebEvent to WebDOMEvent and adding a new event class
2373         for mouse events so that the event listener API can be used to listen
2374         to them.  The renaming is needed as there already is a WebMouseEvent class.
2375         https://bugs.webkit.org/show_bug.cgi?id=43453
2376
2377         * WebKit.gyp:
2378         * public/WebDOMEvent.h: Added.
2379         * public/WebDOMEventListener.h: Added.
2380         * public/WebDOMMouseEvent.h: Added.
2381         * public/WebDOMMutationEvent.h: Added.
2382         * public/WebNode.h:
2383         * src/EventListenerWrapper.cpp:
2384         * src/EventListenerWrapper.h:
2385         * src/WebDOMEvent.cpp: Added.
2386         * src/WebDOMEventListener.cpp: Added.
2387         * src/WebDOMEventListenerPrivate.cpp: Added.
2388         * src/WebDOMEventListenerPrivate.h: Added.
2389         * src/WebDOMMouseEvent.cpp: Added.
2390         * src/WebDOMMutationEvent.cpp: Added.
2391         * src/WebNode.cpp:
2392         (WebKit::WebNode::isElementNode):
2393         (WebKit::WebNode::addDOMEventListener):
2394         (WebKit::WebNode::removeDOMEventListener):
2395
2396 2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>
2397
2398         Reviewed by Yury Semikhatsky.
2399
2400         Web Inspector: replace hand written InspectorBackendStub.js with generated one.
2401         https://bugs.webkit.org/show_bug.cgi?id=43791
2402
2403         * WebKit.gyp:
2404
2405 2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2406
2407         Unreviewed, rolling out r65238.
2408         http://trac.webkit.org/changeset/65238
2409         https://bugs.webkit.org/show_bug.cgi?id=44168
2410
2411         Check if clobbering chromium bot fixes the layout test
2412         failures (Requested by hamaji on #webkit).
2413
2414         * public/WebFrameClient.h:
2415         (WebKit::WebFrameClient::frameDetached):
2416         * src/FrameLoaderClientImpl.cpp:
2417         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
2418
2419 2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2420
2421         Unreviewed, rolling out r65595.
2422         http://trac.webkit.org/changeset/65595
2423         https://bugs.webkit.org/show_bug.cgi?id=44161
2424
2425         qt build failed (Requested by loislo on #webkit).
2426
2427         * WebKit.gyp:
2428
2429 2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>
2430
2431         Reviewed by Yury Semikhatsky.
2432
2433         Web Inspector: replace hand written InspectorBackendStub.js by generated one.
2434         https://bugs.webkit.org/show_bug.cgi?id=43791
2435
2436         * WebKit.gyp:
2437
2438 2010-08-17  Pavel Feldman  <pfeldman@chromium.org>
2439
2440         Reviewed by Yury Semikhatsky.
2441
2442         Chromium DevTools: Support runtime property name/value pairs
2443         instead of feature names as navigation state.
2444         https://bugs.webkit.org/show_bug.cgi?id=44054
2445
2446         * public/WebDevToolsAgent.h:
2447         * public/WebDevToolsAgentClient.h:
2448         (WebKit::WebDevToolsAgentClient::runtimePropertyChanged):
2449         * src/WebDevToolsAgentImpl.cpp:
2450         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
2451         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
2452         * src/WebDevToolsAgentImpl.h:
2453
2454 2010-08-17  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
2455
2456         Reviewed by Darin Adler.
2457
2458         Add NetworkingContext to avoid layer violations
2459         https://bugs.webkit.org/show_bug.cgi?id=42292
2460
2461         Preparation: Just add the files to the build system.
2462
2463         * WebKit.gyp: Added new files.
2464         * src/FrameNetworkingContextImpl.h: Added.
2465         Placeholder with tentative code that might be changed when landing
2466         the rest of it.
2467
2468 2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>
2469
2470         Unreviewed, rolling out r65516.
2471         http://trac.webkit.org/changeset/65516
2472         https://bugs.webkit.org/show_bug.cgi?id=44126
2473
2474         broke chromium unit tests on mac and linux (Requested by
2475         johnny_g on #webkit).
2476
2477         * WebKit.gyp:
2478         * src/WebFrameImpl.cpp:
2479         (WebKit::frameContentAsPlainText):
2480         * tests/RunAllTests.cpp:
2481         (main):
2482         * tests/WebFrameTest.cpp: Removed.
2483
2484 2010-08-17  Jay Civelli  <jcivelli@chromium.org>
2485
2486         Reviewed by Darin Fisher.
2487
2488         Made WebFrame not report the text from hidden frames.
2489         (some pages contain hidden frames with garbage text that
2490         should not be indexed or used to detect the page's language).
2491         https://bugs.webkit.org/show_bug.cgi?id=39456
2492
2493         * WebKit.gyp:
2494         * public/WebCString.h:
2495         (WebKit::operator<):
2496         * public/WebURL.h:
2497         (WebKit::operator<):
2498         * src/WebCString.cpp:
2499         (WebKit::WebCString::compare):
2500         * src/WebFrameImpl.cpp:
2501         (WebKit::frameContentAsPlainText):
2502         * tests/RunAllTests.cpp:
2503         (main):
2504         * tests/WebFrameTest.cpp: Added.
2505
2506 2010-08-17  Kelly Norton  <knorton@google.com>
2507
2508         Reviewed by Pavel Feldman.
2509
2510         Web Inspector: Fixes a crash in addTimelineRecord when InspectorTimelineAgent
2511         is enabled through WebDevToolsAgentImpl::setApuEnabled.
2512         https://bugs.webkit.org/show_bug.cgi?id=44105
2513
2514         * src/WebDevToolsAgentImpl.cpp:
2515         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
2516
2517 2010-08-17  Yury Semikhatsky  <yurys@chromium.org>
2518
2519         Reviewed by Pavel Feldman.
2520
2521         Web Inspector: upstream Chromium debugger step tests
2522         https://bugs.webkit.org/show_bug.cgi?id=44106
2523
2524         * src/js/Tests.js:
2525
2526 2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>
2527
2528         Unreviewed, rolling out r65500.
2529         http://trac.webkit.org/changeset/65500
2530         https://bugs.webkit.org/show_bug.cgi?id=44108
2531
2532         Qt bots failed to compile. (Requested by loislo on #webkit).
2533
2534         * WebKit.gyp:
2535
2536 2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>
2537
2538         Reviewed by Yury Semikhatsky.
2539
2540         Web Inspector: replace hand written InspectorBackendStub.js by generated one.
2541         https://bugs.webkit.org/show_bug.cgi?id=43791
2542
2543         * WebKit.gyp:
2544
2545 2010-08-17  Yury Semikhatsky  <yurys@chromium.org>
2546
2547         Reviewed by Pavel Feldman.
2548
2549         Web Inspector: upstream Chromium console tests and remove a couple
2550         of tests that have already been covered with layout tests.
2551         https://bugs.webkit.org/show_bug.cgi?id=44057
2552
2553         * src/js/Tests.js:
2554         (.TestSuite.prototype.testConsoleEval):
2555         (.TestSuite.prototype.testConsoleLog):
2556         (.TestSuite.prototype.testEvalGlobal):
2557
2558 2010-08-16  Kinuko Yasuda  <kinuko@chromium.org>
2559
2560         Unreviewed; attempt to fix Chromium Windows build.
2561
2562         * public/WebFileUtilities.h:
2563
2564 2010-08-16  Kinuko Yasuda  <kinuko@chromium.org>
2565
2566         Reviewed by Jian Li.
2567
2568         [chromium] Prepare to rename WebFileSystem interface to WebFileUtilities
2569         https://bugs.webkit.org/show_bug.cgi?id=44077
2570
2571         We are going to have an implementation for HTML5 FileSystem API and
2572         it would probably be less confusing to use the name "WebFileSystem"
2573         for an WebKit API for the HTML5 API.
2574
2575         This patch adds WebFileUtilities interface that is meant to replace
2576         the existing WebFileSystem.
2577
2578         * WebKit.gyp:
2579         * public/WebFileSystem.h:
2580         * public/WebFileUtilities.h: Added.
2581         * public/WebKitClient.h:
2582         (WebKit::WebKitClient::fileUtilities): Added.
2583         * src/ChromiumBridge.cpp:
2584         (WebCore::ChromiumBridge::fileExists):
2585         (WebCore::ChromiumBridge::deleteFile):
2586         (WebCore::ChromiumBridge::deleteEmptyDirectory):
2587         (WebCore::ChromiumBridge::getFileSize):
2588         (WebCore::ChromiumBridge::getFileModificationTime):
2589         (WebCore::ChromiumBridge::directoryName):
2590         (WebCore::ChromiumBridge::pathByAppendingComponent):
2591         (WebCore::ChromiumBridge::makeAllDirectories):
2592         (WebCore::ChromiumBridge::getAbsolutePath):
2593         (WebCore::ChromiumBridge::isDirectory):
2594         (WebCore::ChromiumBridge::filePathToURL):
2595         (WebCore::ChromiumBridge::openFile):
2596         (WebCore::ChromiumBridge::closeFile):
2597         (WebCore::ChromiumBridge::seekFile):
2598         (WebCore::ChromiumBridge::truncateFile):
2599         (WebCore::ChromiumBridge::readFromFile):
2600         (WebCore::ChromiumBridge::writeToFile):
2601
2602 2010-08-16  Nate Chapin  <japhet@chromium.org>
2603
2604         Unreviewed, build fix.
2605
2606         Don't include TilingDataTest.cpp, since it doesn't
2607         compile on mac.
2608
2609         * WebKit.gyp:
2610
2611 2010-08-16  James Robinson  <jamesr@chromium.org>
2612
2613         Compile fix.  Fix up paintsIntoCanvasBuffer impl.
2614
2615         * src/GraphicsContext3D.cpp:
2616         (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
2617
2618 2010-08-16  Vincent Scheib  <scheib@chromium.org>
2619
2620         Reviewed by Dimitri Glazkov.
2621
2622         Canvas2D does not support images larger than system's GPU max texture size
2623         https://bugs.webkit.org/show_bug.cgi?id=43864
2624
2625         Unit tests for TilingData class.
2626
2627         * WebKit.gyp:
2628         * tests/TilingDataTest.cpp: Added.
2629         (WebCore::TEST):
2630
2631 2010-08-16  Alex Milowski  <alex@milowski.com>
2632
2633         Reviewed by David Levin.
2634
2635         Added the ENABLE_MATHML=1 to the feature_defines.
2636
2637         * features.gypi:
2638
2639 2010-08-16  Marcus Bulach  <bulach@chromium.org>
2640
2641         Reviewed by Jeremy Orlow.
2642
2643         Implements IDBKeyPath extractor.
2644         https://bugs.webkit.org/show_bug.cgi?id=43276
2645
2646         Unit-test IDBKeyPathExtractorTest.cpp.
2647         LayoutTests will arrive as IndexedDB infrastructure is fleshed out.
2648
2649
2650         * WebKit.gyp:
2651         * public/WebIDBKey.h:
2652         * public/WebIDBKeyPath.h: Added.
2653         (WebKit::WebIDBKeyPath::WebIDBKeyPath):
2654         (WebKit::WebIDBKeyPath::~WebIDBKeyPath):
2655         * public/WebPrivateOwnPtr.h: Added.
2656         (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
2657         (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
2658         (WebKit::WebPrivateOwnPtr::reset):
2659         (WebKit::WebPrivateOwnPtr::get):
2660         (WebKit::WebPrivateOwnPtr::operator->):
2661         * src/WebIDBKey.cpp:
2662         (WebKit::WebIDBKey::createFromValueAndKeyPath):
2663         * src/WebIDBKeyPath.cpp: Added.
2664         (WebKit::WebIDBKeyPath::create):
2665         (WebKit::WebIDBKeyPath::WebIDBKeyPath):
2666         (WebKit::WebIDBKeyPath::parseError):
2667         (WebKit::WebIDBKeyPath::assign):
2668         (WebKit::WebIDBKeyPath::reset):
2669         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
2670         * tests/IDBBindingUtilitiesTest.cpp: Added.
2671         (WebCore::LocalContext::LocalContext):
2672         (WebCore::LocalContext::~LocalContext):
2673         (WebCore::checkKeyFromValueAndKeyPathInternal):
2674         (WebCore::checkKeyPathNullValue):
2675         (WebCore::checkKeyPathStringValue):
2676         (WebCore::checkKeyPathNumberValue):
2677         (WebCore::TEST):
2678
2679 2010-07-28  Marcus Bulach  <bulach@chromium.org>
2680
2681         Reviewed by Adam Barth.
2682
2683         Implement IDBKeyPath parser.
2684         https://bugs.webkit.org/show_bug.cgi?id=42976
2685
2686         IDBKeyPath is an internal class, exposed only for unit tests for now.
2687         It'll allow indexed database implementation to traverse a given key path and obtain the corresponding properties
2688         from a SerializedScriptValue.
2689
2690         * WebKit.gyp:
2691         * tests/IDBKeyPathTest.cpp: Added.
2692         (WebCore::ExpectedToken::ExpectedToken):
2693         (WebCore::checkKeyPath):
2694         (WebCore::TEST):
2695
2696 2010-08-16  Pavel Feldman  <pfeldman@chromium.org>
2697
2698         Reviewed by Joseph Pecoraro.
2699
2700         Web Inspector: upstream frontend-side WebSocket transport.
2701         https://bugs.webkit.org/show_bug.cgi?id=43970
2702
2703         Chromium already has an alternate WebSocket-based communication channel with
2704         the backend. Upstreaming it in this change. We will agree on the URI
2705         of the remote service as the protocol matures.
2706
2707         * src/WebDevToolsFrontendImpl.cpp:
2708         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2709         * src/js/DevTools.js:
2710         (WebInspector.loaded):
2711         (devtools.domContentLoaded):
2712
2713 2010-08-16  Yury Semikhatsky  <yurys@chromium.org>
2714
2715         Reviewed by Pavel Feldman.
2716
2717         Web Inspector: remove utility context related code from debugger agent
2718         https://bugs.webkit.org/show_bug.cgi?id=44049
2719
2720         * src/DebuggerAgentManager.cpp:
2721         (WebKit::DebuggerAgentManager::onV8DebugMessage):
2722         (WebKit::DebuggerAgentManager::pauseScript):
2723         * src/DebuggerAgentManager.h:
2724
2725 2010-08-16  Yuta Kitamura  <yutak@chromium.org>
2726
2727         Reviewed by Shinichiro Hamaji.
2728
2729         Attempt to fix Chromium's test_shell_tests.
2730
2731         Port Chromium's WebEntities to HTMLEntityTable
2732         https://bugs.webkit.org/show_bug.cgi?id=44036
2733
2734         * src/WebEntities.cpp:
2735         (WebKit::):
2736
2737 2010-08-15  Adam Barth  <abarth@webkit.org>
2738
2739         Reviewed by Eric Seidel.
2740
2741         Port Chromium's WebEntities to HTMLEntityTable
2742         https://bugs.webkit.org/show_bug.cgi?id=44036
2743
2744         This code is wrong and needs to be removed.  However, at least after
2745         this patch, it will compile.
2746
2747         * src/WebEntities.cpp:
2748         (WebKit::):
2749         (WebKit::WebEntities::WebEntities):
2750         * src/WebEntities.h:
2751
2752 2010-08-13  Satish Sampath  <satish@chromium.org>
2753
2754         Reviewed by Jeremy Orlow.
2755
2756         Support for multiple speech enabled elements in same page.
2757         https://bugs.webkit.org/show_bug.cgi?id=43922
2758
2759         * public/WebSpeechInputController.h: Bubbles up the requestId given by webcore to the embedder.
2760         (WebKit::WebSpeechInputController::startRecognition):
2761         (WebKit::WebSpeechInputController::cancelRecognition):
2762         (WebKit::WebSpeechInputController::stopRecording):
2763         * public/WebSpeechInputListener.h: Passes down the requestId given by embedder to webcore.
2764         (WebKit::WebSpeechInputListener::didCompleteRecording):
2765         (WebKit::WebSpeechInputListener::setRecognitionResult):
2766         (WebKit::WebSpeechInputListener::didCompleteRecognition):
2767         * src/SpeechInputClientImpl.cpp:
2768         (WebKit::SpeechInputClientImpl::setListener):
2769         (WebKit::SpeechInputClientImpl::startRecognition):
2770         (WebKit::SpeechInputClientImpl::stopRecording):
2771         (WebKit::SpeechInputClientImpl::cancelRecognition):
2772         (WebKit::SpeechInputClientImpl::didCompleteRecording):
2773         (WebKit::SpeechInputClientImpl::didCompleteRecognition):
2774         (WebKit::SpeechInputClientImpl::setRecognitionResult):
2775         * src/SpeechInputClientImpl.h:
2776         * src/WebSpeechInputControllerMockImpl.cpp:
2777         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
2778         (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
2779         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
2780         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
2781         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
2782         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2783         (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
2784         (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
2785         * src/WebSpeechInputControllerMockImpl.h:
2786
2787 2010-08-12  Yury Semikhatsky  <yurys@chromium.org>
2788
2789         Reviewed by Pavel Feldman.
2790
2791         Web Inspector: allow interrupting long running JS to execute inspector command
2792         https://bugs.webkit.org/show_bug.cgi?id=43900
2793
2794         * public/WebDevToolsAgent.h:
2795         (WebKit::WebDevToolsAgent::MessageDescriptor::~MessageDescriptor):
2796         * src/WebDevToolsAgentImpl.cpp:
2797         (WebKit::WebDevToolsAgent::interruptAndDispatch):
2798         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
2799         (WebKit::WebDevToolsAgent::processPendingMessages):
2800         * src/WebDevToolsFrontendImpl.cpp:
2801         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
2802         * src/WebDevToolsFrontendImpl.h:
2803         * src/js/DevTools.js:
2804
2805 2010-08-12  Aaron Boodman  <aa@chromium.org>
2806
2807         Reviewed by David Hyatt.
2808
2809         Make the cascade level of "user" styles configurable
2810         https://bugs.webkit.org/show_bug.cgi?id=43457
2811
2812         * src/WebViewImpl.cpp:
2813         (WebKit::WebView::addUserStyleSheet):
2814
2815 2010-08-12  John Gregg  <johnnyg@google.com>
2816
2817         Reviewed by Kent Tamura.
2818
2819         [chromium] Add Notification::detachPresenter to the WebKit API.
2820         https://bugs.webkit.org/show_bug.cgi?id=43659
2821
2822         * public/WebNotification.h:
2823         * src/WebNotification.cpp:
2824         (WebKit::WebNotification::detachPresenter):
2825
2826 2010-08-11  Stephen White  <senorblanco@chromium.org>
2827
2828         Reviewed by David Levin.
2829
2830         Add support for BGRA pixel format to GraphicsContext3D.
2831         https://bugs.webkit.org/show_bug.cgi?id=43858
2832
2833         Although this has been standard in desktop GL since 1.2, it's an 
2834         extension in GL ES 2.0, so a query function is provided to check
2835         for support.  The DefaultImpl returns false, since it does not yet
2836         implement the TexImage2D internalFormat quirks.
2837
2838         * public/WebGraphicsContext3D.h:
2839         (WebKit::WebGraphicsContext3D::supportsBGRA):
2840         * src/GraphicsContext3D.cpp:
2841         * src/WebGraphicsContext3DDefaultImpl.cpp:
2842         (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
2843         * src/WebGraphicsContext3DDefaultImpl.h:
2844
2845 2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2846
2847         Unreviewed, rolling out r65181.
2848         http://trac.webkit.org/changeset/65181
2849         https://bugs.webkit.org/show_bug.cgi?id=43909
2850
2851         It broke 35 layout tests fail on chromium-win (Requested by
2852         hamaji on #webkit).
2853
2854         * public/WebFrameClient.h:
2855         * src/FrameLoaderClientImpl.cpp:
2856         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
2857
2858 2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2859
2860         Unreviewed, rolling out r65221.
2861         http://trac.webkit.org/changeset/65221
2862         https://bugs.webkit.org/show_bug.cgi?id=43896
2863
2864         Broke snow leopard build. (Requested by dave_levin on
2865         #webkit).
2866
2867         * public/WebGraphicsContext3D.h:
2868         * src/GraphicsContext3D.cpp:
2869         * src/WebGraphicsContext3DDefaultImpl.cpp:
2870         * src/WebGraphicsContext3DDefaultImpl.h:
2871
2872 2010-08-11  Stephen White  <senorblanco@chromium.org>
2873
2874         Reviewed by David Levin.
2875
2876         Add support for BGRA pixel format to GraphicsContext3D.
2877         https://bugs.webkit.org/show_bug.cgi?id=43858
2878
2879         Although this has been standard in desktop GL since 1.2, it's an 
2880         extension in GL ES 2.0, so a query function is provided to check
2881         for support.  The DefaultImpl returns false, since it does not yet
2882         implement the TexImage2D internalFormat quirks.
2883
2884         * public/WebGraphicsContext3D.h:
2885         (WebKit::WebGraphicsContext3D::supportsBGRA):
2886         * src/GraphicsContext3D.cpp:
2887         * src/WebGraphicsContext3DDefaultImpl.cpp:
2888         (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
2889         * src/WebGraphicsContext3DDefaultImpl.h:
2890
2891 2010-08-11  James Hawkins  <jhawkins@chromium.org>
2892
2893         Reviewed by Dmitry Titov.
2894
2895         [Chromium] Notify the WebFrameClient when the frame is detached from
2896         the view. This is used to clear the cached frame in the FormManager.
2897         Eventually this will be removed once handling forms is moved into
2898         WebCore.
2899         https://bugs.webkit.org/show_bug.cgi?id=43648
2900
2901         * public/WebFrameClient.h:
2902         (WebKit::WebFrameClient::frameDetached):
2903         * src/FrameLoaderClientImpl.cpp:
2904         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
2905
2906 2010-08-11  Dimitri Glazkov  <dglazkov@chromium.org>
2907
2908         Build fix, turn off yet-unbaked DEVICE_ORIENTATION stuff.
2909
2910         * features.gypi: Turned it off.
2911
2912 2010-08-11  Evan Stade  <estade@chromium.org>
2913
2914         Reviewed by David Levin.
2915
2916         [chromium] linux chromium sends double clicks too often
2917         https://bugs.webkit.org/show_bug.cgi?id=43096
2918
2919         * WebKit.gyp: add the test
2920         * src/gtk/WebInputEventFactory.cpp:
2921         (WebKit::WebInputEventFactory::mouseEvent): check the x/y coordinates of the
2922         potential double click event
2923         * tests/WebInputEventFactoryTestGtk.cpp: Added.
2924
2925 2010-08-11  John Abd-El-Malek  <jam@chromium.org>
2926
2927         Reviewed by Darin Fisher.
2928
2929         [chromium] Inform a plugin about the zoom level when it's created
2930         https://bugs.webkit.org/show_bug.cgi?id=42268
2931
2932         * src/FrameLoaderClientImpl.cpp:
2933         (WebKit::FrameLoaderClientImpl::createPlugin):
2934
2935 2010-08-11  Yury Semikhatsky  <yurys@chromium.org>
2936
2937         Unreviewed. Fix Chromium compilation.
2938
2939         * DEPS:
2940
2941 2010-08-11  Yury Semikhatsky  <yurys@chromium.org>
2942
2943         Unreviewed. Chromium build fix.
2944
2945         * DEPS: bump up Chromium revision.
2946
2947 2010-08-11  Yury Semikhatsky  <yurys@chromium.org>
2948
2949         Reviewed by Pavel Feldman.
2950
2951         Web Inspector: remove InjectDispatch.js
2952         https://bugs.webkit.org/show_bug.cgi?id=43835
2953
2954         * WebKit.grd:
2955         * src/js/InjectDispatch.js: Removed.
2956
2957 2010-08-10  Kent Tamura  <tkent@chromium.org>
2958
2959         Unreviewed, build fix.
2960         
2961         Chromium build fix for r65107.
2962
2963         * src/WebAnimationControllerImpl.cpp:
2964         (WebKit::WebAnimationControllerImpl::suspendAnimations):
2965         (WebKit::WebAnimationControllerImpl::resumeAnimations):
2966
2967 2010-08-10  Kenneth Russell  <kbr@google.com>
2968
2969         Reviewed by Dimitri Glazkov.
2970
2971         Roll forward Chromium DEPS to r55584
2972         https://bugs.webkit.org/show_bug.cgi?id=43811
2973
2974         * DEPS:
2975
2976 2010-08-10  Kavita Kanetkar  <kkanetkar@chromium.org>
2977
2978         Reviewed by Joseph Pecoraro.
2979
2980         Web Inspector: Support appcache status change for Chrome
2981         https://bugs.webkit.org/show_bug.cgi?id=43531
2982
2983         * src/ApplicationCacheHost.cpp:
2984         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
2985
2986 2010-08-10  Kenneth Russell  <kbr@google.com>
2987
2988         Reviewed by Dimitri Glazkov.
2989
2990         Use Chromium OpenGL bindings rather than GLEW in WebGraphicsContextDefaultImpl
2991         https://bugs.webkit.org/show_bug.cgi?id=43754
2992
2993         Deleted per-platform OpenGL context management code, now
2994         abstracted via GLContext. Built and tested in Chromium with
2995         --in-process-webgl flag.
2996
2997         * WebKit.gyp:
2998         * src/GraphicsContext3D.cpp:
2999         * src/WebGraphicsContext3DDefaultImpl.cpp:
3000         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
3001         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
3002         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
3003         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
3004         (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
3005         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
3006         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
3007         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
3008         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
3009         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
3010         (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
3011         (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
3012         * src/WebGraphicsContext3DDefaultImpl.h:
3013
3014 2010-08-10  Jian Li  <jianli@chromium.org>
3015
3016         Another chromium build fix.
3017
3018         * src/AssertMatchingEnums.cpp:
3019
3020 2010-08-10  Gavin Barraclough  <barraclough@apple.com>
3021
3022         Rubber stamped by Sam Weinig.
3023
3024         Bug 43786 - Move AtomicStringHash from WebCore to WTF
3025         Also remove deprecated string headers from WebCore/platform/text.
3026
3027         * src/WebKit.cpp:
3028         * src/WebPageSerializerImpl.h:
3029         * src/WebString.cpp:
3030
3031 2010-08-10  James Robinson  <jamesr@chromium.org>
3032
3033         Reviewed by Dimitri Glazkov.
3034
3035         [chromium] Feature defines are out of sync between features.gypi and downstream feature_overrides.gypi
3036         https://bugs.webkit.org/show_bug.cgi?id=43756
3037
3038         This synchronizes the feature defines to what's currently downstream (at r55468).
3039         The difference between the build.webkit.org bots and the chromium bots has
3040         caused strange compilation failures lately.
3041
3042         * features.gypi:
3043
3044 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
3045
3046         Reviewed by Pavel Feldman.
3047
3048         Web Inspector: get rid of utility context
3049         https://bugs.webkit.org/show_bug.cgi?id=43787
3050
3051         * public/WebDevToolsAgentClient.h:
3052         * src/DebuggerAgentImpl.cpp:
3053         * src/DebuggerAgentImpl.h:
3054         * src/WebDevToolsAgentImpl.cpp:
3055         (WebKit::):
3056         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
3057         (WebKit::WebDevToolsAgentImpl::attach):
3058         (WebKit::WebDevToolsAgentImpl::detach):
3059         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
3060         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
3061         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
3062         * src/WebDevToolsAgentImpl.h:
3063
3064 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
3065
3066         Reviewed by Pavel Feldman.
3067
3068         Web Inspector, Chromium: reloading of inspected page hits assert in InspectorController::enableDebuggerFromFrontend()
3069         https://bugs.webkit.org/show_bug.cgi?id=43780
3070
3071         * src/WebDevToolsAgentImpl.cpp:
3072         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
3073
3074 2010-08-10  Hans Wennborg  <hans@chromium.org>
3075
3076         Reviewed by Jeremy Orlow.
3077
3078         Implement chromium WebDeviceOrientationClient wrapper and have WebViewImpl get it from WebViewClient.
3079         https://bugs.webkit.org/show_bug.cgi?id=43258
3080
3081         Provide a DeviceOrientationClient to Page by means of a
3082         DeviceOrientationClientProxy that proxies calls to
3083         a WebDeviceOrientationClient, an interface that can be implemented
3084         in the WebKit or Chromium layer. An implementation to be used for
3085         layout tests, wrapping DeviceOrientationClientMock, is provided.
3086
3087
3088         * WebKit.gyp:
3089         * public/WebDeviceOrientation.h: Added.
3090         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
3091         * public/WebDeviceOrientationClient.h: Added.
3092         (WebKit::WebDeviceOrientationClient::~WebDeviceOrientationClient):
3093         * public/WebDeviceOrientationClientMock.h: Added.
3094         (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
3095         (WebKit::WebDeviceOrientationClientMock::~WebDeviceOrientationClientMock):
3096         * public/WebDeviceOrientationController.h: Added.
3097         (WebKit::WebDeviceOrientationController::WebDeviceOrientationController):
3098         * public/WebViewClient.h:
3099         (WebKit::WebViewClient::deviceOrientationClient):
3100         * src/DeviceOrientationClientProxy.cpp: Added.
3101         (WebKit::DeviceOrientationClientProxy::setController):
3102         (WebKit::DeviceOrientationClientProxy::startUpdating):
3103         (WebKit::DeviceOrientationClientProxy::stopUpdating):
3104         (WebKit::DeviceOrientationClientProxy::lastOrientation):
3105         * src/DeviceOrientationClientProxy.h: Added.
3106         (WebKit::DeviceOrientationClientProxy::DeviceOrientationClientProxy):
3107         * src/WebDeviceOrientation.cpp: Added.
3108         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
3109         (WebKit::WebDeviceOrientation::operator=):
3110         (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>):
3111         * src/WebDeviceOrientationClientMock.cpp: Added.
3112         (WebKit::WebDeviceOrientationClientMock::setController):
3113         (WebKit::WebDeviceOrientationClientMock::startUpdating):
3114         (WebKit::WebDeviceOrientationClientMock::stopUpdating):
3115         (WebKit::WebDeviceOrientationClientMock::lastOrientation):
3116         (WebKit::WebDeviceOrientationClientMock::setOrientation):
3117         (WebKit::WebDeviceOrientationClientMock::initialize):
3118         (WebKit::WebDeviceOrientationClientMock::reset):
3119         * src/WebDeviceOrientationController.cpp: Added.
3120         (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
3121         (WebKit::WebDeviceOrientationController::controller):
3122         * src/WebViewImpl.cpp:
3123         (WebKit::WebView::create):
3124         (WebKit::WebViewImpl::WebViewImpl):
3125         * src/WebViewImpl.h:
3126
3127 2010-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3128
3129         Unreviewed, rolling out r64988.
3130         http://trac.webkit.org/changeset/64988
3131         https://bugs.webkit.org/show_bug.cgi?id=43775
3132
3133         "It seems to break chromium's ui_tests" (Requested by hamaji
3134         on #webkit).
3135
3136         * public/WebFrameClient.h:
3137         * src/FrameLoaderClientImpl.cpp:
3138         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
3139
3140 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
3141
3142         Unreviewed. Remove references to deleted header InspectorFrontend.h
3143
3144         * src/WebDevToolsAgentImpl.cpp:
3145
3146 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
3147
3148         Unreviewed. Fix Chromium compilation.
3149
3150         * src/WebDevToolsAgentImpl.cpp:
3151         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
3152
3153 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
3154
3155         Speculative chromium build fix V.
3156
3157         * tests/KURLTest.cpp:
3158         (ComponentCase::TEST):
3159
3160 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
3161
3162         Speculative chromium build fix IV.
3163
3164         * src/WebPageSerializerImpl.h:
3165
3166 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
3167
3168         Speculative chromium build fix II.
3169
3170         * src/AssertMatchingEnums.cpp:
3171
3172 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
3173
3174         Speculative chromium build fix.
3175
3176         * public/WebCString.h:
3177
3178 2010-08-06  Gavin Barraclough  <barraclough@apple.com>
3179
3180         Rubber stamped by Sam Weinig
3181
3182         Bug 43594 - Add string forwards to Forward.h
3183         This allows us to remove forward declarations for these classes from
3184         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
3185
3186         * public/WebCString.h:
3187         * public/WebString.h:
3188         * src/DOMUtilitiesPrivate.h:
3189         * src/DebuggerAgentImpl.h:
3190         * src/DebuggerAgentManager.h:
3191         * src/WebDevToolsAgentImpl.h:
3192         * src/WebDevToolsFrontendImpl.h:
3193         * src/WebPageSerializerImpl.h:
3194
3195 2010-08-09  Vangelis Kokkevis  <vangelis@chromium.org>
3196
3197         Reviewed by Dimitri Glazkov.
3198
3199         Skip the slow software rendering path of GraphicsContext3D if accelerated
3200         compositing is active. This fixes an issue with WebGL and the compositor
3201         in which the software rendering of WebGL would cause the current GL context
3202         to change while the compositor was processing layers. Tested by running
3203         several WebGL samples both with the compositor enabled and disabled.
3204         https://bugs.webkit.org/show_bug.cgi?id=43644
3205
3206         * src/GraphicsContext3D.cpp:
3207         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
3208         (WebCore::GraphicsContext3DInternal::initialize):
3209         (WebCore::GraphicsContext3DInternal::beginPaint):
3210
3211 2010-08-06  James Hawkins  <jhawkins@chromium.org>
3212
3213         Reviewed by Dimitri Glazkov.
3214
3215         [Chromium] Notify the WebFrameClient when the frame is detached from
3216         the view. This is used to clear the cached frame in the FormManager.
3217         Eventually this will be removed once handling forms is moved into
3218         WebCore.
3219         https://bugs.webkit.org/show_bug.cgi?id=43648
3220
3221         * public/WebFrameClient.h:
3222         (WebKit::WebFrameClient::frameDetached):
3223         * src/FrameLoaderClientImpl.cpp:
3224         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
3225
3226 2010-08-09  Pavel Feldman  <pfeldman@chromium.org>
3227
3228         Not reviewed: Chromium tests fix.
3229
3230         Chromium: provisional interactive ui tests fix.
3231
3232         * src/js/Tests.js:
3233         (.TestSuite.prototype.testShowStoragePanel.this):
3234         (.TestSuite.prototype.testShowStoragePanel):
3235
3236 2010-08-09  Pavel Feldman  <pfeldman@chromium.org>
3237
3238         Not reviewed. Chromium tests fix.
3239
3240         Disable runtime switch for device motion in chromium.
3241         https://bugs.webkit.org/show_bug.cgi?id=43717
3242
3243         * src/WebViewImpl.cpp:
3244         (WebKit::WebView::create):
3245
3246 2010-08-09  Pavel Feldman  <pfeldman@chromium.org>
3247
3248         Reviewed by Yury Semikhatsky.
3249
3250         Chromium: Remove temporary device motion fix.
3251
3252         https://bugs.webkit.org/show_bug.cgi?id=43713
3253
3254         * src/WebRuntimeFeatures.cpp:
3255         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
3256
3257 2010-08-07  Jay Civelli  <jcivelli@chromium.org>
3258
3259         Reviewed by Eric Seidel.
3260
3261         Removed unecessary focus code.
3262         https://bugs.webkit.org/show_bug.cgi?id=43542
3263
3264         * src/ChromiumBridge.cpp:
3265
3266 2010-08-06  Victor Wang  <victorw@chromium.org>
3267
3268         Reviewed by Kent Tamura.
3269
3270         [Chromium] Add dllimport/dllexport to WebSpeechInputControllerMock::create
3271         so it works for windows dll build.
3272
3273         https://bugs.webkit.org/show_bug.cgi?id=43627
3274
3275         * public/WebSpeechInputControllerMock.h:
3276
3277 2010-08-06  James Robinson  <jamesr@chromium.org>
3278
3279         Reviewed by Simon Fraser.
3280
3281         Composited canvas should be treated the same by the compositor and not be WebGL specific
3282         https://bugs.webkit.org/show_bug.cgi?id=43589
3283
3284         Initializes the platformLayer as a CanvasLayerChromium, not a WebGLLayerChromium.
3285         The layer itself isn't WebGL-specific.
3286
3287         * src/GraphicsContext3D.cpp:
3288         (WebCore::GraphicsContext3DInternal::initialize):
3289         (WebCore::GraphicsContext3DInternal::platformLayer):
3290         (WebCore::GraphicsContext3D::platformLayer):
3291
3292 2010-08-06  Jessie Berlin  <jberlin@apple.com>
3293
3294         Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
3295         Unreviewed.
3296
3297         * public/WebCString.h:
3298         * public/WebString.h:
3299         * src/DOMUtilitiesPrivate.h:
3300         * src/DebuggerAgentImpl.h:
3301         * src/DebuggerAgentManager.h:
3302         * src/WebDevToolsAgentImpl.h:
3303         * src/WebDevToolsFrontendImpl.h:
3304         * src/WebPageSerializerImpl.h:
3305
3306 2010-08-06  Pavel Feldman  <pfeldman@chromium.org>
3307
3308         Reviewed by Yury Semikhatsky.
3309
3310         Chromium: disable device motion by default.
3311
3312         https://bugs.webkit.org/show_bug.cgi?id=43623
3313
3314         * public/WebRuntimeFeatures.h:
3315         * src/WebRuntimeFeatures.cpp:
3316         (WebKit::WebRuntimeFeatures::enableDeviceMotion):
3317         (WebKit::WebRuntimeFeatures::isDeviceMotionEnabled):
3318         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
3319
3320 2010-08-06  Kavita Kanetkar  <kkanetkar@chromium.org>
3321
3322         Reviewed by Joseph Pecoraro.
3323
3324         Web Inspector: Remove "Online/Offline" icon for Chrome's appcache devtools UI.
3325         https://bugs.webkit.org/show_bug.cgi?id=43450
3326
3327         * src/js/DevTools.js:
3328         (WebInspector.loaded):
3329
3330 2010-08-05  Marcus Bulach  <bulach@chromium.org>
3331
3332         Reviewed by Jeremy Orlow.
3333
3334         Initial bindings and plumbing for IDBCursor.
3335         https://bugs.webkit.org/show_bug.cgi?id=41888
3336
3337         Test: storage/indexeddb/idb-opencursor.html
3338
3339         * WebKit.gyp:
3340         * public/WebIDBCallbacks.h:
3341         (WebKit::WebIDBCallbacks::onSuccess):
3342         * public/WebIDBCursor.h: Added.
3343         (WebKit::WebIDBCursor::~WebIDBCursor):
3344         (WebKit::WebIDBCursor::direction):
3345         (WebKit::WebIDBCursor::key):
3346         (WebKit::WebIDBCursor::value):
3347         (WebKit::WebIDBCursor::update):
3348         (WebKit::WebIDBCursor::continueFunction):
3349         (WebKit::WebIDBCursor::remove):
3350         * public/WebIDBKeyRange.h: Added.
3351         (WebKit::WebIDBKeyRange::~WebIDBKeyRange):
3352         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
3353         * public/WebIDBObjectStore.h:
3354         (WebKit::WebIDBObjectStore::openCursor):
3355         * src/IDBCallbacksProxy.cpp:
3356         (WebCore::IDBCallbacksProxy::onSuccess):
3357         * src/IDBCallbacksProxy.h:
3358         * src/IDBCursorBackendProxy.cpp: Added.
3359         (WebCore::IDBCursorBackendProxy::create):
3360         (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
3361         (WebCore::IDBCursorBackendProxy::~IDBCursorBackendProxy):
3362         (WebCore::IDBCursorBackendProxy::direction):
3363         (WebCore::IDBCursorBackendProxy::key):
3364         (WebCore::IDBCursorBackendProxy::value):
3365         (WebCore::IDBCursorBackendProxy::update):
3366         (WebCore::IDBCursorBackendProxy::continueFunction):
3367         (WebCore::IDBCursorBackendProxy::remove):
3368         * src/IDBCursorBackendProxy.h: Added.
3369         * src/IDBObjectStoreProxy.cpp:
3370         (WebCore::IDBObjectStoreProxy::openCursor):
3371         * src/IDBObjectStoreProxy.h:
3372         * src/WebIDBCallbacksImpl.cpp:
3373         (WebCore::WebIDBCallbacksImpl::onSuccess):
3374         * src/WebIDBCallbacksImpl.h:
3375         * src/WebIDBCursorImpl.cpp: Added.
3376         (WebKit::WebIDBCursorImpl::WebIDBCursorImpl):
3377         (WebKit::WebIDBCursorImpl::~WebIDBCursorImpl):
3378         (WebKit::WebIDBCursorImpl::direction):
3379         (WebKit::WebIDBCursorImpl::key):
3380         (WebKit::WebIDBCursorImpl::value):
3381         (WebKit::WebIDBCursorImpl::update):
3382         (WebKit::WebIDBCursorImpl::continueFunction):
3383         (WebKit::WebIDBCursorImpl::remove):
3384         * src/WebIDBCursorImpl.h: Added.
3385         * src/WebIDBKeyRange.cpp: Added.
3386         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
3387         (WebKit::WebIDBKeyRange::assign):
3388         (WebKit::WebIDBKeyRange::reset):
3389         (WebKit::WebIDBKeyRange::left):
3390         (WebKit::WebIDBKeyRange::right):
3391         (WebKit::WebIDBKeyRange::flags):
3392         * src/WebIDBObjectStoreImpl.cpp:
3393         (WebKit::WebIDBObjectStoreImpl::openCursor):
3394         * src/WebIDBObjectStoreImpl.h:
3395
3396 2010-08-05  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>
3397
3398         Reviewed by Jeremy Orlow.
3399
3400         [IndexedDB] IndexedDB is missing the Transaction interface.
3401         https://bugs.webkit.org/show_bug.cgi?id=42970
3402
3403         Add IDBTransaction boilerplate.
3404
3405         * src/IDBDatabaseProxy.cpp:
3406         (WebCore::IDBDatabaseProxy::transaction):
3407         * src/IDBDatabaseProxy.h:
3408
3409 2010-08-05  Gavin Barraclough  <barraclough@apple.com>
3410
3411         Rubber stamped by Sam Weinig
3412
3413         Bug 43594 - Add string forwards to Forward.h
3414         This allows us to remove forward declarations for these classes from
3415         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
3416
3417         * public/WebCString.h:
3418         * public/WebString.h:
3419         * src/DOMUtilitiesPrivate.h:
3420         * src/DebuggerAgentImpl.h:
3421         * src/DebuggerAgentManager.h:
3422         * src/WebDevToolsAgentImpl.h:
3423         * src/WebDevToolsFrontendImpl.h:
3424         * src/WebPageSerializerImpl.h:
3425
3426 2010-08-05  Brett Wilson  <brettw@chromium.org>
3427
3428         Reviewed by Nate Chapin.
3429
3430         Make the webkit unit tests depend on test_support_base
3431         https://bugs.webkit.org/show_bug.cgi?id=43584
3432
3433         * WebKit.gyp:
3434
3435 2010-08-04  Kenneth Russell  <kbr@google.com>
3436
3437         Reviewed by Dimitri Glazkov.
3438
3439         Style cleanups in WebGL
3440         https://bugs.webkit.org/show_bug.cgi?id=38761
3441
3442         Cleaned up all style violations in WebGL-related files reported by
3443         check-webkit-style. No logic or other changes. Built WebKit and
3444         Chromium and ran WebGL layout tests.
3445
3446         * src/GraphicsContext3D.cpp:
3447         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
3448         * src/WebGraphicsContext3DDefaultImpl.cpp:
3449         * src/WebGraphicsContext3DDefaultImpl.h:
3450
3451 2010-08-05  Jian Li  <jianli@chromium.org>
3452
3453         Reviewed by David Levin.
3454
3455         Unify blob related feature defines to ENABLE(BLOB).
3456         https://bugs.webkit.org/show_bug.cgi?id=43081
3457
3458         * features.gypi:
3459         * src/WebHTTPBody.cpp:
3460         (WebKit::WebHTTPBody::elementAt):
3461         (WebKit::WebHTTPBody::appendFileRange):
3462
3463 2010-08-05  Nico Weber  <thakis@chromium.org>
3464
3465         Reviewed by Jeremy Orlow.
3466
3467         Remove useless const on return-by-value (fixes a clang warning)
3468         https://bugs.webkit.org/show_bug.cgi?id=43491
3469
3470         * src/WebInputEventConversion.cpp:
3471         (WebKit::toPlatformKeyboardEventType):
3472
3473 2010-08-05  Satish Sampath  <satish@chromium.org>
3474
3475         Reviewed by Jeremy Orlow.
3476
3477         Add speech input controller mock in WebKit and a layout test.
3478         https://bugs.webkit.org/show_bug.cgi?id=43477
3479
3480         * WebKit.gyp:
3481         * public/WebSpeechInputControllerMock.h: Added WebKit speech input controller mock interface.
3482         * src/WebSpeechInputControllerMockImpl.cpp: Added implementation of the above mock.
3483         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
3484         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
3485         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
3486         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
3487         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
3488         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
3489         (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
3490         (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
3491         (WebKit::WebSpeechInputControllerMock::create):
3492
3493 2010-08-05  Pavel Feldman  <pfeldman@chromium.org>
3494
3495         Reviewed by Yury Semikhatsky.
3496
3497         Chromium DevTools: [REGRESSION] Frame navigation is not handled in devtools.
3498
3499         https://bugs.webkit.org/show_bug.cgi?id=43556
3500
3501         * src/WebDevToolsAgentImpl.cpp:
3502         (WebKit::):
3503         (WebKit::WebDevToolsAgentImpl::detach):
3504         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
3505         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
3506
3507 2010-08-05  John Gregg  <johnnyg@google.com>
3508
3509         Reviewed by Darin Fisher.
3510
3511         [chromium] WebFileChooserParams should have default constructor
3512         https://bugs.webkit.org/show_bug.cgi?id=43435
3513
3514         * public/WebFileChooserParams.h:
3515         (WebKit::WebFileChooserParams::WebFileChooserParams):
3516
3517 2010-08-05  Victoria Kirst  <vrk@google.com>
3518
3519         Reviewed by David Levin.
3520
3521         Added a repaint request so that VideoLayerChromium does not have
3522         a flickering problem when playing video.
3523         https://bugs.webkit.org/show_bug.cgi?id=43101
3524
3525         * src/WebMediaPlayerClientImpl.cpp:
3526         (WebKit::WebMediaPlayerClientImpl::repaint):
3527
3528 2010-08-05  Pavel Feldman  <pfeldman@chromium.org>
3529
3530         Reviewed by Yury Semikhatsky.
3531
3532         DevTools: get rid of delayed command dispatching on front-end side.
3533
3534         https://bugs.webkit.org/show_bug.cgi?id=43479
3535
3536         * public/WebDevToolsFrontendClient.h:
3537         (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded):
3538         * src/WebDevToolsAgentImpl.cpp:
3539         (WebKit::WebDevToolsAgentImpl::attach):
3540         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
3541         * src/WebDevToolsAgentImpl.h:
3542         * src/WebDevToolsFrontendImpl.cpp:
3543         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3544         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
3545         * src/WebDevToolsFrontendImpl.h:
3546         * src/js/DevTools.js:
3547         (WebInspector.doLoadedDone):
3548         * src/js/Tests.js:
3549         (.uiTests.runTest):
3550         (.):
3551
3552 2010-08-02  Kenneth Russell  <kbr@google.com>
3553
3554         Reviewed by Dimitri Glazkov.
3555
3556         Port Chromium's accelerated compositing to Mac OS X
3557         https://bugs.webkit.org/show_bug.cgi?id=43398
3558
3559         * public/WebGLES2Context.h:
3560          - Added resizeOnscreenContent, needed on Mac OS X to report
3561            window size changes.
3562         * src/WebViewImpl.cpp:
3563         (WebKit::WebViewImpl::resize):
3564          - Send resize notification to the WebGLES2Context.
3565         (WebKit::WebViewImpl::updateRootLayerContents):
3566          - Ported to Core Graphics.
3567         (WebKit::WebViewImpl::gles2Context):
3568          - Added initial size notification upon context creation.
3569
3570 2010-08-04  Pavel Feldman  <pfeldman@chromium.org>
3571
3572         Reviewed by Yury Semikhatsky.
3573
3574         DevTools: get rid of delayed command dispatching on front-end side.
3575
3576         https://bugs.webkit.org/show_bug.cgi?id=43479
3577
3578         * public/WebDevToolsAgent.h:
3579         * src/WebDevToolsAgentImpl.cpp:
3580         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
3581         * src/WebDevToolsAgentImpl.h:
3582
3583 2010-08-03  James Robinson  <jamesr@chromium.org>
3584
3585         Reviewed by Darin Fisher.
3586
3587         Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API
3588         https://bugs.webkit.org/show_bug.cgi?id=43221
3589
3590         Implements functions in term of Platform3DObjects instead of WebGL types.
3591
3592         * src/GraphicsContext3D.cpp:
3593         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
3594         (WebCore::GraphicsContext3DInternal::beginPaint):
3595         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
3596         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
3597         (WebCore::GraphicsContext3DInternal::getActiveUniform):
3598         (WebCore::GraphicsContext3DInternal::getAttribLocation):
3599         (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
3600         (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
3601         (WebCore::GraphicsContext3DInternal::getShaderSource):
3602         (WebCore::GraphicsContext3DInternal::getUniformLocation):
3603         (WebCore::GraphicsContext3DInternal::shaderSource):
3604
3605 2010-08-03  Dimitri Glazkov  <dglazkov@chromium.org>
3606
3607         Unreviewed, build fix.
3608
3609         Roll chromium to 54723 to unbreak the builds.
3610
3611         * DEPS:
3612
3613 2010-08-03  Andrei Popescu  <andreip@google.com>
3614
3615         Reviewed by Jeremy Orlow.
3616
3617         [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore
3618         https://bugs.webkit.org/show_bug.cgi?id=43420
3619
3620         * src/IDBCallbacksProxy.cpp:
3621         (WebCore::IDBCallbacksProxy::onSuccess):
3622         * src/IDBCallbacksProxy.h:
3623         * src/IDBDatabaseProxy.cpp:
3624         (WebCore::IDBDatabaseProxy::objectStore):
3625         * src/IDBDatabaseProxy.h:
3626         * src/IDBObjectStoreProxy.cpp:
3627         (WebCore::IDBObjectStoreProxy::create):
3628         * src/IDBObjectStoreProxy.h:
3629         * src/WebIDBObjectStoreImpl.cpp:
3630         (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
3631         * src/WebIDBObjectStoreImpl.h:
3632
3633 2010-08-03  Yury Semikhatsky  <yurys@chromium.org>
3634
3635         Unreviewed. Fix Chromium interactive UI tests.
3636
3637         * src/js/Tests.js:
3638         (.TestSuite.prototype.testResourceHeaders):
3639
3640 2010-07-30  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>
3641
3642         Reviewed by Jeremy Orlow.
3643
3644         Rename IDBDatabaseRequest to IDBDatabase
3645         https://bugs.webkit.org/show_bug.cgi?id=43250
3646
3647         * src/IDBCallbacksProxy.cpp:
3648         (WebCore::IDBCallbacksProxy::onSuccess):
3649         * src/IDBCallbacksProxy.h:
3650         * src/IDBDatabaseProxy.cpp:
3651         (WebCore::IDBDatabaseProxy::create):
3652         * src/IDBDatabaseProxy.h:
3653         * src/WebIDBDatabaseImpl.cpp:
3654         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
3655         (WebKit::WebIDBDatabaseImpl::name):
3656         (WebKit::WebIDBDatabaseImpl::description):
3657         (WebKit::WebIDBDatabaseImpl::version):
3658         (WebKit::WebIDBDatabaseImpl::objectStores):
3659         (WebKit::WebIDBDatabaseImpl::createObjectStore):
3660         (WebKit::WebIDBDatabaseImpl::objectStore):
3661         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
3662         * src/WebIDBDatabaseImpl.h:
3663
3664 2010-08-02  Pavel Feldman  <pfeldman@chromium.org>
3665
3666         Reviewed by Yury Semikhatsky.
3667
3668         Chromium DevTools: Get rid of DevTools RPC.
3669
3670         https://bugs.webkit.org/show_bug.cgi?id=43335
3671
3672         * WebKit.gyp:
3673         * public/WebDevToolsAgent.h:
3674         * public/WebDevToolsAgentClient.h:
3675         (WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend):
3676         (WebKit::WebDevToolsAgentClient::sendDebuggerOutput):
3677         (WebKit::WebDevToolsAgentClient::sendDispatchToAPU):
3678         * public/WebDevToolsFrontend.h:
3679         * public/WebDevToolsFrontendClient.h:
3680         (WebKit::WebDevToolsFrontendClient::sendMessageToBackend):
3681         * public/WebDevToolsMessageData.h: Removed.
3682         * public/WebDevToolsMessageTransport.h: Removed.
3683         * src/APUAgentDelegate.h: Removed.
3684         * src/DebuggerAgent.h: Removed.
3685         * src/DebuggerAgentImpl.cpp:
3686         (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
3687         (WebKit::DebuggerAgentImpl::debuggerOutput):
3688         * src/DebuggerAgentImpl.h:
3689         * src/DebuggerAgentManager.cpp:
3690         (WebKit::DebuggerAgentManager::debugDetach):
3691         (WebKit::DebuggerAgentManager::onV8DebugMessage):
3692         (WebKit::DebuggerAgentManager::executeDebuggerCommand):
3693         (WebKit::DebuggerAgentManager::sendCommandToV8):
3694         (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
3695         * src/DevToolsRPC.h: Removed.
3696         * src/DevToolsRPCJS.h: Removed.
3697         * src/InspectorClientImpl.cpp:
3698         * src/InspectorFrontendClientImpl.cpp:
3699         (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
3700         * src/ProfilerAgent.h: Removed.
3701         * src/ProfilerAgentImpl.cpp: Removed.
3702         * src/ProfilerAgentImpl.h: Removed.
3703         * src/ToolsAgent.h: Removed.
3704         * src/WebDevToolsAgentImpl.cpp:
3705         (WebKit::):
3706         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
3707         (WebKit::WebDevToolsAgentImpl::attach):
3708         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
3709         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend):
3710         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
3711         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
3712         * src/WebDevToolsAgentImpl.h:
3713         * src/WebDevToolsFrontendImpl.cpp:
3714         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
3715         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3716         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
3717         (WebKit::WebDevToolsFrontendImpl::executeScript):
3718         * src/WebDevToolsFrontendImpl.h:
3719         * src/js/DevTools.js:
3720         (devtools.dispatch):
3721         (devtools.ToolsAgent):
3722         * src/js/DevToolsHostStub.js:
3723         * src/js/ProfilerAgent.js:
3724         (devtools.ProfilerAgent):
3725         (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
3726         (devtools.ProfilerAgent.prototype._getNextLogLines):
3727         (devtools.ProfilerAgent.prototype._didGetProfilerLogLines):
3728         * src/js/ProfilerProcessor.js:
3729         (devtools.profiler.Processor.prototype.printError):
3730
3731 2010-08-02  Kent Tamura  <tkent@chromium.org>
3732
3733         Reviewed by Dimitri Glazkov.
3734
3735         [DRT/Chromium] Remove dependencies to some Chromium headers
3736         https://bugs.webkit.org/show_bug.cgi?id=43396
3737
3738         * DEPS: Update Chromium revision to 54649 in order to have a
3739         webkit_support change (r54646)
3740
3741 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
3742
3743         Reviewed by Darin Fisher.
3744
3745         PopupMenu refactoring in preparation to WebKit2
3746         https://bugs.webkit.org/show_bug.cgi?id=42592
3747
3748         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
3749         instances, concrete classes that inherit from ChromeClient needed to be changed to
3750         implement the new methods.
3751
3752         * src/ChromeClientImpl.cpp:
3753         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
3754         (WebKit::ChromeClientImpl::createPopupMenu):
3755         (WebKit::ChromeClientImpl::createSearchPopupMenu):
3756         * src/ChromeClientImpl.h:
3757
3758 2010-08-02  Kent Tamura  <tkent@chromium.org>
3759
3760         Reviewed by Dimitri Glazkov.
3761
3762         [DRT/Chromium] Always initialize GTK
3763         https://bugs.webkit.org/show_bug.cgi?id=43327
3764
3765         * WebKit.gyp: Add GTK dependency for DRT.
3766
3767 2010-08-02  Jeremy Orlow  <jorlow@chromium.org>
3768
3769         Speculative revert of 64425 due to Chromium instability
3770         https://bugs.webkit.org/show_bug.cgi?id=43347
3771
3772         * src/ChromeClientImpl.cpp:
3773         * src/ChromeClientImpl.h:
3774         * tests/PopupMenuTest.cpp:
3775         (WebKit::SelectPopupMenuTest::SetUp):
3776
3777 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
3778
3779         Reviewed by Darin Fisher.
3780
3781         PopupMenu refactoring in preparation to WebKit2
3782         https://bugs.webkit.org/show_bug.cgi?id=42592
3783
3784         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
3785         instances, concrete classes that inherit from ChromeClient needed to be changed to
3786         implement the new methods.
3787
3788         * src/ChromeClientImpl.cpp:
3789         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
3790         (WebKit::ChromeClientImpl::createPopupMenu):
3791         (WebKit::ChromeClientImpl::createSearchPopupMenu):
3792         * src/ChromeClientImpl.h:
3793
3794 2010-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3795
3796         Unreviewed, rolling out r64422.
3797         http://trac.webkit.org/changeset/64422
3798         https://bugs.webkit.org/show_bug.cgi?id=43304
3799
3800         Build fixes are needed for Snow Leopard and Windows.
3801         (Requested by lca on #webkit).
3802
3803         * src/ChromeClientImpl.cpp:
3804         * src/ChromeClientImpl.h:
3805
3806 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
3807
3808         Reviewed by Darin Fisher.
3809
3810         PopupMenu refactoring in preparation to WebKit2
3811         https://bugs.webkit.org/show_bug.cgi?id=42592
3812
3813         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
3814         instances, concrete classes that inherit from ChromeClient needed to be changed to
3815         implement the new methods.
3816
3817         * src/ChromeClientImpl.cpp:
3818         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
3819         (WebKit::ChromeClientImpl::createPopupMenu):
3820         (WebKit::ChromeClientImpl::createSearchPopupMenu):
3821         * src/ChromeClientImpl.h:
3822
3823 2010-07-30  Joseph Pecoraro  <joepeck@webkit.org>
3824
3825         Reviewed by David Kilzer.
3826
3827         Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
3828         https://bugs.webkit.org/show_bug.cgi?id=40627
3829
3830         * src/ChromeClientImpl.cpp:
3831         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
3832         * src/ChromeClientImpl.h:
3833
3834 2010-07-30  James Robinson  <jamesr@chromium.org>
3835
3836         Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of
3837         USE(ACCELERATED_COMPOSITING) to match WebCore.  Fixes the compile when
3838         USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false.
3839
3840         * src/ChromeClientImpl.cpp:
3841         * src/ChromeClientImpl.h:
3842
3843 2010-07-27  Darin Fisher  <darin@chromium.org>
3844
3845         Reviewed by Brady Eidson.
3846
3847         History.pushState() + navigation operates on top frame when called from
3848         nested context
3849         https://bugs.webkit.org/show_bug.cgi?id=43080
3850
3851         * src/FrameLoaderClientImpl.cpp:
3852         (WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource
3853         can be null if the Frame has already been detached from the Page.  This
3854         happens if a popstate event handler removes the frame.
3855
3856 2010-07-29  Jeremy Orlow  <jorlow@chromium.org>
3857
3858         Reviewed by Steve Block.
3859
3860         Rename all the IDBIndex classses to match the latest conventions
3861         https://bugs.webkit.org/show_bug.cgi?id=43190
3862
3863         Fix up stuff in WebKit layer to handle the renamings in WebCore.
3864
3865         * WebKit.gyp:
3866         * src/IDBCallbacksProxy.cpp:
3867         (WebCore::IDBCallbacksProxy::onSuccess):
3868         * src/IDBCallbacksProxy.h:
3869         * src/IDBIndexBackendProxy.cpp: Added.
3870         (WebCore::IDBIndexBackendProxy::create):
3871         (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
3872         (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy):
3873         (WebCore::IDBIndexBackendProxy::name):
3874         (WebCore::IDBIndexBackendProxy::keyPath):
3875         (WebCore::IDBIndexBackendProxy::unique):
3876         * src/IDBIndexBackendProxy.h: Added.
3877         * src/IDBIndexProxy.cpp: Removed.
3878         * src/IDBIndexProxy.h: Removed.
3879         * src/IDBObjectStoreProxy.cpp:
3880         (WebCore::IDBObjectStoreProxy::index):
3881         * src/IDBObjectStoreProxy.h:
3882         * src/WebIDBCallbacksImpl.cpp:
3883         (WebCore::WebIDBCallbacksImpl::onSuccess):
3884         * src/WebIDBIndexImpl.cpp:
3885         (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
3886         (WebKit::WebIDBIndexImpl::name):
3887         (WebKit::WebIDBIndexImpl::keyPath):
3888         (WebKit::WebIDBIndexImpl::unique):
3889         * src/WebIDBIndexImpl.h:
3890         * src/WebIDBObjectStoreImpl.cpp:
3891         (WebKit::WebIDBObjectStoreImpl::index):
3892
3893 2010-07-30  Satish Sampath  <satish@chromium.org>
3894
3895         Reviewed by Jeremy Orlow.
3896
3897         Add a check for WebViewClient being null.
3898         https://bugs.webkit.org/show_bug.cgi?id=43240
3899
3900         * src/SpeechInputClientImpl.cpp:
3901         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
3902
3903 2010-07-30  Hans Wennborg  <hans@chromium.org>
3904
3905         Reviewed by Steve Block.
3906
3907         Disable runtime switch for device orientation in chromium
3908         https://bugs.webkit.org/show_bug.cgi?id=43237
3909
3910         Explicitly set the runtime switch for device orientation
3911         in WebView::create until we implement the feature.
3912         If the flag is accidentally on while no DeviceOrientationClient
3913         is provided, the program will crash.
3914
3915         * src/WebViewImpl.cpp:
3916         (WebKit::WebView::create):
3917
3918 2010-07-26  Andrei Popescu  <andreip@google.com>
3919
3920         Reviewed by Jeremy Orlow.
3921
3922         [IndexedDB] IndexedDatabase should be called IDBFactory.
3923         https://bugs.webkit.org/show_bug.cgi?id=42967
3924
3925         * WebKit.gyp:
3926         * public/WebIDBFactory.h: Added.
3927         (WebKit::WebIDBFactory::~WebIDBFactory):
3928         (WebKit::WebIDBFactory::databases):
3929         (WebKit::WebIDBFactory::open):
3930         * public/WebIndexedDatabase.h: Removed.
3931         * public/WebKitClient.h:
3932         (WebKit::WebKitClient::idbFactory):
3933         * src/ChromiumBridge.cpp:
3934         (WebCore::ChromiumBridge::idbFactory):
3935         * src/IDBFactoryBackendProxy.cpp: Added.
3936         (WebCore::IDBFactoryBackendProxy::create):
3937         (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
3938         (WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy):
3939         (WebCore::IDBFactoryBackendProxy::open):
3940         * src/IDBFactoryBackendProxy.h: Added.
3941         * src/IndexedDatabaseProxy.cpp: Removed.
3942         * src/IndexedDatabaseProxy.h: Removed.
3943         * src/WebIDBFactoryImpl.cpp: Added.
3944         (WebKit::WebIDBFactory::create):
3945         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
3946         (WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl):
3947         (WebKit::WebIDBFactoryImpl::open):
3948         * src/WebIDBFactoryImpl.h: Added.
3949         * src/WebIndexedDatabaseImpl.cpp: Removed.
3950         * src/WebIndexedDatabaseImpl.h: Removed.
3951
3952 2010-07-29  Andrei Popescu  <andreip@google.com>
3953
3954         Reviewed by Jeremy Orlow.
3955
3956         [IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build
3957         https://bugs.webkit.org/show_bug.cgi?id=43186
3958
3959         Add WEBKIT_API to WebDOMStringList default ctor.
3960
3961         * public/WebDOMStringList.h:
3962
3963 2010-07-29  Satish Sampath  <satish@chromium.org>
3964
3965         Reviewed by Steve Block.
3966
3967         Runtime feature switch for speech input
3968         https://bugs.webkit.org/show_bug.cgi?id=43146
3969
3970         Add a runtime feature switch that decides whether speech input attributes are available or not.
3971         Defaults to true.
3972
3973         * public/WebRuntimeFeatures.h:
3974         * src/SpeechInputClientImpl.cpp:
3975         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
3976         * src/WebRuntimeFeatures.cpp:
3977         (WebKit::WebRuntimeFeatures::enableSpeechInput):
3978         (WebKit::WebRuntimeFeatures::isSpeechInputEnabled):
3979
3980 2010-07-28  Kavita Kanetkar  <kkanetkar@chromium.org>
3981
3982         Reviewed by Pavel Feldman.
3983
3984         Web Inspector: Enable UI for chromium's appcache inspection.
3985         https://bugs.webkit.org/show_bug.cgi?id=43098
3986
3987         * src/js/DevTools.js:
3988         (WebInspector.loaded):
3989
3990 2010-07-28  Dominic Mazzoni  <dmazzoni@google.com>
3991
3992         Reviewed by Dimitri Glazkov.
3993
3994         Add access to the computed style display to WebAccessibilityObject.
3995         https://bugs.webkit.org/show_bug.cgi?id=43044
3996
3997         * public/WebAccessibilityObject.h:
3998         * src/WebAccessibilityObject.cpp:
3999         (WebKit::WebAccessibilityObject::hasComputedStyle):
4000         (WebKit::WebAccessibilityObject::computedStyleDisplay):
4001
4002 2010-07-28  Hans Wennborg  <hans@chromium.org>
4003
4004         Reviewed by Jeremy Orlow.
4005
4006         Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium
4007         https://bugs.webkit.org/show_bug.cgi?id=43122
4008
4009         Enable the compile-time switch for device orientation.
4010         The switch was already enabled in features_override.gypi in the Chromium
4011         repository (in revision 53317), and should be set here as well.
4012
4013         The feature is being implemented behind a run-time flag which
4014         defaults to off in Chromium.
4015
4016         * features.gypi: Set ENABLE_DEVICE_ORIENTATION=1.
4017
4018 2010-07-28  Gene Gutnik  <gene@google.com>
4019
4020         Reviewed by Darin Fisher.
4021
4022         Fix mouse coordinate conversion. WindowX,Y is an absolute
4023         mouse coordinates within browser window, x,y - are coordinates
4024         relative to the plugin.
4025         https://bugs.webkit.org/show_bug.cgi?id=42987
4026
4027         * src/WebInputEventConversion.cpp:
4028         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
4029         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
4030         * src/WebInputEventConversion.h:
4031         * src/WebPluginContainerImpl.cpp:
4032         (WebKit::WebPluginContainerImpl::handleMouseEvent):
4033         (WebKit::WebPluginContainerImpl::handleWheelEvent):
4034
4035 2010-07-28  James Robinson  <jamesr@chromium.org>
4036
4037         Reviewed by Darin Fisher.
4038
4039         [chromium] Add a bool to Settings to control accelerated 2d canvas
4040         https://bugs.webkit.org/show_bug.cgi?id=43094
4041
4042         * public/WebSettings.h:
4043         * src/WebSettingsImpl.cpp:
4044         (WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled):
4045         * src/WebSettingsImpl.h:
4046
4047 2010-07-28  Brett Wilson  <brettw@chromium.org>
4048
4049         Reviewed by Darin Fisher.
4050
4051         Fix forward declares to be struct instead of class.
4052         https://bugs.webkit.org/show_bug.cgi?id=43127
4053
4054         * public/WebFont.h:
4055
4056 2010-07-28  Pavel Feldman  <pfeldman@chromium.org>
4057
4058         Reviewed by Dimitri Glazkov.
4059
4060         Chromium DevTools: [REGRESSION] sourceURL is not respected.
4061
4062         https://bugs.webkit.org/show_bug.cgi?id=43124
4063
4064         * src/js/DebuggerScript.js:
4065
4066 2010-07-28  Andrei Popescu  <andreip@google.com>
4067
4068         Reviewed by Jeremy Orlow.
4069
4070         [IndexedDB] WebDOMStringList default ctor does not initialize its m_private member
4071         variable so any attempt to append strings to a WebDOMStringList instance results in a crash.
4072         https://bugs.webkit.org/show_bug.cgi?id=43120
4073
4074         Makes the default WebKit::WebDOMStringList ctor actually create its wrapped
4075         WebCore::DOMStringList instance.
4076
4077         * public/WebDOMStringList.h:
4078         * src/WebDOMStringList.cpp:
4079         (WebKit::WebDOMStringList::WebDOMStringList):
4080
4081 2010-07-26  Steve Block  <steveblock@google.com>
4082
4083         Reviewed by Jeremy Orlow.
4084
4085         Page clients should be passed to Page constructor via structure of pointers
4086         https://bugs.webkit.org/show_bug.cgi?id=42834
4087
4088         * src/WebViewImpl.cpp:
4089         (WebKit::WebViewImpl::WebViewImpl):
4090
4091 2010-07-28  Pavel Feldman  <pfeldman@chromium.org>
4092
4093         Not reviewed: chromium tests fix.
4094         Chromium Dev Tools: [REGRESSION] Pause is not working.
4095
4096         https://bugs.webkit.org/show_bug.cgi?id=43118
4097
4098         * src/js/DevTools.js:
4099         (InspectorBackend.pause):
4100
4101 2010-07-27  Kinuko Yasuda  <kinuko@chromium.org>
4102
4103         Reviewed by Ojan Vafai.
4104
4105         Add FILE_SYSTEM build flag for FileSystem API
4106         https://bugs.webkit.org/show_bug.cgi?id=42915
4107
4108         * features.gypi:
4109
4110 2010-07-27  James Hawkins  <jhawkins@chromium.org>
4111
4112         Unreviewed Build Fix. 
4113
4114         Add a missing itemIcon() method to TestPopupMenuClient.
4115
4116         * tests/PopupMenuTest.cpp:
4117         (WebKit::TestPopupMenuClient::itemIcon):
4118
4119 2010-07-27  James Hawkins  <jhawkins@chromium.org>
4120
4121         Reviewed by Darin Fisher.
4122
4123         [Chromium] Add the ability to show right-aligned icons in the AutoFill popup.
4124         https://bugs.webkit.org/show_bug.cgi?id=43076
4125
4126         * public/WebView.h:
4127         * src/AutoFillPopupMenuClient.cpp:
4128         (WebKit::AutoFillPopupMenuClient::getIcon):
4129         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
4130         (WebKit::AutoFillPopupMenuClient::itemIcon):
4131         (WebKit::AutoFillPopupMenuClient::initialize):
4132         (WebKit::AutoFillPopupMenuClient::setSuggestions):
4133         * src/AutoFillPopupMenuClient.h:
4134         * src/WebViewImpl.cpp:
4135         (WebKit::WebViewImpl::applyAutoFillSuggestions):
4136         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
4137         * src/WebViewImpl.h:
4138
4139 2010-07-27  Brett Wilson  <brettw@chromium.org>
4140
4141         Reviewed by Darin Fisher.
4142
4143         Add the ability to select fonts and do basic text drawing to the
4144         Chromium WebKit API.
4145         https://bugs.webkit.org/show_bug.cgi?id=42999
4146
4147         * WebKit.gyp:
4148         * public/WebFloatPoint.h: Added.
4149         (WebKit::WebFloatPoint::WebFloatPoint):
4150         (WebKit::WebFloatPoint::operator=):
4151         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
4152         (WebKit::operator==):
4153         (WebKit::operator!=):
4154         * public/WebFloatRect.h: Added.
4155         (WebKit::WebFloatRect::isEmpty):
4156         (WebKit::WebFloatRect::WebFloatRect):
4157         (WebKit::WebFloatRect::operator=):
4158         (WebKit::WebFloatRect::operator WebCore::FloatRect):
4159         (WebKit::operator==):
4160         (WebKit::operator!=):
4161         * public/WebFont.h: Added.
4162         * public/WebFontDescription.h: Added.
4163         (WebKit::WebFontDescription::):
4164         (WebKit::WebFontDescription::WebFontDescription):
4165         * public/WebTextRun.h: Added.
4166         (WebKit::WebTextRun::WebTextRun):
4167         * src/AssertMatchingEnums.cpp:
4168         * src/WebFontDescription.cpp: Added.
4169         (WebKit::WebFontDescription::WebFontDescription):
4170         (WebKit::WebFontDescription::operator WebCore::FontDescription):
4171         * src/WebFontImpl.cpp: Added.
4172         (WebKit::WebFont::Create):
4173         (WebKit::WebFontImpl::WebFontImpl):
4174         (WebKit::WebFontImpl::fontDescription):
4175         (WebKit::WebFontImpl::ascent):
4176         (WebKit::WebFontImpl::descent):
4177         (WebKit::WebFontImpl::height):
4178         (WebKit::WebFontImpl::lineSpacing):
4179         (WebKit::WebFontImpl::xHeight):
4180         (WebKit::WebFontImpl::drawText):
4181         (WebKit::WebFontImpl::width):
4182         (WebKit::WebFontImpl::offsetForPosition):
4183         (WebKit::WebFontImpl::selectionRectForText):
4184         * src/WebFontImpl.h: Added.
4185         * src/WebTextRun.cpp: Added.
4186         (WebKit::WebTextRun::operator WebCore::TextRun):
4187
4188 2010-07-27  Dumitru Daniliuc  <dumi@chromium.org>
4189
4190         Reviewed by David Levin.
4191
4192         Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE).
4193         https://bugs.webkit.org/show_bug.cgi?id=43035
4194
4195         Make Chromium compile with ENABLE_DATABASE=0.
4196
4197         * src/ChromiumBridge.cpp:
4198         (WebCore::ChromiumBridge::databaseGetFileSize):
4199         * src/DatabaseObserver.cpp:
4200         * src/WebDatabase.cpp:
4201         (WebCore::AbstractDatabase::stringIdentifier):
4202         (WebCore::AbstractDatabase::displayName):
4203         (WebCore::AbstractDatabase::estimatedSize):
4204         (WebCore::AbstractDatabase::securityOrigin):
4205         (WebKit::WebDatabase::updateDatabaseSize):
4206         (WebKit::WebDatabase::closeDatabaseImmediately):
4207
4208 2010-07-27  Pavel Podivilov  <podivilov@chromium.org>
4209
4210         Reviewed by Pavel Feldman.
4211
4212         Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
4213         https://bugs.webkit.org/show_bug.cgi?id=41461
4214
4215         * src/js/DebuggerScript.js:
4216         ():
4217
4218 2010-07-27  Ilya Tikhonovsky  <loislo@chromium.org>
4219
4220         Reviewed by Pavel Feldman.
4221
4222         WebInspector: Current implementation of message based inspector
4223         transport generated by CodeGeneratorInspector should be upstreamed
4224         from WebKit/chromium to WebCore.
4225         https://bugs.webkit.org/show_bug.cgi?id=42983
4226
4227         * WebKit.gypi:
4228         * src/InspectorFrontendClientImpl.cpp:
4229         (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
4230         * src/InspectorFrontendClientImpl.h:
4231         * src/ToolsAgent.h:
4232         * src/WebDevToolsAgentImpl.cpp:
4233         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
4234         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
4235         * src/WebDevToolsAgentImpl.h:
4236         * src/js/InspectorControllerImpl.js: Removed.
4237
4238 2010-07-27  Dominic Mazzoni  <dmazzoni@google.com>
4239
4240         Reviewed by Chris Fleizach.
4241
4242         Add accessors for node and document to WebAccessibilityObject,
4243         needed to support some Windows screenreader functionality.
4244
4245         https://bugs.webkit.org/show_bug.cgi?id=43001
4246         
4247         * public/WebAccessibilityObject.h:
4248         * src/WebAccessibilityObject.cpp:
4249         (WebKit::WebAccessibilityObject::node):
4250         (WebKit::WebAccessibilityObject::document):
4251
4252 2010-07-27  Dominic Mazzoni  <dmazzoni@google.com>
4253
4254         Reviewed by Chris Fleizach.
4255
4256         For Windows accessibility, have WebElement provide access
4257         to its attributes.
4258
4259         https://bugs.webkit.org/show_bug.cgi?id=43004
4260
4261         * WebKit.gyp:
4262         * public/WebAttribute.h: Added.
4263         (WebKit::WebAttribute::~WebAttribute):
4264         (WebKit::WebAttribute::WebAttribute):
4265         (WebKit::WebAttribute::operator=):
4266         * public/WebElement.h:
4267         * public/WebNamedNodeMap.h: Added.
4268         (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
4269         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
4270         (WebKit::WebNamedNodeMap::operator=):
4271         * src/WebAttribute.cpp: Added.
4272         (WebKit::WebAttribute::reset):
4273         (WebKit::WebAttribute::assign):
4274         (WebKit::WebAttribute::WebAttribute):
4275         (WebKit::WebAttribute::localName):
4276         (WebKit::WebAttribute::value):
4277         * src/WebElement.cpp:
4278         (WebKit::WebElement::attributes):
4279         * src/WebNamedNodeMap.cpp: Added.
4280         (WebKit::WebNamedNodeMap::reset):
4281         (WebKit::WebNamedNodeMap::assign):
4282         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
4283         (WebKit::WebNamedNodeMap::length):
4284         (WebKit::WebNamedNodeMap::attributeItem):
4285