2697e6d8c87d183fb450fa22d38b10c68fbf6c08
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2009-12-04  Peter Kasting  <pkasting@google.com>
2
3         Reviewed by Darin Fisher.
4
5         [Chromium] Simplify zoom-related APIs and add a zoom level getter,
6         part two: Remove deprecated APIs.
7         https://bugs.webkit.org/show_bug.cgi?id=31893
8
9         * public/WebView.h:
10         * src/WebViewImpl.cpp:
11         * src/WebViewImpl.h:
12
13 2009-12-03  Jonathan Dixon  <joth@chromium.org>
14
15         Reviewed by Dimitri Glazkov.
16
17         Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
18         https://bugs.webkit.org/show_bug.cgi?id=32066
19
20         Add the plumbing to map WebSettings through to WebCore::Settings
21
22         * features.gypi:
23         * public/WebSettings.h: Add setGeolocationEnabled API to interface
24         * src/WebSettingsImpl.cpp:
25         (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled
26         * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function
27
28 2009-12-03  Brady Eidson  <beidson@apple.com>
29
30         Reviewed by Sam Weinig.
31
32         <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
33
34         * src/FrameLoaderClientImpl.cpp:
35         (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
36         (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
37         (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
38         * src/FrameLoaderClientImpl.h:
39
40 2009-12-03  Pavel Feldman  <pfeldman@chromium.org>
41
42         Reviewed by Timothy Hatcher.
43
44         Chromium: Add support for settings containing ":"
45
46         https://bugs.webkit.org/show_bug.cgi?id=32118
47
48         * src/InspectorClientImpl.cpp:
49         (WebKit::InspectorClientImpl::loadSettings):
50
51 2009-12-03  Pavel Feldman  <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
52
53         Reviewed by Timothy Hatcher.
54
55         Web Inspector: Simplify the settings support in inspector controller.
56
57         https://bugs.webkit.org/show_bug.cgi?id=32076
58
59         * src/InspectorClientImpl.cpp:
60         (WebKit::InspectorClientImpl::hiddenPanels):
61         (WebKit::InspectorClientImpl::populateSetting):
62         (WebKit::InspectorClientImpl::storeSetting):
63         (WebKit::InspectorClientImpl::loadSettings):
64         (WebKit::InspectorClientImpl::saveSettings):
65         * src/InspectorClientImpl.h:
66
67 2009-12-03  Ben Murdoch  <benm@google.com>
68
69         Reviewed by Brady Eidson.
70
71         [Android] The FrameLoaderClient is unaware of BackForwardList changes.
72         https://bugs.webkit.org/show_bug.cgi?id=31914
73
74         * src/FrameLoaderClientImpl.cpp:
75         (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
76         (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto.
77         (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito.
78         * src/FrameLoaderClientImpl.h:
79
80 2009-12-02  Yusuke Sato  <yusukes@chromium.org>
81
82         Reviewed by Eric Seidel.
83
84         Sanitize web fonts using the OTS library 
85         https://bugs.webkit.org/show_bug.cgi?id=31106
86
87         * DEPS: Added dependency to the OpenType sanitizer library.
88         * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1.
89
90 2009-12-02  Evan Stade  <estade@chromium.org>
91
92         Reviewed by Darin Fisher.
93
94         https://bugs.webkit.org/show_bug.cgi?id=32029
95         Mousewheel event delta has reversed sign on Linux Chrome.
96
97         No new tests (layout tests don't cover event conversion code).
98         Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel
99
100         * src/gtk/WebInputEventFactory.cpp:
101         (WebKit::WebInputEventFactory::mouseWheelEvent):
102
103 2009-12-02  Anton Muhin  <antonm@chromium.org>
104
105         Reviewed by Adam Barth.
106
107         Allow to skip thread checks when accessing DOMDataStore for processes
108         which run V8 in single thread mode.
109         https://bugs.webkit.org/show_bug.cgi?id=31877
110
111         * src/WebScriptController.cpp:
112         (WebKit::WebScriptController::enableV8SingleThreadMode):
113
114 2009-12-01  Peter Kasting  <pkasting@google.com>
115
116         Reviewed by Darin Fisher.
117
118         [Chromium] Simplify zoom-related APIs and add a zoom level getter,
119         part one: Add new APIs.  (Old APIs will be removed in a second pass.)
120         https://bugs.webkit.org/show_bug.cgi?id=31893
121
122         * public/WebView.h:
123         * src/WebViewImpl.cpp:
124         (WebKit::WebViewImpl::zoomLevel):
125         (WebKit::WebViewImpl::setZoomLevel):
126         * src/WebViewImpl.h:
127
128 2009-12-01  Xiyuan Xia  <xiyuan@chromium.org>
129
130         Reviewed by Darin Fisher.
131
132         Only fire start/stop events when main frame is not loading.
133
134         https://bugs.webkit.org/show_bug.cgi?id=31838
135
136         * src/FrameLoaderClientImpl.cpp:
137         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
138
139 2009-11-27  Yury Semikhatsky  <yurys@chromium.org>
140
141         Reviewed by Pavel Feldman.
142
143         Add separate method for pause command to WebDevToolsAgent
144         and WebDevToolsFrontendClient interfaces so that pause command
145         can be processed on the IO thread.
146
147         https://bugs.webkit.org/show_bug.cgi?id=31934
148
149         * public/WebDevToolsAgent.h:
150         * public/WebDevToolsFrontendClient.h:
151         (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
152         (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
153         (WebKit::WebDevToolsFrontendClient::activateWindow):
154         (WebKit::WebDevToolsFrontendClient::closeWindow):
155         (WebKit::WebDevToolsFrontendClient::dockWindow):
156         (WebKit::WebDevToolsFrontendClient::undockWindow):
157
158 2009-11-27  Yury Semikhatsky  <yurys@chromium.org>
159
160         Reviewed by Pavel Feldman.
161
162         WebCore part of the fix that allows to view plugin
163         resources loaded by plugins. Methods that for resource
164         loading notifications are exposed through WebDevToolsAgent
165         interface to the glue code to allow Chromium's plugin
166         implementation to notify InspectorController about resource
167         loading in plugins.
168
169         https://bugs.webkit.org/show_bug.cgi?id=31832
170
171         * public/WebDevToolsAgent.h:
172         * public/WebView.h:
173         * src/WebViewImpl.cpp:
174         (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
175         * src/WebViewImpl.h:
176
177 2009-11-26  Yury Semikhatsky  <yurys@chromium.org>
178
179         Not reviewed. Build fix: revert r51421.
180
181         * public/WebDevToolsAgent.h:
182         * public/WebView.h:
183         * src/WebViewImpl.cpp:
184         * src/WebViewImpl.h:
185
186 2009-11-25  Dimitri Glazkov  <dglazkov@chromium.org>
187
188         Reviewed by David Levin.
189
190         [Chromium] Implement canSetValueAttribute in the API.
191         https://bugs.webkit.org/show_bug.cgi?id=31894
192
193         * public/WebAccessibilityObject.h: Added decl.
194         * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include.
195         * src/WebAccessibilityObject.cpp:
196         (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl.
197
198 2009-11-25  Dimitri Glazkov  <dglazkov@chromium.org>
199
200         Reviewed by Darin Fisher.
201
202         [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API.
203         https://bugs.webkit.org/show_bug.cgi?id=31878
204
205         * public/WebSettings.h: Added decl.
206         * src/WebSettingsImpl.cpp:
207         (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl.
208         * src/WebSettingsImpl.h:
209
210 2009-11-24  Dmitry Titov  <dimich@chromium.org>
211
212         Reviewed by Eric Seidel.
213
214         Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
215         https://bugs.webkit.org/show_bug.cgi?id=31444
216
217         * features.gypi:
218
219 2009-11-24  Evan Stade  <estade@chromium.org>
220
221         Reviewed by David Levin.
222
223         Linux Chromium sends too many click events
224         https://bugs.webkit.org/show_bug.cgi?id=31841
225
226         Manually count number of clicks for double/triple click events. This
227         makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html
228         Chromium side of this patch is here:
229         http://codereview.chromium.org/431031/show
230
231         * src/gtk/WebInputEventFactory.cpp:
232         (WebKit::WebInputEventFactory::mouseEvent):
233
234 2009-11-24  Darin Fisher  <darin@chromium.org>
235
236         Reviewed by Adam Barth.
237
238         [Chromium] Renderer hang when using www.expedia.com
239         https://bugs.webkit.org/show_bug.cgi?id=31822
240
241         * src/FrameLoaderClientImpl.cpp:
242         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
243         Assign ReturnCacheDataDontLoad cache policy at the last moment
244         to match Safari.  This way the cache policy does not get stored
245         in DocumentLoader's originalRequest preventing it from being
246         inherited by subresource requests.
247         * src/ResourceHandle.cpp:
248         (WebCore::ResourceHandle::willLoadFromCache): Remove assignment
249         of ReturnCacheDataDontLoad cache policy so that it doesn't end
250         up applying to the DocumentLoader's originalRequest.
251
252 2009-11-23  Kenneth Russell  <kbr@google.com>
253
254         Reviewed by Oliver Hunt.
255
256         Change get... calls to latest spec
257         https://bugs.webkit.org/show_bug.cgi?id=30091
258
259         Removed old versions of get calls on WebGLRenderingContext and
260         added new ones per spec returning "any". New code simplifies
261         GraphicsContext3D and fixes previously unimplemented routines.
262         Added custom JS and V8 bindings. Added exhaustive test case
263         exercising all new code paths. Updated preexisting test cases for
264         new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL
265         implementations.
266
267         Ran WebGL layout tests in WebKit (clean) and Chrome (couple of
268         preexisting known failures) and manual WebGL tests in both
269         browsers.
270
271         Test: fast/canvas/webgl/gl-object-get-calls.html
272
273         * src/GraphicsContext3D.cpp:
274         (WebCore::GraphicsContext3D::createFramebuffer):
275         (WebCore::GraphicsContext3D::createRenderbuffer):
276         (WebCore::GraphicsContext3D::deleteFramebuffer):
277         (WebCore::GraphicsContext3D::deleteRenderbuffer):
278         (WebCore::GraphicsContext3D::checkFramebufferStatus):
279         (WebCore::GraphicsContext3D::getBooleanv):
280         (WebCore::GraphicsContext3D::getBufferParameteriv):
281         (WebCore::GraphicsContext3D::getFloatv):
282         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
283         (WebCore::GraphicsContext3D::getIntegerv):
284         (WebCore::GraphicsContext3D::getProgramiv):
285         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
286         (WebCore::GraphicsContext3D::getShaderiv):
287         (WebCore::GraphicsContext3D::getTexParameterfv):
288         (WebCore::GraphicsContext3D::getTexParameteriv):
289         (WebCore::GraphicsContext3D::getUniformfv):
290         (WebCore::GraphicsContext3D::getUniformiv):
291         (WebCore::GraphicsContext3D::getVertexAttribfv):
292         (WebCore::GraphicsContext3D::getVertexAttribiv):
293         (WebCore::GraphicsContext3D::isFramebuffer):
294         (WebCore::GraphicsContext3D::isRenderbuffer):
295
296 2009-11-24  Pavel Feldman  <pfeldman@chromium.org>
297
298         Reviewed by Darin Fisher.
299
300         Chromium: Expose method for reporting user stats
301         to the host. Also includes drive-by default implementation.
302
303         https://bugs.webkit.org/show_bug.cgi?id=31830
304
305         * public/WebKitClient.h:
306
307 2009-11-24  Adam Barth  <abarth@webkit.org>
308
309         Reviewed by Dimitri Glazkov.
310
311         [Chromium] Fix DOM storage layout tests
312         https://bugs.webkit.org/show_bug.cgi?id=31833
313
314         The issue is, essentially, that this code assumes that
315         SecurityOrigin::createString can re-create a SecurityOrigin given
316         the string produced from SecurityOrigin::toString.  This is a bogus
317         assumption in a number of corner cases (e.g., document.domain,
318         @sandbox).  A recent patch (http://trac.webkit.org/changeset/51294)
319         make this assumption further invalid in the case of of file:// URLs.
320
321         The correct fix is for this code to use WebSecurityOrigin objects
322         (and not strings) to represent SecurityOrigin objects.  However, the
323         expert on this code is on vacation, and I don't want to do major
324         surgery here without his involvement.  This patch is a temporary fix
325         to get these tests passing again.  We'll do the right fix once
326         jorlow gets back from vacation.
327
328         Tests: Covered by a number of existing DOM storage tests.
329
330         * src/WebStorageNamespaceImpl.cpp:
331         (WebKit::WebStorageNamespaceImpl::createStorageArea):
332
333 2009-11-23  Jian Li  <jianli@chromium.org>
334
335         Reviewed by NOBODY (Chromium build fix).
336
337         * src/GraphicsContext3D.cpp:
338         (WebCore::GraphicsContext3D::createShader):
339
340 2009-11-20  Jian Li  <jianli@chromium.org>
341
342         Not reviewed. Fix chromium build.
343
344         * public/WebAccessibilityRole.h:
345         (WebKit::):
346         * src/AssertMatchingEnums.cpp:
347
348 2009-11-19  Yaar Schnitman  <yaar@chromium.org>
349
350         Reviewed by Darin Fisher.
351
352         Make chromium/webkit/glue/FormFieldValues use the WebKit API
353
354         https://bugs.webkit.org/show_bug.cgi?id=31650
355
356         * public/WebElement.h:
357         * public/WebFormElement.h:
358         * public/WebInputElement.h:
359         (WebKit::WebInputElement::):
360         * public/WebNode.h:
361         * src/AssertMatchingEnums.cpp:
362         * src/DOMUtilitiesPrivate.cpp:
363         (WebKit::nameOfInputElement):
364         * src/DOMUtilitiesPrivate.h:
365         * src/EditorClientImpl.cpp:
366         (WebKit::EditorClientImpl::autofill):
367         (WebKit::EditorClientImpl::doAutofill):
368         * src/WebFormElement.cpp:
369         (WebKit::WebFormElement::name):
370         (WebKit::WebFormElement::method):
371         (WebKit::WebFormElement::getNamedElements):
372         (WebKit::WebFormElement::getInputElements):
373         * src/WebInputElement.cpp:
374         (WebKit::WebInputElement::isEnabledFormControl):
375         (WebKit::WebInputElement::inputType):
376         (WebKit::WebInputElement::formControlType):
377         (WebKit::WebInputElement::value):
378         (WebKit::WebInputElement::dispatchFormControlChangeEvent):
379         (WebKit::WebInputElement::setSelectionRange):
380         (WebKit::WebInputElement::name):
381         (WebKit::WebInputElement::nameForAutofill):
382         * src/WebNode.cpp:
383         (WebKit::WebNode::frame):
384
385 2009-11-18  Michelangelo De Simone  <micdesim@gmail.com>
386
387         Reviewed by Darin Adler.
388
389         Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>.
390         Support for validationMessage attribute, as per HTML5 specs.
391
392         * src/LocalizedStrings.cpp:
393         (WebCore::validationMessageValueMissingText):
394         (WebCore::validationMessageTypeMismatchText):
395         (WebCore::validationMessagePatternMismatchText):
396         (WebCore::validationMessageTooLongText):
397         (WebCore::validationMessageRangeUnderflowText):
398         (WebCore::validationMessageRangeOverflowText):
399         (WebCore::validationMessageStepMismatchText):
400
401 2009-11-18  Nate Chapin  <japhet@chromium.org>
402
403         Reviewed by Darin Fisher.
404
405         Remove Chromium port's dependency on some dummy pthreads header
406         files that live in the Chromium repository.
407
408         https://bugs.webkit.org/show_bug.cgi?id=31648
409
410         * DEPS: Remove reference to chromium svn's webkit/build/ directory.
411
412 2009-11-18  Evan Stade  <estade@chromium.org>
413
414         Reviewed by Darin Fisher.
415
416         Menu button shows wrong content in Chromium
417         https://bugs.webkit.org/show_bug.cgi?id=31448
418
419         Make context menu button (VK_APPS) show context menu for node that has
420         keyboard focus. This affects both the content and the positioning.
421
422         * src/WebViewImpl.cpp:
423         (WebKit::WebViewImpl::sendContextMenuEvent):
424
425 2009-11-17  Darin Fisher  <darin@chromium.org>
426
427         Reviewed by Dmitry Titov.
428
429         Minor cleanup in WebKit API
430         https://bugs.webkit.org/show_bug.cgi?id=31616
431
432         * public/WebFormElement.h: Add missing WEBKIT_API prefix.
433         * public/WebNode.h: Add missing WEBKIT_API prefix.
434         * src/WebFormElement.cpp:
435         (WebKit::WebFormElement::action): Make action getter const.
436         * src/WebNode.cpp:
437         (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame.
438
439 2009-11-17  Nicolas Weber  <thakis@chromium.org>
440
441         Reviewed by Darin Fisher, Dmitry Titov.
442
443         Revert r50887, it regressed handling of cmd-left when a text box is focused.
444         https://bugs.webkit.org/show_bug.cgi?id=31566
445
446         * src/mac/WebInputEventFactory.mm:
447         (WebKit::WebInputEventFactory::keyboardEvent):
448
449 2009-11-16  Kenneth Russell  <kbr@google.com>
450
451         Reviewed by Oliver Hunt.
452
453         Update API of WebGLArray and friends
454         https://bugs.webkit.org/show_bug.cgi?id=31175
455
456         * src/GraphicsContext3D.cpp:
457         (WebCore::GraphicsContext3D::bufferData):
458         (WebCore::GraphicsContext3D::bufferSubData):
459
460 2009-11-15  Dimitri Glazkov  <dglazkov@chromium.org>
461
462         Unreviewed, build fix.
463
464         Correct an error in the previous commit
465
466         * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory,
467           not WebAccessibilityDirectoryRole.
468
469 2009-11-15  Dimitri Glazkov  <dglazkov@chromium.org>
470
471         Unreviewed, build fix.
472
473         Bring WebAccessibilityRole up to sync after
474         http://trac.webkit.org/changeset/51007.
475
476         * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory.
477         * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and
478           WebAccessibilityRoleDirectory.
479
480 2009-11-13  Dimitri Glazkov  <dglazkov@chromium.org>
481
482         Unreviewed, build fix.
483
484         [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld
485         to catch up http://trac.webkit.org/changeset/50973.
486
487         * src/FrameLoaderClientImpl.cpp:
488         (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
489         * src/FrameLoaderClientImpl.h:
490
491 2009-11-13  Yaar Schnitman  <yaar@chromium.org>
492
493         Reviewed by Dimitri Glazkov.
494
495         Chromium WebKit Port to compile as dynamic lib
496
497         https://bugs.webkit.org/show_bug.cgi?id=31478
498
499         * WebKit.gyp:
500
501 2009-11-13  Aaron Boodman  <aa@chromium.org>
502
503         Reviewed by Eric Seidel.
504
505         Adds a way to get the document element's scrollHeight,
506         which is sort of the moral equivalent to
507         RenderBox::minPrefWidth().
508
509         https://bugs.webkit.org/show_bug.cgi?id=31036
510
511         * public/WebFrame.h: Declare documentElementScrollHeight()
512         * src/WebFrameImpl.h: Ditto
513         * src/WebFrameImpl.cpp: Implement documentElementScrollHeight()
514         (WebKit::WebFrameImpl::documentElementScrollHeight): Return the
515         scroll height of the document element, or zero if there's no
516         documentElement.
517
518 2009-11-12  Dumitru Daniliuc  <dumi@chromium.org>
519
520         Reviewed by Dimitri Glazkov.
521
522         Adding Chromium's DatabaseTracker implementation.
523
524         https://bugs.webkit.org/show_bug.cgi?id=31440
525
526         * WebKit.gyp:
527         * src/ChromeClientImpl.cpp:
528         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
529         * src/DatabaseObserver.cpp: Added.
530         (WebCore::DatabaseObserver::databaseOpened):
531         (WebCore::DatabaseObserver::databaseModified):
532         (WebCore::DatabaseObserver::databaseClosed):
533         * src/WebDatabase.cpp:
534         (WebKit::WebDatabase::name):
535         (WebKit::WebDatabase::displayName):
536         (WebKit::WebDatabase::estimatedSize):
537         (WebKit::WebDatabase::securityOrigin):
538         (WebKit::WebDatabase::updateDatabaseSize):
539         * src/WebSecurityOrigin.cpp:
540         (WebKit::WebSecurityOrigin::toString):
541         (WebKit::WebSecurityOrigin::databaseIdentifier):
542
543 2009-11-13  Yaar Schnitman  <yaar@chromium.org>
544
545         Reviewed by Dimitri Glazkov.
546
547         Rolling Chromium dependencies to match Chromium revision 31834. 
548         
549         https://bugs.webkit.org/show_bug.cgi?id=31445
550
551         * DEPS:
552
553 2009-11-12  Dumitru Daniliuc  <dumi@chromium.org>
554
555         Reviewed by Dimitri Glazkov.
556
557         Renaming some parameters passed to DB-related methods to better
558         indicate their purpose.
559
560         https://bugs.webkit.org/show_bug.cgi?id=31449
561
562         * public/WebKitClient.h:
563         * src/ChromiumBridge.cpp:
564         (WebCore::ChromiumBridge::databaseOpenFile):
565         (WebCore::ChromiumBridge::databaseDeleteFile):
566         (WebCore::ChromiumBridge::databaseGetFileAttributes):
567         (WebCore::ChromiumBridge::databaseGetFileSize):
568
569 2009-11-12  Adam Barth  <abarth>
570
571         Reviewed by Dimitri Glazkov.
572
573         [Chromium] reload-subframe-object.html fails
574         https://bugs.webkit.org/show_bug.cgi?id=31398
575
576         More closely match FrameLoaderClient.mm.  Turns out we don't want to
577         use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish
578         between application/octet-stream and lack of knowledge of the MIME
579         type.
580
581         Covered by reload-subframe-object.html.
582
583         * src/FrameLoaderClientImpl.cpp:
584         (WebKit::FrameLoaderClientImpl::objectContentType):
585
586 2009-11-12  Nate Chapin  <japhet@chromium.org>
587
588         Unreviewed, Chromium build fix.
589
590         Add new accessibility enum values to Chromium enums from
591         http://trac.webkit.org/changeset/50865 and
592         http://trac.webkit.org/changeset/50883.
593
594         https://bugs.webkit.org/show_bug.cgi?id=31424
595
596         * public/WebAccessibilityRole.h:
597         (WebKit::):
598         * src/AssertMatchingEnums.cpp:
599
600 2009-11-12  Nicolas Weber  <thakis@chromium.org>
601
602         Reviewed by Dimitri Glazkov.
603
604         Send |keypress()| events for keys with cmd down, like safari.
605         Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a
606         keypress() event.
607
608         * src/mac/WebInputEventFactory.mm:
609         (WebKit::WebInputEventFactory::keyboardEvent):
610
611 2009-11-11  Jeremy Orlow  <jorlow@chromium.org>
612
613         Not reviewed.  Build fix.  Will be cleaned up in subsequent patch once we know exaclty what's going on.
614
615         * src/WebBindings.cpp:
616
617 2009-11-11  Drew Wilson  <atwilson@chromium.org>
618
619         Reviewed by Dimitri Glazkov.
620
621         SharedWorkerRepository.connect() does not call WebSharedWorkerRepository
622         https://bugs.webkit.org/show_bug.cgi?id=31371
623
624         Test: Unit tests can be enabled downstream when this lands.
625
626         * src/SharedWorkerRepository.cpp:
627         (WebCore::SharedWorkerRepository::connect):
628         Added missing call to WebSharedWorkerRepository.addSharedWorker().
629
630 2009-11-11  Yaar Schnitman  <yaar@chromium.org>
631
632         Reviewed by Dimitri Glazkov.
633
634         Tiny path fixes in Chromium API includes.
635
636         https://bugs.webkit.org/show_bug.cgi?id=31369
637
638         * public/linux/WebSandboxSupport.h: Fixed path.
639         * src/WebBindings.cpp: Fixed path.
640
641 2009-11-11  Nate Chapin  <japhet@chromium.org>
642
643         Reviewed by Dimitri Glazkov.
644
645         http://trac.webkit.org/changeset/50811 removed some methods from
646         platform/network/SocketStreamHandleClient.h, so remove them
647         here too.
648
649         https://bugs.webkit.org/show_bug.cgi?id=31360
650
651         * public/WebSocketStreamHandleClient.h:
652         * src/SocketStreamHandle.cpp:
653         (WebCore::SocketStreamHandleInternal::send):
654
655 2009-11-11  Nate Chapin  <japhet@chromium.org>
656
657         Reviewed by Eric Seidel.
658
659         Remove some additional references to dragSourceMovedTo() not
660         needed after http://trac.webkit.org/changeset/50786.
661
662         https://bugs.webkit.org/show_bug.cgi?id=31354
663
664         * public/WebView.h:
665         * src/WebViewImpl.h:
666
667 2009-11-11  Nate Chapin  <japhet@chromium.org>
668
669         Reviewed by Dimitri Glazkov.
670
671         Remove WebViewImpl::dragSourceMovedTo(), as it is no longer
672         needed after http://trac.webkit.org/changeset/50786.
673
674         https://bugs.webkit.org/show_bug.cgi?id=31354
675
676         * src/WebViewImpl.cpp:
677
678 2009-11-10  Nate Chapin  <japhet@chromium.org>
679
680         Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760.
681
682         * src/WebFrameImpl.cpp:
683         (WebKit::WebFrameImpl::paint):
684
685 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
686
687         Reviewed by Dimitri Glazkov.
688
689         Modified WebKit.gyp to build the webkit api.
690
691         https://bugs.webkit.org/show_bug.cgi?id=31320
692
693         * README: Added.
694         * WebKit.gyp: Added.
695         * webkit.gyp: Removed.
696
697 2009-11-10  Nate Chapin  <japhet@chromium.org>
698
699         Reviewed by Eric Seidel.
700
701         Update references to Canvas 3D classes to use the WebGL prefix
702         introduced in http://trac.webkit.org/changeset/50725.
703
704         https://bugs.webkit.org/show_bug.cgi?id=31276
705
706         * src/GraphicsContext3D.cpp:
707         (WebCore::GraphicsContext3DInternal::beginPaint):
708         (WebCore::GraphicsContext3DInternal::bindBuffer):
709         (WebCore::GraphicsContext3DInternal::bindTexture):
710         (WebCore::GraphicsContext3D::beginPaint):
711         (WebCore::GraphicsContext3D::bindAttribLocation):
712         (WebCore::GraphicsContext3D::bindBuffer):
713         (WebCore::GraphicsContext3D::bindTexture):
714         (WebCore::GraphicsContext3D::bufferData):
715         (WebCore::GraphicsContext3D::bufferSubData):
716         (WebCore::GraphicsContext3D::detachShader):
717         (WebCore::GraphicsContext3D::getActiveAttrib):
718         (WebCore::GraphicsContext3D::getActiveUniform):
719         (WebCore::GraphicsContext3D::getAttribLocation):
720         (WebCore::GraphicsContext3D::getBooleanv):
721         (WebCore::GraphicsContext3D::getBufferParameteriv):
722         (WebCore::GraphicsContext3D::getFloatv):
723         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
724         (WebCore::GraphicsContext3D::getIntegerv):
725         (WebCore::GraphicsContext3D::getProgrami):
726         (WebCore::GraphicsContext3D::getProgramiv):
727         (WebCore::GraphicsContext3D::getProgramInfoLog):
728         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
729         (WebCore::GraphicsContext3D::getShaderi):
730         (WebCore::GraphicsContext3D::getShaderiv):
731         (WebCore::GraphicsContext3D::getShaderInfoLog):
732         (WebCore::GraphicsContext3D::getShaderSource):
733         (WebCore::GraphicsContext3D::getTexParameterfv):
734         (WebCore::GraphicsContext3D::getTexParameteriv):
735         (WebCore::GraphicsContext3D::getUniformf):
736         (WebCore::GraphicsContext3D::getUniformfv):
737         (WebCore::GraphicsContext3D::getUniformi):
738         (WebCore::GraphicsContext3D::getUniformiv):
739         (WebCore::GraphicsContext3D::getUniformLocation):
740         (WebCore::GraphicsContext3D::getVertexAttribfv):
741         (WebCore::GraphicsContext3D::getVertexAttribiv):
742         (WebCore::GraphicsContext3D::isBuffer):
743         (WebCore::GraphicsContext3D::isFramebuffer):
744         (WebCore::GraphicsContext3D::isProgram):
745         (WebCore::GraphicsContext3D::isRenderbuffer):
746         (WebCore::GraphicsContext3D::isShader):
747         (WebCore::GraphicsContext3D::isTexture):
748         (WebCore::GraphicsContext3D::readPixels):
749         (WebCore::GraphicsContext3D::shaderSource):
750         (WebCore::GraphicsContext3D::texImage2D):
751         (WebCore::GraphicsContext3D::texSubImage2D):
752
753 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
754
755         Reviewed by Dimitri Glazkov.
756
757         Up-streaming Chromium API src files: WebWorker and friends.
758
759         https://bugs.webkit.org/show_bug.cgi?id=31276
760
761         * src/WebWorkerBase.cpp: Added.
762         (WebKit::WorkerWebFrameClient::didCreateDataSource):
763         (WebKit::WorkerWebFrameClient::sharedInstance):
764         (WebKit::WorkerWebFrameClient::WorkerWebFrameClient):
765         (WebKit::initializeWebKitStaticValues):
766         (WebKit::WebWorkerBase::WebWorkerBase):
767         (WebKit::WebWorkerBase::~WebWorkerBase):
768         (WebKit::WebWorkerBase::stopWorkerThread):
769         (WebKit::WebWorkerBase::initializeLoader):
770         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
771         (WebKit::WebWorkerBase::invokeTaskMethod):
772         (WebKit::WebWorkerBase::postMessageToWorkerObject):
773         (WebKit::WebWorkerBase::postMessageTask):
774         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
775         (WebKit::WebWorkerBase::postExceptionTask):
776         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
777         (WebKit::WebWorkerBase::postConsoleMessageTask):
778         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
779         (WebKit::WebWorkerBase::confirmMessageTask):
780         (WebKit::WebWorkerBase::reportPendingActivity):
781         (WebKit::WebWorkerBase::reportPendingActivityTask):
782         (WebKit::WebWorkerBase::workerContextClosed):
783         (WebKit::WebWorkerBase::workerContextClosedTask):
784         (WebKit::WebWorkerBase::workerContextDestroyed):
785         (WebKit::WebWorkerBase::workerContextDestroyedTask):
786         (WebKit::WebWorkerBase::postTaskToLoader):
787         (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
788         * src/WebWorkerBase.h: Added.
789         (WebKit::WebWorkerBase::setWorkerThread):
790         (WebKit::WebWorkerBase::workerThread):
791         * src/WebWorkerClientImpl.cpp: Added.
792         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
793         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
794         (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
795         (WebKit::WebWorkerClientImpl::setWebWorker):
796         (WebKit::WebWorkerClientImpl::startWorkerContext):
797         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
798         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
799         (WebKit::WebWorkerClientImpl::hasPendingActivity):
800         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
801         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
802         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
803         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
804         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
805         (WebKit::WebWorkerClientImpl::reportPendingActivity):
806         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
807         (WebKit::WebWorkerClientImpl::workerContextClosed):
808         (WebKit::WebWorkerClientImpl::startWorkerContextTask):
809         (WebKit::WebWorkerClientImpl::terminateWorkerContextTask):
810         (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask):
811         (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask):
812         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
813         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
814         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
815         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask):
816         (WebKit::WebWorkerClientImpl::reportPendingActivityTask):
817         * src/WebWorkerClientImpl.h: Added.
818         (WebKit::WebWorkerClientImpl::createWorker):
819         (WebKit::WebWorkerClientImpl::notificationPresenter):
820         * src/WebWorkerImpl.cpp: Added.
821         (WebKit::WebWorker::create):
822         (WebKit::WebWorkerImpl::WebWorkerImpl):
823         (WebKit::WebWorkerImpl::~WebWorkerImpl):
824         (WebKit::WebWorkerImpl::commonClient):
825         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
826         (WebKit::WebWorkerImpl::startWorkerContext):
827         (WebKit::WebWorkerImpl::terminateWorkerContext):
828         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
829         (WebKit::WebWorkerImpl::workerObjectDestroyed):
830         (WebKit::WebWorkerImpl::clientDestroyed):
831         * src/WebWorkerImpl.h: Added.
832         (WebKit::WebWorkerImpl::client):
833
834 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
835
836         Reviewed by Dimitri Glazkov.
837
838         Up-streaming Chromium API src files: Platform specific files.
839
840         https://bugs.webkit.org/show_bug.cgi?id=31276
841
842         * src/gtk/WebFontInfo.cpp: Added.
843         (WebKit::WebFontInfo::familyForChars):
844         * src/gtk/WebInputEventFactory.cpp: Added.
845         (WebKit::gdkEventTimeToWebEventTime):
846         (WebKit::gdkStateToWebEventModifiers):
847         (WebKit::gdkEventToWindowsKeyCode):
848         (WebKit::getControlCharacter):
849         (WebKit::WebInputEventFactory::keyboardEvent):
850         (WebKit::WebInputEventFactory::mouseEvent):
851         (WebKit::WebInputEventFactory::mouseWheelEvent):
852         * src/gtk/WebScreenInfoFactory.cpp: Added.
853         (WebKit::WebScreenInfoFactory::screenInfo):
854         * src/linux/WebFontRendering.cpp: Added.
855         (WebKit::WebFontRendering::setHinting):
856         (WebKit::WebFontRendering::setAntiAlias):
857         (WebKit::WebFontRendering::setSubpixelGlyphs):
858         (WebKit::WebFontRendering::setLCDOrder):
859         (WebKit::WebFontRendering::setLCDOrientation):
860         * src/mac/WebInputEventFactory.mm: Added.
861         (WebKit::isKeyUpEvent):
862         (WebKit::isKeypadEvent):
863         (WebKit::windowsKeyCodeForKeyEvent):
864         (WebKit::textFromEvent):
865         (WebKit::unmodifiedTextFromEvent):
866         (WebKit::keyIdentifierForKeyEvent):
867         (WebKit::modifiersFromEvent):
868         (WebKit::WebInputEventFactory::keyboardEvent):
869         (WebKit::WebInputEventFactory::mouseEvent):
870         (WebKit::WebInputEventFactory::mouseWheelEvent):
871         * src/mac/WebScreenInfoFactory.mm: Added.
872         (WebKit::screenForWindow):
873         (WebKit::toUserSpace):
874         (WebKit::WebScreenInfoFactory::screenInfo):
875         * src/win/WebInputEventFactory.cpp: Added.
876         (WebKit::isKeyPad):
877         (WebKit::WebInputEventFactory::keyboardEvent):
878         (WebKit::GetRelativeCursorPos):
879         (WebKit::WebInputEventFactory::resetLastClickState):
880         (WebKit::WebInputEventFactory::mouseEvent):
881         (WebKit::WebInputEventFactory::mouseWheelEvent):
882         * src/win/WebScreenInfoFactory.cpp: Added.
883         (WebKit::toWebRect):
884         (WebKit::WebScreenInfoFactory::screenInfo):
885         * src/x11/WebScreenInfoFactory.cpp: Added.
886         (WebKit::WebScreenInfoFactory::screenInfo):
887
888 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
889
890         Reviewed by Eric Seidel.
891
892         Up-streaming Chromium API src files: WrapperResourceRequest and Response
893
894         https://bugs.webkit.org/show_bug.cgi?id=31276
895
896         * src/WrappedResourceRequest.h: Added.
897         (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
898         (WebKit::WrappedResourceRequest::WrappedResourceRequest):
899         (WebKit::WrappedResourceRequest::bind):
900         (WebKit::WrappedResourceRequest::Handle::dispose):
901         * src/WrappedResourceResponse.h: Added.
902         (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
903         (WebKit::WrappedResourceResponse::WrappedResourceResponse):
904         (WebKit::WrappedResourceResponse::bind):
905         (WebKit::WrappedResourceResponse::Handle::dispose):
906
907 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
908
909         Reviewed by Dimitri Glazkov.
910
911         Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy
912
913         https://bugs.webkit.org/show_bug.cgi?id=31276
914
915         * src/SocketStreamHandle.cpp: Added.
916         (WebCore::SocketStreamHandleInternal::create):
917         (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal):
918         (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal):
919         (WebCore::SocketStreamHandleInternal::connect):
920         (WebCore::SocketStreamHandleInternal::send):
921         (WebCore::SocketStreamHandleInternal::close):
922         (WebCore::SocketStreamHandleInternal::willOpenStream):
923         (WebCore::SocketStreamHandleInternal::didOpenStream):
924         (WebCore::SocketStreamHandleInternal::didSendData):
925         (WebCore::SocketStreamHandleInternal::didReceiveData):
926         (WebCore::SocketStreamHandleInternal::didClose):
927         (WebCore::SocketStreamHandleInternal::didFail):
928         (WebCore::SocketStreamHandle::SocketStreamHandle):
929         (WebCore::SocketStreamHandle::~SocketStreamHandle):
930         (WebCore::SocketStreamHandle::platformSend):
931         (WebCore::SocketStreamHandle::platformClose):
932         (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
933         (WebCore::SocketStreamHandle::receivedCredential):
934         (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
935         (WebCore::SocketStreamHandle::receivedCancellation):
936         * src/StorageAreaProxy.cpp: Added.
937         (WebCore::StorageAreaProxy::StorageAreaProxy):
938         (WebCore::StorageAreaProxy::~StorageAreaProxy):
939         (WebCore::StorageAreaProxy::length):
940         (WebCore::StorageAreaProxy::key):
941         (WebCore::StorageAreaProxy::getItem):
942         (WebCore::StorageAreaProxy::setItem):
943         (WebCore::StorageAreaProxy::removeItem):
944         (WebCore::StorageAreaProxy::clear):
945         (WebCore::StorageAreaProxy::contains):
946         * src/StorageAreaProxy.h: Added.
947         * src/StorageEventDispatcherChromium.cpp: Added.
948         (WebCore::StorageEventDispatcher::dispatch):
949         * src/StorageEventDispatcherImpl.cpp: Added.
950         (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
951         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
952         * src/StorageEventDispatcherImpl.h: Added.
953         * src/StorageNamespaceProxy.cpp: Added.
954         (WebCore::StorageNamespace::localStorageNamespace):
955         (WebCore::StorageNamespace::sessionStorageNamespace):
956         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
957         (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy):
958         (WebCore::StorageNamespaceProxy::copy):
959         (WebCore::StorageNamespaceProxy::storageArea):
960         (WebCore::StorageNamespaceProxy::close):
961         (WebCore::StorageNamespaceProxy::unlock):
962         * src/StorageNamespaceProxy.h: Added.
963
964 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
965
966         Reviewed by Dimitri Glazkov.
967
968         Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository
969
970         https://bugs.webkit.org/show_bug.cgi?id=31276
971
972         * src/NotificationPresenterImpl.cpp: Added.
973         (WebKit::VoidCallbackClient::VoidCallbackClient):
974         (WebKit::VoidCallbackClient::permissionRequestComplete):
975         (WebKit::NotificationPresenterImpl::initialize):
976         (WebKit::NotificationPresenterImpl::isInitialized):
977         (WebKit::NotificationPresenterImpl::show):
978         (WebKit::NotificationPresenterImpl::cancel):
979         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
980         (WebKit::NotificationPresenterImpl::checkPermission):
981         (WebKit::NotificationPresenterImpl::requestPermission):
982         * src/NotificationPresenterImpl.h: Added.
983         (WebKit::NotificationPresenterImpl::NotificationPresenterImpl):
984         * src/PlatformMessagePortChannel.cpp: Added.
985         (WebCore::MessagePortChannel::create):
986         (WebCore::MessagePortChannel::createChannel):
987         (WebCore::MessagePortChannel::MessagePortChannel):
988         (WebCore::MessagePortChannel::~MessagePortChannel):
989         (WebCore::MessagePortChannel::entangleIfOpen):
990         (WebCore::MessagePortChannel::disentangle):
991         (WebCore::MessagePortChannel::postMessageToRemote):
992         (WebCore::MessagePortChannel::tryGetMessageFromRemote):
993         (WebCore::MessagePortChannel::close):
994         (WebCore::MessagePortChannel::isConnectedTo):
995         (WebCore::MessagePortChannel::hasPendingActivity):
996         (WebCore::MessagePortChannel::locallyEntangledPort):
997         (WebCore::PlatformMessagePortChannel::create):
998         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
999         (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel):
1000         (WebCore::PlatformMessagePortChannel::createChannel):
1001         (WebCore::PlatformMessagePortChannel::messageAvailable):
1002         (WebCore::PlatformMessagePortChannel::entangleIfOpen):
1003         (WebCore::PlatformMessagePortChannel::disentangle):
1004         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
1005         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
1006         (WebCore::PlatformMessagePortChannel::close):
1007         (WebCore::PlatformMessagePortChannel::isConnectedTo):
1008         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
1009         (WebCore::PlatformMessagePortChannel::setEntangledChannel):
1010         (WebCore::PlatformMessagePortChannel::webChannelRelease):
1011         * src/PlatformMessagePortChannel.h: Added.
1012         * src/ResourceHandle.cpp: Added.
1013         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
1014         (WebCore::ResourceHandleInternal::start):
1015         (WebCore::ResourceHandleInternal::cancel):
1016         (WebCore::ResourceHandleInternal::setDefersLoading):
1017         (WebCore::ResourceHandleInternal::allowStoredCredentials):
1018         (WebCore::ResourceHandleInternal::willSendRequest):
1019         (WebCore::ResourceHandleInternal::didSendData):
1020         (WebCore::ResourceHandleInternal::didReceiveResponse):
1021         (WebCore::ResourceHandleInternal::didReceiveData):
1022         (WebCore::ResourceHandleInternal::didFinishLoading):
1023         (WebCore::ResourceHandleInternal::didFail):
1024         (WebCore::ResourceHandle::ResourceHandle):
1025         (WebCore::ResourceHandle::create):
1026         (WebCore::ResourceHandle::request):
1027         (WebCore::ResourceHandle::client):
1028         (WebCore::ResourceHandle::setClient):
1029         (WebCore::ResourceHandle::setDefersLoading):
1030         (WebCore::ResourceHandle::start):
1031         (WebCore::ResourceHandle::clearAuthentication):
1032         (WebCore::ResourceHandle::cancel):
1033         (WebCore::ResourceHandle::~ResourceHandle):
1034         (WebCore::ResourceHandle::bufferedData):
1035         (WebCore::ResourceHandle::loadsBlocked):
1036         (WebCore::ResourceHandle::supportsBufferedData):
1037         (WebCore::ResourceHandle::loadResourceSynchronously):
1038         (WebCore::ResourceHandle::willLoadFromCache):
1039         * src/SharedWorkerRepository.cpp: Added.
1040         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
1041         (WebCore::SharedWorkerScriptLoader::load):
1042         (WebCore::getWebPort):
1043         (WebCore::SharedWorkerScriptLoader::notifyFinished):
1044         (WebCore::SharedWorkerScriptLoader::sendConnect):
1045         (WebCore::SharedWorkerScriptLoader::contextDestroyed):
1046         (WebCore::SharedWorkerScriptLoader::connected):
1047         (WebCore::SharedWorkerRepository::isAvailable):
1048         (WebCore::getId):
1049         (WebCore::SharedWorkerRepository::connect):
1050         (WebCore::SharedWorkerRepository::documentDetached):
1051         (WebCore::SharedWorkerRepository::hasSharedWorkers):
1052
1053 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
1054
1055         Reviewed by Dimitri Glazkov.
1056
1057         Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium
1058
1059         https://bugs.webkit.org/show_bug.cgi?id=31276
1060
1061         * src/GraphicsContext3D.cpp: Added.
1062         (WebCore::GraphicsContext3DInternal::):
1063         (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
1064         (WebCore::tryLoad):
1065         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1066         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
1067         (WebCore::GraphicsContext3DInternal::checkError):
1068         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
1069         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
1070         (WebCore::GraphicsContext3DInternal::platformTexture):
1071         (WebCore::createTextureObject):
1072         (WebCore::GraphicsContext3DInternal::reshape):
1073         (WebCore::GraphicsContext3DInternal::flipVertically):
1074         (WebCore::GraphicsContext3DInternal::beginPaint):
1075         (WebCore::GraphicsContext3DInternal::validateTextureTarget):
1076         (WebCore::GraphicsContext3DInternal::validateTextureParameter):
1077         (WebCore::GraphicsContext3DInternal::activeTexture):
1078         (WebCore::GraphicsContext3DInternal::bindBuffer):
1079         (WebCore::GraphicsContext3DInternal::bindTexture):
1080         (WebCore::GraphicsContext3DInternal::bufferDataImpl):
1081         (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
1082         (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
1083         (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
1084         (WebCore::GraphicsContext3DInternal::viewportImpl):
1085         (WebCore::GraphicsContext3D::create):
1086         (WebCore::GraphicsContext3D::GraphicsContext3D):
1087         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1088         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
1089         (WebCore::GraphicsContext3D::platformTexture):
1090         (WebCore::GraphicsContext3D::checkError):
1091         (WebCore::GraphicsContext3D::makeContextCurrent):
1092         (WebCore::GraphicsContext3D::reshape):
1093         (WebCore::GraphicsContext3D::beginPaint):
1094         (WebCore::GraphicsContext3D::endPaint):
1095         (WebCore::GraphicsContext3D::sizeInBytes):
1096         (WebCore::GraphicsContext3D::createBuffer):
1097         (WebCore::GraphicsContext3D::createFramebuffer):
1098         (WebCore::GraphicsContext3D::createProgram):
1099         (WebCore::GraphicsContext3D::createRenderbuffer):
1100         (WebCore::GraphicsContext3D::createShader):
1101         (WebCore::GraphicsContext3D::createTexture):
1102         (WebCore::GraphicsContext3D::deleteBuffer):
1103         (WebCore::GraphicsContext3D::deleteFramebuffer):
1104         (WebCore::GraphicsContext3D::deleteProgram):
1105         (WebCore::GraphicsContext3D::deleteRenderbuffer):
1106         (WebCore::GraphicsContext3D::deleteShader):
1107         (WebCore::GraphicsContext3D::deleteTexture):
1108         (WebCore::GraphicsContext3D::activeTexture):
1109         (WebCore::GraphicsContext3D::bindAttribLocation):
1110         (WebCore::GraphicsContext3D::bindBuffer):
1111         (WebCore::GraphicsContext3D::bindTexture):
1112         (WebCore::GraphicsContext3D::bufferData):
1113         (WebCore::GraphicsContext3D::bufferSubData):
1114         (WebCore::GraphicsContext3D::checkFramebufferStatus):
1115         (WebCore::GraphicsContext3D::detachShader):
1116         (WebCore::GraphicsContext3D::disableVertexAttribArray):
1117         (WebCore::GraphicsContext3D::drawArrays):
1118         (WebCore::GraphicsContext3D::drawElements):
1119         (WebCore::GraphicsContext3D::enableVertexAttribArray):
1120         (WebCore::GraphicsContext3D::generateMipmap):
1121         (WebCore::GraphicsContext3D::getActiveAttrib):
1122         (WebCore::GraphicsContext3D::getActiveUniform):
1123         (WebCore::GraphicsContext3D::getAttribLocation):
1124         (WebCore::GraphicsContext3D::getBoolean):
1125         (WebCore::GraphicsContext3D::getBooleanv):
1126         (WebCore::GraphicsContext3D::getBufferParameteri):
1127         (WebCore::GraphicsContext3D::getBufferParameteriv):
1128         (WebCore::GraphicsContext3D::getError):
1129         (WebCore::GraphicsContext3D::getFloat):
1130         (WebCore::GraphicsContext3D::getFloatv):
1131         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri):
1132         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
1133         (WebCore::GraphicsContext3D::getInteger):
1134         (WebCore::GraphicsContext3D::getIntegerv):
1135         (WebCore::GraphicsContext3D::getProgrami):
1136         (WebCore::GraphicsContext3D::getProgramiv):
1137         (WebCore::GraphicsContext3D::getProgramInfoLog):
1138         (WebCore::GraphicsContext3D::getRenderbufferParameteri):
1139         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
1140         (WebCore::GraphicsContext3D::getShaderi):
1141         (WebCore::GraphicsContext3D::getShaderiv):
1142         (WebCore::GraphicsContext3D::getShaderInfoLog):
1143         (WebCore::GraphicsContext3D::getShaderSource):
1144         (WebCore::GraphicsContext3D::getString):
1145         (WebCore::GraphicsContext3D::getTexParameterf):
1146         (WebCore::GraphicsContext3D::getTexParameterfv):
1147         (WebCore::GraphicsContext3D::getTexParameteri):
1148         (WebCore::GraphicsContext3D::getTexParameteriv):
1149         (WebCore::GraphicsContext3D::getUniformf):
1150         (WebCore::GraphicsContext3D::getUniformfv):
1151         (WebCore::GraphicsContext3D::getUniformi):
1152         (WebCore::GraphicsContext3D::getUniformiv):
1153         (WebCore::GraphicsContext3D::getUniformLocation):
1154         (WebCore::GraphicsContext3D::getVertexAttribf):
1155         (WebCore::GraphicsContext3D::getVertexAttribfv):
1156         (WebCore::GraphicsContext3D::getVertexAttribi):
1157         (WebCore::GraphicsContext3D::getVertexAttribiv):
1158         (WebCore::GraphicsContext3D::getVertexAttribOffset):
1159         (WebCore::GraphicsContext3D::isBuffer):
1160         (WebCore::GraphicsContext3D::isEnabled):
1161         (WebCore::GraphicsContext3D::isFramebuffer):
1162         (WebCore::GraphicsContext3D::isProgram):
1163         (WebCore::GraphicsContext3D::isRenderbuffer):
1164         (WebCore::GraphicsContext3D::isShader):
1165         (WebCore::GraphicsContext3D::isTexture):
1166         (WebCore::GraphicsContext3D::pixelStorei):
1167         (WebCore::GraphicsContext3D::readPixels):
1168         (WebCore::GraphicsContext3D::releaseShaderCompiler):
1169         (WebCore::GraphicsContext3D::shaderSource):
1170         (WebCore::GraphicsContext3D::texImage2D):
1171         (WebCore::unmultiplyAlpha):
1172         (WebCore::texImage2DHelper):
1173         (WebCore::GraphicsContext3D::texSubImage2D):
1174         (WebCore::GraphicsContext3D::uniform1fv):
1175         (WebCore::GraphicsContext3D::uniform1iv):
1176         (WebCore::GraphicsContext3D::uniform2fv):
1177         (WebCore::GraphicsContext3D::uniform2iv):
1178         (WebCore::GraphicsContext3D::uniform3fv):
1179         (WebCore::GraphicsContext3D::uniform3iv):
1180         (WebCore::GraphicsContext3D::uniform4fv):
1181         (WebCore::GraphicsContext3D::uniform4iv):
1182         (WebCore::GraphicsContext3D::uniformMatrix2fv):
1183         (WebCore::GraphicsContext3D::uniformMatrix3fv):
1184         (WebCore::GraphicsContext3D::uniformMatrix4fv):
1185         (WebCore::GraphicsContext3D::vertexAttrib1fv):
1186         (WebCore::GraphicsContext3D::vertexAttrib2fv):
1187         (WebCore::GraphicsContext3D::vertexAttrib3fv):
1188         (WebCore::GraphicsContext3D::vertexAttrib4fv):
1189         (WebCore::GraphicsContext3D::vertexAttribPointer):
1190         (WebCore::GraphicsContext3D::viewport):
1191         * src/InspectorClientImpl.cpp: Added.
1192         (WebKit::InspectorClientImpl::InspectorClientImpl):
1193         (WebKit::InspectorClientImpl::~InspectorClientImpl):
1194         (WebKit::InspectorClientImpl::inspectorDestroyed):
1195         (WebKit::InspectorClientImpl::createPage):
1196         (WebKit::InspectorClientImpl::showWindow):
1197         (WebKit::InspectorClientImpl::closeWindow):
1198         (WebKit::InspectorClientImpl::windowVisible):
1199         (WebKit::InspectorClientImpl::attachWindow):
1200         (WebKit::InspectorClientImpl::detachWindow):
1201         (WebKit::InspectorClientImpl::setAttachedWindowHeight):
1202         (WebKit::invalidateNodeBoundingRect):
1203         (WebKit::InspectorClientImpl::highlight):
1204         (WebKit::InspectorClientImpl::hideHighlight):
1205         (WebKit::InspectorClientImpl::inspectedURLChanged):
1206         (WebKit::InspectorClientImpl::localizedStringsURL):
1207         (WebKit::InspectorClientImpl::hiddenPanels):
1208         (WebKit::InspectorClientImpl::populateSetting):
1209         (WebKit::InspectorClientImpl::storeSetting):
1210         (WebKit::InspectorClientImpl::removeSetting):
1211         (WebKit::InspectorClientImpl::inspectorWindowObjectCleared):
1212         (WebKit::InspectorClientImpl::loadSettings):
1213         (WebKit::InspectorClientImpl::saveSettings):
1214         * src/InspectorClientImpl.h: Added.
1215         * src/LocalizedStrings.cpp: Added.
1216         (WebCore::query):
1217         (WebCore::searchableIndexIntroduction):
1218         (WebCore::submitButtonDefaultLabel):
1219         (WebCore::inputElementAltText):
1220         (WebCore::resetButtonDefaultLabel):
1221         (WebCore::fileButtonChooseFileLabel):
1222         (WebCore::fileButtonNoFileSelectedLabel):
1223         (WebCore::searchMenuNoRecentSearchesText):
1224         (WebCore::searchMenuRecentSearchesText):
1225         (WebCore::searchMenuClearRecentSearchesText):
1226         (WebCore::AXWebAreaText):
1227         (WebCore::AXLinkText):
1228         (WebCore::AXListMarkerText):
1229         (WebCore::AXImageMapText):
1230         (WebCore::AXHeadingText):
1231         (WebCore::AXDefinitionListTermText):
1232         (WebCore::AXDefinitionListDefinitionText):
1233         (WebCore::AXButtonActionVerb):
1234         (WebCore::AXRadioButtonActionVerb):
1235         (WebCore::AXTextFieldActionVerb):
1236         (WebCore::AXCheckedCheckBoxActionVerb):
1237         (WebCore::AXUncheckedCheckBoxActionVerb):
1238         (WebCore::AXLinkActionVerb):
1239         (WebCore::multipleFileUploadText):
1240         (WebCore::unknownFileSizeText):
1241         (WebCore::keygenMenuHighGradeKeySize):
1242         (WebCore::keygenMenuMediumGradeKeySize):
1243         (WebCore::imageTitle):
1244         (WebCore::contextMenuItemTagOpenLinkInNewWindow):
1245         (WebCore::contextMenuItemTagDownloadLinkToDisk):
1246         (WebCore::contextMenuItemTagCopyLinkToClipboard):
1247         (WebCore::contextMenuItemTagOpenImageInNewWindow):
1248         (WebCore::contextMenuItemTagDownloadImageToDisk):
1249         (WebCore::contextMenuItemTagCopyImageToClipboard):
1250         (WebCore::contextMenuItemTagOpenFrameInNewWindow):
1251         (WebCore::contextMenuItemTagCopy):
1252         (WebCore::contextMenuItemTagGoBack):
1253         (WebCore::contextMenuItemTagGoForward):
1254         (WebCore::contextMenuItemTagStop):
1255         (WebCore::contextMenuItemTagReload):
1256         (WebCore::contextMenuItemTagCut):
1257         (WebCore::contextMenuItemTagPaste):
1258         (WebCore::contextMenuItemTagNoGuessesFound):
1259         (WebCore::contextMenuItemTagIgnoreSpelling):
1260         (WebCore::contextMenuItemTagLearnSpelling):
1261         (WebCore::contextMenuItemTagSearchWeb):
1262         (WebCore::contextMenuItemTagLookUpInDictionary):
1263         (WebCore::contextMenuItemTagOpenLink):
1264         (WebCore::contextMenuItemTagIgnoreGrammar):
1265         (WebCore::contextMenuItemTagSpellingMenu):
1266         (WebCore::contextMenuItemTagCheckSpelling):
1267         (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
1268         (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
1269         (WebCore::contextMenuItemTagFontMenu):
1270         (WebCore::contextMenuItemTagBold):
1271         (WebCore::contextMenuItemTagItalic):
1272         (WebCore::contextMenuItemTagUnderline):
1273         (WebCore::contextMenuItemTagOutline):
1274         (WebCore::contextMenuItemTagWritingDirectionMenu):
1275         (WebCore::contextMenuItemTagTextDirectionMenu):
1276         (WebCore::contextMenuItemTagDefaultDirection):
1277         (WebCore::contextMenuItemTagLeftToRight):
1278         (WebCore::contextMenuItemTagRightToLeft):
1279         (WebCore::contextMenuItemTagInspectElement):
1280         (WebCore::contextMenuItemTagShowSpellingPanel):
1281         (WebCore::mediaElementLiveBroadcastStateText):
1282         (WebCore::mediaElementLoadingStateText):
1283         (WebCore::localizedMediaControlElementString):
1284         (WebCore::localizedMediaControlElementHelpText):
1285         (WebCore::localizedMediaTimeDescription):
1286         * src/MediaPlayerPrivateChromium.cpp: Added.
1287         (WebCore::MediaPlayerPrivate::registerMediaEngine):
1288
1289 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
1290
1291         Reviewed by Dimitri Glazkov.
1292
1293         Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl
1294
1295         https://bugs.webkit.org/show_bug.cgi?id=31276
1296
1297         * src/DOMUtilitiesPrivate.cpp: Added.
1298         (WebCore::toHTMLElement):
1299         (WebKit::toHTMLInputElement):
1300         (WebKit::toHTMLLinkElement):
1301         (WebKit::toHTMLMetaElement):
1302         (WebKit::toHTMLOptionElement):
1303         (WebKit::nameOfInputElement):
1304         * src/DOMUtilitiesPrivate.h: Added.
1305         * src/DragClientImpl.cpp: Added.
1306         (WebKit::DragClientImpl::willPerformDragDestinationAction):
1307         (WebKit::DragClientImpl::willPerformDragSourceAction):
1308         (WebKit::DragClientImpl::actionMaskForDrag):
1309         (WebKit::DragClientImpl::dragSourceActionMaskForPoint):
1310         (WebKit::DragClientImpl::startDrag):
1311         (WebKit::DragClientImpl::createDragImageForLink):
1312         (WebKit::DragClientImpl::dragControllerDestroyed):
1313         * src/DragClientImpl.h: Added.
1314         (WebKit::DragClientImpl::DragClientImpl):
1315         * src/EditorClientImpl.cpp: Added.
1316         (WebKit::EditorClientImpl::EditorClientImpl):
1317         (WebKit::EditorClientImpl::~EditorClientImpl):
1318         (WebKit::EditorClientImpl::pageDestroyed):
1319         (WebKit::EditorClientImpl::shouldShowDeleteInterface):
1320         (WebKit::EditorClientImpl::smartInsertDeleteEnabled):
1321         (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
1322         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
1323         (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled):
1324         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
1325         (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
1326         (WebKit::EditorClientImpl::toggleGrammarChecking):
1327         (WebKit::EditorClientImpl::spellCheckerDocumentTag):
1328         (WebKit::EditorClientImpl::isEditable):
1329         (WebKit::EditorClientImpl::shouldBeginEditing):
1330         (WebKit::EditorClientImpl::shouldEndEditing):
1331         (WebKit::EditorClientImpl::shouldInsertNode):
1332         (WebKit::EditorClientImpl::shouldInsertText):
1333         (WebKit::EditorClientImpl::shouldDeleteRange):
1334         (WebKit::EditorClientImpl::shouldChangeSelectedRange):
1335         (WebKit::EditorClientImpl::shouldApplyStyle):
1336         (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete):
1337         (WebKit::EditorClientImpl::didBeginEditing):
1338         (WebKit::EditorClientImpl::respondToChangedSelection):
1339         (WebKit::EditorClientImpl::respondToChangedContents):
1340         (WebKit::EditorClientImpl::didEndEditing):
1341         (WebKit::EditorClientImpl::didWriteSelectionToPasteboard):
1342         (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard):
1343         (WebKit::EditorClientImpl::registerCommandForUndo):
1344         (WebKit::EditorClientImpl::registerCommandForRedo):
1345         (WebKit::EditorClientImpl::clearUndoRedoOperations):
1346         (WebKit::EditorClientImpl::canUndo):
1347         (WebKit::EditorClientImpl::canRedo):
1348         (WebKit::EditorClientImpl::undo):
1349         (WebKit::EditorClientImpl::redo):
1350         (WebKit::):
1351         (WebKit::EditorClientImpl::interpretKeyEvent):
1352         (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
1353         (WebKit::EditorClientImpl::handleKeyboardEvent):
1354         (WebKit::EditorClientImpl::handleInputMethodKeydown):
1355         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
1356         (WebKit::EditorClientImpl::textFieldDidEndEditing):
1357         (WebKit::EditorClientImpl::textDidChangeInTextField):
1358         (WebKit::EditorClientImpl::showFormAutofillForNode):
1359         (WebKit::EditorClientImpl::autofill):
1360         (WebKit::EditorClientImpl::doAutofill):
1361         (WebKit::EditorClientImpl::cancelPendingAutofill):
1362         (WebKit::EditorClientImpl::onAutofillSuggestionAccepted):
1363         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
1364         (WebKit::EditorClientImpl::textWillBeDeletedInTextField):
1365         (WebKit::EditorClientImpl::textDidChangeInTextArea):
1366         (WebKit::EditorClientImpl::ignoreWordInSpellDocument):
1367         (WebKit::EditorClientImpl::learnWord):
1368         (WebKit::EditorClientImpl::checkSpellingOfString):
1369         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
1370         (WebKit::EditorClientImpl::checkGrammarOfString):
1371         (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString):
1372         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
1373         (WebKit::EditorClientImpl::showSpellingUI):
1374         (WebKit::EditorClientImpl::spellingUIIsShowing):
1375         (WebKit::EditorClientImpl::getGuessesForWord):
1376         (WebKit::EditorClientImpl::setInputMethodState):
1377         * src/EditorClientImpl.h: Added.
1378         (WebKit::EditorClientImpl::):
1379         * src/FrameLoaderClientImpl.cpp: Added.
1380         (WebKit::):
1381         (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
1382         (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl):
1383         (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed):
1384         (WebKit::FrameLoaderClientImpl::windowObjectCleared):
1385         (WebKit::FrameLoaderClientImpl::documentElementAvailable):
1386         (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
1387         (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
1388         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
1389         (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation):
1390         (WebKit::FrameLoaderClientImpl::registerForIconNotification):
1391         (WebKit::FrameLoaderClientImpl::didChangeScrollOffset):
1392         (WebKit::FrameLoaderClientImpl::allowJavaScript):
1393         (WebKit::FrameLoaderClientImpl::hasWebView):
1394         (WebKit::FrameLoaderClientImpl::hasFrameView):
1395         (WebKit::FrameLoaderClientImpl::makeDocumentView):
1396         (WebKit::FrameLoaderClientImpl::makeRepresentation):
1397         (WebKit::FrameLoaderClientImpl::forceLayout):
1398         (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML):
1399         (WebKit::FrameLoaderClientImpl::setCopiesOnScroll):
1400         (WebKit::FrameLoaderClientImpl::detachedFromParent2):
1401         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1402         (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest):
1403         (WebKit::determineTargetTypeFromLoader):
1404         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
1405         (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage):
1406         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge):
1407         (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge):
1408         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse):
1409         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
1410         (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading):
1411         (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading):
1412         (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
1413         (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache):
1414         (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest):
1415         (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents):
1416         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad):
1417         (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect):
1418         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
1419         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
1420         (WebKit::FrameLoaderClientImpl::dispatchWillClose):
1421         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon):
1422         (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad):
1423         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
1424         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
1425         (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad):
1426         (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad):
1427         (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad):
1428         (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
1429         (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
1430         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
1431         (WebKit::FrameLoaderClientImpl::dispatchShow):
1432         (WebKit::shouldTreatAsAttachment):
1433         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
1434         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
1435         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
1436         (WebKit::FrameLoaderClientImpl::cancelPolicyCheck):
1437         (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy):
1438         (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm):
1439         (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource):
1440         (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
1441         (WebKit::FrameLoaderClientImpl::setMainDocumentError):
1442         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
1443         (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
1444         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
1445         (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady):
1446         (WebKit::FrameLoaderClientImpl::startDownload):
1447         (WebKit::FrameLoaderClientImpl::willChangeTitle):
1448         (WebKit::FrameLoaderClientImpl::didChangeTitle):
1449         (WebKit::FrameLoaderClientImpl::committedLoad):
1450         (WebKit::FrameLoaderClientImpl::finishedLoading):
1451         (WebKit::FrameLoaderClientImpl::updateGlobalHistory):
1452         (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks):
1453         (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem):
1454         (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent):
1455         (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
1456         (WebKit::FrameLoaderClientImpl::blockedError):
1457         (WebKit::FrameLoaderClientImpl::cancelledError):
1458         (WebKit::FrameLoaderClientImpl::cannotShowURLError):
1459         (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError):
1460         (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError):
1461         (WebKit::FrameLoaderClientImpl::fileDoesNotExistError):
1462         (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError):
1463         (WebKit::FrameLoaderClientImpl::shouldFallBack):
1464         (WebKit::FrameLoaderClientImpl::canHandleRequest):
1465         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
1466         (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme):
1467         (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme):
1468         (WebKit::FrameLoaderClientImpl::frameLoadCompleted):
1469         (WebKit::FrameLoaderClientImpl::saveViewStateToItem):
1470         (WebKit::FrameLoaderClientImpl::restoreViewState):
1471         (WebKit::FrameLoaderClientImpl::provisionalLoadStarted):
1472         (WebKit::FrameLoaderClientImpl::didFinishLoad):
1473         (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement):
1474         (WebKit::FrameLoaderClientImpl::createDocumentLoader):
1475         (WebKit::FrameLoaderClientImpl::setTitle):
1476         (WebKit::FrameLoaderClientImpl::userAgent):
1477         (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame):
1478         (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame):
1479         (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage):
1480         (WebKit::FrameLoaderClientImpl::canCachePage):
1481         (WebKit::FrameLoaderClientImpl::download):
1482         (WebKit::FrameLoaderClientImpl::createFrame):
1483         (WebKit::FrameLoaderClientImpl::createPlugin):
1484         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
1485         (WebKit::FrameLoaderClientImpl::createJavaAppletWidget):
1486         (WebKit::FrameLoaderClientImpl::objectContentType):
1487         (WebKit::FrameLoaderClientImpl::overrideMediaType):
1488         (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
1489         (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation):
1490         (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
1491         * src/FrameLoaderClientImpl.h: Added.
1492         (WebKit::FrameLoaderClientImpl::webFrame):
1493         (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress):
1494         (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress):
1495
1496 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
1497
1498         Reviewed by Dimitri Glazkov.
1499
1500         Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl
1501
1502         https://bugs.webkit.org/show_bug.cgi?id=31276
1503
1504         * src/ChromeClientImpl.cpp: Added.
1505         (WebKit::ChromeClientImpl::ChromeClientImpl):
1506         (WebKit::ChromeClientImpl::~ChromeClientImpl):
1507         (WebKit::ChromeClientImpl::chromeDestroyed):
1508         (WebKit::ChromeClientImpl::setWindowRect):
1509         (WebKit::ChromeClientImpl::windowRect):
1510         (WebKit::ChromeClientImpl::pageRect):
1511         (WebKit::ChromeClientImpl::scaleFactor):
1512         (WebKit::ChromeClientImpl::focus):
1513         (WebKit::ChromeClientImpl::unfocus):
1514         (WebKit::ChromeClientImpl::canTakeFocus):
1515         (WebKit::ChromeClientImpl::takeFocus):
1516         (WebKit::ChromeClientImpl::focusedNodeChanged):
1517         (WebKit::ChromeClientImpl::createWindow):
1518         (WebKit::currentEventShouldCauseBackgroundTab):
1519         (WebKit::ChromeClientImpl::show):
1520         (WebKit::ChromeClientImpl::canRunModal):
1521         (WebKit::ChromeClientImpl::runModal):
1522         (WebKit::ChromeClientImpl::setToolbarsVisible):
1523         (WebKit::ChromeClientImpl::toolbarsVisible):
1524         (WebKit::ChromeClientImpl::setStatusbarVisible):
1525         (WebKit::ChromeClientImpl::statusbarVisible):
1526         (WebKit::ChromeClientImpl::setScrollbarsVisible):
1527         (WebKit::ChromeClientImpl::scrollbarsVisible):
1528         (WebKit::ChromeClientImpl::setMenubarVisible):
1529         (WebKit::ChromeClientImpl::menubarVisible):
1530         (WebKit::ChromeClientImpl::setResizable):
1531         (WebKit::ChromeClientImpl::addMessageToConsole):
1532         (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel):
1533         (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel):
1534         (WebKit::ChromeClientImpl::closeWindowSoon):
1535         (WebKit::ChromeClientImpl::runJavaScriptAlert):
1536         (WebKit::ChromeClientImpl::runJavaScriptConfirm):
1537         (WebKit::ChromeClientImpl::runJavaScriptPrompt):
1538         (WebKit::ChromeClientImpl::setStatusbarText):
1539         (WebKit::ChromeClientImpl::shouldInterruptJavaScript):
1540         (WebKit::ChromeClientImpl::tabsToLinks):
1541         (WebKit::ChromeClientImpl::windowResizerRect):
1542         (WebKit::ChromeClientImpl::repaint):
1543         (WebKit::ChromeClientImpl::scroll):
1544         (WebKit::ChromeClientImpl::screenToWindow):
1545         (WebKit::ChromeClientImpl::windowToScreen):
1546         (WebKit::ChromeClientImpl::contentsSizeChanged):
1547         (WebKit::ChromeClientImpl::scrollbarsModeDidChange):
1548         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
1549         (WebKit::ChromeClientImpl::setToolTip):
1550         (WebKit::ChromeClientImpl::print):
1551         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
1552         (WebKit::ChromeClientImpl::reachedMaxAppCacheSize):
1553         (WebKit::ChromeClientImpl::runOpenPanel):
1554         (WebKit::ChromeClientImpl::popupOpened):
1555         (WebKit::ChromeClientImpl::setCursor):
1556         (WebKit::ChromeClientImpl::setCursorForPlugin):
1557         (WebKit::ChromeClientImpl::formStateDidChange):
1558         (WebKit::ChromeClientImpl::getPopupMenuInfo):
1559         (WebKit::ChromeClientImpl::notificationPresenter):
1560         * src/ChromeClientImpl.h: Added.
1561         (WebKit::ChromeClientImpl::webView):
1562         (WebKit::ChromeClientImpl::platformPageClient):
1563         (WebKit::ChromeClientImpl::scrollRectIntoView):
1564         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
1565         (WebKit::ChromeClientImpl::setCursor):
1566         (WebKit::ChromeClientImpl::createHTMLParserQuirks):
1567         * src/ChromiumBridge.cpp: Added.
1568         (WebCore::toChromeClientImpl):
1569         (WebCore::toWebWidgetClient):
1570         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
1571         (WebCore::ChromiumBridge::clipboardReadPlainText):
1572         (WebCore::ChromiumBridge::clipboardReadHTML):
1573         (WebCore::ChromiumBridge::clipboardWriteSelection):
1574         (WebCore::ChromiumBridge::clipboardWritePlainText):
1575         (WebCore::ChromiumBridge::clipboardWriteURL):
1576         (WebCore::ChromiumBridge::clipboardWriteImage):
1577         (WebCore::ChromiumBridge::setCookies):
1578         (WebCore::ChromiumBridge::cookies):
1579         (WebCore::ChromiumBridge::rawCookies):
1580         (WebCore::ChromiumBridge::deleteCookie):
1581         (WebCore::ChromiumBridge::prefetchDNS):
1582         (WebCore::ChromiumBridge::fileExists):
1583         (WebCore::ChromiumBridge::deleteFile):
1584         (WebCore::ChromiumBridge::deleteEmptyDirectory):
1585         (WebCore::ChromiumBridge::getFileSize):
1586         (WebCore::ChromiumBridge::getFileModificationTime):
1587         (WebCore::ChromiumBridge::directoryName):
1588         (WebCore::ChromiumBridge::pathByAppendingComponent):
1589         (WebCore::ChromiumBridge::makeAllDirectories):
1590         (WebCore::ChromiumBridge::getAbsolutePath):
1591         (WebCore::ChromiumBridge::isDirectory):
1592         (WebCore::ChromiumBridge::filePathToURL):
1593         (WebCore::ChromiumBridge::ensureFontLoaded):
1594         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
1595         (WebCore::ChromiumBridge::databaseOpenFile):
1596         (WebCore::ChromiumBridge::databaseDeleteFile):
1597         (WebCore::ChromiumBridge::databaseGetFileAttributes):
1598         (WebCore::ChromiumBridge::databaseGetFileSize):
1599         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
1600         (WebCore::ChromiumBridge::computedDefaultLanguage):
1601         (WebCore::ChromiumBridge::layoutTestMode):
1602         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
1603         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
1604         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
1605         (WebCore::ChromiumBridge::mimeTypeForExtension):
1606         (WebCore::ChromiumBridge::mimeTypeFromFile):
1607         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
1608         (WebCore::ChromiumBridge::plugins):
1609         (WebCore::ChromiumBridge::pluginScriptableObject):
1610         (WebCore::ChromiumBridge::loadPlatformImageResource):
1611         (WebCore::ChromiumBridge::sandboxEnabled):
1612         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
1613         (WebCore::ChromiumBridge::setSharedTimerFireTime):
1614         (WebCore::ChromiumBridge::stopSharedTimer):
1615         (WebCore::ChromiumBridge::decrementStatsCounter):
1616         (WebCore::ChromiumBridge::incrementStatsCounter):
1617         (WebCore::ChromiumBridge::suddenTerminationChanged):
1618         (WebCore::ChromiumBridge::currentTime):
1619         (WebCore::ChromiumBridge::paintButton):
1620         (WebCore::ChromiumBridge::paintMenuList):
1621         (WebCore::ChromiumBridge::paintScrollbarArrow):
1622         (WebCore::ChromiumBridge::paintScrollbarThumb):
1623         (WebCore::ChromiumBridge::paintScrollbarTrack):
1624         (WebCore::ChromiumBridge::paintTextField):
1625         (WebCore::ChromiumBridge::paintTrackbar):
1626         (WebCore::ChromiumBridge::traceEventBegin):
1627         (WebCore::ChromiumBridge::traceEventEnd):
1628         (WebCore::ChromiumBridge::visitedLinkHash):
1629         (WebCore::ChromiumBridge::isLinkVisited):
1630         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
1631         (WebCore::ChromiumBridge::memoryUsageMB):
1632         (WebCore::ChromiumBridge::screenDepth):
1633         (WebCore::ChromiumBridge::screenDepthPerComponent):
1634         (WebCore::ChromiumBridge::screenIsMonochrome):
1635         (WebCore::ChromiumBridge::screenRect):
1636         (WebCore::ChromiumBridge::screenAvailableRect):
1637         (WebCore::ChromiumBridge::popupsAllowed):
1638         (WebCore::ChromiumBridge::widgetSetCursor):
1639         (WebCore::ChromiumBridge::widgetSetFocus):
1640         (WebCore::WorkerContextProxy::create):
1641         * src/ChromiumCurrentTime.cpp: Added.
1642         (WTF::currentTime):
1643         * src/ChromiumThreading.cpp: Added.
1644         (WTF::ChromiumThreading::initializeMainThread):
1645         (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread):
1646         * src/ContextMenuClientImpl.cpp: Added.
1647         (WebKit::urlFromFrame):
1648         (WebKit::isASingleWord):
1649         (WebKit::selectMisspelledWord):
1650         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1651         * src/ContextMenuClientImpl.h: Added.
1652         (WebKit::ContextMenuClientImpl::ContextMenuClientImpl):
1653         (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl):
1654         (WebKit::ContextMenuClientImpl::copyImageToClipboard):
1655         (WebKit::ContextMenuClientImpl::contextMenuDestroyed):
1656         (WebKit::ContextMenuClientImpl::contextMenuItemSelected):
1657         (WebKit::ContextMenuClientImpl::downloadURL):
1658         (WebKit::ContextMenuClientImpl::isSpeaking):
1659         (WebKit::ContextMenuClientImpl::lookUpInDictionary):
1660         (WebKit::ContextMenuClientImpl::searchWithGoogle):
1661         (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem):
1662         (WebKit::ContextMenuClientImpl::speak):
1663         (WebKit::ContextMenuClientImpl::stopSpeaking):
1664
1665 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
1666
1667         Reviewed by Dimitri Glazkov.
1668
1669         Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl
1670
1671         https://bugs.webkit.org/show_bug.cgi?id=31276
1672
1673         * src/ApplicationCacheHost.cpp: Added.
1674         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
1675         (WebCore::ApplicationCacheHostInternal::notifyEventListener):
1676         (WebCore::ApplicationCacheHost::ApplicationCacheHost):
1677         (WebCore::ApplicationCacheHost::~ApplicationCacheHost):
1678         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
1679         (WebCore::ApplicationCacheHost::selectCacheWithoutManifest):
1680         (WebCore::ApplicationCacheHost::selectCacheWithManifest):
1681         (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
1682         (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
1683         (WebCore::ApplicationCacheHost::mainResourceDataReceived):
1684         (WebCore::ApplicationCacheHost::failedLoadingMainResource):
1685         (WebCore::ApplicationCacheHost::finishedLoadingMainResource):
1686         (WebCore::ApplicationCacheHost::maybeLoadResource):
1687         (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect):
1688         (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse):
1689         (WebCore::ApplicationCacheHost::maybeLoadFallbackForError):
1690         (WebCore::ApplicationCacheHost::maybeLoadSynchronously):
1691         (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously):
1692         (WebCore::ApplicationCacheHost::canCacheInPageCache):
1693         (WebCore::ApplicationCacheHost::setDOMApplicationCache):
1694         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
1695         (WebCore::ApplicationCacheHost::status):
1696         (WebCore::ApplicationCacheHost::update):
1697         (WebCore::ApplicationCacheHost::swapCache):
1698         (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
1699         * src/AssertMatchingEnums.cpp: Added.
1700         * src/AutocompletePopupMenuClient.cpp: Added.
1701         (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient):
1702         (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient):
1703         (WebKit::AutocompletePopupMenuClient::initialize):
1704         (WebKit::AutocompletePopupMenuClient::valueChanged):
1705         (WebKit::AutocompletePopupMenuClient::itemText):
1706         (WebKit::AutocompletePopupMenuClient::itemStyle):
1707         (WebKit::AutocompletePopupMenuClient::menuStyle):
1708         (WebKit::AutocompletePopupMenuClient::clientPaddingLeft):
1709         (WebKit::AutocompletePopupMenuClient::clientPaddingRight):
1710         (WebKit::AutocompletePopupMenuClient::popupDidHide):
1711         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
1712         (WebKit::AutocompletePopupMenuClient::fontSelector):
1713         (WebKit::AutocompletePopupMenuClient::hostWindow):
1714         (WebKit::AutocompletePopupMenuClient::createScrollbar):
1715         (WebKit::AutocompletePopupMenuClient::setSuggestions):
1716         (WebKit::AutocompletePopupMenuClient::removeItemAtIndex):
1717         (WebKit::AutocompletePopupMenuClient::textFieldStyle):
1718         * src/AutocompletePopupMenuClient.h: Added.
1719         (WebKit::AutocompletePopupMenuClient::textField):
1720         (WebKit::AutocompletePopupMenuClient::itemToolTip):
1721         (WebKit::AutocompletePopupMenuClient::itemIsEnabled):
1722         (WebKit::AutocompletePopupMenuClient::clientInsetLeft):
1723         (WebKit::AutocompletePopupMenuClient::clientInsetRight):
1724         (WebKit::AutocompletePopupMenuClient::listSize):
1725         (WebKit::AutocompletePopupMenuClient::selectedIndex):
1726         (WebKit::AutocompletePopupMenuClient::itemIsSeparator):
1727         (WebKit::AutocompletePopupMenuClient::itemIsLabel):
1728         (WebKit::AutocompletePopupMenuClient::itemIsSelected):
1729         (WebKit::AutocompletePopupMenuClient::shouldPopOver):
1730         (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack):
1731         * src/BackForwardListClientImpl.cpp: Added.
1732         (WebKit::BackForwardListClientImpl::BackForwardListClientImpl):
1733         (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl):
1734         (WebKit::BackForwardListClientImpl::setCurrentHistoryItem):
1735         (WebKit::BackForwardListClientImpl::previousHistoryItem):
1736         (WebKit::BackForwardListClientImpl::addItem):
1737         (WebKit::BackForwardListClientImpl::goToItem):
1738         (WebKit::BackForwardListClientImpl::currentItem):
1739         (WebKit::BackForwardListClientImpl::itemAtIndex):
1740         (WebKit::BackForwardListClientImpl::backListCount):
1741         (WebKit::BackForwardListClientImpl::forwardListCount):
1742         (WebKit::BackForwardListClientImpl::close):
1743         * src/BackForwardListClientImpl.h: Added.
1744
1745 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
1746
1747         Reviewed by Dimitri Glazkov.
1748
1749         Up-streaming Chromium API src files: WebString...WebViewImpl
1750
1751         https://bugs.webkit.org/show_bug.cgi?id=31276
1752
1753         * src/WebString.cpp: Added.
1754         (WebKit::WebString::reset):
1755         (WebKit::WebString::assign):
1756         (WebKit::WebString::length):
1757         (WebKit::WebString::data):
1758         (WebKit::WebString::utf8):
1759         (WebKit::WebString::fromUTF8):
1760         (WebKit::WebString::WebString):
1761         (WebKit::WebString::operator=):
1762         (WebKit::WebString::operator WebCore::String):
1763         (WebKit::WebString::operator WebCore::AtomicString):
1764         * src/WebURL.cpp: Added.
1765         (WebKit::WebURL::WebURL):
1766         (WebKit::WebURL::operator=):
1767         (WebKit::WebURL::operator WebCore::KURL):
1768         * src/WebURLError.cpp: Added.
1769         (WebKit::WebURLError::WebURLError):
1770         (WebKit::WebURLError::operator=):
1771         (WebKit::WebURLError::operator ResourceError):
1772         * src/WebURLRequest.cpp: Added.
1773         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
1774         (WebKit::WebURLRequestPrivateImpl::dispose):
1775         (WebKit::WebURLRequest::initialize):
1776         (WebKit::WebURLRequest::reset):
1777         (WebKit::WebURLRequest::assign):
1778         (WebKit::WebURLRequest::isNull):
1779         (WebKit::WebURLRequest::url):
1780         (WebKit::WebURLRequest::setURL):
1781         (WebKit::WebURLRequest::firstPartyForCookies):
1782         (WebKit::WebURLRequest::setFirstPartyForCookies):
1783         (WebKit::WebURLRequest::allowCookies):
1784         (WebKit::WebURLRequest::setAllowCookies):
1785         (WebKit::WebURLRequest::allowStoredCredentials):
1786         (WebKit::WebURLRequest::setAllowStoredCredentials):
1787         (WebKit::WebURLRequest::cachePolicy):
1788         (WebKit::WebURLRequest::setCachePolicy):
1789         (WebKit::WebURLRequest::httpMethod):
1790         (WebKit::WebURLRequest::setHTTPMethod):
1791         (WebKit::WebURLRequest::httpHeaderField):
1792         (WebKit::WebURLRequest::setHTTPHeaderField):
1793         (WebKit::WebURLRequest::addHTTPHeaderField):
1794         (WebKit::WebURLRequest::clearHTTPHeaderField):
1795         (WebKit::WebURLRequest::visitHTTPHeaderFields):
1796         (WebKit::WebURLRequest::httpBody):
1797         (WebKit::WebURLRequest::setHTTPBody):
1798         (WebKit::WebURLRequest::reportUploadProgress):
1799         (WebKit::WebURLRequest::setReportUploadProgress):
1800         (WebKit::WebURLRequest::targetType):
1801         (WebKit::WebURLRequest::setTargetType):
1802         (WebKit::WebURLRequest::requestorID):
1803         (WebKit::WebURLRequest::setRequestorID):
1804         (WebKit::WebURLRequest::requestorProcessID):
1805         (WebKit::WebURLRequest::setRequestorProcessID):
1806         (WebKit::WebURLRequest::appCacheHostID):
1807         (WebKit::WebURLRequest::setAppCacheHostID):
1808         (WebKit::WebURLRequest::toMutableResourceRequest):
1809         (WebKit::WebURLRequest::toResourceRequest):
1810         * src/WebURLRequestPrivate.h: Added.
1811         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
1812         * src/WebURLResponse.cpp: Added.
1813         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
1814         (WebKit::WebURLResponsePrivateImpl::dispose):
1815         (WebKit::WebURLResponse::initialize):
1816         (WebKit::WebURLResponse::reset):
1817         (WebKit::WebURLResponse::assign):
1818         (WebKit::WebURLResponse::isNull):
1819         (WebKit::WebURLResponse::url):
1820         (WebKit::WebURLResponse::setURL):
1821         (WebKit::WebURLResponse::mimeType):
1822         (WebKit::WebURLResponse::setMIMEType):
1823         (WebKit::WebURLResponse::expectedContentLength):
1824         (WebKit::WebURLResponse::setExpectedContentLength):
1825         (WebKit::WebURLResponse::textEncodingName):
1826         (WebKit::WebURLResponse::setTextEncodingName):
1827         (WebKit::WebURLResponse::suggestedFileName):
1828         (WebKit::WebURLResponse::setSuggestedFileName):
1829         (WebKit::WebURLResponse::httpStatusCode):
1830         (WebKit::WebURLResponse::setHTTPStatusCode):
1831         (WebKit::WebURLResponse::httpStatusText):
1832         (WebKit::WebURLResponse::setHTTPStatusText):
1833         (WebKit::WebURLResponse::httpHeaderField):
1834         (WebKit::WebURLResponse::setHTTPHeaderField):
1835         (WebKit::WebURLResponse::addHTTPHeaderField):
1836         (WebKit::WebURLResponse::clearHTTPHeaderField):
1837         (WebKit::WebURLResponse::visitHTTPHeaderFields):
1838         (WebKit::WebURLResponse::lastModifiedDate):
1839         (WebKit::WebURLResponse::setLastModifiedDate):
1840         (WebKit::WebURLResponse::isContentFiltered):
1841         (WebKit::WebURLResponse::setIsContentFiltered):
1842         (WebKit::WebURLResponse::appCacheID):
1843         (WebKit::WebURLResponse::setAppCacheID):
1844         (WebKit::WebURLResponse::appCacheManifestURL):
1845         (WebKit::WebURLResponse::setAppCacheManifestURL):
1846         (WebKit::WebURLResponse::securityInfo):
1847         (WebKit::WebURLResponse::setSecurityInfo):
1848         (WebKit::WebURLResponse::toMutableResourceResponse):
1849         (WebKit::WebURLResponse::toResourceResponse):
1850         * src/WebURLResponsePrivate.h: Added.
1851         (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
1852         * src/WebViewImpl.cpp: Added.
1853         (WebKit::):
1854         (WebKit::WebView::create):
1855         (WebKit::WebView::updateVisitedLinkState):
1856         (WebKit::WebView::resetVisitedLinkState):
1857         (WebKit::WebViewImpl::initializeMainFrame):
1858         (WebKit::WebViewImpl::WebViewImpl):
1859         (WebKit::WebViewImpl::~WebViewImpl):
1860         (WebKit::WebViewImpl::theme):
1861         (WebKit::WebViewImpl::mainFrameImpl):
1862         (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
1863         (WebKit::WebViewImpl::setTabKeyCyclesThroughElements):
1864         (WebKit::WebViewImpl::mouseMove):
1865         (WebKit::WebViewImpl::mouseLeave):
1866         (WebKit::WebViewImpl::mouseDown):
1867         (WebKit::WebViewImpl::mouseContextMenu):
1868         (WebKit::WebViewImpl::mouseUp):
1869         (WebKit::WebViewImpl::mouseWheel):
1870         (WebKit::WebViewImpl::keyEvent):
1871         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
1872         (WebKit::WebViewImpl::charEvent):
1873         (WebKit::WebViewImpl::sendContextMenuEvent):
1874         (WebKit::WebViewImpl::keyEventDefault):
1875         (WebKit::WebViewImpl::scrollViewWithKeyboard):
1876         (WebKit::WebViewImpl::propagateScroll):
1877         (WebKit::WebViewImpl::focusedWebCoreFrame):
1878         (WebKit::WebViewImpl::fromPage):
1879         (WebKit::WebViewImpl::close):
1880         (WebKit::WebViewImpl::resize):
1881         (WebKit::WebViewImpl::layout):
1882         (WebKit::WebViewImpl::paint):
1883         (WebKit::WebViewImpl::handleInputEvent):
1884         (WebKit::WebViewImpl::mouseCaptureLost):
1885         (WebKit::WebViewImpl::setFocus):
1886         (WebKit::WebViewImpl::handleCompositionEvent):
1887         (WebKit::WebViewImpl::queryCompositionStatus):
1888         (WebKit::WebViewImpl::setTextDirection):
1889         (WebKit::WebViewImpl::settings):
1890         (WebKit::WebViewImpl::pageEncoding):
1891         (WebKit::WebViewImpl::setPageEncoding):
1892         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
1893         (WebKit::WebViewImpl::dispatchUnloadEvent):
1894         (WebKit::WebViewImpl::mainFrame):
1895         (WebKit::WebViewImpl::findFrameByName):
1896         (WebKit::WebViewImpl::focusedFrame):
1897         (WebKit::WebViewImpl::setFocusedFrame):
1898         (WebKit::WebViewImpl::setInitialFocus):
1899         (WebKit::WebViewImpl::clearFocusedNode):
1900         (WebKit::WebViewImpl::zoomIn):
1901         (WebKit::WebViewImpl::zoomOut):
1902         (WebKit::WebViewImpl::zoomDefault):
1903         (WebKit::WebViewImpl::performMediaPlayerAction):
1904         (WebKit::WebViewImpl::copyImageAt):
1905         (WebKit::WebViewImpl::dragSourceEndedAt):
1906         (WebKit::WebViewImpl::dragSourceMovedTo):
1907         (WebKit::WebViewImpl::dragSourceSystemDragEnded):
1908         (WebKit::WebViewImpl::dragTargetDragEnter):
1909         (WebKit::WebViewImpl::dragTargetDragOver):
1910         (WebKit::WebViewImpl::dragTargetDragLeave):
1911         (WebKit::WebViewImpl::dragTargetDrop):
1912         (WebKit::WebViewImpl::dragIdentity):
1913         (WebKit::WebViewImpl::inspectElementAt):
1914         (WebKit::WebViewImpl::inspectorSettings):
1915         (WebKit::WebViewImpl::setInspectorSettings):
1916         (WebKit::WebViewImpl::devToolsAgent):
1917         (WebKit::WebViewImpl::setDevToolsAgent):
1918         (WebKit::WebViewImpl::accessibilityObject):
1919         (WebKit::WebViewImpl::applyAutofillSuggestions):
1920         (WebKit::WebViewImpl::hideAutofillPopup):
1921         (WebKit::WebViewImpl::setDropEffect):
1922         (WebKit::WebViewImpl::setIsTransparent):
1923         (WebKit::WebViewImpl::isTransparent):
1924         (WebKit::WebViewImpl::setIsActive):
1925         (WebKit::WebViewImpl::isActive):
1926         (WebKit::WebViewImpl::didCommitLoad):
1927         (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
1928         (WebKit::WebViewImpl::startDragging):
1929         (WebKit::WebViewImpl::setCurrentHistoryItem):
1930         (WebKit::WebViewImpl::previousHistoryItem):
1931         (WebKit::WebViewImpl::observeNewNavigation):
1932         (WebKit::WebViewImpl::hideAutoCompletePopup):
1933         (WebKit::WebViewImpl::autoCompletePopupDidHide):
1934         (WebKit::WebViewImpl::setIgnoreInputEvents):
1935         (WebKit::WebViewImpl::notificationPresenterImpl):
1936         (WebKit::WebViewImpl::refreshAutofillPopup):
1937         (WebKit::WebViewImpl::focusedWebCoreNode):
1938         (WebKit::WebViewImpl::hitTestResultForWindowPos):
1939         (WebKit::WebViewImpl::setTabsToLinks):
1940         (WebKit::WebViewImpl::tabsToLinks):
1941         * src/WebViewImpl.h: Added.
1942         (WebKit::WebViewImpl::size):
1943         (WebKit::WebViewImpl::devToolsAgentPrivate):
1944         (WebKit::WebViewImpl::lastMouseDownPoint):
1945         (WebKit::WebViewImpl::client):
1946         (WebKit::WebViewImpl::page):
1947         (WebKit::WebViewImpl::contextMenuAllowed):
1948         (WebKit::WebViewImpl::setInitialNavigationPolicy):
1949         (WebKit::WebViewImpl::initialNavigationPolicy):
1950         (WebKit::WebViewImpl::currentInputEvent):
1951         (WebKit::WebViewImpl::):
1952
1953 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
1954
1955         Reviewed by Dimitri Glazkov.
1956
1957         Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl
1958
1959         https://bugs.webkit.org/show_bug.cgi?id=31276
1960
1961         * src/WebScriptController.cpp: Added.
1962         (WebKit::WebScriptController::registerExtension):
1963         (WebKit::WebScriptController::enableV8SingleThreadMode):
1964         (WebKit::WebScriptController::flushConsoleMessages):
1965         * src/WebSearchableFormData.cpp: Added.
1966         (WebCore::GetFormEncoding):
1967         (WebCore::IsHTTPFormSubmit):
1968         (WebCore::GetButtonToActivate):
1969         (WebCore::IsSelectInDefaultState):
1970         (WebCore::IsInDefaultState):
1971         (WebCore::HasSuitableTextElement):
1972         (WebKit::WebSearchableFormData::WebSearchableFormData):
1973         * src/WebSecurityOrigin.cpp: Added.
1974         (WebKit::WebSecurityOrigin::reset):
1975         (WebKit::WebSecurityOrigin::assign):
1976         (WebKit::WebSecurityOrigin::protocol):
1977         (WebKit::WebSecurityOrigin::host):
1978         (WebKit::WebSecurityOrigin::port):
1979         (WebKit::WebSecurityOrigin::isEmpty):
1980         (WebKit::WebSecurityOrigin::toString):
1981         (WebKit::WebSecurityOrigin::databaseIdentifier):
1982         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
1983         (WebKit::WebSecurityOrigin::operator=):
1984         (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>):
1985         * src/WebSecurityPolicy.cpp: Added.
1986         (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
1987         (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
1988         (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
1989         (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
1990         * src/WebSettingsImpl.cpp: Added.
1991         (WebKit::WebSettingsImpl::WebSettingsImpl):
1992         (WebKit::WebSettingsImpl::setStandardFontFamily):
1993         (WebKit::WebSettingsImpl::setFixedFontFamily):
1994         (WebKit::WebSettingsImpl::setSerifFontFamily):
1995         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
1996         (WebKit::WebSettingsImpl::setCursiveFontFamily):
1997         (WebKit::WebSettingsImpl::setFantasyFontFamily):
1998         (WebKit::WebSettingsImpl::setDefaultFontSize):
1999         (WebKit::WebSettingsImpl::setDefaultFixedFontSize):
2000         (WebKit::WebSettingsImpl::setMinimumFontSize):
2001         (WebKit::WebSettingsImpl::setMinimumLogicalFontSize):
2002         (WebKit::WebSettingsImpl::setDefaultTextEncodingName):
2003         (WebKit::WebSettingsImpl::setJavaScriptEnabled):
2004         (WebKit::WebSettingsImpl::setWebSecurityEnabled):
2005         (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically):
2006         (WebKit::WebSettingsImpl::setLoadsImagesAutomatically):
2007         (WebKit::WebSettingsImpl::setPluginsEnabled):
2008         (WebKit::WebSettingsImpl::setDOMPasteAllowed):
2009         (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled):
2010         (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit):
2011         (WebKit::WebSettingsImpl::setUsesEncodingDetector):
2012         (WebKit::WebSettingsImpl::setTextAreasAreResizable):
2013         (WebKit::WebSettingsImpl::setJavaEnabled):
2014         (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows):
2015         (WebKit::WebSettingsImpl::setUserStyleSheetLocation):
2016         (WebKit::WebSettingsImpl::setUsesPageCache):
2017         (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled):
2018         (WebKit::WebSettingsImpl::setXSSAuditorEnabled):
2019         (WebKit::WebSettingsImpl::setLocalStorageEnabled):
2020         (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive):
2021         (WebKit::WebSettingsImpl::setFontRenderingModeNormal):
2022         (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
2023         (WebKit::WebSettingsImpl::setDatabasesEnabled):
2024         (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs):
2025         (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded):
2026         (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled):
2027         (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled):
2028         * src/WebSettingsImpl.h: Added.
2029         (WebKit::WebSettingsImpl::~WebSettingsImpl):
2030         * src/WebSharedWorkerImpl.cpp: Added.
2031         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
2032         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
2033         (WebKit::WebSharedWorkerImpl::isStarted):
2034         (WebKit::WebSharedWorkerImpl::connect):
2035         (WebKit::WebSharedWorkerImpl::connectTask):
2036         (WebKit::WebSharedWorkerImpl::startWorkerContext):
2037         (WebKit::WebSharedWorkerImpl::terminateWorkerContext):
2038         (WebKit::WebSharedWorkerImpl::clientDestroyed):
2039         (WebKit::WebSharedWorkerImpl::client):
2040         (WebKit::WebSharedWorker::create):
2041         * src/WebSharedWorkerImpl.h: Added.
2042         (WebKit::WebSharedWorkerImpl::commonClient):
2043         * src/WebStorageAreaImpl.cpp: Added.
2044         (WebKit::WebStorageAreaImpl::WebStorageAreaImpl):
2045         (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl):
2046         (WebKit::WebStorageAreaImpl::length):
2047         (WebKit::WebStorageAreaImpl::key):
2048         (WebKit::WebStorageAreaImpl::getItem):
2049         (WebKit::WebStorageAreaImpl::setItem):
2050         (WebKit::WebStorageAreaImpl::removeItem):
2051         (WebKit::WebStorageAreaImpl::clear):
2052         * src/WebStorageAreaImpl.h: Added.
2053         (WebKit::WebStorageAreaImpl::currentStorageEventURL):
2054         (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL):
2055         (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL):
2056         * src/WebStorageEventDispatcherImpl.cpp: Added.
2057         (WebKit::WebStorageEventDispatcher::create):
2058         (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
2059         (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
2060         * src/WebStorageEventDispatcherImpl.h: Added.
2061         * src/WebStorageNamespaceImpl.cpp: Added.
2062         (WebKit::WebStorageNamespace::createLocalStorageNamespace):
2063         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
2064         (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl):
2065         (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl):
2066         (WebKit::WebStorageNamespaceImpl::createStorageArea):
2067         (WebKit::WebStorageNamespaceImpl::copy):
2068         (WebKit::WebStorageNamespaceImpl::close):
2069         * src/WebStorageNamespaceImpl.h: Added.
2070
2071 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
2072
2073         Reviewed by Dimitri Glazkov.
2074
2075         Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures
2076
2077         https://bugs.webkit.org/show_bug.cgi?id=31276
2078
2079         * src/WebPasswordFormData.cpp: Added.
2080         (WebKit::):
2081         (WebKit::WebPasswordFormData::WebPasswordFormData):
2082         * src/WebPasswordFormUtils.cpp: Added.
2083         (WebKit::findPasswordFormFields):
2084         * src/WebPasswordFormUtils.h: Added.
2085         (WebKit::PasswordFormFields::PasswordFormFields):
2086         * src/WebPluginContainerImpl.cpp: Added.
2087         (WebKit::WebPluginContainerImpl::setFrameRect):
2088         (WebKit::WebPluginContainerImpl::paint):
2089         (WebKit::WebPluginContainerImpl::invalidateRect):
2090         (WebKit::WebPluginContainerImpl::setFocus):
2091         (WebKit::WebPluginContainerImpl::show):
2092         (WebKit::WebPluginContainerImpl::hide):
2093         (WebKit::WebPluginContainerImpl::handleEvent):
2094         (WebKit::WebPluginContainerImpl::frameRectsChanged):
2095         (WebKit::WebPluginContainerImpl::setParentVisible):
2096         (WebKit::WebPluginContainerImpl::setParent):
2097         (WebKit::WebPluginContainerImpl::invalidate):
2098         (WebKit::WebPluginContainerImpl::reportGeometry):
2099         (WebKit::WebPluginContainerImpl::clearScriptObjects):
2100         (WebKit::WebPluginContainerImpl::scriptableObjectForElement):
2101         (WebKit::WebPluginContainerImpl::executeScriptURL):
2102         (WebKit::WebPluginContainerImpl::loadFrameRequest):
2103         (WebKit::WebPluginContainerImpl::didReceiveResponse):
2104         (WebKit::WebPluginContainerImpl::didReceiveData):
2105         (WebKit::WebPluginContainerImpl::didFinishLoading):
2106         (WebKit::WebPluginContainerImpl::didFailLoading):
2107         (WebKit::WebPluginContainerImpl::scriptableObject):
2108         (WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver):
2109         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2110         (WebKit::WebPluginContainerImpl::handleMouseEvent):
2111         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2112         (WebKit::WebPluginContainerImpl::calculateGeometry):
2113         (WebKit::WebPluginContainerImpl::windowClipRect):
2114         (WebKit::getObjectStack):
2115         (WebKit::checkStackOnTop):
2116         (WebKit::WebPluginContainerImpl::windowCutOutRects):
2117         * src/WebPluginContainerImpl.h: Added.
2118         (WebKit::WebPluginContainerImpl::create):
2119         (WebKit::WebPluginContainerImpl::plugin):
2120         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
2121         * src/WebPluginListBuilderImpl.cpp: Added.
2122         (WebKit::WebPluginListBuilderImpl::addPlugin):
2123         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
2124         (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
2125         * src/WebPluginListBuilderImpl.h: Added.
2126         (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
2127         * src/WebPluginLoadObserver.cpp: Added.
2128         (WebKit::WebPluginLoadObserver::~WebPluginLoadObserver):
2129         (WebKit::WebPluginLoadObserver::didFinishLoading):
2130         (WebKit::WebPluginLoadObserver::didFailLoading):
2131         * src/WebPluginLoadObserver.h: Added.
2132         (WebKit::WebPluginLoadObserver::WebPluginLoadObserver):
2133         (WebKit::WebPluginLoadObserver::url):
2134         (WebKit::WebPluginLoadObserver::clearPluginContainer):
2135         * src/WebPopupMenuImpl.cpp: Added.
2136         (WebKit::WebPopupMenu::create):
2137         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2138         (WebKit::WebPopupMenuImpl::~WebPopupMenuImpl):
2139         (WebKit::WebPopupMenuImpl::Init):
2140         (WebKit::WebPopupMenuImpl::MouseMove):
2141         (WebKit::WebPopupMenuImpl::MouseLeave):
2142         (WebKit::WebPopupMenuImpl::MouseDown):
2143         (WebKit::WebPopupMenuImpl::MouseUp):
2144         (WebKit::WebPopupMenuImpl::MouseWheel):
2145         (WebKit::WebPopupMenuImpl::KeyEvent):
2146         (WebKit::WebPopupMenuImpl::close):
2147         (WebKit::WebPopupMenuImpl::resize):
2148         (WebKit::WebPopupMenuImpl::layout):
2149         (WebKit::WebPopupMenuImpl::paint):
2150         (WebKit::WebPopupMenuImpl::handleInputEvent):
2151         (WebKit::WebPopupMenuImpl::mouseCaptureLost):
2152         (WebKit::WebPopupMenuImpl::setFocus):
2153         (WebKit::WebPopupMenuImpl::handleCompositionEvent):
2154         (WebKit::WebPopupMenuImpl::queryCompositionStatus):
2155         (WebKit::WebPopupMenuImpl::setTextDirection):
2156         (WebKit::WebPopupMenuImpl::repaint):
2157         (WebKit::WebPopupMenuImpl::scroll):
2158         (WebKit::WebPopupMenuImpl::screenToWindow):
2159         (WebKit::WebPopupMenuImpl::windowToScreen):
2160         (WebKit::WebPopupMenuImpl::scrollRectIntoView):
2161         (WebKit::WebPopupMenuImpl::scrollbarsModeDidChange):
2162         (WebKit::WebPopupMenuImpl::popupClosed):
2163         * src/WebPopupMenuImpl.h: Added.
2164         (WebKit::WebPopupMenuImpl::size):
2165         (WebKit::WebPopupMenuImpl::client):
2166         (WebKit::WebPopupMenuImpl::platformPageClient):
2167         * src/WebRange.cpp: Added.
2168         (WebKit::WebRange::reset):
2169         (WebKit::WebRange::assign):
2170         (WebKit::WebRange::startOffset):
2171         (WebKit::WebRange::endOffset):
2172         (WebKit::WebRange::startContainer):
2173         (WebKit::WebRange::endContainer):
2174         (WebKit::WebRange::toHTMLText):
2175         (WebKit::WebRange::toPlainText):
2176         (WebKit::WebRange::WebRange):
2177         (WebKit::WebRange::operator=):
2178         (WebKit::WebRange::operator WTF::PassRefPtr<WebCore::Range>):
2179         * src/WebRuntimeFeatures.cpp: Added.
2180         (WebKit::WebRuntimeFeatures::enableDatabase):
2181         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2182         (WebKit::WebRuntimeFeatures::enableLocalStorage):
2183         (WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
2184         (WebKit::WebRuntimeFeatures::enableSessionStorage):
2185         (WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
2186         (WebKit::WebRuntimeFeatures::enableMediaPlayer):
2187         (WebKit::WebRuntimeFeatures::isMediaPlayerEnabled):
2188         (WebKit::WebRuntimeFeatures::enableSockets):
2189         (WebKit::WebRuntimeFeatures::isSocketsEnabled):
2190         (WebKit::WebRuntimeFeatures::enableNotifications):
2191         (WebKit::WebRuntimeFeatures::isNotificationsEnabled):
2192         (WebKit::WebRuntimeFeatures::enableApplicationCache):
2193         (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
2194
2195 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2196
2197         Reviewed by Dimitri Glazkov.
2198
2199         Up-streaming Chromium API src files: WebFileInputElement...WebNotifications
2200
2201         https://bugs.webkit.org/show_bug.cgi?id=31276
2202
2203         * src/WebInputElement.cpp: Added.
2204         (WebKit::WebInputElement::WebInputElement):
2205         (WebKit::WebInputElement::operator=):
2206         (WebKit::WebInputElement::operator WTF::PassRefPtr<HTMLInputElement>):
2207         (WebKit::WebInputElement::setActivatedSubmit):
2208         (WebKit::WebInputElement::setValue):
2209         (WebKit::WebInputElement::value):
2210         (WebKit::WebInputElement::setAutofilled):
2211         (WebKit::WebInputElement::dispatchFormControlChangeEvent):
2212         (WebKit::WebInputElement::setSelectionRange):
2213         * src/WebInputEvent.cpp: Added.
2214         (WebKit::staticKeyIdentifiers):
2215         (WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode):
2216         * src/WebInputEventConversion.cpp: Added.
2217         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
2218         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
2219         (WebKit::toPlatformKeyboardEventType):
2220         (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
2221         (WebKit::PlatformKeyboardEventBuilder::setKeyType):
2222         (WebKit::PlatformKeyboardEventBuilder::isCharacterKey):
2223         (WebKit::getWebInputModifiers):
2224         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2225         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
2226         * src/WebInputEventConversion.h: Added.
2227         * src/WebKit.cpp: Added.
2228         (WebKit::initialize):
2229         (WebKit::shutdown):
2230         (WebKit::webKitClient):
2231         (WebKit::setLayoutTestMode):
2232         (WebKit::layoutTestMode):
2233         (WebKit::resetPluginCache):
2234         * src/WebMediaPlayerClientImpl.cpp: Added.
2235         (WebKit::createWebMediaPlayer):
2236         (WebKit::WebMediaPlayerClientImpl::isEnabled):
2237         (WebKit::WebMediaPlayerClientImpl::setIsEnabled):
2238         (WebKit::WebMediaPlayerClientImpl::registerSelf):
2239         (WebKit::WebMediaPlayerClientImpl::networkStateChanged):
2240         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2241         (WebKit::WebMediaPlayerClientImpl::volumeChanged):
2242         (WebKit::WebMediaPlayerClientImpl::timeChanged):
2243         (WebKit::WebMediaPlayerClientImpl::repaint):
2244         (WebKit::WebMediaPlayerClientImpl::durationChanged):
2245         (WebKit::WebMediaPlayerClientImpl::rateChanged):
2246         (WebKit::WebMediaPlayerClientImpl::sizeChanged):
2247         (WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks):
2248         (WebKit::WebMediaPlayerClientImpl::load):
2249         (WebKit::WebMediaPlayerClientImpl::cancelLoad):
2250         (WebKit::WebMediaPlayerClientImpl::play):
2251         (WebKit::WebMediaPlayerClientImpl::pause):
2252         (WebKit::WebMediaPlayerClientImpl::naturalSize):
2253         (WebKit::WebMediaPlayerClientImpl::hasVideo):
2254         (WebKit::WebMediaPlayerClientImpl::hasAudio):
2255         (WebKit::WebMediaPlayerClientImpl::setVisible):
2256         (WebKit::WebMediaPlayerClientImpl::duration):
2257         (WebKit::WebMediaPlayerClientImpl::currentTime):
2258         (WebKit::WebMediaPlayerClientImpl::seek):
2259         (WebKit::WebMediaPlayerClientImpl::seeking):
2260         (WebKit::WebMediaPlayerClientImpl::setEndTime):
2261         (WebKit::WebMediaPlayerClientImpl::setRate):
2262         (WebKit::WebMediaPlayerClientImpl::paused):
2263         (WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
2264         (WebKit::WebMediaPlayerClientImpl::supportsSave):
2265         (WebKit::WebMediaPlayerClientImpl::setVolume):
2266         (WebKit::WebMediaPlayerClientImpl::networkState):
2267         (WebKit::WebMediaPlayerClientImpl::readyState):
2268         (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
2269         (WebKit::WebMediaPlayerClientImpl::buffered):
2270         (WebKit::WebMediaPlayerClientImpl::dataRate):
2271         (WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
2272         (WebKit::WebMediaPlayerClientImpl::totalBytes):
2273         (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
2274         (WebKit::WebMediaPlayerClientImpl::setSize):
2275         (WebKit::WebMediaPlayerClientImpl::paint):
2276         (WebKit::WebMediaPlayerClientImpl::setAutobuffer):
2277         (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
2278         (WebKit::WebMediaPlayerClientImpl::movieLoadType):
2279         (WebKit::WebMediaPlayerClientImpl::create):
2280         (WebKit::WebMediaPlayerClientImpl::getSupportedTypes):
2281         (WebKit::WebMediaPlayerClientImpl::supportsType):
2282         (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
2283         * src/WebMediaPlayerClientImpl.h: Added.
2284         * src/WebNode.cpp: Added.
2285         (WebKit::WebNode::reset):
2286         (WebKit::WebNode::assign):
2287         (WebKit::WebNode::parentNode):
2288         (WebKit::WebNode::nodeName):
2289         (WebKit::WebNode::WebNode):
2290         (WebKit::WebNode::operator=):
2291         (WebKit::WebNode::operator WTF::PassRefPtr<WebCore::Node>):
2292         (WebKit::WebNode::frame):
2293         * src/WebNotification.cpp: Added.
2294         (WebKit::WebNotification::reset):
2295         (WebKit::WebNotification::assign):
2296         (WebKit::WebNotification::lessThan):
2297         (WebKit::WebNotification::isHTML):
2298         (WebKit::WebNotification::url):
2299         (WebKit::WebNotification::icon):
2300         (WebKit::WebNotification::title):
2301         (WebKit::WebNotification::body):
2302         (WebKit::WebNotification::dispatchDisplayEvent):
2303         (WebKit::WebNotification::dispatchErrorEvent):
2304         (WebKit::WebNotification::dispatchCloseEvent):
2305         (WebKit::WebNotification::WebNotification):
2306         (WebKit::WebNotification::operator=):
2307         (WebKit::WebNotification::operator WTF::PassRefPtr<Notification>):
2308
2309 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2310
2311         Reviewed by Dimitri Glazkov.
2312
2313         Up-streaming Chromium API src files: WebFileChooser...WebImageSkia
2314
2315         https://bugs.webkit.org/show_bug.cgi?id=31276
2316
2317         * src/WebFileChooserCompletionImpl.cpp: Added.
2318         (WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl):
2319         (WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl):
2320         (WebKit::WebFileChooserCompletionImpl::didChooseFile):
2321         * src/WebFileChooserCompletionImpl.h: Added.
2322         * src/WebFontCache.cpp: Added.
2323         (WebKit::WebFontCache::fontDataCount):
2324         (WebKit::WebFontCache::inactiveFontDataCount):
2325         (WebKit::WebFontCache::clear):
2326         * src/WebFormElement.cpp: Added.
2327         (WebKit::WebFormElement::WebFormElement):
2328         (WebKit::WebFormElement::operator=):
2329         (WebKit::WebFormElement::operator WTF::PassRefPtr<WebCore::HTMLFormElement>):
2330         (WebKit::WebFormElement::autoComplete):
2331         (WebKit::WebFormElement::action):
2332         (WebKit::WebFormElement::submit):
2333         (WebKit::WebFormElement::getNamedElements):
2334         * src/WebFrameImpl.cpp: Added.
2335         (WebKit::frameContentAsPlainText):
2336         (WebKit::ChromePrintContext::ChromePrintContext):
2337         (WebKit::ChromePrintContext::begin):
2338         (WebKit::ChromePrintContext::getPageShrink):
2339         (WebKit::ChromePrintContext::spoolPage):
2340         (WebKit::DataSourceForDocLoader):
2341         (WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches):
2342         (WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout):
2343         (WebKit::WebFrame::frameForEnteredContext):
2344         (WebKit::WebFrame::frameForCurrentContext):
2345         (WebKit::WebFrameImpl::name):
2346         (WebKit::WebFrameImpl::url):
2347         (WebKit::WebFrameImpl::favIconURL):
2348         (WebKit::WebFrameImpl::openSearchDescriptionURL):
2349         (WebKit::WebFrameImpl::scrollOffset):
2350         (WebKit::WebFrameImpl::contentsSize):
2351         (WebKit::WebFrameImpl::contentsPreferredWidth):
2352         (WebKit::WebFrameImpl::hasVisibleContent):
2353         (WebKit::WebFrameImpl::view):
2354         (WebKit::WebFrameImpl::opener):
2355         (WebKit::WebFrameImpl::parent):
2356         (WebKit::WebFrameImpl::top):
2357         (WebKit::WebFrameImpl::firstChild):
2358         (WebKit::WebFrameImpl::lastChild):
2359         (WebKit::WebFrameImpl::nextSibling):
2360         (WebKit::WebFrameImpl::previousSibling):
2361         (WebKit::WebFrameImpl::traverseNext):
2362         (WebKit::WebFrameImpl::traversePrevious):
2363         (WebKit::WebFrameImpl::findChildByName):
2364         (WebKit::WebFrameImpl::findChildByExpression):
2365         (WebKit::WebFrameImpl::forms):
2366         (WebKit::WebFrameImpl::securityOrigin):
2367         (WebKit::WebFrameImpl::grantUniversalAccess):
2368         (WebKit::WebFrameImpl::windowObject):
2369         (WebKit::WebFrameImpl::bindToWindowObject):
2370         (WebKit::WebFrameImpl::executeScript):
2371         (WebKit::WebFrameImpl::executeScriptInNewContext):
2372         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2373         (WebKit::WebFrameImpl::addMessageToConsole):
2374         (WebKit::WebFrameImpl::collectGarbage):
2375         (WebKit::WebFrameImpl::mainWorldScriptContext):
2376         (WebKit::WebFrameImpl::insertStyleText):
2377         (WebKit::WebFrameImpl::reload):
2378         (WebKit::WebFrameImpl::loadRequest):
2379         (WebKit::WebFrameImpl::loadHistoryItem):
2380         (WebKit::WebFrameImpl::loadData):
2381         (WebKit::WebFrameImpl::loadHTMLString):
2382         (WebKit::WebFrameImpl::isLoading):
2383         (WebKit::WebFrameImpl::stopLoading):
2384         (WebKit::WebFrameImpl::provisionalDataSource):
2385         (WebKit::WebFrameImpl::dataSource):
2386         (WebKit::WebFrameImpl::previousHistoryItem):
2387         (WebKit::WebFrameImpl::currentHistoryItem):
2388         (WebKit::WebFrameImpl::enableViewSourceMode):
2389         (WebKit::WebFrameImpl::isViewSourceModeEnabled):
2390         (WebKit::WebFrameImpl::setReferrerForRequest):
2391         (WebKit::WebFrameImpl::dispatchWillSendRequest):
2392         (WebKit::WebFrameImpl::commitDocumentData):
2393         (WebKit::WebFrameImpl::unloadListenerCount):
2394         (WebKit::WebFrameImpl::isProcessingUserGesture):
2395         (WebKit::WebFrameImpl::willSuppressOpenerInNewFrame):
2396         (WebKit::WebFrameImpl::replaceSelection):
2397         (WebKit::WebFrameImpl::insertText):
2398         (WebKit::WebFrameImpl::setMarkedText):
2399         (WebKit::WebFrameImpl::unmarkText):
2400         (WebKit::WebFrameImpl::hasMarkedText):
2401         (WebKit::WebFrameImpl::markedRange):
2402         (WebKit::WebFrameImpl::executeCommand):
2403         (WebKit::WebFrameImpl::isCommandEnabled):
2404         (WebKit::WebFrameImpl::enableContinuousSpellChecking):
2405         (WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled):
2406         (WebKit::WebFrameImpl::hasSelection):
2407         (WebKit::WebFrameImpl::selectionRange):
2408         (WebKit::WebFrameImpl::selectionAsText):
2409         (WebKit::WebFrameImpl::selectionAsMarkup):
2410         (WebKit::WebFrameImpl::printBegin):
2411         (WebKit::WebFrameImpl::getPrintPageShrink):
2412         (WebKit::WebFrameImpl::printPage):
2413         (WebKit::WebFrameImpl::printEnd):
2414         (WebKit::WebFrameImpl::find):
2415         (WebKit::WebFrameImpl::stopFinding):
2416         (WebKit::WebFrameImpl::scopeStringMatches):
2417         (WebKit::WebFrameImpl::cancelPendingScopingEffort):
2418         (WebKit::WebFrameImpl::increaseMatchCount):
2419         (WebKit::WebFrameImpl::reportFindInPageSelection):
2420         (WebKit::WebFrameImpl::resetMatchCount):
2421         (WebKit::WebFrameImpl::completeURL):
2422         (WebKit::WebFrameImpl::contentAsText):
2423         (WebKit::WebFrameImpl::contentAsMarkup):
2424         (WebKit::WebFrameImpl::create):
2425         (WebKit::WebFrameImpl::WebFrameImpl):
2426         (WebKit::WebFrameImpl::~WebFrameImpl):
2427         (WebKit::WebFrameImpl::initializeAsMainFrame):
2428         (WebKit::WebFrameImpl::createChildFrame):
2429         (WebKit::WebFrameImpl::layout):
2430         (WebKit::WebFrameImpl::paint):
2431         (WebKit::WebFrameImpl::createFrameView):
2432         (WebKit::WebFrameImpl::fromFrame):
2433         (WebKit::WebFrameImpl::viewImpl):
2434         (WebKit::WebFrameImpl::dataSourceImpl):
2435         (WebKit::WebFrameImpl::provisionalDataSourceImpl):
2436         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2437         (WebKit::WebFrameImpl::didFail):
2438         (WebKit::WebFrameImpl::setAllowsScrolling):
2439         (WebKit::WebFrameImpl::registerPasswordListener):
2440         (WebKit::WebFrameImpl::getPasswordListener):
2441         (WebKit::WebFrameImpl::closing):
2442         (WebKit::WebFrameImpl::invalidateArea):
2443         (WebKit::WebFrameImpl::addMarker):
2444         (WebKit::WebFrameImpl::setMarkerActive):
2445         (WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame):
2446         (WebKit::WebFrameImpl::shouldScopeMatches):
2447         (WebKit::WebFrameImpl::scopeStringMatchesSoon):
2448         (WebKit::WebFrameImpl::callScopeStringMatches):
2449         (WebKit::WebFrameImpl::invalidateIfNecessary):
2450         (WebKit::WebFrameImpl::clearPasswordListeners):
2451         (WebKit::WebFrameImpl::loadJavaScriptURL):
2452         * src/WebFrameImpl.h: Added.
2453         (WebKit::WebFrameImpl::liveObjectCount):
2454         (WebKit::WebFrameImpl::frame):
2455         (WebKit::WebFrameImpl::frameView):
2456         (WebKit::WebFrameImpl::activeMatchFrame):
2457         (WebKit::WebFrameImpl::client):
2458         (WebKit::WebFrameImpl::dropClient):
2459         (WebKit::WebFrameImpl::ClientHandle::create):
2460         (WebKit::WebFrameImpl::ClientHandle::client):
2461         (WebKit::WebFrameImpl::ClientHandle::dropClient):
2462         (WebKit::WebFrameImpl::ClientHandle::ClientHandle):
2463         (WebKit::WebFrameImpl::):
2464         * src/WebHTTPBody.cpp: Added.
2465         (WebKit::WebHTTPBody::initialize):
2466         (WebKit::WebHTTPBody::reset):
2467         (WebKit::WebHTTPBody::assign):
2468         (WebKit::WebHTTPBody::elementCount):
2469         (WebKit::WebHTTPBody::elementAt):
2470         (WebKit::WebHTTPBody::appendData):
2471         (WebKit::WebHTTPBody::appendFile):
2472         (WebKit::WebHTTPBody::identifier):
2473         (WebKit::WebHTTPBody::setIdentifier):
2474         (WebKit::WebHTTPBody::WebHTTPBody):
2475         (WebKit::WebHTTPBody::operator=):
2476         (WebKit::WebHTTPBody::operator PassRefPtr<FormData>):
2477         (WebKit::WebHTTPBody::ensureMutable):
2478         * src/WebHistoryItem.cpp: Added.
2479         (WebKit::WebHistoryItem::initialize):
2480         (WebKit::WebHistoryItem::reset):
2481         (WebKit::WebHistoryItem::assign):
2482         (WebKit::WebHistoryItem::urlString):
2483         (WebKit::WebHistoryItem::setURLString):
2484         (WebKit::WebHistoryItem::originalURLString):
2485         (WebKit::WebHistoryItem::setOriginalURLString):
2486         (WebKit::WebHistoryItem::referrer):
2487         (WebKit::WebHistoryItem::setReferrer):
2488         (WebKit::WebHistoryItem::target):
2489         (WebKit::WebHistoryItem::setTarget):
2490         (WebKit::WebHistoryItem::parent):
2491         (WebKit::WebHistoryItem::setParent):
2492         (WebKit::WebHistoryItem::title):
2493         (WebKit::WebHistoryItem::setTitle):
2494         (WebKit::WebHistoryItem::alternateTitle):
2495         (WebKit::WebHistoryItem::setAlternateTitle):
2496         (WebKit::WebHistoryItem::lastVisitedTime):
2497         (WebKit::WebHistoryItem::setLastVisitedTime):
2498         (WebKit::WebHistoryItem::scrollOffset):
2499         (WebKit::WebHistoryItem::setScrollOffset):
2500         (WebKit::WebHistoryItem::isTargetItem):
2501         (WebKit::WebHistoryItem::setIsTargetItem):
2502         (WebKit::WebHistoryItem::visitCount):
2503         (WebKit::WebHistoryItem::setVisitCount):
2504         (WebKit::WebHistoryItem::documentState):
2505         (WebKit::WebHistoryItem::setDocumentState):
2506         (WebKit::WebHistoryItem::httpContentType):
2507         (WebKit::WebHistoryItem::setHTTPContentType):
2508         (WebKit::WebHistoryItem::httpBody):
2509         (WebKit::WebHistoryItem::setHTTPBody):
2510         (WebKit::WebHistoryItem::children):
2511         (WebKit::WebHistoryItem::setChildren):
2512         (WebKit::WebHistoryItem::appendToChildren):
2513         (WebKit::WebHistoryItem::WebHistoryItem):
2514         (WebKit::WebHistoryItem::operator=):
2515         (WebKit::WebHistoryItem::operator PassRefPtr<HistoryItem>):
2516         (WebKit::WebHistoryItem::ensureMutable):
2517         * src/WebImageCG.cpp: Added.
2518         (WebKit::WebImage::fromData):
2519         (WebKit::WebImage::reset):
2520         (WebKit::WebImage::assign):
2521         (WebKit::WebImage::isNull):
2522         (WebKit::WebImage::size):
2523         (WebKit::WebImage::WebImage):
2524         (WebKit::WebImage::operator=):
2525         * src/WebImageSkia.cpp: Added.
2526         (WebKit::WebImage::fromData):
2527         (WebKit::WebImage::reset):
2528         (WebKit::WebImage::assign):
2529         (WebKit::WebImage::isNull):
2530         (WebKit::WebImage::size):
2531         (WebKit::WebImage::WebImage):
2532         (WebKit::WebImage::operator=):
2533
2534 2009-11-09  Yaar Schnitman  <yaar@chromium.src>
2535
2536         Reviewed by Dimitri Glazkov.
2537
2538         Up-streaming Chromium API src files: WebData...WebElement
2539
2540         https://bugs.webkit.org/show_bug.cgi?id=31276
2541
2542         * src/WebData.cpp: Added.
2543         (WebKit::WebData::reset):
2544         (WebKit::WebData::assign):
2545         (WebKit::WebData::size):
2546         (WebKit::WebData::data):
2547         (WebKit::WebData::WebData):
2548         (WebKit::WebData::operator=):
2549         (WebKit::WebData::operator PassRefPtr<SharedBuffer>):
2550         * src/WebDataSourceImpl.cpp: Added.
2551         (WebKit::WebDataSourceImpl::create):
2552         (WebKit::WebDataSourceImpl::originalRequest):
2553         (WebKit::WebDataSourceImpl::request):
2554         (WebKit::WebDataSourceImpl::response):
2555         (WebKit::WebDataSourceImpl::hasUnreachableURL):
2556         (WebKit::WebDataSourceImpl::unreachableURL):
2557         (WebKit::WebDataSourceImpl::redirectChain):
2558         (WebKit::WebDataSourceImpl::pageTitle):
2559         (WebKit::WebDataSourceImpl::navigationType):
2560         (WebKit::WebDataSourceImpl::triggeringEventTime):
2561         (WebKit::WebDataSourceImpl::extraData):
2562         (WebKit::WebDataSourceImpl::setExtraData):
2563         (WebKit::WebDataSourceImpl::toWebNavigationType):
2564         (WebKit::WebDataSourceImpl::endOfRedirectChain):
2565         (WebKit::WebDataSourceImpl::clearRedirectChain):
2566         (WebKit::WebDataSourceImpl::appendRedirect):
2567         (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
2568         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2569         (WebKit::WebDataSourceImpl::~WebDataSourceImpl):
2570         * src/WebDataSourceImpl.h: Added.
2571         (WebKit::WebDataSourceImpl::fromDocumentLoader):
2572         (WebKit::WebDataSourceImpl::hasRedirectChain):
2573         (WebKit::WebDataSourceImpl::releasePluginLoadObserver):
2574         * src/WebDatabase.cpp: Added.
2575         (WebKit::WebDatabase::reset):
2576         (WebKit::WebDatabase::assign):
2577         (WebKit::WebDatabase::name):
2578         (WebKit::WebDatabase::displayName):
2579         (WebKit::WebDatabase::estimatedSize):
2580         (WebKit::WebDatabase::securityOrigin):
2581         (WebKit::WebDatabase::setObserver):
2582         (WebKit::WebDatabase::observer):
2583         (WebKit::WebDatabase::updateDatabaseSize):
2584         (WebKit::WebDatabase::WebDatabase):
2585         (WebKit::WebDatabase::operator=):
2586         (WebKit::WebDatabase::operator WTF::PassRefPtr<Database>):
2587         * src/WebDevToolsAgentPrivate.h: Added.
2588         * src/WebDragData.cpp: Added.
2589         (WebKit::WebDragData::initialize):
2590         (WebKit::WebDragData::reset):
2591         (WebKit::WebDragData::assign):
2592         (WebKit::WebDragData::url):
2593         (WebKit::WebDragData::setURL):
2594         (WebKit::WebDragData::urlTitle):
2595         (WebKit::WebDragData::setURLTitle):
2596         (WebKit::WebDragData::fileExtension):
2597         (WebKit::WebDragData::setFileExtension):
2598         (WebKit::WebDragData::hasFileNames):
2599         (WebKit::WebDragData::fileNames):
2600         (WebKit::WebDragData::setFileNames):
2601         (WebKit::WebDragData::appendToFileNames):
2602         (WebKit::WebDragData::plainText):
2603         (WebKit::WebDragData::setPlainText):
2604         (WebKit::WebDragData::htmlText):
2605         (WebKit::WebDragData::setHTMLText):
2606         (WebKit::WebDragData::htmlBaseURL):
2607         (WebKit::WebDragData::setHTMLBaseURL):
2608         (WebKit::WebDragData::fileContentFileName):
2609         (WebKit::WebDragData::setFileContentFileName):
2610         (WebKit::WebDragData::fileContent):
2611         (WebKit::WebDragData::setFileContent):
2612         (WebKit::WebDragData::WebDragData):
2613         (WebKit::WebDragData::operator=):
2614         (WebKit::WebDragData::operator WTF::PassRefPtr<WebCore::ChromiumDataObject>):
2615         (WebKit::WebDragData::ensureMutable):
2616         * src/WebElement.cpp: Added.
2617         (WebKit::WebElement::WebElement):
2618         (WebKit::WebElement::operator=):
2619         (WebKit::WebElement::operator WTF::PassRefPtr<Element>):
2620
2621 2009-11-09  Nate Chapin  <japhet@chromium.org>
2622
2623         Reviewed by Dimitri Glazkov.
2624
2625         WebPo*.h and WebRunetimeFeatures.h Chromium API headers.
2626
2627         https://bugs.webkit.org/show_bug.cgi?id=28394
2628
2629         * public/WebPoint.h: Added.
2630         (WebKit::WebPoint::WebPoint):
2631         (WebKit::WebPoint::operator=):
2632         (WebKit::WebPoint::operator WebCore::IntPoint):
2633         (WebKit::WebPoint::operator gfx::Point):
2634         (WebKit::operator==):
2635         (WebKit::operator!=):
2636         * public/WebPopupMenu.h: Added.
2637         * public/WebPopupMenuInfo.h: Added.
2638         (WebKit::WebPopupMenuInfo::Item::):
2639         * public/WebRuntimeFeatures.h: Added.
2640
2641 2009-11-09  Nate Chapin  <japhet@chromium.org>
2642
2643         Reviewed by Dimitri Glazkov.
2644
2645         WebPa*.h and WebPl*.h Chromium API headers.
2646
2647         https://bugs.webkit.org/show_bug.cgi?id=28394
2648
2649         * public/WebPasswordAutocompleteListener.h: Added.
2650         (WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener):
2651         * public/WebPasswordFormData.h: Added.
2652         (WebKit::WebPasswordFormData::isValid):
2653         * public/WebPlugin.h: Added.
2654         (WebKit::WebPlugin::~WebPlugin):
2655         * public/WebPluginContainer.h: Added.
2656         (WebKit::WebPluginContainer::~WebPluginContainer):
2657         * public/WebPluginListBuilder.h: Added.
2658         * public/WebPluginParams.h: Added.
2659
2660 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2661
2662         Reviewed by Dimitri Glazkov.
2663
2664         Up-streaming Chromium API src files: WebBindging ... WebCursorInfo
2665
2666         https://bugs.webkit.org/show_bug.cgi?id=31276
2667
2668         * src/WebBindings.cpp: Added.
2669         (WebKit::WebBindings::construct):
2670         (WebKit::WebBindings::createObject):
2671         (WebKit::WebBindings::enumerate):
2672         (WebKit::WebBindings::evaluate):
2673         (WebKit::WebBindings::evaluateHelper):
2674         (WebKit::WebBindings::getIntIdentifier):
2675         (WebKit::WebBindings::getProperty):
2676         (WebKit::WebBindings::getStringIdentifier):
2677         (WebKit::WebBindings::getStringIdentifiers):
2678         (WebKit::WebBindings::hasMethod):
2679         (WebKit::WebBindings::hasProperty):
2680         (WebKit::WebBindings::identifierIsString):
2681         (WebKit::WebBindings::intFromIdentifier):
2682         (WebKit::WebBindings::initializeVariantWithStringCopy):
2683         (WebKit::WebBindings::invoke):
2684         (WebKit::WebBindings::invokeDefault):
2685         (WebKit::WebBindings::releaseObject):
2686         (WebKit::WebBindings::releaseVariantValue):
2687         (WebKit::WebBindings::removeProperty):
2688         (WebKit::WebBindings::retainObject):
2689         (WebKit::WebBindings::setException):
2690         (WebKit::WebBindings::setProperty):
2691         (WebKit::WebBindings::unregisterObject):
2692         (WebKit::WebBindings::utf8FromIdentifier):
2693         (WebKit::WebBindings::extractIdentifierData):
2694         (WebKit::getEvent):
2695         (WebKit::getDragDataImpl):
2696         (WebKit::getRangeImpl):
2697         (WebKit::WebBindings::getDragData):
2698         (WebKit::WebBindings::isDragEvent):
2699         (WebKit::WebBindings::getRange):
2700         * src/WebCString.cpp: Added.
2701         (WebKit::WebCString::reset):
2702         (WebKit::WebCString::assign):
2703         (WebKit::WebCString::length):
2704         (WebKit::WebCString::data):
2705         (WebKit::WebCString::utf16):
2706         (WebKit::WebCString::fromUTF16):
2707         (WebKit::WebCString::WebCString):
2708         (WebKit::WebCString::operator=):
2709         (WebKit::WebCString::operator WebCore::CString):
2710         * src/WebCache.cpp: Added.
2711         (WebKit::ToResourceTypeStat):
2712         (WebKit::WebCache::setCapacities):
2713         (WebKit::WebCache::clear):
2714         (WebKit::WebCache::getUsageStats):
2715         (WebKit::WebCache::getResourceTypeStats):
2716         * src/WebColor.cpp: Added.
2717         (WebKit::toCSSValueKeyword):
2718         (WebKit::setNamedColors):
2719         * src/WebCrossOriginPreflightResultCache.cpp: Added.
2720         (WebKit::WebCrossOriginPreflightResultCache::clear):
2721         * src/WebCursorInfo.cpp: Added.
2722         (WebKit::WebCursorInfo::WebCursorInfo):
2723
2724 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2725
2726         Reviewed by Dimitri Glazkov.
2727
2728         Up-streaming Chromium API src files: WebAccessibilty
2729
2730         https://bugs.webkit.org/show_bug.cgi?id=31276
2731
2732         * src/WebAccessibilityCache.cpp: Added.
2733         (WebKit::WebAccessibilityCache::enableAccessibility):
2734         * src/WebAccessibilityCacheImpl.cpp: Added.
2735         (WebKit::toAccessibilityObject):
2736         (WebKit::WebAccessibilityCache::create):
2737         (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
2738         (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
2739         (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach):
2740         (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl):
2741         (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl):
2742         (WebKit::WebAccessibilityCacheImpl::initialize):
2743         (WebKit::WebAccessibilityCacheImpl::getObjectById):
2744         (WebKit::WebAccessibilityCacheImpl::isValidId):
2745         (WebKit::WebAccessibilityCacheImpl::remove):
2746         (WebKit::WebAccessibilityCacheImpl::clear):
2747         (WebKit::WebAccessibilityCacheImpl::addOrGetId):
2748         * src/WebAccessibilityCacheImpl.h: Added.
2749         (WebKit::WebAccessibilityCacheImpl::isInitialized):
2750         * src/WebAccessibilityObject.cpp: Added.
2751         (WebKit::WebAccessibilityObject::reset):
2752         (WebKit::WebAccessibilityObject::assign):
2753         (WebKit::WebAccessibilityObject::accessibilityDescription):
2754         (WebKit::WebAccessibilityObject::actionVerb):
2755         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
2756         (WebKit::WebAccessibilityObject::childCount):
2757         (WebKit::WebAccessibilityObject::childAt):
2758         (WebKit::WebAccessibilityObject::firstChild):
2759         (WebKit::WebAccessibilityObject::focusedChild):
2760         (WebKit::WebAccessibilityObject::lastChild):
2761         (WebKit::WebAccessibilityObject::nextSibling):
2762         (WebKit::WebAccessibilityObject::parentObject):
2763         (WebKit::WebAccessibilityObject::previousSibling):
2764         (WebKit::WebAccessibilityObject::isAnchor):
2765         (WebKit::WebAccessibilityObject::isChecked):
2766         (WebKit::WebAccessibilityObject::isFocused):
2767         (WebKit::WebAccessibilityObject::isEnabled):
2768         (WebKit::WebAccessibilityObject::isHovered):
2769         (WebKit::WebAccessibilityObject::isIndeterminate):
2770         (WebKit::WebAccessibilityObject::isMultiSelect):
2771         (WebKit::WebAccessibilityObject::isOffScreen):
2772         (WebKit::WebAccessibilityObject::isPasswordField):
2773         (WebKit::WebAccessibilityObject::isPressed):
2774         (WebKit::WebAccessibilityObject::isReadOnly):
2775         (WebKit::WebAccessibilityObject::isVisited):
2776         (WebKit::WebAccessibilityObject::boundingBoxRect):
2777         (WebKit::WebAccessibilityObject::helpText):
2778         (WebKit::WebAccessibilityObject::hitTest):
2779         (WebKit::WebAccessibilityObject::keyboardShortcut):
2780         (WebKit::WebAccessibilityObject::performDefaultAction):
2781         (WebKit::WebAccessibilityObject::roleValue):
2782         (WebKit::WebAccessibilityObject::stringValue):
2783         (WebKit::WebAccessibilityObject::title):
2784         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
2785         (WebKit::WebAccessibilityObject::operator=):
2786         (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
2787
2788 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2789
2790         Reviewed by Dimitri Glazkov.
2791
2792         Upstreaming Chromium API: Platform specific files
2793
2794         https://bugs.webkit.org/show_bug.cgi?id=28394
2795
2796         * public/gtk/WebFontInfo.h: Added.
2797         * public/gtk/WebInputEventFactory.h: Added.
2798         * public/gtk/WebScreenInfoFactory.h: Added.
2799         * public/linux/WebFontRendering.h: Added.
2800         * public/linux/WebSandboxSupport.h: Added.
2801         * public/mac/WebInputEventFactory.h: Added.
2802         * public/mac/WebScreenInfoFactory.h: Added.
2803         * public/win/WebInputEventFactory.h: Added.
2804         * public/win/WebSandboxSupport.h: Added.
2805         * public/win/WebScreenInfoFactory.h: Added.
2806         * public/win/WebThemeEngine.h: Added.
2807         * public/x11/WebScreenInfoFactory.h: Added.
2808
2809 2009-11-09  David Levin  <levin@chromium.org>
2810
2811         Reviewed by Dmitry Titov.
2812
2813         Change struct ResourceRequest to class ResourceRequest per
2814         http://trac.webkit.org/changeset/50625.
2815
2816         * public/WebURLRequest.h:
2817
2818 2009-11-09  Nate Chapin  <japhet@chromium.org>
2819
2820         Reviewed by Dimitri Glazkov.
2821
2822         Upstream remaining Chromium API WebN*.h headers.
2823
2824         https://bugs.webkit.org/show_bug.cgi?id=28394
2825
2826         * public/WebNonCopyable.h: Added.
2827         (WebKit::WebNonCopyable::WebNonCopyable):
2828         (WebKit::WebNonCopyable::~WebNonCopyable):
2829         * public/WebNotification.h: Added.
2830         (WebKit::WebNotification::WebNotification):
2831         (WebKit::WebNotification::~WebNotification):
2832         (WebKit::WebNotification::operator=):
2833         (WebKit::WebNotification::equals):
2834         (WebKit::operator==):
2835         (WebKit::operator!=):
2836         (WebKit::operator<):
2837         * public/WebNotificationPermissionCallback.h: Added.
2838         (WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback):
2839         * public/WebNotificationPresenter.h: Added.
2840         (WebKit::WebNotificationPresenter::):
2841
2842 2009-11-09  Nate Chapin  <japhet@chromium.org>
2843
2844         Reviewed by Dimitri Glazkov.
2845
2846         Upstream Chromium API headers WebMessage through WebNavigation.
2847
2848         https://bugs.webkit.org/show_bug.cgi?id=28394
2849
2850         * public/WebMessagePortChannel.h: Added.
2851         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
2852         * public/WebMessagePortChannelClient.h: Added.
2853         (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
2854         * public/WebMimeRegistry.h: Added.
2855         (WebKit::WebMimeRegistry::):
2856         (WebKit::WebMimeRegistry::~WebMimeRegistry):
2857         * public/WebNavigationPolicy.h: Added.
2858         (WebKit::):
2859         * public/WebNavigationType.h: Added.
2860         (WebKit::):
2861
2862 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2863
2864         Reviewed by Dimitri Glazkov.
2865
2866         Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo.
2867
2868         https://bugs.webkit.org/show_bug.cgi?id=28394
2869
2870         * public/WebScreenInfo.h: Added.
2871         (WebKit::WebScreenInfo::WebScreenInfo):
2872         * public/WebScriptController.h: Added.
2873         * public/WebScriptSource.h: Added.
2874         (WebKit::WebScriptSource::WebScriptSource):
2875         * public/WebSearchableFormData.h: Added.
2876         (WebKit::WebSearchableFormData::isValid):
2877         (WebKit::WebSearchableFormData::url):
2878         (WebKit::WebSearchableFormData::encoding):
2879         * public/WebSecurityOrigin.h: Added.
2880         (WebKit::WebSecurityOrigin::~WebSecurityOrigin):
2881         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
2882         (WebKit::WebSecurityOrigin::operator=):
2883         (WebKit::WebSecurityOrigin::isNull):
2884         * public/WebSecurityPolicy.h: Added.
2885         * public/WebSettings.h: Added.
2886         (WebKit::WebSettings::~WebSettings):
2887         * public/WebSharedWorker.h: Added.
2888         (WebKit::WebSharedWorker::~WebSharedWorker):
2889         * public/WebSharedWorkerRepository.h: Added.
2890
2891 2009-11-09  Nate Chapin  <japhet@chromium.org>
2892
2893         Reviewed by Dimitri Glazkov.
2894
2895         Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h.
2896
2897         https://bugs.webkit.org/show_bug.cgi?id=28394
2898
2899         * public/WebKit.h: Added.
2900         * public/WebKitClient.h: Added.
2901         (WebKit::WebKitClient::~WebKitClient):
2902         * public/WebLocalizedString.h: Added.
2903         (WebKit::WebLocalizedString::):
2904         * public/WebMediaPlayer.h: Added.
2905         (WebKit::WebTimeRange::WebTimeRange):
2906         (WebKit::WebMediaPlayer::):
2907         (WebKit::WebMediaPlayer::~WebMediaPlayer):
2908         * public/WebMediaPlayerAction.h: Added.
2909         (WebKit::WebMediaPlayerAction::):
2910         (WebKit::WebMediaPlayerAction::WebMediaPlayerAction):
2911         * public/WebMediaPlayerClient.h: Added.
2912         (WebKit::WebMediaPlayerClient::~WebMediaPlayerClient):
2913
2914 2009-11-09  Nate Chapin  <japhet@chromium.org>
2915
2916         Reviewed by Dimitri Glazkov.
2917
2918         Upstream rest of WebH*.h and WebI*.h Chromium API headers.
2919
2920         https://bugs.webkit.org/show_bug.cgi?id=28394
2921
2922         * public/WebHTTPBody.h: Added.
2923         (WebKit::WebHTTPBody::Element::):
2924         (WebKit::WebHTTPBody::~WebHTTPBody):
2925         (WebKit::WebHTTPBody::WebHTTPBody):
2926         (WebKit::WebHTTPBody::operator=):
2927         (WebKit::WebHTTPBody::isNull):
2928         * public/WebHTTPHeaderVisitor.h: Added.
2929         (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
2930         * public/WebHistoryItem.h: Added.
2931         (WebKit::WebHistoryItem::~WebHistoryItem):
2932         (WebKit::WebHistoryItem::WebHistoryItem):
2933         (WebKit::WebHistoryItem::operator=):
2934         (WebKit::WebHistoryItem::isNull):
2935         * public/WebImage.h: Added.
2936         (WebKit::WebImage::~WebImage):
2937         (WebKit::WebImage::WebImage):
2938         (WebKit::WebImage::operator=):
2939         (WebKit::WebImage::getSkBitmap):
2940         (WebKit::WebImage::init):
2941         (WebKit::WebImage::getCGImageRef):
2942         * public/WebInputEvent.h: Added.
2943         (WebKit::WebInputEvent::WebInputEvent):
2944         (WebKit::WebInputEvent::):
2945         (WebKit::WebInputEvent::isKeyboardEventType):
2946         (WebKit::WebKeyboardEvent::WebKeyboardEvent):
2947         (WebKit::WebMouseEvent::):
2948         (WebKit::WebMouseEvent::WebMouseEvent):
2949         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
2950
2951 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2952
2953         Reviewed by Eric Seidel.
2954
2955         Upstreaming the Chromium WebKit API: WebSockets and WebStorage.
2956
2957         https://bugs.webkit.org/show_bug.cgi?id=28394
2958
2959         * public/WebSocketStreamError.h: Added.
2960         * public/WebSocketStreamHandle.h: Added.
2961         (WebKit::WebSocketStreamHandle::~WebSocketStreamHandle):
2962         * public/WebSocketStreamHandleClient.h: Added.
2963         * public/WebStorageArea.h: Added.
2964         (WebKit::WebStorageArea::~WebStorageArea):
2965         * public/WebStorageEventDispatcher.h: Added.
2966         (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
2967         * public/WebStorageNamespace.h: Added.
2968         (WebKit::WebStorageNamespace::~WebStorageNamespace):
2969
2970 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
2971
2972         Reviewed by Dimitri Glazkov.
2973
2974         Upstreaming the Chromium WebKit API: WebString and other basic objects.
2975
2976         https://bugs.webkit.org/show_bug.cgi?id=28394
2977
2978         * public/WebRange.h: Added.
2979         (WebKit::WebRange::~WebRange):
2980         (WebKit::WebRange::WebRange):
2981         (WebKit::WebRange::operator=):
2982         (WebKit::WebRange::isNull):
2983         * public/WebRect.h: Added.
2984         (WebKit::WebRect::isEmpty):
2985         (WebKit::WebRect::WebRect):
2986         (WebKit::WebRect::operator=):
2987         (WebKit::WebRect::operator WebCore::IntRect):
2988         (WebKit::WebRect::operator gfx::Rect):
2989         (WebKit::operator==):
2990         (WebKit::operator!=):
2991         * public/WebSize.h: Added.
2992         (WebKit::WebSize::isEmpty):
2993         (WebKit::WebSize::WebSize):
2994         (WebKit::WebSize::operator=):
2995         (WebKit::WebSize::operator WebCore::IntSize):
2996         (WebKit::WebSize::operator gfx::Size):
2997         (WebKit::operator==):
2998         (WebKit::operator!=):
2999         * public/WebString.h: Added.
3000         (WebKit::WebString::~WebString):
3001         (WebKit::WebString::WebString):
3002         (WebKit::WebString::operator=):
3003         (WebKit::WebString::isEmpty):
3004         (WebKit::WebString::isNull):
3005         (WebKit::WebString::operator string16):
3006         (WebKit::WebString::operator NullableString16):
3007         (WebKit::WebString::fromUTF8):
3008
3009 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
3010
3011         Reviewed by Eric Seidel.
3012
3013         Upstreaming the Chromium WebKit API: WebText*
3014
3015         https://bugs.webkit.org/show_bug.cgi?id=28394
3016
3017         * public/WebTextAffinity.h: Added.
3018         (WebKit::):
3019         * public/WebTextDirection.h: Added.
3020         (WebKit::):
3021
3022 2009-11-09  Nate Chapin  <japhet@chromium.org>
3023
3024         Reviewed by Dimitri Glazkov.
3025
3026         Upstream remainder of WebE*.h and WebF*.h Chromium API headers.
3027
3028         https://bugs.webkit.org/show_bug.cgi?id=28394
3029
3030         * public/WebEditingAction.h: Added.
3031         (WebKit::):
3032         * public/WebFileChooserCompletion.h: Added.
3033         (WebKit::WebFileChooserCompletion::~WebFileChooserCompletion):
3034         * public/WebFindOptions.h: Added.
3035         (WebKit::WebFindOptions::WebFindOptions):
3036         * public/WebFontCache.h: Added.
3037         * public/WebFrame.h: Added.
3038         (WebKit::WebFrame::~WebFrame):
3039         * public/WebFrameClient.h: Added.
3040         (WebKit::WebFrameClient::createPlugin):
3041         (WebKit::WebFrameClient::createWorker):
3042         (WebKit::WebFrameClient::createSharedWorker):
3043         (WebKit::WebFrameClient::createMediaPlayer):
3044         (WebKit::WebFrameClient::willClose):
3045         (WebKit::WebFrameClient::loadURLExternally):
3046         (WebKit::WebFrameClient::decidePolicyForNavigation):
3047         (WebKit::WebFrameClient::canHandleRequest):
3048         (WebKit::WebFrameClient::cannotHandleRequestError):
3049         (WebKit::WebFrameClient::cancelledError):
3050         (WebKit::WebFrameClient::unableToImplementPolicyWithError):
3051         (WebKit::WebFrameClient::willSubmitForm):
3052         (WebKit::WebFrameClient::willPerformClientRedirect):
3053         (WebKit::WebFrameClient::didCancelClientRedirect):
3054         (WebKit::WebFrameClient::didCompleteClientRedirect):
3055         (WebKit::WebFrameClient::didCreateDataSource):
3056         (WebKit::WebFrameClient::didStartProvisionalLoad):
3057         (WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad):
3058         (WebKit::WebFrameClient::didFailProvisionalLoad):
3059         (WebKit::WebFrameClient::didReceiveDocumentData):
3060         (WebKit::WebFrameClient::didCommitProvisionalLoad):
3061         (WebKit::WebFrameClient::didClearWindowObject):
3062         (WebKit::WebFrameClient::didCreateDocumentElement):
3063         (WebKit::WebFrameClient::didReceiveTitle):
3064         (WebKit::WebFrameClient::didFinishDocumentLoad):
3065         (WebKit::WebFrameClient::didHandleOnloadEvents):
3066         (WebKit::WebFrameClient::didFailLoad):
3067         (WebKit::WebFrameClient::didFinishLoad):
3068         (WebKit::WebFrameClient::didChangeLocationWithinPage):
3069         (WebKit::WebFrameClient::didUpdateCurrentHistoryItem):
3070         (WebKit::WebFrameClient::assignIdentifierToRequest):
3071         (WebKit::WebFrameClient::willSendRequest):
3072         (WebKit::WebFrameClient::didReceiveResponse):
3073         (WebKit::WebFrameClient::didFinishResourceLoad):
3074         (WebKit::WebFrameClient::didFailResourceLoad):
3075         (WebKit::WebFrameClient::didLoadResourceFromMemoryCache):
3076         (WebKit::WebFrameClient::didDisplayInsecureContent):
3077         (WebKit::WebFrameClient::didRunInsecureContent):
3078         (WebKit::WebFrameClient::allowScript):
3079         (WebKit::WebFrameClient::didExhaustMemoryAvailableForScript):
3080         (WebKit::WebFrameClient::didCreateScriptContext):
3081         (WebKit::WebFrameClient::didDestroyScriptContext):
3082         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
3083         (WebKit::WebFrameClient::didChangeContentsSize):
3084         (WebKit::WebFrameClient::didChangeScrollOffset):
3085         (WebKit::WebFrameClient::reportFindInPageMatchCount):
3086         (WebKit::WebFrameClient::reportFindInPageSelection):
3087         (WebKit::WebFrameClient::~WebFrameClient):
3088
3089 2009-11-09  Nate Chapin  <japhet@chromium.org>
3090
3091         Reviewed by Dimitri Glazkov.
3092
3093         Upstream WebDevTools*.h and WebDrag*.h Chromium API headers.
3094
3095         https://bugs.webkit.org/show_bug.cgi?id=28394
3096
3097         * public/WebDevToolsAgent.h: Added.
3098         (WebKit::WebDevToolsAgent::~WebDevToolsAgent):
3099         * public/WebDevToolsAgentClient.h: Added.
3100         (WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient):
3101         * public/WebDevToolsFrontend.h: Added.
3102         (WebKit::WebDevToolsFrontend::~WebDevToolsFrontend):
3103         * public/WebDevToolsFrontendClient.h: Added.
3104         (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
3105         (WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient):
3106         * public/WebDragData.h: Added.
3107         (WebKit::WebDragData::~WebDragData):
3108         (WebKit::WebDragData::WebDragData):
3109         (WebKit::WebDragData::operator=):
3110         (WebKit::WebDragData::isNull):
3111         * public/WebDragOperation.h: Added.
3112         (WebKit::):
3113
3114 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
3115
3116         Reviewed by Dimitri Glazkov.
3117
3118         Upstreaming the Chromium WebKit API: WebURL and friends.
3119
3120         https://bugs.webkit.org/show_bug.cgi?id=28394
3121
3122         * public/WebURL.h: Added.
3123         (WebKit::WebURL::~WebURL):
3124         (WebKit::WebURL::WebURL):
3125         (WebKit::WebURL::operator=):
3126         (WebKit::WebURL::assign):
3127         (WebKit::WebURL::spec):
3128         (WebKit::WebURL::parsed):
3129         (WebKit::WebURL::isValid):
3130         (WebKit::WebURL::isEmpty):
3131         (WebKit::WebURL::isNull):
3132         (WebKit::WebURL::operator GURL):
3133         * public/WebURLError.h: Added.
3134         (WebKit::WebURLError::WebURLError):
3135         * public/WebURLLoader.h: Added.
3136         (WebKit::WebURLLoader::~WebURLLoader):
3137         * public/WebURLLoaderClient.h: Added.
3138         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
3139         * public/WebURLRequest.h: Added.
3140         (WebKit::WebURLRequest::):
3141         (WebKit::WebURLRequest::~WebURLRequest):
3142         (WebKit::WebURLRequest::WebURLRequest):
3143         (WebKit::WebURLRequest::operator=):
3144         * public/WebURLResponse.h: Added.
3145         (WebKit::WebURLResponse::~WebURLResponse):
3146         (WebKit::WebURLResponse::WebURLResponse):
3147         (WebKit::WebURLResponse::operator=):
3148
3149 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
3150
3151         Reviewed by Dimitri Glazkov.
3152
3153         Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient
3154
3155         https://bugs.webkit.org/show_bug.cgi?id=28394
3156
3157         * public/WebVector.h: Added.
3158         (WebKit::WebVector::~WebVector):
3159         (WebKit::WebVector::WebVector):
3160         (WebKit::WebVector::operator=):
3161         (WebKit::WebVector::assign):
3162         (WebKit::WebVector::size):
3163         (WebKit::WebVector::isEmpty):
3164         (WebKit::WebVector::operator[]):
3165         (WebKit::WebVector::data):
3166         (WebKit::WebVector::swap):
3167         (WebKit::WebVector::initialize):
3168         (WebKit::WebVector::initializeFrom):
3169         (WebKit::WebVector::destroy):
3170         * public/WebView.h: Added.
3171         (WebKit::WebView::~WebView):
3172         * public/WebViewClient.h: Added.
3173         (WebKit::WebViewClient::createView):
3174         (WebKit::WebViewClient::createPopupMenu):
3175         (WebKit::WebViewClient::didAddMessageToConsole):
3176         (WebKit::WebViewClient::printPage):
3177         (WebKit::WebViewClient::notificationPresenter):
3178         (WebKit::WebViewClient::didStartLoading):
3179         (WebKit::WebViewClient::didStopLoading):
3180         (WebKit::WebViewClient::shouldBeginEditing):
3181         (WebKit::WebViewClient::shouldEndEditing):
3182         (WebKit::WebViewClient::shouldInsertNode):
3183         (WebKit::WebViewClient::shouldInsertText):
3184         (WebKit::WebViewClient::shouldChangeSelectedRange):
3185         (WebKit::WebViewClient::shouldDeleteRange):
3186         (WebKit::WebViewClient::shouldApplyStyle):
3187         (WebKit::WebViewClient::isSmartInsertDeleteEnabled):
3188         (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled):
3189         (WebKit::WebViewClient::setInputMethodEnabled):
3190         (WebKit::WebViewClient::didBeginEditing):
3191         (WebKit::WebViewClient::didChangeSelection):
3192         (WebKit::WebViewClient::didChangeContents):
3193         (WebKit::WebViewClient::didExecuteCommand):
3194         (WebKit::WebViewClient::didEndEditing):
3195         (WebKit::WebViewClient::handleCurrentKeyboardEvent):
3196         (WebKit::WebViewClient::spellCheck):
3197         (WebKit::WebViewClient::autoCorrectWord):
3198         (WebKit::WebViewClient::showSpellingUI):
3199         (WebKit::WebViewClient::isShowingSpellingUI):
3200         (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord):
3201         (WebKit::WebViewClient::runFileChooser):
3202         (WebKit::WebViewClient::runModalAlertDialog):
3203         (WebKit::WebViewClient::runModalConfirmDialog):
3204         (WebKit::WebViewClient::runModalPromptDialog):
3205         (WebKit::WebViewClient::runModalBeforeUnloadDialog):
3206         (WebKit::WebViewClient::setStatusText):
3207         (WebKit::WebViewClient::setMouseOverURL):
3208         (WebKit::WebViewClient::setKeyboardFocusURL):
3209         (WebKit::WebViewClient::setToolTipText):
3210         (WebKit::WebViewClient::showContextMenu):
3211         (WebKit::WebViewClient::startDragging):
3212         (WebKit::WebViewClient::acceptsLoadDrops):
3213         (WebKit::WebViewClient::focusNext):
3214         (WebKit::WebViewClient::focusPrevious):
3215         (WebKit::WebViewClient::navigateBackForwardSoon):
3216         (WebKit::WebViewClient::historyBackListCount):
3217         (WebKit::WebViewClient::historyForwardListCount):
3218         (WebKit::WebViewClient::didAddHistoryItem):
3219         (WebKit::WebViewClient::focusAccessibilityObject):
3220         (WebKit::WebViewClient::didUpdateInspectorSettings):
3221         (WebKit::WebViewClient::queryAutofillSuggestions):
3222         (WebKit::WebViewClient::removeAutofillSuggestions):
3223         (WebKit::WebViewClient::~WebViewClient):
3224         * public/WebWidget.h: Added.
3225         (WebKit::WebWidget::~WebWidget):
3226         * public/WebWidgetClient.h: Added.
3227         (WebKit::WebWidgetClient::didInvalidateRect):
3228         (WebKit::WebWidgetClient::didScrollRect):
3229         (WebKit::WebWidgetClient::didFocus):
3230         (WebKit::WebWidgetClient::didBlur):
3231         (WebKit::WebWidgetClient::didChangeCursor):
3232         (WebKit::WebWidgetClient::closeWidgetSoon):
3233         (WebKit::WebWidgetClient::show):
3234         (WebKit::WebWidgetClient::runModal):
3235         (WebKit::WebWidgetClient::windowRect):
3236         (WebKit::WebWidgetClient::setWindowRect):
3237         (WebKit::WebWidgetClient::windowResizerRect):
3238         (WebKit::WebWidgetClient::rootWindowRect):
3239         (WebKit::WebWidgetClient::screenInfo):
3240         (WebKit::WebWidgetClient::~WebWidgetClient):
3241         * public/WebWorker.h: Added.
3242         (WebKit::WebWorker::~WebWorker):
3243         * public/WebWorkerClient.h: Added.
3244         (WebKit::WebWorkerClient::~WebWorkerClient):
3245
3246 2009-11-09  Nate Chapin  <japhet@chromium.org>
3247
3248         Reviewed by Dimitri Glazkov.
3249
3250         Upstream WebData*.h Chromium API files.
3251
3252         https://bugs.webkit.org/show_bug.cgi?id=28394
3253
3254         * public/WebData.h: Added.
3255         (WebKit::WebData::~WebData):
3256         (WebKit::WebData::WebData):
3257         (WebKit::WebData::operator=):
3258         (WebKit::WebData::isEmpty):
3259         (WebKit::WebData::isNull):
3260         * public/WebDataSource.h: Added.
3261         (WebKit::WebDataSource::ExtraData::~ExtraData):
3262         (WebKit::WebDataSource::~WebDataSource):
3263         * public/WebDatabase.h: Added.
3264         (WebKit::WebDatabase::WebDatabase):
3265         (WebKit::WebDatabase::~WebDatabase):
3266         (WebKit::WebDatabase::operator=):
3267         (WebKit::WebDatabase::isNull):
3268         * public/WebDatabaseObserver.h: Added.
3269         (WebKit::WebDatabaseObserver::~WebDatabaseObserver):
3270
3271 2009-11-09  Nate Chapin  <japhet@chromium.org>
3272
3273         Reviewed by Dimitri Glazkov.
3274
3275         Upstream the last of the Chromium API WebC*.h files.
3276
3277         https://bugs.webkit.org/show_bug.cgi?id=28394
3278
3279         * public/WebConsoleMessage.h: Added.
3280         (WebKit::WebConsoleMessage::):
3281         (WebKit::WebConsoleMessage::WebConsoleMessage):
3282         * public/WebContextMenuData.h: Added.
3283         (WebKit::WebContextMenuData::):
3284         * public/WebCookie.h: Added.
3285         (WebKit::WebCookie::WebCookie):
3286         * public/WebCrossOriginPreflightResultCache.h: Added.
3287         * public/WebCursorInfo.h: Added.
3288         (WebKit::WebCursorInfo::):
3289         (WebKit::WebCursorInfo::WebCursorInfo):
3290
3291 2009-11-09  Nate Chapin  <japhet@chromium.org>
3292
3293         Reviewed by Dimitri Glazkov.
3294
3295         More WebC*.h upstreaming.
3296
3297         https://bugs.webkit.org/show_bug.cgi?id=28394
3298
3299         * public/WebCString.h: Added.
3300         (WebKit::WebCString::~WebCString):
3301         (WebKit::WebCString::WebCString):
3302         (WebKit::WebCString::operator=):
3303         (WebKit::WebCString::isEmpty):
3304         (WebKit::WebCString::isNull):
3305         (WebKit::WebCString::operator std::string):
3306         (WebKit::WebCString::fromUTF16):
3307         * public/WebColorName.h: Added.
3308         (WebKit::):
3309         * public/WebCommon.h: Added.
3310         * public/WebCommonWorkerClient.h: Added.
3311         (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
3312         * public/WebCompositionCommand.h: Added.
3313         (WebKit::):
3314
3315 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
3316
3317         Reviewed by Dimitri Glazkov.
3318
3319         Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes
3320
3321         https://bugs.webkit.org/show_bug.cgi?id=28394
3322
3323         * public/WebElement.h: Added.
3324         (WebKit::WebElement::WebElement):
3325         (WebKit::WebElement::operator=):
3326         (WebKit::WebElement::assign):
3327         * public/WebFormElement.h: Added.
3328         (WebKit::WebFormElement::~WebFormElement):
3329         (WebKit::WebFormElement::WebFormElement):
3330         (WebKit::WebFormElement::operator=):
3331         (WebKit::WebFormElement::assign):
3332         * public/WebInputElement.h: Added.
3333         (WebKit::WebInputElement::WebInputElement):
3334         (WebKit::WebInputElement::operator=):
3335         (WebKit::WebInputElement::assign):
3336         * public/WebNode.h: Added.
3337         (WebKit::WebNode::~WebNode):
3338         (WebKit::WebNode::WebNode):
3339         (WebKit::WebNode::operator=):
3340         (WebKit::WebNode::isNull):
3341         (WebKit::WebNode::toElement):
3342         (WebKit::WebNode::unwrap):
3343         (WebKit::WebNode::constUnwrap):
3344
3345 2009-11-09  Nate Chapin  <japhet@chromium.org>
3346
3347         Reviewed by Dimitri Glazkov.
3348
3349         WebKit Chromium API upstreaming, WebBindings.h through WebColor.h.
3350
3351         * public/WebBindings.h: Added.
3352         * public/WebCache.h: Added.
3353         * public/WebCanvas.h: Added.
3354         * public/WebClipboard.h: Added.
3355         (WebKit::WebClipboard::):
3356         (WebKit::WebClipboard::~WebClipboard):
3357         * public/WebColor.h: Added.
3358
3359 2009-11-09  Nate Chapin  <japhet@chromium.org>
3360
3361         Reviewed by Dimitri Glazkov.
3362
3363         Starting upstreaming the Chromium WebKit API.  public/ contains header files only.
3364
3365         https://bugs.webkit.org/show_bug.cgi?id=28394
3366
3367         * ChangeLog: First!!
3368         * public: Added.
3369         * public/WebAccessibilityCache.h: Added.
3370         (WebKit::WebAccessibilityCache::WebAccessibilityCache):
3371         (WebKit::WebAccessibilityCache::~WebAccessibilityCache):
3372         * public/WebAccessibilityObject.h: Added.
3373         (WebKit::WebAccessibilityObject::~WebAccessibilityObject):
3374         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
3375         (WebKit::WebAccessibilityObject::operator=):
3376         (WebKit::WebAccessibilityObject::isNull):
3377         * public/WebAccessibilityRole.h: Added.
3378         (WebKit::):
3379         * public/WebApplicationCacheHost.h: Added.
3380         (WebKit::WebApplicationCacheHost::):
3381         (WebKit::WebApplicationCacheHost::~WebApplicationCacheHost):
3382         * public/WebApplicationCacheHostClient.h: Added.
3383         (WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient):