Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: Source/WebKit/chromium/ChangeLog

Issue 10541145: Merge 120219 - [Chromium] WebFrameImpl::find doesn't work for searching from a selection. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 2012-06-13 Martin Kosiba <mkosiba@google.com>
2
3 [Chromium] WebFrameImpl::find doesn't work for searching from a selectio n.
4 https://bugs.webkit.org/show_bug.cgi?id=88885
5
6 Reviewed by Adam Barth.
7
8 Remember the active match not just until the seatchText changes but for the entire find session.
9
10 * src/WebFrameImpl.cpp:
11 (WebKit::WebFrameImpl::find):
12 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
13
14 2012-06-13 Peter Beverloo <peter@chromium.org>
15
16 [Chromium] Fix Clang build with USE(NATIVE_FULLSCREEN_VIDEO)=1
17 https://bugs.webkit.org/show_bug.cgi?id=88987
18
19 Reviewed by Simon Hausmann.
20
21 The enterFullscreen method is declared as const by MediaPlayerPrivateInt erface,
22 so this one should be declared as such as well.
23
24 Patch by Evgeniy Stepanov <eugenis@google.com>
25
26 * src/WebMediaPlayerClientImpl.cpp:
27 (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
28 * src/WebMediaPlayerClientImpl.h:
29 (WebMediaPlayerClientImpl):
30
31 2012-06-13 MORITA Hajime <morrita@google.com>
32
33 REGRESSION(r118098): <content> element does not render distributed child ren when cloned from another document
34 https://bugs.webkit.org/show_bug.cgi?id=88148
35
36 Reviewed by Dimitri Glazkov.
37
38 - Added ContextFeaturesClientImpl which implements WebCore::ContextFeatu resClient.
39 - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
40
41 * WebKit.gyp:
42 * public/WebPermissionClient.h:
43 (WebKit):
44 (WebKit::WebPermissionClient::allowWebComponents):
45 * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/binding s/generic/ContextEnabledFeatures.cpp.
46 (WebKit):
47 (WebKit::ContextFeaturesClientImpl::isEnabled):
48 * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/ generic/ContextEnabledFeatures.h.
49 (WebKit):
50 (ContextFeaturesClientImpl):
51 (WebKit::ContextFeaturesClientImpl::ContextFeaturesClientImpl):
52 (WebKit::ContextFeaturesClientImpl::setPermissionClient):
53 * src/FrameLoaderClientImpl.cpp:
54 * src/FrameLoaderClientImpl.h:
55 (FrameLoaderClientImpl):
56 * src/WebPagePopupImpl.cpp:
57 (PagePopupFeaturesClient):
58 (WebKit::PagePopupFeaturesClient::isEnabled):
59 (WebKit):
60 (WebKit::WebPagePopupImpl::initPage):
61 * src/WebViewImpl.cpp:
62 (WebKit::WebViewImpl::setPermissionClient):
63 (WebKit::WebViewImpl::WebViewImpl):
64 * src/WebViewImpl.h:
65 (WebKit):
66
67 2012-06-12 Ian Vollick <vollick@chromium.org>
68
69 [chromium] Roll chromium rev in DEPS
70 https://bugs.webkit.org/show_bug.cgi?id=88934
71
72 Reviewed by James Robinson.
73
74 Rolling to 141410
75
76 * DEPS:
77
78 2012-06-12 James Robinson <jamesr@chromium.org>
79
80 [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
81 https://bugs.webkit.org/show_bug.cgi?id=88597
82
83 Reviewed by Adrienne Walker.
84
85 Implementations for new WebExternalTextureLayer APIs, updates test.
86
87 * src/WebExternalTextureLayer.cpp:
88 (WebKit::WebExternalTextureLayer::willModifyTexture):
89 (WebKit):
90 (WebKit::WebExternalTextureLayer::setRateLimitContext):
91 * tests/Canvas2DLayerBridgeTest.cpp:
92 (Canvas2DLayerBridgeTest::fullLifecycleTest):
93
94 2012-06-12 Adrienne Walker <enne@google.com>
95
96 [chromium] Paint scrollbars on WebKit thread and composite those texture s
97 https://bugs.webkit.org/show_bug.cgi?id=88145
98
99 Reviewed by James Robinson.
100
101 Remove scrollbarLayerLostContext test that no longer makes sense. The
102 compositor won't draw at all after a lost context if it has no
103 contents.
104
105 * tests/CCLayerTreeHostImplTest.cpp:
106
107 2012-06-12 Joshua Bell <jsbell@chromium.org>
108
109 IndexedDB: ObjectStore/Index shouldn't hold reference to backing store
110 https://bugs.webkit.org/show_bug.cgi?id=83074
111
112 Reviewed by Tony Chang.
113
114 * WebKit.gypi:
115 * tests/IDBDatabaseBackendTest.cpp: Added.
116 (WebCore):
117 (WebCore::TEST):
118
119 2012-06-12 Dana Jansens <danakj@chromium.org>
120
121 [chromium] Set contentBounds() on impl layers in CCLayerTreeHostCommonTe sts
122 https://bugs.webkit.org/show_bug.cgi?id=88903
123
124 Reviewed by Adrienne Walker.
125
126 Without setting the contentBounds() on impl layers, the visibleLayerRect
127 will be wrong. This is not the case for main-thread layers, which most
128 of the tests in this file use. But this is a potential serious confusion
129 for future test implementors so I'd like to make it explicit now.
130
131 * tests/CCLayerTreeHostCommonTest.cpp:
132
133 2012-06-12 Dana Jansens <danakj@chromium.org>
134
135 [chromium] Return empty visibleLayerRect for layers with empty content b ounds
136 https://bugs.webkit.org/show_bug.cgi?id=88901
137
138 Reviewed by Adrienne Walker.
139
140 * tests/CCLayerTreeHostImplTest.cpp:
141
142 2012-06-12 Mark Mentovai <mark@chromium.org>
143
144 [chromium mac] Don't #include things in subframeworks of
145 ApplicationServices.framework.
146
147 #including the umbrella <ApplicatonServices/ApplicationServices.h>
148 exposed an ambiguous name, FontMetrics, that needs to be fully
149 qualified as WebCore::FontMetrics.
150
151 https://bugs.webkit.org/show_bug.cgi?id=88569
152
153 Reviewed by Stephen White.
154
155 * src/WebFontImpl.cpp:
156 (WebKit::WebFontImpl::estimateTextBounds):
157
158 2012-06-12 James Robinson <jamesr@chromium.org>
159
160 [chromium] REGRESSION(119769): Canvas2DLayerBridge may go away before it s TextureLayerChromium
161 https://bugs.webkit.org/show_bug.cgi?id=88910
162
163 Reviewed by Adrienne Walker.
164
165 New unit test to verify that we can still update a TextureLayerChromium after the bridge owning it has gone
166 away.
167
168 * tests/Canvas2DLayerBridgeTest.cpp:
169
170 2012-06-12 Adrienne Walker <enne@google.com>
171
172 [chromium] Fix incorrect LayerChromium scroll position for RTL overflow pages
173 https://bugs.webkit.org/show_bug.cgi?id=88887
174
175 Reviewed by James Robinson.
176
177 The scroll position on layers needs to take into account the scroll
178 origin, since RTL pages start scrolled all the way to the right.
179 Otherwise, when scrolling left the scroll position incorrectly will go
180 negative, causing havok in scrollbar theme code that just assumes that
181 it's always scrolled all the way to the left.
182
183 Also, now that the scroll origin is passed into NCCH, handle
184 scrollOrigin.y() for layer adjusting. This is always zero in practice,
185 but it seemed awkward to just drop it and that assumption could always
186 change in the future.
187
188 * src/NonCompositedContentHost.cpp:
189 (WebKit::NonCompositedContentHost::setViewport):
190 (WebKit::NonCompositedContentHost::paintContents):
191 * src/NonCompositedContentHost.h:
192 (NonCompositedContentHost):
193 * src/WebViewImpl.cpp:
194 (WebKit::WebViewImpl::updateLayerTreeViewport):
195
196 2012-06-12 Shawn Singh <shawnsingh@chromium.org>
197
198 [chromium] Make damage tracking more robust to early exits
199 https://bugs.webkit.org/show_bug.cgi?id=84803
200
201 Reviewed by James Robinson.
202
203 * tests/CCDamageTrackerTest.cpp:
204 (WebKitTests::clearDamageForAllSurfaces):
205 (WebKitTests::TEST_F):
206
207 2012-06-12 Sheriff Bot <webkit.review.bot@gmail.com>
208
209 Unreviewed, rolling out r120051.
210 http://trac.webkit.org/changeset/120051
211 https://bugs.webkit.org/show_bug.cgi?id=88852
212
213 some tests are crashing (Requested by morrita on #webkit).
214
215 * WebKit.gyp:
216 * public/WebPermissionClient.h:
217 (WebKit::WebPermissionClient::allowWebComponents):
218 * src/FrameLoaderClientImpl.cpp:
219 (WebKit::FrameLoaderClientImpl::allowShadowDOM):
220 (WebKit):
221 (WebKit::FrameLoaderClientImpl::allowStyleScoped):
222 * src/FrameLoaderClientImpl.h:
223 (FrameLoaderClientImpl):
224 * src/WebPagePopupImpl.cpp:
225 (WebKit::WebPagePopupImpl::initPage):
226 * src/WebViewImpl.cpp:
227 (WebKit::WebViewImpl::setPermissionClient):
228 (WebKit::WebViewImpl::WebViewImpl):
229 * src/WebViewImpl.h:
230 (WebKit):
231
232 2012-06-12 MORITA Hajime <morrita@google.com>
233
234 REGRESSION(r118098): <content> element does not render distributed child ren when cloned from another document
235 https://bugs.webkit.org/show_bug.cgi?id=88148
236
237 Reviewed by Dimitri Glazkov.
238
239 - Added ContextFeaturesClientImpl which implements WebCore::ContextFeatu resClient.
240 - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
241
242 * WebKit.gyp:
243 * public/WebPermissionClient.h:
244 (WebKit):
245 (WebKit::WebPermissionClient::allowWebComponents):
246 * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/binding s/generic/ContextEnabledFeatures.cpp.
247 (WebKit):
248 (WebKit::ContextFeaturesClientImpl::isEnabled):
249 * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/ generic/ContextEnabledFeatures.h.
250 (WebKit):
251 (ContextFeaturesClientImpl):
252 (WebKit::ContextFeaturesClientImpl::ContextFeaturesClientImpl):
253 (WebKit::ContextFeaturesClientImpl::setPermissionClient):
254 * src/FrameLoaderClientImpl.cpp:
255 * src/FrameLoaderClientImpl.h:
256 (FrameLoaderClientImpl):
257 * src/WebPagePopupImpl.cpp:
258 (PagePopupFeaturesClient):
259 (WebKit::PagePopupFeaturesClient::isEnabled):
260 (WebKit):
261 (WebKit::WebPagePopupImpl::initPage):
262 * src/WebViewImpl.cpp:
263 (WebKit::WebViewImpl::setPermissionClient):
264 (WebKit::WebViewImpl::WebViewImpl):
265 * src/WebViewImpl.h:
266 (WebKit):
267
268 2012-06-11 Nico Weber <thakis@chromium.org>
269
270 Remove unused member variables found by clang's -Wunused-private-field
271 https://bugs.webkit.org/show_bug.cgi?id=88812
272
273 Reviewed by Anders Carlsson.
274
275 * src/AudioDestinationChromium.cpp:
276 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
277 * src/AudioDestinationChromium.h:
278 (AudioDestinationChromium):
279 * src/InspectorFrontendClientImpl.cpp:
280 (WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
281 * src/InspectorFrontendClientImpl.h:
282 (InspectorFrontendClientImpl):
283 * src/WebFrameImpl.cpp:
284 (ChromePluginPrintContext):
285 * src/WebInputEvent.cpp:
286 * src/WorkerAsyncFileSystemChromium.cpp:
287 (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacks Bridge):
288 * src/WorkerAsyncFileWriterChromium.cpp:
289 (WebCore::WorkerAsyncFileWriterChromium::WorkerAsyncFileWriterChromium):
290 * src/WorkerAsyncFileWriterChromium.h:
291 (WorkerAsyncFileWriterChromium):
292 * tests/CCLayerTreeHostTest.cpp:
293 (WTF::CCLayerTreeHostTestSetVisible::CCLayerTreeHostTestSetVisible):
294 (CCLayerTreeHostTestSetVisible):
295
296 2012-06-11 Vincent Scheib <scheib@chromium.org>
297
298 Consolidate Pointer Lock runtime enabled flags to just one.
299 https://bugs.webkit.org/show_bug.cgi?id=88810
300
301 Reviewed by Dimitri Glazkov.
302
303 * src/WebRuntimeFeatures.cpp:
304 (WebKit::WebRuntimeFeatures::enablePointerLock):
305 (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
306
307 2012-06-11 Alexis Menard <alexis.menard@openbossa.org>
308
309 [CSS3 Backgrounds and Borders] Protect box-decoration-break behind a fea ture flag.
310 https://bugs.webkit.org/show_bug.cgi?id=88804
311
312 Reviewed by Tony Chang.
313
314 Protect box-decoration-break behind a feature flag enabled by default.
315
316 * features.gypi:
317
318 2012-05-11 James Robinson <jamesr@chromium.org>
319
320 [chromium] Port DrawingBufferChromium from TextureLayerChromium over to WebExternalTextureLayer
321 https://bugs.webkit.org/show_bug.cgi?id=86273
322
323 Reviewed by Adrienne Walker.
324
325 * src/WebExternalTextureLayer.cpp:
326 (WebTextureUpdaterImpl):
327 (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
328 (WebKit):
329 (WebExternalTextureLayerImpl):
330 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
331 (WebKit::WebExternalTextureLayer::create):
332 (WebKit::WebExternalTextureLayer::clearClient):
333 (WebKit::WebExternalTextureLayer::setOpaque):
334 (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
335
336 2012-06-11 Dana Jansens <danakj@chromium.org>
337
338 [chromium] Separate CCVideoDrawQuad and from the layer tree and video pr ovider by removing ManagedTexture and WebVideoFrame pointers from the quad
339 https://bugs.webkit.org/show_bug.cgi?id=88363
340
341 Reviewed by Adrienne Walker.
342
343 * tests/CCLayerTreeHostImplTest.cpp:
344 * tests/CCTiledLayerTestCommon.h:
345 (WebKitTests::FakeTextureCopier::copyToTexture):
346 * tests/Canvas2DLayerChromiumTest.cpp:
347
348 2012-06-11 Joshua Bell <jsbell@chromium.org>
349
350 IndexedDB: Object stores are not successfully deleted
351 https://bugs.webkit.org/show_bug.cgi?id=88788
352
353 Reviewed by Tony Chang.
354
355 * tests/IDBLevelDBCodingTest.cpp:
356 (IDBLevelDBCoding::TEST):
357
358 2012-06-11 Shawn Singh <shawnsingh@chromium.org>
359
360 [chromium] Implement position:fixed in compositor thread
361 https://bugs.webkit.org/show_bug.cgi?id=70103
362
363 Reviewed by Adrienne Walker.
364
365 * tests/CCLayerTreeHostCommonTest.cpp:
366
367 2012-06-11 Sam Weinig <sam@webkit.org>
368
369 Remove support for disconnected/excluded from search frames, they are no t used by Safari anymore
370 https://bugs.webkit.org/show_bug.cgi?id=88723
371
372 Reviewed by Dan Bernstein.
373
374 * src/WebFrameImpl.cpp:
375 (WebKit::WebFrameImpl::scopeStringMatches):
376
377 2012-06-11 Varun Jain <varunjain@chromium.org>
378
379 [chromium] WebInputEvent::isGestureEventType should return true for Gest ureTwoFingerTap
380 https://bugs.webkit.org/show_bug.cgi?id=88789
381
382 Reviewed by Adam Barth.
383
384 * public/WebInputEvent.h:
385 (WebKit::WebInputEvent::isGestureEventType):
386
387 2012-06-11 Mark Pilgrim <pilgrim@chromium.org>
388
389 [Chromium] Call shared timer functions directly
390 https://bugs.webkit.org/show_bug.cgi?id=88781
391
392 Reviewed by Adam Barth.
393
394 Part of a refactoring series. See tracking bug 82948.
395
396 * src/PlatformSupport.cpp:
397 (WebCore):
398
399 2012-06-11 Amy Ousterhout <aousterh@chromium.org>
400
401 [Chromium] Removing long WebDeviceOrientation constructor
402 https://bugs.webkit.org/show_bug.cgi?id=88779
403
404 Reviewed by Adam Barth.
405
406 Removing the WebDeviceOrientation constructor with nine parameters.
407 Chromium has been changed to use the default constructor and setter
408 functions instead (see https://chromiumcodereview.appspot.com/10542025/) .
409
410 * public/WebDeviceOrientation.h:
411
412 2012-06-11 David Dorwin <ddorwin@chromium.org>
413
414 [chromium] Provide access to the WebPlugin created by the helper plugin widget
415 https://bugs.webkit.org/show_bug.cgi?id=88028
416
417 Reviewed by Adam Barth.
418
419 A WebPlugin is created when the document created by createHelperPlugin() is laid out.
420 Expose it so the embedder can interact with the plugin instance.
421
422 * public/WebHelperPlugin.h:
423 (WebKit):
424 (WebHelperPlugin):
425 * public/WebMediaPlayerClient.h:
426 (WebKit):
427 * public/WebPlugin.h:
428 (WebKit::WebPlugin::isPlaceholder):
429 (WebPlugin):
430 * src/WebHelperPluginImpl.cpp:
431 (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
432 (WebKit):
433 (WebKit::WebHelperPluginImpl::getPlugin):
434 (WebKit::WebHelperPluginImpl::initPage):
435 (WebKit::WebHelperPluginImpl::close):
436 * src/WebHelperPluginImpl.h:
437 (WebKit):
438 (WebHelperPluginImpl):
439 * src/WebMediaPlayerClientImpl.cpp:
440 (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
441 * src/WebMediaPlayerClientImpl.h:
442 (WebMediaPlayerClientImpl):
443 * src/WebPagePopupImpl.cpp:
444
445 2012-06-05 Dana Jansens <danakj@chromium.org>
446
447 [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
448 https://bugs.webkit.org/show_bug.cgi?id=88371
449
450 Reviewed by James Robinson.
451
452 * tests/CCLayerTreeHostImplTest.cpp:
453
454 2012-06-11 Kent Tamura <tkent@chromium.org>
455
456 [Chromium] Should call frameDetached() in WebPagePopupImpl::close()
457 https://bugs.webkit.org/show_bug.cgi?id=88754
458
459 Reviewed by Adam Barth.
460
461 * src/WebPagePopupImpl.cpp:
462 (WebKit::WebPagePopupImpl::close): Calls FrameLoader::frameDetached().
463
464 2012-06-11 Min Qin <qinmin@google.com>
465
466 Adding a flag to show fullscreen media controls in chromium
467 https://bugs.webkit.org/show_bug.cgi?id=88266
468
469 Reviewed by Adam Barth.
470
471 Adding a flag to the gyp file so that we can enable fullscreen media con trol
472
473 * features.gypi:
474
475 2012-06-09 Eugene Klyuchnikov <eustas.bug@gmail.com>
476
477 Web Inspector: Add message loop instrumentation to public API and timeli ne agent
478 https://bugs.webkit.org/show_bug.cgi?id=88639
479
480 Reviewed by Vsevolod Vlasov.
481
482 Message loop instrumentation will show when the render thread is busy.
483 That way developer can discover if a render thread business causes low f ps, or not.
484
485 * public/WebDevToolsAgent.h:
486 (WebDevToolsAgent):
487 * public/WebDevToolsAgentClient.h:
488 (WebDevToolsAgentClient):
489 (WebKit::WebDevToolsAgentClient::startMessageLoopMonitoring):
490 Request message loop notifications.
491 (WebKit::WebDevToolsAgentClient::stopMessageLoopMonitoring):
492 Cancel message loop notifications.
493 * src/InspectorClientImpl.cpp:
494 (WebKit::InspectorClientImpl::startMessageLoopMonitoring):
495 Request message loop notifications.
496 (WebKit):
497 (WebKit::InspectorClientImpl::stopMessageLoopMonitoring):
498 Cancel message loop notifications.
499 * src/InspectorClientImpl.h:
500 (InspectorClientImpl):
501 * src/WebDevToolsAgentImpl.cpp:
502 (WebKit::WebDevToolsAgentImpl::startMessageLoopMonitoring):
503 Request message loop notifications.
504 (WebKit):
505 (WebKit::WebDevToolsAgentImpl::stopMessageLoopMonitoring):
506 Cancel message loop notifications.
507 (WebKit::WebDevToolsAgentImpl::instrumentWillProcessTask):
508 Message loop notification.
509 (WebKit::WebDevToolsAgentImpl::instrumentDidProcessTask):
510 Ditto.
511 * src/WebDevToolsAgentImpl.h:
512 (WebDevToolsAgentImpl):
513
514 2012-06-08 David Reveman <reveman@chromium.org>
515
516 [Chromium] Compositor doesn't support translucent root layers.
517 https://bugs.webkit.org/show_bug.cgi?id=87821
518
519 Reviewed by James Robinson.
520
521 * src/NonCompositedContentHost.cpp:
522 (WebKit::NonCompositedContentHost::setOpaque):
523 (WebKit):
524 * src/NonCompositedContentHost.h:
525 (NonCompositedContentHost):
526 * src/WebLayerTreeView.cpp:
527 (WebKit::WebLayerTreeView::setHasTransparentBackground):
528 (WebKit):
529 * src/WebViewImpl.cpp:
530 (WebKit::WebViewImpl::setIsTransparent):
531 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
532 * tests/CCLayerTreeHostImplTest.cpp:
533 * tests/LayerRendererChromiumTest.cpp:
534 (ClearCountingContext):
535 (ClearCountingContext::ClearCountingContext):
536 (ClearCountingContext::clear):
537 (ClearCountingContext::clearCount):
538 (TEST):
539
540 2012-06-08 Ian Vollick <vollick@chromium.org>
541
542 [chromium] Single thread proxy's animation timer should short circuit if the layer renderer has not been initialized
543 https://bugs.webkit.org/show_bug.cgi?id=88668
544
545 Reviewed by James Robinson.
546
547 * WebKit.gypi:
548 * tests/CCLayerTreeHostTest.cpp:
549 (WTF::CCLayerTreeHostTestWriteLayersRedraw::beginTest):
550 (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::commitCompleteOnCCThre ad):
551 (WTF):
552 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::CCLayerTreeHostTestLay erAddedWithAnimation):
553 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
554 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::didAddAnimation):
555 (CCLayerTreeHostTestLayerAddedWithAnimation):
556 * tests/CCSingleThreadProxyTest.cpp: Added.
557 (FakeWebGraphicsContext3DMakeCurrentFails):
558 (FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
559 (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation):
560 (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::C CSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation):
561 (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::b eginTest):
562 (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::a nimateLayers):
563 (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::d idRecreateContext):
564 (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::a fterTest):
565 (TEST_F):
566 (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer):
567 (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer:: CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer):
568 (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer:: beginTest):
569 (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer:: animateLayers):
570 (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer:: didRecreateContext):
571 (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer:: didAddAnimation):
572 (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer:: afterTest):
573 * tests/CCThreadedTest.cpp: Added.
574 (WebKitTests):
575 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::cre ate):
576 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::cre ateTexture):
577 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::del eteTexture):
578 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::bin dTexture):
579 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::num Textures):
580 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::tex ture):
581 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::res etTextures):
582 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::num UsedTextures):
583 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::use dTexture):
584 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::res etUsedTextures):
585 (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::Com positorFakeWebGraphicsContext3DWithTextureTracking):
586 (WebKitTests::TestHooks::createContext):
587 (WebKitTests::MockLayerTreeHostImpl::create):
588 (WebKitTests::MockLayerTreeHostImpl::beginCommit):
589 (WebKitTests::MockLayerTreeHostImpl::commitComplete):
590 (WebKitTests::MockLayerTreeHostImpl::prepareToDraw):
591 (WebKitTests::MockLayerTreeHostImpl::drawLayers):
592 (WebKitTests::MockLayerTreeHostImpl::animateLayers):
593 (WebKitTests::MockLayerTreeHostImpl::lowFrequencyAnimationInterval):
594 (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
595 (MockLayerTreeHost):
596 (WebKitTests::MockLayerTreeHost::create):
597 (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
598 (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
599 (MockLayerTreeHostClient):
600 (WebKitTests::MockLayerTreeHostClient::create):
601 (WebKitTests::MockLayerTreeHostClient::MockLayerTreeHostClient):
602 (TimeoutTask):
603 (WebKitTests::TimeoutTask::TimeoutTask):
604 (WebKitTests::TimeoutTask::clearTest):
605 (WebKitTests::TimeoutTask::~TimeoutTask):
606 (WebKitTests::TimeoutTask::run):
607 (BeginTask):
608 (WebKitTests::BeginTask::BeginTask):
609 (WebKitTests::BeginTask::~BeginTask):
610 (WebKitTests::BeginTask::run):
611 (EndTestTask):
612 (WebKitTests::EndTestTask::EndTestTask):
613 (WebKitTests::EndTestTask::~EndTestTask):
614 (WebKitTests::EndTestTask::clearTest):
615 (WebKitTests::EndTestTask::run):
616 (WebKitTests::CCThreadedTest::CCThreadedTest):
617 (WebKitTests::CCThreadedTest::endTest):
618 (WebKitTests::CCThreadedTest::endTestAfterDelay):
619 (WebKitTests::CCThreadedTest::postSetNeedsAnimateToMainThread):
620 (WebKitTests::CCThreadedTest::postAddAnimationToMainThread):
621 (WebKitTests::CCThreadedTest::postAddInstantAnimationToMainThread):
622 (WebKitTests::CCThreadedTest::postSetNeedsCommitToMainThread):
623 (WebKitTests::CCThreadedTest::postAcquireLayerTextures):
624 (WebKitTests::CCThreadedTest::postSetNeedsRedrawToMainThread):
625 (WebKitTests::CCThreadedTest::postSetNeedsAnimateAndCommitToMainThread):
626 (WebKitTests::CCThreadedTest::postSetVisibleToMainThread):
627 (WebKitTests::CCThreadedTest::postDidAddAnimationToMainThread):
628 (WebKitTests::CCThreadedTest::doBeginTest):
629 (WebKitTests::CCThreadedTest::timeout):
630 (WebKitTests::CCThreadedTest::scheduleComposite):
631 (WebKitTests::CCThreadedTest::onEndTest):
632 (WebKitTests::CCThreadedTest::dispatchSetNeedsAnimate):
633 (WebKitTests::CCThreadedTest::dispatchAddInstantAnimation):
634 (WebKitTests::CCThreadedTest::dispatchAddAnimation):
635 (WebKitTests::CCThreadedTest::dispatchSetNeedsAnimateAndCommit):
636 (WebKitTests::CCThreadedTest::dispatchSetNeedsCommit):
637 (WebKitTests::CCThreadedTest::dispatchAcquireLayerTextures):
638 (WebKitTests::CCThreadedTest::dispatchSetNeedsRedraw):
639 (WebKitTests::CCThreadedTest::dispatchSetVisible):
640 (WebKitTests::CCThreadedTest::dispatchSetInvisible):
641 (WebKitTests::CCThreadedTest::dispatchComposite):
642 (WebKitTests::CCThreadedTest::dispatchDidAddAnimation):
643 (WebKitTests::CCThreadedTest::runTest):
644 * tests/CCThreadedTest.h: Added.
645 (WebCore):
646 (WebKit):
647 (WebKitTests):
648 (TestHooks):
649 (WebKitTests::TestHooks::beginCommitOnCCThread):
650 (WebKitTests::TestHooks::commitCompleteOnCCThread):
651 (WebKitTests::TestHooks::prepareToDrawOnCCThread):
652 (WebKitTests::TestHooks::drawLayersOnCCThread):
653 (WebKitTests::TestHooks::animateLayers):
654 (WebKitTests::TestHooks::willAnimateLayers):
655 (WebKitTests::TestHooks::applyScrollAndScale):
656 (WebKitTests::TestHooks::updateAnimations):
657 (WebKitTests::TestHooks::layout):
658 (WebKitTests::TestHooks::didRecreateContext):
659 (WebKitTests::TestHooks::didAddAnimation):
660 (WebKitTests::TestHooks::didCommit):
661 (WebKitTests::TestHooks::didCommitAndDrawFrame):
662 (WebKitTests::TestHooks::scheduleComposite):
663 (WebKitTests::TestHooks::notifyAnimationStarted):
664 (WebKitTests::TestHooks::notifyAnimationFinished):
665 (CCThreadedTest):
666 (WebKitTests::CCThreadedTest::clearTimeout):
667 (WebKitTests::CCThreadedTest::clearEndTestTask):
668 (WebKitTests::CCThreadedTest::layerTreeHost):
669 (CCThreadedTestThreadOnly):
670 (WebKitTests::CCThreadedTestThreadOnly::runTestThreaded):
671 (MockLayerTreeHostImpl):
672 (CompositorFakeWebGraphicsContext3DWithTextureTracking):
673
674 2012-06-08 David Grogan <dgrogan@chromium.org>
675
676 IndexedDB: rename some instances of open to registerFrontendCallbacks
677 https://bugs.webkit.org/show_bug.cgi?id=88611
678
679 Reviewed by Tony Chang.
680
681 * src/IDBDatabaseBackendProxy.cpp:
682 (WebKit::IDBDatabaseBackendProxy::registerFrontendCallbacks):
683 * src/IDBDatabaseBackendProxy.h:
684 (IDBDatabaseBackendProxy):
685 * src/WebIDBDatabaseImpl.cpp:
686 (WebKit::WebIDBDatabaseImpl::open):
687 * src/WebIDBDatabaseImpl.h:
688 (WebIDBDatabaseImpl):
689
690 2012-06-08 Dana Jansens <danakj@chromium.org>
691
692 [chromium] Skip willDraw() and didDraw() on fully occluded layers
693 https://bugs.webkit.org/show_bug.cgi?id=88435
694
695 Reviewed by Adrienne Walker.
696
697 * tests/CCLayerTreeHostImplTest.cpp:
698
699 2012-06-08 James Robinson <jamesr@chromium.org>
700
701 [chromium] Clean up some unnecessary LayerChromium.h includes
702 https://bugs.webkit.org/show_bug.cgi?id=88599
703
704 Reviewed by Adam Barth.
705
706 Removes unused include, update comment.
707
708 * src/WebMediaPlayerClientImpl.cpp:
709 (WebKit::WebMediaPlayerClientImpl::platformLayer):
710 (WebKit::WebMediaPlayerClientImpl::paint):
711
712 2012-06-08 Jochen Eisinger <jochen@chromium.org>
713
714 Unreviewed. Rolled DEPS.
715
716 * DEPS:
717
718 2012-06-08 Ian Vollick <vollick@chromium.org>
719
720 [chromium] Accelerated animations should use WebTransformOperations
721 https://bugs.webkit.org/show_bug.cgi?id=87686
722
723 Reviewed by James Robinson.
724
725 CCTransformKeyframe new owns a WebTransformOperations rather than a
726 TransformOperations. LayerChromium's API has been changed so that
727 LayerChromium::addAnimation should take only a CCActiveAnimation.
728 GraphicsLayerChromium is new responsible for translating to
729 WebTransformOperations and creating CCActiveAnimations. Tests that use
730 the public API (that is, they call addAnimation with KeyframeValueList
731 and Animation arguments) have been moved to GraphicsLayerChromiumTest.
732
733 * tests/CCAnimationTestCommon.cpp:
734 (WebCore::addOpacityTransition):
735 (WebCore::addAnimatedTransform):
736 (WebKitTests::FakeTransformTransition::getValue):
737 * tests/CCAnimationTestCommon.h:
738 * tests/CCKeyframedAnimationCurveTest.cpp:
739 * tests/CCLayerAnimationControllerTest.cpp:
740 * tests/CCLayerTreeHostTest.cpp:
741 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
742 * tests/GraphicsLayerChromiumTest.cpp:
743 (MockLayerTreeHostClient):
744 (WebKitTests):
745 (MockLayerTreeHost):
746 (WebKitTests::MockLayerTreeHost::create):
747 (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
748 (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
749 (GraphicsLayerChromiumTest):
750 (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
751 (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
752 (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
753 (WebKitTests::TEST_F):
754 * tests/LayerChromiumTest.cpp:
755
756 2012-06-08 Robert Kroeger <rjkroege@chromium.org>
757
758 More than 8 fingers get ignored by touch
759 https://bugs.webkit.org/show_bug.cgi?id=88359
760
761 Reviewed by James Robinson.
762
763 * public/WebInputEvent.h: Increase of TouchPoints per TouchEvent from 8 to 12.
764
765 2012-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
766
767 Unreviewed. Rolled DEPS.
768
769 * DEPS:
770
771 2012-06-08 Taiju Tsuiki <tzik@chromium.org>
772
773 Add FileSystem item to storage tree.
774 https://bugs.webkit.org/show_bug.cgi?id=72691
775
776 Reviewed by Vsevolod Vlasov.
777
778 * src/js/DevTools.js:
779
780 2012-06-08 Peter Beverloo <peter@chromium.org>
781
782 [Chromium] Re-enable SHARED_WORKERS for Android until a build fix has be en resolved.
783 https://bugs.webkit.org/show_bug.cgi?id=88637
784
785 Unreviewed build fix.
786
787 Linking content_shell on the Chromium side fails due to an unresolved
788 call to WebSharedWorker::create(). Since this blocks WebKit rolls,
789 temporarily re-enable the feature until this has been solved.
790
791 * features.gypi:
792
793 2012-06-07 Nico Weber <thakis@chromium.org>
794
795 [chromium/mac] Improve deviceDPI, rect, and availableRect computation
796 https://bugs.webkit.org/show_bug.cgi?id=88596
797
798 Reviewed by Adam Barth.
799
800 Set deviceDPI to 160 for normal displays and 320 for HiDPI displays.
801 (Why 160? That's what chromium's render_view.cc assumes as default
802 single-resolution resolution at the moment. The only other place
803 where this number gets used is fixed layout mode, which is currently
804 not enabled.)
805
806 Also fix rect and availableRect computations: They get returned in
807 user space already.
808
809 Needed for http://crbug.com/31960.
810
811 * src/mac/WebScreenInfoFactory.mm:
812 (WebKit::toUserSpace):
813 (WebKit::deviceScaleFactor):
814 (WebKit):
815 (WebKit::WebScreenInfoFactory::screenInfo):
816
817 2012-06-07 Mark Pilgrim <pilgrim@chromium.org>
818
819 [Chromium] Move didStartWorkerRunLoop to Platform.h
820 https://bugs.webkit.org/show_bug.cgi?id=88562
821
822 Reviewed by Adam Barth.
823
824 Part of a refactoring series. See tracking bug 82948.
825
826 * src/PlatformSupport.cpp:
827 (WebCore):
828
829 2012-06-05 James Robinson <jamesr@chromium.org>
830
831 [chromium] Move deferral-related logic out of Canvas2DLayerChromium
832 https://bugs.webkit.org/show_bug.cgi?id=86050
833
834 Reviewed by Stephen White.
835
836 * WebKit.gypi:
837 * tests/Canvas2DLayerBridgeTest.cpp: Renamed from tests/Canvas2DLayerChr omiumTest
838 (Canvas2DLayerBridgeTest):
839 (Canvas2DLayerBridgeTest::fullLifecycleTest):
840
841 2012-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
842
843 Unreviewed, rolling out r119744.
844 http://trac.webkit.org/changeset/119744
845 https://bugs.webkit.org/show_bug.cgi?id=88584
846
847 Fails assertions in debug builds (Requested by jamesr_ on
848 #webkit).
849
850 * tests/CCLayerTreeHostImplTest.cpp:
851
852 2012-06-07 Adam Barth <abarth@webkit.org>
853
854 Settings::defaultDeviceScaleFactor is redundant with Page::deviceScaleFa ctor
855 https://bugs.webkit.org/show_bug.cgi?id=88375
856
857 Reviewed by James Robinson.
858
859 * public/WebSettings.h:
860 (WebKit::WebSettings::setDefaultDeviceScaleFactor):
861 (WebSettings):
862 * src/ChromeClientImpl.cpp:
863 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
864 * src/WebSettingsImpl.cpp:
865 (WebKit):
866 * src/WebSettingsImpl.h:
867 (WebSettingsImpl):
868 * src/WebViewImpl.cpp:
869 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
870 * tests/WebFrameTest.cpp:
871 (WebKit::TEST_F):
872
873 2012-06-07 Peter Beverloo <peter@chromium.org>
874
875 [Chromium] features.gypi should have the correct definitions for Android
876 https://bugs.webkit.org/show_bug.cgi?id=88533
877
878 Reviewed by Adam Barth.
879
880 Make all features which are enabled on Android but disabled on other pla tforms,
881 or are disabled on Android while enabled on other platforms, conditional . This
882 also means that the selection of code compiled for Android will slightly change.
883
884 This change also removes the enable_viewport variable as the value of th is is
885 no longer respected by WebKit - it's enabled by default for all of Chrom ium.
886 Furthermore, ENABLE_OVERFLOW_SCROLLING is now listed in features.gypi ag ain.
887
888 * features.gypi:
889
890 2012-06-07 Dana Jansens <danakj@chromium.org>
891
892 [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
893 https://bugs.webkit.org/show_bug.cgi?id=88371
894
895 Reviewed by James Robinson.
896
897 * tests/CCLayerTreeHostImplTest.cpp:
898
899 2012-06-07 Ami Fischman <fischman@chromium.org>
900
901 Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
902 https://bugs.webkit.org/show_bug.cgi?id=88349
903
904 Reviewed by Adam Barth.
905
906 * public/WebMediaPlayer.h:
907 (WebMediaPlayer):
908 * src/AssertMatchingEnums.cpp:
909 * src/WebMediaPlayerClientImpl.cpp:
910 (WebKit::WebMediaPlayerClientImpl::loadInternal):
911 (WebKit::WebMediaPlayerClientImpl::didPassCORSAccessCheck):
912 (WebKit):
913 * src/WebMediaPlayerClientImpl.h:
914 (WebMediaPlayerClientImpl):
915
916 2012-06-07 Daniel Erat <derat@chromium.org>
917
918 Add setting to enable subpixel-positioned text on Linux.
919 https://bugs.webkit.org/show_bug.cgi?id=88263
920
921 Reviewed by Tony Chang.
922
923 Add subpixel positioning field to WebFontRenderStyle and rename
924 subpixel rendering field. Make similar changes in
925 WebFontRendering.
926
927 Also add global WebFontInfo::setSubpixelPositioning() to turn
928 subpixel positioning on or off (there's not currently a
929 well-defined way to configure subpixel positioning via FontConfig).
930
931 * public/linux/WebFontInfo.h:
932 (WebFontInfo):
933 * public/linux/WebFontRenderStyle.h:
934 * public/linux/WebFontRendering.h:
935 (WebFontRendering):
936 * src/linux/WebFontInfo.cpp:
937 (WebKit):
938 (WebKit::WebFontInfo::setSubpixelPositioning):
939 (WebKit::WebFontInfo::renderStyleForStrike):
940 * src/linux/WebFontRenderStyle.cpp:
941 (WebKit::WebFontRenderStyle::toFontRenderStyle):
942 (WebKit::WebFontRenderStyle::setDefaults):
943 * src/linux/WebFontRendering.cpp:
944 (WebKit::WebFontRendering::setSubpixelGlyphs):
945 (WebKit):
946 (WebKit::WebFontRendering::setSubpixelRendering):
947 (WebKit::WebFontRendering::setSubpixelPositioning):
948
949 2012-06-06 Dana Jansens <danakj@chromium.org>
950
951 [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
952 https://bugs.webkit.org/show_bug.cgi?id=88469
953
954 Reviewed by James Robinson.
955
956 * tests/CCLayerTreeHostImplTest.cpp:
957
958 2012-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
959
960 Unreviewed, rolling out r119694.
961 http://trac.webkit.org/changeset/119694
962 https://bugs.webkit.org/show_bug.cgi?id=88529
963
964 it broke PrerenderBrowserTest.PrerenderHTML5VideoNetwork
965 (Requested by loislo on #webkit).
966
967 * public/WebMediaPlayer.h:
968 (WebMediaPlayer):
969 * src/AssertMatchingEnums.cpp:
970 * src/WebMediaPlayerClientImpl.cpp:
971 (WebKit::WebMediaPlayerClientImpl::loadInternal):
972 * src/WebMediaPlayerClientImpl.h:
973 (WebMediaPlayerClientImpl):
974
975 2012-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
976
977 Unreviewed, rolling out r119689.
978 http://trac.webkit.org/changeset/119689
979 https://bugs.webkit.org/show_bug.cgi?id=88516
980
981 it broke didDrawNotCalledOnScissoredLayer webkit_unit_test
982 (Requested by loislo on #webkit).
983
984 * tests/CCLayerTreeHostImplTest.cpp:
985
986 2012-06-07 Ami Fischman <fischman@chromium.org>
987
988 Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
989 https://bugs.webkit.org/show_bug.cgi?id=88349
990
991 Reviewed by Adam Barth.
992
993 * public/WebMediaPlayer.h:
994 (WebMediaPlayer):
995 * src/WebMediaPlayerClientImpl.cpp:
996 (WebKit::WebMediaPlayerClientImpl::loadInternal):
997
998 2012-06-07 Yoshifumi Inoue <yosin@chromium.org>
999
1000 [Platform] Introduce conversion from/to Deciaml to/from double and helpe r functions
1001 https://bugs.webkit.org/show_bug.cgi?id=88480
1002
1003 Reviewed by Kent Tamura.
1004
1005 This patch added tests for Decimal::fromDouble, isInfinity, toDouble.
1006
1007 * tests/DecimalTest.cpp:
1008 (TEST_F):
1009
1010 2012-06-07 Ami Fischman <fischman@chromium.org>
1011
1012 Unreviewed. Rolled DEPS.
1013
1014 * DEPS:
1015
1016 2012-06-06 Dana Jansens <danakj@chromium.org>
1017
1018 [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
1019 https://bugs.webkit.org/show_bug.cgi?id=88469
1020
1021 Reviewed by James Robinson.
1022
1023 * tests/CCLayerTreeHostImplTest.cpp:
1024
1025 2012-06-06 Kent Tamura <tkent@chromium.org>
1026
1027 Unreviewed, rolling out r60044.
1028 http://trac.webkit.org/changeset/60044
1029
1030 It made a regression, crbug.com/114922.
1031
1032 * src/ChromeClientImpl.cpp:
1033 (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll): Do not hide popups by scrolling.
1034 (WebKit::ChromeClientImpl::scroll): ditto.
1035
1036 2012-06-06 Noel Gordon <noel.gordon@gmail.com>
1037
1038 Unreviewed. Rolled DEPS.
1039
1040 * DEPS: Roll to chromium 140955.
1041
1042 2012-06-06 Sheriff Bot <webkit.review.bot@gmail.com>
1043
1044 Unreviewed, rolling out r119683.
1045 http://trac.webkit.org/changeset/119683
1046 https://bugs.webkit.org/show_bug.cgi?id=88505
1047
1048 it broke webkit-unit-test
1049 WebLayerTreeViewThreadedTest.InstrumentationCallbacks on mac
1050 (Requested by loislo on #webkit).
1051
1052 * tests/CCLayerTreeHostTest.cpp:
1053 (WTF::MockLayerTreeHost::create):
1054 * tests/Canvas2DLayerChromiumTest.cpp:
1055 (Canvas2DLayerChromiumTest::fullLifecycleTest):
1056
1057 2012-06-06 Robert Kroeger <rjkroege@chromium.org>
1058
1059 [Chromium] Re-enable handling of smooth scrolling on Chromium Linux/Wind ows
1060 https://bugs.webkit.org/show_bug.cgi?id=87535 by adding support for prec ise
1061 scrolling deltas on all Chromium platforms.
1062
1063 Reviewed by James Robinson.
1064
1065 * src/WebInputEventConversion.cpp:
1066 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): Create P latformWheelEvents
1067 with m_hasPreciseScrollingDelta flag as required.
1068 * tests/ScrollAnimatorNoneTest.cpp: Added new unit test condiiton for pr ecise scrolling.
1069 (TEST):
1070
1071 2012-06-06 Michal Mocny <mmocny@google.com>
1072
1073 [chromium] Stop dropping texture limits when the layer tree host becomes invisible, and initialize with 0 allocation.
1074 https://bugs.webkit.org/show_bug.cgi?id=87747
1075
1076 Reviewed by Adrienne Walker.
1077
1078 * tests/CCLayerTreeHostTest.cpp:
1079 (WTF::MockLayerTreeHost::create):
1080 * tests/Canvas2DLayerChromiumTest.cpp:
1081 (Canvas2DLayerChromiumTest::fullLifecycleTest):
1082
1083 2012-06-06 Mark Pilgrim <pilgrim@chromium.org>
1084
1085 [Chromium] Move createMessagePortChannel to Platform.h
1086 https://bugs.webkit.org/show_bug.cgi?id=85764
1087
1088 Reviewed by Adam Barth.
1089
1090 Part of a refactoring series. See tracking bug 82948.
1091
1092 * WebKit.gyp:
1093 * public/WebFrame.h:
1094 (WebFrame):
1095 * public/WebMessagePortChannel.h:
1096 * public/WebMessagePortChannelClient.h:
1097 * public/WebSharedWorkerClient.h:
1098 (WebSharedWorkerClient):
1099 * public/platform/WebKitPlatformSupport.h:
1100 (WebKit):
1101 (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
1102 * src/PlatformMessagePortChannel.cpp:
1103 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
1104 * src/PlatformMessagePortChannel.h:
1105 * src/SharedWorkerRepository.cpp:
1106 * src/WebSharedWorkerImpl.cpp:
1107
1108 2012-06-06 Amy Ousterhout <aousterh@chromium.org>
1109
1110 [Chromium] DeviceOrientation cleanup
1111 https://bugs.webkit.org/show_bug.cgi?id=88406
1112
1113 Reviewed by Kent Tamura.
1114
1115 Made default constructor public and added a set function for each proper ty.
1116 This will allow us to remove the 8-parameter constructor.
1117
1118 * public/WebDeviceOrientation.h:
1119 (WebKit::WebDeviceOrientation::WebDeviceOrientation):
1120 (WebKit::WebDeviceOrientation::setNull):
1121 (WebKit::WebDeviceOrientation::setAlpha):
1122 (WebKit::WebDeviceOrientation::setBeta):
1123 (WebKit::WebDeviceOrientation::setGamma):
1124 (WebKit::WebDeviceOrientation::setAbsolute):
1125 (WebDeviceOrientation):
1126
1127 2012-06-06 James Robinson <jamesr@chromium.org>
1128
1129 [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
1130 https://bugs.webkit.org/show_bug.cgi?id=86257
1131
1132 Reviewed by Kenneth Russell.
1133
1134 * WebKit.gyp:
1135
1136 2012-06-06 James Robinson <jamesr@chromium.org>
1137
1138 [chromium] Unreviewed build fix, add an apparently used include of OwnAr rayPtr.h back to GraphicsContext3DPrivate.h
1139 https://bugs.webkit.org/show_bug.cgi?id=88468
1140
1141 * src/GraphicsContext3DPrivate.h:
1142
1143 2012-06-06 James Robinson <jamesr@chromium.org>
1144
1145 [chromium] Clean up GraphicsContext3D implementation
1146 https://bugs.webkit.org/show_bug.cgi?id=88460
1147
1148 Reviewed by Kenneth Russell.
1149
1150 Chromium's implementation of the GraphicsContext3D implementation has be en somewhat messy for historical
1151 reasons. The actual implementation of the majority of these functions is done by delegating to the Platform API
1152 WebGraphicsContext3D. A few bits of functionality - extension mapping, s ome compositor functionality, a readback
1153 utility - are implemented by code in WebKit. Previously, all GraphicsCon text3D functions delegates to a clone of
1154 the interface in GraphicsContext3DPrivate which in turn delegated to Web GraphicsContext3D. This required
1155 duplicating the entire GraphicsContext3D interface and made updating the interface an epic pain in the rear.
1156
1157 This patch provides the implementations of GraphicsContext3D functions i n GraphicsContext3DChromium.cpp. Most of
1158 these functions delegate directly to WebGraphicsContext3D. The ones that do not delegate to
1159 GraphicsContext3DPrivate, which now has a dedicated header and cpp file. GraphicsContext3DPrivate.cpp implements
1160 all GraphicsContext3DPrivate functions. I've also reordered the implemen tation files so that the function order
1161 matches the associated header file and normalized the names of callback adapters.
1162
1163 Refactor only, no change in functionality. Existing tests apply.
1164
1165 * WebKit.gyp:
1166 * src/Extensions3DChromium.cpp:
1167 (WebCore::Extensions3DChromium::ensureEnabled):
1168 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
1169 (WebCore::Extensions3DChromium::blitFramebuffer):
1170 (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
1171 (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
1172 (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
1173 (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
1174 (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
1175 (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
1176 (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
1177 (WebCore::Extensions3DChromium::discardFramebufferEXT):
1178 (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
1179 (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
1180 (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
1181 (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
1182 (WebCore::Extensions3DChromium::texStorage2DEXT):
1183 (WebCore::Extensions3DChromium::createQueryEXT):
1184 (WebCore::Extensions3DChromium::deleteQueryEXT):
1185 (WebCore::Extensions3DChromium::isQueryEXT):
1186 (WebCore::Extensions3DChromium::beginQueryEXT):
1187 (WebCore::Extensions3DChromium::endQueryEXT):
1188 (WebCore::Extensions3DChromium::getQueryivEXT):
1189 (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
1190 * src/GraphicsContext3DChromium.cpp:
1191 (WebCore::GraphicsContext3D::GraphicsContext3D):
1192 (WebCore::GraphicsContext3D::~GraphicsContext3D):
1193 (WebCore::GraphicsContext3D::setContextLostCallback):
1194 (WebCore::GraphicsContext3D::setErrorMessageCallback):
1195 (WebCore::GraphicsContext3D::create):
1196 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
1197 (WebCore::GraphicsContext3D::platformTexture):
1198 (WebCore::GraphicsContext3D::grContext):
1199 (WebCore::GraphicsContext3D::platformLayer):
1200 (WebCore):
1201 (WebCore::GraphicsContext3D::isGLES2Compliant):
1202 (WebCore::GraphicsContext3D::isResourceSafe):
1203 (WebCore::GraphicsContext3D::bindAttribLocation):
1204 (WebCore::GraphicsContext3D::bufferData):
1205 (WebCore::GraphicsContext3D::getActiveAttrib):
1206 (WebCore::GraphicsContext3D::getActiveUniform):
1207 (WebCore::GraphicsContext3D::getAttribLocation):
1208 (WebCore::GraphicsContext3D::getContextAttributes):
1209 (WebCore::GraphicsContext3D::getProgramInfoLog):
1210 (WebCore::GraphicsContext3D::getShaderInfoLog):
1211 (WebCore::GraphicsContext3D::getShaderSource):
1212 (WebCore::GraphicsContext3D::getString):
1213 (WebCore::GraphicsContext3D::getUniformLocation):
1214 (WebCore::GraphicsContext3D::shaderSource):
1215 (WebCore::GraphicsContext3D::texImage2D):
1216 (WebCore::GraphicsContext3D::texSubImage2D):
1217 (WebCore::GraphicsContext3D::reshape):
1218 (WebCore::GraphicsContext3D::markContextChanged):
1219 (WebCore::GraphicsContext3D::layerComposited):
1220 (WebCore::GraphicsContext3D::markLayerComposited):
1221 (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
1222 (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
1223 (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
1224 (WebCore::GraphicsContext3D::getExtensions):
1225 (WebCore::GraphicsContext3D::getInternalFramebufferSize):
1226 * src/GraphicsContext3DPrivate.cpp: Added.
1227 (WebCore):
1228 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1229 (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
1230 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext) :
1231 (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
1232 (GrMemoryAllocationChangedCallback):
1233 (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCa llback):
1234 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChange d):
1235 (WebCore::GraphicsContext3DPrivate::grContext):
1236 (WebCore::GraphicsContext3DPrivate::markContextChanged):
1237 (WebCore::GraphicsContext3DPrivate::layerComposited):
1238 (WebCore::GraphicsContext3DPrivate::markLayerComposited):
1239 (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
1240 (GraphicsContextLostCallbackAdapter):
1241 (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbac kAdapter):
1242 (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallba ckAdapter):
1243 (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
1244 (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
1245 (GraphicsErrorMessageCallbackAdapter):
1246 (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallb ackAdapter):
1247 (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCall backAdapter):
1248 (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
1249 (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
1250 (WebCore::GraphicsContext3DPrivate::getExtensions):
1251 (WebCore::GraphicsContext3DPrivate::initializeExtensions):
1252 (WebCore::GraphicsContext3DPrivate::supportsExtension):
1253 (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
1254 (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
1255 (WebCore::GraphicsContext3DPrivate::isResourceSafe):
1256 (GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
1257 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsC ontext3DSwapBuffersCompleteCallbackAdapter):
1258 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~Graphics Context3DSwapBuffersCompleteCallbackAdapter):
1259 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuf fersComplete):
1260 (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMI UM):
1261 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1262 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::Graph icsContext3DMemoryAllocationChangedCallbackAdapter):
1263 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~Grap hicsContext3DMemoryAllocationChangedCallbackAdapter):
1264 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMem oryAllocationChanged):
1265 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbac kCHROMIUM):
1266 * src/GraphicsContext3DPrivate.h:
1267 (GraphicsContext3DPrivate):
1268 (WebCore::GraphicsContext3DPrivate::webContext):
1269 (WebCore::GraphicsContext3DPrivate::preserveDrawingBuffer):
1270
1271 2012-06-06 Sadrul Habib Chowdhury <sadrul@chromium.org>
1272
1273 [chromium] Avoid limiting page-scale-factor when device-scale-factor is applied in the compositor.
1274 https://bugs.webkit.org/show_bug.cgi?id=88417
1275
1276 Reviewed by James Robinson.
1277
1278 * src/WebViewImpl.cpp:
1279 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1280
1281 2012-06-06 Ami Fischman <fischman@chromium.org>
1282
1283 Unreviewed. Rolled DEPS.
1284
1285 * DEPS:
1286
1287 2012-06-06 Nico Weber <thakis@chromium.org>
1288
1289 [chromium] Expose setPictographFontFamily through the chromium webkit ap i.
1290 https://bugs.webkit.org/show_bug.cgi?id=88393
1291
1292 Reviewed by Adam Barth.
1293
1294 This was added to WebCore in
1295 https://bugs.webkit.org/show_bug.cgi?id=65197
1296
1297 * public/WebSettings.h:
1298 * src/WebSettingsImpl.cpp:
1299 (WebKit::WebSettingsImpl::setPictographFontFamily):
1300 (WebKit):
1301 * src/WebSettingsImpl.h:
1302 (WebSettingsImpl):
1303
1304 2012-06-06 Ryosuke Niwa <rniwa@webkit.org>
1305
1306 Unreviewed. Rolled DEPS.
1307
1308 * DEPS:
1309
1310 2012-06-06 Kinuko Yasuda <kinuko@chromium.org>
1311
1312 Roll Chromium DEPS from r140700 to r140711.
1313
1314 * DEPS:
1315
1316 2012-06-06 Ami Fischman <fischman@chromium.org>
1317
1318 [chromium] Add a WebKit::WebMediaPlayer::CORSMode enum in preparation fo r 88349
1319 https://bugs.webkit.org/show_bug.cgi?id=88388
1320
1321 Reviewed by Darin Fisher.
1322
1323 * public/WebMediaPlayer.h:
1324
1325 2012-06-05 Ryosuke Niwa <rniwa@webkit.org>
1326
1327 Roll Chromium DEPS from r140653 to r140700.
1328
1329 * DEPS:
1330
1331 2012-06-05 Kentaro Hara <haraken@chromium.org>
1332
1333 Unreviewed, rolling out r119494.
1334 http://trac.webkit.org/changeset/119494
1335 https://bugs.webkit.org/show_bug.cgi?id=87911
1336
1337 We found similar APIs are already implemented
1338
1339 * public/WebWidget.h:
1340 * src/WebViewImpl.cpp:
1341 * src/WebViewImpl.h:
1342 (WebViewImpl):
1343 * tests/WebViewTest.cpp:
1344 * tests/data/textarea.html: Removed.
1345
1346 2012-06-05 Ryosuke Niwa <rniwa@webkit.org>
1347
1348 Roll Chromium DEPS from r140528 to r140653.
1349
1350 * DEPS:
1351
1352 2012-06-05 Mark Pilgrim <pilgrim@chromium.org>
1353
1354 [Chromium] Move createLocalStorageNamespace to Platform.h
1355 https://bugs.webkit.org/show_bug.cgi?id=85766
1356
1357 Reviewed by James Robinson.
1358
1359 Part of a refactoring series. See tracking bug 82948.
1360
1361 * WebKit.gyp:
1362 * public/WebStorageArea.h:
1363 * public/WebStorageNamespace.h:
1364 * public/platform/WebKitPlatformSupport.h:
1365 (WebKit):
1366 (WebKitPlatformSupport):
1367
1368 2012-06-05 Greg Billock <gbillock@google.com>
1369
1370 New constructor for WebIntent to be used for delivery
1371 https://bugs.webkit.org/show_bug.cgi?id=87143
1372
1373 Reviewed by Darin Fisher.
1374
1375 When delivering an intent to webkit, the caller needs to be able to
1376 provide the action, type, and data, and also extra data and ports.
1377
1378 * public/WebIntent.h:
1379 (WebIntent):
1380 * src/WebFrameImpl.cpp:
1381 (WebKit::WebFrameImpl::deliverIntent):
1382 * src/WebIntent.cpp:
1383 (WebKit::WebIntent::WebIntent):
1384 (WebKit):
1385 (WebKit::WebIntent::reset):
1386 (WebKit::WebIntent::messagePortChannelsRelease):
1387
1388 2012-06-05 Ryosuke Niwa <rniwa@webkit.org>
1389
1390 Roll Chromium DEPS from r140492 to r140528.
1391
1392 * DEPS:
1393
1394 2012-06-05 Seigo Nonaka <nona@chromium.org>
1395
1396 [chromium] There is no way to retrieve composition character rectangle i n WebKit/chromium
1397 https://bugs.webkit.org/show_bug.cgi?id=87911
1398
1399 Reviewed by Ryosuke Niwa.
1400
1401 Add an API for retreieving each character bounds in composition text.
1402 This API is necessary for implementing IMR_QUERYCHARPOSITION message in Windows.
1403 The message is used by Japanese IME for showing their window at the corr ect position.
1404
1405 * public/WebWidget.h:
1406 (WebWidget):
1407 (WebKit::WebWidget::compositionCharacterBounds):
1408 * src/WebViewImpl.cpp:
1409 (WebKit::WebViewImpl::compositionCharacterBounds):
1410 (WebKit):
1411 * src/WebViewImpl.h:
1412 (WebViewImpl):
1413
1414 2012-06-05 Dongwoo Im <dw.im@samsung.com>
1415
1416 Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
1417 https://bugs.webkit.org/show_bug.cgi?id=73176
1418
1419 Reviewed by Adam Barth.
1420
1421 Two more APIs are added in Custom Scheme Handler specification.
1422 http://dev.w3.org/html5/spec/Overview.html#custom-handlers
1423 One is 'isProtocolHandlerRegistered' to query whether the specific URL
1424 is registered or not.
1425 The other is 'unregisterProtocolHandler' to remove the registered URL.
1426
1427 * features.gypi: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
1428
1429 2012-06-05 Kent Tamura <tkent@chromium.org>
1430
1431 Move some function definitions in EmptyClients.h to EmptyClients.cpp
1432 https://bugs.webkit.org/show_bug.cgi?id=88285
1433
1434 Reviewed by Ryosuke Niwa.
1435
1436 * src/WebHelperPluginImpl.cpp: Remove unnecessary #includes, and add nec essary #includes.
1437 * src/WebPagePopupImpl.cpp: ditto.
1438
1439 2012-06-05 Noel Gordon <noel.gordon@gmail.com>
1440
1441 Unreviewed. Rolled DEPS.
1442
1443 * DEPS:
1444
1445 2012-06-05 Adam Barth <abarth@webkit.org>
1446
1447 EventHandler shouldn't dispatch fake mousemove events when scrolling on devices that don't have a mouse
1448 https://bugs.webkit.org/show_bug.cgi?id=88270
1449
1450 Reviewed by James Robinson.
1451
1452 * public/WebSettings.h:
1453 * src/WebSettingsImpl.cpp:
1454 (WebKit::WebSettingsImpl::setDeviceSupportsMouse):
1455 (WebKit):
1456 * src/WebSettingsImpl.h:
1457 (WebSettingsImpl):
1458
1459 2012-06-04 Dana Jansens <danakj@chromium.org>
1460
1461 [chromium] Remove redundant setNeedsCommit when prepareToDraw fails
1462 https://bugs.webkit.org/show_bug.cgi?id=88246
1463
1464 Reviewed by James Robinson.
1465
1466 * tests/CCLayerTreeHostImplTest.cpp:
1467
1468 2012-06-04 Dana Jansens <danakj@chromium.org>
1469
1470 [chromium] Allow CCLayerImpl to find its layer tree host, and use this f or CCVideoLayerImpl instead of always-null pointer.
1471 https://bugs.webkit.org/show_bug.cgi?id=88252
1472
1473 Reviewed by James Robinson.
1474
1475 * tests/ScrollbarLayerChromiumTest.cpp:
1476 (WebCore::TEST):
1477 * tests/TreeSynchronizerTest.cpp:
1478 (WebKitTests::expectTreesAreIdentical):
1479 (WebKitTests::TEST):
1480
1481 2012-06-04 Ryosuke Niwa <rniwa@webkit.org>
1482
1483 yet another build fix attempt.
1484
1485 * src/WebHelperPluginImpl.cpp:
1486
1487 2012-06-04 Ryosuke Niwa <rniwa@webkit.org>
1488
1489 Another Chromium Windows build fix attempt after r119411.
1490
1491 * src/WebHelperPluginImpl.cpp:
1492
1493 2012-06-04 Shawn Singh <shawnsingh@chromium.org>
1494
1495 [chromium] CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer ne eds to be cleaner
1496 https://bugs.webkit.org/show_bug.cgi?id=85245
1497
1498 Reviewed by James Robinson.
1499
1500 Updated CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer
1501 so that the test is clearer and cleaner. The original test was
1502 covering what it needed, but in a confusing and not-so-practical
1503 way. This patch adds comments and performs a tighter test so that
1504 the intent is a bit more clear.
1505
1506 * tests/CCDamageTrackerTest.cpp:
1507 (WebKitTests::TEST_F):
1508
1509 2012-06-04 Ryosuke Niwa <rniwa@webkit.org>
1510
1511 Fix attempt after r119411.
1512
1513 * src/WebHelperPluginImpl.cpp:
1514
1515 2012-06-04 Sadrul Habib Chowdhury <sadrul@chromium.org>
1516
1517 [chromium] Fix software rendering for larger device-scale-factor
1518 https://bugs.webkit.org/show_bug.cgi?id=88136
1519
1520 Reviewed by Darin Fisher.
1521
1522 The fix is to apply the device-scale factor on the GraphicsContext.
1523 (and add a WebWidgetClient::deviceScaleFactor method to facilitate that) .
1524
1525 * public/WebWidgetClient.h:
1526 (WebWidgetClient):
1527 (WebKit::WebWidgetClient::deviceScaleFactor):
1528 * src/PageWidgetDelegate.cpp:
1529 (WebKit::PageWidgetDelegate::paint):
1530 * src/WebPopupMenuImpl.cpp:
1531 (WebKit::WebPopupMenuImpl::paint):
1532
1533 2012-06-04 Sadrul Habib Chowdhury <sadrul@chromium.org>
1534
1535 Combobox options and autofill options should not be scaled for device-sc ale factor.
1536 https://bugs.webkit.org/show_bug.cgi?id=87921
1537
1538 Reviewed by Darin Fisher.
1539
1540 * src/WebViewImpl.cpp:
1541 (WebKit::WebViewImpl::applyAutofillSuggestions):
1542
1543 2012-06-04 Dana Jansens <danakj@chromium.org>
1544
1545 [chromium] Make LayerRendererChromium use RenderPasses instead of Render Surfaces
1546 https://bugs.webkit.org/show_bug.cgi?id=88132
1547
1548 Reviewed by Adrienne Walker.
1549
1550 * tests/CCLayerTreeHostImplTest.cpp:
1551 * tests/LayerRendererChromiumTest.cpp:
1552 (FakeCCRendererClient::FakeCCRendererClient):
1553 (FakeCCRendererClient::rootRenderPass):
1554 (FakeCCRendererClient):
1555 (TEST_F):
1556
1557 2012-06-04 David Dorwin <ddorwin@chromium.org>
1558
1559 Enable Chromium media player to instantiate a plugin
1560 https://bugs.webkit.org/show_bug.cgi?id=87399
1561
1562 Reviewed by Kent Tamura.
1563
1564 Adds WebHelperPlugin, an off-screen widget that contains an <object> tag .
1565
1566 * WebKit.gyp:
1567 * public/WebHelperPlugin.h: Copied from Source/WebKit/chromium/public/We bPopupType.h.
1568 (WebKit):
1569 (WebHelperPlugin):
1570 (WebKit::WebHelperPlugin::~WebHelperPlugin):
1571 * public/WebMediaPlayerClient.h:
1572 (WebKit):
1573 * public/WebPopupType.h:
1574 * public/WebView.h:
1575 * public/WebViewClient.h:
1576 (WebKit):
1577 (WebViewClient):
1578 (WebKit::WebViewClient::initializeHelperPluginWebFrame):
1579 * src/WebFrameImpl.cpp:
1580 (WebKit::WebFrameImpl::WebFrameImpl):
1581 (WebKit::WebFrameImpl::initializeAsMainFrame):
1582 * src/WebFrameImpl.h:
1583 (WebFrameImpl):
1584 * src/WebHelperPluginImpl.cpp: Added.
1585 (WebKit):
1586 (WebKit::addString):
1587 (WebKit::writeDocument):
1588 (HelperPluginChromeClient):
1589 (WebKit::HelperPluginChromeClient::HelperPluginChromeClient):
1590 (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
1591 (WebKit::WebHelperPluginImpl::~WebHelperPluginImpl):
1592 (WebKit::WebHelperPluginImpl::init):
1593 (WebKit::WebHelperPluginImpl::initializeFrame):
1594 (WebKit::WebHelperPluginImpl::initPage):
1595 (WebKit::WebHelperPluginImpl::setCompositorSurfaceReady):
1596 (WebKit::WebHelperPluginImpl::composite):
1597 (WebKit::WebHelperPluginImpl::layout):
1598 (WebKit::WebHelperPluginImpl::setFocus):
1599 (WebKit::WebHelperPluginImpl::close):
1600 (WebKit::WebHelperPluginImpl::closeHelperPlugin):
1601 (WebKit::WebHelperPlugin::create):
1602 * src/WebHelperPluginImpl.h: Copied from Source/WebKit/chromium/public/W ebPopupType.h.
1603 (WebCore):
1604 (WebKit):
1605 (WebHelperPluginImpl):
1606 * src/WebMediaPlayerClientImpl.cpp:
1607 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
1608 (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
1609 (WebKit):
1610 (WebKit::WebMediaPlayerClientImpl::closeHelperPlugin):
1611 * src/WebMediaPlayerClientImpl.h:
1612 (WebKit):
1613 (WebMediaPlayerClientImpl):
1614 * src/WebViewImpl.cpp:
1615 (WebKit::WebViewImpl::initializeMainFrame):
1616 (WebKit::WebViewImpl::initializeHelperPluginFrame):
1617 (WebKit):
1618 (WebKit::WebViewImpl::createHelperPlugin):
1619 * src/WebViewImpl.h:
1620 (WebKit):
1621 (WebViewImpl):
1622
1623 2012-06-04 Raymes Khoury <raymes@chromium.org>
1624
1625 Remove obsolete acceptMIMETypes member.
1626 https://bugs.webkit.org/show_bug.cgi?id=88241
1627
1628 Reviewed by Darin Fisher.
1629
1630 Obsoleted by https://bugs.webkit.org/show_bug.cgi?id=87271 and http://co dereview.chromium.org/10414085/.
1631
1632 * public/WebFileChooserParams.h:
1633 (WebFileChooserParams):
1634 * src/ChromeClientImpl.cpp:
1635 (WebKit::ChromeClientImpl::runOpenPanel):
1636
1637 2012-06-04 Zeev Lieber <zlieber@chromium.org>
1638
1639 [chromium] Cleanup scissor rect computation/use with damage
1640 https://bugs.webkit.org/show_bug.cgi?id=87167
1641
1642 Reviewed by Adrienne Walker.
1643
1644 Added unit tests to CCLayerTreeHostImpl using mock graphic context
1645 to verify end-to-end quad drawing.
1646
1647 Added more test cases to CCLayerTreeHostCommon to verify clip and
1648 scissor rect computations.
1649
1650 * tests/CCDamageTrackerTest.cpp:
1651 (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1652 * tests/CCLayerIteratorTest.cpp:
1653 * tests/CCLayerTreeHostCommonTest.cpp:
1654 * tests/CCLayerTreeHostImplTest.cpp:
1655 * tests/CCOcclusionTrackerTest.cpp:
1656 (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
1657 * tests/CCRenderSurfaceTest.cpp:
1658
1659 2012-06-03 Ryosuke Niwa <rniwa@webkit.org>
1660
1661 Roll Chromium DEPS from r140222 to r140260.
1662
1663 * DEPS:
1664
1665 2012-06-03 Ryosuke Niwa <rniwa@webkit.org>
1666
1667 Roll Chromium DEPS from r140000 to r140222.
1668
1669 * DEPS:
1670
1671 2012-06-03 Varun Jain <varunjain@google.com>
1672
1673 [chromium] Add new gesture type (two finger tap) that triggers context m enu.
1674 https://bugs.webkit.org/show_bug.cgi?id=88173
1675
1676 Reviewed by Adam Barth.
1677
1678 * public/WebInputEvent.h:
1679 * src/PageWidgetDelegate.cpp:
1680 (WebKit::PageWidgetDelegate::handleInputEvent):
1681 * src/WebInputEventConversion.cpp:
1682 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1683 * src/WebPopupMenuImpl.cpp:
1684 (WebKit::WebPopupMenuImpl::handleInputEvent):
1685 * src/WebViewImpl.cpp:
1686 (WebKit::WebViewImpl::handleGestureEvent):
1687
1688 2012-06-03 Robert Kroeger <rjkroege@chromium.org>
1689
1690 [chromium] replace isScrollGestureEventType with isGestureEventType
1691 https://bugs.webkit.org/show_bug.cgi?id=88097
1692
1693 This change replaces the unused and incorrect isScrollGestureEventType
1694 method with a correct and useful isGestureEventType method.
1695
1696 Reviewed by Adam Barth.
1697
1698 * public/WebInputEvent.h:
1699 (WebInputEvent):
1700 (WebKit::WebInputEvent::isGestureEventType):
1701
1702 2012-06-01 Alexandre Elias <aelias@google.com>
1703
1704 [chromium] Software compositor initialization and base classes
1705 https://bugs.webkit.org/show_bug.cgi?id=87920
1706
1707 Reviewed by James Robinson.
1708
1709 Add a new setting to force software compositing. In this mode,
1710 no GraphicsContext3D should ever be created.
1711
1712 * public/WebSettings.h:
1713 * src/WebLayerTreeView.cpp:
1714 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1715 (WebKit::WebLayerTreeView::context):
1716 * src/WebLayerTreeViewImpl.cpp:
1717 * src/WebSettingsImpl.cpp:
1718 (WebKit::WebSettingsImpl::WebSettingsImpl):
1719 (WebKit::WebSettingsImpl::setForceSoftwareCompositing):
1720 (WebKit):
1721 * src/WebSettingsImpl.h:
1722 (WebSettingsImpl):
1723 (WebKit::WebSettingsImpl::forceSoftwareCompositing):
1724 * src/WebViewImpl.cpp:
1725 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1726 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
1727 (WebKit::WebViewImpl::createContext3D):
1728 * tests/CCLayerTreeHostImplTest.cpp:
1729 (WebKitTests::CCLayerTreeHostImplTest::createContext):
1730 (WebKitTests::TEST_F):
1731 * tests/CCLayerTreeHostTest.cpp:
1732 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
1733 (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
1734 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOn CCThread):
1735 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCTh read):
1736 * tests/CCTiledLayerTestCommon.cpp:
1737 (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
1738 * tests/CCTiledLayerTestCommon.h:
1739 (Texture):
1740 (WebKitTests::FakeTextureCopier::copyTexture):
1741 (WebKitTests::FakeTextureUploader::uploadTexture):
1742 * tests/Canvas2DLayerChromiumTest.cpp:
1743 (Canvas2DLayerChromiumTest::fullLifecycleTest):
1744 * tests/FakeCCLayerTreeHostClient.h:
1745 * tests/LayerRendererChromiumTest.cpp:
1746 (FakeLayerRendererChromium::FakeLayerRendererChromium):
1747 (LayerRendererChromiumTest::LayerRendererChromiumTest):
1748 (LayerRendererChromiumTest):
1749 (TEST):
1750 * tests/TextureCopierTest.cpp:
1751 * tests/TiledLayerChromiumTest.cpp:
1752 (WTF::TEST):
1753
1754 2012-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
1755
1756 Unreviewed, rolling out r119283, r119287, and r119291.
1757 http://trac.webkit.org/changeset/119283
1758 http://trac.webkit.org/changeset/119287
1759 http://trac.webkit.org/changeset/119291
1760 https://bugs.webkit.org/show_bug.cgi?id=88159
1761
1762 Not only broke compilation in the initial commit but also
1763 broke LayerChromiumTest.basicCreateAndDestroy (Requested by
1764 rniwa on #webkit).
1765
1766 * tests/CCAnimationTestCommon.cpp:
1767 (WebCore::addOpacityTransition):
1768 (WebCore::addAnimatedTransform):
1769 (WebKitTests::FakeTransformTransition::getValue):
1770 * tests/CCAnimationTestCommon.h:
1771 * tests/CCKeyframedAnimationCurveTest.cpp:
1772 * tests/CCLayerAnimationControllerTest.cpp:
1773 * tests/CCLayerTreeHostTest.cpp:
1774 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
1775 * tests/GraphicsLayerChromiumTest.cpp:
1776 (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
1777 (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
1778 (WebKitTests::MockGraphicsLayerClient::paintContents):
1779 (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
1780 (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
1781 (WebKitTests::TEST):
1782
1783 2012-06-01 Ryosuke Niwa <rniwa@webkit.org>
1784
1785 Use fully qualified name for Fixed to avoid the collision with "typedef SInt32 Fixed" in MacTypes.h
1786
1787 * tests/GraphicsLayerChromiumTest.cpp:
1788 (WebKitTests::TEST_F):
1789
1790 2012-06-01 James Robinson <jamesr@chromium.org>
1791
1792 [chromium] Unreviewed compile fix for r119283
1793
1794 For the record, Dana Jensens <danakj@chromium.org> wrote this slightly f aster than I did.
1795
1796 * tests/CCAnimationTestCommon.h:
1797
1798 2012-06-01 Ian Vollick <vollick@chromium.org>
1799
1800 [chromium] Accelerated animations should use WebTransformOperations
1801 https://bugs.webkit.org/show_bug.cgi?id=87686
1802
1803 Reviewed by James Robinson.
1804
1805 CCTransformKeyframe new owns a WebTransformOperations rather than a
1806 TransformOperations. LayerChromium's API has been changed so that
1807 LayerChromium::addAnimation should take only a CCActiveAnimation.
1808 GraphicsLayerChromium is new responsible for translating to
1809 WebTransformOperations and creating CCActiveAnimations. Tests that use
1810 the public API (that is, they call addAnimation with KeyframeValueList
1811 and Animation arguments) have been moved to GraphicsLayerChromiumTest.
1812
1813 * tests/CCAnimationTestCommon.cpp:
1814 (WebCore::addOpacityTransition):
1815 (WebCore::addAnimatedTransform):
1816 (WebKitTests::FakeTransformTransition::getValue):
1817 * tests/CCAnimationTestCommon.h:
1818 * tests/CCKeyframedAnimationCurveTest.cpp:
1819 (WebCore::TEST):
1820 * tests/CCLayerAnimationControllerTest.cpp:
1821 (WebKitTests::TEST):
1822 * tests/CCLayerTreeHostTest.cpp:
1823 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
1824 * tests/GraphicsLayerChromiumTest.cpp:
1825 (MockLayerTreeHostClient):
1826 (WebKitTests):
1827 (MockLayerTreeHost):
1828 (WebKitTests::MockLayerTreeHost::create):
1829 (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
1830 (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
1831 (GraphicsLayerChromiumTest):
1832 (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1833 (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
1834 (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
1835 (WebKitTests::TEST_F):
1836
1837 2012-06-01 Mark Pilgrim <pilgrim@chromium.org>
1838
1839 [Chromium] Call clipboard methods directly
1840 https://bugs.webkit.org/show_bug.cgi?id=88038
1841
1842 Reviewed by Adam Barth.
1843
1844 Part of a refactoring series. See tracking bug 82948.
1845
1846 * src/AssertMatchingEnums.cpp:
1847 * src/PlatformSupport.cpp:
1848 (WebCore::getCookieJar):
1849
1850 2012-06-01 Peter Beverloo <peter@chromium.org>
1851
1852 Unreviewed. Rolled DEPS.
1853
1854 * DEPS:
1855
1856 2012-06-01 Yoshifumi Inoue <yosin@chromium.org>
1857
1858 [Platform][Decimal] UInt128::operator/= calls makeUInt128 with wrong arg ument order
1859 https://bugs.webkit.org/show_bug.cgi?id=88044
1860
1861 Reviewed by Kent Tamura.
1862
1863 * tests/DecimalTest.cpp:
1864 (TEST_F): Add a new test for multiplication.
1865
1866 2012-05-31 Hajime Morrita <morrita@chromium.org>
1867
1868 REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
1869 https://bugs.webkit.org/show_bug.cgi?id=86859
1870
1871 Removed a port specific fix which was introduced at r117572.
1872
1873 Reviewed by Ryosuke Niwa.
1874
1875 * src/EditorClientImpl.cpp:
1876 (WebKit::EditorClientImpl::frameWillDetachPage):
1877 (WebKit::EditorClientImpl::requestCheckingOfString):
1878 * src/EditorClientImpl.h:
1879 (WebCore):
1880 (EditorClientImpl):
1881 * src/WebTextCheckingCompletionImpl.cpp:
1882 (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
1883 (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
1884 * src/WebTextCheckingCompletionImpl.h:
1885 (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
1886 (WebTextCheckingCompletionImpl):
1887
1888 2012-05-31 Sheriff Bot <webkit.review.bot@gmail.com>
1889
1890 Unreviewed, rolling out r119146.
1891 http://trac.webkit.org/changeset/119146
1892 https://bugs.webkit.org/show_bug.cgi?id=88035
1893
1894 android breakage fixed in http://crrev.com/139945 (Requested
1895 by fischman on #webkit).
1896
1897 * public/WebMediaPlayer.h:
1898 (WebMediaPlayer):
1899 * src/WebMediaPlayerClientImpl.cpp:
1900 (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
1901 * src/WebMediaPlayerClientImpl.h:
1902 (WebMediaPlayerClientImpl):
1903
1904 2012-05-31 Shawn Singh <shawnsingh@chromium.org>
1905
1906 [chromium] Migrate to WebTransformationMatrix
1907 https://bugs.webkit.org/show_bug.cgi?id=87788
1908
1909 Reviewed by James Robinson.
1910
1911 * src/WebLayer.cpp:
1912 (WebKit::WebLayer::setSublayerTransform):
1913 (WebKit::WebLayer::setTransform):
1914 * tests/CCAnimationTestCommon.cpp:
1915 (WebKitTests::FakeTransformTransition::getValue):
1916 * tests/CCAnimationTestCommon.h:
1917 * tests/CCDamageTrackerTest.cpp:
1918 (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1919 (WebKitTests::TEST_F):
1920 * tests/CCKeyframedAnimationCurveTest.cpp:
1921 * tests/CCLayerAnimationControllerTest.cpp:
1922 * tests/CCLayerImplTest.cpp:
1923 (WebCore::TEST):
1924 * tests/CCLayerIteratorTest.cpp:
1925 * tests/CCLayerSorterTest.cpp:
1926 * tests/CCLayerTreeHostCommonTest.cpp:
1927 * tests/CCLayerTreeHostTest.cpp:
1928 (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commi tCompleteOnCCThread):
1929 (WTF::setLayerPropertiesForTesting):
1930 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
1931 (WTF::setTestLayerPropertiesForTesting):
1932 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
1933 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
1934 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
1935 * tests/CCLayerTreeTestCommon.h:
1936 (WebKitTests):
1937 * tests/CCMathUtilTest.cpp:
1938 * tests/CCOcclusionTrackerTest.cpp:
1939 (WebKitTests::CCOcclusionTrackerTest::createRoot):
1940 (WebKitTests::CCOcclusionTrackerTest::createLayer):
1941 (WebKitTests::CCOcclusionTrackerTest::createSurface):
1942 (WebKitTests::CCOcclusionTrackerTest::createDrawingLayer):
1943 (WebKitTests::CCOcclusionTrackerTest::createReplicaLayer):
1944 (WebKitTests::CCOcclusionTrackerTest::createDrawingSurface):
1945 (CCOcclusionTrackerTest):
1946 (WebKitTests::CCOcclusionTrackerTest::setBaseProperties):
1947 (WebKitTests::CCOcclusionTrackerTest::setProperties):
1948 (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
1949 (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
1950 (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
1951 (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
1952 (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
1953 (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyT est):
1954 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTes t):
1955 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTra nsforms::runMyTest):
1956 (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
1957 (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
1958 (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
1959 (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::ru nMyTest):
1960 (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::run MyTest):
1961 (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::ru nMyTest):
1962 (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent:: runMyTest):
1963 (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackground Filter::runMyTest):
1964 (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionT wice::runMyTest):
1965 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFi lter::runMyTest):
1966 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilte rIsOccluded::runMyTest):
1967 (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterI sPartiallyOccluded::runMyTest):
1968 * tests/CCQuadCullerTest.cpp:
1969 * tests/CCRenderSurfaceTest.cpp:
1970 * tests/FloatQuadTest.cpp:
1971 * tests/LayerChromiumTest.cpp:
1972 * tests/LinkHighlightTest.cpp:
1973 * tests/TiledLayerChromiumTest.cpp:
1974 * tests/WebTransformationMatrixTest.cpp:
1975 (WebKit::TEST):
1976 (WebKit):
1977
1978 2012-05-31 Ian Vollick <vollick@chromium.org>
1979
1980 [chromium] Single thread proxy should not tick animations unless the lay er renderer has been initialized
1981 https://bugs.webkit.org/show_bug.cgi?id=87873
1982
1983 Reviewed by James Robinson.
1984
1985 When the layer renderer fails to initialize, be sure to stop the animati on timer.
1986
1987 * tests/CCLayerTreeHostTest.cpp:
1988 (CompositorFakeWebGraphicsContext3DWithTextureTracking):
1989 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
1990 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTextu re):
1991 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTextu re):
1992 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture ):
1993 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures ):
1994 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
1995 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextur es):
1996 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedText ures):
1997 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture ):
1998 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTe xtures):
1999 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorF akeWebGraphicsContext3DWithTextureTracking):
2000 (WTF):
2001 (WTF::TestHooks::didRecreateContext):
2002 (TestHooks):
2003 (WTF::TestHooks::createContext):
2004 (CCLayerTreeHostTest):
2005 (WTF::CCLayerTreeHostTest::clearEndTestTask):
2006 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
2007 (EndTestTask):
2008 (WTF::CCLayerTreeHostTest::EndTestTask::EndTestTask):
2009 (WTF::CCLayerTreeHostTest::EndTestTask::~EndTestTask):
2010 (WTF::CCLayerTreeHostTest::EndTestTask::clearTest):
2011 (WTF::CCLayerTreeHostTest::EndTestTask::run):
2012 (WTF::CCLayerTreeHostTest::runTest):
2013 (WTF::CCLayerTreeHostTest::endTestAfterDelay):
2014 (FakeWebGraphicsContext3DMakeCurrentFails):
2015 (WTF::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
2016 (CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
2017 (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation:: CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
2018 (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation:: beginTest):
2019 (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation:: animateLayers):
2020 (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation:: didRecreateContext):
2021 (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation:: afterTest):
2022 (WTF::TEST_F):
2023
2024 2012-05-15 Brett Wilson <brettw@chromium.org>
2025
2026 Hook up GTK IsKeyPad flag for keyboard events, and preserve this flag
2027 on all platforms when converting back to a WebKeyboardEvent.
2028
2029 https://bugs.webkit.org/show_bug.cgi?id=86514
2030
2031 Reviewed by Dimitri Glazkov.
2032
2033 * src/WebInputEventConversion.cpp:
2034 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
2035 * src/gtk/WebInputEventFactory.cpp:
2036 (WebKit::WebInputEventFactory::keyboardEvent):
2037 * tests/WebInputEventFactoryTestGtk.cpp:
2038
2039 2012-05-31 Alec Flett <alecflett@chromium.org>
2040
2041 IndexedDB: Implement IDBTransaction.error and IDBRequest.error
2042 https://bugs.webkit.org/show_bug.cgi?id=87865
2043
2044 Reviewed by Tony Chang.
2045
2046 IDBDatabaseError now honors IDB-specific DOMException codes,
2047 so make sure that's how they are passed to/from chromium.
2048
2049 * src/WebIDBDatabaseError.cpp:
2050 (WebKit::WebIDBDatabaseError::assign):
2051
2052 2012-05-31 James Robinson <jamesr@chromium.org>
2053
2054 [chromium] Assertion failures during compositor startup in lost context situations
2055 https://bugs.webkit.org/show_bug.cgi?id=87912
2056
2057 Reviewed by Adrienne Walker.
2058
2059 Adds a unit test verifying that even if we lose our context during or be fore initialization we get through the
2060 rest of the path without failing ASSERT()s.
2061
2062 * tests/LayerRendererChromiumTest.cpp:
2063 (LoseContextOnFirstGetContext):
2064 (LoseContextOnFirstGetContext::LoseContextOnFirstGetContext):
2065 (TEST):
2066
2067 2012-05-31 Sheriff Bot <webkit.review.bot@gmail.com>
2068
2069 Unreviewed, rolling out r119125.
2070 http://trac.webkit.org/changeset/119125
2071 https://bugs.webkit.org/show_bug.cgi?id=88007
2072
2073 Will break android build if rolled (Requested by rafaelw_ on
2074 #webkit).
2075
2076 * public/WebMediaPlayer.h:
2077 (WebMediaPlayer):
2078 * src/WebMediaPlayerClientImpl.cpp:
2079 (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
2080 * src/WebMediaPlayerClientImpl.h:
2081 (WebMediaPlayerClientImpl):
2082
2083 2012-05-31 Dana Jansens <danakj@chromium.org>
2084
2085 [chromium] Move drawing code for RenderSurfaces into LayerRendererChromi um
2086 https://bugs.webkit.org/show_bug.cgi?id=87877
2087
2088 Reviewed by James Robinson.
2089
2090 * tests/CCRenderSurfaceTest.cpp:
2091 (WebCore::TEST):
2092
2093 2012-05-31 Ami Fischman <fischman@chromium.org>
2094
2095 Replace WebMediaPlayer::bytesLoaded() with an explicit didLoadingProgres s()
2096 https://bugs.webkit.org/show_bug.cgi?id=86113
2097
2098 Reviewed by Eric Carlson.
2099
2100 * public/WebMediaPlayer.h:
2101 (WebMediaPlayer):
2102 * src/WebMediaPlayerClientImpl.cpp:
2103 (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
2104 * src/WebMediaPlayerClientImpl.h:
2105 (WebMediaPlayerClientImpl):
2106
2107 2012-05-31 Ian Vollick <vollick@chromium.org>
2108
2109 [chromium] create WebTransformOperation interface for chromium platform
2110 https://bugs.webkit.org/show_bug.cgi?id=87510
2111
2112 Reviewed by James Robinson.
2113
2114 * WebKit.gypi:
2115 * tests/WebTransformOperationsTest.cpp: Added.
2116 (TEST):
2117 (checkProgress):
2118
2119 2012-05-31 Alexander Pavlov <apavlov@chromium.org>
2120
2121 Web Inspector: [Chromium] Cannot bring Inspector to front when paused on breakpoint
2122 https://bugs.webkit.org/show_bug.cgi?id=87871
2123
2124 Reviewed by Yury Semikhatsky.
2125
2126 When input events handling is suppressed (due to the JS being paused on a breakpoint), we should report
2127 these events as NOT handled by the WebKit, so that the browser can handl e them appropriately
2128 (on MacOS, switching between the application windows is done through the default key event handler, so if you run
2129 event.preventDefault() for all keydown events in a handler, the Chromium window switch will not occur on Cmd+`).
2130
2131 * src/WebViewImpl.cpp:
2132 (WebKit::WebViewImpl::handleInputEvent):
2133
2134 2012-05-31 Peter Beverloo <peter@chromium.org>
2135
2136 Unreviewed. Rolled DEPS.
2137
2138 * DEPS:
2139
2140 2012-05-30 Peter Beverloo <peter@chromium.org>
2141
2142 [Chromium] Automatically install 64-bit linker for Android
2143 https://bugs.webkit.org/show_bug.cgi?id=79780
2144
2145 Reviewed by Adam Barth.
2146
2147 Change the Android-specific dependencies to inherit their revision from
2148 Chromium's DEPS file, like many other dependencies do, solving the
2149 versioning problem that we're running in to right now. These are listed
2150 in Chromium's main DEPS file starting Chromium r139529.
2151
2152 * DEPS:
2153
2154 2012-05-31 Yoshifumi Inoue <yosin@chromium.org>
2155
2156 Build fix for Chromium Linux (Tests) after r119073.
2157
2158 * tests/DecimalTest.cpp:
2159 (TEST_F):
2160
2161 2012-05-31 Yoshifumi Inoue <yosin@chromium.org>
2162
2163 [Platform] Introduce Decimal class for Number/Range input type.
2164 https://bugs.webkit.org/show_bug.cgi?id=87360
2165
2166 Reviewed by Kent Tamura.
2167
2168 This patch added unit test for Decimal class.
2169
2170 * WebKit.gypi:
2171 * tests/DecimalTest.cpp: Added.
2172 (WebCore):
2173 (WebCore::operator<<): Output Decimal for unit test debugging
2174 (DecimalStepRange):
2175 (DecimalStepRange::DecimalStepRange):
2176 (DecimalStepRange::clampValue):
2177 (DecimalTest):
2178 (DecimalTest::encode):
2179 (DecimalTest::fromString):
2180 (DecimalTest::stepDown):
2181 (DecimalTest::stepUp):
2182 (TEST_F):
2183
2184 2012-05-30 Yury Semikhatsky <yurys@chromium.org>
2185
2186 Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
2187 https://bugs.webkit.org/show_bug.cgi?id=87830
2188
2189 Reviewed by James Robinson.
2190
2191 * public/platform/WebKitPlatformSupport.h: pulled getProcessMemorySize u p
2192 to the Source/Platform/chromium/public/Platform.h
2193 * src/PlatformSupport.cpp:
2194
2195 2012-05-31 Kent Tamura <tkent@chromium.org>
2196
2197 Unreviewed, rolling out r119062 and r119064.
2198 http://trac.webkit.org/changeset/119062
2199 http://trac.webkit.org/changeset/119064
2200 https://bugs.webkit.org/show_bug.cgi?id=87360
2201
2202 Broke build on Lion, SnowLoepard, Chromium Windows, and
2203 Chromium Linux 32
2204
2205 * WebKit.gypi:
2206 * tests/DecimalTest.cpp: Removed.
2207
2208 2012-05-30 Yoshifumi Inoue <yosin@chromium.org>
2209
2210 [Platform] Introduce Decimal class for Number/Range input type.
2211 https://bugs.webkit.org/show_bug.cgi?id=87360
2212
2213 Reviewed by Kent Tamura.
2214
2215 This patch added unit test for Decimal class.
2216
2217 * WebKit.gypi:
2218 * tests/DecimalTest.cpp: Added.
2219 (WebCore):
2220 (WebCore::operator<<): Output Decimal for unit test debugging
2221 (DecimalStepRange):
2222 (DecimalStepRange::DecimalStepRange):
2223 (DecimalStepRange::clampValue):
2224 (DecimalTest):
2225 (DecimalTest::encode):
2226 (DecimalTest::fromString):
2227 (DecimalTest::stepDown):
2228 (DecimalTest::stepUp):
2229 (TEST_F):
2230
2231 2012-05-30 Shawn Singh <shawnsingh@chromium.org>
2232
2233 [chromium] Fix min/max bounds error in CCMathUtil.cpp
2234 https://bugs.webkit.org/show_bug.cgi?id=87915
2235
2236 Reviewed by James Robinson.
2237
2238 * tests/CCMathUtilTest.cpp:
2239 (WebCore::TEST):
2240 (WebCore):
2241
2242 2012-05-30 Ami Fischman <fischman@chromium.org>
2243
2244 Roll chromium DEPS from r139300 to r139542. Unreviewed.
2245 https://bugs.webkit.org/show_bug.cgi?id=87868
2246
2247 * DEPS:
2248
2249 2012-05-30 Mark Pilgrim <pilgrim@chromium.org>
2250
2251 [Chromium] Call fileUtilities methods directly
2252 https://bugs.webkit.org/show_bug.cgi?id=87852
2253
2254 Reviewed by Adam Barth.
2255
2256 Part of a refactoring series. See tracking bug 82948.
2257
2258 * src/PlatformSupport.cpp:
2259 (WebCore):
2260
2261 2012-05-30 Sheriff Bot <webkit.review.bot@gmail.com>
2262
2263 Unreviewed, rolling out r118986.
2264 http://trac.webkit.org/changeset/118986
2265 https://bugs.webkit.org/show_bug.cgi?id=87914
2266
2267 Caused several IndexedDB browser_test failures on Chromium
2268 canary builders (Requested by rafaelw_ on #webkit).
2269
2270 * src/WebIDBDatabaseError.cpp:
2271 (WebKit::WebIDBDatabaseError::assign):
2272
2273 2012-05-30 Dominic Mazzoni <dmazzoni@google.com>
2274
2275 AX: Chromium WebAccessibilityObject should check if an AccessibilityObje ct is detached
2276 https://bugs.webkit.org/show_bug.cgi?id=87778
2277
2278 Reviewed by Adam Barth.
2279
2280 Pretty simple - all places that previously just checked for null
2281 now also check if the wrapped AccessibilityObject is detached.
2282
2283 * public/WebAccessibilityObject.h:
2284 (WebAccessibilityObject):
2285 * src/WebAccessibilityObject.cpp:
2286 (WebKit::WebAccessibilityObject::isDetached):
2287 (WebKit):
2288 (WebKit::WebAccessibilityObject::axID):
2289 (WebKit::WebAccessibilityObject::accessibilityDescription):
2290 (WebKit::WebAccessibilityObject::actionVerb):
2291 (WebKit::WebAccessibilityObject::canSetFocusAttribute):
2292 (WebKit::WebAccessibilityObject::canSetValueAttribute):
2293 (WebKit::WebAccessibilityObject::isValid):
2294 (WebKit::WebAccessibilityObject::childCount):
2295 (WebKit::WebAccessibilityObject::childAt):
2296 (WebKit::WebAccessibilityObject::firstChild):
2297 (WebKit::WebAccessibilityObject::focusedChild):
2298 (WebKit::WebAccessibilityObject::lastChild):
2299 (WebKit::WebAccessibilityObject::nextSibling):
2300 (WebKit::WebAccessibilityObject::parentObject):
2301 (WebKit::WebAccessibilityObject::previousSibling):
2302 (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
2303 (WebKit::WebAccessibilityObject::isAnchor):
2304 (WebKit::WebAccessibilityObject::isAriaReadOnly):
2305 (WebKit::WebAccessibilityObject::isButtonStateMixed):
2306 (WebKit::WebAccessibilityObject::isChecked):
2307 (WebKit::WebAccessibilityObject::isCollapsed):
2308 (WebKit::WebAccessibilityObject::isControl):
2309 (WebKit::WebAccessibilityObject::isEnabled):
2310 (WebKit::WebAccessibilityObject::isFocused):
2311 (WebKit::WebAccessibilityObject::isHovered):
2312 (WebKit::WebAccessibilityObject::isIndeterminate):
2313 (WebKit::WebAccessibilityObject::isLinked):
2314 (WebKit::WebAccessibilityObject::isLoaded):
2315 (WebKit::WebAccessibilityObject::isMultiSelectable):
2316 (WebKit::WebAccessibilityObject::isOffScreen):
2317 (WebKit::WebAccessibilityObject::isPasswordField):
2318 (WebKit::WebAccessibilityObject::isPressed):
2319 (WebKit::WebAccessibilityObject::isReadOnly):
2320 (WebKit::WebAccessibilityObject::isRequired):
2321 (WebKit::WebAccessibilityObject::isSelected):
2322 (WebKit::WebAccessibilityObject::isSelectedOptionActive):
2323 (WebKit::WebAccessibilityObject::isVertical):
2324 (WebKit::WebAccessibilityObject::isVisible):
2325 (WebKit::WebAccessibilityObject::isVisited):
2326 (WebKit::WebAccessibilityObject::accessKey):
2327 (WebKit::WebAccessibilityObject::ariaHasPopup):
2328 (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
2329 (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
2330 (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
2331 (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
2332 (WebKit::WebAccessibilityObject::boundingBoxRect):
2333 (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
2334 (WebKit::WebAccessibilityObject::helpText):
2335 (WebKit::WebAccessibilityObject::headingLevel):
2336 (WebKit::WebAccessibilityObject::hierarchicalLevel):
2337 (WebKit::WebAccessibilityObject::hitTest):
2338 (WebKit::WebAccessibilityObject::keyboardShortcut):
2339 (WebKit::WebAccessibilityObject::performDefaultAction):
2340 (WebKit::WebAccessibilityObject::roleValue):
2341 (WebKit::WebAccessibilityObject::selectionEnd):
2342 (WebKit::WebAccessibilityObject::selectionStart):
2343 (WebKit::WebAccessibilityObject::setFocused):
2344 (WebKit::WebAccessibilityObject::stringValue):
2345 (WebKit::WebAccessibilityObject::title):
2346 (WebKit::WebAccessibilityObject::titleUIElement):
2347 (WebKit::WebAccessibilityObject::url):
2348 (WebKit::WebAccessibilityObject::valueDescription):
2349 (WebKit::WebAccessibilityObject::valueForRange):
2350 (WebKit::WebAccessibilityObject::maxValueForRange):
2351 (WebKit::WebAccessibilityObject::minValueForRange):
2352 (WebKit::WebAccessibilityObject::node):
2353 (WebKit::WebAccessibilityObject::document):
2354 (WebKit::WebAccessibilityObject::hasComputedStyle):
2355 (WebKit::WebAccessibilityObject::computedStyleDisplay):
2356 (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
2357 (WebKit::WebAccessibilityObject::lineBreaks):
2358 (WebKit::WebAccessibilityObject::columnCount):
2359 (WebKit::WebAccessibilityObject::rowCount):
2360
2361 2012-05-30 Shawn Singh <shawnsingh@chromium.org>
2362
2363 Simplify TransformationMatrix rotation code to improve precision
2364 https://bugs.webkit.org/show_bug.cgi?id=86666
2365
2366 Reviewed by Adrienne Walker.
2367
2368 * tests/CCLayerTreeHostCommonTest.cpp:
2369 (WebKitTests::TEST):
2370 * tests/WebTransformationMatrixTest.cpp:
2371 (WebKit::TEST):
2372 (WebKit):
2373
2374 2012-05-30 Alec Flett <alecflett@chromium.org>
2375
2376 IndexedDB: Implement IDBTransaction.error and IDBRequest.error
2377 https://bugs.webkit.org/show_bug.cgi?id=87865
2378
2379 Reviewed by Tony Chang.
2380
2381 IDBDatabaseError now honors IDB-specific DOMException codes,
2382 so make sure that's how they are passed to/from chromium.
2383
2384 * src/WebIDBDatabaseError.cpp:
2385 (WebKit::WebIDBDatabaseError::assign):
2386
2387 2012-05-30 Shawn Singh <shawnsingh@chromium.org>
2388
2389 [chromium] Merge shared code in CCOcclusionTrackerTest
2390 https://bugs.webkit.org/show_bug.cgi?id=87798
2391
2392 Reviewed by Adrienne Walker.
2393
2394 This patch simple uses a different existing macro function so that
2395 the same thing doesn't exist in multiple places, and so that the
2396 naming is more consistent with gtest's conventions.
2397
2398 * tests/CCOcclusionTrackerTest.cpp:
2399 (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
2400 (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
2401 (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
2402 (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
2403 (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
2404 (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
2405 (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyT est):
2406 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTes t):
2407 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTra nsforms::runMyTest):
2408 (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
2409 (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
2410 (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
2411 (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
2412 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyT est):
2413 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMy Test):
2414 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::run MyTest):
2415 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::ru nMyTest):
2416 (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyT est):
2417 (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
2418 (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
2419 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMy Test):
2420 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMy Test):
2421 (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runM yTest):
2422 (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent:: runMyTest):
2423 (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClippi ng::runMyTest):
2424 (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
2425 (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyT est):
2426 (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently ::runMyTest):
2427 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
2428 (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::ru nMyTest):
2429 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMy Test):
2430 (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackground Filter::runMyTest):
2431 (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionT wice::runMyTest):
2432 (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackground FilterWithClip::runMyTest):
2433 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFi lter::runMyTest):
2434 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilte rIsOccluded::runMyTest):
2435 (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
2436
2437 2012-05-30 Tony Chang <tony@chromium.org>
2438
2439 [chromium] port webframe_unittest.cc to webkit_unit_tests
2440 https://bugs.webkit.org/show_bug.cgi?id=87796
2441
2442 Reviewed by James Robinson.
2443
2444 Move WebFrameTest.GetContentAsPlainText and WebFrameTest.GetFullHtmlOfPa ge to webkit_unit_tests.
2445
2446 * tests/WebFrameTest.cpp:
2447 (WebKit::TEST_F):
2448 (WebKit): Add tests.
2449
2450 2012-05-30 Jochen Eisinger <jochen@chromium.org>
2451
2452 Match Firefox restrictions to window.blur and window.focus
2453 https://bugs.webkit.org/show_bug.cgi?id=86969
2454
2455 Reviewed by Adam Barth.
2456
2457 Allow window.focus() during the dispatch of the click event on
2458 notifications.
2459
2460 * src/WebNotification.cpp:
2461 (WebKit::WebNotification::dispatchClickEvent):
2462
2463 2012-05-29 Mark Pilgrim <pilgrim@chromium.org>
2464
2465 [Chromium] Move fileExists to Platform.h
2466 https://bugs.webkit.org/show_bug.cgi?id=87531
2467
2468 Reviewed by Adam Barth.
2469
2470 Part of a refactoring series. See tracking bug 82948.
2471
2472 * src/PlatformSupport.cpp:
2473 (WebCore):
2474
2475 2012-05-29 Alec Flett <alecflett@chromium.org>
2476
2477 IndexedDB: Align codes and names for IDB-specific and DOM-specific error s/exceptions
2478 https://bugs.webkit.org/show_bug.cgi?id=87276
2479
2480 Reviewed by Tony Chang.
2481
2482 * public/WebIDBDatabaseException.h:
2483 * src/AssertMatchingEnums.cpp:
2484
2485 2012-05-29 Rafael Weinstein <rafaelw@chromium.org>
2486
2487 Unreviewed. Rolled DEPS.
2488
2489 * DEPS:
2490
2491 2012-05-29 Dana Jansens <danakj@chromium.org>
2492
2493 [chromium] Unoccluded area in surfaces should always be clipped to the r ootScissorRect
2494 https://bugs.webkit.org/show_bug.cgi?id=87677
2495
2496 Reviewed by Adrienne Walker.
2497
2498 * tests/CCOcclusionTrackerTest.cpp:
2499 (CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor):
2500 (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::ru nMyTest):
2501 (WebKitTests):
2502
2503 2012-05-29 David Barr <davidbarr@chromium.org>
2504
2505 Introduce ENABLE_CSS_IMAGE_RESOLUTION compile flag
2506 https://bugs.webkit.org/show_bug.cgi?id=87685
2507
2508 Reviewed by Eric Seidel.
2509
2510 Add a configuration option for CSS image-resolution support, disabling i t by default.
2511
2512 * features.gypi:
2513
2514 2012-05-29 Peter Beverloo <peter@chromium.org>
2515
2516 Unreviewed. Rolled DEPS.
2517
2518 * DEPS:
2519
2520 2012-05-29 Hironori Bono <hbono@chromium.org>
2521
2522 Use WebSpellCheckClient::spellcheck to retrieve suggestions.
2523 https://bugs.webkit.org/show_bug.cgi?id=87690
2524
2525 Reviewed by Hajime Morita.
2526
2527 This change uses WebSpellCheckClient::spellcheck as a fallback method to
2528 retrieve suggestions when a marker does not have any suggestions. (It co nsumes
2529 lots of CPU power to get suggestions for misspelled word, i.e. Chromium cannot
2530 afford to attach suggestions to all spelling markers.)
2531
2532 * src/ContextMenuClientImpl.cpp:
2533 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Retrieve suggestions if markers do not have any.
2534
2535 2012-05-28 Takashi Toyoshima <toyoshim@chromium.org>
2536
2537 [WebSocket] Receiving reserved close codes, 1005, 1006, and 1015 must ap pear as code=1006 and wasClean=false
2538 https://bugs.webkit.org/show_bug.cgi?id=87084
2539
2540 Reviewed by Kent Tamura.
2541
2542 Update close event codes corresponding to WebSocketChannel::CloseEventCo de.
2543
2544 * public/WebSocket.h: Update on newly defined close event codes
2545
2546 2012-05-28 MORITA Hajime <morrita@google.com>
2547
2548 Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
2549 https://bugs.webkit.org/show_bug.cgi?id=87101
2550
2551 Reviewed by Kentaro Hara.
2552
2553 * src/FrameLoaderClientImpl.cpp:
2554 (WebKit::FrameLoaderClientImpl::allowShadowDOM):
2555 * src/FrameLoaderClientImpl.h:
2556 (FrameLoaderClientImpl):
2557
2558 2012-05-28 Rob Flack <flackr@chromium.org>
2559
2560 [chromium] Only increase size of Combo Box Options when displayed on tou ch screen
2561 https://bugs.webkit.org/show_bug.cgi?id=85921
2562
2563 Reviewed by Adam Barth.
2564
2565 Adds a flag to set whether the current device is a touch screen, indepen dent of whether touch events are supported and use this for the combo box sizing .
2566
2567 * public/WebSettings.h:
2568 * src/WebSettingsImpl.cpp:
2569 (WebKit::WebSettingsImpl::defaultDeviceScaleFactor):
2570 (WebKit):
2571 (WebKit::WebSettingsImpl::setDeviceSupportsTouch):
2572 (WebKit::WebSettingsImpl::deviceSupportsTouch):
2573 * src/WebSettingsImpl.h:
2574 (WebSettingsImpl):
2575 * src/WebViewImpl.cpp:
2576 (WebKit::WebViewImpl::applyAutofillSuggestions):
2577 * tests/PopupMenuTest.cpp:
2578 (WebKit::SelectPopupMenuTest::SetUp):
2579 (WebKit::SelectPopupMenuTest::TearDown):
2580 (SelectPopupMenuTest):
2581 (WebKit::TEST_F):
2582
2583 2012-05-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
2584
2585 WebKitTestRunner needs to support layoutTestController.setJavaScriptProf ilingEnabled
2586 https://bugs.webkit.org/show_bug.cgi?id=42328
2587
2588 Reviewed by Eric Seidel.
2589
2590 Removed private APIs that were only being used by DRT.
2591
2592 * public/WebDevToolsAgent.h:
2593 (WebDevToolsAgent):
2594 * src/WebDevToolsAgentImpl.cpp:
2595 * src/WebDevToolsAgentImpl.h:
2596 (WebDevToolsAgentImpl):
2597
2598 2012-05-28 Peter Beverloo <peter@chromium.org>
2599
2600 Unreviewed. Rolled DEPS.
2601
2602 * DEPS:
2603
2604 2012-05-28 Peter Beverloo <peter@chromium.org>
2605
2606 [Chromium] Build fix for the Android bot, set CXX_target at gyp generati on-time
2607 https://bugs.webkit.org/show_bug.cgi?id=87649
2608
2609 Unreviewed build fix.
2610
2611 Chromium Android builds were broken because v8 tried to compile files
2612 for target with the "-m32" flag. This was caused by a v8 check falling
2613 back to using "which g++" to find the right compiler, whereas it should
2614 have used the $CXX_target environment variable. This isn't being set
2615 for Android builds.
2616
2617 * gyp_webkit: Set the CXX_target environment variable. Annotate the fix
2618 with a FIXME comment too.
2619
2620 2012-05-28 Keishi Hattori <keishi@webkit.org>
2621
2622 Expose value localization function of HTMLInputElement
2623 https://bugs.webkit.org/show_bug.cgi?id=84356
2624
2625 Reviewed by Kent Tamura.
2626
2627 * public/WebInputElement.h:
2628 (WebInputElement):
2629 * src/WebInputElement.cpp:
2630 (WebKit::WebInputElement::localizeValue):
2631 (WebKit):
2632
2633 2012-05-28 MORITA Hajime <morrita@google.com>
2634
2635 Unreviewed Mac Chromium build fix.
2636
2637 * src/FrameLoaderClientImpl.cpp:
2638 (WebKit::FrameLoaderClientImpl::allowStyleScoped):
2639
2640 2012-05-28 MORITA Hajime <morrita@google.com>
2641
2642 https://bugs.webkit.org/show_bug.cgi?id=87609
2643 [Chromium] FrameLoaderClient::allowStyleScoped() should be implemented i nterms of WebPermissionClient
2644
2645 Reviewed by Kent Tamura.
2646
2647 Added allowStyleScoped() implementation which is essentially same as sha dowDOMAllowed().
2648
2649 * src/FrameLoaderClientImpl.cpp:
2650 * src/FrameLoaderClientImpl.h:
2651 (FrameLoaderClientImpl):
2652
2653 2012-05-25 Ryosuke Niwa <rniwa@webkit.org>
2654
2655 Roll chromium DEPS from r139156 to r139184.
2656
2657 * DEPS:
2658
2659 2012-05-25 Garrett Casto <gcasto@chromium.org>
2660
2661 Allow WebTextFieldDecoratorClient to see applied decorations.
2662 https://bugs.webkit.org/show_bug.cgi?id=86557
2663
2664 Reviewed by Kent Tamura.
2665
2666 * WebKit.gyp: Added new files.
2667 * public/WebInputElement.h:
2668 (WebKit::WebInputElement::decorationElementFor): Returns the
2669 WebElement attached to the WebInputElement by the given
2670 WebTextFieldDecoratorClient, if one exists.
2671 * src/TextFieldDecoratorImpl.cpp:
2672 (WebKit):
2673 * src/TextFieldDecoratorImpl.h:
2674 (TextFieldDecoratorImpl::decoratorClient): Get the
2675 WebTextFieldDecoratorClient owned by this object.
2676
2677 2012-05-25 Mihai Parparita <mihaip@chromium.org>
2678
2679 Allow synchronous XHRs to be disabled in documents
2680 https://bugs.webkit.org/show_bug.cgi?id=87540
2681
2682 Reviewed by Eric Seidel.
2683
2684 Synchronous XMLHttpRequests are a problematic API, since they result
2685 in blocked UI threads. Some clients may wish to always disable them;
2686 give them a setting to do so (see also r103629 for other cases where
2687 synchronous XHRs are disabled).
2688
2689 * public/WebSettings.h:
2690 * src/WebSettingsImpl.cpp:
2691 (WebKit::WebSettingsImpl::setSyncXHRInDocumentsEnabled):
2692 (WebKit):
2693 * src/WebSettingsImpl.h:
2694 (WebSettingsImpl):
2695
2696 2012-05-25 Kinuko Yasuda <kinuko@chromium.org>
2697
2698 [chromium] Deprecate FileUtilities::getFileSize and getFileModifiedTime in favor of getFileMetadata
2699 https://bugs.webkit.org/show_bug.cgi?id=87492
2700
2701 Reviewed by Adam Barth.
2702
2703 * src/PlatformSupport.cpp:
2704 (WebCore::PlatformSupport::getFileMetadata):
2705
2706 2012-05-25 Ryosuke Niwa <rniwa@webkit.org>
2707
2708 Roll Chromium DEPS from r139024 to r139156 in an attempt to fix Chromium Win builds.
2709
2710 * DEPS:
2711
2712 2012-05-25 Mark Pilgrim <pilgrim@chromium.org>
2713
2714 [Chomium] Move sandboxSupport to Platform.h
2715 https://bugs.webkit.org/show_bug.cgi?id=87518
2716
2717 Reviewed by Adam Barth.
2718
2719 Part of a refactoring series. See tracking bug 82948.
2720
2721 * WebKit.gyp:
2722 * public/platform/WebKitPlatformSupport.h:
2723 (WebKit):
2724 (WebKitPlatformSupport):
2725 * public/platform/android/WebSandboxSupport.h:
2726 * public/platform/linux/WebFontFamily.h:
2727 * public/platform/linux/WebSandboxSupport.h:
2728 * public/platform/mac/WebSandboxSupport.h:
2729 * public/platform/win/WebSandboxSupport.h:
2730 * src/PlatformSupport.cpp:
2731 (WebCore::PlatformSupport::ensureFontLoaded):
2732 (WebCore::PlatformSupport::loadFont):
2733 (WebCore::PlatformSupport::getFontFamilyForCharacters):
2734 (WebCore::PlatformSupport::getRenderStyleForStrike):
2735
2736 2012-05-25 Dana Jansens <danakj@chromium.org>
2737
2738 [chromium] WebLayerTreeViewImpl should not hide methods in CCLayerTreeHo st with signatures that match the Client interface
2739 https://bugs.webkit.org/show_bug.cgi?id=87301
2740
2741 Reviewed by James Robinson.
2742
2743 Most methods in the CCLayerTreeHostClient interface have a matching
2744 method signature on CCLayerTreeHost that simply calls the client, if
2745 one exists at all. However, CCLayerTreeHost::updateAnimations() does
2746 important work in addition to calling the client.
2747
2748 Currently WebLayerTreeViewImpl itself implements the interface for
2749 CCLayerTreeHostClient as well as CCLayerTreeHost, and simply forwards
2750 any call to a method in the client interface to its own client. This
2751 blocks WebViewImpl from calling CCLayerTreeHost::updateAnimations, since
2752 the method is also in the client interface.
2753
2754 We change WebLayerTreeViewImpl to own a CCLayerTreeHost and a
2755 WebLayerTreeHostClientAdapter. This fixes the shadowing by making
2756 the two interfaces separate, and resolves lifetime issues by
2757 ensuring that the CCLayerTreeHost is destroyed before its client.
2758
2759 * src/WebLayerTreeView.cpp:
2760 (WebKit::WebLayerTreeView::setSurfaceReady):
2761 (WebKit::WebLayerTreeView::setRootLayer):
2762 (WebKit::WebLayerTreeView::compositorIdentifier):
2763 (WebKit::WebLayerTreeView::setViewportSize):
2764 (WebKit::WebLayerTreeView::viewportSize):
2765 (WebKit::WebLayerTreeView::setBackgroundColor):
2766 (WebKit::WebLayerTreeView::setVisible):
2767 (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
2768 (WebKit::WebLayerTreeView::startPageScaleAnimation):
2769 (WebKit::WebLayerTreeView::setNeedsAnimate):
2770 (WebKit::WebLayerTreeView::setNeedsRedraw):
2771 (WebKit::WebLayerTreeView::commitRequested):
2772 (WebKit::WebLayerTreeView::composite):
2773 (WebKit::WebLayerTreeView::updateAnimations):
2774 (WebKit::WebLayerTreeView::compositeAndReadback):
2775 (WebKit::WebLayerTreeView::finishAllRendering):
2776 (WebKit::WebLayerTreeView::context):
2777 (WebKit::WebLayerTreeView::loseCompositorContext):
2778 * src/WebLayerTreeViewImpl.cpp:
2779 (WebKit):
2780 (WebLayerTreeViewClientAdapter):
2781 (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
2782 (WebKit::WebLayerTreeViewClientAdapter::~WebLayerTreeViewClientAdapter):
2783 (WebKit::WebLayerTreeViewImpl::create):
2784 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
2785 (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
2786 * src/WebLayerTreeViewImpl.h:
2787 (WebCore):
2788 (WebKit):
2789 (WebKit::WebLayerTreeViewImpl::layerTreeHost):
2790 (WebLayerTreeViewImpl):
2791
2792 2012-05-25 Kinuko Yasuda <kinuko@chromium.org>
2793
2794 Unreviewed; rolling chromium deps.
2795
2796 * DEPS:
2797
2798 2012-05-25 W. James MacLean <wjmaclean@chromium.org>
2799
2800 [chromium] LayerChromium should recognise existing layer active animatio ns when the layer is added.
2801 https://bugs.webkit.org/show_bug.cgi?id=87166
2802
2803 Reviewed by Adrienne Walker.
2804
2805 * tests/CCLayerTreeHostTest.cpp:
2806 (WTF::MockLayerTreeHost::didAddAnimationWasCalled):
2807 (MockLayerTreeHost):
2808 (WTF::MockLayerTreeHost::MockLayerTreeHost):
2809 (WTF):
2810 (CCLayerTreeHostTestLayerAddedWithAnimation):
2811 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::CCLayerTreeHostTestLay erAddedWithAnimation):
2812 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
2813 (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::afterTest):
2814
2815 2012-05-17 Andrey Kosyakov <caseq@chromium.org>
2816
2817 [chromium] add instrumentation for compositing
2818 https://bugs.webkit.org/show_bug.cgi?id=83928
2819
2820 Reviewed by James Robinson.
2821
2822 - plumb willCommit() and didComposite() to inspector instrumentation via WebViewImpl.
2823
2824 * WebKit.gypi: Added WebLayerTreeViewTest
2825 * src/WebLayerTreeViewImpl.cpp:
2826 (WebKit::WebLayerTreeViewImpl::didBeginFrame):
2827 (WebKit):
2828 (WebKit::WebLayerTreeViewImpl::willCommit):
2829 * src/WebLayerTreeViewImpl.h:
2830 (WebLayerTreeViewImpl):
2831 * src/WebViewImpl.cpp:
2832 (WebKit::WebViewImpl::didBeginFrame):
2833 (WebKit):
2834 (WebKit::WebViewImpl::willCommit):
2835 * src/WebViewImpl.h:
2836 (WebViewImpl):
2837 * tests/CCLayerTreeHostTest.cpp:
2838 * tests/FakeCCLayerTreeHostClient.h:
2839 * tests/WebLayerTest.cpp:
2840 * tests/WebLayerTreeViewTest.cpp: Added.
2841
2842 2012-05-25 Peter Beverloo <peter@chromium.org>
2843
2844 [Chromium] Pull in Android tools from Chromium's repo through the DEPS f ile
2845 https://bugs.webkit.org/show_bug.cgi?id=87478
2846
2847 Reviewed by Kent Tamura.
2848
2849 Chromium's r122048 added the forwarder tool, which forwards a TCP port
2850 listening on the device to a port on the host. This now is a required
2851 dependency of DumpRenderTree, so pull it in.
2852
2853 Since it's likely that more tools will be required, pull in the entire
2854 tools/android/ directory in case the Chromium port for Android is being
2855 checked out or updated.
2856
2857 * DEPS: Added Android-specific dependency on tools/android/
2858
2859 2012-05-25 Sheriff Bot <webkit.review.bot@gmail.com>
2860
2861 Unreviewed, rolling out r118461.
2862 http://trac.webkit.org/changeset/118461
2863 https://bugs.webkit.org/show_bug.cgi?id=87468
2864
2865 Breaks two chromium browser_tests. (Requested by vsevik on
2866 #webkit).
2867
2868 * src/WebViewImpl.cpp:
2869 (WebKit::WebViewImpl::resize):
2870
2871 2012-05-24 Tim Horton <timothy_horton@apple.com>
2872
2873 Add feature defines for web-facing parts of CSS Regions and Exclusions
2874 https://bugs.webkit.org/show_bug.cgi?id=87442
2875 <rdar://problem/10887709>
2876
2877 Reviewed by Dan Bernstein.
2878
2879 * features.gypi:
2880
2881 2012-05-24 Kent Tamura <tkent@chromium.org>
2882
2883 PAGE_POPUP: window.setValueAndClosePopup should be moved to a
2884 per-context property of DOMWindow.
2885 https://bugs.webkit.org/show_bug.cgi?id=87086
2886
2887 Reviewed by Adam Barth.
2888
2889 * src/WebPagePopupImpl.cpp:
2890 (WebKit): Add PagePopupFrameLoaderClient, which allows window.pagePopupC ontroller.
2891 (WebKit::WebPagePopupImpl::initPage):
2892 - Use PagePopupFrameLoaderClient
2893 - Remove the call of ScriptController::installFunctionsForPagePopup().
2894 - Call DOMWindowPagePopup::install() to inform m_popupClient to a
2895 DOMWindowPagePopup object for the DOMWindow.
2896
2897 2012-05-21 Kinuko Yasuda <kinuko@chromium.org>
2898
2899 Cleanup: add a file system call which captures the file metadata at once .
2900 https://bugs.webkit.org/show_bug.cgi?id=86995
2901
2902 Reviewed by David Levin.
2903
2904 * src/PlatformSupport.cpp:
2905 (WebCore::PlatformSupport::getFileMetadata):
2906 (WebCore):
2907
2908 2012-05-24 Hironori Bono <hbono@chromium.org>
2909
2910 Enable grammar checking on Chromium when we paste text (Take 2)
2911 https://bugs.webkit.org/show_bug.cgi?id=74393
2912
2913 Reviewed by Ryosuke Niwa.
2914
2915 This change enables grammar checking on Chromium and implements a mock g rammar
2916 checker to fix a failing test.
2917
2918 * src/ContextMenuClientImpl.cpp:
2919 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Show sug gestions when we right-click grammatically-misspelled words.
2920 * src/EditorClientImpl.cpp:
2921 (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Enable grammar che cking when we enable asynchronous spellchecking.
2922 (WebKit::EditorClientImpl::checkGrammarOfString): set badGrammarLocation to -1 to avoid an assertion error.
2923 * src/WebTextCheckingResult.cpp:
2924 (WebKit::WebTextCheckingResult::operator TextCheckingResult): Fill Gramm arDetails for grammatical errors.
2925
2926 2012-05-24 Alexandre Elias <aelias@google.com>
2927
2928 [chromium] Support mobile device rotation resizing
2929 https://bugs.webkit.org/show_bug.cgi?id=86819
2930
2931 Reviewed by Adam Barth.
2932
2933 Resizes on a mobile device are caused either by rotation or
2934 on-screen-keyboard bringup, and need different treatment to remain
2935 naturally laid out, scaled and scrolled without disorienting the user.
2936
2937 * src/WebViewImpl.cpp:
2938 (WebKit::WebViewImpl::resize):
2939
2940 2012-05-24 Antoine Labour <piman@chromium.org>
2941
2942 [chromium] Add a setForceRenderSurface to WebLayer for test/bench purpos e
2943 https://bugs.webkit.org/show_bug.cgi?id=87436
2944
2945 Reviewed by James Robinson.
2946
2947 * src/WebLayer.cpp:
2948 (WebKit::WebLayer::setForceRenderSurface):
2949 (WebKit):
2950 (WebKit::WebLayer::forceRenderSurface):
2951 * tests/CCLayerTreeHostCommonTest.cpp:
2952 (WebKitTests::TEST):
2953 (WebKitTests):
2954 * tests/LayerChromiumTest.cpp:
2955
2956 2012-05-24 Adam Barth <abarth@webkit.org>
2957
2958 Fix the chromium-android build.
2959
2960 * features.gypi:
2961
2962 2012-05-24 John Mellor <johnme@chromium.org>
2963
2964 Font Boosting: Add compile flag and runtime setting
2965 https://bugs.webkit.org/show_bug.cgi?id=87394
2966
2967 Reviewed by Adam Barth.
2968
2969 Expose fontBoostingEnabled runtime setting via WebSettings.
2970
2971 * features.gypi:
2972 * public/WebSettings.h:
2973 * src/WebSettingsImpl.cpp:
2974 (WebKit::WebSettingsImpl::setFontBoostingEnabled):
2975 (WebKit):
2976 * src/WebSettingsImpl.h:
2977 (WebSettingsImpl):
2978
2979 2012-05-24 Kinuko Yasuda <kinuko@chromium.org>
2980
2981 Cleanup: introduce toFile() to reduce static cast from Blob to File
2982 https://bugs.webkit.org/show_bug.cgi?id=87234
2983
2984 Reviewed by Eric Seidel.
2985
2986 * src/WebDragData.cpp:
2987 (WebKit::WebDragData::items):
2988
2989 2012-05-24 Lu Guanqun <guanqun.lu@intel.com>
2990
2991 use built-in data type DashArray
2992 https://bugs.webkit.org/show_bug.cgi?id=87344
2993
2994 Reviewed by Eric Seidel.
2995
2996 * tests/PlatformContextSkiaTest.cpp:
2997 (WebCore::TEST):
2998
2999 2012-05-24 Mark Pilgrim <pilgrim@chromium.org>
3000
3001 [Chromium] Move queryLocalizedString to Platform.h
3002 https://bugs.webkit.org/show_bug.cgi?id=85762
3003
3004 Reviewed by Adam Barth.
3005
3006 Part of a refactoring series. See tracking bug 82948.
3007
3008 * WebKit.gyp:
3009 * public/platform/WebKitPlatformSupport.h:
3010 (WebKit::WebKitPlatformSupport::getPluginList):
3011 * public/platform/WebLocalizedString.h:
3012 * src/LocalizedStrings.cpp:
3013 (WebCore::query):
3014
3015 2012-05-24 Dana Jansens <danakj@chromium.org>
3016
3017 [chromium] Only display frames created with memory allocations meant to be displayed
3018 https://bugs.webkit.org/show_bug.cgi?id=85108
3019
3020 Reviewed by Adrienne Walker.
3021
3022 Removing code to protect visible textures when a tab becomes invisible,
3023 as we want to reduce our memory limit for invisible tabs and these
3024 textures should not be saved.
3025
3026 * src/NonCompositedContentHost.cpp:
3027 * src/NonCompositedContentHost.h:
3028 (NonCompositedContentHost):
3029 * src/WebViewImpl.cpp:
3030 (WebKit::WebViewImpl::setVisibilityState):
3031 * tests/CCLayerTreeHostTest.cpp:
3032 (WTF::TestHooks::didCommit):
3033 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3034 (WTF::CCLayerTreeHostTest::scheduleComposite):
3035 (WTF::CCLayerTreeHostTest::dispatchComposite):
3036 (CCLayerTreeHostTest):
3037 (WTF::CCLayerTreeHostTest::doBeginTest):
3038 (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
3039 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::willAnimateLaye rs):
3040 (CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
3041 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::CCLayerT reeHostTestVisibilityAndAllocationControlDrawing):
3042 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::beginTes t):
3043 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommi tAndDrawFrame):
3044 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommi t):
3045 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::commitCo mpleteOnCCThread):
3046 (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::afterTes t):
3047 (WTF):
3048
3049 2012-05-24 Sheriff Bot <webkit.review.bot@gmail.com>
3050
3051 Unreviewed, rolling out r118352.
3052 http://trac.webkit.org/changeset/118352
3053 https://bugs.webkit.org/show_bug.cgi?id=87390
3054
3055 Caused 6 editing/spelling tests crash/fail on chromium in
3056 debug. (Requested by vsevik on #webkit).
3057
3058 * src/ContextMenuClientImpl.cpp:
3059 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3060 * src/EditorClientImpl.cpp:
3061 (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
3062 * src/WebTextCheckingResult.cpp:
3063 (WebKit::WebTextCheckingResult::operator TextCheckingResult):
3064
3065 2012-05-24 Ian Vollick <vollick@chromium.org>
3066
3067 [chromium] Forcibly sync running animations in the waiting state when sy nchronized start times are needed.
3068 https://bugs.webkit.org/show_bug.cgi?id=87153
3069
3070 Reviewed by James Robinson.
3071
3072 * tests/CCLayerAnimationControllerTest.cpp:
3073 (WebKitTests::TEST):
3074 (WebKitTests):
3075
3076 2012-05-23 Yury Semikhatsky <yurys@chromium.org>
3077
3078 Web Inspector: add a command to InspectorMemoryAgent for getting process memory break down
3079 https://bugs.webkit.org/show_bug.cgi?id=87263
3080
3081 Reviewed by Pavel Feldman.
3082
3083 Added an API for retrieving render process private and shared memory in bytes.
3084
3085 * public/platform/WebKitPlatformSupport.h:
3086 (WebKitPlatformSupport):
3087 (WebKit::WebKitPlatformSupport::getProcessMemorySize):
3088 * src/PlatformSupport.cpp:
3089 (WebCore::PlatformSupport::getProcessMemorySize):
3090 (WebCore):
3091
3092 2012-05-24 Hironori Bono <hbono@chromium.org>
3093
3094 Enable grammar checking on Chromium when we paste text.
3095 https://bugs.webkit.org/show_bug.cgi?id=74393
3096
3097 Reviewed by Hajime Morita.
3098
3099 This change enables grammar checking on Chromium and implements a mock g rammar
3100 checker to fix a failing test.
3101
3102 * src/ContextMenuClientImpl.cpp:
3103 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Show sug gestions when we right-click grammatically-misspelled words.
3104 * src/EditorClientImpl.cpp:
3105 (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Enable grammar che cking when we enable asynchronous spellchecking.
3106 * src/WebTextCheckingResult.cpp:
3107 (WebKit::WebTextCheckingResult::operator TextCheckingResult): Fill Gramm arDetails for grammatical errors.
3108
3109 2012-05-24 Vivek Galatage <vivekgalatage@gmail.com>
3110
3111 Web Inspector: localStorage items are not updated when the storage chang es
3112 https://bugs.webkit.org/show_bug.cgi?id=83012
3113
3114 Reviewed by Pavel Feldman.
3115
3116 Instrumented the DOM Storage Events in order to update the frontend.
3117
3118 * src/StorageAreaProxy.cpp:
3119 (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
3120 (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
3121
3122 2012-05-23 Ojan Vafai <ojan@chromium.org>
3123
3124 add back the ability to disable flexbox
3125 https://bugs.webkit.org/show_bug.cgi?id=87147
3126
3127 Reviewed by Tony Chang.
3128
3129 * features.gypi:
3130
1 2012-05-23 Dana Jansens <danakj@chromium.org> 3131 2012-05-23 Dana Jansens <danakj@chromium.org>
2 3132
3 [chromium] Enable the CCLayerTreeHostTestCanDrawBlocksDrawing test in si ngle-threaded mode 3133 [chromium] Enable the CCLayerTreeHostTestCanDrawBlocksDrawing test in si ngle-threaded mode
4 https://bugs.webkit.org/show_bug.cgi?id=87308 3134 https://bugs.webkit.org/show_bug.cgi?id=87308
5 3135
6 Reviewed by James Robinson. 3136 Reviewed by James Robinson.
7 3137
8 Chromium bug: http://crbug.com/127481 3138 Chromium bug: http://crbug.com/127481
9 3139
10 Unit test: CCLayerTreeHostTestCanDrawBlocksDrawing.runSingleThread 3140 Unit test: CCLayerTreeHostTestCanDrawBlocksDrawing.runSingleThread
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 WebTransformationMatrixTest.verifyBlendForRotationAboutY 3487 WebTransformationMatrixTest.verifyBlendForRotationAboutY
358 WebTransformationMatrixTest.verifyBlendForRotationAboutZ 3488 WebTransformationMatrixTest.verifyBlendForRotationAboutZ
359 WebTransformationMatrixTest.verifyBlendForCompositeTransform 3489 WebTransformationMatrixTest.verifyBlendForCompositeTransform
360 3490
361 * tests/WebTransformationMatrixTest.cpp: 3491 * tests/WebTransformationMatrixTest.cpp:
362 (WebKit::TEST): 3492 (WebKit::TEST):
363 (WebKit): 3493 (WebKit):
364 (WebKit::printTransform): 3494 (WebKit::printTransform):
365 3495
366 == Rolled over to ChangeLog-2012-05-22 == 3496 == Rolled over to ChangeLog-2012-05-22 ==
OLDNEW
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698