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