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