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