bba8815eed73e42c699bf392083649d0df58594e
[WebKit.git] / Source / WebKit / chromium / ChangeLog
1 2011-02-04  Daniel Cheng  <dcheng@chromium.org>
2
3         Reviewed by Dmitry Titov.
4
5         Clone WebClipboard to be frame-specific.
6         https://bugs.webkit.org/show_bug.cgi?id=53727
7
8         For drop operations, Chrome currently snapshots the data and copies it
9         into the renderer process. As we add more supported drag data types, the
10         copy will become increasingly expensive. Instead, we'd like to snapshot
11         data in the browser to reduce the amount of data copied and to support
12         Blob in DataTransferItem. In order to allow this, we associated
13         WebClipboard with a frame so it can correctly route its IPCs to the
14         corresponding Chromium host.
15
16         * public/WebFrameClient.h:
17         (WebKit::WebFrameClient::clipboard):
18         * src/PlatformBridge.cpp:
19         (WebCore::getClipboard):
20         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
21         (WebCore::PlatformBridge::clipboardReadData):
22         (WebCore::PlatformBridge::clipboardReadFilenames):
23         * src/WebFrameImpl.cpp:
24         (WebKit::WebFrameImpl::fromFrame):
25         * src/WebFrameImpl.h:
26         * src/WebViewImpl.cpp:
27         (WebKit::WebViewImpl::dragTargetDragEnterNew):
28
29 2011-02-04  Robert Hogan  <robert@webkit.org>
30
31         Reviewed by Darin Fisher.
32
33         Move chromium iframe shim code to cross-platform file
34         https://bugs.webkit.org/show_bug.cgi?id=52594
35
36         * src/WebPluginContainerImpl.cpp: Move code to WebCore/plugin/IFrameShimSupport.cpp
37
38 2011-02-04  Xiaomei Ji  <xji@chromium.org>
39
40         Reviewed by David Levin.
41
42         Implement "<option> should implement the dir attribute" for chromium port after r76983.
43         https://bugs.webkit.org/show_bug.cgi?id=50969
44
45         * src/ChromeClientImpl.cpp:
46         (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Override as true.
47         * src/WebViewImpl.cpp: Remove directionality hint from autofill drop-down setting.
48
49 2011-02-01  Jeremy Orlow  <jorlow@chromium.org>
50
51         Reviewed by Nate Chapin.
52
53         Remove the timeout event from IndexedDB
54         https://bugs.webkit.org/show_bug.cgi?id=53521
55
56         * public/WebIDBDatabase.h:
57         (WebKit::WebIDBDatabase::transaction):
58         * public/WebIDBTransactionCallbacks.h:
59         * src/IDBDatabaseProxy.cpp:
60         (WebCore::IDBDatabaseProxy::transaction):
61         * src/IDBDatabaseProxy.h:
62         * src/IDBTransactionCallbacksProxy.cpp:
63         * src/IDBTransactionCallbacksProxy.h:
64         * src/WebIDBDatabaseImpl.cpp:
65         (WebKit::WebIDBDatabaseImpl::transaction):
66         * src/WebIDBDatabaseImpl.h:
67         * src/WebIDBTransactionCallbacksImpl.cpp:
68         * src/WebIDBTransactionCallbacksImpl.h:
69
70 2011-02-04  Ilya Tikhonovsky  <loislo@chromium.org>
71
72         Unreviewed.
73
74         Roll chromium to 73764.
75
76         * DEPS:
77
78 2011-02-03  James Kozianski  <koz@chromium.org>
79
80         Reviewed by Dimitri Glazkov.
81
82         Add navigator.registerProtocolHandler behind a flag.
83         https://bugs.webkit.org/show_bug.cgi?id=52609
84
85         * features.gypi:
86         * public/WebViewClient.h:
87         * src/ChromeClientImpl.cpp:
88         (WebKit::ChromeClientImpl::registerProtocolHandler):
89         * src/ChromeClientImpl.h:
90
91 2011-02-03  Brian Ryner  <bryner@chromium.org>
92
93         Reviewed by Darin Fisher.
94
95         Add a field to the ResourceResponse for tracking the socket address
96         of the host that the resource was fetched from.  Patch was originally
97         by Paul Marks.
98         https://bugs.webkit.org/show_bug.cgi?id=53699
99
100         * public/WebURLResponse.h:
101         * src/WebURLResponse.cpp:
102         (WebKit::WebURLResponse::socketAddress):
103         (WebKit::WebURLResponse::setSocketAddress):
104
105 2011-02-03  Adam Langley  <agl@chromium.org>
106
107         Reviewed by Adam Barth.
108
109         Plumb mixed script URL to FrameLoaderClient
110         https://bugs.webkit.org/show_bug.cgi?id=52384
111
112         Regressions covered by http/tests/security/mixedContent/*
113
114         * public/WebFrameClient.h:
115         (WebKit::WebFrameClient::didRunInsecureContent):
116         * src/FrameLoaderClientImpl.cpp:
117         (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
118         * src/FrameLoaderClientImpl.h:
119
120 2011-02-03  Victoria Kirst  <vrk@google.com>
121
122         Reviewed by James Robinson.
123
124         [chromium] Fix redundant video frame paint on CSS LayerChromium for <video>
125         https://bugs.webkit.org/show_bug.cgi?id=52868
126
127         * src/WebMediaPlayerClientImpl.cpp:
128         (WebKit::WebMediaPlayerClientImpl::paint):
129         (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
130         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
131         * src/WebMediaPlayerClientImpl.h:
132
133 2011-02-03  Jeremy Orlow  <jorlow@chromium.org>
134
135         Reviewed by Nate Chapin.
136
137         Don't clear the callbacks ref in the proxy layer for IndexedDB
138         https://bugs.webkit.org/show_bug.cgi?id=53535
139
140         Clearing the callbacks doesn't actually solve any problems and makes
141         this code behave subtly differently than how it would in Safari and
142         other single process environments. Let's remove the difference.
143
144         * src/IDBCallbacksProxy.cpp:
145         (WebCore::IDBCallbacksProxy::onError):
146         (WebCore::IDBCallbacksProxy::onSuccess):
147         * src/IDBTransactionCallbacksProxy.cpp:
148         (WebCore::IDBTransactionCallbacksProxy::onAbort):
149         (WebCore::IDBTransactionCallbacksProxy::onComplete):
150         (WebCore::IDBTransactionCallbacksProxy::onTimeout):
151
152 2011-02-03  Hans Wennborg  <hans@chromium.org>
153
154         Reviewed by Jeremy Orlow.
155
156         Chromium: Remove deprecated WebIDBObjectStore::put() function
157         https://bugs.webkit.org/show_bug.cgi?id=53669
158
159         Remove deprecated put() function. Chromium side code now overrides
160         the new version.
161
162         * public/WebIDBObjectStore.h:
163         (WebKit::WebIDBObjectStore::put):
164
165 2011-02-01  Pavel Podivilov  <podivilov@chromium.org>
166
167         Reviewed by Pavel Feldman.
168
169         Web Inspector: introduce new api for managing JavaScript breakpoints.
170         https://bugs.webkit.org/show_bug.cgi?id=53235
171
172         * src/WebDevToolsAgentImpl.cpp:
173         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
174
175 2011-02-02  Evan Martin  <evan@chromium.org>
176
177         Unreviewed, DEPS change.
178
179         * DEPS: update to pick up newer Skia.
180
181 2011-02-02  Dimitri Glazkov  <dglazkov@chromium.org>
182
183         Update more references to right() and bottom() in Chromium.
184
185         * src/WebViewImpl.cpp:
186         (WebKit::WebViewImpl::doPixelReadbackToCanvas): Replaced bottom/right with maxY/maxX.
187
188 2011-02-02  Dimitri Glazkov  <dglazkov@chromium.org>
189
190         Update more references to right() and bottom() in Chromium Win.
191
192         * tests/TransparencyWinTest.cpp:
193         (WebCore::TEST): Replaced bottom/right with maxY/maxX.
194
195 2011-02-02  Matthew Vosburgh  <maf@chromium.org>
196
197         Reviewed by Kenneth Russell.
198
199         Some favicons not correctly decoded by Chromium/Mac
200         https://bugs.webkit.org/show_bug.cgi?id=53448
201
202         * src/WebImageCG.cpp:
203         (WebKit::WebImage::fromData):
204
205 2011-02-02  Dimitri Glazkov  <dglazkov@chromium.org>
206
207         Reviewed by Dave Hyatt.
208
209         Remove remaining references to right() and bottom() from Chromium build.
210         https://bugs.webkit.org/show_bug.cgi?id=53613
211
212         * src/DragScrollTimer.cpp:
213         (WebKit::distanceToRect): Replaced right/bottom with maxX/maxY.
214         * src/WebViewImpl.cpp:
215         (WebKit::WebViewImpl::doPixelReadbackToCanvas): Ditto.
216
217 2011-02-01  Darin Fisher  <darin@chromium.org>
218
219         Reviewed by Kenneth Russell.
220
221         [chromium] Avoid #ifdefs in code that constructs a GraphicsContext by
222         adding a helper class.
223         https://bugs.webkit.org/show_bug.cgi?id=53575
224
225         * WebKit.gyp:
226         * src/WebFontImpl.cpp:
227         (WebKit::WebFontImpl::drawText):
228         * src/WebFrameImpl.cpp:
229         (WebKit::WebFrameImpl::printPage):
230         (WebKit::WebFrameImpl::paint):
231         * src/WebPopupMenuImpl.cpp:
232         (WebKit::WebPopupMenuImpl::paint):
233         * src/WebScrollbarImpl.cpp:
234         (WebKit::WebScrollbarImpl::paint):
235         * src/painting: Added.
236         * src/painting/GraphicsContextBuilder.h: Added.
237         (WebKit::GraphicsContextBuilder::GraphicsContextBuilder):
238         (WebKit::GraphicsContextBuilder::context):
239
240 2011-02-02  Hans Wennborg  <hans@chromium.org>
241
242         Reviewed by Jeremy Orlow.
243
244         IndexedDB: Implement support for cursor updates
245         https://bugs.webkit.org/show_bug.cgi?id=53421
246
247         Mirror the update to the IDBObjectStoreInterface::put() signature in
248         the WebKit layer wrappers.
249
250         * public/WebIDBObjectStore.h:
251         (WebKit::WebIDBObjectStore::put):
252         * src/IDBObjectStoreProxy.cpp:
253         (WebCore::IDBObjectStoreProxy::put):
254         * src/IDBObjectStoreProxy.h:
255         * src/WebIDBObjectStoreImpl.cpp:
256         (WebKit::WebIDBObjectStoreImpl::put):
257         * src/WebIDBObjectStoreImpl.h:
258
259 2011-02-02  Chris Evans  <cevans@chromium.org>
260
261         Reviewed by Adam Barth.
262
263         [Chromium] Propagate the accurate gesture status when calling into FrameLoader
264         https://bugs.webkit.org/show_bug.cgi?id=53571
265
266         * src/WebPluginContainerImpl.cpp:
267         (WebKit::WebPluginContainerImpl::loadFrameRequest): FrameLoader might decide the target is a new window, so make such the UserGestureIndicator is fully accurate before calling into it.
268
269 2011-02-01  Kent Tamura  <tkent@chromium.org>
270
271         Reviewed by Tony Chang.
272
273         [Chromium] Roll Chromium revision for the WebKitWeightWatcher change
274         https://bugs.webkit.org/show_bug.cgi?id=53563
275
276         * DEPS: Roll to crrev.com/73378 to have the WebKitWeightWatcher change of webkit_support.
277
278 2011-02-01  Darin Fisher  <darin@chromium.org>
279
280         Reviewed by David Levin.
281
282         [chromium] Remove unnecessary WebCore:: prefixing in a few places and fix-up some indentation.
283         https://bugs.webkit.org/show_bug.cgi?id=53523
284
285         * src/WebDevToolsAgentImpl.cpp:
286         (WebKit::WebDevToolsAgentImpl::attach):
287         (WebKit::WebDevToolsAgentImpl::inspectNode):
288         (WebKit::WebDevToolsAgentImpl::inspectorController):
289         (WebKit::WebDevToolsAgentImpl::mainFrame):
290         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
291         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
292         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
293         (WebKit::WebDevToolsAgent::interruptAndDispatch):
294         (WebKit::WebDevToolsAgent::processPendingMessages):
295         * src/WebPopupMenuImpl.cpp:
296         (WebKit::WebPopupMenuImpl::resize):
297         * src/WebScrollbarImpl.cpp:
298         (WebKit::WebScrollbarImpl::setLocation):
299         (WebKit::WebScrollbarImpl::setValue):
300         (WebKit::WebScrollbarImpl::onMouseWheel):
301         (WebKit::WebScrollbarImpl::onKeyDown):
302         (WebKit::WebScrollbarImpl::scrollPosition):
303         (WebKit::WebScrollbarImpl::setScrollOffset):
304         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
305         (WebKit::WebScrollbarImpl::getTickmarks):
306
307 2011-02-01  Mihai Parparita  <mihaip@chromium.org>
308
309         Unreviewed roll of Chromium deps to r73306. This picks up a fix to get
310         the WebKit root dir correctly after the move to Source/. This allows 
311         tests like http/tests/security/frame-loading-via-document-write.html
312         (which use LayoutTestController.pathToLocalResource) to pass with the
313         Chromium DRT.
314
315         * DEPS:
316
317 2011-02-01  Alexander Pavlov  <apavlov@chromium.org>
318
319         Reviewed by Yury Semikhatsky.
320
321         Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane
322         https://bugs.webkit.org/show_bug.cgi?id=53482
323
324         * src/js/DevTools.js:
325         (WebInspector.openLinkExternallyLabel): Override to customize a context menu item label
326
327 2011-02-01  Darin Fisher  <darin@chromium.org>
328
329         Reviewed by Eric Seidel.
330
331         Fix some Visual Studio compiler warnings.
332         https://bugs.webkit.org/show_bug.cgi?id=53476
333
334         * src/GraphicsContext3DChromium.cpp:
335         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
336         * src/WebFrameImpl.cpp:
337         (WebKit::WebFrameImpl::forms):
338         * src/WebMediaPlayerClientImpl.cpp:
339         (WebKit::WebMediaPlayerClientImpl::repaint):
340         * src/WebScrollbarImpl.cpp:
341         (WebKit::WebScrollbarImpl::setValue):
342         * src/WebViewImpl.cpp:
343         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
344         (WebKit::WebViewImpl::setZoomLevel):
345         (WebKit::WebViewImplScrollbarPaintInterface::paint):
346
347 2011-02-01  Hans Wennborg  <hans@chromium.org>
348
349         Reviewed by Jeremy Orlow.
350
351         Chromium: remove WebIDBCallbacks::onSucces()
352         https://bugs.webkit.org/show_bug.cgi?id=53415
353
354         Remove un-used function.
355
356         * public/WebIDBCallbacks.h:
357
358 2011-02-01  Yury Semikhatsky  <yurys@chromium.org>
359
360         Unreviewed. Fix Chromium Debug compilation broken by r77228.
361
362         [Chromium] Autofill should work with HTML5 form elements
363         https://bugs.webkit.org/show_bug.cgi?id=51809
364
365         * src/WebInputElement.cpp:
366         (WebKit::toWebInputElement):
367
368 2011-02-01  Naoki Takano  <takano.naoki@gmail.com>
369
370         Reviewed by Darin Fisher.
371
372         [Chromium] Autofill should work with HTML5 form elements
373         https://bugs.webkit.org/show_bug.cgi?id=51809
374         http://crbug.com/65654
375
376         No new tests, because this fix is for Chromium project and hard to test only in WebKit project.
377
378         * public/WebInputElement.h: Added toWebInputElement() declarations and implemented const version of toWebInputElement().
379         * src/WebInputElement.cpp:
380         (WebKit::WebInputElement::toWebInputElement): Implemented a convert function to cast no-const WebElement* to no-const WebInputElement*. Because Chrome needs safe cast for autofill completion.
381
382 2011-01-31  Chris Rogers  <crogers@google.com>
383
384         Reviewed by Jeremy Orlow.
385
386         Improve audio latency on Mac OS X for chromium port
387         https://bugs.webkit.org/show_bug.cgi?id=53452
388
389         * src/AudioDestinationChromium.cpp:
390
391 2011-01-29  Patrick Gansterer  <paroga@webkit.org>
392
393         Reviewed by David Kilzer.
394
395         Move CharacterNames.h into WTF directory
396         https://bugs.webkit.org/show_bug.cgi?id=49618
397
398         * src/ChromeClientImpl.cpp:
399
400 2011-01-28  Ryosuke Niwa  <rniwa@webkit.org>
401
402         Unreviewed; roll WebKit Chromium revision from 72894 to 73048.
403
404         * DEPS:
405
406 2011-01-28  Dan Bernstein  <mitz@apple.com>
407
408         Reviewed by Sam Weinig.
409
410         <select> can't display right-to-left (rtl) languages
411         https://bugs.webkit.org/show_bug.cgi?id=19785
412
413         * src/AutoFillPopupMenuClient.cpp:
414         (WebKit::AutoFillPopupMenuClient::initialize): Pass hasTextDirectionOverride to the PopupMenuStyle
415         constructor.
416         * src/ChromeClientImpl.cpp:
417         (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Added.
418         * src/ChromeClientImpl.h:
419         * tests/PopupMenuTest.cpp:
420         (WebKit::TestPopupMenuClient::itemStyle): Pass hasTextDirectionOverride to the PopupMenuStyle
421         constructor.
422
423 2011-01-28  Adam Klein  <adamk@chromium.org>
424
425         Reviewed by Kent Tamura.
426
427         [Chromium] Remove deprecated openFileSystem method signature
428         https://bugs.webkit.org/show_bug.cgi?id=53262
429
430         Chromium still builds after this patch.
431
432         * public/WebFrameClient.h:
433
434 2011-01-28  Ilya Sherman  <isherman@chromium.org>
435
436         Reviewed by Andreas Kling.
437
438         Const-correct HTMLSelectElement and WebSelectElement
439         https://bugs.webkit.org/show_bug.cgi?id=53293
440
441         * public/WebSelectElement.h:
442         * src/WebSelectElement.cpp:
443         (WebKit::WebSelectElement::value): const.
444         (WebKit::WebSelectElement::listItems): const.
445
446 2011-01-27  Finnur Thorarinsson  <finnur.webkit@gmail.com>
447
448         Reviewed by Ojan Vafai.
449
450         This addresses a regression introduced by r75784, as described in:
451         https://bugs.webkit.org/show_bug.cgi?id=53176
452
453         The problem is that originalEndContainer and originalEndOffset was
454         meant to capture the end of the document, but was being assigned after
455         a call to searchRange->setStart() (when scoping is restarted), which can
456         result in the Range being collapsed to start (thereby assigning the
457         wrong value to the Container/Offset pair).
458
459         This code is never triggered by layout tests, but I'm adding a regressiono
460         test on the Chromium side for this.
461
462         * src/WebFrameImpl.cpp:
463         (WebKit::WebFrameImpl::scopeStringMatches):
464
465 2011-01-27  Zhenyao Mo  <zmo@google.com>
466
467         Reviewed by Kenneth Russell.
468
469         Define GC3D types to match GL types and use them in WebGraphicsContext3D
470         https://bugs.webkit.org/show_bug.cgi?id=51947
471
472         * public/WebGraphicsContext3D.h:
473
474 2011-01-27  Zhenyao Mo  <zmo@google.com>
475
476         Unreviewed, roll webkit chromium rev from 72673 to 72894.
477         Also, added gmock section in DEPS to pull down gmock.
478
479         * DEPS:
480
481 2011-01-27  Alexey Marinichev  <amarinichev@chromium.org>
482
483         Reviewed by Kenneth Russell.
484
485         Add a callback to WebGraphicsContext3D that is called when a context is lost
486         https://bugs.webkit.org/show_bug.cgi?id=53153
487
488         * public/WebGraphicsContext3D.h:
489         (WebKit::WebGraphicsContext3D::setContextLostCallback):
490
491 2011-01-27  Mihai Parparita  <mihaip@chromium.org>
492
493         Unreviewed, fixed upstream Chromium build
494         
495         r76844 should have rolled back Chromium DEPS to 72673, not 72637.
496
497         * DEPS:
498
499 2011-01-27  Zhenyao Mo  <zmo@google.com>
500
501         Unreviewed, roll back webkit chromium rev to 72637.
502
503         * DEPS:
504
505 2011-01-27  Zhenyao Mo  <zmo@google.com>
506
507         Unreviewed.
508
509         Roll Webkit Chromium rev from 72637 to 72868.
510
511         * DEPS:
512
513 2011-01-27  Hans Wennborg  <hans@chromium.org>
514
515         Reviewed by Jeremy Orlow.
516
517         IndexedDB: Remove IDBCallbacks::onSuccess() used for null values.
518         https://bugs.webkit.org/show_bug.cgi?id=53178
519
520         Remove the IDBCallbacks::onSuccess() function that was used for
521         null values, and replace such calls with calls to
522         IDBCallBacks::onSuccess(SerializedScriptValue::nullValue())
523         instead.
524
525         * public/WebIDBCallbacks.h:
526         (WebKit::WebIDBCallbacks::onSuccess):
527         * src/IDBCallbacksProxy.cpp:
528         * src/IDBCallbacksProxy.h:
529         * src/WebIDBCallbacksImpl.cpp:
530         * src/WebIDBCallbacksImpl.h:
531
532 2011-01-26  Kent Tamura  <tkent@chromium.org>
533
534         Reviewed by Dimitri Glazkov.
535
536         [Chromium] WebFrame::forms() should not return empty WebFormElements
537         https://bugs.webkit.org/show_bug.cgi?id=53204
538
539         * src/WebFrameImpl.cpp:
540         (WebKit::WebFrameImpl::forms):
541          - Should iterate by forms->length(), not the number of HTMLElements.
542          - Do not increment the index for "temp" if a node is not an HTMLElement.
543
544 2011-01-26  Dan Bernstein  <mitz@apple.com>
545
546         Reviewed by Dave Hyatt.
547
548         <rdar://problem/8446709> Allow inter-ideograph justification for CJK
549         https://bugs.webkit.org/show_bug.cgi?id=53184
550
551         * src/WebTextRun.cpp:
552         (WebKit::WebTextRun::operator WebCore::TextRun): Added a TrailingExpansionBehavior parameter to the
553         RenderText constructor.
554
555 2011-01-26  Kenneth Russell  <kbr@google.com>
556
557         Reviewed by James Robinson.
558
559         Fix multisampling support in DrawingBuffer
560         https://bugs.webkit.org/show_bug.cgi?id=53154
561
562         Plumbed GL_ANGLE_framebuffer_multisample and
563         GL_ANGLE_framebuffer_blit (exposed as the unified extension
564         GL_CHROMIUM_framebuffer_multisample) through WebGraphicsContext3D.
565
566         * public/WebGraphicsContext3D.h:
567         * src/Extensions3DChromium.cpp:
568         (WebCore::Extensions3DChromium::blitFramebuffer):
569         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
570         * src/GraphicsContext3DChromium.cpp:
571         (WebCore::GraphicsContext3DInternal::supportsExtension):
572         (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
573         * src/GraphicsContext3DInternal.h:
574
575 2011-01-26  Tony Chang  <tony@chromium.org>
576
577         Unreviewed.
578
579         [chromium] revert r68310 because of race conditions detected by tsans
580         https://bugs.webkit.org/show_bug.cgi?id=53185
581
582         * DEPS: Roll chromium to 72673 to pick up sqlite revert.
583
584 2011-01-26  James Robinson  <jamesr@chromium.org>
585
586         Reviewed by Nate Chapin.
587
588         Add a DOMTimeStamp parameter to the requestAnimationFrame callback
589         https://bugs.webkit.org/show_bug.cgi?id=53142
590
591         Provides a timestamp to use for imperative animation callbacks.  In this patch the timestamp is
592         just the current time at the start of the callback invocation algorithm.  In the future we
593         could enhance this to try to take the compositing delay into effect to try to synchronize
594         imperative animations more closely with declarative ones, but this should do for now.
595
596         * src/WebViewImpl.cpp:
597         (WebKit::WebViewImpl::animate):
598
599 2011-01-25  Kent Tamura  <tkent@chromium.org>
600
601         Unreviewed trivial change.
602
603         * DEPS: Roll to r72581 to have a webkit_support fix.
604
605 2011-01-25  Hans Wennborg  <hans@chromium.org>
606
607         Reviewed by Jeremy Orlow.
608
609         IndexedDB: Remove PlatformBridge::idbShutdown()
610         https://bugs.webkit.org/show_bug.cgi?id=53077
611
612         Since Chromium r72157, this is not used anymore. Chromium keeps track
613         of when it shuts down IndexedDB itself.
614
615         * public/WebKitClient.h:
616         * src/PlatformBridge.cpp:
617
618 2011-01-25  Ilya Sherman  <isherman@chromium.org>
619
620         Reviewed by Darin Fisher.
621
622         Chromium WebKit API: Move dispatchFormControlChangeEvent() from WebInputElement to WebFormControlElement
623         In service of https://code.google.com/p/chromium/issues/detail?id=42716
624         https://bugs.webkit.org/show_bug.cgi?id=53069
625
626         * public/WebFormControlElement.h:
627         * public/WebInputElement.h:
628         * src/WebFormControlElement.cpp:
629         (WebKit::WebFormControlElement::dispatchFormControlChangeEvent): Moved from WebInputElement
630         * src/WebInputElement.cpp:
631
632 2011-01-24  Chris Marrin  <cmarrin@apple.com>
633
634         Reviewed by Eric Seidel.
635
636         Change ENABLE_3D_CANVAS to ENABLE_WEBGL
637         https://bugs.webkit.org/show_bug.cgi?id=53041
638
639         * WebKit.gyp:
640         * features.gypi:
641         * src/Extensions3DChromium.cpp:
642         * src/GraphicsContext3DChromium.cpp:
643         * src/WebRuntimeFeatures.cpp:
644         (WebKit::WebRuntimeFeatures::enableWebGL):
645         (WebKit::WebRuntimeFeatures::isWebGLEnabled):
646
647 2011-01-25  Mikhail Naganov  <mnaganov@chromium.org>
648
649         Reviewed by Pavel Feldman.
650
651         Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots.
652
653         - Introduce Preferences.detailedHeapProfiles flag for controlling
654           querying of detailed heap snapshots.
655         - Add boilerplate code for the new view.
656         - Factor out common code.
657
658         https://bugs.webkit.org/show_bug.cgi?id=52624
659
660         * src/js/DevTools.js:
661         ():
662
663 2011-01-25  Pavel Podivilov  <podivilov@chromium.org>
664
665         Unreviewed, trivial debugger test fix.
666
667         * src/js/Tests.js:
668
669 2011-01-24  Zhenyao Mo  <zmo@google.com>
670
671         Reviewed by Darin Adler.
672
673         Remove sizeInBytes from GraphicsContext3D's various implementations
674         https://bugs.webkit.org/show_bug.cgi?id=52339
675
676         * src/GraphicsContext3DChromium.cpp:
677         * src/GraphicsContext3DInternal.h:
678
679 2011-01-24  Tony Chang  <tony@chromium.org>
680
681         Reviewed by James Robinson.
682
683         [chromium] turn off gyp circular dependency checking and roll chromium deps
684         https://bugs.webkit.org/show_bug.cgi?id=52935
685
686         * DEPS:
687         * gyp_webkit: Turn off gyp circular dependency checking on Linux
688             and Win since we don't do these checks in gyp_chromium.  It's
689             just making it harder for us to roll DEPS and have something
690             explode.
691
692 2011-01-24  Satish Sampath  <satish@chromium.org>
693
694         Reviewed by Csaba Osztrogon√°c.
695
696         Remove obsolete public/API method in chromium port
697         https://bugs.webkit.org/show_bug.cgi?id=53015
698
699         * public/WebSpeechInputController.h:
700         (WebKit::WebSpeechInputController::startRecognition): Removed obsolete method
701
702 2010-01-24  Kent Tamura  <tkent@chromium.org>
703
704         Reviewed by Darin Fisher.
705
706         [Chromium] Support icon loading for <input type=file>
707         https://bugs.webkit.org/show_bug.cgi?id=38982
708
709         Implement ChromeClientImpl::chooseIconForFiles(). It delegates loading
710         to WebViewClient::queryIconForFiles(), and an implementation of
711         WebViewClient::queryIconForFiles() loads an icon and passes it to a
712         FileChooser through WebIconLoadingCompletion.
713
714         * WebKit.gyp:
715         * public/WebIconLoadingCompletion.h: Added.
716         (WebKit::WebIconLoadingCompletion::~WebIconLoadingCompletion):
717         * public/WebViewClient.h:
718         (WebKit::WebViewClient::queryIconForFiles):
719         * src/ChromeClientImpl.cpp:
720         (WebKit::ChromeClientImpl::chooseIconForFiles):
721         * src/WebIconLoadingCompletionImpl.cpp: Added.
722         (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl):
723         (WebKit::WebIconLoadingCompletionImpl::~WebIconLoadingCompletionImpl):
724         (WebKit::WebIconLoadingCompletionImpl::didLoadIcon):
725         * src/WebIconLoadingCompletionImpl.h: Added.
726
727 2011-01-22  John Abd-El-Malek  <jam@chromium.org>
728
729         Reviewed by Adam Barth.
730
731         [chromium]: Fix WebScrollbarImpl not getting scroll events after recent scrollbar refactoring
732         https://bugs.webkit.org/show_bug.cgi?id=52967
733
734         * src/WebScrollbarImpl.cpp:
735         (WebKit::WebScrollbarImpl::horizontalScrollbar):
736         (WebKit::WebScrollbarImpl::verticalScrollbar):
737         * src/WebScrollbarImpl.h:
738
739 2011-01-21  Nikolas Zimmermann  <nzimmermann@rim.com>
740
741         Reviewed by Dirk Schulze.
742
743         Introduce FontMetrics abstraction
744         https://bugs.webkit.org/show_bug.cgi?id=51456
745
746         * src/ExternalPopupMenu.cpp: Use FontMetrics instead of Font to access the metrics.
747         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
748         * src/WebFontImpl.cpp: Ditto.
749         (WebKit::WebFontImpl::ascent):
750         (WebKit::WebFontImpl::descent):
751         (WebKit::WebFontImpl::height):
752         (WebKit::WebFontImpl::lineSpacing):
753         (WebKit::WebFontImpl::xHeight):
754
755 2011-01-21  Chris Rogers  <crogers@google.com>
756
757         Unreviewed
758
759         define HAS_WEBAUDIO_RUNTIMEFEATURES for synchronization with chromium patch landing
760         https://bugs.webkit.org/show_bug.cgi?id=52941
761
762         * public/WebRuntimeFeatures.h:
763
764 2011-01-21  Chris Rogers  <crogers@google.com>
765
766         Unreviewed
767
768         Add HAS_WEBAUDIO_FEATURE_ENABLE define to synchronize with chromium-side patch
769         https://bugs.webkit.org/show_bug.cgi?id=52939
770
771         * public/WebSettings.h:
772
773 2011-01-21  Charlie Reis  <creis@chromium.org>
774
775         Reviewed by Darin Fisher.
776
777         Crash in WebCore::HistoryController::itemsAreClones
778         https://bugs.webkit.org/show_bug.cgi?id=52819
779
780         Adds sanity checks to help diagnose the crash.
781
782         * src/WebFrameImpl.cpp:
783
784 2011-01-21  Chris Rogers  <crogers@google.com>
785
786         Reviewed by Darin Fisher.
787
788         Add run-time enable support for the web audio API
789         https://bugs.webkit.org/show_bug.cgi?id=52741
790
791         * public/WebRuntimeFeatures.h:
792         * public/WebSettings.h:
793         * src/WebRuntimeFeatures.cpp:
794         (WebKit::WebRuntimeFeatures::enableWebAudio):
795         (WebKit::WebRuntimeFeatures::isWebAudioEnabled):
796         * src/WebSettingsImpl.cpp:
797         (WebKit::WebSettingsImpl::setWebAudioEnabled):
798         * src/WebSettingsImpl.h:
799
800 2011-01-21  Ryosuke Niwa  <rniwa@webkit.org>
801
802         Unreviewed; another Chromium build fix attempt for r76378.
803
804         * src/WebScrollbarImpl.cpp:
805         (WebKit::WebScrollbar::create):
806         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
807         (WebKit::WebScrollbarImpl::setValue):
808
809 2011-01-21  Ryosuke Niwa  <rniwa@webkit.org>
810
811         Unreviewed Chromium build fix attempt for r76378.
812
813         * src/WebScrollbarImpl.cpp:
814         (WebKit::WebScrollbar::create):
815         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
816
817 2011-01-21  Chris Rogers  <crogers@google.com>
818
819         Reviewed by Kenneth Russell.
820
821         Add chromium bundled audio spatialization resources to WebAudio.grd
822         https://bugs.webkit.org/show_bug.cgi?id=52651
823
824         * WebKit.grd:
825
826 2011-01-21  Xiyuan Xia  <xiyuan@chromium.org>
827
828         Reviewed by Tony Chang.
829
830         Use WebThemeEngine for relevant RenderTheme parts for chromium/linux.
831         https://bugs.webkit.org/show_bug.cgi?id=52826
832
833         * WebKit.gyp:
834         * src/ChromiumBridge.cpp:
835         (WebCore::WebThemePart):
836         (WebCore::GetWebThemeExtraParams):
837
838 2011-01-21  Sam Weinig  <sam@webkit.org>
839
840         Reviewed by Anders Carlsson.
841
842         Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
843         https://bugs.webkit.org/show_bug.cgi?id=52779
844
845         Rename ScrollbarClient -> ScrollableArea.
846
847         * src/AutoFillPopupMenuClient.cpp:
848         (WebKit::AutoFillPopupMenuClient::createScrollbar):
849         * src/AutoFillPopupMenuClient.h:
850         * src/WebScrollbarImpl.cpp:
851         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
852         (WebKit::WebScrollbarImpl::scroll):
853         (WebKit::WebScrollbarImpl::onMouseWheel):
854         (WebKit::WebScrollbarImpl::onKeyDown):
855         * src/WebScrollbarImpl.h:
856         * tests/PopupMenuTest.cpp:
857         (WebKit::TestPopupMenuClient::createScrollbar):
858
859 2011-01-21  Sailesh Agrawal  <sail@chromium.org>
860
861         Reviewed by Ryosuke Niwa.
862
863         [chromium] Notify WebFrameClient when spellcheck state changes
864         https://bugs.webkit.org/show_bug.cgi?id=52680
865
866         * public/WebFrameClient.h:
867         (WebKit::WebFrameClient::continuousSpellCheckingEnabledStateChanged):
868         * src/EditorClientImpl.cpp:
869         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
870         * src/WebFrameImpl.cpp:
871
872 2011-01-21  Tony Chang  <tony@chromium.org>
873
874         Unreviewed, updating chromium DEPS so we can pull in linux theme changes.
875
876         * DEPS:
877
878 2011-01-21  Adam Klein  <adamk@chromium.org>
879
880         Reviewed by Eric Seidel.
881
882         [chromium] Rename ChromiumBridge to PlatformBridge
883         https://bugs.webkit.org/show_bug.cgi?id=52471
884
885         * WebKit.gyp:
886         * src/AssertMatchingEnums.cpp:
887         * src/PlatformBridge.cpp:
888         (WebCore::toChromeClientImpl):
889         (WebCore::toWebWidgetClient):
890         (WebCore::getCookieJar):
891         (WebCore::PlatformBridge::cacheMetadata):
892         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
893         (WebCore::PlatformBridge::clipboardReadPlainText):
894         (WebCore::PlatformBridge::clipboardReadHTML):
895         (WebCore::PlatformBridge::clipboardWriteSelection):
896         (WebCore::PlatformBridge::clipboardWritePlainText):
897         (WebCore::PlatformBridge::clipboardWriteURL):
898         (WebCore::PlatformBridge::clipboardWriteImage):
899         (WebCore::PlatformBridge::clipboardWriteData):
900         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
901         (WebCore::PlatformBridge::clipboardReadData):
902         (WebCore::PlatformBridge::clipboardReadFilenames):
903         (WebCore::PlatformBridge::setCookies):
904         (WebCore::PlatformBridge::cookies):
905         (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
906         (WebCore::PlatformBridge::rawCookies):
907         (WebCore::PlatformBridge::deleteCookie):
908         (WebCore::PlatformBridge::cookiesEnabled):
909         (WebCore::PlatformBridge::prefetchDNS):
910         (WebCore::PlatformBridge::fileExists):
911         (WebCore::PlatformBridge::deleteFile):
912         (WebCore::PlatformBridge::deleteEmptyDirectory):
913         (WebCore::PlatformBridge::getFileSize):
914         (WebCore::PlatformBridge::revealFolderInOS):
915         (WebCore::PlatformBridge::getFileModificationTime):
916         (WebCore::PlatformBridge::directoryName):
917         (WebCore::PlatformBridge::pathByAppendingComponent):
918         (WebCore::PlatformBridge::makeAllDirectories):
919         (WebCore::PlatformBridge::getAbsolutePath):
920         (WebCore::PlatformBridge::isDirectory):
921         (WebCore::PlatformBridge::filePathToURL):
922         (WebCore::PlatformBridge::openFile):
923         (WebCore::PlatformBridge::closeFile):
924         (WebCore::PlatformBridge::seekFile):
925         (WebCore::PlatformBridge::truncateFile):
926         (WebCore::PlatformBridge::readFromFile):
927         (WebCore::PlatformBridge::writeToFile):
928         (WebCore::PlatformBridge::ensureFontLoaded):
929         (WebCore::PlatformBridge::getFontFamilyForCharacters):
930         (WebCore::PlatformBridge::getRenderStyleForStrike):
931         (WebCore::PlatformBridge::loadFont):
932         (WebCore::PlatformBridge::databaseOpenFile):
933         (WebCore::PlatformBridge::databaseDeleteFile):
934         (WebCore::PlatformBridge::databaseGetFileAttributes):
935         (WebCore::PlatformBridge::databaseGetFileSize):
936         (WebCore::PlatformBridge::idbFactory):
937         (WebCore::PlatformBridge::idbShutdown):
938         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
939         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
940         (WebCore::PlatformBridge::computedDefaultLanguage):
941         (WebCore::PlatformBridge::layoutTestMode):
942         (WebCore::PlatformBridge::isSupportedImageMIMEType):
943         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
944         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
945         (WebCore::PlatformBridge::mimeTypeForExtension):
946         (WebCore::PlatformBridge::mimeTypeFromFile):
947         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
948         (WebCore::PlatformBridge::plugins):
949         (WebCore::PlatformBridge::pluginScriptableObject):
950         (WebCore::PlatformBridge::loadPlatformImageResource):
951         (WebCore::PlatformBridge::loadPlatformAudioResource):
952         (WebCore::PlatformBridge::decodeAudioFileData):
953         (WebCore::PlatformBridge::sandboxEnabled):
954         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
955         (WebCore::PlatformBridge::setSharedTimerFireTime):
956         (WebCore::PlatformBridge::stopSharedTimer):
957         (WebCore::PlatformBridge::decrementStatsCounter):
958         (WebCore::PlatformBridge::incrementStatsCounter):
959         (WebCore::PlatformBridge::histogramCustomCounts):
960         (WebCore::PlatformBridge::histogramEnumeration):
961         (WebCore::PlatformBridge::suddenTerminationChanged):
962         (WebCore::PlatformBridge::currentTime):
963         (WebCore::PlatformBridge::paintButton):
964         (WebCore::PlatformBridge::paintMenuList):
965         (WebCore::PlatformBridge::paintScrollbarArrow):
966         (WebCore::PlatformBridge::paintScrollbarThumb):
967         (WebCore::PlatformBridge::paintScrollbarTrack):
968         (WebCore::PlatformBridge::paintSpinButton):
969         (WebCore::PlatformBridge::paintTextField):
970         (WebCore::PlatformBridge::paintTrackbar):
971         (WebCore::PlatformBridge::paintProgressBar):
972         (WebCore::WebThemePart):
973         (WebCore::WebThemeState):
974         (WebCore::GetWebThemeExtraParams):
975         (WebCore::PlatformBridge::getThemePartSize):
976         (WebCore::PlatformBridge::paintThemePart):
977         (WebCore::PlatformBridge::traceEventBegin):
978         (WebCore::PlatformBridge::traceEventEnd):
979         (WebCore::PlatformBridge::visitedLinkHash):
980         (WebCore::PlatformBridge::isLinkVisited):
981         (WebCore::PlatformBridge::notifyJSOutOfMemory):
982         (WebCore::PlatformBridge::memoryUsageMB):
983         (WebCore::PlatformBridge::actualMemoryUsageMB):
984         (WebCore::PlatformBridge::screenDepth):
985         (WebCore::PlatformBridge::screenDepthPerComponent):
986         (WebCore::PlatformBridge::screenIsMonochrome):
987         (WebCore::PlatformBridge::screenRect):
988         (WebCore::PlatformBridge::screenAvailableRect):
989         (WebCore::PlatformBridge::popupsAllowed):
990         (WebCore::WorkerContextProxy::create):
991         * src/ResourceHandle.cpp:
992         (WebCore::ResourceHandle::cacheMetadata):
993         * src/WebFrameImpl.cpp:
994         (WebKit::WebFrameImpl::WebFrameImpl):
995         (WebKit::WebFrameImpl::~WebFrameImpl):
996         * src/WebViewImpl.cpp:
997         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
998
999 2011-01-20  Adam Klein  <adamk@chromium.org>
1000
1001         Reviewed by Andreas Kling.
1002
1003         [chromium] Remove deprecated WebKit::nameOfInputElement function
1004         https://bugs.webkit.org/show_bug.cgi?id=52824
1005
1006         * src/DOMUtilitiesPrivate.cpp:
1007         * src/DOMUtilitiesPrivate.h:
1008
1009 2011-01-20  Sam Weinig  <sam@webkit.org>
1010
1011         Reviewed by Dave Hyatt.
1012
1013         Cleanup Scrollbar/ScrollbarClient relationship
1014         https://bugs.webkit.org/show_bug.cgi?id=52779
1015
1016         * src/WebScrollbarImpl.cpp:
1017         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1018         (WebKit::WebScrollbarImpl::value):
1019         (WebKit::WebScrollbarImpl::setValue):
1020         (WebKit::WebScrollbarImpl::scroll):
1021         (WebKit::WebScrollbarImpl::onMouseDown):
1022         (WebKit::WebScrollbarImpl::onMouseMove):
1023         (WebKit::WebScrollbarImpl::onMouseWheel):
1024         (WebKit::WebScrollbarImpl::onKeyDown):
1025         (WebKit::WebScrollbarImpl::scrollPosition):
1026         (WebKit::WebScrollbarImpl::setScrollOffset):
1027         * src/WebScrollbarImpl.h:
1028
1029 2011-01-20  James Robinson  <jamesr@chromium.org>
1030
1031         Reviewed by Darin Fisher.
1032
1033         Implement mozilla's requestAnimationFrame API
1034         https://bugs.webkit.org/show_bug.cgi?id=51218
1035
1036         Chromium WebKit API support for window.webkitRequestAnimationFrame()
1037
1038         * features.gypi:
1039         * public/WebWidget.h:
1040         * public/WebWidgetClient.h:
1041         (WebKit::WebWidgetClient::scheduleAnimation):
1042         * src/ChromeClientImpl.cpp:
1043         (WebKit::ChromeClientImpl::scheduleAnimation):
1044         * src/ChromeClientImpl.h:
1045         * src/WebPopupMenuImpl.cpp:
1046         (WebKit::WebPopupMenuImpl::animate):
1047         (WebKit::WebPopupMenuImpl::scheduleAnimation):
1048         * src/WebPopupMenuImpl.h:
1049         * src/WebViewImpl.cpp:
1050         (WebKit::WebViewImpl::animate):
1051         * src/WebViewImpl.h:
1052
1053 2010-12-14  Yury Semikhatsky  <yurys@chromium.org>
1054
1055         Reviewed by Adam Barth.
1056
1057         [V8] Get rid of delayed exception reporting in V8ConsoleMessage.cpp
1058         https://bugs.webkit.org/show_bug.cgi?id=51044
1059
1060         * src/ChromeClientImpl.cpp:
1061         (WebKit::ChromeClientImpl::runJavaScriptAlert):
1062         * src/WebScriptController.cpp:
1063         (WebKit::WebScriptController::flushConsoleMessages):
1064
1065 2010-12-27  Yury Semikhatsky  <yurys@chromium.org>
1066
1067         Reviewed by Pavel Feldman.
1068
1069         WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
1070         https://bugs.webkit.org/show_bug.cgi?id=8519
1071
1072         Uncaught exceptions are propagated to window.onerror hander if one is present.
1073         The handler is expected to be a function accepting three arguments: error message,
1074         resource url and line number where the exception occured.
1075
1076         It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they
1077         were created in the same isolated world where the exception occured or not.
1078
1079         Tests: fast/events/window-onerror1.html
1080                fast/events/window-onerror10.html
1081                fast/events/window-onerror11.html
1082                fast/events/window-onerror12.html
1083                fast/events/window-onerror2.html
1084                fast/events/window-onerror3.html
1085                fast/events/window-onerror4.html
1086                fast/events/window-onerror5.html
1087                fast/events/window-onerror6.html
1088                fast/events/window-onerror7.html
1089                fast/events/window-onerror8.html
1090                fast/events/window-onerror9.html
1091                http/tests/security/window-onerror-exception-in-iframe.html
1092                userscripts/window-onerror-for-isolated-world-1.html
1093                userscripts/window-onerror-for-isolated-world-2.html
1094
1095         * src/WebWorkerClientImpl.cpp:
1096         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
1097         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
1098         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
1099         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
1100
1101 2011-01-19  Dmitry Titov  <dimich@chromium.org>
1102
1103         [Chromium] Unreviewed, build fix.
1104
1105         During revert of 76203, sheriffbot did not revert "rename+change" correctly.
1106
1107         * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
1108         (WebCore::toChromeClientImpl):
1109         (WebCore::toWebWidgetClient):
1110         (WebCore::getCookieJar):
1111         (WebCore::ChromiumBridge::cacheMetadata):
1112         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
1113         (WebCore::ChromiumBridge::clipboardReadPlainText):
1114         (WebCore::ChromiumBridge::clipboardReadHTML):
1115         (WebCore::ChromiumBridge::clipboardWriteSelection):
1116         (WebCore::ChromiumBridge::clipboardWritePlainText):
1117         (WebCore::ChromiumBridge::clipboardWriteURL):
1118         (WebCore::ChromiumBridge::clipboardWriteImage):
1119         (WebCore::ChromiumBridge::clipboardWriteData):
1120         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
1121         (WebCore::ChromiumBridge::clipboardReadData):
1122         (WebCore::ChromiumBridge::clipboardReadFilenames):
1123         (WebCore::ChromiumBridge::setCookies):
1124         (WebCore::ChromiumBridge::cookies):
1125         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
1126         (WebCore::ChromiumBridge::rawCookies):
1127         (WebCore::ChromiumBridge::deleteCookie):
1128         (WebCore::ChromiumBridge::cookiesEnabled):
1129         (WebCore::ChromiumBridge::prefetchDNS):
1130         (WebCore::ChromiumBridge::fileExists):
1131         (WebCore::ChromiumBridge::deleteFile):
1132         (WebCore::ChromiumBridge::deleteEmptyDirectory):
1133         (WebCore::ChromiumBridge::getFileSize):
1134         (WebCore::ChromiumBridge::revealFolderInOS):
1135         (WebCore::ChromiumBridge::getFileModificationTime):
1136         (WebCore::ChromiumBridge::directoryName):
1137         (WebCore::ChromiumBridge::pathByAppendingComponent):
1138         (WebCore::ChromiumBridge::makeAllDirectories):
1139         (WebCore::ChromiumBridge::getAbsolutePath):
1140         (WebCore::ChromiumBridge::isDirectory):
1141         (WebCore::ChromiumBridge::filePathToURL):
1142         (WebCore::ChromiumBridge::openFile):
1143         (WebCore::ChromiumBridge::closeFile):
1144         (WebCore::ChromiumBridge::seekFile):
1145         (WebCore::ChromiumBridge::truncateFile):
1146         (WebCore::ChromiumBridge::readFromFile):
1147         (WebCore::ChromiumBridge::writeToFile):
1148         (WebCore::ChromiumBridge::ensureFontLoaded):
1149         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
1150         (WebCore::ChromiumBridge::getRenderStyleForStrike):
1151         (WebCore::ChromiumBridge::loadFont):
1152         (WebCore::ChromiumBridge::databaseOpenFile):
1153         (WebCore::ChromiumBridge::databaseDeleteFile):
1154         (WebCore::ChromiumBridge::databaseGetFileAttributes):
1155         (WebCore::ChromiumBridge::databaseGetFileSize):
1156         (WebCore::ChromiumBridge::idbFactory):
1157         (WebCore::ChromiumBridge::idbShutdown):
1158         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1159         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
1160         (WebCore::ChromiumBridge::computedDefaultLanguage):
1161         (WebCore::ChromiumBridge::layoutTestMode):
1162         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
1163         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
1164         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
1165         (WebCore::ChromiumBridge::mimeTypeForExtension):
1166         (WebCore::ChromiumBridge::mimeTypeFromFile):
1167         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
1168         (WebCore::ChromiumBridge::plugins):
1169         (WebCore::ChromiumBridge::pluginScriptableObject):
1170         (WebCore::ChromiumBridge::loadPlatformImageResource):
1171         (WebCore::ChromiumBridge::loadPlatformAudioResource):
1172         (WebCore::ChromiumBridge::decodeAudioFileData):
1173         (WebCore::ChromiumBridge::sandboxEnabled):
1174         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
1175         (WebCore::ChromiumBridge::setSharedTimerFireTime):
1176         (WebCore::ChromiumBridge::stopSharedTimer):
1177         (WebCore::ChromiumBridge::decrementStatsCounter):
1178         (WebCore::ChromiumBridge::incrementStatsCounter):
1179         (WebCore::ChromiumBridge::histogramCustomCounts):
1180         (WebCore::ChromiumBridge::histogramEnumeration):
1181         (WebCore::ChromiumBridge::suddenTerminationChanged):
1182         (WebCore::ChromiumBridge::currentTime):
1183         (WebCore::ChromiumBridge::paintButton):
1184         (WebCore::ChromiumBridge::paintMenuList):
1185         (WebCore::ChromiumBridge::paintScrollbarArrow):
1186         (WebCore::ChromiumBridge::paintScrollbarThumb):
1187         (WebCore::ChromiumBridge::paintScrollbarTrack):
1188         (WebCore::ChromiumBridge::paintSpinButton):
1189         (WebCore::ChromiumBridge::paintTextField):
1190         (WebCore::ChromiumBridge::paintTrackbar):
1191         (WebCore::ChromiumBridge::paintProgressBar):
1192         (WebCore::WebThemePart):
1193         (WebCore::WebThemeState):
1194         (WebCore::GetWebThemeExtraParams):
1195         (WebCore::ChromiumBridge::getThemePartSize):
1196         (WebCore::ChromiumBridge::paintThemePart):
1197         (WebCore::ChromiumBridge::traceEventBegin):
1198         (WebCore::ChromiumBridge::traceEventEnd):
1199         (WebCore::ChromiumBridge::visitedLinkHash):
1200         (WebCore::ChromiumBridge::isLinkVisited):
1201         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
1202         (WebCore::ChromiumBridge::memoryUsageMB):
1203         (WebCore::ChromiumBridge::actualMemoryUsageMB):
1204         (WebCore::ChromiumBridge::screenDepth):
1205         (WebCore::ChromiumBridge::screenDepthPerComponent):
1206         (WebCore::ChromiumBridge::screenIsMonochrome):
1207         (WebCore::ChromiumBridge::screenRect):
1208         (WebCore::ChromiumBridge::screenAvailableRect):
1209         (WebCore::ChromiumBridge::popupsAllowed):
1210         (WebCore::WorkerContextProxy::create):
1211
1212 2011-01-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1213
1214         Unreviewed, rolling out r76203.
1215         http://trac.webkit.org/changeset/76203
1216         https://bugs.webkit.org/show_bug.cgi?id=52784
1217
1218         Broke Win compile on Chromium bots (Requested by dimich on
1219         #webkit).
1220
1221         * WebKit.gyp:
1222         * src/AssertMatchingEnums.cpp:
1223         * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
1224         (WebCore::toChromeClientImpl):
1225         (WebCore::toWebWidgetClient):
1226         (WebCore::getCookieJar):
1227         (WebCore::ChromiumBridge::cacheMetadata):
1228         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
1229         (WebCore::ChromiumBridge::clipboardReadPlainText):
1230         (WebCore::ChromiumBridge::clipboardReadHTML):
1231         (WebCore::ChromiumBridge::clipboardWriteSelection):
1232         (WebCore::ChromiumBridge::clipboardWritePlainText):
1233         (WebCore::ChromiumBridge::clipboardWriteURL):
1234         (WebCore::ChromiumBridge::clipboardWriteImage):
1235         (WebCore::ChromiumBridge::clipboardWriteData):
1236         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
1237         (WebCore::ChromiumBridge::clipboardReadData):
1238         (WebCore::ChromiumBridge::clipboardReadFilenames):
1239         (WebCore::ChromiumBridge::setCookies):
1240         (WebCore::ChromiumBridge::cookies):
1241         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
1242         (WebCore::ChromiumBridge::rawCookies):
1243         (WebCore::ChromiumBridge::deleteCookie):
1244         (WebCore::ChromiumBridge::cookiesEnabled):
1245         (WebCore::ChromiumBridge::prefetchDNS):
1246         (WebCore::ChromiumBridge::fileExists):
1247         (WebCore::ChromiumBridge::deleteFile):
1248         (WebCore::ChromiumBridge::deleteEmptyDirectory):
1249         (WebCore::ChromiumBridge::getFileSize):
1250         (WebCore::ChromiumBridge::revealFolderInOS):
1251         (WebCore::ChromiumBridge::getFileModificationTime):
1252         (WebCore::ChromiumBridge::directoryName):
1253         (WebCore::ChromiumBridge::pathByAppendingComponent):
1254         (WebCore::ChromiumBridge::makeAllDirectories):
1255         (WebCore::ChromiumBridge::getAbsolutePath):
1256         (WebCore::ChromiumBridge::isDirectory):
1257         (WebCore::ChromiumBridge::filePathToURL):
1258         (WebCore::ChromiumBridge::openFile):
1259         (WebCore::ChromiumBridge::closeFile):
1260         (WebCore::ChromiumBridge::seekFile):
1261         (WebCore::ChromiumBridge::truncateFile):
1262         (WebCore::ChromiumBridge::readFromFile):
1263         (WebCore::ChromiumBridge::writeToFile):
1264         (WebCore::ChromiumBridge::ensureFontLoaded):
1265         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
1266         (WebCore::ChromiumBridge::getRenderStyleForStrike):
1267         (WebCore::ChromiumBridge::loadFont):
1268         (WebCore::ChromiumBridge::databaseOpenFile):
1269         (WebCore::ChromiumBridge::databaseDeleteFile):
1270         (WebCore::ChromiumBridge::databaseGetFileAttributes):
1271         (WebCore::ChromiumBridge::databaseGetFileSize):
1272         (WebCore::ChromiumBridge::idbFactory):
1273         (WebCore::ChromiumBridge::idbShutdown):
1274         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1275         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
1276         (WebCore::ChromiumBridge::computedDefaultLanguage):
1277         (WebCore::ChromiumBridge::layoutTestMode):
1278         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
1279         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
1280         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
1281         (WebCore::ChromiumBridge::mimeTypeForExtension):
1282         (WebCore::ChromiumBridge::mimeTypeFromFile):
1283         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
1284         (WebCore::ChromiumBridge::plugins):
1285         (WebCore::ChromiumBridge::pluginScriptableObject):
1286         (WebCore::ChromiumBridge::loadPlatformImageResource):
1287         (WebCore::ChromiumBridge::loadPlatformAudioResource):
1288         (WebCore::ChromiumBridge::decodeAudioFileData):
1289         (WebCore::ChromiumBridge::sandboxEnabled):
1290         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
1291         (WebCore::ChromiumBridge::setSharedTimerFireTime):
1292         (WebCore::ChromiumBridge::stopSharedTimer):
1293         (WebCore::ChromiumBridge::decrementStatsCounter):
1294         (WebCore::ChromiumBridge::incrementStatsCounter):
1295         (WebCore::ChromiumBridge::histogramCustomCounts):
1296         (WebCore::ChromiumBridge::histogramEnumeration):
1297         (WebCore::ChromiumBridge::suddenTerminationChanged):
1298         (WebCore::ChromiumBridge::currentTime):
1299         (WebCore::ChromiumBridge::paintButton):
1300         (WebCore::ChromiumBridge::paintMenuList):
1301         (WebCore::ChromiumBridge::paintScrollbarArrow):
1302         (WebCore::ChromiumBridge::paintScrollbarThumb):
1303         (WebCore::ChromiumBridge::paintScrollbarTrack):
1304         (WebCore::ChromiumBridge::paintSpinButton):
1305         (WebCore::ChromiumBridge::paintTextField):
1306         (WebCore::ChromiumBridge::paintTrackbar):
1307         (WebCore::ChromiumBridge::paintProgressBar):
1308         (WebCore::WebThemePart):
1309         (WebCore::WebThemeState):
1310         (WebCore::GetWebThemeExtraParams):
1311         (WebCore::ChromiumBridge::getThemePartSize):
1312         (WebCore::ChromiumBridge::paintThemePart):
1313         (WebCore::ChromiumBridge::traceEventBegin):
1314         (WebCore::ChromiumBridge::traceEventEnd):
1315         (WebCore::ChromiumBridge::visitedLinkHash):
1316         (WebCore::ChromiumBridge::isLinkVisited):
1317         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
1318         (WebCore::ChromiumBridge::memoryUsageMB):
1319         (WebCore::ChromiumBridge::actualMemoryUsageMB):
1320         (WebCore::ChromiumBridge::screenDepth):
1321         (WebCore::ChromiumBridge::screenDepthPerComponent):
1322         (WebCore::ChromiumBridge::screenIsMonochrome):
1323         (WebCore::ChromiumBridge::screenRect):
1324         (WebCore::ChromiumBridge::screenAvailableRect):
1325         (WebCore::ChromiumBridge::popupsAllowed):
1326         (WebCore::WorkerContextProxy::create):
1327         * src/ResourceHandle.cpp:
1328         (WebCore::ResourceHandle::cacheMetadata):
1329         * src/WebFrameImpl.cpp:
1330         (WebKit::WebFrameImpl::WebFrameImpl):
1331         (WebKit::WebFrameImpl::~WebFrameImpl):
1332         * src/WebViewImpl.cpp:
1333         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1334
1335 2011-01-19  Adam Klein  <adamk@chromium.org>
1336
1337         Reviewed by Darin Fisher.
1338
1339         [chromium] Rename ChromiumBridge to PlatformBridge
1340         https://bugs.webkit.org/show_bug.cgi?id=52471
1341
1342         * WebKit.gyp:
1343         * src/AssertMatchingEnums.cpp:
1344         * src/PlatformBridge.cpp:
1345         (WebCore::toChromeClientImpl):
1346         (WebCore::toWebWidgetClient):
1347         (WebCore::getCookieJar):
1348         (WebCore::PlatformBridge::cacheMetadata):
1349         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
1350         (WebCore::PlatformBridge::clipboardReadPlainText):
1351         (WebCore::PlatformBridge::clipboardReadHTML):
1352         (WebCore::PlatformBridge::clipboardWriteSelection):
1353         (WebCore::PlatformBridge::clipboardWritePlainText):
1354         (WebCore::PlatformBridge::clipboardWriteURL):
1355         (WebCore::PlatformBridge::clipboardWriteImage):
1356         (WebCore::PlatformBridge::clipboardWriteData):
1357         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
1358         (WebCore::PlatformBridge::clipboardReadData):
1359         (WebCore::PlatformBridge::clipboardReadFilenames):
1360         (WebCore::PlatformBridge::setCookies):
1361         (WebCore::PlatformBridge::cookies):
1362         (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
1363         (WebCore::PlatformBridge::rawCookies):
1364         (WebCore::PlatformBridge::deleteCookie):
1365         (WebCore::PlatformBridge::cookiesEnabled):
1366         (WebCore::PlatformBridge::prefetchDNS):
1367         (WebCore::PlatformBridge::fileExists):
1368         (WebCore::PlatformBridge::deleteFile):
1369         (WebCore::PlatformBridge::deleteEmptyDirectory):
1370         (WebCore::PlatformBridge::getFileSize):
1371         (WebCore::PlatformBridge::revealFolderInOS):
1372         (WebCore::PlatformBridge::getFileModificationTime):
1373         (WebCore::PlatformBridge::directoryName):
1374         (WebCore::PlatformBridge::pathByAppendingComponent):
1375         (WebCore::PlatformBridge::makeAllDirectories):
1376         (WebCore::PlatformBridge::getAbsolutePath):
1377         (WebCore::PlatformBridge::isDirectory):
1378         (WebCore::PlatformBridge::filePathToURL):
1379         (WebCore::PlatformBridge::openFile):
1380         (WebCore::PlatformBridge::closeFile):
1381         (WebCore::PlatformBridge::seekFile):
1382         (WebCore::PlatformBridge::truncateFile):
1383         (WebCore::PlatformBridge::readFromFile):
1384         (WebCore::PlatformBridge::writeToFile):
1385         (WebCore::PlatformBridge::ensureFontLoaded):
1386         (WebCore::PlatformBridge::getFontFamilyForCharacters):
1387         (WebCore::PlatformBridge::getRenderStyleForStrike):
1388         (WebCore::PlatformBridge::loadFont):
1389         (WebCore::PlatformBridge::databaseOpenFile):
1390         (WebCore::PlatformBridge::databaseDeleteFile):
1391         (WebCore::PlatformBridge::databaseGetFileAttributes):
1392         (WebCore::PlatformBridge::databaseGetFileSize):
1393         (WebCore::PlatformBridge::idbFactory):
1394         (WebCore::PlatformBridge::idbShutdown):
1395         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1396         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
1397         (WebCore::PlatformBridge::computedDefaultLanguage):
1398         (WebCore::PlatformBridge::layoutTestMode):
1399         (WebCore::PlatformBridge::isSupportedImageMIMEType):
1400         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
1401         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
1402         (WebCore::PlatformBridge::mimeTypeForExtension):
1403         (WebCore::PlatformBridge::mimeTypeFromFile):
1404         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
1405         (WebCore::PlatformBridge::plugins):
1406         (WebCore::PlatformBridge::pluginScriptableObject):
1407         (WebCore::PlatformBridge::loadPlatformImageResource):
1408         (WebCore::PlatformBridge::loadPlatformAudioResource):
1409         (WebCore::PlatformBridge::decodeAudioFileData):
1410         (WebCore::PlatformBridge::sandboxEnabled):
1411         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
1412         (WebCore::PlatformBridge::setSharedTimerFireTime):
1413         (WebCore::PlatformBridge::stopSharedTimer):
1414         (WebCore::PlatformBridge::decrementStatsCounter):
1415         (WebCore::PlatformBridge::incrementStatsCounter):
1416         (WebCore::PlatformBridge::histogramCustomCounts):
1417         (WebCore::PlatformBridge::histogramEnumeration):
1418         (WebCore::PlatformBridge::suddenTerminationChanged):
1419         (WebCore::PlatformBridge::currentTime):
1420         (WebCore::PlatformBridge::paintButton):
1421         (WebCore::PlatformBridge::paintMenuList):
1422         (WebCore::PlatformBridge::paintScrollbarArrow):
1423         (WebCore::PlatformBridge::paintScrollbarThumb):
1424         (WebCore::PlatformBridge::paintScrollbarTrack):
1425         (WebCore::PlatformBridge::paintSpinButton):
1426         (WebCore::PlatformBridge::paintTextField):
1427         (WebCore::PlatformBridge::paintTrackbar):
1428         (WebCore::PlatformBridge::paintProgressBar):
1429         (WebCore::WebThemePart):
1430         (WebCore::WebThemeState):
1431         (WebCore::GetWebThemeExtraParams):
1432         (WebCore::PlatformBridge::getThemePartSize):
1433         (WebCore::PlatformBridge::paintThemePart):
1434         (WebCore::PlatformBridge::traceEventBegin):
1435         (WebCore::PlatformBridge::traceEventEnd):
1436         (WebCore::PlatformBridge::visitedLinkHash):
1437         (WebCore::PlatformBridge::isLinkVisited):
1438         (WebCore::PlatformBridge::notifyJSOutOfMemory):
1439         (WebCore::PlatformBridge::memoryUsageMB):
1440         (WebCore::PlatformBridge::actualMemoryUsageMB):
1441         (WebCore::PlatformBridge::screenDepth):
1442         (WebCore::PlatformBridge::screenDepthPerComponent):
1443         (WebCore::PlatformBridge::screenIsMonochrome):
1444         (WebCore::PlatformBridge::screenRect):
1445         (WebCore::PlatformBridge::screenAvailableRect):
1446         (WebCore::PlatformBridge::popupsAllowed):
1447         (WebCore::WorkerContextProxy::create):
1448         * src/ResourceHandle.cpp:
1449         (WebCore::ResourceHandle::cacheMetadata):
1450         * src/WebFrameImpl.cpp:
1451         (WebKit::WebFrameImpl::WebFrameImpl):
1452         (WebKit::WebFrameImpl::~WebFrameImpl):
1453         * src/WebViewImpl.cpp:
1454         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1455
1456 2011-01-19  James Robinson  <jamesr@chromium.org>
1457
1458         Unreviewed, rolling out r76194.
1459         http://trac.webkit.org/changeset/76194
1460         https://bugs.webkit.org/show_bug.cgi?id=51218
1461
1462         Caused mysterious compile failure on the chromium win
1463         build.webkit.org bots
1464
1465         * features.gypi:
1466         * public/WebWidget.h:
1467         * public/WebWidgetClient.h:
1468         * src/ChromeClientImpl.cpp:
1469         * src/ChromeClientImpl.h:
1470         * src/WebPopupMenuImpl.cpp:
1471         * src/WebPopupMenuImpl.h:
1472         * src/WebViewImpl.cpp:
1473         * src/WebViewImpl.h:
1474
1475 2011-01-19  James Robinson  <jamesr@chromium.org>
1476
1477         Reviewed by Darin Fisher.
1478
1479         Implement mozilla's requestAnimationFrame API
1480         https://bugs.webkit.org/show_bug.cgi?id=51218
1481
1482         Chromium WebKit API support for window.webkitRequestAnimationFrame()
1483
1484         * features.gypi:
1485         * public/WebWidget.h:
1486         * public/WebWidgetClient.h:
1487         (WebKit::WebWidgetClient::scheduleAnimation):
1488         * src/ChromeClientImpl.cpp:
1489         (WebKit::ChromeClientImpl::scheduleAnimation):
1490         * src/ChromeClientImpl.h:
1491         * src/WebPopupMenuImpl.cpp:
1492         (WebKit::WebPopupMenuImpl::animate):
1493         (WebKit::WebPopupMenuImpl::scheduleAnimation):
1494         * src/WebPopupMenuImpl.h:
1495         * src/WebViewImpl.cpp:
1496         (WebKit::WebViewImpl::animate):
1497         * src/WebViewImpl.h:
1498
1499 2011-01-19  Tony Chang  <tony@chromium.org>
1500
1501         Unreviewed, roll chromium deps to pick up fixes for the linux build.
1502
1503         * DEPS:
1504
1505 2011-01-19  Satish Sampath  <satish@chromium.org>
1506
1507         Reviewed by Jeremy Orlow.
1508
1509         Send origin/url as part of speech input requests to the embedder.
1510         https://bugs.webkit.org/show_bug.cgi?id=52718
1511
1512         * public/WebSpeechInputController.h:
1513         (WebKit::WebSpeechInputController::startRecognition): Updated prototype.
1514         * src/SpeechInputClientImpl.cpp:
1515         (WebKit::SpeechInputClientImpl::startRecognition): Pass up additional origin parameter.
1516         * src/SpeechInputClientImpl.h:
1517         * src/WebSpeechInputControllerMockImpl.cpp: Updated code to pass additional parameter.
1518         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1519         * src/WebSpeechInputControllerMockImpl.h: Added new variant of startRecognition method.
1520
1521 2011-01-19  Pavel Feldman  <pfeldman@chromium.org>
1522
1523         Not reviewed: updating Chromium devtools sanity tests for downstream use.
1524
1525         * src/js/Tests.js:
1526         (.TestSuite.prototype._checkExecutionLine):
1527
1528 2011-01-18  Pavel Feldman  <pfeldman@chromium.org>
1529
1530         Reviewed by Yury Semikhatsky.
1531
1532         Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol.
1533         https://bugs.webkit.org/show_bug.cgi?id=52652
1534
1535         Calls served by the InjectedScript should be first class protocol
1536         citizens, not dispatched via single protocol message.
1537
1538         * src/js/Tests.js:
1539
1540 2011-01-18  Victoria Kirst  <vrk@chromium.org>
1541
1542         Reviewed by Kenneth Russell.
1543
1544         [chromium] Adding support for YV16 video frame formats.
1545         https://bugs.webkit.org/show_bug.cgi?id=52345
1546
1547         * src/VideoFrameChromiumImpl.cpp:
1548         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
1549
1550 2011-01-18  Adam Klein  <adamk@chromium.org>
1551
1552         Reviewed by Darin Fisher.
1553
1554         [Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor
1555         https://bugs.webkit.org/show_bug.cgi?id=42236
1556
1557         * src/ChromeClientImpl.cpp:
1558         (WebKit::ChromeClientImpl::setCursor):
1559         * src/ChromeClientImpl.h:
1560         * src/ChromiumBridge.cpp:
1561
1562 2011-01-17  Nico Weber  <thakis@chromium.org>
1563
1564         Unreviewed.
1565
1566         Roll chromium DEPS forward to pick up the skia roll to skia r692.
1567         https://bugs.webkit.org/show_bug.cgi?id=52600
1568
1569         * DEPS:
1570
1571 2011-01-17  Naoki Takano  <takano.naoki@gmail.com>
1572
1573         Reviewed by Kent Tamura.
1574
1575         [Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field.
1576         https://bugs.webkit.org/show_bug.cgi?id=51382
1577         http://crbug.com/60427
1578
1579         Calculate correct location of popup window whenever the items in the window change.
1580
1581         No new tests, because this fix is for Chromium project and hard to test only in WebKit project
1582
1583        * WebKit/chromium/src/WebViewImpl.cpp:
1584        (WebKit::WebViewImpl::refreshAutoFillPopup): Change the logic in refreshAutoFilPopup() to check both the location and the size of popup window.
1585
1586 2011-01-17  Pavel Feldman  <pfeldman@chromium.org>
1587
1588         Reviewed by Yury Semikhatsky.
1589
1590         Chromium: updated DevTools tests.
1591
1592         * src/js/Tests.js:
1593         (.TestSuite.prototype._waitForScriptPause):
1594         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1595         (.TestSuite.prototype._waitUntilScriptsAreParsed):
1596
1597 2011-01-17  Adam Barth  <abarth@webkit.org>
1598
1599         Update path to reflect new WebKit directory location.
1600
1601         * tests/WebFrameTest.cpp:
1602         (WebKit::WebFrameTest::registerMockedURLLoad):
1603
1604 2011-01-16  Kent Tamura  <tkent@chromium.org>
1605
1606         Unreviewed, Chromium-linux build fix.
1607
1608         * gyp_webkit: Fix a relative path to the top directory.
1609
1610 2011-01-16  Adam Barth  <abarth@webkit.org>
1611
1612         Roll Chromium DEPS to pick up the changes reflecting the new location
1613         of WebKit.
1614
1615         * DEPS:
1616
1617 2011-01-16  Adam Barth  <abarth@webkit.org>
1618
1619         Rubber-stamped by Eric Seidel.
1620
1621         Move WebKit into Source
1622         https://bugs.webkit.org/show_bug.cgi?id=52530
1623
1624         * WebKit.grd:
1625         * WebKit.gyp:
1626
1627 2011-01-15  Jochen Eisinger  <jochen@chromium.org>
1628
1629         Reviewed by David Levin.
1630
1631         [chromium] remove obsolete createView method
1632         https://bugs.webkit.org/show_bug.cgi?id=52437
1633
1634         * public/WebViewClient.h:
1635         (WebKit::WebViewClient::createView):
1636
1637 2011-01-14  Xiyuan Xia  <xiyuan@chromium.org>
1638
1639         Reviewed by Darin Fisher.
1640
1641         Prepare Linux WebThemeEngine interface to support new theme parts.
1642         https://bugs.webkit.org/show_bug.cgi?id=52413
1643
1644         * public/linux/WebThemeEngine.h:
1645
1646 2011-01-14  Yuzo Fujishima  <yuzo@google.com>
1647
1648         Reviewed by Antti Koivisto.
1649
1650         Rename cache() to memoryCache()
1651         https://bugs.webkit.org/show_bug.cgi?id=52433
1652
1653         * src/WebCache.cpp:
1654         (WebKit::WebCache::setCapacities):
1655         (WebKit::WebCache::clear):
1656         (WebKit::WebCache::getUsageStats):
1657         (WebKit::WebCache::getResourceTypeStats):
1658
1659 2011-01-14  Jochen Eisinger  <jochen@chromium.org>
1660
1661         Unreviewed, roll chromium deps to r71432.
1662
1663         * DEPS:
1664
1665 2011-01-14  Adam Klein  <adamk@chromium.org>
1666
1667         Reviewed by Darin Fisher.
1668
1669         [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList
1670         https://bugs.webkit.org/show_bug.cgi?id=42237
1671
1672         Replace Chromium-specific BackForwardListClient in WebCore with a Chromium impl
1673         of the BackForwardList interface.
1674
1675         * WebKit.gyp:
1676         * src/BackForwardListChromium.cpp: Copied from WebKit/chromium/src/BackForwardListClientImpl.cpp.
1677         (WebKit::BackForwardListChromium::create):
1678         (WebKit::BackForwardListChromium::BackForwardListChromium):
1679         (WebKit::BackForwardListChromium::~BackForwardListChromium):
1680         (WebKit::BackForwardListChromium::addItem):
1681         (WebKit::BackForwardListChromium::goToItem):
1682         (WebKit::BackForwardListChromium::itemAtIndex):
1683         (WebKit::BackForwardListChromium::backListCount):
1684         (WebKit::BackForwardListChromium::forwardListCount):
1685         (WebKit::BackForwardListChromium::isActive):
1686         (WebKit::BackForwardListChromium::close):
1687         * src/BackForwardListChromium.h: Copied from WebKit/chromium/src/BackForwardListClientImpl.h.
1688         * src/BackForwardListClientImpl.cpp: Removed.
1689         * src/BackForwardListClientImpl.h: Removed.
1690         * src/FrameLoaderClientImpl.cpp:
1691         * src/WebFrameImpl.cpp:
1692         (WebKit::WebFrameImpl::loadHistoryItem):
1693         (WebKit::WebFrameImpl::currentHistoryItem):
1694         * src/WebViewImpl.cpp:
1695         (WebKit::WebViewImpl::WebViewImpl):
1696         * src/WebViewImpl.h:
1697
1698 2011-01-14  Kent Tamura  <tkent@chromium.org>
1699
1700         Reviewed by Darin Fisher.
1701
1702         [Chromium] WebKit API: Add a function for form interactive validation setting
1703         https://bugs.webkit.org/show_bug.cgi?id=52430
1704
1705         * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled().
1706         * src/WebSettingsImpl.cpp:
1707         (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented.
1708         * src/WebSettingsImpl.h: Add a declaration.
1709
1710 2011-01-14  Vincent Scheib  <scheib@chromium.org>
1711
1712         Reviewed by David Levin.
1713
1714         Add support to DumpRenderTree to use the GPU rather than software renderer
1715         https://bugs.webkit.org/show_bug.cgi?id=52333
1716
1717         * DEPS: Moved forward to take required support from webkit_support.h
1718         * WebKit.gyp: DumpRenderTree depends on Angle on windows
1719
1720 2011-01-14  Finnur Thorarinsson  <finnur.webkit@gmail.com>
1721
1722         Reviewed by Ojan Vafai.
1723
1724         Address some user-select-none issues better in our Find in page scoping
1725         function.
1726
1727         The scoping function is in part based on Editor::countMatchesForText
1728         (formerly Frame::markAllMatchesForText), but was rewritten with
1729         asychronous search and interruptability in mind. At the time the
1730         function was written, countMatchesForText didn't work well with
1731         user-select-none style but that has now changed. While
1732         investigating http://crbug.com/68494 I noticed WebKit had fixed this
1733         very problem in the countMatchesForText and I believe we should make
1734         the same changes in our platform code. Therefore, this changelist
1735         adopts the same approach by integrating:
1736         https://bugs.webkit.org/show_bug.cgi?id=33508
1737         (r53142: handling user-select-none better) and
1738         https://bugs.webkit.org/show_bug.cgi?id=51623
1739         (r74886: handling match within textfield better).
1740         For more details see those changelists.
1741
1742         This changelist, however, is tracked here:
1743         https://bugs.webkit.org/show_bug.cgi?id=52367
1744
1745         The original changelists did not come with layout tests, but I'm adding
1746         a test on the Chromium side for this.
1747
1748         * src/WebFrameImpl.cpp:
1749         (WebKit::WebFrameImpl::scopeStringMatches):
1750
1751 2011-01-14  Pavel Feldman  <pfeldman@chromium.org>
1752
1753         Not reviewed: build fix.
1754
1755         * src/WebDevToolsAgentImpl.h:
1756
1757 2011-01-13  John Abd-El-Malek  <jam@chromium.org>
1758
1759         Reviewed by Mihai Parparita.
1760
1761         [chromium] Fix minor type in plugin printing
1762         https://bugs.webkit.org/show_bug.cgi?id=52410
1763
1764         * src/WebFrameImpl.cpp:
1765         (WebKit::WebFrameImpl::printBegin):
1766
1767 2011-01-13  Adam Barth  <abarth@webkit.org>
1768
1769         Reviewed by Eric Seidel.
1770
1771         Rename RGBA32Buffer to ImageFrame
1772         https://bugs.webkit.org/show_bug.cgi?id=52363
1773
1774         Update references to the new name.
1775
1776         * src/WebImageDecoder.cpp:
1777         (WebKit::WebImageDecoder::isFrameCompleteAtIndex):
1778         (WebKit::WebImageDecoder::getFrameAtIndex):
1779
1780 2011-01-13  John Abd-El-Malek  <jam@chromium.org>
1781
1782         Reviewed by Tony Chang.
1783
1784         [chromium]: Only swallow ctrl+c for windowless plugins if we know the plugin has a selection
1785         https://bugs.webkit.org/show_bug.cgi?id=52393
1786
1787         * src/WebPluginContainerImpl.cpp:
1788         (WebKit::WebPluginContainerImpl::copy):
1789         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1790
1791 2011-01-11  John Abd-El-Malek  <jam@chromium.org>
1792
1793         Reviewed by Darin Fisher.
1794
1795         [chromium] Add support to allow printing just a plugin in a frame
1796         https://bugs.webkit.org/show_bug.cgi?id=52134
1797
1798         * public/WebContextMenuData.h:
1799         * public/WebFrame.h:
1800         * src/ContextMenuClientImpl.cpp:
1801         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1802         * src/WebFrameImpl.cpp:
1803         (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
1804         (WebKit::ChromePluginPrintContext::end):
1805         (WebKit::ChromePluginPrintContext::computePageRects):
1806         (WebKit::ChromePluginPrintContext::spoolPage):
1807         (WebKit::WebFrameImpl::printBegin):
1808
1809 2011-01-13  Tony Chang  <tony@chromium.org>
1810
1811         Reviewed by Kent Tamura.
1812
1813         [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
1814         https://bugs.webkit.org/show_bug.cgi?id=52332
1815
1816         * WebKit.gyp: Remove WebKitTestNetscapePlugIn
1817
1818 2011-01-12  Pavel Feldman  <pfeldman@chromium.org>
1819
1820         Reviewed by Yury Semikhatsky.
1821
1822         Web Inspector: embed injected script into the backend.
1823         https://bugs.webkit.org/show_bug.cgi?id=52312
1824
1825         * WebKit.grd:
1826
1827 2011-01-12  Mihai Parparita  <mihaip@chromium.org>
1828
1829         Reviewed by David Levin.
1830
1831         [Chromium] Remove PartScrollbarHoriztonalTrack
1832         https://bugs.webkit.org/show_bug.cgi?id=52329
1833         
1834         Remove PartScrollbarHoriztonalTrack now that usages of it were removed
1835         with http://crrev.com/71249.
1836
1837         * DEPS:
1838         * public/linux/WebThemeEngine.h:
1839
1840 2010-12-29  Yury Semikhatsky  <yurys@chromium.org>
1841
1842         Reviewed by Pavel Feldman.
1843
1844         inspector/timeline-network-resource.html fails when run twice
1845         https://bugs.webkit.org/show_bug.cgi?id=37394
1846
1847         Send didReceiveResponse notification to the timeline agent from ResourceLoadNotifier
1848         instead of ResourceLoader::didReceiveResponse to cover the cases when resources
1849         are loaded from memory cache.
1850
1851         Network notifications are now sent to InspectorInstrumentation which dispatches
1852         them to interested agents and InspectorController.
1853
1854         * src/SharedWorkerRepository.cpp:
1855         (WebCore::SharedWorkerScriptLoader::notifyFinished):
1856         * src/WebDevToolsAgentImpl.cpp:
1857         (WebKit::WebDevToolsAgentImpl::mainFrame):
1858         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
1859         (WebKit::WebDevToolsAgentImpl::willSendRequest):
1860         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1861         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
1862         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
1863         (WebKit::WebDevToolsAgentImpl::didFailLoading):
1864         * src/WebDevToolsAgentImpl.h:
1865
1866 2011-01-11  Tony Chang  <tony@chromium.org>
1867
1868         Reviewed by Eric Seidel.
1869
1870         [chromium] copy test netscape plugin into TestNetscapePlugin
1871         https://bugs.webkit.org/show_bug.cgi?id=52232
1872
1873         * WebKit.gyp: Make a copy of the TestNetscapePlugIn in
1874             TestNetscapePlugIn and WebKitTestNetscapePlugIn
1875
1876 2011-01-11  Kenneth Russell  <kbr@google.com>
1877
1878         Reviewed by James Robinson.
1879
1880         [chromium] Move WebGraphicsContext3DDefaultImpl to Chromium repository
1881         https://bugs.webkit.org/show_bug.cgi?id=52235
1882
1883         Deleted WebGraphicsContext3DDefaultImpl, which has been moved to
1884         the Chromium repository under WebGraphicsContext3DInProcessImpl.
1885         Removed WebGraphicsContext3D::createDefault(). Rolled forward
1886         Chromium version to pick up needed changes.
1887
1888         Tested with build-webkit --chromium --debug and a run of the WebGL
1889         layout tests in DRT.
1890
1891         * DEPS:
1892         * WebKit.gyp:
1893         * public/WebGraphicsContext3D.h:
1894         * src/GraphicsContext3DChromium.cpp:
1895         * src/WebGraphicsContext3D.cpp: Removed.
1896         * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
1897         * src/WebGraphicsContext3DDefaultImpl.h: Removed.
1898
1899 2011-01-11  Pavel Feldman  <pfeldman@chromium.org>
1900
1901         Reviewed by Yury Semikhatsky.
1902
1903         Chromium DevTools: get rid of APU-related code in WebKit/chromium.
1904         https://bugs.webkit.org/show_bug.cgi?id=52152
1905
1906         * src/WebDevToolsAgentImpl.cpp:
1907         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1908         (WebKit::WebDevToolsAgentImpl::detach):
1909         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
1910         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
1911         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
1912         * src/WebDevToolsAgentImpl.h:
1913
1914 2011-01-10  Adam Barth  <abarth@webkit.org>
1915
1916         Reviewed by Darin Adler.
1917
1918         Introduce the notion of a "display-isolated" URL scheme for use by
1919         Chrome-internal URLs
1920         https://bugs.webkit.org/show_bug.cgi?id=50182
1921
1922         This patch adds a Chromium API for registering schemes as
1923         display-isolated.  In a subsequent patch, I'll change the "chrome"
1924         scheme in Chrome to be display isolated instead of local.  That will
1925         prevent file URLs from linking to chrome URLs.
1926
1927         * public/WebSecurityPolicy.h:
1928         * src/WebSecurityPolicy.cpp:
1929         (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
1930
1931 2011-01-10  John Abd-El-Malek  <jam@chromium.org>
1932
1933         Reviewed by James Robinson.
1934
1935         [chromium] Call WebAutoFillClient instead of WebViewClient for autofill related callbacks
1936         https://bugs.webkit.org/show_bug.cgi?id=52169
1937
1938         * public/WebView.h:
1939         * public/WebViewClient.h:
1940         (WebKit::WebViewClient::didUpdateInspectorSetting):
1941         * src/AutoFillPopupMenuClient.cpp:
1942         (WebKit::AutoFillPopupMenuClient::valueChanged):
1943         (WebKit::AutoFillPopupMenuClient::selectionChanged):
1944         (WebKit::AutoFillPopupMenuClient::selectionCleared):
1945         (WebKit::AutoFillPopupMenuClient::popupDidHide):
1946         * src/EditorClientImpl.cpp:
1947         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
1948         (WebKit::EditorClientImpl::textFieldDidEndEditing):
1949         (WebKit::EditorClientImpl::textDidChangeInTextField):
1950         (WebKit::EditorClientImpl::doAutofill):
1951         (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
1952         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
1953         * src/WebViewImpl.cpp:
1954         (WebKit::WebView::create):
1955         (WebKit::WebViewImpl::WebViewImpl):
1956         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
1957         * src/WebViewImpl.h:
1958         (WebKit::WebViewImpl::autoFillClient):
1959         * src/WebWorkerBase.cpp:
1960         (WebKit::WebWorkerBase::initializeLoader):
1961
1962 2011-01-10  John Knottenbelt  <jknotten@chromium.org>
1963
1964         Reviewed by Jeremy Orlow.
1965
1966         [Chromium] Remove non-client-based Geolocation code
1967         https://bugs.webkit.org/show_bug.cgi?id=50921
1968
1969         * WebKit.gyp:
1970         * public/WebGeolocationService.h: Removed.
1971         * public/WebGeolocationServiceBridge.h: Removed.
1972         * public/WebGeolocationServiceMock.h: Removed.
1973         * src/AssertMatchingEnums.cpp:
1974         * src/ChromeClientImpl.cpp:
1975         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
1976         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
1977         * src/ChromiumBridge.cpp:
1978         * src/WebGeolocationServiceBridgeImpl.cpp: Removed.
1979         * src/WebGeolocationServiceBridgeImpl.h: Removed.
1980         * src/WebGeolocationServiceMock.cpp: Removed.
1981         * src/WebViewImpl.cpp:
1982         (WebKit::WebViewImpl::WebViewImpl):
1983         * src/WebViewImpl.h:
1984
1985 2011-01-09  Johnny Ding  <jnd@chromium.org>
1986
1987         Unreviewed, fix Chromium windows compilation error according to James Robinson's report.
1988
1989         https://bugs.webkit.org/show_bug.cgi?id=41441
1990         Fix Chromium window compilation error.
1991
1992         * public/WebViewClient.h:
1993         (WebKit::WebViewClient::createView):
1994
1995 2011-01-09  Xianzhu Wang  <phnixwxz@gmail.com>
1996
1997         Reviewed by Darin Fisher.
1998
1999         https://bugs.webkit.org/show_bug.cgi?id=41441
2000         createWindow method should only do window-creating without URL navigation.
2001         Pass URL request to createView.
2002
2003         * public/WebViewClient.h:
2004         (WebKit::WebViewClient::createView):
2005         * src/ChromeClientImpl.cpp:
2006         (WebKit::ChromeClientImpl::createWindow):
2007
2008 2011-01-08  Adam Barth  <abarth@webkit.org>
2009
2010         Update Chromium DEPS to pickup new GYP files.
2011
2012         * DEPS:
2013
2014 2011-01-07  Adam Barth  <abarth@webkit.org>
2015
2016         Rubber-stamped by Eric Seidel.
2017
2018         Move WebCore to Source
2019         https://bugs.webkit.org/show_bug.cgi?id=52050
2020
2021         Update references to WebCore.
2022
2023         * WebKit.grd:
2024         * WebKit.gyp:
2025
2026 2011-01-07  Mihai Parparita  <mihaip@chromium.org>
2027
2028         Reviewed by Darin Fisher.
2029
2030         [Chromium] Scrollbar code cleanup
2031         https://bugs.webkit.org/show_bug.cgi?id=52073
2032
2033         Scrollbar code cleanup:
2034         - Fix typo in Linux scrollbar enum name
2035
2036         * public/linux/WebThemeEngine.h:
2037         * src/ChromiumBridge.cpp:
2038         (WebCore::WebThemePart):
2039         (WebCore::GetWebThemeExtraParams):
2040
2041 2011-01-07  James Robinson  <jamesr@chromium.org>
2042
2043         Revert "Implement mozilla's animationTime property"
2044         https://bugs.webkit.org/show_bug.cgi?id=51952
2045
2046         This approach isn't quite right.
2047
2048         * public/WebWidget.h:
2049         * src/WebPopupMenuImpl.cpp:
2050         * src/WebPopupMenuImpl.h:
2051         * src/WebViewImpl.cpp:
2052         * src/WebViewImpl.h:
2053
2054 2011-01-05  Zhenyao Mo  <zmo@google.com>
2055
2056         Reviewed by Kenneth Russell.
2057
2058         Define GC3D types to match GL types and use them in GraphicsContext3D
2059         https://bugs.webkit.org/show_bug.cgi?id=45557
2060
2061         * src/GraphicsContext3DChromium.cpp:
2062         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
2063         (WebCore::GraphicsContext3DInternal::bufferData):
2064         (WebCore::GraphicsContext3DInternal::bufferSubData):
2065         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
2066         (WebCore::GraphicsContext3DInternal::getActiveUniform):
2067         (WebCore::GraphicsContext3DInternal::getAttribLocation):
2068         (WebCore::GraphicsContext3DInternal::getString):
2069         (WebCore::GraphicsContext3DInternal::getUniformLocation):
2070         (WebCore::GraphicsContext3DInternal::texImage2D):
2071         (WebCore::GraphicsContext3DInternal::texSubImage2D):
2072         (WebCore::GraphicsContext3DInternal::uniform1fv):
2073         (WebCore::GraphicsContext3DInternal::uniform1iv):
2074         (WebCore::GraphicsContext3DInternal::uniform2fv):
2075         (WebCore::GraphicsContext3DInternal::uniform2iv):
2076         (WebCore::GraphicsContext3DInternal::uniform3fv):
2077         (WebCore::GraphicsContext3DInternal::uniform3iv):
2078         (WebCore::GraphicsContext3DInternal::uniform4fv):
2079         (WebCore::GraphicsContext3DInternal::uniform4iv):
2080         (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
2081         (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
2082         (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
2083         * src/GraphicsContext3DInternal.h:
2084
2085 2011-01-06  James Simonsen  <simonjam@chromium.org>
2086
2087         Reviewed by Darin Fisher.
2088
2089         [Web Timing] Remove vendor prefix
2090         https://bugs.webkit.org/show_bug.cgi?id=48922
2091
2092         * src/WebFrameImpl.cpp:
2093         (WebKit::WebFrameImpl::performance): Rename to performance.
2094
2095 2011-01-06  James Robinson  <jamesr@chromium.org>
2096
2097         Reviewed by Simon Fraser.
2098
2099         Implement mozilla's animationTime property
2100         https://bugs.webkit.org/show_bug.cgi?id=51952
2101
2102         WebKit API support for webkitAnimationTime.
2103
2104         * public/WebWidget.h:
2105         * src/WebPopupMenuImpl.cpp:
2106         (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
2107         * src/WebPopupMenuImpl.h:
2108         * src/WebViewImpl.cpp:
2109         (WebKit::WebViewImpl::clearCurrentAnimationTime):
2110         * src/WebViewImpl.h:
2111
2112 2010-12-29  John Abd-El-Malek  <jam@chromium.org>
2113
2114         Reviewed by Darin Fisher.
2115
2116         [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient
2117         https://bugs.webkit.org/show_bug.cgi?id=51710
2118
2119         * WebKit.gyp:
2120         * public/WebAutoFillClient.h: Added.
2121         (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion):
2122         (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion):
2123         (WebKit::WebAutoFillClient::didClearAutoFillSelection):
2124         (WebKit::WebAutoFillClient::removeAutocompleteSugestion):
2125         (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion):
2126         (WebKit::WebAutoFillClient::textFieldDidBeginEditing):
2127         (WebKit::WebAutoFillClient::textFieldDidEndEditing):
2128         (WebKit::WebAutoFillClient::textFieldDidChange):
2129         (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown):
2130         (WebKit::WebAutoFillClient::~WebAutoFillClient):
2131
2132 2011-01-05  Chris Rogers  <crogers@google.com>
2133
2134         Reviewed by Darin Fisher.
2135
2136         Add WebKitClient::createAudioDevice() for Chromium port of web audio API
2137         https://bugs.webkit.org/show_bug.cgi?id=51424
2138
2139         * WebKit.gyp:
2140         * public/WebAudioDevice.h: Added.
2141         (WebKit::WebAudioDevice::RenderCallback::~RenderCallback):
2142         (WebKit::WebAudioDevice::~WebAudioDevice):
2143         * public/WebKitClient.h:
2144         (WebKit::WebKitClient::createAudioDevice):
2145         * src/AudioDestinationChromium.cpp: Added.
2146         (WebCore::AudioDestination::create):
2147         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2148         (WebCore::AudioDestinationChromium::~AudioDestinationChromium):
2149         (WebCore::AudioDestinationChromium::start):
2150         (WebCore::AudioDestinationChromium::stop):
2151         (WebCore::AudioDestination::hardwareSampleRate):
2152         (WebCore::AudioDestinationChromium::render):
2153         * src/AudioDestinationChromium.h: Added.
2154         (WebCore::AudioDestinationChromium::isPlaying):
2155         (WebCore::AudioDestinationChromium::sampleRate):
2156
2157 2011-01-05  David Levin  <levin@chromium.org>
2158
2159         Reviewed by Darin Fisher.
2160
2161         [chromium] WEBKIT_API and styling fixes for the chromium api.
2162         https://bugs.webkit.org/show_bug.cgi?id=51863
2163
2164         Removed some incorrect uses of WEBKIT_API.
2165         Fixed some abbreviations by making them whole words.
2166
2167         * public/WebAnimationController.h: Removed WEBKIT_API from virtual functions.
2168         * public/WebFormElement.h: Removed WEBKIT_API from inline functions
2169         and fixed some abbreviations.
2170         (WebKit::WebFormElement::WebFormElement):
2171         (WebKit::WebFormElement::operator=):
2172         (WebKit::WebFormElement::assign):
2173         * public/WebIDBDatabaseError.h: Ditto.
2174         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
2175         (WebKit::WebIDBDatabaseError::operator=):
2176         * public/WebInputElement.h: Ditto.
2177         (WebKit::WebInputElement::WebInputElement):
2178         (WebKit::WebInputElement::operator=):
2179         (WebKit::WebInputElement::assign):
2180         * public/WebLabelElement.h: Ditto.
2181         (WebKit::WebLabelElement::WebLabelElement):
2182         (WebKit::WebLabelElement::operator=):
2183         (WebKit::WebLabelElement::assign):
2184         * public/WebOptionElement.h: Ditto.
2185         (WebKit::WebOptionElement::WebOptionElement):
2186         (WebKit::WebOptionElement::operator=):
2187         (WebKit::WebOptionElement::assign):
2188         * public/WebSelectElement.h: Ditto (and minor spacing cleanup).
2189         (WebKit::WebSelectElement::WebSelectElement):
2190         (WebKit::WebSelectElement::operator=):
2191         (WebKit::WebSelectElement::assign):
2192
2193 2011-01-05  Hans Wennborg  <hans@chromium.org>
2194
2195         Reviewed by David Levin.
2196
2197         [Chromium] WebIDBKey clean-up
2198         https://bugs.webkit.org/show_bug.cgi?id=51925
2199
2200         Remove constructors that are no longer used since the
2201         Chromium side has been updated.
2202
2203         * public/WebIDBKey.h:
2204
2205 2011-01-04  Darin Fisher  <darin@chromium.org>
2206
2207         Reviewed by David Levin.
2208
2209         Update README file with a description of the WEBKIT_API macro and
2210         guidelines for its usage.  Also document the various WEBKIT_USING_*
2211         macros.
2212
2213         https://bugs.webkit.org/show_bug.cgi?id=51880
2214
2215         * README:
2216
2217 2011-01-04  Evan Martin  <evan@chromium.org>
2218
2219         Reviewed by Tony Chang.
2220
2221         [chromium] depend on harfbuzz explicitly
2222         https://bugs.webkit.org/show_bug.cgi?id=51895
2223
2224         Update Chromium DEPS to pick up newer Chromium version
2225         that simplifies expressing the Harfbuzz dependency.
2226
2227         * DEPS:
2228
2229 2011-01-04  Zhe Su  <suzhe@chromium.org>
2230
2231         Reviewed by Kenneth Russell.
2232
2233         Changes:
2234         1. Add WebKit::WebWidget::confirmComposition(const WebString& text)
2235            This new method corresponds to Editor::confirmComposition(text) and
2236            Editor::insertText(text). It'll be used by both DumpRenderTree's
2237            TextInputController and chromium browser.
2238         2. Fix WebFrameImpl::insertText
2239            It should call Editor::confirmComposition(text) rather than
2240            Editor::insertText(text) if there is an ongoing composition.
2241            It matches the behavior of WebKit Mac port.
2242         3. Fix WebFrameImpl::setMarkedText
2243            Editor::confirmComposition(text) shouldn't be called in this
2244            method, which incorrectly inserts the text.
2245
2246         https://bugs.webkit.org/show_bug.cgi?id=51693
2247
2248         * public/WebWidget.h:
2249         * src/WebFrameImpl.cpp:
2250         (WebKit::WebFrameImpl::insertText):
2251         (WebKit::WebFrameImpl::setMarkedText):
2252         * src/WebPopupMenuImpl.cpp:
2253         (WebKit::WebPopupMenuImpl::confirmComposition):
2254         * src/WebPopupMenuImpl.h:
2255         * src/WebViewImpl.cpp:
2256         (WebKit::WebViewImpl::confirmComposition):
2257         * src/WebViewImpl.h:
2258         * tests/PopupMenuTest.cpp:
2259         (WebKit::TestWebWidget::confirmComposition):
2260
2261 2011-01-03  Daniel Bates  <dbates@rim.com>
2262
2263         Attempt to fix the Chromium Linux Release build after changeset 74895 <http://trac.webkit.org/changeset/74895>.
2264
2265         The portion of the patch in <https://bugs.webkit.org/show_bug.cgi?id=51791> that modified the
2266         file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry
2267         associated with this change was landed.
2268
2269         * src/WebSearchableFormData.cpp:
2270         (HTMLNames::IsInDefaultState):
2271
2272 2011-01-02  Dirk Schulze  <krit@webkit.org>
2273
2274         Reviewed by Simon Fraser.
2275
2276         Clarify ImageBuffer and ImageData relationship
2277         https://bugs.webkit.org/show_bug.cgi?id=51297
2278
2279         Use ByteArray instead of ImageData.
2280
2281         * src/WebViewImpl.cpp:
2282         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2283
2284 2011-01-01  Adam Barth  <abarth@webkit.org>
2285
2286         Reviewed by Eric Seidel.
2287
2288         Move JavaScriptCore to Source
2289         https://bugs.webkit.org/show_bug.cgi?id=51604
2290
2291         * WebKit.gyp:
2292           - Point to JavaScriptCore in its new location.
2293
2294 2010-12-30  Mihai Parparita  <mihaip@chromium.org>
2295
2296         Reviewed by Kent Tamura.
2297
2298         [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
2299         https://bugs.webkit.org/show_bug.cgi?id=51728
2300         
2301         Roll DEPS to pick up WebThemeEngine changes.
2302
2303         * DEPS:
2304
2305 2010-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2306
2307         Unreviewed, rolling out r74735.
2308         http://trac.webkit.org/changeset/74735
2309         https://bugs.webkit.org/show_bug.cgi?id=51715
2310
2311         assert failures on fast/forms/input-maxlength-ime-
2312         completed.html (Requested by mihaip on #webkit).
2313
2314         * src/WebFrameImpl.cpp:
2315         (WebKit::WebFrameImpl::setMarkedText):
2316
2317 2010-12-29  Zhe Su  <suzhe@chromium.org>
2318
2319         Reviewed by Eric Seidel.
2320
2321         Fix editing/input/ime-composition-clearpreedit.html test in chromium
2322         by removing the line "editor->confirmComposition(text);" from
2323         WebFrameImpl::setMarkedText() method, because that line will insert the
2324         text into the focused node, which is apparently wrong.
2325
2326         https://bugs.webkit.org/show_bug.cgi?id=51693
2327
2328         * src/WebFrameImpl.cpp:
2329         (WebKit::WebFrameImpl::setMarkedText):
2330
2331 2010-12-23  Zhenyao Mo  <zmo@google.com>
2332
2333         Reviewed by Kenneth Russell.
2334
2335         Initialize to 0 for undefined values in CopyTexImage2D
2336         https://bugs.webkit.org/show_bug.cgi?id=51421
2337
2338         * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize().
2339         (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
2340         * src/GraphicsContext3DInternal.h:
2341
2342 2010-12-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2343
2344         Unreviewed, rolling out r74561.
2345         http://trac.webkit.org/changeset/74561
2346         https://bugs.webkit.org/show_bug.cgi?id=51565
2347
2348         "Broke Chromium UI tests on Vista" (Requested by kbr_google on
2349         #webkit).
2350
2351         * src/GraphicsContext3DChromium.cpp:
2352         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2353
2354 2010-12-23  Mihai Parparita  <mihaip@chromium.org>
2355
2356         Reviewed by Kent Tamura.
2357
2358         [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
2359         https://bugs.webkit.org/show_bug.cgi?id=51507
2360         
2361         Adds WebThemeEngine for the Mac (it already has parallel definitions for
2362         Windows and Linux) so that scrollbar thumb rendering can be overridden
2363         for the DRT (to be consistent with the NSScroller-based rendering
2364         used by the Mac port).        
2365
2366         * public/mac/WebThemeEngine.h: Added.
2367         (WebKit::WebThemeEngine::paintScrollbarThumb):
2368         * src/AssertMatchingEnums.cpp:
2369         * src/ChromiumBridge.cpp:
2370         (WebCore::ChromiumBridge::paintScrollbarThumb):
2371
2372 2010-12-23  Sam Weinig  <sam@webkit.org>
2373
2374         Fix build.
2375
2376         * src/FrameLoaderClientImpl.cpp:
2377         (WebKit::FrameLoaderClientImpl::didSaveToPageCache):
2378         (WebKit::FrameLoaderClientImpl::didRestoreFromPageCache):
2379
2380 2010-12-22  Sam Weinig  <sam@webkit.org>
2381
2382         Reviewed by Darin Adler.
2383
2384         WebKit2 needs to mirror the frame tree in the UIProcess
2385         https://bugs.webkit.org/show_bug.cgi?id=51546
2386
2387         - Add client functions to notify that a frame has been added or
2388           removed from the page cache.
2389
2390         * src/FrameLoaderClientImpl.cpp:
2391         (WebKit::WebFrameLoaderClientImpl::didSaveToPageCache):
2392         (WebKit::WebFrameLoaderClientImpl::didRestoreFromPageCache):
2393         * src/FrameLoaderClientImpl.h:
2394
2395 2010-12-20  Adrienne Walker  <enne@google.com>
2396
2397         Reviewed by Kenneth Russell.
2398
2399         [chromium] Tile root layer of the compositor.
2400         https://bugs.webkit.org/show_bug.cgi?id=49947
2401
2402         Refactor root layer logic out of WebViewImpl and into
2403         LayerTilerChromium.  The painting is now done through an interface
2404         rather than directly in WebViewImpl.
2405
2406         * src/WebViewImpl.cpp:
2407         (WebKit::WebViewImpl::scrollRootLayerRect):
2408         (WebKit::WebViewImpl::invalidateRootLayerRect):
2409         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2410         (WebKit::WebViewImplTilePaintInterface::WebViewImplTilePaintInterface):
2411         (WebKit::WebViewImplTilePaintInterface::paint):
2412         (WebKit::WebViewImplScrollbarPaintInterface::WebViewImplScrollbarPaintInterface):
2413         (WebKit::WebViewImplScrollbarPaintInterface::paint):
2414         (WebKit::WebViewImpl::doComposite):
2415         * src/WebViewImpl.h:
2416
2417 2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
2418
2419         Reviewed by Eric Seidel.
2420
2421         Editor.h doesn't need to include SelectionController.h
2422         https://bugs.webkit.org/show_bug.cgi?id=51441
2423
2424         Renamed SelectionController::EDirection to SelectionDirection.
2425
2426         * src/WebFrameImpl.cpp:
2427         (WebKit::WebFrameImpl::executeCommand):
2428
2429 2010-12-23  W. James MacLean  <wjmaclean@chromium.org>
2430
2431         Reviewed by Kenneth Russell.
2432
2433         [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
2434         https://bugs.webkit.org/show_bug.cgi?id=51186
2435
2436         Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
2437
2438         * src/GraphicsContext3DChromium.cpp:
2439         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2440
2441 2010-12-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2442
2443         Unreviewed, rolling out r74503.
2444         http://trac.webkit.org/changeset/74503
2445         https://bugs.webkit.org/show_bug.cgi?id=51513
2446
2447         breaks chromium mac debug compile (Requested by tonyg-cr on
2448         #webkit).
2449
2450         * src/GraphicsContext3DChromium.cpp:
2451         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2452
2453 2010-12-22  W. James MacLean  <wjmaclean@chromium.org>
2454
2455         Reviewed by Kenneth Russell.
2456
2457         [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
2458         https://bugs.webkit.org/show_bug.cgi?id=51186
2459
2460         Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
2461
2462         * src/GraphicsContext3DChromium.cpp:
2463         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2464
2465 2010-12-21  Zhenyao Mo  <zmo@google.com>
2466
2467         Reviewed by Kenneth Russell.
2468
2469         WebGLRenderingContext needs to zero textures and renderbuffers
2470         https://bugs.webkit.org/show_bug.cgi?id=49355
2471
2472         * src/WebGraphicsContext3DDefaultImpl.cpp:
2473         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in.
2474
2475 2010-12-20  Andrei Popescu  <andreip@google.com>
2476
2477         Reviewed by Jeremy Orlow.
2478
2479         IDBCursor::delete is not implemented.
2480         https://bugs.webkit.org/show_bug.cgi?id=51110
2481
2482         * public/WebIDBCursor.h:
2483         (WebKit::WebIDBCursor::remove):
2484         (WebKit::WebIDBCursor::deleteFunction):
2485         * src/IDBCursorBackendProxy.cpp:
2486         (WebCore::IDBCursorBackendProxy::deleteFunction):
2487         * src/IDBCursorBackendProxy.h:
2488         * src/WebIDBCursorImpl.cpp:
2489         (WebKit::WebIDBCursorImpl::deleteFunction):
2490         * src/WebIDBCursorImpl.h:
2491
2492 2010-12-18  Tony Gentilcore  <tonyg@chromium.org>
2493
2494         Reviewed by Laszlo Gombos.
2495
2496         [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
2497         https://bugs.webkit.org/show_bug.cgi?id=50943
2498
2499         Exposes all dom* times to the chromium port. I'm particularly interested in
2500         domContentLoadedEventEnd as it compares to the FinishDoc metric.
2501
2502         * public/WebPerformance.h:
2503         * src/WebPerformance.cpp:
2504         (WebKit::WebPerformance::domLoading):
2505         (WebKit::WebPerformance::domInteractive):
2506         (WebKit::WebPerformance::domContentLoadedEventStart):
2507         (WebKit::WebPerformance::domContentLoadedEventEnd):
2508         (WebKit::WebPerformance::domComplete):
2509
2510 2010-12-17  Tony Gentilcore  <tonyg@chromium.org>
2511
2512         Unreviewed, build fix.
2513
2514         Add WebKitTools -> Tools rename that got missed.
2515
2516         * WebKit.gyp:
2517
2518 2010-12-17  Dirk Pranke  <dpranke@chromium.org>
2519
2520         Unreviewed, build fix.
2521
2522         Add WebKitTools -> Tools rename that got missed.
2523
2524         * WebKit.gyp:
2525
2526 2010-12-17  John Knottenbelt  <jknotten@chromium.org>
2527
2528         Reviewed by Jeremy Orlow.
2529
2530         Fix test failures where NULL GeolocationClient is provided
2531         https://bugs.webkit.org/show_bug.cgi?id=51256
2532
2533         * src/GeolocationClientProxy.cpp:
2534         (WebKit::GeolocationClientProxy::geolocationDestroyed):
2535
2536 2010-12-17  Hans Wennborg  <hans@chromium.org>
2537
2538         Reviewed by Jeremy Orlow.
2539
2540         IndexedDB: Support Date objects as keys.
2541         https://bugs.webkit.org/show_bug.cgi?id=51193
2542
2543         Update to match the underlying WebCore IDBKey class:
2544         add the DateType, add create() functions for each type,
2545         deprecate the public constructors (will be removed once
2546         Chromium side is updated).
2547
2548         * public/WebIDBKey.h:
2549         (WebKit::WebIDBKey::WebIDBKey):
2550         * src/AssertMatchingEnums.cpp:
2551         * src/WebIDBKey.cpp:
2552         (WebKit::WebIDBKey::createString):
2553         (WebKit::WebIDBKey::createDate):
2554         (WebKit::WebIDBKey::createNumber):
2555         (WebKit::WebIDBKey::assignNull):
2556         (WebKit::WebIDBKey::assignString):
2557         (WebKit::WebIDBKey::assignDate):
2558         (WebKit::WebIDBKey::assignNumber):
2559         (WebKit::WebIDBKey::date):
2560
2561 2010-12-17  James Simonsen  <simonjam@chromium.org>
2562
2563         Reviewed by Darin Fisher.
2564
2565         [Web Timing] Navigation type enums should begin with TYPE_
2566         https://bugs.webkit.org/show_bug.cgi?id=51200
2567
2568         * src/WebPerformance.cpp:
2569         (WebKit::WebPerformance::navigationType): Added TYPE_ to navigation types.
2570
2571 2010-12-16  John Knottenbelt  <jknotten@chromium.org>
2572
2573         Reviewed by Jeremy Orlow.
2574
2575         Enable client-based geolocation in Chromium
2576         https://bugs.webkit.org/show_bug.cgi?id=50562
2577
2578         * features.gypi:
2579
2580 2010-12-16  Hans Wennborg  <hans@chromium.org>
2581
2582         Reviewed by Jeremy Orlow.
2583
2584         IndexedDB: Fix IDBDatabaseError code offset bug
2585         https://bugs.webkit.org/show_bug.cgi?id=51177
2586
2587         WebIDBDatabaseError must use the
2588         IDBDatabaseError::createWithoutOffset() function.
2589
2590         * src/WebIDBDatabaseError.cpp:
2591         (WebKit::WebIDBDatabaseError::assign):
2592
2593 2010-12-15  Chris Guillory  <chris.guillory@google.com>
2594
2595         Reviewed by Darin Fisher.
2596
2597         Expose AccessibilityObject::url() to Chromium
2598         https://bugs.webkit.org/show_bug.cgi?id=51046
2599
2600         * public/WebAccessibilityObject.h:
2601         * src/WebAccessibilityObject.cpp:
2602         (WebKit::WebAccessibilityObject::url):
2603
2604 2010-12-14  Darin Fisher  <darin@chromium.org>
2605
2606         Reviewed by Dimitri Glazkov.
2607
2608         [chromium] AssociatedURLLoader leaks m_realLoader to its WebURLLoaderClient.
2609         https://bugs.webkit.org/show_bug.cgi?id=51062
2610
2611         * src/AssociatedURLLoader.cpp: Intercept WebURLLoaderClient methods and
2612         forward |this| as the WebURLLoader parameter.
2613         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2614         (WebKit::AssociatedURLLoader::loadSynchronously):
2615         (WebKit::AssociatedURLLoader::loadAsynchronously):
2616         (WebKit::AssociatedURLLoader::willSendRequest):
2617         (WebKit::AssociatedURLLoader::didSendData):
2618         (WebKit::AssociatedURLLoader::didReceiveResponse):
2619         (WebKit::AssociatedURLLoader::didDownloadData):
2620         (WebKit::AssociatedURLLoader::didReceiveData):
2621         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
2622         (WebKit::AssociatedURLLoader::didFinishLoading):
2623         (WebKit::AssociatedURLLoader::didFail):
2624         * src/AssociatedURLLoader.h:
2625
2626 2010-12-14  Mihai Parparita  <mihaip@chromium.org>
2627
2628         Reviewed by Dimitri Glazkov.
2629
2630         Move asynchronous event dispatching out of Document
2631         https://bugs.webkit.org/show_bug.cgi?id=49785
2632         
2633         Change enqueueEvent callsite.
2634
2635         * src/StorageAreaProxy.cpp:
2636         (WebCore::StorageAreaProxy::storageEvent):
2637
2638 2010-12-13  Mike Lawther  <mikelawther@chromium.org>
2639
2640         Reviewed by James Robinson.
2641
2642         Update chromium DEPS to pull in latest Skia
2643         https://bugs.webkit.org/show_bug.cgi?id=50984
2644
2645         Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558) 
2646
2647         * DEPS:
2648
2649 2010-12-13  David Holloway  <dhollowa@chromium.org>
2650
2651         Reviewed by Eric Seidel.
2652
2653         [chromium] Removes deprecated logic following the consolidation of AutoFill and
2654         Autocomplete popup menu handling (https://bugs.webkit.org/show_bug.cgi?id=41236).
2655         Filling of the form fields is now handled completely on the Chromium side, for
2656         both AutoFill and Autocomplete.
2657
2658         https://bugs.webkit.org/show_bug.cgi?id=41822
2659
2660         * public/WebView.h:
2661         * src/AutoFillPopupMenuClient.cpp:
2662         (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
2663         (WebKit::AutoFillPopupMenuClient::valueChanged):
2664         * src/AutoFillPopupMenuClient.h:
2665         * src/WebViewImpl.cpp:
2666         (WebKit::WebViewImpl::applyAutoFillSuggestions):
2667         * src/WebViewImpl.h:
2668
2669 2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
2670
2671         Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.
2672
2673         REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
2674         https://bugs.webkit.org/show_bug.cgi?id=50950
2675
2676         * src/WebWorkerClientImpl.cpp:
2677         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
2678         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
2679         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
2680         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
2681
2682 2010-12-13  Ilya Tikhonovsky  <loislo@chromium.org>
2683
2684         Reviewed by Yury Semikhatsky.
2685
2686         Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
2687
2688         Debugger and Resources related notification functions of Inspector.idl were
2689         marked as such with help of "domain" attribute. The other changes in js files
2690         are reflecting this change. Some wrappers in WebInspector namespace were dropped,
2691         the others were moved to DebuggerModel class.
2692
2693         https://bugs.webkit.org/show_bug.cgi?id=50906
2694
2695         * src/js/Tests.js:
2696         (.TestSuite.prototype._waitForScriptPause):
2697         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
2698         (.TestSuite.prototype._waitUntilScriptsAreParsed):
2699
2700 2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
2701
2702         Reviewed by Adam Barth.
2703
2704         WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
2705         https://bugs.webkit.org/show_bug.cgi?id=8519
2706
2707         Uncaught exceptions are propagated to window.onerror hander if one is present.
2708         The handler is expected to be a function accepting three arguments: error message,
2709         resource url and line number where the exception occured.
2710
2711         * src/WebWorkerClientImpl.cpp:
2712         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
2713         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
2714
2715 2010-12-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2716
2717         Unreviewed, rolling out r73898.
2718         http://trac.webkit.org/changeset/73898
2719         https://bugs.webkit.org/show_bug.cgi?id=50919
2720
2721         FileSystem and Database API's were broken (Requested by loislo
2722         on #webkit).
2723
2724         * src/js/Tests.js:
2725         (.TestSuite.prototype._waitForScriptPause):
2726
2727 2010-12-13  Ilya Tikhonovsky  <loislo@chromium.org>
2728
2729         Reviewed by Yury Semikhatsky.
2730
2731         Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
2732
2733         Debugger and Resources related notification functions of Inspector.idl were
2734         marked as such with help of "domain" attribute. The other changes in js files
2735         are reflecting this change. Some wrappers in WebInspector namespace were dropped,
2736         the others were moved to DebuggerModel class.
2737
2738         https://bugs.webkit.org/show_bug.cgi?id=50906
2739
2740         * src/js/Tests.js:
2741         (.TestSuite.prototype._waitForScriptPause):
2742
2743 2010-10-28  MORITA Hajime  <morrita@google.com>
2744
2745         Reviewed by Ojan Vafai.
2746
2747         spellcheck does not check pasted text
2748         https://bugs.webkit.org/show_bug.cgi?id=40092
2749
2750         Added a stub implememntation.
2751
2752         * src/EditorClientImpl.h:
2753         (WebKit::EditorClientImpl::requestCheckingOfString):
2754
2755 2010-12-10  Chris Fleizach  <cfleizach@apple.com>
2756
2757         Reviewed by Darin Adler.
2758
2759         AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
2760         https://bugs.webkit.org/show_bug.cgi?id=50574
2761
2762         * src/WebAccessibilityObject.cpp:
2763         (WebKit::WebAccessibilityObject::hitTest):
2764
2765 2010-12-10  Zhenyao Mo  <zmo@google.com>
2766
2767         Reviewed by Adam Barth.
2768
2769         Use enums instead of booleans in ImageSource/ImageDecoder constructors
2770         https://bugs.webkit.org/show_bug.cgi?id=50818
2771
2772         * src/WebImageDecoder.cpp:
2773         (WebKit::WebImageDecoder::init): Use enums instead of boolean in ImageDecoder constructor.
2774
2775 2010-12-10  Kenneth Russell  <kbr@google.com>
2776
2777         Reviewed by James Robinson.
2778
2779         Implement extension entry points and remove EXTENSIONS enum
2780         https://bugs.webkit.org/show_bug.cgi?id=40316
2781
2782         Added support for ensuring that a particular OpenGL extension is
2783         enabled.
2784
2785         * public/WebGraphicsContext3D.h:
2786         * src/Extensions3DChromium.cpp:
2787         (WebCore::Extensions3DChromium::ensureEnabled):
2788         * src/GraphicsContext3DChromium.cpp:
2789         (WebCore::GraphicsContext3DInternal::initializeExtensions):
2790         (WebCore::GraphicsContext3DInternal::supportsExtension):
2791         (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
2792         * src/GraphicsContext3DInternal.h:
2793         * src/WebGraphicsContext3DDefaultImpl.cpp:
2794         (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM):
2795         (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM):
2796         * src/WebGraphicsContext3DDefaultImpl.h:
2797
2798 2010-12-10  John Knottenbelt  <jknotten@chromium.org>
2799
2800         Reviewed by Steve Block.
2801
2802         [Chromium] Implement mocks for client-based geolocation
2803         https://bugs.webkit.org/show_bug.cgi?id=46895
2804
2805         * WebKit.gyp:
2806         * public/WebGeolocationClientMock.h: Added.
2807         (WebKit::WebGeolocationClientMock::~WebGeolocationClientMock):
2808         (WebKit::WebGeolocationClientMock::WebGeolocationClientMock):
2809         * src/WebGeolocationClientMock.cpp: Added.
2810         (WebKit::WebGeolocationClientMock::create):
2811         (WebKit::WebGeolocationClientMock::initialize):
2812         (WebKit::WebGeolocationClientMock::reset):
2813         (WebKit::WebGeolocationClientMock::setMockGeolocationPosition):
2814         (WebKit::WebGeolocationClientMock::setMockGeolocationError):
2815         (WebKit::WebGeolocationClientMock::setMockGeolocationPermission):
2816         (WebKit::WebGeolocationClientMock::resetMock):
2817         (WebKit::WebGeolocationClientMock::startUpdating):
2818         (WebKit::WebGeolocationClientMock::stopUpdating):
2819         (WebKit::WebGeolocationClientMock::setEnableHighAccuracy):
2820         (WebKit::WebGeolocationClientMock::geolocationDestroyed):
2821         (WebKit::WebGeolocationClientMock::setController):
2822         (WebKit::WebGeolocationClientMock::lastPosition):
2823         (WebKit::WebGeolocationClientMock::requestPermission):
2824         (WebKit::WebGeolocationClientMock::cancelPermissionRequest):
2825         * src/WebGeolocationServiceMock.cpp:
2826
2827 2010-12-10  John Knottenbelt  <jknotten@chromium.org>
2828
2829         Reviewed by Steve Block.
2830
2831         [chromium] Implement client based geolocation bindings
2832         https://bugs.webkit.org/show_bug.cgi?id=45752
2833
2834         Implements the necessary plumbing to expose client-based geolocation in Chromium
2835         webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*)
2836         in the future.
2837
2838         * WebKit.gyp:
2839         * public/WebGeolocationClient.h: Added.
2840         (WebKit::WebGeolocationClient::~WebGeolocationClient):
2841         * public/WebGeolocationController.h: Added.
2842         (WebKit::WebGeolocationController::WebGeolocationController):
2843         (WebKit::WebGeolocationController::reset):
2844         * public/WebGeolocationError.h:
2845         * public/WebGeolocationPermissionRequest.h: Added.
2846         (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest):
2847         (WebKit::WebGeolocationPermissionRequest::geolocation):
2848         * public/WebGeolocationPermissionRequestManager.h: Added.
2849         (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager):
2850         (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager):
2851         * public/WebGeolocationPosition.h:
2852         * public/WebViewClient.h:
2853         (WebKit::WebViewClient::geolocationClient):
2854         * src/ChromeClientImpl.cpp:
2855         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
2856         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
2857         * src/GeolocationClientProxy.cpp: Added.
2858         (WebKit::GeolocationClientProxy::GeolocationClientProxy):
2859         (WebKit::GeolocationClientProxy::~GeolocationClientProxy):
2860         (WebKit::GeolocationClientProxy::setController):
2861         (WebKit::GeolocationClientProxy::geolocationDestroyed):
2862         (WebKit::GeolocationClientProxy::startUpdating):
2863         (WebKit::GeolocationClientProxy::stopUpdating):
2864         (WebKit::GeolocationClientProxy::setEnableHighAccuracy):
2865         (WebKit::GeolocationClientProxy::lastPosition):
2866         (WebKit::GeolocationClientProxy::requestPermission):
2867         (WebKit::GeolocationClientProxy::cancelPermissionRequest):
2868         * src/GeolocationClientProxy.h: Added.
2869         * src/WebGeolocationController.cpp: Added.
2870         (WebKit::WebGeolocationController::positionChanged):
2871         (WebKit::WebGeolocationController::errorOccurred):
2872         (WebKit::WebGeolocationController::controller):
2873         * src/WebGeolocationPermissionRequest.cpp: Added.
2874         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
2875         (WebKit::WebGeolocationPermissionRequest::setIsAllowed):
2876         * src/WebGeolocationPermissionRequestManager.cpp: Added.
2877         (WebGeolocationPermissionRequestManager::add):
2878         (WebGeolocationPermissionRequestManager::remove):
2879         (WebGeolocationPermissionRequestManager::init):
2880         (WebGeolocationPermissionRequestManager::reset):
2881         * src/WebViewImpl.cpp:
2882         (WebKit::WebViewImpl::WebViewImpl):
2883         * src/WebViewImpl.h:
2884
2885 2010-12-10  Hans Wennborg  <hans@chromium.org>
2886
2887         Reviewed by Jeremy Orlow.
2888
2889         IndexedDB: Numeric keys are floats.
2890         https://bugs.webkit.org/show_bug.cgi?id=50674
2891
2892         Represent numeric keys as floating point values.
2893
2894         * public/WebIDBKey.h:
2895         (WebKit::WebIDBKey::WebIDBKey):
2896         * src/WebIDBKey.cpp:
2897         (WebKit::WebIDBKey::assign):
2898         (WebKit::WebIDBKey::number):
2899
2900 2010-12-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2901
2902         Unreviewed, rolling out r73616.
2903         http://trac.webkit.org/changeset/73616
2904         https://bugs.webkit.org/show_bug.cgi?id=50772
2905
2906         Breaks chromium win build (Requested by hwennborg on #webkit).
2907
2908         * public/WebIDBKey.h:
2909         (WebKit::WebIDBKey::WebIDBKey):
2910         * src/WebIDBKey.cpp:
2911         (WebKit::WebIDBKey::assign):
2912         (WebKit::WebIDBKey::number):
2913
2914 2010-12-09  Hans Wennborg  <hans@chromium.org>
2915
2916         Reviewed by Jeremy Orlow.
2917
2918         IndexedDB: Numeric keys are floats.
2919         https://bugs.webkit.org/show_bug.cgi?id=50674
2920
2921         Represent numeric keys as floating point values.
2922
2923         * public/WebIDBKey.h:
2924         (WebKit::WebIDBKey::WebIDBKey):
2925         * src/WebIDBKey.cpp:
2926         (WebKit::WebIDBKey::assign):
2927         (WebKit::WebIDBKey::number):
2928
2929 2010-12-07  Brian Weinstein  <bweinstein@apple.com>
2930
2931         Reviewed by John Sullivan.
2932
2933         Layering Violation in ContextMenu - member variable of type HitTestResult
2934         https://bugs.webkit.org/show_bug.cgi?id=50586
2935         
2936         Update users of ContextMenu and ContextMenuController to match where the new functions 
2937         are located.
2938
2939         * src/ContextMenuClientImpl.cpp:
2940         (WebKit::selectMisspelledWord):
2941         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2942
2943 2010-12-06  Darin Adler  <darin@apple.com>
2944
2945         Reviewed by Sam Weinig.
2946
2947         Pass security origin to make local file decision correctly
2948         https://bugs.webkit.org/show_bug.cgi?id=48603
2949
2950         * src/ApplicationCacheHost.cpp:
2951         (WebCore::ApplicationCacheHost::selectCacheWithManifest): Pass security origin.
2952         * src/FrameLoaderClientImpl.cpp:
2953         (WebKit::FrameLoaderClientImpl::dispatchCreatePage): Ditto.
2954         (WebKit::FrameLoaderClientImpl::createFrame): Ditto.
2955         * src/WebPluginContainerImpl.cpp:
2956         (WebKit::WebPluginContainerImpl::loadFrameRequest): Ditto.
2957
2958 2010-12-07  Martin Robinson  <mrobinson@igalia.com>
2959
2960         Unreviewed, rolling out r73392.
2961         http://trac.webkit.org/changeset/73392
2962         https://bugs.webkit.org/show_bug.cgi?id=50489
2963
2964         This commit caused crashes on the GTK+ bots
2965
2966         * src/ContextMenuClientImpl.cpp:
2967         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2968         * src/FrameLoaderClientImpl.cpp:
2969         (WebKit::FrameLoaderClientImpl::finishedLoading):
2970         * src/WebFrameImpl.cpp:
2971         (WebKit::WebFrameImpl::encoding):
2972         (WebKit::WebFrameImpl::loadJavaScriptURL):
2973         * src/WebPageSerializerImpl.cpp:
2974         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
2975         (WebKit::WebPageSerializerImpl::serialize):
2976         * src/WebSearchableFormData.cpp:
2977         (WebCore::GetFormEncoding):
2978         * src/WebViewImpl.cpp:
2979         (WebKit::WebViewImpl::pageEncoding):
2980
2981 2010-12-07  Kenichi Ishibashi  <bashi@google.com>
2982
2983         Reviewed by Kent Tamura.
2984
2985         Let HTMLObjectElement be a form associated element
2986         https://bugs.webkit.org/show_bug.cgi?id=48821
2987
2988         Modified to use FormAssociatedElement instead of HTMLFormControlElement.
2989
2990         * src/WebFormElement.cpp: 
2991         (WebKit::WebFormElement::getFormControlElements): Modified to use
2992         FormAssociatedElement instead of HTMLFormControlElement.
2993         * src/WebPasswordFormUtils.cpp:
2994         (WebKit::findPasswordFormFields): Ditto.
2995         * src/WebSearchableFormData.cpp:
2996         (WebCore::GetButtonToActivate): Ditto.
2997         (WebCore::HasSuitableTextElement): Ditto.
2998
2999 2010-12-06  Nate Chapin  <japhet@chromium.org>
3000
3001         Reviewed by Adam Barth.
3002
3003         Update calls to DocumentWriter.
3004         https://bugs.webkit.org/show_bug.cgi?id=50489
3005
3006         * src/ContextMenuClientImpl.cpp:
3007         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3008         * src/FrameLoaderClientImpl.cpp:
3009         (WebKit::FrameLoaderClientImpl::finishedLoading):
3010         * src/WebFrameImpl.cpp:
3011         (WebKit::WebFrameImpl::encoding):
3012         (WebKit::WebFrameImpl::loadJavaScriptURL):
3013         * src/WebPageSerializerImpl.cpp:
3014         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3015         (WebKit::WebPageSerializerImpl::serialize):
3016         * src/WebSearchableFormData.cpp:
3017         (WebCore::GetFormEncoding):
3018         * src/WebViewImpl.cpp:
3019         (WebKit::WebViewImpl::pageEncoding):
3020
3021 2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>
3022
3023         Unreviewed, rolling out r73302.
3024         http://trac.webkit.org/changeset/73302
3025         https://bugs.webkit.org/show_bug.cgi?id=50499
3026
3027         Causes crashes in debug LayoutTests (Requested by xan_ on
3028         #webkit).
3029
3030         * public/WebAccessibilityObject.h:
3031         * src/WebAccessibilityObject.cpp:
3032         (WebKit::WebAccessibilityObject::parentObject):
3033
3034 2010-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
3035
3036         Reviewed by Pavel Feldman.
3037
3038         Web Inspector: Inspector protocol cleanup task.
3039
3040         The patch has just small renames and adjustments for the protocol things.
3041         'handler' keyword in idl file was replaced with 'domain'.
3042         'domain' property was assigned for the each backend to frontend messages.
3043         At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.
3044
3045         https://bugs.webkit.org/show_bug.cgi?id=50337
3046
3047         * src/WebDevToolsFrontendImpl.cpp:
3048         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3049
3050 2010-12-03  Chris Guillory  <chris.guillory@google.com>
3051
3052         Reviewed by Chris Fleizach.
3053
3054         Include the FrameView widget of a RenderWidget in the accessibility tree.
3055         https://bugs.webkit.org/show_bug.cgi?id=49106
3056
3057         * public/WebAccessibilityObject.h:
3058         * src/WebAccessibilityObject.cpp:
3059         (WebKit::WebAccessibilityObject::equals):
3060         (WebKit::WebAccessibilityObject::parentObject):
3061
3062 2010-11-29  Jeremy Orlow  <jorlow@chromium.org>
3063
3064         Reviewed by Darin Fisher.
3065
3066         [Chromium] Clean up IndexedDB 2 sided roll bits
3067         https://bugs.webkit.org/show_bug.cgi?id=50160
3068
3069         * public/WebIDBDatabase.h:
3070         (WebKit::WebIDBDatabase::version):
3071         (WebKit::WebIDBDatabase::objectStoreNames):
3072         (WebKit::WebIDBDatabase::deleteObjectStore):
3073         * public/WebIDBFactory.h:
3074         (WebKit::WebIDBFactory::open):
3075         * public/WebIDBKeyRange.h:
3076         * public/WebIDBObjectStore.h:
3077         (WebKit::WebIDBObjectStore::deleteFunction):
3078         * src/IDBDatabaseProxy.cpp:
3079         * src/IDBDatabaseProxy.h:
3080         * src/WebIDBKeyRange.cpp:
3081
3082 2010-12-02  Chris Rogers  <crogers@google.com>
3083
3084         Reviewed by Darin Fisher.
3085
3086         Fine-tune chromium WebKit API for loading audio resources
3087         https://bugs.webkit.org/show_bug.cgi?id=50406
3088
3089         * public/WebAudioBus.h:
3090         (WebKit::WebAudioBus::~WebAudioBus):
3091         * public/WebKitClient.h:
3092         (WebKit::WebKitClient::loadAudioResource):
3093         * src/ChromiumBridge.cpp:
3094         (WebCore::ChromiumBridge::decodeAudioFileData):
3095         * src/WebAudioBus.cpp:
3096         (WebKit::WebAudioBus::reset):
3097
3098 2010-12-02  Darin Fisher  <darin@chromium.org>
3099
3100         Fix the Windows multi-dll build.  Do not export functions that are
3101         implemented inline!
3102
3103         * public/WebFormControlElement.h:
3104         (WebKit::WebFormControlElement::assign):
3105
3106 2010-12-02  Tony Chang  <tony@chromium.org>
3107
3108         Unreviewed, roll chromium deps to r67980.
3109
3110         * DEPS:
3111
3112 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
3113
3114         Reviewed by Pavel Feldman.
3115
3116         Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
3117         Enable resource export to HAR for Chromium.
3118         https://bugs.webkit.org/show_bug.cgi?id=45663
3119
3120         * src/js/DevTools.js: Preferences.resourceExportEnabled = true
3121
3122 2010-12-02  Vincent Scheib  <scheib@chromium.org>
3123
3124         Reviewed by Darin Fisher.
3125
3126         [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
3127         https://bugs.webkit.org/show_bug.cgi?id=50285
3128
3129         Test by loading "about:histograms" after navigating to accelerated pages.
3130
3131         * public/WebKitClient.h:
3132         (WebKit::WebKitClient::histogramCustomCounts): api update.
3133         (WebKit::WebKitClient::histogramEnumeration): api update.
3134         * src/ChromiumBridge.cpp:
3135         (WebCore::ChromiumBridge::histogramCustomCounts): api update.
3136         (WebCore::ChromiumBridge::histogramEnumeration): api update.
3137         * src/WebViewImpl.cpp:
3138         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.
3139
3140 2010-12-01  Jia Pu  <jpu@apple.com>
3141
3142         Reviewed by Darin Adler.
3143
3144         Support multiple correction candidates panel for misspelled word on Mac OS X.
3145         https://bugs.webkit.org/show_bug.cgi?id=50137
3146         <rdar://problem/8568059>
3147
3148         Adopted new function signature defined in base class.
3149
3150         * src/EditorClientImpl.cpp:
3151         (WebKit::EditorClientImpl::getGuessesForWord):
3152         * src/EditorClientImpl.h:
3153
3154 2010-12-01  Alexey Marinichev  <amarinichev@chromium.org>
3155
3156         Reviewed by James Robinson.
3157
3158         [chromium] renderer does not realize hardware compositing is disabled and crashes
3159         https://bugs.webkit.org/show_bug.cgi?id=50264
3160
3161         * src/WebViewImpl.cpp:
3162         (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always
3163         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check
3164         (WebKit::WebViewImpl::reallocateRenderer):
3165
3166 2010-11-30  Vangelis Kokkevis  <vangelis@chromium.org>
3167
3168         Reviewed by Darin Fisher.
3169
3170         Get the value of the accelerated compositing triggers from the Settings
3171         class.  This allows setting the triggers via command line flags.
3172         https://bugs.webkit.org/show_bug.cgi?id=50301
3173
3174         * public/WebSettings.h:
3175         * src/ChromeClientImpl.cpp:
3176         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
3177         * src/WebSettingsImpl.cpp:
3178         (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled):
3179         (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled):
3180         (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled):
3181         (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled):
3182         (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled):
3183         * src/WebSettingsImpl.h:
3184
3185 2010-12-01  Tony Chang  <tony@chromium.org>
3186
3187         Unreviewed, rolling chromium deps to r67811.
3188
3189         * DEPS:
3190
3191 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
3192
3193         Reviewed by Pavel Feldman.
3194
3195         Web Inspector: disable cookies tab in network resource view by default, enable for chromium
3196         https://bugs.webkit.org/show_bug.cgi?id=50249
3197
3198         * src/js/DevTools.js:
3199
3200 2010-11-30  Ojan Vafai  <ojan@chromium.org>
3201
3202         Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
3203         https://bugs.webkit.org/show_bug.cgi?id=50288
3204
3205         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
3206         Reviewed by Darin Adler.
3207         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3208         https://bugs.webkit.org/show_bug.cgi?id=50182
3209         A display-isolated URL can only be displayed (e.g., put in an iframe,
3210         hyperlinked to) by documents from that scheme. In a sense, this is a
3211         generalization of some of the protections we give file URLs, but
3212         instead of lumping them all together into one "local" bucket, this
3213         patch creates a separate bucket for each scheme.
3214         For a while, I tried using a separate bucket for each origin. That
3215         would have played nicely with what Blob URLs are trying to do, but some
3216         "chrome" URL pages rely on being able to display other chrome URL
3217         pages, even in different origins. For example, the New Tab Page shows
3218         thumbnails from the "thumbnail" host.
3219         This patch also removes a bunch of unused code. I've also propagated
3220         the "deprecated" status of deprecatedCanDisplay to
3221         deprecatedShouldTreatURLAsLocal because that method has no other
3222         callers and is really asking for uppercase/lowercase bugs. I dream of
3223         someday removing these functions.
3224         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
3225         Reviewed by Darin Adler.
3226         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3227          https://bugs.webkit.org/show_bug.cgi?id=50182
3228         This patch adds a Chromium API for registering schemes as
3229         display-isolated. In a subsequent patch, I'll change the "chrome"
3230         scheme in Chrome to be display isolated instead of local. That will
3231         prevent file URLs from linking to chrome URLs.
3232
3233         * public/WebSecurityPolicy.h:
3234         * src/WebSecurityPolicy.cpp:
3235
3236 2010-11-30  James Robinson  <jamesr@chromium.org>
3237
3238         Reviewed by Dimitri Glazkov.
3239
3240         [chromium] Update yasm entry in DEPS to match downstream
3241         https://bugs.webkit.org/show_bug.cgi?id=50274
3242
3243         http://src.chromium.org/viewvc/chrome?view=rev&revision=67540 changed the downstream DEPS rule
3244         for yasm to pull unconditionally rather than pulling in each deps_os.  This changes the WebKit
3245         chromium DEPS to match.
3246
3247         * DEPS:
3248
3249 2010-11-29  Vangelis Kokkevis  <vangelis@chromium.org>
3250
3251         Reviewed by Simon Fraser.
3252
3253         Provide more fine grained control to ports over when to turn on accelerated
3254         compositing.
3255         https://bugs.webkit.org/show_bug.cgi?id=49998
3256
3257         As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
3258         has now been replaced by allowedCompositingTriggers which returns a bitfield of
3259         all the features which can trigger the compositor.
3260
3261         * src/ChromeClientImpl.cpp:
3262         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
3263         * src/ChromeClientImpl.h:
3264
3265 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
3266
3267         Reviewed by Darin Fisher.
3268
3269         [chromium] pass webframe to web frame client's cookieJar
3270         https://bugs.webkit.org/show_bug.cgi?id=50148
3271
3272         * public/WebFrameClient.h:
3273         (WebKit::WebFrameClient::cookieJar):
3274         * src/ChromiumBridge.cpp:
3275         (WebCore::getCookieJar):
3276
3277 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
3278
3279         Unreviewed. Roll chromium 67532:67541.
3280
3281         * DEPS:
3282
3283 2010-11-29  Adam Barth  <abarth@webkit.org>
3284
3285         Reviewed by Darin Adler.
3286
3287         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3288         https://bugs.webkit.org/show_bug.cgi?id=50182
3289
3290         This patch adds a Chromium API for registering schemes as
3291         display-isolated.  In a subsequent patch, I'll change the "chrome"
3292         scheme in Chrome to be display isolated instead of local.  That will
3293         prevent file URLs from linking to chrome URLs.
3294
3295         * public/WebSecurityPolicy.h:
3296         * src/WebSecurityPolicy.cpp:
3297         (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
3298
3299 2010-11-29  Kent Tamura  <tkent@chromium.org>
3300
3301         Reviewed by Darin Fisher.
3302
3303         [Chromium] Add substitution parameters to WebKitClient::queryLocalizedString()
3304         https://bugs.webkit.org/show_bug.cgi?id=50053
3305
3306         * public/WebKitClient.h:
3307         (WebKit::WebKitClient::queryLocalizedString): Add overload functions with
3308           substitution string parameters, and remove the integer parameter overload.
3309         * src/LocalizedStrings.cpp:
3310         (WebCore::query): Add string parameter overloads, and remove the integer parameter overload.
3311         (WebCore::multipleFileUploadText): Call the string parameter query().
3312         (WebCore::validationMessageTooLongText): Pass the parameters to query().
3313         (WebCore::validationMessageRangeUnderflowText): ditto.
3314         (WebCore::validationMessageRangeOverflowText): ditto.
3315         (WebCore::validationMessageStepMismatchText): ditto.
3316
3317 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
3318
3319         Remove Build directory that was erroneously added in r72103.
3320
3321         * Build: Removed.
3322
3323 2010-11-29  Andrey Kosyakov  <caseq@chromium.org>
3324
3325         Reviewed by Darin Fisher.
3326
3327         Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
3328         Added WebDevToolsAgent::inspect()
3329         https://bugs.webkit.org/show_bug.cgi?id=49727
3330
3331         * public/WebDevToolsAgent.h:
3332         * src/WebDevToolsAgentImpl.cpp:
3333         (WebKit::WebDevToolsAgentImpl::inspectNode):
3334         * src/WebDevToolsAgentImpl.h:
3335
3336 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
3337
3338         [Chromium] Remove python_24 dependency, because it is no longer necessary.
3339
3340         * DEPS: Removed python_24 dependency.
3341
3342 2010-11-29  Bernhard Bauer  <bauerb@chromium.org>
3343
3344         Reviewed by Jeremy Orlow.
3345
3346         Remove databaseFileName from WebIDBFactory
3347         https://bugs.webkit.org/show_bug.cgi?id=50150
3348
3349         * WebKit.gyp:
3350         * public/WebIDBFactory.h:
3351         (WebKit::WebIDBFactory::open):
3352         * src/WebIDBFactory.cpp: Removed.
3353
3354 2010-11-26  Andrei Popescu  <andreip@google.com>
3355
3356         Reviewed by Jeremy Orlow.
3357
3358         IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
3359         https://bugs.webkit.org/show_bug.cgi?id=50113
3360
3361         * public/WebIDBDatabase.h:
3362         (WebKit::WebIDBDatabase::deleteObjectStore):
3363         (WebKit::WebIDBDatabase::removeObjectStore):
3364         * public/WebIDBObjectStore.h:
3365         (WebKit::WebIDBObjectStore::remove):
3366         (WebKit::WebIDBObjectStore::deleteFunction):
3367         (WebKit::WebIDBObjectStore::deleteIndex):
3368         * src/IDBDatabaseProxy.cpp:
3369         (WebCore::IDBDatabaseProxy::deleteObjectStore):
3370         * src/IDBDatabaseProxy.h:
3371         * src/IDBObjectStoreProxy.cpp:
3372         (WebCore::IDBObjectStoreProxy::deleteFunction):
3373         (WebCore::IDBObjectStoreProxy::deleteIndex):
3374         * src/IDBObjectStoreProxy.h:
3375         * src/WebIDBDatabaseImpl.cpp:
3376         (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
3377         * src/WebIDBDatabaseImpl.h:
3378         * src/WebIDBObjectStoreImpl.cpp:
3379         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
3380         (WebKit::WebIDBObjectStoreImpl::deleteIndex):
3381         * src/WebIDBObjectStoreImpl.h:
3382
3383 2010-11-26  Jeremy Orlow  <jorlow@chromium.org>
3384
3385         Reviewed by Steve Block.
3386
3387         Make IDBKeyRange match the spec
3388         https://bugs.webkit.org/show_bug.cgi?id=50105
3389
3390         Remove flags and instead add two booleans for being open.
3391         Change left to lower and right to upper everywhere.
3392
3393         * public/WebIDBKeyRange.h:
3394         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
3395         * src/WebIDBKeyRange.cpp:
3396         (WebKit::WebIDBKeyRange::assign):
3397         (WebKit::WebIDBKeyRange::left):
3398         (WebKit::WebIDBKeyRange::right):
3399         (WebKit::WebIDBKeyRange::lower):
3400         (WebKit::WebIDBKeyRange::upper):
3401         (WebKit::WebIDBKeyRange::lowerOpen):
3402         (WebKit::WebIDBKeyRange::upperOpen):
3403         (WebKit::WebIDBKeyRange::flags):
3404
3405 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
3406
3407         Reviewed by Steve Block.
3408
3409         Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
3410         https://bugs.webkit.org/show_bug.cgi?id=50081
3411
3412         Plumb IDBTransaction.objectStore's exception code.
3413
3414         * public/WebIDBTransaction.h:
3415         (WebKit::WebIDBTransaction::objectStore):
3416         * src/IDBDatabaseProxy.cpp:
3417         (WebCore::IDBDatabaseProxy::transaction):
3418         * src/IDBTransactionBackendProxy.cpp:
3419         (WebCore::IDBTransactionBackendProxy::objectStore):
3420         * src/IDBTransactionBackendProxy.h:
3421         * src/WebIDBDatabaseImpl.cpp:
3422         (WebKit::WebIDBDatabaseImpl::createObjectStore):
3423         (WebKit::WebIDBDatabaseImpl::transaction):
3424         * src/WebIDBTransactionImpl.cpp:
3425         (WebKit::WebIDBTransactionImpl::objectStore):
3426         * src/WebIDBTransactionImpl.h:
3427
3428 2010-11-26  Hans Wennborg  <hans@chromium.org>
3429
3430         Reviewed by Jeremy Orlow.
3431
3432         IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
3433         https://bugs.webkit.org/show_bug.cgi?id=50102
3434
3435         Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface
3436
3437         * public/WebIDBDatabase.h:
3438         (WebKit::WebIDBDatabase::objectStores):
3439         (WebKit::WebIDBDatabase::objectStoreNames):
3440         * src/IDBDatabaseProxy.cpp:
3441         (WebCore::IDBDatabaseProxy::objectStoreNames):
3442         * src/IDBDatabaseProxy.h:
3443         * src/WebIDBDatabaseImpl.cpp:
3444         (WebKit::WebIDBDatabaseImpl::objectStoreNames):
3445         * src/WebIDBDatabaseImpl.h:
3446
3447 2010-11-26  Andrei Popescu  <andreip@google.com>
3448
3449         Reviewed by Jeremy Orlow.
3450
3451         IDBFactory::open should not have a description argument.
3452         https://bugs.webkit.org/show_bug.cgi?id=50087
3453
3454         * public/WebIDBDatabase.h:
3455         (WebKit::WebIDBDatabase::description):
3456         * public/WebIDBFactory.h:
3457         (WebKit::WebIDBFactory::open):
3458         * src/IDBFactoryBackendProxy.cpp:
3459         (WebCore::IDBFactoryBackendProxy::open):
3460         * src/IDBFactoryBackendProxy.h:
3461         * src/WebIDBDatabaseImpl.cpp:
3462         * src/WebIDBDatabaseImpl.h:
3463         * src/WebIDBFactory.cpp:
3464         * src/WebIDBFactoryImpl.cpp:
3465         (WebKit::WebIDBFactoryImpl::open):
3466         * src/WebIDBFactoryImpl.h:
3467
3468 2010-11-25  Ilya Tikhonovsky  <loislo@chromium.org>
3469
3470         Unreviewed. Roll chromium 67004:67404.
3471
3472         * DEPS:
3473
3474 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
3475
3476         Reviewed by Steve Block.
3477
3478         Add exception code to WebIDBTransaction::objectStore
3479         https://bugs.webkit.org/show_bug.cgi?id=50030
3480
3481         * public/WebIDBTransaction.h:
3482         (WebKit::WebIDBTransaction::objectStore):
3483
3484 2010-11-24  MORITA Hajime  <morrita@google.com>
3485
3486         Reviewed by Kent Tamura.
3487
3488         [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick()
3489         https://bugs.webkit.org/show_bug.cgi?id=50052
3490         
3491         makeStringArrayImpl() assumed wtf::StringImpl data is
3492         null-terminated. But it is not.
3493         Changed the code to pass the string length explicitly instead of
3494         making it computed by v8::String::New().
3495
3496         * src/WebBindings.cpp:
3497         (WebKit::makeStringArrayImpl):
3498
3499 2010-11-24  Eric Uhrhane  <ericu@chromium.org>
3500
3501         Reviewed by David Levin.
3502
3503         [Chromium] Implement FileWriterSync
3504         https://bugs.webkit.org/show_bug.cgi?id=49940
3505
3506         Added waitForOperationToComplete, delegating to the bridge.
3507         * src/WorkerAsyncFileWriterChromium.cpp:
3508         * src/WorkerAsyncFileWriterChromium.h:
3509
3510         Added waitForOperationToComplete and some debug-only code to make sure it's working properly.
3511         * src/WorkerFileWriterCallbacksBridge.cpp:
3512         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
3513         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
3514         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
3515         (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge):
3516         (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread):
3517         (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread):
3518         (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread):
3519         (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete):
3520         * src/WorkerFileWriterCallbacksBridge.h:
3521
3522 2010-11-24  Kenneth Russell  <kbr@google.com>
3523
3524         Reviewed by Darin Fisher.
3525
3526         [chromium] Disable antialiasing for compositor
3527         https://bugs.webkit.org/show_bug.cgi?id=50039
3528
3529         * src/WebViewImpl.cpp:
3530         (WebCore::getCompositorContextAttributes):
3531         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3532         (WebKit::WebViewImpl::graphicsContext3D):
3533
3534 2010-11-24  Satish Sampath  <satish@chromium.org>
3535
3536         Reviewed by Steve Block.
3537
3538         Remove API migration code which is no longer used.
3539         https://bugs.webkit.org/show_bug.cgi?id=50013
3540
3541         * public/WebSpeechInputControllerMock.h:
3542
3543 2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
3544
3545         Unreviewed, rolling out r72628.
3546         http://trac.webkit.org/changeset/72628
3547         https://bugs.webkit.org/show_bug.cgi?id=49994
3548
3549         This patch is causing layout-test failtures on GTK Linux
3550         64-bit Debug (Requested by ctguil on #webkit).
3551
3552         * public/WebAccessibilityObject.h:
3553         * src/WebAccessibilityObject.cpp:
3554         (WebKit::WebAccessibilityObject::parentObject):
3555
3556 2010-11-23  Chris Guillory  <chris.guillory@google.com>
3557
3558         Reviewed by Dimitri Glazkov.
3559
3560         Include the FrameView widget of a RenderWidget in the accessibility tree.
3561         https://bugs.webkit.org/show_bug.cgi?id=49106
3562
3563         * public/WebAccessibilityObject.h:
3564         * src/WebAccessibilityObject.cpp:
3565         (WebKit::WebAccessibilityObject::equals):
3566         (WebKit::WebAccessibilityObject::parentObject):
3567
3568 2010-11-23  John Knottenbelt  <jknotten@chromium.org>
3569
3570         Reviewed by Darin Fisher.
3571
3572         [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition.
3573         https://bugs.webkit.org/show_bug.cgi?id=49735
3574
3575         Introduce WebKit API types so that the browser implementation can feed
3576         position and error updates to the WebCore::GeolocationController.
3577
3578         * WebKit.gyp:
3579         * public/WebGeolocationError.h: Added.
3580         (WebKit::WebGeolocationError::WebGeolocationError):
3581         (WebKit::WebGeolocationError::~WebGeolocationError):