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