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