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