2011-04-28 Jay Civelli <jcivelli@chromium.org>
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-04-28  Jay Civelli  <jcivelli@chromium.org>
2
3         Reviewed by Adam Barth.
4
5         Introducing a new API to serialize a WebView back to HTML.
6         https://bugs.webkit.org/show_bug.cgi?id=58947
7
8         * WebKit.gyp:
9         * public/WebPageSerializer.h:
10         * src/WebPageSerializer.cpp:
11         (WebKit::WebPageSerializer::serialize):
12         * tests/WebPageNewSerializerTest.cpp: Added.
13         * tests/data/pageserializer: Added.
14         * tests/data/pageserializer/blank_frames.html: Added.
15         * tests/data/pageserializer/blue_background.png: Added.
16         * tests/data/pageserializer/css_test_page.html: Added.
17         * tests/data/pageserializer/green_background.png: Added.
18         * tests/data/pageserializer/iframe.html: Added.
19         * tests/data/pageserializer/iframe2.html: Added.
20         * tests/data/pageserializer/import_style_from_link.css: Added.
21         * tests/data/pageserializer/import_styles.css: Added.
22         * tests/data/pageserializer/link_styles.css: Added.
23         * tests/data/pageserializer/ol-dot.png: Added.
24         * tests/data/pageserializer/orange_background.png: Added.
25         * tests/data/pageserializer/purple_background.png: Added.
26         * tests/data/pageserializer/red_background.png: Added.
27         * tests/data/pageserializer/simple.xhtml: Added.
28         * tests/data/pageserializer/top_frame.html: Added.
29         * tests/data/pageserializer/ul-dot.png: Added.
30         * tests/data/pageserializer/yellow_background.png: Added.
31
32 2011-04-28  John Abd-El-Malek  <jam@chromium.org>
33
34         Reviewed by Darin Fisher.
35
36         [chromium] Add a WebPermissionClient to be used for checking permissions of features
37         https://bugs.webkit.org/show_bug.cgi?id=59720
38
39         * public/WebFrameClient.h:
40         (WebKit::WebFrameClient::allowPlugins):
41         (WebKit::WebFrameClient::didNotAllowPlugins):
42         (WebKit::WebFrameClient::allowImages):
43         (WebKit::WebFrameClient::allowScript):
44         (WebKit::WebFrameClient::allowDatabase):
45         (WebKit::WebFrameClient::didNotAllowScript):
46         * public/WebPermissionClient.h: Added.
47         (WebKit::WebPermissionClient::allowDatabase):
48         (WebKit::WebPermissionClient::allowImages):
49         (WebKit::WebPermissionClient::allowPlugins):
50         (WebKit::WebPermissionClient::allowScript):
51         (WebKit::WebPermissionClient::allowScriptExtension):
52         (WebKit::WebPermissionClient::allowReadFromClipboard):
53         (WebKit::WebPermissionClient::allowWriteToClipboard):
54         (WebKit::WebPermissionClient::didNotAllowPlugins):
55         (WebKit::WebPermissionClient::didNotAllowScript):
56         (WebKit::WebPermissionClient::~WebPermissionClient):
57         * public/WebView.h:
58         * public/WebViewClient.h:
59         (WebKit::WebViewClient::didEndEditing):
60         * src/DatabaseObserver.cpp:
61         (WebCore::DatabaseObserver::canEstablishDatabase):
62         * src/EditorClientImpl.cpp:
63         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
64         (WebKit::EditorClientImpl::canCopyCut):
65         (WebKit::EditorClientImpl::canPaste):
66         * src/FrameLoaderClientImpl.cpp:
67         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
68         (WebKit::FrameLoaderClientImpl::allowJavaScript):
69         (WebKit::FrameLoaderClientImpl::allowPlugins):
70         (WebKit::FrameLoaderClientImpl::allowImages):
71         (WebKit::FrameLoaderClientImpl::didNotAllowScript):
72         (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
73         * src/WebFrameImpl.cpp:
74         (WebKit::WebFrameImpl::enableContinuousSpellChecking):
75         * src/WebViewImpl.cpp:
76         (WebKit::WebViewImpl::setAutoFillClient):
77         (WebKit::WebViewImpl::setPermissionClient):
78         (WebKit::WebViewImpl::WebViewImpl):
79         * src/WebViewImpl.h:
80         (WebKit::WebViewImpl::permissionClient):
81
82 2011-04-28  Kenneth Russell  <kbr@google.com>
83
84         Unreviewed fix for Windows multi-DLL build.
85
86         * WebKit.gyp:
87
88 2011-04-27  Dmitry Lomov  <dslomov@google.com>
89
90         Reviewed by David Levin.
91         
92         CrossThreadCopier should not have a default specialization for raw pointers
93         https://bugs.webkit.org/show_bug.cgi?id=59234
94         Removed the ablity to pass raw pointers cross-thread
95         Added and applied annotations for doing that
96
97         * src/WebSharedWorkerImpl.cpp:
98         (WebKit::WebSharedWorkerImpl::connect):
99         (WebKit::WebSharedWorkerImpl::connectTask):
100         * src/WebSharedWorkerImpl.h:
101         * src/WebWorkerBase.cpp:
102         (WebKit::WebWorkerBase::postMessageToWorkerObject):
103         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
104         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
105         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
106         (WebKit::WebWorkerBase::reportPendingActivity):
107         (WebKit::WebWorkerBase::workerContextClosed):
108         (WebKit::WebWorkerBase::workerContextDestroyed):
109         * src/WebWorkerClientImpl.cpp:
110         (WebKit::WebWorkerClientImpl::startWorkerContext):
111         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
112         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
113         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
114         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
115         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
116         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
117         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
118         (WebKit::WebWorkerClientImpl::reportPendingActivity):
119         * src/WebWorkerImpl.cpp:
120         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
121         * src/WorkerFileSystemCallbacksBridge.cpp:
122         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
123         (WebKit::WorkerFileSystemCallbacksBridge::postMoveToMainThread):
124         (WebKit::WorkerFileSystemCallbacksBridge::postCopyToMainThread):
125         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveToMainThread):
126         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread):
127         (WebKit::WorkerFileSystemCallbacksBridge::postReadMetadataToMainThread):
128         (WebKit::WorkerFileSystemCallbacksBridge::postCreateFileToMainThread):
129         (WebKit::WorkerFileSystemCallbacksBridge::postCreateDirectoryToMainThread):
130         (WebKit::WorkerFileSystemCallbacksBridge::postFileExistsToMainThread):
131         (WebKit::WorkerFileSystemCallbacksBridge::postDirectoryExistsToMainThread):
132         (WebKit::WorkerFileSystemCallbacksBridge::postReadDirectoryToMainThread):
133         (WebKit::WorkerFileSystemCallbacksBridge::didFailOnMainThread):
134         (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnMainThread):
135         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
136         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
137         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
138         * src/WorkerFileWriterCallbacksBridge.cpp:
139         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
140         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
141         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
142         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
143         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
144         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
145         (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
146         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
147         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
148         * tests/CCThreadTest.cpp:
149         (WebCore::TEST):
150
151 2011-04-27  James Robinson  <jamesr@chromium.org>
152
153         Reviewed by Kenneth Russell.
154
155         [chromium] Ensure compositing layers are up to date before entering doComposite
156         https://bugs.webkit.org/show_bug.cgi?id=59159
157
158         Explicitly update and sync the compositing layer data structures for all frames in the tree before entering the
159         composite operation so that lazily updated state doesn't mutate the GraphicsLayer tree while compositing.
160
161         * src/WebViewImpl.cpp:
162         (WebKit::WebViewImpl::composite):
163
164 2011-04-27  James Robinson  <jamesr@chromium.org>
165
166         Reviewed by Adam Barth.
167
168         Fix OwnPtr strict issues in chromium linux build
169         https://bugs.webkit.org/show_bug.cgi?id=59664
170
171         * src/WebImageDecoder.cpp:
172         (WebKit::WebImageDecoder::getFrameAtIndex):
173         * src/WebImageSkia.cpp:
174         (WebKit::WebImage::fromData):
175
176 2011-04-27  Adam Barth  <abarth@webkit.org>
177
178         Reviewed by David Levin.
179
180         Make GraphicsContext3DChromium play nice with strict OwnPtrs
181         https://bugs.webkit.org/show_bug.cgi?id=59659
182
183         Attempt #2.  Hopefully this time I won't make everything crash.
184
185         * src/GraphicsContext3DChromium.cpp:
186         (WebCore::GraphicsContext3DInternal::initialize):
187
188 2011-04-27  Dirk Pranke  <dpranke@chromium.org>
189
190         Reviewed by Darin Fisher.
191
192         remove unneeded TestWebWidget class
193         https://bugs.webkit.org/show_bug.cgi?id=59573
194
195         * tests/PopupMenuTest.cpp:
196
197 2011-04-27  Tony Chang  <tony@chromium.org>
198
199         Reviewed by Ojan Vafai.
200
201         [chromium] add a build target to make a zip file with the inspector debug files
202         https://bugs.webkit.org/show_bug.cgi?id=56656
203
204         * WebKit.gyp: Add target
205         * scripts/concatenate_css_files.py: Pass in a string of html rather
206             than a filename
207         * scripts/concatenate_js_files.py: Same as above
208         * scripts/generate_devtools_html.py: Refactor main into a helper function
209         * scripts/generate_devtools_zip.py: Added.
210
211 2011-04-27  Mihai Parparita  <mihaip@chromium.org>
212
213         Reviewed by Eric Seidel.
214
215         Frame.h shouldn't include Document.h
216         https://bugs.webkit.org/show_bug.cgi?id=59560
217         
218         Add Document.h #includes for files that were relying on transitive
219         #includes via Frame.h.
220
221         * src/LocalFileSystemChromium.cpp:
222         * src/StorageEventDispatcherImpl.cpp:
223         * src/WebFrameImpl.h:
224         * src/WebWorkerBase.cpp:
225
226 2011-04-26  Jay Civelli  <jcivelli@chromium.org>
227
228         Reviewed by Eric Seidel.
229
230         Typedefing the shared timer function.
231         https://bugs.webkit.org/show_bug.cgi?id=59564
232
233         * public/WebKitClient.h:
234         (WebKit::WebKitClient::setSharedTimerFiredFunction):
235
236 2011-04-26  Dirk Pranke  <dpranke@chromium.org>
237
238         Unreviewed, rolling out r84982.
239         http://trac.webkit.org/changeset/84982
240         https://bugs.webkit.org/show_bug.cgi?id=59558
241
242         re-land r84951
243
244         * WebKit.gyp:
245         * public/WebFrame.h:
246         * public/WebWidget.h:
247         * public/mac/WebSubstringUtil.h: Added.
248         * src/WebFrameImpl.cpp:
249         (WebKit::WebFrameImpl::firstRectForCharacterRange):
250         (WebKit::WebFrameImpl::characterIndexForPoint):
251         * src/WebFrameImpl.h:
252         * src/WebPopupMenuImpl.cpp:
253         (WebKit::WebPopupMenuImpl::compositionRange):
254         (WebKit::WebPopupMenuImpl::caretOrSelectionRange):
255         * src/WebPopupMenuImpl.h:
256         * src/WebViewImpl.cpp:
257         (WebKit::WebViewImpl::compositionRange):
258         (WebKit::WebViewImpl::caretOrSelectionRange):
259         * src/WebViewImpl.h:
260         * src/mac/WebSubstringUtil.mm: Added.
261         (WebKit::WebSubstringUtil::attributedSubstringInRange):
262
263 2011-04-26  Sam Weinig  <sam@webkit.org>
264
265         Reviewed by David Hyatt.
266
267         Remove Datagrid from the tree
268         https://bugs.webkit.org/show_bug.cgi?id=59543
269
270         * features.gypi:
271         Remove feature.
272
273 2011-04-26  Sheriff Bot  <webkit.review.bot@gmail.com>
274
275         Unreviewed, rolling out r84951.
276         http://trac.webkit.org/changeset/84951
277         https://bugs.webkit.org/show_bug.cgi?id=59558
278
279         "breaks chromium compile" (Requested by dpranke on #webkit).
280
281         * WebKit.gyp:
282         * public/WebFrame.h:
283         * public/WebWidget.h:
284         * public/mac/WebSubstringUtil.h: Removed.
285         * src/WebFrameImpl.cpp:
286         (WebKit::WebFrameImpl::firstRectForCharacterRange):
287         * src/WebFrameImpl.h:
288         * src/WebPopupMenuImpl.cpp:
289         * src/WebPopupMenuImpl.h:
290         * src/WebViewImpl.cpp:
291         * src/WebViewImpl.h:
292         * src/mac/WebSubstringUtil.mm: Removed.
293
294 2011-04-26  Daniel Cheng  <dcheng@chromium.org>
295
296         Reviewed by Eric Seidel.
297
298         [chromium] Implement EditorClient::canCopyCut and EditorClient::canPaste
299         https://bugs.webkit.org/show_bug.cgi?id=59264
300
301         * public/WebViewClient.h:
302         (WebKit::WebViewClient::canTriggerClipboardRead):
303         (WebKit::WebViewClient::canTriggerClipboardWrite):
304         * src/EditorClientImpl.cpp:
305         (WebKit::EditorClientImpl::canCopyCut):
306         (WebKit::EditorClientImpl::canPaste):
307
308 2011-04-26  Evan Martin  <evan@chromium.org>
309
310         Unreviewed, Chrome/Mac build fix.
311
312         * WebKit.gypi: Remove extra file.  (I removed a subtraction, but
313         forgot to remove the corresponding addition that the subtraction
314         was counteracting.)
315
316 2011-04-26  Evan Martin  <evan@chromium.org>
317
318         Reviewed by Tony Chang.
319
320         [chromium] refactor duplicated list of test source files
321         https://bugs.webkit.org/show_bug.cgi?id=59478
322
323         The platform-specific unit test files were listed twice in
324         WebKit.gyp: once for the components build, once for the normal
325         build.  Refactor this into the unified webkit_unittest_files
326         variable.  (It appears the omission of WebPageSerializerTest
327         in one instance was an oversight.)
328
329         * WebKit.gyp:
330         * WebKit.gypi:
331
332 2011-04-26  Robert Sesek  <rsesek@chromium.org>
333
334         Reviewed by Dimitri Glazkov.
335
336         [Chromium] Implement WebKit methods to assist with Cocoa NSTextInput implementation
337         https://bugs.webkit.org/show_bug.cgi?id=54969
338
339         * WebKit.gyp:
340         * public/WebFrame.h:
341         * public/WebWidget.h:
342         * public/mac/WebSubstringUtil.h: Added.
343         * src/WebFrameImpl.cpp:
344         (WebKit::WebFrameImpl::firstRectForCharacterRange): Return the result rect in window coordinates
345         (WebKit::WebFrameImpl::characterIndexForPoint): New method on WebFrame
346         * src/WebFrameImpl.h:
347         * src/WebPopupMenuImpl.cpp:
348         (WebKit::WebPopupMenuImpl::compositionRange): New method on WebWidget; empty impl
349         (WebKit::WebPopupMenuImpl::caretOrSelectionRange): New method on WebWidget; empty impl
350         * src/WebPopupMenuImpl.h:
351         * src/WebViewImpl.cpp:
352         (WebKit::WebViewImpl::compositionRange): New method on WebWidget
353         (WebKit::WebViewImpl::caretOrSelectionRange): New method on WebWidget
354         * src/WebViewImpl.h:
355         * src/mac/WebSubstringUtil.mm: Added.
356         (WebKit::WebSubstringUtil::attributedSubstringInRange):
357
358 2011-04-26  Adam Barth  <abarth@webkit.org>
359
360         Reviewed by David Levin.
361
362         Moar strict OwnPtr fixes for WebKit/chromium
363         https://bugs.webkit.org/show_bug.cgi?id=59437
364
365         This patch fixes all but two strict OwnPtr issues in WebKit/chromium.
366
367         * src/WebDataSourceImpl.cpp:
368         (WebKit::WebDataSourceImpl::setExtraData):
369         (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
370         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
371         * src/WebDataSourceImpl.h:
372         * src/WebDevToolsAgentImpl.cpp:
373         (WebKit::WebDevToolsAgentImpl::attach):
374         (WebKit::WebDevToolsAgentImpl::detach):
375         (WebKit::WebDevToolsAgent::interruptAndDispatch):
376         * src/WebFrameImpl.cpp:
377         (WebKit::WebFrameImpl::printBegin):
378         * src/WebMediaPlayerClientImpl.cpp:
379         (WebKit::createWebMediaPlayer):
380         (WebKit::WebMediaPlayerClientImpl::loadInternal):
381         * src/WebSpeechInputControllerMockImpl.cpp:
382         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
383         * src/WebStorageEventDispatcherImpl.cpp:
384         (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
385         * src/WebViewImpl.cpp:
386         (WebKit::WebViewImpl::WebViewImpl):
387         (WebKit::WebViewImpl::settings):
388         (WebKit::WebViewImpl::applyAutoFillSuggestions):
389         (WebKit::WebView::addUserScript):
390         (WebKit::WebView::addUserStyleSheet):
391
392 2011-04-26  Ruben  <chromium@hybridsource.org>
393
394         Reviewed by Tony Chang.
395
396         Change linux ifdefs for Chromium to Unix instead, allowing
397         new Unix ports to be enabled by default
398         https://bugs.webkit.org/show_bug.cgi?id=59297
399
400         * src/PlatformBridge.cpp:
401         * src/WebFrameImpl.cpp:
402         * src/WebViewImpl.cpp:
403
404 2011-04-26  Stephen White  <senorblanco@chromium.org>
405
406         Reviewed by Kenneth Russell.
407
408         Partial revert of http://trac.webkit.org/changeset/84893, since it
409         triggered a large number of layout test failures.
410         https://bugs.webkit.org/show_bug.cgi?id=59459
411
412         * src/GraphicsContext3DChromium.cpp:
413         (WebCore::GraphicsContext3DInternal::initialize):
414
415 2011-04-26  Hans Wennborg  <hans@chromium.org>
416
417         Reviewed by Tony Gentilcore.
418
419         IndexedDB: Enable compile-time flag for LevelDB
420         https://bugs.webkit.org/show_bug.cgi?id=59457
421
422         Set ENABLE_LEVELDB=1 in features.gypi.
423
424         * features.gypi:
425
426 2011-04-26  Pavel Feldman  <pfeldman@google.com>
427
428         Reviewed by Yury Semikhatsky.
429
430         Chromium DevTools: recognize WebP as a valid mimetype in the Chromium port.
431         https://bugs.webkit.org/show_bug.cgi?id=59332
432
433         * src/js/DevTools.js:
434
435 2011-04-26  Adam Barth  <abarth@webkit.org>
436
437         Reviewed by David Levin.
438
439         WebKit/chromium should play nice with strict OwnPtrs
440         https://bugs.webkit.org/show_bug.cgi?id=59434
441
442         This fixes about half the issues.
443
444         * src/ApplicationCacheHost.cpp:
445         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
446         * src/ApplicationCacheHostInternal.h:
447         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
448         * src/AutoFillPopupMenuClient.cpp:
449         (WebKit::AutoFillPopupMenuClient::initialize):
450         * src/GraphicsContext3DChromium.cpp:
451         (WebCore::GraphicsContext3DInternal::initialize):
452         * src/ResourceHandle.cpp:
453         (WebCore::ResourceHandleInternal::start):
454         (WebCore::ResourceHandle::ResourceHandle):
455         (WebCore::ResourceHandle::loadResourceSynchronously):
456         * src/SocketStreamHandle.cpp:
457         (WebCore::SocketStreamHandleInternal::connect):
458
459 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
460
461         Unreviewed, build fix.
462
463         Change FAILS_ to DISABLED_ in r84813.
464
465         * tests/TransparencyWinTest.cpp:
466         (WebCore::TEST):
467
468 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
469
470         Reviewed by James Robinson.
471
472         Suppress test failure in Chromium webkit_unit_tests.
473         https://bugs.webkit.org/show_bug.cgi?id=59358
474
475         Looks like this started failing after
476         http://trac.webkit.org/changeset/84631.
477
478         * tests/TransparencyWinTest.cpp:
479         (WebCore::TEST):
480
481 2011-04-22  Mikhail Naganov  <mnaganov@chromium.org>
482
483         Reviewed by Pavel Feldman.
484
485         Web Inspector: [Chromium] Move detailed heap snapshots storage and processing into workers.
486         https://bugs.webkit.org/show_bug.cgi?id=59094
487
488         * WebKit.gyp:
489
490 2011-04-22  Andrey Kosyakov  <caseq@chromium.org>
491
492         Reviewed by Pavel Feldman.
493
494         Web Inspector: [Extensions API] misc API cleanup
495         https://bugs.webkit.org/show_bug.cgi?id=59194
496
497         * src/js/DevTools.js:
498         (WebInspector.platformExtensionAPI):
499
500 2011-04-21  Chris Fleizach  <cfleizach@apple.com>
501
502         Reviewed by Beth Dakin.
503
504         AX: order AccessibilityRole alphabetically
505         https://bugs.webkit.org/show_bug.cgi?id=31524
506
507         * public/WebAccessibilityRole.h:
508
509 2011-04-21  Maciej Stachowiak  <mjs@apple.com>
510
511         Reviewed by Adam Roben.
512
513         Add a feature define to allow <details> and <summary> to be disabled
514         https://bugs.webkit.org/show_bug.cgi?id=59118
515         <rdar://problem/9257045>
516
517         * features.gypi:
518
519 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
520
521         Reviewed by Sam Weinig.
522
523         Add Frame* to the argument lists of canCopyCut and canPaste
524         https://bugs.webkit.org/show_bug.cgi?id=59153
525
526         * src/EditorClientImpl.cpp:
527         (WebKit::EditorClientImpl::canCopyCut):
528         (WebKit::EditorClientImpl::canPaste):
529         * src/EditorClientImpl.h:
530
531 2011-04-21  Roland Steiner  <rolandsteiner@chromium.org>
532
533         Reviewed by Dimitri Glazkov.
534
535         Bug 58704 - Decide on node type for ShadowRoot
536         https://bugs.webkit.org/show_bug.cgi?id=58704
537
538         Add a new enum entry to WebNode::NodeType for shadow roots.
539         Adapt calling sites for new SHADOW_ROOT_NODE node type.
540
541         * public/WebNode.h:
542         * src/WebPageSerializerImpl.cpp:
543         (WebKit::WebPageSerializerImpl::buildContentForNode):
544
545 2011-04-20  Dominic Cooney  <dominicc@chromium.org>
546
547         Reviewed by Dimitri Glazkov.
548
549         layoutTestController can create and destroy shadow DOM
550         https://bugs.webkit.org/show_bug.cgi?id=59058
551
552         Chromium DRT relies on the Chromium WebKit API
553
554         * public/WebElement.h:
555         * src/WebElement.cpp:
556         (WebKit::WebElement::shadowRoot): don't steal a zero refcount
557         (WebKit::WebElement::ensureShadowRoot): added
558         (WebKit::WebElement::removeShadowRoot): added
559
560 2011-04-20  Alexey Marinichev  <amarinichev@chromium.org>
561
562         Reviewed by Kenneth Russell.
563
564         Check for null m_context in WebGLLayerChromium and add resetting platform layer's context in the destructor of GraphicsContext3D.
565         https://bugs.webkit.org/show_bug.cgi?id=59045
566
567         * src/GraphicsContext3DChromium.cpp:
568         (WebCore::GraphicsContext3D::~GraphicsContext3D): call into platform
569         layer and unregister itself.
570
571 2011-04-20  Yuzhu Shen  <yzshen@chromium.org>
572
573         Reviewed by Tony Chang.
574
575         [chromium] linux chromium doesn't set click count for mouse up events.
576         https://bugs.webkit.org/show_bug.cgi?id=58921
577
578         The reason why we need such a fix is that the Pepper API passes this information to plugins,
579         and some consumers (e.g., Flash) need it to detect double-clicks.
580
581         * src/gtk/WebInputEventFactory.cpp: set click count for mouse up events.
582         * tests/WebInputEventFactoryTestGtk.cpp: added test case MouseUpClickCount.
583 2011-04-20  Evan Martin  <evan@chromium.org>
584
585         Reviewed by Tony Chang.
586
587         [chromium] expose title text direction on WebDataSource
588         https://bugs.webkit.org/show_bug.cgi?id=59010
589
590         * public/WebDataSource.h:
591         * src/WebDataSourceImpl.cpp:
592         (WebKit::WebDataSourceImpl::pageTitle):
593         (WebKit::WebDataSourceImpl::pageTitleDirection):
594         * src/WebDataSourceImpl.h:
595
596 2011-04-20  Pavel Feldman  <pfeldman@google.com>
597
598         Reviewed by Yury Semikhatsky.
599
600         Web Inspector: add saveAs into the InspectorFrontendHost binding.
601         https://bugs.webkit.org/show_bug.cgi?id=58979
602
603         * public/WebDevToolsFrontendClient.h:
604         (WebKit::WebDevToolsFrontendClient::saveAs):
605         * src/InspectorFrontendClientImpl.cpp:
606         (WebKit::InspectorFrontendClientImpl::saveAs):
607         * src/InspectorFrontendClientImpl.h:
608         * src/js/DevTools.js:
609
610 2011-04-19  Naoki Takano  <takano.naoki@gmail.com>
611
612         Reviewed by Kent Tamura.
613
614         [Chromium]UI polishes and tweaks to Autofill dropdown menu.
615         https://bugs.webkit.org/show_bug.cgi?id=58505
616
617         * src/AutoFillPopupMenuClient.cpp:
618         (WebKit::AutoFillPopupMenuClient::initialize): Set AutofillPopup for menuStyle.
619
620 2011-04-19  Dirk Pranke  <dpranke@chromium.org>
621
622         Unreviewed, attempting build fix.
623
624         Disable leveldb to work around
625         http://code.google.com/p/leveldb/issues/detail?id=1.
626
627         * features.gypi:
628
629 2011-04-19  Dominic Cooney  <dominicc@chromium.org>
630
631         Reviewed by Dimitri Glazkov.
632
633         Check the type of the wrapper when unwrapping NPObjects to native
634         Ranges and Elements
635         https://bugs.webkit.org/show_bug.cgi?id=58957
636
637         * src/WebBindings.cpp:
638         (WebKit::getRangeImpl): check HasInstance
639         (WebKit::getElementImpl): check HasInstance
640
641 2011-04-19  Evan Martin  <evan@chromium.org>
642
643         Reviewed by Darin Fisher.
644
645         [chromium] didReceiveTitle API signature should not change
646         https://bugs.webkit.org/show_bug.cgi?id=58909
647
648         My previous attempt at a temporary shim was wrong.
649         This second try should correctly work with older clients.
650
651         * public/WebFrameClient.h:
652         (WebKit::WebFrameClient::didReceiveTitle):
653
654 2011-04-19  Jungshik Shin  <jshin@chromium.org>
655
656         Reviewed by Adam Barth
657
658         Fix the compile failure in UniscribeHelperTest.cpp due to
659         a change in UniscribeHelper made by the CL for bug 48860
660         (r84264)
661
662         http://bugs.webkit.org/show_bug.cgi?id=48860
663
664         * tests/UniscribeHelperTest.cpp:
665         (TEST_F):
666
667 2011-04-19  Stuart Morgan  <stuartmorgan@chromium.org>
668
669         Reviewed by Tony Chang.
670
671         [chromium] Clicking on plugin for first time blocks focus shift
672         https://bugs.webkit.org/show_bug.cgi?id=58419
673
674         Switched to using FocusController when moving focus to a plugin
675         so that cross-frame focus changes are handled correctly.
676
677         * src/WebPluginContainerImpl.cpp:
678         (WebKit::WebPluginContainerImpl::handleMouseEvent):
679
680 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
681
682         Reviewed by Pavel Feldman.
683
684         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
685         https://bugs.webkit.org/show_bug.cgi?id=58883
686
687         Renamed lengthReceived to encodedDataLength/dataLength.
688
689         * public/WebURLLoaderClient.h:
690         (WebKit::WebURLLoaderClient::didReceiveData):
691         * src/AssociatedURLLoader.cpp:
692         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
693         * src/FrameLoaderClientImpl.cpp:
694         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
695         * src/FrameLoaderClientImpl.h:
696         * src/ResourceHandle.cpp:
697         (WebCore::ResourceHandleInternal::didReceiveData):
698
699 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
700
701         Reviewed by Pavel Feldman.
702
703         Chromium DevTools: Network panel timing test is flaky
704         https://bugs.webkit.org/show_bug.cgi?id=58699
705
706         Fixed network timing test flakiness.
707
708         * src/js/Tests.js:
709         (.TestSuite.prototype.testNetworkTiming.finishResource):
710
711 2011-04-19  Andrey Kosyakov  <caseq@chromium.org>
712
713         Reviewed by Pavel Feldman.
714
715         Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
716         https://bugs.webkit.org/show_bug.cgi?id=58894
717
718         * src/js/DevTools.js:
719         (WebInspector.platformExtensionAPI):
720
721 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
722
723         Not reviewed; another build fix attempt.
724
725         * src/StorageInfoChromium.cpp:
726         (WebCore::StorageInfo::queryUsageAndQuota):
727         (WebCore::StorageInfo::requestQuota):
728         * src/WebStorageQuotaCallbacksImpl.cpp:
729         (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
730         * src/WebStorageQuotaCallbacksImpl.h:
731
732 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
733
734         Reviewed by David Levin.
735
736         [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
737         https://bugs.webkit.org/show_bug.cgi?id=58784
738
739         * features.gypi: Added ENABLE_QUOTA=1.
740         * public/WebRuntimeFeatures.h:
741         * src/WebRuntimeFeatures.cpp:
742         (WebKit::WebRuntimeFeatures::enableQuota): Added.
743         (WebKit::WebRuntimeFeatures::isQuotaEnabled): Added.
744
745 2011-04-19  John Gregg  <johnnyg@google.com>
746
747         Reviewed by Darin Fisher.
748
749         Enable folder drag-n-drop when using a "webkitdirectory" file input
750         https://bugs.webkit.org/show_bug.cgi?id=58401
751
752         This uses a new ChromeClient API to enumerate the directory and 
753         return all the files, as if the user had selected that directory
754         by clicking the control in the normal way.
755
756         * public/WebViewClient.h:
757         (WebKit::WebViewClient::enumerateChosenDirectory):
758         * src/ChromeClientImpl.cpp:
759         (WebKit::ChromeClientImpl::enumerateChosenDirectory):
760         * src/ChromeClientImpl.h:
761
762 2011-04-18  Evan Martin  <evan@chromium.org>
763
764         Reviewed by Eric Seidel.
765
766         [chromium] expose title direction to webkit client
767         https://bugs.webkit.org/show_bug.cgi?id=58823
768
769         * public/WebFrameClient.h:
770         (WebKit::WebFrameClient::didReceiveTitle):
771         Add new param to API.
772
773         * src/FrameLoaderClientImpl.cpp:
774         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
775         Pass new param in API.
776
777 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
778
779         Reviewed by Adam Barth.
780
781         Rename PLATFORM(CG) to USE(CG)
782         https://bugs.webkit.org/show_bug.cgi?id=58729
783
784         * src/GraphicsContext3DChromium.cpp:
785         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
786         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
787         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
788         (WebCore::GraphicsContext3DInternal::reshape):
789         * src/GraphicsContext3DInternal.h:
790         * src/PlatformBridge.cpp:
791         * src/WebViewImpl.cpp:
792         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
793
794 2011-04-15  John Bates  <jbates@google.com>
795
796         Reviewed by Kenneth Russell.
797
798         Change WebGraphicsContext3D virtuals to pure virtuals as intended
799         https://bugs.webkit.org/show_bug.cgi?id=58479
800
801         * public/WebGraphicsContext3D.h:
802
803 2011-04-15  Shishir Agrawal  <shishir@chromium.org>
804
805         Reviewed by James Robinson.
806
807         Add a flag to guard Page Visibility API changes.
808         https://bugs.webkit.org/show_bug.cgi?id=58464
809
810         * features.gypi:
811
812 2011-04-15  Charlie Reis  <creis@chromium.org>
813
814         Reviewed by Darin Fisher.
815
816         [Chromium] fast/events/popup-allowed-from-gesture-initiated-form-submit.html causing debug ASSERT
817         https://bugs.webkit.org/show_bug.cgi?id=44079
818
819         Remove an assert whose invariant doesn't hold.
820
821         * src/FrameLoaderClientImpl.cpp:
822
823 2011-04-15  Kinuko Yasuda  <kinuko@chromium.org>
824
825         Reviewed by David Levin.
826
827         Expose unified Quota API if QUOTA build flag is enabled
828         https://bugs.webkit.org/show_bug.cgi?id=58648
829
830         * src/AssertMatchingEnums.cpp: Added enum assertions.
831         * src/StorageInfoChromium.cpp: Made a build fix.
832
833 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
834
835         Reviewed by Pavel Feldman.
836
837         Web Inspector: Rename rawRequestHeadersText and RawResponseHeadersText to requestHeadersText and responseHeadersText
838         https://bugs.webkit.org/show_bug.cgi?id=58650
839
840         * public/WebHTTPLoadInfo.h:
841         * src/WebHTTPLoadInfo.cpp:
842         (WebKit::WebHTTPLoadInfo::requestHeadersText):
843         (WebKit::WebHTTPLoadInfo::setRequestHeadersText):
844         (WebKit::WebHTTPLoadInfo::responseHeadersText):
845         (WebKit::WebHTTPLoadInfo::setResponseHeadersText):
846
847 2011-04-15  Zelidrag Hornung  <zelidrag@chromium.org>
848
849         Reviewed by Darin Fisher.
850
851         Added enums for external file system type and exposed factory function
852         for creating File- and DirectoryEntry objects from Chromium side.
853         https://bugs.webkit.org/show_bug.cgi?id=58456
854
855         * public/WebFileSystem.h:
856         * public/WebFrame.h:
857         * src/AssertMatchingEnums.cpp:
858         * src/WebFrameImpl.cpp:
859         (WebKit::WebFrameImpl::createFileSystem):
860         (WebKit::WebFrameImpl::createFileEntry):
861         * src/WebFrameImpl.h:
862
863 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
864
865         Reviewed by Pavel Feldman.
866
867         Web Inspector: [Chromium] Create tests for network panel timing, size and raw headers text
868         https://bugs.webkit.org/show_bug.cgi?id=58566
869
870         Added network timing, size and raw headers tests for Inspector
871         Since chromium used different version of network stack for layout
872         tests, these are interactive ui tests (DevToolsSanityTest.TestNetwork*)
873
874         * src/js/Tests.js:
875         (.TestSuite.prototype.testNetworkSize.finishResource):
876         (.TestSuite.prototype.testNetworkSyncSize.finishResource):
877         (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
878         (.TestSuite.prototype.testNetworkTiming.finishResource):
879
880 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
881
882         Reviewed by Pavel Feldman.
883
884         Web Inspector: Enable raw HTTP headers support
885         https://bugs.webkit.org/show_bug.cgi?id=58259
886
887         Added raw headers text support to inspector.
888
889         * public/WebHTTPLoadInfo.h:
890         * src/WebHTTPLoadInfo.cpp:
891         (WebKit::WebHTTPLoadInfo::rawRequestHeadersText):
892         (WebKit::WebHTTPLoadInfo::setRawRequestHeadersText):
893         (WebKit::WebHTTPLoadInfo::rawResponseHeadersText):
894         (WebKit::WebHTTPLoadInfo::setRawResponseHeadersText):
895
896 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
897
898         Reviewed by Pavel Feldman.
899
900         Web Inspector: ResourceResponse should have encodedDataLength field for synchronous requests transfer size
901         https://bugs.webkit.org/show_bug.cgi?id=58447
902
903         FrameLoader now takes encoded data length for synchronous requests from the field with the same name.
904
905         * public/WebHTTPLoadInfo.h:
906         * src/WebHTTPLoadInfo.cpp:
907         (WebKit::WebHTTPLoadInfo::encodedDataLength):
908         (WebKit::WebHTTPLoadInfo::setEncodedDataLength):
909
910 2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
911
912         Reviewed by James Robinson.
913
914         Remove dependency on chromium skia::PlatformCanvas
915         https://bugs.webkit.org/show_bug.cgi?id=57563
916
917         * public/WebCanvas.h:
918         * src/WebFrameImpl.cpp:
919         (WebKit::WebFrameImpl::printPage):
920         * tests/TransparencyWinTest.cpp:
921         (WebCore::drawNativeRect):
922         (WebCore::getPixelAt):
923         (WebCore::clearTopLayerAlphaChannel):
924         (WebCore::clearTopLayerAlphaPixel):
925         (WebCore::TEST):
926
927 2011-04-14  Brian Salomon  <bsalomon@google.com>
928
929         Reviewed by Kenneth Russell.
930
931         In skia platform call SkBitmap::notifyPixelsChanged on WebGL readback
932         https://bugs.webkit.org/show_bug.cgi?id=58543
933
934         No new tests. Tested by fast/canvas/webgl/canvas-test.html
935
936         * src/GraphicsContext3DChromium.cpp:
937         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
938
939 2011-04-14  Adrienne Walker  <enne@google.com>
940
941         Reviewed by James Robinson.
942
943         [chromium] TilingData should return 1 tile if tile size is texture size.
944         https://bugs.webkit.org/show_bug.cgi?id=58364
945
946         Update test to properly handle this case.
947
948         * tests/TilingDataTest.cpp:
949         (WebCore::TEST):
950
951 2011-04-14  Bill Budge  <bbudge@chromium.org>
952
953         Reviewed by Darin Fisher.
954
955         Make WebURLLoaderOptions disallow cross origin requests by default.
956         https://bugs.webkit.org/show_bug.cgi?id=58475
957
958         No new tests. Exposes no new functionality.
959
960         * public/WebURLLoaderOptions.h:
961         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
962
963 2011-04-13  James Robinson  <jamesr@chromium.org>
964
965         Reviewed by Simon Fraser.
966
967         Allow setting composited backing stores for scrollbars and scroll corners
968         https://bugs.webkit.org/show_bug.cgi?id=57202
969
970         Remove a lot of scrollbar hacks from the chromium compositor implementation now that
971         scrollbars go to real layers.
972
973         * src/WebScrollbarImpl.cpp:
974         (WebKit::WebScrollbarImpl::invalidateScrollCornerRect):
975         (WebKit::WebScrollbarImpl::scrollCornerPresent):
976         * src/WebScrollbarImpl.h:
977         (WebKit::WebScrollbarImpl::scrollCornerRect):
978         * src/WebViewImpl.cpp:
979         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
980         (WebKit::WebViewImpl::reallocateRenderer):
981
982 2011-04-13  John Abd-El-Malek  <jam@chromium.org>
983
984         Reviewed by Jian Li.
985
986         [chromium] Remove unnecessary #define now that chrome has rolled to the latest WebKit
987         https://bugs.webkit.org/show_bug.cgi?id=58474
988
989         * DEPS:
990         * public/WebSpellCheckClient.h:
991
992 2011-04-13  Zhenyao Mo  <zmo@google.com>
993
994         Reviewed by Kenneth Russell.
995
996         Extension3D needs to provide a way to check if an extension is enabled
997         https://bugs.webkit.org/show_bug.cgi?id=58410
998
999         Implement isEnabled() in chromium port.
1000
1001         * src/Extensions3DChromium.cpp:
1002         (WebCore::Extensions3DChromium::isEnabled):
1003         * src/GraphicsContext3DChromium.cpp:
1004         (WebCore::GraphicsContext3DInternal::isExtensionEnabled):
1005         * src/GraphicsContext3DInternal.h:
1006
1007 2011-04-13  Kinuko Yasuda  <kinuko@chromium.org>
1008
1009         Reviewed by David Levin.
1010
1011         Add mock implementation and plumbing code for unified Quota API
1012         https://bugs.webkit.org/show_bug.cgi?id=57927
1013
1014         Added plumbing code for the quota API, that is based on the
1015         discussion on public-webapps:
1016         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
1017
1018         * WebKit.gyp: Added new file entries.
1019         * src/StorageInfoChromium.cpp: Added.
1020         * src/WebStorageQuotaCallbacksImpl.cpp: Added. An implementation of
1021         WebStorageQuotaCallbacks.
1022         * src/WebStorageQuotaCallbacksImpl.h: Added.
1023
1024 2011-04-12  Hans Wennborg  <hans@chromium.org>
1025
1026         Reviewed by Jeremy Orlow.
1027
1028         Chromium: Set ENABLE_LEVELDB=1 and add leveldb and snappy to DEPS
1029         https://bugs.webkit.org/show_bug.cgi?id=58343
1030
1031         Set ENABLE_LEVELDB=1 so that code gets compiled by the EWS bots.
1032         Add the necessary dependencies to the DEPS file.
1033
1034         * DEPS:
1035         * features.gypi:
1036
1037 2011-04-12  Kent Tamura  <tkent@chromium.org>
1038
1039         Reviewed by Dimitri Glazkov.
1040
1041         [Chromium] Add WebSettings::setValidationMessageTimerMagnification()
1042         https://bugs.webkit.org/show_bug.cgi?id=57426
1043
1044         * public/WebSettings.h: Declare new function.
1045         * src/WebSettingsImpl.cpp:
1046         (WebKit::WebSettingsImpl::setValidationMessageTimerMagnification):
1047          Passing the specified value to WebCore::Settings.
1048         * src/WebSettingsImpl.h: Declare new function.
1049
1050 2011-04-12  Antoine Labour  <piman@chromium.org>
1051
1052         Reviewed by Kenneth Russell.
1053
1054         Allow WebView users to recreate dependent contexts after a context lost
1055         event. Similarly to the startup case, a temporary context gets created,
1056         that gets used by the layer renderer once it itself gets recreated.
1057         https://bugs.webkit.org/show_bug.cgi?id=58385
1058
1059         * src/WebViewImpl.cpp:
1060         (WebKit::WebViewImpl::reallocateRenderer): use the temporary context to
1061         recreate the layer renderer if it's valid.
1062         (WebKit::WebViewImpl::graphicsContext3D): create a temporary context if
1063         the layer renderer's context is lost.
1064
1065 2011-04-12  Adrienne Walker  <enne@google.com>
1066
1067         Reviewed by James Robinson.
1068
1069         [chromium] TilingData mishandles very small texture sizes
1070         https://bugs.webkit.org/show_bug.cgi?id=58364
1071
1072         Update test to properly handle texture sizes of 0-3.
1073
1074         * tests/TilingDataTest.cpp:
1075         (WebCore::TEST):
1076
1077 2011-04-12  Jian Li  <jianli@chromium.org>
1078
1079         Unreviewed, rolling out r83649.
1080         http://trac.webkit.org/changeset/83649
1081         https://bugs.webkit.org/show_bug.cgi?id=57563
1082
1083         This patch causes compiling errors for chromium
1084
1085         * public/WebCanvas.h:
1086         * src/WebFrameImpl.cpp:
1087         (WebKit::WebFrameImpl::printPage):
1088         * tests/TransparencyWinTest.cpp:
1089         (WebCore::drawNativeRect):
1090         (WebCore::getPixelAt):
1091         (WebCore::clearTopLayerAlphaChannel):
1092         (WebCore::clearTopLayerAlphaPixel):
1093         (WebCore::TEST):
1094
1095 2011-04-12  John Abd-El-Malek  <jam@chromium.org>
1096
1097         Reviewed by Jian Li.
1098
1099         [chromium] Fix spellcheck regression in context menus
1100         https://bugs.webkit.org/show_bug.cgi?id=58386
1101
1102         * src/ContextMenuClientImpl.cpp:
1103         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1104
1105 2011-04-12  Noel Gordon  <noel.gordon@gmail.com>
1106
1107         Reviewed by Tony Chang.
1108
1109         [chromium] Use new dragTargetDragEnter() function signature
1110         https://bugs.webkit.org/show_bug.cgi?id=58303
1111
1112         After WebKit/chromium/DEPS rolls to chromium r80907, the drag identity
1113         based version of dragTargetDragEnter() is no longer used; remove it.
1114
1115         * public/WebView.h:
1116         * src/WebViewImpl.cpp:
1117         * src/WebViewImpl.h:
1118
1119 2011-04-12  Alok Priyadarshi  <alokp@chromium.org>
1120
1121         Reviewed by James Robinson.
1122
1123         Remove dependency on chromium skia::PlatformCanvas
1124         https://bugs.webkit.org/show_bug.cgi?id=57563
1125
1126         * public/WebCanvas.h:
1127         * src/WebFrameImpl.cpp:
1128         (WebKit::WebFrameImpl::printPage):
1129         * tests/TransparencyWinTest.cpp:
1130         (WebCore::drawNativeRect):
1131         (WebCore::getPixelAt):
1132         (WebCore::clearTopLayerAlphaChannel):
1133         (WebCore::clearTopLayerAlphaPixel):
1134         (WebCore::TEST):
1135
1136 2011-04-12  Adam Barth  <abarth@webkit.org>
1137
1138         Revert unintentional changes to WebKit.
1139
1140         * public/WebSettings.h:
1141         * src/WebSettingsImpl.cpp:
1142         * src/WebSettingsImpl.h:
1143
1144 2011-04-11  John Abd-El-Malek  <jam@chromium.org>
1145
1146         Reviewed by Darin Fisher.
1147
1148         [chromium]: Get the list of misspelled words in the WebKit code insetad of in chromium's RenderView
1149         https://bugs.webkit.org/show_bug.cgi?id=58260
1150
1151         * public/WebContextMenuData.h:
1152         * public/WebSpellCheckClient.h:
1153         (WebKit::WebSpellCheckClient::spellCheck):
1154         * src/ContextMenuClientImpl.cpp:
1155         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1156         * src/EditorClientImpl.cpp:
1157         (WebKit::EditorClientImpl::checkSpellingOfString):
1158
1159 2011-04-12  Bill Budge  <bbudge@chromium.org>
1160
1161         Reviewed by Darin Fisher.
1162
1163         Move the WebURLLoaderOptions struct into its own file and rename the CrossOriginRequestPolicy enum to conform to the WebKit coding standard.
1164         https://bugs.webkit.org/show_bug.cgi?id=58287
1165
1166         No new tests. No new functionality exposed.
1167
1168         * WebKit.gyp:
1169         * public/WebURLLoader.h:
1170         * public/WebURLLoaderOptions.h: Added.
1171         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
1172         * src/AssociatedURLLoader.cpp:
1173         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
1174         * src/AssociatedURLLoader.h:
1175
1176 2011-04-11  Pavel Podivilov  <podivilov@chromium.org>
1177
1178         Reviewed by Pavel Feldman.
1179
1180         Web Inspector: [chromium] script formatting doesn't work when chromium is built with debug_devtools=1.
1181         https://bugs.webkit.org/show_bug.cgi?id=58232
1182
1183         * WebKit.gyp:
1184
1185 2011-04-11  John Bates  <jbates@google.com>
1186
1187         Reviewed by Kenneth Russell.
1188
1189         chromium support for glSetLatch and glWaitLatch between 3D contexts
1190         https://bugs.webkit.org/show_bug.cgi?id=58003
1191
1192         * public/WebGraphicsContext3D.h:
1193         (WebKit::WebGraphicsContext3D::getParentToChildLatchCHROMIUM):
1194         (WebKit::WebGraphicsContext3D::getChildToParentLatchCHROMIUM):
1195         (WebKit::WebGraphicsContext3D::waitLatchCHROMIUM):
1196         (WebKit::WebGraphicsContext3D::setLatchCHROMIUM):
1197         * src/Extensions3DChromium.cpp:
1198         (WebCore::Extensions3DChromium::waitLatchCHROMIUM):
1199         (WebCore::Extensions3DChromium::setLatchCHROMIUM):
1200         * src/GraphicsContext3DChromium.cpp:
1201         * src/GraphicsContext3DInternal.h:
1202
1203 2011-04-11  Ryosuke Niwa  <rniwa@webkit.org>
1204
1205         Reviewed by Tony Chang.
1206
1207         [chromium] Crash in WebViewImpl::caretOrSelectionBounds
1208         https://bugs.webkit.org/show_bug.cgi?id=58269
1209
1210         The bug was caused by caretOrSelectionBounds's incorrectly assuming
1211         SelectionController::toNormalizedRange to always return a non-null Range.
1212
1213         Fixed the bug by adding a null pointer check. Also replaced calls to deprecatedNode
1214         by containerNode() and calls to SelectionController::start() and SelectionController::end()
1215         by calls to SelectionController::base() and SelectionController::extent() because
1216         selection extends from base to extent, not from start to end.
1217
1218         Test: editing/selection/extend-over-file-input-by-drag-crash.html
1219
1220         * src/WebViewImpl.cpp:
1221         (WebKit::WebViewImpl::caretOrSelectionBounds):
1222
1223 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
1224
1225         Reviewed by Eric Carlson.
1226
1227         Rename MediaControls to MediaControlRootElement.
1228         https://bugs.webkit.org/show_bug.cgi?id=58250
1229
1230         Mechanical move using do-webcore-rename.
1231
1232 2011-04-11  Daniel Cheng  <dcheng@chromium.org>
1233
1234         Reviewed by Dmitry Titov.
1235
1236         [chromium] Implement image/png support in DataTransferItems
1237         https://bugs.webkit.org/show_bug.cgi?id=58106
1238
1239         Add glue for reading image data from clipboard.
1240
1241         * DEPS:
1242         * src/PlatformBridge.cpp:
1243         (WebCore::PlatformBridge::clipboardReadImage):
1244
1245 2011-04-05  Hans Wennborg  <hans@chromium.org>
1246
1247         Reviewed by Steve Block.
1248
1249         IndexedDB: Introduce skeleton for LevelDB backend
1250         https://bugs.webkit.org/show_bug.cgi?id=57827
1251
1252         * features.gypi:
1253             Add ENABLE_LEVELDB=0.
1254         * public/WebIDBFactory.h:
1255         (WebKit::WebIDBFactory::open):
1256             Remove pre-roll open() function.
1257
1258 2011-04-10  Kent Tamura  <tkent@chromium.org>
1259
1260         [Chromium] Fix build errors on "Win Shared Builder (dbg)"
1261
1262         * WebKit.gyp: Exclude WebFrameTest.cpp for WEBKIT_DLL.
1263
1264 2011-04-10  Kent Tamura  <tkent@chromium.org>
1265
1266         Unreviewed, rolling out r83353.
1267         http://trac.webkit.org/changeset/83353
1268         https://bugs.webkit.org/show_bug.cgi?id=58106
1269
1270         The new test doesn't pass on all Chromium platforms.
1271
1272         * DEPS:
1273         * src/PlatformBridge.cpp:
1274
1275 2011-04-09  Sreeram Ramachandran  <sreeram@google.com>
1276
1277         Reviewed by Ryosuke Niwa.
1278
1279         Gather data on modal dialogs shown during unload events
1280         https://bugs.webkit.org/show_bug.cgi?id=58115
1281
1282         Implementation of the new API to receive notifications of modal dialogs
1283         dispatched during unload events. Count the notifications through a histogram.
1284
1285         No tests because it's not clear how to test chromium histograms from webkit.
1286
1287         * src/ChromeClientImpl.cpp:
1288         (WebKit::ChromeClientImpl::willRunModalDialogDuringPageDismissal):
1289         * src/ChromeClientImpl.h:
1290
1291 2011-04-08  Aaron Boodman  <aa@chromium.org>
1292
1293         Reviewed by Dmitry Titov.
1294
1295         Re-land http://trac.webkit.org/changeset/83007. This works
1296         without changes after https://bugs.webkit.org/show_bug.cgi?id=58110.
1297
1298         https://bugs.webkit.org/show_bug.cgi?id=58096
1299
1300         * WebKit.gyp:
1301         * WebKit.gypi:
1302         * public/WebFrame.h:
1303         * src/WebFrameImpl.cpp:
1304         (WebKit::WebFrame::frameForContext):
1305         * tests/WebFrameTest.cpp:
1306         (WebKit::WebFrameTest::WebFrameTest):
1307         (WebKit::WebFrameTest::registerMockedURLLoad):
1308         (WebKit::WebFrameTest::loadFrame):
1309         (WebKit::TEST_F):
1310
1311 2011-04-08  Daniel Cheng  <dcheng@chromium.org>
1312
1313         Reviewed by Dmitry Titov.
1314
1315         [chromium] Implement image/png support in DataTransferItems
1316         https://bugs.webkit.org/show_bug.cgi?id=58106
1317
1318         Add glue for reading image data from clipboard.
1319
1320         * DEPS:
1321         * src/PlatformBridge.cpp:
1322         (WebCore::PlatformBridge::clipboardReadImage):
1323
1324 2011-04-08  Alpha Lam  <hclam@chromium.org>
1325
1326         Unreviewed, rolling out r83335.
1327         http://trac.webkit.org/changeset/83335
1328         https://bugs.webkit.org/show_bug.cgi?id=53556
1329
1330         GTK and QT bots are broken
1331
1332         * features.gypi:
1333
1334 2011-04-07  Anna Cavender  <annacc@chromium.org>
1335
1336         Reviewed by Eric Carlson.
1337
1338         Setup ENABLE(TRACK) feature define
1339         https://bugs.webkit.org/show_bug.cgi?id=53556
1340
1341         * features.gypi:
1342
1343 2011-04-08  Dmitry Titov  <dimich@chromium.org>
1344
1345         Reviewed by Adam Barth.
1346
1347         [Chromium] Remove unneeded usage of V8::Lockers in IDB tests.
1348         https://bugs.webkit.org/show_bug.cgi?id=58110
1349         Since they are simple one-thread tests.
1350         This code parallels the code in Chromium's idb bindings that uses v8 Lockers in utility process,
1351         which is equally not needed since there is only one thread running v8 in that process.
1352
1353         * tests/IDBBindingUtilitiesTest.cpp:
1354
1355 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
1356
1357         Reviewed by Pavel Feldman.
1358
1359         Web Inspector: add test for script formatter worker.
1360         https://bugs.webkit.org/show_bug.cgi?id=57447
1361
1362         * WebKit.gyp:
1363
1364 2011-04-08  Kent Tamura  <tkent@chromium.org>
1365
1366         [Chromium] The second attempt of fixing for Windows (dbg)(shared) build.
1367
1368         * WebKit.gyp: webkit should not depend on webkit_support.
1369
1370 2011-04-08  Kent Tamura  <tkent@chromium.org>
1371
1372         [Chromium] Build fix for Windows (dbg)(shared).
1373
1374         * WebKit.gyp: Add webkit_support dependency, which is required for webkit_unittest_files.
1375
1376 2011-04-07  Kinuko Yasuda  <kinuko@chromium.org>
1377
1378         Reviewed by Darin Fisher.
1379
1380         [Chromium] Add WebKit API to query and request unified offline-storage quota
1381         https://bugs.webkit.org/show_bug.cgi?id=57849
1382         Just adding the API, this does not do anything yet.
1383
1384         The API is based on the public discussion for unified quota API:
1385         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
1386         (The detail is not yet fully specified and might be subject to change.)
1387
1388         * public/WebFrameClient.h:
1389         (WebKit::WebFrameClient::queryStorageUsageAndQuota): Added.
1390         (WebKit::WebFrameClient::requestStorageQuota): Added.
1391         * public/WebStorageQuotaCallbacks.h: Added.
1392         (WebKit::WebStorageQuotaCallbacks::~WebStorageQuotaCallbacks):
1393         * public/WebStorageQuotaType.h: Added.
1394
1395 2011-04-07  Dominic Cooney  <dominicc@google.com>
1396
1397         Reviewed by Dimitri Glazkov.
1398
1399         Let shadow DOM have a list of nodes at the top level of a shadow.
1400         https://bugs.webkit.org/show_bug.cgi?id=57813
1401
1402         * src/WebElement.cpp:
1403         (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
1404
1405 2011-04-07  Magnus Danielsson  <public@fuzzac.com>
1406
1407         Reviewed by Darin Fisher.
1408
1409         [chromium] WebPageSerializerImpl doesn't serialize sub-frames correctly
1410         https://bugs.webkit.org/show_bug.cgi?id=53897
1411
1412         When serializing a web page using 'save page as', sub-frames and resources gets
1413         saved in a sub-directory. However, frame elements didn't get updated to reference
1414         these saved sub-frames, but were still referencing the original url. So when opening
1415         a saved web page, any sub-frames would get pulled in from the original url rather than 
1416         what was saved.
1417
1418         In addition to this, sub-frames in the sub-directory erroneously had the name of the
1419         sub-directory prepended to the path of resources located in the same sub-directory.
1420
1421         * src/WebPageSerializerImpl.cpp:
1422         (WebKit::WebPageSerializerImpl::openTagToStrne: Fixed resource paths in sub-frames. 
1423         Also made sure sub-frames are referenced correctly from parent frame.
1424         (WebKit::WebPageSerializerImpl::endTagToString): Removed constness from argument.
1425         (WebKit::WebPageSerializerImpl::buildContentForNode): Ditto.
1426         * src/WebPageSerializerImpl.h:
1427
1428 2011-04-07  Nat Duca  <nduca@chromium.org>
1429
1430         Reviewed by David Levin.
1431
1432         [chromium] Compositor thread infrastructure
1433         https://bugs.webkit.org/show_bug.cgi?id=56131
1434
1435         Tests for chrome compositor thread and related infrastructure.
1436
1437         * WebKit.gyp:
1438         * WebKit.gypi:
1439         * tests/CCThreadTaskTest.cpp: Added.
1440         (WebCore::TEST):
1441         * tests/CCThreadTest.cpp: Added.
1442         (WebCore::TEST):
1443         (WebCore::PingPongUsingCondition::ping):
1444         (WebCore::PingPongTestUsingTasks::ping):
1445         (WebCore::PingPongTestUsingTasks::pong):
1446         * tests/RunAllTests.cpp:
1447         (main):
1448
1449 2011-04-07  Andrew Scherkus  <scherkus@chromium.org>
1450
1451         Revert ENABLE_TRACK patch due to compile failures.
1452
1453         * features.gypi:
1454
1455 2011-04-07  Pavel Feldman  <pfeldman@google.com>
1456
1457         Not reviewed: rolling chromium DEPS 80421:80767.
1458
1459         * DEPS:
1460
1461 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
1462
1463         Reviewed by Pavel Feldman.
1464
1465         Web Inspector: [Chromium] Rename didReceiveData2 to didReceiveData as part of enabling transfer size support.
1466         https://bugs.webkit.org/show_bug.cgi?id=58036
1467
1468         Renamed didReceiveData2 to didReceiveData.
1469
1470         * public/WebURLLoaderClient.h:
1471         (WebKit::WebURLLoaderClient::didReceiveData):
1472         * src/AssociatedURLLoader.cpp:
1473         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1474         * src/ResourceHandle.cpp:
1475         (WebCore::ResourceHandleInternal::didReceiveData):
1476
1477 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
1478
1479         Reviewed by Pavel Feldman.
1480
1481         Web Inspector: [Chromium] Migrate didReceiveData in upstream for plugins as part of enabling transfer size support.
1482         https://bugs.webkit.org/show_bug.cgi?id=58034
1483
1484         Migrated didReceiveData to support new lengthReceived parameter.
1485
1486         * src/AssociatedURLLoader.cpp:
1487         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1488
1489 2011-04-06  Asanka Herath  <asanka@chromium.org>
1490
1491         Reviewed by Darin Fisher.
1492
1493         Add new TargetType: TargetIsFavicon
1494
1495         https://bugs.webkit.org/show_bug.cgi?id=57659
1496
1497         * public/WebURLRequest.h:
1498
1499 2011-04-06  Alok Priyadarshi  <alokp@chromium.org>
1500
1501         Reviewed by Eric Seidel.
1502
1503         [chromium] Add settings API to enable accelerated drawing
1504         https://bugs.webkit.org/show_bug.cgi?id=57863
1505         
1506         If accelerated drawing is enabled we try to render content and
1507         root layers using GPU. Please note that this setting is ignored if
1508         accelerated compositing is disabled.
1509
1510         * public/WebSettings.h:
1511         * src/WebSettingsImpl.cpp:
1512         (WebKit::WebSettingsImpl::setAcceleratedDrawingEnabled):
1513         * src/WebSettingsImpl.h:
1514
1515 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
1516
1517         Reviewed by David Levin.
1518
1519         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
1520         https://bugs.webkit.org/show_bug.cgi?id=57566
1521
1522         * public/WebContextMenuData.h:
1523
1524 2011-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1525
1526         Unreviewed, rolling out r83007.
1527         http://trac.webkit.org/changeset/83007
1528         https://bugs.webkit.org/show_bug.cgi?id=57920
1529
1530         Broke WebFrameTest.FrameForEnteredContext on Chromium-win and
1531         Chromium-mac (Requested by tkent on #webkit).
1532
1533         * WebKit.gyp:
1534         * WebKit.gypi:
1535         * public/WebFrame.h:
1536         * src/WebFrameImpl.cpp:
1537         * tests/WebFrameTest.cpp:
1538         (WebKit::WebFrameTest::WebFrameTest):
1539         (WebKit::WebFrameTest::registerMockedURLLoad):
1540         (WebKit::WebFrameTest::serveRequests):
1541         (WebKit::TEST_F):
1542
1543 2011-04-05  James Kozianski  <koz@chromium.org>
1544
1545         Unreviewed, rolling out r82976.
1546         http://trac.webkit.org/changeset/82976
1547         https://bugs.webkit.org/show_bug.cgi?id=57566
1548
1549         Breaks chromium canary build
1550
1551         * public/WebContextMenuData.h:
1552
1553 2011-04-05  Aaron Boodman  <aa@chromium.org>
1554
1555         Reviewed by Adam Barth.
1556
1557         Add ability to get frame from v8 context to chromium WebKit API
1558         https://bugs.webkit.org/show_bug.cgi?id=57516
1559
1560         * public/WebFrame.h:
1561         * src/WebFrameImpl.cpp:
1562         (WebKit::WebFrame::frameForV8Context):
1563
1564 2011-04-05  Nico Weber  <thakis@chromium.org>
1565
1566         Reviewed by Dimitri Glazkov.
1567
1568         [chromium] Don't have 'using namespace' declarations in header files
1569         https://bugs.webkit.org/show_bug.cgi?id=57882
1570
1571         * src/EventListenerWrapper.cpp:
1572         * src/EventListenerWrapper.h:
1573         * src/VideoFrameChromiumImpl.h:
1574         * src/WebDOMEventListener.cpp:
1575         * src/WebDOMEventListenerPrivate.cpp:
1576         * src/WebDOMEventListenerPrivate.h:
1577         (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
1578
1579 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
1580
1581         Reviewed by David Levin.
1582
1583         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
1584         https://bugs.webkit.org/show_bug.cgi?id=57566
1585
1586         * public/WebContextMenuData.h:
1587
1588 2011-04-04  MORITA Hajime  <morrita@google.com>
1589
1590         Reviewed by Ryosuke Niwa.
1591
1592         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
1593         https://bugs.webkit.org/show_bug.cgi?id=56085
1594
1595         Followed the signature change.
1596         
1597         * src/EditorClientImpl.h:
1598         * src/EditorClientImpl.cpp:
1599         * src/WebTextCheckingCompletionImpl.cpp
1600
1601 2011-04-05  Hans Wennborg  <hans@chromium.org>
1602
1603         Reviewed by Adam Barth
1604
1605         Clean up IndexedDB WebKit API
1606         https://bugs.webkit.org/show_bug.cgi?id=57507
1607
1608         Rename the backend proxy files that didn't have Backend in their name.
1609         Everything in WebKit should be in the WebKit namespace.
1610         Put everything behind the feature flag so we're consistient.
1611         Put the feature flag #if above includes.
1612
1613         * WebKit.gyp:
1614         * src/IDBCallbacksProxy.cpp:
1615         (WebKit::IDBCallbacksProxy::create):
1616         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1617         (WebKit::IDBCallbacksProxy::onError):
1618         (WebKit::IDBCallbacksProxy::onSuccess):
1619         * src/IDBCallbacksProxy.h:
1620         * src/IDBCursorBackendProxy.cpp:
1621         (WebKit::IDBCursorBackendProxy::create):
1622         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
1623         * src/IDBCursorBackendProxy.h:
1624         * src/IDBDatabaseBackendProxy.cpp:
1625         (WebKit::IDBDatabaseBackendProxy::create):
1626         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
1627         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
1628         (WebKit::IDBDatabaseBackendProxy::name):
1629         (WebKit::IDBDatabaseBackendProxy::version):
1630         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
1631         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
1632         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
1633         (WebKit::IDBDatabaseBackendProxy::setVersion):
1634         (WebKit::IDBDatabaseBackendProxy::transaction):
1635         (WebKit::IDBDatabaseBackendProxy::close):
1636         (WebKit::IDBDatabaseBackendProxy::open):
1637         * src/IDBDatabaseCallbacksProxy.cpp:
1638         (WebKit::IDBDatabaseCallbacksProxy::create):
1639         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1640         * src/IDBDatabaseCallbacksProxy.h:
1641         * src/IDBFactoryBackendProxy.cpp:
1642         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1643         (WebKit::IDBFactoryBackendProxy::open):
1644         * src/IDBFactoryBackendProxy.h:
1645         * src/IDBIndexBackendProxy.cpp:
1646         (WebKit::IDBIndexBackendProxy::create):
1647         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
1648         * src/IDBIndexBackendProxy.h:
1649         * src/IDBObjectStoreBackendProxy.cpp:
1650         (WebKit::IDBObjectStoreBackendProxy::create):
1651         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
1652         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
1653         (WebKit::IDBObjectStoreBackendProxy::name):
1654         (WebKit::IDBObjectStoreBackendProxy::keyPath):
1655         (WebKit::IDBObjectStoreBackendProxy::indexNames):
1656         (WebKit::IDBObjectStoreBackendProxy::get):
1657         (WebKit::IDBObjectStoreBackendProxy::put):
1658         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
1659         (WebKit::IDBObjectStoreBackendProxy::clear):
1660         (WebKit::IDBObjectStoreBackendProxy::createIndex):
1661         (WebKit::IDBObjectStoreBackendProxy::index):
1662         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
1663         (WebKit::IDBObjectStoreBackendProxy::openCursor):
1664         * src/IDBObjectStoreBackendProxy.h: Added.
1665         * src/IDBObjectStoreProxy.h: Removed.
1666         * src/IDBTransactionBackendProxy.cpp:
1667         (WebKit::IDBTransactionBackendProxy::create):
1668         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1669         (WebKit::IDBTransactionBackendProxy::objectStore):
1670         * src/IDBTransactionBackendProxy.h:
1671         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
1672         * src/IDBTransactionCallbacksProxy.cpp:
1673         (WebKit::IDBTransactionCallbacksProxy::create):
1674         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1675         * src/IDBTransactionCallbacksProxy.h:
1676         * src/WebIDBCallbacksImpl.cpp:
1677         (WebKit::WebIDBCallbacksImpl::onError):
1678         (WebKit::WebIDBCallbacksImpl::onSuccess):
1679         * src/WebIDBCallbacksImpl.h:
1680         * src/WebIDBCursorImpl.cpp:
1681         * src/WebIDBCursorImpl.h:
1682         * src/WebIDBDatabaseCallbacksImpl.cpp:
1683         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
1684         * src/WebIDBDatabaseCallbacksImpl.h:
1685         * src/WebIDBDatabaseError.cpp:
1686         * src/WebIDBDatabaseImpl.cpp:
1687         * src/WebIDBDatabaseImpl.h:
1688         * src/WebIDBFactoryImpl.cpp:
1689         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1690         * src/WebIDBFactoryImpl.h:
1691         * src/WebIDBIndexImpl.cpp:
1692         * src/WebIDBIndexImpl.h:
1693         * src/WebIDBKey.cpp:
1694         (WebKit::WebIDBKey::createFromValueAndKeyPath):
1695         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1696         * src/WebIDBKeyPath.cpp:
1697         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
1698         * src/WebIDBKeyRange.cpp:
1699         * src/WebIDBObjectStoreImpl.cpp:
1700         * src/WebIDBObjectStoreImpl.h:
1701         * src/WebIDBTransactionCallbacksImpl.cpp:
1702         * src/WebIDBTransactionCallbacksImpl.h:
1703         * src/WebIDBTransactionImpl.cpp:
1704         * src/WebIDBTransactionImpl.h:
1705
1706 2011-04-05  Sailesh Agrawal  <sail@chromium.org>
1707
1708         Reviewed by Darin Fisher.
1709
1710         Don't clear existing files if the user cancels the file chooser dialog.
1711         https://bugs.webkit.org/show_bug.cgi?id=55200
1712
1713         * src/WebFileChooserCompletionImpl.cpp:
1714         (WebKit::WebFileChooserCompletionImpl::didChooseFile):
1715
1716 2011-04-05  John Mellor  <johnme@chromium.org>
1717
1718         Reviewed by Darin Fisher.
1719
1720         [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow.
1721         https://bugs.webkit.org/show_bug.cgi?id=55681
1722
1723         * src/WebFrameImpl.cpp:
1724         (WebKit::WebFrameImpl::find):
1725         (WebKit::WebFrameImpl::scopeStringMatches):
1726
1727 2011-04-05  Adam Barth  <abarth@webkit.org>
1728
1729         Roll Chromium DEPS.
1730
1731         * DEPS: Rolled!
1732
1733 2011-04-04  Chang Shu  <cshu@webkit.org>
1734
1735         Reviewed by Ryosuke Niwa.
1736
1737         setContentEditable with true/false/inherit string is not working properly
1738         https://bugs.webkit.org/show_bug.cgi?id=52058
1739
1740         Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
1741         as rendererIsEditable is for WebCore internal use.
1742
1743         * src/WebNode.cpp:
1744         (WebKit::WebNode::isContentEditable):
1745         * src/WebViewImpl.cpp:
1746         (WebKit::WebViewImpl::setFocus):
1747         (WebKit::WebViewImpl::setComposition):
1748         (WebKit::WebViewImpl::confirmComposition):
1749
1750 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
1751
1752         Reviewed by Dan Bernstein.
1753
1754         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
1755         https://bugs.webkit.org/show_bug.cgi?id=51230
1756         <rdar://problem/8780989>
1757
1758         * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): Moved Caps Lock handling from
1759         WebKits to WebCore, because WebKit shouldn't be smart.
1760
1761 2011-04-01  Adam Barth  <abarth@webkit.org>
1762
1763         Attempt to fix the Chromium build using the great and powerful git.
1764         This patch should be the remaining part of reverting Jeremy's ill-fated
1765         refactoring.
1766
1767         * src/IDBDatabaseProxy.cpp:
1768         (WebCore::IDBDatabaseProxy::create):
1769         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
1770         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
1771         (WebCore::IDBDatabaseProxy::name):
1772         (WebCore::IDBDatabaseProxy::version):
1773         (WebCore::IDBDatabaseProxy::objectStoreNames):
1774         (WebCore::IDBDatabaseProxy::createObjectStore):
1775         (WebCore::IDBDatabaseProxy::deleteObjectStore):
1776         (WebCore::IDBDatabaseProxy::setVersion):
1777         (WebCore::IDBDatabaseProxy::transaction):
1778         (WebCore::IDBDatabaseProxy::close):
1779         (WebCore::IDBDatabaseProxy::open):
1780         * src/IDBDatabaseProxy.h:
1781         * src/IDBObjectStoreProxy.cpp:
1782         (WebCore::IDBObjectStoreProxy::create):
1783         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
1784         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
1785         (WebCore::IDBObjectStoreProxy::name):
1786         (WebCore::IDBObjectStoreProxy::keyPath):
1787         (WebCore::IDBObjectStoreProxy::indexNames):
1788         (WebCore::IDBObjectStoreProxy::get):
1789         (WebCore::IDBObjectStoreProxy::put):
1790         (WebCore::IDBObjectStoreProxy::deleteFunction):
1791         (WebCore::IDBObjectStoreProxy::clear):
1792         (WebCore::IDBObjectStoreProxy::createIndex):
1793         (WebCore::IDBObjectStoreProxy::index):
1794         (WebCore::IDBObjectStoreProxy::deleteIndex):
1795         (WebCore::IDBObjectStoreProxy::openCursor):
1796
1797 2011-04-01  Adam Barth  <abarth@webkit.org>
1798
1799         Move these files back to their old locations.  I'm not sure why the
1800         rollout didn't move them properly.
1801
1802         * src/IDBDatabaseBackendProxy.cpp: Removed.
1803         * src/IDBDatabaseBackendProxy.h: Removed.
1804         * src/IDBDatabaseProxy.cpp: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
1805         * src/IDBDatabaseProxy.h: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
1806         * src/IDBObjectStoreBackendProxy.cpp: Removed.
1807         * src/IDBObjectStoreProxy.cpp: Copied from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
1808
1809 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1810
1811         Unreviewed, rolling out r82738.
1812         http://trac.webkit.org/changeset/82738
1813         https://bugs.webkit.org/show_bug.cgi?id=57684
1814
1815         Broke storage/indexeddb/objectstore-autoincrement.html and
1816         InjectIDBKey (Requested by abarth|gardening on #webkit).
1817
1818         * WebKit.gyp:
1819         * src/IDBCallbacksProxy.cpp:
1820         (WebCore::IDBCallbacksProxy::create):
1821         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
1822         (WebCore::IDBCallbacksProxy::onError):
1823         (WebCore::IDBCallbacksProxy::onSuccess):
1824         * src/IDBCallbacksProxy.h:
1825         * src/IDBCursorBackendProxy.cpp:
1826         (WebCore::IDBCursorBackendProxy::create):
1827         (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
1828         * src/IDBCursorBackendProxy.h:
1829         * src/IDBDatabaseCallbacksProxy.cpp:
1830         (WebCore::IDBDatabaseCallbacksProxy::create):
1831         (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1832         * src/IDBDatabaseCallbacksProxy.h:
1833         * src/IDBDatabaseProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
1834         (WebCore::IDBDatabaseProxy::create):
1835         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
1836         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
1837         (WebCore::IDBDatabaseProxy::name):
1838         (WebCore::IDBDatabaseProxy::version):
1839         (WebCore::IDBDatabaseProxy::objectStoreNames):
1840         (WebCore::IDBDatabaseProxy::createObjectStore):
1841         (WebCore::IDBDatabaseProxy::deleteObjectStore):
1842         (WebCore::IDBDatabaseProxy::setVersion):
1843         (WebCore::IDBDatabaseProxy::transaction):
1844         (WebCore::IDBDatabaseProxy::close):
1845         (WebCore::IDBDatabaseProxy::open):
1846         * src/IDBDatabaseProxy.h: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
1847         * src/IDBFactoryBackendProxy.cpp:
1848         (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1849         (WebCore::IDBFactoryBackendProxy::open):
1850         * src/IDBFactoryBackendProxy.h:
1851         * src/IDBIndexBackendProxy.cpp:
1852         (WebCore::IDBIndexBackendProxy::create):
1853         (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
1854         * src/IDBIndexBackendProxy.h:
1855         * src/IDBObjectStoreBackendProxy.h: Removed.
1856         * src/IDBObjectStoreProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
1857         (WebCore::IDBObjectStoreProxy::create):
1858         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
1859         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
1860         (WebCore::IDBObjectStoreProxy::name):
1861         (WebCore::IDBObjectStoreProxy::keyPath):
1862         (WebCore::IDBObjectStoreProxy::indexNames):
1863         (WebCore::IDBObjectStoreProxy::get):
1864         (WebCore::IDBObjectStoreProxy::put):
1865         (WebCore::IDBObjectStoreProxy::deleteFunction):
1866         (WebCore::IDBObjectStoreProxy::clear):
1867         (WebCore::IDBObjectStoreProxy::createIndex):
1868         (WebCore::IDBObjectStoreProxy::index):
1869         (WebCore::IDBObjectStoreProxy::deleteIndex):
1870         (WebCore::IDBObjectStoreProxy::openCursor):
1871         * src/IDBObjectStoreProxy.h: Added.
1872         * src/IDBTransactionBackendProxy.cpp:
1873         (WebCore::IDBTransactionBackendProxy::create):
1874         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1875         (WebCore::IDBTransactionBackendProxy::objectStore):
1876         * src/IDBTransactionBackendProxy.h:
1877         (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
1878         * src/IDBTransactionCallbacksProxy.cpp:
1879         (WebCore::IDBTransactionCallbacksProxy::create):
1880         (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1881         * src/IDBTransactionCallbacksProxy.h:
1882         * src/WebIDBCallbacksImpl.cpp:
1883         (WebCore::WebIDBCallbacksImpl::onError):
1884         (WebCore::WebIDBCallbacksImpl::onSuccess):
1885         * src/WebIDBCallbacksImpl.h:
1886         * src/WebIDBCursorImpl.cpp:
1887         * src/WebIDBCursorImpl.h:
1888         * src/WebIDBDatabaseCallbacksImpl.cpp:
1889         (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
1890         * src/WebIDBDatabaseCallbacksImpl.h:
1891         * src/WebIDBDatabaseError.cpp:
1892         * src/WebIDBDatabaseImpl.cpp:
1893         * src/WebIDBDatabaseImpl.h:
1894         * src/WebIDBFactoryImpl.cpp:
1895         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1896         * src/WebIDBFactoryImpl.h:
1897         * src/WebIDBIndexImpl.cpp:
1898         * src/WebIDBIndexImpl.h:
1899         * src/WebIDBKey.cpp:
1900         (WebKit::WebIDBKey::createFromValueAndKeyPath):
1901         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1902         * src/WebIDBKeyPath.cpp:
1903         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
1904         * src/WebIDBKeyRange.cpp:
1905         * src/WebIDBObjectStoreImpl.cpp:
1906         * src/WebIDBObjectStoreImpl.h:
1907         * src/WebIDBTransactionCallbacksImpl.cpp:
1908         * src/WebIDBTransactionCallbacksImpl.h:
1909         * src/WebIDBTransactionImpl.cpp:
1910         * src/WebIDBTransactionImpl.h:
1911
1912 2011-03-30  Jeremy Orlow  <jorlow@chromium.org>
1913
1914         Reviewed by Nate Chapin.
1915
1916         Clean up IndexedDB WebKit API
1917         https://bugs.webkit.org/show_bug.cgi?id=57507
1918
1919         Rename the backend proxy files that didn't have Backend in their name.
1920         Everything in WebKit should be in the WebKit namespace.
1921         Put everything behind the feature flag so we're consistient.
1922         Put the feature flag #if above includes.
1923
1924         * WebKit.gyp:
1925         * src/IDBCallbacksProxy.cpp:
1926         (WebKit::IDBCallbacksProxy::create):
1927         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1928         (WebKit::IDBCallbacksProxy::onError):
1929         (WebKit::IDBCallbacksProxy::onSuccess):
1930         * src/IDBCallbacksProxy.h:
1931         * src/IDBCursorBackendProxy.cpp:
1932         (WebKit::IDBCursorBackendProxy::create):
1933         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
1934         * src/IDBCursorBackendProxy.h:
1935         * src/IDBDatabaseBackendProxy.cpp:
1936         (WebKit::IDBDatabaseBackendProxy::create):
1937         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
1938         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
1939         (WebKit::IDBDatabaseBackendProxy::name):
1940         (WebKit::IDBDatabaseBackendProxy::version):
1941         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
1942         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
1943         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
1944         (WebKit::IDBDatabaseBackendProxy::setVersion):
1945         (WebKit::IDBDatabaseBackendProxy::transaction):
1946         (WebKit::IDBDatabaseBackendProxy::close):
1947         (WebKit::IDBDatabaseBackendProxy::open):
1948         * src/IDBDatabaseCallbacksProxy.cpp:
1949         (WebKit::IDBDatabaseCallbacksProxy::create):
1950         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1951         * src/IDBDatabaseCallbacksProxy.h:
1952         * src/IDBFactoryBackendProxy.cpp:
1953         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1954         (WebKit::IDBFactoryBackendProxy::open):
1955         * src/IDBFactoryBackendProxy.h:
1956         * src/IDBIndexBackendProxy.cpp:
1957         (WebKit::IDBIndexBackendProxy::create):
1958         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
1959         * src/IDBIndexBackendProxy.h:
1960         * src/IDBObjectStoreBackendProxy.cpp:
1961         (WebKit::IDBObjectStoreBackendProxy::create):
1962         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
1963         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
1964         (WebKit::IDBObjectStoreBackendProxy::name):
1965         (WebKit::IDBObjectStoreBackendProxy::keyPath):
1966         (WebKit::IDBObjectStoreBackendProxy::indexNames):
1967         (WebKit::IDBObjectStoreBackendProxy::get):
1968         (WebKit::IDBObjectStoreBackendProxy::put):
1969         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
1970         (WebKit::IDBObjectStoreBackendProxy::clear):
1971         (WebKit::IDBObjectStoreBackendProxy::createIndex):
1972         (WebKit::IDBObjectStoreBackendProxy::index):
1973         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
1974         (WebKit::IDBObjectStoreBackendProxy::openCursor):
1975         * src/IDBObjectStoreBackendProxy.h: Added.
1976         * src/IDBObjectStoreProxy.h: Removed.
1977         * src/IDBTransactionBackendProxy.cpp:
1978         (WebKit::IDBTransactionBackendProxy::create):
1979         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1980         (WebKit::IDBTransactionBackendProxy::objectStore):
1981         * src/IDBTransactionBackendProxy.h:
1982         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
1983         * src/IDBTransactionCallbacksProxy.cpp:
1984         (WebKit::IDBTransactionCallbacksProxy::create):
1985         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1986         * src/IDBTransactionCallbacksProxy.h:
1987         * src/WebIDBCallbacksImpl.cpp:
1988         (WebKit::WebIDBCallbacksImpl::onError):
1989         (WebKit::WebIDBCallbacksImpl::onSuccess):
1990         * src/WebIDBCallbacksImpl.h:
1991         * src/WebIDBCursorImpl.cpp:
1992         * src/WebIDBCursorImpl.h:
1993         * src/WebIDBDatabaseCallbacksImpl.cpp:
1994         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
1995         * src/WebIDBDatabaseCallbacksImpl.h:
1996         * src/WebIDBDatabaseError.cpp:
1997         * src/WebIDBDatabaseImpl.cpp:
1998         * src/WebIDBDatabaseImpl.h:
1999         * src/WebIDBFactoryImpl.cpp:
2000         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
2001         * src/WebIDBFactoryImpl.h:
2002         * src/WebIDBIndexImpl.cpp:
2003         * src/WebIDBIndexImpl.h:
2004         * src/WebIDBKey.cpp:
2005         (WebKit::WebIDBKey::createFromValueAndKeyPath):
2006         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
2007         * src/WebIDBKeyPath.cpp:
2008         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
2009         * src/WebIDBKeyRange.cpp:
2010         * src/WebIDBObjectStoreImpl.cpp:
2011         * src/WebIDBObjectStoreImpl.h:
2012         * src/WebIDBTransactionCallbacksImpl.cpp:
2013         * src/WebIDBTransactionCallbacksImpl.h:
2014         * src/WebIDBTransactionImpl.cpp:
2015         * src/WebIDBTransactionImpl.h:
2016
2017 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
2018
2019         Reviewed by Pavel Feldman.
2020
2021         Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
2022         https://bugs.webkit.org/show_bug.cgi?id=57446
2023
2024         * WebKit.gyp:
2025         * scripts/inline_js_imports.py: Added.
2026
2027 2011-03-31  Victoria Kirst  <vrk@google.com>
2028
2029         Reviewed by Eric Carlson.
2030
2031         [chromium] Implement preload=none, setPreload hooks to media player
2032         https://bugs.webkit.org/show_bug.cgi?id=56983
2033
2034         This patch implements preload=none in Chromium. It also replaces
2035         the now-deprecated setAutobuffer method with setPreload.
2036
2037         * public/WebMediaPlayer.h:
2038         (WebKit::WebMediaPlayer::setPreload):
2039         * public/WebMediaPlayerClient.h:
2040         * src/WebMediaPlayerClientImpl.cpp:
2041         (WebKit::WebMediaPlayerClientImpl::preload):
2042         (WebKit::WebMediaPlayerClientImpl::load):
2043         (WebKit::WebMediaPlayerClientImpl::loadInternal):
2044         (WebKit::WebMediaPlayerClientImpl::prepareToPlay):
2045         (WebKit::WebMediaPlayerClientImpl::setPreload):
2046         (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
2047         (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
2048         * src/WebMediaPlayerClientImpl.h:
2049
2050 2011-03-31  Evan Martin  <evan@chromium.org>
2051
2052         Reviewed by Eric Seidel.
2053
2054         <title> should support dir attribute
2055         https://bugs.webkit.org/show_bug.cgi?id=50961
2056
2057         Update to new FrameLoaderClient interface.
2058
2059         * src/FrameLoaderClientImpl.cpp:
2060         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
2061         (WebKit::FrameLoaderClientImpl::setTitle):
2062         * src/FrameLoaderClientImpl.h:
2063         * src/WebDataSourceImpl.cpp:
2064         (WebKit::WebDataSourceImpl::pageTitle):
2065
2066 2011-03-30  David Levin  <levin@chromium.org>
2067
2068         Reviewed by Dmitry Titov.
2069
2070         UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
2071         https://bugs.webkit.org/show_bug.cgi?id=57382
2072
2073         There were two issues to address:
2074         1. The use of a non-thread safe class (RefPtr) in a ThreadSafeRefCounted class.
2075            The problem was that this RefPtr could be changed on either thread.
2076         2. Keeping WorkerFileSystemCallbacksBridge alive for while it was being used
2077            including while its mutex was in use.
2078
2079         * src/WorkerFileSystemCallbacksBridge.cpp:
2080         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
2081         Changed to take a PassRefPtr and leak the ref count as opposed to relying on
2082         dispatchTaskToMainThread to store the pointer in m_selfRef.
2083         (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread): Remove the
2084         m_selfRef and hand off a PassRefPtr instead.
2085         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker): Balance out the leaked ref
2086         and ensure that WorkerFileSystemCallbacksBridge stays alive while the mutex is held.
2087         * src/WorkerFileSystemCallbacksBridge.h: Removed m_selfRef and derefIfWorkerIsStopped which
2088           was simply due to m_selfRef.
2089
2090 2011-03-29  John Abd-El-Malek  <jam@chromium.org>
2091
2092         Reviewed by Tony Chang.
2093
2094         [chromium]: Remove the code that called WebViewClient for spelling now that chromium is updated
2095         https://bugs.webkit.org/show_bug.cgi?id=57396
2096
2097         * DEPS:
2098         * public/WebFrame.h:
2099         * public/WebView.h:
2100         * public/WebViewClient.h:
2101         (WebKit::WebViewClient::handleCurrentKeyboardEvent):
2102         * src/EditorClientImpl.cpp:
2103         (WebKit::EditorClientImpl::checkSpellingOfString):
2104         (WebKit::EditorClientImpl::requestCheckingOfString):
2105         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
2106         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
2107         (WebKit::EditorClientImpl::showSpellingUI):
2108         (WebKit::EditorClientImpl::spellingUIIsShowing):
2109         * src/WebViewImpl.cpp:
2110         (WebKit::WebView::create):
2111         * src/WebViewImpl.h:
2112         * src/WebWorkerBase.cpp:
2113         (WebKit::WebWorkerBase::initializeLoader):
2114         * tests/PopupMenuTest.cpp:
2115         (WebKit::SelectPopupMenuTest::SetUp):
2116         * tests/WebFrameTest.cpp:
2117         (WebKit::TEST_F):
2118         * tests/WebPageSerializerTest.cpp:
2119         (WebKit::WebPageSerializerTest::SetUp):
2120
2121 2011-03-30  MORITA Hajime  <morrita@google.com>
2122
2123         Reviewed by Dimitri Glazkov.
2124
2125         [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
2126         https://bugs.webkit.org/show_bug.cgi?id=56573
2127
2128         Added:
2129         - WebBindins::makeNode() to convert WebNode to a JS object, and
2130         - WebElement::shadowRoot().
2131
2132         * public/WebBindings.h:
2133         * public/WebElement.h:
2134         * src/WebBindings.cpp:
2135         (WebKit::makeNodeImpl):
2136         (WebKit::WebBindings::makeNode):
2137         * src/WebElement.cpp:
2138         (WebKit::WebElement::shadowRoot):
2139
2140 2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
2141
2142         Reviewed by Chris Fleizach.
2143
2144         AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
2145         https://bugs.webkit.org/show_bug.cgi?id=47636
2146
2147         Duplicate new internal WebCore roles in the Chromium port.
2148
2149         * public/WebAccessibilityRole.h: Update enumeration
2150         WebAccessibilityRole to reflect newly added roles in WebCore.
2151         * src/AssertMatchingEnums.cpp: Added new assertions.
2152
2153 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
2154
2155         Reviewed by Pavel Feldman.
2156
2157         Web Inspector: split debugger agent into Page and Worker-specific ones
2158         https://bugs.webkit.org/show_bug.cgi?id=57345
2159
2160         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
2161         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
2162         and Page/WorkerDebuggerAgent.
2163
2164         * src/DebuggerAgentManager.cpp:
2165         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
2166         * src/WebDevToolsAgentImpl.cpp:
2167         (WebKit::WebDevToolsAgent::interruptAndDispatch):
2168         (WebKit::WebDevToolsAgent::processPendingMessages):
2169
2170 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
2171
2172         Unreviewed. Rollout r82438 and r82436.
2173
2174         * src/DebuggerAgentManager.cpp:
2175         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
2176         * src/WebDevToolsAgentImpl.cpp:
2177         (WebKit::WebDevToolsAgent::interruptAndDispatch):
2178         (WebKit::WebDevToolsAgent::processPendingMessages):
2179
2180 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
2181
2182         Reviewed by Pavel Feldman.
2183
2184         Web Inspector: split debugger agent into Page and Worker-specific ones
2185         https://bugs.webkit.org/show_bug.cgi?id=57345
2186
2187         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
2188         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
2189         and Page/WorkerDebuggerAgent.
2190
2191         * src/DebuggerAgentManager.cpp:
2192         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
2193         * src/WebDevToolsAgentImpl.cpp:
2194         (WebKit::WebDevToolsAgent::interruptAndDispatch):
2195         (WebKit::WebDevToolsAgent::processPendingMessages):
2196
2197 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2198
2199         Unreviewed, rolling out r82293.
2200         http://trac.webkit.org/changeset/82293
2201         https://bugs.webkit.org/show_bug.cgi?id=57390
2202
2203         Breaks RetrieveCSSResources (Requested by abarth|gardener on
2204         #webkit).
2205
2206         * WebKit.gyp:
2207         * src/WebPageSerializer.cpp:
2208         (WebCore::getSubResourceURLFromElement):
2209         (WebCore::retrieveResourcesForElement):
2210         (WebCore::retrieveResourcesForFrame):
2211         (WebKit::WebPageSerializer::retrieveAllResources):
2212         * tests/WebPageSerializerTest.cpp:
2213         * tests/data/pageserialization/css_test_page.html: Removed.
2214         * tests/data/pageserialization/import_style_from_link.css: Removed.
2215         * tests/data/pageserialization/import_styles.css: Removed.
2216         * tests/data/pageserialization/link_styles.css: Removed.
2217
2218 2011-03-29  Tony Chang  <tony@chromium.org>
2219
2220         Roll chromium version to r79710 to pick up libpng changes.
2221
2222         * DEPS:
2223
2224 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2225
2226         Unreviewed, rolling out r82295 and r82300.
2227         http://trac.webkit.org/changeset/82295
2228         http://trac.webkit.org/changeset/82300
2229         https://bugs.webkit.org/show_bug.cgi?id=57380
2230
2231         This patch breaks compile on Chromium (Requested by
2232         abarth|gardener on #webkit).
2233
2234         * public/WebAccessibilityRole.h:
2235         * src/AssertMatchingEnums.cpp:
2236
2237 2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
2238
2239         Reviewed by Adam Barth.
2240
2241         REGRESSION(r82295): This patch does not compile on Chromium (Requested by abarth|gardener on #webkit).
2242         https://bugs.webkit.org/show_bug.cgi?id=57377
2243
2244         Fix build errors on Chromium bots.
2245
2246         * public/WebAccessibilityRole.h: Update to reflect newly added roles in WebCore.
2247         * src/AssertMatchingEnums.cpp: Ditto.
2248
2249 2011-03-29  Adam Barth  <abarth@webkit.org>
2250
2251         Roll Chromium DEPS
2252         https://bugs.webkit.org/show_bug.cgi?id=57361
2253
2254         * DEPS:
2255
2256 2011-03-29  Jay Civelli  <jcivelli@chromium.org>
2257
2258         Reviewed by David Levin.
2259
2260         Adding retrieval off CSS resources to WebPageSerializer::retrieveAllResources.
2261         https://bugs.webkit.org/show_bug.cgi?id=56650
2262
2263         * WebKit.gyp:
2264         * src/WebPageSerializer.cpp:
2265         (WebCore::getResourceAttributeForElement):
2266         (WebCore::retrieveStyleSheetForElement):
2267         (WebCore::retrieveResourcesForElement):
2268         (WebCore::retrieveResourcesForFrame):
2269         (WebCore::retrieveResourcesForCSSRule):
2270         (WebCore::retrieveResourcesForCSSStyleDeclaration):
2271         (WebCore::retrieveResourcesForCSSStyleSheet):
2272         (WebKit::WebPageSerializer::retrieveAllResources):
2273         * tests/WebPageSerializerTest.cpp:
2274         (WebKit::TestWebFrameClient::TestWebFrameClient):
2275         (WebKit::TestWebFrameClient::allowScript):
2276         (WebKit::WebPageSerializerTest::enableJS):
2277         (WebKit::WebPageSerializerTest::runOnLoad):
2278         (WebKit::TEST_F):
2279         * tests/data/pageserialization/css_test_page.html: Added.
2280         * tests/data/pageserialization/import_style_from_link.css: Added.
2281         (#divOrange):
2282         * tests/data/pageserialization/import_styles.css: Added.
2283         (#divYellow):
2284         * tests/data/pageserialization/link_styles.css: Added.
2285         (#divRed):
2286
2287 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
2288
2289         Reviewed by Pavel Feldman.
2290
2291         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
2292         https://bugs.webkit.org/show_bug.cgi?id=56602
2293
2294         Added new methods to interface while keeping the old ones to keep
2295         chromium working until it is also patched.
2296
2297         * public/WebURLLoaderClient.h:
2298         (WebKit::WebURLLoaderClient::didReceiveData2):
2299         * src/AssociatedURLLoader.cpp:
2300         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2301         * src/ResourceHandle.cpp:
2302         (WebCore::ResourceHandleInternal::didReceiveData):
2303         (WebCore::ResourceHandleInternal::didReceiveData2):
2304
2305 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
2306
2307         Reviewed by Pavel Feldman.
2308
2309         Web Inspector: [Chromium] DevTools shows two resources for each plugin resource loaded
2310         https://bugs.webkit.org/show_bug.cgi?id=57101
2311
2312         Remove DevToolsAgent network callbacks as this information is now available through ResourceLoader
2313
2314         * public/WebDevToolsAgent.h:
2315         * src/WebDevToolsAgentImpl.cpp:
2316         * src/WebDevToolsAgentImpl.h:
2317
2318 2011-03-29  Emil A Eklund  <eae@chromium.org>
2319
2320         Reviewed by Dimitri Glazkov.
2321
2322         Relative mouse coordinates recalculated for each target
2323         https://bugs.webkit.org/show_bug.cgi?id=57130
2324
2325         * public/WebDOMMouseEvent.h:
2326         * src/WebDOMMouseEvent.cpp:
2327         (WebKit::WebDOMMouseEvent::layerX):
2328         (WebKit::WebDOMMouseEvent::layerY):
2329         (WebKit::WebDOMMouseEvent::offsetX):
2330         (WebKit::WebDOMMouseEvent::offsetY):
2331
2332 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
2333
2334         Unreviewed, rolling out r82195.
2335         http://trac.webkit.org/changeset/82195
2336         https://bugs.webkit.org/show_bug.cgi?id=56602
2337
2338         Broke Chromium Clang builds.
2339
2340         * public/WebDevToolsAgent.h:
2341         * public/WebURLLoaderClient.h:
2342         * src/AssociatedURLLoader.cpp:
2343         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2344         * src/ResourceHandle.cpp:
2345         (WebCore::ResourceHandleInternal::didReceiveData):
2346         * src/WebDevToolsAgentImpl.cpp:
2347         (WebKit::WebDevToolsAgentImpl::didReceiveData):
2348         * src/WebDevToolsAgentImpl.h:
2349
2350 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
2351
2352         Unreviewed. Another build fix. The last fix was incorrect.
2353
2354         * src/ChromeClientImpl.cpp:
2355         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
2356         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
2357         * src/ChromeClientImpl.h:
2358
2359 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
2360
2361         Unreviewed. Build fix for Chromium Clang bot.
2362
2363         * src/ChromeClientImpl.cpp:
2364         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
2365         * src/ChromeClientImpl.h:
2366
2367 2011-03-28  Vsevolod Vlasov  <vsevik@chromium.org>
2368
2369         Reviewed by Pavel Feldman.
2370
2371         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
2372         https://bugs.webkit.org/show_bug.cgi?id=56602
2373
2374         Added new methods to interface while keeping the old ones to keep
2375         chromium working until it is also patched.
2376
2377         * public/WebDevToolsAgent.h:
2378         * public/WebURLLoaderClient.h:
2379         (WebKit::WebURLLoaderClient::didReceiveData):
2380         * src/AssociatedURLLoader.cpp:
2381         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2382         * src/ResourceHandle.cpp:
2383         (WebCore::ResourceHandleInternal::didReceiveData):
2384         * src/WebDevToolsAgentImpl.cpp:
2385         (WebKit::WebDevToolsAgentImpl::didReceiveData):
2386         * src/WebDevToolsAgentImpl.h:
2387
2388 2011-03-28  Tony Chang  <tony@chromium.org>
2389
2390         Reviewed by Adam Barth.
2391
2392         [chromium] have DRT write the png checksum into a png comment
2393         https://bugs.webkit.org/show_bug.cgi?id=57255
2394
2395         * DEPS: Pull in version of chromium with comment writing
2396
2397 2011-03-28  Adele Peterson  <adele@apple.com>
2398
2399         Build fix.
2400
2401         * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
2402         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
2403
2404 2011-03-28  Pavel Feldman  <pfeldman@chromium.org>
2405
2406         Not reviewed: fixed chromium build.
2407
2408         * src/WebDevToolsAgentImpl.cpp:
2409         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
2410
2411 2011-03-25  Andy Estes  <aestes@apple.com>
2412
2413         Reviewed by Adele Peterson.
2414
2415         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
2416         https://bugs.webkit.org/show_bug.cgi?id=49016
2417
2418         Update objectContentType() implementation to handle the
2419         shouldPreferPlugInsForImages flag.
2420
2421         * src/FrameLoaderClientImpl.cpp:
2422         (WebKit::FrameLoaderClientImpl::objectContentType):
2423         * src/FrameLoaderClientImpl.h:
2424
2425 2011-03-25  Kinuko Yasuda  <kinuko@chromium.org>
2426
2427         Reviewed by David Levin.
2428
2429         Data race between ~WorkerFileSystemCallbacksBridge and runTasksOnWorkerThread
2430         https://bugs.webkit.org/show_bug.cgi?id=56138
2431         Stopped passing the WorkerFileSystemCallbacksBridge's reference to
2432         MainThreadFileSystemCallbacks so that in most cases (in normal cases)
2433         its reference is only maintained by WorkerThread.
2434
2435         * src/WorkerFileSystemCallbacksBridge.cpp:
2436         (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
2437         (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
2438         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
2439         * src/WorkerFileSystemCallbacksBridge.h:
2440
2441 2011-03-24  John Abd-El-Malek  <jam@chromium.org>
2442
2443         Reviewed by Dimitri Glazkov.
2444
2445         [chromium] Add setters for various client interfaces, and add WebSpellCheckClient
2446         https://bugs.webkit.org/show_bug.cgi?id=57070
2447
2448         * public/WebSpellCheckClient.h: Added.
2449         (WebKit::WebSpellCheckClient::spellCheck):
2450         (WebKit::WebSpellCheckClient::requestCheckingOfText):
2451         (WebKit::WebSpellCheckClient::autoCorrectWord):
2452         (WebKit::WebSpellCheckClient::showSpellingUI):
2453         (WebKit::WebSpellCheckClient::isShowingSpellingUI):
2454         (WebKit::WebSpellCheckClient::updateSpellingUIWithMisspelledWord):
2455         (WebKit::WebSpellCheckClient::~WebSpellCheckClient):
2456         * public/WebView.h:
2457         * public/WebViewClient.h:
2458         * src/EditorClientImpl.cpp:
2459         (WebKit::EditorClientImpl::checkSpellingOfString):
2460         (WebKit::EditorClientImpl::requestCheckingOfString):
2461         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
2462         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
2463         (WebKit::EditorClientImpl::showSpellingUI):
2464         (WebKit::EditorClientImpl::spellingUIIsShowing):
2465         * src/WebViewImpl.cpp:
2466         (WebKit::WebViewImpl::setWebDevToolsAgentClient):
2467         (WebKit::WebViewImpl::setWebAutoFillClient):
2468         (WebKit::WebViewImpl::setWebSpellCheckClient):
2469         (WebKit::WebViewImpl::WebViewImpl):
2470         * src/WebViewImpl.h:
2471         (WebKit::WebViewImpl::spellCheckClient):
2472
2473 2011-03-25  Cary Clark  <caryclark@google.com>
2474
2475         Reviewed by Dimitri Glazkov.
2476
2477         Add CGBitmapContext.h include to WebViewImpl.cpp
2478         https://bugs.webkit.org/show_bug.cgi?id=57097
2479         
2480         No tests. Exposes no new functionality.
2481
2482         * src/WebViewImpl.cpp:
2483
2484 2011-03-25  Adam Klein  <adamk@chromium.org>
2485
2486         Reviewed by David Levin.
2487
2488         [chromium] Remove deprecated overload of openFileSystem for workers
2489         https://bugs.webkit.org/show_bug.cgi?id=57062
2490
2491         * public/WebCommonWorkerClient.h:
2492
2493 2011-03-25  Chang Shu  <cshu@webkit.org>
2494
2495         Reviewed by Ryosuke Niwa.
2496
2497         rename Node::isContentEditable and all call sites to rendererIsEditable
2498         https://bugs.webkit.org/show_bug.cgi?id=54290
2499
2500         This is part of the effort to separate JS API HTMLElement isContentEditable from
2501         internal Node::rendererIsEditable.
2502
2503         * src/WebNode.cpp:
2504         (WebKit::WebNode::isContentEditable):
2505         * src/WebViewImpl.cpp:
2506         (WebKit::WebViewImpl::setFocus):
2507         (WebKit::WebViewImpl::setComposition):
2508         (WebKit::WebViewImpl::confirmComposition):
2509
2510 2011-03-25  Mikhail Naganov  <mnaganov@chromium.org>
2511
2512         Roll forward Chromium deps to r79379 to pick up V8 3.2.4.2.
2513
2514         * DEPS:
2515
2516 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
2517
2518         Unreviewed, rolling out r81916 and r81917.
2519         http://trac.webkit.org/changeset/81916
2520         http://trac.webkit.org/changeset/81917
2521         https://bugs.webkit.org/show_bug.cgi?id=57071
2522
2523         broke a test on platforms that do not have QuickTime installed
2524         (Requested by estes on #webkit).
2525
2526         * src/FrameLoaderClientImpl.cpp:
2527         (WebKit::FrameLoaderClientImpl::objectContentType):
2528         * src/FrameLoaderClientImpl.h:
2529
2530 2011-03-24  Min Qin  <qinmin@google.com>
2531
2532         Reviewed by James Robinson.
2533
2534         Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
2535
2536         https://bugs.webkit.org/show_bug.cgi?id=56837
2537
2538         * public/WebMediaPlayerClient.h:
2539         * src/WebMediaPlayerClientImpl.cpp:
2540         (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
2541         * src/WebMediaPlayerClientImpl.h:
2542
2543 2011-03-23  John Abd-El-Malek  <jam@chromium.org>
2544
2545         Reviewed by Tony Chang.
2546
2547         [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it&apos;s not needed anymore
2548         https://bugs.webkit.org/show_bug.cgi?id=56955
2549
2550         * DEPS:
2551         * public/WebTextCheckingResult.h:
2552
2553 2011-03-24  Bill Budge  <bbudge@chromium.org>
2554
2555         Reviewed by Eric Seidel.
2556
2557         Change a forward declaration of WebURLLoaderOptions to struct to prevent a build break in Chromium.
2558         https://bugs.webkit.org/show_bug.cgi?id=57064
2559
2560         No tests. Exposes no new functionality.
2561
2562         * public/WebFrame.h:
2563
2564 2011-03-24  Andy Estes  <aestes@apple.com>
2565
2566         Fix the chromium build.
2567
2568         * src/FrameLoaderClientImpl.cpp:
2569         (WebKit::FrameLoaderClientImpl::objectContentType):
2570
2571 2011-03-24  Andy Estes  <aestes@apple.com>
2572
2573         Reviewed by Darin Adler.
2574
2575         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
2576         https://bugs.webkit.org/show_bug.cgi?id=49016
2577
2578         Update objectContentType() implementation to handle the
2579         shouldPreferPlugInsForImages flag.
2580
2581         * src/FrameLoaderClientImpl.cpp:
2582         (WebKit::FrameLoaderClientImpl::objectContentType):
2583         * src/FrameLoaderClientImpl.h:
2584
2585 2011-03-24  Bill Budge  <bbudge@chromium.org>
2586
2587         Reviewed by Dmitry Titov.
2588
2589         Add an overloaded WebFrame::createAssociatedURLLoader method that takes WebURLLoaderOptions, so clients can specify CORS options to allow cross-origin requests.
2590         https://bugs.webkit.org/show_bug.cgi?id=56885
2591
2592         No new tests. Exposes no new functionality.
2593
2594         * public/WebFrame.h:
2595         * src/WebFrameImpl.cpp:
2596         (WebKit::WebFrameImpl::createAssociatedURLLoader):
2597         * src/WebFrameImpl.h:
2598
2599 2011-03-24  Sam Weinig  <sam@webkit.org>
2600
2601         Reviewed by Anders Carlsson.
2602
2603         Remove legacy version of findPlainText.
2604         https://bugs.webkit.org/show_bug.cgi?id=57056
2605
2606         * src/WebFrameImpl.cpp:
2607         (WebKit::WebFrameImpl::scopeStringMatches):
2608         Replace use of legacy findPlainText with a version that
2609         takes an options parameter.
2610
2611 2011-03-24  Nat Duca  <nduca@chromium.org>
2612
2613         Reviewed by Kenneth Russell.
2614
2615         [chromium] Add traceEvents to compositor
2616         https://bugs.webkit.org/show_bug.cgi?id=56965
2617
2618         * src/WebViewImpl.cpp:
2619         (WebKit::WebViewImpl::composite):
2620
2621 2011-03-24  Dominic Mazzoni  <dmazzoni@google.com>
2622
2623         Reviewed by Dimitri Glazkov.
2624
2625         Add accessibilityObject accessor to WebDocument (needed for
2626         building an accessibility tree that includes iframes).
2627         https://bugs.webkit.org/show_bug.cgi?id=56984
2628
2629         * public/WebDocument.h:
2630         * src/WebDocument.cpp:
2631         (WebKit::WebDocument::accessibilityObject):
2632
2633 2011-03-24  Ilya Sherman  <isherman@chromium.org>
2634
2635         Reviewed by Dimitri Glazkov.
2636
2637         Expose Node::isFocusable() in the Chromium WebKit API
2638         In service of https://code.google.com/p/chromium/issues/detail?id=72918
2639         https://bugs.webkit.org/show_bug.cgi?id=56809
2640
2641         * public/WebNode.h:
2642         * src/WebNode.cpp:
2643         (WebKit::WebNode::isFocusable):
2644
2645 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
2646
2647         Not reviewed: fix chromium compilation.
2648
2649         * public/WebDevToolsAgent.h:
2650
2651 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
2652
2653         Reviewed by Yury Semikhatsky.
2654
2655         Web Inspector: brush up Network agent API.
2656         https://bugs.webkit.org/show_bug.cgi?id=57001
2657
2658         * public/WebDevToolsAgent.h:
2659         * src/WebDevToolsAgentImpl.cpp:
2660         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
2661         (WebKit::WebDevToolsAgentImpl::willSendRequest):
2662         * src/WebDevToolsAgentImpl.h:
2663
2664 2011-03-24  Noel Gordon  <noel.gordon@gmail.com>
2665
2666         Reviewed by Ojan Vafai.
2667
2668         [chromium] WebBindings::getRangeImpl() should NULL check its NPObject argument
2669         https://bugs.webkit.org/show_bug.cgi?id=56996
2670
2671         * src/WebBindings.cpp:
2672         (WebKit::getRangeImpl):
2673
2674 2011-03-23  Noel Gordon  <noel.gordon@gmail.com>
2675
2676         Reviewed by Ojan Vafai.
2677
2678         [chromium] WebBindings{.h,.cpp}: should use consistent argument naming
2679         https://bugs.webkit.org/show_bug.cgi?id=56898
2680
2681         Address FIXME I noted/added in r81676.  Wanted to just copy/paste the checking
2682         code from elsewhere in the file, but inconsistent argument naming made it more
2683         difficult than it need be, so first step: use consistent naming.
2684
2685         * public/WebBindings.h:
2686         * src/WebBindings.cpp:
2687         (WebKit::WebBindings::construct):
2688         (WebKit::WebBindings::enumerate):
2689         (WebKit::WebBindings::evaluate):
2690         (WebKit::WebBindings::evaluateHelper):
2691         (WebKit::WebBindings::getProperty):
2692         (WebKit::WebBindings::hasMethod):
2693         (WebKit::WebBindings::hasProperty):
2694         (WebKit::WebBindings::invoke):
2695         (WebKit::WebBindings::invokeDefault):
2696         (WebKit::WebBindings::releaseObject):
2697         (WebKit::WebBindings::removeProperty):
2698         (WebKit::WebBindings::retainObject):
2699         (WebKit::WebBindings::setException):
2700         (WebKit::WebBindings::setProperty):
2701         (WebKit::WebBindings::unregisterObject):
2702         (WebKit::WebBindings::extractIdentifierData):
2703         (WebKit::getRangeImpl):
2704         (WebKit::getElementImpl):
2705         (WebKit::makeIntArrayImpl):
2706         (WebKit::WebBindings::getRange):
2707         (WebKit::WebBindings::makeIntArray):
2708
2709 2011-03-23  Jay Civelli  <jcivelli@chromium.org>
2710
2711         Reviewed by David Levin.
2712
2713         Relanding:
2714         Moving the method that is used to retrieve all the resources in
2715         a page from the Chromium code (dom_operations.cc) to WebKit.
2716         https://bugs.webkit.org/show_bug.cgi?id=55859
2717
2718         * WebKit.gyp:
2719         * public/WebPageSerializer.h:
2720         * public/WebURL.h:
2721         (WebKit::operator==):
2722         (WebKit::operator!=):
2723         * public/WebVector.h:
2724         (WebKit::WebVector::contains):
2725         * src/WebDataSourceImpl.cpp:
2726         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2727         * src/WebPageSerializer.cpp:
2728         (WebCore::getSubResourceURLFromElement):
2729         (WebCore::retrieveResourcesForElement):
2730         (WebCore::retrieveResourcesForFrame):
2731         (WebKit::WebPageSerializer::retrieveAllResources):
2732         * tests/WebFrameTest.cpp:
2733         * tests/WebPageSerializerTest.cpp: Added.
2734         * tests/data/pageserialization/awesome.png: Added.
2735         * tests/data/pageserialization/embed_iframe.html: Added.
2736         * tests/data/pageserialization/object_iframe.html: Added.
2737         * tests/data/pageserialization/simple_iframe.html: Added.
2738         * tests/data/pageserialization/simple_page.html: Added.
2739         * tests/data/pageserialization/top_frame.html: Added.
2740
2741 2011-03-23  Kenneth Russell  <kbr@google.com>
2742
2743         Rolled forward Chromium DEPS again to fix DumpRenderTree build
2744         failure caused by r81821.
2745
2746         * DEPS:
2747
2748 2011-03-23  Kenneth Russell  <kbr@google.com>
2749
2750         Rolled forward Chromium DEPS to fix build breakage after r81821.
2751
2752         * DEPS:
2753
2754 2011-03-23  Kenneth Russell  <kbr@google.com>
2755
2756         Reviewed by James Robinson.
2757
2758         [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
2759         https://bugs.webkit.org/show_bug.cgi?id=56947
2760
2761         Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
2762         now controlled exclusively through the page's Settings.
2763
2764         * public/WebRuntimeFeatures.h:
2765         * src/WebRuntimeFeatures.cpp:
2766
2767 2011-03-23  Chris Rogers  <crogers@google.com>
2768
2769         Reviewed by Kenneth Russell.
2770
2771         Add API to retrieve the audio hardware sample-rate
2772         https://bugs.webkit.org/show_bug.cgi?id=56882
2773
2774         * public/WebAudioDevice.h:
2775         * public/WebKitClient.h:
2776         (WebKit::WebKitClient::audioHardwareSampleRate):
2777         * src/AudioDestinationChromium.cpp:
2778         (WebCore::AudioDestination::hardwareSampleRate):
2779
2780 2011-03-23  Cris Neckar  <cdn@chromium.org>
2781
2782         Reviewed by Eric Seidel.
2783
2784         Add refptr for widget. Mutations can happen within the event handler.
2785         https://bugs.webkit.org/show_bug.cgi?id=56774
2786
2787         * src/WebPluginContainerImpl.cpp:
2788         (WebKit::WebPluginContainerImpl::handleEvent):
2789
2790 2011-03-23  Viet-Trung Luu  <viettrungluu@chromium.org>
2791
2792         Reviewed by Tony Chang.
2793
2794         [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
2795         https://bugs.webkit.org/show_bug.cgi?id=56868
2796
2797         Chromium's WebClipboard::isFormatAvailable() will be correspondingly
2798         extended.
2799
2800         * public/WebClipboard.h:
2801         * src/AssertMatchingEnums.cpp:
2802
2803 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
2804
2805         Reviewed by Pavel Feldman.
2806
2807         [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
2808         https://bugs.webkit.org/show_bug.cgi?id=56916
2809
2810         * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
2811         * WebKit.grd:
2812
2813 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
2814
2815         Reviewed by Pavel Feldman.
2816
2817         [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
2818         https://bugs.webkit.org/show_bug.cgi?id=56926
2819
2820         * public/WebDevToolsAgent.h:
2821         * src/WebDevToolsAgentImpl.cpp:
2822         * src/WebDevToolsAgentImpl.h:
2823
2824 2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2825
2826         Unreviewed, rolling out r81686.
2827         http://trac.webkit.org/changeset/81686
2828         https://bugs.webkit.org/show_bug.cgi?id=56914
2829
2830         Breaks webkit_tests in Chromium again. (Requested by pfeldman
2831         on #webkit).
2832
2833         * WebKit.gyp:
2834         * public/WebPageSerializer.h:
2835         * public/WebURL.h:
2836         * public/WebVector.h:
2837         (WebKit::WebVector::operator[]):
2838         * src/WebDataSourceImpl.cpp:
2839         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2840         * src/WebPageSerializer.cpp:
2841         * tests/WebFrameTest.cpp:
2842         * tests/WebPageSerializerTest.cpp: Removed.
2843         * tests/data/pageserialization/awesome.png: Removed.
2844         * tests/data/pageserialization/embed_iframe.html: Removed.
2845         * tests/data/pageserialization/object_iframe.html: Removed.
2846         * tests/data/pageserialization/simple_iframe.html: Removed.
2847         * tests/data/pageserialization/simple_page.html: Removed.
2848         * tests/data/pageserialization/top_frame.html: Removed.
2849
2850 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
2851
2852         Reviewed by Pavel Feldman.
2853
2854         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
2855         https://bugs.webkit.org/show_bug.cgi?id=56843
2856
2857         * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
2858         * src/WebDevToolsAgentImpl.cpp:
2859         (WebKit::WebDevToolsAgentImpl::attach):
2860
2861 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
2862
2863         Reviewed by Pavel Feldman.
2864
2865         [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
2866         https://bugs.webkit.org/show_bug.cgi?id=56897
2867
2868         * public/WebDevToolsAgentClient.h:
2869
2870 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
2871
2872         Reviewed by Tony Chang.
2873
2874         [chromium] Remove identity from dragTargetDragEnter() function signature
2875         https://bugs.webkit.org/show_bug.cgi?id=56875
2876
2877         First part of 3-sided patch.  Add new function signature sans identity.
2878
2879         * public/WebView.h:
2880         * src/WebViewImpl.cpp:
2881         (WebKit::WebViewImpl::dragTargetDragEnter):
2882         * src/WebViewImpl.h:
2883
2884 2011-03-22  John Bauman  <jbauman@chromium.org>
2885
2886         Reviewed by Kenneth Russell.
2887
2888         Add support for preserveDrawingBuffer context creation attribute
2889         https://bugs.webkit.org/show_bug.cgi?id=56431
2890
2891         * src/GraphicsContext3DChromium.cpp:
2892         (WebCore::GraphicsContext3DInternal::markContextChanged):
2893         (WebCore::GraphicsContext3DInternal::markLayerComposited):
2894         (WebCore::GraphicsContext3DInternal::layerComposited):
2895         (WebCore::GraphicsContext3D::layerComposited):
2896         * src/GraphicsContext3DInternal.h:
2897
2898 2011-03-22  John Abd-El-Malek  <jam@chromium.org>
2899
2900         Reviewed by Tony Chang.
2901
2902         [chromium] Make WebTextCheckingResult&apos;s members be public in preparation for converting it to a struct
2903         https://bugs.webkit.org/show_bug.cgi?id=56857
2904
2905         * DEPS:
2906         * public/WebTextCheckingResult.h:
2907
2908 2011-03-22  Jay Civelli  <jcivelli@chromium.org>
2909
2910         Reviewed by David Levin.
2911
2912         Relanding:
2913         Moving the method that is used to retrieve all the resources in
2914         a page from the Chromium code (dom_operations.cc) to WebKit.
2915         https://bugs.webkit.org/show_bug.cgi?id=55859
2916
2917
2918         * WebKit.gyp:
2919         * public/WebPageSerializer.h:
2920         * public/WebURL.h:
2921         (WebKit::operator==):
2922         (WebKit::operator!=):
2923         * public/WebVector.h:
2924         (WebKit::WebVector::contains):
2925         * src/WebDataSourceImpl.cpp:
2926         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2927         * src/WebPageSerializer.cpp:
2928         (WebCore::getSubResourceURLFromElement):
2929         (WebCore::retrieveResourcesForElement):
2930         (WebCore::retrieveResourcesForFrame):
2931         (WebKit::WebPageSerializer::retrieveAllResources):
2932         * tests/WebFrameTest.cpp:
2933         * tests/WebPageSerializerTest.cpp: Added.
2934         * tests/data/pageserialization/awesome.png: Added.
2935         * tests/data/pageserialization/embed_iframe.html: Added.
2936         * tests/data/pageserialization/object_iframe.html: Added.
2937         * tests/data/pageserialization/simple_iframe.html: Added.
2938         * tests/data/pageserialization/simple_page.html: Added.
2939         * tests/data/pageserialization/top_frame.html: Added.
2940
2941 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
2942
2943         Reviewed by Tony Chang.
2944
2945         [chromium] Remove Gears from Chromium WebKit
2946         https://bugs.webkit.org/show_bug.cgi?id=56808
2947
2948         Gears has been removed from Chromium 12. Remove Gears drag drop support
2949         from WebKit. That work lead to http://webkit.org/b/25916, a proposal to
2950         add native file drag drop, and its subsequent standardization in HTML5.
2951
2952         * public/WebBindings.h:
2953         * public/WebView.h:
2954         * src/WebBindings.cpp:
2955         (WebKit::getRangeImpl): FIXME note added.
2956         * src/WebViewImpl.cpp:
2957         (WebKit::WebViewImpl::WebViewImpl):
2958         (WebKit::WebViewImpl::dragTargetDragEnter):
2959         (WebKit::WebViewImpl::dragTargetDragLeave):
2960         (WebKit::WebViewImpl::dragTargetDrop):
2961         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
2962         * src/WebViewImpl.h:
2963
2964 2011-03-21  Adam Klein  <adamk@chromium.org>
2965
2966         Reviewed by David Levin.
2967
2968         [fileapi] Add URI resolution support to WorkerContext
2969         https://bugs.webkit.org/show_bug.cgi?id=55644
2970
2971         Pass "create" bool through to allow opening
2972         a filesystem without allowing creation.
2973
2974         * src/LocalFileSystemChromium.cpp:
2975         (WebCore::LocalFileSystem::readFileSystem):
2976         (WebCore::LocalFileSystem::requestFileSystem):
2977         * src/WebWorkerBase.cpp:
2978         (WebKit::WebWorkerBase::openFileSystemForWorker):
2979         * src/WebWorkerBase.h:
2980         * src/WorkerFileSystemCallbacksBridge.cpp:
2981         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
2982         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
2983         * src/WorkerFileSystemCallbacksBridge.h:
2984
2985 2011-03-21  Ilya Sherman  <isherman@chromium.org>
2986
2987         Reviewed by James Robinson.
2988
2989         Remove WebInputElement::isEnabledFormControl() from Chromium WebKit API
2990         Clients should instead call into WebFormControlElement::isEnabled().
2991         https://bugs.webkit.org/show_bug.cgi?id=56364
2992
2993         * public/WebInputElement.h: Removed isEnabledFormControl().
2994         * src/WebInputElement.cpp: Removed isEnabledFormControl().
2995
2996 2011-03-21  Robert Kroeger  <rjkroege@chromium.org>
2997
2998         Reviewed by Antonio Gomes.
2999
3000         Flag to enable a platform specific GestureReocognizer framework in Chromium.
3001
3002         https://bugs.webkit.org/show_bug.cgi?id=49345
3003
3004         * features.gypi:
3005
3006 2011-03-21  Tony Chang  <tony@chromium.org>
3007
3008         Reviewed by Pavel Feldman.
3009
3010         [chromium] remove devtools_html's dependency on WebKit.gypi
3011         https://bugs.webkit.org/show_bug.cgi?id=56661
3012
3013         We want to depend on the values in the gypi file, not the gypi file
3014         itself.  Actually, if someone edits a gypi file, s/he should re-run
3015         gyp to pick up the new dependencies.
3016
3017         It turns out that this doesn't matter much for this target anymore
3018         since we pull the .js dependencies from the inspector html file.
3019
3020         * WebKit.gyp: cleanup dependencies
3021         * scripts/generate_devtools_html.py: remove unused param
3022
3023 2011-03-21  Sheriff Bot  <webkit.review.bot@gmail.com>
3024
3025         Unreviewed, rolling out r81377.
3026         http://trac.webkit.org/changeset/81377
3027         https://bugs.webkit.org/show_bug.cgi?id=56765
3028
3029         WebPageSerializerTest.MultipleFrames is broken (Requested by
3030         simonjam on #webkit).
3031
3032         * WebKit.gyp:
3033         * public/WebPageSerializer.h:
3034         * public/WebURL.h:
3035         * public/WebVector.h:
3036         (WebKit::WebVector::operator[]):
3037         * src/WebDataSourceImpl.cpp:
3038         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
3039         * src/WebPageSerializer.cpp:
3040         * tests/WebFrameTest.cpp:
3041         * tests/WebPageSerializerTest.cpp: Removed.
3042         * tests/data/pageserialization/awesome.png: Removed.
3043         * tests/data/pageserialization/embed_iframe.html: Removed.
3044         * tests/data/pageserialization/object_iframe.html: Removed.
3045         * tests/data/pageserialization/simple_iframe.html: Removed.
3046         * tests/data/pageserialization/simple_page.html: Removed.
3047         * tests/data/pageserialization/top_frame.html: Removed.
3048
3049 2011-03-21  Daniel Sievers  <sievers@google.com>
3050
3051         Reviewed by Simon Fraser.
3052
3053         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
3054         https://bugs.webkit.org/show_bug.cgi?id=56139
3055
3056         * public/WebFrame.h:
3057         * src/WebFrameImpl.cpp:
3058         (WebKit::WebFrameImpl::renderTreeAsText):
3059         (WebKit::WebFrameImpl::layerTreeAsText):
3060         * src/WebFrameImpl.h:
3061
3062 2011-03-21  Eric Uhrhane <ericu@chromium.org>
3063
3064         Reviewed by David Levin.
3065
3066         [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry*
3067         https://bugs.webkit.org/show_bug.cgi?id=56704
3068
3069         * src/WebFileSystemCallbacksImpl.cpp:
3070         (WebFileSystemCallbacksImpl::didReadMetadata)
3071         Pass new platformPath member through.
3072
3073         * src/WorkerFileSystemCallbacksBridge.cpp:
3074         (CrossThreadCopierBase)
3075         Copy new platformPath member.
3076
3077         * public/WebFileInfo.h:
3078         (struct WebFileInfo)
3079         Add new platformPath member.
3080
3081 2011-03-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
3082
3083         Reviewed by Steve Block.
3084
3085         Media Stream API patch 0: adding compilation guards.
3086         https://bugs.webkit.org/show_bug.cgi?id=56458
3087
3088         Enabling the feature by default for chromium builds.
3089
3090         * features.gypi:
3091
3092 2011-03-21  Vsevolod Vlasov  <vsevik@chromium.org>
3093
3094         Reviewed by Pavel Feldman.
3095
3096         Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
3097         https://bugs.webkit.org/show_bug.cgi?id=56691
3098
3099         Added transfer size support in inspector for compressed data.
3100
3101         * src/ResourceHandle.cpp:
3102         (WebCore::ResourceHandleInternal::didReceiveData):
3103         * src/WebDevToolsAgentImpl.cpp:
3104         (WebKit::WebDevToolsAgentImpl::didReceiveData):
3105
3106 2011-03-20  Bill Budge  <bbudge@chromium.org>
3107
3108         Reviewed by Adam Barth.
3109
3110         Rename ThreadSafeShared to ThreadSafeRefCounted
3111         https://bugs.webkit.org/show_bug.cgi?id=56714
3112
3113         No new tests. Exposes no new functionality.
3114
3115         * src/PlatformMessagePortChannel.h:
3116         * src/WebWorkerBase.cpp:
3117         * src/WorkerFileSystemCallbacksBridge.h:
3118         * src/WorkerFileWriterCallbacksBridge.h:
3119
3120 2011-03-18  Tony Chang  <tony@chromium.org>
3121
3122         Reviewed by Eric Seidel.
3123
3124         [chromium] make devtool concatenation targets conditional based on debug_devtools
3125         https://bugs.webkit.org/show_bug.cgi?id=56667
3126
3127         We don't want to run these targets when debug_devtools=1 because it
3128         will overwrite the devtools.js and devtools.css files copied by
3129         inspector_resources.  On Linux, this triggers a warning because
3130         there are two commands that target the same output file when
3131         debug_devtools=1.
3132
3133         I also removed the 'sources' lines since I don't think they do
3134         anything for actions.
3135
3136         * WebKit.gyp:
3137
3138 2011-03-17  Alexey Marinichev  <amarinichev@chromium.org>
3139
3140         Reviewed by Kenneth Russell.
3141
3142         chromium: uninitialized field in WebViewImpl
3143         https://bugs.webkit.org/show_bug.cgi?id=56620
3144
3145         * src/WebViewImpl.cpp:
3146         (WebKit::WebViewImpl::WebViewImpl):
3147
3148 2011-03-17  Adrienne Walker  <enne@google.com>
3149
3150         Reviewed by James Robinson.
3151
3152         [chromium] Turn off accelerated compositing for RTL style pages.
3153         https://bugs.webkit.org/show_bug.cgi?id=56585
3154
3155         * src/WebViewImpl.cpp:
3156         (WebKit::WebViewImpl::layout):
3157         (WebKit::WebViewImpl::pageHasRTLStyle):
3158         (WebKit::WebViewImpl::setRootGraphicsLayer):
3159         * src/WebViewImpl.h:
3160
3161 2011-03-17  Jay Civelli  <jcivelli@chromium.org>
3162
3163         Reviewed by David Levin.
3164
3165         Moving the method that is used to retrieve all the resources in
3166         a page from the Chromium code (dom_operations.cc) to WebKit.
3167         https://bugs.webkit.org/show_bug.cgi?id=55859
3168
3169         * WebKit.gyp:
3170         * public/WebPageSerializer.h:
3171         * public/WebURL.h:
3172         (WebKit::operator==):
3173         (WebKit::operator!=):
3174         * public/WebVector.h:
3175         (WebKit::WebVector::contains):
3176         * src/WebDataSourceImpl.cpp:
3177         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
3178         * src/WebPageSerializer.cpp:
3179         (WebCore::getSubResourceURLFromElement):
3180         (WebCore::retrieveResourcesForElement):
3181         (WebCore::retrieveResourcesForFrame):
3182         (WebKit::WebPageSerializer::retrieveAllResources):
3183         * tests/WebFrameTest.cpp:
3184         * tests/WebPageSerializerTest.cpp: Added.
3185         * tests/data/pageserialization: Added.
3186         * tests/data/pageserialization/awesome.png: Added.
3187         * tests/data/pageserialization/embed_iframe.html: Added.
3188         * tests/data/pageserialization/object_iframe.html: Added.
3189         * tests/data/pageserialization/simple_iframe.html: Added.
3190         * tests/data/pageserialization/simple_page.html: Added.
3191         * tests/data/pageserialization/top_frame.html: Added.
3192
3193 2011-03-17  Tony Chang  <tony@chromium.org>
3194
3195         Reviewed by Pavel Feldman.
3196
3197         [chromium] don't concatenate devtools files when debug_devtools=1
3198         https://bugs.webkit.org/show_bug.cgi?id=56572
3199
3200         * WebKit.gyp:
3201
3202 2011-03-17  Tony Chang  <tony@chromium.org>
3203
3204         Reviewed by Eric Seidel.
3205
3206         [chromium] minor cleanup of devtools_files variable in WebKit.gyp
3207         https://bugs.webkit.org/show_bug.cgi?id=56503
3208
3209         * WebKit.gyp: Moving duplicate variables out of a condition.
3210
3211 2011-03-16  Adam Barth  <abarth@webkit.org>
3212
3213         Reviewed by James Robinson.
3214
3215         Remove USE(BUILTIN_UTF8_CODEC)
3216         https://bugs.webkit.org/show_bug.cgi?id=56508
3217
3218         * features.gypi:
3219
3220 2011-03-16  Tony Chang  <tony@chromium.org>
3221
3222         Reviewed by Adam Barth.
3223
3224         [chromium] include inspector gif files in the list of resources
3225         https://bugs.webkit.org/show_bug.cgi?id=56504
3226
3227         * scripts/generate_devtools_grd.py:
3228
3229 2011-03-16  Bill Budge  <bbudge@chromium.org>
3230
3231         Reviewed by David Levin.
3232
3233         AssociatedURLLoader does not support Cross Origin Requests
3234         https://bugs.webkit.org/show_bug.cgi?id=53925
3235
3236         No new tests. Exposes no new functionality.
3237
3238         * public/WebURLLoader.h:
3239         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
3240         * src/AssociatedURLLoader.cpp:
3241         (WebKit::AssociatedURLLoader::ClientAdapter::isDocumentThreadableLoaderClient):
3242         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
3243         (WebKit::AssociatedURLLoader::ClientAdapter::create):
3244         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3245         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3246         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3247         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3248         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3249         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3250         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3251         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3252         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3253         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3254         (WebKit::AssociatedURLLoader::loadSynchronously):
3255         (WebKit::AssociatedURLLoader::loadAsynchronously):
3256         (WebKit::AssociatedURLLoader::cancel):
3257         (WebKit::AssociatedURLLoader::setDefersLoading):
3258         * src/AssociatedURLLoader.h:
3259
3260 2011-03-16  Adam Barth  <abarth@webkit.org>
3261
3262         Roll Chromium DEPS.
3263
3264         * DEPS:
3265
3266 2011-03-16  Daniel Sievers  <sievers@google.com>
3267
3268         Reviewed by James Robinson.
3269
3270         Add setting to always force compositing mode
3271         https://bugs.webkit.org/show_bug.cgi?id=56156
3272
3273         * public/WebSettings.h:
3274         * src/WebSettingsImpl.cpp:
3275         (WebKit::WebSettingsImpl::setForceCompositingMode):
3276         * src/WebSettingsImpl.h:
3277
3278 2011-03-16  Sreeram Ramachandran  <sreeram@google.com>
3279
3280         Reviewed by Dimitri Glazkov.
3281
3282         Revert of r80451. Decided to do this in WebCore instead.
3283         https://bugs.webkit.org/show_bug.cgi?id=55844
3284
3285         * public/WebFrame.h:
3286         * src/WebFrameImpl.cpp:
3287         * src/WebFrameImpl.h:
3288
3289 2011-03-15  Ilya Sherman  <isherman@chromium.org>
3290
3291         Reviewed by Darin Fisher.
3292
3293         Move isReadOnly() from WebInputElement to WebFormControlElement
3294         https://bugs.webkit.org/show_bug.cgi?id=55760
3295
3296         * public/WebFormControlElement.h:
3297         * public/WebInputElement.h:
3298         * src/WebFormControlElement.cpp:
3299         (WebKit::WebFormControlElement::isReadOnly):
3300         * src/WebInputElement.cpp:
3301
3302 2011-03-15  John Bauman  <jbauman@chromium.org>
3303
3304         Reviewed by Kenneth Russell.
3305
3306         Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D
3307         https://bugs.webkit.org/show_bug.cgi?id=56238
3308
3309         Add support for reading a webgl context into an ImageData.
3310
3311         * src/GraphicsContext3DChromium.cpp:
3312         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
3313         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
3314         * src/GraphicsContext3DInternal.h:
3315
3316 2011-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3317
3318         Unreviewed, rolling out r81144.
3319         http://trac.webkit.org/changeset/81144
3320         https://bugs.webkit.org/show_bug.cgi?id=56432
3321
3322         It broke the ui test
3323         NPAPITesterBase.GetURLRedirectNotification. (Requested by
3324         dave_levin on #webkit).
3325
3326         * public/WebURLLoader.h:
3327         * src/AssociatedURLLoader.cpp:
3328         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3329         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3330         (WebKit::AssociatedURLLoader::loadSynchronously):
3331         (WebKit::AssociatedURLLoader::loadAsynchronously):
3332         (WebKit::AssociatedURLLoader::cancel):
3333         (WebKit::AssociatedURLLoader::setDefersLoading):
3334         (WebKit::AssociatedURLLoader::prepareRequest):
3335         (WebKit::AssociatedURLLoader::willSendRequest):
3336         (WebKit::AssociatedURLLoader::didSendData):
3337         (WebKit::AssociatedURLLoader::didReceiveResponse):
3338         (WebKit::AssociatedURLLoader::didDownloadData):
3339         (WebKit::AssociatedURLLoader::didReceiveData):
3340         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3341         (WebKit::AssociatedURLLoader::didFinishLoading):
3342         (WebKit::AssociatedURLLoader::didFail):
3343         * src/AssociatedURLLoader.h:
3344
3345 2011-03-15  Tony Chang  <tony@chromium.org>
3346
3347         Reviewed by Adam Barth.
3348
3349         pngcrush images used by inspector
3350         https://bugs.webkit.org/show_bug.cgi?id=56426
3351
3352         This saves 120k in WebCore and 8k in WebKit/chromium.  I ran
3353         pngcrush -brute, so none of the meta data (ancillary chunks)
3354         are modified.
3355
3356         * src/js/Images/segmentChromium.png:
3357         * src/js/Images/segmentHoverChromium.png:
3358         * src/js/Images/segmentHoverEndChromium.png:
3359         * src/js/Images/segmentSelectedChromium.png:
3360         * src/js/Images/segmentSelectedEndChromium.png:
3361         * src/js/Images/statusbarBackgroundChromium.png:
3362         * src/js/Images/statusbarBottomBackgroundChromium.png:
3363         * src/js/Images/statusbarMenuButtonChromium.png:
3364         * src/js/Images/statusbarMenuButtonSelectedChromium.png:
3365
3366 2011-03-15  Michael Nordman  <michaeln@google.com>
3367
3368         Reviewed by Alexey Proskuryakov.
3369
3370         When initiating a main resource load, let the application cache
3371         know which frame the load is being conducted for. This patch doesn't
3372         resolve the following bug, but the additional WebFrame parameter
3373         should provide the chromium port with enough info to pick the
3374         "most appropiate" cached resource.
3375         https://bugs.webkit.org/show_bug.cgi?id=55505
3376
3377         Also fixup a stale comment in stopLoadingInFrame.
3378
3379         * public/WebApplicationCacheHost.h:
3380         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
3381         * src/ApplicationCacheHost.cpp:
3382         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
3383         (WebCore::ApplicationCacheHost::stopLoadingInFrame):
3384
3385 2011-03-15  Tony Chang  <tony@chromium.org>
3386
3387         Reviewed by Adam Barth.
3388
3389         [chromium] add a build target to create a grd file with devtool resources
3390         https://bugs.webkit.org/show_bug.cgi?id=56335
3391
3392         Reland with a fix to avoid really long command lines on Windows.
3393
3394         * WebKit.gyp:
3395         * scripts/generate_devtools_grd.py: Added.
3396
3397 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
3398
3399         Reviewed by James Robinson.
3400
3401         Valgrind error due to uninitialized PluginLayerChromium::m_textureId
3402         https://bugs.webkit.org/show_bug.cgi?id=56390
3403
3404         * src/WebPluginContainerImpl.cpp:
3405         (WebKit::WebPluginContainerImpl::setBackingTextureId):
3406         (WebKit::WebPluginContainerImpl::platformLayer):
3407
3408 2011-03-15  Brett Wilson  <brettw@chromium.org>
3409
3410         Reviewed by Adam Barth.
3411
3412         Make WebConsoleMessage properly respect the log level.
3413         https://bugs.webkit.org/show_bug.cgi?id=56386
3414
3415         * public/WebConsoleMessage.h:
3416         (WebKit::WebConsoleMessage::WebConsoleMessage):
3417
3418 2011-03-15  Tony Chang  <tony@chromium.org>
3419
3420         Revert r81147 and r81149, broke the chromium win build.
3421
3422         * WebKit.gyp:
3423         * scripts/generate_devtools_grd.py: Removed.
3424
3425 2011-03-15  Tony Chang  <tony@chromium.org>
3426
3427         Fix chromium build using python 2.5 (with statement).
3428
3429         * scripts/generate_devtools_grd.py:
3430
3431 2011-03-15  Tony Chang  <tony@chromium.org>
3432
3433         Reviewed by Adam Barth.
3434
3435         [chromium] add a build target to create a grd file with devtool resources
3436         https://bugs.webkit.org/show_bug.cgi?id=56335
3437
3438         This is the webkit side of the fix for
3439         http://code.google.com/p/chromium/issues/detail?id=35793
3440
3441         * WebKit.gyp:
3442         * scripts/generate_devtools_grd.py: Added.
3443
3444 2011-03-15  Bill Budge  <bbudge@chromium.org>
3445
3446         Reviewed by David Levin.
3447
3448         AssociatedURLLoader does not support Cross Origin Requests
3449         https://bugs.webkit.org/show_bug.cgi?id=53925
3450
3451         No new tests. No new functionality exposed.
3452
3453         * public/WebURLLoader.h:
3454         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
3455         * src/AssociatedURLLoader.cpp:
3456         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
3457         (WebKit::AssociatedURLLoader::ClientAdapter::create):
3458         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3459         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3460         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3461         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3462         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3463         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3464         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3465         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3466         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3467         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3468         (WebKit::AssociatedURLLoader::loadSynchronously):
3469         (WebKit::AssociatedURLLoader::loadAsynchronously):
3470         (WebKit::AssociatedURLLoader::cancel):
3471         (WebKit::AssociatedURLLoader::setDefersLoading):
3472         * src/AssociatedURLLoader.h:
3473
3474 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
3475
3476         Reviewed by James Robinson.
3477
3478         Remove unnecessary function WebPlugin::getBackingTextureId
3479         https://bugs.webkit.org/show_bug.cgi?id=56122
3480
3481         It will be tested by Pepper2D and Pepper3D layout/smoke tests
3482         on the Chromium side.
3483
3484         * public/WebPlugin.h:
3485         * src/WebPluginContainerImpl.cpp:
3486         (WebKit::WebPluginContainerImpl::platformLayer):
3487
3488 2011-03-15  Mikhail Naganov  <mnaganov@chromium.org>
3489
3490         Unreviewed. Update chromium deps to pick up the latest V8.
3491
3492         * DEPS:
3493
3494 2011-03-14  Alexey Marinichev  <amarinichev@chromium.org>
3495
3496         Reviewed by Kenneth Russell.
3497
3498         Graphics Context is not properly recovered if the GPU process dies.
3499         https://bugs.webkit.org/show_bug.cgi?id=56148
3500
3501         Split context recreation into two steps.
3502
3503         * src/WebViewImpl.cpp:
3504         (WebKit::WebViewImpl::composite):
3505         (WebKit::WebViewImpl::doComposite):
3506         (WebKit::WebViewImpl::reallocateRenderer):
3507         * src/WebViewImpl.h:
3508
3509 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3510
3511         Unreviewed, rolling out r81094.
3512         http://trac.webkit.org/changeset/81094
3513         https://bugs.webkit.org/show_bug.cgi?id=56355
3514
3515         Broke the chromium DRT related build. (Requested by dave_levin
3516         on #webkit).
3517
3518         * public/WebFrame.h:
3519         * src/WebFrameImpl.cpp:
3520         (WebKit::WebFrameImpl::renderTreeAsText):
3521         (WebKit::WebFrameImpl::layerTreeAsText):
3522         * src/WebFrameImpl.h:
3523
3524 2011-03-14  Daniel Sievers  <sievers@google.com>
3525
3526         Reviewed by Simon Fraser.
3527
3528         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
3529         https://bugs.webkit.org/show_bug.cgi?id=56139
3530
3531         * public/WebFrame.h:
3532         * src/WebFrameImpl.cpp:
3533         (WebKit::WebFrameImpl::renderTreeAsText):
3534         (WebKit::WebFrameImpl::layerTreeAsText):
3535         * src/WebFrameImpl.h:
3536
3537 2011-03-14  John Knottenbelt  <jknotten@chromium.org>
3538
3539         Reviewed by Steve Block.
3540
3541         Detach Geolocation from Frame when Page destroyed.
3542         https://bugs.webkit.org/show_bug.cgi?id=52877
3543
3544         Add accessors to the WebGeolocationClientMock to allow the number of
3545         pending geolocation permission requests to be queried.
3546
3547         * public/WebGeolocationClientMock.h:
3548         * src/WebGeolocationClientMock.cpp:
3549         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
3550
3551 2011-03-11  David Levin  <levin@chromium.org>
3552
3553         Rollout the chromium deps roll as it adds a dependency on a header
3554         that the bots building for WebKit don't seem to have.
3555
3556         Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h
3557
3558         * DEPS:
3559
3560 2011-03-11  Daniel Cheng  <dcheng@chromium.org>
3561
3562         Reviewed by Tony Chang.
3563
3564         [chromium] Correct return type of WebClipboard::readImage.
3565         https://bugs.webkit.org/show_bug.cgi?id=56234
3566
3567         Update the return type to reflect that we are returning a blob of PNG
3568         data, not a bitmap.
3569
3570         * public/WebClipboard.h:
3571         (WebKit::WebClipboard::readImage):
3572
3573 2011-03-11  David Levin  <levin@chromium.org>
3574
3575         Update chromium deps to pick up the skia roll.
3576
3577         * DEPS:
3578
3579 2011-03-11  Adrienne Walker  <enne@google.com>
3580
3581         Reviewed by Kenneth Russell.
3582
3583         Add missing unit tests to TilingData.
3584         https://bugs.webkit.org/show_bug.cgi?id=54143
3585
3586         * tests/TilingDataTest.cpp:
3587         (WebCore::TEST):
3588
3589 2011-03-11  Anton D'Auria  <adauria@apple.com>
3590
3591         Reviewed and landed by Brady Eidson.
3592
3593         Add WebKit1 API to view and delete local storage
3594         https://bugs.webkit.org/show_bug.cgi?id=51878
3595
3596         * src/StorageNamespaceProxy.cpp:
3597         (WebCore::StorageNamespaceProxy::clearOriginForDeletion):
3598         (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion):
3599         (WebCore::StorageNamespaceProxy::sync):
3600         * src/StorageNamespaceProxy.h:
3601
3602 2011-03-11  Dominic Mazzoni  <dmazzoni@google.com>
3603
3604         Reviewed by Dimitri Glazkov.
3605
3606         Add an accessibilityIsIgnored method to WebAccessibilityObject.
3607         https://bugs.webkit.org/show_bug.cgi?id=50969
3608
3609         * public/WebAccessibilityObject.h:
3610         * src/WebAccessibilityObject.cpp:
3611         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
3612
3613 2011-03-11  Avi Drissman  <avi@google.com>
3614
3615         Reviewed by Tony Chang.
3616
3617         Fix missing initialization of new member variables.
3618         https://bugs.webkit.org/show_bug.cgi?id=50969
3619
3620         * public/WebMenuItemInfo.h:
3621         (WebKit::WebMenuItemInfo::WebMenuItemInfo):
3622
3623 2011-03-11  Roland Steiner  <rolandsteiner@chromium.org>
3624
3625         Reviewed by Ryosuke Niwa.
3626
3627         Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/
3628         https://bugs.webkit.org/show_bug.cgi?id=55570
3629
3630         Add a virtual function toInputElement() to Node that has a default
3631         implementation of returning 0.
3632         For HTMLInputElement and WMLInputElement (which derive from InputElement)
3633         override this to return the object.
3634         Change all calling sites of the old toInputElement to use the new member
3635         function. This also allows us to save some casts.
3636
3637         No new tests (refactoring).
3638
3639         * src/WebInputElement.cpp:
3640         (WebKit::toWebInputElement):
3641
3642 2011-03-10  Takayoshi Kochi  <kochi@chromium.org>
3643
3644         Reviewed by Tony Chang.
3645
3646         Remove default parameter declaration for familiForChars(), which is no longer necessary.
3647
3648         * public/gtk/WebFontInfo.h:
3649
3650 2011-03-10  Nat Duca  <nduca@chromium.org>
3651
3652         Reviewed by James Robinson.
3653
3654         [chromium] Make updateAndDrawLayers argumentless.
3655         https://bugs.webkit.org/show_bug.cgi?id=55985
3656
3657         Made the TilePainters and viewport parameters for
3658         LayerRendererChromium member variables instead of arguments on
3659         updateAndDrawLayers. In a future change, this will allows us to
3660         draw the layer tree without the WebView's assistance.
3661
3662         * src/WebViewImpl.cpp:
3663         (WebKit::WebViewImpl::resize):
3664         (WebKit::WebViewImpl::paint):
3665         (WebKit::WebViewImpl::scrollRootLayerRect):
3666         (WebKit::WebViewImpl::invalidateRootLayerRect):
3667         (WebKit::WebViewImplContentPainter::create):
3668         (WebKit::WebViewImplContentPainter::paint):
3669         (WebKit::WebViewImplContentPainter::WebViewImplContentPainter):
3670         (WebKit::WebViewImplScrollbarPainter::create):
3671         (WebKit::WebViewImplScrollbarPainter::paint):
3672         (WebKit::WebViewImplScrollbarPainter::WebViewImplScrollbarPainter):
3673         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3674         (WebKit::WebViewImpl::doComposite):
3675         (WebKit::WebViewImpl::reallocateRenderer):
3676         (WebKit::WebViewImpl::updateLayerRendererViewport):
3677         * src/WebViewImpl.h:
3678
3679 2011-03-10  Tony Chang  <tony@chromium.org>
3680
3681         Unreviewed, roll chromium version to r77259 to pick up
3682         webfontinfo api change.
3683
3684         * DEPS:
3685
3686 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3687
3688         Unreviewed, rolling out r80701.
3689         http://trac.webkit.org/changeset/80701
3690         https://bugs.webkit.org/show_bug.cgi?id=56126
3691
3692         fast/dom/Geolocation/window-close-crash.html fails on Snow
3693         Leopard release builds (Requested by mihaip on #webkit).
3694
3695         * public/WebGeolocationClientMock.h:
3696         * src/WebGeolocationClientMock.cpp:
3697
3698 2011-03-10  Andrey Kosyakov  <caseq@chromium.org>
3699
3700         Reviewed by Yury Semikhatsky.
3701
3702         Web Inspector: better names for HAR export commands
3703         https://bugs.webkit.org/show_bug.cgi?id=56097
3704
3705         Rename Export to HAR to Copy entry/network log as HAR
3706         Expose Copy as HAR unconditionally, remove related settings entry.
3707
3708         * src/js/DevTools.js: removed override for resourceExportEnabled
3709
3710 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
3711
3712         Reviewed by Dmitry Titov.
3713
3714         Detach Geolocation from Frame when Page destroyed.
3715         https://bugs.webkit.org/show_bug.cgi?id=52877
3716
3717         Add accessors to the WebGeolocationClientMock to allow the number of
3718         pending geolocation permission requests to be queried.
3719
3720         * public/WebGeolocationClientMock.h:
3721         * src/WebGeolocationClientMock.cpp:
3722         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
3723
3724 2011-03-08  Hans Wennborg  <hans@chromium.org>
3725
3726         Reviewed by Jeremy Orlow.
3727
3728         IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
3729         https://bugs.webkit.org/show_bug.cgi?id=55948
3730
3731         Add a parameter that allows for selection of alternative backing store
3732         implementations.
3733
3734         * public/WebIDBFactory.h:
3735         (WebKit::WebIDBFactory::open):
3736         * src/AssertMatchingEnums.cpp:
3737         * src/IDBFactoryBackendProxy.cpp:
3738         (WebCore::IDBFactoryBackendProxy::open):
3739         * src/IDBFactoryBackendProxy.h:
3740         * src/WebIDBFactoryImpl.cpp:
3741         (WebKit::WebIDBFactoryImpl::open):
3742         * src/WebIDBFactoryImpl.h:
3743
3744 2011-03-08  Kinuko Yasuda  <kinuko@chromium.org>
3745
3746         Reviewed by David Levin.
3747
3748         Destroying WorkerFileSystemCallbacksBridge on main thread results in ASSERT in WorkerContext::Observer::~Observer
3749         https://bugs.webkit.org/show_bug.cgi?id=55895
3750
3751         * src/WorkerFileSystemCallbacksBridge.cpp:
3752         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread):
3753         Added stopObserving() so that releasing the bridge on the main thread
3754         (this could happen before or after the runTaskOnWorkerThread) does
3755         not cause the assertion error.
3756
3757 2011-03-08  Alok priyadarshi  <alokp@chromium.org>
3758
3759         Reviewed by Dimitri Glazkov.
3760
3761         Plugins needs a way to trigger style recalc
3762         https://bugs.webkit.org/show_bug.cgi?id=55242
3763
3764         It will be tested by Pepper2D and Pepper3D layout/smoke tests
3765         on the Chromium side.
3766         
3767         * public/WebPluginContainer.h:
3768         * src/WebPluginContainerImpl.cpp:
3769         (WebKit::WebPluginContainerImpl::setBackingTextureId):
3770         * src/WebPluginContainerImpl.h:
3771
3772 2011-03-08  Andrei Popescu  <andreip@google.com>
3773
3774         Reviewed by Steve Block.
3775
3776         IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed.
3777         https://bugs.webkit.org/show_bug.cgi?id=55938
3778
3779         * public/WebIDBCallbacks.h:
3780         * src/IDBCallbacksProxy.cpp:
3781         * src/IDBCallbacksProxy.h:
3782         * src/WebIDBCallbacksImpl.cpp:
3783         * src/WebIDBCallbacksImpl.h:
3784         * src/WebIDBObjectStoreImpl.cpp:
3785
3786 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
3787
3788         Reviewed by David Levin.
3789
3790         Add support for DataTransferItems
3791         https://bugs.webkit.org/show_bug.cgi?id=55115
3792
3793         Add new runtime enabled flag for data transfer items feature.
3794
3795         * public/WebRuntimeFeatures.h:
3796         * src/WebRuntimeFeatures.cpp:
3797         (WebKit::WebRuntimeFeatures::enableDataTransferItems):
3798         (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled):
3799
3800 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
3801
3802         Chromium build fix.
3803
3804         * src/ContextMenuClientImpl.cpp:
3805         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3806
3807 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
3808
3809         Reviewed by Darin Adler.
3810
3811         selectionHasStyle and selectionStartHasStyle should use EditingStyle
3812         https://bugs.webkit.org/show_bug.cgi?id=55902
3813
3814         selectionHasStyle now takes a property id and a value instead of a CSSMutableStyleDeclaration.
3815
3816         * src/ContextMenuClientImpl.cpp:
3817         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Calls selectionHasStyle.
3818
3819 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
3820
3821         Reviewed by Tony Chang.
3822
3823         Add plumbing for paste support to ChromiumDataObject::types()
3824         https://bugs.webkit.org/show_bug.cgi?id=55792
3825
3826         This requires a DEPS roll for a Chromium-side change to support DRT testing of
3827         event.dataTransfer.types.
3828
3829         * DEPS:
3830
3831 2011-03-07  Takayoshi Kochi  <kochi@chromium.org>
3832
3833         Reviewed by Tony Chang.
3834
3835         Use preferred locale information when choosing fallback font using
3836         fontconfig on Linux platform.
3837         https://bugs.webkit.org/show_bug.cgi?id=55453
3838
3839         Tests will be covered by Chromium side.
3840
3841         * public/gtk/WebFontInfo.h:
3842         (WebKit::WebFontInfo::familyForChars): added 3rd parameter |preferredLocale|
3843         * public/linux/WebSandboxSupport.h:
3844         (WebKit::WebSandboxSupport::getFontFamilyForCharacters): added 3rd parameter |preferredLocale|
3845         * src/PlatformBridge.cpp:
3846         * src/gtk/WebFontInfo.cpp:
3847
3848 2011-03-07  James Robinson  <jamesr@chromium.org>
3849
3850         Reviewed by Kenneth Russell.
3851
3852         [chromium] Separate the &quot;update&quot; and &quot;draw&quot; portions of LayerRendererChromium&apos;s drawLayers function
3853         https://bugs.webkit.org/show_bug.cgi?id=54047
3854
3855         Call updated LayerRendererChromium APIs.
3856
3857         * src/WebViewImpl.cpp:
3858         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3859         (WebKit::WebViewImpl::paint):
3860         (WebKit::WebViewImpl::doComposite):
3861
3862 2011-03-07  Sam Weinig  <sam@webkit.org>
3863
3864         Reviewed by Anders Carlsson.
3865
3866         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
3867         https://bugs.webkit.org/show_bug.cgi?id=55827
3868
3869         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
3870         and pass the entire response, instead of just the MIMEType.
3871
3872         * src/FrameLoaderClientImpl.cpp:
3873         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForResponse):
3874         * src/FrameLoaderClientImpl.h:
3875
3876 2011-03-07  Marcus Bulach  <bulach@chromium.org>
3877
3878         Reviewed by Dan Bernstein.
3879
3880         WebViewImpl::focusedWebCoreFrame() should be const.
3881         https://bugs.webkit.org/show_bug.cgi?id=55870
3882
3883         * src/WebViewImpl.cpp:
3884         (WebKit::WebViewImpl::focusedWebCoreFrame):
3885         * src/WebViewImpl.h:
3886
3887 2011-03-07  Eric Carlson  <eric.carlson@apple.com>
3888
3889         Reviewed by Darin Adler.
3890
3891         Add API to enumerate/delete files downloaded for <audio> and <video>
3892         https://bugs.webkit.org/show_bug.cgi?id=55267
3893
3894         * src/WebMediaPlayerClientImpl.cpp:
3895         (WebKit::WebMediaPlayerClientImpl::registerSelf): Update for MediaEngineRegistrar change.
3896
3897 2011-03-07  Andrei Popescu  <andreip@google.com>
3898
3899         Reviewed by Steve Block.
3900
3901         IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused.
3902         https://bugs.webkit.org/show_bug.cgi?id=55777
3903
3904         * src/IDBCallbacksProxy.cpp:
3905         * src/IDBCallbacksProxy.h:
3906         * src/WebIDBCallbacksImpl.cpp:
3907         * src/WebIDBCallbacksImpl.h:
3908
3909 2011-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3910
3911         Unreviewed, rolling out r80458.
3912         http://trac.webkit.org/changeset/80458
3913         https://bugs.webkit.org/show_bug.cgi?id=55863
3914
3915         caused tests to crash on several chromium bots (Requested by
3916         ukai on #webkit).
3917
3918         * src/AssociatedURLLoader.cpp:
3919         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3920         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3921         (WebKit::AssociatedURLLoader::loadSynchronously):
3922         (WebKit::AssociatedURLLoader::loadAsynchronously):
3923         (WebKit::AssociatedURLLoader::cancel):
3924         (WebKit::AssociatedURLLoader::setDefersLoading):
3925         (WebKit::AssociatedURLLoader::prepareRequest):
3926         (WebKit::AssociatedURLLoader::willSendRequest):
3927         (WebKit::AssociatedURLLoader::didSendData):
3928         (WebKit::AssociatedURLLoader::didReceiveResponse):
3929         (WebKit::AssociatedURLLoader::didDownloadData):
3930         (WebKit::AssociatedURLLoader::didReceiveData):
3931         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3932         (WebKit::AssociatedURLLoader::didFinishLoading):
3933         (WebKit::AssociatedURLLoader::didFail):
3934         * src/AssociatedURLLoader.h:
3935
3936 2011-03-07  Bill Budge  <bbudge@chromium.org>
3937
3938         Reviewed by David Levin.
3939
3940         AssociatedURLLoader does not support Cross Origin Requests
3941         https://bugs.webkit.org/show_bug.cgi?id=53925
3942
3943         No tests needed. Exposes no new functionality.
3944
3945         * src/AssociatedURLLoader.cpp:
3946         (WebKit::AssociatedURLLoader::ClientAdapter::create):
3947         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3948         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3949         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3950         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3951         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3952         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3953         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3954         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3955         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3956         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3957         (WebKit::AssociatedURLLoader::loadSynchronously):
3958         (WebKit::AssociatedURLLoader::loadAsynchronously):
3959         (WebKit::AssociatedURLLoader::cancel):
3960         (WebKit::AssociatedURLLoader::setDefersLoading):
3961         * src/AssociatedURLLoader.h:
3962         (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
3963
3964 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
3965
3966         Reviewed by Dimitri Glazkov.
3967
3968         Expose page dismissal event status through the WebKit API for chromium.
3969         https://bugs.webkit.org/show_bug.cgi?id=55844
3970
3971         Chromium will find it useful to know the page dismissal status (i.e.,
3972         whether a frame is in the midst of executing a beforeunload or unload
3973         handler), so expose that information through the chromium port in the
3974         WebKit API.
3975      
3976         This is my second attempt at this patch. The previous one broke
3977         downstream Chromium builds of some unit tests which had classes derived
3978         from WebFrame (and thus became uninstantiable because of this new pure
3979         virtual method). Those have now been fixed (http://crrev.com/77101).
3980
3981         * public/WebFrame.h:
3982         * src/WebFrameImpl.cpp:
3983         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
3984         * src/WebFrameImpl.h:
3985
3986 2011-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
3987
3988         Unreviewed, rolling out r80436.
3989         http://trac.webkit.org/changeset/80436
3990         https://bugs.webkit.org/show_bug.cgi?id=55849
3991
3992         Broke Chromium compile across the board (Requested by dglazkov
3993         on #webkit).
3994
3995         * public/WebFrame.h:
3996         * src/WebFrameImpl.cpp:
3997         * src/WebFrameImpl.h:
3998
3999 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
4000
4001         Reviewed by Dimitri Glazkov.
4002
4003         Expose page dismissal event status through the WebKit API for chromium
4004         https://bugs.webkit.org/show_bug.cgi?id=55844
4005
4006         * public/WebFrame.h:
4007         * src/WebFrameImpl.cpp:
4008         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
4009         * src/WebFrameImpl.h:
4010
4011 2011-03-05  Daniel Cheng  <dcheng@chromium.org>
4012
4013         Reviewed by Dmitry Titov.
4014
4015         [chromium] Add method to WebClipboard to read images from the clipboard.
4016         https://bugs.webkit.org/show_bug.cgi?id=55814
4017
4018         * public/WebClipboard.h:
4019         (WebKit::WebClipboard::readImage):
4020
4021 2011-03-04  Adam Barth  <abarth@webkit.org>
4022
4023         Reviewed by Dimitri Glazkov.
4024
4025         Remove unneeded round-trips through ../Source in the Chromium GYP build
4026         https://bugs.webkit.org/show_bug.cgi?id=55795
4027
4028         * WebKit.gyp:
4029
4030 2011-03-03  John Abd-El-Malek  <jam@chromium.org>
4031
4032         Reviewed by Dimitri Glazkov.
4033
4034         [chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
4035         https://bugs.webkit.org/show_bug.cgi?id=55748
4036
4037         * DEPS:
4038         * public/WebURLResponse.h:
4039         * src/WebURLResponse.cpp:
4040
4041 2011-03-04  James Su <suzhe@chromium.org>
4042
4043         Reviewed by Dimitri Glazkov.
4044
4045         [Chromium] keycode is always 0 when using non-Latin keyboard layout.
4046         https://bugs.webkit.org/show_bug.cgi?id=54939
4047
4048         No intended functionality change.
4049
4050         * src/mac/WebInputEventFactory.mm:
4051         (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
4052         provided in WebCore/platform/mac/KeyEventMac.mm.
4053
4054 2011-03-04  Zelidrag Hornung  <zelidrag@chromium.org>
4055
4056         Reviewed by David Levin
4057
4058         Expose ability to create instance of DOMFileSystem from Chromium side.
4059         https://bugs.webkit.org/show_bug.cgi?id=55618
4060
4061         * public/WebFrame.h:
4062         * src/WebFrameImpl.cpp:
4063         (WebKit::WebFrameImpl::createFileSystem):
4064         * src/WebFrameImpl.h:
4065
4066 2011-03-03  Nat Duca  <nduca@chromium.org>
4067
4068         Reviewed by James Robinson.
4069
4070         [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
4071         LayerRendererChromium that draws compositor FPS and, optionally,
4072         the layer tree.
4073         https://bugs.webkit.org/show_bug.cgi?id=54710
4074
4075         * public/WebSettings.h:
4076         * src/WebSettingsImpl.cpp:
4077         (WebKit::WebSettingsImpl::WebSettingsImpl):
4078         (WebKit::WebSettingsImpl::setShowFPSCounter):
4079         (WebKit::WebSettingsImpl::setShowPlatformLayerTree):
4080         * src/WebSettingsImpl.h:
4081         (WebKit::WebSettingsImpl::showFPSCounter):
4082         (WebKit::WebSettingsImpl::showPlatformLayerTree):
4083         * src/WebViewImpl.cpp:
4084         (WebKit::WebViewImpl::doComposite):
4085
4086 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
4087
4088         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
4089         via ChromeClient.h
4090
4091         * src/ChromeClientImpl.h:
4092
4093 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
4094
4095         Reviewed by Darin Adler.
4096
4097         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
4098         https://bugs.webkit.org/show_bug.cgi?id=55633
4099         <rdar://problem/8963023>
4100
4101         * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::keyboardUIMode):
4102         * src/ChromeClientImpl.h:
4103         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
4104         this platform doesn't observe or have full keyboard access state.
4105
4106 2011-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
4107
4108         Unreviewed, rolling out r80219.
4109         http://trac.webkit.org/changeset/80219
4110         https://bugs.webkit.org/show_bug.cgi?id=55680
4111
4112         "Causes several media test crashes" (Requested by tonyg-cr on
4113         #webkit).
4114
4115         * src/AssociatedURLLoader.cpp:
4116         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
4117         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
4118         (WebKit::AssociatedURLLoader::loadSynchronously):
4119         (WebKit::AssociatedURLLoader::loadAsynchronously):
4120         (WebKit::AssociatedURLLoader::cancel):
4121         (WebKit::AssociatedURLLoader::setDefersLoading):
4122         (WebKit::AssociatedURLLoader::prepareRequest):
4123         (WebKit::AssociatedURLLoader::willSendRequest):
4124         (WebKit::AssociatedURLLoader::didSendData):
4125         (WebKit::AssociatedURLLoader::didReceiveResponse):
4126         (WebKit::AssociatedURLLoader::didDownloadData):
4127         (WebKit::AssociatedURLLoader::didReceiveData):
4128         (WebKit::AssociatedURLLoader::didReceiveCached