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