238ae455cb173d0ddcb065a709a5b2e81cf81a30
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-10-21  Tony Chang  <tony@chromium.org>
2
3         Reviewed by Dimitri Glazkov.
4
5         [chromium] roll chromium DEPS to include forwarding headers refactor
6         https://bugs.webkit.org/show_bug.cgi?id=48097
7
8         * DEPS: Roll chromium forward to include new forwarding headers script
9         * WebKit.gyp: This dependency always existed, it's just exposed now
10             that the header files are in a different include dir.
11
12 2010-10-21  Pavel Feldman  <pfeldman@chromium.org>
13
14         Reviewed by Yury Semikhatsky.
15
16         Chromium: use dedicated event listener type in EventListenerWrapper.
17         https://bugs.webkit.org/show_bug.cgi?id=48059
18
19         * src/EventListenerWrapper.cpp:
20         (WebKit::EventListenerWrapper::EventListenerWrapper):
21
22 2010-10-21  Jay Civelli  <jcivelli@chromium.org>
23
24         Reviewed by Darin Fisher.
25
26         [Chromium] Adding an API that allows external
27         popup menus, without the use of WebCore::PopupMenuChromium.
28         Once this is hooked up in Chromium, the plan is to remove
29         entirely the external case from PopupMenuChromium.
30         https://bugs.webkit.org/show_bug.cgi?id=46016
31
32         * WebKit.gyp:
33         * public/WebExternalPopupMenu.h: Added.
34         * public/WebExternalPopupMenuClient.h: Added.
35         * public/WebMenuItemInfo.h:
36         (WebKit::WebMenuItemInfo::WebMenuItemInfo):
37         * public/WebView.h:
38         * public/WebViewClient.h:
39         (WebKit::WebViewClient::createExternalPopupMenu):
40         * src/ChromeClientImpl.cpp:
41         (WebKit::ChromeClientImpl::createPopupMenu):
42         * src/ExternalPopupMenu.cpp: Added.
43         * src/ExternalPopupMenu.h: Added.
44         * src/WebViewImpl.cpp:
45         (WebKit::WebView::setUseExternalPopupMenus):
46         (WebKit::WebViewImpl::useExternalPopupMenus):
47         * src/WebViewImpl.h:
48
49 2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
50
51         Unreviewed, rolling out r70165.
52         http://trac.webkit.org/changeset/70165
53         https://bugs.webkit.org/show_bug.cgi?id=48007
54
55         It broke tests on Qt bot (Requested by Ossy on #webkit).
56
57         * src/WebFrameImpl.cpp:
58         (WebKit::WebFrameImpl::executeScript):
59         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
60         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
61
62 2010-10-20  Peter Rybin  <peter.rybin@gmail.com>
63
64         Reviewed by Adam Barth.
65
66         HTML parser should provide script column position within HTML document to JavaScript engine
67         https://bugs.webkit.org/show_bug.cgi?id=45271
68
69         Replaces script line number with TextPosition structure.
70
71         * src/WebFrameImpl.cpp:
72         (WebKit::WebFrameImpl::executeScript):
73         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
74         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
75
76 2010-10-20  John Abd-El-Malek  <jam@chromium.org>
77
78         Reviewed by Darin Fisher.
79
80         [chromium] Fix crash when mousing over scrollview
81         https://bugs.webkit.org/show_bug.cgi?id=47956
82
83         * src/ChromeClientImpl.cpp:
84         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
85         * src/ChromiumBridge.cpp:
86         (WebCore::ChromiumBridge::pluginScriptableObject):
87         * src/ContextMenuClientImpl.cpp:
88         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
89         * src/FrameLoaderClientImpl.cpp:
90         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
91         * src/WebPluginContainerImpl.h:
92         (WebKit::WebPluginContainerImpl::isPluginContainer):
93
94 2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
95
96         Unreviewed, rolling out r70149.
97         http://trac.webkit.org/changeset/70149
98         https://bugs.webkit.org/show_bug.cgi?id=47989
99
100         "Build breaks in mac and win" (Requested by satish on
101         #webkit).
102
103         * public/WebSpeechInputController.h:
104         (WebKit::WebSpeechInputController::startRecognition):
105         * public/WebSpeechInputControllerMock.h:
106         * src/SpeechInputClientImpl.cpp:
107         (WebKit::SpeechInputClientImpl::startRecognition):
108         * src/SpeechInputClientImpl.h:
109         * src/WebSpeechInputControllerMockImpl.cpp:
110         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
111         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
112         * src/WebSpeechInputControllerMockImpl.h:
113         * src/WebViewImpl.cpp:
114         (WebKit::WebViewImpl::WebViewImpl):
115         * src/WebViewImpl.h:
116
117 2010-10-19  Leandro Gracia Gil  <leandrogracia@google.com>
118
119         Reviewed by Jeremy Orlow.
120  
121         Patch the current speech input implementation to use and validate the
122         nearest language tag. The language is now passed to the startRecognition
123         methods so that language-specific recognition could be used. Also added
124         a second parameter to setMockSpeechInputResult for the language used in
125         speech recognition.
126         https://bugs.webkit.org/show_bug.cgi?id=47089
127
128         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
129         details see http://codereview.chromium.org/3615005/show and
130         http://codereview.chromium.org/3595018/show.
131
132         * public/WebSpeechInputController.h:
133         (WebKit::WebSpeechInputController::startRecognition):
134         * public/WebSpeechInputControllerMock.h:
135         * src/SpeechInputClientImpl.cpp:
136         (WebKit::SpeechInputClientImpl::create):
137         (WebKit::SpeechInputClientImpl::startRecognition):
138         * src/SpeechInputClientImpl.h:
139         * src/WebSpeechInputControllerMockImpl.cpp:
140         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
141         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
142         * src/WebSpeechInputControllerMockImpl.h:
143         * src/WebViewImpl.cpp:
144         (WebKit::WebViewImpl::WebViewImpl):
145         * src/WebViewImpl.h:
146
147 2010-10-20  Dirk Schulze  <krit@webkit.org>
148
149         Unreviewed Chromium win build fix.
150
151         * tests/TransparencyWinTest.cpp:
152         (WebCore::TEST):
153
154 2010-10-20  Dirk Schulze  <krit@webkit.org>
155
156         Reviewed by Nikolas Zimmermann.
157
158         Merge ColorSpace and ImageColorSpace enums
159         https://bugs.webkit.org/show_bug.cgi?id=47922
160
161         Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
162         to follow webkit style rules.
163
164         * src/WebFontImpl.cpp:
165         (WebKit::WebFontImpl::drawText):
166         * src/WebFrameImpl.cpp:
167         (WebKit::WebFrameImpl::paintWithContext):
168         * src/WebViewImpl.cpp:
169         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
170         * tests/TransparencyWinTest.cpp:
171         (WebCore::TEST):
172
173 2010-10-19  Andrey Kosyakov  <caseq@chromium.org>
174
175         Reviewed by Pavel Feldman.
176
177         Web Inspector: expose request/response cookies in HAR
178         https://bugs.webkit.org/show_bug.cgi?id=47894
179
180         * src/WebResourceRawHeaders.cpp:
181         (WebKit::addHeader): paste coalescent headers using "\n: as a separator instead of ", "
182
183 2010-10-19  Tony Chang  <tony@chromium.org>
184
185         Reviewed by Kent Tamura.
186
187         [chromium] Use webkit's TestNetscapePlugIn in DRT mac
188         https://bugs.webkit.org/show_bug.cgi?id=47850
189
190         * WebKit.gyp: Copy WebKitTestPlugIn into plugins and add
191             GCC_SYMBOLS_PRIVATE_EXTERN: NO to export the symbols.
192
193 2010-10-19  Tony Chang  <tony@chromium.org>
194
195         Unreviewed.  Rolling chromium DEPS to 63057 to pick up mac plugin
196         loading in DRT.
197
198         * DEPS: bump chromium DEPS to 63057.
199
200 2010-10-19  Tony Chang  <tony@chromium.org>
201
202         Reviewed by Kent Tamura.
203
204         [chromium] DumpRenderTree shouldn't put '.' in include path
205         https://bugs.webkit.org/show_bug.cgi?id=47877
206
207         * WebKit.gyp: Replace '.' with <(chromium_src_dir) and add public
208
209 2010-10-18  Adrienne Walker  <enne@google.com>
210
211         Reviewed by Kenneth Russell.
212
213         Turn off antialiasing when using Mesa during testing.
214         https://bugs.webkit.org/show_bug.cgi?id=47697
215
216         * src/WebGraphicsContext3DDefaultImpl.cpp:
217         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
218
219 2010-10-18  James Robinson  <jamesr@chromium.org>
220
221         Update the chromium DEPS from 62399 to 62813 to pick up skia fixes
222
223         * DEPS:
224
225 2010-10-17  Pavel Feldman  <pfeldman@chromium.org>
226
227         Reviewed by Yury Semikhatsky.
228
229         Web Inspector: Introduce InspectorResourceAgent.h/cpp and ResourceManager.js to
230         fill network panel with data.
231         https://bugs.webkit.org/show_bug.cgi?id=47779
232
233         * src/WebDevToolsAgentImpl.cpp:
234         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
235
236 2010-10-17  Pascal Massimino  <pascal.massimino@gmail.com>
237
238         Reviewed by Adam Barth.
239
240         Add support for WebP image decoding in ImageDecoder
241         using library libwebp-decode library available from
242         http://www.webmproject.org/code/
243
244         https://bugs.webkit.org/show_bug.cgi?id=47512
245
246         Tests: fast/images/webp-image-decoding.html
247
248         * CMakeLists.txt:
249             add platform/image-decoders/webp files and directory
250         * GNUmakefile.am:
251             add platform/image-decoders/webp directory
252         * WebCore.gyp/WebCore.gyp:
253             add platform/image-decoders/webp directory
254         * WebCore.gypi:
255             add platform/image-decoders/webp directory
256         * features.gypi:
257             add WTF_USE_WEBP=1
258         * platform/image-decoders/ImageDecoder.cpp:
259         (WebCore::ImageDecoder::create):
260             instantiate webp decoder for file starting with 'RIFF????WEBP'
261         * platform/image-decoders/webp: Added.
262         * platform/image-decoders/webp/WEBPImageDecoder.cpp: Added.
263         (WebCore::WEBPImageDecoder::WEBPImageDecoder):
264         (WebCore::WEBPImageDecoder::~WEBPImageDecoder):
265         (WebCore::WEBPImageDecoder::isSizeAvailable):
266         (WebCore::WEBPImageDecoder::frameBufferAtIndex):
267         (WebCore::WEBPImageDecoder::decode):
268             sub-class handling decoding of webp images
269         * platform/image-decoders/webp/WEBPImageDecoder.h: Added.
270         (WebCore::WEBPImageDecoder::filenameExtension):
271         (WebCore::WEBPImageDecoder::supportsAlpha):
272             header for webp-decoder sub-class
273
274 2010-10-15  Tony Chang  <tony@chromium.org>
275
276         Reviewed by Kent Tamura.
277
278         [chromium] compile TestNetscapePlugIn on Chromium mac
279         https://bugs.webkit.org/show_bug.cgi?id=47633
280
281         * WebKit.gyp:  Add a mac specific target for compiling TestNetscapePlugIn
282             Fix an include dir so we can compile in a chromium checkout.
283
284 2010-10-15  Sheriff Bot  <webkit.review.bot@gmail.com>
285
286         Unreviewed, rolling out r69809.
287         http://trac.webkit.org/changeset/69809
288         https://bugs.webkit.org/show_bug.cgi?id=47725
289
290         Broke chromium mac compile (Requested by japhet on #webkit).
291
292         * WebKit.gyp:
293
294 2010-10-15  Nikolas Zimmermann  <nzimmermann@rim.com>
295
296         Reviewed by Dirk Schulze.
297
298         Replace some String::format() usages by StringConcatenate in WebKit
299         https://bugs.webkit.org/show_bug.cgi?id=47714
300
301         * src/BackForwardListClientImpl.cpp:
302         (WebKit::BackForwardListClientImpl::itemAtIndex):
303         * src/DebuggerAgentManager.cpp:
304         (WebKit::DebuggerAgentManager::debugDetach):
305         * src/LocalizedStrings.cpp:
306         (WebCore::imageTitle):
307         * src/WebPageSerializer.cpp:
308         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
309         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
310
311 2010-10-14  Wei Jia  <wjia@chromium.org>
312
313         Reviewed by Darin Fisher.
314
315         Retrieve info of lock keys from stashed currentInputEvent which
316         is stored by chromium when it passes input event to WebCore.
317         Retrieving only when stashed event is a keyboard event, which
318         means synthetic KeyboardEvent inherits lock key state from real
319         keyboard event.
320         https://bugs.webkit.org/show_bug.cgi?id=46518
321
322         * src/WebPluginContainerImpl.cpp:
323         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
324
325 2010-10-14  John Abd-El-Malek  <jam@chromium.org>
326
327         Reviewed by Tony Chang.
328
329         [chromium] null check the widget before sending it data as calling didReceiveData might delete it
330         https://bugs.webkit.org/show_bug.cgi?id=47708
331
332         * src/FrameLoaderClientImpl.cpp:
333         (WebKit::FrameLoaderClientImpl::committedLoad):
334
335 2010-10-14  Tony Chang  <tony@chromium.org>
336
337         Reviewed by Kent Tamura.
338
339         [chromium] compile TestNetscapePlugIn on Chromium mac
340         https://bugs.webkit.org/show_bug.cgi?id=47633
341
342         * WebKit.gyp:  Add a mac specific target for compiling TestNetscapePlugIn
343
344 2010-10-13  Kinuko Yasuda  <kinuko@chromium.org>
345
346         Reviewed by Jian Li.
347
348         [Chromium] Enable FILE_SYSTEM by default for chromium
349         https://bugs.webkit.org/show_bug.cgi?id=47639
350
351         * features.gypi: Add FILE_SYSTEM=1. Also remove FILE_READER=1
352         as it seems to be not used anymore.
353
354 2010-10-13  Jeremy Orlow  <jorlow@chromium.org>
355
356         Reviewed by Nate Chapin.
357
358         IndexedDB should fire some errors synchronously
359         https://bugs.webkit.org/show_bug.cgi?id=47530
360
361         * public/WebIDBCursor.h:
362         * public/WebIDBDatabase.h:
363         (WebKit::WebIDBDatabase::transaction):
364         * public/WebIDBFactory.h:
365         (WebKit::WebIDBFactory::open):
366         * public/WebIDBObjectStore.h:
367         * public/WebIDBTransactionCallbacks.h:
368         * src/IDBCursorBackendProxy.cpp:
369         (WebCore::IDBCursorBackendProxy::update):
370         (WebCore::IDBCursorBackendProxy::continueFunction):
371         (WebCore::IDBCursorBackendProxy::remove):
372         * src/IDBCursorBackendProxy.h:
373         * src/IDBDatabaseProxy.cpp:
374         (WebCore::IDBDatabaseProxy::createObjectStore):
375         (WebCore::IDBDatabaseProxy::removeObjectStore):
376         (WebCore::IDBDatabaseProxy::setVersion):
377         (WebCore::IDBDatabaseProxy::transaction):
378         * src/IDBDatabaseProxy.h:
379         * src/IDBIndexBackendProxy.cpp:
380         (WebCore::IDBIndexBackendProxy::openCursor):
381         (WebCore::IDBIndexBackendProxy::openKeyCursor):
382         (WebCore::IDBIndexBackendProxy::get):
383         (WebCore::IDBIndexBackendProxy::getKey):
384         * src/IDBIndexBackendProxy.h:
385         * src/IDBObjectStoreProxy.cpp:
386         (WebCore::IDBObjectStoreProxy::get):
387         (WebCore::IDBObjectStoreProxy::put):
388         (WebCore::IDBObjectStoreProxy::remove):
389         (WebCore::IDBObjectStoreProxy::createIndex):
390         (WebCore::IDBObjectStoreProxy::index):
391         (WebCore::IDBObjectStoreProxy::removeIndex):
392         (WebCore::IDBObjectStoreProxy::openCursor):
393         * src/IDBObjectStoreProxy.h:
394         * src/WebIDBCursorImpl.cpp:
395         (WebKit::WebIDBCursorImpl::update):
396         (WebKit::WebIDBCursorImpl::continueFunction):
397         (WebKit::WebIDBCursorImpl::remove):
398         * src/WebIDBCursorImpl.h:
399         * src/WebIDBDatabaseImpl.cpp:
400         (WebKit::WebIDBDatabaseImpl::createObjectStore):
401         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
402         (WebKit::WebIDBDatabaseImpl::setVersion):
403         (WebKit::WebIDBDatabaseImpl::transaction):
404         * src/WebIDBDatabaseImpl.h:
405         * src/WebIDBIndexImpl.cpp:
406         (WebKit::WebIDBIndexImpl::openObjectCursor):
407         (WebKit::WebIDBIndexImpl::openKeyCursor):
408         (WebKit::WebIDBIndexImpl::getObject):
409         (WebKit::WebIDBIndexImpl::getKey):
410         * src/WebIDBIndexImpl.h:
411         * src/WebIDBObjectStoreImpl.cpp:
412         (WebKit::WebIDBObjectStoreImpl::get):
413         (WebKit::WebIDBObjectStoreImpl::put):
414         (WebKit::WebIDBObjectStoreImpl::remove):
415         (WebKit::WebIDBObjectStoreImpl::createIndex):
416         (WebKit::WebIDBObjectStoreImpl::index):
417         (WebKit::WebIDBObjectStoreImpl::removeIndex):
418         (WebKit::WebIDBObjectStoreImpl::openCursor):
419         * src/WebIDBObjectStoreImpl.h:
420
421 2010-10-13  Brett Wilson  <brettw@chromium.org>
422
423         Reviewed by Darin Fisher.
424
425         Save and restore the GraphicsContext around setting the clip rect for
426         drawing text.
427         https://bugs.webkit.org/show_bug.cgi?id=47634
428
429         * src/WebFontImpl.cpp:
430         (WebKit::WebFontImpl::drawText):
431
432 2010-10-13  Kenneth Russell  <kbr@google.com>
433
434         Reviewed by James Robinson.
435
436         Revert changes to WebViewImpl in r69633
437         https://bugs.webkit.org/show_bug.cgi?id=47610
438
439         Revert change to WebViewImpl.cpp in
440         http://trac.webkit.org/changeset/69633 which incorrectly used
441         PassRefPtr for a local variable instead of RefPtr. This was a fix
442         for changes in http://trac.webkit.org/changeset/69619 and
443         http://trac.webkit.org/changeset/69624 .
444
445         * src/WebViewImpl.cpp:
446         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
447
448 2010-10-13  Gavin Barraclough  <barraclough@apple.com>
449
450         Reviewed by Oliver Hunt.
451
452         Bug 43987 - Downloading using XHR is much slower than before
453
454         * src/WebPageSerializerImpl.cpp:
455         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
456
457 2010-10-13  Adam Barth  <abarth@webkit.org>
458
459         Reviewed by Tony Chang.
460
461         [Chromium] Clean up WebPageSerializerImpl::serialize
462         https://bugs.webkit.org/show_bug.cgi?id=47577
463
464         This patch shouldn't have any behavior change.  I'm just trying to
465         understand what this code does.
466
467         * src/WebPageSerializerImpl.cpp:
468         (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
469         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
470         (WebKit::WebPageSerializerImpl::serialize):
471         * src/WebPageSerializerImpl.h:
472
473 2010-10-13  John Knottenbelt  <jknotten@chromium.org>
474
475         Reviewed by Steve Block.
476
477         First step towards client-based Geolocation in Chromium. Build
478         fixes for CLIENT_BASED_GEOLOCATION preprocessor feature define.
479         https://bugs.webkit.org/show_bug.cgi?id=47586
480
481         * WebKit.gyp:
482         * src/ChromeClientImpl.cpp:
483         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
484         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
485         * src/ChromiumBridge.cpp:
486         * src/WebGeolocationServiceMock.cpp:
487         (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
488         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
489         (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
490         (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
491
492 2010-10-11  Andrei Popescu  <andreip@google.com>
493
494         Reviewed by Jeremy Orlow.
495
496         [Chromium] Cleanup WebIDBFactory::open once the Chromium plumbing has landed.
497         https://bugs.webkit.org/show_bug.cgi?id=47531
498
499         Remove the temporary open() method since the appropriate Chromium plumbing was
500         added in http://codereview.chromium.org/3729003/
501
502         * public/WebIDBFactory.h:
503         (WebKit::WebIDBFactory::open):
504
505 2010-10-13  Adam Barth  <abarth@webkit.org>
506
507         Reviewed by Darin Fisher.
508
509         [Chromium] Clean up SerializeDomParam
510         https://bugs.webkit.org/show_bug.cgi?id=47580
511
512         This patch just renames a bunch of the members of this struct to be
513         more sensible.  No behavior change, well, except for one struct member
514         that wasn't initialized.  I didn't trace through this code to see if
515         the uninitialized value was used anywhere, but initializing all the
516         values seems like a good idea.
517
518         * src/WebPageSerializerImpl.cpp:
519         (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
520         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
521         (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
522         (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
523         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
524         (WebKit::WebPageSerializerImpl::openTagToString):
525         (WebKit::WebPageSerializerImpl::endTagToString):
526         (WebKit::WebPageSerializerImpl::buildContentForNode):
527         * src/WebPageSerializerImpl.h:
528
529 2010-10-13  Yury Semikhatsky  <yurys@chromium.org>
530
531         Reviewed by Pavel Feldman.
532
533         Web Inspector: stack information is inconsistent between console.trace and runtime errors.
534         https://bugs.webkit.org/show_bug.cgi?id=47252
535
536         * DEPS: bump up V8 revision
537
538 2010-10-12  Kenneth Russell  <kbr@google.com>
539
540         Unreviewed. Fixes for all WebGL content causing assertion failures
541         in Chromium after http://trac.webkit.org/changeset/69619 and
542         http://trac.webkit.org/changeset/69624 .
543
544         * src/GraphicsContext3DChromium.cpp:
545         (WebCore::GraphicsContext3D::create):
546         * src/WebViewImpl.cpp:
547         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
548
549 2010-10-12  Alok priyadarshi  <alokp@chromium.org>
550
551         Reviewed by Kenneth Russell.
552
553         Remove support for ANGLE SH_VERSION <= 100
554         https://bugs.webkit.org/show_bug.cgi?id=47307
555
556         * src/WebGraphicsContext3DDefaultImpl.cpp:
557         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
558         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
559
560 2010-10-12  James Robinson  <jamesr@chromium.org>
561
562         Unreviewed chromium compile fixes for http://trac.webkit.org/changeset/69619.
563
564         * src/GraphicsContext3DChromium.cpp:
565         (WebCore::GraphicsContext3D::create):
566         * src/WebViewImpl.cpp:
567         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
568         * src/WebViewImpl.h:
569
570 2010-10-12  Jian Li  <jianli@chromium.org>
571
572         Unreviewed. Bump up revision in order to pick up fix.
573
574         * DEPS:
575
576 2010-10-12  Jian Li  <jianli@chromium.org>
577
578         Unreview. Build fix for chromium.
579
580         * public/WebBlobRegistry.h:
581
582 2010-10-12  Jian Li  <jianli@chromium.org>
583
584         Reviewed by Darin Fisher.
585
586         [chromium] Update WebBlobData to adapt to BlobData change in terms of
587         handling string data item.
588         https://bugs.webkit.org/show_bug.cgi?id=47423
589
590         Also remove unneeded methods in WebBlobData. WebBlobStorageData.* are
591         also removed since they're not longer needed.
592
593         * WebKit.gyp:
594         * public/WebBlobData.h:
595         * public/WebBlobRegistry.h:
596         * public/WebBlobStorageData.h: Removed.
597         * public/WebThreadSafeData.h: Added.
598         * src/WebBlobData.cpp:
599         * src/WebBlobStorageData.cpp: Removed.
600         * src/WebThreadSafeData.cpp: Added.
601
602 2010-10-12  Kavita Kanetkar  <kkanetkar@chromium.org>
603
604         Reviewed by Dumitru Daniliuc.
605
606         [FileSystem] Add ability to pass a bool to create or not create root path while opening filesystem.
607         https://bugs.webkit.org/show_bug.cgi?id=47519
608
609         * public/WebCommonWorkerClient.h:
610         (WebKit::WebCommonWorkerClient::openFileSystem):
611         * public/WebFrameClient.h:
612         (WebKit::WebFrameClient::openFileSystem):
613
614 2010-10-12  James Robinson  <jamesr@chromium.org>
615
616         Reviewed by Nate Chapin (in person).
617
618         Fix chromium compile.
619
620         * src/WebPageSerializerImpl.cpp:
621         (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
622         (WebKit::WebPageSerializerImpl::serialize):
623
624 2010-10-12  Nikolas Zimmermann  <nzimmermann@rim.com>
625
626         Reviewed by Gavin Barraclough.
627
628         Unify JSC::StringBuilder & WebCore::StringBuilder
629         https://bugs.webkit.org/show_bug.cgi?id=47538
630
631         * src/LocalizedStrings.cpp:
632         (WebCore::imageTitle): Use WTF::StringBuilder.
633         * src/WebEntities.cpp:
634         (WebKit::WebEntities::convertEntitiesInString): Ditto.
635         * src/WebPageSerializerImpl.cpp: Remove useless includes.
636         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 
637         * src/WebPageSerializerImpl.h: Use WTF::StringBuilder.
638
639 2010-10-07  Stephen White  <senorblanco@chromium.org>
640
641         Reviewed by James Robinson.
642
643         [chromium] Zero-out all textures created via WebGraphicsContext3DDefaultImpl::texImage2D().
644         https://bugs.webkit.org/show_bug.cgi?id=47178
645         
646         Covered by fast/canvas/toDataURL-alpha.html, when run with --accelerated-2d-canvas.
647
648         * src/WebGraphicsContext3DDefaultImpl.cpp:
649         (WebKit::bytesPerComponent):
650         (WebKit::componentsPerPixel):
651         (WebKit::imageSizeInBytes):
652         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D):
653
654 2010-10-12  Dave Moore  <davemoore@chromium.org>
655
656         Reviewed by Tony Chang.
657
658         Use new WebThemeEngine api on chromium / linux to draw scrollbars.
659         https://bugs.webkit.org/show_bug.cgi?id=47473
660
661         * public/WebThemeEngine.h: Removed.
662         * chromium/src/ChromiumBridge.cpp:
663
664 2010-10-11  Daniel Cheng  <dcheng@chromium.org>
665
666         Reviewed by Tony Chang.
667
668         [chromium] Prepare Clipboard/DragData for transition to new drag-and-drop interface.
669         https://bugs.webkit.org/show_bug.cgi?id=44992
670
671         Add a new entry point for drag in to allow a graceful transition
672         from the legacy drag and drop model, where all data is copied in at the
673         beginning of a drag, to a model where data is retrieved on demand via
674         IPCs. The rationale for this is when we begin supporting arbitrary MIME
675         types in dataTransfer, we don't want to be copying aribtrary amounts of
676         data over for each start drag IPC.
677
678         * public/WebView.h:
679         * src/WebDragData.cpp:
680         (WebKit::WebDragData::initialize): Use the legacy data object.
681         (WebKit::WebDragData::ensureMutable): Change the if to an ASSERT.
682         * src/WebViewImpl.cpp:
683         (WebKit::WebViewImpl::dragTargetDragEnterNew): New entry point.
684         * src/WebViewImpl.h:
685
686 2010-10-11  Jeremy Orlow  <jorlow@chromium.org>
687
688         Reviewed by Nate Chapin.
689
690         [Chromium] Add plumbing for synchronous indexedDB exceptions
691         https://bugs.webkit.org/show_bug.cgi?id=47511
692
693         Add a WebExceptionCode file (already run by fishd) and add versions of
694         each applicable method that take such a parameter.  A follow up patch
695         will be posted with the meat.
696
697         * WebKit.gyp:
698         * public/WebExceptionCode.h: Added.
699         * public/WebIDBCursor.h:
700         (WebKit::WebIDBCursor::update):
701         (WebKit::WebIDBCursor::continueFunction):
702         (WebKit::WebIDBCursor::remove):
703         * public/WebIDBDatabase.h:
704         (WebKit::WebIDBDatabase::objectStore):
705         (WebKit::WebIDBDatabase::createObjectStore):
706         (WebKit::WebIDBDatabase::removeObjectStore):
707         (WebKit::WebIDBDatabase::setVersion):
708         (WebKit::WebIDBDatabase::transaction):
709         * public/WebIDBIndex.h:
710         (WebKit::WebIDBIndex::openObjectCursor):
711         (WebKit::WebIDBIndex::openKeyCursor):
712         (WebKit::WebIDBIndex::getObject):
713         (WebKit::WebIDBIndex::getKey):
714         * public/WebIDBObjectStore.h:
715         (WebKit::WebIDBObjectStore::get):
716         (WebKit::WebIDBObjectStore::put):
717         (WebKit::WebIDBObjectStore::remove):
718         (WebKit::WebIDBObjectStore::createIndex):
719         (WebKit::WebIDBObjectStore::index):
720         (WebKit::WebIDBObjectStore::removeIndex):
721         (WebKit::WebIDBObjectStore::openCursor):
722
723 2010-10-11  Andrei Popescu  <andreip@google.com>
724
725         Reviewed by Jeremy Orlow.
726
727         The names of IndexedDB-specific attributes of DOMWindow should be prefixed with 'webkit'.
728         https://bugs.webkit.org/show_bug.cgi?id=47508
729
730         * src/WebRuntimeFeatures.cpp:
731         (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
732         (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
733
734 2010-10-11  Tony Chang  <tony@chromium.org>
735
736         Unreviewed, roll chromium DEPS to pick up Dave's fix for
737         scrollbar painting.  This will be needed by an upcoming patch.
738
739         * DEPS:
740
741 2010-10-11  Kinuko Yasuda  <kinuko@google.com>
742
743         Reviewed by David Levin.
744
745         Support DirectoryEntry.removeRecursively for FileSystem API
746         https://bugs.webkit.org/show_bug.cgi?id=47400
747
748         * src/AsyncFileSystemChromium.cpp:
749         (WebCore::AsyncFileSystemChromium::removeRecursively): Added.
750         * src/AsyncFileSystemChromium.h:
751         * src/WorkerAsyncFileSystemChromium.cpp:
752         (WebCore::WorkerAsyncFileSystemChromium::removeRecursively): Added.
753         * src/WorkerAsyncFileSystemChromium.h:
754         * src/WorkerFileSystemCallbacksBridge.cpp:
755         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread): Added.
756         (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread): Added.
757         * src/WorkerFileSystemCallbacksBridge.h:
758
759 2010-10-09  Varun Jain  <varunjain@chromium.org>
760
761         Reviewed by Darin Fisher.
762
763         Adding one method to the WebView interface: method to inform the
764         renderer to scroll the currently focused element into view, for
765         instance, when it is hidden due to window resizing.
766         Also adding methods to WebNode and WebElement to expose more
767         features of the underlying WebCore::Node.
768         https://bugs.webkit.org/show_bug.cgi?id=46296
769
770         * public/WebElement.h:
771         * public/WebNode.h:
772         * public/WebView.h:
773         * src/WebElement.h:
774         (WebKit::WebElement::isTextFormControlElement):
775         * src/WebNode.cpp:
776         (WebKit::WebNode::isContentEditable):
777         * src/WebViewImpl.cpp:
778         (WebKit::WebViewImpl::scrollFocusedNodeIntoView):
779         * src/WebViewImpl.h:
780
781 2010-10-08  Andrei Popescu  <andreip@google.com>
782
783         Reviewed by Jeremy Orlow.
784
785         [Chromium] IDBFactory::open only works in single process mode.
786         https://bugs.webkit.org/show_bug.cgi?id=47444
787
788         * public/WebIDBFactory.h:
789         (WebKit::WebIDBFactory::open):
790
791 2010-10-08  Andrei Popescu  <andreip@google.com>
792
793         Reviewed by Jeremy Orlow.
794
795         IndexedDB does not have a quota mechanism.
796         https://bugs.webkit.org/show_bug.cgi?id=47389
797
798         * public/WebIDBFactory.h:
799         (WebKit::WebIDBFactory::open):
800         * src/IDBFactoryBackendProxy.cpp:
801         (WebCore::IDBFactoryBackendProxy::open):
802         * src/IDBFactoryBackendProxy.h:
803         * src/WebIDBFactoryImpl.cpp:
804         (WebKit::WebIDBFactoryImpl::open):
805         * src/WebIDBFactoryImpl.h:
806
807 2010-10-07  Zhenyao Mo  <zmo@google.com>
808
809         Unreviewed, roll chromium to r61902.
810
811         * DEPS:
812
813 2010-10-07  Zhenyao Mo  <zmo@google.com>
814
815         Reviewed by Tony Chang.
816
817         Copy mesa lib into DumpRenderTree bundle in Mac
818         https://bugs.webkit.org/show_bug.cgi?id=47385
819
820         * WebKit.gyp:
821
822 2010-10-07  Daniel Cheng  <dcheng@chromium.org>
823
824         Reviewed by Tony Chang.
825
826         [chromium] Minor naming cleanup in WebDragData, part 2
827         https://bugs.webkit.org/show_bug.cgi?id=47227
828
829         Chromium no longer uses the deprecated methods, so delete them.
830
831         * DEPS:
832         * public/WebDragData.h:
833         * src/WebDragData.cpp:
834
835 2010-10-07  Dave Moore  <davemoore@chromium.org>
836
837         Reviewed by Kent Tamura.
838
839         Add WebThemeEngine api for chromium/linux
840         https://bugs.webkit.org/show_bug.cgi?id=47278
841         Create new linux specific version of WinThemeEngine.h and move
842         existing windows specific one to win directory. Keep old top
843         level file until chromium is updated to use the new ones.
844
845         * WebKit.gyp:
846         * public/WebThemeEngine.h:
847         * src/ChromiumBridge.cpp:
848
849 2010-10-07  Andrey Kosyakov  <caseq@chromium.org>
850
851         Reviewed by Yury Semikhatsky.
852
853         Chromium multi-dll build broken due to WebResourceRawHeaders methods lacking WEBKIT_API decl spec
854         https://bugs.webkit.org/show_bug.cgi?id=47329
855
856         * public/WebResourceRawHeaders.h:
857         (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
858         (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
859         (WebKit::WebResourceRawHeaders::operator =):
860         * src/WebResourceRawHeaders.cpp:
861         (WebKit::WebResourceRawHeaders::initialize):
862         (WebKit::WebResourceRawHeaders::reset):
863         (WebKit::WebResourceRawHeaders::assign):
864
865 2010-10-06  Chris Guillory  <chris.guillory@google.com>
866
867         Reviewed by Chris Fleizach.
868
869         Remove unused accessibility functions from webkit.
870         https://bugs.webkit.org/attachment.cgi?bugid=46707
871
872         * public/WebAccessibilityCache.h:
873         * public/WebViewClient.h:
874         * src/ChromeClientImpl.cpp:
875         (WebKit::ChromeClientImpl::focusedNodeChanged):
876         * src/WebAccessibilityCacheImpl.cpp:
877         * src/WebAccessibilityCacheImpl.h:
878
879 2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>
880
881         Reviewed by David Levin.
882
883         Add FileSystemSync implementation for Worker
884         https://bugs.webkit.org/show_bug.cgi?id=47044
885
886         * src/LocalFileSystemChromium.cpp:
887         (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter
888         for synchronous mode.
889         * src/WebFileSystemCallbacksImpl.cpp:
890         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
891         a parameter for synchronous mode.
892         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to
893         creates WorkerAsyncFileSystemChromium with synchronous flag.
894         * src/WebFileSystemCallbacksImpl.h:
895         * src/WebWorkerBase.cpp:
896         (WebKit::WebWorkerBase::openFileSystem): Added a parameter for
897         synchronous mode.
898         * src/WebWorkerBase.h:
899         * src/WorkerAsyncFileSystemChromium.cpp:
900         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
901         (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
902         Added.
903         (WebCore::WorkerAsyncFileSystemChromium::move):
904         (WebCore::WorkerAsyncFileSystemChromium::copy):
905         (WebCore::WorkerAsyncFileSystemChromium::remove):
906         (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
907         (WebCore::WorkerAsyncFileSystemChromium::createFile):
908         (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
909         (WebCore::WorkerAsyncFileSystemChromium::fileExists):
910         (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
911         (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
912         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
913         Updated to store the created bridge in a member variable so that
914         we can call bridge->stop() later when the RunLoop is terminating.
915         * src/WorkerAsyncFileSystemChromium.h:
916         (WebCore::WorkerAsyncFileSystemChromium::create): Added a new
917         parameter for synchronous mode.
918
919 2010-10-06  Andrei Popescu  <andreip@google.com>
920
921         Reviewed by Jeremy Orlow.
922
923         IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
924         https://bugs.webkit.org/show_bug.cgi?id=47245
925
926         * src/IDBTransactionBackendProxy.cpp:
927         (WebCore::IDBTransactionBackendProxy::scheduleTask):
928         * src/IDBTransactionBackendProxy.h:
929
930 2010-10-06  Victor Wang  <victorw@chromium.org>
931
932         Reviewed by Darin Fisher.
933
934         [Chromium] Add webkit unit tests to chromium multi-dll build.
935
936         In chromium multi-dll build mode, compile the webkit unit tests
937         code in webkit.dll and export an api that runs the tests.
938
939         https://bugs.webkit.org/show_bug.cgi?id=46907
940
941         * WebKit.gyp:
942         * WebKit.gypi:
943         * tests/RunAllTests.cpp:
944         (main):
945         * tests/WebUnitTests.cpp: Added.
946         (WebKit::RunAllUnitTests):
947         * tests/WebUnitTests.h: Added.
948
949 2010-10-05  Jeremy Orlow  <jorlow@chromium.org>
950
951         Reviewed by Nate Chapin.
952
953         [Chromium] WebIDBKeyRange should handle null left/right pointers
954         https://bugs.webkit.org/show_bug.cgi?id=47247
955
956         * src/WebIDBKeyRange.cpp:
957         (WebKit::WebIDBKeyRange::assign):
958         (WebKit::WebIDBKeyRange::left):
959         (WebKit::WebIDBKeyRange::right):
960         (WebKit::WebIDBKeyRange::flags):
961
962 2010-10-06  Tony Chang  <tony@chromium.org>
963
964         Unreviewed, rolling out r69202.
965         http://trac.webkit.org/changeset/69202
966         https://bugs.webkit.org/show_bug.cgi?id=46937
967
968         Broke compile of test_shell
969
970         * DEPS:
971         * public/WebDragData.h:
972         * src/WebDragData.cpp:
973         (WebKit::WebDragData::hasFileNames):
974         (WebKit::WebDragData::fileNames):
975         (WebKit::WebDragData::setFileNames):
976         (WebKit::WebDragData::appendToFileNames):
977         (WebKit::WebDragData::fileContentFileName):
978         (WebKit::WebDragData::setFileContentFileName):
979
980 2010-10-06  Daniel Cheng  <dcheng@chromium.org>
981
982         Reviewed by Tony Chang.
983
984         [chromium] Minor naming cleanup in WebDragData, part 2
985         https://bugs.webkit.org/show_bug.cgi?id=46937
986
987         Chromium no longer uses the deprecated methods, so delete them.
988
989         * DEPS:
990         * public/WebDragData.h:
991         * src/WebDragData.cpp:
992
993 2010-09-29  Alpha Lam  <hclam@chromium.org>
994
995         Reviewed by James Robinson.
996
997         Render textures in video frame directly.
998         https://bugs.webkit.org/show_bug.cgi?id=46765
999
1000         Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame.
1001         Also explicitly instruct VideoLayerChromium to release video frame when the owner
1002         of video frame is going away.
1003
1004         * public/WebVideoFrame.h:
1005         * src/AssertMatchingEnums.cpp:
1006         * src/VideoFrameChromiumImpl.cpp:
1007         (WebKit::VideoFrameChromiumImpl::texture):
1008         * src/VideoFrameChromiumImpl.h:
1009         * src/WebMediaPlayerClientImpl.cpp:
1010         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
1011         (WebKit::WebMediaPlayerClientImpl::load):
1012         * src/WebMediaPlayerClientImpl.h:
1013
1014 2010-10-05  Nat Duca  <nduca@chromium.org>
1015
1016         Reviewed by James Robinson.
1017
1018         [chromium] Handle composited root layer invalidations in screenspace,
1019         fixing the disappearing scrollbar problem.
1020         https://bugs.webkit.org/show_bug.cgi?id=46864
1021
1022         * src/WebViewImpl.cpp:
1023         (WebKit::WebViewImpl::composite):
1024         (WebKit::WebViewImpl::scrollRootLayerRect):
1025         (WebKit::WebViewImpl::invalidateRootLayerRect):
1026         (WebKit::WebViewImpl::doComposite):
1027
1028 2010-10-05  Kenneth Russell  <kbr@google.com>
1029
1030         Unreviewed, follow up to 47216. Add newline above "protected:".
1031
1032         * public/WebFrame.h:
1033
1034 2010-10-05  Kenneth Russell  <kbr@google.com>
1035
1036         Reviewed by Tony Chang.
1037
1038         [chromium] Implement layerTreeAsText in DumpRenderTree
1039         https://bugs.webkit.org/show_bug.cgi?id=47216
1040
1041         Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
1042         make it callable from DumpRenderTree.
1043
1044         No new tests; verified with existing compositor layout tests.
1045
1046         * public/WebFrame.h:
1047         * src/WebFrameImpl.cpp:
1048         (WebKit::WebFrameImpl::layerTreeAsText):
1049         * src/WebFrameImpl.h:
1050
1051 2010-10-05  Andrew Wilson  <atwilson@chromium.org>
1052
1053         Reviewed by Andreas Kling.
1054
1055         Notification onclick() events don't act like user gestures
1056         https://bugs.webkit.org/show_bug.cgi?id=47137
1057
1058         * src/WebNotification.cpp:
1059         (WebKit::WebNotification::dispatchClickEvent):
1060         Use UserGestureIndicator to make sure click events are treated like user gestures.
1061
1062 2010-10-05  Alok Priyadarshi  <alokp@chromium.org>
1063
1064         Reviewed by Kenneth Russell.
1065
1066         Supported ANGLE SH_VERSION > 100
1067         https://bugs.webkit.org/show_bug.cgi?id=47024
1068
1069         * src/WebGraphicsContext3DDefaultImpl.cpp:
1070         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
1071         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
1072
1073 2010-10-04  Jeremy Orlow  <jorlow@chromium.org>
1074
1075         Reviewed by Nate Chapin.
1076
1077         Rename get* and open*Cursor per the spec on IDBIndex
1078         https://bugs.webkit.org/show_bug.cgi?id=46906
1079
1080         The spec changed so that:
1081         IDBIndex.get -> getKey
1082         IDBIndex.getObject -> get
1083         IDBIndex.openCursor -> openKeyCursor
1084         IDBIndex.openObjectCursor -> openCursor
1085
1086         * public/WebIDBIndex.h:
1087         (WebKit::WebIDBIndex::openCursor):
1088         (WebKit::WebIDBIndex::openKeyCursor):
1089         (WebKit::WebIDBIndex::get):
1090         (WebKit::WebIDBIndex::getKey):
1091         * src/IDBIndexBackendProxy.cpp:
1092         (WebCore::IDBIndexBackendProxy::openCursor):
1093         (WebCore::IDBIndexBackendProxy::openKeyCursor):
1094         (WebCore::IDBIndexBackendProxy::get):
1095         (WebCore::IDBIndexBackendProxy::getKey):
1096         * src/IDBIndexBackendProxy.h:
1097         * src/WebIDBIndexImpl.cpp:
1098         (WebKit::WebIDBIndexImpl::openObjectCursor):
1099         (WebKit::WebIDBIndexImpl::openKeyCursor):
1100         (WebKit::WebIDBIndexImpl::getObject):
1101         (WebKit::WebIDBIndexImpl::getKey):
1102         * src/WebIDBIndexImpl.h:
1103
1104 2010-10-04  Andrei Popescu  <andreip@google.com>
1105
1106         Reviewed by Jeremy Orlow.
1107
1108         IDBDatabase::createObjectStore/removeObjectStore and IDBObjectStore::createIndex/removeIndex should be synchronous.
1109         https://bugs.webkit.org/show_bug.cgi?id=46883
1110
1111         * public/WebIDBDatabase.h:
1112         (WebKit::WebIDBDatabase::createObjectStore):
1113         (WebKit::WebIDBDatabase::removeObjectStore):
1114         * public/WebIDBObjectStore.h:
1115         (WebKit::WebIDBObjectStore::createIndex):
1116         (WebKit::WebIDBObjectStore::removeIndex):
1117         * src/IDBDatabaseProxy.cpp:
1118         (WebCore::IDBDatabaseProxy::createObjectStore):
1119         (WebCore::IDBDatabaseProxy::removeObjectStore):
1120         * src/IDBDatabaseProxy.h:
1121         * src/IDBObjectStoreProxy.cpp:
1122         (WebCore::IDBObjectStoreProxy::createIndex):
1123         (WebCore::IDBObjectStoreProxy::removeIndex):
1124         * src/IDBObjectStoreProxy.h:
1125         * src/WebIDBDatabaseImpl.cpp:
1126         (WebKit::WebIDBDatabaseImpl::createObjectStore):
1127         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
1128         * src/WebIDBDatabaseImpl.h:
1129         * src/WebIDBObjectStoreImpl.cpp:
1130         (WebKit::WebIDBObjectStoreImpl::createIndex):
1131         (WebKit::WebIDBObjectStoreImpl::removeIndex):
1132         * src/WebIDBObjectStoreImpl.h:
1133
1134 2010-10-04  Andrey Kosyakov  <caseq@chromium.org>
1135
1136         Reviewed by Yury Semikhatsky.
1137
1138         Web Inspector: [Chromium][Extension API] provide tab id of inspected tab in extension API
1139         https://bugs.webkit.org/show_bug.cgi?id=47080
1140
1141         * src/js/DevTools.js: Added a way for extension to get tabId of inspected window.
1142         (WebInspector.platformExtensionAPI):
1143         (WebInspector.buildPlatformExtensionAPI):
1144         (WebInspector.setInspectedTabId):
1145
1146 2010-10-04  Tony Gentilcore  <tonyg@chromium.org>
1147
1148         Reviewed by Darin Fisher.
1149
1150         [chromium] Properly clear WebKit cache when chromium cache is cleared
1151         https://bugs.webkit.org/show_bug.cgi?id=47119
1152
1153         Contributed by Ricardo Vargas.
1154
1155         See: http://code.google.com/p/chromium/issues/detail?id=54336
1156
1157         * src/WebCache.cpp:
1158         (WebKit::WebCache::clear):
1159
1160 2010-10-04  Nico Weber  <thakis@chromium.org>
1161
1162         Reviewed by Kenneth Russell.
1163
1164         Fix broken C++ in PODInterval and PODIntervalTree
1165         https://bugs.webkit.org/show_bug.cgi?id=47063
1166
1167         Change functions to be template specializations, like it's now required
1168         by PODIntervalTree and friends.
1169
1170         * tests/PODIntervalTreeTest.cpp:
1171
1172 2010-10-04  Matt Mueller  <mattm@chromium.org>
1173
1174         Reviewed by Darin Fisher.
1175
1176         When building under chromium, build libwebkit as the same type (shared
1177         or static) as chromium.  Fixes problems with multiple calls to global
1178         initializers/finalizers in shared chromium build.
1179         https://bugs.webkit.org/show_bug.cgi?id=46762
1180
1181         * WebKit.gyp:
1182
1183 2010-10-04  Alpha Lam  <hclam@chromium.org>
1184
1185         Build fix. Not reviewed.
1186
1187         Remove a function declaration.
1188
1189         * src/ChromeClientImpl.h:
1190
1191 2010-10-04  Alpha Lam  <hclam@chromium.org>
1192
1193         Build fix. Not reviewed.
1194
1195         https://bugs.webkit.org/show_bug.cgi?id=47135
1196         Add a stub method to make the build happy.
1197
1198         * src/ApplicationCacheHost.cpp:
1199         (WebCore::ApplicationCacheHost::stopLoadingInFrame):
1200
1201 2010-10-04  Chris Marrin  <cmarrin@apple.com>
1202
1203         Reviewed by James Robinson.
1204
1205         Move SharedGraphicsContext3D from ChromeClient to Page
1206         https://bugs.webkit.org/show_bug.cgi?id=47113
1207
1208         * src/ChromeClientImpl.cpp:
1209         * src/WebViewImpl.cpp:
1210         * src/WebViewImpl.h:
1211
1212 2010-10-04  Jeremy Orlow  <jorlow@chromium.org>
1213
1214         Reviewed by Nate Chapin.
1215
1216         Implement IndexedDB's oncomplete and ontimeout.
1217         https://bugs.webkit.org/show_bug.cgi?id=47106
1218
1219         * public/WebIDBTransactionCallbacks.h:
1220         (WebKit::WebIDBTransactionCallbacks::id):
1221         (WebKit::WebIDBTransactionCallbacks::onAbort):
1222         (WebKit::WebIDBTransactionCallbacks::onComplete):
1223         (WebKit::WebIDBTransactionCallbacks::onTimeout):
1224         * src/IDBTransactionCallbacksProxy.cpp:
1225         (WebCore::IDBTransactionCallbacksProxy::onComplete):
1226         (WebCore::IDBTransactionCallbacksProxy::onTimeout):
1227         * src/IDBTransactionCallbacksProxy.h:
1228         * src/WebIDBTransactionCallbacksImpl.cpp:
1229         (WebCore::WebIDBTransactionCallbacksImpl::onComplete):
1230         (WebCore::WebIDBTransactionCallbacksImpl::onTimeout):
1231         * src/WebIDBTransactionCallbacksImpl.h:
1232
1233 2010-10-04  Adam Barth  <abarth@webkit.org>
1234
1235         Reviewed by Darin Adler.
1236
1237         Rename RedirectScheduler to NavigationScheduler
1238         https://bugs.webkit.org/show_bug.cgi?id=47037
1239
1240         Update for name change.
1241
1242         * src/ApplicationCacheHost.cpp:
1243         (WebCore::ApplicationCacheHost::selectCacheWithManifest):
1244         * src/WebFrameImpl.cpp:
1245         (WebKit::WebFrameImpl::loadJavaScriptURL):
1246
1247 2010-10-01  Victoria Kirst  <vrk@google.com>
1248
1249         Reviewed by James Robinson.
1250
1251         Fixing crash when audio media player is destructed
1252         https://bugs.webkit.org/show_bug.cgi?id=47020
1253
1254         Creates the VideoLayerChromium layer only if the media player contains
1255         a video.
1256
1257         * src/WebMediaPlayerClientImpl.cpp:
1258         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
1259         (WebKit::WebMediaPlayerClientImpl::create):
1260
1261 2010-10-01  Mihai Parparita  <mihaip@chromium.org>
1262
1263         Reviewed by Nate Chapin.
1264
1265         [Chromium] Remove WebURLLoaderClient::didFinishLoading(WebURLLoader*)
1266         https://bugs.webkit.org/show_bug.cgi?id=47008
1267
1268         Now that WebURLLoaderClient::didFinishLoading(WebURLLoader*) has no
1269         more callers, it can be removed (requires a Chromium roll to
1270         http://crrev.com/61206, which actually removed the last usage).
1271
1272         * DEPS:
1273         * public/WebURLLoaderClient.h:
1274
1275 2010-10-01  Daniel Cheng  <dcheng@chromium.org>
1276
1277         Reviewed by Tony Chang.
1278
1279         [chromium] Minor naming cleanup in WebDragData
1280         https://bugs.webkit.org/show_bug.cgi?id=46937
1281
1282         This is a two-part patch--one to add the new methods with normalized
1283         names that follow general WebKit convention, and a followup patch to
1284         remove the original methods once Chromium is updated.
1285
1286         * public/WebDragData.h:
1287         * src/WebDragData.cpp:
1288         (WebKit::WebDragData::hasFileNames): renamed to containsFilenames
1289         (WebKit::WebDragData::fileNames): renamed to filenames
1290         (WebKit::WebDragData::setFileNames): renamed to setFilenames
1291         (WebKit::WebDragData::appendToFileNames): renamed to appendToFilenames
1292         (WebKit::WebDragData::containsFilenames):
1293         (WebKit::WebDragData::filenames):
1294         (WebKit::WebDragData::setFilenames):
1295         (WebKit::WebDragData::appendToFilenames):
1296         (WebKit::WebDragData::fileContentFileName): renamed to fileContentFilename
1297         (WebKit::WebDragData::setFileContentFileName): renamed to setFileContentFilename
1298         (WebKit::WebDragData::fileContentFilename):
1299         (WebKit::WebDragData::setFileContentFilename):
1300
1301 2010-10-01  Jochen Eisinger  <jochen@chromium.org>
1302
1303         Reviewed by Darin Fisher.
1304
1305         [chromium] add an identifier method to WebFrame. The identifier can be used to identify
1306         a given frame of a view over time. Using a pointer to the WebFrame object is fragile,
1307         since a new frame might have been allocated at the same address as an old, deleted frame.
1308         https://bugs.webkit.org/show_bug.cgi?id=46884
1309
1310         * public/WebFrame.h:
1311         * src/WebFrameImpl.cpp:
1312         (WebKit::generateFrameIdentifier):
1313         (WebKit::WebFrameImpl::identifier):
1314         (WebKit::WebFrameImpl::WebFrameImpl):
1315         * src/WebFrameImpl.h:
1316
1317 2010-09-29  John Abd-El-Malek  <jam@chromium.org>
1318
1319         Reviewed by Darin Fisher.
1320
1321         [chromium] Changes to consolidate plugin zoom
1322         https://bugs.webkit.org/show_bug.cgi?id=46550
1323
1324         * public/WebPlugin.h:
1325         (WebKit::WebPlugin::setZoomLevel):
1326         * public/WebPluginContainer.h:
1327         * public/WebView.h:
1328         * public/WebViewClient.h:
1329         (WebKit::WebViewClient::zoomLimitsChanged):
1330         (WebKit::WebViewClient::zoomLevelChanged):
1331         * src/FrameLoaderClientImpl.cpp:
1332         (WebKit::FrameLoaderClientImpl::createPlugin):
1333         * src/WebPluginContainerImpl.cpp:
1334         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1335         (WebKit::WebPluginContainerImpl::zoomChanged):
1336         (WebKit::WebPluginContainerImpl::zoomLimitsChanged):
1337         * src/WebPluginContainerImpl.h:
1338         * src/WebViewImpl.cpp:
1339         (WebKit::WebViewImpl::WebViewImpl):
1340         (WebKit::WebViewImpl::zoomLevel):
1341         (WebKit::WebViewImpl::setZoomLevel):
1342         (WebKit::WebViewImpl::zoomLimitsChanged):
1343         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
1344         (WebKit::WebView::zoomLevelToZoomFactor):
1345         (WebKit::WebView::zoomFactorToZoomLevel):
1346         * src/WebViewImpl.h:
1347
1348 2010-09-30  MORITA Hajime  <morrita@google.com>
1349
1350         Reviewed by James Robinson.
1351
1352         [Chromium] build fails unless ACCELERATED_2D_CANVAS defined
1353         https://bugs.webkit.org/show_bug.cgi?id=46955
1354         
1355         Added ifdef guard around SharedGraphicsContext3D.
1356
1357         * src/WebViewImpl.cpp:
1358         (WebKit::WebViewImpl::getSharedGraphicsContext3D):
1359         * src/WebViewImpl.h:
1360
1361 2010-09-30  Alexey Marinichev  <amarinichev@chromium.org>
1362
1363         Reviewed by Chris Marrin.
1364
1365         Add GetGraphicsResetStatusARB entry point from ARB_robustness
1366         extension to GraphicsContext3D
1367         https://bugs.webkit.org/show_bug.cgi?id=46850
1368
1369         Added a stub for GraphicsContext3D::getGraphicsResetStatusARB.
1370
1371         * src/GraphicsContext3DChromium.cpp:
1372         (WebCore::GraphicsContext3D::getGraphicsResetStatusARB):
1373
1374 2010-09-30  Dumitru Daniliuc  <dumi@chromium.org>
1375
1376         Reviewed by Darin Fisher.
1377
1378         Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&).
1379
1380         * public/WebHTTPBody.h:
1381         * src/WebHTTPBody.cpp:
1382         (WebKit::WebHTTPBody::elementAt):
1383
1384 2010-09-30  Nico Weber  <thakis@chromium.org>
1385
1386         Reviewed by Adam Barth.
1387
1388         [chromium] Fix clang error in KURLTest.cpp
1389         https://bugs.webkit.org/show_bug.cgi?id=46861
1390
1391         * tests/KURLTest.cpp:
1392         (WTF::operator<<):
1393
1394 2010-09-30  Daniel Cheng  <dcheng@chromium.org>
1395
1396         Reviewed by Tony Chang.
1397
1398         [chromium] Refactor ChromiumDataObject to use getters/setters.
1399         https://bugs.webkit.org/show_bug.cgi?id=46559
1400
1401         This is an intermediate step to converting ChromiumDataObject to use
1402         callbacks to the browser to retrieve data.
1403
1404         * public/WebDragData.h:
1405         * src/WebDragData.cpp:
1406         (WebKit::WebDragData::initialize):
1407         (WebKit::WebDragData::url):
1408         (WebKit::WebDragData::setURL):
1409         (WebKit::WebDragData::urlTitle):
1410         (WebKit::WebDragData::setURLTitle):
1411         (WebKit::WebDragData::downloadMetadata):
1412         (WebKit::WebDragData::setDownloadMetadata):
1413         (WebKit::WebDragData::fileExtension):
1414         (WebKit::WebDragData::setFileExtension):
1415         (WebKit::WebDragData::hasFileNames):
1416         (WebKit::WebDragData::fileNames):
1417         (WebKit::WebDragData::setFileNames):
1418         (WebKit::WebDragData::appendToFileNames):
1419         (WebKit::WebDragData::plainText):
1420         (WebKit::WebDragData::setPlainText):
1421         (WebKit::WebDragData::htmlText):
1422         (WebKit::WebDragData::setHTMLText):
1423         (WebKit::WebDragData::htmlBaseURL):
1424         (WebKit::WebDragData::setHTMLBaseURL):
1425         (WebKit::WebDragData::fileContentFileName):
1426         (WebKit::WebDragData::setFileContentFileName):
1427         (WebKit::WebDragData::fileContent):
1428         (WebKit::WebDragData::setFileContent):
1429
1430 2010-09-29  Zhenyao Mo  <zmo@google.com>
1431
1432         Reviewed by Kenneth Russell.
1433
1434         glsl-conformance.html on khronos will crash chromium --in-process-webgl
1435         https://bugs.webkit.org/show_bug.cgi?id=46863
1436
1437         * src/WebGraphicsContext3DDefaultImpl.cpp: Make ShaderSourceMap as <ShaderID, ShaderSourceEntry*>, so map resizing will be efficient and we don't need to worry about pointer copying.
1438         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
1439         (WebKit::WebGraphicsContext3DDefaultImpl::compileShader):
1440         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv):
1441         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
1442         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
1443         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
1444         (WebKit::WebGraphicsContext3DDefaultImpl::createShader):
1445         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
1446         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
1447         (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry):
1448
1449 2010-09-30  Andrei Popescu  <andreip@google.com>
1450
1451         Reviewed by Jeremy Orlow.
1452
1453         [Chromium] WebIDBDatabase and WebIDBObjectStore are missing methods called from Chromium land.
1454         https://bugs.webkit.org/show_bug.cgi?id=46922
1455         
1456         The missing functions were removed in r68795.
1457
1458         * public/WebIDBDatabase.h:
1459         (WebKit::WebIDBDatabase::createObjectStore):
1460         (WebKit::WebIDBDatabase::removeObjectStore):
1461         * public/WebIDBObjectStore.h:
1462         (WebKit::WebIDBObjectStore::createIndex):
1463         (WebKit::WebIDBObjectStore::removeIndex):
1464
1465 2010-09-29  Kenneth Russell  <kbr@google.com>
1466
1467         Reviewed by Dimitri Glazkov.
1468
1469         [chromium] Add accelerated compositing support to DumpRenderTree and test_shell
1470         https://bugs.webkit.org/show_bug.cgi?id=46849
1471
1472         Added offscreen code path for WebGraphicsContext3DDefaultImpl which
1473         works with the compositor integration in both DumpRenderTree and
1474         test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint
1475         and thereby trigger the compositor's readback code path. Added support
1476         for --enable-accelerated-compositing to DumpRenderTree.
1477
1478         Tested in both test_shell and DumpRenderTree on Linux, the latter by
1479         modifying a compositing layout test, dumping the pixels and verifying
1480         that they matched the output when the compositor was active.
1481
1482         * src/WebGraphicsContext3DDefaultImpl.cpp:
1483         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
1484         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1485         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
1486         (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId):
1487         (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
1488         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
1489         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
1490         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
1491         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
1492         * src/WebGraphicsContext3DDefaultImpl.h:
1493
1494 2010-09-29  Jeremy Orlow  <jorlow@chromium.org>
1495
1496         Reviewed by Steve Block.
1497
1498         Finished IDBTransaction for IndexedDB
1499         https://bugs.webkit.org/show_bug.cgi?id=46823
1500
1501         Plumbing.
1502
1503         * public/WebIDBCallbacks.h:
1504         (WebKit::WebIDBCallbacks::onSuccess):
1505         * public/WebIDBDatabase.h:
1506         (WebKit::WebIDBDatabase::createObjectStore):
1507         (WebKit::WebIDBDatabase::removeObjectStore):
1508         (WebKit::WebIDBDatabase::close):
1509         * public/WebIDBIndex.h:
1510         (WebKit::WebIDBIndex::openObjectCursor):
1511         (WebKit::WebIDBIndex::openCursor):
1512         (WebKit::WebIDBIndex::getObject):
1513         (WebKit::WebIDBIndex::get):
1514         * public/WebIDBObjectStore.h:
1515         (WebKit::WebIDBObjectStore::get):
1516         (WebKit::WebIDBObjectStore::put):
1517         (WebKit::WebIDBObjectStore::remove):
1518         (WebKit::WebIDBObjectStore::createIndex):
1519         (WebKit::WebIDBObjectStore::removeIndex):
1520         (WebKit::WebIDBObjectStore::openCursor):
1521         * public/WebIDBTransaction.h:
1522         (WebKit::WebIDBTransaction::id):
1523         (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
1524         * src/IDBCallbacksProxy.cpp:
1525         (WebCore::IDBCallbacksProxy::onSuccess):
1526         * src/IDBCallbacksProxy.h:
1527         * src/IDBDatabaseProxy.cpp:
1528         (WebCore::IDBDatabaseProxy::createObjectStore):
1529         (WebCore::IDBDatabaseProxy::removeObjectStore):
1530         (WebCore::IDBDatabaseProxy::close):
1531         * src/IDBDatabaseProxy.h:
1532         * src/IDBIndexBackendProxy.cpp:
1533         (WebCore::IDBIndexBackendProxy::openObjectCursor):
1534         (WebCore::IDBIndexBackendProxy::openCursor):
1535         (WebCore::IDBIndexBackendProxy::getObject):
1536         (WebCore::IDBIndexBackendProxy::get):
1537         * src/IDBIndexBackendProxy.h:
1538         * src/IDBObjectStoreProxy.cpp:
1539         (WebCore::IDBObjectStoreProxy::put):
1540         (WebCore::IDBObjectStoreProxy::remove):
1541         (WebCore::IDBObjectStoreProxy::createIndex):
1542         (WebCore::IDBObjectStoreProxy::removeIndex):
1543         (WebCore::IDBObjectStoreProxy::openCursor):
1544         * src/IDBObjectStoreProxy.h:
1545         * src/IDBTransactionBackendProxy.cpp:
1546         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1547         * src/WebIDBCallbacksImpl.cpp:
1548         (WebCore::WebIDBCallbacksImpl::onSuccess):
1549         * src/WebIDBCallbacksImpl.h:
1550         * src/WebIDBDatabaseImpl.cpp:
1551         (WebKit::WebIDBDatabaseImpl::createObjectStore):
1552         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
1553         (WebKit::WebIDBDatabaseImpl::close):
1554         * src/WebIDBDatabaseImpl.h:
1555         * src/WebIDBIndexImpl.cpp:
1556         (WebKit::WebIDBIndexImpl::openCursor):
1557         (WebKit::WebIDBIndexImpl::openObjectCursor):
1558         (WebKit::WebIDBIndexImpl::getObject):
1559         (WebKit::WebIDBIndexImpl::get):
1560         * src/WebIDBIndexImpl.h:
1561         * src/WebIDBObjectStoreImpl.cpp:
1562         (WebKit::WebIDBObjectStoreImpl::put):
1563         (WebKit::WebIDBObjectStoreImpl::remove):
1564         (WebKit::WebIDBObjectStoreImpl::createIndex):
1565         (WebKit::WebIDBObjectStoreImpl::removeIndex):
1566         (WebKit::WebIDBObjectStoreImpl::openCursor):
1567         * src/WebIDBObjectStoreImpl.h:
1568
1569 2010-09-29  Andrey Kosyakov  <caseq@chromium.org>
1570
1571         Reviewed by Pavel Feldman.
1572
1573         Web Inspector: display headers actually used by network stack in Resources tab
1574         Added plumbing for raw headers flag and response field between chromium and WebCore.
1575         https://bugs.webkit.org/show_bug.cgi?id=46092
1576
1577         * WebKit.gyp:
1578         * public/WebResourceRawHeaders.h: Added.
1579         * public/WebURLRequest.h:
1580         * public/WebURLResponse.h:
1581         * src/WebDevToolsAgentImpl.cpp:
1582         (WebKit::WebDevToolsAgentImpl::willSendRequest):
1583         * src/WebResourceRawHeaders.cpp: Added.
1584         (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
1585         (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
1586         (WebKit::WebResourceRawHeaders::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>):
1587         (WebKit::addHeader):
1588         (WebKit::WebResourceRawHeaders::addRequestHeader):
1589         (WebKit::WebResourceRawHeaders::addResponseHeader):
1590         * src/WebURLRequest.cpp:
1591         (WebKit::WebURLRequest::setReportRawHeaders):
1592         (WebKit::WebURLRequest::reportRawHeaders):
1593         * src/WebURLResponse.cpp:
1594         (WebKit::WebURLResponse::resourceRawHeaders):
1595         (WebKit::WebURLResponse::setResourceRawHeaders):
1596         * src/WebURLResponsePrivate.h:
1597
1598 2010-09-30  Avi Drissman  <avi@google.com>
1599
1600         Reviewed by Kenneth Russell.
1601
1602         [Chromium] Tabbing into page doesn't always select the first element
1603         https://bugs.webkit.org/show_bug.cgi?id=46856
1604
1605         * src/WebViewImpl.cpp:
1606         (WebKit::WebViewImpl::setInitialFocus):
1607
1608 2010-09-30  Alexey Marinichev  <amarinichev@chromium.org>
1609
1610         Reviewed by Kenneth Russell.
1611
1612         Rename chromium's GraphicsContext3D.cpp to match others.
1613         https://bugs.webkit.org/show_bug.cgi?id=46771
1614
1615         * WebKit.gyp:
1616         * src/GraphicsContext3DChromium.cpp: Renamed from WebKit/chromium/src/GraphicsContext3D.cpp.
1617
1618 2010-09-29  Kent Tamura  <tkent@chromium.org>
1619
1620         Reviewed by Dimitri Glazkov.
1621
1622         Refactor HTMLInputElement: Make DeprecatedInputType private.
1623         https://bugs.webkit.org/show_bug.cgi?id=46791
1624
1625         * src/WebPasswordFormUtils.cpp:
1626         (WebKit::findPasswordFormFields):
1627          Accept any text field types as a username field.
1628         * src/WebSearchableFormData.cpp:
1629         (WebCore::HasSuitableTextElement):
1630          Accept any text field types as a search query field.
1631
1632 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
1633
1634         Reviewed by Dumitru Daniliuc.
1635
1636         Add removeRecursively to WebKit WebFileSystem API
1637         https://bugs.webkit.org/show_bug.cgi?id=46842
1638
1639         * public/WebFileSystem.h:
1640         (WebKit::WebFileSystem::removeRecursively): Added.
1641
1642 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
1643
1644         Reviewed by David Levin.
1645
1646         Fix DirectoryReader's behavior to trigger only one EntriesCallback per readEntries
1647         https://bugs.webkit.org/show_bug.cgi?id=46563
1648
1649         * src/WebFileSystemCallbacksImpl.cpp:
1650         (WebKit::WebFileSystemCallbacksImpl::didReadDirectory):
1651
1652 2010-09-29  Tony Chang  <tony@chromium.org>
1653
1654         Reviewed by James Robinson.
1655
1656         [chromium] enable -Werror for DRT and webkit_unit_tests on Linux
1657         https://bugs.webkit.org/show_bug.cgi?id=46829
1658
1659         * WebKit.gyp:
1660         * tests/ArenaTestHelpers.h:
1661         (WebCore::ArenaTestHelpers::TrackedAllocator::free):
1662         * tests/IDBKeyPathTest.cpp:
1663         (WebCore::checkKeyPath):
1664
1665 2010-09-29  Tony Chang  <tony@chromium.org>
1666
1667         Reviewed by James Robinson.
1668
1669         [chromium] enable -Werror on chromium linux webkit
1670         https://bugs.webkit.org/show_bug.cgi?id=46821
1671
1672         * WebKit.gyp:
1673         * src/gtk/WebInputEventFactory.cpp:
1674
1675 2010-09-29  Mihai Parparita  <mihaip@chromium.org>
1676
1677         Unreviewed removal of unused #define from WebHistory.h.
1678         Chromium usage of WEBKIT_BUG_40451_IS_FIXED was removed with
1679         http://crrev.com/50642.
1680
1681         * public/WebHistoryItem.h:
1682
1683 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
1684
1685         Unreviewed, adding one more missing change from the last patch.
1686         https://bugs.webkit.org/show_bug.cgi?id=46524
1687
1688         * WebKit.gyp:
1689
1690 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
1691
1692         Unreviewed, adding the new files that were supposed to be added
1693         but I missed to include in my previous patch.
1694         https://bugs.webkit.org/show_bug.cgi?id=46524
1695
1696         * src/WorkerAsyncFileSystemChromium.cpp: Added.
1697         * src/WorkerAsyncFileSystemChromium.h: Added.
1698
1699 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
1700
1701         Reviewed by David Levin.
1702
1703         Bridge all FileSystem operations on Workers to the MainThread
1704         https://bugs.webkit.org/show_bug.cgi?id=46524
1705
1706         * src/LocalFileSystemChromium.cpp:
1707         (WebCore::LocalFileSystem::requestFileSystem): Changed the worker case
1708         code to create WebFileSystemCallbacksImpl with the current
1709         ScriptExecutionContext (WorkerContext).
1710         * src/WebFileSystemCallbacksImpl.cpp:
1711         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
1712         a new constructor that takes ScriptExecutionContext (WorkerContext)
1713         for workers.
1714         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Added the
1715         code for workers that creates WorkerAsyncFileSystemChromium.
1716         * src/WebFileSystemCallbacksImpl.h:
1717         * src/WorkerAsyncFileSystemChromium.cpp: Added.
1718         * src/WorkerAsyncFileSystemChromium.h: Added.
1719         * src/WorkerFileSystemCallbacksBridge.cpp: Added methods for regular
1720         file system operations to proxy them to the main thread.
1721         (WebKit::WorkerFileSystemCallbacksBridge::createForOpenFileSystem):
1722         (WebKit::WorkerFileSystemCallbacksBridge::createForMove):
1723         (WebKit::WorkerFileSystemCallbacksBridge::createForCopy):
1724         (WebKit::WorkerFileSystemCallbacksBridge::createForRemove):
1725         (WebKit::WorkerFileSystemCallbacksBridge::createForReadMetadata):
1726         (WebKit::WorkerFileSystemCallbacksBridge::createForCreateFile):
1727         (WebKit::WorkerFileSystemCallbacksBridge::createForCreateDirectory):
1728         (WebKit::WorkerFileSystemCallbacksBridge::createForFileExists):
1729         (WebKit::WorkerFileSystemCallbacksBridge::createForDirectoryExists):
1730         (WebKit::WorkerFileSystemCallbacksBridge::createForReadDirectory):
1731         (WebKit::MainThreadFileSystemCallbacks::didSucceed):
1732         (WebKit::MainThreadFileSystemCallbacks::didReadMetadata):
1733         (WebKit::MainThreadFileSystemCallbacks::didReadDirectory):
1734         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
1735         (WebKit::WorkerFileSystemCallbacksBridge::moveOnMainThread):
1736         (WebKit::WorkerFileSystemCallbacksBridge::copyOnMainThread):
1737         (WebKit::WorkerFileSystemCallbacksBridge::removeOnMainThread):
1738         (WebKit::WorkerFileSystemCallbacksBridge::readMetadataOnMainThread):
1739         (WebKit::WorkerFileSystemCallbacksBridge::createFileOnMainThread):
1740         (WebKit::WorkerFileSystemCallbacksBridge::createDirectoryOnMainThread):
1741         (WebKit::WorkerFileSystemCallbacksBridge::fileExistsOnMainThread):
1742         (WebKit::WorkerFileSystemCallbacksBridge::directoryExistsOnMainThread):
1743         (WebKit::WorkerFileSystemCallbacksBridge::readDirectoryOnMainThread):
1744         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
1745         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
1746         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
1747         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnWorkerThread):
1748         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnWorkerThread):
1749         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnWorkerThread):
1750         (WebKit::WorkerFileSystemCallbacksBridge::derefIfWorkerIsStopped):
1751         * src/WorkerFileSystemCallbacksBridge.h:
1752
1753 2010-09-29  Matt Perry  <mpcomplete@chromium.org>
1754
1755         Reviewed by Darin Fisher.
1756
1757         Remove obsolete registerExtension variants from chromium port.
1758         https://bugs.webkit.org/show_bug.cgi?id=46683
1759
1760         * public/WebScriptController.h:
1761         * src/WebScriptController.cpp:
1762
1763 2010-09-29  Chris Guillory  <chris.guillory@google.com>
1764
1765         Reviewed by Dimitri Glazkov.
1766
1767         Add method which checks if a WebAccessibilityObject is in the cache.
1768         https://bugs.webkit.org/show_bug.cgi?id=46605
1769
1770         * public/WebAccessibilityCache.h:
1771         * src/WebAccessibilityCacheImpl.cpp:
1772         (WebKit::WebAccessibilityCacheImpl::isCached):
1773         * src/WebAccessibilityCacheImpl.h:
1774
1775 2010-09-29  Anantanarayanan G Iyengar  <ananta@chromium.org>
1776
1777         Reviewed by Darin Fisher.
1778
1779         [chromium] Honor z-index specified by a plugin
1780         https://bugs.webkit.org/show_bug.cgi?id=46223
1781         
1782         The Chromium plugin code which implements the iframe shim technique
1783         for overlaying a windowed plugin with content on the page should
1784         honor the z-index specified on the plugin widget. If the z-index
1785         here is greater than the enclosing iframe shim then the plugin
1786         should be displayed over the iframe. Updated the layout test to test
1787         for this case. Skipped the plugins/iframe-shims.html layout test on
1788         platforms which don't support it.
1789
1790         * src/WebPluginContainerImpl.cpp:
1791
1792 2010-09-28  Vangelis Kokkevis  <vangelis@chromium.org>
1793
1794         Reviewed by Kenneth Russell.
1795
1796         [chromium] Keep the accelerated compositor around even after a page is
1797         done using it to avoid startup costs in pages that frequently switch
1798         the compositor on and off.
1799         https://bugs.webkit.org/show_bug.cgi?id=45845
1800
1801         * src/WebViewImpl.cpp:
1802         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1803
1804 2010-09-28  Nat Duca  <nduca@chromium.org>
1805
1806         Reviewed by James Robinson.
1807
1808         [chromium] invalidateRootLayerRect needs to schedule compositor
1809         https://bugs.webkit.org/show_bug.cgi?id=46219
1810
1811         Make sure setRootLayerNedsDisplay is called by root invalidation.
1812         To avoid confusion about root-layer versus non-root-layer
1813         behavior, move the root layer damage state to the WebView.
1814
1815         * src/WebViewImpl.cpp:
1816         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1817         (WebKit::WebViewImpl::scrollRootLayerRect):
1818         (WebKit::WebViewImpl::invalidateRootLayerRect):
1819         (WebKit::WebViewImpl::doComposite):
1820         * src/WebViewImpl.h:
1821
1822 2010-09-28  Jenn Braithwaite  <jennb@chromium.org>
1823
1824         Reviewed by Dmitry Titov.
1825
1826         Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
1827         https://bugs.webkit.org/show_bug.cgi?id=46663
1828
1829         * src/FrameLoaderClientImpl.cpp:
1830         (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
1831         * src/FrameLoaderClientImpl.h:
1832
1833 2010-09-28  Andrei Popescu  <andreip@google.com>
1834
1835         Reviewed by Jeremy Orlow.
1836
1837         [Chromium] Linking error due to wrong guard in WebIDBTransaction.h
1838         https://bugs.webkit.org/show_bug.cgi?id=46710
1839
1840         Remove the wrong guard.
1841
1842         * public/WebIDBTransaction.h:
1843         (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
1844
1845 2010-09-27  Alpha Lam  <hclam@chromium.org>
1846
1847         Build fix. Not reviewed.
1848
1849         Use if instead of switch to avoid compilation error.
1850
1851         * src/VideoFrameChromiumImpl.cpp:
1852         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
1853
1854 2010-09-27  Alpha Lam  <hclam@chromium.org>
1855
1856         Build fix. Not reviewed.
1857
1858         Remove constant definitions from this file.
1859
1860         * src/VideoFrameChromiumImpl.cpp:
1861
1862 2010-09-27  Alpha Lam  <hclam@chromium.org>
1863
1864         Build fix. Not reviewed.
1865
1866         Fix warnings again.
1867
1868         * src/VideoFrameChromiumImpl.cpp:
1869         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
1870
1871 2010-09-27  Alpha Lam  <hclam@chromium.org>
1872
1873         Build fix. Not reviewed.
1874
1875         Add a default for unhandled cases for switch statement.
1876
1877         * src/VideoFrameChromiumImpl.cpp:
1878         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
1879
1880 2010-09-27  Victoria Kirst  <vrk@google.com>
1881
1882         Reviewed by James Robinson.
1883
1884         Fixing constants in VideoFrameChromiumImpl so that it overloads the
1885         VideoFrameChromium const declarations. Also adding logic such that a
1886         VideoFrameChromium understands what size its texture should be based
1887         on frame format.
1888         https://bugs.webkit.org/show_bug.cgi?id=45069
1889
1890         * src/VideoFrameChromiumImpl.cpp:
1891
1892 2010-09-27  Vangelis Kokkevis  <vangelis@chromium.org>
1893
1894         Reviewed by James Robinson.
1895
1896         [chromium] WebViewImpl now holds a ref counted pointer to the LayerRendererChromium
1897         to ensure that the compositor does not get destroyed before the layers used
1898         by it do. This was done to ensure that layers properly clean up their texture
1899         resources on destruction.
1900         https://bugs.webkit.org/show_bug.cgi?id=46139
1901
1902         * src/WebViewImpl.cpp:
1903         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1904         * src/WebViewImpl.h:
1905
1906 2010-09-24  Zhenyao Mo  <zmo@google.com>
1907
1908         Reviewed by Kenneth Russell.
1909
1910         Hook up ANGLE with chromium --in-process-webgl port
1911         https://bugs.webkit.org/show_bug.cgi?id=44309
1912
1913         * WebKit.gyp: Add angle dependency.
1914         * src/WebGraphicsContext3DDefaultImpl.cpp: Using angle for shader validation and translation.
1915         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
1916         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
1917         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1918         (WebKit::WebGraphicsContext3DDefaultImpl::compileShader):
1919         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Using defined const instead.
1920         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv):
1921         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
1922         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
1923         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
1924         (WebKit::WebGraphicsContext3DDefaultImpl::createShader):
1925         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
1926         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
1927         (WebKit::WebGraphicsContext3DDefaultImpl::angleDestroyCompilers):
1928         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
1929         * src/WebGraphicsContext3DDefaultImpl.h: Add necessary data and functions for angle stuff.
1930         (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry):
1931         (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::~ShaderSourceEntry):
1932
1933 2010-09-27  Kinuko Yasuda  <kinuko@chromium.org>
1934
1935         Reviewed by Adam Barth.
1936
1937         [Cleanup] Add create method to FileSystemCallbacks to get rid of naked new's
1938         https://bugs.webkit.org/show_bug.cgi?id=46561
1939
1940         Also cleanup the callbacks layering to pass AsyncFileSystemCallbacks
1941         object to LocalFileSystem::requestFileSystem (rather than
1942         FileSystemCallback and ErrorCallback) so that all the callbacks class
1943         we pass from WebCore to WebKit/chromium/src will be
1944         AsyncFileSystemCallbacks.
1945
1946         * src/LocalFileSystemChromium.cpp:
1947         (WebCore::LocalFileSystem::requestFileSystem): Changed to take
1948         AsyncFileSystemCallbacks as (a) callback argument(s).
1949
1950 2010-09-24  Tony Chang  <tony@chromium.org>
1951
1952         Reviewed by Kent Tamura.
1953
1954         [chromium] remove unused gtk WebScreenInfoFactory
1955         https://bugs.webkit.org/show_bug.cgi?id=46526
1956
1957         AFAICT these files aren't referenced in code or by gyp.
1958
1959         * WebKit.gyp: Remove duplicate filename.
1960         * public/gtk/WebScreenInfoFactory.h: Removed.
1961         * src/gtk/WebScreenInfoFactory.cpp: Removed.
1962
1963 2010-09-26  Mihai Parparita  <mihaip@chromium.org>
1964
1965         Reviewed by Adam Barth.
1966
1967         [Chromium] Remove no longer used WebView member functions
1968         https://bugs.webkit.org/show_bug.cgi?id=46515
1969         
1970         With http://crrev.com/60526 there's no longer any Chromium code calling
1971         the non-static versions of addUserScript and addUserStyleSheet.
1972
1973         * public/WebView.h:
1974
1975 2010-09-25  Nicolas Weber  <thakis@chromium.org>
1976
1977         Reviewed by James Robinson.
1978
1979         [chromium] Fix clang warning/error.
1980         https://bugs.webkit.org/show_bug.cgi?id=46552
1981
1982         * src/WorkerFileSystemCallbacksBridge.h:
1983
1984 2010-09-24  Mihai Parparita  <mihaip@chromium.org>
1985
1986         Reviewed by Darin Fisher.
1987
1988         [Chromium] Unnecessary blob dependency in WebKit.gyp
1989         https://bugs.webkit.org/show_bug.cgi?id=46488
1990         
1991         r66322 shouldn't have added a blob dependency by hand to targets in
1992         WebKit.gyp, instead blob should be a dependency of webkit_support.
1993         http://crrev.com/59406 did that, so we can now remove these deps.
1994
1995         * WebKit.gyp:
1996
1997 2010-09-24  Ryosuke Niwa  <rniwa@webkit.org>
1998
1999         Reviewed by Tony Chang.
2000
2001         [chromium] Implement TextInputController::firstRectForCharacterRange
2002         https://bugs.webkit.org/show_bug.cgi?id=38100
2003
2004         Implemented TextInputController::firstRectForCharacterRange for chromium platform.
2005         Because the function needs to return an array of integers, added makeIntArray to WebBindings.
2006         makeIntArray does not take Vector because WebBindings.h is included in plugin glue code
2007         where it cannot find wtf/Vector.h.
2008
2009         No new tests are added since we need to implement the same feature in chromium side
2010         in order to enable any tests that uses this function.
2011
2012         * public/WebBindings.h:
2013         * public/WebFrame.h:
2014         * src/WebBindings.cpp:
2015         (WebKit::makeIntArrayImpl): Added.
2016         (WebKit::WebBindings::makeIntArray): Added.
2017         * src/WebFrameImpl.cpp:
2018         (WebKit::WebFrameImpl::firstRectForCharacterRange): Added.
2019         * src/WebFrameImpl.h:
2020
2021 2010-09-24  Tony Chang  <tony@chromium.org>
2022
2023         Unreviewed, fix chromium compile after r68276 which renamed
2024         Render*::minPrefWidth to minPreferredLogicalWidth.
2025
2026         * src/WebFrameImpl.cpp:
2027         (WebKit::WebFrameImpl::contentsPreferredWidth):
2028
2029 2010-09-24  Eric Uhrhane  <ericu@chromium.org>
2030
2031         Reviewed by David Levin.
2032
2033         Remove unnecessary parameter from AsyncFileWriterClient::didTruncate
2034         https://bugs.webkit.org/show_bug.cgi?id=46390
2035
2036         * public/WebFileWriterClient.h:
2037         * src/AsyncFileWriterChromium.cpp:
2038         * src/AsyncFileWriterChromium.h:
2039
2040 2010-09-24  Chris Guillory   <chris.guillory@google.com>
2041
2042         Reviewed by Chris Fleizach.
2043
2044         Send webkit accessibility notifications to Chromium.
2045         https://bugs.webkit.org/show_bug.cgi?id=45156
2046
2047         * public/WebAccessibilityCache.h:
2048         * public/WebViewClient.h:
2049         * src/ChromeClientImpl.cpp:
2050         (WebKit::ChromeClientImpl::focusedNodeChanged):
2051         (WebKit::ChromeClientImpl::getPopupMenuInfo):
2052         * src/ChromeClientImpl.h:
2053         * src/WebAccessibilityCache.cpp:
2054         (WebKit::WebAccessibilityCache::accessibilityEnabled):
2055
2056 2010-09-23  Kent Tamura  <tkent@chromium.org>
2057
2058         Reviewed by Dimitri Glazkov.
2059
2060         [Chromium] Fix some IndexedDB tests for DRT
2061         https://bugs.webkit.org/show_bug.cgi?id=46444
2062
2063         * DEPS: Roll Chromium revision to 60394, which added
2064         WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath() implementation.
2065
2066 2010-09-23  Kinuko Yasuda  <kinuko@chromium.org>
2067
2068         Unreviewed, another attempt to fix build.  The code didn't have proper if-defs.
2069
2070         * src/WebWorkerBase.cpp:
2071         (WebKit::WebWorkerBase::openFileSystem):
2072         * src/WebWorkerBase.h:
2073         * src/WorkerFileSystemCallbacksBridge.h:
2074
2075 2010-09-23  Kinuko Yasuda  <kinuko@chromium.org>
2076
2077         Unreviewed; build fix attempt.
2078
2079         * src/WebWorkerBase.cpp:
2080         (WebKit::WebWorkerBase::openFileSystem):
2081         * src/WorkerFileSystemCallbacksBridge.h:
2082
2083 2010-09-23  Kinuko Yasuda  <kinuko@chromium.org>
2084
2085         Reviewed by David Levin.
2086
2087         Add Worker support for FileSystem API
2088         https://bugs.webkit.org/show_bug.cgi?id=45808
2089
2090         Added WebWorkerBase::openFileSystem and WebCommonWorkerClient::
2091         openFileSystem to call in to the browser via Worker stub/proxy
2092         in the chromium.
2093
2094         Also added WorkerFileSystemCallbacksBridge class that proxies
2095         requests and callbacks between from/to worker thread to/from the
2096         main thread.
2097
2098         * public/WebCommonWorkerClient.h:
2099         (WebKit::WebCommonWorkerClient::openFileSystem): Added.
2100         * src/LocalFileSystemChromium.cpp:
2101         (WebCore::LocalFileSystem::localFileSystem): Added.
2102         (WebCore::LocalFileSystem::requestFileSystem): Added implementation
2103         for workers. In worker case this calls WebWorkerBase::openFileSystem.
2104         * src/WebWorkerBase.cpp:
2105         (WebKit::WebWorkerBase::openFileSystem): Added. This is called from
2106         LocalFileSystem::requestFileSystem on the worker thread and creates
2107         a bridge to call WebCommonWorkerClient::openFileSystem on the main
2108         thread.
2109         * src/WebWorkerBase.h:
2110         * src/WebWorkerClientImpl.h:
2111         (WebKit::WebWorkerClientImpl::openFileSystem): Added.
2112         * src/WorkerFileSystemCallbacksBridge.cpp: Added.
2113         * src/WorkerFileSystemCallbacksBridge.h: Added.
2114
2115 2010-09-23  Tony Chang  <tony@chromium.org>
2116
2117         Reviewed by Dimitri Glazkov.
2118
2119         [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime
2120         https://bugs.webkit.org/show_bug.cgi?id=46426
2121
2122         * public/WebFrame.h:
2123         * src/WebFrameImpl.cpp:
2124         (WebKit::WebFrameImpl::pauseSVGAnimation):
2125         * src/WebFrameImpl.h:
2126
2127 2010-09-23  Tony Chang  <tony@chromium.org>
2128
2129         Reviewed by David Levin.
2130
2131         [chromium] add caretBrowsingEnabled to WebSettings and DRT
2132         https://bugs.webkit.org/show_bug.cgi?id=46388
2133
2134         * public/WebSettings.h:
2135         * src/WebSettingsImpl.cpp:
2136         (WebKit::WebSettingsImpl::setCaretBrowsingEnabled):
2137         * src/WebSettingsImpl.h:
2138
2139 2010-09-23  Eric Uhrhane  <ericu@chromium.org>
2140
2141         Reviewed by David Levin.
2142
2143         Rename FileWriterClient to AsyncFileWriterClient.
2144         https://bugs.webkit.org/show_bug.cgi?id=46325
2145
2146         * src/AsyncFileSystemChromium.cpp:
2147         * src/AsyncFileSystemChromium.h:
2148         * src/AsyncFileWriterChromium.cpp:
2149         * src/AsyncFileWriterChromium.h:
2150
2151 2010-09-23  Nate Chapin  <japhet@chromium.org>
2152
2153         Reviewed by Darin Fisher.
2154
2155         Add hyperlink auditing settings (i.e., <a ping>).
2156         https://bugs.webkit.org/show_bug.cgi?id=30458
2157
2158         * public/WebSettings.h:
2159         * src/WebSettingsImpl.cpp:
2160         (WebKit::WebSettingsImpl::setHyperlinkAuditingEnabled):
2161         * src/WebSettingsImpl.h:
2162
2163 2010-09-23  Andrey Kosyakov  <caseq@chromium.org>
2164
2165         Unreviewed build fix ("WTF/" -> "wtf/" in include, broke Arm build)
2166
2167         * src/AsyncFileWriterChromium.h:
2168
2169 2010-09-08  Tony Gentilcore  <tonyg@chromium.org>
2170
2171         Reviewed by Darin Fisher.
2172
2173         [chromium] Add chromium port API for accessing Web Timing information
2174         https://bugs.webkit.org/show_bug.cgi?id=45428
2175
2176         * WebKit.gyp:
2177         * public/WebFrame.h:
2178         * public/WebPerformance.h: Added.
2179         (WebKit::WebPerformance::WebPerformance):
2180         * src/WebFrameImpl.cpp:
2181         (WebKit::WebFrameImpl::performance):
2182         * src/WebFrameImpl.h:
2183         * src/WebPerformance.cpp: Added.
2184         (WebKit::WebPerformance::WebPerformance):
2185         (WebKit::WebPerformance::~WebPerformance):
2186         (WebKit::WebPerformance::operator=):
2187         (WebKit::WebPerformance::navigationType):
2188         (WebKit::WebPerformance::navigationStart):
2189         (WebKit::WebPerformance::unloadEventEnd):
2190         (WebKit::WebPerformance::redirectStart):
2191         (WebKit::WebPerformance::redirectEnd):
2192         (WebKit::WebPerformance::redirectCount):
2193         (WebKit::WebPerformance::fetchStart):
2194         (WebKit::WebPerformance::domainLookupStart):
2195         (WebKit::WebPerformance::domainLookupEnd):
2196         (WebKit::WebPerformance::connectStart):
2197         (WebKit::WebPerformance::connectEnd):
2198         (WebKit::WebPerformance::requestStart):
2199         (WebKit::WebPerformance::requestEnd):
2200         (WebKit::WebPerformance::responseStart):
2201         (WebKit::WebPerformance::responseEnd):
2202         (WebKit::WebPerformance::loadEventStart):
2203         (WebKit::WebPerformance::loadEventEnd):
2204         (WebKit::WebPerformance::operator PassRefPtr<Performance>):
2205
2206 2010-09-23  Andrei Popescu  <andreip@google.com>
2207
2208         Reviewed by Jeremy Orlow.
2209
2210         IDBObjectStore::get should run in a transaction.
2211         https://bugs.webkit.org/show_bug.cgi?id=44700
2212
2213         * public/WebIDBFactory.h:
2214         * public/WebIDBObjectStore.h:
2215         * public/WebIDBTransaction.h:
2216         (WebKit::WebIDBTransaction::didCompleteTaskEvents):
2217         (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
2218         * src/IDBDatabaseProxy.h:
2219         * src/IDBFactoryBackendProxy.cpp:
2220         * src/IDBFactoryBackendProxy.h:
2221         * src/IDBObjectStoreProxy.cpp:
2222         (WebCore::IDBObjectStoreProxy::get):
2223         * src/IDBObjectStoreProxy.h:
2224         * src/IDBTransactionBackendProxy.cpp:
2225         (WebCore::IDBTransactionBackendProxy::scheduleTask):
2226         (WebCore::IDBTransactionBackendProxy::didCompleteTaskEvents):
2227         * src/IDBTransactionBackendProxy.h:
2228         (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
2229         * src/WebIDBFactoryImpl.cpp:
2230         * src/WebIDBFactoryImpl.h:
2231         * src/WebIDBObjectStoreImpl.cpp:
2232         (WebKit::WebIDBObjectStoreImpl::get):
2233         * src/WebIDBObjectStoreImpl.h:
2234         * src/WebIDBTransactionImpl.cpp:
2235         (WebKit::WebIDBTransactionImpl::didCompleteTaskEvents):
2236         (WebKit::WebIDBTransactionImpl::getIDBTransactionBackendInterface):
2237         * src/WebIDBTransactionImpl.h:
2238
2239 2010-09-23  Jeremy Orlow  <jorlow@chromium.org>
2240
2241         Unreviewed small fix for my last patch.
2242
2243         * public/WebIDBTransaction.h:
2244         (WebKit::WebIDBTransaction::id):
2245
2246 2010-09-22  Mihai Parparita  <mihaip@chromium.org>
2247
2248         Reviewed by Darin Fisher.
2249
2250         [Chromium] User style layout tests don't pass on Chromium
2251         https://bugs.webkit.org/show_bug.cgi?id=46069
2252         
2253         Expose UserStyleInjectionTime in WebView.
2254
2255         * public/WebView.h:
2256         * src/WebViewImpl.cpp:
2257         (WebKit::WebView::addUserStyleSheet):
2258
2259 2010-09-22  James Robinson  <jamesr@chromium.org>
2260
2261         [chromium] Re-synchronizes features.gypi with upstream feature_overrides.gypi.
2262
2263         * features.gypi:
2264
2265 2010-09-22  Ruben  <chromium@hybridsource.org>
2266
2267         Reviewed by Tony Chang.
2268
2269         [chromium] added ifdefs for FreeBSD support
2270         https://bugs.webkit.org/show_bug.cgi?id=46316
2271
2272         * WebKit.gyp:
2273         * features.gypi:
2274         * src/ChromiumBridge.cpp:
2275         * src/WebFrameImpl.cpp:
2276         (WebKit::ChromePrintContext::spoolPage):
2277         * src/WebViewImpl.cpp:
2278         (WebKit::WebViewImpl::mouseDown):
2279         (WebKit::WebViewImpl::mouseUp):
2280         (WebKit::WebViewImpl::keyEvent):
2281         (WebKit::WebViewImpl::setScrollbarColors):
2282         (WebKit::WebViewImpl::setSelectionColors):
2283
2284 2010-09-22  Eric Uhrhane  <ericu@chromium.org>
2285
2286         Reviewed by Dumitru Daniliuc.
2287
2288         Add Chromium implementation for FileWriter
2289         https://bugs.webkit.org/show_bug.cgi?id=44361
2290
2291         No new tests; the implementation's not yet far enough along for that.
2292
2293         This makes a chain of construction-and-linking-up for various sorts of
2294         FileWriter interfaces to call through to Chromium, and for various
2295         sorts of FileWriterClients to call back, with object ownership always
2296         pointing towards the Chromium API.  That is, the DOM object owns an
2297         AsyncFileWriter, which owns its implementation object, and the reverse
2298         (client) direction is raw pointers.
2299
2300         File metadata is looked up before the FileWriter is returned, so that
2301         we know the file exists and can cache its length.
2302
2303         The WebKit/chromium interface here is modeled after that of the
2304         FileSystem.
2305         
2306         * public/WebFileInfo.h:
2307         (WebKit::WebFileInfo::WebFileInfo):
2308         * src/AsyncFileSystemChromium.cpp:
2309         (WebCore::FileWriterHelperCallbacks::FileWriterHelperCallbacks):
2310         (WebCore::FileWriterHelperCallbacks::didSucceed):
2311         (WebCore::FileWriterHelperCallbacks::didReadMetadata):
2312         (WebCore::FileWriterHelperCallbacks::didReadDirectory):
2313         (WebCore::FileWriterHelperCallbacks::didOpenFileSystem):
2314         (WebCore::FileWriterHelperCallbacks::didCreateFileWriter):
2315         (WebCore::FileWriterHelperCallbacks::didFail):
2316         (WebCore::AsyncFileSystemChromium::createWriter):
2317         * src/AsyncFileSystemChromium.h:
2318         * src/AsyncFileWriterChromium.cpp:
2319         (WebCore::AsyncFileWriterChromium::setWebFileWriter):
2320         (WebCore::AsyncFileWriterChromium::write):
2321         (WebCore::AsyncFileWriterChromium::didFail):
2322         * src/AsyncFileWriterChromium.h:
2323         * src/WebFileSystemCallbacksImpl.h:
2324
2325 2010-09-22  Kenneth Russell  <kbr@google.com>
2326
2327         Unreviewed, Chromium build fix. Fix build when accelerated
2328         compositing is not enabled at compile time.
2329
2330         * src/WebViewImpl.cpp:
2331         (WebKit::WebViewImpl::resize):
2332
2333 2010-09-22  Matt Perry  <mpcomplete@chromium.org>
2334
2335         Reviewed by Darin Fisher.
2336
2337         Trying to reland a version of r67749:
2338         Have V8DOMWindowShell ask the embedder whether to run a V8 extension
2339         in a particular script context.
2340         https://bugs.webkit.org/show_bug.cgi?id=45721
2341
2342         * public/WebFrameClient.h:
2343         (WebKit::WebFrameClient::allowScriptExtension):
2344         * public/WebScriptController.h:
2345         * src/FrameLoaderClientImpl.cpp:
2346         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
2347         * src/FrameLoaderClientImpl.h:
2348         * src/WebScriptController.cpp:
2349         (WebKit::WebScriptController::registerExtension):
2350
2351 2010-09-22  Jeremy Orlow  <jorlow@chromium.org>
2352
2353         Reviewed by Darin Fisher.
2354
2355         [Chromium] Change WebKit API for IDBTransaciton to new style
2356         https://bugs.webkit.org/show_bug.cgi?id=46263
2357
2358         * public/WebIDBIndex.h:
2359         (WebKit::WebIDBIndex::openObjectCursor):
2360         (WebKit::WebIDBIndex::openCursor):
2361         (WebKit::WebIDBIndex::getObject):
2362         (WebKit::WebIDBIndex::get):
2363         * public/WebIDBObjectStore.h:
2364         (WebKit::WebIDBObjectStore::get):
2365         (WebKit::WebIDBObjectStore::put):
2366         (WebKit::WebIDBObjectStore::remove):
2367         (WebKit::WebIDBObjectStore::openCursor):
2368         * src/WebIDBIndexImpl.cpp:
2369         (WebKit::WebIDBIndexImpl::openCursor):
2370         (WebKit::WebIDBIndexImpl::openObjectCursor):
2371         (WebKit::WebIDBIndexImpl::getObject):
2372         (WebKit::WebIDBIndexImpl::get):
2373         * src/WebIDBIndexImpl.h:
2374         * src/WebIDBObjectStoreImpl.cpp:
2375         (WebKit::WebIDBObjectStoreImpl::get):
2376         (WebKit::WebIDBObjectStoreImpl::put):
2377         (WebKit::WebIDBObjectStoreImpl::remove):
2378         (WebKit::WebIDBObjectStoreImpl::openCursor):
2379         * src/WebIDBObjectStoreImpl.h:
2380
2381 2010-09-22  Pavel Podivilov  <podivilov@chromium.org>
2382
2383         Reviewed by Pavel Feldman.
2384
2385         Web Inspector: implement pausing on XHR
2386         https://bugs.webkit.org/show_bug.cgi?id=46086
2387
2388         * src/js/DevTools.js:
2389         ():
2390
2391 2010-09-21  Brett Wilson  <brettw@chromium.org>
2392
2393         Reviewed by Darin Fisher.
2394
2395         Add caps log and num lock toggle state to WebInputEvent.
2396         https://bugs.webkit.org/show_bug.cgi?id=46229
2397
2398         * public/WebInputEvent.h:
2399         * src/WebViewImpl.cpp:
2400         (WebKit::WebViewImpl::handleInputEvent):
2401         * src/WebViewImpl.h:
2402         * src/gtk/WebInputEventFactory.cpp:
2403         (WebKit::gdkStateToWebEventModifiers):
2404         * src/win/WebInputEventFactory.cpp:
2405         (WebKit::SetToggleKeyState):
2406         (WebKit::WebInputEventFactory::keyboardEvent):
2407         (WebKit::WebInputEventFactory::mouseEvent):
2408         (WebKit::WebInputEventFactory::mouseWheelEvent):
2409
2410 2010-09-21  James Robinson  <jamesr@chromium.org>
2411
2412         Reviewed by Kenneth Russell.
2413
2414         [chromium] Check if the acceleratedCompositingEnabled setting is active in WebViewImpl::graphicsContext3D()
2415         https://bugs.webkit.org/show_bug.cgi?id=46239
2416
2417         This adds a check for whether acceleratedCompositingEnabled is true on the Page's Settings
2418         object before creating and vending a GraphicsContext3D object.  This is needed because when
2419         an offscreen WebGraphicsContext3DCommandBufferImpl is initialized it first asks the WebViewImpl
2420         for the compositor context.  WebGraphicsContext3DCommandBufferImpl::initialize checks if the
2421         disable accelerated compositing command line switch is set, but this is insufficient as sometimes
2422         the Setting object does not agree exactly with the command line switches.  For example,
2423         we explicitly toggle accelerated compositing for some chrome UI URLs regardless of what the
2424         flag says.
2425
2426         * src/WebViewImpl.cpp:
2427         (WebKit::WebViewImpl::graphicsContext3D):
2428
2429 2010-09-21  Kent Tamura  <tkent@chromium.org>
2430
2431         Reviewed by David Levin.
2432
2433         [Chromium] Remove WebInputElement::InputType and inputType()
2434         https://bugs.webkit.org/show_bug.cgi?id=46238
2435
2436         * DEPS: Roll Chromium revision to 60132, which removed all usage of inputType().
2437         * public/WebInputElement.h: Remove InputType and inputType().
2438         * src/AssertMatchingEnums.cpp: Remove WebInputElement::InputType -
2439           HTMLInputElement::InputType matching tests.
2440         * src/WebInputElement.cpp: Remove inputType().
2441
2442 2010-09-21  Andrew Wilson  <atwilson@chromium.org>
2443
2444         Unreviewed, rolling out r67982.
2445         http://trac.webkit.org/changeset/67982
2446         https://bugs.webkit.org/show_bug.cgi?id=45156
2447
2448         Causes crashes on chromium testshell
2449
2450         * public/WebAccessibilityCache.h:
2451         * public/WebViewClient.h:
2452         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
2453         (WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
2454         * src/ChromeClientImpl.cpp:
2455         (WebKit::ChromeClientImpl::focusedNodeChanged):
2456         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
2457         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
2458         * src/ChromeClientImpl.h:
2459         * src/WebAccessibilityCache.cpp:
2460
2461 2010-09-21  Kenneth Russell  <kbr@google.com>
2462
2463         Reviewed by James Robinson.
2464
2465         [chromium] Remove GLES2Context and WebGLES2Context
2466         https://bugs.webkit.org/show_bug.cgi?id=46131
2467
2468         Removed now-obsolete GLES2Context and WebGLES2Context classes, and
2469         dependency on command buffer client code from WebCore. Built and
2470         tested 3D CSS and WebGL content on Mac OS X to test.
2471
2472         * WebKit.gyp:
2473         * public/WebGLES2Context.h: Removed.
2474         * public/WebGraphicsContext3D.h:
2475         * public/WebKitClient.h:
2476         * public/WebView.h:
2477         * src/ChromeClientImpl.cpp:
2478         * src/GLES2Context.cpp: Removed.
2479         * src/GLES2ContextInternal.cpp: Removed.
2480         * src/GLES2ContextInternal.h: Removed.
2481         * src/WebGraphicsContext3DDefaultImpl.cpp:
2482         * src/WebGraphicsContext3DDefaultImpl.h:
2483         * src/WebViewImpl.cpp:
2484         * src/WebViewImpl.h:
2485
2486 2010-09-21  Kenneth Russell  <kbr@google.com>
2487
2488         Reviewed by James Robinson.
2489
2490         [chromium] Roll forward Chromium DEPS to pick up removal of WebGLES2Context dependencies
2491         https://bugs.webkit.org/show_bug.cgi?id=46231
2492
2493         Ran build-webkit --chromium --debug on Mac OS X to test the roll-forward.
2494
2495         * DEPS:
2496
2497 2010-09-21  Jeremy Orlow  <jorlow@chromium.org>
2498
2499         Reviewed by Nate Chapin.
2500
2501         [Chromium] Plumb the IDBTransansaction's id
2502         https://bugs.webkit.org/show_bug.cgi?id=46197
2503
2504         Next step, add the plumbing to Chromium.  Then we add code to WebKit
2505         that uses it (and take out the default IDBTransaction param).
2506
2507         * public/WebIDBCursor.h:
2508         (WebKit::WebIDBCursor::key):
2509         (WebKit::WebIDBCursor::value):
2510         * public/WebIDBFactory.h:
2511         (WebKit::WebIDBFactory::open):
2512         * public/WebIDBIndex.h:
2513         (WebKit::WebIDBIndex::openObjectCursor):
2514         (WebKit::WebIDBIndex::openCursor):
2515         (WebKit::WebIDBIndex::getObject):
2516         (WebKit::WebIDBIndex::get):
2517         * public/WebIDBObjectStore.h:
2518         (WebKit::WebIDBObjectStore::get):
2519         (WebKit::WebIDBObjectStore::put):
2520         (WebKit::WebIDBObjectStore::remove):
2521         (WebKit::WebIDBObjectStore::createIndex):
2522         (WebKit::WebIDBObjectStore::removeIndex):
2523         (WebKit::WebIDBObjectStore::openCursor):
2524         * src/WebIDBIndexImpl.cpp:
2525         (WebKit::WebIDBIndexImpl::openCursor):
2526         (WebKit::WebIDBIndexImpl::openObjectCursor):
2527         (WebKit::WebIDBIndexImpl::getObject):
2528         (WebKit::WebIDBIndexImpl::get):
2529         * src/WebIDBIndexImpl.h:
2530         * src/WebIDBObjectStoreImpl.cpp:
2531         (WebKit::WebIDBObjectStoreImpl::get):
2532         (WebKit::WebIDBObjectStoreImpl::put):
2533         (WebKit::WebIDBObjectStoreImpl::remove):
2534         (WebKit::WebIDBObjectStoreImpl::openCursor):
2535         * src/WebIDBObjectStoreImpl.h:
2536
2537 2010-09-21  Chris Guillory   <chris.guillory@google.com>
2538
2539         Reviewed by Chris Fleizach.
2540
2541         Send webkit accessibility notifications to Chromium.
2542         https://bugs.webkit.org/show_bug.cgi?id=45156
2543
2544         * public/WebAccessibilityCache.h:
2545         * public/WebViewClient.h:
2546         * src/ChromeClientImpl.cpp:
2547         (WebKit::ChromeClientImpl::focusedNodeChanged):
2548         (WebKit::ChromeClientImpl::getPopupMenuInfo):
2549         * src/ChromeClientImpl.h:
2550         * src/WebAccessibilityCache.cpp:
2551         (WebKit::WebAccessibilityCache::accessibilityEnabled):
2552
2553 2010-09-21  Steve Block  <steveblock@google.com>
2554
2555         Reviewed by Jeremy Orlow.
2556
2557         DeviceOrientationClient and DeviceMotionClient should have controllerDestroyed() methods
2558         https://bugs.webkit.org/show_bug.cgi?id=45891
2559
2560         Implements DeviceOrientationClientProxy::deviceOrientationControllerDestroyed() as a no-op,
2561         as the client's lifetime is determined by the WebViewImpl.
2562
2563         * src/DeviceOrientationClientProxy.cpp:
2564         (WebKit::DeviceOrientationClientProxy::deviceOrientationControllerDestroyed):
2565         * src/DeviceOrientationClientProxy.h:
2566
2567 2010-09-21  Jochen Eisinger  <jochen@chromium.org>
2568
2569         Reviewed by Jeremy Orlow.
2570
2571         [chromium] expose the filename used for a given indexed DB
2572         https://bugs.webkit.org/show_bug.cgi?id=46090
2573
2574         * WebKit.gyp:
2575         * public/WebIDBFactory.h:
2576         * src/WebIDBFactory.cpp:
2577         (WebKit::WebIDBFactory::databaseFileName):
2578
2579 2010-09-20  Philippe Normand  <pnormand@igalia.com>
2580
2581         Reviewed by Eric Carlson.
2582
2583         [GTK] enhanced context menu for media elements
2584         https://bugs.webkit.org/show_bug.cgi?id=45021
2585
2586         New localized strings for the media element context-menu.
2587
2588         * src/LocalizedStrings.cpp:
2589         (WebCore::contextMenuItemTagOpenVideoInNewWindow):
2590         (WebCore::contextMenuItemTagOpenAudioInNewWindow):
2591         (WebCore::contextMenuItemTagCopyVideoLinkToClipboard):
2592         (WebCore::contextMenuItemTagCopyAudioLinkToClipboard):
2593         (WebCore::contextMenuItemTagToggleMediaControls):
2594         (WebCore::contextMenuItemTagToggleMediaLoop):
2595         (WebCore::contextMenuItemTagEnterVideoFullscreen):
2596         (WebCore::contextMenuItemTagMediaPlay):
2597         (WebCore::contextMenuItemTagMediaPause):
2598         (WebCore::contextMenuItemTagMediaMute):
2599
2600 2010-09-20  Nico Weber  <thakis@chromium.org>
2601
2602         Reviewed by James Robinson.
2603
2604         [chromium] Trivial clang warning fix
2605         https://bugs.webkit.org/show_bug.cgi?id=46143
2606
2607         * src/WebFileSystemCallbacksImpl.h:
2608
2609 2010-09-20  Darin Adler  <darin@apple.com>
2610
2611         Reviewed by James Robinson.
2612
2613         Deprecate the inputType function on HTMLInputElement
2614         https://bugs.webkit.org/show_bug.cgi?id=46023
2615
2616         * src/WebInputElement.cpp:
2617         (WebKit::WebInputElement::inputType):
2618         * src/WebPasswordFormUtils.cpp:
2619         (WebKit::findPasswordFormFields):
2620         * src/WebSearchableFormData.cpp:
2621         (WebCore::HasSuitableTextElement):
2622         Use deprecatedInputType instead of inputType.
2623
2624 2010-09-20  Kenneth Russell  <kbr@google.com>
2625
2626         Reviewed by James Robinson.
2627
2628         [chromium] Change compositor to use GraphicsContext3D rather than GLES2Context
2629         https://bugs.webkit.org/show_bug.cgi?id=45912
2630
2631         Switched Chromium's compositor to use GraphicsContext3D to issue
2632         its OpenGL rendering calls rather than the Chromium-specific
2633         GLES2Context and command buffer OpenGL implementation.
2634
2635         The in-process software rendering path for GraphicsContext3D does
2636         not yet work with the compositor, at least not on Mac OS X. This
2637         will be worked on in subsequent bugs.
2638
2639         Tested manually with 3D CSS, WebGL and video content on Mac OS X
2640         and Linux. No new tests.
2641
2642         * src/GraphicsContext3D.cpp:
2643         (WebCore::GraphicsContext3DInternal::initialize):
2644         (WebCore::GraphicsContext3DInternal::extractWebGraphicsContext3D):
2645         (WebCore::GraphicsContext3D::create):
2646         * src/GraphicsContext3DInternal.h:
2647         * src/WebViewImpl.cpp:
2648         (WebKit::WebViewImpl::resize):
2649         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2650         (WebKit::WebViewImpl::gles2Context):
2651         (WebKit::WebViewImpl::graphicsContext3D):
2652         * src/WebViewImpl.h:
2653
2654 2010-09-20  Kenneth Russell  <kbr@google.com>
2655
2656         Reviewed by Dimitri Glazkov.
2657
2658         [chromium] Roll forward Chromium DEPS to pick up WebGraphicsContext3D implementation changes
2659         https://bugs.webkit.org/show_bug.cgi?id=46115
2660
2661         * DEPS:
2662
2663 2010-09-20  Ilya Tikhonovsky  <loislo@chromium.org>
2664
2665         Reviewed by Pavel Feldman.
2666
2667         Web Inspector: merge Inspector client runtime events into the serialized inspector state object.
2668
2669         Drive-by rename getBackendSettings -> getInspectorState to better reflect the nature of the data.
2670
2671         https://bugs.webkit.org/show_bug.cgi?id=45974
2672
2673         * src/InspectorClientImpl.cpp:
2674         (WebKit::InspectorClientImpl::updateInspectorStateCookie):
2675         * src/InspectorClientImpl.h:
2676         * src/WebDevToolsAgentImpl.cpp:
2677         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
2678         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
2679         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
2680         * src/WebDevToolsAgentImpl.h:
2681
2682 2010-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2683
2684         Unreviewed, rolling out r67749.
2685         http://trac.webkit.org/changeset/67749
2686         https://bugs.webkit.org/show_bug.cgi?id=46068
2687
2688         breaking ToT chromium canary build (Requested by shans on
2689         #webkit).
2690
2691         * public/WebFrameClient.h:
2692         * public/WebScriptController.h:
2693         * src/FrameLoaderClientImpl.cpp:
2694         * src/FrameLoaderClientImpl.h:
2695         * src/WebScriptController.cpp:
2696         (WebKit::WebScriptController::registerExtension):
2697
2698 2010-09-19  Kent Tamura  <tkent@chromium.org>
2699
2700         Reviewed by Dimitri Glazkov.
2701
2702         [Chromium] Add is<input type>() functions to WebInputElement
2703         https://bugs.webkit.org/show_bug.cgi?id=46035
2704
2705         We're going to stop exposing HTMLInputElemnt::InputType. So, add
2706         isFoo() functions in order to remove WebInputElement::InputType.
2707
2708         * public/WebInputElement.h:
2709         * src/WebInputElement.cpp:
2710         (WebKit::WebInputElement::isTextField):
2711         (WebKit::WebInputElement::isText):
2712         (WebKit::WebInputElement::isPasswordField):
2713         (WebKit::WebInputElement::isImageButton):
2714
2715 2010-09-17  Darin Adler  <darin@apple.com>
2716
2717         Reviewed by Sam Weinig.
2718
2719         REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
2720         https://bugs.webkit.org/show_bug.cgi?id=42863
2721
2722         * src/FrameLoaderClientImpl.cpp:
2723         (WebKit::FrameLoaderClientImpl::createPlugin):
2724         * src/WebViewImpl.cpp:
2725         (WebKit::WebViewImpl::setZoomLevel):
2726         Call functions on Frame instead of FrameView.
2727
2728 2010-09-17  Kenneth Russell  <kbr@google.com>
2729
2730         Reviewed by James Robinson.
2731
2732         [chromium] Roll forward Chromium DEPS to pick up Mesa DRT changes
2733         https://bugs.webkit.org/show_bug.cgi?id=46006
2734
2735         * DEPS:
2736
2737 2010-09-17  Kenneth Russell  <kbr@google.com>
2738
2739         Reviewed by Dimitri Glazkov.
2740
2741         [chromium] Add mesa as DumpRenderTree dependency
2742         https://bugs.webkit.org/show_bug.cgi?id=46001
2743
2744         * WebKit.gyp:
2745
2746 2010-09-13  Matt Perry  <mpcomplete@chromium.org>
2747
2748         Reviewed by Darin Fisher.
2749
2750         Have V8DOMWindowShell ask the embedder whether to run a V8 extension
2751         in a particular script context.
2752         https://bugs.webkit.org/show_bug.cgi?id=45721
2753
2754         * public/WebFrameClient.h:
2755         (WebKit::WebFrameClient::allowScriptExtension):
2756         * public/WebScriptController.h:
2757         * src/FrameLoaderClientImpl.cpp:
2758         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
2759         * src/FrameLoaderClientImpl.h:
2760         * src/WebScriptController.cpp:
2761         (WebKit::WebScriptController::registerExtension):
2762
2763 2010-09-17  Eric Uhrhane  <ericu@chromium.org>
2764
2765         Reviewed by David Levin.
2766
2767         Remove unimplemented destructor declaration to fix Chromium build.
2768         https://bugs.webkit.org/show_bug.cgi?id=45987
2769
2770         * src/AsyncFileWriterChromium.h:
2771
2772 2010-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
2773
2774         Unreviewed, rolling out r67693.
2775         http://trac.webkit.org/changeset/67693
2776         https://bugs.webkit.org/show_bug.cgi?id=45946
2777
2778         "Need to pick up a chromium change first" (Requested by dumi
2779         on #webkit).
2780
2781         * public/WebHTTPBody.h:
2782         * src/WebHTTPBody.cpp:
2783         (WebKit::WebHTTPBody::elementAt):
2784         (WebKit::WebHTTPBody::appendFileRange):
2785
2786 2010-09-15  Dumitru Daniliuc  <dumi@chromium.org>
2787
2788         Reviewed by Darin Fisher.
2789
2790         Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&).
2791
2792         * public/WebHTTPBody.h:
2793         * src/WebHTTPBody.cpp:
2794         (WebKit::WebHTTPBody::elementAt):
2795
2796 2010-09-16  Kenneth Russell  <kbr@google.com>
2797
2798         Reviewed by James Robinson.
2799
2800         Add entry points to GraphicsContext3D needed for Chromium compositor port
2801         https://bugs.webkit.org/show_bug.cgi?id=45939
2802
2803         Added entry points for two Chromium-specific extensions, and added
2804         a flag to the GraphicsContext3D constructor, currently unsupported
2805         by all ports (including Chromium), indicating whether the context
2806         should render directly to the passed HostWindow or off-screen per
2807         the current semantics. The switch to use GraphicsContext3D in
2808         Chromium's compositor will follow in a subsequent patch.
2809
2810         No new tests; functionality is unchanged. Built and tested
2811         Chromium and WebKit on Mac OS X.
2812
2813         * src/GraphicsContext3D.cpp:
2814         (WebCore::GraphicsContext3D::GraphicsContext3D):
2815         (WebCore::GraphicsContext3D::create):
2816         * src/GraphicsContext3DInternal.h:
2817
2818 2010-09-16  Kenneth Russell  <kbr@google.com>
2819
2820         Reviewed by James Robinson.
2821
2822         [chromium] Add needed entry points to WebGraphicsContext3D for compositor
2823         https://bugs.webkit.org/show_bug.cgi?id=45921
2824
2825         * public/WebGraphicsContext3D.h:
2826         * src/WebGraphicsContext3DDefaultImpl.cpp:
2827         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2828         (WebKit::WebGraphicsContext3DDefaultImpl::supportsMapSubCHROMIUM):
2829         (WebKit::WebGraphicsContext3DDefaultImpl::mapBufferSubDataCHROMIUM):
2830         (WebKit::WebGraphicsContext3DDefaultImpl::unmapBufferSubDataCHROMIUM):
2831         (WebKit::WebGraphicsContext3DDefaultImpl::mapTexSubImage2DCHROMIUM):
2832         (WebKit::WebGraphicsContext3DDefaultImpl::unmapTexSubImage2DCHROMIUM):
2833         (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
2834         (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
2835         * src/WebGraphicsContext3DDefaultImpl.h:
2836
2837 2010-09-15  Tony Chang  <tony@chromium.org>
2838
2839         Reviewed by Kent Tamura.
2840
2841         [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
2842         https://bugs.webkit.org/show_bug.cgi?id=42151
2843
2844         * public/WebDataSource.h:
2845         * src/WebDataSourceImpl.cpp:
2846         (WebKit::WebDataSourceImpl::applicationCacheHost):
2847         (WebKit::WebDataSourceImpl::setDeferMainResourceDataLoad): Added so DRT can set this flag before a load.
2848         * src/WebDataSourceImpl.h:
2849
2850 2010-09-16  Kenneth Russell  <kbr@google.com>
2851
2852         Reviewed by James Robinson.
2853
2854         Roll forward Chromium DEPS to r59706
2855         https://bugs.webkit.org/show_bug.cgi?id=45916
2856
2857         * DEPS:
2858
2859 2010-09-16  Darin Adler  <darin@apple.com>
2860
2861         Reviewed by Andreas Kling.
2862
2863         Reduce use of HTMLInputElement::inputType so we can remove it later
2864         https://bugs.webkit.org/show_bug.cgi?id=45903
2865
2866         * src/DOMUtilitiesPrivate.cpp:
2867         (WebKit::elementHasLegalLinkAttribute): Use isImageButton.
2868         * src/WebPasswordFormUtils.cpp:
2869         (WebKit::findPasswordFormFields): Use isPasswordField.
2870         * src/WebSearchableFormData.cpp:
2871         (WebCore::IsInDefaultState): Use isCheckbox and isRadioButton.
2872         (WebCore::HasSuitableTextElement): Use isFileUpload and isPasswordField.
2873
2874 2010-09-16  Kenneth Russell  <kbr@google.com>
2875
2876         Reviewed by James Robinson.
2877
2878         [chromium] Expose separate GraphicsContext3DInternal.h
2879         https://bugs.webkit.org/show_bug.cgi?id=45914
2880
2881         * WebKit.gyp:
2882         * src/GraphicsContext3D.cpp:
2883         * src/GraphicsContext3DInternal.h: Added.
2884
2885 2010-09-16  Kenneth Russell  <kbr@google.com>
2886
2887         Reviewed by James Robinson.
2888
2889         [chromium] Add WebGraphicsContext3D accessor to WebView
2890         https://bugs.webkit.org/show_bug.cgi?id=45913
2891
2892         * public/WebView.h:
2893         * src/WebViewImpl.cpp:
2894         (WebKit::WebViewImpl::WebViewImpl):
2895         (WebKit::WebViewImpl::graphicsContext3D):
2896         * src/WebViewImpl.h:
2897
2898 2010-09-16  Ilya Tikhonovsky  <loislo@chromium.org>
2899
2900         Reviewed by Yury Semikhatsky.
2901
2902         Web Inspector: move resourceTracking flag under control of BackendSettings.
2903
2904         Four Inspector API methods about resourceTracking flag were removed.
2905         Actual state of the flag is transfered as the response of setResourceTracking request.
2906         Initial state of the flag on the frontend side is obtained from settings.backend.
2907
2908         https://bugs.webkit.org/show_bug.cgi?id=45887
2909
2910         * src/WebDevToolsAgentImpl.cpp:
2911         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
2912         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
2913
2914 2010-09-16  Yury Semikhatsky  <yurys@chromium.org>
2915
2916         Reviewed by Pavel Feldman.
2917
2918         Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation
2919         https://bugs.webkit.org/show_bug.cgi?id=45890
2920
2921         * src/WebDevToolsAgentImpl.cpp:
2922         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): make sure debugger and profiler
2923         are initialized when inspected page navigation leads to renderer process change.
2924
2925 2010-09-16  Eric Uhrhane  <ericu@chromium.org>
2926
2927         Reviewed by Jian Li.
2928
2929         Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
2930         https://bugs.webkit.org/show_bug.cgi?id=45798
2931
2932         * src/AsyncFileWriterChromium.h:
2933         * src/AsyncFileWriterChromium.cpp:
2934
2935 2010-09-16  Nat Duca  <nduca@chromium.org>
2936
2937         Reviewed by Darin Fisher.
2938
2939         [chromium] Make compositor obey finish flag
2940         https://bugs.webkit.org/show_bug.cgi?id=45552
2941
2942         The compositor should obey the finish flag on doComposite. This
2943         flag causes the compositor to finish rendering before returning,
2944         which is needed when resizing the window to avoid flashes of green.
2945
2946         * src/WebViewImpl.cpp:
2947         (WebKit::WebViewImpl::composite):
2948
2949 2010-09-15  Jeremy Orlow  <jorlow@chromium.org>
2950
2951         Reviewed by Steve Block.
2952
2953         Allow the embedder to specify the base path for IndexedDB.
2954         https://bugs.webkit.org/show_bug.cgi?id=45815
2955
2956         Need to add the extra .open() parameter to make this all work.
2957
2958         * public/WebIDBFactory.h:
2959         (WebKit::WebIDBFactory::open):
2960         * src/IDBFactoryBackendProxy.cpp:
2961         (WebCore::IDBFactoryBackendProxy::open):
2962         * src/IDBFactoryBackendProxy.h:
2963         * src/WebIDBFactoryImpl.cpp:
2964         (WebKit::WebIDBFactoryImpl::open):
2965         * src/WebIDBFactoryImpl.h:
2966
2967 2010-09-16  Jeremy Orlow  <jorlow@chromium.org>
2968
2969         Speculative build fix.
2970
2971         * src/IDBIndexBackendProxy.cpp:
2972
2973 2010-09-08  Jeremy Orlow  <jorlow@chromium.org>
2974
2975         Reviewed by Steve Block.
2976
2977         Complete index support for IndexedDB
2978         https://bugs.webkit.org/show_bug.cgi?id=45386
2979
2980         * public/WebIDBCursor.h:
2981         (WebKit::WebIDBCursor::direction):
2982         (WebKit::WebIDBCursor::key):
2983         (WebKit::WebIDBCursor::value):
2984         (WebKit::WebIDBCursor::update):
2985         (WebKit::WebIDBCursor::continueFunction):
2986         (WebKit::WebIDBCursor::remove):
2987         * public/WebIDBIndex.h:
2988         (WebKit::WebIDBIndex::storeName):
2989         (WebKit::WebIDBIndex::openObjectCursor):
2990         (WebKit::WebIDBIndex::openCursor):
2991         (WebKit::WebIDBIndex::getObject):
2992         (WebKit::WebIDBIndex::get):
2993         * public/WebIDBKey.h:
2994         * src/IDBCursorBackendProxy.cpp:
2995         (WebCore::IDBCursorBackendProxy::value):
2996         * src/IDBCursorBackendProxy.h:
2997         * src/IDBIndexBackendProxy.cpp:
2998         (WebCore::IDBIndexBackendProxy::storeName):
2999         (WebCore::IDBIndexBackendProxy::openObjectCursor):
3000         (WebCore::IDBIndexBackendProxy::openCursor):
3001         (WebCore::IDBIndexBackendProxy::getObject):
3002         (WebCore::IDBIndexBackendProxy::get):
3003         * src/IDBIndexBackendProxy.h:
3004         * src/WebIDBCursorImpl.cpp:
3005         (WebKit::WebIDBCursorImpl::value):
3006         * src/WebIDBCursorImpl.h:
3007         * src/WebIDBIndexImpl.cpp:
3008         (WebKit::WebIDBIndexImpl::storeName):
3009         (WebKit::WebIDBIndexImpl::openCursor):
3010         (WebKit::WebIDBIndexImpl::openObjectCursor):
3011         (WebKit::WebIDBIndexImpl::getObject):
3012         (WebKit::WebIDBIndexImpl::get):
3013         * src/WebIDBIndexImpl.h:
3014
3015 2010-09-15  Dumitru Daniliuc  <dumi@chromium.org>
3016
3017         Reviewed by Darin Fisher.
3018
3019         Overload WebHTTPBody::appendFileRange() to take a double modification time argument.
3020         https://bugs.webkit.org/show_bug.cgi?id=45829
3021
3022         The plan is to change all callers of
3023         WebHTTPBody::appendFileRange(..., const WebFileInfo&) to use the
3024         new method, and then remove it.
3025
3026         * public/WebHTTPBody.h:
3027         * src/WebHTTPBody.cpp:
3028         (WebKit::WebHTTPBody::elementAt):
3029         (WebKit::WebHTTPBody::appendFileRange):
3030
3031 2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
3032
3033         Reviewed by Yury Semikhatsky.
3034
3035         Web Inspector: Provide network-based load timing.
3036         Before this change, inspector used timers taken from
3037         within WebCore notifications (that are by definition
3038         synchronous and serialized). As a result, timing was
3039         affected by the routines running on the main thread
3040         (JavaScript and such).
3041         https://bugs.webkit.org/show_bug.cgi?id=45664
3042
3043         * public/WebURLLoadTiming.h:
3044         * public/WebURLLoaderClient.h:
3045         (WebKit::WebURLLoaderClient::didFinishLoading):
3046         * src/ResourceHandle.cpp:
3047         (WebCore::ResourceHandleInternal::didFinishLoading):
3048         * src/WebDevToolsAgentImpl.cpp:
3049         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
3050         * src/WebURLLoadTiming.cpp:
3051         (WebKit::WebURLLoadTiming::receiveHeadersStart):
3052         (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
3053
3054 2010-09-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3055
3056         Unreviewed, rolling out r67551.
3057         http://trac.webkit.org/changeset/67551
3058         https://bugs.webkit.org/show_bug.cgi?id=45816
3059
3060         "Plugin tests fail" (Requested by yurys on #webkit).
3061
3062         * public/WebURLLoaderClient.h:
3063         (WebKit::WebURLLoaderClient::didFinishLoading):
3064         * src/ResourceHandle.cpp:
3065         (WebCore::ResourceHandleInternal::didFinishLoading):
3066         * src/WebDevToolsAgentImpl.cpp:
3067         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
3068
3069 2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
3070
3071         Reviewed by Yury Semikhatsky.
3072
3073         Web Inspector: Provide network-based load timing.
3074         Before this change, inspector used timers taken from
3075         within WebCore notifications (that are by definition
3076         synchronous and serialized). As a result, timing was
3077         affected by the routines running on the main thread
3078         (JavaScript and such).
3079         https://bugs.webkit.org/show_bug.cgi?id=45664
3080
3081         * public/WebURLLoadTiming.h:
3082         * public/WebURLLoaderClient.h:
3083         (WebKit::WebURLLoaderClient::didFinishLoading):
3084         * src/ResourceHandle.cpp:
3085         (WebCore::ResourceHandleInternal::didFinishLoading):
3086         * src/WebDevToolsAgentImpl.cpp:
3087         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
3088         * src/WebURLLoadTiming.cpp:
3089         (WebKit::WebURLLoadTiming::receiveHeadersStart):
3090         (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
3091
3092 2010-09-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3093
3094         Unreviewed, rolling out r67503.
3095         http://trac.webkit.org/changeset/67503
3096         https://bugs.webkit.org/show_bug.cgi?id=45802
3097
3098         This patch broke GTK builds (Requested by jianli_ on #webkit).
3099
3100         * src/ResourceHandle.cpp:
3101
3102 2010-09-14  Yury Semikhatsky  <yurys@chromium.org>
3103
3104         Reviewed by Pavel Feldman.
3105
3106         Web Inspector: Links from "Profiles" don't lead to "Scripts"
3107         https://bugs.webkit.org/show_bug.cgi?id=45756
3108
3109         * src/js/DevTools.js: remove obsolete code
3110
3111 2010-09-14  Tony Chang  <tony@chromium.org>
3112
3113         Reviewed by Kent Tamura.
3114
3115         [chromium] fix http/tests/security/local-user-CSS-from-remote.html
3116         https://bugs.webkit.org/show_bug.cgi?id=45788
3117
3118         * DEPS: Include webkit_support::LocalFileToDataURL
3119
3120 2010-09-14  Tony Chang  <tony@chromium.org>
3121
3122         Reviewed by Ojan Vafai.
3123
3124         [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed
3125         https://bugs.webkit.org/show_bug.cgi?id=45768
3126
3127         * public/WebKit.h:
3128         * src/WebKit.cpp:
3129
3130 2010-09-14  Mihai Parparita  <mihaip@chromium.org>
3131
3132         Reviewed by Tony Chang.
3133
3134         blob: URL scheme does not work with Chromium DRT
3135         https://bugs.webkit.org/show_bug.cgi?id=45772
3136
3137         Roll Chromium forward to r59406, which registers the blob
3138         URL scheme for the Chromium DRT too.
3139
3140         * DEPS:
3141
3142 2010-09-14  Jian Li  <jianli@chromium.org>
3143
3144         Reviewed by David Levin.
3145
3146         fast/files/apply-blob-url-to-img.html timeout on Leopard
3147         https://bugs.webkit.org/show_bug.cgi?id=45576
3148
3149         * src/ResourceHandle.cpp: Remove the no longer applicable static comment.
3150
3151 2010-09-14  Chris Guillory   <chris.guillory@google.com>
3152
3153         Reviewed by Chris Fleizach.
3154
3155         Send all accessibility notifications to Chromium.
3156         https://bugs.webkit.org/show_bug.cgi?id=45156
3157         
3158         Use postAccessibilityNotification to pass accessibility notifications
3159         to chromium.
3160
3161         * WebKit.gyp:
3162         * public/WebAccessibilityNotification.h: Added.
3163         * public/WebViewClient.h:
3164         (WebKit::WebViewClient::postAccessibilityNotification):
3165         * src/AssertMatchingEnums.h: Added.
3166         * src/ChromeClientImpl.cpp:
3167         (WebKit::toWebAccessibilityNotification):
3168         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
3169         (WebKit::ChromeClientImpl::postAccessibilityNotification):
3170         * src/ChromeClientImpl.h:
3171
3172 2010-09-14  Tony Chang  <tony@chromium.org>
3173
3174         Unreviewed, fix chromium win compile.
3175
3176         * public/WebView.h:
3177
3178 2010-09-14  Tony Chang  <tony@chromium.org>
3179
3180         Reviewed by Dimitri Glazkov.
3181
3182         [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme
3183         https://bugs.webkit.org/show_bug.cgi?id=45762
3184
3185         * public/WebView.h: add WebView::setDomainRelaxationForbidden
3186         * src/WebViewImpl.cpp:
3187         (WebKit::WebViewImpl::setDomainRelaxationForbidden):
3188         * src/WebViewImpl.h:
3189
3190 2010-09-14  Yury Semikhatsky  <yurys@chromium.org>
3191
3192         Reviewed by Andreas Kling.
3193
3194         Move DebuggerScript.js from WebKit/chromium/src/js to WebCore/bindings/v8
3195         https://bugs.webkit.org/show_bug.cgi?id=45739
3196
3197         * WebKit.grd:
3198         * WebKit.gypi:
3199         * src/js/DebuggerScript.js: Removed.
3200         * src/js/DevToolsHostStub.js: Removed.
3201
3202 2010-09-14  Hans Wennborg  <hans@chromium.org>
3203
3204         Reviewed by Jeremy Orlow.
3205
3206         Make WebDeviceOrientationClientMock constructor private.
3207         https://bugs.webkit.org/show_bug.cgi?id=45743
3208
3209         Clients should use the create member function instead. DumpRenderTree
3210         and the Chromium test_shell have previously been updated to call create.
3211
3212         * public/WebDeviceOrientationClientMock.h:
3213         (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
3214
3215 2010-09-13  Eric Uhrhane  <ericu@chromium.org>
3216
3217         Reviewed by Darin Fisher.
3218
3219         Add Chromium API for FileWriter
3220         https://bugs.webkit.org/show_bug.cgi?id=44360
3221
3222         Build file changes.
3223         * WebKit.gyp:
3224
3225         Added a way to get a WebFileWriter.
3226         * public/WebFileSystem.h:
3227         (WebKit::WebFileSystem::createFileWriter):
3228
3229         WebFileWriter writes and truncates files.
3230         * public/WebFileWriter.h: Added.
3231
3232         WebFileWriterClient reports success/failure and progress events.
3233         * public/WebFileWriterClient.h: Added.
3234
3235         AsyncFileWriterChromium is a connector that links FileWriter and WebFileWriter, FileWriterClient and WebFileWriterClient.
3236         * src/AsyncFileWriterChromium.cpp: Added.
3237         * src/AsyncFileWriterChromium.h: Added.
3238
3239 2010-09-13  W. James MacLean  <wjmaclean@google.com>
3240
3241         Reviewed by Darin Fisher.
3242
3243         [chromium] Thumbnails not generated for GPU Rendered Pages
3244         https://bugs.webkit.org/show_bug.cgi?id=44127
3245
3246         Modified WebViewImpl::paint() to detect non-null canvas pointers when
3247         accelerated compositing is active, and instead fills the pixel buffer
3248         from the GPU framebuffer. Includes re-scaling support when provided
3249         canvas does not match size of current render layer. Limits pixel
3250         readback to rect passed to paint(), clipped by size of rootLayerTexture.
3251
3252         * src/WebViewImpl.cpp:
3253         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3254         (WebKit::WebViewImpl::paint):
3255         * src/WebViewImpl.h:
3256
3257 2010-09-13  James Robinson  <jamesr@chromium.org>
3258
3259         Reviewed by Dimitri Glazkov.
3260
3261         [chromium] Return NULL from getSharedGraphicsContext3D if we couldn't initialize
3262         https://bugs.webkit.org/show_bug.cgi?id=45731
3263
3264         If we can't create a GraphicsContext3D, return NULL from getSharedGraphicsContext3D rather
3265         than an object with NULL internal pointers.  Callers know how to handle a null return value
3266         but not one that has inconsistent internal state.
3267
3268         * src/WebViewImpl.cpp:
3269         (WebKit::WebViewImpl::getSharedGraphicsContext3D):
3270
3271 2010-09-13  Chris Guillory  <chris.guillory@google.com>
3272
3273         Reviewed by Chris Fleizach.
3274
3275         WebAccessibilityCacheImpl needs to handle invalid accessibility object ids.
3276         https://bugs.webkit.org/show_bug.cgi?id=45572
3277
3278         * public/WebAccessibilityObject.h:
3279         * src/WebAccessibilityCacheImpl.cpp:
3280         (WebKit::WebAccessibilityCacheImpl::addOrGetId):
3281         * src/WebAccessibilityObject.cpp:
3282         (WebKit::WebAccessibilityObject::isAxObjectIdValid):
3283
3284 2010-09-13  Pavel Podivilov  <podivilov@chromium.org>
3285
3286         Reviewed by Dimitri Glazkov.
3287
3288         [Chromium] fix broken dependency in ImageDiff
3289         https://bugs.webkit.org/show_bug.cgi?id=45684
3290
3291         * WebKit.gyp:
3292
3293 2010-09-13  Enrica Casucci  <enrica@apple.com>
3294
3295         Reviewed by Sam Weinig.
3296
3297         Paste should be implemented in WebCore like Copy and Cut for Mac also.
3298         https://bugs.webkit.org/show_bug.cgi?id=45494
3299         <rdar://problem/7660537>
3300
3301         On the Mac platform, the implementation of the paste operation is all done
3302         at the WebKit level. In order to support it on WebKit2 it is necessary to
3303         refactor the code and move this functionality at the level of WebCore like
3304         we already have on Windows.
3305         The original code relies on some in AppKit functions that call back into
3306         WebKit causing problems in WebKit2. All this functionality has been moved
3307         at the level of the editor client where it can be dealt with appropriately.
3308
3309         * src/FrameLoaderClientImpl.cpp:
3310         (WebKit::FrameLoaderClientImpl::canShowMIMETypeAsHTML): Added stub.
3311         * src/FrameLoaderClientImpl.h:
3312
3313 2010-09-13  Jonathan Dixon  <joth@chromium.org>
3314
3315         Reviewed by Steve Block.
3316
3317         [chromium] Port test shell geolocation fixes to DRT
3318         https://bugs.webkit.org/show_bug.cgi?id=45313
3319
3320         Ports over fixes from test shell:
3321          - http://codereview.chromium.org/3294007
3322          - http://codereview.chromium.org/333800
3323
3324         Resets state between service instances, which fixes delayed-permission-allowed-for-multiple-requests.html
3325
3326         Also re-apply rolled out patch http://trac.webkit.org/changeset/66886 :-
3327         Access to out-of-scope WebGeolocationServiceBridgeImpl
3328         https://bugs.webkit.org/show_bug.cgi?id=45112
3329
3330         Keep the WebGeolocationService pointer for lifetime of the bridge, to
3331         ensure it can be detached reliably
3332
3333         Includes follow-up review comment to rename onWebGeolocationServiceDestroyed to didDestroyGeolocationService
3334
3335         * public/WebGeolocationService.h:
3336         (WebKit::WebGeolocationService::~WebGeolocationService):
3337         * public/WebGeolocationServiceBridge.h:
3338         (WebKit::WebGeolocationServiceBridge::onWebGeolocationServiceDestroyed):
3339         * public/WebGeolocationServiceMock.h:
3340         * src/WebGeolocationServiceBridgeImpl.cpp:
3341         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
3342         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
3343         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
3344         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
3345         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
3346         (WebKit::WebGeolocationServiceBridgeImpl::resume):
3347         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
3348         (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
3349         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
3350         (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
3351         (WebKit::WebGeolocationServiceBridgeImpl::didDestroyGeolocationService):
3352         (WebKit::WebGeolocationServiceBridgeImpl::isAttached):
3353         * src/WebGeolocationServiceMock.cpp:
3354         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
3355         (WebKit::WebGeolocationServiceMockImpl::WebGeolocationServiceMockImpl):
3356         (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
3357         (WebKit::WebGeolocationServiceMockImpl::setMockGeolocationPermission):
3358         (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
3359         (WebKit::WebGeolocationServiceMockImpl::notifyPendingPermissions):
3360
3361 2010-09-13  Yury Semikhatsky  <yurys@chromium.org>
3362
3363         Reviewed by Pavel Feldman.
3364
3365         Web Inspector: upstream testExpandScope debugger test
3366         https://bugs.webkit.org/show_bug.cgi?id=45260
3367
3368         * src/js/DebuggerScript.js: copy scope variables into a new object, but for global scope object,
3369         with statement parameter and catch block exception variable pass the object itself to the injected
3370         script.
3371         * src/js/Tests.js: moved testExpandScope to LayoutTests
3372
3373 2010-09-13  Hans Wennborg  <hans@chromium.org>
3374
3375         Reviewed by Jeremy Orlow.
3376
3377         Add WebDeviceOrientationClientMock::create() and use it from DRT.
3378         https://bugs.webkit.org/show_bug.cgi?id=45650
3379
3380         Since the virtual member functions of WebDeviceOrientationClientMock
3381         are not exported from the DLL, construction of the object must be done inside
3382         the DLL, or else the linker will complain (because the vtable cannot
3383         be set up). Clients should use the create() member function, and the constructor
3384         will be made private in a subsequent patch.
3385
3386         * public/WebDeviceOrientationClientMock.h:
3387         (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
3388         * src/WebDeviceOrientationClientMock.cpp:
3389         (WebKit::WebDeviceOrientationClientMock::create):
3390
3391 2010-09-12  Kent Tamura  <tkent@chromium.org>
3392
3393         Reviewed by Tony Chang.
3394
3395         [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
3396         https://bugs.webkit.org/show_bug.cgi?id=45517
3397
3398         * DEPS: Roll Chromium revision to r59033 to have webkit_support_gfx.h.
3399         * WebKit.gyp:
3400
3401 2010-09-10  MORITA Hajime  <morrita@google.com>
3402
3403         Reviewed by Tony Chang.
3404
3405         [Chromium] Implement textInputController.hasSpellingMarker() for Chromium
3406         https://bugs.webkit.org/show_bug.cgi?id=45441
3407
3408         Exported Frame::selectionStartHasSpellingMarkerFor() for DRT use.
3409
3410         * public/WebFrame.h:
3411         * src/WebFrameImpl.cpp:
3412         (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
3413         * src/WebFrameImpl.h:
3414
3415 2010-09-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3416
3417         Reviewed by Darin Adler.
3418
3419         Add NetworkingContext to avoid layer violations
3420         https://bugs.webkit.org/show_bug.cgi?id=42292
3421
3422         * src/ResourceHandle.cpp:
3423         (WebCore::ResourceHandle::create):
3424         (WebCore::ResourceHandle::start):
3425         (WebCore::ResourceHandle::loadResourceSynchronously):
3426
3427 2010-09-10  Sam Weinig  <sam@webkit.org>
3428
3429         Fix chromium build.
3430
3431         * src/WebViewImpl.cpp:
3432         (WebKit::WebViewImpl::setZoomLevel):
3433
3434 2010-09-10  Ryosuke Niwa  <rniwa@webkit.org>
3435
3436         Unreviewed, speculative chromium build fix.
3437
3438         * src/WebViewImpl.cpp:
3439         (WebKit::WebViewImpl::setZoomLevel):
3440
3441 2010-09-10  Sam Weinig  <sam@webkit.org>
3442
3443         Reviewed by Darin Adler.
3444
3445         Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
3446         Precursor to <rdar://problem/7660657>
3447         https://bugs.webkit.org/show_bug.cgi?id=45522
3448
3449         * src/FrameLoaderClientImpl.cpp:
3450         (WebKit::FrameLoaderClientImpl::createPlugin):
3451         * src/WebViewImpl.cpp:
3452         (WebKit::WebViewImpl::WebViewImpl):
3453         (WebKit::WebViewImpl::setZoomLevel):
3454         * src/WebViewImpl.h:
3455         (WebKit::WebViewImpl::zoomTextOnly):
3456         Move tracking of text only zoom here from WebCore.
3457
3458 2010-09-10  Adam Barth  <abarth@webkit.org>
3459
3460         Reviewed by Darin Fisher.
3461
3462         Move code from WebKit-layer to DocumentLoader
3463         https://bugs.webkit.org/show_bug.cgi?id=45569
3464
3465         * src/FrameLoaderClientImpl.cpp:
3466         (WebKit::FrameLoaderClientImpl::committedLoad):
3467         * src/WebFrameImpl.cpp:
3468         (WebKit::WebFrameImpl::commitDocumentData):
3469
3470 2010-09-10  Tony Chang  <tony@chromium.org>
3471
3472         Unreviewed, fix chromium compile after r67238.
3473
3474         shouldChangeSelection was removed from Frame.
3475
3476         * src/WebFrameImpl.cpp:
3477         (WebKit::WebFrameImpl::selectWordAroundPosition):
3478
3479 2010-09-10  Nat Duca  <nduca@chromium.org>
3480
3481         Reviewed by Darin Fisher.
3482
3483         [chromium] Accelerated Compositing: screen garbage when scrolling
3484         https://bugs.webkit.org/show_bug.cgi?id=45092
3485
3486         Introduce a new API on WebWidget for painting with accelerated
3487         compositing that allows the compositor to properly distingiush
3488         scrolling, invalidation and repainting from one another. The key
3489         change is that in accelerated rendering case, invalidates and
3490         scrolling pass directly to the compositor, rather than passing up
3491         to the client as was the case in the software path. For
3492         accelerated rendering, the previous paint() method is replaced by
3493         composite().
3494
3495         * public/WebWidget.h:
3496         * public/WebWidgetClient.h:
3497         (WebKit::WebWidgetClient::scheduleComposite):
3498         * src/ChromeClientImpl.cpp:
3499         (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
3500         (WebKit::ChromeClientImpl::scroll):
3501         * src/WebPopupMenuImpl.cpp:
3502         (WebKit::WebPopupMenuImpl::themeChanged):
3503         (WebKit::WebPopupMenuImpl::composite):
3504         * src/WebPopupMenuImpl.h:
3505         * src/WebViewImpl.cpp:
3506         (WebKit::WebViewImpl::resize):
3507         (WebKit::WebViewImpl::paint):
3508         (WebKit::WebViewImpl::themeChanged):
3509         (WebKit::WebViewImpl::composite):
3510         (WebKit::WebViewImpl::setRootGraphicsLayer):
3511         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3512         (WebKit::WebViewImpl::scrollRootLayerRect):
3513         (WebKit::WebViewImpl::invalidateRootLayerRect):
3514         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3515         (WebKit::WebViewImpl::updateRootLayerContents):
3516         (WebKit::WebViewImpl::doComposite):
3517         * src/WebViewImpl.h:
3518         * tests/PopupMenuTest.cpp:
3519         (WebKit::TestWebWidget::themeChanged):
3520         (WebKit::TestWebWidget::composite):
3521
3522 2010-09-10  David Holloway  <dhollowa@chromium.org>
3523
3524         Reviewed by Adam Barth.
3525
3526         Change WebKit::WebFormElement::wasUserSubmitted to use WebCore::HTMLFormElement::submittedByUserGesture
3527         instead of WebCore::HTMLFormElement::submissionTrigger.
3528         Chromium AutoFill feature semantics changed with respect to what we mean by "user submitted" form.  A
3529         more accurate measure of the user manually submitting a form is via user gesture.
3530         https://bugs.webkit.org/show_bug.cgi?id=45128
3531
3532         * src/WebFormElement.cpp:
3533         (WebKit::WebFormElement::wasUserSubmitted):
3534
3535 2010-09-09  Darin Adler  <darin@apple.com>
3536
3537         Reviewed by Adam Barth.
3538
3539         Move functions from Frame to SelectionController as planned
3540         https://bugs.webkit.org/show_bug.cgi?id=45508
3541
3542         * src/WebFrameImpl.cpp:
3543         (WebKit::WebFrameImpl::selectionBoundsRect):
3544         Call functions on selection().
3545
3546 2010-09-10  Adam Barth  <abarth@webkit.org>
3547
3548         Chromium build fix (one hopes!)
3549
3550         * src/WebFrameImpl.cpp:
3551         (WebKit::WebFrameImpl::commitDocumentData):
3552
3553 2010-09-10  Adam Barth  <abarth@webkit.org>
3554
3555         Reviewed by Eric Seidel.
3556
3557         Main resource bytes shouldn't bounce through FrameLoader
3558         https://bugs.webkit.org/show_bug.cgi?id=45496
3559
3560         Now return the bytes to the DocumentLoader.
3561
3562         Also, removed comment about wrong code in the Mac port.
3563
3564         * src/WebFrameImpl.cpp:
3565         (WebKit::WebFrameImpl::commitDocumentData):
3566
3567 2010-09-08  Darin Adler  <darin@apple.com>
3568
3569         Reviewed by Adam Barth.
3570
3571         Move functions from Frame to Editor as planned
3572         https://bugs.webkit.org/show_bug.cgi?id=45218
3573
3574         * src/ContextMenuClientImpl.cpp:
3575         (WebKit::selectMisspelledWord):
3576         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3577         * src/WebFrameImpl.cpp:
3578         (WebKit::WebFrameImpl::find):
3579         (WebKit::WebFrameImpl::stopFinding):
3580         (WebKit::WebFrameImpl::scopeStringMatches):
3581         * src/WebViewImpl.cpp:
3582         (WebKit::WebViewImpl::caretOrSelectionBounds):
3583         Changed call sites to use editor().
3584
3585 2010-09-09  Kenneth Russell  <kbr@google.com>
3586
3587         Reviewed by James Robinson.
3588
3589         Memory leak in red/black tree
3590         https://bugs.webkit.org/show_bug.cgi?id=45472
3591
3592         Fixed memory leak in red/black tree where it was using operator
3593         new directly to allocate its internal nodes rather than the arena
3594         with which it was configured. Added allocateObject variant to
3595         arena supporting single-argument constructors. Added test to
3596         red/black tree unit tests to cover this functionality, and
3597         refactored TrackedAllocator into helper file to share between
3598         arena and red/black tree tests.
3599
3600         * WebKit.gyp:
3601         * tests/ArenaTestHelpers.h: Added.
3602         (WebCore::ArenaTestHelpers::TrackedAllocator::create):
3603         (WebCore::ArenaTestHelpers::TrackedAllocator::allocate):
3604         (WebCore::ArenaTestHelpers::TrackedAllocator::free):
3605         (WebCore::ArenaTestHelpers::TrackedAllocator::isEmpty):
3606         (WebCore::ArenaTestHelpers::TrackedAllocator::numRegions):
3607         (WebCore::ArenaTestHelpers::TrackedAllocator::TrackedAllocator):
3608         * tests/PODArenaTest.cpp:
3609         * tests/PODRedBlackTreeTest.cpp:
3610         (WebCore::TEST):
3611
3612 2010-09-09  Tony Chang  <tony@chromium.org>
3613
3614         Reviewed by Dimitri Glazkov.
3615
3616         [chromium] make linux checksums computed from pngs to match windows
3617         https://bugs.webkit.org/show_bug.cgi?id=45465
3618
3619         * src/WebKit.cpp:
3620         (WebKit::areLayoutTestImagesOpaque): Make linux match windows.
3621
3622 2010-09-10  Jay Civelli  <jcivelli@chromium.org>
3623
3624         Reviewed by Darin Fisher.
3625
3626         Add the destructor to WebDOMEvent to prevent a leak.
3627         https://bugs.webkit.org/show_bug.cgi?id=45287
3628
3629         * public/WebDOMEvent.h:
3630         (WebKit::WebDOMEvent::~WebDOMEvent):
3631
3632 2010-09-09  Chris Guillory  <chris.guillory@google.com>
3633
3634         Reviewed by Chris Fleizach.
3635
3636         Add methods used to determine accessibility state.
3637         https://bugs.webkit.org/show_bug.cgi?id=45434
3638
3639         * public/WebAccessibilityObject.h:
3640         * src/WebAccessibilityObject.cpp:
3641         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
3642         (WebKit::WebAccessibilityObject::isCollapsed):
3643         (WebKit::WebAccessibilityObject::isLinked):
3644         (WebKit::WebAccessibilityObject::isReadOnly):
3645         (WebKit::WebAccessibilityObject::isVisible):
3646
3647 2010-09-08  Yury Semikhatsky  <yurys@chromium.org>
3648
3649         Reviewed by Joseph Pecoraro.
3650
3651         Web Inspector: add a sanity test for DOM storage view in the storage panel
3652         https://bugs.webkit.org/show_bug.cgi?id=45294
3653
3654         * src/js/Tests.js: removed testStoragePanel which was superseded by inspector layout tests.
3655
3656 2010-09-08  Yury Semikhatsky  <yurys@chromium.org>
3657
3658         Reviewed by Joseph Pecoraro.
3659
3660         Web Inspector: test that debugger won't pause on syntax errors
3661         https://bugs.webkit.org/show_bug.cgi?id=45388
3662
3663         * src/js/Tests.js: removed testAutoContinueOnSyntaxError which is now covered by 
3664         inspector/debugger-autocontinue-on-syntax-error.html layout test
3665
3666 2010-09-08  Peter Kasting  <pkasting@google.com>
3667
3668         Reviewed by David Hyatt.
3669
3670         Add smooth scrolling framework, and a Windows implementation.
3671         https://bugs.webkit.org/show_bug.cgi?id=32356
3672
3673         * src/WebScrollbarImpl.cpp: Plumb new ScrollbarClient functions.  Allow wheel scrolls to be animated.
3674         (WebKit::WebScrollbarImpl::setLocation):
3675         (WebKit::WebScrollbarImpl::setValue):
3676         (WebKit::WebScrollbarImpl::scroll):
3677         (WebKit::WebScrollbarImpl::onMouseWheel):
3678         (WebKit::WebScrollbarImpl::onKeyDown):
3679         (WebKit::WebScrollbarImpl::setScrollOffsetFromAnimation):
3680         * src/WebScrollbarImpl.h: Plumb new ScrollbarClient functions.
3681         * src/win/WebInputEventFactory.cpp: Update comments now that we have smooth scrolling.
3682         (WebKit::WebInputEventFactory::mouseWheelEvent):
3683
3684 2010-09-08  Yury Semikhatsky  <yurys@chromium.org>
3685
3686         Reviewed by Joseph Pecoraro.
3687
3688         Web Inspector: remove some obsolete interactive tests
3689         https://bugs.webkit.org/show_bug.cgi?id=45371
3690
3691         * src/js/Tests.js:
3692
3693 2010-09-08  Hans Wennborg  <hans@chromium.org>
3694
3695         Reviewed by Jeremy Orlow.
3696
3697         Plug leak in WebDeviceOrientationClientMock
3698         https://bugs.webkit.org/show_bug.cgi?id=45305
3699
3700         WebDeviceOrientationClientMock is responsible for destroying the
3701         WebDeviceOrientationController object pointed to by the argument
3702         passed to the setController() member function.
3703
3704         Also use the new WebPrivateOnwPtr for m_clientMock.
3705
3706         * public/WebDeviceOrientationClientMock.h:
3707         * src/WebDeviceOrientationClientMock.cpp:
3708         (WebKit::WebDeviceOrientationClientMock::setController):
3709         (WebKit::WebDeviceOrientationClientMock::initialize):
3710         (WebKit::WebDeviceOrientationClientMock::reset):
3711
3712 2010-09-07  Tony Chang  <tony@chromium.org>
3713
3714         Reviewed by Darin Fisher.
3715
3716         [chromium] Make a public flag for how DRT generates bitmaps on Linux
3717         https://bugs.webkit.org/show_bug.cgi?id=45133
3718
3719         This is so it's possible for me to fix
3720         http://code.google.com/p/chromium/issues/detail?id=21386 .
3721
3722         * public/WebKit.h: Add areLayoutTestImagesOpaque()
3723         * src/WebKit.cpp:
3724         (WebKit::areLayoutTestImagesOpaque):
3725
3726 2010-09-07  Dimitri Glazkov  <dglazkov@chromium.org>
3727
3728         Unreviewed, rolling out r66886.
3729         http://trac.webkit.org/changeset/66886
3730         https://bugs.webkit.org/show_bug.cgi?id=45112
3731
3732         Made
3733
3734         * public/WebGeolocationService.h:
3735         * src/WebGeolocationServiceBridgeImpl.cpp:
3736         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
3737         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
3738         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
3739         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
3740         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
3741         (WebKit::WebGeolocationServiceBridgeImpl::resume):
3742         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
3743         (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
3744         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
3745         (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
3746         (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
3747         (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
3748         * src/WebGeolocationServiceMock.cpp:
3749
3750 2010-09-07  Jonathan Dixon  <joth@chromium.org>
3751         
3752         Reviewed by Jeremy Orlow.
3753         
3754         Access to out-of-scope WebGeolocationServiceBridgeImpl
3755         https://bugs.webkit.org/show_bug.cgi?id=45112
3756
3757         Keep the WebGeolocationService pointer for lifetime of the bridge, to
3758         ensure it can be detached reliably
3759
3760         * public/WebGeolocationServiceBridge.h:
3761         (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
3762         * src/WebGeolocationServiceBridgeImpl.cpp:
3763         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
3764         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
3765         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
3766         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
3767         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
3768         (WebKit::WebGeolocationServiceBridgeImpl::resume):
3769         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
3770
3771 2010-09-07  Pavel Podivilov  <podivilov@chromium.org>
3772
3773         Reviewed by Yury Semikhatsky.
3774
3775         Web Inspector: upstream two debugger tests
3776         https://bugs.webkit.org/show_bug.cgi?id=45262
3777
3778         * src/js/Tests.js:
3779
3780 2010-09-06  Jonathan Dixon  <joth@chromium.org>
3781
3782         Reviewed by Jeremy Orlow.
3783
3784         Add new interface and empty impl. as precursor to bug 45112
3785         https://bugs.webkit.org/show_bug.cgi?id=45257
3786
3787         * public/WebGeolocationServiceBridge.h:
3788         (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
3789         * src/WebGeolocationServiceBridgeImpl.cpp:
3790         (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
3791
3792 2010-09-06  Pavel Podivilov  <podivilov@chromium.org>
3793
3794         Reviewed by Yury Semikhatsky.
3795
3796         Web Inspector: fix chromium devtools tests
3797         https://bugs.webkit.org/show_bug.cgi?id=45258
3798
3799         * src/js/Tests.js:
3800         (.TestSuite.prototype._waitForScriptPause):
3801
3802 2010-08-26  Jeremy Orlow  <jorlow@chromium.org>
3803
3804         Reviewed by Steve Block.
3805
3806         Add index insertion support to IndexedDB.
3807         https://bugs.webkit.org/show_bug.cgi?id=44695
3808
3809         Add asserts on the [] operator.
3810
3811         * public/WebVector.h:
3812         (WebKit::WebVector::operator[]):
3813
3814 2010-09-06  Anton Muhin  <antonm@chromium.org>
3815
3816         Reviewed by Adam Barth.
3817
3818         [v8] bypass caches when query memory usage from post GC and in crash handler.
3819         https://bugs.webkit.org/show_bug.cgi?id=45036
3820
3821         Add Chromium-specific API to query actual memory usage which bypasses any caches.
3822
3823         * public/WebKitClient.h:
3824         (WebKit::WebKitClient::actualMemoryUsageMB):
3825         * src/ChromiumBridge.cpp:
3826         (WebCore::ChromiumBridge::actualMemoryUsageMB):
3827
3828 2010-09-05  Peter Kasting  <pkasting@google.com>
3829
3830         Reviewed by Adam Barth.
3831
3832         Make Chromium/Mac generate continuous mousewheel events with the same wheelDelta values as Safari/Mac.
3833         https://bugs.webkit.org/show_bug.cgi?id=45155
3834
3835         * src/mac/WebInputEventFactory.mm:
3836         (WebKit::WebInputEventFactory::mouseWheelEvent):
3837
3838 2010-09-05  Yury Semikhatsky  <yurys@chromium.org>
3839
3840         Reviewed by Joseph Pecoraro.
3841
3842         Web Inspector: remove WebDevToolsAgentClient::forceRepaint which is not used
3843         https://bugs.webkit.org/show_bug.cgi?id=45179
3844
3845         * public/WebDevToolsAgentClient.h:
3846         * src/DebuggerAgentImpl.cpp:
3847         (WebKit::DebuggerAgentImpl::debuggerOutput):
3848         * src/WebDevToolsAgentImpl.cpp:
3849         * src/WebDevToolsAgentImpl.h:
3850
3851 2010-09-05  Kenneth Russell  <kbr@google.com>
3852
3853         Reviewed by Darin Fisher.
3854
3855         Add unit tests for interval tree
3856         https://bugs.webkit.org/show_bug.cgi?id=45161
3857
3858         * WebKit.gyp:
3859         * tests/PODIntervalTreeTest.cpp: Added.
3860         (WebCore::valueToString):
3861         (WebCore::TEST):
3862         (WebCore::UserData1::valueToString):
3863         (WebCore::EndpointType1::valueToString):
3864
3865 2010-09-05  Kenneth Russell  <kbr@google.com>
3866
3867         Reviewed by Darin Fisher.
3868
3869         Add unit tests for red-black tree and (POD) arena
3870         https://bugs.webkit.org/show_bug.cgi?id=45060
3871
3872         * WebKit.gyp:
3873         * tests/PODArenaTest.cpp: Added.
3874         (WebCore::TestClass1::TestClass2::TestClass2):
3875         (WebCore::TEST_F):
3876         * tests/PODRedBlackTreeTest.cpp: Added.
3877         (WebCore::TEST):
3878         * tests/TreeTestHelpers.cpp: Added.
3879         (WebCore::TreeTestHelpers::generateSeed):
3880         (WebCore::TreeTestHelpers::initRandom):
3881         (WebCore::TreeTestHelpers::nextRandom):
3882         * tests/TreeTestHelpers.h: Added.
3883
3884 2010-09-03  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3885
3886         Reviewed by Darin Adler.
3887
3888         Add NetworkingContext to avoid layer violations
3889         https://bugs.webkit.org/show_bug.cgi?id=42292
3890
3891         Add Chromium's implementation of NetworkingContext.
3892
3893         * src/FrameLoaderClientImpl.cpp:
3894         (WebKit::FrameLoaderClientImpl::createNetworkingContext):
3895         * src/FrameLoaderClientImpl.h:
3896
3897 2010-09-02  Vangelis Kokkevis  <vangelis@chromium.org>
3898
3899         Reviewed by Darin Fisher.
3900
3901         [chromium] Revert to software compositing if the accelerated
3902         compositor fails to initialize. If we tried to initialize the compositor
3903         for this WebView and failed, next time the associated chrome client is
3904         asked whether it can do accelerated compositing it will return false.
3905         https://bugs.webkit.org/show_bug.cgi?id=45124
3906         
3907         * src/ChromeClientImpl.cpp:
3908         (WebKit::ChromeClientImpl::allowsAcceleratedCompositing):
3909         * src/ChromeClientImpl.h:
3910         * src/WebViewImpl.cpp:
3911         (WebKit::WebViewImpl::WebViewImpl):
3912         (WebKit::WebViewImpl::paint):
3913         (WebKit::WebViewImpl::allowsAcceleratedCompositing):
3914         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3915         (WebKit::WebViewImpl::getOnscreenGLES2Context):
3916         * src/WebViewImpl.h:
3917
3918 2010-09-03  James Robinson  <jamesr@chromium.org>
3919
3920         [chromium] Add one more include to fix the mac compile.
3921
3922         * src/GraphicsContext3D.cpp:
3923
3924 2010-09-03  James Robinson  <jamesr@chromium.org>
3925
3926         [chromium] Compile fixes for 66746.
3927
3928         * src/GraphicsContext3D.cpp:
3929         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
3930
3931 2010-09-03  Tony Chang  <tony@chromium.org>
3932
3933         Unreviewed, remove svn:executable flag from images and css files.
3934
3935         * src/js/Images/segmentChromium.png: Removed property svn:executable.
3936         * src/js/Images/segmentHoverChromium.png: Removed property svn:executable.
3937         * src/js/Images/segmentHoverEndChromium.png: Removed property svn:executable.
3938         * src/js/Images/segmentSelectedChromium.png: Removed property svn:executable.
3939         * src/js/Images/segmentSelectedEndChromium.png: Removed property svn:executable.
3940         * src/js/Images/statusbarBackgroundChromium.png: Removed property svn:executable.
3941         * src/js/Images/statusbarBottomBackgroundChromium.png: Removed property svn:executable.
3942         * src/js/Images/statusbarButtonsChromium.png: Removed property svn:executable.
3943         * src/js/Images/statusbarMenuButtonChromium.png: Removed property svn:executable.
3944         * src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed property svn:executable.
3945         * src/js/devTools.css: Removed property svn:executable.
3946
3947 2010-09-03  James Robinson  <jamesr@chromium.org>
3948
3949         Reviewed by Chris Marrin.
3950
3951         Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D
3952         https://bugs.webkit.org/show_bug.cgi?id=44926
3953
3954         Adds a SharedContext3D to WebViewImpl. The SharedContext3D has to live on WebViewImpl to be
3955         tied to the lifetime of the compositor context.
3956
3957         * src/ChromeClientImpl.cpp:
3958         (WebKit::ChromeClientImpl::getSharedGraphicsContext3D):
3959         * src/ChromeClientImpl.h:
3960         * src/GraphicsContext3D.cpp:
3961         (WebCore::GraphicsContext3DInternal::initialize):
3962         (WebCore::GraphicsContext3DInternal::platformLayer):
3963         (WebCore::GraphicsContext3D::platformLayer):
3964         * src/WebViewImpl.cpp:
3965         (WebKit::WebViewImpl::getSharedGraphicsContext3D):
3966         * src/WebViewImpl.h:
3967
3968 2010-08-31  Jeremy Orlow  <jorlow@chromium.org>
3969
3970         Reviewed by Steve Block.
3971
3972         IDBCursor.continue() should reuse the .openCursor's IDBRequest object
3973         https://bugs.webkit.org/show_bug.cgi?id=44953
3974
3975         * src/WebIDBCallbacksImpl.cpp:
3976         (WebCore::WebIDBCallbacksImpl::onError):
3977         (WebCore::WebIDBCallbacksImpl::onSuccess):
3978
3979 2010-09-02  Yury Semikhatsky  <yurys@chromium.org>
3980
3981         Reviewed by Pavel Feldman.
3982
3983         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
3984         https://bugs.webkit.org/show_bug.cgi?id=44230
3985
3986         * src/InspectorFrontendClientImpl.cpp:
3987         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
3988         * src/InspectorFrontendClientImpl.h:
3989
3990 2010-09-02  Satish Sampath  <satish@chromium.org>
3991
3992         Reviewed by Jeremy Orlow.
3993
3994         Remove obsolete public/API methods in chromium port
3995         https://bugs.webkit.org/show_bug.cgi?id=45108
3996
3997         * public/WebSpeechInputController.h:
3998         (WebKit::WebSpeechInputController::startRecognition):
3999
4000 2010-09-02  Kent Tamura  <tkent@chromium.org>
4001
4002         Reviewed by Dimitri Glazkov.
4003
4004         [DRT/Chromium] Remove dependency to base/task.h and base/timer.h
4005         https://bugs.webkit.org/show_bug.cgi?id=45091
4006
4007         * DEPS: Roll Chromium revision to 58277 in order to have
4008         webkit_support::PostDelayedTask().
4009
4010 2010-09-02  Ilya Sherman  <isherman@google.com>
4011
4012         Reviewed by Eric Seidel.
4013
4014         Exposing computing an element's inherited language, per the DOM, in the
4015         Chromium API -- primarily for use with autofill i18n.
4016         https://bugs.webkit.org/show_bug.cgi?id=44803
4017
4018         * public/WebElement.h:
4019         * src/WebElement.cpp:
4020         (WebKit::WebElement::computeInheritedLanguage):
4021
4022 2010-09-01  Mikhail Naganov  <mnaganov@chromium.org>
4023
4024         Reviewed by Yury Semikhatsky.
4025
4026         Remove dependency on JS files for V8 logs processing.
4027
4028         https://bugs.webkit.org/show_bug.cgi?id=45045
4029
4030         * WebKit.gyp:
4031
4032 2010-09-01  Kent Tamura  <tkent@chromium.org>
4033
4034         Unreviewed, rolling out r66576.
4035         http://trac.webkit.org/changeset/66576
4036         https://bugs.webkit.org/show_bug.cgi?id=45016
4037
4038         This change is not needed.
4039
4040         * public/WebKitClient.h:
4041
4042 2010-08-31  Dave Hyatt  <hyatt@apple.com>
4043
4044         Reviewed by Sam Weinig.
4045
4046         https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
4047         the former can occur in more places without having to do the latter.
4048
4049         * src/WebFrameImpl.cpp:
4050         (WebKit::WebFrameImpl::layout):
4051
4052 2010-08-31  Kent Tamura  <tkent@chromium.org>
4053
4054         Reviewed by Dimitri Glazkov.
4055
4056         [Chromium] Add WebKitClient::callOnMainThreadWithDelay()
4057         https://bugs.webkit.org/show_bug.cgi?id=45016
4058
4059         It is required to remove base/task.h and base/timer.h dependency
4060         from DRT/Chromium.
4061
4062         * public/WebKitClient.h:
4063         (WebKit::WebKitClient::callOnMainThreadWithDelay): Added.
4064
4065 2010-08-31  Kinuko Yasuda  <kinuko@chromium.org>
4066
4067         Reviewed by Jian Li.
4068
4069         Add LocalFileSystem.requestFileSystem interface to DOMWindow
4070         https://bugs.webkit.org/show_bug.cgi?id=44734
4071
4072         * public/WebRuntimeFeatures.h:
4073         * src/WebRuntimeFeatures.cpp:
4074         (WebKit::WebRuntimeFeatures::enableFileSystem):
4075         (WebKit::WebRuntimeFeatures::isFileSystemEnabled):
4076
4077 2010-08-24  Jeremy Orlow  <jorlow@chromium.org>
4078
4079         Reviewed by Steve Block.
4080
4081         Implement the rest of IDBCursors + make them persistent
4082         https://bugs.webkit.org/show_bug.cgi?id=44546
4083
4084         * src/IDBCursorBackendProxy.cpp:
4085         (WebCore::IDBCursorBackendProxy::value):
4086         * src/IDBCursorBackendProxy.h:
4087         * src/WebIDBCursorImpl.cpp:
4088         (WebKit::WebIDBCursorImpl::value):
4089
4090 2010-08-27  John Gregg  <johnnyg@google.com>
4091
4092         Reviewed by David Levin.
4093
4094         Notifications should support a click event
4095         https://bugs.webkit.org/show_bug.cgi?id=44800
4096
4097         * public/WebNotification.h:
4098         * src/WebNotification.cpp:
4099         (WebKit::WebNotification::dispatchClickEvent):
4100
4101 2010-08-31  Jian Li  <jianli@chromium.org>
4102
4103         Reviewed by Darin Fisher.
4104
4105         Switch the Blob implementation to using the blob data registration model
4106         https://bugs.webkit.org/show_bug.cgi?id=44389
4107
4108         * src/WebSearchableFormData.cpp:
4109         (WebCore::HasSuitableTextElement):
4110
4111 2010-08-30  Nat Duca  <nduca@chromium.org>
4112
4113         Reviewed by Adam Barth.
4114
4115         [chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
4116         https://bugs.webkit.org/show_bug.cgi?id=44196
4117
4118         If accelerated compositing enables after a page loads, the dirtied
4119         portion of the screen will be only a subset of the full screen,
4120         leading to artefacts. Avoid these artefacts by invalidating the
4121         visible content rect on compositor initialization.
4122
4123         * src/WebViewImpl.cpp:
4124         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4125
4126 2010-08-30  Kinuko Yasuda  <kinuko@chromium.osrc>
4127
4128         Reviewed by Darin Fisher.
4129
4130         Add DOMFileSystem implementation to support Entry manipulation operations
4131         https://bugs.webkit.org/show_bug.cgi?id=44732
4132
4133         Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.)
4134
4135         * src/AsyncFileSystemChromium.cpp:
4136         (WebCore::AsyncFileSystemChromium::move):
4137         (WebCore::AsyncFileSystemChromium::copy):
4138         (WebCore::AsyncFileSystemChromium::remove):
4139         (WebCore::AsyncFileSystemChromium::readMetadata):
4140         (WebCore::AsyncFileSystemChromium::createFile):
4141         (WebCore::AsyncFileSystemChromium::createDirectory):
4142         (WebCore::AsyncFileSystemChromium::fileExists):
4143         (WebCore::AsyncFileSystemChromium::directoryExists):
4144         (WebCore::AsyncFileSystemChromium::readDirectory):
4145
4146 2010-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
4147
4148         Unreviewed, rolling out r66198.
4149         http://trac.webkit.org/changeset/66198
4150         https://bugs.webkit.org/show_bug.cgi?id=44856
4151
4152         It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
4153
4154         * src/InspectorFrontendClientImpl.cpp:
4155         * src/InspectorFrontendClientImpl.h:
4156
4157 2010-08-29  Kent Tamura  <tkent@chromium.org>
4158
4159         Reviewed by Darin Adler.
4160
4161         Introduce isValidValue(const String&) of HTMLInputElement and HTMLTextAreaElement
4162         https://bugs.webkit.org/show_bug.cgi?id=43537
4163
4164         * public/WebInputElement.h:
4165         * src/WebInputElement.cpp:
4166         (WebKit::WebInputElement::isValidValue):
4167
4168 2010-08-29  Kent Tamura  <tkent@chromium.org>
4169
4170         Reviewed by Dimitri Glazkov.
4171
4172         [DRT/Chromium] Remove dependency to base/keyboard_codes.h
4173         https://bugs.webkit.org/show_bug.cgi?id=44847
4174
4175         * DEPS: Roll Chromium revision to 57823 to have a webkit_support change.
4176
4177 2010-08-28  Jian Li  <jianli@chromium.org>
4178
4179         Reviewed by Darin Fisher.
4180
4181         [chromium] Add webkit_support.gyp:blob to WebKit.gyp
4182         https://bugs.webkit.org/show_bug.cgi?id=44829
4183
4184         Also bump up chromium revision in DEPS in order to pick up
4185         the revision that contains blob change.
4186
4187         * DEPS:
4188         * WebKit.gyp:
4189
4190 2010-08-28  Chris Guillory   <chris.guillory@google.com>
4191
4192         Reviewed by Chris Fleizach.
4193
4194         Add AX notification for childrenChanged
4195         https://bugs.webkit.org/show_bug.cgi?id=44472
4196
4197         * public/WebViewClient.h:
4198         (WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
4199         * src/ChromeClientImpl.cpp:
4200         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
4201         * src/ChromeClientImpl.h:
4202
4203 2010-08-27  Daniel Cheng  <dcheng@chromium.org>
4204
4205         Reviewed by Tony Chang.
4206
4207         [chromium] Add new WebClipboard method for setting generic data in copy/cut handlers.
4208         https://bugs.webkit.org/show_bug.cgi?id=42121
4209
4210         * public/WebClipboard.h:
4211         (WebKit::WebClipboard::writeData):
4212         (WebKit::WebClipboard::readFilenames):
4213         * src/ChromiumBridge.cpp:
4214         (WebCore::ChromiumBridge::clipboardWriteData):
4215
4216 2010-08-27  Kinuko Yasuda  <kinuko@chromium.org>
4217
4218         Reviewed by Dumitru Daniliuc.
4219
4220         [chromium] Add chromium-side of AsyncFileSystem implementation
4221         https://bugs.webkit.org/show_bug.cgi?id=44434
4222
4223         * WebKit.gyp:
4224         * src/AssertMatchingEnums.cpp: Added assertions.
4225         * src/AsyncFileSystemChromium.cpp: Added.
4226         * src/AsyncFileSystemChromium.h: Added.
4227         * src/LocalFileSystemChromium.cpp: Added.
4228         * src/WebFileSystemCallbacksImpl.cpp:
4229         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
4230         * src/WebFileSystemCallbacksImpl.h:
4231
4232 2010-08-27  Michael Nordman  <michaeln@google.com>
4233
4234         Reviewed by David Levin.
4235
4236         https://bugs.webkit.org/show_bug.cgi?id=44133
4237         WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
4238
4239         * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
4240         * public/WebRuntimeFeatures.h:
4241         * src/WebRuntimeFeatures.cpp:
4242         (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
4243         (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
4244
4245 2010-08-25  Jeremy Orlow  <jorlow@chromium.org>
4246
4247         Reviewed by Steve Block.
4248
4249         Add setVersion to IndexedDB
4250         https://bugs.webkit.org/show_bug.cgi?id=44630
4251