https://bugs.webkit.org/show_bug.cgi?id=70120
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-10-14  Dmitry Lomov  <dslomov@google.com>
2
3         https://bugs.webkit.org/show_bug.cgi?id=70120
4         [Chromium] Pass MessagePortArray to SerializedScriptValue::serialize/deserialize.
5         This patch augments SerializedScriptValue with MessagePortArray* parameter to implement MessagePort 
6         transfer within the message in the future.
7
8         Reviewed by David Levin.
9
10         * src/WebSerializedScriptValue.cpp:
11         (WebKit::WebSerializedScriptValue::serialize):
12
13 2011-10-14  Sheriff Bot  <webkit.review.bot@gmail.com>
14
15         Unreviewed.  Rolled DEPS.
16
17         * DEPS:
18
19 2011-10-14  Daniel Cheng  <dcheng@chromium.org>
20
21         Context-aware HTML paste for Chromium
22         https://bugs.webkit.org/show_bug.cgi?id=62112
23
24         Reviewed by Ryosuke Niwa.
25
26         Add WebKit side for plumbing to receive context for HTML paste.
27
28         * public/WebClipboard.h:
29         (WebKit::WebClipboard::readHTML):
30         * src/PlatformSupport.cpp:
31         (WebCore::PlatformSupport::clipboardReadHTML):
32
33 2011-10-14  Peter Beverloo  <peter@chromium.org>
34
35         [Chromium] Inherit settings from Chromium's envsetup.sh, address a NDK todo
36         https://bugs.webkit.org/show_bug.cgi?id=70028
37
38         Reviewed by Adam Barth.
39
40         * WebKit.gyp:
41         * gyp_webkit:
42
43 2011-10-14  Ryosuke Niwa  <rniwa@webkit.org>
44
45         Chromium Mac build fix after r97478.
46
47         * src/mac/WebSubstringUtil.mm:
48         (WebKit::WebSubstringUtil::attributedSubstringInRange):
49
50 2011-10-12  Ryosuke Niwa  <rniwa@webkit.org>
51
52         Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
53         https://bugs.webkit.org/show_bug.cgi?id=69964
54
55         Reviewed by Enrica Casucci.
56
57         * src/WebFrameImpl.cpp:
58         (WebKit::WebFrameImpl::firstRectForCharacterRange):
59         (WebKit::WebFrameImpl::characterIndexForPoint):
60         * src/WebViewImpl.cpp:
61         (WebKit::WebViewImpl::compositionRange):
62         (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
63         (WebKit::WebViewImpl::caretOrSelectionRange):
64         * src/mac/WebSubstringUtil.mm:
65         (WebKit::WebSubstringUtil::attributedSubstringInRange):
66
67 2011-10-13  Arko Saha  <arko@motorola.com>
68
69         Microdata: Basic implementation of document.getItems() method.
70         https://bugs.webkit.org/show_bug.cgi?id=68610
71
72         Reviewed by Ryosuke Niwa.
73
74         Added ENABLE(MICRODATA) feature flag. Implement document.getItems() DOM API.
75         Spec : http://www.whatwg.org/specs/web-apps/current-work/complete/microdata.html
76
77         * features.gypi:
78
79 2011-10-12  Hans Wennborg  <hans@chromium.org>
80
81         IndexedDB: Remove SQLite backing store
82         https://bugs.webkit.org/show_bug.cgi?id=69620
83
84         Reviewed by Darin Fisher.
85
86         Remove the SQLite backing store implementation; it is not used anymore.
87         Also remove the maximumSize parameter, it is not used either.
88
89         * public/WebIDBFactory.h:
90         (WebKit::WebIDBFactory::getDatabaseNames):
91         (WebKit::WebIDBFactory::open):
92         * src/AssertMatchingEnums.cpp:
93         * src/IDBFactoryBackendProxy.cpp:
94         (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
95         (WebKit::IDBFactoryBackendProxy::open):
96         * src/IDBFactoryBackendProxy.h:
97         * src/WebIDBFactoryImpl.cpp:
98         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
99         (WebKit::WebIDBFactoryImpl::open):
100         * src/WebIDBFactoryImpl.h:
101
102 2011-10-14  Justin Schuh  <jschuh@chromium.org>
103
104         Clear WebMediaPlayerClientImpl back pointer on destruction
105         https://bugs.webkit.org/show_bug.cgi?id=69973
106
107         Reviewed by James Robinson.
108
109         Clear the backpointer and remove the unused m_currentFrame
110
111         * src/WebMediaPlayerClientImpl.cpp:
112         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
113         (WebKit::WebMediaPlayerClientImpl::load):
114         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
115         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
116         * src/WebMediaPlayerClientImpl.h:
117
118 2011-10-14  Polina Sokolova  <polina@chromium.org>
119
120         Make it possible for plugins to get current fullscreen element.
121         WebCore::Document already has webkitCurrentFullScreenElement().
122         Add a wrapper for it in WebKit::WebDocument.
123         https://bugs.webkit.org/show_bug.cgi?id=70076
124
125         Reviewed by Darin Fisher.
126
127         * public/WebDocument.h:
128         * src/WebDocument.cpp:
129         (WebKit::WebDocument::securityOrigin):
130         (WebKit::WebDocument::isHTMLDocument):
131         (WebKit::WebDocument::isPluginDocument):
132         (WebKit::WebDocument::fullScreenElement):
133
134 2011-10-13  Antoine Labour  <piman@chromium.org>
135
136         Expose layer debug borders to WebLayer
137         https://bugs.webkit.org/show_bug.cgi?id=70079
138
139         Reviewed by Darin Fisher.
140
141         * public/WebLayer.h:
142         * src/WebLayer.cpp:
143         (WebKit::WebLayer::setDebugBorderColor):
144         (WebKit::WebLayer::setDebugBorderWidth):
145
146 2011-10-13  Julien Chaffraix  <jchaffraix@webkit.org>
147
148         Remove layerX / layerY from the Chromium API
149         https://bugs.webkit.org/show_bug.cgi?id=70052
150
151         Reviewed by Darin Fisher.
152
153         * public/WebDOMMouseEvent.h:
154         * src/WebDOMMouseEvent.cpp:
155         Just remove the 2 properties without considering the ABI stability.
156
157 2011-10-13  Nico Weber  <thakis@chromium.org>
158
159         [chromium] Automatically pull clang on `update-webkit --chromium` on mac
160         https://bugs.webkit.org/show_bug.cgi?id=70058
161
162         Reviewed by Adam Barth.
163
164         * DEPS:
165
166 2011-10-13  John Knottenbelt  <jknotten@chromium.org>
167
168         [Chromium] Allow building without speech input enabled.
169         https://bugs.webkit.org/show_bug.cgi?id=69867
170
171         Reviewed by Darin Fisher.
172
173         * src/AssertMatchingEnums.cpp:
174         * src/WebSpeechInputControllerMockImpl.cpp:
175         (WebKit::WebSpeechInputControllerMock::create):
176         * src/WebSpeechInputControllerMockImpl.h:
177         * src/WebSpeechInputResult.cpp:
178
179 2011-10-13  Peng Huang  <shawn.p.huang@gmail.com>
180
181         [chromium] Add a selectionBounds() method to WebWidget.
182         https://bugs.webkit.org/show_bug.cgi?id=69028
183
184         Reviewed by Darin Fisher.
185
186         * public/WebWidget.h:
187         (WebKit::WebWidget::selectionBounds):
188         * src/WebViewImpl.cpp:
189         (WebKit::WebViewImpl::selectionRange):
190         (WebKit::WebViewImpl::selectionBounds):
191         * src/WebViewImpl.h:
192
193 2011-10-13  Kent Tamura  <tkent@chromium.org>
194
195         Cleanup of HTMLSelectElement
196         https://bugs.webkit.org/show_bug.cgi?id=69908
197
198         Reviewed by Darin Adler.
199
200         Change the HTMLSelectElement::listItems() return type:
201           Vector<Element*> -> Vector<HTMLElement*>
202
203         * src/WebSearchableFormData.cpp:
204         (HTMLNames::IsSelectInDefaultState):
205         * src/WebSelectElement.cpp:
206         (WebKit::WebSelectElement::listItems):
207
208 2011-10-12  Joseph Pecoraro  <joepeck@webkit.org>
209
210         Pass Parsed Accept Attribute MIME Types to WebKit Clients
211         https://bugs.webkit.org/show_bug.cgi?id=69598
212
213         Reviewed by Kent Tamura.
214
215         Chromium uses the deprecated accept string. Switching to
216         the new approach will require coordination with their port.
217
218         * src/ChromeClientImpl.cpp:
219         (WebKit::ChromeClientImpl::runOpenPanel):
220
221 2011-10-12  Antoine Labour  <piman@chromium.org>
222
223         Fix CCThreadTest.startPostAndWaitOnCondition
224         https://bugs.webkit.org/show_bug.cgi?id=69967
225
226         Reviewed by Darin Fisher.
227
228         * tests/CCThreadTest.cpp:
229         (WebKit::TEST):
230
231 2011-10-12  Sheriff Bot  <webkit.review.bot@gmail.com>
232
233         Unreviewed.  Rolled DEPS.
234
235         * DEPS:
236
237 2011-10-12  Nico Weber  <thakis@chromium.org>
238
239         [chromium] Add a setSelectionToRange() method to WebFrame.
240         https://bugs.webkit.org/show_bug.cgi?id=69846
241
242         Also add a method to WebRange to create a range given a frame and an
243         interval.
244
245         This will be used to implement the "replacement range" feature of OS X
246         IMEs, see http://codereview.chromium.org/8227018 (the change to
247         render_widget.cc).
248         The renderer will set the selection to the replacement range before
249         calling confirmComposition(). This matches how WK2 does this, see
250         Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm,
251         WebPage::setComposition(). The function convertToRange() was taken
252         from there, too.
253
254         Reviewed by Darin Fisher.
255
256         * public/WebFrame.h:
257         (WebKit::WebFrame::setSelectionToRange):
258         * src/WebFrameImpl.cpp:
259         (WebKit::WebViewImpl::setSelectionToRange):
260         * src/WebFrameImpl.h:
261         (WebKit::WebViewImpl::setSelectionToRange):
262         * src/WebRange.cpp:
263         (WebRange::fromGlobalRange):
264         * src/WebRange.h:
265         (WebRange::fromGlobalRange):
266
267 2011-10-12  Sergey Glazunov  <serg.glazunov@gmail.com>
268
269         ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
270         https://bugs.webkit.org/show_bug.cgi?id=69777
271
272         Reviewed by Adam Barth.
273
274         * src/WebFrameImpl.cpp:
275         (WebKit::WebFrameImpl::loadJavaScriptURL):
276
277 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
278
279         [Chromium] Web Inspector: testPauseWhenLoadingDevTools is broken
280         https://bugs.webkit.org/show_bug.cgi?id=69934
281
282         Reviewed by Pavel Feldman.
283
284         * src/js/Tests.js:
285
286 2011-10-12  Cary Clark  <caryclark@google.com>
287
288         [Chromium] Prevent fallback fonts from purging while measuring
289         https://bugs.webkit.org/show_bug.cgi?id=69855
290
291         Reviewed by Eric Seidel.
292
293         When Chrome computes the page width, an international page
294         may bring in a fallback font. FontCache::getCachedFontData
295         expects the font cache to be locked, so the measure path
296         needs to include an instance of FontCachePurgePreventer.
297
298         Adding FontCachePurgePreventer suppresses a debug-time assert
299         when running PageCycler over international tests.
300
301         * src/WebFrameImpl.cpp:
302         (WebKit::WebFrameImpl::contentsPreferredWidth):
303
304 2011-10-12  Pavel Podivilov  <podivilov@chromium.org>
305
306         Unreviewed, CCThreadTest.startPostAndWaitOnCondition is flaky on linux.
307
308         * tests/CCThreadTest.cpp:
309         (WebKit::TEST):
310
311 2011-10-12  Sheriff Bot  <webkit.review.bot@gmail.com>
312
313         Unreviewed.  Rolled DEPS.
314
315         * DEPS:
316
317 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
318
319         [Chromium] Web Inspector:  add test for pause in shared worker initialization
320         https://bugs.webkit.org/show_bug.cgi?id=69915
321
322         Add WebKit part of interactive ui test for pause in worker initialization.
323
324         Reviewed by Pavel Feldman.
325
326         * src/js/Tests.js:
327         (.TestSuite.prototype.testPauseInSharedWorkerInitialization):
328
329 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
330
331         [Chromium] Web Inspector: repair interactive tests for debugger pause
332         https://bugs.webkit.org/show_bug.cgi?id=69912
333
334         Listen to DebuggerModel event instead of overriding private methods on it.
335
336         Reviewed by Pavel Feldman.
337
338         * src/js/Tests.js:
339         (.TestSuite.prototype._waitForScriptPause):
340
341 2011-10-11  Steve VanDeBogart  <vandebo@chromium.org>
342
343         [chromium] Add accessor for plugin request to not scale print output.
344         https://bugs.webkit.org/show_bug.cgi?id=68853
345
346         Reviewed by Darin Fisher.
347
348         * public/WebFrame.h:
349         * public/WebPlugin.h:
350         (WebKit::WebPlugin::isPrintScalingDisabled):
351         * src/WebFrameImpl.cpp:
352         (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
353         * src/WebFrameImpl.h:
354         * src/WebPluginContainerImpl.cpp:
355         (WebKit::WebPluginContainerImpl::isPrintScalingDisabled):
356         * src/WebPluginContainerImpl.h:
357
358 2011-10-11  Antoine Labour  <piman@chromium.org>
359
360         Separate compositor client thread from webkit's main thread.
361         https://bugs.webkit.org/show_bug.cgi?id=69048
362
363         Reviewed by Darin Fisher.
364
365         * WebKit.gyp:
366         * public/WebKitPlatformSupport.h:
367         (WebKit::WebKitPlatformSupport::currentThread):
368         * src/CCMainThreadImpl.cpp: Added.
369         (WTF::TaskWrapper::TaskWrapper):
370         (WTF::TaskWrapper::~TaskWrapper):
371         (WTF::TaskWrapper::run):
372         (WebCore::CCMainThread::initialize):
373         (WebCore::CCMainThread::postTask):
374
375 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
376
377         Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
378         https://bugs.webkit.org/show_bug.cgi?id=68134
379
380         Reviewed by Darin Adler.
381
382         Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
383         
384         Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
385         that reads the setting, and returns the mock theme if set. All callers now use
386         theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
387
388         * src/WebScrollbarImpl.cpp:
389         (WebKit::WebScrollbar::defaultThickness):
390
391 2011-10-11  Sheriff Bot  <webkit.review.bot@gmail.com>
392
393         Unreviewed, rolling out r97202, r97207, and r97215.
394         http://trac.webkit.org/changeset/97202
395         http://trac.webkit.org/changeset/97207
396         http://trac.webkit.org/changeset/97215
397         https://bugs.webkit.org/show_bug.cgi?id=69894
398
399         Broke builds (Requested by rniwa on #webkit).
400
401         * src/AutofillPopupMenuClient.cpp:
402         * src/AutofillPopupMenuClient.h:
403         * src/WebViewImpl.cpp:
404         (WebKit::WebViewImpl::applyAutofillSuggestions):
405         * tests/PopupMenuTest.cpp:
406
407 2011-10-11  Ryosuke Niwa  <rniwa@webkit.org>
408
409         Second attempt to fix Chromium Windows build after r97202.
410
411         * tests/PopupMenuTest.cpp:
412         (WebKit::TestPopupMenuClient::boundingBoxRect):
413         (WebKit::TestPopupMenuClient::setFocusedNode):
414
415 2011-10-11  Ryosuke Niwa  <rniwa@webkit.org>
416
417         Chromium build fix attempt after r97202.
418
419         * tests/PopupMenuTest.cpp:
420         (WebKit::SelectPopupMenuTest::boundingBoxRect):
421
422 2011-10-11  Fady Samuel  <fsamuel@chromium.org>
423
424         Towards making PopupMenuClient more testable
425         https://bugs.webkit.org/show_bug.cgi?id=69631
426
427         Reviewed by Simon Fraser.
428
429         * src/AutofillPopupMenuClient.cpp:
430         (WebKit::AutofillPopupMenuClient::boundingBoxRect):
431         * src/AutofillPopupMenuClient.h:
432         * src/WebViewImpl.cpp:
433         (WebKit::WebViewImpl::applyAutofillSuggestions):
434
435 2011-10-11  Dominic Mazzoni  <dmazzoni@google.com>
436
437         WebAccessibilityObject needs titleUIElement
438         https://bugs.webkit.org/show_bug.cgi?id=69869
439
440         Reviewed by Dimitri Glazkov.
441
442         * public/WebAccessibilityObject.h:
443         * src/WebAccessibilityObject.cpp:
444         (WebKit::WebAccessibilityObject::titleUIElement):
445
446 2011-10-10  Adam Klein  <adamk@chromium.org>
447
448         [MutationObservers] Add stub implementation of WebKitMutationObserver
449         https://bugs.webkit.org/show_bug.cgi?id=68949
450
451         Reviewed by Ryosuke Niwa, Oliver Hunt, and Dimitri Glazkov.
452
453         * features.gypi: Added 'enable_mutation_observers' variable.
454
455 2011-10-11  Mike Reed  <reed@google.com>
456
457         re-add support for GDI text behind a compile flag
458         https://bugs.webkit.org/show_bug.cgi?id=69530
459
460         Reviewed by James Robinson.
461
462         * features.gypi:
463
464 2011-10-11  Pavel Podivilov  <podivilov@chromium.org>
465
466         Unreviewed, roll chromium revision to pick HTML speech input images update.
467
468         * DEPS:
469
470 2011-10-11  Antoine Labour  <piman@chromium.org>
471
472         Expose WebLayer::isNull
473         https://bugs.webkit.org/show_bug.cgi?id=69813
474
475         Reviewed by Darin Fisher.
476
477         * public/WebLayer.h:
478         (WebKit::WebLayer::isNull):
479
480 2011-10-10  Sheriff Bot  <webkit.review.bot@gmail.com>
481
482         Unreviewed, rolling out r97087.
483         http://trac.webkit.org/changeset/97087
484         https://bugs.webkit.org/show_bug.cgi?id=69805
485
486         failing assert on debug builds (Requested by simonjam on
487         #webkit).
488
489         * src/WebFrameImpl.cpp:
490         (WebKit::WebFrameImpl::loadJavaScriptURL):
491
492 2011-10-10  Nico Weber  <thakis@chromium.org>
493
494         [chromium] Pull tools/clang from upstream.
495         https://bugs.webkit.org/show_bug.cgi?id=69797
496
497         Reviewed by Adam Barth.
498
499         * DEPS:
500
501 2011-10-10  Sergey Glazunov  <serg.glazunov@gmail.com>
502
503         ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
504         https://bugs.webkit.org/show_bug.cgi?id=69777
505
506         Reviewed by Adam Barth.
507
508         * src/WebFrameImpl.cpp:
509         (WebKit::WebFrameImpl::loadJavaScriptURL):
510
511 2011-10-10  Dominic Mazzoni  <dmazzoni@google.com>
512
513         [Chromium] Get rid of WebAccessibilityCache.
514         https://bugs.webkit.org/show_bug.cgi?id=68224
515
516         Reviewed by Dimitri Glazkov.
517
518         * WebKit.gyp:
519         * public/WebAccessibilityCache.h: Removed.
520         * src/WebAccessibilityCache.cpp: Removed.
521         * src/WebAccessibilityCacheImpl.cpp: Removed.
522         * src/WebAccessibilityCacheImpl.h: Removed.
523
524 2011-10-10  Pavel Podivilov  <podivilov@chromium.org>
525
526         Unreviewed, mark CCThreadTest.startPostAndWaitOnCondition as flaky on win and mac.
527
528         * tests/CCThreadTest.cpp:
529         (WebKit::TEST):
530
531 2011-10-07  Yury Semikhatsky  <yurys@chromium.org>
532
533         Web Inspector: allow to start WorkerContext paused
534         https://bugs.webkit.org/show_bug.cgi?id=69635
535
536         Expose methods for pausing shared worker on start.
537
538         Reviewed by Pavel Feldman.
539
540         * public/WebSharedWorker.h:
541         (WebKit::WebSharedWorker::pauseWorkerContextOnStart): specifies that the worker
542         context should be paused and weit for explicit call to resumeWorkerContext before
543         running its script.
544         (WebKit::WebSharedWorker::resumeWorkerContext):
545         * src/WebSharedWorkerImpl.cpp:
546         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
547         (WebKit::WebSharedWorkerImpl::startWorkerContext):
548         (WebKit::WebSharedWorkerImpl::pauseWorkerContextOnStart):
549         (WebKit::resumeWorkerContextTask):
550         (WebKit::WebSharedWorkerImpl::resumeWorkerContext):
551         (WebKit::WebSharedWorkerImpl::attachDevTools):
552         (WebKit::reconnectToWorkerContextInspectorTask):
553         (WebKit::WebSharedWorkerImpl::reattachDevTools):
554         (WebKit::WebSharedWorkerImpl::detachDevTools):
555         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
556         * src/WebSharedWorkerImpl.h:
557         * src/WebWorkerClientImpl.cpp:
558         (WebKit::WebWorkerClientImpl::startWorkerContext):
559         (WebKit::WebWorkerClientImpl::updateInspectorStateCookie):
560         * src/WebWorkerClientImpl.h:
561         * src/WebWorkerImpl.cpp:
562         (WebKit::WebWorkerImpl::startWorkerContext):
563         (WebKit::WebWorkerImpl::detachDevTools):
564         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
565
566 2011-10-09  W. James MacLean  <wjmaclean@chromium.org>
567
568         [chromium] Zoom animator front-end
569         https://bugs.webkit.org/show_bug.cgi?id=68035
570
571         Modifications to get zoom texture-scale parameters from ScaleAnimator directly
572         instead of via Settings.
573
574         Reviewed by Kenneth Russell.
575
576         * src/WebViewImpl.cpp:
577         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
578
579 2011-10-07  Antoine Labour  <piman@chromium.org>
580
581         Webkit API for compositor
582         https://bugs.webkit.org/show_bug.cgi?id=69107
583
584         Reviewed by Darin Fisher.
585
586         * WebKit.gyp:
587         * public/WebContentLayer.h: Added.
588         (WebKit::WebContentLayer::WebContentLayer):
589         (WebKit::WebContentLayer::~WebContentLayer):
590         (WebKit::WebContentLayer::operator=):
591         * public/WebContentLayerClient.h: Added.
592         (WebKit::WebContentLayerClient::~WebContentLayerClient):
593         * public/WebLayer.h: Added.
594         (WebKit::WebLayer::WebLayer):
595         (WebKit::WebLayer::operator=):
596         (WebKit::WebLayer::to):
597         (WebKit::WebLayer::toConst):
598         (WebKit::WebLayer::unwrap):
599         (WebKit::WebLayer::constUnwrap):
600         (WebKit::operator==):
601         (WebKit::operator!=):
602         * public/WebLayerClient.h: Added.
603         (WebKit::WebLayerClient::~WebLayerClient):
604         * public/WebLayerTreeView.h: Added.
605         (WebKit::WebLayerTreeView::Settings::Settings):
606         (WebKit::WebLayerTreeView::WebLayerTreeView):
607         (WebKit::WebLayerTreeView::~WebLayerTreeView):
608         (WebKit::WebLayerTreeView::operator=):
609         (WebKit::operator==):
610         (WebKit::operator!=):
611         * public/WebLayerTreeViewClient.h: Added.
612         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
613         * src/WebContentLayer.cpp: Added.
614         (WebKit::WebContentLayer::create):
615         (WebKit::WebContentLayer::setDrawsContent):
616         (WebKit::WebContentLayer::drawsContent):
617         (WebKit::WebContentLayer::setNeedsDisplay):
618         (WebKit::WebContentLayer::dirtyRect):
619         (WebKit::WebContentLayer::WebContentLayer):
620         (WebKit::WebContentLayer::operator=):
621         (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
622         * src/WebContentLayerImpl.cpp: Added.
623         (WebKit::WebContentLayerImpl::create):
624         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
625         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
626         (WebKit::WebContentLayerImpl::setDrawsContent):
627         (WebKit::WebContentLayerImpl::drawsContent):
628         (WebKit::WebContentLayerImpl::paintContents):
629         (WebKit::WebContentLayerImpl::notifySyncRequired):
630         * src/WebContentLayerImpl.h: Added.
631         * src/WebLayer.cpp: Added.
632         (WebKit::WebLayer::create):
633         (WebKit::WebLayer::~WebLayer):
634         (WebKit::WebLayer::reset):
635         (WebKit::WebLayer::assign):
636         (WebKit::WebLayer::equals):
637         (WebKit::WebLayer::rootLayer):
638         (WebKit::WebLayer::parent):
639         (WebKit::WebLayer::addChild):
640         (WebKit::WebLayer::insertChild):
641         (WebKit::WebLayer::replaceChild):
642         (WebKit::WebLayer::removeFromParent):
643         (WebKit::WebLayer::removeAllChildren):
644         (WebKit::WebLayer::setAnchorPoint):
645         (WebKit::WebLayer::anchorPoint):
646         (WebKit::WebLayer::setAnchorPointZ):
647         (WebKit::WebLayer::anchorPointZ):
648         (WebKit::WebLayer::setBounds):
649         (WebKit::WebLayer::bounds):
650         (WebKit::WebLayer::setMasksToBounds):
651         (WebKit::WebLayer::masksToBounds):
652         (WebKit::WebLayer::setMaskLayer):
653         (WebKit::WebLayer::maskLayer):
654         (WebKit::WebLayer::setOpacity):
655         (WebKit::WebLayer::opacity):
656         (WebKit::WebLayer::setOpaque):
657         (WebKit::WebLayer::opaque):
658         (WebKit::WebLayer::setPosition):
659         (WebKit::WebLayer::position):
660         (WebKit::WebLayer::setSublayerTransform):
661         (WebKit::WebLayer::sublayerTransform):
662         (WebKit::WebLayer::setTransform):
663         (WebKit::WebLayer::transform):
664         (WebKit::WebLayer::WebLayer):
665         (WebKit::WebLayer::operator=):
666         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
667         * src/WebLayerImpl.cpp: Added.
668         (WebKit::WebLayerImpl::create):
669         (WebKit::WebLayerImpl::WebLayerImpl):
670         (WebKit::WebLayerImpl::~WebLayerImpl):
671         (WebKit::WebLayerImpl::drawsContent):
672         (WebKit::WebLayerImpl::paintContents):
673         (WebKit::WebLayerImpl::notifySyncRequired):
674         * src/WebLayerImpl.h: Added.
675         * src/WebLayerTreeView.cpp: Added.
676         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
677         (WebKit::WebLayerTreeView::create):
678         (WebKit::WebLayerTreeView::reset):
679         (WebKit::WebLayerTreeView::assign):
680         (WebKit::WebLayerTreeView::equals):
681         (WebKit::WebLayerTreeView::composite):
682         (WebKit::WebLayerTreeView::setViewportSize):
683         (WebKit::WebLayerTreeView::viewportSize):
684         (WebKit::WebLayerTreeView::WebLayerTreeView):
685         (WebKit::WebLayerTreeView::operator=):
686         (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
687         * src/WebLayerTreeViewImpl.cpp: Added.
688         (WebKit::WebLayerTreeViewImpl::create):
689         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
690         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
691         (WebKit::WebLayerTreeViewImpl::animateAndLayout):
692         (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
693         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
694         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
695         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
696         * src/WebLayerTreeViewImpl.h: Added.
697
698 2011-10-07  Shawn Singh  <shawnsingh@chromium.org>
699
700         First round of unit tests for CCLayerTreeHostCommon.
701         https://bugs.webkit.org/show_bug.cgi?id=69197
702
703         Reviewed by James Robinson.
704
705         This round of tests focuses on verifying the computation of matrix transforms
706         in calculateDrawTransformsAndVisibility.
707
708         * WebKit.gypi:
709         * tests/CCLayerTreeHostCommonTest.cpp: Added.
710         (WebCore::setLayerPropertiesForTesting):
711         (WebCore::executeCalculateDrawTransformsAndVisibility):
712         (WebCore::remove3DComponentOfMatrix):
713         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
714         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
715         (WebCore::TEST):
716
717 2011-10-07  Tony Chang  <tony@chromium.org>
718
719         Fix chromium compile when using the components build.  This test
720         helper file is using methods not available when compiling as a dll.
721
722         * WebKit.gyp:
723
724 2011-10-07  Adam Barth  <abarth@webkit.org>
725
726         Remove setShouldPaintCustomScrollbars, which has no callers
727         https://bugs.webkit.org/show_bug.cgi?id=69300
728
729         Reviewed by Darin Adler.
730
731         Anders tells me this function no longer has any callers.  We should
732         remove it before it grows any!
733
734         * public/WebSettings.h:
735         * src/WebSettingsImpl.cpp:
736         * src/WebSettingsImpl.h:
737
738 2011-10-07  Sheriff Bot  <webkit.review.bot@gmail.com>
739
740         Unreviewed, rolling out r96879.
741         http://trac.webkit.org/changeset/96879
742         https://bugs.webkit.org/show_bug.cgi?id=69618
743
744         Broke CCLayerTreeHostTestShortlived1 on chromium mac.
745         (Requested by podivilov on #webkit).
746
747         * features.gypi:
748         * src/WebViewImpl.h:
749         * tests/CCLayerTreeHostTest.cpp:
750         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
751         (WTF::CCLayerTreeHostTest::onEndTest):
752
753 2011-10-07  Sheriff Bot  <webkit.review.bot@gmail.com>
754
755         Unreviewed, rolling out r96909.
756         http://trac.webkit.org/changeset/96909
757         https://bugs.webkit.org/show_bug.cgi?id=69616
758
759         Broke chromium mac compilation (Requested by podivilov on
760         #webkit).
761
762         * WebKit.gyp:
763         * public/WebContentLayer.h: Removed.
764         * public/WebContentLayerClient.h: Removed.
765         * public/WebLayer.h: Removed.
766         * public/WebLayerClient.h: Removed.
767         * public/WebLayerTreeView.h: Removed.
768         * public/WebLayerTreeViewClient.h: Removed.
769         * src/WebContentLayer.cpp: Removed.
770         * src/WebContentLayerImpl.cpp: Removed.
771         * src/WebContentLayerImpl.h: Removed.
772         * src/WebLayer.cpp: Removed.
773         * src/WebLayerImpl.cpp: Removed.
774         * src/WebLayerImpl.h: Removed.
775         * src/WebLayerTreeView.cpp: Removed.
776         * src/WebLayerTreeViewImpl.cpp: Removed.
777         * src/WebLayerTreeViewImpl.h: Removed.
778
779 2011-10-07  Pavel Podivilov  <podivilov@chromium.org>
780
781         Unreviewed, revert r96924.
782
783         * public/WebContentLayer.h:
784
785 2011-10-07  Pavel Podivilov  <podivilov@chromium.org>
786
787         Unreviewed, fix mac build after r96909.
788
789         * public/WebContentLayer.h:
790
791 2011-10-07  Anna Cavender  <annacc@chromium.org>
792
793         Turn ENABLE_VIDEO_TRACK on for chromium.
794         https://bugs.webkit.org/show_bug.cgi?id=69460
795
796         Reviewed by David Levin.
797
798         * features.gypi:
799
800 2011-10-07  Pavel Feldman  <pfeldman@google.com>
801
802         Not reviewed: also add glass pane to the frame document's body.
803
804         * src/js/DevTools.js:
805
806 2011-10-07  Pavel Feldman  <pfeldman@google.com>
807
808         Web Inspector: glass pane does not disappear after network panel's grid column resize.
809         https://bugs.webkit.org/show_bug.cgi?id=69607
810
811         Reviewed by Yury Semikhatsky.
812
813         * src/js/DevTools.js:
814
815 2011-10-07  Nate Chapin  <japhet@chromium.org>
816
817         Always call setActive() in WebViewImpl::setFocus(),
818         not just when enabling focus.
819         https://bugs.webkit.org/show_bug.cgi?id=65220
820
821         Reviewed by Darin Fisher.
822
823         * WebKit.gyp:
824         * WebKit.gypi:
825         * src/WebViewImpl.cpp:
826         (WebKit::WebViewImpl::setFocus):
827         * tests/FrameTestHelpers.cpp: Added, refactored out of WebFrameTest.cpp.
828         (WebKit::FrameTestHelpers::registerMockedURLLoad):
829         (WebKit::FrameTestHelpers::loadFrame):
830         (WebKit::FrameTestHelpers::defaultWebFrameClient):
831         (WebKit::FrameTestHelpers::defaultWebViewClient):
832         (WebKit::FrameTestHelpers::createWebViewAndLoad):
833         * tests/FrameTestHelpers.h: Added, refactored out of WebFrameTest.cpp.
834         * tests/WebFrameTest.cpp:
835         * tests/WebViewTest.cpp: Added.
836
837 2011-10-06  Bill Budge  <bbudge@chromium.org>
838
839         Adds a field, "saveAs", to WebFileChooserParams to present the file chooser
840         dialog in "Save As" mode (allows the user to choose a possibly non-existent file
841         for saving).
842         https://bugs.webkit.org/show_bug.cgi?id=69301
843
844         Reviewed by Darin Fisher.
845
846         * public/WebFileChooserParams.h:
847         (WebKit::WebFileChooserParams::WebFileChooserParams):
848
849 2011-10-06  Antoine Labour  <piman@chromium.org>
850
851         Webkit API for compositor
852         https://bugs.webkit.org/show_bug.cgi?id=69107
853
854         Reviewed by Darin Fisher.
855
856         * WebKit.gyp:
857         * public/WebContentLayer.h: Added.
858         (WebKit::WebContentLayer::WebContentLayer):
859         (WebKit::WebContentLayer::~WebContentLayer):
860         (WebKit::WebContentLayer::operator=):
861         * public/WebContentLayerClient.h: Added.
862         (WebKit::WebContentLayerClient::~WebContentLayerClient):
863         * public/WebLayer.h: Added.
864         (WebKit::WebLayer::WebLayer):
865         (WebKit::WebLayer::operator=):
866         (WebKit::WebLayer::to):
867         (WebKit::WebLayer::toConst):
868         (WebKit::WebLayer::unwrap):
869         (WebKit::WebLayer::constUnwrap):
870         (WebKit::operator==):
871         (WebKit::operator!=):
872         * public/WebLayerClient.h: Added.
873         (WebKit::WebLayerClient::~WebLayerClient):
874         * public/WebLayerTreeView.h: Added.
875         (WebKit::WebLayerTreeView::Settings::Settings):
876         (WebKit::WebLayerTreeView::WebLayerTreeView):
877         (WebKit::WebLayerTreeView::~WebLayerTreeView):
878         (WebKit::WebLayerTreeView::operator=):
879         (WebKit::operator==):
880         (WebKit::operator!=):
881         * public/WebLayerTreeViewClient.h: Added.
882         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
883         * src/WebContentLayer.cpp: Added.
884         (WebKit::WebContentLayer::create):
885         (WebKit::WebContentLayer::setDrawsContent):
886         (WebKit::WebContentLayer::drawsContent):
887         (WebKit::WebContentLayer::setNeedsDisplay):
888         (WebKit::WebContentLayer::dirtyRect):
889         (WebKit::WebContentLayer::WebContentLayer):
890         (WebKit::WebContentLayer::operator=):
891         (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
892         * src/WebContentLayerImpl.cpp: Added.
893         (WebKit::WebContentLayerImpl::create):
894         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
895         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
896         (WebKit::WebContentLayerImpl::setDrawsContent):
897         (WebKit::WebContentLayerImpl::drawsContent):
898         (WebKit::WebContentLayerImpl::paintContents):
899         (WebKit::WebContentLayerImpl::notifySyncRequired):
900         * src/WebContentLayerImpl.h: Added.
901         * src/WebLayer.cpp: Added.
902         (WebKit::WebLayer::create):
903         (WebKit::WebLayer::~WebLayer):
904         (WebKit::WebLayer::reset):
905         (WebKit::WebLayer::assign):
906         (WebKit::WebLayer::equals):
907         (WebKit::WebLayer::rootLayer):
908         (WebKit::WebLayer::parent):
909         (WebKit::WebLayer::addChild):
910         (WebKit::WebLayer::insertChild):
911         (WebKit::WebLayer::replaceChild):
912         (WebKit::WebLayer::removeFromParent):
913         (WebKit::WebLayer::removeAllChildren):
914         (WebKit::WebLayer::setAnchorPoint):
915         (WebKit::WebLayer::anchorPoint):
916         (WebKit::WebLayer::setAnchorPointZ):
917         (WebKit::WebLayer::anchorPointZ):
918         (WebKit::WebLayer::setBounds):
919         (WebKit::WebLayer::bounds):
920         (WebKit::WebLayer::setMasksToBounds):
921         (WebKit::WebLayer::masksToBounds):
922         (WebKit::WebLayer::setMaskLayer):
923         (WebKit::WebLayer::maskLayer):
924         (WebKit::WebLayer::setOpacity):
925         (WebKit::WebLayer::opacity):
926         (WebKit::WebLayer::setOpaque):
927         (WebKit::WebLayer::opaque):
928         (WebKit::WebLayer::setPosition):
929         (WebKit::WebLayer::position):
930         (WebKit::WebLayer::setSublayerTransform):
931         (WebKit::WebLayer::sublayerTransform):
932         (WebKit::WebLayer::setTransform):
933         (WebKit::WebLayer::transform):
934         (WebKit::WebLayer::WebLayer):
935         (WebKit::WebLayer::operator=):
936         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
937         * src/WebLayerImpl.cpp: Added.
938         (WebKit::WebLayerImpl::create):
939         (WebKit::WebLayerImpl::WebLayerImpl):
940         (WebKit::WebLayerImpl::~WebLayerImpl):
941         (WebKit::WebLayerImpl::drawsContent):
942         (WebKit::WebLayerImpl::paintContents):
943         (WebKit::WebLayerImpl::notifySyncRequired):
944         * src/WebLayerImpl.h: Added.
945         * src/WebLayerTreeView.cpp: Added.
946         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
947         (WebKit::WebLayerTreeView::create):
948         (WebKit::WebLayerTreeView::reset):
949         (WebKit::WebLayerTreeView::assign):
950         (WebKit::WebLayerTreeView::equals):
951         (WebKit::WebLayerTreeView::composite):
952         (WebKit::WebLayerTreeView::setViewportSize):
953         (WebKit::WebLayerTreeView::viewportSize):
954         (WebKit::WebLayerTreeView::WebLayerTreeView):
955         (WebKit::WebLayerTreeView::operator=):
956         (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
957         * src/WebLayerTreeViewImpl.cpp: Added.
958         (WebKit::WebLayerTreeViewImpl::create):
959         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
960         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
961         (WebKit::WebLayerTreeViewImpl::animateAndLayout):
962         (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
963         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
964         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
965         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
966         * src/WebLayerTreeViewImpl.h: Added.
967
968 2011-10-06  Kent Tamura  <tkent@chromium.org>
969
970         [Chromium] Build fix for r96907.
971
972         * tests/PopupMenuTest.cpp:
973         (WebKit::TestPopupMenuClient::valueChanged):
974         Use HTMLSelectElement instead of SelectElement.
975
976 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
977
978         Unreviewed, rolling out r96896.
979         http://trac.webkit.org/changeset/96896
980         https://bugs.webkit.org/show_bug.cgi?id=69601
981
982         broke windows and mac chromium builds (Requested by simonjam
983         on #webkit).
984
985         * WebKit.gyp:
986         * public/WebContentLayer.h: Removed.
987         * public/WebContentLayerClient.h: Removed.
988         * public/WebLayer.h: Removed.
989         * public/WebLayerClient.h: Removed.
990         * public/WebLayerTreeView.h: Removed.
991         * public/WebLayerTreeViewClient.h: Removed.
992         * src/WebContentLayer.cpp: Removed.
993         * src/WebContentLayerImpl.cpp: Removed.
994         * src/WebContentLayerImpl.h: Removed.
995         * src/WebLayer.cpp: Removed.
996         * src/WebLayerImpl.cpp: Removed.
997         * src/WebLayerImpl.h: Removed.
998         * src/WebLayerTreeView.cpp: Removed.
999         * src/WebLayerTreeViewImpl.cpp: Removed.
1000         * src/WebLayerTreeViewImpl.h: Removed.
1001
1002 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1003
1004         Unreviewed.  Rolled DEPS.
1005
1006         * DEPS:
1007
1008 2011-10-06  Antoine Labour  <piman@chromium.org>
1009
1010         Webkit API for compositor
1011         https://bugs.webkit.org/show_bug.cgi?id=69107
1012
1013         Reviewed by Darin Fisher.
1014
1015         * WebKit.gyp:
1016         * public/WebContentLayer.h: Added.
1017         (WebKit::WebContentLayer::WebContentLayer):
1018         (WebKit::WebContentLayer::~WebContentLayer):
1019         (WebKit::WebContentLayer::operator=):
1020         * public/WebContentLayerClient.h: Added.
1021         (WebKit::WebContentLayerClient::~WebContentLayerClient):
1022         * public/WebLayer.h: Added.
1023         (WebKit::WebLayer::WebLayer):
1024         (WebKit::WebLayer::operator=):
1025         (WebKit::WebLayer::to):
1026         (WebKit::WebLayer::toConst):
1027         (WebKit::WebLayer::unwrap):
1028         (WebKit::WebLayer::constUnwrap):
1029         (WebKit::operator==):
1030         (WebKit::operator!=):
1031         * public/WebLayerClient.h: Added.
1032         (WebKit::WebLayerClient::~WebLayerClient):
1033         * public/WebLayerTreeView.h: Added.
1034         (WebKit::WebLayerTreeView::Settings::Settings):
1035         (WebKit::WebLayerTreeView::WebLayerTreeView):
1036         (WebKit::WebLayerTreeView::~WebLayerTreeView):
1037         (WebKit::WebLayerTreeView::operator=):
1038         (WebKit::operator==):
1039         (WebKit::operator!=):
1040         * public/WebLayerTreeViewClient.h: Added.
1041         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
1042         * src/WebContentLayer.cpp: Added.
1043         (WebKit::WebContentLayer::create):
1044         (WebKit::WebContentLayer::setDrawsContent):
1045         (WebKit::WebContentLayer::drawsContent):
1046         (WebKit::WebContentLayer::setNeedsDisplay):
1047         (WebKit::WebContentLayer::dirtyRect):
1048         (WebKit::WebContentLayer::WebContentLayer):
1049         (WebKit::WebContentLayer::operator=):
1050         (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
1051         * src/WebContentLayerImpl.cpp: Added.
1052         (WebKit::WebContentLayerImpl::create):
1053         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1054         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
1055         (WebKit::WebContentLayerImpl::setDrawsContent):
1056         (WebKit::WebContentLayerImpl::drawsContent):
1057         (WebKit::WebContentLayerImpl::paintContents):
1058         (WebKit::WebContentLayerImpl::notifySyncRequired):
1059         * src/WebContentLayerImpl.h: Added.
1060         * src/WebLayer.cpp: Added.
1061         (WebKit::WebLayer::create):
1062         (WebKit::WebLayer::~WebLayer):
1063         (WebKit::WebLayer::reset):
1064         (WebKit::WebLayer::assign):
1065         (WebKit::WebLayer::equals):
1066         (WebKit::WebLayer::rootLayer):
1067         (WebKit::WebLayer::parent):
1068         (WebKit::WebLayer::addChild):
1069         (WebKit::WebLayer::insertChild):
1070         (WebKit::WebLayer::replaceChild):
1071         (WebKit::WebLayer::removeFromParent):
1072         (WebKit::WebLayer::removeAllChildren):
1073         (WebKit::WebLayer::setAnchorPoint):
1074         (WebKit::WebLayer::anchorPoint):
1075         (WebKit::WebLayer::setAnchorPointZ):
1076         (WebKit::WebLayer::anchorPointZ):
1077         (WebKit::WebLayer::setBounds):
1078         (WebKit::WebLayer::bounds):
1079         (WebKit::WebLayer::setMasksToBounds):
1080         (WebKit::WebLayer::masksToBounds):
1081         (WebKit::WebLayer::setMaskLayer):
1082         (WebKit::WebLayer::maskLayer):
1083         (WebKit::WebLayer::setOpacity):
1084         (WebKit::WebLayer::opacity):
1085         (WebKit::WebLayer::setOpaque):
1086         (WebKit::WebLayer::opaque):
1087         (WebKit::WebLayer::setPosition):
1088         (WebKit::WebLayer::position):
1089         (WebKit::WebLayer::setSublayerTransform):
1090         (WebKit::WebLayer::sublayerTransform):
1091         (WebKit::WebLayer::setTransform):
1092         (WebKit::WebLayer::transform):
1093         (WebKit::WebLayer::WebLayer):
1094         (WebKit::WebLayer::operator=):
1095         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
1096         * src/WebLayerImpl.cpp: Added.
1097         (WebKit::WebLayerImpl::create):
1098         (WebKit::WebLayerImpl::WebLayerImpl):
1099         (WebKit::WebLayerImpl::~WebLayerImpl):
1100         (WebKit::WebLayerImpl::drawsContent):
1101         (WebKit::WebLayerImpl::paintContents):
1102         (WebKit::WebLayerImpl::notifySyncRequired):
1103         * src/WebLayerImpl.h: Added.
1104         * src/WebLayerTreeView.cpp: Added.
1105         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1106         (WebKit::WebLayerTreeView::create):
1107         (WebKit::WebLayerTreeView::reset):
1108         (WebKit::WebLayerTreeView::assign):
1109         (WebKit::WebLayerTreeView::equals):
1110         (WebKit::WebLayerTreeView::composite):
1111         (WebKit::WebLayerTreeView::setViewportSize):
1112         (WebKit::WebLayerTreeView::viewportSize):
1113         (WebKit::WebLayerTreeView::WebLayerTreeView):
1114         (WebKit::WebLayerTreeView::operator=):
1115         (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
1116         * src/WebLayerTreeViewImpl.cpp: Added.
1117         (WebKit::WebLayerTreeViewImpl::create):
1118         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1119         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
1120         (WebKit::WebLayerTreeViewImpl::animateAndLayout):
1121         (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
1122         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1123         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
1124         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
1125         * src/WebLayerTreeViewImpl.h: Added.
1126
1127 2011-10-06  James Robinson  <jamesr@chromium.org>
1128
1129         [chromium] Remove USE(THREADED_COMPOSITING) from the tree
1130         https://bugs.webkit.org/show_bug.cgi?id=69489
1131
1132         Reviewed by Darin Fisher.
1133
1134         Updated CCLayerTreeHostTest::onEndTest() to pump all pending messages
1135         after posting the Quit task and before tearing down any test
1136         infrastructure.
1137
1138         * features.gypi:
1139         * src/WebViewImpl.h:
1140         * tests/CCLayerTreeHostTest.cpp:
1141         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1142
1143 2011-10-06  James Robinson  <jamesr@chromium.org>
1144
1145         [chromium] Remove obsolete WebWidgetClient::didActivateAcceleratedCompositing call
1146         https://bugs.webkit.org/show_bug.cgi?id=69576
1147
1148         Reviewed by Darin Fisher.
1149
1150         The chromium implementation of this function went away at r104017.
1151
1152         * public/WebWidgetClient.h:
1153         * src/WebViewImpl.cpp:
1154         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1155
1156 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1157
1158         Unreviewed, rolling out r96861.
1159         http://trac.webkit.org/changeset/96861
1160         https://bugs.webkit.org/show_bug.cgi?id=69573
1161
1162         This patch didn't compile on windows (Requested by annacc on
1163         #webkit).
1164
1165         * features.gypi:
1166
1167 2011-10-06  Anna Cavender  <annacc@chromium.org>
1168
1169         Turn ENABLE_VIDEO_TRACK on for chromium.
1170         https://bugs.webkit.org/show_bug.cgi?id=69460
1171
1172         Reviewed by David Levin.
1173
1174         * features.gypi:
1175
1176 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1177
1178         Unreviewed, rolling out r96791.
1179         http://trac.webkit.org/changeset/96791
1180         https://bugs.webkit.org/show_bug.cgi?id=69528
1181
1182         webkit_unit_tests broken on Mac and Win (Requested by
1183         hwennborg on #webkit).
1184
1185         * features.gypi:
1186         * src/WebViewImpl.h:
1187         * tests/CCLayerTreeHostTest.cpp:
1188         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1189
1190 2011-10-06  Hans Wennborg  <hans@chromium.org>
1191
1192         [Chromium] WebKit.gyp fix to unbreak Linux(shared) build after r96791
1193
1194         Unreviewed gardening.
1195
1196         * WebKit.gyp:
1197
1198 2011-10-03  Hans Wennborg  <hans@chromium.org>
1199
1200         IndexedDB: Remove SQLite-LevelDB migration code
1201         https://bugs.webkit.org/show_bug.cgi?id=69264
1202
1203         Reviewed by Tony Chang.
1204
1205         Remove setOverrideBackingStoreType. It was used in the layout test
1206         for migration.
1207
1208         * public/WebIDBFactory.h:
1209         * src/WebIDBFactoryImpl.cpp:
1210         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
1211         (WebKit::WebIDBFactoryImpl::open):
1212
1213 2011-10-06  James Robinson  <jamesr@chromium.org>
1214
1215         [chromium] Remove USE(THREADED_COMPOSITING) from the tree
1216         https://bugs.webkit.org/show_bug.cgi?id=69489
1217
1218         Reviewed by Darin Fisher.
1219
1220         * features.gypi:
1221         * src/WebViewImpl.h:
1222         * tests/CCLayerTreeHostTest.cpp:
1223         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1224
1225 2011-10-05  Alexei Svitkine  <asvitkine@chromium.org>
1226
1227         Make destructor of WebURLLoaderClient virtual.
1228         https://bugs.webkit.org/show_bug.cgi?id=69457
1229
1230         Reviewed by Darin Fisher.
1231
1232         * public/WebURLLoaderClient.h:
1233         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
1234
1235 2011-10-05  Vangelis Kokkevis  <vangelis@chromium.org>
1236
1237         Switching threaded compositor from a compile time option to a
1238         run time one.
1239         https://bugs.webkit.org/show_bug.cgi?id=69391
1240
1241         Reviewed by Darin Fisher.
1242
1243         * public/WebSettings.h:
1244         * src/WebSettingsImpl.cpp:
1245         (WebKit::WebSettingsImpl::WebSettingsImpl):
1246         (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
1247         (WebKit::WebSettingsImpl::setUseThreadedCompositor):
1248         * src/WebSettingsImpl.h:
1249         (WebKit::WebSettingsImpl::useThreadedCompositor):
1250         * src/WebViewImpl.cpp:
1251         (WebKit::WebViewImpl::animate):
1252         (WebKit::WebViewImpl::composite):
1253         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1254         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1255         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1256         (WebKit::WebViewImpl::scheduleComposite):
1257         (WebKit::WebViewImpl::graphicsContext3D):
1258
1259 2011-10-05  Jer Noble  <jer.noble@apple.com>
1260
1261         WEB_AUDIO does not compile on Leopard 32-bit.
1262         https://bugs.webkit.org/show_bug.cgi?id=69292
1263
1264         Reviewed by Simon Fraser.
1265
1266         Platform-independent portions of WEB_AUDIO have changed from double -> float, and 
1267         platform-specific subclasses must change as well.
1268
1269         * src/AudioDestinationChromium.cpp:
1270         (WebCore::AudioDestination::create):
1271         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
1272         (WebCore::AudioDestination::hardwareSampleRate):
1273         * src/AudioDestinationChromium.h:
1274         (WebCore::AudioDestinationChromium::sampleRate):
1275
1276 2011-10-05  James Robinson  <jamesr@chromium.org>
1277
1278         [chromium] Hook WebCompositor interface for input events up to the compositor proper
1279         https://bugs.webkit.org/show_bug.cgi?id=69394
1280
1281         Reviewed by Darin Fisher.
1282
1283         This teaches WebCompositorImpl about WebCore::CCInputHandler, which WebCompositorImpl implements, and
1284         CCScrollController, which WebCompositorImpl will use in the future to do actual scrolling. One thing that is a
1285         bit unusual here is WebCore::CCInputHandler::create() which is defined in WebCompositorImpl.cpp.  This is
1286         because we need a WebKit object (WebKit::WebCompositorImpl) to be owned by a WebCore object (WebCore::CCThreadProxy).
1287         The WebCore side only needs to know about the interface, CCInputHandler, but the actual implementation has to
1288         live in WebKit in order to know about the concrete type.
1289
1290         * src/WebCompositorImpl.cpp:
1291         (WebCore::CCInputHandler::create):
1292         (WebKit::WebCompositor::fromIdentifier):
1293         (WebKit::WebCompositorImpl::fromIdentifier):
1294         (WebKit::WebCompositorImpl::WebCompositorImpl):
1295         (WebKit::WebCompositorImpl::~WebCompositorImpl):
1296         (WebKit::WebCompositorImpl::setClient):
1297         (WebKit::WebCompositorImpl::handleInputEvent):
1298         (WebKit::WebCompositorImpl::identifier):
1299         * src/WebCompositorImpl.h:
1300         (WebKit::WebCompositorImpl::create):
1301         * src/WebViewImpl.cpp:
1302         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1303         * src/WebViewImpl.h:
1304         * tests/WebCompositorImplTest.cpp:
1305
1306 2011-10-05  Anna Cavender  <annacc@chromium.org>
1307
1308         Functions to make <track> enabled at runtime.
1309         https://bugs.webkit.org/show_bug.cgi?id=69352
1310
1311         Reviewed by Adam Barth.
1312
1313         * public/WebRuntimeFeatures.h:
1314         * src/WebRuntimeFeatures.cpp:
1315         (WebKit::WebRuntimeFeatures::enableVideoTrack):
1316         (WebKit::WebRuntimeFeatures::isVideoTrackEnabled):
1317
1318 2011-10-05  Yury Semikhatsky  <yurys@chromium.org>
1319
1320         Web Inspector: provide a way for persisting worker inspector state
1321         https://bugs.webkit.org/show_bug.cgi?id=69422
1322
1323         Provided an API for saving/restoring worker inspector state.
1324
1325         Reviewed by Pavel Feldman.
1326
1327         * public/WebCommonWorkerClient.h:
1328         (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
1329         * public/WebSharedWorker.h:
1330         (WebKit::WebSharedWorker::reattachDevTools):
1331         * src/WebSharedWorkerImpl.cpp:
1332         (WebKit::reconnectToWorkerContextInspectorTask):
1333         (WebKit::WebSharedWorkerImpl::reattachDevTools):
1334         * src/WebSharedWorkerImpl.h:
1335         * src/WebWorkerBase.cpp:
1336         (WebKit::WebWorkerBase::updateInspectorStateCookie):
1337         (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
1338         * src/WebWorkerBase.h:
1339         * src/WebWorkerClientImpl.cpp:
1340         (WebKit::WebWorkerClientImpl::updateInspectorStateCookie):
1341         * src/WebWorkerClientImpl.h:
1342
1343 2011-10-04  Yury Semikhatsky  <yurys@chromium.org>
1344
1345         [Chromium] Web Inspector: save inspector state into single string instead of string map
1346         https://bugs.webkit.org/show_bug.cgi?id=69335
1347
1348         Now that Chromium side is updated, remove unused methods from the DevToolsAgent API.
1349
1350         Reviewed by Pavel Feldman.
1351
1352         * public/WebDevToolsAgent.h:
1353         * public/WebDevToolsAgentClient.h:
1354         * src/WebDevToolsAgentImpl.cpp:
1355         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
1356         * src/WebDevToolsAgentImpl.h:
1357
1358 2011-10-04  Kent Tamura  <tkent@chromium.org>
1359
1360         Introduce feature flags for incomplete input types
1361         https://bugs.webkit.org/show_bug.cgi?id=68971
1362
1363         Reviewed by Hajime Morita.
1364
1365         * features.gypi: Add disabled ENABLE_INPUT_TYPE_* flags.
1366
1367 2011-10-04  Scott Graham  <scottmg@chromium.org>
1368
1369         Add GAMEPAD feature flag
1370         https://bugs.webkit.org/show_bug.cgi?id=66859
1371
1372         Reviewed by Darin Fisher.
1373
1374         * features.gypi:
1375
1376 2011-10-04  Fady Samuel  <fsamuel@chromium.org>
1377
1378         [Chromium] Moved files towards GTK removal
1379         https://bugs.webkit.org/show_bug.cgi?id=69229
1380
1381         Reviewed by Tony Chang.
1382
1383         * WebKit.gyp:
1384         * src/WebViewImpl.cpp:
1385         (WebKit::WebViewImpl::setScrollbarColors):
1386         * src/linux/WebFontInfo.cpp: Renamed from Source/WebKit/chromium/src/gtk/WebFontInfo.cpp.
1387         (WebKit::WebFontInfo::familyForChars):
1388         (WebKit::WebFontInfo::renderStyleForStrike):
1389
1390 2011-10-04  James Robinson  <jamesr@chromium.org>
1391
1392         [chromium] Extract scheduling logic from CCThreadProxy to its own class
1393         https://bugs.webkit.org/show_bug.cgi?id=69049
1394
1395         Reviewed by Kenneth Russell.
1396
1397         Adds some unit tests for the new CCScheduler class. Since the class is very simple today, the tests are
1398         similarly quite simple.
1399
1400         * WebKit.gypi:
1401         * src/WebViewImpl.cpp:
1402         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1403         * tests/CCLayerTreeHostTest.cpp:
1404         (WTF::CCLayerTreeHostTest::postSetNeedsCommitThenRedrawToMainThread):
1405         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommitThenRedraw):
1406         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
1407         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
1408         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
1409         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
1410         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
1411         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
1412         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
1413         * tests/CCSchedulerTest.cpp: Added.
1414
1415 2011-10-04  Scott Graham  <scottmg@chromium.org>
1416
1417         occasional crash in Chromium in dispatching keyEvent
1418         https://bugs.webkit.org/show_bug.cgi?id=67941
1419
1420         Reviewed by Tony Chang.
1421
1422         Guard Frame while handling keyEvent, as it can lose last reference due
1423         to actions of handler.
1424
1425         * src/WebViewImpl.cpp:
1426         (WebKit::WebViewImpl::keyEvent):
1427
1428 2011-10-04  Anders Carlsson  <andersca@apple.com>
1429
1430         Remove PlatformWheelEvent::m_isAccepted
1431         https://bugs.webkit.org/show_bug.cgi?id=69357
1432
1433         Reviewed by Darin Adler.
1434
1435         * src/WebInputEventConversion.cpp:
1436         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1437         m_isAccepted has been removed.
1438
1439         * src/WebScrollbarImpl.cpp:
1440         (WebKit::WebScrollbarImpl::onMouseWheel):
1441         Just return the value of handleWheelEvent.
1442
1443 2011-10-04  Yury Semikhatsky  <yurys@chromium.org>
1444
1445         [Chromium] Web Inspector: save inspector state into single string instead of string map
1446         https://bugs.webkit.org/show_bug.cgi?id=69335
1447
1448         Added explicit methods for saving and restoring agent runtime state.
1449
1450         Reviewed by Pavel Feldman.
1451
1452         * public/WebDevToolsAgent.h:
1453         * public/WebDevToolsAgentClient.h:
1454         (WebKit::WebDevToolsAgentClient::saveAgentRuntimeState):
1455         * src/WebDevToolsAgentImpl.cpp:
1456         (WebKit::WebDevToolsAgentImpl::reattach):
1457         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
1458         * src/WebDevToolsAgentImpl.h:
1459
1460 2011-10-03  James Robinson  <jamesr@chromium.org>
1461
1462         [chromium] Tweak WebCompositor API for input event handling to express three possible states
1463         https://bugs.webkit.org/show_bug.cgi?id=69304
1464
1465         Reviewed by Darin Fisher.
1466
1467         * public/WebCompositorClient.h:
1468         * src/WebCompositorImpl.cpp:
1469         (WebKit::WebCompositorImpl::~WebCompositorImpl):
1470         (WebKit::WebCompositorImpl::handleInputEvent):
1471
1472 2011-10-03  Anders Carlsson  <andersca@apple.com>
1473
1474         Remove custom scrollbar painting hooks
1475         https://bugs.webkit.org/show_bug.cgi?id=69163
1476
1477         Reviewed by Alexey Proskuryakov.
1478
1479         * src/WebSettingsImpl.cpp:
1480         (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
1481
1482 2011-10-03  Elliot Poger  <epoger@google.com>
1483
1484         webkit->chromium DEPS roll 103471->103694
1485         https://bugs.webkit.org/show_bug.cgi?id=69271
1486
1487         This brings in a new tools/win/supalink directory from
1488         http://src.chromium.org/viewvc/chrome?view=rev&revision=103474
1489
1490         Reviewed by Adam Barth.
1491
1492         * DEPS:
1493
1494 2011-10-03  James Robinson  <jamesr@chromium.org>
1495
1496         [chromium] Add WebWidget API for accessing the current WebCompositor
1497         https://bugs.webkit.org/show_bug.cgi?id=69181
1498
1499         Reviewed by Darin Fisher.
1500
1501         Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
1502         didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
1503
1504         Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
1505         thread to get access to a WebCompositor pointer.
1506
1507         * public/WebWidget.h:
1508         (WebKit::WebWidget::compositor):
1509         * src/WebViewImpl.cpp:
1510         (WebKit::WebViewImpl::compositor):
1511         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1512         * src/WebViewImpl.h:
1513
1514 2011-10-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1515
1516         Unreviewed, rolling out r96481.
1517         http://trac.webkit.org/changeset/96481
1518         https://bugs.webkit.org/show_bug.cgi?id=69251
1519
1520         Breaks webkit_unit_tests on Linux(dbg) (Requested by hwennborg
1521         on #webkit).
1522
1523         * WebKit.gypi:
1524         * public/WebCompositor.h:
1525         * public/WebWidgetClient.h:
1526         * src/WebCompositorImpl.cpp:
1527         (WebKit::WebCompositorImpl::WebCompositorImpl):
1528         (WebKit::WebCompositorImpl::~WebCompositorImpl):
1529         (WebKit::WebCompositorImpl::setClient):
1530         (WebKit::WebCompositorImpl::handleInputEvent):
1531         * src/WebCompositorImpl.h:
1532         * src/WebViewImpl.cpp:
1533         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1534         * src/WebViewImpl.h:
1535         * tests/CCLayerTreeHostTest.cpp:
1536         (WTF::MockLayerTreeHost::MockLayerTreeHost):
1537         * tests/WebCompositorImplTest.cpp: Removed.
1538
1539 2011-10-02  James Robinson  <jamesr@chromium.org>
1540
1541         [chromium] Add WebWidget API for accessing the current WebCompositor
1542         https://bugs.webkit.org/show_bug.cgi?id=69181
1543
1544         Reviewed by Darin Fisher.
1545
1546         Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
1547         didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
1548
1549         Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
1550         thread to get access to a WebCompositor pointer.
1551
1552         * public/WebWidget.h:
1553         (WebKit::WebWidget::compositor):
1554         * src/WebViewImpl.cpp:
1555         (WebKit::WebViewImpl::compositor):
1556         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1557         * src/WebViewImpl.h:
1558
1559 2011-09-30  Adrienne Walker  <enne@google.com>
1560
1561         [chromium] Track separate scroll deltas on the compositor thread
1562         https://bugs.webkit.org/show_bug.cgi?id=69034
1563
1564         Reviewed by James Robinson.
1565
1566         Add testing support for scroll deltas on layers.
1567
1568         * WebKit.gypi:
1569         * src/WebViewImpl.cpp:
1570         (WebKit::WebViewImpl::applyScrollDelta):
1571         * src/WebViewImpl.h:
1572         * tests/CCLayerTreeHostImplTest.cpp: Added.
1573         (WebCore::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1574         (WebCore::CCLayerTreeHostImplTest::expectClearedScrollDeltasRecursive):
1575         (WebCore::CCLayerTreeHostImplTest::expectContains):
1576         (WebCore::TEST_F):
1577         * tests/CCLayerTreeHostTest.cpp:
1578         (WTF::TestHooks::applyScrollDelta):
1579         (WTF::MockLayerTreeHostClient::applyScrollDelta):
1580         (WTF::CCLayerTreeHostTest::runTest):
1581         (WTF::CCLayerTreeHostTest::doBeginTest):
1582         (WTF::CCLayerTreeHostTestThreadOnly::runTest):
1583         (WTF::CCLayerTreeHostTestScrollSimple::CCLayerTreeHostTestScrollSimple):
1584         (WTF::CCLayerTreeHostTestScrollSimple::beginTest):
1585         (WTF::CCLayerTreeHostTestScrollSimple::beginCommitOnCCThread):
1586         (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
1587         (WTF::CCLayerTreeHostTestScrollSimple::applyScrollDelta):
1588         (WTF::CCLayerTreeHostTestScrollSimple::afterTest):
1589         (WTF::TEST_F):
1590         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::CCLayerTreeHostTestScrollMultipleRedraw):
1591         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
1592         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginCommitOnCCThread):
1593         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
1594         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::applyScrollDelta):
1595         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::afterTest):
1596         * tests/TreeSynchronizerTest.cpp:
1597         (WebCore::TEST):
1598
1599 2011-09-30  Shawn Singh  <shawnsingh@chromium.org>
1600
1601         Adding unit tests for LayerChromium.  Emphasis on verifying
1602         behavior of notifySyncRequired callback and tree manipulations.
1603         https://bugs.webkit.org/show_bug.cgi?id=68572
1604
1605         Reviewed by James Robinson.
1606
1607         * WebKit.gypi:
1608         * tests/LayerChromiumTest.cpp: Added.
1609
1610 2011-09-30  James Robinson  <jamesr@chromium.org>
1611
1612         [chromium] Pass a processed bool in WebCompositorClient::didHandleInputEvent to indicate if the event was processed
1613         https://bugs.webkit.org/show_bug.cgi?id=69169
1614
1615         Reviewed by Darin Fisher.
1616
1617         If the compositor does not process the input event the embedder might want to do something with it - for
1618         example, if the input event type is part of a CTRL+T keyboard accelerator sequence the browser might want to
1619         open a new tab. This passes that state through the didHandleInputEvent callback.
1620
1621         * public/WebCompositorClient.h:
1622         * src/WebCompositorImpl.cpp:
1623         (WebKit::WebCompositorImpl::handleInputEvent):
1624
1625 2011-09-30  Elliot Poger  <epoger@google.com>
1626
1627         webkit->chromium DEPS roll 102910->103471
1628         https://bugs.webkit.org/show_bug.cgi?id=69160
1629
1630         Reviewed by Adam Barth.
1631
1632         * DEPS:
1633
1634 2011-09-29  Pavel Feldman  <pfeldman@google.com>
1635
1636         Web Inspector: [chromium] expose inspector protocol version to the embedder.
1637         https://bugs.webkit.org/show_bug.cgi?id=69092
1638
1639         Reviewed by Yury Semikhatsky.
1640
1641         * public/WebDevToolsAgent.h:
1642         * src/WebDevToolsAgentImpl.cpp:
1643         (WebKit::WebDevToolsAgent::inspectorProtocolVersion):
1644         (WebKit::WebDevToolsAgent::supportsInspectorProtocolVersion):
1645
1646 2011-09-30  James Robinson  <jamesr@chromium.org>
1647
1648         [chromium] Add WebKit API for sending input events to the compositor thread
1649         https://bugs.webkit.org/show_bug.cgi?id=69117
1650
1651         Reviewed by Darin Fisher.
1652
1653         Adds a new WebKit interface to allow the embedder to pass input events directly to the compositor thread.
1654         Exposes the new WebCompositor interface and associated client. These interfaces are slightly different in that
1655         they can only be interacted with from the compositor thread.
1656
1657         Changes the initialization path for the compositor thread to using an externally allocated and managed thread
1658         instead of one internal to WebCore so that the embedder can interact with the thread more easily. This also
1659         simplifies the startup and shutdown paths.  The contract is that WebCompositor::setThread() must be called
1660         before any compositor can be initialized and the passed-in thread must outlive all compositor instances.
1661
1662         Each WebCompositor instance is associated with a WebWidget.  There isn't any way to get a WebCompositor for a
1663         given WebWidget in this patch, that will be done in a follow-up.
1664
1665         * WebKit.gyp:
1666         * public/WebCompositor.h:
1667         (WebKit::WebCompositor::~WebCompositor):
1668         * public/WebCompositorClient.h:
1669         (WebKit::WebCompositorClient::~WebCompositorClient):
1670         * src/CCThreadImpl.cpp:
1671         (WebKit::CCThreadImpl::create):
1672         (WebKit::CCThreadImpl::CCThreadImpl):
1673         * src/CCThreadImpl.h:
1674         * src/WebCompositorImpl.cpp: Added.
1675         (WebKit::WebCompositor::setThread):
1676         (WebKit::WebCompositorImpl::WebCompositorImpl):
1677         (WebKit::WebCompositorImpl::~WebCompositorImpl):
1678         (WebKit::WebCompositorImpl::setClient):
1679         (WebKit::WebCompositorImpl::handleInputEvent):
1680         * src/WebCompositorImpl.h:
1681         (WebKit::WebCompositorImpl::create):
1682         * src/WebViewImpl.cpp:
1683         * src/WebViewImpl.h:
1684         * tests/CCLayerTreeHostTest.cpp:
1685         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1686         * tests/CCThreadTest.cpp:
1687         (WebKit::TEST):
1688
1689 2011-09-29  Iain Merrick  <husky@google.com>
1690
1691         Add unit test for CCLayerSorter
1692         https://bugs.webkit.org/show_bug.cgi?id=68622
1693
1694         Reviewed by James Robinson.
1695
1696         * WebKit.gypi:
1697         * tests/CCLayerSorterTest.cpp: Added.
1698         (WebCore::TEST):
1699
1700 2011-09-29  Hans Wennborg  <hans@chromium.org>
1701
1702         IndexedDB: Use LevelDB also for in-memory databases
1703         https://bugs.webkit.org/show_bug.cgi?id=68903
1704
1705         Reviewed by Steve Block.
1706
1707         Don't fall back to SQLite or use a temporary dir for in-memory
1708         databases (Incognito and layout tests); LevelDB supports in-memory
1709         databases now.
1710
1711         * public/WebIDBFactory.h:
1712         * src/WebIDBFactoryImpl.cpp:
1713         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
1714         (WebKit::WebIDBFactoryImpl::open):
1715
1716 2011-09-28  Fady Samuel  <fsamuel@chromium.org>
1717
1718         [Chromium] Seperate GTK specific Gyp rules from X11 Gyp rules
1719         https://bugs.webkit.org/show_bug.cgi?id=68936
1720
1721         Reviewed by Tony Chang.
1722
1723         * WebKit.gyp:
1724         * public/gtk/WebFontInfo.h:
1725         * public/linux/WebFontInfo.h: Copied from Source/WebKit/chromium/public/gtk/WebFontInfo.h.
1726
1727 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1728
1729         Unreviewed.  Rolled DEPS.
1730
1731         * DEPS:
1732
1733 2011-09-27  Yury Semikhatsky  <yurys@chromium.org>
1734
1735         [Chromium] Web Inspector: Bug with console.log and popstate/hashchange events
1736         https://bugs.webkit.org/show_bug.cgi?id=67732
1737
1738         Added WebKit part of a new interactive UI test for the bug with duplicated console messages after navigation back.
1739
1740         Reviewed by Pavel Feldman.
1741
1742         * src/js/Tests.js:
1743         (.TestSuite.prototype.testConsoleOnNavigateBack.firstConsoleMessageReceived):
1744         (.TestSuite.prototype.testConsoleOnNavigateBack.didClickLink):
1745         (.TestSuite.prototype.testConsoleOnNavigateBack.didNavigateBack):
1746         (.TestSuite.prototype.testConsoleOnNavigateBack.didCompleteNavigation):
1747         (.TestSuite.prototype.testConsoleOnNavigateBack):
1748
1749 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1750
1751         Unreviewed.  Rolled DEPS.
1752
1753         * DEPS:
1754
1755 2011-09-26  Nat Duca  <nduca@chromium.org>
1756
1757         [chromium] Make CCThreadProxy draw
1758         https://bugs.webkit.org/show_bug.cgi?id=67417
1759
1760         Disable CCLayerTreeHostTest temporarily. Will re-enable
1761         with https://bugs.webkit.org/show_bug.cgi?id=67418
1762
1763         Reviewed by James Robinson.
1764
1765         * tests/CCLayerTreeHostTest.cpp:
1766
1767 2011-09-26  Joshua Bell  <jsbell@chromium.org>
1768
1769         IndexedDB: Second half of IDBFactory.getDatabaseNames implementation
1770         https://bugs.webkit.org/show_bug.cgi?id=68818
1771
1772         Reviewed by Tony Chang.
1773
1774         Adds ability to enumerate IndexedDB databases within an origin.
1775
1776         * src/IDBCallbacksProxy.cpp:
1777         (WebKit::IDBCallbacksProxy::onSuccess):
1778         * src/IDBCallbacksProxy.h:
1779         * src/IDBFactoryBackendProxy.cpp:
1780         (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
1781         * src/IDBFactoryBackendProxy.h:
1782         * src/WebIDBCallbacksImpl.cpp:
1783         (WebKit::WebIDBCallbacksImpl::onSuccess):
1784         * src/WebIDBCallbacksImpl.h:
1785         * src/WebIDBFactoryImpl.cpp:
1786         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
1787         * src/WebIDBFactoryImpl.h:
1788
1789 2011-09-26  Fady Samuel  <fsamuel@chromium.org>
1790
1791         Removed an unnecessary include in WebFrameImpl
1792         https://bugs.webkit.org/show_bug.cgi?id=68834
1793
1794         Reviewed by Darin Fisher.
1795
1796         * src/WebFrameImpl.cpp:
1797
1798 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
1799
1800         Fix copy and paste error in r96002.
1801
1802         * tests/InnerGestureRecognizerTest.cpp:
1803         (TEST_F):
1804
1805 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
1806
1807         Disable Chromium gesture recognizer tests that started to fail on the
1808         Mac bots recently.
1809
1810         * tests/InnerGestureRecognizerTest.cpp:
1811         (TEST_F):
1812
1813 2011-09-26  W. James MacLean  <wjmaclean@chromium.org>
1814
1815         [chromium] Revise zoom animator backend to use full transform instead of just scale.
1816         https://bugs.webkit.org/show_bug.cgi?id=68535
1817
1818         Reviewed by Kenneth Russell.
1819
1820         * src/WebViewImpl.cpp:
1821         (WebKit::WebViewImpl::setZoomLevel):
1822         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1823
1824 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1825
1826         Unreviewed, rolling out r95256.
1827         http://trac.webkit.org/changeset/95256
1828         https://bugs.webkit.org/show_bug.cgi?id=68814
1829
1830         Temporary CRASH calls no longer needed (Requested by enne on
1831         #webkit).
1832
1833         * src/WebViewImpl.cpp:
1834         (WebKit::WebViewImpl::composite):
1835
1836 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1837
1838         Unreviewed.  Rolled DEPS.
1839
1840         * DEPS:
1841
1842 2011-09-24  Adam Barth  <abarth@webkit.org>
1843
1844         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
1845         https://bugs.webkit.org/show_bug.cgi?id=68767
1846
1847         Reviewed by Eric Seidel.
1848
1849         * features.gypi:
1850         * src/ApplicationCacheHost.cpp:
1851         * src/ApplicationCacheHostInternal.h:
1852         * src/AssertMatchingEnums.cpp:
1853         * src/ChromeClientImpl.cpp:
1854         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
1855         * src/ChromeClientImpl.h:
1856         * src/WebDataSourceImpl.cpp:
1857         (WebKit::WebDataSourceImpl::applicationCacheHost):
1858         * src/WebRuntimeFeatures.cpp:
1859         (WebKit::WebRuntimeFeatures::enableApplicationCache):
1860         (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
1861
1862 2011-09-23  Adam Klein  <adamk@chromium.org>
1863
1864         Add ENABLE_MUTATION_OBSERVERS feature flag
1865         https://bugs.webkit.org/show_bug.cgi?id=68732
1866
1867         Reviewed by Ojan Vafai.
1868
1869         This flag will guard an implementation of the "Mutation Observers" proposed in
1870         http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1622.html
1871
1872         * features.gypi:
1873
1874 2011-09-23  Jay Civelli  <jcivelli@chromium.org>
1875
1876         Making some WebBlob methods exportable.
1877         This is needed by the shared lib chromium build.
1878         https://bugs.webkit.org/show_bug.cgi?id=68709
1879
1880         Reviewed by Darin Fisher.
1881
1882         * public/WebBlob.h:
1883
1884 2011-09-23  Varun Jain  <varunjain@google.com>
1885
1886         Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests 
1887         https://bugs.webkit.org/show_bug.cgi?id=68198
1888
1889         Reviewed by Dimitri Glazkov.
1890
1891         * public/WebView.h:
1892         (WebKit::WebView::scrollFocusedNodeIntoRect):
1893         * src/WebViewImpl.cpp:
1894         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1895
1896 2011-09-23  Mihai Parparita  <mihaip@chromium.org>
1897
1898         Unreviewed, rolling out r95860.
1899         http://trac.webkit.org/changeset/95860
1900         https://bugs.webkit.org/show_bug.cgi?id=68648
1901
1902         Breaks overhang rendering on Chromium Mac
1903
1904         * features.gypi:
1905
1906 2011-09-23  Adam Klein  <adamk@chromium.org>
1907
1908         [chromium] Remove WEBWIDGET_HAS_ANIMATE_CHANGES #define
1909         https://bugs.webkit.org/show_bug.cgi?id=68720
1910
1911         Reviewed by James Robinson.
1912
1913         References to this macro were removed in http://crrev.com/102314.
1914
1915         * public/WebWidget.h:
1916
1917 2011-09-23  Stephen Chenney  <schenney@chromium.org>
1918
1919         [Chromium] Crash in WebCore::DatabaseObserver
1920         https://bugs.webkit.org/show_bug.cgi?id=67805
1921
1922         Reviewed by David Levin.
1923
1924         * src/DatabaseObserver.cpp:
1925         (WebCore::DatabaseObserver::canEstablishDatabase): Added a check for a
1926         null frame or page, and return false if null. Investigated
1927         changing the fall-through return value to false but decided against
1928         it given the way the code is used and existing default values for
1929         related code. Reproduction and testing depends on having a document
1930         with no frame or no page, which sometimes happens in practice but is
1931         hard to construct explicitly.
1932
1933 2011-09-23  Scott Graham  <scottmg@chromium.org>
1934
1935         occasional crash in Chromium in dispatching keyEvent
1936         https://bugs.webkit.org/show_bug.cgi?id=67941
1937
1938         Reviewed by Darin Fisher.
1939
1940         Use focusedWebCoreNode() to handle null document for frame when
1941         retrieving focused node in handling keyEvent.
1942
1943         * src/WebViewImpl.cpp:
1944         (WebKit::WebViewImpl::keyEvent):
1945
1946 2011-09-23  Fady Samuel  <fsamuel@chromium.org>
1947
1948         Refactor paintOverhangAreas to allow non-Mac Chromium platforms to reuse code
1949         https://bugs.webkit.org/show_bug.cgi?id=68648
1950
1951         Reviewed by Dimitri Glazkov.
1952
1953         * features.gypi:
1954
1955 2011-09-23  Elliot Poger  <epoger@google.com>
1956
1957         update layout_tests to account for new default of use_skia=1
1958         https://bugs.webkit.org/show_bug.cgi?id=68698
1959
1960         Rolls Source/WebKit/chromium/DEPS to pick up new default use_skia=1
1961         from http://src.chromium.org/viewvc/chrome?view=rev&revision=102532
1962         (Chromium-on-Mac now uses the Skia graphics library instead of
1963         Core Graphics).
1964
1965         Also updates layout_test code to work with that change.
1966
1967         Reviewed by Mihai Parparita.
1968
1969         * DEPS:
1970
1971 2011-09-22  Sheriff Bot  <webkit.review.bot@gmail.com>
1972
1973         Unreviewed.  Rolled DEPS.
1974
1975         * DEPS:
1976
1977 2011-09-22  James Robinson  <jamesr@chromium.org>
1978
1979         Unreviewed, rolling out r95699.
1980         http://trac.webkit.org/changeset/95699
1981         https://bugs.webkit.org/show_bug.cgi?id=67417
1982
1983         Makes many chromium compositor tests crash
1984
1985         * tests/CCLayerTreeHostTest.cpp:
1986         (WTF::CCLayerTreeHostTest::doBeginTest):
1987         (WTF::TEST_F):
1988         * tests/TreeSynchronizerTest.cpp:
1989         (WebCore::TEST):
1990
1991 2011-09-22  Nat Duca  <nduca@chromium.org>
1992
1993         [chromium] Make CCThreadProxy draw
1994         https://bugs.webkit.org/show_bug.cgi?id=67417
1995
1996         Disable CCLayerTreeHostTest temporarily. Will re-enable
1997         with https://bugs.webkit.org/show_bug.cgi?id=67418
1998
1999         Reviewed by James Robinson.
2000
2001         * tests/CCLayerTreeHostTest.cpp:
2002
2003 2011-09-21  Joshua Bell  <jsbell@chromium.org>
2004
2005         Implement WebKit side of IDBFactory::getDatabaseNames
2006         https://bugs.webkit.org/show_bug.cgi?id=68037
2007
2008         Reviewed by Tony Chang.
2009
2010         Interface changes and stub implementations for
2011         new IndexedDB IDBFactory.getDatabaseNames. This is
2012         part one of a two-sided patch.
2013
2014         * public/WebIDBCallbacks.h:
2015         (WebKit::WebIDBCallbacks::onSuccess):
2016         * public/WebIDBFactory.h:
2017         (WebKit::WebIDBFactory::getDatabaseNames):
2018
2019 2011-09-21  Robert Kroeger  <rjkroege@chromium.org>
2020
2021         [chromium] Code cleanup in gesture recognizer unit tests
2022         https://bugs.webkit.org/show_bug.cgi?id=68561
2023
2024         Fix some style nits in the gesture recognizer unit tests.
2025
2026         Reviewed by David Levin.
2027
2028         * tests/InnerGestureRecognizerTest.cpp:
2029         (InspectableGestureRecognizerChromium::stubEdgeFunction):
2030         (BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
2031         (TEST_F):
2032
2033 2011-09-21  Aaron Boodman  <aa@chromium.org>
2034
2035         Remove old and busted context notification APIs
2036         https://bugs.webkit.org/show_bug.cgi?id=68381
2037
2038         Reviewed by David Levin.
2039
2040         * public/WebFrameClient.h:
2041         * src/FrameLoaderClientImpl.cpp:
2042         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2043         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2044
2045 2011-09-21  Xianzhu Wang  <wangxianzhu@chromium.org>
2046
2047         Ensure TestWebKitAPI works on mac, win, chromium-mac and chromium-linux
2048         https://bugs.webkit.org/show_bug.cgi?id=68206
2049
2050         Reviewed by Tony Chang.
2051
2052         * WebKit.gyp:
2053
2054 2011-09-21  chandra shekar vallala  <chandra.vallala@gmail.com>
2055
2056         [chromium]ClearFocusedNode doesn't clear the cursor or selection in editable div element.
2057         https://bugs.webkit.org/show_bug.cgi?id=68351
2058
2059         Reviewed by Darin Fisher.
2060
2061         * src/WebViewImpl.cpp:
2062         (WebKit::WebViewImpl::clearFocusedNode):
2063
2064 2011-09-20  Jay Civelli  <jcivelli@chromium.org>
2065
2066         This CL makes it possible to create a blob from Chromium.
2067         https://bugs.webkit.org/show_bug.cgi?id=68286
2068
2069         Reviewed by Darin Fisher.
2070
2071         * WebKit.gyp:
2072         * public/WebBlob.h: Added.
2073         * src/WebBlob.cpp: Added.
2074
2075 2011-09-20  Jochen Eisinger  <jochen@chromium.org>
2076
2077         [chromium] remove obsolete WebPermissionClient::allowImages method
2078         https://bugs.webkit.org/show_bug.cgi?id=68380
2079
2080         Reviewed by Darin Fisher.
2081
2082         * DEPS:
2083         * public/WebPermissionClient.h:
2084         (WebKit::WebPermissionClient::allowImage):
2085
2086 2011-09-20  Aaron Boodman  <aa@chromium.org>
2087
2088         Rework script context creation/release notifications
2089         https://bugs.webkit.org/show_bug.cgi?id=67828
2090
2091         Reviewed by Adam Barth.
2092
2093         * public/WebFrameClient.h:
2094         (WebKit::WebFrameClient::didCreateScriptContext):
2095         (WebKit::WebFrameClient::didDestroyScriptContext):
2096         (WebKit::WebFrameClient::willReleaseScriptContext):
2097         * src/FrameLoaderClientImpl.cpp:
2098         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2099         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2100         * src/FrameLoaderClientImpl.h:
2101         * tests/WebFrameTest.cpp:
2102         (WebKit::TEST_F):
2103         (WebKit::ContextLifetimeTestWebFrameClient::Notification::Notification):
2104         (WebKit::ContextLifetimeTestWebFrameClient::Notification::~Notification):
2105         (WebKit::ContextLifetimeTestWebFrameClient::Notification::Equals):
2106         (WebKit::ContextLifetimeTestWebFrameClient::~ContextLifetimeTestWebFrameClient):
2107         (WebKit::ContextLifetimeTestWebFrameClient::reset):
2108         (WebKit::ContextLifetimeTestWebFrameClient::didCreateScriptContext):
2109         (WebKit::ContextLifetimeTestWebFrameClient::willReleaseScriptContext):
2110         * tests/data/context_notifications_test.html: Added.
2111         * tests/data/context_notifications_test_frame.html: Added.
2112
2113 2011-09-19  Geoffrey Garen  <ggaren@apple.com>
2114
2115         Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs.
2116         https://bugs.webkit.org/show_bug.cgi?id=68422
2117
2118         Missed this one case before.
2119
2120         * features.gypi:
2121
2122 2011-09-19  Raymond Toy  <rtoy@google.com>
2123
2124         Ask for audio hardware buffer size instead of using hardwired constants.
2125         https://bugs.webkit.org/show_bug.cgi?id=67952
2126
2127         Reviewed by Kenneth Russell.
2128
2129         * public/WebKitPlatformSupport.h:
2130         (WebKit::WebKitPlatformSupport::audioHardwareBufferSize): Declare
2131         new member function audioHardwareBufferSize.
2132         * src/AudioDestinationChromium.cpp:
2133         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2134         Call audioHardwareBufferSize() to get buffer size; update
2135         m_callbackBuffersize and m_renderCountPerCallback appropriately.
2136         Remove global variables callbackBufferSize and
2137         renderCountPerCallback.  Add constant for maximum
2138         allowed buffer size and verify we don't exceed it.
2139         (WebCore::AudioDestinationChromium::render): Use new member
2140         variables instead of globals.
2141         * src/AudioDestinationChromium.h:
2142         Define new member variables m_callbackBufferSize and
2143         m_renderCountPerCallback
2144
2145 2011-09-19  Adam Barth  <abarth@webkit.org>
2146
2147         Always enable ENABLE(EVENTSOURCE)
2148         https://bugs.webkit.org/show_bug.cgi?id=68414
2149
2150         Reviewed by Eric Seidel.
2151
2152         * features.gypi:
2153
2154 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
2155
2156         Suppress flakey test on windows in Chromium gesture recognizer
2157         https://bugs.webkit.org/show_bug.cgi?id=68408
2158
2159         Reviewed by Adam Barth.
2160
2161         * tests/InnerGestureRecognizerTest.cpp:
2162         (TEST_F):
2163
2164 2011-09-19  Dominic Mazzoni  <dmazzoni@google.com>
2165
2166         Expose AXObjectCache methods so that WebAccessibilityCache
2167         can be deleted.
2168         https://bugs.webkit.org/show_bug.cgi?id=68225
2169
2170         Reviewed by Dimitri Glazkov.
2171
2172         This patch exposes the functionality needed from AXObjectCache
2173         with new methods in WebAccessibilityObject and WebDocument.
2174         Next, Chromium will be updated to use only these methods and
2175         not WebAccessibilityCache. Then, WebAccessibilityCache can be
2176         deleted from WebKit.
2177
2178         * public/WebAccessibilityObject.h:
2179         * public/WebDocument.h:
2180         * src/WebAccessibilityObject.cpp:
2181         (WebKit::WebAccessibilityObject::enableAccessibility):
2182         (WebKit::WebAccessibilityObject::accessibilityEnabled):
2183         (WebKit::WebAccessibilityObject::axID):
2184         * src/WebDocument.cpp:
2185         (WebKit::WebDocument::accessibilityObject):
2186         (WebKit::WebDocument::accessibilityObjectFromID):
2187
2188 2011-09-19  Bill Budge  <bbudge@chromium.org>
2189
2190         Perform HTTP method and header validation in AssociatedURLLoader for
2191         requests coming from untrusted code (eg. Native Client in Chrome). Use
2192         the same code as XMLHttpRequest to reduce code duplication and have
2193         behavior identical to XHR in Javascript. Add an 'untrustedHTTP' option
2194         to WebURLLoaderOptions, which AssociatedURLLoader can use to determine
2195         if it should check the request method and headers.
2196         https://bugs.webkit.org/show_bug.cgi?id=67655
2197
2198         Reviewed by Darin Fisher.
2199
2200         * public/WebURLLoaderOptions.h:
2201         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2202         * src/AssociatedURLLoader.cpp:
2203         (WebKit::AssociatedURLLoader::ClientAdapter::setDelayedError):
2204         (WebKit::AssociatedURLLoader::loadAsynchronously):
2205         * tests/AssociatedURLLoaderTest.cpp:
2206         (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
2207         (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
2208         (WebKit::AssociatedURLLoaderTest::CheckFails):
2209         (WebKit::TEST_F):
2210
2211 2011-09-19  Adam Barth  <abarth@webkit.org>
2212
2213         Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER)
2214         https://bugs.webkit.org/show_bug.cgi?id=68292
2215
2216         Reviewed by Eric Seidel.
2217
2218         * features.gypi:
2219
2220 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2221
2222         Unreviewed, rolling out r95385 and r95457.
2223         http://trac.webkit.org/changeset/95385
2224         http://trac.webkit.org/changeset/95457
2225         https://bugs.webkit.org/show_bug.cgi?id=68395
2226
2227         Broke chromium browser_tests (Requested by dslomov on
2228         #webkit).
2229
2230         * public/WebFrameClient.h:
2231         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
2232         * src/FrameLoaderClientImpl.cpp:
2233         (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
2234         (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
2235         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
2236         * src/FrameLoaderClientImpl.h:
2237         * tests/WebFrameTest.cpp:
2238         (WebKit::TEST_F):
2239         * tests/data/context_notifications_test.html: Removed.
2240         * tests/data/context_notifications_test_frame.html: Removed.
2241
2242 2011-09-19  Aaron Boodman  <aa@chromium.org>
2243
2244         r95385 broke Chromium. Fix it.
2245         https://bugs.webkit.org/show_bug.cgi?id=68378
2246
2247         Unreviewed, build fix.
2248
2249         * src/FrameLoaderClientImpl.cpp:
2250         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2251         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2252
2253 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
2254
2255         Unreviewed, build fix
2256
2257         It's not enough to disable clang plugins.
2258
2259         * gyp_webkit:
2260
2261 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
2262
2263         [chromium] Disable clang when building chromium in WebKit
2264         https://bugs.webkit.org/show_bug.cgi?id=68343
2265
2266         Reviewed by Adam Barth.
2267
2268         * DEPS:
2269         * gyp_webkit:
2270
2271 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
2272
2273         [chromium] Gesture recognizer fires taptype only every other touch
2274         down/up sequence https://bugs.webkit.org/show_bug.cgi?id=68368
2275  
2276         Reviewed by Adam Barth.
2277
2278         The addition of doubletap detection to the gesture recognizer missed some of the
2279         outgoing edges in the recognizer state machine. Thsi change simplifies the logic
2280         and handles all outgoing edges.
2281
2282
2283         * tests/InnerGestureRecognizerTest.cpp:
2284         Additional tests added to ensure that all edges in the state
2285         machine are accounted for.
2286         (BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
2287         (SimulateAndTestFirstClick):
2288         (TEST_F):
2289
2290 2011-09-19  Peter Rybin  <peter.rybin@gmail.com>
2291
2292         TextPosition refactoring: Merge ZeroBasedNumber and OneBasedNumber classes
2293         https://bugs.webkit.org/show_bug.cgi?id=63541
2294
2295         Reviewed by Adam Barth.
2296
2297         * src/WebFrameImpl.cpp:
2298         (WebKit::WebFrameImpl::executeScript):
2299         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2300         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
2301
2302 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2303
2304         Unreviewed, rolling out r95416.
2305         http://trac.webkit.org/changeset/95416
2306         https://bugs.webkit.org/show_bug.cgi?id=68367
2307
2308         Broke chromium-mac (Requested by beverloo on #webkit).
2309
2310         * DEPS:
2311
2312 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2313
2314         Unreviewed.  Rolled DEPS.
2315
2316         * DEPS:
2317
2318 2011-09-19  Ilya Tikhonovsky  <loislo@chromium.org>
2319
2320         Web Inspector: extend timeline coverage.
2321         https://bugs.webkit.org/show_bug.cgi?id=68260
2322
2323         Another place with js function call from native.
2324
2325         Reviewed by Pavel Feldman.
2326
2327         * src/WebDevToolsFrontendImpl.cpp:
2328         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2329
2330 2011-09-17  Mihai Parparita  <mihaip@chromium.org>
2331
2332         FrameLoaderClient BackForwardList-related methods are unsued
2333         https://bugs.webkit.org/show_bug.cgi?id=68293
2334
2335         Reviewed by Darin Adler.
2336
2337         Remove FrameLoaderClient methods that were added by r51629, since only        
2338         the old (since-deleted) Android port needed them.
2339
2340         * src/FrameLoaderClientImpl.cpp:
2341         * src/FrameLoaderClientImpl.h:
2342
2343 2011-09-17  Aaron Boodman  <aa@chromium.org>
2344
2345         Rework script context creation/release notifications
2346         https://bugs.webkit.org/show_bug.cgi?id=67828
2347
2348         Reviewed by Adam Barth.
2349
2350         * public/WebFrameClient.h:
2351         (WebKit::WebFrameClient::didCreateScriptContext):
2352         (WebKit::WebFrameClient::didDestroyScriptContext):
2353         (WebKit::WebFrameClient::willReleaseScriptContext):
2354         * src/FrameLoaderClientImpl.cpp:
2355         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2356         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2357         * src/FrameLoaderClientImpl.h:
2358
2359 2011-09-17  chandra shekar vallala  <chandra.vallala@motorola.com>
2360
2361         [chromium]The focus of an input field inside an Iframe doesn't get cleared even though clearFocusedNode is called.
2362         https://bugs.webkit.org/show_bug.cgi?id=68162
2363
2364         Add a unit-test to check whether the focus of node is get cleared when clearFocusNode called.
2365         This test check for focus of input node inside a frame after clear focus get called.
2366         Reviewed by Adam Barth.
2367
2368         * src/WebViewImpl.cpp:
2369         (WebKit::WebViewImpl::clearFocusedNode):
2370         * tests/WebFrameTest.cpp:
2371         (WebKit::TEST_F): Added a unit test to make sure that focus of the node is get cleared.
2372         * tests/data/autofocus_input_field_iframe.html: Added.
2373         * tests/data/iframe_clear_focused_node_test.html: Added.
2374
2375 2011-09-16  Adam Barth  <abarth@webkit.org>
2376
2377         Rename ENABLE(LEVELDB) to USE(LEVELDB)
2378         https://bugs.webkit.org/show_bug.cgi?id=68290
2379
2380         Reviewed by Darin Adler.
2381
2382         * features.gypi:
2383         * tests/IDBLevelDBCodingTest.cpp:
2384
2385 2011-09-16  Jochen Eisinger  <jochen@chromium.org>
2386
2387         Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
2388         https://bugs.webkit.org/show_bug.cgi?id=68071
2389
2390         Reviewed by Adam Barth.
2391
2392         * public/WebPermissionClient.h:
2393         (WebKit::WebPermissionClient::allowImage):
2394         * src/FrameLoaderClientImpl.cpp:
2395         (WebKit::FrameLoaderClientImpl::allowImage):
2396         * src/FrameLoaderClientImpl.h:
2397
2398 2011-09-16  Dmitry Lomov  <dslomov@google.com>
2399
2400         https://bugs.webkit.org/show_bug.cgi?id=67733
2401         [Chromium] Separate WebKit initialization and V8 initialization in chromium port.
2402
2403         Reviewed by Darin Fisher.
2404
2405         * public/WebKit.h:
2406         * src/WebKit.cpp:
2407         (WebKit::initialize):
2408         (WebKit::initializeWithoutV8):
2409
2410 2011-09-16  Vincent Scheib  <scheib@chromium.org>
2411
2412         [Chromium] Add movementX/Y members to WebMouseEvent
2413         https://bugs.webkit.org/show_bug.cgi?id=68174
2414
2415         Reviewed by Dimitri Glazkov.
2416
2417         * public/WebInputEvent.h:
2418         (WebKit::WebMouseEvent::WebMouseEvent):
2419
2420 2011-09-16  Nat Duca  <nduca@chromium.org>
2421
2422         [chromium] Create WebGL layer for graphics contexts on demand
2423         https://bugs.webkit.org/show_bug.cgi?id=68288
2424
2425         Reviewed by James Robinson.
2426
2427         * src/GraphicsContext3DChromium.cpp:
2428         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2429         (WebCore::GraphicsContext3DPrivate::platformLayer):
2430         * src/GraphicsContext3DPrivate.h:
2431
2432 2011-09-16  chandra shekar v  <chandra.vallala@motorola.com>
2433
2434         [chromium] compilation failed in target 'webkit_unit_tests'.
2435         https://bugs.webkit.org/show_bug.cgi?id=68078
2436
2437         Reviewed by Adam Barth.
2438
2439         * tests/WebFrameTest.cpp:
2440         (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
2441
2442 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
2443
2444         Unreviewed, rolling out r95312.
2445         http://trac.webkit.org/changeset/95312
2446         https://bugs.webkit.org/show_bug.cgi?id=68277
2447
2448         It's innocent, innocent I tell you! (Requested by jamesr_ on
2449         #webkit).
2450
2451         * tests/CCLayerTreeHostTest.cpp:
2452         (WTF::TestHooks::beginCommitOnCCThread):
2453         (WTF::TestHooks::commitCompleteOnCCThread):
2454         (WTF::TestHooks::drawLayersOnCCThread):
2455         (WTF::MockLayerTreeHostImpl::create):
2456         (WTF::MockLayerTreeHostImpl::beginCommit):
2457         (WTF::MockLayerTreeHostImpl::commitComplete):
2458         (WTF::MockLayerTreeHostImpl::drawLayers):
2459         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
2460         (WTF::MockLayerTreeHost::create):
2461         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
2462         (WTF::MockLayerTreeHost::MockLayerTreeHost):
2463         (WTF::CompositorMockWebGraphicsContext3D::create):
2464         (WTF::CompositorMockWebGraphicsContext3D::makeContextCurrent):
2465         (WTF::CompositorMockWebGraphicsContext3D::createProgram):
2466         (WTF::CompositorMockWebGraphicsContext3D::createShader):
2467         (WTF::CompositorMockWebGraphicsContext3D::getShaderiv):
2468         (WTF::CompositorMockWebGraphicsContext3D::getProgramiv):
2469         (WTF::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
2470         (WTF::MockLayerTreeHostClient::create):
2471         (WTF::MockLayerTreeHostClient::animateAndLayout):
2472         (WTF::MockLayerTreeHostClient::createCompositorThread):
2473         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2474         (WTF::MockLayerTreeHostClient::createRootLayerPainter):
2475         (WTF::MockLayerTreeHostClient::didRecreateGraphicsContext):
2476         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
2477         (WTF::CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
2478         (WTF::CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
2479         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
2480         (WTF::CCLayerTreeHostTest::onBeginTest):
2481         (WTF::CCLayerTreeHostTest::onEndTest):
2482         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
2483         (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
2484         (WTF::CCLayerTreeHostTest::runTest):
2485         (WTF::CCLayerTreeHostTest::testTimeout):
2486         (WTF::CCLayerTreeHostTest::doBeginTest):
2487         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
2488         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
2489         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
2490         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
2491         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
2492         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
2493         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
2494         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
2495         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
2496         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
2497         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
2498         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
2499         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
2500         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
2501
2502 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
2503
2504         Unreviewed, rolling out r95309.
2505         http://trac.webkit.org/changeset/95309
2506         https://bugs.webkit.org/show_bug.cgi?id=68271
2507
2508         Broke many chromium gpu tests. (Requested by dave_levin on
2509         #webkit).
2510
2511         * tests/CCLayerTreeHostTest.cpp:
2512         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
2513         (WTF::CCLayerTreeHostTest::animateAndLayout):
2514         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
2515         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
2516         (WTF::CCLayerTreeHostTest::commitOnCCThread):
2517         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
2518         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
2519         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
2520         (WTF::CCLayerTreeHostTest::updateLayers):
2521         (WTF::CCLayerTreeHostTest::onBeginTest):
2522         (WTF::CCLayerTreeHostTest::doEndTest):
2523         (WTF::CCLayerTreeHostTest::onEndTest):
2524         (WTF::CCLayerTreeHostTest::runTest):
2525         (WTF::CCLayerTreeHostTest::testTimeout):
2526         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
2527         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2528         (WTF::MockLayerTreeHostClient::animateAndLayout):
2529         (WTF::MockLayerTreeHostClient::updateLayers):
2530         (WTF::MockLayerTreeHostCommitter::create):
2531         (WTF::MockLayerTreeHostCommitter::commit):
2532         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
2533         (WTF::MockLayerTreeHostImpl::create):
2534         (WTF::MockLayerTreeHostImpl::beginCommit):
2535         (WTF::MockLayerTreeHostImpl::commitComplete):
2536         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
2537         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
2538         (WTF::MockLayerTreeHostImplProxy::create):
2539         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
2540         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
2541         (WTF::MockLayerTreeHost::MockLayerTreeHost):
2542         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
2543         (WTF::MockLayerTreeHost::updateLayers):
2544         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
2545         (WTF::MockLayerTreeHost::beginCommit):
2546         (WTF::MockLayerTreeHost::commitComplete):
2547         (WTF::CCLayerTreeHostTest::doBeginTest):
2548         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
2549         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
2550         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
2551         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
2552         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
2553         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
2554         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
2555         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
2556         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
2557         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
2558         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
2559         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
2560         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
2561         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
2562
2563 2011-09-16  Iain Merrick  <husky@google.com>
2564
2565         [chromium] Fix CCLayerTreeHostTest
2566         https://bugs.webkit.org/show_bug.cgi?id=67418
2567
2568         Fixes needed to compile and link with USE_THREADED_COMPOSITING
2569         enabled, and to pass the basic unit test.
2570
2571         Reviewed by James Robinson.
2572
2573         * src/GraphicsContext3DChromium.cpp:
2574         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2575         (WebCore::GraphicsContext3DPrivate::platformLayer):
2576         * src/GraphicsContext3DPrivate.h:
2577         * tests/CCLayerTreeHostTest.cpp:
2578         (TestHooks::beginCommitOnCCThread):
2579         (TestHooks::commitCompleteOnCCThread):
2580         (TestHooks::drawLayersOnCCThread):
2581         (MockLayerTreeHostImpl::MockLayerTreeHostImpl):
2582         (MockLayerTreeHostImpl::beginCommit):
2583         (MockLayerTreeHostImpl::commitComplete):
2584         (MockLayerTreeHostImpl::drawLayers):
2585         (MockLayerTreeHost::MockLayerTreeHost):
2586         (MockLayerTreeHost::createLayerTreeHostImpl):
2587         (CompositorMockWebGraphicsContext3D::makeContextCurrent):
2588         (CompositorMockWebGraphicsContext3D::createProgram):
2589         (CompositorMockWebGraphicsContext3D::createShader):
2590         (CompositorMockWebGraphicsContext3D::getShaderiv):
2591         (CompositorMockWebGraphicsContext3D::getProgramiv):
2592         (MockLayerTreeHostClient::MockLayerTreeHostClient):
2593         (MockLayerTreeHostClient::animateAndLayout):
2594         (MockLayerTreeHostClient::createCompositorThread):
2595         (MockLayerTreeHostClient::createLayerTreeHostContext3D):
2596         (MockLayerTreeHostClient::createRootLayerPainter):
2597         (MockLayerTreeHostClient::didRecreateGraphicsContext):
2598         (CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
2599         (CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
2600         (CCLayerTreeHostTest::onEndTest):
2601         (CCLayerTreeHostTest::dispatchSetNeedsCommit):
2602         (CCLayerTreeHostTest::dispatchSetNeedsRedraw):
2603         (CCLayerTreeHostTest::runTest):
2604         (CCLayerTreeHostTest::doBeginTest):
2605         (CCLayerTreeHostTestShortlived2::beginTest):
2606         (CCLayerTreeHostTestShortlived3::beginTest):
2607         (CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
2608         (CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
2609         (CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
2610         (CCLayerTreeHostTestSetNeedsCommit1::beginTest):
2611         (CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
2612         (CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
2613         (CCLayerTreeHostTestSetNeedsCommit2::beginTest):
2614         (CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
2615         (CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
2616         (CCLayerTreeHostTestSetNeedsRedraw::beginTest):
2617         (CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
2618         (CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
2619
2620 2011-09-16  Andrey Kosyakov  <caseq@chromium.org>
2621
2622         Web Inspector: [Extensions API] support extensions for remote inspector front-end
2623         https://bugs.webkit.org/show_bug.cgi?id=67840
2624
2625         Reviewed by Pavel Feldman.
2626
2627         - expose extension API as a single, standalone file for easy reuse in remote extension scripts.
2628
2629         * WebKit.gyp:
2630         * scripts/generate_devtools_extension_api.py: Added.
2631         * scripts/generate_devtools_zip.py:
2632
2633 2011-09-16  Ilya Tikhonovsky  <loislo@chromium.org>
2634
2635         Web Inspector: change WebInspector.currentPanel getter/setter to functions.
2636         https://bugs.webkit.org/show_bug.cgi?id=68242
2637
2638         This is necessary for the panel switching performance tests.
2639
2640         Reviewed by Pavel Feldman.
2641
2642         * src/js/Tests.js:
2643         (.TestSuite.prototype.showPanel):
2644
2645 2011-09-15  Adam Barth  <abarth@webkit.org>
2646
2647         Sigh.  Missed this one.
2648
2649         * features.gypi:
2650 2011-09-15  Adam Barth  <abarth@webkit.org>
2651
2652         Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
2653         https://bugs.webkit.org/show_bug.cgi?id=68205
2654
2655         Reviewed by Eric Seidel.
2656
2657         * src/DatabaseObserver.cpp:
2658         * src/WebDatabase.cpp:
2659         (WebKit::WebDatabase::updateDatabaseSize):
2660         (WebKit::WebDatabase::updateSpaceAvailable):
2661         (WebKit::WebDatabase::resetSpaceAvailable):
2662         (WebKit::WebDatabase::closeDatabaseImmediately):
2663         * src/WebRuntimeFeatures.cpp:
2664         (WebKit::WebRuntimeFeatures::enableDatabase):
2665         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2666
2667 2011-09-15  Adrienne Walker  <enne@google.com>
2668
2669         [chromium] Add temporary diagnostics for LayerTreeHost::commitTo crash
2670         https://bugs.webkit.org/show_bug.cgi?id=68204
2671
2672         Reviewed by James Robinson.
2673
2674         Add CRASH calls to determine which assumptions are being violated.
2675
2676         * src/WebViewImpl.cpp:
2677         (WebKit::WebViewImpl::composite):
2678
2679 2011-09-15  David Levin  <levin@chromium.org>
2680
2681         Remove TestWebKitAPI from the chromium build until it is made to work
2682         with the shared component build.
2683
2684         * WebKit.gyp:
2685
2686 2011-09-15  Eric Seidel  <eric@webkit.org>
2687
2688         Remove ENABLE(SVG_AS_IMAGE) since all major ports have it on by default
2689         https://bugs.webkit.org/show_bug.cgi?id=68182
2690
2691         Reviewed by Adam Barth.
2692
2693         * features.gypi:
2694
2695 2011-09-15  Jon Lee  <jonlee@apple.com>
2696
2697         Submitting a form with target=_blank works only once
2698         https://bugs.webkit.org/show_bug.cgi?id=28633
2699         <rdar://problem/7357787>
2700
2701         Reviewed by Andy Estes.
2702
2703         * src/WebViewImpl.cpp:
2704         (WebKit::WebViewImpl::mouseDown): Remove call to resetMultipleFormSubmissionProtection() since
2705         it will be made in platform-independent function EventHandler::handleMousePressEvent().
2706
2707 2011-09-15  Eric Seidel  <eric@webkit.org>
2708
2709         Remove ENABLE_SVG_ANIMATION as all major ports have it on by default
2710         https://bugs.webkit.org/show_bug.cgi?id=68022
2711
2712         Reviewed by Ryosuke Niwa.
2713
2714         * features.gypi:
2715
2716 2011-09-15  James Simonsen  <simonjam@chromium.org>
2717
2718         Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
2719         https://bugs.webkit.org/show_bug.cgi?id=68014
2720
2721         Reviewed by Adam Barth.
2722
2723         * src/FrameLoaderClientImpl.cpp:
2724         (WebKit::FrameLoaderClientImpl::createPlugin): Moved protection up to HTMLObjectElement and HTMLEmbedElement.
2725
2726 2011-09-15  David Levin  <levin@chromium.org>
2727
2728         [chromium] Attempt to fix the shared build after r95188.
2729
2730         * WebKit.gyp:
2731
2732 2011-09-15  Brian Salomon  <bsalomon@google.com>
2733
2734         [Skia/Chrome] 
2735         https://bugs.webkit.org/show_bug.cgi?id=68096
2736
2737         This change removes WebGraphicsContext3D::grGLInterface(). It has been
2738         superceded by WebGraphicsContext3D::createGrGLInterface which sets up
2739         the per-GL call callback used to set the correct context.
2740
2741         Reviewed by Stephen White.
2742
2743         * public/WebGraphicsContext3D.h:
2744         * src/GraphicsContext3DChromium.cpp:
2745         (WebCore::GraphicsContext3DPrivate::grContext):
2746         * src/WebGraphicsContext3D.cpp:
2747         (WebKit::WebGraphicsContext3D::createGrGLInterface):
2748
2749 2011-09-15  Xianzhu Wang  <wangxianzhu@chromium.org>
2750
2751         Let TestWebKitAPI work for chromium
2752         https://bugs.webkit.org/show_bug.cgi?id=67756
2753
2754         Reviewed by Sam Weinig.
2755
2756         * WebKit.gyp:
2757
2758 2011-09-14  Hao Zheng  <zhenghao@chromium.org>
2759
2760         Remove some dependencies of DRT for Android.
2761         https://bugs.webkit.org/show_bug.cgi?id=68126
2762
2763         Reviewed by Tony Chang.
2764
2765         We don't need mesa and TestNetscapePlugIn on Android, so remove them.
2766         As copy_TNPI depends on TNPI, adding copy_TNPI is enough.
2767
2768         * WebKit.gyp:
2769
2770 2011-09-14  Peter Beverloo  <peter@chromium.org>
2771
2772         [Chromium] Make WEB_AUDIO conditional and fix the build when disabled
2773         https://bugs.webkit.org/show_bug.cgi?id=68107
2774
2775         Reviewed by Kenneth Russell.
2776
2777         * features.gypi:
2778         * src/WebMediaPlayerClientImpl.cpp:
2779         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
2780         * src/WebMediaPlayerClientImpl.h:
2781
2782 2011-09-14  John Bauman  <jbauman@chromium.org>
2783
2784         [chromium] Return correct value for getContextAttributes().preserveDrawingBuffer
2785         https://bugs.webkit.org/show_bug.cgi?id=68082
2786
2787         Reviewed by Kenneth Russell.
2788
2789         WebKit::WebGraphicsContext3D::Attributes doesn't save
2790         preserveDrawingBuffer, so that has to be saving in
2791         GraphicsContext3DPrivate.
2792
2793         * src/GraphicsContext3DChromium.cpp:
2794         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2795         (WebCore::GraphicsContext3DPrivate::create):
2796         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2797         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
2798         * src/GraphicsContext3DPrivate.h:
2799
2800 2011-09-14  Antoine Labour  <piman@chromium.org>
2801
2802         Remove the dependency on GraphicsLayer from CCLayerTreeHost.
2803         Move root layer management into the NonCompositedContentHost.
2804         Have WebViewImpl create a NonCompositedContentHost explicitly.
2805         https://bugs.webkit.org/show_bug.cgi?id=67883
2806
2807         Reviewed by James Robinson.
2808
2809         * src/WebViewImpl.cpp:
2810         (WebKit::WebViewImpl::setRootGraphicsLayer):
2811         (WebKit::WebViewImpl::invalidateRootLayerRect):
2812         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2813         (WebKit::WebViewImpl::updateLayerTreeViewport):
2814         (WebKit::WebViewImpl::setVisibilityState):
2815         * src/WebViewImpl.h:
2816
2817 2011-09-14  Nebojsa Ciric  <cira@chromium.org>
2818
2819         Changed WebKit.gyp to use the new grit version of the scripts that handle
2820         .pak files.
2821         https://bugs.webkit.org/show_bug.cgi?id=68013
2822
2823         Reviewed by Tony Chang.
2824
2825         * DEPS:
2826         * WebKit.gyp:
2827
2828 2011-09-14  Anders Carlsson  <andersca@apple.com>
2829
2830         Fix Chromium build.
2831
2832         * src/ResourceHandle.cpp:
2833
2834 2011-09-13  Eric Seidel  <eric@webkit.org>
2835
2836         Remove ENABLE_SVG_USE as <use> is required by HTML5
2837         https://bugs.webkit.org/show_bug.cgi?id=68019
2838
2839         Reviewed by Ryosuke Niwa.
2840
2841         * features.gypi:
2842
2843 2011-09-13  Adam Barth  <abarth@webkit.org>
2844
2845         [Chromium] The checked state of WebPopupMenuItem isn't initialized
2846         https://bugs.webkit.org/show_bug.cgi?id=67889
2847
2848         Reviewed by Darin Fisher.
2849
2850         It seems we're failing to initialize the checked state of
2851         WebPopupMenuItems, potentially because Android is the first platform to
2852         use popup menus for <select> elements.
2853
2854         * src/ExternalPopupMenu.cpp:
2855         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
2856
2857 2011-09-13  Eric Seidel  <eric@webkit.org>
2858
2859         Remove ENABLE_SVG_FOREIGN_OBJECT as it is a required part of HTML5
2860         https://bugs.webkit.org/show_bug.cgi?id=68018
2861
2862         Reviewed by Ryosuke Niwa.
2863
2864         * features.gypi:
2865
2866 2011-09-13  James Simonsen  <simonjam@chromium.org>
2867
2868         [Chromium] Ref protect element in FrameLoaderClientImpl::createPlugin
2869         https://bugs.webkit.org/show_bug.cgi?id=68014
2870
2871         Reviewed by Nate Chapin.
2872
2873         Test: plugins/destroy-during-npp-new.htm under valgrind
2874
2875         * src/FrameLoaderClientImpl.cpp:
2876         (WebKit::FrameLoaderClientImpl::createPlugin):
2877
2878 2011-09-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2879
2880         Unreviewed.  Rolled DEPS.
2881
2882         * DEPS:
2883
2884 2011-09-12  Fumitoshi Ukai  <ukai@chromium.org>
2885
2886         Unreviewed. Roll DEPS again.
2887
2888         * DEPS:
2889
2890 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2891
2892         Unreviewed, rolling out r95015.
2893         http://trac.webkit.org/changeset/95015
2894         https://bugs.webkit.org/show_bug.cgi?id=67987
2895
2896         compiled failed on Chromium Win bot (Requested by ukai on
2897         #webkit).
2898
2899         * DEPS:
2900
2901 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2902
2903         Unreviewed.  Rolled DEPS.
2904
2905         * DEPS:
2906
2907 2011-09-12  David Levin  <levin@chromium.org>
2908
2909         [chromium] Remove AllowCrossThreadAccess for WorkerFileWriterCallbacksBridge.
2910         https://bugs.webkit.org/show_bug.cgi?id=67943
2911
2912         Reviewed by Adam Barth.
2913
2914         * src/WorkerFileWriterCallbacksBridge.cpp: Removed AllowCrossThreadAccess
2915         allowing the automatic ref counting to work. This was previous needed when
2916         the ref counting wasn't working but that was fixed in r94986. Note that the
2917         design was to have ref counting since the methods take PassRefPtr and the
2918         class is ThreadSafeRefCounted. (Ideally we have noticed this flaw when
2919         adding in AllowCrossThreadAccess.)
2920         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
2921         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
2922         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
2923         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
2924         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
2925         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
2926         (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
2927         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
2928         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
2929
2930 2011-09-08  Nat Duca  <nduca@chromium.org>
2931
2932         [chromium] Add GraphicsContext3DPrivate:createGraphicsContextForAnotherThread
2933         https://bugs.webkit.org/show_bug.cgi?id=67832
2934
2935         The compositor thread needs to create a GraphicsContext3D without
2936         actually making it current. In previous attempts at doing this, we
2937         modified all graphics3D creation to not make the contexts current, but
2938         this prove to be shockingly fragile. Since this is a very
2939         Chromium-specific behavior, this patch makes creationForAnotherThread a
2940         method on the private GraphicsContext3D interface.
2941         GraphicsContext3D::create behaves as usual.
2942
2943         Reviewed by Kenneth Russell.
2944
2945         * src/GraphicsContext3DChromium.cpp:
2946         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2947         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
2948         (WebCore::GraphicsContext3D::create):
2949         * src/GraphicsContext3DPrivate.h:
2950         * src/WebViewImpl.cpp:
2951         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2952         (WebKit::WebViewImpl::graphicsContext3D):
2953         * tests/MockGraphicsContext3DTest.cpp:
2954         (TEST):
2955
2956 2011-09-11  Jeremy Moskovich  <jeremy@chromium.org>
2957
2958         [Chromium] Change OOP Font loading code to use CGFont*() APIs.
2959         https://bugs.webkit.org/show_bug.cgi?id=66935
2960
2961         This change is necessary due a bug in ATSFontDeactivate() on 10.7.
2962         See crbug.com/93191 for details.
2963
2964         Reviewed by Eric Seidel.
2965
2966         * public/mac/WebSandboxSupport.h:
2967         * src/PlatformBridge.cpp:
2968         (WebCore::PlatformBridge::loadFont):
2969
2970 2011-09-11  Adam Barth  <abarth@webkit.org>
2971
2972         [Chromium] Add more key codes to WebInputEvent for Android
2973         https://bugs.webkit.org/show_bug.cgi?id=67887
2974
2975         Reviewed by Darin Fisher.
2976
2977         * src/WebInputEvent.cpp:
2978         (WebKit::staticKeyIdentifiers):
2979
2980 2011-09-09  Fady Samuel  <fsamuel@chromium.org>
2981
2982         Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
2983         https://bugs.webkit.org/show_bug.cgi?id=67250
2984
2985         Reviewed by Simon Fraser.
2986
2987         * src/WebViewImpl.cpp:
2988         (WebKit::WebViewImpl::pageScaleFactor):
2989         (WebKit::WebViewImpl::scalePage):
2990
2991 2011-09-09  Hao Zheng  <zhenghao@chromium.org>
2992
2993         [chromium] Implement DRT support for Android.
2994         https://bugs.webkit.org/show_bug.cgi?id=67590
2995
2996         Reviewed by Tony Chang.
2997
2998         Exclude Android specific files of DRT from other platforms.
2999
3000         * WebKit.gyp:
3001
3002 2011-09-09  Hao Zheng  <zhenghao@chromium.org>
3003
3004         [Chromium] Add WebSandboxSupport and WebThemeEngine for Android.
3005         https://bugs.webkit.org/show_bug.cgi?id=67584
3006
3007         Reviewed by Steve Block.
3008
3009         Make src/PlatformSupport.cpp and src/WebFrameImpl.cpp compile on
3010         Chromium port for Android.
3011
3012         * WebKit.gyp:
3013         * public/android: Added.
3014         * public/android/WebSandboxSupport.h: Added.
3015         * public/android/WebThemeEngine.h: Added.
3016         (WebKit::WebThemeEngine::getSize):
3017         (WebKit::WebThemeEngine::paint):
3018         * src/PlatformSupport.cpp:
3019         (WebCore::PlatformSupport::getFontFamilyForCharacters):
3020         (WebCore::PlatformSupport::getRenderStyleForStrike):
3021         * src/WebFrameImpl.cpp:
3022
3023 2011-09-09  Martin Kosiba  <mkosiba@chromium.org>
3024
3025         Exposing the isLink method on WebNode for the Chromium port on Android.
3026
3027         Reviewed by Darin Fisher.
3028
3029         * public/WebNode.h:
3030         * src/WebNode.cpp:
3031         (WebKit::WebNode::isLink):
3032
3033 2011-09-08  Adam Barth  <abarth@webkit.org>
3034
3035         Another attempt to fix the Chromium build.  (Missed one.)
3036
3037         * src/WebPageSerializerImpl.cpp:
3038         (WebKit::WebPageSerializerImpl::serialize):
3039
3040 2011-09-08  Adam Barth  <abarth@webkit.org>
3041
3042         Attempt to fix Chromium build.  We can just grab the encoding from the document.
3043
3044         * src/ContextMenuClientImpl.cpp:
3045         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3046         * src/WebDocument.cpp:
3047         (WebKit::WebDocument::encoding):
3048         * src/WebPageSerializerImpl.cpp:
3049         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3050         * src/WebSearchableFormData.cpp:
3051         (HTMLNames::GetFormEncoding):
3052         * src/WebViewImpl.cpp:
3053         (WebKit::WebViewImpl::pageEncoding):
3054
3055 2011-09-08  W. James MacLean  <wjmaclean@chromium.org>
3056
3057         [chromium] Add backend compositor support for rescaling (zooming) textures during zoom animation.
3058         https://bugs.webkit.org/show_bug.cgi?id=66472
3059
3060         This patch contains plumbing from Internals to WebViewImpl that can be removed
3061         at a later time when the zoom animator code is complete.
3062
3063         Reviewed by James Robinson.
3064
3065         * src/WebViewImpl.cpp:
3066         (WebKit::WebViewImpl::setZoomLevel):
3067         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3068
3069 2011-09-08  Scott Byer  <scottbyer@chromium.org>
3070
3071         Compile in ScrollAnimator for Chromium on all platforms by default.
3072         https://bugs.webkit.org/show_bug.cgi?id=67650
3073
3074         Reviewed by Adam Barth.
3075
3076         * features.gypi:
3077
3078 2011-09-07  Adam Barth  <abarth@webkit.org>
3079
3080         FrameLoader::addExtraFieldsToRequest can crash when called from or after FrameLoader::detachFromParent
3081         https://bugs.webkit.org/show_bug.cgi?id=61810
3082
3083         Reviewed by Eric Seidel.
3084
3085         Fix this crash as suggested by Darin Fisher in
3086         https://bugs.webkit.org/show_bug.cgi?id=61810#c21.  This patch does not
3087         include the test requested by Alexey Proskuryakov in
3088         https://bugs.webkit.org/show_bug.cgi?id=61810#c6.  I would really much
3089         rather include a test with this patch, but my attempts to write a test
3090         have failed.  :(
3091
3092         * src/WebPluginContainerImpl.cpp:
3093         (WebKit::WebPluginContainerImpl::loadFrameRequest):
3094
3095 2011-09-07  Eric Boren  <borenet@gmail.com>
3096
3097         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
3098         https://bugs.webkit.org/show_bug.cgi?id=66800
3099
3100         Reviewed by Darin Fisher.
3101
3102         * public/WebInputEvent.h:
3103         (WebKit::WebTouchEvent::WebTouchEvent):
3104         * public/WebTouchPoint.h:
3105         (WebKit::WebTouchPoint::WebTouchPoint):
3106         * src/WebInputEventConversion.cpp:
3107         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
3108         (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
3109         * src/WebInputEventConversion.h:
3110
3111 2011-09-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3112
3113         Unreviewed, rolling out r94635.
3114         http://trac.webkit.org/changeset/94635
3115         https://bugs.webkit.org/show_bug.cgi?id=67704
3116
3117         Linux Touch build is failing to compile this change.
3118         (Requested by loislo on #webkit).
3119
3120         * public/WebInputEvent.h:
3121         (WebKit::WebTouchEvent::WebTouchEvent):
3122         * public/WebTouchPoint.h:
3123         (WebKit::WebTouchPoint::WebTouchPoint):
3124         * src/WebInputEventConversion.cpp:
3125         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
3126         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
3127         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
3128         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
3129         * src/WebInputEventConversion.h:
3130
3131 2011-09-05  Yury Semikhatsky  <yurys@chromium.org>
3132
3133         [Chromium] Web Inspector: repair console sniffing for interactive ui tests
3134         https://bugs.webkit.org/show_bug.cgi?id=67608
3135
3136         Reviewed by Pavel Feldman.
3137
3138         * src/js/Tests.js:
3139         (.TestSuite.prototype.evaluateInConsole_):
3140
3141 2011-09-06  Eric Boren  <borenet@gmail.com>
3142
3143         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
3144         https://bugs.webkit.org/show_bug.cgi?id=66800
3145
3146         Reviewed by Darin Fisher.
3147
3148         * public/WebInputEvent.h:
3149         (WebKit::WebTouchEvent::WebTouchEvent):
3150         * public/WebTouchPoint.h:
3151         (WebKit::WebTouchPoint::WebTouchPoint):
3152         * src/WebInputEventConversion.cpp:
3153         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
3154         (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
3155         * src/WebInputEventConversion.h:
3156
3157 2011-09-06  Ben Smith  <binji@chromium.org>
3158
3159         [chromium] Fix WebFrameClient receiving isRedirect when reloading
3160         https://bugs.webkit.org/show_bug.cgi?id=63591
3161
3162         Reviewed by Adam Barth.
3163
3164         Fix bug when quickly reloading a WebFrame where the
3165         WebFrameClient would get called with decidePolicyForNavigation
3166         isRedirect=true.
3167
3168         * src/FrameLoaderClientImpl.cpp:
3169         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
3170         * src/WebDataSourceImpl.h:
3171         (WebKit::WebDataSourceImpl::isRedirect):
3172         * tests/WebFrameTest.cpp:
3173         (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
3174         (WebKit::TestReloadDoesntRedirectWebFrameClient::cancelledError):
3175         (WebKit::TEST_F):
3176
3177 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
3178
3179         Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
3180         https://bugs.webkit.org/show_bug.cgi?id=67569
3181
3182         Reviewed by Antonio Gomes.
3183
3184         * src/WebFrameImpl.cpp:
3185         (WebKit::WebFrameImpl::unmarkText):
3186
3187 2011-09-06  Adam Barth  <abarth@webkit.org>
3188
3189         [Chromium] Add WebFloatQuad.h for Android
3190         https://bugs.webkit.org/show_bug.cgi?id=67573
3191
3192         Reviewed by Darin Fisher.
3193
3194         Android uses this wrapper of WebCore::FloatQuad in some API methods
3195         (which will appear in subsequent patches).
3196
3197         * WebKit.gyp:
3198         * public/WebFloatQuad.h: Added.
3199         * src/WebFloatQuad.cpp: Added.
3200
3201 2011-09-06  Adam Barth  <abarth@webkit.org>
3202
3203         [Chromium] Add didAcceptIndices to ExternalPopupMenuClient for Android
3204         https://bugs.webkit.org/show_bug.cgi?id=67574
3205
3206         Reviewed by Darin Fisher.
3207
3208         In Android, external popup menus can admit multiple selection (e.g.,
3209         for listboxes presented using external UI).
3210
3211         * public/WebExternalPopupMenuClient.h:
3212         * src/ExternalPopupMenu.cpp:
3213         (WebKit::ExternalPopupMenu::didAcceptIndices):
3214         * src/ExternalPopupMenu.h:
3215
3216 2011-09-06  Aaron Colwell  <acolwell@chromium.org>
3217
3218         Allow MediaSource API to be enabled at runtime.
3219         https://bugs.webkit.org/show_bug.cgi?id=67306
3220
3221         Reviewed by Eric Carlson.
3222
3223         * public/WebRuntimeFeatures.h:
3224         * src/WebRuntimeFeatures.cpp:
3225         (WebKit::WebRuntimeFeatures::enableMediaSource):
3226         (WebKit::WebRuntimeFeatures::isMediaSourceEnabled):
3227
3228 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
3229
3230         REGRESSION(r94274): FormManagerTest.PreviewForm and FillFormNonEmptyField fail on chromium
3231         https://bugs.webkit.org/show_bug.cgi?id=67453
3232
3233         Reviewed by Kent Tamura.
3234
3235         Chromium code incorrectly calls Node::isFocusable without updating layout, and was hitting assertions.
3236         Fix the assertion failure (and a potential crash) by updating layout in WebCore::isFocusable.
3237
3238         * src/WebNode.cpp:
3239         (WebKit::WebNode::isFocusable):
3240
3241 2011-09-04  Adam Barth  <abarth@webkit.org>
3242
3243         [Chromium] Add mutliple to WebPopupMenuInfo for Android
3244         https://bugs.webkit.org/show_bug.cgi?id=67576
3245
3246         Reviewed by Darin Fisher.
3247
3248         This flag requests that the embedder allow multiple selection for the
3249         popup menu.  (See also https://bugs.webkit.org/show_bug.cgi?id=67574.)
3250
3251         * public/WebPopupMenuInfo.h:
3252         * src/ExternalPopupMenu.cpp:
3253         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
3254
3255 2011-09-04  Adam Barth  <abarth@webkit.org>
3256
3257         [Chromium] Add memory threshold values to WebKitPlatformSupport.h
3258         https://bugs.webkit.org/show_bug.cgi?id=67575
3259
3260         Reviewed by Darin Fisher.
3261
3262         Instead of hard-coding these values, we now grab them from
3263         WebKitPlatformSupport because Android wishes to configure them on a
3264         per-device basis.
3265
3266         One could view grabing these values from PlatformSupport as a bit of a
3267         layering violation (because they feel like policy), but another view is
3268         that the alternative implementation is to query the OS for various
3269         memory parameters.  In either case, getting these values via
3270         PlatformSupport is much easier and consistent with the other memory
3271         related queries in PlatformSupport already.
3272
3273         * public/WebKitPlatformSupport.h:
3274         (WebKit::WebKitPlatformSupport::lowMemoryUsageMB):
3275         (WebKit::WebKitPlatformSupport::highMemoryUsageMB):
3276         (WebKit::WebKitPlatformSupport::highUsageDeltaMB):
3277         * src/PlatformSupport.cpp:
3278         (WebCore::PlatformSupport::lowMemoryUsageMB):
3279         (WebCore::PlatformSupport::highMemoryUsageMB):
3280         (WebCore::PlatformSupport::highUsageDeltaMB):
3281
3282 2011-09-02  Adam Barth  <abarth@webkit.org>
3283
3284         Remove WebKitClient.h
3285         https://bugs.webkit.org/show_bug.cgi?id=67539
3286
3287         Reviewed by Sam Weinig.
3288
3289         This API no longer has any callers.
3290
3291         * WebKit.gyp:
3292         * public/WebKit.h:
3293         * public/WebKitClient.h: Removed.
3294         * src/WebKit.cpp:
3295
3296 2011-09-02  Bill Budge  <bbudge@chromium.org>
3297
3298         Add a 'didDownloadData' method to ResourceHandleInternal and pass these
3299         notifications to WebURLLoaderClients.
3300         https://bugs.webkit.org/show_bug.cgi?id=67229
3301
3302         Reviewed by Darin Fisher.
3303
3304         * src/AssociatedURLLoader.cpp:
3305         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3306         (WebKit::AssociatedURLLoader::ClientAdapter::didDownloadData):
3307         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3308         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3309         * src/ResourceHandle.cpp:
3310         (WebCore::ResourceHandleInternal::didDownloadData):
3311         * src/ResourceHandleInternal.h:
3312
3313 2011-09-02  Peng Huang  <penghuang@chromium.org>
3314
3315         Need API for getting surrounding text from webkit in chromium
3316         https://bugs.webkit.org/show_bug.cgi?id=66681
3317
3318         Reviewed by Ryosuke Niwa.
3319
3320         Add getSelectionOffsetsAndTextInEditableContent() to Chromium's
3321         WebViewImpl. This function is for supporting some input methods which
3322         need input context around the edit caret.
3323
3324         * public/WebWidget.h:
3325         (WebKit::WebWidget::getSelectionOffsetsAndTextInEditableContent):
3326         * src/WebViewImpl.cpp:
3327         (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
3328         * src/WebViewImpl.h:
3329
3330 2011-09-02  Sheriff Bot  <webkit.review.bot@gmail.com>
3331
3332         Unreviewed.  Rolled DEPS.
3333
3334         * DEPS:
3335
3336 2011-09-02  Adrienne Walker  <enne@google.com>
3337
3338         [chromium] Remove LayerRendererChromium references from the LayerChromium tree
3339         https://bugs.webkit.org/show_bug.cgi?id=66430
3340
3341         Reviewed by James Robinson.
3342
3343         Change references to LayerRendererChromium to CCLayerTreeHost.
3344
3345         * src/WebMediaPlayerClientImpl.cpp:
3346         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
3347
3348 2011-09-01  Robert Kroeger  <rjkroege@chromium.org>
3349
3350  
3351         [chromium] Code cleanup FIXME in Chromium recognizer
3352         https://bugs.webkit.org/show_bug.cgi?id=67448
3353
3354         Updated GestureRecognizer unit tests for more encapsulated
3355         gesture recognizer implementation.
3356
3357         Reviewed by Adam Barth.
3358
3359         * tests/InnerGestureRecognizerTest.cpp:
3360         (InspectableGestureRecognizerChromium::InspectableGestureRecognizerChromium):
3361         (InspectableGestureRecognizerChromium::signature):
3362         (InspectableGestureRecognizerChromium::edgeFunction):
3363         (InspectableGestureRecognizerChromium::updateValues):
3364         (InspectableGestureRecognizerChromium::addEdgeFunction):
3365         (InspectableGestureRecognizerChromium::setStateTest):
3366         (InspectableGestureRecognizerChromium::isInsideManhattanSquare):
3367         (InspectableGestureRecognizerChromium::isInClickTimeWindow):
3368         (InspectableGestureRecognizerChromium::stubEdgeFunction):
3369         (GestureRecognizerTest::GestureRecognizerTest):
3370         (TEST_F):
3371
3372 2011-09-01  Brian Salomon  <bsalomon@google.com>
3373
3374         [Chromium, Skia] Add virtual to WebGraphicsContext3D to create a new GrGLInterface per context. Insert per-skia-GL-function callback to set correct GL context.
3375         https://bugs.webkit.org/show_bug.cgi?id=67395
3376
3377         Reviewed by Kenneth Russell.
3378
3379         * WebKit.gyp:
3380         * public/WebGraphicsContext3D.h:
3381         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
3382         * src/GraphicsContext3DChromium.cpp:
3383         (WebCore::GraphicsContext3DPrivate::grContext):
3384         * src/WebGraphicsContext3D.cpp: Added.
3385         (WebKit::WebGraphicsContext3D::createGrGLInterface):
3386
3387 2011-08-29  Nat Duca  <nduca@chromium.org>
3388
3389         [chromium] Introduce CCSingleThreadProxy in order to move LayerRenderer to CCLayerTreeHostImpl
3390         https://bugs.webkit.org/show_bug.cgi?id=66807
3391
3392         Reviewed by James Robinson.
3393
3394         * src/WebViewImpl.cpp:
3395         (WebKit::WebViewImpl::composite):
3396         (WebKit::WebViewImpl::setRootGraphicsLayer):
3397         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3398         (WebKit::WebViewImpl::didRecreateGraphicsContext):
3399         * tests/CCThreadTaskTest.cpp:
3400         (WebCore::TEST):
3401
3402 2011-09-01  Dominic Mazzoni  <dmazzoni@google.com>
3403
3404         Add API functions to enable starting and stopping speech input,
3405         and checking the current speech input state.
3406         https://bugs.webkit.org/show_bug.cgi?id=60170
3407
3408         Reviewed by Dimitri Glazkov.
3409
3410         * public/WebInputElement.h:
3411         * src/AssertMatchingEnums.cpp:
3412         * src/WebInputElement.cpp:
3413         (WebKit::WebInputElement::isSpeechInputEnabled):
3414         (WebKit::WebInputElement::getSpeechInputState):
3415         (WebKit::WebInputElement::startSpeechInput):
3416         (WebKit::WebInputElement::stopSpeechInput):
3417
3418 2011-08-31  Greg Billock  <gbillock@google.com>
3419
3420         Add pass-throughs for NPObject/v8::Value marshalling to WebBindings
3421         https://bugs.webkit.org/show_bug.cgi?id=67302
3422
3423         Reviewed by Darin Fisher.
3424
3425         * public/WebBindings.h:
3426         * src/WebBindings.cpp:
3427         (WebKit::WebBindings::toNPVariant):
3428         (WebKit::WebBindings::toV8Value):
3429         * src/WebSerializedScriptValue.cpp:
3430         (WebKit::WebSerializedScriptValue::serialize):
3431
3432 2011-08-31  Adam Barth  <abarth@webkit.org>
3433
3434         [Chromium] Rename PlatformBridge to PlatformSupport
3435         https://bugs.webkit.org/show_bug.cgi?id=67349
3436
3437         Reviewed by Darin Fisher.
3438
3439         This matches the WebKitPlatformSupport embedder API.
3440
3441         * WebKit.gyp:
3442         * src/AssertMatchingEnums.cpp:
3443         * src/ChromeClientImpl.cpp:
3444         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
3445         * src/PlatformBridge.cpp: Removed.
3446         * src/ResourceHandle.cpp:
3447         (WebCore::ResourceHandle::cacheMetadata):
3448         * src/WebFrameImpl.cpp:
3449         (WebKit::WebFrameImpl::WebFrameImpl):
3450         (WebKit::WebFrameImpl::~WebFrameImpl):
3451         * src/WebViewImpl.cpp:
3452         (WebKit::WebViewImpl::paint):
3453         (WebKit::WebViewImplContentPainter::paint):
3454         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3455
3456 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
3457
3458         Chromium Mac: PDF: Scrollsbars should be visible when scrolling using the two finger gesture on Lion
3459         https://bugs.webkit.org/show_bug.cgi?id=66599
3460
3461         Reviewed by Darin Fisher.
3462
3463         Overlay scrollbars over a pdf wouldn't stay visible if a gesture was in progress. Normally we use a beginScrollGesture and endScrollGesture to keep the scrollbars visible. Unfortunately PDFs didn't handle gesture events so we didn't get the begin/end gesture events.
3464
3465         This change pipes gesture events to WebPluginContainerImpl if possible. This fixes this bug.
3466
3467         * src/WebPluginContainerImpl.cpp:
3468         (WebKit::WebPluginContainerImpl::handleGestureEvent):
3469         * src/WebPluginContainerImpl.h:
3470         * src/WebViewImpl.cpp:
3471         (WebKit::WebViewImpl::gestureEvent):
3472
3473 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
3474
3475         Chromium Mac: Add fallback for drawing PDF overhang area
3476         https://bugs.webkit.org/show_bug.cgi?id=66614
3477
3478         Reviewed by Darin Fisher.
3479
3480         This change adds a fallback for overhang drawing for PDF content. This fallback is needed until the PDF plugin uses the linen pattern to draw its own overhang.
3481
3482         * src/ChromeClientImpl.cpp:
3483         (WebKit::ChromeClientImpl::paintCustomOverhangArea):
3484         * src/ChromeClientImpl.h:
3485         * src/WebPluginContainerImpl.cpp:
3486         (WebKit::WebPluginContainerImpl::paintCustomOverhangArea):
3487         * src/WebPluginContainerImpl.h:
3488
3489 2011-08-31  James Weatherall  <wez@chromium.org>
3490
3491         [chromium] Have the FrameLoaderClient release any plugin widget
3492         reference is holding when the FrameLoader detaches it, to ensure that
3493         the plugin won't out-live the containing page.
3494         https://bugs.webkit.org/show_bug.cgi?id=66517
3495
3496         Reviewed by Darin Fisher.
3497
3498         * src/FrameLoaderClientImpl.cpp:
3499         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
3500
3501 2011-08-31  Adam Barth  <abarth@webkit.org>
3502
3503         [Chromium] Rename WebKitClient to WebKitPlatformSupport
3504         https://bugs.webkit.org/show_bug.cgi?id=67309
3505
3506         Reviewed by Darin Fisher.
3507
3508         WebKitClient doesn't actually represent the WebKit Client.  Instead, it
3509         represents supporting code for the WebKit Platform.  This patch renames
3510         WebKitClient to WebKitPlatformSupport to make it easier for folks to
3511         understand the difference between the Client and the Platform.
3512
3513         This patch includes shims so as not to break the Chromium build.  Once
3514         the Chromium side is updated, I'll remove the shims.
3515
3516         * WebKit.gyp:
3517         * public/WebFrameClient.h:
3518         * public/WebKit.h:
3519         (WebKit::webKitClient):
3520         * public/WebKitClient.h: Removed.
3521         * public/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitClient.h.
3522         (WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
3523         * src/ApplicationCacheHostInternal.h:
3524         * src/AssociatedURLLoader.cpp:
3525         * src/AsyncFileSystemChromium.cpp:
3526         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
3527         * src/AudioDestinationChromium.cpp:
3528         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3529         (WebCore::AudioDestination::hardwareSampleRate):