92c3f41058a0720155156be96fd0e78e433340ab
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-02-08  Dirk Schulze  <krit@webkit.org>
2
3         Reviewed by Nikolas Zimmermann.
4
5         Add back an AffineTransform class for use by SVG
6         https://bugs.webkit.org/show_bug.cgi?id=33750
7
8         Use AffineTransform instead of TransformationMatrix here.
9
10         * tests/TransparencyWinTest.cpp:
11         (WebCore::TEST):
12
13 2010-02-07  Jian Li  <jianli@chromium.org>
14
15         Reviewed by Darin Fisher.
16
17         [chromium] Change chromium interface to handle DownloadURL format.
18         https://bugs.webkit.org/show_bug.cgi?id=34655
19
20         * public/WebDragData.h:
21         * src/WebDragData.cpp:
22         (WebKit::WebDragData::downloadMetadata):
23         (WebKit::WebDragData::setDownloadMetadata):
24
25 2010-02-06  Dimitri Glazkov  <dglazkov@chromium.org>
26
27         No review, rolling out r54364.
28         http://trac.webkit.org/changeset/54364
29         https://bugs.webkit.org/show_bug.cgi?id=34464
30
31         Introduced asserts in layout tests, needs more testing
32         locally.
33
34         * public/WebViewClient.h:
35         * src/ChromeClientImpl.cpp:
36         * src/ChromeClientImpl.h:
37
38 2010-02-05  James Hawkins  <jhawkins@chromium.org>
39
40         Reviewed by David Levin.
41
42         [Chromium] Rename autocomplete* to suggestions* to prepare for the
43         refactoring of AutocompletePopupMenuClient.
44
45         https://bugs.webkit.org/show_bug.cgi?id=34664
46
47         * public/WebView.h:
48         * src/AutocompletePopupMenuClient.cpp:
49         (WebKit::AutocompletePopupMenuClient::popupDidHide):
50         * src/EditorClientImpl.cpp:
51         (WebKit::EditorClientImpl::textFieldDidEndEditing):
52         (WebKit::EditorClientImpl::doAutofill):
53         * src/WebViewImpl.cpp:
54         (WebKit::):
55         (WebKit::WebViewImpl::WebViewImpl):
56         (WebKit::WebViewImpl::mouseDown):
57         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
58         (WebKit::WebViewImpl::setFocus):
59         (WebKit::WebViewImpl::applyAutofillSuggestions):
60         (WebKit::WebViewImpl::hideAutofillPopup):
61         (WebKit::WebViewImpl::hideSuggestionsPopup):
62         (WebKit::WebViewImpl::refreshSuggestionsPopup):
63         * src/WebViewImpl.h:
64         (WebKit::WebViewImpl::suggestionsPopupDidHide):
65
66 2010-02-05  James Hawkins  <jhawkins@chromium.org>
67
68         Reviewed by David Levin.
69
70         [Chromium] Remove an unused forward declaration in WebKitClient.h.
71
72         https://bugs.webkit.org/show_bug.cgi?id=34622
73
74         * public/WebKitClient.h:
75
76 2010-02-05  James Hawkins  <jhawkins@chromium.org>
77
78         Reviewed by Darin Fisher.
79
80         Implement WebInputElement::isActivatedSubmit().
81
82         https://bugs.webkit.org/show_bug.cgi?id=34623
83
84         * public/WebInputElement.h:
85         * src/WebInputElement.cpp:
86         (WebKit::WebInputElement::isActivatedSubmit):
87
88 2010-02-05  Nate Chapin  <japhet@chromium.org>
89
90         Reviewed by Dimitri Glazkov.
91
92         Update code for getting a v8::FunctionTemplate.
93
94         https://bugs.webkit.org/show_bug.cgi?id=34606
95
96         * src/WebDevToolsAgentImpl.cpp:
97         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
98
99 2010-02-05  Mikhail Naganov  <mnaganov@chromium.org>
100
101         Reviewed by Pavel Feldman.
102
103         Enable JAVASCRIPT_DEBUGGER in chromium port.
104
105         https://bugs.webkit.org/show_bug.cgi?id=34638
106
107         * features.gypi:
108
109 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
110
111         Reviewed by Darin Fisher.
112
113         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin
114         https://bugs.webkit.org/show_bug.cgi?id=34509
115
116         Resubmit: The previous commit (r54333) was rolled back.
117
118         * WebKit.gyp:
119         * tests/TransparencyWinTest.cpp: Added.
120         (WebCore::RECTToFloatRect):
121         (WebCore::drawNativeRect):
122         (WebCore::getPixelAt):
123         (WebCore::clearTopLayerAlphaChannel):
124         (WebCore::clearTopLayerAlphaPixel):
125         (WebCore::operator<<):
126         (WebCore::TEST):
127         * tests/UniscribeHelperTest.cpp: Added.
128         (WebCore::UniscribeTest::UniscribeTest):
129         (WebCore::UniscribeTest::MakeFont):
130         (WebCore::UniscribeTest::SetUp):
131         (WebCore::UniscribeTest::TearDown):
132         (TEST_F):
133
134 2010-02-04  Drew Wilson  <atwilson@chromium.org>
135
136         Reviewed by David Levin.
137
138         WorkerContext.close() does not work in the chromium port
139         https://bugs.webkit.org/show_bug.cgi?id=34551
140
141         Test: Adding new downstream test.
142
143         * src/WebWorkerBase.cpp:
144         (WebKit::WebWorkerBase::workerContextClosedTask):
145         Now shuts down the worker thread when WorkerContext::close() is invoked.
146
147 2010-02-04  Chris Guillory  <chris.guillory@google.com>
148
149         Reviewed by Darin Fisher.
150
151         [Chromium] Add function for AccessibilityObject state change notifications.
152         
153         https://bugs.webkit.org/show_bug.cgi?id=34464
154
155         * public/WebViewClient.h:
156         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
157         * src/ChromeClientImpl.cpp:
158         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
159         * src/ChromeClientImpl.h:
160
161 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
162
163         Reviewed by Darin Fisher.
164
165         Update comments to better document the possible values of the
166         writing direction menu state variables.
167
168         * public/WebContextMenuData.h:
169
170 2010-02-04  Nate Chapin  <japhet@chromium.org>
171
172         Reviewed by Dimitri Glazkov.
173
174         Remove references to V8Custom.
175
176         https://bugs.webkit.org/show_bug.cgi?id=32638
177
178         * src/DebuggerAgentImpl.cpp:
179         * src/WebDevToolsFrontendImpl.cpp:
180
181 2010-02-04  Yury Semikhatsky  <yurys@chromium.org>
182
183         Unreviewed. Revert 54333 which broke Chromium build.
184
185         * WebKit.gyp:
186         * tests/TransparencyWinTest.cpp: Removed.
187         * tests/UniscribeHelperTest.cpp: Removed.
188
189 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
190
191         Reviewed by Darin Fisher.
192
193         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
194         https://bugs.webkit.org/show_bug.cgi?id=34509
195
196         * WebKit.gyp:
197         * tests/TransparencyWinTest.cpp: Added.
198         (WebCore::RECTToFloatRect):
199         (WebCore::drawNativeRect):
200         (WebCore::getPixelAt):
201         (WebCore::clearTopLayerAlphaChannel):
202         (WebCore::clearTopLayerAlphaPixel):
203         (WebCore::operator<<):
204         (WebCore::TEST):
205         * tests/UniscribeHelperTest.cpp: Added.
206         (WebCore::UniscribeTest::UniscribeTest):
207         (WebCore::UniscribeTest::MakeFont):
208         (WebCore::UniscribeTest::SetUp):
209         (WebCore::UniscribeTest::TearDown):
210         (WebCore::TEST_F):
211
212 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
213
214         Reviewed by David Levin.
215
216         [Chromium] WebKit side of "Writing direction" context menu on OS X.
217         https://bugs.webkit.org/show_bug.cgi?id=34524
218
219         * public/WebContextMenuData.h:
220         (WebKit::WebContextMenuData::):
221         * src/ContextMenuClientImpl.cpp:
222         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
223
224 2010-02-03  Drew Wilson  <atwilson@chromium.org>
225
226         Reviewed by Alexey Proskuryakov.
227
228         SharedWorkerScriptLoader should not be an ActiveDOMObject
229         https://bugs.webkit.org/show_bug.cgi?id=34513
230
231         * src/SharedWorkerRepository.cpp:
232         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
233         Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
234         (WebCore::SharedWorkerScriptLoader::parentContext):
235         (WebCore::pendingLoaders):
236         Now we manually track pending loads so we can shut them down when the parent context shuts down.
237         (WebCore::SharedWorkerScriptLoader::contextDetached):
238         Shuts down/frees any pending worker loads.
239         (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
240         Marks the SharedWorker object as not having pending activity if there was a load active (handles case where load was pending when parent document exits).
241         (WebCore::SharedWorkerScriptLoader::load):
242         (WebCore::SharedWorkerRepository::documentDetached):
243         Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
244
245 2010-02-03  Alexander Pavlov  <apavlov@chromium.org>
246
247         Reviewed by Timothy Hatcher.
248
249         [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
250         https://bugs.webkit.org/show_bug.cgi?id=34523
251
252         * src/WebDevToolsFrontendImpl.cpp:
253         (WebKit::WebDevToolsFrontendImpl::jsPlatform):
254
255 2010-02-02  Joel Stanley  <joel@jms.id.au>
256
257         Reviewed by David Levin.
258
259         [Chromium] Add API method for setting caret blink frequency.
260         https://bugs.webkit.org/show_bug.cgi?id=31704
261
262         This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
263         to be called Chromium's API.  The API is linux-only as it is currently
264         the only port to implement RenderTheme::setCaretBlinkInterval.
265
266         * WebKit.gyp:  Add WebRenderTheme.{h,cpp}
267         * public/linux/WebRenderTheme.h: Added.
268         * src/linux/WebRenderTheme.cpp: Added.
269         (WebKit::setCaretBlinkInterval): Exposed API
270
271 2010-02-02  Shinichiro Hamaji  <hamaji@chromium.org>
272
273         Reviewed by Dimitri Glazkov.
274
275         [Chromium] Implement WebFrameImpl::pageNumberForElementById
276         https://bugs.webkit.org/show_bug.cgi?id=34471
277
278         * public/WebFrame.h:
279         * src/WebFrameImpl.cpp:
280         (WebKit::WebFrameImpl::pageNumberForElementById):
281         * src/WebFrameImpl.h:
282
283 2010-02-02  Yury Semikhatsky  <yurys@chromium.org>
284
285         Reviewed by Pavel Feldman.
286
287         Upstream DevTools code.
288
289         https://bugs.webkit.org/show_bug.cgi?id=34326
290
291         * WebKit.gyp:
292         * src/APUAgentDelegate.h: Added.
293         * src/BoundObject.cpp: Added.
294         (WebKit::BoundObject::BoundObject):
295         (WebKit::BoundObject::~BoundObject):
296         (WebKit::BoundObject::addProtoFunction):
297         (WebKit::BoundObject::build):
298         * src/BoundObject.h: Added.
299         * src/DebuggerAgent.h: Added.
300         * src/DebuggerAgentImpl.cpp: Added.
301         (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
302         (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl):
303         (WebKit::DebuggerAgentImpl::getContextId):
304         (WebKit::DebuggerAgentImpl::debuggerOutput):
305         (WebKit::DebuggerAgentImpl::createUtilityContext):
306         (WebKit::DebuggerAgentImpl::executeUtilityFunction):
307         (WebKit::DebuggerAgentImpl::executeVoidJavaScript):
308         (WebKit::DebuggerAgentImpl::page):
309         * src/DebuggerAgentImpl.h: Added.
310         (WebKit::DebuggerAgentImpl::setAutoContinueOnException):
311         (WebKit::DebuggerAgentImpl::autoContinueOnException):
312         (WebKit::DebuggerAgentImpl::webdevtoolsAgent):
313         (WebKit::DebuggerAgentImpl::webView):
314         * src/DebuggerAgentManager.cpp: Added.
315         (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
316         (WebKit::DebuggerAgentManager::debugAttach):
317         (WebKit::DebuggerAgentManager::debugDetach):
318         (WebKit::DebuggerAgentManager::onV8DebugMessage):
319         (WebKit::DebuggerAgentManager::pauseScript):
320         (WebKit::DebuggerAgentManager::executeDebuggerCommand):
321         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
322         (WebKit::DebuggerAgentManager::setHostId):
323         (WebKit::DebuggerAgentManager::onWebViewClosed):
324         (WebKit::DebuggerAgentManager::onNavigate):
325         (WebKit::DebuggerAgentManager::sendCommandToV8):
326         (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
327         (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context):
328         (WebKit::DebuggerAgentManager::debuggerAgentForHostId):
329         * src/DebuggerAgentManager.h: Added.
330         (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope):
331         (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope):
332         * src/DevToolsRPC.h: Added.
333         (WebKit::):
334         (WebKit::DevToolsRPC::Delegate::Delegate):
335         (WebKit::DevToolsRPC::Delegate::~Delegate):
336         (WebKit::DevToolsRPC::DevToolsRPC):
337         (WebKit::DevToolsRPC::~DevToolsRPC):
338         (WebKit::DevToolsRPC::sendRpcMessage):
339         * src/DevToolsRPCJS.h: Added.
340         * src/ProfilerAgent.h: Added.
341         * src/ProfilerAgentImpl.cpp: Added.
342         (WebKit::ProfilerAgentImpl::getActiveProfilerModules):
343         (WebKit::ProfilerAgentImpl::getLogLines):
344         * src/ProfilerAgentImpl.h: Added.
345         (WebKit::ProfilerAgentImpl::ProfilerAgentImpl):
346         (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl):
347         * src/ToolsAgent.h: Added.
348         * src/WebDevToolsAgentImpl.cpp: Added.
349         (WebKit::):
350         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
351         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
352         (WebKit::WebDevToolsAgentImpl::disposeUtilityContext):
353         (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary):
354         (WebKit::WebDevToolsAgentImpl::attach):
355         (WebKit::WebDevToolsAgentImpl::detach):
356         (WebKit::WebDevToolsAgentImpl::didNavigate):
357         (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
358         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
359         (WebKit::WebDevToolsAgentImpl::forceRepaint):
360         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
361         (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
362         (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript):
363         (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend):
364         (WebKit::WebDevToolsAgentImpl::inspectElementAt):
365         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
366         (WebKit::WebDevToolsAgentImpl::sendRpcMessage):
367         (WebKit::WebDevToolsAgentImpl::compileUtilityScripts):
368         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
369         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
370         (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
371         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
372         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
373         (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
374         (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
375         (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
376         (WebKit::WebDevToolsAgentImpl::inspectorController):
377         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
378         (WebKit::WebDevToolsAgentImpl::willSendRequest):
379         (WebKit::WebDevToolsAgentImpl::didReceiveData):
380         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
381         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
382         (WebKit::WebDevToolsAgentImpl::didFailLoading):
383         (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector):
384         (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled):
385         (WebKit::WebDevToolsAgent::create):
386         (WebKit::WebDevToolsAgent::executeDebuggerCommand):
387         (WebKit::WebDevToolsAgent::debuggerPauseScript):
388         (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler):
389         (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
390         * src/WebDevToolsAgentImpl.h: Added.
391         (WebKit::WebDevToolsAgentImpl::hostId):
392         * src/WebDevToolsFrontendImpl.cpp: Added.
393         (WebKit::ToV8String):
394         (WebKit::WebDevToolsFrontend::create):
395         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
396         (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
397         (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent):
398         (WebKit::WebDevToolsFrontendImpl::executeScript):
399         (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector):
400         (WebKit::WebDevToolsFrontendImpl::sendRpcMessage):
401         (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected):
402         (WebKit::WebDevToolsFrontendImpl::contextMenuCleared):
403         (WebKit::WebDevToolsFrontendImpl::jsLoaded):
404         (WebKit::WebDevToolsFrontendImpl::jsPlatform):
405         (WebKit::WebDevToolsFrontendImpl::jsPort):
406         (WebKit::WebDevToolsFrontendImpl::jsCopyText):
407         (WebKit::WebDevToolsFrontendImpl::jsActivateWindow):
408         (WebKit::WebDevToolsFrontendImpl::jsCloseWindow):
409         (WebKit::WebDevToolsFrontendImpl::jsDockWindow):
410         (WebKit::WebDevToolsFrontendImpl::jsUndockWindow):
411         (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL):
412         (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels):
413         (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand):
414         (WebKit::WebDevToolsFrontendImpl::jsSetting):
415         (WebKit::WebDevToolsFrontendImpl::jsSetSetting):
416         (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript):
417         (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading):
418         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
419         * src/WebDevToolsFrontendImpl.h: Added.
420         (WebKit::WebDevToolsFrontendImpl::MenuProvider::create):
421         (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider):
422         (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect):
423         (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu):
424         (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected):
425         (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared):
426         (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider):
427
428 2010-02-01  Jeremy Orlow  <jorlow@chromium.org>
429
430         Reviewed by Darin Fisher.
431
432         [Chromium] Add WebSecurityOrigin::createFromString factory
433         https://bugs.webkit.org/show_bug.cgi?id=34460
434
435         * public/WebSecurityOrigin.h:
436         * src/WebSecurityOrigin.cpp:
437         (WebKit::WebSecurityOrigin::createFromString):
438
439 2010-02-02  Kent Tamura  <tkent@chromium.org>
440
441         Reviewed by Darin Fisher.
442
443         [Chromium] Should not select a word on right-click.
444         https://bugs.webkit.org/show_bug.cgi?id=33364
445
446         For non-Mac platforms, do not select a word around the caret when
447         a context menu is opening. This behavior is not common in non-Mac
448         platforms, and it prevents pasting with a context menu.
449
450         In order that the spell checker works without the selection, we
451         introduce WebFrame::selectWordAroundCaret(). We can replace a word
452         around the caret with selectWordAroundCaret() + replaceSelection().
453
454         * public/WebFrame.h: Add pure selectWordAroundCaret() declaration.
455         * src/ContextMenuClientImpl.cpp:
456         (WebKit::selectMisspelledWord): Move word-selection code to
457         WebFrameImpl::selectWordAroundPosition(), and clear the selection
458         on non-Mac.
459         * src/WebFrameImpl.cpp:
460         (WebKit::WebFrameImpl::selectWordAroundPosition):
461         (WebKit::WebFrameImpl::selectWordAroundCaret):
462         * src/WebFrameImpl.h: Add selectWordAroundCaret() declaration.
463
464 2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
465
466         Unreviewed attempt to fix the broken build.
467
468         This was introduced in http://trac.webkit.org/changeset/54182
469
470         * src/WebViewImpl.cpp:
471         (WebKit::WebViewImpl::performMediaPlayerAction):
472
473 2010-01-27  Matt Perry  <mpcomplete@chromium.org>
474
475         Reviewed by Eric Seidel.
476
477         Add support for addUserScript to chromium port.
478
479         * public/WebView.h:
480         * src/WebViewImpl.cpp:
481         (WebKit::WebViewImpl::addUserScript):
482         (WebKit::WebViewImpl::removeAllUserContent):
483         * src/WebViewImpl.h:
484
485 2010-01-29  Philippe Normand  <pnormand@igalia.com>
486
487         Reviewed by Eric Carlson.
488
489         [GTK] set playbin mute property depending on volume value
490         https://bugs.webkit.org/show_bug.cgi?id=31586
491
492         New API in MediaPlayer for mute control
493
494         * public/WebMediaPlayerClient.h:
495         * src/WebMediaPlayerClientImpl.cpp:
496         (WebKit::WebMediaPlayerClientImpl::volumeChanged):
497         (WebKit::WebMediaPlayerClientImpl::muteChanged):
498         * src/WebMediaPlayerClientImpl.h:
499
500 2010-01-31  Kent Tamura  <tkent@chromium.org>
501
502         Reviewed by Jeremy Orlow.
503
504         [Chromium] Fix a bug that a selected word is not recognized as a
505         spell-check source.
506         https://bugs.webkit.org/show_bug.cgi?id=33660
507
508         * src/ContextMenuClientImpl.cpp:
509         (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check
510         the return value of textBreakNext().
511
512 2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
513
514         Reviewed by Eric Seidel.
515
516         [Chromium] Clean up WebStorageArea
517         https://bugs.webkit.org/show_bug.cgi?id=34353
518
519         Get rid of legacy glue code and fix a typo.
520
521         * public/WebStorageArea.h:
522
523 2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
524
525         Reviewed by Dimitri Glazkov.
526
527         A first step towards the Indexed Database API
528         https://bugs.webkit.org/show_bug.cgi?id=34342
529
530         Add runtime enable support for Indexed Database API.
531
532         * features.gypi:
533         * public/WebRuntimeFeatures.h:
534         * src/WebRuntimeFeatures.cpp:
535         (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
536         (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
537
538 2010-01-29  Yury Semikhatsky  <yurys@chromium.org>
539
540         Reviewed by Pavel Feldman.
541
542         Add API methods for loading inspector utility scripts.
543
544         https://bugs.webkit.org/show_bug.cgi?id=34326
545
546         * public/WebDevToolsAgentClient.h:
547         (WebKit::WebDevToolsAgentClient::injectedScriptSource):
548         (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource):
549
550 2010-01-29  Darin Fisher  <darin@chromium.org>
551
552         Reviewed by Adam Barth.
553
554         Add FrameLoaderClient::allowImages method to allow the client to
555         overrule image loading policy on a per frame basis.
556
557         https://bugs.webkit.org/show_bug.cgi?id=34225
558
559         * public/WebFrameClient.h:
560         (WebKit::WebFrameClient::allowImages):
561         * public/WebSettings.h:
562         * src/FrameLoaderClientImpl.cpp:
563         (WebKit::FrameLoaderClientImpl::allowImages):
564         * src/FrameLoaderClientImpl.h:
565         * src/WebSettingsImpl.cpp:
566         (WebKit::WebSettingsImpl::setImagesEnabled):
567         * src/WebSettingsImpl.h:
568
569 2010-01-28  Jeremy Orlow  <jorlow@chromium.org>
570
571         Reviewed by Darin Fisher.
572
573         StorageNamespaceProxy::copy() should be a no-op
574         https://bugs.webkit.org/show_bug.cgi?id=34298
575
576         The comment in the code should make clear why.
577
578         * public/WebViewClient.h:
579         * src/StorageNamespaceProxy.cpp:
580         (WebCore::StorageNamespaceProxy::copy):
581
582 2010-01-28  Michael Nordman  <michaeln@google.com>
583
584         Reviewed by Alexey Proskuryakov.
585
586         ApplicationCache events should be deferred until after Document onload has fired.
587         https://bugs.webkit.org/show_bug.cgi?id=29690
588
589         * src/ApplicationCacheHost.cpp:
590         (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
591         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
592         (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
593
594 2010-01-27  Aaron Boodman  <aa@chromium.org>
595
596         Reviewed by Darin Adler.
597
598         Send full URL and application id of requesting context to Chromium
599         when checking notification permissions.
600
601         https://bugs.webkit.org/show_bug.cgi?id=34238
602
603         * public/WebDocument.h:
604         * src/WebDocument.cpp:
605         (WebKit::WebDocument::applicationID):
606         Implement applicationID() method.
607
608         * public/WebNotificationPresenter.h:
609         * src/NotificationPresenterImpl.cpp:
610         (WebKit::NotificationPresenterImpl::checkPermission):
611         * src/NotificationPresenterImpl.h:
612         Send applicationID and full URL through to Chromium.
613
614 2010-01-27  Darin Fisher  <darin@chromium.org>
615
616         Reviewed by Pavel Feldman.
617
618         Expose HistoryItem::documentSequenceNumber
619         https://bugs.webkit.org/show_bug.cgi?id=34243
620
621         * public/WebHistoryItem.h:
622         * src/WebHistoryItem.cpp:
623         (WebKit::WebHistoryItem::documentSequenceNumber):
624         (WebKit::WebHistoryItem::setDocumentSequenceNumber):
625
626 2010-01-26  Darin Fisher  <darin@chromium.org>
627
628         Reviewed by David Levin.
629
630         Add methods to support running a nested modal loop outside of WebKit.
631         https://bugs.webkit.org/show_bug.cgi?id=34199
632
633         * public/WebView.h:
634         * src/WebViewImpl.cpp:
635         (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer
636         (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer
637
638 2010-01-27  Darin Fisher  <darin@chromium.org>
639
640         Reviewed by Dimitri Glazkov.
641
642         Adding missing WebMutationEvent.cpp file to fix build bustage. 
643         https://bugs.webkit.org/show_bug.cgi?id=33882
644
645         * public/WebMutationEvent.h: Remove unnecessary constructor.
646         * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h.
647         * src/WebMutationEvent.cpp: Added.
648
649 2010-01-27  Jay Campan  <jcampan@google.com>
650
651         Reviewed by Darin Fisher.
652
653         Adding EventListeners to the chromium API.
654
655         https://bugs.webkit.org/show_bug.cgi?id=33882
656
657         * WebKit.gyp:
658         * public/WebEvent.h: Added.
659         * public/WebEventListener.h: Added.
660         * public/WebMutationEvent.h: Added.
661         * public/WebNode.h:
662         * public/WebString.h:
663         (WebKit::operator==):
664         (WebKit::operator!=):
665         * src/EventListenerWrapper.cpp: Added.
666         * src/EventListenerWrapper.h: Added.
667         * src/WebEvent.cpp: Added.
668         * src/WebEventListener.cpp: Added.
669         * src/WebEventListenerPrivate.cpp: Added.
670         * src/WebEventListenerPrivate.h: Added.
671         * src/WebNode.cpp:
672         (WebKit::WebNode::addEventListener):
673         (WebKit::WebNode::removeEventListener):
674         * src/WebString.cpp:
675         (WebKit::WebString::equals):
676
677 2010-01-26  Yaar Schnitman  <yaar@chromium.org>
678
679         Reviewed by Darin Fisher.
680
681         Add KeyboardTest to WebKit API tests
682         https://bugs.webkit.org/show_bug.cgi?id=34178
683
684         * WebKit.gyp:
685         * tests/KeyboardTest.cpp: Added.
686
687 2010-01-22  Jeremy Orlow  <jorlow@chromium.org>
688
689         Reviewed by Darin Adler.
690
691         Make storage events match the spec.
692         https://bugs.webkit.org/show_bug.cgi?id=30546
693
694         Update the storageEvent algorithm to match the change in WebCore.
695
696         * src/StorageAreaProxy.cpp:
697         (WebCore::StorageAreaProxy::storageEvent):
698
699 2010-01-22  Elliot Glaysher  <erg@chromium.org>
700
701         Reviewed by David Levin.
702
703         Chromium: theme selection colors to match gtk theme
704         Add functions to RenderThemeChromiumLinux to change the selection color
705         according to the current GTK+ theme.
706
707         Since the change is to the Chromium WebKit API layer, testing is done
708         in Chromium's test shell (see Chromium side of this patch:
709         http://codereview.chromium.org/554004)
710
711         https://bugs.webkit.org/show_bug.cgi?id=33921
712
713         * public/WebView.h: Adds interface to change the selection colors
714         * src/WebViewImpl.cpp:
715         (WebKit::WebViewImpl::setSelectionColors): Implements new interface.
716         * src/WebViewImpl.h:
717
718 2010-01-22  Steve VanDeBogart  <vandebo@chromium.org>
719
720         Reviewed by David Levin.
721
722         Middle clicking the main scroll bars should not trigger a paste event
723         in Linux chromium.
724         https://bugs.webkit.org/show_bug.cgi?id=33062
725
726         * src/WebViewImpl.cpp:
727         (WebKit::WebViewImpl::mouseUp):
728
729 2010-01-22  Albert J. Wong  <ajwong@chromium.org>
730
731         Not reviewed.  backout.
732
733         Backout r53705.
734         Causes ui_tests to timeout, and browser_tests to fail with
735         TestConnectToBadPort and WindowOpenInvalidExtension.
736
737         * src/FrameLoaderClientImpl.cpp:
738         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
739         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
740         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
741         * src/WebViewImpl.cpp:
742         (WebKit::WebViewImpl::WebViewImpl):
743         * src/WebViewImpl.h:
744
745 2010-01-22  Peter Kasting  <pkasting@google.com>
746
747         Not reviewed, backout.
748
749         Back out r52673, which caused several regressions.
750         https://bugs.webkit.org/show_bug.cgi?id=32533
751
752         * src/AutocompletePopupMenuClient.cpp:
753         (WebKit::AutocompletePopupMenuClient::initialize):
754         (WebKit::AutocompletePopupMenuClient::popupDidHide):
755         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
756         * src/AutocompletePopupMenuClient.h:
757
758 2010-01-21  Jeremy Orlow  <jorlow@chromium.org>
759
760         Reviewed by Darin Fisher.
761
762         The Chromium WebKit API needs to expose storage event related data
763         https://bugs.webkit.org/show_bug.cgi?id=33985
764
765         setItem and removeItem on WebStorageArea need to expose what the previous
766         value was for the key being modified.  Clear needs to return whether it
767         actually cleared anything.
768
769         * public/WebStorageArea.h:
770         (WebKit::WebStorageArea::setItem):
771         (WebKit::WebStorageArea::removeItem):
772         (WebKit::WebStorageArea::clear):
773         * src/StorageAreaProxy.cpp:
774         (WebCore::StorageAreaProxy::StorageAreaProxy):
775         (WebCore::StorageAreaProxy::setItem):
776         (WebCore::StorageAreaProxy::removeItem):
777         (WebCore::StorageAreaProxy::clear):
778         (WebCore::StorageAreaProxy::storageEvent):
779         * src/StorageAreaProxy.h:
780         * src/StorageNamespaceProxy.cpp:
781         (WebCore::StorageNamespace::localStorageNamespace):
782         (WebCore::StorageNamespace::sessionStorageNamespace):
783         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
784         (WebCore::StorageNamespaceProxy::copy):
785         (WebCore::StorageNamespaceProxy::storageArea):
786         * src/StorageNamespaceProxy.h:
787         * src/WebStorageAreaImpl.cpp:
788         (WebKit::WebStorageAreaImpl::setItem):
789         (WebKit::WebStorageAreaImpl::removeItem):
790         (WebKit::WebStorageAreaImpl::clear):
791         * src/WebStorageAreaImpl.h:
792
793 2010-01-21  Darin Fisher  <darin@chromium.org>
794
795         Reviewed by David Levin.
796
797         [Chromium] spurious WebViewClient::didStopLoading if changing
798         location.hash while a subframe is still loading
799
800         https://bugs.webkit.org/show_bug.cgi?id=33884
801
802         This is a refinement of http://trac.webkit.org/changeset/51548
803
804         * src/FrameLoaderClientImpl.cpp:
805         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
806         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
807         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
808         * src/WebViewImpl.cpp:
809         (WebKit::WebViewImpl::WebViewImpl):
810         (WebKit::WebViewImpl::didStartLoading):
811         (WebKit::WebViewImpl::didStopLoading):
812         * src/WebViewImpl.h:
813
814 2010-01-21  Adam Barth  <abarth@webkit.org>
815
816         Unreviewed.  Added a blank line requested by the great an powerful
817         fishd.
818
819         * public/WebFrameClient.h:
820
821 2010-01-21  Adam Barth  <abarth@webkit.org>
822
823         Reviewed by Eric Seidel.
824
825         [chromium] Add allowPlugins callback to allow per-site enabling of plugins
826         https://bugs.webkit.org/show_bug.cgi?id=33974
827
828         Forward the new allowPlugins callback to WebKitClient so that it can
829         make the policy decision.
830
831         * public/WebFrameClient.h:
832         (WebKit::WebFrameClient::allowPlugins):
833         * src/FrameLoaderClientImpl.cpp:
834         (WebKit::FrameLoaderClientImpl::allowJavaScript):
835         (WebKit::FrameLoaderClientImpl::allowPlugins):
836         * src/FrameLoaderClientImpl.h:
837
838 2010-01-21  James Robinson  <jamesr@chromium.org>
839
840         Reviewed by Darin Fisher.
841
842         Bumps the refcount when WebNode::toElement/toConstElement are called.
843         https://bugs.webkit.org/show_bug.cgi?id=33977
844         
845         Ensures that when a wrapper around a WebNode is create via the
846         toElement() or toConstElement() calls that the refcount on the WebNode
847         is increased, by forcing a call to WebNode::assign().  This is needed
848         so that the following code:
849         {
850           WebNode n = someNode();
851           WebElement e = n.toElement<WebElement>();
852         }
853         does not decrease the overall refcount on the Node that someNode()
854         returns.
855
856         This caused crashes in the 'Save page as..' feature.
857
858         * public/WebNode.h:
859         (WebKit::WebNode::toElement):
860         (WebKit::WebNode::toConstElement):
861
862 2010-01-21  Michael Nordman  <michaeln@google.com>
863
864         Reviewed by Darin Fisher.
865
866         Adds WebKit::WebDataSource::applicationCacheHost() to the API.
867         https://bugs.webkit.org/show_bug.cgi?id=33880
868
869         * WebKit.gyp:
870         * public/WebDataSource.h:
871         * src/ApplicationCacheHost.cpp:
872         * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp.
873         (WebCore::ApplicationCacheHostInternal::notifyEventListener):
874         (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
875         * src/WebDataSourceImpl.cpp:
876         (WebKit::WebDataSourceImpl::applicationCacheHost):
877         * src/WebDataSourceImpl.h:
878
879 2010-01-21  Eric Uhrhane  <ericu@chromium.org>
880
881         Reviewed by Dmitry Titov.
882
883         Add changes missing from r53595, without which Chromium has no database.
884
885         https://bugs.webkit.org/show_bug.cgi?id=33966
886
887         No new tests - fixes database layout tests in Chromium.
888
889         * src/WebRuntimeFeatures.cpp:
890         (WebKit::WebRuntimeFeatures::enableDatabase):
891         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
892
893 2010-01-21  Kenneth Russell  <kbr@google.com>
894
895         Reviewed by Oliver Hunt.
896
897         [Chromium] Implement texSubImage2D taking WebGLArray
898         https://bugs.webkit.org/show_bug.cgi?id=33932
899
900         * src/GraphicsContext3D.cpp:
901         (WebCore::GraphicsContext3D::texSubImage2D):
902
903 2010-01-20  Vitaly Repeshko  <vitalyr@chromium.org>
904
905         Reviewed by Pavel Feldman.
906
907         [V8] Support SerializedScriptValue.
908         https://bugs.webkit.org/show_bug.cgi?id=32920
909         http://crbug.com/30620
910
911         Updated uses of SerializedScriptValue:
912         * src/PlatformMessagePortChannel.cpp:
913         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
914         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
915         * src/WebWorkerBase.cpp:
916         (WebKit::WebWorkerBase::postMessageToWorkerObject):
917         * src/WebWorkerClientImpl.cpp:
918         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
919         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
920         * src/WebWorkerImpl.cpp:
921         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
922
923 2010-01-20  Shinichiro Hamaji  <hamaji@chromium.org>
924
925         Reviewed by Darin Fisher.
926
927         [Chromium] computePageRectsForFrame seems to be unnecessary
928         https://bugs.webkit.org/show_bug.cgi?id=33881
929
930         * src/WebFrameImpl.cpp: Stop including FrameChromium.h
931
932 2010-01-19  Jon Honeycutt  <jhoneycutt@apple.com>
933
934         Chromium build fix.
935
936         * public/WebAccessibilityRole.h:
937         (WebKit::):
938         Correct enum names.
939
940         * src/LocalizedStrings.cpp:
941         (WebCore::AXMenuListPopupActionVerb):
942         Stubbed.
943         (WebCore::AXMenuListActionVerb):
944         Stubbed.
945
946 2010-01-19  Jon Honeycutt  <jhoneycutt@apple.com>
947
948         Chromium build fix.
949
950         * public/WebAccessibilityRole.h:
951         (WebKit::):
952
953         * src/AssertMatchingEnums.cpp:
954
955 2010-01-18  Jonathan Dixon  <joth@chromium.org>
956
957         Reviewed by Adam Barth.
958
959         Add support for enabling navigator.geolocation at runtime in the V8 bindings.
960         Adds the [EnabledAtRuntime] modifier to the navigator IDL.
961         https://bugs.webkit.org/show_bug.cgi?id=33467
962
963         * public/WebRuntimeFeatures.h:
964         * src/WebRuntimeFeatures.cpp:
965         (WebKit::WebRuntimeFeatures::enableGeolocation):
966         (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
967
968 2010-01-17  Kent Tamura  <tkent@chromium.org>
969
970         Reviewed by Shinichiro Hamaji.
971
972         [Chromium] Remove an old runFileChooser() method.
973         https://bugs.webkit.org/show_bug.cgi?id=33778
974         
975         Chromium code switched to new runFileChooser() introduced by
976         r53269. The old one is not needed anymore.
977
978         * public/WebViewClient.h:
979         * src/ChromeClientImpl.cpp:
980         (WebKit::ChromeClientImpl::runOpenPanel):
981
982 2010-01-15  Eric Seidel  <eric@webkit.org>
983
984         No review, rolling out r53344.
985         http://trac.webkit.org/changeset/53344
986         https://bugs.webkit.org/show_bug.cgi?id=32920
987
988         Broke the Chromium Mac builder.
989
990         * src/PlatformMessagePortChannel.cpp:
991         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
992         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
993         * src/WebWorkerBase.cpp:
994         (WebKit::WebWorkerBase::postMessageToWorkerObject):
995         * src/WebWorkerClientImpl.cpp:
996         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
997         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
998         * src/WebWorkerImpl.cpp:
999         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
1000
1001 2010-01-15  Vitaly Repeshko  <vitalyr@chromium.org>
1002
1003         Reviewed by David Levin.
1004
1005         [V8] Support SerializedScriptValue.
1006         https://bugs.webkit.org/show_bug.cgi?id=32920
1007         http://crbug.com/30620
1008
1009         Updated uses of SerializedScriptValue:
1010         * src/PlatformMessagePortChannel.cpp:
1011         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
1012         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
1013         * src/WebWorkerBase.cpp:
1014         (WebKit::WebWorkerBase::postMessageToWorkerObject):
1015         * src/WebWorkerClientImpl.cpp:
1016         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
1017         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
1018         * src/WebWorkerImpl.cpp:
1019         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
1020
1021 2010-01-14  Jeremy Orlow  <jorlow@chromium.org>
1022
1023         Reviewed by Oliver Hunt.
1024
1025         [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
1026         https://bugs.webkit.org/show_bug.cgi?id=33704
1027
1028         * src/StorageNamespaceProxy.cpp:
1029         (WebCore::StorageNamespace::localStorageNamespace):
1030         (WebCore::StorageNamespace::sessionStorageNamespace):
1031
1032 2010-01-14  Marcus Bulach  <bulach@chromium.org>
1033
1034         Reviewed by Dimitri Glazkov.
1035
1036         Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
1037         https://bugs.webkit.org/show_bug.cgi?id=33648
1038
1039         * public/WebSecurityOrigin.h:
1040         * src/WebSecurityOrigin.cpp:
1041         (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
1042
1043 2010-01-14  Brian Weinstein  <bweinstein@apple.com>
1044
1045         Reviewed by Adam Roben.
1046
1047         Drag and Drop source/destination code needs cleanup.
1048         <https://bugs.webkit.org/show_bug.cgi?id=33691>.
1049         
1050         Update to new way of calling sourceOperation.
1051
1052         * src/DragClientImpl.cpp:
1053         (WebKit::DragClientImpl::startDrag):
1054
1055 2010-01-14  Nate Chapin  <japhet@chromium.org>
1056
1057         Reviewed by Dimitri Glazkov.
1058
1059         Remove references to V8DOMWrapper::convertToNative*().
1060
1061         https://bugs.webkit.org/show_bug.cgi?id=33677
1062
1063         * src/WebBindings.cpp:
1064         (WebKit::getDragDataImpl):
1065         (WebKit::getRangeImpl):
1066
1067 2010-01-14  Kent Tamura  <tkent@chromium.org>
1068
1069         Reviewed by Darin Fisher.
1070
1071         Introduce WebFileChooserParams to convey parameters for
1072         WebViewClient::runFileChooser(), and add new parameters to it.
1073         https://bugs.webkit.org/show_bug.cgi?id=32473
1074
1075         The new parameters are
1076          - selected file names
1077          - "accept" attribute value
1078
1079         * WebKit.gyp: Add WebFileChooserParams.h
1080         * public/WebFileChooserParams.h: Added.
1081         * public/WebViewClient.h:
1082         (WebKit::WebViewClient::runFileChooser):
1083           Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated.
1084         * src/ChromeClientImpl.cpp:
1085         (WebKit::ChromeClientImpl::runOpenPanel):
1086           Call the new runFileChooser() first, then call the old
1087           runFileChooser() if the new one failed.
1088
1089 2010-01-13  Kenneth Russell  <kbr@google.com>
1090
1091         Reviewed by Oliver Hunt.
1092
1093         Need to implement WebGLContextAttributes
1094         https://bugs.webkit.org/show_bug.cgi?id=31169
1095
1096         Added the WebGLContextAttributes class and custom JavaScript
1097         bindings to accept a native object as the second argument to
1098         getContext("experimental-webgl") per the WebGL specification.
1099         Added GraphicsContext3D::Attributes struct to isolate DOM and
1100         graphics layers. Added getContextAttributes() to
1101         WebGLRenderingContext. Added test case ensuring that context
1102         attributes can be passed down and returned. Tested in Safari and
1103         Chromium. The attributes will be hooked up to the creation of the
1104         OpenGL context in bug 33416.
1105
1106         * src/GraphicsContext3D.cpp:
1107         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1108         (WebCore::GraphicsContext3DInternal::getContextAttributes):
1109         (WebCore::GraphicsContext3D::create):
1110         (WebCore::GraphicsContext3D::GraphicsContext3D):
1111         (WebCore::GraphicsContext3D::getContextAttributes):
1112
1113 2010-01-13  Jon Honeycutt  <jhoneycutt@apple.com>
1114
1115         MSAA: selected, selectable, extended selectable, and multiple
1116         selectable states are not reported
1117
1118         https://bugs.webkit.org/show_bug.cgi?id=33574
1119         <rdar://problem/7536826>
1120
1121         Reviewed by Darin Adler.
1122
1123         * public/WebAccessibilityObject.h:
1124         Update for WebCore::AccessibilityObject function rename.
1125
1126         * src/WebAccessibilityObject.cpp:
1127         (WebKit::WebAccessibilityObject::isMultiSelectable):
1128         Ditto.
1129
1130 2010-01-13  Jeremy Orlow  <jorlow@chromium.org>
1131
1132         Reviewed by Darin Fisher.
1133
1134         [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
1135         https://bugs.webkit.org/show_bug.cgi?id=33492
1136
1137         * public/WebKitClient.h:
1138         * public/WebViewClient.h:
1139         (WebKit::WebViewClient::createSessionStorageNamespace):
1140         * src/StorageNamespaceProxy.cpp:
1141         (WebCore::StorageNamespace::sessionStorageNamespace):
1142
1143 2010-01-13  Jeremy Orlow  <jorlow@chromium.org>
1144
1145         No reviewer.  More or less a build fix.  My 53180 broke some 
1146         stuff on the Chromium port so I'm reverting.
1147
1148         * public/WebKitClient.h:
1149         * public/WebViewClient.h:
1150         * src/StorageNamespaceProxy.cpp:
1151         (WebCore::StorageNamespace::sessionStorageNamespace):
1152
1153 2010-01-11  Jeremy Orlow  <jorlow@chromium.org>
1154
1155         Reviewed by Darin Fisher.
1156
1157         [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
1158         https://bugs.webkit.org/show_bug.cgi?id=33492
1159
1160         * public/WebKitClient.h:
1161         * public/WebViewClient.h:
1162         (WebKit::WebViewClient::getSessionStorageNamespace):
1163         * src/StorageNamespaceProxy.cpp:
1164         (WebCore::StorageNamespace::sessionStorageNamespace):
1165
1166 2010-01-11  Darin Fisher  <darin@chromium.org>
1167
1168         Reviewed by Dimitri Glazkov.
1169
1170         [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once
1171         https://bugs.webkit.org/show_bug.cgi?id=33504
1172
1173         * WebKit.gyp:
1174         * tests/KURLTest.cpp:
1175         (ComponentCase::TEST):
1176         * tests/RunAllTests.cpp: Added.
1177         (main):
1178         * tests/WebKitTest.h: Removed.
1179
1180 2010-01-09  Adam Barth  <abarth@webkit.org>
1181
1182         Reviewed by Darin Adler.
1183
1184         ScriptController::isEnabled needs to be renamed
1185         https://bugs.webkit.org/show_bug.cgi?id=32063
1186
1187         Rename ScriptController::isEnabled to
1188         ScriptController::canExecuteScripts.
1189
1190         * src/WebFrameImpl.cpp:
1191         (WebKit::WebFrameImpl::bindToWindowObject):
1192
1193 2010-01-08  Daniel Bates  <dbates@webkit.org>
1194
1195         Reviewed by Adam Barth.
1196
1197         https://bugs.webkit.org/show_bug.cgi?id=33417
1198
1199         Cleans up style errors exposed by the patch for bug #33198.
1200
1201         No functionality was changed. So, no new tests.
1202
1203         * src/GraphicsContext3D.cpp:
1204
1205 2010-01-08  Darin Fisher  <darin@chromium.org>
1206
1207         Reviewed by Dimitri Glazkov.
1208
1209         [Chromium] Upstream webkit unit tests from the chromium repository
1210         https://bugs.webkit.org/show_bug.cgi?id=33351
1211
1212         This adds one such test (for KURL) and sets up the test framework.
1213
1214         Switch WebKit to build a static library on all platforms.  Add a
1215         webkit_unit_tests executable target that runs the unit tests and also
1216         ensures that we don't have any missing symbols (a function that WebKit
1217         as a shared library used to serve).
1218
1219         Changes chromium_src_dir to ../../WebKit/chromium to match how
1220         WebCore.gyp defines that variable.
1221
1222         * WebKit.gyp:
1223         * public/WebKitClient.h:
1224         (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon.
1225         (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon.
1226         (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon.
1227         (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon.
1228         (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon.
1229         (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon.
1230         * tests: Added.
1231         * tests/KURLTest.cpp: Added.
1232         * tests/WebKitTest.h: Added.
1233
1234 2010-01-07  Mike Belshe  <mbelshe@chromium.org>
1235
1236         Reviewed by Darin Adler.
1237
1238         Fix Spdy casing to match style guide.
1239
1240         https://bugs.webkit.org/show_bug.cgi?id=33326
1241
1242         * public/WebURLResponse.h:
1243         * src/WebURLResponse.cpp:
1244         (WebKit::WebURLResponse::wasFetchedViaSPDY):
1245         (WebKit::WebURLResponse::setWasFetchedViaSPDY):
1246
1247 2010-01-07  Daniel Bates  <dbates@rim.com>
1248
1249         Reviewed by Eric Seidel.
1250
1251         https://bugs.webkit.org/show_bug.cgi?id=32987
1252
1253         Added ENABLE_XHTMLMP flag. Disabled by default.
1254
1255         * features.gypi:
1256
1257 2010-01-07  Adam Barth  <abarth@webkit.org>
1258
1259         No review, rolling out r52847.
1260         http://trac.webkit.org/changeset/52847
1261         https://bugs.webkit.org/show_bug.cgi?id=33232
1262
1263         Might have caused a perf regression.
1264
1265         * src/FrameLoaderClientImpl.cpp:
1266         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1267
1268 2010-01-06  Mike Belshe  <mike@belshe.com>
1269
1270         Add a flag to the ResourceResponse for tracking if a request was
1271         fetched via SPDY.  This is plumbed through so that we can inform
1272         a webpage via JavaScript if it was fecthed via the experimental
1273         SPDY protocol.
1274
1275         https://bugs.webkit.org/show_bug.cgi?id=33186
1276
1277         * public/WebURLResponse.h:
1278         * src/WebURLResponse.cpp:
1279         (WebKit::WebURLResponse::wasFetchedViaSpdy):
1280         (WebKit::WebURLResponse::setWasFetchedViaSpdy):
1281
1282 2010-01-06  Darin Fisher  <darin@chromium.org>
1283
1284         Fix release build bustage.
1285
1286         * src/WebKit.cpp: Need to include Logging.h
1287
1288 2010-01-05  Darin Fisher  <darin@chromium.org>
1289
1290         Reviewed by Adam Barth.
1291
1292         [Chromium] Expose more APIs to eliminate WebCore usage in Chromium.
1293         https://bugs.webkit.org/show_bug.cgi?id=33249
1294
1295         * WebKit.gyp:
1296         * public/WebFrame.h:
1297         * public/WebGlyphCache.h: Added.
1298         * public/WebKit.h:
1299         * src/WebFrameImpl.cpp:
1300         (WebKit::WebFrame::instanceCount):
1301         (WebKit::WebFrameImpl::WebFrameImpl):
1302         (WebKit::WebFrameImpl::~WebFrameImpl):
1303         * src/WebFrameImpl.h:
1304         * src/WebGlyphCache.cpp: Added.
1305         (WebKit::WebGlyphCache::pageCount):
1306         * src/WebKit.cpp:
1307         (WebKit::enableLogChannel):
1308
1309 2010-01-05  Adam Barth  <abarth@webkit.org>
1310
1311         Reviewed by Dimitri Glazkov.
1312
1313         [v8] Move V8DOMWindowShell to ScriptController
1314         https://bugs.webkit.org/show_bug.cgi?id=33232
1315
1316         Update FrameLoaderClientImpl.cpp to call clearForClose on
1317         ScriptController instead of on V8Proxy.
1318
1319         * src/FrameLoaderClientImpl.cpp:
1320         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1321
1322 2010-01-05  Rachel Petterson  <rlp@google.com>
1323
1324         Reviewed by Adam Barth.
1325
1326         Matches the texImage2D and texSubImage2D functions to their
1327         declarations. Elminates uncessary versions of those functions.
1328         https://bugs.webkit.org/show_bug.cgi?id=31562
1329         Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493
1330
1331         * src/GraphicsContext3D.cpp:
1332         (WebCore::GraphicsContext3D::texImage2D):
1333         (WebCore::GraphicsContext3D::texSubImage2D):
1334
1335 2010-01-04  Maciej Stachowiak  <mjs@apple.com>
1336
1337         Reviewed by Darin Fisher.
1338
1339         Reorganize, document and rename OS() platform macros.
1340         https://bugs.webkit.org/show_bug.cgi?id=33198
1341
1342         Adapt to name changes.
1343
1344         * src/ChromiumBridge.cpp:
1345         * src/EditorClientImpl.cpp:
1346         (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
1347         (WebKit::):
1348         (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
1349         * src/FrameLoaderClientImpl.cpp:
1350         (WebKit::FrameLoaderClientImpl::createPlugin):
1351         * src/GraphicsContext3D.cpp:
1352         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1353         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
1354         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
1355         * src/WebFrameImpl.cpp:
1356         (WebKit::WebFrameImpl::selectionAsText):
1357         (WebKit::WebFrameImpl::printPage):
1358         * src/WebPluginContainerImpl.cpp:
1359         (WebKit::WebPluginContainerImpl::handleMouseEvent):
1360         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1361         * src/WebViewImpl.cpp:
1362         (WebKit::WebViewImpl::mouseDown):
1363         (WebKit::WebViewImpl::mouseContextMenu):
1364         (WebKit::WebViewImpl::mouseUp):
1365         (WebKit::WebViewImpl::keyEvent):
1366         (WebKit::WebViewImpl::sendContextMenuEvent):
1367         (WebKit::WebViewImpl::setScrollbarColors):
1368         (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
1369
1370 2010-01-04  Darin Fisher  <darin@chromium.org>
1371
1372         Reviewed by Eric Seidel.
1373
1374         [Chromium] Expose more DOM methods to support LayoutTests
1375         https://bugs.webkit.org/show_bug.cgi?id=33185
1376
1377         * public/WebDocument.h: Adds documentElement method.
1378         * public/WebElement.h: Adds innerText method.
1379         * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById
1380         methods, and fixes a few whitespace issues.
1381         * src/WebDocument.cpp:
1382         (WebKit::WebDocument::documentElement):
1383         * src/WebElement.cpp:
1384         (WebKit::WebElement::innerText):
1385         * src/WebFrameImpl.cpp:
1386         (WebKit::WebFrameImpl::clearName):
1387         (WebKit::WebFrameImpl::renderTreeAsText):
1388         (WebKit::WebFrameImpl::counterValueForElementById):
1389         * src/WebFrameImpl.h:
1390
1391 2010-01-04  Darin Fisher  <darin@chromium.org>
1392
1393         Fix Chromium build bustage.
1394
1395         * src/WebAnimationControllerImpl.h:
1396
1397 2010-01-04  Yaar Schnitman  <yaar@chromium.org>
1398
1399         Reviewed by Darin Fisher.
1400
1401         Adding WebAnimationController to chromium's WebKit API.
1402
1403         https://bugs.webkit.org/show_bug.cgi?id=32870
1404
1405         * WebKit.gyp:
1406         * public/WebAnimationController.h: Added.
1407         (WebKit::WebAnimationController::~WebAnimationController):
1408         * public/WebFrame.h:
1409         * src/WebAnimationControllerImpl.cpp: Added.
1410         (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl):
1411         (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime):
1412         (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime):
1413         (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
1414         * src/WebAnimationControllerImpl.h: Added.
1415         (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl):
1416         * src/WebFrameImpl.cpp:
1417         (WebKit::WebFrameImpl::animationController):
1418         (WebKit::WebFrameImpl::WebFrameImpl):
1419         * src/WebFrameImpl.h:
1420
1421 2010-01-04  Jay Campan  <jcampan@google.com>
1422
1423         Reviewed by Darin Fisher
1424
1425         Adding  more DOM API methods. They are needed for the upcoming
1426         translate feature.
1427
1428         * public/WebElement.h:
1429         * public/WebNode.h:
1430         * src/WebElement.cpp:
1431         (WebKit::WebElement::tagName):
1432         (WebKit::WebElement::setAttribute):
1433         * src/WebNode.cpp:
1434         (WebKit::WebNode::setNodeValue):
1435
1436 2010-01-03  Adam Barth  <abarth@webkit.org>
1437
1438         Reviewed by Eric Seidel.
1439
1440         [Chromium] Implement CookieJarChromium::cookiesEnabled
1441         https://bugs.webkit.org/show_bug.cgi?id=33123
1442
1443         Call out to the webKitClient() to see if cookies are enabled.  Also
1444         remove some straggling references to policyURL!
1445
1446         * public/WebKitClient.h:
1447         (WebKit::WebKitClient::setCookies):
1448         (WebKit::WebKitClient::cookies):
1449         (WebKit::WebKitClient::rawCookies):
1450         (WebKit::WebKitClient::cookiesEnabled):
1451         * src/ChromiumBridge.cpp:
1452         (WebCore::ChromiumBridge::cookiesEnabled):
1453
1454 2010-01-03  Adam Barth  <abarth@webkit.org>
1455
1456         Reviewed by Eric Seidel.
1457
1458         [Chromium] Remove evaluateInNewContext (it's useless)
1459         https://bugs.webkit.org/show_bug.cgi?id=33068
1460
1461         This function has no clients and makes life complicated.  Isolated
1462         worlds won out over NewContext and there's not really any going back
1463         now.
1464
1465         * public/WebFrame.h:
1466         * src/FrameLoaderClientImpl.h:
1467         * src/WebFrameImpl.cpp:
1468         * src/WebFrameImpl.h:
1469
1470 2009-12-30  Darin Fisher  <darin@chromium.org>
1471
1472         Reviewed by David Levin.
1473
1474         [Chromium] Delete ResourceRequest::securityInfo
1475         https://bugs.webkit.org/show_bug.cgi?id=26847
1476
1477         * src/WebWorkerBase.cpp:
1478         (WebKit::WebWorkerBase::initializeLoader):
1479
1480 2009-12-30  Albert J. Wong  <ajwong@chromium.org>
1481
1482         Not reviewed.  Trivial Chromium build fix.
1483
1484         Add static_cast<unsigned>() to fix signed/unsigned comparison warning.
1485
1486         * src/AutocompletePopupMenuClient.cpp:
1487         (WebKit::AutocompletePopupMenuClient::selectionChanged):
1488
1489 2009-12-30  Zelidrag Hornung  <zelidrag@chromium.org>
1490
1491         Reviewed by Dimitri Glazkov.
1492
1493         Autocomplete in Chromium now offers suggestions within the input element as a user
1494         a) types text that produces some autocomplete suggestions, and
1495         b) scrolls through suggested values in the menu
1496         The suggested value is rendered but not exposed through JS unti the
1497         user makes the final selection.
1498
1499         No new tests since this new functionality (autocomplete suggestions)
1500         is intentionally hidden from everything else than renderer.
1501
1502         * src/AutocompletePopupMenuClient.cpp:
1503         (WebKit::AutocompletePopupMenuClient::initialize):
1504         (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue):
1505         (WebKit::AutocompletePopupMenuClient::selectionChanged):
1506         (WebKit::AutocompletePopupMenuClient::popupDidHide):
1507         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
1508         (WebKit::AutocompletePopupMenuClient::resetLastFieldValue):
1509         * src/AutocompletePopupMenuClient.h:
1510
1511
1512 2009-12-28  Kinuko Yasuda  <kinuko@chromium.org>
1513
1514         Reviewed by Maciej Stachowiak.
1515
1516         Fixed isKeypadEvent behavior for chromium/Mac to correctly report
1517         keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events.
1518         https://bugs.webkit.org/show_bug.cgi?id=28247
1519
1520         Test: fast/events/keydown-numpad-keys.html
1521
1522         * src/mac/WebInputEventFactory.mm:
1523         (WebKit::isKeypadEvent):
1524
1525 2009-12-22  Kenneth Russell  <kbr@google.com>
1526
1527         Reviewed by Eric Seidel.
1528
1529         [Chromium] Garbage in transparent regions of images uploaded as textures
1530         https://bugs.webkit.org/show_bug.cgi?id=32888
1531
1532         Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)
1533
1534         * src/GraphicsContext3D.cpp:
1535         (WebCore::GraphicsContext3D::texImage2D):
1536
1537 2009-12-22  Adam Langley  <agl@google.com>
1538
1539         Build fix: not reviewed.
1540
1541         r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the
1542         Chromium build on Windows and Mac due to a misplaced #endif. The
1543         buildbot didn't find the problem because it runs on Linux.
1544
1545         Have verified this patch with the author of the above.
1546
1547         * src/GraphicsContext3D.cpp:
1548
1549 2009-12-22  Kenneth Russell  <kbr@google.com>
1550
1551         Reviewed by Eric Seidel.
1552
1553         [Chromium] WebGL crashes intermittently on Linux
1554         https://bugs.webkit.org/show_bug.cgi?id=32845
1555         
1556         The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a
1557         GraphicsContext3D was created was occasionally causing it to be
1558         re-mapped at a different base address. Since GLEW is not
1559         re-initialized every time, primarily for performance reasons, its
1560         cached function pointers were pointing to garbage. Stopped closing
1561         and re-opening libGL.so.1 each time; now it is loaded lazily, when
1562         the first 3D context is created. Also reused the X display
1563         connection since the GLX routines' correctness might hinge upon it
1564         not resulting in a change of GL implementation.
1565
1566         * src/GraphicsContext3D.cpp:
1567         (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
1568         (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
1569         (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
1570         (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
1571         (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
1572         (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
1573         (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
1574         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
1575         (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad):
1576         (WebCore::GraphicsContext3DInternal::GLConnection::create):
1577         (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
1578         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1579         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
1580         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
1581
1582 2009-12-22  Yaar Schnitman  <yaar@chromium.org>
1583
1584         Reviewed by Darin Fisher.
1585
1586         autoComplete and getElementById methods for WebKit API
1587
1588         https://bugs.webkit.org/show_bug.cgi?id=32866
1589
1590         * public/WebDocument.h:
1591         * public/WebInputElement.h:
1592         * src/WebDocument.cpp:
1593         (WebKit::WebDocument::getElementById):
1594         * src/WebInputElement.cpp:
1595         (WebKit::WebInputElement::autoComplete):
1596
1597 2009-12-18  Kenneth Russell  <kbr@google.com>
1598
1599         Reviewed by Darin Fisher.
1600
1601         [Chromium] Eliminate redundant data copy in GraphicsContext3D readback
1602         https://bugs.webkit.org/show_bug.cgi?id=32763
1603
1604         Eliminated useless creation of a CGBitmapContext and from there a
1605         CGImage. Now create CGImage directly from data. Also changed
1606         readPixels parameters and CGImage alpha info to try to avoid byte
1607         swapping, and disabled interpolation when drawing the GL content.
1608         Some test cases run twice as fast with these changes, though more
1609         work is needed to achieve desired performance.
1610
1611         No test case; performance optimization only. Ran WebGL demos from
1612         Khronos site to verify changes.
1613
1614         * src/GraphicsContext3D.cpp:
1615         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1616         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
1617         (WebCore::GraphicsContext3DInternal::reshape):
1618         (WebCore::GraphicsContext3DInternal::beginPaint):
1619
1620 2009-12-18  Peter Kasting  <pkasting@google.com>
1621
1622         Reviewed by Adam Barth.
1623
1624         Chromium build fix
1625         https://bugs.webkit.org/show_bug.cgi?id=32756
1626
1627         * public/WebAccessibilityRole.h:
1628         (WebKit::):
1629         * src/AssertMatchingEnums.cpp:
1630
1631 2009-12-18  Adam Roben  <aroben@apple.com>
1632
1633         Chromium build fix
1634
1635         * src/ChromiumBridge.cpp:
1636         * src/WebPluginContainerImpl.cpp:
1637         * src/WebViewImpl.cpp:
1638         Added #includes.
1639
1640 2009-12-17  Eric Seidel  <eric@webkit.org>
1641
1642         No review, rolling out r52291.
1643         http://trac.webkit.org/changeset/52291
1644         https://bugs.webkit.org/show_bug.cgi?id=32618
1645
1646         Darin Fisher points out that this will likely break
1647         the SSL security indicator in Chromium.  Rolling out for now.
1648
1649         * src/WebViewImpl.cpp:
1650         (WebKit::WebViewImpl::WebViewImpl):
1651
1652 2009-12-17  Alexander Pavlov  <apavlov@chromium.org>
1653
1654         Reviewed by Eric Seidel.
1655
1656         Disable memory cache client calls so that a new identifier isn't created
1657         for the same resource on reload.
1658
1659         With the calls enabled, duplicate entries for cached resources are created
1660         in the Web Inspector. Safari for Windows disables the calls near the point of the
1661         Frame instance creation, and we just follow this for Chromium.
1662         https://bugs.webkit.org/show_bug.cgi?id=32618
1663
1664         * src/WebViewImpl.cpp:
1665         (WebKit::WebViewImpl::WebViewImpl):
1666
1667 2009-12-17  Yaar Schnitman  <yaar@chromium.org>
1668
1669         Reviewed by Darin Fisher.
1670
1671         Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support
1672         downstream unit-testing of serialization.
1673
1674         WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding.
1675
1676         https://bugs.webkit.org/show_bug.cgi?id=31737
1677
1678         * WebKit.gyp:
1679         * public/WebDocument.h: Added.
1680         (WebKit::WebDocument::WebDocument):
1681         (WebKit::WebDocument::operator=):
1682         (WebKit::WebDocument::assign):
1683         * public/WebElement.h:
1684         * public/WebFormElement.h:
1685         (WebKit::WebFormElement::operator=):
1686         * public/WebFrame.h:
1687         * public/WebNode.h:
1688         (WebKit::WebNode::):
1689         (WebKit::WebNode::toConstElement):
1690         * public/WebNodeCollection.h: Added.
1691         (WebKit::WebNodeCollection::~WebNodeCollection):
1692         (WebKit::WebNodeCollection::WebNodeCollection):
1693         (WebKit::WebNodeCollection::operator=):
1694         * public/WebNodeList.h: Added.
1695         (WebKit::WebNodeList::~WebNodeList):
1696         (WebKit::WebNodeList::WebNodeList):
1697         (WebKit::WebNodeList::operator=):
1698         * public/WebPageSerializer.h: Added.
1699         * public/WebPageSerializerClient.h: Added.
1700         (WebKit::WebPageSerializerClient::):
1701         (WebKit::WebPageSerializerClient::WebPageSerializerClient):
1702         (WebKit::WebPageSerializerClient::~WebPageSerializerClient):
1703         * public/WebString.h:
1704         * public/WebView.h:
1705         * src/AssertMatchingEnums.cpp:
1706         * src/DOMUtilitiesPrivate.cpp:
1707         (WebKit::elementHasLegalLinkAttribute):
1708         * src/DOMUtilitiesPrivate.h:
1709         * src/WebDocument.cpp: Added.
1710         (WebKit::WebDocument::WebDocument):
1711         (WebKit::WebDocument::operator=):
1712         (WebKit::WebDocument::operator WTF::PassRefPtr<Document>):
1713         (WebKit::WebDocument::frame):
1714         (WebKit::WebDocument::isHTMLDocument):
1715         (WebKit::WebDocument::baseURL):
1716         (WebKit::WebDocument::body):
1717         (WebKit::WebDocument::head):
1718         (WebKit::WebDocument::all):
1719         (WebKit::WebDocument::completeURL):
1720         * src/WebElement.cpp:
1721         (WebKit::WebElement::hasTagName):
1722         (WebKit::WebElement::hasAttribute):
1723         (WebKit::WebElement::getAttribute):
1724         * src/WebEntities.cpp: Added.
1725         (WebKit::populateMap):
1726         (WebKit::):
1727         (WebKit::WebEntities::WebEntities):
1728         (WebKit::WebEntities::entityNameByCode):
1729         (WebKit::WebEntities::convertEntitiesInString):
1730         * src/WebEntities.h: Added.
1731         * src/WebFrameImpl.cpp:
1732         (WebKit::WebFrame::fromFrameOwnerElement):
1733         (WebKit::WebFrameImpl::encoding):
1734         (WebKit::WebFrameImpl::document):
1735         (WebKit::WebFrameImpl::fromFrameOwnerElement):
1736         * src/WebFrameImpl.h:
1737         * src/WebNode.cpp:
1738         (WebKit::WebNode::nodeType):
1739         (WebKit::WebNode::nodeValue):
1740         (WebKit::WebNode::document):
1741         (WebKit::WebNode::firstChild):
1742         (WebKit::WebNode::lastChild):
1743         (WebKit::WebNode::previousSibling):
1744         (WebKit::WebNode::nextSibling):
1745         (WebKit::WebNode::hasChildNodes):
1746         (WebKit::WebNode::childNodes):
1747         (WebKit::WebNode::createMarkup):
1748         (WebKit::WebNode::isTextNode):
1749         (WebKit::WebNode::isElementNode):
1750         * src/WebNodeCollection.cpp: Added.
1751         (WebKit::WebNodeCollection::reset):
1752         (WebKit::WebNodeCollection::assign):
1753         (WebKit::WebNodeCollection::WebNodeCollection):
1754         (WebKit::WebNodeCollection::length):
1755         (WebKit::WebNodeCollection::nextItem):
1756         (WebKit::WebNodeCollection::firstItem):
1757         * src/WebNodeList.cpp: Added.
1758         (WebKit::WebNodeList::reset):
1759         (WebKit::WebNodeList::assign):
1760         (WebKit::WebNodeList::WebNodeList):
1761         (WebKit::WebNodeList::length):
1762         (WebKit::WebNodeList::item):
1763         * src/WebPageSerializer.cpp: Added.
1764         (WebKit::WebPageSerializer::serialize):
1765         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
1766         (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration):
1767         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
1768         * src/WebPageSerializerImpl.cpp: Added.
1769         (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
1770         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
1771         (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
1772         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag):
1773         (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
1774         (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
1775         (WebKit::WebPageSerializerImpl::openTagToString):
1776         (WebKit::WebPageSerializerImpl::endTagToString):
1777         (WebKit::WebPageSerializerImpl::buildContentForNode):
1778         (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
1779         (WebKit::WebPageSerializerImpl::collectTargetFrames):
1780         (WebKit::WebPageSerializerImpl::serialize):
1781         * src/WebPageSerializerImpl.h: Added.
1782         * src/WebString.cpp:
1783         (WebKit::WebString::WebString):
1784         (WebKit::WebString::operator=):
1785         * src/WebViewImpl.cpp:
1786
1787 2009-12-17  Yury Semikhatsky  <yurys@chromium.org>
1788
1789         Reviewed by David Levin.
1790
1791         Provide explicit implementation of 'non-template' WebVector<T>::operator=
1792
1793         https://bugs.webkit.org/show_bug.cgi?id=32363
1794
1795         * public/WebVector.h:
1796
1797 2009-12-16  Fumitoshi Ukai  <ukai@chromium.org>
1798
1799         Unreviewed, build fix.
1800
1801         [Chromium] Add EditableTextRole to catch up with
1802         http://trac.webkit.org/changeset/52233
1803
1804         * public/WebAccessibilityRole.h:
1805         (WebKit::): Added WebAccessibilityRoleEditableText
1806         * src/AssertMatchingEnums.cpp: Added matching compile assert.
1807
1808 2009-12-15  Kenneth Russell  <kbr@google.com>
1809
1810         Reviewed by Darin Fisher.
1811
1812         Don't allow default framebuffer to be mutated
1813         https://bugs.webkit.org/show_bug.cgi?id=32391
1814
1815         * src/GraphicsContext3D.cpp:
1816         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1817         (WebCore::GraphicsContext3DInternal::reshape):
1818         (WebCore::GraphicsContext3DInternal::beginPaint):
1819         (WebCore::GraphicsContext3DInternal::bindFramebuffer):
1820         (WebCore::GraphicsContext3D::bindFramebuffer):
1821
1822 2009-12-15  Dimitri Glazkov  <dglazkov@chromium.org>
1823
1824         Unreviewed, build fix.
1825
1826         [Chromium] Add TreeGridRole to catch up with
1827         http://trac.webkit.org/changeset/52159.
1828
1829         * public/WebAccessibilityRole.h:
1830         (WebKit::): Added WebAccessibilityRoleTreeGrid.
1831         * src/AssertMatchingEnums.cpp: Added matching compile assert.
1832
1833 2009-12-15  Jian Li  <jianli@chromium.org>
1834
1835         Reviewed by Dmitry Titov.
1836
1837         Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard.
1838         https://bugs.webkit.org/show_bug.cgi?id=31090
1839
1840         The proposal to whatwg can be found here:
1841         http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html
1842
1843         * public/WebDragData.h:
1844         * src/WebDragData.cpp:
1845         (WebKit::WebDragData::downloadURL):
1846         (WebKit::WebDragData::setDownloadURL):
1847
1848 2009-12-14  Evan Stade  <estade@chromium.org>
1849
1850         Reviewed by Darin Fisher.
1851
1852         https://bugs.webkit.org/show_bug.cgi?id=32347
1853         Chromium: Context menu launched by menu key has funky behavior
1854
1855         Make the context menu's position depend on the selection only when an
1856         editable field has focus. Also, don't send multiple context menu events
1857         for a single keypress.
1858
1859         * src/WebViewImpl.cpp:
1860         (WebKit::WebViewImpl::keyEvent):
1861         (WebKit::WebViewImpl::sendContextMenuEvent):
1862
1863 2009-12-13  Sam Weinig  <sam@webkit.org>
1864
1865         Reviewed by Dan Bernstein.
1866
1867         Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
1868         Add client based Geolocation provider
1869
1870         Add first cut of a client based Geolocation provider. This is guarded by
1871         ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
1872         GeolocationControllerClient interface that no-one currently implements,
1873         but will in a subsequent patch.
1874
1875         * src/WebViewImpl.cpp:
1876         (WebKit::WebViewImpl::WebViewImpl):
1877
1878 2009-12-13  Charles Reis  <creis@chromium.org>
1879
1880         Reviewed by Adam Barth.
1881
1882         Refactor some security code out of V8 bindings
1883         https://bugs.webkit.org/show_bug.cgi?id=32326
1884
1885         * src/WebBindings.cpp:
1886         (WebKit::getDragDataImpl):
1887
1888 2009-12-11  Nate Chapin  <japhet@chromium.org>
1889
1890         Reviewed by Darin Fisher.
1891
1892         Expose shouldHideReferrer() in WebSecurityPolicy.
1893
1894         https://bugs.webkit.org/show_bug.cgi?id=32398
1895
1896         * public/WebSecurityPolicy.h: Add shouldHideReferrer().
1897         * src/WebSecurityPolicy.cpp:
1898         (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added.
1899
1900 2009-12-11  Avi Drissman  <avi@chromium.org>
1901
1902         Reviewed by Darin Fisher.
1903
1904         Tickmarks in the scrollbar are not cleared for non-main frames
1905         https://bugs.webkit.org/show_bug.cgi?id=32385
1906
1907         * src/WebFrameImpl.cpp:
1908         (WebKit::WebFrameImpl::stopFinding):
1909
1910 2009-12-11  Yury Semikhatsky  <yurys@chromium.org>
1911
1912         Reviewed by Pavel Feldman.
1913
1914         Remove obsolete message handling methods from WebDevTools* interfaces
1915
1916         https://bugs.webkit.org/show_bug.cgi?id=32320
1917
1918         * public/WebDevToolsAgent.h:
1919         * public/WebDevToolsAgentClient.h:
1920         * public/WebDevToolsFrontend.h:
1921         * public/WebDevToolsFrontendClient.h:
1922
1923 2009-12-10  Mike Belshe  <mike@belshe.com>
1924
1925         Unreviewed, build fix for chromium.
1926
1927         * src/FrameLoaderClientImpl.cpp:
1928         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
1929
1930 2009-12-10  Kenneth Russell  <kbr@google.com>
1931
1932         Reviewed by Oliver Hunt.
1933
1934         Changed WebGLRenderingContext to synthesize GL errors rather than
1935         raising JavaScript exceptions. Removed internal getError() calls
1936         after each graphics call. The GraphicsContext3D maintains the
1937         synthetic exceptions because only it has complete information
1938         about certain conditions requiring them to be raised.
1939
1940         Based on idea from Ilmari Heikkinen, added create3DDebugContext()
1941         to webgl-test.js and changed the WebGL layout tests expecting
1942         error conditions to use it. Updated expected.txt files, which now
1943         implicitly test the OpenGL error as it is part of the exception's
1944         message.
1945
1946         Added new targeted test covering aspects of synthetic errors as
1947         well as regression tests for bugs uncovered during its development.
1948
1949         Test: fast/canvas/webgl/error-reporting.html
1950
1951         * src/GraphicsContext3D.cpp:
1952         (WebCore::GraphicsContext3DInternal::reshape):
1953         (WebCore::GraphicsContext3DInternal::getError):
1954         (WebCore::GraphicsContext3DInternal::synthesizeGLError):
1955         (WebCore::GraphicsContext3D::getActiveAttrib):
1956         (WebCore::GraphicsContext3D::getActiveUniform):
1957         (WebCore::GraphicsContext3D::getError):
1958         (WebCore::GraphicsContext3D::synthesizeGLError):
1959
1960 2009-12-10  Mike Belshe  <mike@belshe.com>
1961
1962         Reviewed by Darin Fisher.
1963
1964         Fix FrameLoader to use the new ResourceTypes properly.
1965
1966         https://bugs.webkit.org/show_bug.cgi?id=32336
1967
1968         * public/WebURLRequest.h:
1969         (WebKit::WebURLRequest::):
1970         * src/FrameLoaderClientImpl.cpp:
1971         (WebKit::setTargetTypeFromLoader):
1972         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
1973
1974 2009-12-10  Ilya Tikhonovsky <loislo@google.com>
1975
1976         Reviewed by Pavel Feldman.
1977
1978         Chromium: Expose devtools agent API for inspector layout tests.
1979
1980         https://bugs.webkit.org/show_bug.cgi?id=32379
1981
1982         * public/WebDevToolsAgent.h:
1983         (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled):
1984         (WebKit::WebDevToolsAgent::evaluateInWebInspector):
1985
1986 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
1987
1988         Unreviewed, build fix.
1989
1990         Change forward declaration of WebContextMenuData from class to
1991         struct to match its definition. The bug was introduced by
1992         http://trac.webkit.org/changeset/51874
1993
1994         * src/ContextMenuClientImpl.h:
1995
1996 2009-12-09  Darin Fisher  <darin@chromium.org>
1997
1998         Reviewed by Eric Seidel.
1999
2000         https://bugs.webkit.org/show_bug.cgi?id=32324
2001         [Chromium] Suppress WebFrameClient callbacks from a detached frame.
2002
2003         This change means that we no longer need the ClientHandle class.
2004         FrameLoaderClient::detachedFromParent3() is called on each frame
2005         in the frame tree from within frameDetached().
2006
2007         Test: http/tests/loading/gmail-assert-on-load.html
2008
2009         * src/FrameLoaderClientImpl.cpp:
2010         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
2011         * src/WebFrameImpl.cpp:
2012         (WebKit::WebFrameImpl::create):
2013         (WebKit::WebFrameImpl::WebFrameImpl):
2014         (WebKit::WebFrameImpl::createChildFrame):
2015         * src/WebFrameImpl.h:
2016         (WebKit::WebFrameImpl::client):
2017         (WebKit::WebFrameImpl::dropClient):
2018         * src/WebViewImpl.cpp:
2019         (WebKit::WebViewImpl::close):
2020
2021 2009-12-08  Stuart Morgan  <stuartmorgan@chromium.org>
2022
2023         Reviewed by Darin Fisher.
2024
2025         Include clickCount when doing MouseEvent -> WebMouseEvent conversion
2026         in Chromium API.
2027
2028         https://bugs.webkit.org/show_bug.cgi?id=32289
2029
2030         * src/WebInputEventConversion.cpp:
2031         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2032
2033 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
2034
2035         Unreviewed, build fix.
2036
2037         Add return statement to default implementation of hostIdentifier method
2038         introduced in http://trac.webkit.org/changeset/51897
2039
2040         * public/WebDevToolsAgentClient.h:
2041         (WebKit::WebDevToolsAgentClient::hostIdentifier):
2042
2043 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
2044
2045         Reviewed by Pavel Feldman.
2046
2047         Add declaration of static methods that allow to dispatch
2048         DevTools messages on the IO thread and accept WebDevToolsMessageData
2049         argument.
2050
2051         https://bugs.webkit.org/show_bug.cgi?id=32314
2052
2053         * public/WebDevToolsAgent.h:
2054         * public/WebDevToolsAgentClient.h:
2055
2056 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
2057
2058         Reviewed by Pavel Feldman.
2059
2060         Introduce a class for devtools message data
2061
2062         https://bugs.webkit.org/show_bug.cgi?id=32314
2063
2064         * WebKit.gyp:
2065         * public/WebDevToolsAgent.h:
2066         * public/WebDevToolsAgentClient.h:
2067         (WebKit::WebDevToolsAgentClient::sendMessageToFrontend):
2068         (WebKit::WebDevToolsAgentClient::forceRepaint):
2069         (WebKit::WebDevToolsAgentClient::hostIdentifier):
2070         (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged):
2071         * public/WebDevToolsFrontend.h:
2072         * public/WebDevToolsFrontendClient.h:
2073         (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
2074         * public/WebDevToolsMessageData.h: Added.
2075
2076 2009-12-08  Pavel Feldman  <pfeldman@chromium.org>
2077
2078         Reviewed by Darin Fisher.
2079
2080         Chromium: support custom WebCore context menu items in Chromium port.
2081
2082         https://bugs.webkit.org/show_bug.cgi?id=32277
2083
2084         * public/WebContextMenuData.h:
2085         * public/WebPopupMenuInfo.h:
2086         (WebKit::WebPopupMenuInfo::Item::):
2087         * public/WebView.h:
2088         * src/ContextMenuClientImpl.cpp:
2089         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2090         * src/WebViewImpl.cpp:
2091         (WebKit::WebViewImpl::executeCustomContextMenuAction):
2092         * src/WebViewImpl.h:
2093
2094 2009-12-08  Albert J. Wong  <ajwong@chromium.org>
2095
2096         Not reviewed: Chromium build fix.
2097
2098         r51859 changed the case for some of the ResourceRequest::TargetType
2099         enums.
2100
2101         * src/FrameLoaderClientImpl.cpp:
2102         (WebKit::determineTargetTypeFromLoader):
2103
2104 2009-12-07  Zhe Su  <suzhe@chromium.org>
2105
2106         Reviewed by Darin Fisher.
2107
2108         [Chromium] accesskey is not supported on Chromium Mac.
2109         https://bugs.webkit.org/show_bug.cgi?id=32213
2110
2111         This change fixes (partially) the accesskey issue by decoupling the
2112         code for handling accesskeys and system keys. Because on Mac,
2113         the modifiers of accesskeys are ctrl+alt, which are not marked as
2114         system keys.
2115         In order to fully fix this issue, some changes in Chromium code is
2116         also required.
2117
2118         * src/WebViewImpl.cpp:
2119         (WebKit::WebViewImpl::keyEvent):
2120         (WebKit::WebViewImpl::charEvent):
2121
2122 2009-12-07  Evan Martin  <evan@chromium.org>
2123
2124         Reviewed by Eric Seidel.
2125
2126         Chromium: theme scrollbars to match GTK theme.
2127         Add API to set the colors.
2128
2129         Since the change is to the Chromium WebKit API layer, testing will
2130         be in Chromium's test shell.
2131         http://bugs.webkit.org/show_bug.cgi?id=32048
2132
2133         Patch from Markus Gutschke <markus@chromium.org>.
2134
2135         * public/WebView.h:
2136         * src/WebViewImpl.cpp:
2137         (WebKit::WebViewImpl::setScrollbarColors):
2138         * src/WebViewImpl.h:
2139
2140 2009-12-07  Finnur Thorarinsson  <finnur.webkit@gmail.com>
2141
2142         Reviewed by Darin Fisher.
2143
2144         A patch for Chromium to restrict the scope of the Gmail focus fix,
2145         where we set the Selection to 0,0 for content-editable fields and
2146         also make sure we set the selection end-state for find to select the
2147         text found (when not focusing a link we found).
2148         WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248
2149
2150         * src/WebFrameImpl.cpp:
2151         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2152         * src/WebViewImpl.cpp:
2153         (WebKit::WebViewImpl::setFocus):
2154
2155 2009-12-07  Dmitry Titov  <dimich@chromium.org>
2156
2157         Rubber-stamped by Darin Adler.
2158
2159         Remove ENABLE_SHARED_SCRIPT flags
2160         https://bugs.webkit.org/show_bug.cgi?id=32245
2161         This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
2162
2163         * features.gypi:
2164
2165 2009-12-07  Yaar Schnitman  <yaar@chromium.org>
2166
2167         Reviewed by Darin Fisher.
2168
2169         fixes to build-webkit --chromium
2170         https://bugs.webkit.org/show_bug.cgi?id=32179
2171
2172         * DEPS:
2173         * WebKit.gyp:
2174         * gyp_webkit:
2175
2176 2009-12-07  Mikhail Naganov  <mnaganov@chromium.org>
2177
2178         Reviewed by Pavel Feldman.
2179
2180         [Chromium] Add declarations for DevTools message dispatching on IO thread
2181         (see http://codereview.chromium.org/460018)
2182
2183         https://bugs.webkit.org/show_bug.cgi?id=32217
2184
2185         * public/WebDevToolsAgent.h:
2186         * public/WebDevToolsAgentClient.h:
2187
2188 2009-12-04  James Hawkins  <jhawkins@chromium.org>
2189
2190         Reviewed by Darin Fisher.
2191
2192         https://bugs.webkit.org/show_bug.cgi?id=32095
2193         Implement WebRegularExpression, a WebKit API for accessing
2194         WebCore::RegularExpression.
2195
2196         * WebKit.gyp:
2197         * public/WebRegularExpression.h: Added.
2198         * public/WebTextCaseSensitivity.h: Added.
2199         (WebKit::):
2200         * src/AssertMatchingEnums.cpp:
2201         * src/WebRegularExpression.cpp: Added.
2202         (WebKit::WebRegularExpression::WebRegularExpression):
2203         (WebKit::WebRegularExpression::~WebRegularExpression):
2204         (WebKit::WebRegularExpression::match):
2205
2206 2009-12-04  Peter Kasting  <pkasting@google.com>
2207
2208         Reviewed by Darin Fisher.
2209
2210         [Chromium] Simplify zoom-related APIs and add a zoom level getter,
2211         part two: Remove deprecated APIs.
2212         https://bugs.webkit.org/show_bug.cgi?id=31893
2213
2214         * public/WebView.h:
2215         * src/WebViewImpl.cpp:
2216         * src/WebViewImpl.h:
2217
2218 2009-12-03  Jonathan Dixon  <joth@chromium.org>
2219
2220         Reviewed by Dimitri Glazkov.
2221
2222         Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
2223         https://bugs.webkit.org/show_bug.cgi?id=32066
2224
2225         Add the plumbing to map WebSettings through to WebCore::Settings
2226
2227         * features.gypi:
2228         * public/WebSettings.h: Add setGeolocationEnabled API to interface
2229         * src/WebSettingsImpl.cpp:
2230         (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled
2231         * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function
2232
2233 2009-12-03  Brady Eidson  <beidson@apple.com>
2234
2235         Reviewed by Sam Weinig.
2236
2237         <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
2238
2239         * src/FrameLoaderClientImpl.cpp:
2240         (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
2241         (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
2242         (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
2243         * src/FrameLoaderClientImpl.h:
2244
2245 2009-12-03  Pavel Feldman  <pfeldman@chromium.org>
2246
2247         Reviewed by Timothy Hatcher.
2248
2249         Chromium: Add support for settings containing ":"
2250
2251         https://bugs.webkit.org/show_bug.cgi?id=32118
2252
2253         * src/InspectorClientImpl.cpp:
2254         (WebKit::InspectorClientImpl::loadSettings):
2255
2256 2009-12-03  Pavel Feldman  <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
2257
2258         Reviewed by Timothy Hatcher.
2259
2260         Web Inspector: Simplify the settings support in inspector controller.
2261
2262         https://bugs.webkit.org/show_bug.cgi?id=32076
2263
2264         * src/InspectorClientImpl.cpp:
2265         (WebKit::InspectorClientImpl::hiddenPanels):
2266         (WebKit::InspectorClientImpl::populateSetting):
2267         (WebKit::InspectorClientImpl::storeSetting):
2268         (WebKit::InspectorClientImpl::loadSettings):
2269         (WebKit::InspectorClientImpl::saveSettings):
2270         * src/InspectorClientImpl.h:
2271
2272 2009-12-03  Ben Murdoch  <benm@google.com>
2273
2274         Reviewed by Brady Eidson.
2275
2276         [Android] The FrameLoaderClient is unaware of BackForwardList changes.
2277         https://bugs.webkit.org/show_bug.cgi?id=31914
2278
2279         * src/FrameLoaderClientImpl.cpp:
2280         (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
2281         (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto.
2282         (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito.
2283         * src/FrameLoaderClientImpl.h:
2284
2285 2009-12-02  Yusuke Sato  <yusukes@chromium.org>
2286
2287         Reviewed by Eric Seidel.
2288
2289         Sanitize web fonts using the OTS library 
2290         https://bugs.webkit.org/show_bug.cgi?id=31106
2291
2292         * DEPS: Added dependency to the OpenType sanitizer library.
2293         * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1.
2294
2295 2009-12-02  Evan Stade  <estade@chromium.org>
2296
2297         Reviewed by Darin Fisher.
2298
2299         https://bugs.webkit.org/show_bug.cgi?id=32029
2300         Mousewheel event delta has reversed sign on Linux Chrome.
2301
2302         No new tests (layout tests don't cover event conversion code).
2303         Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel
2304
2305         * src/gtk/WebInputEventFactory.cpp:
2306         (WebKit::WebInputEventFactory::mouseWheelEvent):
2307
2308 2009-12-02  Anton Muhin  <antonm@chromium.org>
2309
2310         Reviewed by Adam Barth.
2311
2312         Allow to skip thread checks when accessing DOMDataStore for processes
2313         which run V8 in single thread mode.
2314         https://bugs.webkit.org/show_bug.cgi?id=31877
2315
2316         * src/WebScriptController.cpp:
2317         (WebKit::WebScriptController::enableV8SingleThreadMode):
2318
2319 2009-12-01  Peter Kasting  <pkasting@google.com>
2320
2321         Reviewed by Darin Fisher.
2322
2323         [Chromium] Simplify zoom-related APIs and add a zoom level getter,
2324         part one: Add new APIs.  (Old APIs will be removed in a second pass.)
2325         https://bugs.webkit.org/show_bug.cgi?id=31893
2326
2327         * public/WebView.h:
2328         * src/WebViewImpl.cpp:
2329         (WebKit::WebViewImpl::zoomLevel):
2330         (WebKit::WebViewImpl::setZoomLevel):
2331         * src/WebViewImpl.h:
2332
2333 2009-12-01  Xiyuan Xia  <xiyuan@chromium.org>
2334
2335         Reviewed by Darin Fisher.
2336
2337         Only fire start/stop events when main frame is not loading.
2338
2339         https://bugs.webkit.org/show_bug.cgi?id=31838
2340
2341         * src/FrameLoaderClientImpl.cpp:
2342         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
2343
2344 2009-11-27  Yury Semikhatsky  <yurys@chromium.org>
2345
2346         Reviewed by Pavel Feldman.
2347
2348         Add separate method for pause command to WebDevToolsAgent
2349         and WebDevToolsFrontendClient interfaces so that pause command
2350         can be processed on the IO thread.
2351
2352         https://bugs.webkit.org/show_bug.cgi?id=31934
2353
2354         * public/WebDevToolsAgent.h:
2355         * public/WebDevToolsFrontendClient.h:
2356         (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
2357         (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
2358         (WebKit::WebDevToolsFrontendClient::activateWindow):
2359         (WebKit::WebDevToolsFrontendClient::closeWindow):
2360         (WebKit::WebDevToolsFrontendClient::dockWindow):
2361         (WebKit::WebDevToolsFrontendClient::undockWindow):
2362
2363 2009-11-27  Yury Semikhatsky  <yurys@chromium.org>
2364
2365         Reviewed by Pavel Feldman.
2366
2367         WebCore part of the fix that allows to view plugin
2368         resources loaded by plugins. Methods that for resource
2369         loading notifications are exposed through WebDevToolsAgent
2370         interface to the glue code to allow Chromium's plugin
2371         implementation to notify InspectorController about resource
2372         loading in plugins.
2373
2374         https://bugs.webkit.org/show_bug.cgi?id=31832
2375
2376         * public/WebDevToolsAgent.h:
2377         * public/WebView.h:
2378         * src/WebViewImpl.cpp:
2379         (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
2380         * src/WebViewImpl.h:
2381
2382 2009-11-26  Yury Semikhatsky  <yurys@chromium.org>
2383
2384         Not reviewed. Build fix: revert r51421.
2385
2386         * public/WebDevToolsAgent.h:
2387         * public/WebView.h:
2388         * src/WebViewImpl.cpp:
2389         * src/WebViewImpl.h:
2390
2391 2009-11-25  Dimitri Glazkov  <dglazkov@chromium.org>
2392
2393         Reviewed by David Levin.
2394
2395         [Chromium] Implement canSetValueAttribute in the API.
2396         https://bugs.webkit.org/show_bug.cgi?id=31894
2397
2398         * public/WebAccessibilityObject.h: Added decl.
2399         * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include.
2400         * src/WebAccessibilityObject.cpp:
2401         (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl.
2402
2403 2009-11-25  Dimitri Glazkov  <dglazkov@chromium.org>
2404
2405         Reviewed by Darin Fisher.
2406
2407         [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API.
2408         https://bugs.webkit.org/show_bug.cgi?id=31878
2409
2410         * public/WebSettings.h: Added decl.
2411         * src/WebSettingsImpl.cpp:
2412         (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl.
2413         * src/WebSettingsImpl.h:
2414
2415 2009-11-24  Dmitry Titov  <dimich@chromium.org>
2416
2417         Reviewed by Eric Seidel.
2418
2419         Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
2420         https://bugs.webkit.org/show_bug.cgi?id=31444
2421
2422         * features.gypi:
2423
2424 2009-11-24  Evan Stade  <estade@chromium.org>
2425
2426         Reviewed by David Levin.
2427
2428         Linux Chromium sends too many click events
2429         https://bugs.webkit.org/show_bug.cgi?id=31841
2430
2431         Manually count number of clicks for double/triple click events. This
2432         makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html
2433         Chromium side of this patch is here:
2434         http://codereview.chromium.org/431031/show
2435
2436         * src/gtk/WebInputEventFactory.cpp:
2437         (WebKit::WebInputEventFactory::mouseEvent):
2438
2439 2009-11-24  Darin Fisher  <darin@chromium.org>
2440
2441         Reviewed by Adam Barth.
2442
2443         [Chromium] Renderer hang when using www.expedia.com
2444         https://bugs.webkit.org/show_bug.cgi?id=31822
2445
2446         * src/FrameLoaderClientImpl.cpp:
2447         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
2448         Assign ReturnCacheDataDontLoad cache policy at the last moment
2449         to match Safari.  This way the cache policy does not get stored
2450         in DocumentLoader's originalRequest preventing it from being
2451         inherited by subresource requests.
2452         * src/ResourceHandle.cpp:
2453         (WebCore::ResourceHandle::willLoadFromCache): Remove assignment
2454         of ReturnCacheDataDontLoad cache policy so that it doesn't end
2455         up applying to the DocumentLoader's originalRequest.
2456
2457 2009-11-23  Kenneth Russell  <kbr@google.com>
2458
2459         Reviewed by Oliver Hunt.
2460
2461         Change get... calls to latest spec
2462         https://bugs.webkit.org/show_bug.cgi?id=30091
2463
2464         Removed old versions of get calls on WebGLRenderingContext and
2465         added new ones per spec returning "any". New code simplifies
2466         GraphicsContext3D and fixes previously unimplemented routines.
2467         Added custom JS and V8 bindings. Added exhaustive test case
2468         exercising all new code paths. Updated preexisting test cases for
2469         new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL
2470         implementations.
2471
2472         Ran WebGL layout tests in WebKit (clean) and Chrome (couple of
2473         preexisting known failures) and manual WebGL tests in both
2474         browsers.
2475
2476         Test: fast/canvas/webgl/gl-object-get-calls.html
2477
2478         * src/GraphicsContext3D.cpp:
2479         (WebCore::GraphicsContext3D::createFramebuffer):
2480         (WebCore::GraphicsContext3D::createRenderbuffer):
2481         (WebCore::GraphicsContext3D::deleteFramebuffer):
2482         (WebCore::GraphicsContext3D::deleteRenderbuffer):
2483         (WebCore::GraphicsContext3D::checkFramebufferStatus):
2484         (WebCore::GraphicsContext3D::getBooleanv):
2485         (WebCore::GraphicsContext3D::getBufferParameteriv):
2486         (WebCore::GraphicsContext3D::getFloatv):
2487         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
2488         (WebCore::GraphicsContext3D::getIntegerv):
2489         (WebCore::GraphicsContext3D::getProgramiv):
2490         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
2491         (WebCore::GraphicsContext3D::getShaderiv):
2492         (WebCore::GraphicsContext3D::getTexParameterfv):
2493         (WebCore::GraphicsContext3D::getTexParameteriv):
2494         (WebCore::GraphicsContext3D::getUniformfv):
2495         (WebCore::GraphicsContext3D::getUniformiv):
2496         (WebCore::GraphicsContext3D::getVertexAttribfv):
2497         (WebCore::GraphicsContext3D::getVertexAttribiv):
2498         (WebCore::GraphicsContext3D::isFramebuffer):
2499         (WebCore::GraphicsContext3D::isRenderbuffer):
2500
2501 2009-11-24  Pavel Feldman  <pfeldman@chromium.org>
2502
2503         Reviewed by Darin Fisher.
2504
2505         Chromium: Expose method for reporting user stats
2506         to the host. Also includes drive-by default implementation.
2507
2508         https://bugs.webkit.org/show_bug.cgi?id=31830
2509
2510         * public/WebKitClient.h:
2511
2512 2009-11-24  Adam Barth  <abarth@webkit.org>
2513
2514         Reviewed by Dimitri Glazkov.
2515
2516         [Chromium] Fix DOM storage layout tests
2517         https://bugs.webkit.org/show_bug.cgi?id=31833
2518
2519         The issue is, essentially, that this code assumes that
2520         SecurityOrigin::createString can re-create a SecurityOrigin given
2521         the string produced from SecurityOrigin::toString.  This is a bogus
2522         assumption in a number of corner cases (e.g., document.domain,
2523         @sandbox).  A recent patch (http://trac.webkit.org/changeset/51294)
2524         make this assumption further invalid in the case of of file:// URLs.
2525
2526         The correct fix is for this code to use WebSecurityOrigin objects
2527         (and not strings) to represent SecurityOrigin objects.  However, the
2528         expert on this code is on vacation, and I don't want to do major
2529         surgery here without his involvement.  This patch is a temporary fix
2530         to get these tests passing again.  We'll do the right fix once
2531         jorlow gets back from vacation.
2532
2533         Tests: Covered by a number of existing DOM storage tests.
2534
2535         * src/WebStorageNamespaceImpl.cpp:
2536         (WebKit::WebStorageNamespaceImpl::createStorageArea):
2537
2538 2009-11-23  Jian Li  <jianli@chromium.org>
2539
2540         Reviewed by NOBODY (Chromium build fix).
2541
2542         * src/GraphicsContext3D.cpp:
2543         (WebCore::GraphicsContext3D::createShader):
2544
2545 2009-11-20  Jian Li  <jianli@chromium.org>
2546
2547         Not reviewed. Fix chromium build.
2548
2549         * public/WebAccessibilityRole.h:
2550         (WebKit::):
2551         * src/AssertMatchingEnums.cpp:
2552
2553 2009-11-19  Yaar Schnitman  <yaar@chromium.org>
2554
2555         Reviewed by Darin Fisher.
2556
2557         Make chromium/webkit/glue/FormFieldValues use the WebKit API
2558
2559         https://bugs.webkit.org/show_bug.cgi?id=31650
2560
2561         * public/WebElement.h:
2562         * public/WebFormElement.h:
2563         * public/WebInputElement.h:
2564         (WebKit::WebInputElement::):
2565         * public/WebNode.h:
2566         * src/AssertMatchingEnums.cpp:
2567         * src/DOMUtilitiesPrivate.cpp:
2568         (WebKit::nameOfInputElement):
2569         * src/DOMUtilitiesPrivate.h:
2570         * src/EditorClientImpl.cpp:
2571         (WebKit::EditorClientImpl::autofill):
2572         (WebKit::EditorClientImpl::doAutofill):
2573         * src/WebFormElement.cpp:
2574         (WebKit::WebFormElement::name):
2575         (WebKit::WebFormElement::method):
2576         (WebKit::WebFormElement::getNamedElements):
2577         (WebKit::WebFormElement::getInputElements):
2578         * src/WebInputElement.cpp:
2579         (WebKit::WebInputElement::isEnabledFormControl):
2580         (WebKit::WebInputElement::inputType):
2581         (WebKit::WebInputElement::formControlType):
2582         (WebKit::WebInputElement::value):
2583         (WebKit::WebInputElement::dispatchFormControlChangeEvent):
2584         (WebKit::WebInputElement::setSelectionRange):
2585         (WebKit::WebInputElement::name):
2586         (WebKit::WebInputElement::nameForAutofill):
2587         * src/WebNode.cpp:
2588         (WebKit::WebNode::frame):
2589
2590 2009-11-18  Michelangelo De Simone  <micdesim@gmail.com>
2591
2592         Reviewed by Darin Adler.
2593
2594         Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>.
2595         Support for validationMessage attribute, as per HTML5 specs.
2596
2597         * src/LocalizedStrings.cpp:
2598         (WebCore::validationMessageValueMissingText):
2599         (WebCore::validationMessageTypeMismatchText):
2600         (WebCore::validationMessagePatternMismatchText):
2601         (WebCore::validationMessageTooLongText):
2602         (WebCore::validationMessageRangeUnderflowText):
2603         (WebCore::validationMessageRangeOverflowText):
2604         (WebCore::validationMessageStepMismatchText):
2605
2606 2009-11-18  Nate Chapin  <japhet@chromium.org>
2607
2608         Reviewed by Darin Fisher.
2609
2610         Remove Chromium port's dependency on some dummy pthreads header
2611         files that live in the Chromium repository.
2612
2613         https://bugs.webkit.org/show_bug.cgi?id=31648
2614
2615         * DEPS: Remove reference to chromium svn's webkit/build/ directory.
2616
2617 2009-11-18  Evan Stade  <estade@chromium.org>
2618
2619         Reviewed by Darin Fisher.
2620
2621         Menu button shows wrong content in Chromium
2622         https://bugs.webkit.org/show_bug.cgi?id=31448
2623
2624         Make context menu button (VK_APPS) show context menu for node that has
2625         keyboard focus. This affects both the content and the positioning.
2626
2627         * src/WebViewImpl.cpp:
2628         (WebKit::WebViewImpl::sendContextMenuEvent):
2629
2630 2009-11-17  Darin Fisher  <darin@chromium.org>
2631
2632         Reviewed by Dmitry Titov.
2633
2634         Minor cleanup in WebKit API
2635         https://bugs.webkit.org/show_bug.cgi?id=31616
2636
2637         * public/WebFormElement.h: Add missing WEBKIT_API prefix.
2638         * public/WebNode.h: Add missing WEBKIT_API prefix.
2639         * src/WebFormElement.cpp:
2640         (WebKit::WebFormElement::action): Make action getter const.
2641         * src/WebNode.cpp:
2642         (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame.
2643
2644 2009-11-17  Nicolas Weber  <thakis@chromium.org>
2645
2646         Reviewed by Darin Fisher, Dmitry Titov.
2647
2648         Revert r50887, it regressed handling of cmd-left when a text box is focused.
2649         https://bugs.webkit.org/show_bug.cgi?id=31566
2650
2651         * src/mac/WebInputEventFactory.mm:
2652         (WebKit::WebInputEventFactory::keyboardEvent):
2653
2654 2009-11-16  Kenneth Russell  <kbr@google.com>
2655
2656         Reviewed by Oliver Hunt.
2657
2658         Update API of WebGLArray and friends
2659         https://bugs.webkit.org/show_bug.cgi?id=31175
2660
2661         * src/GraphicsContext3D.cpp:
2662         (WebCore::GraphicsContext3D::bufferData):
2663         (WebCore::GraphicsContext3D::bufferSubData):
2664
2665 2009-11-15  Dimitri Glazkov  <dglazkov@chromium.org>
2666
2667         Unreviewed, build fix.
2668
2669         Correct an error in the previous commit
2670
2671         * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory,
2672           not WebAccessibilityDirectoryRole.
2673
2674 2009-11-15  Dimitri Glazkov  <dglazkov@chromium.org>
2675
2676         Unreviewed, build fix.
2677
2678         Bring WebAccessibilityRole up to sync after
2679         http://trac.webkit.org/changeset/51007.
2680
2681         * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory.
2682         * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and
2683           WebAccessibilityRoleDirectory.
2684
2685 2009-11-13  Dimitri Glazkov  <dglazkov@chromium.org>
2686
2687         Unreviewed, build fix.
2688
2689         [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld
2690         to catch up http://trac.webkit.org/changeset/50973.
2691
2692         * src/FrameLoaderClientImpl.cpp:
2693         (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
2694         * src/FrameLoaderClientImpl.h:
2695
2696 2009-11-13  Yaar Schnitman  <yaar@chromium.org>
2697
2698         Reviewed by Dimitri Glazkov.
2699
2700         Chromium WebKit Port to compile as dynamic lib
2701
2702         https://bugs.webkit.org/show_bug.cgi?id=31478
2703
2704         * WebKit.gyp:
2705
2706 2009-11-13  Aaron Boodman  <aa@chromium.org>
2707
2708         Reviewed by Eric Seidel.
2709
2710         Adds a way to get the document element's scrollHeight,
2711         which is sort of the moral equivalent to
2712         RenderBox::minPrefWidth().
2713
2714         https://bugs.webkit.org/show_bug.cgi?id=31036
2715
2716         * public/WebFrame.h: Declare documentElementScrollHeight()
2717         * src/WebFrameImpl.h: Ditto
2718         * src/WebFrameImpl.cpp: Implement documentElementScrollHeight()
2719         (WebKit::WebFrameImpl::documentElementScrollHeight): Return the
2720         scroll height of the document element, or zero if there's no
2721         documentElement.
2722
2723 2009-11-12  Dumitru Daniliuc  <dumi@chromium.org>
2724
2725         Reviewed by Dimitri Glazkov.
2726
2727         Adding Chromium's DatabaseTracker implementation.
2728
2729         https://bugs.webkit.org/show_bug.cgi?id=31440
2730
2731         * WebKit.gyp:
2732         * src/ChromeClientImpl.cpp:
2733         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
2734         * src/DatabaseObserver.cpp: Added.
2735         (WebCore::DatabaseObserver::databaseOpened):
2736         (WebCore::DatabaseObserver::databaseModified):
2737         (WebCore::DatabaseObserver::databaseClosed):
2738         * src/WebDatabase.cpp:
2739         (WebKit::WebDatabase::name):
2740         (WebKit::WebDatabase::displayName):
2741         (WebKit::WebDatabase::estimatedSize):
2742         (WebKit::WebDatabase::securityOrigin):
2743         (WebKit::WebDatabase::updateDatabaseSize):
2744         * src/WebSecurityOrigin.cpp:
2745         (WebKit::WebSecurityOrigin::toString):
2746         (WebKit::WebSecurityOrigin::databaseIdentifier):
2747
2748 2009-11-13  Yaar Schnitman  <yaar@chromium.org>
2749
2750         Reviewed by Dimitri Glazkov.
2751
2752         Rolling Chromium dependencies to match Chromium revision 31834. 
2753         
2754         https://bugs.webkit.org/show_bug.cgi?id=31445
2755
2756         * DEPS:
2757
2758 2009-11-12  Dumitru Daniliuc  <dumi@chromium.org>
2759
2760         Reviewed by Dimitri Glazkov.
2761
2762         Renaming some parameters passed to DB-related methods to better
2763         indicate their purpose.
2764
2765         https://bugs.webkit.org/show_bug.cgi?id=31449
2766
2767         * public/WebKitClient.h:
2768         * src/ChromiumBridge.cpp:
2769         (WebCore::ChromiumBridge::databaseOpenFile):
2770         (WebCore::ChromiumBridge::databaseDeleteFile):
2771         (WebCore::ChromiumBridge::databaseGetFileAttributes):
2772         (WebCore::ChromiumBridge::databaseGetFileSize):
2773
2774 2009-11-12  Adam Barth  <abarth>
2775
2776         Reviewed by Dimitri Glazkov.
2777
2778         [Chromium] reload-subframe-object.html fails
2779         https://bugs.webkit.org/show_bug.cgi?id=31398
2780
2781         More closely match FrameLoaderClient.mm.  Turns out we don't want to
2782         use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish
2783         between application/octet-stream and lack of knowledge of the MIME
2784         type.
2785
2786         Covered by reload-subframe-object.html.
2787
2788         * src/FrameLoaderClientImpl.cpp:
2789         (WebKit::FrameLoaderClientImpl::objectContentType):
2790
2791 2009-11-12  Nate Chapin  <japhet@chromium.org>
2792
2793         Unreviewed, Chromium build fix.
2794
2795         Add new accessibility enum values to Chromium enums from
2796         http://trac.webkit.org/changeset/50865 and
2797         http://trac.webkit.org/changeset/50883.
2798
2799         https://bugs.webkit.org/show_bug.cgi?id=31424
2800
2801         * public/WebAccessibilityRole.h:
2802         (WebKit::):
2803         * src/AssertMatchingEnums.cpp:
2804
2805 2009-11-12  Nicolas Weber  <thakis@chromium.org>
2806
2807         Reviewed by Dimitri Glazkov.
2808
2809         Send |keypress()| events for keys with cmd down, like safari.
2810         Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a
2811         keypress() event.
2812
2813         * src/mac/WebInputEventFactory.mm:
2814         (WebKit::WebInputEventFactory::keyboardEvent):
2815
2816 2009-11-11  Jeremy Orlow  <jorlow@chromium.org>
2817
2818         Not reviewed.  Build fix.  Will be cleaned up in subsequent patch once we know exaclty what's going on.
2819
2820         * src/WebBindings.cpp:
2821
2822 2009-11-11  Drew Wilson  <atwilson@chromium.org>
2823
2824         Reviewed by Dimitri Glazkov.
2825
2826         SharedWorkerRepository.connect() does not call WebSharedWorkerRepository
2827         https://bugs.webkit.org/show_bug.cgi?id=31371
2828
2829         Test: Unit tests can be enabled downstream when this lands.
2830
2831         * src/SharedWorkerRepository.cpp:
2832         (WebCore::SharedWorkerRepository::connect):
2833         Added missing call to WebSharedWorkerRepository.addSharedWorker().
2834
2835 2009-11-11  Yaar Schnitman  <yaar@chromium.org>
2836
2837         Reviewed by Dimitri Glazkov.
2838
2839         Tiny path fixes in Chromium API includes.
2840
2841         https://bugs.webkit.org/show_bug.cgi?id=31369
2842
2843         * public/linux/WebSandboxSupport.h: Fixed path.
2844         * src/WebBindings.cpp: Fixed path.
2845
2846 2009-11-11  Nate Chapin  <japhet@chromium.org>
2847
2848         Reviewed by Dimitri Glazkov.
2849
2850         http://trac.webkit.org/changeset/50811 removed some methods from
2851         platform/network/SocketStreamHandleClient.h, so remove them
2852         here too.
2853
2854         https://bugs.webkit.org/show_bug.cgi?id=31360
2855
2856         * public/WebSocketStreamHandleClient.h:
2857         * src/SocketStreamHandle.cpp:
2858         (WebCore::SocketStreamHandleInternal::send):
2859
2860 2009-11-11  Nate Chapin  <japhet@chromium.org>
2861
2862         Reviewed by Eric Seidel.
2863
2864         Remove some additional references to dragSourceMovedTo() not
2865         needed after http://trac.webkit.org/changeset/50786.
2866
2867         https://bugs.webkit.org/show_bug.cgi?id=31354
2868
2869         * public/WebView.h:
2870         * src/WebViewImpl.h:
2871
2872 2009-11-11  Nate Chapin  <japhet@chromium.org>
2873
2874         Reviewed by Dimitri Glazkov.
2875
2876         Remove WebViewImpl::dragSourceMovedTo(), as it is no longer
2877         needed after http://trac.webkit.org/changeset/50786.
2878
2879         https://bugs.webkit.org/show_bug.cgi?id=31354
2880
2881         * src/WebViewImpl.cpp:
2882
2883 2009-11-10  Nate Chapin  <japhet@chromium.org>
2884
2885         Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760.
2886
2887         * src/WebFrameImpl.cpp:
2888         (WebKit::WebFrameImpl::paint):
2889
2890 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
2891
2892         Reviewed by Dimitri Glazkov.
2893
2894         Modified WebKit.gyp to build the webkit api.
2895
2896         https://bugs.webkit.org/show_bug.cgi?id=31320
2897
2898         * README: Added.
2899         * WebKit.gyp: Added.
2900         * webkit.gyp: Removed.
2901
2902 2009-11-10  Nate Chapin  <japhet@chromium.org>
2903
2904         Reviewed by Eric Seidel.
2905
2906         Update references to Canvas 3D classes to use the WebGL prefix
2907         introduced in http://trac.webkit.org/changeset/50725.
2908
2909         https://bugs.webkit.org/show_bug.cgi?id=31276
2910
2911         * src/GraphicsContext3D.cpp:
2912         (WebCore::GraphicsContext3DInternal::beginPaint):
2913         (WebCore::GraphicsContext3DInternal::bindBuffer):
2914         (WebCore::GraphicsContext3DInternal::bindTexture):
2915         (WebCore::GraphicsContext3D::beginPaint):
2916         (WebCore::GraphicsContext3D::bindAttribLocation):
2917         (WebCore::GraphicsContext3D::bindBuffer):
2918         (WebCore::GraphicsContext3D::bindTexture):
2919         (WebCore::GraphicsContext3D::bufferData):
2920         (WebCore::GraphicsContext3D::bufferSubData):
2921         (WebCore::GraphicsContext3D::detachShader):
2922         (WebCore::GraphicsContext3D::getActiveAttrib):
2923         (WebCore::GraphicsContext3D::getActiveUniform):
2924         (WebCore::GraphicsContext3D::getAttribLocation):
2925         (WebCore::GraphicsContext3D::getBooleanv):
2926         (WebCore::GraphicsContext3D::getBufferParameteriv):
2927         (WebCore::GraphicsContext3D::getFloatv):
2928         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
2929         (WebCore::GraphicsContext3D::getIntegerv):
2930         (WebCore::GraphicsContext3D::getProgrami):
2931         (WebCore::GraphicsContext3D::getProgramiv):
2932         (WebCore::GraphicsContext3D::getProgramInfoLog):
2933         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
2934         (WebCore::GraphicsContext3D::getShaderi):
2935         (WebCore::GraphicsContext3D::getShaderiv):
2936         (WebCore::GraphicsContext3D::getShaderInfoLog):
2937         (WebCore::GraphicsContext3D::getShaderSource):
2938         (WebCore::GraphicsContext3D::getTexParameterfv):
2939         (WebCore::GraphicsContext3D::getTexParameteriv):
2940         (WebCore::GraphicsContext3D::getUniformf):
2941         (WebCore::GraphicsContext3D::getUniformfv):
2942         (WebCore::GraphicsContext3D::getUniformi):
2943         (WebCore::GraphicsContext3D::getUniformiv):
2944         (WebCore::GraphicsContext3D::getUniformLocation):
2945         (WebCore::GraphicsContext3D::getVertexAttribfv):
2946         (WebCore::GraphicsContext3D::getVertexAttribiv):
2947         (WebCore::GraphicsContext3D::isBuffer):
2948         (WebCore::GraphicsContext3D::isFramebuffer):
2949         (WebCore::GraphicsContext3D::isProgram):
2950         (WebCore::GraphicsContext3D::isRenderbuffer):
2951         (WebCore::GraphicsContext3D::isShader):
2952         (WebCore::GraphicsContext3D::isTexture):
2953         (WebCore::GraphicsContext3D::readPixels):
2954         (WebCore::GraphicsContext3D::shaderSource):
2955         (WebCore::GraphicsContext3D::texImage2D):
2956         (WebCore::GraphicsContext3D::texSubImage2D):
2957
2958 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
2959
2960         Reviewed by Dimitri Glazkov.
2961
2962         Up-streaming Chromium API src files: WebWorker and friends.
2963
2964         https://bugs.webkit.org/show_bug.cgi?id=31276
2965
2966         * src/WebWorkerBase.cpp: Added.
2967         (WebKit::WorkerWebFrameClient::didCreateDataSource):
2968         (WebKit::WorkerWebFrameClient::sharedInstance):
2969         (WebKit::WorkerWebFrameClient::WorkerWebFrameClient):
2970         (WebKit::initializeWebKitStaticValues):
2971         (WebKit::WebWorkerBase::WebWorkerBase):
2972         (WebKit::WebWorkerBase::~WebWorkerBase):
2973         (WebKit::WebWorkerBase::stopWorkerThread):
2974         (WebKit::WebWorkerBase::initializeLoader):
2975         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
2976         (WebKit::WebWorkerBase::invokeTaskMethod):
2977         (WebKit::WebWorkerBase::postMessageToWorkerObject):
2978         (WebKit::WebWorkerBase::postMessageTask):
2979         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
2980         (WebKit::WebWorkerBase::postExceptionTask):
2981         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
2982         (WebKit::WebWorkerBase::postConsoleMessageTask):
2983         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
2984         (WebKit::WebWorkerBase::confirmMessageTask):
2985         (WebKit::WebWorkerBase::reportPendingActivity):
2986         (WebKit::WebWorkerBase::reportPendingActivityTask):
2987         (WebKit::WebWorkerBase::workerContextClosed):
2988         (WebKit::WebWorkerBase::workerContextClosedTask):
2989         (WebKit::WebWorkerBase::workerContextDestroyed):
2990         (WebKit::WebWorkerBase::workerContextDestroyedTask):
2991         (WebKit::WebWorkerBase::postTaskToLoader):
2992         (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
2993         * src/WebWorkerBase.h: Added.
2994         (WebKit::WebWorkerBase::setWorkerThread):
2995         (WebKit::WebWorkerBase::workerThread):
2996         * src/WebWorkerClientImpl.cpp: Added.
2997         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
2998         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
2999         (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
3000         (WebKit::WebWorkerClientImpl::setWebWorker):
3001         (WebKit::WebWorkerClientImpl::startWorkerContext):
3002         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
3003         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
3004         (WebKit::WebWorkerClientImpl::hasPendingActivity):
3005         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
3006         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
3007         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
3008         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
3009         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
3010         (WebKit::WebWorkerClientImpl::reportPendingActivity):
3011         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
3012         (WebKit::WebWorkerClientImpl::workerContextClosed):
3013         (WebKit::WebWorkerClientImpl::startWorkerContextTask):
3014         (WebKit::WebWorkerClientImpl::terminateWorkerContextTask):
3015         (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask):
3016         (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask):
3017         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
3018         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
3019         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
3020         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask):
3021         (WebKit::WebWorkerClientImpl::reportPendingActivityTask):
3022         * src/WebWorkerClientImpl.h: Added.
3023         (WebKit::WebWorkerClientImpl::createWorker):
3024         (WebKit::WebWorkerClientImpl::notificationPresenter):
3025         * src/WebWorkerImpl.cpp: Added.
3026         (WebKit::WebWorker::create):
3027         (WebKit::WebWorkerImpl::WebWorkerImpl):
3028         (WebKit::WebWorkerImpl::~WebWorkerImpl):
3029         (WebKit::WebWorkerImpl::commonClient):
3030         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
3031         (WebKit::WebWorkerImpl::startWorkerContext):
3032         (WebKit::WebWorkerImpl::terminateWorkerContext):
3033         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
3034         (WebKit::WebWorkerImpl::workerObjectDestroyed):
3035         (WebKit::WebWorkerImpl::clientDestroyed):
3036         * src/WebWorkerImpl.h: Added.
3037         (WebKit::WebWorkerImpl::client):
3038
3039 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3040
3041         Reviewed by Dimitri Glazkov.
3042
3043         Up-streaming Chromium API src files: Platform specific files.
3044
3045         https://bugs.webkit.org/show_bug.cgi?id=31276
3046
3047         * src/gtk/WebFontInfo.cpp: Added.
3048         (WebKit::WebFontInfo::familyForChars):
3049         * src/gtk/WebInputEventFactory.cpp: Added.
3050         (WebKit::gdkEventTimeToWebEventTime):
3051         (WebKit::gdkStateToWebEventModifiers):
3052         (WebKit::gdkEventToWindowsKeyCode):
3053         (WebKit::getControlCharacter):
3054         (WebKit::WebInputEventFactory::keyboardEvent):
3055         (WebKit::WebInputEventFactory::mouseEvent):
3056         (WebKit::WebInputEventFactory::mouseWheelEvent):
3057         * src/gtk/WebScreenInfoFactory.cpp: Added.
3058         (WebKit::WebScreenInfoFactory::screenInfo):
3059         * src/linux/WebFontRendering.cpp: Added.
3060         (WebKit::WebFontRendering::setHinting):
3061         (WebKit::WebFontRendering::setAntiAlias):
3062         (WebKit::WebFontRendering::setSubpixelGlyphs):
3063         (WebKit::WebFontRendering::setLCDOrder):
3064         (WebKit::WebFontRendering::setLCDOrientation):
3065         * src/mac/WebInputEventFactory.mm: Added.
3066         (WebKit::isKeyUpEvent):
3067         (WebKit::isKeypadEvent):
3068         (WebKit::windowsKeyCodeForKeyEvent):
3069         (WebKit::textFromEvent):
3070         (WebKit::unmodifiedTextFromEvent):
3071         (WebKit::keyIdentifierForKeyEvent):
3072         (WebKit::modifiersFromEvent):
3073         (WebKit::WebInputEventFactory::keyboardEvent):
3074         (WebKit::WebInputEventFactory::mouseEvent):
3075         (WebKit::WebInputEventFactory::mouseWheelEvent):
3076         * src/mac/WebScreenInfoFactory.mm: Added.
3077         (WebKit::screenForWindow):
3078         (WebKit::toUserSpace):
3079         (WebKit::WebScreenInfoFactory::screenInfo):
3080         * src/win/WebInputEventFactory.cpp: Added.
3081         (WebKit::isKeyPad):
3082         (WebKit::WebInputEventFactory::keyboardEvent):
3083         (WebKit::GetRelativeCursorPos):
3084         (WebKit::WebInputEventFactory::resetLastClickState):
3085         (WebKit::WebInputEventFactory::mouseEvent):
3086         (WebKit::WebInputEventFactory::mouseWheelEvent):
3087         * src/win/WebScreenInfoFactory.cpp: Added.
3088         (WebKit::toWebRect):
3089         (WebKit::WebScreenInfoFactory::screenInfo):
3090         * src/x11/WebScreenInfoFactory.cpp: Added.
3091         (WebKit::WebScreenInfoFactory::screenInfo):
3092
3093 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3094
3095         Reviewed by Eric Seidel.
3096
3097         Up-streaming Chromium API src files: WrapperResourceRequest and Response
3098
3099         https://bugs.webkit.org/show_bug.cgi?id=31276
3100
3101         * src/WrappedResourceRequest.h: Added.
3102         (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
3103         (WebKit::WrappedResourceRequest::WrappedResourceRequest):
3104         (WebKit::WrappedResourceRequest::bind):
3105         (WebKit::WrappedResourceRequest::Handle::dispose):
3106         * src/WrappedResourceResponse.h: Added.
3107         (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
3108         (WebKit::WrappedResourceResponse::WrappedResourceResponse):
3109         (WebKit::WrappedResourceResponse::bind):
3110         (WebKit::WrappedResourceResponse::Handle::dispose):
3111
3112 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3113
3114         Reviewed by Dimitri Glazkov.
3115
3116         Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy
3117
3118         https://bugs.webkit.org/show_bug.cgi?id=31276
3119
3120         * src/SocketStreamHandle.cpp: Added.
3121         (WebCore::SocketStreamHandleInternal::create):
3122         (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal):
3123         (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal):
3124         (WebCore::SocketStreamHandleInternal::connect):
3125         (WebCore::SocketStreamHandleInternal::send):
3126         (WebCore::SocketStreamHandleInternal::close):
3127         (WebCore::SocketStreamHandleInternal::willOpenStream):
3128         (WebCore::SocketStreamHandleInternal::didOpenStream):
3129         (WebCore::SocketStreamHandleInternal::didSendData):
3130         (WebCore::SocketStreamHandleInternal::didReceiveData):
3131         (WebCore::SocketStreamHandleInternal::didClose):
3132         (WebCore::SocketStreamHandleInternal::didFail):
3133         (WebCore::SocketStreamHandle::SocketStreamHandle):
3134         (WebCore::SocketStreamHandle::~SocketStreamHandle):
3135         (WebCore::SocketStreamHandle::platformSend):
3136         (WebCore::SocketStreamHandle::platformClose):
3137         (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
3138         (WebCore::SocketStreamHandle::receivedCredential):
3139         (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
3140         (WebCore::SocketStreamHandle::receivedCancellation):
3141         * src/StorageAreaProxy.cpp: Added.
3142         (WebCore::StorageAreaProxy::StorageAreaProxy):
3143         (WebCore::StorageAreaProxy::~StorageAreaProxy):
3144         (WebCore::StorageAreaProxy::length):
3145         (WebCore::StorageAreaProxy::key):
3146         (WebCore::StorageAreaProxy::getItem):
3147         (WebCore::StorageAreaProxy::setItem):
3148         (WebCore::StorageAreaProxy::removeItem):
3149         (WebCore::StorageAreaProxy::clear):
3150         (WebCore::StorageAreaProxy::contains):
3151         * src/StorageAreaProxy.h: Added.
3152         * src/StorageEventDispatcherChromium.cpp: Added.
3153         (WebCore::StorageEventDispatcher::dispatch):
3154         * src/StorageEventDispatcherImpl.cpp: Added.
3155         (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
3156         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
3157         * src/StorageEventDispatcherImpl.h: Added.
3158         * src/StorageNamespaceProxy.cpp: Added.
3159         (WebCore::StorageNamespace::localStorageNamespace):
3160         (WebCore::StorageNamespace::sessionStorageNamespace):
3161         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
3162         (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy):
3163         (WebCore::StorageNamespaceProxy::copy):
3164         (WebCore::StorageNamespaceProxy::storageArea):
3165         (WebCore::StorageNamespaceProxy::close):
3166         (WebCore::StorageNamespaceProxy::unlock):
3167         * src/StorageNamespaceProxy.h: Added.
3168
3169 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3170
3171         Reviewed by Dimitri Glazkov.
3172
3173         Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository
3174
3175         https://bugs.webkit.org/show_bug.cgi?id=31276
3176
3177         * src/NotificationPresenterImpl.cpp: Added.
3178         (WebKit::VoidCallbackClient::VoidCallbackClient):
3179         (WebKit::VoidCallbackClient::permissionRequestComplete):
3180         (WebKit::NotificationPresenterImpl::initialize):
3181         (WebKit::NotificationPresenterImpl::isInitialized):
3182         (WebKit::NotificationPresenterImpl::show):
3183         (WebKit::NotificationPresenterImpl::cancel):
3184         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
3185         (WebKit::NotificationPresenterImpl::checkPermission):
3186         (WebKit::NotificationPresenterImpl::requestPermission):
3187         * src/NotificationPresenterImpl.h: Added.
3188         (WebKit::NotificationPresenterImpl::NotificationPresenterImpl):
3189         * src/PlatformMessagePortChannel.cpp: Added.
3190         (WebCore::MessagePortChannel::create):
3191         (WebCore::MessagePortChannel::createChannel):
3192         (WebCore::MessagePortChannel::MessagePortChannel):
3193         (WebCore::MessagePortChannel::~MessagePortChannel):
3194         (WebCore::MessagePortChannel::entangleIfOpen):
3195         (WebCore::MessagePortChannel::disentangle):
3196         (WebCore::MessagePortChannel::postMessageToRemote):
3197         (WebCore::MessagePortChannel::tryGetMessageFromRemote):
3198         (WebCore::MessagePortChannel::close):
3199         (WebCore::MessagePortChannel::isConnectedTo):
3200         (WebCore::MessagePortChannel::hasPendingActivity):
3201         (WebCore::MessagePortChannel::locallyEntangledPort):
3202         (WebCore::PlatformMessagePortChannel::create):
3203         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
3204         (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel):
3205         (WebCore::PlatformMessagePortChannel::createChannel):
3206         (WebCore::PlatformMessagePortChannel::messageAvailable):
3207         (WebCore::PlatformMessagePortChannel::entangleIfOpen):
3208         (WebCore::PlatformMessagePortChannel::disentangle):
3209         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
3210         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
3211         (WebCore::PlatformMessagePortChannel::close):
3212         (WebCore::PlatformMessagePortChannel::isConnectedTo):
3213         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
3214         (WebCore::PlatformMessagePortChannel::setEntangledChannel):
3215         (WebCore::PlatformMessagePortChannel::webChannelRelease):
3216         * src/PlatformMessagePortChannel.h: Added.
3217         * src/ResourceHandle.cpp: Added.
3218         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
3219         (WebCore::ResourceHandleInternal::start):
3220         (WebCore::ResourceHandleInternal::cancel):
3221         (WebCore::ResourceHandleInternal::setDefersLoading):
3222         (WebCore::ResourceHandleInternal::allowStoredCredentials):
3223         (WebCore::ResourceHandleInternal::willSendRequest):
3224         (WebCore::ResourceHandleInternal::didSendData):
3225         (WebCore::ResourceHandleInternal::didReceiveResponse):
3226         (WebCore::ResourceHandleInternal::didReceiveData):
3227         (WebCore::ResourceHandleInternal::didFinishLoading):
3228         (WebCore::ResourceHandleInternal::didFail):
3229         (WebCore::ResourceHandle::ResourceHandle):
3230         (WebCore::ResourceHandle::create):
3231         (WebCore::ResourceHandle::request):
3232         (WebCore::ResourceHandle::client):
3233         (WebCore::ResourceHandle::setClient):
3234         (WebCore::ResourceHandle::setDefersLoading):
3235         (WebCore::ResourceHandle::start):
3236         (WebCore::ResourceHandle::clearAuthentication):
3237         (WebCore::ResourceHandle::cancel):
3238         (WebCore::ResourceHandle::~ResourceHandle):
3239         (WebCore::ResourceHandle::bufferedData):
3240         (WebCore::ResourceHandle::loadsBlocked):
3241         (WebCore::ResourceHandle::supportsBufferedData):
3242         (WebCore::ResourceHandle::loadResourceSynchronously):
3243         (WebCore::ResourceHandle::willLoadFromCache):
3244         * src/SharedWorkerRepository.cpp: Added.
3245         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
3246         (WebCore::SharedWorkerScriptLoader::load):
3247         (WebCore::getWebPort):
3248         (WebCore::SharedWorkerScriptLoader::notifyFinished):
3249         (WebCore::SharedWorkerScriptLoader::sendConnect):
3250         (WebCore::SharedWorkerScriptLoader::contextDestroyed):
3251         (WebCore::SharedWorkerScriptLoader::connected):
3252         (WebCore::SharedWorkerRepository::isAvailable):
3253         (WebCore::getId):
3254         (WebCore::SharedWorkerRepository::connect):
3255         (WebCore::SharedWorkerRepository::documentDetached):
3256         (WebCore::SharedWorkerRepository::hasSharedWorkers):
3257
3258 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3259
3260         Reviewed by Dimitri Glazkov.
3261
3262         Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium
3263
3264         https://bugs.webkit.org/show_bug.cgi?id=31276
3265
3266         * src/GraphicsContext3D.cpp: Added.
3267         (WebCore::GraphicsContext3DInternal::):
3268         (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
3269         (WebCore::tryLoad):
3270         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
3271         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
3272         (WebCore::GraphicsContext3DInternal::checkError):
3273         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
3274         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
3275         (WebCore::GraphicsContext3DInternal::platformTexture):
3276         (WebCore::createTextureObject):
3277         (WebCore::GraphicsContext3DInternal::reshape):
3278         (WebCore::GraphicsContext3DInternal::flipVertically):
3279         (WebCore::GraphicsContext3DInternal::beginPaint):
3280         (WebCore::GraphicsContext3DInternal::validateTextureTarget):
3281         (WebCore::GraphicsContext3DInternal::validateTextureParameter):
3282         (WebCore::GraphicsContext3DInternal::activeTexture):
3283         (WebCore::GraphicsContext3DInternal::bindBuffer):
3284         (WebCore::GraphicsContext3DInternal::bindTexture):
3285         (WebCore::GraphicsContext3DInternal::bufferDataImpl):
3286         (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
3287         (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
3288         (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
3289         (WebCore::GraphicsContext3DInternal::viewportImpl):
3290         (WebCore::GraphicsContext3D::create):
3291         (WebCore::GraphicsContext3D::GraphicsContext3D):
3292         (WebCore::GraphicsContext3D::~GraphicsContext3D):
3293         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
3294         (WebCore::GraphicsContext3D::platformTexture):
3295         (WebCore::GraphicsContext3D::checkError):
3296         (WebCore::GraphicsContext3D::makeContextCurrent):
3297         (WebCore::GraphicsContext3D::reshape):
3298         (WebCore::GraphicsContext3D::beginPaint):
3299         (WebCore::GraphicsContext3D::endPaint):
3300         (WebCore::GraphicsContext3D::sizeInBytes):
3301         (WebCore::GraphicsContext3D::createBuffer):
3302         (WebCore::GraphicsContext3D::createFramebuffer):
3303         (WebCore::GraphicsContext3D::createProgram):
3304         (WebCore::GraphicsContext3D::createRenderbuffer):
3305         (WebCore::GraphicsContext3D::createShader):
3306         (WebCore::GraphicsContext3D::createTexture):
3307         (WebCore::GraphicsContext3D::deleteBuffer):
3308         (WebCore::GraphicsContext3D::deleteFramebuffer):
3309         (WebCore::GraphicsContext3D::deleteProgram):
3310         (WebCore::GraphicsContext3D::deleteRenderbuffer):
3311         (WebCore::GraphicsContext3D::deleteShader):
3312         (WebCore::GraphicsContext3D::deleteTexture):
3313         (WebCore::GraphicsContext3D::activeTexture):
3314         (WebCore::GraphicsContext3D::bindAttribLocation):
3315         (WebCore::GraphicsContext3D::bindBuffer):
3316         (WebCore::GraphicsContext3D::bindTexture):
3317         (WebCore::GraphicsContext3D::bufferData):
3318         (WebCore::GraphicsContext3D::bufferSubData):
3319         (WebCore::GraphicsContext3D::checkFramebufferStatus):
3320         (WebCore::GraphicsContext3D::detachShader):
3321         (WebCore::GraphicsContext3D::disableVertexAttribArray):
3322         (WebCore::GraphicsContext3D::drawArrays):
3323         (WebCore::GraphicsContext3D::drawElements):
3324         (WebCore::GraphicsContext3D::enableVertexAttribArray):
3325         (WebCore::GraphicsContext3D::generateMipmap):
3326         (WebCore::GraphicsContext3D::getActiveAttrib):
3327         (WebCore::GraphicsContext3D::getActiveUniform):
3328         (WebCore::GraphicsContext3D::getAttribLocation):
3329         (WebCore::GraphicsContext3D::getBoolean):
3330         (WebCore::GraphicsContext3D::getBooleanv):
3331         (WebCore::GraphicsContext3D::getBufferParameteri):
3332         (WebCore::GraphicsContext3D::getBufferParameteriv):
3333         (WebCore::GraphicsContext3D::getError):
3334         (WebCore::GraphicsContext3D::getFloat):
3335         (WebCore::GraphicsContext3D::getFloatv):
3336         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri):
3337         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
3338         (WebCore::GraphicsContext3D::getInteger):
3339         (WebCore::GraphicsContext3D::getIntegerv):
3340         (WebCore::GraphicsContext3D::getProgrami):
3341         (WebCore::GraphicsContext3D::getProgramiv):
3342         (WebCore::GraphicsContext3D::getProgramInfoLog):
3343         (WebCore::GraphicsContext3D::getRenderbufferParameteri):
3344         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
3345         (WebCore::GraphicsContext3D::getShaderi):
3346         (WebCore::GraphicsContext3D::getShaderiv):
3347         (WebCore::GraphicsContext3D::getShaderInfoLog):
3348         (WebCore::GraphicsContext3D::getShaderSource):
3349         (WebCore::GraphicsContext3D::getString):
3350         (WebCore::GraphicsContext3D::getTexParameterf):
3351         (WebCore::GraphicsContext3D::getTexParameterfv):
3352         (WebCore::GraphicsContext3D::getTexParameteri):
3353         (WebCore::GraphicsContext3D::getTexParameteriv):
3354         (WebCore::GraphicsContext3D::getUniformf):
3355         (WebCore::GraphicsContext3D::getUniformfv):
3356         (WebCore::GraphicsContext3D::getUniformi):
3357         (WebCore::GraphicsContext3D::getUniformiv):
3358         (WebCore::GraphicsContext3D::getUniformLocation):
3359         (WebCore::GraphicsContext3D::getVertexAttribf):
3360         (WebCore::GraphicsContext3D::getVertexAttribfv):
3361         (WebCore::GraphicsContext3D::getVertexAttribi):
3362         (WebCore::GraphicsContext3D::getVertexAttribiv):
3363         (WebCore::GraphicsContext3D::getVertexAttribOffset):
3364         (WebCore::GraphicsContext3D::isBuffer):
3365         (WebCore::GraphicsContext3D::isEnabled):
3366         (WebCore::GraphicsContext3D::isFramebuffer):
3367         (WebCore::GraphicsContext3D::isProgram):
3368         (WebCore::GraphicsContext3D::isRenderbuffer):
3369         (WebCore::GraphicsContext3D::isShader):
3370         (WebCore::GraphicsContext3D::isTexture):
3371         (WebCore::GraphicsContext3D::pixelStorei):
3372         (WebCore::GraphicsContext3D::readPixels):
3373         (WebCore::GraphicsContext3D::releaseShaderCompiler):
3374         (WebCore::GraphicsContext3D::shaderSource):
3375         (WebCore::GraphicsContext3D::texImage2D):
3376         (WebCore::unmultiplyAlpha):
3377         (WebCore::texImage2DHelper):
3378         (WebCore::GraphicsContext3D::texSubImage2D):
3379         (WebCore::GraphicsContext3D::uniform1fv):
3380         (WebCore::GraphicsContext3D::uniform1iv):
3381         (WebCore::GraphicsContext3D::uniform2fv):
3382         (WebCore::GraphicsContext3D::uniform2iv):
3383         (WebCore::GraphicsContext3D::uniform3fv):
3384         (WebCore::GraphicsContext3D::uniform3iv):
3385         (WebCore::GraphicsContext3D::uniform4fv):
3386         (WebCore::GraphicsContext3D::uniform4iv):
3387         (WebCore::GraphicsContext3D::uniformMatrix2fv):
3388         (WebCore::GraphicsContext3D::uniformMatrix3fv):
3389         (WebCore::GraphicsContext3D::uniformMatrix4fv):
3390         (WebCore::GraphicsContext3D::vertexAttrib1fv):
3391         (WebCore::GraphicsContext3D::vertexAttrib2fv):
3392         (WebCore::GraphicsContext3D::vertexAttrib3fv):
3393         (WebCore::GraphicsContext3D::vertexAttrib4fv):
3394         (WebCore::GraphicsContext3D::vertexAttribPointer):
3395         (WebCore::GraphicsContext3D::viewport):
3396         * src/InspectorClientImpl.cpp: Added.
3397         (WebKit::InspectorClientImpl::InspectorClientImpl):
3398         (WebKit::InspectorClientImpl::~InspectorClientImpl):
3399         (WebKit::InspectorClientImpl::inspectorDestroyed):
3400         (WebKit::InspectorClientImpl::createPage):
3401         (WebKit::InspectorClientImpl::showWindow):
3402         (WebKit::InspectorClientImpl::closeWindow):
3403         (WebKit::InspectorClientImpl::windowVisible):
3404         (WebKit::InspectorClientImpl::attachWindow):
3405         (WebKit::InspectorClientImpl::detachWindow):
3406         (WebKit::InspectorClientImpl::setAttachedWindowHeight):
3407         (WebKit::invalidateNodeBoundingRect):
3408         (WebKit::InspectorClientImpl::highlight):
3409         (WebKit::InspectorClientImpl::hideHighlight):
3410         (WebKit::InspectorClientImpl::inspectedURLChanged):
3411         (WebKit::InspectorClientImpl::localizedStringsURL):
3412         (WebKit::InspectorClientImpl::hiddenPanels):
3413         (WebKit::InspectorClientImpl::populateSetting):
3414         (WebKit::InspectorClientImpl::storeSetting):
3415         (WebKit::InspectorClientImpl::removeSetting):
3416         (WebKit::InspectorClientImpl::inspectorWindowObjectCleared):
3417         (WebKit::InspectorClientImpl::loadSettings):
3418         (WebKit::InspectorClientImpl::saveSettings):
3419         * src/InspectorClientImpl.h: Added.
3420         * src/LocalizedStrings.cpp: Added.
3421         (WebCore::query):
3422         (WebCore::searchableIndexIntroduction):
3423         (WebCore::submitButtonDefaultLabel):
3424         (WebCore::inputElementAltText):
3425         (WebCore::resetButtonDefaultLabel):
3426         (WebCore::fileButtonChooseFileLabel):
3427         (WebCore::fileButtonNoFileSelectedLabel):
3428         (WebCore::searchMenuNoRecentSearchesText):
3429         (WebCore::searchMenuRecentSearchesText):
3430         (WebCore::searchMenuClearRecentSearchesText):
3431         (WebCore::AXWebAreaText):
3432         (WebCore::AXLinkText):
3433         (WebCore::AXListMarkerText):
3434         (WebCore::AXImageMapText):
3435         (WebCore::AXHeadingText):
3436         (WebCore::AXDefinitionListTermText):
3437         (WebCore::AXDefinitionListDefinitionText):
3438         (WebCore::AXButtonActionVerb):
3439         (WebCore::AXRadioButtonActionVerb):
3440         (WebCore::AXTextFieldActionVerb):
3441         (WebCore::AXCheckedCheckBoxActionVerb):
3442         (WebCore::AXUncheckedCheckBoxActionVerb):
3443         (WebCore::AXLinkActionVerb):
3444         (WebCore::multipleFileUploadText):
3445         (WebCore::unknownFileSizeText):
3446         (WebCore::keygenMenuHighGradeKeySize):
3447         (WebCore::keygenMenuMediumGradeKeySize):
3448         (WebCore::imageTitle):
3449         (WebCore::contextMenuItemTagOpenLinkInNewWindow):
3450         (WebCore::contextMenuItemTagDownloadLinkToDisk):
3451         (WebCore::contextMenuItemTagCopyLinkToClipboard):
3452         (WebCore::contextMenuItemTagOpenImageInNewWindow):
3453         (WebCore::contextMenuItemTagDownloadImageToDisk):
3454         (WebCore::contextMenuItemTagCopyImageToClipboard):
3455         (WebCore::contextMenuItemTagOpenFrameInNewWindow):
3456         (WebCore::contextMenuItemTagCopy):
3457         (WebCore::contextMenuItemTagGoBack):
3458         (WebCore::contextMenuItemTagGoForward):
3459         (WebCore::contextMenuItemTagStop):
3460         (WebCore::contextMenuItemTagReload):
3461         (WebCore::contextMenuItemTagCut):
3462         (WebCore::contextMenuItemTagPaste):
3463         (WebCore::contextMenuItemTagNoGuessesFound):
3464         (WebCore::contextMenuItemTagIgnoreSpelling):
3465         (WebCore::contextMenuItemTagLearnSpelling):
3466         (WebCore::contextMenuItemTagSearchWeb):
3467         (WebCore::contextMenuItemTagLookUpInDictionary):
3468         (WebCore::contextMenuItemTagOpenLink):
3469         (WebCore::contextMenuItemTagIgnoreGrammar):
3470         (WebCore::contextMenuItemTagSpellingMenu):
3471         (WebCore::contextMenuItemTagCheckSpelling):
3472         (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
3473         (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
3474         (WebCore::contextMenuItemTagFontMenu):
3475         (WebCore::contextMenuItemTagBold):
3476         (WebCore::contextMenuItemTagItalic):
3477         (WebCore::contextMenuItemTagUnderline):
3478         (WebCore::contextMenuItemTagOutline):
3479         (WebCore::contextMenuItemTagWritingDirectionMenu):
3480         (WebCore::contextMenuItemTagTextDirectionMenu):
3481         (WebCore::contextMenuItemTagDefaultDirection):
3482         (WebCore::contextMenuItemTagLeftToRight):
3483         (WebCore::contextMenuItemTagRightToLeft):
3484         (WebCore::contextMenuItemTagInspectElement):
3485         (WebCore::contextMenuItemTagShowSpellingPanel):
3486         (WebCore::mediaElementLiveBroadcastStateText):
3487         (WebCore::mediaElementLoadingStateText):
3488         (WebCore::localizedMediaControlElementString):
3489         (WebCore::localizedMediaControlElementHelpText):
3490         (WebCore::localizedMediaTimeDescription):
3491         * src/MediaPlayerPrivateChromium.cpp: Added.
3492         (WebCore::MediaPlayerPrivate::registerMediaEngine):
3493
3494 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3495
3496         Reviewed by Dimitri Glazkov.
3497
3498         Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl
3499
3500         https://bugs.webkit.org/show_bug.cgi?id=31276
3501
3502         * src/DOMUtilitiesPrivate.cpp: Added.
3503         (WebCore::toHTMLElement):
3504         (WebKit::toHTMLInputElement):
3505         (WebKit::toHTMLLinkElement):
3506         (WebKit::toHTMLMetaElement):
3507         (WebKit::toHTMLOptionElement):
3508         (WebKit::nameOfInputElement):
3509         * src/DOMUtilitiesPrivate.h: Added.
3510         * src/DragClientImpl.cpp: Added.
3511         (WebKit::DragClientImpl::willPerformDragDestinationAction):
3512         (WebKit::DragClientImpl::willPerformDragSourceAction):
3513         (WebKit::DragClientImpl::actionMaskForDrag):
3514         (WebKit::DragClientImpl::dragSourceActionMaskForPoint):
3515         (WebKit::DragClientImpl::startDrag):
3516         (WebKit::DragClientImpl::createDragImageForLink):
3517         (WebKit::DragClientImpl::dragControllerDestroyed):
3518         * src/DragClientImpl.h: Added.
3519         (WebKit::DragClientImpl::DragClientImpl):
3520         * src/EditorClientImpl.cpp: Added.
3521         (WebKit::EditorClientImpl::EditorClientImpl):
3522         (WebKit::EditorClientImpl::~EditorClientImpl):
3523         (WebKit::EditorClientImpl::pageDestroyed):
3524         (WebKit::EditorClientImpl::shouldShowDeleteInterface):
3525         (WebKit::EditorClientImpl::smartInsertDeleteEnabled):
3526         (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
3527         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
3528         (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled):
3529         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
3530         (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
3531         (WebKit::EditorClientImpl::toggleGrammarChecking):
3532         (WebKit::EditorClientImpl::spellCheckerDocumentTag):
3533         (WebKit::EditorClientImpl::isEditable):
3534         (WebKit::EditorClientImpl::shouldBeginEditing):
3535         (WebKit::EditorClientImpl::shouldEndEditing):
3536         (WebKit::EditorClientImpl::shouldInsertNode):
3537         (WebKit::EditorClientImpl::shouldInsertText):
3538         (WebKit::EditorClientImpl::shouldDeleteRange):
3539         (WebKit::EditorClientImpl::shouldChangeSelectedRange):
3540         (WebKit::EditorClientImpl::shouldApplyStyle):
3541         (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete):
3542         (WebKit::EditorClientImpl::didBeginEditing):
3543         (WebKit::EditorClientImpl::respondToChangedSelection):
3544         (WebKit::EditorClientImpl::respondToChangedContents):
3545         (WebKit::EditorClientImpl::didEndEditing):
3546         (WebKit::EditorClientImpl::didWriteSelectionToPasteboard):
3547         (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard):
3548         (WebKit::EditorClientImpl::registerCommandForUndo):
3549         (WebKit::EditorClientImpl::registerCommandForRedo):
3550         (WebKit::EditorClientImpl::clearUndoRedoOperations):
3551         (WebKit::EditorClientImpl::canUndo):
3552         (WebKit::EditorClientImpl::canRedo):
3553         (WebKit::EditorClientImpl::undo):
3554         (WebKit::EditorClientImpl::redo):
3555         (WebKit::):
3556         (WebKit::EditorClientImpl::interpretKeyEvent):
3557         (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
3558         (WebKit::EditorClientImpl::handleKeyboardEvent):
3559         (WebKit::EditorClientImpl::handleInputMethodKeydown):
3560         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
3561         (WebKit::EditorClientImpl::textFieldDidEndEditing):
3562         (WebKit::EditorClientImpl::textDidChangeInTextField):
3563         (WebKit::EditorClientImpl::showFormAutofillForNode):
3564         (WebKit::EditorClientImpl::autofill):
3565         (WebKit::EditorClientImpl::doAutofill):
3566         (WebKit::EditorClientImpl::cancelPendingAutofill):
3567         (WebKit::EditorClientImpl::onAutofillSuggestionAccepted):
3568         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
3569         (WebKit::EditorClientImpl::textWillBeDeletedInTextField):
3570         (WebKit::EditorClientImpl::textDidChangeInTextArea):
3571         (WebKit::EditorClientImpl::ignoreWordInSpellDocument):
3572         (WebKit::EditorClientImpl::learnWord):
3573         (WebKit::EditorClientImpl::checkSpellingOfString):
3574         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
3575         (WebKit::EditorClientImpl::checkGrammarOfString):
3576         (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString):
3577         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
3578         (WebKit::EditorClientImpl::showSpellingUI):
3579         (WebKit::EditorClientImpl::spellingUIIsShowing):
3580         (WebKit::EditorClientImpl::getGuessesForWord):
3581         (WebKit::EditorClientImpl::setInputMethodState):
3582         * src/EditorClientImpl.h: Added.
3583         (WebKit::EditorClientImpl::):
3584         * src/FrameLoaderClientImpl.cpp: Added.
3585         (WebKit::):
3586         (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
3587         (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl):
3588         (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed):
3589         (WebKit::FrameLoaderClientImpl::windowObjectCleared):
3590         (WebKit::FrameLoaderClientImpl::documentElementAvailable):
3591         (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
3592         (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
3593         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
3594         (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation):
3595         (WebKit::FrameLoaderClientImpl::registerForIconNotification):
3596         (WebKit::FrameLoaderClientImpl::didChangeScrollOffset):
3597         (WebKit::FrameLoaderClientImpl::allowJavaScript):
3598         (WebKit::FrameLoaderClientImpl::hasWebView):
3599         (WebKit::FrameLoaderClientImpl::hasFrameView):
3600         (WebKit::FrameLoaderClientImpl::makeDocumentView):
3601         (WebKit::FrameLoaderClientImpl::makeRepresentation):
3602         (WebKit::FrameLoaderClientImpl::forceLayout):
3603         (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML):
3604         (WebKit::FrameLoaderClientImpl::setCopiesOnScroll):
3605         (WebKit::FrameLoaderClientImpl::detachedFromParent2):
3606         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
3607         (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest):
3608         (WebKit::determineTargetTypeFromLoader):
3609         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
3610         (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage):
3611         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge):
3612         (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge):
3613         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse):
3614         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
3615         (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading):
3616         (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading):
3617         (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
3618         (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache):
3619         (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest):
3620         (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents):
3621         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad):
3622         (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect):
3623         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
3624         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
3625         (WebKit::FrameLoaderClientImpl::dispatchWillClose):
3626         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon):
3627         (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad):
3628         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
3629         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
3630         (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad):
3631         (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad):
3632         (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad):
3633         (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
3634         (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
3635         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
3636         (WebKit::FrameLoaderClientImpl::dispatchShow):
3637         (WebKit::shouldTreatAsAttachment):
3638         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
3639         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
3640         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
3641         (WebKit::FrameLoaderClientImpl::cancelPolicyCheck):
3642         (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy):
3643         (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm):
3644         (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource):
3645         (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
3646         (WebKit::FrameLoaderClientImpl::setMainDocumentError):
3647         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
3648         (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
3649         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
3650         (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady):
3651         (WebKit::FrameLoaderClientImpl::startDownload):
3652         (WebKit::FrameLoaderClientImpl::willChangeTitle):
3653         (WebKit::FrameLoaderClientImpl::didChangeTitle):
3654         (WebKit::FrameLoaderClientImpl::committedLoad):
3655         (WebKit::FrameLoaderClientImpl::finishedLoading):
3656         (WebKit::FrameLoaderClientImpl::updateGlobalHistory):
3657         (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks):
3658         (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem):
3659         (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent):
3660         (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
3661         (WebKit::FrameLoaderClientImpl::blockedError):
3662         (WebKit::FrameLoaderClientImpl::cancelledError):
3663         (WebKit::FrameLoaderClientImpl::cannotShowURLError):
3664         (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError):
3665         (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError):
3666         (WebKit::FrameLoaderClientImpl::fileDoesNotExistError):
3667         (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError):
3668         (WebKit::FrameLoaderClientImpl::shouldFallBack):
3669         (WebKit::FrameLoaderClientImpl::canHandleRequest):
3670         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
3671         (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme):
3672         (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme):
3673         (WebKit::FrameLoaderClientImpl::frameLoadCompleted):
3674         (WebKit::FrameLoaderClientImpl::saveViewStateToItem):
3675         (WebKit::FrameLoaderClientImpl::restoreViewState):
3676         (WebKit::FrameLoaderClientImpl::provisionalLoadStarted):
3677         (WebKit::FrameLoaderClientImpl::didFinishLoad):
3678         (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement):
3679         (WebKit::FrameLoaderClientImpl::createDocumentLoader):
3680         (WebKit::FrameLoaderClientImpl::setTitle):
3681         (WebKit::FrameLoaderClientImpl::userAgent):
3682         (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame):
3683         (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame):
3684         (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage):
3685         (WebKit::FrameLoaderClientImpl::canCachePage):
3686         (WebKit::FrameLoaderClientImpl::download):
3687         (WebKit::FrameLoaderClientImpl::createFrame):
3688         (WebKit::FrameLoaderClientImpl::createPlugin):
3689         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
3690         (WebKit::FrameLoaderClientImpl::createJavaAppletWidget):
3691         (WebKit::FrameLoaderClientImpl::objectContentType):
3692         (WebKit::FrameLoaderClientImpl::overrideMediaType):
3693         (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
3694         (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation):
3695         (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
3696         * src/FrameLoaderClientImpl.h: Added.
3697         (WebKit::FrameLoaderClientImpl::webFrame):
3698         (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress):
3699         (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress):
3700
3701 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3702
3703         Reviewed by Dimitri Glazkov.
3704
3705         Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl
3706
3707         https://bugs.webkit.org/show_bug.cgi?id=31276
3708
3709         * src/ChromeClientImpl.cpp: Added.
3710         (WebKit::ChromeClientImpl::ChromeClientImpl):
3711         (WebKit::ChromeClientImpl::~ChromeClientImpl):
3712         (WebKit::ChromeClientImpl::chromeDestroyed):
3713         (WebKit::ChromeClientImpl::setWindowRect):
3714         (WebKit::ChromeClientImpl::windowRect):
3715         (WebKit::ChromeClientImpl::pageRect):
3716         (WebKit::ChromeClientImpl::scaleFactor):
3717         (WebKit::ChromeClientImpl::focus):
3718         (WebKit::ChromeClientImpl::unfocus):
3719         (WebKit::ChromeClientImpl::canTakeFocus):
3720         (WebKit::ChromeClientImpl::takeFocus):
3721         (WebKit::ChromeClientImpl::focusedNodeChanged):
3722         (WebKit::ChromeClientImpl::createWindow):
3723         (WebKit::currentEventShouldCauseBackgroundTab):
3724         (WebKit::ChromeClientImpl::show):
3725         (WebKit::ChromeClientImpl::canRunModal):
3726         (WebKit::ChromeClientImpl::runModal):
3727         (WebKit::ChromeClientImpl::setToolbarsVisible):
3728         (WebKit::ChromeClientImpl::toolbarsVisible):
3729         (WebKit::ChromeClientImpl::setStatusbarVisible):
3730         (WebKit::ChromeClientImpl::statusbarVisible):
3731         (WebKit::ChromeClientImpl::setScrollbarsVisible):
3732         (WebKit::ChromeClientImpl::scrollbarsVisible):
3733         (WebKit::ChromeClientImpl::setMenubarVisible):
3734         (WebKit::ChromeClientImpl::menubarVisible):
3735         (WebKit::ChromeClientImpl::setResizable):
3736         (WebKit::ChromeClientImpl::addMessageToConsole):
3737         (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel):
3738         (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel):
3739         (WebKit::ChromeClientImpl::closeWindowSoon):
3740         (WebKit::ChromeClientImpl::runJavaScriptAlert):
3741         (WebKit::ChromeClientImpl::runJavaScriptConfirm):
3742         (WebKit::ChromeClientImpl::runJavaScriptPrompt):
3743         (WebKit::ChromeClientImpl::setStatusbarText):
3744         (WebKit::ChromeClientImpl::shouldInterruptJavaScript):
3745         (WebKit::ChromeClientImpl::tabsToLinks):
3746         (WebKit::ChromeClientImpl::windowResizerRect):
3747         (WebKit::ChromeClientImpl::repaint):
3748         (WebKit::ChromeClientImpl::scroll):
3749         (WebKit::ChromeClientImpl::screenToWindow):
3750         (WebKit::ChromeClientImpl::windowToScreen):
3751         (WebKit::ChromeClientImpl::contentsSizeChanged):
3752         (WebKit::ChromeClientImpl::scrollbarsModeDidChange):
3753         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
3754         (WebKit::ChromeClientImpl::setToolTip):
3755         (WebKit::ChromeClientImpl::print):
3756         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
3757         (WebKit::ChromeClientImpl::reachedMaxAppCacheSize):
3758         (WebKit::ChromeClientImpl::runOpenPanel):
3759         (WebKit::ChromeClientImpl::popupOpened):
3760         (WebKit::ChromeClientImpl::setCursor):
3761         (WebKit::ChromeClientImpl::setCursorForPlugin):
3762         (WebKit::ChromeClientImpl::formStateDidChange):
3763         (WebKit::ChromeClientImpl::getPopupMenuInfo):
3764         (WebKit::ChromeClientImpl::notificationPresenter):
3765         * src/ChromeClientImpl.h: Added.
3766         (WebKit::ChromeClientImpl::webView):
3767         (WebKit::ChromeClientImpl::platformPageClient):
3768         (WebKit::ChromeClientImpl::scrollRectIntoView):
3769         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
3770         (WebKit::ChromeClientImpl::setCursor):
3771         (WebKit::ChromeClientImpl::createHTMLParserQuirks):
3772         * src/ChromiumBridge.cpp: Added.
3773         (WebCore::toChromeClientImpl):
3774         (WebCore::toWebWidgetClient):
3775         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
3776         (WebCore::ChromiumBridge::clipboardReadPlainText):
3777         (WebCore::ChromiumBridge::clipboardReadHTML):
3778         (WebCore::ChromiumBridge::clipboardWriteSelection):
3779         (WebCore::ChromiumBridge::clipboardWritePlainText):
3780         (WebCore::ChromiumBridge::clipboardWriteURL):
3781         (WebCore::ChromiumBridge::clipboardWriteImage):
3782         (WebCore::ChromiumBridge::setCookies):
3783         (WebCore::ChromiumBridge::cookies):
3784         (WebCore::ChromiumBridge::rawCookies):
3785         (WebCore::ChromiumBridge::deleteCookie):
3786         (WebCore::ChromiumBridge::prefetchDNS):
3787         (WebCore::ChromiumBridge::fileExists):
3788         (WebCore::ChromiumBridge::deleteFile):
3789         (WebCore::ChromiumBridge::deleteEmptyDirectory):
3790         (WebCore::ChromiumBridge::getFileSize):
3791         (WebCore::ChromiumBridge::getFileModificationTime):
3792         (WebCore::ChromiumBridge::directoryName):
3793         (WebCore::ChromiumBridge::pathByAppendingComponent):
3794         (WebCore::ChromiumBridge::makeAllDirectories):
3795         (WebCore::ChromiumBridge::getAbsolutePath):
3796         (WebCore::ChromiumBridge::isDirectory):
3797         (WebCore::ChromiumBridge::filePathToURL):
3798         (WebCore::ChromiumBridge::ensureFontLoaded):
3799         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
3800         (WebCore::ChromiumBridge::databaseOpenFile):
3801         (WebCore::ChromiumBridge::databaseDeleteFile):
3802         (WebCore::ChromiumBridge::databaseGetFileAttributes):
3803         (WebCore::ChromiumBridge::databaseGetFileSize):
3804         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
3805         (WebCore::ChromiumBridge::computedDefaultLanguage):
3806         (WebCore::ChromiumBridge::layoutTestMode):
3807         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
3808         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
3809         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
3810         (WebCore::ChromiumBridge::mimeTypeForExtension):
3811         (WebCore::ChromiumBridge::mimeTypeFromFile):
3812         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
3813         (WebCore::ChromiumBridge::plugins):
3814         (WebCore::ChromiumBridge::pluginScriptableObject):
3815         (WebCore::ChromiumBridge::loadPlatformImageResource):
3816         (WebCore::ChromiumBridge::sandboxEnabled):
3817         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
3818         (WebCore::ChromiumBridge::setSharedTimerFireTime):
3819         (WebCore::ChromiumBridge::stopSharedTimer):
3820         (WebCore::ChromiumBridge::decrementStatsCounter):
3821         (WebCore::ChromiumBridge::incrementStatsCounter):
3822         (WebCore::ChromiumBridge::suddenTerminationChanged):
3823         (WebCore::ChromiumBridge::currentTime):
3824         (WebCore::ChromiumBridge::paintButton):
3825         (WebCore::ChromiumBridge::paintMenuList):
3826         (WebCore::ChromiumBridge::paintScrollbarArrow):
3827         (WebCore::ChromiumBridge::paintScrollbarThumb):
3828         (WebCore::ChromiumBridge::paintScrollbarTrack):
3829         (WebCore::ChromiumBridge::paintTextField):
3830         (WebCore::ChromiumBridge::paintTrackbar):
3831         (WebCore::ChromiumBridge::traceEventBegin):
3832         (WebCore::ChromiumBridge::traceEventEnd):
3833         (WebCore::ChromiumBridge::visitedLinkHash):
3834         (WebCore::ChromiumBridge::isLinkVisited):
3835         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
3836         (WebCore::ChromiumBridge::memoryUsageMB):
3837         (WebCore::ChromiumBridge::screenDepth):
3838         (WebCore::ChromiumBridge::screenDepthPerComponent):
3839         (WebCore::ChromiumBridge::screenIsMonochrome):
3840         (WebCore::ChromiumBridge::screenRect):
3841         (WebCore::ChromiumBridge::screenAvailableRect):
3842         (WebCore::ChromiumBridge::popupsAllowed):
3843         (WebCore::ChromiumBridge::widgetSetCursor):
3844         (WebCore::ChromiumBridge::widgetSetFocus):
3845         (WebCore::WorkerContextProxy::create):
3846         * src/ChromiumCurrentTime.cpp: Added.
3847         (WTF::currentTime):
3848         * src/ChromiumThreading.cpp: Added.
3849         (WTF::ChromiumThreading::initializeMainThread):
3850         (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread):
3851         * src/ContextMenuClientImpl.cpp: Added.
3852         (WebKit::urlFromFrame):
3853         (WebKit::isASingleWord):
3854         (WebKit::selectMisspelledWord):
3855         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3856         * src/ContextMenuClientImpl.h: Added.
3857         (WebKit::ContextMenuClientImpl::ContextMenuClientImpl):
3858         (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl):
3859         (WebKit::ContextMenuClientImpl::copyImageToClipboard):
3860         (WebKit::ContextMenuClientImpl::contextMenuDestroyed):
3861         (WebKit::ContextMenuClientImpl::contextMenuItemSelected):
3862         (WebKit::ContextMenuClientImpl::downloadURL):
3863         (WebKit::ContextMenuClientImpl::isSpeaking):
3864         (WebKit::ContextMenuClientImpl::lookUpInDictionary):
3865         (WebKit::ContextMenuClientImpl::searchWithGoogle):
3866         (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem):
3867         (WebKit::ContextMenuClientImpl::speak):
3868         (WebKit::ContextMenuClientImpl::stopSpeaking):
3869
3870 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3871
3872         Reviewed by Dimitri Glazkov.
3873
3874         Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl
3875
3876         https://bugs.webkit.org/show_bug.cgi?id=31276
3877
3878         * src/ApplicationCacheHost.cpp: Added.
3879         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
3880         (WebCore::ApplicationCacheHostInternal::notifyEventListener):
3881         (WebCore::ApplicationCacheHost::ApplicationCacheHost):
3882         (WebCore::ApplicationCacheHost::~ApplicationCacheHost):
3883         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
3884         (WebCore::ApplicationCacheHost::selectCacheWithoutManifest):
3885         (WebCore::ApplicationCacheHost::selectCacheWithManifest):
3886         (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
3887         (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
3888         (WebCore::ApplicationCacheHost::mainResourceDataReceived):
3889         (WebCore::ApplicationCacheHost::failedLoadingMainResource):
3890         (WebCore::ApplicationCacheHost::finishedLoadingMainResource):
3891         (WebCore::ApplicationCacheHost::maybeLoadResource):
3892         (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect):
3893         (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse):
3894         (WebCore::ApplicationCacheHost::maybeLoadFallbackForError):
3895         (WebCore::ApplicationCacheHost::maybeLoadSynchronously):
3896         (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously):
3897         (WebCore::ApplicationCacheHost::canCacheInPageCache):
3898         (WebCore::ApplicationCacheHost::setDOMApplicationCache):
3899         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
3900         (WebCore::ApplicationCacheHost::status):
3901         (WebCore::ApplicationCacheHost::update):
3902         (WebCore::ApplicationCacheHost::swapCache):
3903         (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
3904         * src/AssertMatchingEnums.cpp: Added.
3905         * src/AutocompletePopupMenuClient.cpp: Added.
3906         (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient):
3907         (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient):
3908         (WebKit::AutocompletePopupMenuClient::initialize):
3909         (WebKit::AutocompletePopupMenuClient::valueChanged):
3910         (WebKit::AutocompletePopupMenuClient::itemText):
3911         (WebKit::AutocompletePopupMenuClient::itemStyle):
3912         (WebKit::AutocompletePopupMenuClient::menuStyle):
3913         (WebKit::AutocompletePopupMenuClient::clientPaddingLeft):
3914         (WebKit::AutocompletePopupMenuClient::clientPaddingRight):
3915         (WebKit::AutocompletePopupMenuClient::popupDidHide):
3916         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
3917         (WebKit::AutocompletePopupMenuClient::fontSelector):
3918         (WebKit::AutocompletePopupMenuClient::hostWindow):
3919         (WebKit::AutocompletePopupMenuClient::createScrollbar):
3920         (WebKit::AutocompletePopupMenuClient::setSuggestions):
3921         (WebKit::AutocompletePopupMenuClient::removeItemAtIndex):
3922         (WebKit::AutocompletePopupMenuClient::textFieldStyle):
3923         * src/AutocompletePopupMenuClient.h: Added.
3924         (WebKit::AutocompletePopupMenuClient::textField):
3925         (WebKit::AutocompletePopupMenuClient::itemToolTip):
3926         (WebKit::AutocompletePopupMenuClient::itemIsEnabled):
3927         (WebKit::AutocompletePopupMenuClient::clientInsetLeft):
3928         (WebKit::AutocompletePopupMenuClient::clientInsetRight):
3929         (WebKit::AutocompletePopupMenuClient::listSize):
3930         (WebKit::AutocompletePopupMenuClient::selectedIndex):
3931         (WebKit::AutocompletePopupMenuClient::itemIsSeparator):
3932         (WebKit::AutocompletePopupMenuClient::itemIsLabel):
3933         (WebKit::AutocompletePopupMenuClient::itemIsSelected):
3934         (WebKit::AutocompletePopupMenuClient::shouldPopOver):
3935         (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack):
3936         * src/BackForwardListClientImpl.cpp: Added.
3937         (WebKit::BackForwardListClientImpl::BackForwardListClientImpl):
3938         (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl):
3939         (WebKit::BackForwardListClientImpl::setCurrentHistoryItem):
3940         (WebKit::BackForwardListClientImpl::previousHistoryItem):
3941         (WebKit::BackForwardListClientImpl::addItem):
3942         (WebKit::BackForwardListClientImpl::goToItem):
3943         (WebKit::BackForwardListClientImpl::currentItem):
3944         (WebKit::BackForwardListClientImpl::itemAtIndex):
3945         (WebKit::BackForwardListClientImpl::backListCount):
3946         (WebKit::BackForwardListClientImpl::forwardListCount):
3947         (WebKit::BackForwardListClientImpl::close):
3948         * src/BackForwardListClientImpl.h: Added.
3949
3950 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
3951
3952         Reviewed by Dimitri Glazkov.
3953
3954         Up-streaming Chromium API src files: WebString...WebViewImpl
3955
3956         https://bugs.webkit.org/show_bug.cgi?id=31276
3957
3958         * src/WebString.cpp: Added.
3959         (WebKit::WebString::reset):
3960         (WebKit::WebString::assign):
3961         (WebKit::WebString::length):
3962         (WebKit::WebString::data):
3963         (WebKit::WebString::utf8):
3964         (WebKit::WebString::fromUTF8):
3965         (WebKit::WebString::WebString):
3966         (WebKit::WebString::operator=):
3967         (WebKit::WebString::operator WebCore::String):
3968         (WebKit::WebString::operator WebCore::AtomicString):
3969         * src/WebURL.cpp: Added.
3970         (WebKit::WebURL::WebURL):
3971         (WebKit::WebURL::operator=):
3972         (WebKit::WebURL::operator WebCore::KURL):
3973         * src/WebURLError.cpp: Added.
3974         (WebKit::WebURLError::WebURLError):
3975         (WebKit::WebURLError::operator=):
3976         (WebKit::WebURLError::operator ResourceError):
3977         * src/WebURLRequest.cpp: Added.
3978         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
3979         (WebKit::WebURLRequestPrivateImpl::dispose):
3980         (WebKit::WebURLRequest::initialize):
3981         (WebKit::WebURLRequest::reset):
3982         (WebKit::WebURLRequest::assign):
3983         (WebKit::WebURLRequest::isNull):
3984         (WebKit::WebURLRequest::url):
3985         (WebKit::WebURLRequest::setURL):
3986         (WebKit::WebURLRequest::firstPartyForCookies):
3987         (WebKit::WebURLRequest::setFirstPartyForCookies):
3988         (WebKit::WebURLRequest::allowCookies):
3989         (WebKit::WebURLRequest::setAllowCookies):
3990         (WebKit::WebURLRequest::allowStoredCredentials):
3991         (WebKit::WebURLRequest::setAllowStoredCredentials):
3992         (WebKit::WebURLRequest::cachePolicy):
3993         (WebKit::WebURLRequest::setCachePolicy):
3994         (WebKit::WebURLRequest::httpMethod):
3995         (WebKit::WebURLRequest::setHTTPMethod):
3996         (WebKit::WebURLRequest::httpHeaderField):
3997         (WebKit::WebURLRequest::setHTTPHeaderField):
3998         (WebKit::WebURLRequest::addHTTPHeaderField):
3999         (WebKit::WebURLRequest::clearHTTPHeaderField):
4000         (WebKit::WebURLRequest::visitHTTPHeaderFields):
4001         (WebKit::WebURLRequest::httpBody):
4002         (WebKit::WebURLRequest::setHTTPBody):
4003         (WebKit::WebURLRequest::reportUploadProgress):
4004         (WebKit::WebURLRequest::setReportUploadProgress):
4005         (WebKit::WebURLRequest::targetType):
4006         (WebKit::WebURLRequest::setTargetType):
4007         (WebKit::WebURLRequest::requestorID):
4008         (WebKit::WebURLRequest::setRequestorID):
4009         (WebKit::WebURLRequest::requestorProcessID):
4010         (WebKit::WebURLRequest::setRequestorProcessID):
4011         (WebKit::WebURLRequest::appCacheHostID):
4012         (WebKit::WebURLRequest::setAppCacheHostID):
4013         (WebKit::WebURLRequest::toMutableResourceRequest):
4014         (WebKit::WebURLRequest::toResourceRequest):
4015         * src/WebURLRequestPrivate.h: Added.
4016         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
4017         * src/WebURLResponse.cpp: Added.
4018         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
4019         (WebKit::WebURLResponsePrivateImpl::dispose):
4020         (WebKit::WebURLResponse::initialize):
4021         (WebKit::WebURLResponse::reset):
4022         (WebKit::WebURLResponse::assign):
4023         (WebKit::WebURLResponse::isNull):
4024         (WebKit::WebURLResponse::url):
4025         (WebKit::WebURLResponse::setURL):
4026         (WebKit::WebURLResponse::mimeType):
4027         (WebKit::WebURLResponse::setMIMEType):
4028         (WebKit::WebURLResponse::expectedContentLength):
4029         (WebKit::WebURLResponse::setExpectedContentLength):
4030         (WebKit::WebURLResponse::textEncodingName):
4031         (WebKit::WebURLResponse::setTextEncodingName):
4032         (WebKit::WebURLResponse::suggestedFileName):
4033         (WebKit::WebURLResponse::setSuggestedFileName):
4034         (WebKit::WebURLResponse::httpStatusCode):
4035         (WebKit::WebURLResponse::setHTTPStatusCode):
4036         (WebKit::WebURLResponse::httpStatusText):
4037         (WebKit::WebURLResponse::setHTTPStatusText):
4038         (WebKit::WebURLResponse::httpHeaderField):
4039         (WebKit::WebURLResponse::setHTTPHeaderField):
4040         (WebKit::WebURLResponse::addHTTPHeaderField):
4041         (WebKit::WebURLResponse::clearHTTPHeaderField):
4042         (WebKit::WebURLResponse::visitHTTPHeaderFields):
4043         (WebKit::WebURLResponse::lastModifiedDate):
4044         (WebKit::WebURLResponse::setLastModifiedDate):
4045         (WebKit::WebURLResponse::isContentFiltered):
4046         (WebKit::WebURLResponse::setIsContentFiltered):
4047         (WebKit::WebURLResponse::appCacheID):
4048         (WebKit::WebURLResponse::setAppCacheID):
4049         (WebKit::WebURLResponse::appCacheManifestURL):
4050         (WebKit::WebURLResponse::setAppCacheManifestURL):
4051         (WebKit::WebURLResponse::securityInfo):
4052         (WebKit::WebURLResponse::setSecurityInfo):
4053         (WebKit::WebURLResponse::toMutableResourceResponse):
4054         (WebKit::WebURLResponse::toResourceResponse):
4055         * src/WebURLResponsePrivate.h: Added.
4056         (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
4057         * src/WebViewImpl.cpp: Added.
4058         (WebKit::):
4059         (WebKit::WebView::create):
4060         (WebKit::WebView::updateVisitedLinkState):
4061         (WebKit::WebView::resetVisitedLinkState):
4062         (WebKit::WebViewImpl::initializeMainFrame):
4063         (WebKit::WebViewImpl::WebViewImpl):
4064         (WebKit::WebViewImpl::~WebViewImpl):
4065         (WebKit::WebViewImpl::theme):
4066         (WebKit::WebViewImpl::mainFrameImpl):
4067         (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
4068         (WebKit::WebViewImpl::setTabKeyCyclesThroughElements):
4069         (WebKit::WebViewImpl::mouseMove):
4070         (WebKit::WebViewImpl::mouseLeave):
4071         (WebKit::WebViewImpl::mouseDown):
4072         (WebKit::WebViewImpl::mouseContextMenu):
4073         (WebKit::WebViewImpl::mouseUp):
4074         (WebKit::WebViewImpl::mouseWheel):
4075         (WebKit::WebViewImpl::keyEvent):
4076         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
4077         (WebKit::WebViewImpl::charEvent):
4078         (WebKit::WebViewImpl::sendContextMenuEvent):
4079         (WebKit::WebViewImpl::keyEventDefault):
4080         (WebKit::WebViewImpl::scrollViewWithKeyboard):
4081         (WebKit::WebViewImpl::propagateScroll):
4082         (WebKit::WebViewImpl::focusedWebCoreFrame):
4083         (WebKit::WebViewImpl::fromPage):
4084         (WebKit::WebViewImpl::close):
4085         (WebKit::WebViewImpl::resize):
4086         (WebKit::WebViewImpl::layout):
4087         (WebKit::WebViewImpl::paint):
4088         (WebKit::WebViewImpl::handleInputEvent):
4089         (WebKit::WebViewImpl::mouseCaptureLost):
4090         (WebKit::WebViewImpl::setFocus):
4091         (WebKit::WebViewImpl::handleCompositionEvent):
4092         (WebKit::WebViewImpl::queryCompositionStatus):
4093         (WebKit::WebViewImpl::setTextDirection):
4094         (WebKit::WebViewImpl::settings):
4095         (WebKit::WebViewImpl::pageEncoding):
4096         (WebKit::WebViewImpl::setPageEncoding):
4097         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
4098         (WebKit::WebViewImpl::dispatchUnloadEvent):
4099         (WebKit::WebViewImpl::mainFrame):
4100         (WebKit::WebViewImpl::findFrameByName):
4101         (WebKit::WebViewImpl::focusedFrame):
4102         (WebKit::WebViewImpl::setFocusedFrame):
4103         (WebKit::WebViewImpl::setInitialFocus):
4104         (WebKit::WebViewImpl::clearFocusedNode):
4105         (WebKit::WebViewImpl::zoomIn):
4106         (WebKit::WebViewImpl::zoomOut):
4107         (WebKit::WebViewImpl::zoomDefault):
4108         (WebKit::WebViewImpl::performMediaPlayerAction):
4109         (WebKit::WebViewImpl::copyImageAt):
4110         (WebKit::WebViewImpl::dragSourceEndedAt):
4111         (WebKit::WebViewImpl::dragSourceMovedTo):
4112         (WebKit::WebViewImpl::dragSourceSystemDragEnded):
4113         (WebKit::WebViewImpl::dragTargetDragEnter):
4114         (WebKit::WebViewImpl::dragTargetDragOver):
4115         (WebKit::WebViewImpl::dragTargetDragLeave):
4116         (WebKit::WebViewImpl::dragTargetDrop):
4117         (WebKit::WebViewImpl::dragIdentity):
4118         (WebKit::WebViewImpl::inspectElementAt):
4119         (WebKit::WebViewImpl::inspectorSettings):
4120         (WebKit::WebViewImpl::setInspectorSettings):
4121         (WebKit::WebViewImpl::devToolsAgent):
4122         (WebKit::WebViewImpl::setDevToolsAgent):
4123         (WebKit::WebViewImpl::accessibilityObject):
4124         (WebKit::WebViewImpl::applyAutofillSuggestions):
4125         (WebKit::WebViewImpl::hideAutofillPopup):
4126         (WebKit::WebViewImpl::setDropEffect):
4127         (WebKit::WebViewImpl::setIsTransparent):
4128         (WebKit::WebViewImpl::isTransparent):
4129         (WebKit::WebViewImpl::setIsActive):
4130         (WebKit::WebViewImpl::isActive):
4131         (WebKit::WebViewImpl::didCommitLoad):
4132         (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
4133         (WebKit::WebViewImpl::startDragging):
4134         (WebKit::WebViewImpl::setCurrentHistoryItem):
4135         (WebKit::WebViewImpl::previousHistoryItem):
4136         (WebKit::WebViewImpl::observeNewNavigation):
4137         (WebKit::WebViewImpl::hideAutoCompletePopup):
4138         (WebKit::WebViewImpl::autoCompletePopupDidHide):
4139         (WebKit::WebViewImpl::setIgnoreInputEvents):
4140         (WebKit::WebViewImpl::notificationPresenterImpl):
4141         (WebKit::WebViewImpl::refreshAutofillPopup):
4142         (WebKit::WebViewImpl::focusedWebCoreNode):
4143         (WebKit::WebViewImpl::hitTestResultForWindowPos):
4144         (WebKit::WebViewImpl::setTabsToLinks):
4145         (WebKit::WebViewImpl::tabsToLinks):
4146         * src/WebViewImpl.h: Added.
4147         (WebKit::WebViewImpl::size):
4148         (WebKit::WebViewImpl::devToolsAgentPrivate):
4149         (WebKit::WebViewImpl::lastMouseDownPoint):
4150         (WebKit::WebViewImpl::client):
4151         (WebKit::WebViewImpl::page):
4152         (WebKit::WebViewImpl::contextMenuAllowed):
4153         (WebKit::WebViewImpl::setInitialNavigationPolicy):
4154         (WebKit::WebViewImpl::initialNavigationPolicy):
4155         (WebKit::WebViewImpl::currentInputEvent):
4156         (WebKit::WebViewImpl::):
4157
4158 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
4159
4160         Reviewed by Dimitri Glazkov.
4161
4162         Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl
4163
4164         https://bugs.webkit.org/show_bug.cgi?id=31276
4165
4166         * src/WebScriptController.cpp: Added.
4167         (WebKit::WebScriptController::registerExtension):
4168         (WebKit::WebScriptController::enableV8SingleThreadMode):
4169         (WebKit::WebScriptController::flushConsoleMessages):
4170         * src/WebSearchableFormData.cpp: Added.
4171         (WebCore::GetFormEncoding):
4172         (WebCore::IsHTTPFormSubmit):
4173         (WebCore::GetButtonToActivate):
4174         (WebCore::IsSelectInDefaultState):
4175         (WebCore::IsInDefaultState):
4176         (WebCore::HasSuitableTextElement):
4177         (WebKit::WebSearchableFormData::WebSearchableFormData):
4178         * src/WebSecurityOrigin.cpp: Added.
4179         (WebKit::WebSecurityOrigin::reset):
4180         (WebKit::WebSecurityOrigin::assign):
4181         (WebKit::WebSecurityOrigin::protocol):
4182         (WebKit::WebSecurityOrigin::host):