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