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