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