2010-08-30 Nat Duca <nduca@chromium.org>
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-08-30  Nat Duca  <nduca@chromium.org>
2
3         Reviewed by Adam Barth.
4
5         [chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
6         https://bugs.webkit.org/show_bug.cgi?id=44196
7
8         If accelerated compositing enables after a page loads, the dirtied
9         portion of the screen will be only a subset of the full screen,
10         leading to artefacts. Avoid these artefacts by invalidating the
11         visible content rect on compositor initialization.
12
13         * src/WebViewImpl.cpp:
14         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
15
16 2010-08-30  Kinuko Yasuda  <kinuko@chromium.osrc>
17
18         Reviewed by Darin Fisher.
19
20         Add DOMFileSystem implementation to support Entry manipulation operations
21         https://bugs.webkit.org/show_bug.cgi?id=44732
22
23         Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.)
24
25         * src/AsyncFileSystemChromium.cpp:
26         (WebCore::AsyncFileSystemChromium::move):
27         (WebCore::AsyncFileSystemChromium::copy):
28         (WebCore::AsyncFileSystemChromium::remove):
29         (WebCore::AsyncFileSystemChromium::readMetadata):
30         (WebCore::AsyncFileSystemChromium::createFile):
31         (WebCore::AsyncFileSystemChromium::createDirectory):
32         (WebCore::AsyncFileSystemChromium::fileExists):
33         (WebCore::AsyncFileSystemChromium::directoryExists):
34         (WebCore::AsyncFileSystemChromium::readDirectory):
35
36 2010-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
37
38         Unreviewed, rolling out r66198.
39         http://trac.webkit.org/changeset/66198
40         https://bugs.webkit.org/show_bug.cgi?id=44856
41
42         It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
43
44         * src/InspectorFrontendClientImpl.cpp:
45         * src/InspectorFrontendClientImpl.h:
46
47 2010-08-29  Kent Tamura  <tkent@chromium.org>
48
49         Reviewed by Darin Adler.
50
51         Introduce isValidValue(const String&) of HTMLInputElement and HTMLTextAreaElement
52         https://bugs.webkit.org/show_bug.cgi?id=43537
53
54         * public/WebInputElement.h:
55         * src/WebInputElement.cpp:
56         (WebKit::WebInputElement::isValidValue):
57
58 2010-08-29  Kent Tamura  <tkent@chromium.org>
59
60         Reviewed by Dimitri Glazkov.
61
62         [DRT/Chromium] Remove dependency to base/keyboard_codes.h
63         https://bugs.webkit.org/show_bug.cgi?id=44847
64
65         * DEPS: Roll Chromium revision to 57823 to have a webkit_support change.
66
67 2010-08-28  Jian Li  <jianli@chromium.org>
68
69         Reviewed by Darin Fisher.
70
71         [chromium] Add webkit_support.gyp:blob to WebKit.gyp
72         https://bugs.webkit.org/show_bug.cgi?id=44829
73
74         Also bump up chromium revision in DEPS in order to pick up
75         the revision that contains blob change.
76
77         * DEPS:
78         * WebKit.gyp:
79
80 2010-08-28  Chris Guillory   <chris.guillory@google.com>
81
82         Reviewed by Chris Fleizach.
83
84         Add AX notification for childrenChanged
85         https://bugs.webkit.org/show_bug.cgi?id=44472
86
87         * public/WebViewClient.h:
88         (WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
89         * src/ChromeClientImpl.cpp:
90         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
91         * src/ChromeClientImpl.h:
92
93 2010-08-27  Daniel Cheng  <dcheng@chromium.org>
94
95         Reviewed by Tony Chang.
96
97         [chromium] Add new WebClipboard method for setting generic data in copy/cut handlers.
98         https://bugs.webkit.org/show_bug.cgi?id=42121
99
100         * public/WebClipboard.h:
101         (WebKit::WebClipboard::writeData):
102         (WebKit::WebClipboard::readFilenames):
103         * src/ChromiumBridge.cpp:
104         (WebCore::ChromiumBridge::clipboardWriteData):
105
106 2010-08-27  Kinuko Yasuda  <kinuko@chromium.org>
107
108         Reviewed by Dumitru Daniliuc.
109
110         [chromium] Add chromium-side of AsyncFileSystem implementation
111         https://bugs.webkit.org/show_bug.cgi?id=44434
112
113         * WebKit.gyp:
114         * src/AssertMatchingEnums.cpp: Added assertions.
115         * src/AsyncFileSystemChromium.cpp: Added.
116         * src/AsyncFileSystemChromium.h: Added.
117         * src/LocalFileSystemChromium.cpp: Added.
118         * src/WebFileSystemCallbacksImpl.cpp:
119         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
120         * src/WebFileSystemCallbacksImpl.h:
121
122 2010-08-27  Michael Nordman  <michaeln@google.com>
123
124         Reviewed by David Levin.
125
126         https://bugs.webkit.org/show_bug.cgi?id=44133
127         WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
128
129         * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
130         * public/WebRuntimeFeatures.h:
131         * src/WebRuntimeFeatures.cpp:
132         (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
133         (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
134
135 2010-08-25  Jeremy Orlow  <jorlow@chromium.org>
136
137         Reviewed by Steve Block.
138
139         Add setVersion to IndexedDB
140         https://bugs.webkit.org/show_bug.cgi?id=44630
141
142         * public/WebIDBDatabase.h:
143         (WebKit::WebIDBDatabase::createObjectStore):
144         (WebKit::WebIDBDatabase::removeObjectStore):
145         (WebKit::WebIDBDatabase::setVersion):
146         * src/IDBDatabaseProxy.cpp:
147         (WebCore::IDBDatabaseProxy::setVersion):
148         * src/IDBDatabaseProxy.h:
149         * src/WebIDBDatabaseImpl.cpp:
150         (WebKit::WebIDBDatabaseImpl::setVersion):
151         * src/WebIDBDatabaseImpl.h:
152
153 2010-08-27  Yury Semikhatsky  <yurys@chromium.org>
154
155         Reviewed by Pavel Feldman.
156
157         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
158         https://bugs.webkit.org/show_bug.cgi?id=44230
159
160         * src/InspectorFrontendClientImpl.cpp:
161         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
162         * src/InspectorFrontendClientImpl.h:
163
164 2010-08-27  Kent Tamura  <tkent@chromium.org>
165
166         Reviewed by Pavel Feldman.
167
168         [DRT/Chromium] Fix inspector test failures
169         https://bugs.webkit.org/show_bug.cgi?id=44748
170
171         * DEPS: Update Chromium revision to 57605 to have a webkit_support change.
172
173 2010-08-26  Dumitru Daniliuc  <dumi@chromium.org>
174
175         Unreviewed, Chromium build fix.
176
177         * src/WebFrameImpl.cpp:
178         (WebKit::WebFrameImpl::markerTextForListItem):
179
180 2010-08-26  Dumitru Daniliuc  <dumi@chromium.org>
181
182         Reviewed by Darin Fisher.
183
184         Add support for markerTextForListItem() to Chromium's LayoutTestController.
185         https://bugs.webkit.org/show_bug.cgi?id=44724
186
187         * public/WebBindings.h:
188         * public/WebFrame.h:
189         * src/WebBindings.cpp:
190         (WebKit::getElementImpl):
191         (WebKit::WebBindings::getElement):
192         * src/WebFrameImpl.cpp:
193         (WebKit::WebFrameImpl::markerTextForListItem):
194         * src/WebFrameImpl.h:
195
196 2010-08-26  James Robinson  <jamesr@chromium.org>
197
198         Reviewed by Darin Fisher.
199
200         [chromium] Remove the USE(GLES2_RENDERING) define and associated code
201         https://bugs.webkit.org/show_bug.cgi?id=43761
202
203         Removes API support to grab a GLES2Context from within WebCore.  The compositor
204         has a special codepath to grab its GLES2Context and no other codepaths
205         need access to a raw context.  Accelerated drawing elsewhere will go through
206         GraphicsContext3D.
207
208         * src/ChromeClientImpl.cpp:
209         * src/ChromeClientImpl.h:
210
211 2010-08-26  Ryosuke Niwa  <rniwa@webkit.org>
212
213         Reviewed by Eric Seidel.
214
215         [chromium] WebEntities is broken
216         https://bugs.webkit.org/show_bug.cgi?id=44708
217
218         For serialization purposes, we don't need to convert all entity references.
219         This patch modifies WebEntities::WebEntities to use hard-coded entity lists for both HTML and XML,
220         and deletes populateMapFromXMLEntities and populateMapFromHTMLEntityTable.
221
222         No tests are added since the code is tested in DomSerializerTests
223
224         * src/WebEntities.cpp:
225         (WebKit::):
226         (WebKit::WebEntities::WebEntities):
227
228 2010-08-26  Peter Kasting  <pkasting@google.com>
229
230         Reviewed by Dimitri Glazkov.
231
232         Misc. cleanup split off from bug 32356.
233         https://bugs.webkit.org/show_bug.cgi?id=44696
234
235         * src/WebScrollbarImpl.cpp:
236         (WebKit::WebScrollbarImpl::setLocation):
237         (WebKit::WebScrollbarImpl::onMouseWheel):
238         * src/WebViewImpl.cpp:
239         (WebKit::WebViewImpl::propagateScroll):
240         * src/win/WebInputEventFactory.cpp:
241         (WebKit::WebInputEventFactory::mouseWheelEvent):
242
243 2010-08-26  Mikhail Naganov  <mnaganov@chromium.org>
244
245         Reviewed by Pavel Feldman.
246
247         Web Inspector: Store heap snapshots in InspectorProfilerAgent.
248
249         Change the way heap snapshots are transported to Inspector
250         to be aligned with CPU profiles. As a result, the Heap snapshots
251         view of Profiles panel was upstreamed into WebCore.
252
253         https://bugs.webkit.org/show_bug.cgi?id=44531
254
255         * DEPS:
256         * WebKit.gypi:
257         * src/js/DevTools.js:
258         ():
259         * src/js/HeapProfilerPanel.js: Removed.
260         * src/js/ProfilerAgent.js: Removed.
261         * src/js/ProfilerProcessor.js: Removed.
262         * src/js/devTools.css:
263
264 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
265
266         Unreviewed. Revert r66103 since Qt tests are failing.
267
268         * src/InspectorFrontendClientImpl.cpp:
269         * src/InspectorFrontendClientImpl.h:
270
271 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
272
273         Reviewed by Pavel Feldman.
274
275         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
276         https://bugs.webkit.org/show_bug.cgi?id=44230
277
278         * src/InspectorFrontendClientImpl.cpp:
279         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
280         * src/InspectorFrontendClientImpl.h:
281
282 2010-08-26  Kent Tamura  <tkent@chromium.org>
283
284         Reviewed by Tony Chang.
285
286         [DRT/Chromium] Enable DEVICE_ORIENTATION
287         https://bugs.webkit.org/show_bug.cgi?id=44587
288
289         * features.gypi:
290
291 2010-08-25  Ilya Tikhonovsky  <loislo@chromium.org>
292
293         Reviewed by Pavel Feldman.
294
295         WebInspector: as far as we have 'seq' property in the each inspector message
296         it would be better to remove explicit callId argument from Inspector.idl functions
297         declarations.
298         https://bugs.webkit.org/show_bug.cgi?id=44617
299
300         * src/js/ProfilerAgent.js:
301         (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
302         (devtools.ProfilerAgent.prototype._getNextLogLines):
303
304 2010-08-25  Sheriff Bot  <webkit.review.bot@gmail.com>
305
306         Unreviewed, rolling out r66074.
307         http://trac.webkit.org/changeset/66074
308         https://bugs.webkit.org/show_bug.cgi?id=44660
309
310         Chromium canary turned red (Requested by yuzo on #webkit).
311
312         * features.gypi:
313         * public/WebRuntimeFeatures.h:
314         * src/WebRuntimeFeatures.cpp:
315
316 2010-08-25  Michael Nordman  <michaeln@google.com>
317
318         Reviewed by David Levin.
319
320         https://bugs.webkit.org/show_bug.cgi?id=44133
321         WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
322
323         * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
324         * public/WebRuntimeFeatures.h:
325         * src/WebRuntimeFeatures.cpp:
326         (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
327         (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
328
329 2010-08-24  Victoria Kirst  <vrk@google.com>
330
331         Reviewed by Darin Fisher.
332
333         Adding a way to communicate video frames between Chromium and WebKit.
334         The WebKit side acts as a middleman between Chromium and WebCore.
335         The VideoFrameChromiumImpl is not being used by WebCore yet, as there
336         still needs to be an implementation of WebVideoFrame in Chromium
337         -- coming soon in a subsequent patch.
338
339         API changes for Video Frame sharing between WebKit and Chromium
340         https://bugs.webkit.org/show_bug.cgi?id=44539
341
342         * WebKit.gyp:
343         * public/WebMediaPlayer.h:
344         (WebKit::WebMediaPlayer::getCurrentFrame):
345         (WebKit::WebMediaPlayer::putCurrentFrame):
346         * public/WebVideoFrame.h: Added.
347         * src/VideoFrameChromiumImpl.cpp: Added.
348         (WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
349         (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
350         (WebKit::VideoFrameChromiumImpl::type):
351         (WebKit::VideoFrameChromiumImpl::format):
352         (WebKit::VideoFrameChromiumImpl::width):
353         (WebKit::VideoFrameChromiumImpl::height):
354         (WebKit::VideoFrameChromiumImpl::planes):
355         (WebKit::VideoFrameChromiumImpl::stride):
356         (WebKit::VideoFrameChromiumImpl::data):
357         * src/VideoFrameChromiumImpl.h: Added.
358         * src/WebMediaPlayerClientImpl.cpp:
359         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
360         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
361         (WebKit::WebMediaPlayerClientImpl::create):
362         * src/WebMediaPlayerClientImpl.h:
363
364 2010-08-25  Eric Seidel  <eric@webkit.org>
365
366         Unreviewed.  Build fix.
367
368         Make Chromiums Broken WebPageSerializerImpl compile again
369         https://bugs.webkit.org/show_bug.cgi?id=44652
370
371         Make it compile again.  This code is still horribly wrong.
372
373         * src/WebPageSerializerImpl.cpp:
374         (WebKit::WebPageSerializerImpl::endTagToString):
375
376 2010-08-20  Zhenyao Mo  <zmo@google.com>
377
378         Reviewed by Kenneth Russell.
379
380         WebGL must enforce restrictions even if running on OpenGL ES 2.0
381         https://bugs.webkit.org/show_bug.cgi?id=42908
382
383         * public/WebGraphicsContext3D.h: Add two new flags.
384         * src/GraphicsContext3D.cpp: Ditto.
385         (WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict):
386         (WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses):
387         (WebCore::GraphicsContext3D::isGLES2NPOTStrict):
388         (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
389         * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
390         (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict):
391         (WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses):
392         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
393
394 2010-08-24  Zhenyao Mo  <zmo@google.com>
395
396         Reviewed by Kenneth Russell.
397
398         Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
399         https://bugs.webkit.org/show_bug.cgi?id=38282
400
401         * src/WebImageDecoder.cpp:
402         (WebKit::WebImageDecoder::init): Add premultiplyAlpha flag.
403
404 2010-08-25  Satish Sampath  <satish@chromium.org>
405
406         Reviewed by Jeremy Orlow.
407
408         Pass the element's bounds to embedder during speech recognition.
409         https://bugs.webkit.org/show_bug.cgi?id=44427
410
411         * public/WebSpeechInputController.h:
412         (WebKit::WebSpeechInputController::startRecognition):
413         (WebKit::WebSpeechInputController::cancelRecognition):
414         (WebKit::WebSpeechInputController::stopRecording):
415         * src/SpeechInputClientImpl.cpp:
416         (WebKit::SpeechInputClientImpl::startRecognition):
417         * src/SpeechInputClientImpl.h:
418         * src/WebSpeechInputControllerMockImpl.cpp:
419         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
420         * src/WebSpeechInputControllerMockImpl.h:
421
422 2010-08-25  Pawel Hajdan  <phajdan.jr@chromium.org>
423
424         Reviewed by Darin Fisher.
425
426         Add an assertion to prevent re-initializing WebKit.
427         https://bugs.webkit.org/show_bug.cgi?id=44545
428         
429         This will help prevent crashes like:
430         - http://code.google.com/p/chromium/issues/detail?id=52731
431         - http://code.google.com/p/chromium/issues/detail?id=52643
432
433         * src/WebKit.cpp:
434         (WebKit::initialize):
435
436 2010-08-25  Jay Civelli  <jcivelli@chromium.org>
437
438         Reviewed by Dimitri Glazkov.
439
440         Adding missing test files and reenabling the WebFrame unit-test.
441         https://bugs.webkit.org/show_bug.cgi?id=44492
442
443         * tests/WebFrameTest.cpp:
444         (WebKit::TEST_F):
445         * tests/data/iframes_test.html: Added.
446         * tests/data/invisible_iframe.html: Added.
447         * tests/data/visible_iframe.html: Added.
448         * tests/data/zero_sized_iframe.html: Added.
449
450 2010-08-25  Kent Tamura  <tkent@chromium.org>
451
452         Unreviewed, build fix.
453
454         * DEPS: Roll Chromium revision to 57298 to fix upstream build.
455
456 2010-08-24  Dumitru Daniliuc  <dumi@chromium.org>
457
458         Reviewed by Adam Barth.
459
460         Build fix: Remove setHTML5ParserEnabled(), it's no longer used.
461
462         * public/WebSettings.h:
463         * src/WebSettingsImpl.cpp:
464         * src/WebSettingsImpl.h:
465
466 2010-08-24  Jian Li  <jianli@chromium.org>
467
468         Reviewed by Darin Fisher.
469
470         [chromium] WebBlobRegistry cleanup.
471         https://bugs.webkit.org/show_bug.cgi?id=44571
472
473         Remove unneeded method from WebBlobRegistry interface.
474         Also remove unneeded WebBlobRegistryImpl.* files. They're already
475         excluded from gyp files.
476
477         * public/WebBlobRegistry.h:
478         * src/WebBlobRegistryImpl.cpp: Removed.
479         * src/WebBlobRegistryImpl.h: Removed.
480
481 2010-08-24  Adam Barth  <abarth@webkit.org>
482
483         Reviewed by Dimitri Glazkov.
484
485         [Chromium] Hulu popups are blocked
486         https://bugs.webkit.org/show_bug.cgi?id=44572
487
488         We were blocking popups created by Flash Player because we were never
489         setting the UserGestureIndicator for events.  Most WebKit ports handle
490         events through EventHandler, but Chromium is special (for some unknown
491         reason) and dispatches events directly.  That means Chromium misses out
492         on some of the work done by EventHandler, including setting the
493         UserGestureIndicator.
494
495         I suspect this is covered by an existing LayoutTest, but I don't have
496         the ability to run the Chromium LayoutTests on this machine.  :(
497
498         * src/WebViewImpl.cpp:
499         (WebKit::WebViewImpl::handleInputEvent):
500
501 2010-08-24  Jian Li  <jianli@chromium.org>
502
503         Reviewed by Darin Fisher.
504
505         [chromium] Update WebBlobData.
506         https://bugs.webkit.org/show_bug.cgi?id=44481
507
508         Some changes to WebBlobData to match with chromium implementation.
509         1) Change to use WebCString for data, instead of WebData.
510         2) Separate path from URL.
511
512         * public/WebBlobData.h:
513         * src/WebBlobData.cpp:
514         (WebKit::WebBlobData::itemAt):
515         (WebKit::WebBlobData::appendData):
516         (WebKit::WebBlobData::appendBlob):
517         * src/WebBlobStorageData.cpp:
518         (WebKit::WebBlobStorageData::itemAt):
519
520 2010-08-24  Marcus Bulach  <bulach@chromium.org>
521
522         Reviewed by Jeremy Orlow.
523
524         Hooks IDBKeyPath with IDBObjectStorage::put.
525         https://bugs.webkit.org/show_bug.cgi?id=44275
526
527         Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath
528         during IDBObjectStorage::put.
529
530         * public/WebIDBKey.h:
531         (WebKit::WebIDBKey::WebIDBKey):
532         * public/WebKitClient.h:
533         (WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath):
534         * src/ChromiumBridge.cpp:
535         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
536
537 2010-08-24  Kent Tamura  <tkent@chromium.org>
538
539         Reviewed by Jeremy Orlow.
540
541         [DRT/Chromium] Support for IndexedDB tests
542         https://bugs.webkit.org/show_bug.cgi?id=44490
543
544         * DEPS: Roll Chromium to r57145 to have a webkit_support change.
545
546 2010-08-24  Roland Steiner  <rolandsteiner@chromium.org>
547
548         Unreviewed build fix.
549
550         put the "DISABLED_" in front of the right identifier.
551
552         * tests/WebFrameTest.cpp:
553         (WebKit::TEST_F):
554
555 2010-08-23  Roland Steiner  <rolandsteiner@chromium.org>
556
557         Reviewed by Tamura Kent.
558
559         Disable failing test
560         https://bugs.webkit.org/show_bug.cgi?id=44492
561
562         * tests/WebFrameTest.cpp:
563         (WebKit::TEST_F):
564
565 2010-08-23  Jay Civelli  <jcivelli@chromium.org>
566
567         Reviewed by Darin Fisher.
568
569         Made WebFrame not report the text from hidden frames.
570         (some pages contain hidden frames with garbage text that
571         should not be indexed or used to detect the page's language).
572         https://bugs.webkit.org/show_bug.cgi?id=39456
573
574         * WebKit.gyp:
575         * public/WebCString.h:
576         (WebKit::operator<):
577         * public/WebURL.h:
578         (WebKit::operator<):
579         * src/WebCString.cpp:
580         (WebKit::WebCString::compare):
581         * src/WebFrameImpl.cpp:
582         (WebKit::frameContentAsPlainText):
583         * tests/RunAllTests.cpp:
584         (main):
585         * tests/WebFrameTest.cpp: Added.
586
587 2010-08-23  Kent Tamura  <tkent@chromium.org>
588
589         Unreviewed, build fix for r65852.
590
591         * src/WebNode.cpp:
592         (WebKit::WebNode::parentNode):
593
594 2010-08-23  Kenneth Russell  <kbr@google.com>
595
596         Reviewed by Dimitri Glazkov.
597
598         Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
599         https://bugs.webkit.org/show_bug.cgi?id=44455
600
601         Updated Safari, Qt and Chromium WebGL ports to avoid referencing
602         ArrayBuffer and ArrayBufferView types from GraphicsContext3D.
603
604         Ran all WebGL layout tests; no new regressions. Built and tested
605         WebKit on Mac OS X; built Chromium on Mac OS X and Linux.
606
607         * src/GraphicsContext3D.cpp:
608         (WebCore::GraphicsContext3DInternal::bufferData):
609         (WebCore::GraphicsContext3DInternal::bufferSubData):
610
611 2010-08-23  Jian Li  <jianli@chromium.org>
612
613         Reviewed by David Levin.
614
615         Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from
616         chromium project files.
617         https://bugs.webkit.org/show_bug.cgi?id=44442
618
619         * WebKit.gyp:
620
621 2010-08-23  Satish Sampath  <satish@chromium.org>
622
623         Reviewed by Jeremy Orlow.
624
625         Remove obsolete public/API methods in chromium port
626         https://bugs.webkit.org/show_bug.cgi?id=44421
627
628         * public/WebSpeechInputController.h:
629         (WebKit::WebSpeechInputController::startRecognition):
630         (WebKit::WebSpeechInputController::cancelRecognition):
631         (WebKit::WebSpeechInputController::stopRecording):
632         * public/WebSpeechInputListener.h:
633
634 2010-08-22  Daniel Bates  <dbates@rim.com>
635
636         Reviewed by Eric Seidel.
637
638         Encapsulate document marker management into DocumentMarkerController
639         https://bugs.webkit.org/show_bug.cgi?id=44383
640
641         Modify call sites in the Chromium port to use DocumentMarkerController.
642
643         No functionality was changed, so no new tests.
644
645         * src/WebFrameImpl.cpp:
646         (WebKit::WebFrameImpl::stopFinding):
647         (WebKit::WebFrameImpl::addMarker):
648         (WebKit::WebFrameImpl::setMarkerActive):
649
650 2010-08-22  Jian Li  <jianli@chromium.org>
651
652         Reviewed by Darin Fisher.
653
654         Add the blob URL member to FormData.
655         https://bugs.webkit.org/show_bug.cgi?id=44387
656
657         As the result of adding the blob URL member to the FormData, we need
658         to update the corresponding WebKit API for chromium.
659
660         * public/WebHTTPBody.h:
661         (WebKit::WebHTTPBody::Element::):
662         * src/WebHTTPBody.cpp:
663         (WebKit::WebHTTPBody::elementAt):
664         (WebKit::WebHTTPBody::appendBlob):
665
666 2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>
667
668         Unreviewed; build fix for chromium (and remove duplicated ChangeLog entry).
669
670 2010-08-20  James Robinson  <jamesr@chromium.org>
671
672         Synchronize default of use_accelerated_compositing gyp variable with downstream.  Unreviewed.
673
674         * features.gypi:
675
676 2010-08-20  Kinuko Yasuda  <kinuko@chromium.org>
677
678         Reviewed by Darin Fisher.
679
680         [chromium] Add chromium-side callback implementation for FileSystem API
681         https://bugs.webkit.org/show_bug.cgi?id=44350
682
683         Add WebFileSystemCallbacks that calls back the WebCore's implementation.
684
685         * WebKit.gyp:
686         * src/WebFileSystemCallbacksImpl.cpp: Added.
687         * src/WebFileSystemCallbacksImpl.h: Added.
688
689 2010-08-20  Tony Chang  <tony@chromium.org>
690
691         Reviewed by Kent Tamura.
692
693         [chromium] fix a null pointer crash when dispatching JS keyboard events
694         https://bugs.webkit.org/show_bug.cgi?id=44313
695
696         * src/WebInputEventConversion.cpp:
697         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
698
699 2010-08-20  Jay Civelli  <jcivelli@chromium.org>
700
701         Reviewed by Darin Fisher.
702
703         Removing the deprecated class WebEvent and friends.
704         https://bugs.webkit.org/show_bug.cgi?id=44296
705
706         * WebKit.gyp:
707         * public/WebEvent.h: Removed.
708         * public/WebEventListener.h: Removed.
709         * public/WebMutationEvent.h: Removed.
710         * public/WebNode.h:
711         * src/EventListenerWrapper.cpp:
712         (WebKit::EventListenerWrapper::webDOMEventListenerDeleted):
713         * src/EventListenerWrapper.h:
714         * src/WebEvent.cpp: Removed.
715         * src/WebEventListener.cpp: Removed.
716         * src/WebEventListenerPrivate.cpp: Removed.
717         * src/WebEventListenerPrivate.h: Removed.
718         * src/WebNode.cpp:
719         (WebKit::WebNode::removeEventListener):
720
721 2010-08-19  Zhenyao Mo  <zmo@google.com>
722
723         Reviewed by Kenneth Russell.
724
725         Fix failing WebGL tests in Chromium in-process-webgl port
726         https://bugs.webkit.org/show_bug.cgi?id=44305
727
728         * src/WebGraphicsContext3DDefaultImpl.cpp:
729         (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): Add implementation.
730
731 2010-08-19  Pavel Podivilov  <podivilov@chromium.org>
732
733         Reviewed by Yury Semikhatsky.
734
735         Web Inspector: enable DOM breakpoints for chromium
736         https://bugs.webkit.org/show_bug.cgi?id=42886
737
738         * src/js/DevTools.js:
739         (WebInspector.loaded):
740
741 2010-08-19  Vincent Scheib  <scheib@chromium.org>
742
743         Reviewed by David Levin.
744
745         [chromium] TilingData::tilePositionY has typo of X where Y should be used
746         https://bugs.webkit.org/show_bug.cgi?id=44195
747
748         Unit tests added for tileSize and tilePosition.
749
750         * tests/TilingDataTest.cpp:
751         (WebCore::TEST):
752
753 2010-08-19  Kinuko Yasuda  <kinuko@chromium.org>
754
755         Reviewed by Darin Fisher.
756
757         Add WebKit API for FileSystem API
758         https://bugs.webkit.org/show_bug.cgi?id=43151
759
760         Add asynchronous FileSystem interface to WebKit API for
761         FileSystem API.
762         http://dev.w3.org/2009/dap/file-system/file-dir-sys.html
763
764         * WebKit.gyp:
765         * public/WebFileError.h: Added.
766         * public/WebFileSystem.h: Added.
767         * public/WebFileSystemEntry.h: Added.
768         * public/WebFileSystemCallbacks.h: Added.
769         * public/WebKitClient.h:
770         (WebKit::WebKitClient::fileSystem):
771         * public/WebFrameClient.h:
772         (WebKit::WebFrameClient::openFileSystem):
773
774 2010-08-19  Kinuko Yasuda  <kinuko@chromium.org>
775
776         Reviewed by Jian Li.
777
778         [Chromium] Rolls Chromium DEPS forward to 56564
779         https://bugs.webkit.org/show_bug.cgi?id=44281
780
781         Roll Chromium DEPS forward to 56564 to include WebFileSystem
782         implementation changes.
783
784         * DEPS:
785
786 2010-08-19  Vincent Scheib  <scheib@chromium.org>
787
788         Reviewed by David Levin.
789
790         Fixing previous Mac only build breakage with TilingDataTest.cpp
791         https://bugs.webkit.org/show_bug.cgi?id=44223
792
793         TilingDataTest.cpp included the wrong header, which had a compile 
794         option around the definition of the WebCore namespace. Without the 
795         namespace defined, error. Fixed by correctly including TilingData.h, 
796         which has no conditional compilation.
797
798         * WebKit.gyp:
799         * tests/TilingDataTest.cpp:
800
801 2010-08-19  Jochen Eisinger  <jochen@chromium.org>
802
803         Reviewed by Pavel Feldman.
804
805         concatenated_devtools_js should depend on inspector_protocol_sources
806         https://bugs.webkit.org/show_bug.cgi?id=44255
807
808         * WebKit.gyp:
809
810 2010-08-19  Pavel Podivilov  <podivilov@chromium.org>
811
812         Reviewed by Yury Semikhatsky.
813
814         Web Inspector: activate/deactivate breakpoints using v8 debugger flag.
815         https://bugs.webkit.org/show_bug.cgi?id=44112
816
817         * src/js/DebuggerScript.js:
818         ():
819
820 2010-08-19  Andrei Popescu  <andreip@google.com>
821
822         Reviewed by Jeremy Orlow.
823
824         [IndexedDB] Abort idle IDBTransactions when the JS context they were created in finishes execution.
825         https://bugs.webkit.org/show_bug.cgi?id=44101
826
827         * WebKit.gyp:
828         * public/WebIDBDatabase.h:
829         (WebKit::WebIDBDatabase::transaction):
830         * public/WebIDBFactory.h:
831         (WebKit::WebIDBFactory::abortPendingTransactions):
832         * public/WebIDBTransaction.h: Added.
833         (WebKit::WebIDBTransaction::~WebIDBTransaction):
834         (WebKit::WebIDBTransaction::mode):
835         (WebKit::WebIDBTransaction::objectStore):
836         (WebKit::WebIDBTransaction::abort):
837         (WebKit::WebIDBTransaction::id):
838         (WebKit::WebIDBTransaction::setCallbacks):
839         * public/WebIDBTransactionCallbacks.h: Added.
840         (WebKit::WebIDBTransactionCallbacks::~WebIDBTransactionCallbacks):
841         (WebKit::WebIDBTransactionCallbacks::onAbort):
842         (WebKit::WebIDBTransactionCallbacks::id):
843         * src/IDBDatabaseProxy.cpp:
844         (WebCore::IDBDatabaseProxy::transaction):
845         * src/IDBFactoryBackendProxy.cpp:
846         (WebCore::IDBFactoryBackendProxy::abortPendingTransactions):
847         * src/IDBFactoryBackendProxy.h:
848         * src/IDBTransactionBackendProxy.cpp: Added.
849         (WebCore::IDBTransactionBackendProxy::create):
850         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
851         (WebCore::IDBTransactionBackendProxy::~IDBTransactionBackendProxy):
852         (WebCore::IDBTransactionBackendProxy::objectStore):
853         (WebCore::IDBTransactionBackendProxy::mode):
854         (WebCore::IDBTransactionBackendProxy::abort):
855         (WebCore::IDBTransactionBackendProxy::scheduleTask):
856         (WebCore::IDBTransactionBackendProxy::sqliteDatabase):
857         (WebCore::IDBTransactionBackendProxy::id):
858         (WebCore::IDBTransactionBackendProxy::setCallbacks):
859         * src/IDBTransactionBackendProxy.h: Added.
860         * src/IDBTransactionCallbacksProxy.cpp: Added.
861         (WebCore::IDBTransactionCallbacksProxy::create):
862         (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
863         (WebCore::IDBTransactionCallbacksProxy::~IDBTransactionCallbacksProxy):
864         (WebCore::IDBTransactionCallbacksProxy::onAbort):
865         (WebCore::IDBTransactionCallbacksProxy::id):
866         * src/IDBTransactionCallbacksProxy.h: Added.
867         * src/WebDOMStringList.cpp:
868         (WebKit::WebDOMStringList::length):
869         * src/WebIDBDatabaseImpl.cpp:
870         (WebKit::WebIDBDatabaseImpl::transaction):
871         * src/WebIDBDatabaseImpl.h:
872         * src/WebIDBFactoryImpl.cpp:
873         (WebKit::WebIDBFactoryImpl::abortPendingTransactions):
874         * src/WebIDBFactoryImpl.h:
875         * src/WebIDBTransactionCallbacksImpl.cpp: Added.
876         (WebCore::WebIDBTransactionCallbacksImpl::WebIDBTransactionCallbacksImpl):
877         (WebCore::WebIDBTransactionCallbacksImpl::~WebIDBTransactionCallbacksImpl):
878         (WebCore::WebIDBTransactionCallbacksImpl::onAbort):
879         (WebCore::WebIDBTransactionCallbacksImpl::id):
880         * src/WebIDBTransactionCallbacksImpl.h: Added.
881         * src/WebIDBTransactionImpl.cpp: Added.
882         (WebKit::WebIDBTransactionImpl::WebIDBTransactionImpl):
883         (WebKit::WebIDBTransactionImpl::~WebIDBTransactionImpl):
884         (WebKit::WebIDBTransactionImpl::mode):
885         (WebKit::WebIDBTransactionImpl::objectStore):
886         (WebKit::WebIDBTransactionImpl::abort):
887         (WebKit::WebIDBTransactionImpl::id):
888         (WebKit::WebIDBTransactionImpl::setCallbacks):
889         * src/WebIDBTransactionImpl.h: Added.
890         (WebKit::):
891
892 2010-08-19  Pavel Feldman  <pfeldman@chromium.org>
893
894         Reviewed by Yury Semikhatsky.
895
896         Chromium DevTools: There is no need in resource-based InjectedScript.js source.
897         Now that we populate front-end after its onload handler, I don't think we need
898         to install injected script early.
899         https://bugs.webkit.org/show_bug.cgi?id=44029
900
901         * public/WebDevToolsAgentClient.h:
902         * src/WebDevToolsAgentImpl.cpp:
903         (WebKit::):
904         (WebKit::WebDevToolsAgentImpl::attach):
905         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
906
907 2010-08-19  Pavel Feldman  <pfeldman@chromium.org>
908
909         Reviewed by Yury Semikhatsky.
910
911         Chromium DevTools: remove setRuntimeFeatureEnabled API method that
912         is no longer used.
913         https://bugs.webkit.org/show_bug.cgi?id=44237
914
915         * public/WebDevToolsAgent.h:
916         * src/WebDevToolsAgentImpl.cpp:
917         * src/WebDevToolsAgentImpl.h:
918
919 2010-08-18  Jian Li  <jianli@chromium.org>
920
921         Fix layout test crashes in chromium.
922
923         * src/BlobRegistryProxy.cpp:
924         (WebCore::BlobRegistryProxy::registerBlobURL):
925         (WebCore::BlobRegistryProxy::unregisterBlobURL):
926
927 2010-08-18  Jian Li  <jianli@chromium.org>
928
929         Fix chromium build break.
930
931         * src/WebBlobStorageData.cpp:
932         (WebKit::WebBlobStorageData::itemAt):
933
934 2010-08-18  Jian Li  <jianli@chromium.org>
935
936         Reviewed by Darin Fisher.
937
938         [chromium] Chromium side implementation of blob data and blob registry.
939         https://bugs.webkit.org/show_bug.cgi?id=43871
940
941         * WebKit.gyp:
942         * public/WebBlobData.h: Added.
943         * public/WebBlobRegistry.h: Added.
944         * public/WebBlobStorageData.h: Added.
945         * public/WebKitClient.h:
946         (WebKit::WebKitClient::blobRegistry):
947         * src/BlobRegistryProxy.cpp: Added.
948         * src/BlobRegistryProxy.h: Added.
949         * src/WebBlobData.cpp: Added.
950         * src/WebBlobRegistryImpl.cpp: Added.
951         * src/WebBlobRegistryImpl.h: Added.
952         * src/WebBlobStorageData.cpp: Added.
953
954 2010-08-18  Dumitru Daniliuc  <dumi@chromium.org>
955
956         Reviewed by Darin Fisher.
957
958         Propagate the m_downloadFilePath correctly.
959         https://bugs.webkit.org/show_bug.cgi?id=44198
960
961         * src/WebURLRequest.cpp:
962         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
963         * src/WebURLResponse.cpp:
964         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
965
966 2010-08-18  Victor Wang  <victorw@chromium.org>
967
968         Unreviewed. Fix chromium multi dll build.
969
970         * public/WebIDBKeyPath.h:
971
972 2010-08-18  Jay Civelli  <jcivelli@chromium.org>
973
974         Reviewed by Darin Fisher.
975
976         Renaming the WebEvent to WebDOMEvent and adding a new event class
977         for mouse events so that the event listener API can be used to listen
978         to them.  The renaming is needed as there already is a WebMouseEvent class.
979         https://bugs.webkit.org/show_bug.cgi?id=43453
980
981         * WebKit.gyp:
982         * public/WebDOMEvent.h: Added.
983         * public/WebDOMEventListener.h: Added.
984         * public/WebDOMMouseEvent.h: Added.
985         * public/WebDOMMutationEvent.h: Added.
986         * public/WebNode.h:
987         * src/EventListenerWrapper.cpp:
988         * src/EventListenerWrapper.h:
989         * src/WebDOMEvent.cpp: Added.
990         * src/WebDOMEventListener.cpp: Added.
991         * src/WebDOMEventListenerPrivate.cpp: Added.
992         * src/WebDOMEventListenerPrivate.h: Added.
993         * src/WebDOMMouseEvent.cpp: Added.
994         * src/WebDOMMutationEvent.cpp: Added.
995         * src/WebNode.cpp:
996         (WebKit::WebNode::isElementNode):
997         (WebKit::WebNode::addDOMEventListener):
998         (WebKit::WebNode::removeDOMEventListener):
999
1000 2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>
1001
1002         Reviewed by Yury Semikhatsky.
1003
1004         Web Inspector: replace hand written InspectorBackendStub.js with generated one.
1005         https://bugs.webkit.org/show_bug.cgi?id=43791
1006
1007         * WebKit.gyp:
1008
1009 2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
1010
1011         Unreviewed, rolling out r65238.
1012         http://trac.webkit.org/changeset/65238
1013         https://bugs.webkit.org/show_bug.cgi?id=44168
1014
1015         Check if clobbering chromium bot fixes the layout test
1016         failures (Requested by hamaji on #webkit).
1017
1018         * public/WebFrameClient.h:
1019         (WebKit::WebFrameClient::frameDetached):
1020         * src/FrameLoaderClientImpl.cpp:
1021         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1022
1023 2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
1024
1025         Unreviewed, rolling out r65595.
1026         http://trac.webkit.org/changeset/65595
1027         https://bugs.webkit.org/show_bug.cgi?id=44161
1028
1029         qt build failed (Requested by loislo on #webkit).
1030
1031         * WebKit.gyp:
1032
1033 2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>
1034
1035         Reviewed by Yury Semikhatsky.
1036
1037         Web Inspector: replace hand written InspectorBackendStub.js by generated one.
1038         https://bugs.webkit.org/show_bug.cgi?id=43791
1039
1040         * WebKit.gyp:
1041
1042 2010-08-17  Pavel Feldman  <pfeldman@chromium.org>
1043
1044         Reviewed by Yury Semikhatsky.
1045
1046         Chromium DevTools: Support runtime property name/value pairs
1047         instead of feature names as navigation state.
1048         https://bugs.webkit.org/show_bug.cgi?id=44054
1049
1050         * public/WebDevToolsAgent.h:
1051         * public/WebDevToolsAgentClient.h:
1052         (WebKit::WebDevToolsAgentClient::runtimePropertyChanged):
1053         * src/WebDevToolsAgentImpl.cpp:
1054         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
1055         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
1056         * src/WebDevToolsAgentImpl.h:
1057
1058 2010-08-17  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1059
1060         Reviewed by Darin Adler.
1061
1062         Add NetworkingContext to avoid layer violations
1063         https://bugs.webkit.org/show_bug.cgi?id=42292
1064
1065         Preparation: Just add the files to the build system.
1066
1067         * WebKit.gyp: Added new files.
1068         * src/FrameNetworkingContextImpl.h: Added.
1069         Placeholder with tentative code that might be changed when landing
1070         the rest of it.
1071
1072 2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1073
1074         Unreviewed, rolling out r65516.
1075         http://trac.webkit.org/changeset/65516
1076         https://bugs.webkit.org/show_bug.cgi?id=44126
1077
1078         broke chromium unit tests on mac and linux (Requested by
1079         johnny_g on #webkit).
1080
1081         * WebKit.gyp:
1082         * src/WebFrameImpl.cpp:
1083         (WebKit::frameContentAsPlainText):
1084         * tests/RunAllTests.cpp:
1085         (main):
1086         * tests/WebFrameTest.cpp: Removed.
1087
1088 2010-08-17  Jay Civelli  <jcivelli@chromium.org>
1089
1090         Reviewed by Darin Fisher.
1091
1092         Made WebFrame not report the text from hidden frames.
1093         (some pages contain hidden frames with garbage text that
1094         should not be indexed or used to detect the page's language).
1095         https://bugs.webkit.org/show_bug.cgi?id=39456
1096
1097         * WebKit.gyp:
1098         * public/WebCString.h:
1099         (WebKit::operator<):
1100         * public/WebURL.h:
1101         (WebKit::operator<):
1102         * src/WebCString.cpp:
1103         (WebKit::WebCString::compare):
1104         * src/WebFrameImpl.cpp:
1105         (WebKit::frameContentAsPlainText):
1106         * tests/RunAllTests.cpp:
1107         (main):
1108         * tests/WebFrameTest.cpp: Added.
1109
1110 2010-08-17  Kelly Norton  <knorton@google.com>
1111
1112         Reviewed by Pavel Feldman.
1113
1114         Web Inspector: Fixes a crash in addTimelineRecord when InspectorTimelineAgent
1115         is enabled through WebDevToolsAgentImpl::setApuEnabled.
1116         https://bugs.webkit.org/show_bug.cgi?id=44105
1117
1118         * src/WebDevToolsAgentImpl.cpp:
1119         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
1120
1121 2010-08-17  Yury Semikhatsky  <yurys@chromium.org>
1122
1123         Reviewed by Pavel Feldman.
1124
1125         Web Inspector: upstream Chromium debugger step tests
1126         https://bugs.webkit.org/show_bug.cgi?id=44106
1127
1128         * src/js/Tests.js:
1129
1130 2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1131
1132         Unreviewed, rolling out r65500.
1133         http://trac.webkit.org/changeset/65500
1134         https://bugs.webkit.org/show_bug.cgi?id=44108
1135
1136         Qt bots failed to compile. (Requested by loislo on #webkit).
1137
1138         * WebKit.gyp:
1139
1140 2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>
1141
1142         Reviewed by Yury Semikhatsky.
1143
1144         Web Inspector: replace hand written InspectorBackendStub.js by generated one.
1145         https://bugs.webkit.org/show_bug.cgi?id=43791
1146
1147         * WebKit.gyp:
1148
1149 2010-08-17  Yury Semikhatsky  <yurys@chromium.org>
1150
1151         Reviewed by Pavel Feldman.
1152
1153         Web Inspector: upstream Chromium console tests and remove a couple
1154         of tests that have already been covered with layout tests.
1155         https://bugs.webkit.org/show_bug.cgi?id=44057
1156
1157         * src/js/Tests.js:
1158         (.TestSuite.prototype.testConsoleEval):
1159         (.TestSuite.prototype.testConsoleLog):
1160         (.TestSuite.prototype.testEvalGlobal):
1161
1162 2010-08-16  Kinuko Yasuda  <kinuko@chromium.org>
1163
1164         Unreviewed; attempt to fix Chromium Windows build.
1165
1166         * public/WebFileUtilities.h:
1167
1168 2010-08-16  Kinuko Yasuda  <kinuko@chromium.org>
1169
1170         Reviewed by Jian Li.
1171
1172         [chromium] Prepare to rename WebFileSystem interface to WebFileUtilities
1173         https://bugs.webkit.org/show_bug.cgi?id=44077
1174
1175         We are going to have an implementation for HTML5 FileSystem API and
1176         it would probably be less confusing to use the name "WebFileSystem"
1177         for an WebKit API for the HTML5 API.
1178
1179         This patch adds WebFileUtilities interface that is meant to replace
1180         the existing WebFileSystem.
1181
1182         * WebKit.gyp:
1183         * public/WebFileSystem.h:
1184         * public/WebFileUtilities.h: Added.
1185         * public/WebKitClient.h:
1186         (WebKit::WebKitClient::fileUtilities): Added.
1187         * src/ChromiumBridge.cpp:
1188         (WebCore::ChromiumBridge::fileExists):
1189         (WebCore::ChromiumBridge::deleteFile):
1190         (WebCore::ChromiumBridge::deleteEmptyDirectory):
1191         (WebCore::ChromiumBridge::getFileSize):
1192         (WebCore::ChromiumBridge::getFileModificationTime):
1193         (WebCore::ChromiumBridge::directoryName):
1194         (WebCore::ChromiumBridge::pathByAppendingComponent):
1195         (WebCore::ChromiumBridge::makeAllDirectories):
1196         (WebCore::ChromiumBridge::getAbsolutePath):
1197         (WebCore::ChromiumBridge::isDirectory):
1198         (WebCore::ChromiumBridge::filePathToURL):
1199         (WebCore::ChromiumBridge::openFile):
1200         (WebCore::ChromiumBridge::closeFile):
1201         (WebCore::ChromiumBridge::seekFile):
1202         (WebCore::ChromiumBridge::truncateFile):
1203         (WebCore::ChromiumBridge::readFromFile):
1204         (WebCore::ChromiumBridge::writeToFile):
1205
1206 2010-08-16  Nate Chapin  <japhet@chromium.org>
1207
1208         Unreviewed, build fix.
1209
1210         Don't include TilingDataTest.cpp, since it doesn't
1211         compile on mac.
1212
1213         * WebKit.gyp:
1214
1215 2010-08-16  James Robinson  <jamesr@chromium.org>
1216
1217         Compile fix.  Fix up paintsIntoCanvasBuffer impl.
1218
1219         * src/GraphicsContext3D.cpp:
1220         (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
1221
1222 2010-08-16  Vincent Scheib  <scheib@chromium.org>
1223
1224         Reviewed by Dimitri Glazkov.
1225
1226         Canvas2D does not support images larger than system's GPU max texture size
1227         https://bugs.webkit.org/show_bug.cgi?id=43864
1228
1229         Unit tests for TilingData class.
1230
1231         * WebKit.gyp:
1232         * tests/TilingDataTest.cpp: Added.
1233         (WebCore::TEST):
1234
1235 2010-08-16  Alex Milowski  <alex@milowski.com>
1236
1237         Reviewed by David Levin.
1238
1239         Added the ENABLE_MATHML=1 to the feature_defines.
1240
1241         * features.gypi:
1242
1243 2010-08-16  Marcus Bulach  <bulach@chromium.org>
1244
1245         Reviewed by Jeremy Orlow.
1246
1247         Implements IDBKeyPath extractor.
1248         https://bugs.webkit.org/show_bug.cgi?id=43276
1249
1250         Unit-test IDBKeyPathExtractorTest.cpp.
1251         LayoutTests will arrive as IndexedDB infrastructure is fleshed out.
1252
1253
1254         * WebKit.gyp:
1255         * public/WebIDBKey.h:
1256         * public/WebIDBKeyPath.h: Added.
1257         (WebKit::WebIDBKeyPath::WebIDBKeyPath):
1258         (WebKit::WebIDBKeyPath::~WebIDBKeyPath):
1259         * public/WebPrivateOwnPtr.h: Added.
1260         (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
1261         (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
1262         (WebKit::WebPrivateOwnPtr::reset):
1263         (WebKit::WebPrivateOwnPtr::get):
1264         (WebKit::WebPrivateOwnPtr::operator->):
1265         * src/WebIDBKey.cpp:
1266         (WebKit::WebIDBKey::createFromValueAndKeyPath):
1267         * src/WebIDBKeyPath.cpp: Added.
1268         (WebKit::WebIDBKeyPath::create):
1269         (WebKit::WebIDBKeyPath::WebIDBKeyPath):
1270         (WebKit::WebIDBKeyPath::parseError):
1271         (WebKit::WebIDBKeyPath::assign):
1272         (WebKit::WebIDBKeyPath::reset):
1273         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
1274         * tests/IDBBindingUtilitiesTest.cpp: Added.
1275         (WebCore::LocalContext::LocalContext):
1276         (WebCore::LocalContext::~LocalContext):
1277         (WebCore::checkKeyFromValueAndKeyPathInternal):
1278         (WebCore::checkKeyPathNullValue):
1279         (WebCore::checkKeyPathStringValue):
1280         (WebCore::checkKeyPathNumberValue):
1281         (WebCore::TEST):
1282
1283 2010-07-28  Marcus Bulach  <bulach@chromium.org>
1284
1285         Reviewed by Adam Barth.
1286
1287         Implement IDBKeyPath parser.
1288         https://bugs.webkit.org/show_bug.cgi?id=42976
1289
1290         IDBKeyPath is an internal class, exposed only for unit tests for now.
1291         It'll allow indexed database implementation to traverse a given key path and obtain the corresponding properties
1292         from a SerializedScriptValue.
1293
1294         * WebKit.gyp:
1295         * tests/IDBKeyPathTest.cpp: Added.
1296         (WebCore::ExpectedToken::ExpectedToken):
1297         (WebCore::checkKeyPath):
1298         (WebCore::TEST):
1299
1300 2010-08-16  Pavel Feldman  <pfeldman@chromium.org>
1301
1302         Reviewed by Joseph Pecoraro.
1303
1304         Web Inspector: upstream frontend-side WebSocket transport.
1305         https://bugs.webkit.org/show_bug.cgi?id=43970
1306
1307         Chromium already has an alternate WebSocket-based communication channel with
1308         the backend. Upstreaming it in this change. We will agree on the URI
1309         of the remote service as the protocol matures.
1310
1311         * src/WebDevToolsFrontendImpl.cpp:
1312         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
1313         * src/js/DevTools.js:
1314         (WebInspector.loaded):
1315         (devtools.domContentLoaded):
1316
1317 2010-08-16  Yury Semikhatsky  <yurys@chromium.org>
1318
1319         Reviewed by Pavel Feldman.
1320
1321         Web Inspector: remove utility context related code from debugger agent
1322         https://bugs.webkit.org/show_bug.cgi?id=44049
1323
1324         * src/DebuggerAgentManager.cpp:
1325         (WebKit::DebuggerAgentManager::onV8DebugMessage):
1326         (WebKit::DebuggerAgentManager::pauseScript):
1327         * src/DebuggerAgentManager.h:
1328
1329 2010-08-16  Yuta Kitamura  <yutak@chromium.org>
1330
1331         Reviewed by Shinichiro Hamaji.
1332
1333         Attempt to fix Chromium's test_shell_tests.
1334
1335         Port Chromium's WebEntities to HTMLEntityTable
1336         https://bugs.webkit.org/show_bug.cgi?id=44036
1337
1338         * src/WebEntities.cpp:
1339         (WebKit::):
1340
1341 2010-08-15  Adam Barth  <abarth@webkit.org>
1342
1343         Reviewed by Eric Seidel.
1344
1345         Port Chromium's WebEntities to HTMLEntityTable
1346         https://bugs.webkit.org/show_bug.cgi?id=44036
1347
1348         This code is wrong and needs to be removed.  However, at least after
1349         this patch, it will compile.
1350
1351         * src/WebEntities.cpp:
1352         (WebKit::):
1353         (WebKit::WebEntities::WebEntities):
1354         * src/WebEntities.h:
1355
1356 2010-08-13  Satish Sampath  <satish@chromium.org>
1357
1358         Reviewed by Jeremy Orlow.
1359
1360         Support for multiple speech enabled elements in same page.
1361         https://bugs.webkit.org/show_bug.cgi?id=43922
1362
1363         * public/WebSpeechInputController.h: Bubbles up the requestId given by webcore to the embedder.
1364         (WebKit::WebSpeechInputController::startRecognition):
1365         (WebKit::WebSpeechInputController::cancelRecognition):
1366         (WebKit::WebSpeechInputController::stopRecording):
1367         * public/WebSpeechInputListener.h: Passes down the requestId given by embedder to webcore.
1368         (WebKit::WebSpeechInputListener::didCompleteRecording):
1369         (WebKit::WebSpeechInputListener::setRecognitionResult):
1370         (WebKit::WebSpeechInputListener::didCompleteRecognition):
1371         * src/SpeechInputClientImpl.cpp:
1372         (WebKit::SpeechInputClientImpl::setListener):
1373         (WebKit::SpeechInputClientImpl::startRecognition):
1374         (WebKit::SpeechInputClientImpl::stopRecording):
1375         (WebKit::SpeechInputClientImpl::cancelRecognition):
1376         (WebKit::SpeechInputClientImpl::didCompleteRecording):
1377         (WebKit::SpeechInputClientImpl::didCompleteRecognition):
1378         (WebKit::SpeechInputClientImpl::setRecognitionResult):
1379         * src/SpeechInputClientImpl.h:
1380         * src/WebSpeechInputControllerMockImpl.cpp:
1381         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
1382         (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
1383         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
1384         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
1385         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
1386         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1387         (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
1388         (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
1389         * src/WebSpeechInputControllerMockImpl.h:
1390
1391 2010-08-12  Yury Semikhatsky  <yurys@chromium.org>
1392
1393         Reviewed by Pavel Feldman.
1394
1395         Web Inspector: allow interrupting long running JS to execute inspector command
1396         https://bugs.webkit.org/show_bug.cgi?id=43900
1397
1398         * public/WebDevToolsAgent.h:
1399         (WebKit::WebDevToolsAgent::MessageDescriptor::~MessageDescriptor):
1400         * src/WebDevToolsAgentImpl.cpp:
1401         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1402         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
1403         (WebKit::WebDevToolsAgent::processPendingMessages):
1404         * src/WebDevToolsFrontendImpl.cpp:
1405         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
1406         * src/WebDevToolsFrontendImpl.h:
1407         * src/js/DevTools.js:
1408
1409 2010-08-12  Aaron Boodman  <aa@chromium.org>
1410
1411         Reviewed by David Hyatt.
1412
1413         Make the cascade level of "user" styles configurable
1414         https://bugs.webkit.org/show_bug.cgi?id=43457
1415
1416         * src/WebViewImpl.cpp:
1417         (WebKit::WebView::addUserStyleSheet):
1418
1419 2010-08-12  John Gregg  <johnnyg@google.com>
1420
1421         Reviewed by Kent Tamura.
1422
1423         [chromium] Add Notification::detachPresenter to the WebKit API.
1424         https://bugs.webkit.org/show_bug.cgi?id=43659
1425
1426         * public/WebNotification.h:
1427         * src/WebNotification.cpp:
1428         (WebKit::WebNotification::detachPresenter):
1429
1430 2010-08-11  Stephen White  <senorblanco@chromium.org>
1431
1432         Reviewed by David Levin.
1433
1434         Add support for BGRA pixel format to GraphicsContext3D.
1435         https://bugs.webkit.org/show_bug.cgi?id=43858
1436
1437         Although this has been standard in desktop GL since 1.2, it's an 
1438         extension in GL ES 2.0, so a query function is provided to check
1439         for support.  The DefaultImpl returns false, since it does not yet
1440         implement the TexImage2D internalFormat quirks.
1441
1442         * public/WebGraphicsContext3D.h:
1443         (WebKit::WebGraphicsContext3D::supportsBGRA):
1444         * src/GraphicsContext3D.cpp:
1445         * src/WebGraphicsContext3DDefaultImpl.cpp:
1446         (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
1447         * src/WebGraphicsContext3DDefaultImpl.h:
1448
1449 2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1450
1451         Unreviewed, rolling out r65181.
1452         http://trac.webkit.org/changeset/65181
1453         https://bugs.webkit.org/show_bug.cgi?id=43909
1454
1455         It broke 35 layout tests fail on chromium-win (Requested by
1456         hamaji on #webkit).
1457
1458         * public/WebFrameClient.h:
1459         * src/FrameLoaderClientImpl.cpp:
1460         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1461
1462 2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1463
1464         Unreviewed, rolling out r65221.
1465         http://trac.webkit.org/changeset/65221
1466         https://bugs.webkit.org/show_bug.cgi?id=43896
1467
1468         Broke snow leopard build. (Requested by dave_levin on
1469         #webkit).
1470
1471         * public/WebGraphicsContext3D.h:
1472         * src/GraphicsContext3D.cpp:
1473         * src/WebGraphicsContext3DDefaultImpl.cpp:
1474         * src/WebGraphicsContext3DDefaultImpl.h:
1475
1476 2010-08-11  Stephen White  <senorblanco@chromium.org>
1477
1478         Reviewed by David Levin.
1479
1480         Add support for BGRA pixel format to GraphicsContext3D.
1481         https://bugs.webkit.org/show_bug.cgi?id=43858
1482
1483         Although this has been standard in desktop GL since 1.2, it's an 
1484         extension in GL ES 2.0, so a query function is provided to check
1485         for support.  The DefaultImpl returns false, since it does not yet
1486         implement the TexImage2D internalFormat quirks.
1487
1488         * public/WebGraphicsContext3D.h:
1489         (WebKit::WebGraphicsContext3D::supportsBGRA):
1490         * src/GraphicsContext3D.cpp:
1491         * src/WebGraphicsContext3DDefaultImpl.cpp:
1492         (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
1493         * src/WebGraphicsContext3DDefaultImpl.h:
1494
1495 2010-08-11  James Hawkins  <jhawkins@chromium.org>
1496
1497         Reviewed by Dmitry Titov.
1498
1499         [Chromium] Notify the WebFrameClient when the frame is detached from
1500         the view. This is used to clear the cached frame in the FormManager.
1501         Eventually this will be removed once handling forms is moved into
1502         WebCore.
1503         https://bugs.webkit.org/show_bug.cgi?id=43648
1504
1505         * public/WebFrameClient.h:
1506         (WebKit::WebFrameClient::frameDetached):
1507         * src/FrameLoaderClientImpl.cpp:
1508         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1509
1510 2010-08-11  Dimitri Glazkov  <dglazkov@chromium.org>
1511
1512         Build fix, turn off yet-unbaked DEVICE_ORIENTATION stuff.
1513
1514         * features.gypi: Turned it off.
1515
1516 2010-08-11  Evan Stade  <estade@chromium.org>
1517
1518         Reviewed by David Levin.
1519
1520         [chromium] linux chromium sends double clicks too often
1521         https://bugs.webkit.org/show_bug.cgi?id=43096
1522
1523         * WebKit.gyp: add the test
1524         * src/gtk/WebInputEventFactory.cpp:
1525         (WebKit::WebInputEventFactory::mouseEvent): check the x/y coordinates of the
1526         potential double click event
1527         * tests/WebInputEventFactoryTestGtk.cpp: Added.
1528
1529 2010-08-11  John Abd-El-Malek  <jam@chromium.org>
1530
1531         Reviewed by Darin Fisher.
1532
1533         [chromium] Inform a plugin about the zoom level when it's created
1534         https://bugs.webkit.org/show_bug.cgi?id=42268
1535
1536         * src/FrameLoaderClientImpl.cpp:
1537         (WebKit::FrameLoaderClientImpl::createPlugin):
1538
1539 2010-08-11  Yury Semikhatsky  <yurys@chromium.org>
1540
1541         Unreviewed. Fix Chromium compilation.
1542
1543         * DEPS:
1544
1545 2010-08-11  Yury Semikhatsky  <yurys@chromium.org>
1546
1547         Unreviewed. Chromium build fix.
1548
1549         * DEPS: bump up Chromium revision.
1550
1551 2010-08-11  Yury Semikhatsky  <yurys@chromium.org>
1552
1553         Reviewed by Pavel Feldman.
1554
1555         Web Inspector: remove InjectDispatch.js
1556         https://bugs.webkit.org/show_bug.cgi?id=43835
1557
1558         * WebKit.grd:
1559         * src/js/InjectDispatch.js: Removed.
1560
1561 2010-08-10  Kent Tamura  <tkent@chromium.org>
1562
1563         Unreviewed, build fix.
1564         
1565         Chromium build fix for r65107.
1566
1567         * src/WebAnimationControllerImpl.cpp:
1568         (WebKit::WebAnimationControllerImpl::suspendAnimations):
1569         (WebKit::WebAnimationControllerImpl::resumeAnimations):
1570
1571 2010-08-10  Kenneth Russell  <kbr@google.com>
1572
1573         Reviewed by Dimitri Glazkov.
1574
1575         Roll forward Chromium DEPS to r55584
1576         https://bugs.webkit.org/show_bug.cgi?id=43811
1577
1578         * DEPS:
1579
1580 2010-08-10  Kavita Kanetkar  <kkanetkar@chromium.org>
1581
1582         Reviewed by Joseph Pecoraro.
1583
1584         Web Inspector: Support appcache status change for Chrome
1585         https://bugs.webkit.org/show_bug.cgi?id=43531
1586
1587         * src/ApplicationCacheHost.cpp:
1588         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
1589
1590 2010-08-10  Kenneth Russell  <kbr@google.com>
1591
1592         Reviewed by Dimitri Glazkov.
1593
1594         Use Chromium OpenGL bindings rather than GLEW in WebGraphicsContextDefaultImpl
1595         https://bugs.webkit.org/show_bug.cgi?id=43754
1596
1597         Deleted per-platform OpenGL context management code, now
1598         abstracted via GLContext. Built and tested in Chromium with
1599         --in-process-webgl flag.
1600
1601         * WebKit.gyp:
1602         * src/GraphicsContext3D.cpp:
1603         * src/WebGraphicsContext3DDefaultImpl.cpp:
1604         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
1605         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
1606         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1607         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
1608         (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
1609         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
1610         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
1611         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
1612         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
1613         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
1614         (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
1615         (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
1616         * src/WebGraphicsContext3DDefaultImpl.h:
1617
1618 2010-08-10  Jian Li  <jianli@chromium.org>
1619
1620         Another chromium build fix.
1621
1622         * src/AssertMatchingEnums.cpp:
1623
1624 2010-08-10  Gavin Barraclough  <barraclough@apple.com>
1625
1626         Rubber stamped by Sam Weinig.
1627
1628         Bug 43786 - Move AtomicStringHash from WebCore to WTF
1629         Also remove deprecated string headers from WebCore/platform/text.
1630
1631         * src/WebKit.cpp:
1632         * src/WebPageSerializerImpl.h:
1633         * src/WebString.cpp:
1634
1635 2010-08-10  James Robinson  <jamesr@chromium.org>
1636
1637         Reviewed by Dimitri Glazkov.
1638
1639         [chromium] Feature defines are out of sync between features.gypi and downstream feature_overrides.gypi
1640         https://bugs.webkit.org/show_bug.cgi?id=43756
1641
1642         This synchronizes the feature defines to what's currently downstream (at r55468).
1643         The difference between the build.webkit.org bots and the chromium bots has
1644         caused strange compilation failures lately.
1645
1646         * features.gypi:
1647
1648 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
1649
1650         Reviewed by Pavel Feldman.
1651
1652         Web Inspector: get rid of utility context
1653         https://bugs.webkit.org/show_bug.cgi?id=43787
1654
1655         * public/WebDevToolsAgentClient.h:
1656         * src/DebuggerAgentImpl.cpp:
1657         * src/DebuggerAgentImpl.h:
1658         * src/WebDevToolsAgentImpl.cpp:
1659         (WebKit::):
1660         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
1661         (WebKit::WebDevToolsAgentImpl::attach):
1662         (WebKit::WebDevToolsAgentImpl::detach):
1663         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
1664         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
1665         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
1666         * src/WebDevToolsAgentImpl.h:
1667
1668 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
1669
1670         Reviewed by Pavel Feldman.
1671
1672         Web Inspector, Chromium: reloading of inspected page hits assert in InspectorController::enableDebuggerFromFrontend()
1673         https://bugs.webkit.org/show_bug.cgi?id=43780
1674
1675         * src/WebDevToolsAgentImpl.cpp:
1676         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
1677
1678 2010-08-10  Hans Wennborg  <hans@chromium.org>
1679
1680         Reviewed by Jeremy Orlow.
1681
1682         Implement chromium WebDeviceOrientationClient wrapper and have WebViewImpl get it from WebViewClient.
1683         https://bugs.webkit.org/show_bug.cgi?id=43258
1684
1685         Provide a DeviceOrientationClient to Page by means of a
1686         DeviceOrientationClientProxy that proxies calls to
1687         a WebDeviceOrientationClient, an interface that can be implemented
1688         in the WebKit or Chromium layer. An implementation to be used for
1689         layout tests, wrapping DeviceOrientationClientMock, is provided.
1690
1691
1692         * WebKit.gyp:
1693         * public/WebDeviceOrientation.h: Added.
1694         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
1695         * public/WebDeviceOrientationClient.h: Added.
1696         (WebKit::WebDeviceOrientationClient::~WebDeviceOrientationClient):
1697         * public/WebDeviceOrientationClientMock.h: Added.
1698         (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
1699         (WebKit::WebDeviceOrientationClientMock::~WebDeviceOrientationClientMock):
1700         * public/WebDeviceOrientationController.h: Added.
1701         (WebKit::WebDeviceOrientationController::WebDeviceOrientationController):
1702         * public/WebViewClient.h:
1703         (WebKit::WebViewClient::deviceOrientationClient):
1704         * src/DeviceOrientationClientProxy.cpp: Added.
1705         (WebKit::DeviceOrientationClientProxy::setController):
1706         (WebKit::DeviceOrientationClientProxy::startUpdating):
1707         (WebKit::DeviceOrientationClientProxy::stopUpdating):
1708         (WebKit::DeviceOrientationClientProxy::lastOrientation):
1709         * src/DeviceOrientationClientProxy.h: Added.
1710         (WebKit::DeviceOrientationClientProxy::DeviceOrientationClientProxy):
1711         * src/WebDeviceOrientation.cpp: Added.
1712         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
1713         (WebKit::WebDeviceOrientation::operator=):
1714         (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>):
1715         * src/WebDeviceOrientationClientMock.cpp: Added.
1716         (WebKit::WebDeviceOrientationClientMock::setController):
1717         (WebKit::WebDeviceOrientationClientMock::startUpdating):
1718         (WebKit::WebDeviceOrientationClientMock::stopUpdating):
1719         (WebKit::WebDeviceOrientationClientMock::lastOrientation):
1720         (WebKit::WebDeviceOrientationClientMock::setOrientation):
1721         (WebKit::WebDeviceOrientationClientMock::initialize):
1722         (WebKit::WebDeviceOrientationClientMock::reset):
1723         * src/WebDeviceOrientationController.cpp: Added.
1724         (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
1725         (WebKit::WebDeviceOrientationController::controller):
1726         * src/WebViewImpl.cpp:
1727         (WebKit::WebView::create):
1728         (WebKit::WebViewImpl::WebViewImpl):
1729         * src/WebViewImpl.h:
1730
1731 2010-08-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1732
1733         Unreviewed, rolling out r64988.
1734         http://trac.webkit.org/changeset/64988
1735         https://bugs.webkit.org/show_bug.cgi?id=43775
1736
1737         "It seems to break chromium's ui_tests" (Requested by hamaji
1738         on #webkit).
1739
1740         * public/WebFrameClient.h:
1741         * src/FrameLoaderClientImpl.cpp:
1742         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1743
1744 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
1745
1746         Unreviewed. Remove references to deleted header InspectorFrontend.h
1747
1748         * src/WebDevToolsAgentImpl.cpp:
1749
1750 2010-08-10  Yury Semikhatsky  <yurys@chromium.org>
1751
1752         Unreviewed. Fix Chromium compilation.
1753
1754         * src/WebDevToolsAgentImpl.cpp:
1755         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
1756
1757 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
1758
1759         Speculative chromium build fix V.
1760
1761         * tests/KURLTest.cpp:
1762         (ComponentCase::TEST):
1763
1764 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
1765
1766         Speculative chromium build fix IV.
1767
1768         * src/WebPageSerializerImpl.h:
1769
1770 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
1771
1772         Speculative chromium build fix II.
1773
1774         * src/AssertMatchingEnums.cpp:
1775
1776 2010-08-09  Gavin Barraclough  <barraclough@apple.com>
1777
1778         Speculative chromium build fix.
1779
1780         * public/WebCString.h:
1781
1782 2010-08-06  Gavin Barraclough  <barraclough@apple.com>
1783
1784         Rubber stamped by Sam Weinig
1785
1786         Bug 43594 - Add string forwards to Forward.h
1787         This allows us to remove forward declarations for these classes from
1788         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
1789
1790         * public/WebCString.h:
1791         * public/WebString.h:
1792         * src/DOMUtilitiesPrivate.h:
1793         * src/DebuggerAgentImpl.h:
1794         * src/DebuggerAgentManager.h:
1795         * src/WebDevToolsAgentImpl.h:
1796         * src/WebDevToolsFrontendImpl.h:
1797         * src/WebPageSerializerImpl.h:
1798
1799 2010-08-09  Vangelis Kokkevis  <vangelis@chromium.org>
1800
1801         Reviewed by Dimitri Glazkov.
1802
1803         Skip the slow software rendering path of GraphicsContext3D if accelerated
1804         compositing is active. This fixes an issue with WebGL and the compositor
1805         in which the software rendering of WebGL would cause the current GL context
1806         to change while the compositor was processing layers. Tested by running
1807         several WebGL samples both with the compositor enabled and disabled.
1808         https://bugs.webkit.org/show_bug.cgi?id=43644
1809
1810         * src/GraphicsContext3D.cpp:
1811         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1812         (WebCore::GraphicsContext3DInternal::initialize):
1813         (WebCore::GraphicsContext3DInternal::beginPaint):
1814
1815 2010-08-06  James Hawkins  <jhawkins@chromium.org>
1816
1817         Reviewed by Dimitri Glazkov.
1818
1819         [Chromium] Notify the WebFrameClient when the frame is detached from
1820         the view. This is used to clear the cached frame in the FormManager.
1821         Eventually this will be removed once handling forms is moved into
1822         WebCore.
1823         https://bugs.webkit.org/show_bug.cgi?id=43648
1824
1825         * public/WebFrameClient.h:
1826         (WebKit::WebFrameClient::frameDetached):
1827         * src/FrameLoaderClientImpl.cpp:
1828         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1829
1830 2010-08-09  Pavel Feldman  <pfeldman@chromium.org>
1831
1832         Not reviewed: Chromium tests fix.
1833
1834         Chromium: provisional interactive ui tests fix.
1835
1836         * src/js/Tests.js:
1837         (.TestSuite.prototype.testShowStoragePanel.this):
1838         (.TestSuite.prototype.testShowStoragePanel):
1839
1840 2010-08-09  Pavel Feldman  <pfeldman@chromium.org>
1841
1842         Not reviewed. Chromium tests fix.
1843
1844         Disable runtime switch for device motion in chromium.
1845         https://bugs.webkit.org/show_bug.cgi?id=43717
1846
1847         * src/WebViewImpl.cpp:
1848         (WebKit::WebView::create):
1849
1850 2010-08-09  Pavel Feldman  <pfeldman@chromium.org>
1851
1852         Reviewed by Yury Semikhatsky.
1853
1854         Chromium: Remove temporary device motion fix.
1855
1856         https://bugs.webkit.org/show_bug.cgi?id=43713
1857
1858         * src/WebRuntimeFeatures.cpp:
1859         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
1860
1861 2010-08-07  Jay Civelli  <jcivelli@chromium.org>
1862
1863         Reviewed by Eric Seidel.
1864
1865         Removed unecessary focus code.
1866         https://bugs.webkit.org/show_bug.cgi?id=43542
1867
1868         * src/ChromiumBridge.cpp:
1869
1870 2010-08-06  Victor Wang  <victorw@chromium.org>
1871
1872         Reviewed by Kent Tamura.
1873
1874         [Chromium] Add dllimport/dllexport to WebSpeechInputControllerMock::create
1875         so it works for windows dll build.
1876
1877         https://bugs.webkit.org/show_bug.cgi?id=43627
1878
1879         * public/WebSpeechInputControllerMock.h:
1880
1881 2010-08-06  James Robinson  <jamesr@chromium.org>
1882
1883         Reviewed by Simon Fraser.
1884
1885         Composited canvas should be treated the same by the compositor and not be WebGL specific
1886         https://bugs.webkit.org/show_bug.cgi?id=43589
1887
1888         Initializes the platformLayer as a CanvasLayerChromium, not a WebGLLayerChromium.
1889         The layer itself isn't WebGL-specific.
1890
1891         * src/GraphicsContext3D.cpp:
1892         (WebCore::GraphicsContext3DInternal::initialize):
1893         (WebCore::GraphicsContext3DInternal::platformLayer):
1894         (WebCore::GraphicsContext3D::platformLayer):
1895
1896 2010-08-06  Jessie Berlin  <jberlin@apple.com>
1897
1898         Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
1899         Unreviewed.
1900
1901         * public/WebCString.h:
1902         * public/WebString.h:
1903         * src/DOMUtilitiesPrivate.h:
1904         * src/DebuggerAgentImpl.h:
1905         * src/DebuggerAgentManager.h:
1906         * src/WebDevToolsAgentImpl.h:
1907         * src/WebDevToolsFrontendImpl.h:
1908         * src/WebPageSerializerImpl.h:
1909
1910 2010-08-06  Pavel Feldman  <pfeldman@chromium.org>
1911
1912         Reviewed by Yury Semikhatsky.
1913
1914         Chromium: disable device motion by default.
1915
1916         https://bugs.webkit.org/show_bug.cgi?id=43623
1917
1918         * public/WebRuntimeFeatures.h:
1919         * src/WebRuntimeFeatures.cpp:
1920         (WebKit::WebRuntimeFeatures::enableDeviceMotion):
1921         (WebKit::WebRuntimeFeatures::isDeviceMotionEnabled):
1922         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
1923
1924 2010-08-06  Kavita Kanetkar  <kkanetkar@chromium.org>
1925
1926         Reviewed by Joseph Pecoraro.
1927
1928         Web Inspector: Remove "Online/Offline" icon for Chrome's appcache devtools UI.
1929         https://bugs.webkit.org/show_bug.cgi?id=43450
1930
1931         * src/js/DevTools.js:
1932         (WebInspector.loaded):
1933
1934 2010-08-05  Marcus Bulach  <bulach@chromium.org>
1935
1936         Reviewed by Jeremy Orlow.
1937
1938         Initial bindings and plumbing for IDBCursor.
1939         https://bugs.webkit.org/show_bug.cgi?id=41888
1940
1941         Test: storage/indexeddb/idb-opencursor.html
1942
1943         * WebKit.gyp:
1944         * public/WebIDBCallbacks.h:
1945         (WebKit::WebIDBCallbacks::onSuccess):
1946         * public/WebIDBCursor.h: Added.
1947         (WebKit::WebIDBCursor::~WebIDBCursor):
1948         (WebKit::WebIDBCursor::direction):
1949         (WebKit::WebIDBCursor::key):
1950         (WebKit::WebIDBCursor::value):
1951         (WebKit::WebIDBCursor::update):
1952         (WebKit::WebIDBCursor::continueFunction):
1953         (WebKit::WebIDBCursor::remove):
1954         * public/WebIDBKeyRange.h: Added.
1955         (WebKit::WebIDBKeyRange::~WebIDBKeyRange):
1956         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
1957         * public/WebIDBObjectStore.h:
1958         (WebKit::WebIDBObjectStore::openCursor):
1959         * src/IDBCallbacksProxy.cpp:
1960         (WebCore::IDBCallbacksProxy::onSuccess):
1961         * src/IDBCallbacksProxy.h:
1962         * src/IDBCursorBackendProxy.cpp: Added.
1963         (WebCore::IDBCursorBackendProxy::create):
1964         (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
1965         (WebCore::IDBCursorBackendProxy::~IDBCursorBackendProxy):
1966         (WebCore::IDBCursorBackendProxy::direction):
1967         (WebCore::IDBCursorBackendProxy::key):
1968         (WebCore::IDBCursorBackendProxy::value):
1969         (WebCore::IDBCursorBackendProxy::update):
1970         (WebCore::IDBCursorBackendProxy::continueFunction):
1971         (WebCore::IDBCursorBackendProxy::remove):
1972         * src/IDBCursorBackendProxy.h: Added.
1973         * src/IDBObjectStoreProxy.cpp:
1974         (WebCore::IDBObjectStoreProxy::openCursor):
1975         * src/IDBObjectStoreProxy.h:
1976         * src/WebIDBCallbacksImpl.cpp:
1977         (WebCore::WebIDBCallbacksImpl::onSuccess):
1978         * src/WebIDBCallbacksImpl.h:
1979         * src/WebIDBCursorImpl.cpp: Added.
1980         (WebKit::WebIDBCursorImpl::WebIDBCursorImpl):
1981         (WebKit::WebIDBCursorImpl::~WebIDBCursorImpl):
1982         (WebKit::WebIDBCursorImpl::direction):
1983         (WebKit::WebIDBCursorImpl::key):
1984         (WebKit::WebIDBCursorImpl::value):
1985         (WebKit::WebIDBCursorImpl::update):
1986         (WebKit::WebIDBCursorImpl::continueFunction):
1987         (WebKit::WebIDBCursorImpl::remove):
1988         * src/WebIDBCursorImpl.h: Added.
1989         * src/WebIDBKeyRange.cpp: Added.
1990         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
1991         (WebKit::WebIDBKeyRange::assign):
1992         (WebKit::WebIDBKeyRange::reset):
1993         (WebKit::WebIDBKeyRange::left):
1994         (WebKit::WebIDBKeyRange::right):
1995         (WebKit::WebIDBKeyRange::flags):
1996         * src/WebIDBObjectStoreImpl.cpp:
1997         (WebKit::WebIDBObjectStoreImpl::openCursor):
1998         * src/WebIDBObjectStoreImpl.h:
1999
2000 2010-08-05  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>
2001
2002         Reviewed by Jeremy Orlow.
2003
2004         [IndexedDB] IndexedDB is missing the Transaction interface.
2005         https://bugs.webkit.org/show_bug.cgi?id=42970
2006
2007         Add IDBTransaction boilerplate.
2008
2009         * src/IDBDatabaseProxy.cpp:
2010         (WebCore::IDBDatabaseProxy::transaction):
2011         * src/IDBDatabaseProxy.h:
2012
2013 2010-08-05  Gavin Barraclough  <barraclough@apple.com>
2014
2015         Rubber stamped by Sam Weinig
2016
2017         Bug 43594 - Add string forwards to Forward.h
2018         This allows us to remove forward declarations for these classes from
2019         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
2020
2021         * public/WebCString.h:
2022         * public/WebString.h:
2023         * src/DOMUtilitiesPrivate.h:
2024         * src/DebuggerAgentImpl.h:
2025         * src/DebuggerAgentManager.h:
2026         * src/WebDevToolsAgentImpl.h:
2027         * src/WebDevToolsFrontendImpl.h:
2028         * src/WebPageSerializerImpl.h:
2029
2030 2010-08-05  Brett Wilson  <brettw@chromium.org>
2031
2032         Reviewed by Nate Chapin.
2033
2034         Make the webkit unit tests depend on test_support_base
2035         https://bugs.webkit.org/show_bug.cgi?id=43584
2036
2037         * WebKit.gyp:
2038
2039 2010-08-04  Kenneth Russell  <kbr@google.com>
2040
2041         Reviewed by Dimitri Glazkov.
2042
2043         Style cleanups in WebGL
2044         https://bugs.webkit.org/show_bug.cgi?id=38761
2045
2046         Cleaned up all style violations in WebGL-related files reported by
2047         check-webkit-style. No logic or other changes. Built WebKit and
2048         Chromium and ran WebGL layout tests.
2049
2050         * src/GraphicsContext3D.cpp:
2051         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2052         * src/WebGraphicsContext3DDefaultImpl.cpp:
2053         * src/WebGraphicsContext3DDefaultImpl.h:
2054
2055 2010-08-05  Jian Li  <jianli@chromium.org>
2056
2057         Reviewed by David Levin.
2058
2059         Unify blob related feature defines to ENABLE(BLOB).
2060         https://bugs.webkit.org/show_bug.cgi?id=43081
2061
2062         * features.gypi:
2063         * src/WebHTTPBody.cpp:
2064         (WebKit::WebHTTPBody::elementAt):
2065         (WebKit::WebHTTPBody::appendFileRange):
2066
2067 2010-08-05  Nico Weber  <thakis@chromium.org>
2068
2069         Reviewed by Jeremy Orlow.
2070
2071         Remove useless const on return-by-value (fixes a clang warning)
2072         https://bugs.webkit.org/show_bug.cgi?id=43491
2073
2074         * src/WebInputEventConversion.cpp:
2075         (WebKit::toPlatformKeyboardEventType):
2076
2077 2010-08-05  Satish Sampath  <satish@chromium.org>
2078
2079         Reviewed by Jeremy Orlow.
2080
2081         Add speech input controller mock in WebKit and a layout test.
2082         https://bugs.webkit.org/show_bug.cgi?id=43477
2083
2084         * WebKit.gyp:
2085         * public/WebSpeechInputControllerMock.h: Added WebKit speech input controller mock interface.
2086         * src/WebSpeechInputControllerMockImpl.cpp: Added implementation of the above mock.
2087         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
2088         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
2089         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
2090         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
2091         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
2092         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2093         (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
2094         (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
2095         (WebKit::WebSpeechInputControllerMock::create):
2096
2097 2010-08-05  Pavel Feldman  <pfeldman@chromium.org>
2098
2099         Reviewed by Yury Semikhatsky.
2100
2101         Chromium DevTools: [REGRESSION] Frame navigation is not handled in devtools.
2102
2103         https://bugs.webkit.org/show_bug.cgi?id=43556
2104
2105         * src/WebDevToolsAgentImpl.cpp:
2106         (WebKit::):
2107         (WebKit::WebDevToolsAgentImpl::detach):
2108         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
2109         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
2110
2111 2010-08-05  John Gregg  <johnnyg@google.com>
2112
2113         Reviewed by Darin Fisher.
2114
2115         [chromium] WebFileChooserParams should have default constructor
2116         https://bugs.webkit.org/show_bug.cgi?id=43435
2117
2118         * public/WebFileChooserParams.h:
2119         (WebKit::WebFileChooserParams::WebFileChooserParams):
2120
2121 2010-08-05  Victoria Kirst  <vrk@google.com>
2122
2123         Reviewed by David Levin.
2124
2125         Added a repaint request so that VideoLayerChromium does not have
2126         a flickering problem when playing video.
2127         https://bugs.webkit.org/show_bug.cgi?id=43101
2128
2129         * src/WebMediaPlayerClientImpl.cpp:
2130         (WebKit::WebMediaPlayerClientImpl::repaint):
2131
2132 2010-08-05  Pavel Feldman  <pfeldman@chromium.org>
2133
2134         Reviewed by Yury Semikhatsky.
2135
2136         DevTools: get rid of delayed command dispatching on front-end side.
2137
2138         https://bugs.webkit.org/show_bug.cgi?id=43479
2139
2140         * public/WebDevToolsFrontendClient.h:
2141         (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded):
2142         * src/WebDevToolsAgentImpl.cpp:
2143         (WebKit::WebDevToolsAgentImpl::attach):
2144         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
2145         * src/WebDevToolsAgentImpl.h:
2146         * src/WebDevToolsFrontendImpl.cpp:
2147         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2148         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
2149         * src/WebDevToolsFrontendImpl.h:
2150         * src/js/DevTools.js:
2151         (WebInspector.doLoadedDone):
2152         * src/js/Tests.js:
2153         (.uiTests.runTest):
2154         (.):
2155
2156 2010-08-02  Kenneth Russell  <kbr@google.com>
2157
2158         Reviewed by Dimitri Glazkov.
2159
2160         Port Chromium's accelerated compositing to Mac OS X
2161         https://bugs.webkit.org/show_bug.cgi?id=43398
2162
2163         * public/WebGLES2Context.h:
2164          - Added resizeOnscreenContent, needed on Mac OS X to report
2165            window size changes.
2166         * src/WebViewImpl.cpp:
2167         (WebKit::WebViewImpl::resize):
2168          - Send resize notification to the WebGLES2Context.
2169         (WebKit::WebViewImpl::updateRootLayerContents):
2170          - Ported to Core Graphics.
2171         (WebKit::WebViewImpl::gles2Context):
2172          - Added initial size notification upon context creation.
2173
2174 2010-08-04  Pavel Feldman  <pfeldman@chromium.org>
2175
2176         Reviewed by Yury Semikhatsky.
2177
2178         DevTools: get rid of delayed command dispatching on front-end side.
2179
2180         https://bugs.webkit.org/show_bug.cgi?id=43479
2181
2182         * public/WebDevToolsAgent.h:
2183         * src/WebDevToolsAgentImpl.cpp:
2184         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
2185         * src/WebDevToolsAgentImpl.h:
2186
2187 2010-08-03  James Robinson  <jamesr@chromium.org>
2188
2189         Reviewed by Darin Fisher.
2190
2191         Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API
2192         https://bugs.webkit.org/show_bug.cgi?id=43221
2193
2194         Implements functions in term of Platform3DObjects instead of WebGL types.
2195
2196         * src/GraphicsContext3D.cpp:
2197         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2198         (WebCore::GraphicsContext3DInternal::beginPaint):
2199         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
2200         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
2201         (WebCore::GraphicsContext3DInternal::getActiveUniform):
2202         (WebCore::GraphicsContext3DInternal::getAttribLocation):
2203         (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
2204         (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
2205         (WebCore::GraphicsContext3DInternal::getShaderSource):
2206         (WebCore::GraphicsContext3DInternal::getUniformLocation):
2207         (WebCore::GraphicsContext3DInternal::shaderSource):
2208
2209 2010-08-03  Dimitri Glazkov  <dglazkov@chromium.org>
2210
2211         Unreviewed, build fix.
2212
2213         Roll chromium to 54723 to unbreak the builds.
2214
2215         * DEPS:
2216
2217 2010-08-03  Andrei Popescu  <andreip@google.com>
2218
2219         Reviewed by Jeremy Orlow.
2220
2221         [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore
2222         https://bugs.webkit.org/show_bug.cgi?id=43420
2223
2224         * src/IDBCallbacksProxy.cpp:
2225         (WebCore::IDBCallbacksProxy::onSuccess):
2226         * src/IDBCallbacksProxy.h:
2227         * src/IDBDatabaseProxy.cpp:
2228         (WebCore::IDBDatabaseProxy::objectStore):
2229         * src/IDBDatabaseProxy.h:
2230         * src/IDBObjectStoreProxy.cpp:
2231         (WebCore::IDBObjectStoreProxy::create):
2232         * src/IDBObjectStoreProxy.h:
2233         * src/WebIDBObjectStoreImpl.cpp:
2234         (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
2235         * src/WebIDBObjectStoreImpl.h:
2236
2237 2010-08-03  Yury Semikhatsky  <yurys@chromium.org>
2238
2239         Unreviewed. Fix Chromium interactive UI tests.
2240
2241         * src/js/Tests.js:
2242         (.TestSuite.prototype.testResourceHeaders):
2243
2244 2010-07-30  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>
2245
2246         Reviewed by Jeremy Orlow.
2247
2248         Rename IDBDatabaseRequest to IDBDatabase
2249         https://bugs.webkit.org/show_bug.cgi?id=43250
2250
2251         * src/IDBCallbacksProxy.cpp:
2252         (WebCore::IDBCallbacksProxy::onSuccess):
2253         * src/IDBCallbacksProxy.h:
2254         * src/IDBDatabaseProxy.cpp:
2255         (WebCore::IDBDatabaseProxy::create):
2256         * src/IDBDatabaseProxy.h:
2257         * src/WebIDBDatabaseImpl.cpp:
2258         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
2259         (WebKit::WebIDBDatabaseImpl::name):
2260         (WebKit::WebIDBDatabaseImpl::description):
2261         (WebKit::WebIDBDatabaseImpl::version):
2262         (WebKit::WebIDBDatabaseImpl::objectStores):
2263         (WebKit::WebIDBDatabaseImpl::createObjectStore):
2264         (WebKit::WebIDBDatabaseImpl::objectStore):
2265         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
2266         * src/WebIDBDatabaseImpl.h:
2267
2268 2010-08-02  Pavel Feldman  <pfeldman@chromium.org>
2269
2270         Reviewed by Yury Semikhatsky.
2271
2272         Chromium DevTools: Get rid of DevTools RPC.
2273
2274         https://bugs.webkit.org/show_bug.cgi?id=43335
2275
2276         * WebKit.gyp:
2277         * public/WebDevToolsAgent.h:
2278         * public/WebDevToolsAgentClient.h:
2279         (WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend):
2280         (WebKit::WebDevToolsAgentClient::sendDebuggerOutput):
2281         (WebKit::WebDevToolsAgentClient::sendDispatchToAPU):
2282         * public/WebDevToolsFrontend.h:
2283         * public/WebDevToolsFrontendClient.h:
2284         (WebKit::WebDevToolsFrontendClient::sendMessageToBackend):
2285         * public/WebDevToolsMessageData.h: Removed.
2286         * public/WebDevToolsMessageTransport.h: Removed.
2287         * src/APUAgentDelegate.h: Removed.
2288         * src/DebuggerAgent.h: Removed.
2289         * src/DebuggerAgentImpl.cpp:
2290         (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
2291         (WebKit::DebuggerAgentImpl::debuggerOutput):
2292         * src/DebuggerAgentImpl.h:
2293         * src/DebuggerAgentManager.cpp:
2294         (WebKit::DebuggerAgentManager::debugDetach):
2295         (WebKit::DebuggerAgentManager::onV8DebugMessage):
2296         (WebKit::DebuggerAgentManager::executeDebuggerCommand):
2297         (WebKit::DebuggerAgentManager::sendCommandToV8):
2298         (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
2299         * src/DevToolsRPC.h: Removed.
2300         * src/DevToolsRPCJS.h: Removed.
2301         * src/InspectorClientImpl.cpp:
2302         * src/InspectorFrontendClientImpl.cpp:
2303         (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
2304         * src/ProfilerAgent.h: Removed.
2305         * src/ProfilerAgentImpl.cpp: Removed.
2306         * src/ProfilerAgentImpl.h: Removed.
2307         * src/ToolsAgent.h: Removed.
2308         * src/WebDevToolsAgentImpl.cpp:
2309         (WebKit::):
2310         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
2311         (WebKit::WebDevToolsAgentImpl::attach):
2312         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
2313         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend):
2314         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
2315         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
2316         * src/WebDevToolsAgentImpl.h:
2317         * src/WebDevToolsFrontendImpl.cpp:
2318         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
2319         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2320         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
2321         (WebKit::WebDevToolsFrontendImpl::executeScript):
2322         * src/WebDevToolsFrontendImpl.h:
2323         * src/js/DevTools.js:
2324         (devtools.dispatch):
2325         (devtools.ToolsAgent):
2326         * src/js/DevToolsHostStub.js:
2327         * src/js/ProfilerAgent.js:
2328         (devtools.ProfilerAgent):
2329         (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
2330         (devtools.ProfilerAgent.prototype._getNextLogLines):
2331         (devtools.ProfilerAgent.prototype._didGetProfilerLogLines):
2332         * src/js/ProfilerProcessor.js:
2333         (devtools.profiler.Processor.prototype.printError):
2334
2335 2010-08-02  Kent Tamura  <tkent@chromium.org>
2336
2337         Reviewed by Dimitri Glazkov.
2338
2339         [DRT/Chromium] Remove dependencies to some Chromium headers
2340         https://bugs.webkit.org/show_bug.cgi?id=43396
2341
2342         * DEPS: Update Chromium revision to 54649 in order to have a
2343         webkit_support change (r54646)
2344
2345 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
2346
2347         Reviewed by Darin Fisher.
2348
2349         PopupMenu refactoring in preparation to WebKit2
2350         https://bugs.webkit.org/show_bug.cgi?id=42592
2351
2352         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
2353         instances, concrete classes that inherit from ChromeClient needed to be changed to
2354         implement the new methods.
2355
2356         * src/ChromeClientImpl.cpp:
2357         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
2358         (WebKit::ChromeClientImpl::createPopupMenu):
2359         (WebKit::ChromeClientImpl::createSearchPopupMenu):
2360         * src/ChromeClientImpl.h:
2361
2362 2010-08-02  Kent Tamura  <tkent@chromium.org>
2363
2364         Reviewed by Dimitri Glazkov.
2365
2366         [DRT/Chromium] Always initialize GTK
2367         https://bugs.webkit.org/show_bug.cgi?id=43327
2368
2369         * WebKit.gyp: Add GTK dependency for DRT.
2370
2371 2010-08-02  Jeremy Orlow  <jorlow@chromium.org>
2372
2373         Speculative revert of 64425 due to Chromium instability
2374         https://bugs.webkit.org/show_bug.cgi?id=43347
2375
2376         * src/ChromeClientImpl.cpp:
2377         * src/ChromeClientImpl.h:
2378         * tests/PopupMenuTest.cpp:
2379         (WebKit::SelectPopupMenuTest::SetUp):
2380
2381 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
2382
2383         Reviewed by Darin Fisher.
2384
2385         PopupMenu refactoring in preparation to WebKit2
2386         https://bugs.webkit.org/show_bug.cgi?id=42592
2387
2388         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
2389         instances, concrete classes that inherit from ChromeClient needed to be changed to
2390         implement the new methods.
2391
2392         * src/ChromeClientImpl.cpp:
2393         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
2394         (WebKit::ChromeClientImpl::createPopupMenu):
2395         (WebKit::ChromeClientImpl::createSearchPopupMenu):
2396         * src/ChromeClientImpl.h:
2397
2398 2010-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
2399
2400         Unreviewed, rolling out r64422.
2401         http://trac.webkit.org/changeset/64422
2402         https://bugs.webkit.org/show_bug.cgi?id=43304
2403
2404         Build fixes are needed for Snow Leopard and Windows.
2405         (Requested by lca on #webkit).
2406
2407         * src/ChromeClientImpl.cpp:
2408         * src/ChromeClientImpl.h:
2409
2410 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
2411
2412         Reviewed by Darin Fisher.
2413
2414         PopupMenu refactoring in preparation to WebKit2
2415         https://bugs.webkit.org/show_bug.cgi?id=42592
2416
2417         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
2418         instances, concrete classes that inherit from ChromeClient needed to be changed to
2419         implement the new methods.
2420
2421         * src/ChromeClientImpl.cpp:
2422         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
2423         (WebKit::ChromeClientImpl::createPopupMenu):
2424         (WebKit::ChromeClientImpl::createSearchPopupMenu):
2425         * src/ChromeClientImpl.h:
2426
2427 2010-07-30  Joseph Pecoraro  <joepeck@webkit.org>
2428
2429         Reviewed by David Kilzer.
2430
2431         Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
2432         https://bugs.webkit.org/show_bug.cgi?id=40627
2433
2434         * src/ChromeClientImpl.cpp:
2435         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
2436         * src/ChromeClientImpl.h:
2437
2438 2010-07-30  James Robinson  <jamesr@chromium.org>
2439
2440         Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of
2441         USE(ACCELERATED_COMPOSITING) to match WebCore.  Fixes the compile when
2442         USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false.
2443
2444         * src/ChromeClientImpl.cpp:
2445         * src/ChromeClientImpl.h:
2446
2447 2010-07-27  Darin Fisher  <darin@chromium.org>
2448
2449         Reviewed by Brady Eidson.
2450
2451         History.pushState() + navigation operates on top frame when called from
2452         nested context
2453         https://bugs.webkit.org/show_bug.cgi?id=43080
2454
2455         * src/FrameLoaderClientImpl.cpp:
2456         (WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource
2457         can be null if the Frame has already been detached from the Page.  This
2458         happens if a popstate event handler removes the frame.
2459
2460 2010-07-29  Jeremy Orlow  <jorlow@chromium.org>
2461
2462         Reviewed by Steve Block.
2463
2464         Rename all the IDBIndex classses to match the latest conventions
2465         https://bugs.webkit.org/show_bug.cgi?id=43190
2466
2467         Fix up stuff in WebKit layer to handle the renamings in WebCore.
2468
2469         * WebKit.gyp:
2470         * src/IDBCallbacksProxy.cpp:
2471         (WebCore::IDBCallbacksProxy::onSuccess):
2472         * src/IDBCallbacksProxy.h:
2473         * src/IDBIndexBackendProxy.cpp: Added.
2474         (WebCore::IDBIndexBackendProxy::create):
2475         (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
2476         (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy):
2477         (WebCore::IDBIndexBackendProxy::name):
2478         (WebCore::IDBIndexBackendProxy::keyPath):
2479         (WebCore::IDBIndexBackendProxy::unique):
2480         * src/IDBIndexBackendProxy.h: Added.
2481         * src/IDBIndexProxy.cpp: Removed.
2482         * src/IDBIndexProxy.h: Removed.
2483         * src/IDBObjectStoreProxy.cpp:
2484         (WebCore::IDBObjectStoreProxy::index):
2485         * src/IDBObjectStoreProxy.h:
2486         * src/WebIDBCallbacksImpl.cpp:
2487         (WebCore::WebIDBCallbacksImpl::onSuccess):
2488         * src/WebIDBIndexImpl.cpp:
2489         (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
2490         (WebKit::WebIDBIndexImpl::name):
2491         (WebKit::WebIDBIndexImpl::keyPath):
2492         (WebKit::WebIDBIndexImpl::unique):
2493         * src/WebIDBIndexImpl.h:
2494         * src/WebIDBObjectStoreImpl.cpp:
2495         (WebKit::WebIDBObjectStoreImpl::index):
2496
2497 2010-07-30  Satish Sampath  <satish@chromium.org>
2498
2499         Reviewed by Jeremy Orlow.
2500
2501         Add a check for WebViewClient being null.
2502         https://bugs.webkit.org/show_bug.cgi?id=43240
2503
2504         * src/SpeechInputClientImpl.cpp:
2505         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
2506
2507 2010-07-30  Hans Wennborg  <hans@chromium.org>
2508
2509         Reviewed by Steve Block.
2510
2511         Disable runtime switch for device orientation in chromium
2512         https://bugs.webkit.org/show_bug.cgi?id=43237
2513
2514         Explicitly set the runtime switch for device orientation
2515         in WebView::create until we implement the feature.
2516         If the flag is accidentally on while no DeviceOrientationClient
2517         is provided, the program will crash.
2518
2519         * src/WebViewImpl.cpp:
2520         (WebKit::WebView::create):
2521
2522 2010-07-26  Andrei Popescu  <andreip@google.com>
2523
2524         Reviewed by Jeremy Orlow.
2525
2526         [IndexedDB] IndexedDatabase should be called IDBFactory.
2527         https://bugs.webkit.org/show_bug.cgi?id=42967
2528
2529         * WebKit.gyp:
2530         * public/WebIDBFactory.h: Added.
2531         (WebKit::WebIDBFactory::~WebIDBFactory):
2532         (WebKit::WebIDBFactory::databases):
2533         (WebKit::WebIDBFactory::open):
2534         * public/WebIndexedDatabase.h: Removed.
2535         * public/WebKitClient.h:
2536         (WebKit::WebKitClient::idbFactory):
2537         * src/ChromiumBridge.cpp:
2538         (WebCore::ChromiumBridge::idbFactory):
2539         * src/IDBFactoryBackendProxy.cpp: Added.
2540         (WebCore::IDBFactoryBackendProxy::create):
2541         (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
2542         (WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy):
2543         (WebCore::IDBFactoryBackendProxy::open):
2544         * src/IDBFactoryBackendProxy.h: Added.
2545         * src/IndexedDatabaseProxy.cpp: Removed.
2546         * src/IndexedDatabaseProxy.h: Removed.
2547         * src/WebIDBFactoryImpl.cpp: Added.
2548         (WebKit::WebIDBFactory::create):
2549         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
2550         (WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl):
2551         (WebKit::WebIDBFactoryImpl::open):
2552         * src/WebIDBFactoryImpl.h: Added.
2553         * src/WebIndexedDatabaseImpl.cpp: Removed.
2554         * src/WebIndexedDatabaseImpl.h: Removed.
2555
2556 2010-07-29  Andrei Popescu  <andreip@google.com>
2557
2558         Reviewed by Jeremy Orlow.
2559
2560         [IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build
2561         https://bugs.webkit.org/show_bug.cgi?id=43186
2562
2563         Add WEBKIT_API to WebDOMStringList default ctor.
2564
2565         * public/WebDOMStringList.h:
2566
2567 2010-07-29  Satish Sampath  <satish@chromium.org>
2568
2569         Reviewed by Steve Block.
2570
2571         Runtime feature switch for speech input
2572         https://bugs.webkit.org/show_bug.cgi?id=43146
2573
2574         Add a runtime feature switch that decides whether speech input attributes are available or not.
2575         Defaults to true.
2576
2577         * public/WebRuntimeFeatures.h:
2578         * src/SpeechInputClientImpl.cpp:
2579         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
2580         * src/WebRuntimeFeatures.cpp:
2581         (WebKit::WebRuntimeFeatures::enableSpeechInput):
2582         (WebKit::WebRuntimeFeatures::isSpeechInputEnabled):
2583
2584 2010-07-28  Kavita Kanetkar  <kkanetkar@chromium.org>
2585
2586         Reviewed by Pavel Feldman.
2587
2588         Web Inspector: Enable UI for chromium's appcache inspection.
2589         https://bugs.webkit.org/show_bug.cgi?id=43098
2590
2591         * src/js/DevTools.js:
2592         (WebInspector.loaded):
2593
2594 2010-07-28  Dominic Mazzoni  <dmazzoni@google.com>
2595
2596         Reviewed by Dimitri Glazkov.
2597
2598         Add access to the computed style display to WebAccessibilityObject.
2599         https://bugs.webkit.org/show_bug.cgi?id=43044
2600
2601         * public/WebAccessibilityObject.h:
2602         * src/WebAccessibilityObject.cpp:
2603         (WebKit::WebAccessibilityObject::hasComputedStyle):
2604         (WebKit::WebAccessibilityObject::computedStyleDisplay):
2605
2606 2010-07-28  Hans Wennborg  <hans@chromium.org>
2607
2608         Reviewed by Jeremy Orlow.
2609
2610         Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium
2611         https://bugs.webkit.org/show_bug.cgi?id=43122
2612
2613         Enable the compile-time switch for device orientation.
2614         The switch was already enabled in features_override.gypi in the Chromium
2615         repository (in revision 53317), and should be set here as well.
2616
2617         The feature is being implemented behind a run-time flag which
2618         defaults to off in Chromium.
2619
2620         * features.gypi: Set ENABLE_DEVICE_ORIENTATION=1.
2621
2622 2010-07-28  Gene Gutnik  <gene@google.com>
2623
2624         Reviewed by Darin Fisher.
2625
2626         Fix mouse coordinate conversion. WindowX,Y is an absolute
2627         mouse coordinates within browser window, x,y - are coordinates
2628         relative to the plugin.
2629         https://bugs.webkit.org/show_bug.cgi?id=42987
2630
2631         * src/WebInputEventConversion.cpp:
2632         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2633         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
2634         * src/WebInputEventConversion.h:
2635         * src/WebPluginContainerImpl.cpp:
2636         (WebKit::WebPluginContainerImpl::handleMouseEvent):
2637         (WebKit::WebPluginContainerImpl::handleWheelEvent):
2638
2639 2010-07-28  James Robinson  <jamesr@chromium.org>
2640
2641         Reviewed by Darin Fisher.
2642
2643         [chromium] Add a bool to Settings to control accelerated 2d canvas
2644         https://bugs.webkit.org/show_bug.cgi?id=43094
2645
2646         * public/WebSettings.h:
2647         * src/WebSettingsImpl.cpp:
2648         (WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled):
2649         * src/WebSettingsImpl.h:
2650
2651 2010-07-28  Brett Wilson  <brettw@chromium.org>
2652
2653         Reviewed by Darin Fisher.
2654
2655         Fix forward declares to be struct instead of class.
2656         https://bugs.webkit.org/show_bug.cgi?id=43127
2657
2658         * public/WebFont.h:
2659
2660 2010-07-28  Pavel Feldman  <pfeldman@chromium.org>
2661
2662         Reviewed by Dimitri Glazkov.
2663
2664         Chromium DevTools: [REGRESSION] sourceURL is not respected.
2665
2666         https://bugs.webkit.org/show_bug.cgi?id=43124
2667
2668         * src/js/DebuggerScript.js:
2669
2670 2010-07-28  Andrei Popescu  <andreip@google.com>
2671
2672         Reviewed by Jeremy Orlow.
2673
2674         [IndexedDB] WebDOMStringList default ctor does not initialize its m_private member
2675         variable so any attempt to append strings to a WebDOMStringList instance results in a crash.
2676         https://bugs.webkit.org/show_bug.cgi?id=43120
2677
2678         Makes the default WebKit::WebDOMStringList ctor actually create its wrapped
2679         WebCore::DOMStringList instance.
2680
2681         * public/WebDOMStringList.h:
2682         * src/WebDOMStringList.cpp:
2683         (WebKit::WebDOMStringList::WebDOMStringList):
2684
2685 2010-07-26  Steve Block  <steveblock@google.com>
2686
2687         Reviewed by Jeremy Orlow.
2688
2689         Page clients should be passed to Page constructor via structure of pointers
2690         https://bugs.webkit.org/show_bug.cgi?id=42834
2691
2692         * src/WebViewImpl.cpp:
2693         (WebKit::WebViewImpl::WebViewImpl):
2694
2695 2010-07-28  Pavel Feldman  <pfeldman@chromium.org>
2696
2697         Not reviewed: chromium tests fix.
2698         Chromium Dev Tools: [REGRESSION] Pause is not working.
2699
2700         https://bugs.webkit.org/show_bug.cgi?id=43118
2701
2702         * src/js/DevTools.js:
2703         (InspectorBackend.pause):
2704
2705 2010-07-27  Kinuko Yasuda  <kinuko@chromium.org>
2706
2707         Reviewed by Ojan Vafai.
2708
2709         Add FILE_SYSTEM build flag for FileSystem API
2710         https://bugs.webkit.org/show_bug.cgi?id=42915
2711
2712         * features.gypi:
2713
2714 2010-07-27  James Hawkins  <jhawkins@chromium.org>
2715
2716         Unreviewed Build Fix. 
2717
2718         Add a missing itemIcon() method to TestPopupMenuClient.
2719
2720         * tests/PopupMenuTest.cpp:
2721         (WebKit::TestPopupMenuClient::itemIcon):
2722
2723 2010-07-27  James Hawkins  <jhawkins@chromium.org>
2724
2725         Reviewed by Darin Fisher.
2726
2727         [Chromium] Add the ability to show right-aligned icons in the AutoFill popup.
2728         https://bugs.webkit.org/show_bug.cgi?id=43076
2729
2730         * public/WebView.h:
2731         * src/AutoFillPopupMenuClient.cpp:
2732         (WebKit::AutoFillPopupMenuClient::getIcon):
2733         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
2734         (WebKit::AutoFillPopupMenuClient::itemIcon):
2735         (WebKit::AutoFillPopupMenuClient::initialize):
2736         (WebKit::AutoFillPopupMenuClient::setSuggestions):
2737         * src/AutoFillPopupMenuClient.h:
2738         * src/WebViewImpl.cpp:
2739         (WebKit::WebViewImpl::applyAutoFillSuggestions):
2740         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
2741         * src/WebViewImpl.h:
2742
2743 2010-07-27  Brett Wilson  <brettw@chromium.org>
2744
2745         Reviewed by Darin Fisher.
2746
2747         Add the ability to select fonts and do basic text drawing to the
2748         Chromium WebKit API.
2749         https://bugs.webkit.org/show_bug.cgi?id=42999
2750
2751         * WebKit.gyp:
2752         * public/WebFloatPoint.h: Added.
2753         (WebKit::WebFloatPoint::WebFloatPoint):
2754         (WebKit::WebFloatPoint::operator=):
2755         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
2756         (WebKit::operator==):
2757         (WebKit::operator!=):
2758         * public/WebFloatRect.h: Added.
2759         (WebKit::WebFloatRect::isEmpty):
2760         (WebKit::WebFloatRect::WebFloatRect):
2761         (WebKit::WebFloatRect::operator=):
2762         (WebKit::WebFloatRect::operator WebCore::FloatRect):
2763         (WebKit::operator==):
2764         (WebKit::operator!=):
2765         * public/WebFont.h: Added.
2766         * public/WebFontDescription.h: Added.
2767         (WebKit::WebFontDescription::):
2768         (WebKit::WebFontDescription::WebFontDescription):
2769         * public/WebTextRun.h: Added.
2770         (WebKit::WebTextRun::WebTextRun):
2771         * src/AssertMatchingEnums.cpp:
2772         * src/WebFontDescription.cpp: Added.
2773         (WebKit::WebFontDescription::WebFontDescription):
2774         (WebKit::WebFontDescription::operator WebCore::FontDescription):
2775         * src/WebFontImpl.cpp: Added.
2776         (WebKit::WebFont::Create):
2777         (WebKit::WebFontImpl::WebFontImpl):
2778         (WebKit::WebFontImpl::fontDescription):
2779         (WebKit::WebFontImpl::ascent):
2780         (WebKit::WebFontImpl::descent):
2781         (WebKit::WebFontImpl::height):
2782         (WebKit::WebFontImpl::lineSpacing):
2783         (WebKit::WebFontImpl::xHeight):
2784         (WebKit::WebFontImpl::drawText):
2785         (WebKit::WebFontImpl::width):
2786         (WebKit::WebFontImpl::offsetForPosition):
2787         (WebKit::WebFontImpl::selectionRectForText):
2788         * src/WebFontImpl.h: Added.
2789         * src/WebTextRun.cpp: Added.
2790         (WebKit::WebTextRun::operator WebCore::TextRun):
2791
2792 2010-07-27  Dumitru Daniliuc  <dumi@chromium.org>
2793
2794         Reviewed by David Levin.
2795
2796         Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE).
2797         https://bugs.webkit.org/show_bug.cgi?id=43035
2798
2799         Make Chromium compile with ENABLE_DATABASE=0.
2800
2801         * src/ChromiumBridge.cpp:
2802         (WebCore::ChromiumBridge::databaseGetFileSize):
2803         * src/DatabaseObserver.cpp:
2804         * src/WebDatabase.cpp:
2805         (WebCore::AbstractDatabase::stringIdentifier):
2806         (WebCore::AbstractDatabase::displayName):
2807         (WebCore::AbstractDatabase::estimatedSize):
2808         (WebCore::AbstractDatabase::securityOrigin):
2809         (WebKit::WebDatabase::updateDatabaseSize):
2810         (WebKit::WebDatabase::closeDatabaseImmediately):
2811
2812 2010-07-27  Pavel Podivilov  <podivilov@chromium.org>
2813
2814         Reviewed by Pavel Feldman.
2815
2816         Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
2817         https://bugs.webkit.org/show_bug.cgi?id=41461
2818
2819         * src/js/DebuggerScript.js:
2820         ():
2821
2822 2010-07-27  Ilya Tikhonovsky  <loislo@chromium.org>
2823
2824         Reviewed by Pavel Feldman.
2825
2826         WebInspector: Current implementation of message based inspector
2827         transport generated by CodeGeneratorInspector should be upstreamed
2828         from WebKit/chromium to WebCore.
2829         https://bugs.webkit.org/show_bug.cgi?id=42983
2830
2831         * WebKit.gypi:
2832         * src/InspectorFrontendClientImpl.cpp:
2833         (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
2834         * src/InspectorFrontendClientImpl.h:
2835         * src/ToolsAgent.h:
2836         * src/WebDevToolsAgentImpl.cpp:
2837         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
2838         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
2839         * src/WebDevToolsAgentImpl.h:
2840         * src/js/InspectorControllerImpl.js: Removed.
2841
2842 2010-07-27  Dominic Mazzoni  <dmazzoni@google.com>
2843
2844         Reviewed by Chris Fleizach.
2845
2846         Add accessors for node and document to WebAccessibilityObject,
2847         needed to support some Windows screenreader functionality.
2848
2849         https://bugs.webkit.org/show_bug.cgi?id=43001
2850         
2851         * public/WebAccessibilityObject.h:
2852         * src/WebAccessibilityObject.cpp:
2853         (WebKit::WebAccessibilityObject::node):
2854         (WebKit::WebAccessibilityObject::document):
2855
2856 2010-07-27  Dominic Mazzoni  <dmazzoni@google.com>
2857
2858         Reviewed by Chris Fleizach.
2859
2860         For Windows accessibility, have WebElement provide access
2861         to its attributes.
2862
2863         https://bugs.webkit.org/show_bug.cgi?id=43004
2864
2865         * WebKit.gyp:
2866         * public/WebAttribute.h: Added.
2867         (WebKit::WebAttribute::~WebAttribute):
2868         (WebKit::WebAttribute::WebAttribute):
2869         (WebKit::WebAttribute::operator=):
2870         * public/WebElement.h:
2871         * public/WebNamedNodeMap.h: Added.
2872         (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
2873         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
2874         (WebKit::WebNamedNodeMap::operator=):
2875         * src/WebAttribute.cpp: Added.
2876         (WebKit::WebAttribute::reset):
2877         (WebKit::WebAttribute::assign):
2878         (WebKit::WebAttribute::WebAttribute):
2879         (WebKit::WebAttribute::localName):
2880         (WebKit::WebAttribute::value):
2881         * src/WebElement.cpp:
2882         (WebKit::WebElement::attributes):
2883         * src/WebNamedNodeMap.cpp: Added.
2884         (WebKit::WebNamedNodeMap::reset):
2885         (WebKit::WebNamedNodeMap::assign):
2886         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
2887         (WebKit::WebNamedNodeMap::length):
2888         (WebKit::WebNamedNodeMap::attributeItem):
2889
2890 2010-07-27  Satish Sampath  <satish@chromium.org>
2891
2892         Reviewed by Kent Tamura.
2893
2894         Simplify speech input plumbing in webcore and webkit
2895         https://bugs.webkit.org/show_bug.cgi?id=43008
2896
2897         * src/SpeechInputClientImpl.cpp: Move functionality to WebCore::SpeechInput and make this a dummy proxy.
2898         (WebKit::SpeechInputClientImpl::startRecognition):
2899         (WebKit::SpeechInputClientImpl::cancelRecognition):
2900         (WebKit::SpeechInputClientImpl::didCompleteRecording):
2901         (WebKit::SpeechInputClientImpl::didCompleteRecognition):
2902         (WebKit::SpeechInputClientImpl::setRecognitionResult):
2903         * src/SpeechInputClientImpl.h:
2904
2905 2010-07-26  Dominic Mazzoni  <dmazzoni@google.com>
2906
2907         Reviewed by Chris Fleizach.
2908
2909         Add accessor to get the doctype of a WebDocument, needed to
2910         implement Windows accessibility.
2911
2912         https://bugs.webkit.org/show_bug.cgi?id=43003
2913         
2914         * WebKit.gyp:
2915         * public/WebDocument.h:
2916         * public/WebDocumentType.h: Added.
2917         (WebKit::WebDocumentType::WebDocumentType):
2918         (WebKit::WebDocumentType::operator=):
2919         (WebKit::WebDocumentType::assign):
2920         * src/WebDocument.cpp:
2921         (WebKit::WebDocument::doctype):
2922         * src/WebDocumentType.cpp: Added.
2923         (WebKit::WebDocumentType::name):
2924         (WebKit::WebDocumentType::WebDocumentType):
2925         (WebKit::WebDocumentType::operator=):
2926         (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
2927
2928 2010-07-26  Satish Sampath  <satish@chromium.org>
2929
2930         Reviewed by Steve Block.
2931
2932         Add WebKit plumbing to connect speech requests and callbacks between WebCore and the embedder.
2933         https://bugs.webkit.org/show_bug.cgi?id=42367
2934
2935         No new tests, the relevant LayoutTestController bindings and tests will be added in the next patch.
2936
2937         * public/WebSpeechInputController.h: Added new interface, implemented by embedder and called by WebKit
2938         (WebKit::WebSpeechInputController::~WebSpeechInputController):
2939         * public/WebSpeechInputListener.h: Added new interface, implemented by WebKit and called by embedder.
2940         (WebKit::WebSpeechInputListener::~WebSpeechInputListener):
2941         * public/WebViewClient.h:
2942         (WebKit::WebViewClient::createSpeechInputClient): New method to get the embedder's speech input client interface.
2943         * src/SpeechInputClientImpl.cpp: Added new class, implementation of a two way connector between WebCore
2944         and the embedder for requests and responses.
2945         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
2946         (WebKit::SpeechInputClientImpl::~SpeechInputClientImpl):
2947         (WebKit::SpeechInputClientImpl::startRecognition):
2948         (WebKit::SpeechInputClientImpl::stopRecording):
2949         (WebKit::SpeechInputClientImpl::didCompleteRecording):
2950         (WebKit::SpeechInputClientImpl::setRecognitionResult):
2951         (WebKit::SpeechInputClientImpl::didCompleteRecognition):
2952         * src/SpeechInputClientImpl.h: Added.
2953         * src/WebViewImpl.cpp:
2954         (WebKit::WebViewImpl::WebViewImpl): Pass on the above mentioned speech input connector to WebCore.
2955         * src/WebViewImpl.h:
2956
2957 2010-07-26  Ilya Tikhonovsky  <loislo@chromium.org>
2958
2959         Reviewed by Pavel Feldman.
2960
2961         Chromium DevTools: refactor query params, add basic
2962         support for WebSocket-based backend.
2963
2964         https://bugs.webkit.org/show_bug.cgi?id=42893
2965
2966         * src/js/DevTools.js:
2967         (devtools.ToolsAgent.prototype.dispatchOnClient_):
2968         (WebInspector.loaded):
2969         (WebInspector.doLoadedDone):
2970         (devtools.domContentLoaded):
2971         * src/js/InspectorControllerImpl.js:
2972
2973 2010-07-24  Pavel Feldman  <pfeldman@chromium.org>
2974
2975         Not reviewed: chromium build fix.
2976
2977         * src/ApplicationCacheHost.cpp:
2978         (WebCore::ApplicationCacheHost::fillResourceList):
2979
2980 2010-07-23  Kavita Kanetkar  <kkanetkar@chromium.org>
2981
2982         Reviewed by Joseph Pecoraro.
2983
2984         Implement remaining Inspector support for chrome's appcache
2985         https://bugs.webkit.org/show_bug.cgi?id=42426
2986
2987         * src/ApplicationCacheHost.cpp: Plugging in chrome's appcache info.
2988         (WebCore::ApplicationCacheHost::applicationCacheInfo):
2989         (WebCore::ApplicationCacheHost::fillResourceList):
2990         * src/js/InspectorControllerImpl.js:
2991         (devtools.InspectorBackendImpl):
2992
2993 2010-07-23  Pavel Feldman  <pfeldman@chromium.org>
2994
2995         Reviewed by Reviewed by Yury Semikhatsky.
2996
2997         Chromium DevTools: migrate from utility context-based injected
2998         script dispatch to upstream schema.
2999
3000         https://bugs.webkit.org/show_bug.cgi?id=42883
3001
3002         * src/ToolsAgent.h:
3003         * src/WebDevToolsAgentImpl.cpp:
3004         * src/WebDevToolsAgentImpl.h:
3005         * src/js/DevToolsHostStub.js:
3006         * src/js/InspectorControllerImpl.js:
3007         (devtools.InspectorBackendImpl):
3008
3009 2010-07-23  Pavel Feldman  <pfeldman@chromium.org>
3010
3011         Not reviewed: rolling out r63963.
3012
3013         * src/ToolsAgent.h:
3014         * src/WebDevToolsAgentImpl.cpp:
3015         (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
3016         * src/WebDevToolsAgentImpl.h:
3017         * src/js/DevToolsHostStub.js:
3018         (.window.dispatchOnInjectedScript):
3019         * src/js/InspectorControllerImpl.js:
3020         (devtools.InspectorBackendImpl):
3021         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
3022
3023 2010-07-23  Pavel Feldman  <pfeldman@chromium.org>
3024
3025         Reviewed by Reviewed by Yury Semikhatsky.
3026
3027         Chromium DevTools: migrate from utility context-based injected
3028         script dispatch to upstream schema.
3029
3030         https://bugs.webkit.org/show_bug.cgi?id=42883
3031
3032         * src/ToolsAgent.h:
3033         * src/WebDevToolsAgentImpl.cpp:
3034         * src/WebDevToolsAgentImpl.h:
3035         * src/js/DevToolsHostStub.js:
3036         * src/js/InspectorControllerImpl.js:
3037         (devtools.InspectorBackendImpl):
3038
3039 2010-07-23  Kent Tamura  <tkent@chromium.org>
3040
3041         Reviewed by Shinichiro Hamaji.
3042
3043         Roll Chromium revision
3044         https://bugs.webkit.org/show_bug.cgi?id=42876
3045
3046         * DEPS: Roll Chromium revision to r53434 in order to have the
3047         logger initialization change (r53303)
3048
3049 2010-07-22  Ilya Tikhonovsky  <loislo@chromium.org>
3050
3051         Reviewed by Yury Semikhatsky.
3052
3053         WebInspector: CodeGeneratorInspector was extended and now it can
3054         generate InspectorBackedDispatcher's code. This dispatcher will
3055         validate and dispatch incoming inspector commands only by native
3056         code without using javaScript. That is necessary step for
3057         RemoteDebugging support.
3058         https://bugs.webkit.org/show_bug.cgi?id=42588
3059
3060         * src/ToolsAgent.h:
3061         * src/WebDevToolsAgentImpl.cpp:
3062         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
3063         * src/WebDevToolsAgentImpl.h:
3064         * src/js/InspectorControllerImpl.js:
3065         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
3066
3067 2010-07-22  Darin Fisher  <darin@chromium.org>
3068
3069         Reviewed by David Levin.
3070
3071         [Chromium] Propagate return value of EventHandler::handleMouseWheelEvent
3072         to caller of WebViewImpl::handleInputEvent.
3073
3074         https://bugs.webkit.org/show_bug.cgi?id=42835
3075
3076         * src/WebViewImpl.cpp:
3077         (WebKit::WebViewImpl::mouseWheel):
3078         (WebKit::WebViewImpl::handleInputEvent):
3079         * src/WebViewImpl.h:
3080
3081 2010-07-22  Darin Fisher  <darin@chromium.org>
3082
3083         Reviewed by Kent Tamura.
3084
3085         https://bugs.webkit.org/show_bug.cgi?id=42808
3086         Pass context menu events through WebInputEvent to WebPlugin::handleInputEvent.
3087
3088         The DOM treats a context menu event as a type of mouse event.  We therefore
3089         do the same here, and reuse the WebMouseEvent subclass.  This makes sense
3090         since a context menu event has (x,y)-coordinates.
3091
3092         * public/WebInputEvent.h:
3093         (WebKit::WebInputEvent::):
3094         (WebKit::WebInputEvent::isMouseEventType):
3095         * src/WebInputEventConversion.cpp:
3096         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
3097
3098 2010-07-22  Andrey Kosyakov  <caseq@chromium.org>
3099
3100         Reviewed by Yury Semikhatsky.
3101
3102         Web Inspector: Stop granting universal access to inspector front-end page.
3103         https://bugs.webkit.org/show_bug.cgi?id=42817
3104
3105         * src/WebDevToolsFrontendImpl.cpp:
3106         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
3107
3108 2010-07-22  Alexander Pavlov  <apavlov@chromium.org>
3109
3110         Reviewed by Pavel Feldman.
3111
3112         Web Inspector: Rename method for CSS rule source range retrieval and fix return object format
3113         https://bugs.webkit.org/show_bug.cgi?id=42379
3114
3115         * src/js/InspectorControllerImpl.js:
3116         (devtools.InspectorBackendImpl):
3117
3118 2010-07-21  Pavel Feldman  <pfeldman@chromium.org>
3119
3120         Reviewed by Yury Semikhatsky.
3121
3122         Chromium Dev Tools: Separators are missing in the context menu.
3123
3124         https://bugs.webkit.org/show_bug.cgi?id=42761
3125
3126         * src/ContextMenuClientImpl.cpp:
3127         (WebKit::ContextMenuClientImpl::populateCustomMenuItems):
3128
3129 2010-07-21  Kent Tamura  <tkent@chromium.org>
3130
3131         Reviewed by Dimitri Glazkov.
3132
3133         [DRT/Chromium] Copy the test plugin into DumpRenderTree.app/
3134         https://bugs.webkit.org/show_bug.cgi?id=42733
3135
3136         This was dropped in plugin copy refactoring.
3137
3138         * WebKit.gyp:
3139
3140 2010-07-21  Brady Eidson  <beidson@apple.com>
3141
3142         Reviewed by Geoffrey Garen.
3143
3144         Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
3145         https://bugs.webkit.org/show_bug.cgi?id=42783
3146
3147         * src/WebSecurityPolicy.cpp:
3148         (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
3149         (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
3150         (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
3151
3152 2010-07-21  Bo Liu  <boliu@chromium.org>
3153
3154         Reviewed by Darin Fisher.
3155
3156         [Chromium] Add chromium WebMediaPlayer to PlatformMedia
3157         https://bugs.webkit.org/show_bug.cgi?id=41295
3158
3159         * WebKit.gyp:
3160         * public/WebMediaElement.h: Added.
3161         * src/WebMediaElement.cpp: Added.
3162         (WebKit::WebMediaElement::player):
3163         (WebKit::WebMediaElement::WebMediaElement):
3164         (WebKit::WebMediaElement::operator=):
3165         (WebKit::WebMediaElement::operator PassRefPtr<HTMLMediaElement>):
3166         * src/WebMediaPlayerClientImpl.cpp:
3167         (WebKit::WebMediaPlayerClientImpl::fromMediaElement):
3168         (WebKit::WebMediaPlayerClientImpl::mediaPlayer):
3169         (WebKit::WebMediaPlayerClientImpl::platformLayer):
3170         (WebKit::WebMediaPlayerClientImpl::platformMedia):
3171         * src/WebMediaPlayerClientImpl.h:
3172
3173 2010-07-21  Finnur Thorarinsson  <finnur.webkit@gmail.com>
3174
3175         Reviewed by Dimitri Glazkov.
3176
3177         Avoid crashing during find-in-page when |view| is NULL.
3178         https://bugs.webkit.org/show_bug.cgi?id=42760
3179         
3180         There are no layout tests because we don't have a repro case
3181         to work with, so this is a speculative fix based on crash dump
3182         diagnosis. See bug for details.
3183
3184         * src/WebFrameImpl.cpp:
3185         (WebKit::WebFrameImpl::shouldScopeMatches):
3186
3187 2010-07-21  Hans Wennborg  <hans@chromium.org>
3188
3189         Reviewed by Steve Block.
3190
3191         Runtime feature switch for device orientation
3192         https://bugs.webkit.org/show_bug.cgi?id=42265
3193
3194         Add a runtime feature switch that decides whether device orientation
3195         events are available or not. Defaults to true.
3196
3197         * public/WebRuntimeFeatures.h:
3198         * src/WebRuntimeFeatures.cpp:
3199         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
3200         (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
3201
3202 2010-07-21  Yury Semikhatsky  <yurys@chromium.org>
3203
3204         Reviewed by Pavel Feldman.
3205
3206         Web Inspector: should be possible to debug inspector
3207         https://bugs.webkit.org/show_bug.cgi?id=42730
3208
3209         * src/WebDevToolsFrontendImpl.cpp:
3210         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
3211
3212 2010-07-16  James Hawkins  <jhawkins@chromium.org>
3213
3214         Reviewed by Darin Fisher.
3215
3216         [Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to
3217         verify that the user submitted the form instead of JS when saving form
3218         data in AutoFill.
3219         https://bugs.webkit.org/show_bug.cgi?id=42479
3220
3221         * public/WebFormElement.h:
3222         * src/WebFormElement.cpp:
3223         (WebKit::WebFormElement::wasUserSubmitted):
3224
3225 2010-07-20  Daniel Erat  <derat@chromium.org>
3226
3227         Reviewed by Ojan Vafai.
3228
3229         Subpixel rendering always disabled for Chromium Linux
3230         https://bugs.webkit.org/show_bug.cgi?id=42220
3231
3232         Honor Fontconfig subpixel rendering setting on Chromium Linux.
3233
3234         * src/gtk/WebFontInfo.cpp:
3235         (WebKit::WebFontInfo::renderStyleForStrike):
3236
3237 2010-07-20  Darin Fisher  <darin@chromium.org>
3238
3239         Fix Chromium build bustage.
3240
3241         * src/ResourceHandle.cpp:
3242         (WebCore::ResourceHandle::hasAuthenticationChallenge): Add
3243         implementation of this method that always returns false.
3244
3245 2010-07-20  Darin Fisher  <darin@chromium.org>
3246
3247         Reviewed by Jian Li.
3248
3249         [Chromium] Add interface for downloading to a file.  This can be used
3250         in the future to support XMLHttpRequest.responseBlob, but it also
3251         serves a use case in Chromium.
3252
3253         https://bugs.webkit.org/show_bug.cgi?id=42657
3254
3255         * public/WebURLLoaderClient.h:
3256         (WebKit::WebURLLoaderClient::willSendRequest):
3257         (WebKit::WebURLLoaderClient::didSendData):
3258         (WebKit::WebURLLoaderClient::didReceiveResponse):
3259         (WebKit::WebURLLoaderClient::didDownloadData):
3260         (WebKit::WebURLLoaderClient::didReceiveData):
3261         (WebKit::WebURLLoaderClient::didFinishLoading):
3262         (WebKit::WebURLLoaderClient::didFail):
3263         * public/WebURLRequest.h:
3264         * public/WebURLResponse.h:
3265         * src/WebURLRequest.cpp:
3266         (WebKit::WebURLRequest::downloadToFile):
3267         (WebKit::WebURLRequest::setDownloadToFile):
3268         * src/WebURLRequestPrivate.h:
3269         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
3270         * src/WebURLResponse.cpp:
3271         (WebKit::WebURLResponse::downloadFilePath):
3272         (WebKit::WebURLResponse::setDownloadFilePath):
3273         * src/WebURLResponsePrivate.h:
3274
3275 2010-07-20  Sheriff Bot  <webkit.review.bot@gmail.com>
3276
3277         Unreviewed, rolling out r63750.
3278         http://trac.webkit.org/changeset/63750
3279         https://bugs.webkit.org/show_bug.cgi?id=42648
3280
3281         This revision breaks the windows builds (Requested by
3282         hwennborg on #webkit).
3283
3284         * public/WebRuntimeFeatures.h:
3285         * src/WebRuntimeFeatures.cpp:
3286
3287 2010-07-19  Victor Wang  <victorw@chromium.org>
3288
3289         Reviewed by Darin Fisher.
3290
3291         [Chromium] Add webkit api reset to WebIDBDatabaseError and WebIDBKey
3292         and refactor their destructors for chromium multi dll build.
3293
3294         https://bugs.webkit.org/show_bug.cgi?id=42574
3295
3296         * public/WebIDBDatabaseError.h:
3297         (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
3298         * public/WebIDBKey.h:
3299         (WebKit::WebIDBKey::~WebIDBKey):
3300         * src/WebIDBDatabaseError.cpp:
3301         (WebKit::WebIDBDatabaseError::reset):
3302         * src/WebIDBKey.cpp:
3303         (WebKit::WebIDBKey::reset):
3304
3305 2010-07-20  Hans Wennborg  <hans@chromium.org>
3306
3307         Reviewed by Steve Block.
3308
3309         Runtime feature switch for device orientation
3310         https://bugs.webkit.org/show_bug.cgi?id=42265
3311
3312         Add a runtime feature switch that decides whether device orientation
3313         events are available or not. Defaults to true.
3314
3315         * public/WebRuntimeFeatures.h:
3316         * src/WebRuntimeFeatures.cpp:
3317         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
3318         (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
3319
3320 2010-07-19  Victoria Kirst  <vrk@google.com>
3321
3322         Reviewed by David Levin.
3323
3324         Updated WebMediaPlayer to support accelerated rendering and to
3325         create and return a VideoChromiumLayer as its platform layer.
3326         https://bugs.webkit.org/show_bug.cgi?id=42234
3327
3328         * src/WebMediaPlayerClientImpl.cpp:
3329         (WebKit::WebMediaPlayerClientImpl::platformLayer):
3330         (WebKit::WebMediaPlayerClientImpl::create):
3331         * src/WebMediaPlayerClientImpl.h:
3332         (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
3333
3334 2010-07-19  Kenneth Russell  <kbr@google.com>
3335
3336         Reviewed by Nate Chapin.
3337
3338         WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
3339         https://bugs.webkit.org/show_bug.cgi?id=34719
3340
3341         Fixed compiler warning introduced by original patch.
3342
3343         * src/WebGraphicsContext3DDefaultImpl.cpp:
3344         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
3345
3346 2010-07-19  Tony Chang  <tony@chromium.org>
3347
3348         Reviewed by Kent Tamura.
3349
3350         [chromium] refactor npapi plugin copy step
3351         https://bugs.webkit.org/show_bug.cgi?id=42493
3352
3353         This is to avoid duplicate copy rules in the Linux make build.
3354
3355         * WebKit.gyp:
3356         * DEPS: 52483:52869
3357
3358 2010-07-19  Ilya Tikhonovsky  <loislo@chromium.org>
3359
3360         Reviewed by Pavel Feldman.
3361
3362         Web Inspector: Live edit is not working in chromium.
3363         https://bugs.webkit.org/show_bug.cgi?id=42572
3364
3365         * src/js/DebuggerScript.js:
3366
3367 2010-07-16  Pavel Podivilov  <podivilov@chromium.org>
3368
3369         Reviewed by Pavel Feldman.
3370
3371         [V8] Web Inspector: get actual breakpoint location from v8 and pass it
3372         to ScripDebugServer.
3373         https://bugs.webkit.org/show_bug.cgi?id=42452
3374
3375         * src/js/DebuggerScript.js:
3376
3377 2010-07-17  John Gregg  <johnnyg@google.com>
3378
3379         Reviewed by Kent Tamura.
3380
3381         [chromium] directory upload: pass the attribute up to the chrome client        
3382         https://bugs.webkit.org/show_bug.cgi?id=42475
3383
3384         This allows chromium to display the native system directory picker when
3385         the directory attribute is present on the input element.
3386
3387         * public/WebFileChooserParams.h:
3388         * src/ChromeClientImpl.cpp:
3389         (WebKit::ChromeClientImpl::runOpenPanel):
3390
3391 2010-07-16  Zhe Su  <suzhe@chromium.org>
3392
3393         Reviewed by Darin Adler.
3394
3395         REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
3396         https://bugs.webkit.org/show_bug.cgi?id=42253
3397
3398         Implement EditorClient::willSetInputMethodState which replaces
3399         setInputMethodState method.
3400
3401         * src/EditorClientImpl.cpp:
3402         (WebKit::EditorClientImpl::willSetInputMethodState):
3403         (WebKit::EditorClientImpl::setInputMethodState):
3404         * src/EditorClientImpl.h:
3405
3406 2010-07-16  Kent Tamura  <tkent@chromium.org>
3407
3408         Reviewed by Darin Fisher.
3409
3410         [Chromium] <input type=number> UI implementation for Windows
3411         https://bugs.webkit.org/show_bug.cgi?id=42259
3412
3413         * public/WebThemeEngine.h:
3414         (WebKit::WebThemeEngine::paintSpinButton): Added.
3415         * src/ChromiumBridge.cpp:
3416         (WebCore::ChromiumBridge::paintSpinButton):
3417           Added. It calls WebThemeEngine::paintSpinButton().
3418
3419 2010-07-16  James Robinson  <jamesr@chromium.org>
3420
3421         Reviewed by Darin Fisher.
3422
3423         [chromium] Avoid crashing if offscreen GLES2 context creation fails
3424         https://bugs.webkit.org/show_bug.cgi?id=42469
3425
3426         If creating or initializing an offscreen GLES2Context fails we should return null
3427         rather than crashing or returning an invalid context.
3428
3429         * src/WebViewImpl.cpp:
3430         (WebKit::WebViewImpl::getOffscreenGLES2Context):
3431
3432 2010-07-15  Tony Gentilcore  <tonyg@chromium.org>
3433
3434         Reviewed by Darin Fisher.
3435
3436         Enable window.webkitPerformance (Web Timing) for chromium
3437         https://bugs.webkit.org/show_bug.cgi?id=42313
3438
3439         * features.gypi:
3440
3441 2010-07-16  Sheriff Bot  <webkit.review.bot@gmail.com>
3442
3443         Unreviewed, rolling out r63551.
3444         http://trac.webkit.org/changeset/63551
3445         https://bugs.webkit.org/show_bug.cgi?id=42460
3446
3447         "Problems with gyp" (Requested by yurys on #webkit).
3448
3449         * DEPS:
3450
3451 2010-07-16  Yury Semikhatsky  <yurys@chromium.org>
3452
3453         Unreviewed. Bump up Chromium revision.
3454
3455         * DEPS:
3456
3457 2010-07-16  Pavel Feldman  <pfeldman@chromium.org>
3458
3459         Reviewed by Yury Semikhatsky.
3460
3461         Web Inspector: disable AppCache in chromium.
3462
3463         https://bugs.webkit.org/show_bug.cgi?id=41858
3464
3465         * src/js/DevTools.js:
3466         (WebInspector.loaded):
3467
3468 2010-07-16  Alexander Pavlov  <apavlov@chromium.org>
3469
3470         Reviewed by Yury Semikhatsky.
3471
3472         Web Inspector: [Chromium] A non-existent resource is referenced from devTools.css
3473
3474         The erroneous rule has been removed.
3475         https://bugs.webkit.org/show_bug.cgi?id=42454
3476
3477         * src/js/devTools.css:
3478
3479 2010-07-16  Andrey Kosyakov  <caseq@chromium.org>
3480
3481         Reviewed by Pavel Feldman.
3482
3483         Check that end node of a range has a valid renderer in WebViewImpl::caretOrSelectionBounds()
3484         to avoid crash in Position::getInlineBoxAndOffset() when start node has renderer but end one doesn't.
3485         https://bugs.webkit.org/show_bug.cgi?id=42449
3486
3487         * src/WebViewImpl.cpp:
3488         (WebKit::WebViewImpl::caretOrSelectionBounds):
3489
3490 2010-07-16  Mikhail Naganov  <mnaganov@chromium.org>
3491
3492         Reviewed by Pavel Feldman.
3493
3494         Make JS memory stats available via 'Performance' object (Web Timing).
3495         This statistics is populated only if 'WebKitMemoryInfoEnabled'
3496         preference is set.
3497
3498         'console.memory' is kept until Web Timing object becomes visible by
3499         default (currently it is hidden under compile-time flag).  These stats
3500         are guarded with the same preference.
3501
3502         https://bugs.webkit.org/show_bug.cgi?id=41617
3503
3504         * public/WebSettings.h:
3505         * src/WebSettingsImpl.cpp:
3506         (WebKit::WebSettingsImpl::setMemoryInfoEnabled):
3507         * src/WebSettingsImpl.h:
3508
3509 2010-07-15  Victor Wang  <victorw@chromium.org>
3510
3511         Reviewed by David Levin.
3512
3513        [Chromium] Chromium webkit dll updates:
3514         -. Fix WEBKIT_IMPLEMENTATION in WebCommon so
3515            dllimport works as expected.
3516         -. Update webkit.gyp so targets that depend on webkit
3517            has correct macros defined.
3518
3519         https://bugs.webkit.org/show_bug.cgi?id=42177
3520
3521         * WebKit.gyp:
3522         * public/WebCommon.h:
3523
3524 2010-07-13  Zhenyao Mo  <zmo@google.com>
3525
3526         Reviewed by Nate Chapin.
3527
3528         WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
3529         https://bugs.webkit.org/show_bug.cgi?id=34719
3530
3531         * src/GraphicsContext3D.cpp:
3532         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): Implement paintRenderingResultsToCanvas().
3533         (WebCore::GraphicsContext3DInternal::beginPaint): Just use paintRenderingResultsToCanvas().
3534
3535 2010-07-15  Victor Wang  <victorw@chromium.org>
3536
3537         Reviewed by David Levin.
3538
3539         Roll Chromium DEPS forward to r52483.
3540         https://bugs.webkit.org/show_bug.cgi?id=42386
3541
3542         * DEPS:
3543
3544 2010-07-15  Scott Violet  <sky@chromium.org>
3545
3546         Reviewed by David Levin.
3547
3548         [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name
3549         https://bugs.webkit.org/show_bug.cgi?id=42385
3550
3551         * src/WebViewImpl.cpp:
3552         (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name.
3553
3554 2010-07-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3555
3556         Unreviewed, rolling out r63446.
3557         http://trac.webkit.org/changeset/63446
3558         https://bugs.webkit.org/show_bug.cgi?id=42412
3559
3560         It broke the Chromium Windows bot due to missing dependencies
3561         there. (Requested by dave_levin on #webkit).
3562
3563         * DEPS:
3564
3565 2010-07-15  Victor Wang  <victorw@chromium.org>
3566
3567         Reviewed by David Levin.
3568
3569         Roll Chromium DEPS forward to r52483.
3570         https://bugs.webkit.org/show_bug.cgi?id=42386
3571
3572         * DEPS:
3573
3574 2010-07-15  Michael Nordman  <michaeln@google.com>
3575
3576         Reviewed by Darin Fisher.
3577
3578         WebKitAPI additions to support inspecting application caches.
3579         https://bugs.webkit.org/show_bug.cgi?id=41993
3580
3581         * public/WebApplicationCacheHost.h:
3582         (WebKit::WebApplicationCacheHost::CacheInfo::CacheInfo):
3583         (WebKit::WebApplicationCacheHost::ResourceInfo::ResourceInfo):
3584         (WebKit::WebApplicationCacheHost::getAssociatedCacheInfo):
3585         (WebKit::WebApplicationCacheHost::getResourceList):
3586         (WebKit::WebApplicationCacheHost::deleteAssociatedCacheGroup):
3587         * public/WebApplicationCacheHostClient.h:
3588         (WebKit::WebApplicationCacheHostClient::didChangeCacheAssociation):
3589         * src/ApplicationCacheHostInternal.h:
3590         (WebCore::ApplicationCacheHostInternal::didChangeCacheAssociation):
3591
3592 2010-07-15  Pavel Feldman  <pfeldman@chromium.org>
3593
3594         Reviewed by Yury Semikhatsky.
3595
3596         Web Inspector: differentiate between blocking and connecting timers.
3597
3598         https://bugs.webkit.org/show_bug.cgi?id=42372
3599
3600         * public/WebURLResponse.h:
3601         * src/WebURLResponse.cpp:
3602         (WebKit::WebURLResponse::connectionReused):
3603         (WebKit::WebURLResponse::setConnectionReused):
3604
3605 2010-07-15  Pavel Podivilov  <podivilov@chromium.org>
3606
3607         Reviewed by Yury Semikhatsky.
3608
3609         Fix mac compilation failure
3610         https://bugs.webkit.org/show_bug.cgi?id=42344
3611
3612         * src/AutoFillPopupMenuClient.cpp:
3613         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
3614         (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
3615
3616 2010-07-14  George Yakovlev  <georgey@chromium.org>
3617
3618         Reviewed by Darin Fisher.
3619
3620         Allow Chromium access to Select control choices
3621         https://bugs.webkit.org/show_bug.cgi?id=41384
3622
3623         * WebKit.gyp:
3624         * public/WebOptionElement.h: Added.
3625         (WebKit::WebOptionElement::WebOptionElement):
3626         (WebKit::WebOptionElement::operator=):
3627         (WebKit::WebOptionElement::assign):
3628         * public/WebSelectElement.h:
3629         * src/WebOptionElement.cpp: Added.
3630         (WebKit::WebOptionElement::setValue):
3631         (WebKit::WebOptionElement::value):
3632         (WebKit::WebOptionElement::index):
3633         (WebKit::WebOptionElement::text):
3634         (WebKit::WebOptionElement::defaultSelected):
3635         (WebKit::WebOptionElement::setDefaultSelected):