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