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