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