2010-06-26 Sheriff Bot <webkit.review.bot@gmail.com>
[WebKit.git] / WebKit / chromium / ChangeLog
1 2010-06-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2
3         Unreviewed, rolling out r61943.
4         http://trac.webkit.org/changeset/61943
5         https://bugs.webkit.org/show_bug.cgi?id=41251
6
7         Totally breaks webkit_unit_tests on Chromium linux and mac
8         (Requested by mnaganov on #webkit).
9
10         * WebKit.gyp:
11         * src/WebFrameImpl.cpp:
12         (WebKit::frameContentAsPlainText):
13         * tests/RunAllTests.cpp:
14         (main):
15         * tests/WebFrameTest.cpp: Removed.
16         * tests/data/iframes_test.html: Removed.
17         * tests/data/invisible_iframe.html: Removed.
18         * tests/data/visible_iframe.html: Removed.
19         * tests/data/zero_sized_iframe.html: Removed.
20
21 2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
22
23         Reviewed by Dimitri Glazkov.
24
25         Disable Web Timing support by default for chromium port.
26         https://bugs.webkit.org/show_bug.cgi?id=38924
27
28         * features.gypi:
29
30 2010-06-25  Jay Civelli  <jcivelli@chromium.org>
31
32         Reviewed by Darin Fisher.
33
34         [chromium] Made WebFrame not report the text from hidden frames.
35         (some pages contain hidden frames with garbage text that
36         should not be indexed or used to detect the page's language).
37         https://bugs.webkit.org/show_bug.cgi?id=39456
38
39         * DEPS:
40         * WebKit.gyp:
41         * src/WebFrameImpl.cpp:
42         (WebKit::frameContentAsPlainText):
43         * tests/RunAllTests.cpp:
44         (main):
45         * tests/WebFrameTest.cpp: Added.
46         * tests/data: Added.
47         * tests/data/iframes_test.html: Added.
48         * tests/data/invisible_iframe.html: Added.
49         * tests/data/visible_iframe.html: Added.
50         * tests/data/zero_sized_iframe.html: Added.
51
52 2010-06-25  Bernhard Bauer  <bauerb@chromium.org>
53
54         Reviewed by Darin Fisher.
55
56         Add plugin accessors to WebPluginContainer.
57         https://bugs.webkit.org/show_bug.cgi?id=41145
58
59         * public/WebPluginContainer.h:
60         * src/WebPluginContainerImpl.h:
61         (WebKit::WebPluginContainerImpl::setPlugin):
62
63 2010-06-25  Sterling Swigart  <sswigart@google.com>
64
65         Reviewed by David Levin.
66
67         Resetting ENABLE_IMAGE_RESIZER to 0. Image.webkitGetImage needs to be developed under
68         a 0 value, at least until both the JSC and V8 bindings are in place.
69         https://bugs.webkit.org/show_bug.cgi?id=41116
70
71         * features.gypi: ENABLE_IMAGE_RESIZER=0
72
73 2010-06-25  Victor Wang  <victorw@chromium.org>
74
75         Reviewed by Darin Fisher.
76
77         [Chromium] Update chromium webkit gyp so it has
78         option to be built as DLL.
79
80         Chromium webkit is built as webkit.dll on windows
81         if it is inside chromium build and variable component
82         is set to shared_library.
83
84         https://bugs.webkit.org/show_bug.cgi?id=41161
85
86         * WebKit.gyp:
87
88 2010-06-25  John Abd-El-Malek  <jam@chromium.org>
89
90         Reviewed by David Levin.
91
92         [chromium] Send unhandled events to Node's default handler
93         https://bugs.webkit.org/show_bug.cgi?id=41223
94
95         * src/WebPluginContainerImpl.cpp:
96         (WebKit::WebPluginContainerImpl::handleEvent):
97
98 2010-06-25  Daniel Cheng  <dcheng@chromium.org>
99
100         Reviewed by Darin Fisher.
101
102         [chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data.
103
104         This change adds new stubs for querying for data in a clipboard or drag operation. This is
105         so adding support for more data types in clipboard/drag operations doesn't become
106         increasingly expensive, since we currently copy all the drag data we need every time a new
107         web drop target is entered. It also adds a new mechanism to write back to the system
108         clipboard that isn't tied to one data type.
109
110         https://bugs.webkit.org/show_bug.cgi?id=40540
111
112         * public/WebClipboard.h:
113         (WebKit::WebClipboard::):
114         (WebKit::WebClipboard::isFormatAvailable):
115         (WebKit::WebClipboard::readPlainText):
116         (WebKit::WebClipboard::readHTML):
117         (WebKit::WebClipboard::writePlainText):
118         (WebKit::WebClipboard::writeHTML):
119         (WebKit::WebClipboard::writeURL):
120         (WebKit::WebClipboard::writeImage):
121         (WebKit::WebClipboard::writeData):
122         (WebKit::WebClipboard::readAvailableTypes):
123         (WebKit::WebClipboard::readData):
124         (WebKit::WebClipboard::readFilenames):
125         * public/WebKitClient.h:
126         * src/AssertMatchingEnums.cpp:
127         * src/ChromiumBridge.cpp:
128         (WebCore::ChromiumBridge::clipboardWriteData):
129         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
130         (WebCore::ChromiumBridge::clipboardReadData):
131         (WebCore::ChromiumBridge::clipboardReadFilenames):
132
133 2010-06-25  Lei Zheng  <lzheng@chromium.org>
134
135         Reviewed by Dimitri Glazkov.
136
137         [Chromium] Add a flag to the ResourceResponse for tracking if a request was fetched
138         when Alternate-Protocol is available.
139
140         https://bugs.webkit.org/show_bug.cgi?id=41001
141
142         * public/WebURLResponse.h:
143         * src/WebURLResponse.cpp:
144         (WebKit::WebURLResponse::wasAlternateProtocolAvailable):
145         (WebKit::WebURLResponse::setWasAlternateProtocolAvailable):
146
147 2010-06-25  Michael Nordman  <michaeln@google.com>
148
149         Reviewed by Dumitru Daniliuc.
150
151         Additional API to pass additional info needed for AppCache progress events.
152         https://bugs.webkit.org/show_bug.cgi?id=37602
153
154         Also, delete an obsolete method from the worker API.
155
156         * public/WebApplicationCacheHostClient.h: define a new method
157         * public/WebSharedWorker.h: remove an obsolte method
158         * src/ApplicationCacheHostInternal.h: implement the new method
159         (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
160
161 2010-06-25  John Gregg  <johnnyg@google.com>
162
163         Reviewed by Darin Fisher.
164
165         Notification should expose ltr/rtl as TextDirection, not String
166         https://bugs.webkit.org/show_bug.cgi?id=40871
167
168         * public/WebNotification.h:
169         * src/WebNotification.cpp:
170         (WebKit::WebNotification::direction):
171
172 2010-06-24  Eric Seidel  <eric@webkit.org>
173
174         Reviewed by Adam Barth.
175
176         Clean up and document DocumentWriter::replaceDocument code path
177         https://bugs.webkit.org/show_bug.cgi?id=41182
178
179         * src/WebFrameImpl.cpp:
180         (WebKit::WebFrameImpl::loadJavaScriptURL):
181          - Make Chromium use DocumentWriter like it should.
182
183 2010-06-24  Vangelis Kokkevis  <vangelis@chromium.org>
184
185         Reviewed by Darin Fisher.
186
187         [Chromium] A WebView can now own a GLES2Context which gets created on
188         demand. This context will typically be created for the gpu compositor
189         and used as a parent context for any elements on the page that use the
190         gpu for rendering (e.g. WebGL) and need to pass their backbuffer directly
191         to the compositor.
192         https://bugs.webkit.org/show_bug.cgi?id=41010
193
194         * public/WebGLES2Context.h:
195         * src/GLES2Context.cpp:
196         (WebCore::GLES2ContextInternal::getWebGLES2Context):
197         (WebCore::GLES2ContextInternal::initialize):
198         * src/WebViewImpl.cpp:
199         (WebKit::WebViewImpl::WebViewImpl):
200         (WebKit::WebViewImpl::gles2Context):
201         * src/WebViewImpl.h:
202
203 2010-06-24  Pavel Feldman  <pfeldman@chromium.org>
204
205         Reviewed by Yury Semikhatsky.
206  
207         Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
208
209         https://bugs.webkit.org/show_bug.cgi?id=41094
210
211         - Merged InspectorClient implementation into WebDevToolsAgent
212         - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
213         - Removed a lot of legacy code from WebDevToolsAgentImpl
214         - Removed a lot of overrides from DevTools.js
215         - Simplified devtools stubs
216         - Got rid of all logic from within InjectDispatch.js
217
218         * public/WebView.h:
219         * src/FrameLoaderClientImpl.cpp:
220         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
221         * src/InspectorClientImpl.cpp:
222         (WebKit::InspectorClientImpl::inspectorDestroyed):
223         (WebKit::InspectorClientImpl::openInspectorFrontend):
224         (WebKit::InspectorClientImpl::highlight):
225         (WebKit::InspectorClientImpl::hideHighlight):
226         (WebKit::InspectorClientImpl::populateSetting):
227         (WebKit::InspectorClientImpl::storeSetting):
228         (WebKit::InspectorClientImpl::sendMessageToFrontend):
229         (WebKit::InspectorClientImpl::resourceTrackingWasEnabled):
230         (WebKit::InspectorClientImpl::resourceTrackingWasDisabled):
231         (WebKit::InspectorClientImpl::timelineProfilerWasStarted):
232         (WebKit::InspectorClientImpl::timelineProfilerWasStopped):
233         (WebKit::InspectorClientImpl::devToolsAgent):
234         * src/InspectorClientImpl.h:
235         * src/InspectorFrontendClientImpl.cpp:
236         (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
237         * src/ToolsAgent.h:
238         * src/WebDevToolsAgentImpl.cpp:
239         (WebKit::):
240         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
241         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
242         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
243         (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
244         (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
245         (WebKit::WebDevToolsAgentImpl::highlight):
246         (WebKit::WebDevToolsAgentImpl::hideHighlight):
247         (WebKit::WebDevToolsAgentImpl::populateSetting):
248         (WebKit::WebDevToolsAgentImpl::storeSetting):
249         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
250         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
251         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
252         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
253         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
254         * src/WebDevToolsAgentImpl.h:
255         * src/WebDevToolsAgentPrivate.h:
256         * src/WebViewImpl.cpp:
257         (WebKit::WebView::create):
258         (WebKit::WebViewImpl::WebViewImpl):
259         * src/WebViewImpl.h:
260         * src/js/DevTools.js:
261         (devtools.ToolsAgent):
262         ():
263         (devtools):
264         * src/js/DevToolsHostStub.js:
265         (.window.setDebuggerScriptSource):
266         (.window.dispatchOnInjectedScript):
267         * src/js/InjectDispatch.js:
268         (dispatch):
269         * src/js/InspectorControllerImpl.js:
270
271 2010-06-24  Pavel Feldman  <pfeldman@chromium.org>
272
273         Not reviewed: revert 61766.
274
275         * WebKit.gyp:
276         * public/WebView.h:
277         * src/FrameLoaderClientImpl.cpp:
278         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
279         * src/InspectorClientImpl.cpp: Added.
280         (WebKit::InspectorClientImpl::InspectorClientImpl):
281         (WebKit::InspectorClientImpl::~InspectorClientImpl):
282         (WebKit::InspectorClientImpl::inspectorDestroyed):
283         (WebKit::InspectorClientImpl::openInspectorFrontend):
284         (WebKit::invalidateNodeBoundingRect):
285         (WebKit::InspectorClientImpl::highlight):
286         (WebKit::InspectorClientImpl::hideHighlight):
287         (WebKit::InspectorClientImpl::populateSetting):
288         (WebKit::InspectorClientImpl::storeSetting):
289         (WebKit::InspectorClientImpl::sendMessageToFrontend):
290         * src/InspectorClientImpl.h: Added.
291         * src/InspectorFrontendClientImpl.cpp:
292         (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
293         * src/ToolsAgent.h:
294         * src/WebDevToolsAgentImpl.cpp:
295         (WebKit::):
296         (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
297         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
298         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
299         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
300         (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
301         (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
302         (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
303         * src/WebDevToolsAgentImpl.h:
304         * src/WebDevToolsAgentPrivate.h:
305         * src/WebViewImpl.cpp:
306         (WebKit::WebView::create):
307         (WebKit::WebViewImpl::WebViewImpl):
308         (WebKit::WebViewImpl::setDevToolsAgent):
309         * src/WebViewImpl.h:
310         * src/WebWorkerBase.cpp:
311         (WebKit::WebWorkerBase::initializeLoader):
312         * src/js/DevTools.js:
313         (devtools.ToolsAgent):
314         (devtools.ToolsAgent.prototype.frameNavigate_):
315         ():
316         * src/js/DevToolsHostStub.js:
317         (.RemoteDebuggerAgentStub):
318         (.RemoteDebuggerAgentStub.prototype.getContextId):
319         (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
320         (.RemoteProfilerAgentStub):
321         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
322         (.RemoteProfilerAgentStub.prototype.getLogLines):
323         (.RemoteToolsAgentStub):
324         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
325         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
326         (.ProfilerStubHelper):
327         (.ProfilerStubHelper.GetInstance):
328         (.ProfilerStubHelper.prototype.StopProfiling):
329         (.ProfilerStubHelper.prototype.StartProfiling):
330         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
331         (.ProfilerStubHelper.prototype.getLogLines):
332         (.RemoteDebuggerCommandExecutorStub):
333         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
334         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
335         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
336         (.DevToolsHostStub):
337         (.DevToolsHostStub.prototype.reset):
338         (.DevToolsHostStub.prototype.setting):
339         (.DevToolsHostStub.prototype.setSetting):
340         * src/js/InjectDispatch.js:
341         (ApuAgentDispatcher.dispatchToApu):
342         (dispatch):
343         * src/js/InspectorControllerImpl.js:
344         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
345         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
346
347 2010-06-23  Pavel Feldman  <pfeldman@chromium.org>
348
349         Reviewed by Yury Semikhatsky.
350
351         Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
352         
353         https://bugs.webkit.org/show_bug.cgi?id=41094
354
355         - Merged InspectorClient implementation into WebDevToolsAgent
356         - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
357         - Removed a lot of legacy code from WebDevToolsAgentImpl
358         - Removed a lot of overrides from DevTools.js
359         - Simplified devtools stubs
360         - Got rid of all logic from within InjectDispatch.js
361
362         * WebKit.gyp:
363         * public/WebDevToolsAgent.h:
364         * public/WebView.h:
365         * src/FrameLoaderClientImpl.cpp:
366         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
367         * src/InspectorFrontendClientImpl.cpp:
368         (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
369         * src/ToolsAgent.h:
370         * src/WebDevToolsAgentImpl.cpp:
371         (WebKit::):
372         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
373         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
374         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
375         (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
376         (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
377         (WebKit::WebDevToolsAgentImpl::highlight):
378         (WebKit::WebDevToolsAgentImpl::hideHighlight):
379         (WebKit::WebDevToolsAgentImpl::populateSetting):
380         (WebKit::WebDevToolsAgentImpl::storeSetting):
381         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
382         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
383         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
384         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
385         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
386         * src/WebDevToolsAgentImpl.h:
387         * src/WebDevToolsAgentPrivate.h:
388         * src/WebViewImpl.cpp:
389         (WebKit::WebView::create):
390         (WebKit::WebViewImpl::WebViewImpl):
391         * src/WebViewImpl.h:
392         * src/WebWorkerBase.cpp:
393         (WebKit::WebWorkerBase::initializeLoader):
394         * src/js/DevTools.js:
395         (devtools.ToolsAgent):
396         ():
397         (devtools):
398         * src/js/DevToolsHostStub.js:
399         (.window.setDebuggerScriptSource):
400         (.window.dispatchOnInjectedScript):
401         * src/js/InjectDispatch.js:
402         (dispatch):
403         * src/js/InspectorControllerImpl.js:
404
405 2010-06-24  Yury Semikhatsky  <yurys@chromium.org>
406
407         Reviewed by Pavel Feldman.
408
409         Web Inspector: implement layout tests for debugger
410         https://bugs.webkit.org/show_bug.cgi?id=40774
411
412         * src/WebDevToolsFrontendImpl.cpp:
413         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
414
415 2010-06-23  Tony Chang  <tony@chromium.org>
416
417         Reviewed by Darin Fisher.
418
419         layout test for a crash in chromium multipart request handling
420         https://bugs.webkit.org/show_bug.cgi?id=41050
421
422         Also roll DEPS to pick up the crash fix.
423
424         * DEPS:
425
426 2010-06-23  Yuzo Fujishima  <yuzo@google.com>
427
428         Reviewed by Shinichiro Hamaji.
429
430         Make page format data methods accessible from Chromium
431         https://bugs.webkit.org/show_bug.cgi?id=41056
432
433         * public/WebFrame.h:
434         * src/WebFrameImpl.cpp:
435         (WebKit::WebFrameImpl::isPageBoxVisible):
436         (WebKit::WebFrameImpl::pageAreaRectInPixels):
437         (WebKit::WebFrameImpl::preferredPageSizeInPixels):
438         * src/WebFrameImpl.h:
439
440 2010-06-22  Adam Barth  <abarth@webkit.org>
441
442         Reviewed by Eric Seidel.
443
444         Rename HTMLDocumentParser to LegacyHTMLDocumentParser
445         https://bugs.webkit.org/show_bug.cgi?id=41043
446
447         * src/WebEntities.cpp:
448
449 2010-06-22  Pavel Feldman  <pfeldman@chromium.org>
450
451         Not reviewed: follow up to r61655 to make Chromium tests happy.
452
453         * src/js/InspectorControllerImpl.js:
454         (devtools.InspectorBackendImpl):
455
456 2010-06-22  Mikhail Naganov  <mnaganov@chromium.org>
457
458         Reviewed by Pavel Feldman.
459
460         [Chromium] Clean up after removal of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
461
462         https://bugs.webkit.org/show_bug.cgi?id=40914
463
464         * public/WebDevToolsAgentClient.h:
465
466 2010-06-22  Mikhail Naganov  <mnaganov@chromium.org>
467
468         Reviewed by Pavel Feldman.
469
470         [Chromium] Add a sanity test for heap profiler.
471
472         https://bugs.webkit.org/show_bug.cgi?id=40917
473
474         * src/js/Tests.js:
475         (.TestSuite.prototype.testHeapProfiler.findDisplayedNode):
476         (.TestSuite.prototype.testHeapProfiler.findVisibleView):
477         (.TestSuite.prototype.testHeapProfiler):
478
479 2010-06-21  MORITA Hajime  <morrita@google.com>
480
481         Reviewed by Darin Fisher.
482
483         [Chromium] Dragging outside the frame immediately causes page to scroll
484         http://webkit.org/b/40461
485
486         This is regression that was introduced at http://webkit.org/b/39725.
487         
488         There are 2 problems:
489         1. It starts auto-scrolling immediately. We should have some delay.
490         2. The scroll continues even after a mouse cursor goes outside a frame.
491            The scroll should be stopped when the curosr has left.
492         
493         This change introduced DragScrollTimer to handle 1. 
494         At the same time, it fixed DragScrollTimer::scrollDistanceFor() to
495         handle 2, We now stop scrolling when the cursor gone.
496         
497         * WebKit.gyp:
498         * src/DragScrollTimer.cpp: Added.
499         (WebKit::distanceToRect):
500         (WebKit::DragScrollTimer::DragScrollTimer):
501         (WebKit::DragScrollTimer::~DragScrollTimer):
502         (WebKit::DragScrollTimer::stop):
503         (WebKit::DragScrollTimer::scroll):
504         (WebKit::DragScrollTimer::update):
505         (WebKit::DragScrollTimer::triggerScroll):
506         (WebKit::DragScrollTimer::scrollDistanceFor):
507         * src/DragScrollTimer.h: Added.
508         (WebKit::DragScrollTimer::fired):
509         (WebKit::DragScrollTimer::shouldScroll):
510         * src/WebViewImpl.cpp:
511         (WebKit::WebViewImpl::WebViewImpl):
512         (WebKit::WebViewImpl::dragSourceEndedAt):
513         (WebKit::WebViewImpl::dragSourceMovedTo):
514         (WebKit::WebViewImpl::dragTargetDrop):
515         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
516         * src/WebViewImpl.h:
517
518 2010-06-21  Kent Tamura  <tkent@chromium.org>
519
520         Reviewed by Dimitri Glazkov.
521
522         [Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER
523         https://bugs.webkit.org/show_bug.cgi?id=40905
524
525         EVENTSOURCE: It is already enabled in Chromium browser. This fixes
526         some tests with Chromium DRT.
527
528         FILE_WRITER and IMAGE_RESIZER: Enable experimental features in
529         order to test them before enabling them in Chromium browser.
530
531         * features.gypi:
532
533 2010-06-21  Satish Sampath  <satish@chromium.org>
534
535         Reviewed by Steve Block.
536
537         Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
538         https://bugs.webkit.org/show_bug.cgi?id=40878
539
540         * features.gypi:
541
542 2010-06-21  Mikhail Naganov  <mnaganov@chromium.org>
543
544         Reviewed by Yury Semikhatsky.
545
546         [Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
547
548         Also, move WebDevToolsMessageTransport to its own header file.
549
550         https://bugs.webkit.org/show_bug.cgi?id=40913
551
552         * DEPS:
553         * WebKit.gyp:
554         * public/WebDevToolsAgent.h:
555         * public/WebDevToolsAgentClient.h:
556         * public/WebDevToolsMessageTransport.h: Added.
557         (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
558         * src/WebDevToolsAgentImpl.cpp:
559         (WebKit::):
560
561 2010-06-20  Yury Semikhatsky  <yurys@chromium.org>
562
563         Reviewed by Pavel Feldman.
564
565         [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
566         v8 debugging protocol.
567
568         * src/DebuggerAgentManager.cpp:
569         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
570
571 2010-06-19  Jay Civelli  <jcivelli@chromium.org>
572
573         Reviewed by David Levin.
574
575         Adding a < operator to WebURLs so they can be used in std::maps.
576         https://bugs.webkit.org/show_bug.cgi?id=40632
577
578         * public/WebCString.h:
579         (WebKit::operator<):
580         * public/WebURL.h:
581         (WebKit::operator<):
582         * src/WebCString.cpp:
583         (WebKit::WebCString::compare):
584
585 2010-06-19  Kent Tamura  <tkent@chromium.org>
586
587         Unreviewed. Build fix for r61488.
588
589         * features.gypi: Define use_accelerated_compositing.
590
591 2010-06-19  Thomas Van Lenten  <thomasvl@chromium.org>
592
593         Reviewed by David Levin.
594
595         Warnings from -Wextra in a Chromium Mac build
596         1. checks of unsigned >= 0
597         2. enumeral and non-enumeral type in conditional expression
598         3. copy ctors that don't call the super copy ctor or ctor
599
600         https://bugs.webkit.org/show_bug.cgi?id=40791
601
602         * src/AutoFillPopupMenuClient.cpp:
603         (WebKit::AutoFillPopupMenuClient::getSuggestion):
604         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
605         (WebKit::AutoFillPopupMenuClient::valueChanged):
606         (WebKit::AutoFillPopupMenuClient::selectionChanged):
607         * src/AutocompletePopupMenuClient.cpp:
608         (WebKit::AutocompletePopupMenuClient::getSuggestion):
609         (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
610
611 2010-06-19  Zhe Su  <suzhe@chromium.org>
612
613         Reviewed by Darin Fisher.
614
615         [chromium]Refactor input method related APIs.
616         https://bugs.webkit.org/show_bug.cgi?id=40608
617
618         * WebKit.gyp:
619         * public/WebCompositionCommand.h:
620         * public/WebCompositionUnderline.h: Added.
621         (WebKit::WebCompositionUnderline::WebCompositionUnderline):
622         * public/WebTextInputType.h: Added.
623         (WebKit::):
624         * public/WebViewClient.h:
625         * public/WebWidget.h:
626         * public/WebWidgetClient.h:
627         (WebKit::WebWidgetClient::resetInputMethod):
628         * src/CompositionUnderlineBuilder.h: Added.
629         (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
630         * src/CompositionUnderlineVectorBuilder.cpp: Added.
631         (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
632         * src/CompositionUnderlineVectorBuilder.h: Added.
633         * src/EditorClientImpl.cpp:
634         (WebKit::EditorClientImpl::setInputMethodState):
635         * src/WebPopupMenuImpl.cpp:
636         (WebKit::WebPopupMenuImpl::setComposition):
637         (WebKit::WebPopupMenuImpl::confirmComposition):
638         (WebKit::WebPopupMenuImpl::textInputType):
639         (WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
640         * src/WebPopupMenuImpl.h:
641         * src/WebViewImpl.cpp:
642         (WebKit::WebViewImpl::handleCompositionEvent):
643         (WebKit::WebViewImpl::setComposition):
644         (WebKit::WebViewImpl::confirmComposition):
645         (WebKit::WebViewImpl::textInputType):
646         (WebKit::WebViewImpl::caretOrSelectionBounds):
647         * src/WebViewImpl.h:
648
649 2010-06-19  Victoria Kirst  <vrk@google.com>
650
651         Reviewed by David Levin.
652
653         Modifying the WebMediaPlayer interface to be compatible with
654         a change in chrome.
655         This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
656         has been updated, so this commit should NOT break chromium anymore,
657         nor should it cause any test failures.
658         https://bugs.webkit.org/show_bug.cgi?id=39445
659
660         * public/WebMediaPlayer.h: Changed buffered() to be non-const.
661
662 2010-06-19  Zhenyao Mo  <zmo@google.com>
663
664         Reviewed by Dimitri Glazkov.
665
666         fast/canvas/webgl/get-active-test.html failed in Chrome Mac
667         https://bugs.webkit.org/show_bug.cgi?id=40496
668
669         * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent().
670         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
671         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
672         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
673
674 2010-06-18  Aaron Boodman  <aa@chromium.org>
675
676         Remove WebKit::WebDocument::isXHTMLDocument.
677         https://bugs.webkit.org/show_bug.cgi?id=40815
678
679         * public/WebDocument.h: Remove isXHTMLDocument().
680         * src/WebDocument.cpp: Ditto.
681
682 2010-06-19  Aaron Boodman  <aa@chromium.org>
683
684         Unreviewed, rolling out r61466.
685         http://trac.webkit.org/changeset/61466
686         https://bugs.webkit.org/show_bug.cgi?id=40816
687
688         Landed wrong change
689
690         * src/WebKit.cpp:
691         (WebKit::shutdown):
692
693 2010-06-18  Aaron Boodman  <aa@chromium.org>
694
695         WebKit API: Undo static hooks into V8 when WebKit is shut downm
696         https://bugs.webkit.org/show_bug.cgi?id=40816
697
698         * src/WebKit.cpp:
699         (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded().
700
701 2010-06-18  Drew Wilson  <atwilson@chromium.org>
702
703         Reviewed by Darin Fisher.
704
705         [Chromium] Plumbing for top-level frame names
706         https://bugs.webkit.org/show_bug.cgi?id=40430
707
708         * public/WebFrame.h:
709         Removed obsolete clearName() API and added better documentation for
710         setName().
711         * src/WebFrameImpl.cpp:
712         Removed clearName() API.
713         * src/WebFrameImpl.h:
714         Removed clearName() API.
715
716 2010-06-18  Drew Wilson  <atwilson@chromium.org>
717
718         Reviewed by Dumitru Daniliuc.
719
720         Roll chromium DEPS 50089:50171
721         https://bugs.webkit.org/show_bug.cgi?id=40842
722
723         * DEPS:
724         Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName().
725
726 2010-06-18  Mikhail Naganov  <mnaganov@chromium.org>
727
728         Reviewed by Yury Semikhatsky.
729
730         Implement 'takeHeapSnapshot' in InspectorController.
731
732         https://bugs.webkit.org/show_bug.cgi?id=40834
733
734         * src/js/HeapProfilerPanel.js:
735         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
736         * src/js/InspectorControllerImpl.js:
737         (devtools.InspectorBackendImpl):
738         * src/js/ProfilerAgent.js:
739         (devtools.ProfilerAgent.prototype.startProfiling):
740
741 2010-06-18  Anton Muhin  <antonm@chromium.org>
742
743         Reviewed by Dimitri Glazkov.
744
745         [v8] Finish migration to new named property query API
746         https://bugs.webkit.org/show_bug.cgi?id=40771
747         Remove definition which allowed gradual transition to new API.
748         See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase.
749         Requires V8 roll.
750
751         * DEPS:
752
753 2010-06-17  Pavel Feldman  <pfeldman@chromium.org>
754
755         Reviewed by Yury Semikhatsky.
756
757         Web Inspector: bring XHR console records back.
758         - adds "Enable XHR Monitor" / "Disable XHR Monitor" actions to the console's context menu
759         - make the chosen option persist in the settings.
760
761         https://bugs.webkit.org/show_bug.cgi?id=40799
762
763         * src/js/InspectorControllerImpl.js:
764         (devtools.InspectorBackendImpl):
765
766 2010-06-15  Dumitru Daniliuc  <dumi@chromium.org>
767
768         Reviewed by Adam Barth.
769
770         Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
771         https://bugs.webkit.org/show_bug.cgi?id=39041
772
773         * src/WebRuntimeFeatures.cpp:
774         (WebKit::WebRuntimeFeatures::enableDatabase):
775         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
776
777 2010-06-17  Tony Chang  <tony@chromium.org>
778
779         Reviewed by Kent Tamura.
780
781         [chromium] cleanup redundant DEPS value and remove buildbot cleanup code
782         https://bugs.webkit.org/show_bug.cgi?id=40615
783
784         * DEPS: tools/data_pack was listed twice for linux (harmless, but unnecessary)
785
786 2010-06-17  Jeremy Moskovich  <jeremy@chromium.org>
787
788         Reviewed by Darin Fisher.
789
790         [Chromium API] Implement WebSandboxSupport on OS X and add stubs to allow
791         OOP loading of fonts.
792
793         https://bugs.webkit.org/show_bug.cgi?id=40544
794
795         * WebKit.gyp: Add mac WebSandboxSupport.h
796         * public/mac/WebSandboxSupport.h: Added.
797         * src/ChromiumBridge.cpp:
798         (WebCore::ChromiumBridge::loadFont):
799
800 2010-06-17  Pavel Feldman  <pfeldman@chromium.org>
801
802         Unreviewed: chromium tests fix. Added InspectorBackend delegates for new inspector methods.
803
804         * src/js/InspectorControllerImpl.js:
805         (devtools.InspectorBackendImpl):
806
807 2010-06-17  Mikhail Naganov  <mnaganov@chromium.org>
808
809         Reviewed by Pavel Feldman.
810
811         [Chromium] Prepare to making WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual
812
813         https://bugs.webkit.org/show_bug.cgi?id=39302
814
815         * public/WebDevToolsAgent.h:
816         * public/WebDevToolsAgentClient.h:
817         (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
818         * src/WebDevToolsAgentImpl.cpp:
819         (WebKit::):
820         (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
821
822 2010-06-17  John Gregg  <johnnyg@google.com>
823
824         Reviewed by David Levin.
825
826         Undo the build fix with the correct patch: Chromium NotificationPresenter
827         is now informed of the destruction before it actually happens, so this
828         use of the Notification object is correct. 
829         https://bugs.webkit.org/show_bug.cgi?id=40097
830
831         * src/NotificationPresenterImpl.cpp:
832         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
833
834 2010-06-16  Kent Tamura  <tkent@chromium.org>
835
836         Reviewed by Dimitri Glazkov.
837
838         [DRT/Chromium] Set current working directory for each of tests
839         https://bugs.webkit.org/show_bug.cgi?id=40668
840
841         * DEPS: Update Chromium to r49915 to have
842           webkit_support::SetCurrentDirectoryForFileURL().
843
844 2010-06-16  Drew Wilson  <atwilson@chromium.org>
845
846         Reviewed by Kent Tamura.
847
848         Added plumbing to Chromium WebKit API to allow setting/getting the name
849         of top level frames.
850
851         https://bugs.webkit.org/show_bug.cgi?id=40430
852         * public/WebFrame.h:
853         Added setName() API.
854         * public/WebViewClient.h:
855         (WebKit::WebViewClient::createView):
856         Now takes a "name" parameter.
857         * src/ChromeClientImpl.cpp:
858         (WebKit::ChromeClientImpl::createWindow):
859         Passes a name parameter.
860         * src/WebFrameImpl.cpp:
861         (WebKit::WebFrameImpl::setName):
862         Allows setting the frame name by calling through to the WebCore API.
863         * src/WebFrameImpl.h:
864
865 2010-06-15  Darin Adler  <darin@apple.com>
866
867         Reviewed by Adam Barth.
868
869         Move functions out of Frame class that were marked "move to Chrome"
870         https://bugs.webkit.org/show_bug.cgi?id=39636
871
872         * src/WebViewImpl.cpp:
873         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose
874         on FrameLoader instead of going through Frame.
875
876 2010-06-11  Darin Fisher  <darin@chromium.org>
877
878         Reviewed by Brady Eidson.
879
880         Expose WebHistoryItem::itemSequenceNumber.
881
882         https://bugs.webkit.org/show_bug.cgi?id=40451
883
884         * public/WebHistoryItem.h:
885         * src/WebHistoryItem.cpp:
886         (WebKit::WebHistoryItem::itemSequenceNumber):
887         (WebKit::WebHistoryItem::setItemSequenceNumber):
888
889 2010-06-15  Yury Semikhatsky  <yurys@chromium.org>
890
891         Reviewed by Pavel Feldman.
892
893         [v8] Web Inspector: make ui tests pass when ScriptDebugServer is used
894         https://bugs.webkit.org/show_bug.cgi?id=40623
895
896         * src/js/DebuggerAgent.js:
897         (devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions.
898         * src/js/DebuggerScript.js:
899         * src/js/Tests.js:
900         (.TestSuite.prototype.testProfilerTab.findVisibleView):
901         (.TestSuite.prototype.testProfilerTab):
902         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
903         (.TestSuite.prototype.testSetBreakpoint.this):
904         (.TestSuite.prototype.testSetBreakpoint):
905         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
906         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
907         (.TestSuite.prototype.testExpandScope.examineScopes):
908         (.TestSuite.prototype.testExpandScope):
909         (.TestSuite.prototype.testDebugIntrinsicProperties):
910
911 2010-06-14  Anders Carlsson  <andersca@apple.com>
912
913         Fix Chromium build.
914
915         * src/WebPluginListBuilderImpl.cpp:
916         (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
917
918 2010-06-14  Dumitru Daniliuc  <dumi@chromium.org>
919
920         Reviewed by Adam Barth.
921
922         Get DatabaseTracker ready for sync DBs.
923         https://bugs.webkit.org/show_bug.cgi?id=39041
924
925         * public/WebDatabase.h:
926         * src/DatabaseObserver.cpp:
927         (WebCore::DatabaseObserver::databaseOpened):
928         (WebCore::DatabaseObserver::databaseModified):
929         (WebCore::DatabaseObserver::databaseClosed):
930         * src/WebDatabase.cpp:
931         (WebKit::WebDatabase::closeDatabaseImmediately):
932         (WebKit::WebDatabase::WebDatabase):
933         (WebKit::WebDatabase::operator=):
934         (WebKit::WebDatabase::operator WTF::PassRefPtr<AbstractDatabase>):
935
936 2010-06-14  Chris Fleizach  <cfleizach@apple.com>
937
938         Reviewed by Darin Adler.
939
940         AX: need ListItemRole and PresentationalRole
941         https://bugs.webkit.org/show_bug.cgi?id=40133
942
943         * public/WebAccessibilityRole.h:
944         * src/AssertMatchingEnums.cpp:
945
946 2010-06-14  Anders Carlsson  <andersca@apple.com>
947
948         Reviewed by Sam Weinig.
949
950         Remove pluginIndex from MimeClassInfo
951         https://bugs.webkit.org/show_bug.cgi?id=40588
952
953         * src/WebPluginListBuilderImpl.cpp:
954         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
955
956 2010-06-14  Jeremy Orlow  <jorlow@chromium.org>
957
958         Build fix.
959
960         * src/IDBCallbacksProxy.h:
961
962 2010-06-14  Ilya Tikhonovsky  <loislo@chromium.org>
963
964         Reviewed by Pavel Feldman.
965
966         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
967         data from inspected page to WebInspector as JSON string via http. The native
968         serialization to JSON string is supported by InspectorValue's classes. This patch
969         has the implementation of sendMessageToFrontend function. WebKit version of it still
970         uses ScriptFunctionCall and will be switched to another transport a little bit later.
971         https://bugs.webkit.org/show_bug.cgi?id=40134
972
973         * src/InspectorClientImpl.cpp:
974         (WebKit::InspectorClientImpl::sendMessageToFrontend):
975         * src/InspectorClientImpl.h:
976         * src/WebDevToolsAgentImpl.cpp:
977         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
978
979 2010-06-13  Tony Chang  <tony@chromium.org>
980
981         Reviewed by Darin Fisher.
982
983         [chromium] checkout chromium third_party directly
984         https://bugs.webkit.org/show_bug.cgi?id=40556
985
986         * DEPS:
987
988 2010-06-13  Tony Chang  <tony@chromium.org>
989
990         Build fix, not reviewed.
991
992         fix chromium compile after r61094 (id attribute refactor)
993         https://bugs.webkit.org/show_bug.cgi?id=40553
994
995         * src/ChromeClientImpl.cpp:
996         * src/WebFormControlElement.cpp:
997         (WebKit::WebFormControlElement::nameForAutofill):
998
999 2010-06-13  Andras Becsi  <abecsi@inf.u-szeged.hu>
1000
1001         Reviewed by Darin Adler.
1002
1003         Centralize the gperf code generation commands into make-hash-tools.pl
1004         to avoid redundancy across multiple build systems.
1005         Do this in preparation of refactoring the usage of these generated
1006         sources to fix the debug linking error on Linux with gcc >= 4.4.0.
1007
1008         webkit.org/b/29244
1009
1010         * src/WebEntities.cpp:
1011
1012 2010-06-11  Eric Seidel  <eric@webkit.org>
1013
1014         Reviewed by Adam Barth.
1015
1016         Rename the rest of the *Tokenizer classes to *DocumentParser
1017         https://bugs.webkit.org/show_bug.cgi?id=40507
1018
1019         * src/WebEntities.cpp:
1020          - Fix a comment to match new class names.
1021
1022 2010-06-12  Evan Stade  <estade@chromium.org>
1023
1024         Reviewed by Eric Seidel.
1025
1026         [chromium] Menu key should act on current selection even if it is not editable
1027         https://bugs.webkit.org/show_bug.cgi?id=40348
1028
1029         Allow the menu key to act on non-editable selections.
1030
1031         * src/WebViewImpl.cpp:
1032         (WebKit::WebViewImpl::sendContextMenuEvent):
1033
1034 2010-06-11  James Hawkins  <jhawkins@chromium.org>
1035
1036         Reviewed by Darin Fisher.
1037
1038         [Chromium] Notify the WebView when the AutoFill popup hides.
1039
1040         https://bugs.webkit.org/show_bug.cgi?id=40459
1041
1042         * src/AutoFillPopupMenuClient.cpp:
1043         (WebKit::AutoFillPopupMenuClient::selectionCleared):
1044
1045 2010-06-11  Tony Gentilcore  <tonyg@chromium.org>
1046
1047         Reviewed by Dimitri Glazkov.
1048
1049         Roll chromium DEPS 49376:49521
1050         https://bugs.webkit.org/show_bug.cgi?id=40488
1051
1052         * DEPS:
1053
1054 2010-06-10  Jeremy Orlow  <jorlow@chromium.org>
1055
1056         Reviewed by Steve Block.
1057
1058         Implement more of IndexedDB's Indexes and ObjectStores
1059         https://bugs.webkit.org/show_bug.cgi?id=40424
1060
1061         Add plumbing for both of these classes.
1062
1063         * public/WebIDBDatabase.h:
1064         (WebKit::WebIDBDatabase::name):
1065         (WebKit::WebIDBDatabase::description):
1066         (WebKit::WebIDBDatabase::version):
1067         (WebKit::WebIDBDatabase::objectStores):
1068         (WebKit::WebIDBDatabase::objectStore):
1069         (WebKit::WebIDBDatabase::removeObjectStore):
1070         * public/WebIDBObjectStore.h:
1071         (WebKit::WebIDBObjectStore::indexNames):
1072         (WebKit::WebIDBObjectStore::createIndex):
1073         (WebKit::WebIDBObjectStore::index):
1074         (WebKit::WebIDBObjectStore::removeIndex):
1075         * src/IDBDatabaseProxy.cpp:
1076         (WebCore::IDBDatabaseProxy::name):
1077         (WebCore::IDBDatabaseProxy::description):
1078         (WebCore::IDBDatabaseProxy::version):
1079         (WebCore::IDBDatabaseProxy::objectStores):
1080         (WebCore::IDBDatabaseProxy::objectStore):
1081         (WebCore::IDBDatabaseProxy::removeObjectStore):
1082         * src/IDBDatabaseProxy.h:
1083         * src/IDBObjectStoreProxy.cpp:
1084         (WebCore::IDBObjectStoreProxy::indexNames):
1085         (WebCore::IDBObjectStoreProxy::createIndex):
1086         (WebCore::IDBObjectStoreProxy::index):
1087         (WebCore::IDBObjectStoreProxy::removeIndex):
1088         * src/IDBObjectStoreProxy.h:
1089         * src/WebIDBDatabaseImpl.cpp:
1090         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
1091         (WebKit::WebIDBDatabaseImpl::name):
1092         (WebKit::WebIDBDatabaseImpl::description):
1093         (WebKit::WebIDBDatabaseImpl::version):
1094         (WebKit::WebIDBDatabaseImpl::objectStores):
1095         (WebKit::WebIDBDatabaseImpl::createObjectStore):
1096         (WebKit::WebIDBDatabaseImpl::objectStore):
1097         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
1098         * src/WebIDBDatabaseImpl.h:
1099         * src/WebIDBObjectStoreImpl.cpp:
1100         (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
1101         (WebKit::WebIDBObjectStoreImpl::name):
1102         (WebKit::WebIDBObjectStoreImpl::keyPath):
1103         (WebKit::WebIDBObjectStoreImpl::indexNames):
1104         (WebKit::WebIDBObjectStoreImpl::createIndex):
1105         (WebKit::WebIDBObjectStoreImpl::index):
1106         (WebKit::WebIDBObjectStoreImpl::removeIndex):
1107         * src/WebIDBObjectStoreImpl.h:
1108
1109 2010-06-11  Alexander Pavlov  <apavlov@chromium.org>
1110
1111         Reviewed by Pavel Feldman.
1112
1113         Web Inspector: Enable serialization/deserialization of the frontend state
1114         https://bugs.webkit.org/show_bug.cgi?id=40228
1115
1116         * src/js/InspectorControllerImpl.js:
1117         (devtools.InspectorBackendImpl):
1118
1119 2010-06-10  Søren Gjesse  <sgjesse@chromium.org>
1120
1121         Reviewed by Pavel Feldman.
1122
1123         V8: Chromium test expectations not matching improved V8 JavaScript stepping
1124         https://bugs.webkit.org/show_bug.cgi?id=40419
1125
1126         Update test expetations to match chaged V8 break locations.
1127
1128         * src/js/Tests.js:
1129
1130 2010-06-10  Pavel Feldman  <pfeldman@chromium.org>
1131
1132         Reviewed by Yury Semikhatsky.
1133
1134         Web Inspector: Port performSearch from InjectedScript to InspectorDOMAgent.
1135
1136         https://bugs.webkit.org/show_bug.cgi?id=40422
1137
1138         * src/js/InspectorControllerImpl.js:
1139         (devtools.InspectorBackendImpl):
1140
1141 2010-06-11  Vangelis Kokkevis  <vangelis@chromium.org>
1142
1143         Reviewed by David Levin.
1144
1145         [chromium] Adding a build dependency to the gles2 C library to the webkit_unit_tests
1146         project to allow it to link when WebCore is compiled with the ACCELERATED_COMPOSITING
1147         flag.
1148         https://bugs.webkit.org/show_bug.cgi?id=40341
1149
1150         * WebKit.gyp:
1151
1152 2010-06-10  Kent Tamura  <tkent@chromium.org>
1153
1154         Reviewed by Dimitri Glazkov.
1155
1156         [DRT/Chromium] Support plugin tests
1157         https://bugs.webkit.org/show_bug.cgi?id=40413
1158
1159         * DEPS:
1160          Bump the Chromium revision to r49376 to have a npapi_layout_test_plugin
1161          change and Linux <progress> resources.
1162          Add third_party/mesa because app/ depends on them
1163          since r49332.
1164         * WebKit.gyp:
1165           Copy a plugin binary for DRT to recognize it.
1166
1167 2010-06-10  James Hawkins  <jhawkins@chromium.org>
1168
1169         Not reviwed.
1170
1171         Build fix for Chromium Mac Release.
1172
1173         * src/AutoFillPopupMenuClient.cpp:
1174         (WebKit::AutoFillPopupMenuClient::getSuggestion):
1175         (WebKit::AutoFillPopupMenuClient::valueChanged):
1176         (WebKit::AutoFillPopupMenuClient::selectionChanged):
1177         (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
1178
1179 2010-06-09  James Hawkins  <jhawkins@chromium.org>
1180
1181         Reviewed by Darin Fisher.
1182
1183         [Chromium] Add the ability to specify a separator in
1184         AutoFillPopupMenuClient.
1185
1186         https://bugs.webkit.org/show_bug.cgi?id=40397
1187
1188         * public/WebViewClient.h:
1189         (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
1190         * src/AutoFillPopupMenuClient.cpp:
1191         (WebKit::AutoFillPopupMenuClient::getSuggestionsCount):
1192         (WebKit::AutoFillPopupMenuClient::getSuggestion):
1193         (WebKit::AutoFillPopupMenuClient::valueChanged):
1194         (WebKit::AutoFillPopupMenuClient::selectionChanged):
1195         (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
1196         (WebKit::AutoFillPopupMenuClient::initialize):
1197         (WebKit::AutoFillPopupMenuClient::setSuggestions):
1198         * src/AutoFillPopupMenuClient.h:
1199         * src/WebViewImpl.cpp:
1200         (WebKit::WebViewImpl::applyAutoFillSuggestions):
1201         * src/WebViewImpl.h:
1202
1203 2010-06-10  Dmitry Titov  <dimich@chromium.org>
1204
1205         Not reviewed, Chromium build fix from Abhishek Arya.
1206
1207         * src/WebImageCG.cpp:
1208         (WebKit::WebImage::WebImage):
1209         (WebKit::WebImage::operator=):
1210
1211 2010-06-10  Abhishek Arya  <inferno@chromium.org>
1212
1213         Reviewed by Dimitri Glazkov.
1214
1215         Add null pointer checks for nativeImageForCurrentFrame
1216         function calls.
1217         https://bugs.webkit.org/show_bug.cgi?id=39797
1218
1219         * src/WebImageCG.cpp:
1220         (WebKit::WebImage::WebImage):
1221         (WebKit::WebImage::operator=):
1222
1223 2010-06-10  Yury Semikhatsky  <yurys@chromium.org>
1224
1225         Reviewed by Pavel Feldman.
1226
1227         Web Inspector: to reduce the front end start up time don't push script
1228         sources to frontend if debugger is always enabled, instead request
1229         script content lazily at the moment it should be displyed. It is critical for
1230         always enabled debugger because in that case lots of script may have
1231         already been parsed when the front end is opening and pushing all
1232         of them at once may slow things down(even though the script sources will never
1233         be used if scripts panel isn't open).
1234         https://bugs.webkit.org/show_bug.cgi?id=40364
1235
1236         * src/js/DevTools.js:
1237         * src/js/InspectorControllerImpl.js:
1238         (devtools.InspectorBackendImpl):
1239         (.devtools.InspectorBackendImpl.prototype.getScriptSource):
1240
1241 2010-06-10  Mike Belshe  <mbelshe@google.com>
1242
1243         Reviewed by David Levin
1244
1245         Track whether a resource is loaded via a proxy.
1246
1247         https://bugs.webkit.org/show_bug.cgi?id=40312
1248
1249         * public/WebURLResponse.h:
1250         * src/WebURLResponse.cpp:
1251         (WebKit::WebURLResponse::wasFetchedViaProxy):
1252         (WebKit::WebURLResponse::setWasFetchedViaProxy):
1253
1254 2010-06-10  Vangelis Kokkevis  <vangelis@chromium.org>
1255
1256         Reviewed by Dimitri Glazkov.
1257
1258         [chromium] Adding the ANGLE project to the DEPS file as it's required
1259         by the gpu-accelerated compositor.
1260         https://bugs.webkit.org/show_bug.cgi?id=40379
1261
1262         * DEPS:
1263
1264 2010-06-09  Bo Liu  <boliu@chromium.org>
1265
1266         Reviewed by David Levin.
1267
1268         [Chromium] Pass <video> full screen calls to Chromium port client
1269         https://bugs.webkit.org/show_bug.cgi?id=40317
1270
1271         * public/WebViewClient.h:
1272         (WebKit::WebViewClient::supportsFullscreen):
1273         (WebKit::WebViewClient::enterFullscreenForNode):
1274         (WebKit::WebViewClient::exitFullscreenForNode):
1275         * src/ChromeClientImpl.cpp:
1276         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1277         (WebKit::ChromeClientImpl::enterFullscreenForNode):
1278         (WebKit::ChromeClientImpl::exitFullscreenForNode):
1279         * src/ChromeClientImpl.h:
1280
1281 2010-06-09  Kenneth Russell  <kbr@google.com>
1282
1283         Reviewed by Dimitri Glazkov.
1284
1285         Rename FloatArray to Float32Array
1286         https://bugs.webkit.org/show_bug.cgi?id=40323
1287
1288         Used do-webcore-rename to perform renaming. Manually undid
1289         incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp,
1290         WebCore/manual-tests/resources/ArrayParameterTestApplet.java and
1291         ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran
1292         all layout tests on Safari; built Chromium and ran selected WebGL
1293         tests.
1294
1295         * src/GraphicsContext3D.cpp:
1296
1297 2010-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1298
1299         Unreviewed, rolling out r60889.
1300         http://trac.webkit.org/changeset/60889
1301         https://bugs.webkit.org/show_bug.cgi?id=40365
1302
1303         gtk bot has some kind of memory corruption (Requested by
1304         loislo on #webkit).
1305
1306         * src/InspectorClientImpl.cpp:
1307         * src/InspectorClientImpl.h:
1308         * src/WebDevToolsAgentImpl.cpp:
1309         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
1310
1311 2010-06-09  Pavel Podivilov  <podivilov@chromium.org>
1312
1313         Reviewed by Yury Semikhatsky.
1314
1315         Web Inspector: retreive debugger script source synchronously when
1316         frontend is attached. We need this to be able to stop on top-level
1317         breakpoints.
1318         https://bugs.webkit.org/show_bug.cgi?id=40289
1319
1320         * WebKit.gypi:
1321         * src/DebuggerAgent.h:
1322         * src/DebuggerAgentImpl.cpp:
1323         * src/DebuggerAgentImpl.h:
1324         * src/WebDevToolsAgentImpl.cpp:
1325         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
1326         * src/js/DebuggerScript.js:
1327         * src/js/DevTools.js:
1328         (WebInspector.loaded):
1329         * src/js/DevToolsHostStub.js:
1330
1331 2010-06-07  Ilya Tikhonovsky  <loislo@chromium.org>
1332
1333         Reviewed by Pavel Feldman.
1334
1335         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
1336         data from inspected page to WebInspector as JSON string via http. The native
1337         serialization to JSON string is supported by InspectorValue's classes. This patch
1338         has the implementation of sendMessageToFrontend function. WebKit version of it still
1339         uses ScriptFunctionCall and will be switched to another transport a little bit later.
1340         https://bugs.webkit.org/show_bug.cgi?id=40134
1341
1342         * src/InspectorClientImpl.cpp:
1343         (WebKit::InspectorClientImpl::sendMessageToFrontend):
1344         * src/InspectorClientImpl.h:
1345         * src/WebDevToolsAgentImpl.cpp:
1346         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
1347
1348 2010-06-09  Yury Semikhatsky  <yurys@chromium.org>
1349
1350         Reviewed by Pavel Feldman.
1351
1352         Web Inspector: update stack trace after script source editing
1353         https://bugs.webkit.org/show_bug.cgi?id=40357
1354
1355         * src/js/DebuggerAgent.js:
1356         (devtools.DebuggerAgent.prototype.editScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
1357         (devtools.DebuggerAgent.prototype.editScriptSource.requestBacktrace):
1358         (devtools.DebuggerAgent.prototype.editScriptSource.handleBacktraceResponse):
1359         (devtools.DebuggerAgent.prototype.editScriptSource.reportDidCommitEditing):
1360         (devtools.DebuggerAgent.prototype.editScriptSource):
1361         (devtools.DebuggerAgent.prototype.requestBacktrace_):
1362         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
1363         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
1364         (devtools.DebuggerAgent.prototype.updateCallFramesFromBacktraceResponse_):
1365         * src/js/InspectorControllerImpl.js:
1366         (.devtools.InspectorBackendImpl.prototype.editScriptSource):
1367
1368 2010-06-08  Tony Chang  <tony@chromium.org>
1369
1370         Reviewed by David Levin.
1371
1372         [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
1373         https://bugs.webkit.org/show_bug.cgi?id=40285
1374
1375         Take 2 at landing this patch, this time rolling DEPS just a bit
1376         further to pick up some chromium fixes.
1377
1378         * DEPS
1379         * gyp_webkit:
1380
1381 2010-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1382
1383         Unreviewed, rolling out r60878.
1384         http://trac.webkit.org/changeset/60878
1385         https://bugs.webkit.org/show_bug.cgi?id=40349
1386
1387         broke linux build (Requested by tony^work on #webkit).
1388
1389         * DEPS:
1390         * gyp_webkit:
1391
1392 2010-06-08  Tony Chang  <tony@chromium.org>
1393
1394         Reviewed by David Levin.
1395
1396         [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
1397         https://bugs.webkit.org/show_bug.cgi?id=40285
1398
1399         * gyp_webkit:
1400
1401 2010-06-08  Tony Chang  <tony@chromium.org>
1402
1403         Not reviewed, build fix.
1404
1405         [chromium] fix linux compile
1406         https://bugs.webkit.org/show_bug.cgi?id=40343
1407
1408         * DEPS:
1409
1410 2010-06-08  Yury Semikhatsky  <yurys@chromium.org>
1411
1412         Reviewed by Pavel Feldman.
1413
1414         Web Inspector: extend ScriptDebugServer to support script source editing
1415         https://bugs.webkit.org/show_bug.cgi?id=40297
1416
1417         * src/js/DebuggerAgent.js:
1418         (devtools.ScriptInfo.prototype.worldType):
1419         * src/js/DebuggerScript.js:
1420         (debuggerScriptConstructor.DebuggerScript.editScriptSource):
1421         * src/js/DevTools.js:
1422         (WebInspector.loaded):
1423         * src/js/InspectorControllerImpl.js:
1424         (devtools.InspectorBackendImpl):
1425
1426 2010-06-08  Antonio Gomes  <tonikitoo@webkit.org>
1427
1428         Reviewed by Ojan Vafai and Darin Adler.
1429
1430         Refactor platform dependent editing behavior code out of Settings
1431         https://bugs.webkit.org/show_bug.cgi?id=39854
1432
1433         EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
1434         EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
1435
1436         * src/WebSettingsImpl.cpp:
1437         (WebKit::WebSettingsImpl::setEditingBehavior):
1438 2010-06-07  Tony Chang  <tony@chromium.org>
1439
1440         Reviewed by Kent Tamura.
1441
1442         [chromium] roll chromium DEPS
1443         https://bugs.webkit.org/show_bug.cgi?id=40277
1444
1445         * DEPS:
1446
1447 2010-06-07  Kinuko Yasuda  <kinuko@chromium.org>
1448
1449         Reviewed by Jian Li.
1450
1451         Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder.
1452         https://bugs.webkit.org/show_bug.cgi?id=39083
1453
1454         Replace FormDataList::Item list with BlobItemList to get it compiled
1455         with the refactoring in FormDataList.
1456
1457         * src/WebSearchableFormData.cpp:
1458         (WebCore::HasSuitableTextElement):
1459
1460 2010-06-07  Andrei Popescu  <andreip@google.com>
1461
1462         Reviewed by Jeremy Orlow.
1463
1464         [indexedDB] It is impossible to create object stores
1465         https://bugs.webkit.org/show_bug.cgi?id=40054
1466
1467         * WebKit.gyp:
1468         * public/WebIDBCallbacks.h:
1469         (WebKit::WebIDBCallbacks::onSuccess):
1470         * public/WebIDBDatabase.h:
1471         (WebKit::WebIDBDatabase::createObjectStore):
1472         * public/WebIDBObjectStore.h: Added.
1473         (WebKit::WebIDBObjectStore::~WebIDBObjectStore):
1474         (WebKit::WebIDBObjectStore::name):
1475         (WebKit::WebIDBObjectStore::keyPath):
1476         * src/IDBCallbacksProxy.cpp:
1477         (WebCore::IDBCallbacksProxy::onSuccess):
1478         * src/IDBCallbacksProxy.h:
1479         * src/IDBDatabaseProxy.cpp:
1480         (WebCore::IDBDatabaseProxy::createObjectStore):
1481         * src/IDBDatabaseProxy.h:
1482         * src/IDBObjectStoreProxy.cpp: Added.
1483         (WebCore::IDBObjectStoreProxy::create):
1484         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
1485         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
1486         (WebCore::IDBObjectStoreProxy::name):
1487         (WebCore::IDBObjectStoreProxy::keyPath):
1488         (WebCore::IDBObjectStoreProxy::indexNames):
1489         (WebCore::IDBObjectStoreProxy::createIndex):
1490         (WebCore::IDBObjectStoreProxy::index):
1491         (WebCore::IDBObjectStoreProxy::removeIndex):
1492         * src/IDBObjectStoreProxy.h: Added.
1493         * src/IndexedDatabaseProxy.cpp:
1494         (WebCore::IndexedDatabaseProxy::open):
1495         * src/WebIDBCallbacksImpl.cpp:
1496         (WebCore::WebIDBCallbacksImpl::onSuccess):
1497         * src/WebIDBCallbacksImpl.h:
1498         * src/WebIDBDatabaseImpl.cpp:
1499         (WebKit::WebIDBDatabaseImpl::createObjectStore):
1500         * src/WebIDBDatabaseImpl.h:
1501         * src/WebIDBObjectStoreImpl.cpp: Added.
1502         (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
1503         (WebKit::WebIDBObjectStoreImpl::~WebIDBObjectStoreImpl):
1504         (WebKit::WebIDBObjectStoreImpl::name):
1505         (WebKit::WebIDBObjectStoreImpl::keyPath):
1506         * src/WebIDBObjectStoreImpl.h: Added.
1507         * src/WebIndexedDatabaseImpl.cpp:
1508         (WebKit::WebIndexedDatabaseImpl::open):
1509
1510 2010-06-07  Yury Semikhatsky  <yurys@chromium.org>
1511
1512         Reviewed by Pavel Feldman.
1513
1514         Web Inspector: should be possible to distinguish extension scripts from main world scripts
1515         https://bugs.webkit.org/show_bug.cgi?id=40220
1516
1517         * src/js/DebuggerAgent.js:
1518         (devtools.DebuggerAgent.prototype.initUI):
1519         (devtools.DebuggerAgent.prototype.addScriptInfo_):
1520         (devtools.DebuggerAgent.prototype.formatCallFrame_):
1521         (devtools.ScriptInfo.prototype.worldType):
1522         * src/js/DebuggerScript.js:
1523         (debuggerScriptConstructor.DebuggerScript.getScripts): use only context id without context type
1524         when filtering scripts so that extension scripts are also included.
1525         (debuggerScriptConstructor.DebuggerScript._formatScript):
1526         * src/js/devTools.css:
1527
1528 2010-06-04  Jay Civelli  <jcivelli@chromium.org>
1529
1530         Reviewed by Dimitri Glazkov.
1531
1532         Accessibility focus change notifications are now sent from
1533         ChromeClientImpl::focusedNodeChanged().
1534         https://bugs.webkit.org/show_bug.cgi?id=39792
1535
1536         * src/ChromeClientImpl.cpp:
1537         (WebKit::ChromeClientImpl::focus):
1538         (WebKit::ChromeClientImpl::focusedNodeChanged):
1539
1540 2010-06-04  Jay Civelli  <jcivelli@chromium.org>
1541
1542         Reviewed by David Levin.
1543
1544         [chromium] Adding support for the left and right Windows keys to the
1545                    NativeWebKeyboardEvent.
1546         https://bugs.webkit.org/show_bug.cgi?id=39752
1547
1548         * src/gtk/WebInputEventFactory.cpp:
1549         (WebKit::gdkEventToWindowsKeyCode):
1550
1551 2010-06-04  Pavel Podivilov  <podivilov@chromium.org>
1552
1553         Reviewed by Yury Semikhatsky.
1554
1555         Web Inspector: Create resource for DebuggerScript.js.
1556         https://bugs.webkit.org/show_bug.cgi?id=40122
1557
1558         * WebKit.grd:
1559         * public/WebDevToolsAgentClient.h:
1560         (WebKit::WebDevToolsAgentClient::debuggerScriptSource):
1561
1562 2010-05-26  MORITA Hajime  <morrita@google.com>
1563
1564         Reviewed by Jian Li.
1565
1566         [Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges
1567         https://bugs.webkit.org/show_bug.cgi?id=39725
1568
1569         Added WebViewImpl::scrollForDragging() to handle scroll-on-drag.
1570         Note that this change handes both source and destination cases.
1571         
1572         * public/WebView.h:
1573         * src/WebViewImpl.cpp:
1574         (WebKit::WebViewImpl::dragSourceMovedTo):
1575         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
1576         (WebKit::WebViewImpl::scrollForDragging):
1577         * src/WebViewImpl.h:
1578
1579 2010-06-03  Yury Semikhatsky  <yurys@chromium.org>
1580
1581         Reviewed by Pavel Feldman.
1582
1583         [v8] Web Inspector: show "Object" as description for values with anonymous constructor
1584         https://bugs.webkit.org/show_bug.cgi?id=40121
1585
1586         * src/js/DevTools.js: don't call DebuggerAgent methods if ScriptDebugServer is used.
1587
1588 2010-06-03  Kent Tamura  <tkent@chromium.org>
1589
1590         Reviewed by Dimitri Glazkov.
1591
1592         [DRT/Chromium] Checking out lighttpd
1593         https://bugs.webkit.org/show_bug.cgi?id=39948
1594
1595         - Add lighttpd only on Windows. It is used by new-run-webkit-tests.
1596         - Add libvpx.
1597         - Remove pthreads-win32 from DEPS.
1598           It has not been used since Chromium r28642.
1599         - Update Chromium revision to use Windows resource query code and
1600           webkit_glue dependency fix.
1601
1602         * DEPS:
1603
1604 2010-06-02  Tony Chang  <tony@chromium.org>
1605
1606         Reviewed by Kent Tamura.
1607
1608         [chromium] refactor WebKit.gyp's DRT section so the conditions are less messy
1609         https://bugs.webkit.org/show_bug.cgi?id=40104
1610
1611         * WebKit.gyp:
1612
1613 2010-06-02  Tony Chang  <tony@chromium.org>
1614
1615         Not reviewed, build fix in downstream chromium.
1616
1617         Fix the path to repack.py so it works in a chromium checkout too.
1618
1619         * WebKit.gyp:
1620
1621 2010-06-02  Tony Chang  <tony@chromium.org>
1622
1623         Reviewed by Kent Tamura.
1624
1625         [chromium] generate DumpRenderTree.pak on DRT linux
1626         https://bugs.webkit.org/show_bug.cgi?id=40098
1627
1628         * WebKit.gyp:
1629
1630 2010-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>
1631
1632         Unreviewed, rolling out r60592.
1633         http://trac.webkit.org/changeset/60592
1634         https://bugs.webkit.org/show_bug.cgi?id=40099
1635
1636         broke the build, need to coordiate updating DEPS (Requested by
1637         tony^work on #webkit).
1638
1639         * DEPS:
1640         * public/WebMediaPlayer.h:
1641
1642 2010-06-02  Victoria Kirst  <vrk@google.com>
1643
1644         Reviewed by David Levin.
1645
1646         Modifying the WebMediaPlayer interface to be compatible with
1647         a change in chrome.
1648         This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
1649         has been updated, so this commit should NOT break chromium anymore.
1650         https://bugs.webkit.org/show_bug.cgi?id=39445
1651
1652         * DEPS: Updated to a newer chrome revision number.
1653         * public/WebMediaPlayer.h: Changed buffered() to be non-const.
1654
1655 2010-06-02  Peter Kasting  <pkasting@google.com>
1656
1657         Unreviewed, emergency fix for test crashes (verbal r+ beforehand from
1658         John Gregg).
1659
1660         Temporarily make notificationObjectDestroyed() a no-op to avoid an
1661         ASSERT failure.
1662
1663         https://bugs.webkit.org/show_bug.cgi?id=40097
1664
1665         * src/NotificationPresenterImpl.cpp:
1666         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
1667
1668 2010-06-02  Sterling Swigart  <sswigart@google.com>
1669
1670         Reviewed by David Levin.
1671
1672         Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches.
1673         https://bugs.webkit.org/show_bug.cgi?id=39906
1674
1675         * features.gypi:
1676
1677 2010-06-01  James Hawkins  <jhawkins@chromium.org>
1678
1679         UNREVIEWED: build fix.
1680
1681         Implement the added virtual methods from PopupMenuClient to
1682         TestPopupMenuClient.
1683
1684         * tests/PopupMenuTest.cpp:
1685         (WebKit::TestPopupMenuClient::selectionChanged):
1686         (WebKit::TestPopupMenuClient::selectionCleared):
1687
1688 2010-05-24  James Hawkins  <jhawkins@chromium.org>
1689
1690         Reviewed by Darin Fisher.
1691
1692         [Chromium] Implement new PopupMenuClient methods selectionChanged()
1693         and selectionCleared().  Expose placeHolder methods and isAutoFilled()
1694         in WebInputElement.
1695
1696         https://bugs.webkit.org/show_bug.cgi?id=39639
1697
1698         * public/WebInputElement.h:
1699         * public/WebViewClient.h:
1700         (WebKit::WebViewClient::didSelectAutoFillSuggestion):
1701         (WebKit::WebViewClient::didClearAutoFillSelection):
1702         * src/AutoFillPopupMenuClient.cpp:
1703         (WebKit::AutoFillPopupMenuClient::selectionChanged):
1704         (WebKit::AutoFillPopupMenuClient::selectionCleared):
1705         (WebKit::AutoFillPopupMenuClient::popupDidHide):
1706         * src/AutoFillPopupMenuClient.h:
1707         * src/SuggestionsPopupMenuClient.h:
1708         (WebKit::SuggestionsPopupMenuClient::selectionChanged):
1709         (WebKit::SuggestionsPopupMenuClient::selectionCleared):
1710         * src/WebInputElement.cpp:
1711         (WebKit::WebInputElement::setPlaceholder):
1712         (WebKit::WebInputElement::placeholder):
1713         (WebKit::WebInputElement::isAutofilled):
1714
1715 2010-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1716
1717         Unreviewed, rolling out r60483.
1718         http://trac.webkit.org/changeset/60483
1719         https://bugs.webkit.org/show_bug.cgi?id=40013
1720
1721         Breaks Mac and Linux builds (Requested by antonm on #webkit).
1722
1723         * DEPS:
1724
1725 2010-06-01  Jeremy Orlow  <jorlow@chromium.org>
1726
1727         Reviewed by Darin Fisher.
1728
1729         IndexedDB cleanup
1730         https://bugs.webkit.org/show_bug.cgi?id=40007
1731
1732         Remove the exception code paramter (that hasn't been used for a while).
1733         Add asserts to default implementations.
1734
1735         * public/WebIDBDatabase.h:
1736         (WebKit::WebIDBDatabase::name):
1737         (WebKit::WebIDBDatabase::description):
1738         (WebKit::WebIDBDatabase::version):
1739         (WebKit::WebIDBDatabase::objectStores):
1740         * public/WebIndexedDatabase.h:
1741         (WebKit::WebIndexedDatabase::open):
1742         * src/WebIndexedDatabaseImpl.cpp:
1743         (WebKit::WebIndexedDatabaseImpl::open):
1744         * src/WebIndexedDatabaseImpl.h:
1745
1746 2010-06-01  Anton Muhin  <antonm@chromium.org>
1747
1748         Reviewed by Dimitri Glazkov.
1749
1750         Rolling Chromium revision to bring recent changes to V8.
1751
1752         * DEPS:
1753
1754 2010-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1755
1756         Unreviewed, rolling out r60470.
1757         http://trac.webkit.org/changeset/60470
1758         https://bugs.webkit.org/show_bug.cgi?id=39990
1759
1760         Need to rollout until bot can be updated (Requested by jorlow
1761         on #webkit).
1762
1763         * DEPS:
1764
1765 2010-05-31  Pavel Podivilov  <podivilov@chromium.org>
1766
1767         Reviewed by Pavel Feldman.
1768
1769         Chromium: save inspector settings as dictionary, not as string.
1770         https://bugs.webkit.org/show_bug.cgi?id=32118
1771
1772         * public/WebView.h:
1773         * public/WebViewClient.h:
1774         (WebKit::WebViewClient::didUpdateInspectorSetting):
1775         * src/InspectorClientImpl.cpp:
1776         (WebKit::InspectorClientImpl::populateSetting):
1777         (WebKit::InspectorClientImpl::storeSetting):
1778         * src/InspectorClientImpl.h:
1779         * src/WebViewImpl.cpp:
1780         (WebKit::WebViewImpl::WebViewImpl):
1781         (WebKit::WebViewImpl::inspectorSetting):
1782         (WebKit::WebViewImpl::setInspectorSetting):
1783         * src/WebViewImpl.h:
1784
1785 2010-05-31  James Robinson  <jamesr@chromium.org>
1786
1787         Reviewed by Darin Fisher.
1788
1789         Expose html5 parser enabled flag in WebSettings
1790         https://bugs.webkit.org/show_bug.cgi?id=39913
1791
1792         * public/WebSettings.h:
1793         * src/WebSettingsImpl.cpp:
1794         (WebKit::WebSettingsImpl::setHTML5ParserEnabled):
1795         * src/WebSettingsImpl.h:
1796
1797 2010-05-31  Lyon Chen  <liachen@rim.com>
1798
1799         Reviewed by Kent Tamura.
1800
1801         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
1802         https://bugs.webkit.org/show_bug.cgi?id=35530
1803
1804         Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance.
1805
1806         * src/WebFrameImpl.cpp:
1807         (WebKit::WebFrameImpl::executeCommand):
1808
1809 2010-05-31  Roland Steiner  <rolandsteiner@chromium.org>
1810
1811         Bug 39977 - Missing Chromium bindings for InspectorController methods introduced in r60443
1812         https://bugs.webkit.org/show_bug.cgi?id=39977
1813         
1814         add missing InspectorController JS bindings:
1815         - getStyleSheet
1816         - getRuleRangesForStyleSheetId
1817         
1818         Tests: inspector/styles-source-offsets.html
1819
1820         * src/js/InspectorControllerImpl.js:
1821         (devtools.InspectorBackendImpl):
1822
1823 2010-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1824
1825         Unreviewed, rolling out r60456.
1826         http://trac.webkit.org/changeset/60456
1827         https://bugs.webkit.org/show_bug.cgi?id=39974
1828
1829         Broke Chromium Linux/Max build (Requested by tkent on
1830         #webkit).
1831
1832         * DEPS:
1833
1834 2010-05-31  Kent Tamura  <tkent@chromium.org>
1835
1836         Reviewed by Dimitri Glazkov.
1837
1838         [DRT/Chromium] Checking out lighttpd
1839         https://bugs.webkit.org/show_bug.cgi?id=39948
1840
1841         - Checking out lighttpd only on Windows. It is used by new-run-webkit-tests.
1842         - Update Chromium revision to use Windows resource query code
1843
1844         * DEPS:
1845
1846 2010-05-31  Yury Semikhatsky  <yurys@chromium.org>
1847
1848         Reviewed by Pavel Feldman.
1849
1850         Web Inspector: allow hiding Scripts panel from Chromium code. This
1851         is needed to support v8 debugging protocol which has an implementation
1852         that conflicts with debugger provided by the inspector.
1853         https://bugs.webkit.org/show_bug.cgi?id=39952
1854
1855         * public/WebDevToolsAgentClient.h:
1856         (WebKit::WebDevToolsAgentClient::exposeV8DebuggerProtocol):
1857         * public/WebDevToolsFrontendClient.h:
1858         (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
1859         (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
1860         (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
1861         (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
1862         (WebKit::WebDevToolsFrontendClient::activateWindow):
1863         (WebKit::WebDevToolsFrontendClient::closeWindow):
1864         (WebKit::WebDevToolsFrontendClient::requestDockWindow):
1865         (WebKit::WebDevToolsFrontendClient::requestUndockWindow):
1866         (WebKit::WebDevToolsFrontendClient::hideScriptsPanel):
1867         * src/DebuggerAgentManager.cpp:
1868         (WebKit::DebuggerAgentManager::debugAttach):
1869         (WebKit::DebuggerAgentManager::debugDetach):
1870         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1871         * src/DebuggerAgentManager.h:
1872         * src/InspectorFrontendClientImpl.cpp:
1873         (WebKit::InspectorFrontendClientImpl::hiddenPanels):
1874         * src/WebDevToolsAgentImpl.cpp:
1875         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1876         (WebKit::WebDevToolsAgentImpl::attach):
1877
1878 2010-05-30  Lyon Chen  <liachen@rim.com>
1879
1880         Reviewed by Kent Tamura.
1881
1882         This is a coding style cleanup before fixing to bug 35530.
1883
1884         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
1885         https://bugs.webkit.org/show_bug.cgi?id=35530
1886
1887         * src/WebFrameImpl.cpp:
1888         (WebKit::WebFrameImpl::find):
1889         (WebKit::WebFrameImpl::scopeStringMatches):
1890         (WebKit::WebFrameImpl::createChildFrame):
1891         (WebKit::WebFrameImpl::shouldScopeMatches):
1892
1893 2010-05-30  Daniel Bates  <dbates@rim.com>
1894
1895         Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
1896
1897         I missed a few call sites in the Chromium source when I
1898         landed http://trac.webkit.org/changeset/60419.
1899
1900         Credit to Chris Jerdonek for looking over both this patch and the patch
1901         committed in r60419.
1902
1903         * src/WebSearchableFormData.cpp:
1904         (WebCore::GetButtonToActivate):
1905         (WebCore::HasSuitableTextElement):
1906
1907 2010-05-30  Daniel Bates  <dbates@rim.com>
1908
1909         Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
1910
1911         * src/EditorClientImpl.cpp:
1912         (WebKit::EditorClientImpl::autofill):
1913         * src/WebFormControlElement.cpp:
1914         (WebKit::WebFormControlElement::formControlName):
1915         (WebKit::WebFormControlElement::formControlType):
1916         * src/WebFormElement.cpp:
1917         (WebKit::WebFormElement::getFormControlElements):
1918         * src/WebPasswordFormUtils.cpp:
1919         (WebKit::findPasswordFormFields):
1920
1921 2010-05-30  Jessie Berlin  <jberlin@webkit.org>
1922
1923         Reviewed by Pavel Feldman.
1924
1925         https://bugs.webkit.org/show_bug.cgi?id=39224
1926         Bug 39224 - Web Inspector: There should be a way to clean up profiles
1927
1928         * src/js/InspectorControllerImpl.js:
1929         (devtools.InspectorBackendImpl):
1930
1931 2010-05-29  Vangelis Kokkevis  <vangelis@chromium.org>
1932
1933         Reviewed by Darin Fisher.
1934
1935         Adding support for a runtime flag to enable accelerated
1936         compositing in chromium.
1937         https://bugs.webkit.org/show_bug.cgi?id=39917
1938
1939         * public/WebSettings.h:
1940         * src/WebSettingsImpl.cpp:
1941         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
1942         * src/WebSettingsImpl.h:
1943
1944 2010-05-28  Aaron Boodman  <aa@chromium.org>
1945
1946         Reviewed by Darin Fisher.
1947
1948         Add isXHTMLDocument() to WebDocument.
1949
1950         https://bugs.webkit.org/show_bug.cgi?id=39887
1951
1952         * public/WebDocument.h: Add isXHTMLDocument().
1953         * src/WebDocument.cpp: ditto.
1954         (WebKit::WebDocument::isXHTMLDocument): dittorama.
1955
1956 2010-05-27  Jeremy Orlow  <jorlow@chromium.org>
1957
1958         Reviewed by Steve Block.
1959
1960         Add IndexedDB's IDBIndex
1961         https://bugs.webkit.org/show_bug.cgi?id=39850
1962
1963         Add WebKit layer for IDBIndex.
1964
1965         * WebKit.gyp:
1966         * public/WebCommon.h:
1967         * public/WebIDBCallbacks.h:
1968         (WebKit::WebIDBCallbacks::onError):
1969         (WebKit::WebIDBCallbacks::onSuccess):
1970         * public/WebIDBDatabase.h:
1971         * public/WebIDBIndex.h: Added.
1972         (WebKit::WebIDBIndex::~WebIDBIndex):
1973         (WebKit::WebIDBIndex::name):
1974         (WebKit::WebIDBIndex::keyPath):
1975         (WebKit::WebIDBIndex::unique):
1976         * src/IDBCallbacksProxy.cpp:
1977         (WebCore::IDBCallbacksProxy::onSuccess):
1978         * src/IDBCallbacksProxy.h:
1979         * src/IDBDatabaseProxy.cpp:
1980         * src/IDBDatabaseProxy.h:
1981         * src/IDBIndexProxy.cpp: Added.
1982         (WebCore::IDBIndexProxy::create):
1983         (WebCore::IDBIndexProxy::IDBIndexProxy):
1984         (WebCore::IDBIndexProxy::~IDBIndexProxy):
1985         (WebCore::IDBIndexProxy::name):
1986         (WebCore::IDBIndexProxy::keyPath):
1987         (WebCore::IDBIndexProxy::unique):
1988         * src/IDBIndexProxy.h: Added.
1989         * src/WebIDBCallbacksImpl.cpp:
1990         (WebCore::WebIDBCallbacksImpl::onSuccess):
1991         * src/WebIDBCallbacksImpl.h:
1992         * src/WebIDBDatabaseImpl.cpp:
1993         * src/WebIDBDatabaseImpl.h:
1994         * src/WebIDBIndexImpl.cpp: Added.
1995         (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
1996         (WebKit::WebIDBIndexImpl::~WebIDBIndexImpl):
1997         (WebKit::WebIDBIndexImpl::name):
1998         (WebKit::WebIDBIndexImpl::keyPath):
1999         (WebKit::WebIDBIndexImpl::unique):
2000         * src/WebIDBIndexImpl.h: Added.
2001
2002 2010-05-28  Yury Semikhatsky  <yurys@chromium.org>
2003
2004         Reviewed by Pavel Feldman.
2005
2006         Web Inspector: check that ClientMessageLoopAdapter is not 0 before
2007         accessing its fileds from inspectedViewClosed method. It may be 0
2008         if inspector frontend has not been open.
2009         https://bugs.webkit.org/show_bug.cgi?id=39876
2010
2011         * src/WebDevToolsAgentImpl.cpp:
2012         (WebKit::):
2013
2014 2010-05-27  Eric Uhrhane  <ericu@chromium.org>
2015
2016         Reviewed by Adam Barth.
2017
2018         Add v8 bindings for async DB API in workers
2019         https://bugs.webkit.org/show_bug.cgi?id=39145
2020         
2021         * src/DatabaseObserver.cpp:
2022         We should check that we're on the context thread now, not the main
2023         thread.
2024         (WebCore::DatabaseObserver::databaseOpened):
2025         (WebCore::DatabaseObserver::databaseModified):
2026         (WebCore::DatabaseObserver::databaseClosed):
2027
2028 2010-05-27  Yury Semikhatsky  <yurys@chromium.org>
2029
2030         Reviewed by Pavel Feldman.
2031
2032         Resume script execution if user tries to navigate to another URL
2033         https://bugs.webkit.org/show_bug.cgi?id=39842
2034
2035         * src/WebDevToolsAgentImpl.cpp:
2036         (WebKit::):
2037         (WebKit::WebDevToolsAgentImpl::didNavigate):
2038
2039 2010-05-27  Zhenyao Mo  <zmo@google.com>
2040
2041         Reviewed by Dimitri Glazkov.
2042
2043         Implement lazy clearing of renderbuffers
2044         https://bugs.webkit.org/show_bug.cgi?id=36248
2045
2046         * src/WebGraphicsContext3DDefaultImpl.cpp:
2047         (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Clear WebGL internal buffers.
2048
2049 2010-05-26  Roland Steiner  <rolandsteiner@chromium.org>
2050
2051         Reviewed by NOBODY (layout test crashing fix).
2052
2053         Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
2054         https://bugs.webkit.org/show_bug.cgi?id=39811
2055
2056         Initialize the pluginIndex field (quick fix).
2057
2058         Tests: covered by fast/dom/prototype-inheritance-2.html
2059         (crashed under Chromium Linux and Windows)
2060
2061         * src/WebPluginListBuilderImpl.cpp:
2062         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
2063
2064 2010-05-26  Anders Carlsson  <andersca@apple.com>
2065
2066         Reviewed by Darin Adler.
2067
2068         Clean up MimeClassInfo and PluginInfo
2069         https://bugs.webkit.org/show_bug.cgi?id=39700
2070
2071         Update for WebCore changes.
2072
2073         * src/WebPluginListBuilderImpl.cpp:
2074         (WebKit::WebPluginListBuilderImpl::addPlugin):
2075         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
2076         (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
2077         * src/WebPluginListBuilderImpl.h:
2078         (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
2079
2080 2010-05-26  Jeremy Orlow  <jorlow@chromium.org>
2081
2082         Unreviewed chromium build fix
2083         https://bugs.webkit.org/show_bug.cgi?id=39739
2084
2085         The backwards compat function needs to take in a WebSecurityOrigin
2086         instead of a WebString.
2087
2088         * public/WebIndexedDatabase.h:
2089         (WebKit::WebIndexedDatabase::open):
2090
2091 2010-05-26  Jeremy Orlow  <jorlow@chromium.org>
2092
2093         Reviewed by Darin Fisher.
2094
2095         Implement WebDOMStorageList and make WebIDBDatabase use it
2096         https://bugs.webkit.org/show_bug.cgi?id=39731
2097
2098         * WebKit.gyp:
2099         * public/WebDOMStringList.h: Added.
2100         (WebKit::WebDOMStringList::~WebDOMStringList):
2101         (WebKit::WebDOMStringList::WebDOMStringList):
2102         (WebKit::WebDOMStringList::operator=):
2103         * public/WebIDBDatabase.h:
2104         (WebKit::WebIDBDatabase::objectStores):
2105         * src/IDBDatabaseProxy.cpp:
2106         (WebCore::IDBDatabaseProxy::objectStores):
2107         * src/WebDOMStringList.cpp: Added.
2108         (WebKit::WebDOMStringList::reset):
2109         (WebKit::WebDOMStringList::assign):
2110         (WebKit::WebDOMStringList::append):
2111         (WebKit::WebDOMStringList::length):
2112         (WebKit::WebDOMStringList::item):
2113         (WebKit::WebDOMStringList::WebDOMStringList):
2114         (WebKit::WebDOMStringList::operator=):
2115         (WebKit::WebDOMStringList::operator WTF::PassRefPtr<WebCore::DOMStringList>):
2116         * src/WebIDBDatabaseImpl.cpp:
2117         (WebKit::WebIDBDatabaseImpl::objectStores):
2118         * src/WebIDBDatabaseImpl.h:
2119
2120 2010-05-24  Jeremy Orlow  <jorlow@chromium.org>
2121
2122         Reviewed by Steve Block.
2123
2124         Add IDBDatabase's attributes
2125         https://bugs.webkit.org/show_bug.cgi?id=39602
2126
2127         Plumbing to hook up the synchronous attribute requests
2128         on IDBDatabase.
2129
2130         * public/WebIDBDatabase.h:
2131         (WebKit::WebIDBDatabase::name):
2132         (WebKit::WebIDBDatabase::description):
2133         (WebKit::WebIDBDatabase::version):
2134         (WebKit::WebIDBDatabase::objectStores):
2135         * src/IDBDatabaseProxy.cpp:
2136         (WebCore::IDBDatabaseProxy::name):
2137         (WebCore::IDBDatabaseProxy::description):
2138         (WebCore::IDBDatabaseProxy::version):
2139         (WebCore::IDBDatabaseProxy::objectStores):
2140         * src/IDBDatabaseProxy.h:
2141         * src/WebIDBDatabaseImpl.cpp:
2142         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
2143         (WebKit::WebIDBDatabaseImpl::name):
2144         (WebKit::WebIDBDatabaseImpl::description):
2145         (WebKit::WebIDBDatabaseImpl::version):
2146         (WebKit::WebIDBDatabaseImpl::objectStores):
2147         * src/WebIDBDatabaseImpl.h:
2148
2149 2010-05-24  Dirk Pranke  <dpranke@chromium.org>
2150
2151         Reviewed by Dimitri Glazkov.
2152
2153         Re-commit r58765 - it had been rolled out to see if it was causing
2154         a perf regression (in r59787 and r59789), but that does not seem to
2155         have been the case.
2156
2157         * public/WebNotification.h:
2158         * src/WebNotification.cpp:
2159         (WebKit::WebNotification::dir):
2160         (WebKit::WebNotification::replaceId):
2161
2162 2010-05-25  Brett Wilson  <brettw@chromium.org>
2163
2164         Reviewed by Darin Fisher.
2165
2166         Remove obsolete code for Mac & Windows plugin creation in the Chromium
2167         port. This non-Windows code was to prevent a crash which we no longer
2168         seem to have, and it is preventing other types of plugins from working.
2169         https://bugs.webkit.org/show_bug.cgi?id=39684
2170
2171         * src/FrameLoaderClientImpl.cpp:
2172         (WebKit::FrameLoaderClientImpl::createPlugin):
2173
2174 2010-05-25  Kent Tamura  <tkent@chromium.org>
2175
2176         Reviewed by Dimitri Glazkov.
2177
2178         [DRT/Chromium] Enable 3D_CANVAS, FILTERS, METER_TAG and PROGRESS_TAG
2179         https://bugs.webkit.org/show_bug.cgi?id=39652
2180
2181         3D_CANVAS and FILTERS have been enabled for Chromium tree
2182         build. They fix dozens of unexpected test results in a case of
2183         upstreaming build.
2184         Enable METER_TAG and PROGRESS_TAG too because they will be enabled
2185         in Chromium tree in the near future.
2186
2187         * features.gypi:
2188
2189 2010-05-25  Vangelis Kokkevis  <vangelis@chromium.org>
2190
2191         Reviewed by Darin Fisher.
2192
2193         The GraphicsContext that serves as a backing store for the root layer
2194         updates when doing accelerated compositing is now stored in LayerRendererChromium
2195         instead of the Layer itself. Updating code in WebViewImpl to reflect
2196         that change.
2197         https://bugs.webkit.org/show_bug.cgi?id=39640
2198
2199         * src/WebViewImpl.cpp:
2200         (WebKit::WebViewImpl::updateRootLayerContents):
2201
2202 2010-05-24  Yury Semikhatsky  <yurys@chromium.org>
2203
2204         Reviewed by Pavel Feldman.
2205
2206         ScriptDebugServer is now implemented as DebugEventListener which means it doesn't
2207         depend on v8 debugging protocol, instead it uses ExecState to collect debugging
2208         info and pass it to the listeners.
2209
2210         New implementation of ScriptDebugServer uses methods provided by client to dispatch
2211         its messages while JS is paused(previously the messages was dispatched in a callback
2212         passed to v8 along with DebugEventHandler).
2213
2214         Pause command is dispatched on IO thread.
2215
2216         https://bugs.webkit.org/show_bug.cgi?id=39594
2217
2218         * public/WebDevToolsAgentClient.h:
2219         (WebKit::WebDevToolsAgentClient::ClientMessageLoop::~ClientMessageLoop):
2220         (WebKit::WebDevToolsAgentClient::createClientMessageLoop): Returns an object that allows to run
2221         nested client message loop while script execution is paused on a breakpoint.
2222         * src/DebuggerAgentManager.cpp:
2223         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
2224         * src/DebuggerAgentManager.h:
2225         * src/WebDevToolsAgentImpl.cpp:
2226         (WebKit::):
2227         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
2228         (WebKit::WebDevToolsAgentImpl::attach):
2229         * src/js/DebuggerScript.js:
2230         (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
2231         (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
2232         (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
2233         (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
2234         * src/js/InspectorControllerImpl.js:
2235         (devtools.InspectorBackendImpl):
2236         (else.devtools.InspectorBackendImpl.prototype.pauseInDebugger): Pause command should be handled on IO
2237         thread so that script can be paused even if it's in an infinite loop.
2238
2239 2010-05-25  Yury Semikhatsky  <yurys@chromium.org>
2240
2241         Reviewed by Pavel Feldman.
2242
2243         Add memory graph to Timeline overview pane.
2244
2245         https://bugs.webkit.org/show_bug.cgi?id=37879
2246
2247         * src/js/devTools.css:
2248         (.timeline-category-statusbar-item input):
2249
2250 2010-05-24  Tony Chang  <tony@chromium.org>
2251
2252         Reviewed by David Levin.
2253
2254         [chromium] Fix zoom tests after r60104
2255         https://bugs.webkit.org/show_bug.cgi?id=39645
2256         
2257         m_zoomFactor moved from Frame to FrameView.  FrameView has separate
2258         notions of page zoom and text zoom.  In my hurried compile fix, I
2259         assumed that m_zoomFactor was for page zoom, but it's not always.
2260
2261         * src/WebViewImpl.cpp:
2262         (WebKit::WebViewImpl::setZoomLevel):
2263
2264 2010-05-24  Kent Tamura  <tkent@chromium.org>
2265
2266         Unreviewed. Sort features.
2267
2268         * features.gypi:
2269
2270 2010-05-24  Kent Tamura  <tkent@chromium.org>
2271
2272         Reviewed by Dimitri Glazkov.
2273
2274         [DRT/Chromium] Import layout_test_helper for Windows
2275         https://bugs.webkit.org/show_bug.cgi?id=39581
2276
2277         * WebKit.gyp: Add a build rule for LayoutTestHelper.exe for Windows.
2278
2279 2010-05-24  Marcus Bulach  <bulach@chromium.org>
2280
2281         Reviewed by Kent Tamura.
2282
2283         [chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
2284         https://bugs.webkit.org/show_bug.cgi?id=39587
2285
2286         * public/WebGeolocationServiceMock.h:
2287         * src/WebGeolocationServiceMock.cpp:
2288         (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
2289         (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
2290         (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
2291         (WebKit::WebGeolocationServiceMockImpl::attachBridge):
2292         (WebKit::WebGeolocationServiceMockImpl::detachBridge):
2293
2294 2010-05-24  Tony Chang  <tony@chromium.org>
2295
2296         Reviewed by Kent Tamura.
2297
2298         [chromium] setup fonts on chromium linux DRT
2299         https://bugs.webkit.org/show_bug.cgi?id=39644
2300
2301         * WebKit.gyp:
2302
2303 2010-05-24  Tony Chang  <tony@chromium.org>
2304
2305         Not reviewed, build fix.
2306
2307         Fix the chromium compile due to pageZoomFactor refactoring.
2308
2309         * src/WebViewImpl.cpp:
2310         (WebKit::WebViewImpl::setZoomLevel):
2311
2312 2010-05-24  Darin Adler  <darin@apple.com>
2313
2314         Reviewed by Eric Seidel.
2315
2316         Move view-related functions from Frame to FrameView
2317         https://bugs.webkit.org/show_bug.cgi?id=39366
2318
2319         * src/WebViewImpl.cpp:
2320         (WebKit::WebViewImpl::setZoomLevel): Call setZoomLevel on FrameView.
2321
2322 2010-05-24  Anders Carlsson  <andersca@apple.com>
2323
2324         Attempt to fix the Chromium build.
2325
2326         * src/WebViewImpl.cpp:
2327
2328 2010-05-21  Tony Chang  <tony@chromium.org>
2329
2330         Reviewed by Ojan Vafai.
2331
2332         [chromium] if keydown is prevented, don't update the IME and clear the IME state
2333         https://bugs.webkit.org/show_bug.cgi?id=39475
2334
2335         * src/WebViewImpl.cpp:
2336         (WebKit::WebViewImpl::handleCompositionEvent):
2337
2338 2010-05-23  Roman Gershman  <romange@google.com>
2339
2340         Reviewed by Darin Fisher.
2341
2342         [Chromium] Suggestion popup is not closed when the view is scrolled.
2343         https://bugs.webkit.org/show_bug.cgi?id=38640
2344
2345         This bug appears on both Windows and Linux platforms.
2346         Mac OS, however handles window messages differently and
2347         closes popup menu in RenderWidgetHostViewMac::Destroy().
2348
2349         No tests were added because test_shell does not support suggestion
2350         popup.
2351
2352         * src/ChromeClientImpl.cpp:
2353         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
2354         (WebKit::ChromeClientImpl::scroll):
2355
2356 2010-05-23  Marcus Bulach  <bulach@chromium.org>
2357
2358         Reviewed by Kent Tamura.
2359
2360         [chromium] Adds Geolocation support to DumpRenderTree.
2361         https://bugs.webkit.org/show_bug.cgi?id=39440
2362
2363         Existing LayoutTests/fast/dom/Geolocation/* should pass.
2364
2365         * public/WebGeolocationServiceMock.h:
2366         * src/WebGeolocationServiceMock.cpp:
2367         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
2368         (WebKit::WebGeolocationServiceMock::requestPermissionForFrame):
2369         (WebKit::WebGeolocationServiceMock::attachBridge):
2370         (WebKit::WebGeolocationServiceMock::detachBridge):
2371
2372 2010-05-22  Kent Tamura  <tkent@chromium.org>
2373
2374         Reviewed by Dimitri Glazkov.
2375
2376         [DRT/Chromium] Link resources and load Ahem font for Windows
2377         https://bugs.webkit.org/show_bug.cgi?id=39473
2378
2379         * WebKit.gyp:
2380           Add net and webkit resources for Windows.
2381           Copy AHEM____.TTF to DumpRenderTree.exe directory.
2382
2383 2010-05-21  Steve Block  <steveblock@google.com>
2384
2385         Reviewed by Jeremy Orlow.
2386
2387         Add DeviceOrientation and DeviceOrientationClient
2388         https://bugs.webkit.org/show_bug.cgi?id=39479
2389
2390         * src/WebViewImpl.cpp:
2391         (WebKit::WebViewImpl::WebViewImpl):
2392
2393 2010-05-20  Viet-Trung Luu  <viettrungluu@chromium.org>
2394
2395         Reviewed by Darin Fisher.
2396
2397         [Chromium] Don't rely on focused node to route mouse events to plugins.
2398         https://bugs.webkit.org/show_bug.cgi?id=39375
2399         http://crbug.com/43935
2400
2401         On mouse down, do a hit test and check if a plugin was hit. If so, then
2402         save the node for future mouse events (until mouse up or capture lost).
2403
2404         * src/WebViewImpl.cpp:
2405         (WebKit::WebViewImpl::WebViewImpl):
2406         (WebKit::WebViewImpl::mouseDown):
2407         (WebKit::WebViewImpl::handleInputEvent):
2408         (WebKit::WebViewImpl::mouseCaptureLost):
2409         * src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode.
2410
2411 2010-05-20  Dominic Mazzoni  <dmazzoni@chromium.org>
2412
2413         Reviewed by Darin Fisher.
2414
2415         Add headingLevel and setFocused methods.
2416
2417         https://bugs.webkit.org/show_bug.cgi?id=39238
2418
2419         * public/WebAccessibilityObject.h:
2420         * src/WebAccessibilityObject.cpp:
2421         (WebKit::WebAccessibilityObject::headingLevel):
2422         (WebKit::WebAccessibilityObject::setFocused):
2423
2424 2010-05-20  Zhenyao Mo  <zmo@google.com>
2425
2426         Reviewed by Dimitri Glazkov.
2427
2428         Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
2429         https://bugs.webkit.org/show_bug.cgi?id=39077
2430
2431         * src/WebGraphicsContext3DDefaultImpl.cpp:
2432         (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums.
2433
2434 2010-05-20  Abhishek Arya  <inferno@chromium.org>
2435
2436         Reviewed by Adam Barth.
2437
2438         Added method to WebSecurityOrigin for invoking
2439         SecurityOrigin::canAccessPasswordManager.
2440         https://bugs.webkit.org/show_bug.cgi?id=38916
2441
2442         * public/WebSecurityOrigin.h:
2443         * src/WebSecurityOrigin.cpp:
2444         (WebKit::WebSecurityOrigin::canAccessPasswordManager):
2445
2446 2010-05-20  Darin Fisher  <darin@chromium.org>
2447
2448         Reviewed by Nate Chapin.
2449
2450         [chromium] Provide a way to catch exceptions thrown while interacting
2451         with a NPObject via WebBindings methods.
2452         https://bugs.webkit.org/show_bug.cgi?id=39378
2453
2454         * public/WebBindings.h:
2455         * src/WebBindings.cpp:
2456         (WebKit::WebBindings::pushExceptionHandler):
2457         (WebKit::WebBindings::popExceptionHandler):
2458
2459 2010-05-20  Jian Li  <jianli@chromium.org>
2460
2461         Reviewed by David Levin.
2462
2463         Rename GenericWorkerTask.h to CrossThreadTask.h and move it to dom directory.
2464         https://bugs.webkit.org/show_bug.cgi?id=39135
2465
2466         * src/WebSharedWorkerImpl.cpp:
2467         * src/WebWorkerBase.cpp:
2468         * src/WebWorkerClientImpl.cpp:
2469         * src/WebWorkerImpl.cpp:
2470
2471 2010-05-20  Martin Robinson  <mrobinson@webkit.org>
2472
2473         Reviewed by Ojan Vafai.
2474
2475         Expose the editing behavior setting in DRT to test all editing code paths
2476         https://bugs.webkit.org/show_bug.cgi?id=38603
2477
2478         * public/WebSettings.h:
2479         (WebKit::WebSettings::): Added an enum for EditingBehavior types.
2480         * src/WebSettingsImpl.cpp: 
2481         (WebKit::WebSettingsImpl::setEditingBehavior): Added.
2482         * src/WebSettingsImpl.h:
2483
2484 2010-05-19  Vangelis Kokkevis  <vangelis@chromium.org>
2485
2486         Reviewed by Darin Fisher.
2487
2488         Modifying WebViewImpl to support new hardware compositing for
2489         LayerChromium layers.
2490         https://bugs.webkit.org/show_bug.cgi?id=38783
2491
2492         * src/WebViewImpl.cpp:
2493         (WebKit::WebViewImpl::paint):
2494         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2495         (WebKit::WebViewImpl::updateRootLayerContents):
2496         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
2497
2498 2010-05-19  Tony Chang  <tony@chromium.org>
2499
2500         Reviewed by Kent Tamura.
2501
2502         [chromium] disable spelling suggestions if spellcheck=false
2503         https://bugs.webkit.org/show_bug.cgi?id=39402
2504         
2505         This is the Chromium fix for bug 25639 that was fixed in the
2506         other ports in r59585.
2507
2508         * src/ContextMenuClientImpl.cpp:
2509         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2510
2511 2010-05-19  Darin Fisher  <darin@chromium.org>
2512
2513         Revert r59790 due to failing Chromium npruntime tests.
2514
2515         * public/WebBindings.h:
2516         * src/WebBindings.cpp:
2517
2518 2010-05-19  Darin Fisher  <darin@chromium.org>
2519
2520         Reviewed by Nate Chapin.
2521
2522         [chromium] Provide a way to catch exceptions thrown while interacting
2523         with a NPObject via WebBindings methods.
2524         https://bugs.webkit.org/show_bug.cgi?id=39378
2525
2526         * public/WebBindings.h:
2527         * src/WebBindings.cpp:
2528         (WebKit::WebBindings::pushExceptionHandler):
2529         (WebKit::WebBindings::popExceptionHandler):
2530
2531 2010-05-19  Dirk Pranke  <dpranke@chromium.org>
2532
2533         Try again to roll out r58765.
2534
2535         * public/WebNotification.h:
2536         * src/WebNotification.cpp:
2537
2538 2010-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2539
2540         Unreviewed, rolling out r59782.
2541         http://trac.webkit.org/changeset/59782
2542         https://bugs.webkit.org/show_bug.cgi?id=39379
2543
2544         broke DRT build (Requested by dpranke on #webkit).
2545
2546         * public/WebNotification.h:
2547         * src/WebNotification.cpp:
2548         (WebKit::WebNotification::dir):
2549         (WebKit::WebNotification::replaceId):
2550
2551 2010-05-19  Jian Li  <jianli@chromium.org>
2552
2553         Reviewed by Darin Fisher.
2554
2555         Remove obsolete ChromiumBridge code that routes FileSystem calls to WebKitClient.
2556         https://bugs.webkit.org/show_bug.cgi?id=39332
2557
2558         * public/WebKitClient.h:
2559         * src/ChromiumBridge.cpp:
2560         (WebCore::ChromiumBridge::fileExists):
2561         (WebCore::ChromiumBridge::deleteFile):
2562         (WebCore::ChromiumBridge::deleteEmptyDirectory):
2563         (WebCore::ChromiumBridge::getFileSize):
2564         (WebCore::ChromiumBridge::getFileModificationTime):
2565         (WebCore::ChromiumBridge::directoryName):
2566         (WebCore::ChromiumBridge::pathByAppendingComponent):
2567         (WebCore::ChromiumBridge::makeAllDirectories):
2568         (WebCore::ChromiumBridge::getAbsolutePath):
2569         (WebCore::ChromiumBridge::isDirectory):
2570         (WebCore::ChromiumBridge::filePathToURL):
2571
2572 2010-05-19  Marcus Bulach  <bulach@chromium.org>
2573
2574         Reviewed by Steve Block.
2575
2576         [chromium] Adds supports for layout tests using GeolocationServiceMock.
2577         https://bugs.webkit.org/show_bug.cgi?id=39081
2578
2579         Allows injection of GeolocationServiceMock factory.
2580         Tests: existing fast/dom/Geolocation/*
2581
2582         * WebKit.gyp:
2583         * public/WebGeolocationServiceMock.h: Added.
2584         * src/WebGeolocationServiceMock.cpp: Added.
2585         (WebCore::GeolocationServiceChromiumMock::create):
2586         (WebCore::GeolocationServiceChromiumMock::GeolocationServiceChromiumMock):
2587         (WebCore::GeolocationServiceChromiumMock::startUpdating):
2588         (WebCore::GeolocationServiceChromiumMock::stopUpdating):
2589         (WebCore::GeolocationServiceChromiumMock::lastPosition):
2590         (WebCore::GeolocationServiceChromiumMock::lastError):
2591         (WebCore::GeolocationServiceChromiumMock::geolocationServicePositionChanged):
2592         (WebCore::GeolocationServiceChromiumMock::geolocationServiceErrorOccurred):
2593         (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
2594         (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
2595
2596 2010-05-17  Jeremy Orlow  <jorlow@chromium.org>
2597
2598         Reviewed by Darin Fisher.
2599
2600         Hook Chromium's WebIndexedDatabaseImpl up to IndexedDatabaseImpl
2601         https://bugs.webkit.org/show_bug.cgi?id=39216
2602
2603         Web____Impl is for re-entering the WebKit layer from the browser layer.
2604         Thus the previous IDBCallbacksProxy was mis-named (and should have been
2605         WebIDBCallbacksImpl).  This patch renames it and then implements the
2606         proper proxy (which is for going from WebCore to WebKit).
2607
2608         Also change using security origin strings to using WebSecurityOrigin
2609         objects.
2610
2611         This patch also implements the glue between WebIndexedDatabaseImpl and
2612         IndexedDatabaseImpl.
2613
2614         * WebKit.gyp:
2615         * src/IDBCallbacksProxy.cpp:
2616         (WebCore::IDBCallbacksProxy::create):
2617         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
2618         (WebCore::IDBCallbacksProxy::onError):
2619         (WebCore::IDBCallbacksProxy::onSuccess):
2620         * src/IDBCallbacksProxy.h:
2621         * src/IndexedDatabaseProxy.cpp:
2622         (WebCore::IndexedDatabaseProxy::open):
2623         * src/IndexedDatabaseProxy.h:
2624         * src/WebIDBCallbacksImpl.cpp: Added.
2625         (WebCore::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
2626         (WebCore::WebIDBCallbacksImpl::~WebIDBCallbacksImpl):
2627         (WebCore::WebIDBCallbacksImpl::onError):
2628         (WebCore::WebIDBCallbacksImpl::onSuccess):
2629         * src/WebIDBCallbacksImpl.h: Added.
2630         * src/WebIDBDatabaseImpl.cpp: Added.
2631         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
2632         (WebKit::WebIDBDatabaseImpl::~WebIDBDatabaseImpl):
2633         * src/WebIDBDatabaseImpl.h: Added.
2634         * src/WebIndexedDatabaseImpl.cpp:
2635         (WebKit::WebIndexedDatabaseImpl::WebIndexedDatabaseImpl):
2636         (WebKit::WebIndexedDatabaseImpl::open):
2637         * src/WebIndexedDatabaseImpl.h:
2638
2639 2010-05-18  Kent Tamura  <tkent@chromium.org>
2640
2641         Reviewed by Dimitri Glazkov.
2642
2643         [DRT/Chromium] Fix a repaint issue and textarea tests
2644         https://bugs.webkit.org/show_bug.cgi?id=39054
2645
2646         * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
2647           and textAreaResizeCorner.png
2648         * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
2649
2650 2010-05-18  Tony Chang  <tony@chromium.org>
2651
2652         Reviewed by Ojan Vafai.
2653
2654         [chromium] ignore IME events if the keydown event was prevented
2655         https://bugs.webkit.org/show_bug.cgi?id=37692
2656
2657         * src/WebViewImpl.cpp:
2658         (WebKit::WebViewImpl::handleCompositionEvent):
2659
2660 2010-05-18  MORITA Hajime  <morrita@google.com>
2661
2662         Reviewed by Kent Tamura.
2663
2664         [Chromium] Windows: Determinate progress bar should have glossy overlay
2665         https://bugs.webkit.org/show_bug.cgi?id=39269
2666
2667         Changed WebThemeEngine::drawProgressBar() signature to delegate
2668         theme implementation detail to the engine.
2669         Chromium side will come to http://crbug.com/44430.
2670         
2671         No new tests, animation effect can be confirmed only manually.        
2672
2673         * public/WebThemeEngine.h:
2674         (WebKit::WebThemeEngine::paintProgressBar):
2675         * src/ChromiumBridge.cpp:
2676         (WebCore::ChromiumBridge::paintProgressBar):
2677
2678 2010-05-16  Mike Belshe  <mbelshe@chromium.org>
2679
2680         Reviewed by Dimitri Glazkov.
2681
2682         Add a flag to the ResourceResponse for tracking if a request was
2683         fetched via the TLS/Next-Protocol-Negotiation mechanism.
2684
2685         Also cleaned up the style in ResourceResponse to group the flags
2686         together (and alphabetically) and hopefully improve readability of
2687         the file.
2688
2689         https://bugs.webkit.org/show_bug.cgi?id=39078
2690
2691         * public/WebURLResponse.h:
2692         * src/WebURLResponse.cpp:
2693         (WebKit::WebURLResponse::wasNpnNegotiated):
2694         (WebKit::WebURLResponse::setWasNpnNegotiated):
2695
2696 2010-05-16  Eric Seidel  <eric@webkit.org>
2697
2698         Unreviewed, rolling out r59571.
2699         http://trac.webkit.org/changeset/59571
2700         https://bugs.webkit.org/show_bug.cgi?id=39054
2701
2702         Broke Cr Win, but we didn't notice immediately due to
2703         https://bugs.webkit.org/show_bug.cgi?id=38926.  It's possible
2704         that this didn't actually break Cr Win, but rather that bug
2705         38926 necessitates a clean compile after this and sucessive
2706         checkins only produced a partial recompile and thus failed to
2707         build.
2708
2709         * DEPS:
2710         * WebKit.gyp:
2711         * features.gypi:
2712
2713 2010-05-16  Sheriff Bot  <webkit.review.bot@gmail.com>
2714
2715         Unreviewed, rolling out r59574.
2716         http://trac.webkit.org/changeset/59574
2717         https://bugs.webkit.org/show_bug.cgi?id=39176
2718
2719         Supposedly broke cr-win, but the errors seems somewhat
2720         unrelated (Requested by abarth on #webkit).
2721
2722         * public/WebURLResponse.h:
2723         * src/WebURLResponse.cpp:
2724
2725 2010-05-16  Mike Belshe  <mbelshe@chromium.org>
2726
2727         Reviewed by Dimitri Glazkov.
2728
2729         Add a flag to the ResourceResponse for tracking if a request was
2730         fetched via the TLS/Next-Protocol-Negotiation mechanism.
2731
2732         Also cleaned up the style in ResourceResponse to group the flags
2733         together (and alphabetically) and hopefully improve readability of
2734         the file.
2735
2736         https://bugs.webkit.org/show_bug.cgi?id=39078
2737
2738         * public/WebURLResponse.h:
2739         * src/WebURLResponse.cpp:
2740         (WebKit::WebURLResponse::wasNpnNegotiated):
2741         (WebKit::WebURLResponse::setWasNpnNegotiated):
2742
2743 2010-05-16  Kent Tamura  <tkent@chromium.org>
2744
2745         Reviewed by Dimitri Glazkov.
2746
2747         [DRT/Chromium] Fix repaint, WebGL, textarea tests
2748         https://bugs.webkit.org/show_bug.cgi?id=39054
2749
2750         * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
2751           and textAreaResizeCorner.png
2752         * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
2753         * features.gypi: Enable ENABLE_3D_CANVAS.
2754
2755 2010-05-15  Darin Fisher  <darin@chromium.org>
2756
2757         Reviewed by Adam Barth.
2758
2759         [chromium] Expose element accessor on WebPluginContainer
2760         https://bugs.webkit.org/show_bug.cgi?id=39152
2761
2762         * public/WebPluginContainer.h:
2763         * src/WebPluginContainerImpl.cpp:
2764         (WebKit::WebPluginContainerImpl::element):
2765         * src/WebPluginContainerImpl.h:
2766
2767 2010-05-15  Jochen Eisinger  <jochen@chromium.org>
2768
2769         Reviewed by Dmitry Titov.
2770
2771         Implement canEstablishDatabase call for workers.
2772         https://bugs.webkit.org/show_bug.cgi?id=38742
2773
2774         * public/WebCommonWorkerClient.h:
2775         * src/DatabaseObserver.cpp:
2776         (WebCore::DatabaseObserver::canEstablishDatabase):
2777         * src/WebWorkerBase.cpp:
2778         (WebKit::WebWorkerBase::allowDatabase):
2779         (WebKit::WebWorkerBase::allowDatabaseTask):
2780         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
2781         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::cancel):
2782         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::result):
2783         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::signalCompleted):
2784         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::didComplete):
2785         * src/WebWorkerBase.h:
2786         * src/WebWorkerClientImpl.h:
2787         (WebKit::WebWorkerClientImpl::allowDatabase):
2788
2789 2010-05-15  Jay Civelli  <jcivelli@chromium.org>
2790
2791         Reviewed by Darin Fisher.
2792
2793         [chromium] Adding a notification on WebViewClient when a new 
2794         node gets focused.
2795         https://bugs.webkit.org/show_bug.cgi?id=38508
2796
2797         * public/WebViewClient.h:
2798         (WebKit::WebViewClient::focusedNodeChanged):
2799         * src/ChromeClientImpl.cpp:
2800         (WebKit::ChromeClientImpl::focusedNodeChanged):
2801
2802 2010-05-15  Evan Stade  <estade@chromium.org>
2803
2804         Reviewed by Adam Barth.
2805
2806         [chromium] "Check spelling in this field" context menu item always checked
2807         https://bugs.webkit.org/show_bug.cgi?id=39018
2808
2809         Initialize all POD members of WebContextMenuData in a default
2810         constructor.
2811
2812         No tests because this code would need some major refactoring to unit
2813         test, and AFAICT it's not testable via layout tests. See note at top
2814         of getCustomMenuFromDefaultItems.
2815
2816         * public/WebContextMenuData.h:
2817         (WebKit::WebContextMenuData::WebContextMenuData):
2818         * src/ContextMenuClientImpl.cpp:
2819         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2820
2821 2010-05-14  Darin Fisher  <darin@chromium.org>
2822
2823         Reviewed by Dimitri Glazkov.
2824
2825         [chromium] Remove temporary relative include paths
2826         https://bugs.webkit.org/show_bug.cgi?id=38776
2827
2828         * public/WebPasswordAutocompleteListener.h:
2829         * src/FrameLoaderClientImpl.h:
2830         * src/PlatformMessagePortChannel.h:
2831         * src/WebAnimationControllerImpl.h:
2832         * src/WebBindings.cpp:
2833         * src/WebDataSourceImpl.h:
2834         * src/WebDevToolsAgentPrivate.h:
2835         * src/WebFileChooserCompletionImpl.h:
2836         * src/WebFrameImpl.h:
2837         * src/WebInputEventConversion.h:
2838         * src/WebPluginContainerImpl.h:
2839         * src/WebPluginLoadObserver.h:
2840         * src/WebPopupMenuImpl.h:
2841         * src/WebSettingsImpl.h:
2842         * src/WebViewImpl.h:
2843         * src/WebWorkerClientImpl.h:
2844         * src/WrappedResourceRequest.h:
2845         * src/WrappedResourceResponse.h:
2846
2847 2010-05-14  Anton Muhin  <antonm@chromium.org>
2848
2849         Reviewed by Darin Fisher.
2850
2851         [Chromium] Consider implementing addOriginAccessWhitelistEntry method
2852         https://bugs.webkit.org/show_bug.cgi?id=37578
2853
2854         Remove deprecated methods.
2855
2856         * public/WebSecurityPolicy.h:
2857         * src/WebSecurityPolicy.cpp:
2858
2859 2010-05-14  Kenneth Russell  <kbr@google.com>
2860
2861         Reviewed by Darin Adler.
2862
2863         Rename WebGLArray types to TypedArray types
2864         https://bugs.webkit.org/show_bug.cgi?id=39091
2865
2866         Extended functionality of do-webcore-rename script and used it to
2867         rename the WebGLArray types to the TypedArray naming convention.
2868         The only source files which were touched by hand, and which are
2869         being manually reviewed, are:
2870             WebCore/page/DOMWindow.idl
2871             WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
2872             WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
2873             WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
2874         These only needed to be touched to update the aliases between the
2875         WebGLArray and TypedArray names introduced in bug 39036. (It was
2876         not feasible to have do-webcore-rename handle this as it would
2877         introduce circular renamings.) These aliases will be removed in
2878         roughly a month once existing WebGL content has been updated.
2879
2880         No new tests; covered under existing WebGL tests. Updated
2881         constructed-objects-prototypes and prototype-inheritance-2 tests.
2882         Ran all layout tests in Safari and all WebGL tests in Chromium.
2883
2884         * src/GraphicsContext3D.cpp:
2885         (WebCore::GraphicsContext3DInternal::bufferData):
2886         (WebCore::GraphicsContext3DInternal::bufferSubData):
2887
2888 2010-05-14  Jochen Eisinger  <jochen@chromium.org>
2889
2890         Reviewed by Eric Seidel.
2891
2892         Make ImageDiff depend on webkit (again).
2893         https://bugs.webkit.org/show_bug.cgi?id=39000
2894
2895         * WebKit.gyp:
2896
2897 2010-05-14  James Simonsen  <simonjam+webkit@google.com>
2898
2899         Reviewed by Darin Fisher.
2900
2901         [chromium] Expose volume through WebMediaPlayerClient
2902         https://bugs.webkit.org/show_bug.cgi?id=38947
2903
2904         * public/WebMediaPlayerClient.h:
2905         * src/WebMediaPlayerClientImpl.cpp:
2906         (WebKit::WebMediaPlayerClientImpl::volume):
2907         * src/WebMediaPlayerClientImpl.h:
2908
2909 2010-05-14  Tony Gentilcore  <tonyg@chromium.org>
2910
2911         Reviewed by Darin Fisher.
2912
2913         [chromium] Update chromium port to send/receive cached metadata
2914         https://bugs.webkit.org/show_bug.cgi?id=38665
2915
2916         * public/WebKitClient.h:
2917         (WebKit::WebKitClient::cacheMetadata):
2918         * public/WebURLLoaderClient.h:
2919         (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
2920         * public/WebURLResponse.h:
2921         * src/ChromiumBridge.cpp:
2922         (WebCore::ChromiumBridge::cacheMetadata):
2923         * src/ResourceHandle.cpp:
2924         (WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
2925         (WebCore::ResourceHandle::cacheMetadata):
2926         * src/WebURLResponse.cpp:
2927         (WebKit::WebURLResponse::responseTime):
2928         (WebKit::WebURLResponse::setResponseTime):
2929
2930 2010-05-13  Tony Chang  <tony@chromium.org>
2931
2932         Reviewed by Kent Tamura.
2933
2934         [chromium] enable DRT build in chromium (for the last time)
2935         https://bugs.webkit.org/show_bug.cgi?id=39109
2936
2937         * WebKit.gyp:
2938
2939 2010-05-13  Pavel Feldman  <pfeldman@chromium.org>
2940
2941         Reviewed by Yury Semikhatsky.
2942
2943         Web Inspector: main inspector toolbar takes noticeable time to expand.
2944
2945         https://bugs.webkit.org/show_bug.cgi?id=39013
2946
2947         * src/js/DevTools.js:
2948         (devtools.domContentLoaded):
2949
2950 2010-05-12  Hans Wennborg  <hans@chromium.org>
2951
2952         Reviewed by Jeremy Orlow.
2953
2954         [Chromium] Remove transitional functions from WebStorageNamespace and WebViewClient.
2955         https://bugs.webkit.org/show_bug.cgi?id=38985
2956
2957         These functions are no longer called as of Chromium revision 47020.
2958         This is part of resolving http://crbug.com/42740
2959
2960         * public/WebStorageNamespace.h:
2961         * public/WebViewClient.h:
2962         (WebKit::WebViewClient::createSessionStorageNamespace):
2963
2964 2010-05-12  Tony Chang  <tony@chromium.org>
2965
2966         Reviewed by Kent Tamura.
2967
2968         [chromium] disable DRT in chromium again
2969         https://bugs.webkit.org/show_bug.cgi?id=39049
2970
2971         * WebKit.gyp:
2972
2973 2010-05-12  John Abd-El-Malek  <jam@chromium.org>
2974
2975         Reviewed by Darin Fisher.
2976
2977         [chromium] Disable WebScrollbarImpl's scrollbar if it's not needed
2978         https://bugs.webkit.org/show_bug.cgi?id=39025
2979
2980         * src/WebScrollbarImpl.cpp:
2981         (WebKit::WebScrollbarImpl::setLocation):
2982         (WebKit::WebScrollbarImpl::setDocumentSize):
2983
2984 2010-05-12  Dumitru Daniliuc  <dumi@chromium.org>
2985
2986         Reviewed by Dimitri Glazkov.
2987
2988         Removing the unnecessary dirfd parameter.
2989         https://bugs.webkit.org/show_bug.cgi?id=38869
2990
2991         * public/WebKitClient.h:
2992         (WebKit::WebKitClient::databaseOpenFile):
2993         * src/ChromiumBridge.cpp:
2994         (WebCore::ChromiumBridge::databaseOpenFile):
2995
2996 2010-05-12  Jeremy Orlow  <jorlow@chromium.org>
2997
2998         Reviewed by Steve Block.
2999
3000         [Chromium] Pass the origin parameter for WebIndexedDatabase::open
3001         https://bugs.webkit.org/show_bug.cgi?id=38983
3002
3003         * public/WebIndexedDatabase.h:
3004         * src/IndexedDatabaseProxy.cpp:
3005         (WebCore::IndexedDatabaseProxy::open):
3006         * src/WebIndexedDatabaseImpl.cpp:
3007         (WebKit::WebIndexedDatabaseImpl::open):
3008         * src/WebIndexedDatabaseImpl.h:
3009
3010 2010-05-10  yael aharon  <yael.aharon@nokia.com>
3011
3012         Reviewed by Darin Adler.
3013
3014         Support control attribute of HTMLLabelElement
3015         https://bugs.webkit.org/show_bug.cgi?id=38688
3016
3017         Renamed HTMLLabelElement::correspondingControl to HTMLLabelElement::control
3018
3019         * src/WebLabelElement.cpp:
3020         (WebKit::WebLabelElement::correspondingControl):
3021
3022 2010-05-12  MORITA Hajime  <morrita@google.com>
3023
3024         Reviewed by Kent Tamura.
3025         
3026         [Chromium] Support HTML5 <progress> element on Windows.
3027         https://bugs.webkit.org/show_bug.cgi?id=37308
3028
3029         Extended ChromiumBridge to handle progress bar painting,
3030         and added delegations to it.
3031         
3032         No new tests. Test cases should be shared with existing ones for
3033         progress element.  Expectaions will be added after PROGRESS_TAG is
3034         enabled on Chromium tree.
3035
3036         * public/WebThemeEngine.h:
3037         (WebKit::WebThemeEngine::paintProgressBar):
3038         * src/ChromiumBridge.cpp:
3039         (WebCore::ChromiumBridge::paintProgressBar):
3040
3041 2010-05-12  Marcus Bulach  <bulach@chromium.org>
3042
3043         Reviewed by Steve Block.
3044
3045         Attaches the geolocation bridge later on startUpdating().
3046         This prevents a page requesting permission when it has just accessed navigator.geolocation (without calling navigator.geolocation.getCurrentPosition/watchPosition).
3047         Note: when Geolocation::haveSuitableCachedPosition(), WebGeolocationServiceBridgeImpl::startUpdating() is not called,
3048         so we attach the bridge if needed at requestGeolocationPermissionForFrame().
3049         https://bugs.webkit.org/show_bug.cgi?id=38323
3050         http://crbug.com/42789
3051
3052         * src/ChromeClientImpl.cpp:
3053         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
3054         * src/WebGeolocationServiceBridgeImpl.cpp:
3055         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
3056         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
3057
3058 2010-05-12  Tony Chang  <tony@chromium.org>
3059
3060         Reviewed by Kent Tamura.
3061
3062         [chromium] add DRT back to the chromium build
3063         https://bugs.webkit.org/show_bug.cgi?id=38978
3064
3065         * WebKit.gyp:
3066
3067 2010-05-11  Kent Tamura  <tkent@chromium.org>
3068
3069         Reviewed by Dimitri Glazkov.
3070
3071         [DRT/Chromium] Apply recent changes of test_shell to DRT
3072         https://bugs.webkit.org/show_bug.cgi?id=38895
3073
3074         * DEPS: Update Chromium revision to use the recent webkit_support change.
3075         * WebKit.gyp: Add JavaScriptCore/wtf to 'include' section.
3076         * src/WebGraphicsContext3D.cpp:
3077           Remove ENABLE(3D_CANVAS) to provide an empty implementation of
3078           WebGraphicsContext3D::createDefault().
3079
3080 2010-05-11  Avi Drissman  <avi@chromium.org>
3081
3082         Reviewed by Darin Fisher.
3083
3084         [Chromium] Pipe RTL info into WebPopupMenuInfo
3085         https://bugs.webkit.org/show_bug.cgi?id=38749
3086
3087         * public/WebPopupMenuInfo.h:
3088         * src/ChromeClientImpl.cpp:
3089         (WebKit::ChromeClientImpl::getPopupMenuInfo):
3090
3091 2010-05-11  David Holloway  <dhollowa@chromium.org>
3092
3093         Reviewed by Darin Fisher.
3094
3095         [chromium] Add size method to WebInputElement class, providing same data
3096         as HTMLInputElement::size().  During form AutoFill Chromium needs to
3097         access the input element's size attribute in aid of form matching and
3098         filling heuristics.
3099         
3100         https://bugs.webkit.org/show_bug.cgi?id=38825
3101
3102         * public/WebInputElement.h:
3103         * src/WebInputElement.cpp:
3104         (WebKit::WebInputElement::size):
3105
3106 2010-05-11  Nate Chapin  <japhet@chromium.org>
3107
3108         Reviewed by Adam Barth.
3109
3110         Crash fix in WebPageSerializerImpl::serialize().
3111
3112         https://bugs.webkit.org/show_bug.cgi?id=38543
3113
3114         The relevant test is a test_shell_test in src.chromium.org, because neither
3115         DRT nor the Chromium webkit unit tests can currently cover the serializer
3116         functionality.
3117
3118         * src/WebPageSerializerImpl.cpp:
3119         (WebKit::WebPageSerializerImpl::serialize): Check each frame's url before using it,
3120             since they are not guaranteed to be valid (e.g., if the frame was treated as a download).
3121
3122 2010-05-11  Jian Li  <jianli@chromium.org>
3123
3124         Reviewed by Dmitry Titov.
3125
3126         Expose FileReader interface.
3127         https://bugs.webkit.org/show_bug.cgi?id=38609
3128
3129         * features.gypi: turn on building FileReader for Chromium.
3130
3131 2010-05-10  Tony Chang  <tony@chromium.org>
3132
3133         Reviewed by Kent Tamura.
3134
3135         [chromium] don't build DRT in chromium checkouts due to a circular gyp dependency
3136         https://bugs.webkit.org/show_bug.cgi?id=38889
3137
3138         * WebKit.gyp:
3139
3140 2010-05-10  John Abd-El-Malek  <jam@chromium.org>
3141
3142         Reviewed by Darin Fisher.
3143
3144         [chromium] Add WebKitScrollbar interface to allow Chromium code to reuse the scrollbar code
3145         https://bugs.webkit.org/show_bug.cgi?id=38854
3146
3147         * public/WebScrollbar.h: Added.
3148         (WebKit::WebScrollbar::):
3149         (WebKit::WebScrollbar::~WebScrollbar):
3150         * public/WebScrollbarClient.h: Added.
3151         * public/WebThemeEngine.h:
3152         * src/AssertMatchingEnums.cpp:
3153         * src/WebScrollbarImpl.cpp: Added.
3154         (WebKit::WebScrollbar::create):
3155         (WebKit::WebScrollbar::defaultThickness):
3156         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
3157         (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
3158         (WebKit::WebScrollbarImpl::setLocation):
3159         (WebKit::WebScrollbarImpl::value):
3160         (WebKit::WebScrollbarImpl::setValue):
3161         (WebKit::WebScrollbarImpl::setDocumentSize):
3162         (WebKit::WebScrollbarImpl::scroll):
3163         (WebKit::WebScrollbarImpl::paint):
3164         (WebKit::WebScrollbarImpl::handleInputEvent):
3165         (WebKit::WebScrollbarImpl::onMouseDown):
3166         (WebKit::WebScrollbarImpl::onMouseUp):
3167         (WebKit::WebScrollbarImpl::onMouseMove):
3168         (WebKit::WebScrollbarImpl::onMouseLeave):
3169         (WebKit::WebScrollbarImpl::onMouseWheel):
3170         (WebKit::WebScrollbarImpl::onKeyDown):
3171         (WebKit::WebScrollbarImpl::valueChanged):
3172         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
3173         (WebKit::WebScrollbarImpl::isActive):
3174         (WebKit::WebScrollbarImpl::scrollbarCornerPresent):
3175         (WebKit::WebScrollbarImpl::getTickmarks):
3176         * src/WebScrollbarImpl.h: Added.
3177         * src/WebViewImpl.cpp:
3178         (WebKit::WebViewImpl::scrollViewWithKeyboard):
3179         (WebKit::WebViewImpl::mapKeyCodeForScroll):
3180         * src/WebViewImpl.h:
3181
3182 2010-05-10  Tony Gentilcore  <tonyg@chromium.org>
3183
3184         Reviewed by Adam Barth.
3185
3186         Provide mechanism to cache metadata for a resource
3187         https://bugs.webkit.org/show_bug.cgi?id=37874
3188
3189         * src/ResourceHandle.cpp:
3190         (WebCore::ResourceHandle::cacheMetadata):
3191
3192 2010-05-10  Hans Wennborg  <hans@chromium.org>
3193
3194         Reviewed by Jeremy Orlow.
3195
3196         [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace()
3197         https://bugs.webkit.org/show_bug.cgi?id=38750
3198
3199         Put a per-origin quota on session storage since it is using memory in
3200         the browser process, and should not be allowed to grow arbitrarily
3201         large. See also http://trac.webkit.org/changeset/58828.
3202
3203         * public/WebStorageNamespace.h:
3204         * public/WebViewClient.h:
3205         (WebKit::WebViewClient::createSessionStorageNamespace):
3206         * src/StorageNamespaceProxy.cpp:
3207         (WebCore::StorageNamespace::sessionStorageNamespace):
3208
3209
3210 2010-05-10  Jeremy Orlow  <jorlow@chromium.org>
3211
3212         Reviewed by Nate Chapin.
3213
3214         Change IndexedDB to use events instead of callbacks
3215         https://bugs.webkit.org/show_bug.cgi?id=38594
3216
3217         Change the glue here to match the changes I made in WebCore.
3218
3219         * WebKit.gyp:
3220         * public/WebIDBCallbacks.h:
3221         * public/WebIndexedDatabase.h:
3222         * src/IDBCallbacksProxy.cpp: Added.
3223         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
3224         (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
3225         (WebCore::IDBCallbacksProxy::onError):
3226         (WebCore::IDBCallbacksProxy::onSuccess):
3227         * src/IDBCallbacksProxy.h:
3228         * src/IndexedDatabaseProxy.cpp:
3229         (WebCore::IndexedDatabaseProxy::open):
3230         * src/IndexedDatabaseProxy.h:
3231         * src/WebIndexedDatabaseImpl.cpp:
3232         (WebKit::WebIndexedDatabaseImpl::open):
3233         * src/WebIndexedDatabaseImpl.h:
3234
3235 2010-05-08  Jens Alfke  <snej@chromium.org>
3236
3237         Reviewed by Darin Fisher.
3238
3239         [chromium] WebFrame::registerPasswordListener shouldn't assert on duplicate listener.
3240         https://bugs.webkit.org/show_bug.cgi?id=38765
3241
3242         * public/WebFrame.h:
3243         (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. Updated comment.
3244         * src/WebFrameImpl.cpp:
3245         (WebKit::WebFrameImpl::registerPasswordListener): Return false instead of asserting.
3246         * src/WebFrameImpl.h:
3247         (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool.
3248
3249 2010-05-08  Michael Nordman  <michaeln@google.com>
3250
3251         Reviewed by Dmitry Titov.
3252
3253         Add an additional parameter to the WebSharedWorker::startWorkerContext method
3254         to indicate which appcache the shared worker script resource was loaded from,
3255         and provide that value when calling out to chrome via this interface.
3256         https://bugs.webkit.org/show_bug.cgi?id=38605
3257
3258         I'm keeping the old method around until patches can land in both repositories
3259         that make the old method obsolete and unneeded. There's a FIXME for that.
3260
3261         Also somewhat related but independent change to propagate the runtime enabled 
3262         flag thru to the page settings instance used by the 'shadow page'.
3263  
3264         * public/WebSharedWorker.h: Add the new param (but keep the old interface around for now too)
3265         (WebKit::WebSharedWorker::startWorkerContext):
3266         * src/SharedWorkerRepository.cpp: Provide the value when calling out to chrome.
3267         (WebCore::SharedWorkerScriptLoader::notifyFinished):
3268         * src/WebSharedWorkerImpl.cpp:
3269         (WebKit::WebSharedWorkerImpl::startWorkerContext):
3270         * src/WebSharedWorkerImpl.h:
3271         * src/WebWorkerBase.cpp: Propagate runtime enabled flag thru to the page settings.
3272         (WebKit::WebWorkerBase::initializeLoader):
3273
3274 2010-05-07  Darin Fisher  <darin@chromium.org>
3275
3276         Fix build bustage.  Update to Chromium code that avoids a bad
3277         dependency from net/ on chrome/.
3278
3279         * DEPS:
3280
3281 2010-05-07  Darin Fisher  <darin@chromium.org>
3282
3283         Fix build bustage.  Update to Chromium code that no longer uses
3284         deprecated methods.
3285
3286         * DEPS:
3287
3288 2010-05-07  Darin Fisher  <darin@chromium.org>
3289
3290         Reviewed by Dimitri Glazkov.
3291
3292         [chromium] clear out more deprecated methods that are no longer used
3293         https://bugs.webkit.org/show_bug.cgi?id=38702
3294
3295         * public/WebFrame.h:
3296         * public/WebNode.h:
3297         * src/WebFrameImpl.cpp:
3298         * src/WebFrameImpl.h:
3299         * src/WebNode.cpp:
3300
3301 2010-05-07  Finnur Thorarinsson  <finnur.webkit@gmail.com>
3302
3303         Reviewed by Dimitri Glazkov.
3304
3305         [chromium]: Fixing Find in page crash on sites.google.com
3306         https://bugs.webkit.org/show_bug.cgi?id=38591
3307         
3308         setMarkerActive should not try to set a collapsed marker as
3309         active. This can happen when you Edit a Sites page after doing
3310         a Find operation and then you press FindNext.
3311         
3312         * src/WebFrameImpl.cpp:
3313         (WebKit::WebFrameImpl::setMarkerActive):
3314
3315 2010-05-06  Kent Tamura  <tkent@chromium.org>
3316
3317         Reviewed by Dimitri Glazkov.
3318
3319         [DRT/Chromium] Add support for resources on Mac
3320         https://bugs.webkit.org/show_bug.cgi?id=38637
3321
3322         * DEPS: Check out tools/data_pack.
3323
3324 2010-05-06  Pavel Feldman  <pfeldman@chromium.org>
3325
3326         Reviewed by Timothy Hatcher.
3327
3328         Chromium Dev Tools: Large toolbar icons flash when dev
3329         tools is opened in docked mode.
3330
3331         https://bugs.webkit.org/show_bug.cgi?id=38631
3332
3333         * src/js/DevTools.js:
3334         (devtools.domContentLoaded):
3335
3336 2010-05-06  Adam Barth  <abarth@webkit.org>
3337
3338         Reviewed by Eric Seidel.
3339
3340         drop support for sessionStorage in sandbox iframes
3341         https://bugs.webkit.org/show_bug.cgi?id=38151
3342
3343         Update client of sessionStorage to handle exceptions.
3344
3345         * src/StorageAreaProxy.cpp:
3346         (WebCore::StorageAreaProxy::storageEvent):
3347
3348 2010-05-05  Darin Fisher  <darin@chromium.org>
3349
3350         Reviewed by Dimitri Glazkov.
3351
3352         [chromium] clear out deprecated methods that are no longer used
3353         https://bugs.webkit.org/show_bug.cgi?id=38610
3354
3355         * public/WebFormElement.h:
3356         * public/WebInputElement.h:
3357         * public/WebKitClient.h:
3358         * public/WebView.h:
3359         * public/WebViewClient.h:
3360         (WebKit::WebViewClient::createPopupMenu):
3361         * src/ChromeClientImpl.cpp:
3362         (WebKit::ChromeClientImpl::popupOpened):
3363         * src/WebFormElement.cpp:
3364         * src/WebInputElement.cpp:
3365         (WebKit::WebInputElement::setSelectionRange):
3366         * src/WebViewImpl.cpp:
3367         (WebKit::WebViewImpl::hideSuggestionsPopup):
3368         * src/WebViewImpl.h:
3369
3370 2010-05-05  Hans Wennborg  <hans@chromium.org>
3371
3372         Reviewed by Jeremy Orlow.
3373
3374         [chromium] Add quota parameter to  WebStorageNamespace::createSessionStorageNamespace
3375         https://bugs.webkit.org/show_bug.cgi?id=38589
3376
3377         * public/WebStorageNamespace.h:
3378         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
3379         * src/WebStorageNamespaceImpl.cpp:
3380         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
3381
3382 2010-05-05  Stuart Morgan  <stuartmorgan@chromium.org>
3383
3384         Reviewed by Darin Fisher.
3385
3386         Update the plugin container's setFocus implementation to pass the new
3387         boolean argument to the next layer.
3388
3389         https://bugs.webkit.org/show_bug.cgi?id=37961
3390
3391         * src/WebPluginContainerImpl.cpp:
3392         (WebKit::WebPluginContainerImpl::setFocus):
3393         * src/WebPluginContainerImpl.h:
3394
3395 2010-05-04  Vangelis Kokkevis  <vangelis@chromium.org>
3396
3397         Reviewed by Darin Fisher.
3398
3399         Provide an API for querying whether a WebWidget is using gpu accelerated compositing.
3400         Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive.
3401         https://bugs.webkit.org/show_bug.cgi?id=38220
3402
3403         * public/WebWidget.h:
3404         * src/WebPopupMenuImpl.h:
3405         (WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive):
3406         * src/WebViewImpl.cpp:
3407         (WebKit::WebViewImpl::WebViewImpl):
3408         (WebKit::WebViewImpl::paint):
3409         (WebKit::WebViewImpl::isAcceleratedCompositingActive):
3410         (WebKit::WebViewImpl::setRootGraphicsLayer):
3411         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3412         (WebKit::WebViewImpl::updateRootLayerContents):
3413         * src/WebViewImpl.h:
3414
3415 2010-04-29  John Gregg  <johnnyg@google.com>
3416
3417         Reviewed by Dmitry Titov.
3418
3419         notifications should have dir and replaceId attributes
3420         https://bugs.webkit.org/show_bug.cgi?id=38336
3421
3422         * public/WebNotification.h:
3423         * src/WebNotification.cpp:
3424         (WebKit::WebNotification::dir):
3425         (WebKit::WebNotification::replaceId):
3426
3427 2010-05-04  Jay Civelli  <jcivelli@chromium.org>
3428
3429         Reviewed by David Levin.
3430
3431         [chromium] Make the select popup not close on right/middle clicks.
3432         https://bugs.webkit.org/show_bug.cgi?id=38473
3433
3434         * src/WebViewImpl.cpp:
3435         (WebKit::WebViewImpl::mouseDown):
3436
3437 2010-05-03  Abhishek Arya  <inferno@chromium.org>
3438
3439         Reviewed by Adam Barth.
3440
3441         Add support for controlling clipboard access from javascript.
3442         Clipboard access from javascript is disabled by default.
3443         https://bugs.webkit.org/show_bug.cgi?id=27751
3444
3445         * public/WebSettings.h:
3446         * src/WebSettingsImpl.cpp:
3447         (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
3448         * src/WebSettingsImpl.h:
3449
3450 2010-05-03  Jens Alfke  <snej@chromium.org>
3451
3452         Reviewed by Darin Fisher.
3453
3454         [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
3455         https://bugs.webkit.org/show_bug.cgi?id=38397
3456
3457         No tests (functionality is exposed only through native WebKit API.)
3458
3459         * public/WebFrameClient.h:
3460         (WebKit::WebFrameClient::willSendSubmitEvent): New empty method
3461         * src/FrameLoaderClientImpl.cpp:
3462         (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Delegate to client
3463         * src/FrameLoaderClientImpl.h:
3464
3465 2010-05-02  Michael Nordman  <michaeln@google.com>
3466
3467         Reviewed by Dmitry Titov.
3468
3469         Define two new ResourceRequestBase TargetTypes for worker and shared worker
3470         main resources. Use the new target types where appropiate. Add logic to marshal
3471         the target type specified by requests initiated on a background worker thread.
3472
3473         https://bugs.webkit.org/show_bug.cgi?id=38295
3474
3475         * src/SharedWorkerRepository.cpp:  use TargetIsSharedWorker
3476         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
3477
3478 2010-05-02  Rafael Weinstein  <rafaelw@chromium.org>
3479
3480         Reviewed by Darin Fisher.
3481
3482         Include WebWindowFeatures in call to WebViewClient::createView.
3483         https://bugs.webkit.org/show_bug.cgi?id=38301
3484
3485         * public/WebViewClient.h:
3486         (WebKit::WebViewClient::createView):
3487         * public/WebWindowFeatures.h:
3488         * src/ChromeClientImpl.cpp:
3489         (WebKit::ChromeClientImpl::createWindow):
3490
3491 2010-05-01  Evan Stade  <estade@chromium.org>
3492
3493         Reviewed by David Levin
3494
3495         [chromium] Skia needs to fade DragImages
3496         https://bugs.webkit.org/show_bug.cgi?id=38008
3497
3498         * tests/DragImageTest.cpp:
3499         (DragImageTest.CreateDragImage): test that the drag image is a deep copy
3500
3501 2010-04-30  Jian Li  <jianli@chromium.org>
3502
3503         Reviewed by Darin Fisher.
3504
3505         [chromium] Add WebFileSystem interface and hook up with all FileSystem methods.
3506         https://bugs.webkit.org/show_bug.cgi?id=38228
3507
3508         * WebKit.gyp:
3509         * public/WebFileSystem.h: Added.
3510         * public/WebKitClient.h:
3511         (WebKit::WebKitClient::fileSystem):
3512         * src/ChromiumBridge.cpp:
3513         (WebCore::ChromiumBridge::fileExists):
3514         (WebCore::ChromiumBridge::deleteFile):
3515         (WebCore::ChromiumBridge::deleteEmptyDirectory):
3516         (WebCore::ChromiumBridge::getFileSize):
3517         (WebCore::ChromiumBridge::getFileModificationTime):
3518         (WebCore::ChromiumBridge::directoryName):
3519         (WebCore::ChromiumBridge::pathByAppendingComponent):
3520         (WebCore::ChromiumBridge::makeAllDirectories):
3521         (WebCore::ChromiumBridge::getAbsolutePath):
3522         (WebCore::ChromiumBridge::isDirectory):
3523         (WebCore::ChromiumBridge::filePathToURL):
3524         (WebCore::ChromiumBridge::openFile):
3525         (WebCore::ChromiumBridge::closeFile):
3526         (WebCore::ChromiumBridge::seekFile):
3527         (WebCore::ChromiumBridge::truncateFile):
3528         (WebCore::ChromiumBridge::readFromFile):
3529         (WebCore::ChromiumBridge::writeToFile):
3530
3531 2010-04-29  Jeremy Orlow  <jorlow@chromium.org>
3532
3533         Reviewed by Darin Fisher.
3534
3535         Change StorageEvent.uri to StorageEvent.url to match the spec
3536         https://bugs.webkit.org/show_bug.cgi?id=38331
3537
3538         Get rid of a stale FIXME and combine 2 lines that needn't be split.
3539
3540         * src/StorageEventDispatcherImpl.cpp:
3541         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
3542
3543 2010-04-29  Anton Muhin  <antonm@chromium.org>
3544
3545         Reviewed by Darin Fisher.
3546
3547         [Chromium] Consider implementing addOriginAccessWhitelistEntry method
3548         http://trac.webkit.org/changeset/57537 introduced a new method
3549         to manage whitelisting of origins.
3550         Expose this method in Chromium's bridge.
3551         https://bugs.webkit.org/show_bug.cgi?id=37578
3552
3553         * public/WebSecurityPolicy.h: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
3554         * src/WebSecurityPolicy.cpp: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
3555
3556 2010-04-29  Sheriff Bot  <webkit.review.bot@gmail.com>
3557
3558         Unreviewed, rolling out r58498.
3559         http://trac.webkit.org/changeset/58498
3560         https://bugs.webkit.org/show_bug.cgi?id=38332
3561
3562         "Broke a bunch of tests on Chromium canaries" (Requested by
3563         dglazkov on #webkit).
3564
3565         * public/WebViewClient.h:
3566         (WebKit::WebViewClient::createView):
3567         * public/WebWindowFeatures.h:
3568         * src/ChromeClientImpl.cpp:
3569         (WebKit::ChromeClientImpl::createWindow):
3570
3571 2010-04-29  Adam Langley  <agl@chromium.org>
3572
3573         Unreviewed, DEPS roll.
3574
3575         WebKit's r58517 needs OTS's r30 which was rolled into Chromium in
3576         r45932.
3577
3578         * DEPS:
3579           Use Chromium r45932.
3580
3581 2010-04-29  Rafael Weinstein  <rafaelw@chromium.org>
3582
3583         Reviewed by Darin Fisher.
3584
3585         Include WindowFeatures in call to WebViewClient::createView.
3586
3587         https://bugs.webkit.org/show_bug.cgi?id=38301
3588
3589         * public/WebViewClient.h:
3590         (WebKit::WebViewClient::createView):
3591         * public/WebWindowFeatures.h:
3592         * src/ChromeClientImpl.cpp:
3593         (WebKit::ChromeClientImpl::createWindow):
3594
3595 2010-04-29  Garret Kelly  <gdk@chromium.org>
3596
3597         Reviewed by Darin Fisher.
3598
3599         Expose the RuntimeFeature for touch events through the
3600         WebRuntimeFeatures mechanism.
3601         https://bugs.webkit.org/show_bug.cgi?id=37486
3602
3603         * public/WebRuntimeFeatures.h:
3604         * src/WebRuntimeFeatures.cpp:
3605         (WebKit::WebRuntimeFeatures::enableTouch):
3606         (WebKit::WebRuntimeFeatures::isTouchEnabled):
3607
3608 2010-04-29  Zhenyao Mo  <zmo@google.com>
3609
3610         Reviewed by Dimitri Glazkov.
3611
3612         Remove the unnecessary texImage2D function with Image as input in GraphicsContext3D
3613         https://bugs.webkit.org/show_bug.cgi?id=38235
3614
3615         * src/GraphicsContext3D.cpp: Remove tex*image implementation with Image input.
3616
3617 2010-04-28  Pavel Feldman  <pfeldman@chromium.org>
3618
3619         Reviewed by Yury Semikhatsky.
3620
3621         Web Inspector: Allow editing script resources when resource tracking is enabled.
3622
3623         http://bugs.webkit.org/show_bug.cgi?id=38269
3624  
3625         * src/js/DebuggerAgent.js:
3626         * src/js/InspectorControllerImpl.js:
3627         (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
3628         (.devtools.InspectorBackendImpl.prototype.editScriptSource):
3629
3630 2010-04-28  Darin Fisher  <darin@chromium.org>
3631
3632         Reviewed by David Levin.
3633
3634         [Chromium] callOnMainThread should equate to MessageLoop::PostTask
3635         https://bugs.webkit.org/show_bug.cgi?id=38276
3636
3637         * public/WebKitClient.h:
3638         (WebKit::WebKitClient::callOnMainThread):
3639         * src/ChromiumThreading.cpp:
3640         (WTF::ChromiumThreading::callOnMainThread):
3641
3642 2010-04-27  John Abd-El-Malek  <jam@chromium.org>
3643
3644         Reviewed by Darin Fisher.
3645
3646         Make WebThemeEngine::paint take a const ref of ExtraParams
3647         https://bugs.webkit.org/show_bug.cgi?id=38242
3648
3649         * public/WebThemeEngine.h:
3650         (WebKit::WebThemeEngine::paint):
3651
3652 2010-04-28  Andrey Kosyakov  <caseq@chromium.org>
3653
3654         Reviewed by Pavel Feldman.
3655
3656         Fixed passing breakpoints to V8. 
3657         https://bugs.webkit.org/show_bug.cgi?id=38266
3658
3659         * src/js/InspectorControllerImpl.js:
3660         (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
3661
3662 2010-04-28  Yury Semikhatsky  <yurys@chromium.org>
3663
3664         Reviewed by Pavel Feldman.
3665
3666         Support pause on exceptions in v8 implementation of ScriptDebugServer.
3667
3668         https://bugs.webkit.org/show_bug.cgi?id=38205        
3669
3670         * src/js/DebuggerScript.js:
3671         (debuggerScriptConstructor.DebuggerScript.getScripts):
3672         (debuggerScriptConstructor.DebuggerScript.pauseOnExceptionsState):
3673         (debuggerScriptConstructor.DebuggerScript.setPauseOnExceptionsState):
3674         (debuggerScriptConstructor.DebuggerScript._v8ToWebkitLineNumber):
3675         (debuggerScriptConstructor):
3676
3677 2010-04-27  Jens Alfke  <snej@chromium.org>
3678
3679         Reviewed by Eric Seidel.
3680
3681         [chromium] Fix bug that prevents autosave of forms without action attribute
3682         https://bugs.webkit.org/show_bug.cgi?id=38014
3683         Change is in the Chromium WebKit API so it can't be tested with a JS-based layout test.
3684         It needs a native unit test, which would go in the Chromium repo, not WebKit.
3685
3686         * src/WebPasswordFormData.cpp:
3687         (WebKit::WebPasswordFormData::WebPasswordFormData): Set correct URL if action is NULL
3688
3689 2010-04-27  Michael Nordman  <michaeln@google.com>
3690
3691         Reviewed by Dmitry Titov.
3692
3693         [Chromium] Add two things to the webkit API to support appcaches in workers.
3694         1) WebURLRequest TargetTypes for worker and shared worker main resources.
3695         2) Factory method on class WebCommonWorkerClient to
3696            createApplicationCacheHost() for the associated worker.
3697
3698         https://bugs.webkit.org/show_bug.cgi?id=38147