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