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