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