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