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