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