Unreviewed. Rolled DEPS.
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-08-02  Peter Beverloo  <peter@chromium.org>
2
3         Unreviewed.  Rolled DEPS.
4
5         * DEPS:
6
7 2012-08-01  Ilya Tikhonovsky  <loislo@chromium.org>
8
9         Web Inspector: test native memory instrumentation code with help of unittests
10         https://bugs.webkit.org/show_bug.cgi?id=92743
11
12         Reviewed by Yury Semikhatsky.
13
14         Test a part of existing Native Memory Instrumentation code with help of unit tests.
15         6 tests were added and two bugs were fixed.
16         a drive-by improvement: the method MemoryInstrumentation::addInstrumentedObject
17         was marked as private and addRootObject was introduced instead of it.
18         The new function also calls processDeferedPointers.
19
20         * WebKit.gypi:
21         * tests/MemoryInstrumentationTest.cpp: Added.
22         (WebCore):
23         (NotInstrumented):
24         (Instrumented):
25         (WebCore::Instrumented::Instrumented):
26         (WebCore::Instrumented::~Instrumented):
27         (WebCore::Instrumented::reportMemoryUsage):
28         (WebCore::TEST):
29         (InstrumentedWithOwnPtr):
30         (WebCore::InstrumentedWithOwnPtr::InstrumentedWithOwnPtr):
31         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
32
33 2012-08-01  Xingnan Wang  <xingnan.wang@intel.com>
34
35         IndexedDB: ObjectStoreMetaDataKey::m_metaDataType should use byte type
36         https://bugs.webkit.org/show_bug.cgi?id=92725
37
38         Reviewed by Kentaro Hara.
39
40         Add two new tests in IDBLevelDBCodingTest.cpp. One for an added function decodeByte() and 
41         another for verifying that encodeByte() and encodeVarInt() are indentical when the encoded 
42         values are <= 127.
43
44         * tests/IDBLevelDBCodingTest.cpp:
45         (IDBLevelDBCoding::TEST):
46         (IDBLevelDBCoding):
47
48 2012-08-01  James Robinson  <jamesr@chromium.org>
49
50         [chromium] Use new-style tracing macros with explicit category
51         https://bugs.webkit.org/show_bug.cgi?id=92928
52
53         Reviewed by Adam Barth.
54
55         Set the category explicitly in traces.
56
57         * src/WebViewImpl.cpp:
58         (WebKit::WebViewImpl::updateAnimations):
59         (WebKit::WebViewImpl::layout):
60         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
61
62 2012-08-01  James Robinson  <jamesr@chromium.org>
63
64         [chromium] Move compositor HUD font atlas initialization code out of compositor core
65         https://bugs.webkit.org/show_bug.cgi?id=92924
66
67         Reviewed by Adrienne Walker.
68
69         This initializes the compositor's font atlas when initialization the compositor if the "Show FPS counter" or
70         "Show layer tree" settings are true.
71
72         * src/WebLayerTreeView.cpp:
73         (WebKit::WebLayerTreeView::setFontAtlas):
74         (WebKit):
75         * src/WebViewImpl.cpp:
76         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
77
78 2012-08-01  Jian Li  <jianli@chromium.org>
79
80         [chromium] Make WebKit API support draggable region change update
81         https://bugs.webkit.org/show_bug.cgi?id=92813
82
83         Reviewed by Adam Barth.
84
85         Introduce WebDraggableRegion and delegate the draggable region update
86         call to the new method draggableRegionsChanged in WebViewClient.
87
88         * public/WebDocument.h:
89         (WebDocument):
90         * public/WebDraggableRegion.h: Added.
91         (WebKit):
92         (WebDraggableRegion):
93         * public/WebViewClient.h:
94         (WebViewClient):
95         (WebKit::WebViewClient::draggableRegionsChanged):
96         * src/ChromeClientImpl.cpp:
97         (WebKit):
98         (WebKit::ChromeClientImpl::dashboardRegionsChanged):
99         * src/ChromeClientImpl.h:
100         (ChromeClientImpl):
101         * src/WebDocument.cpp:
102         (WebKit::WebDocument::draggableRegions):
103         (WebKit):
104
105 2012-08-01  Antoine Labour  <piman@chromium.org>
106
107         [chromium] factor out the optimization pass in CCRenderSurfaceFilters::apply
108         https://bugs.webkit.org/show_bug.cgi?id=92453
109
110         Reviewed by James Robinson.
111
112         This separates the "optimization" pass in CCRenderSurfaceFilters::apply
113         to resolve a succession of color matrix filters into a single operation.
114         This allows testing of that code.
115         This introduces a new generic color matrix WebFilterOperation, which can
116         also be used on its own.
117
118         * WebKit.gypi:
119         * tests/CCRenderSurfaceFiltersTest.cpp: Added.
120         (WebKit):
121         (WebKit::isCombined):
122         (WebKit::TEST):
123
124 2012-08-01  Daniel Murphy  <dmurph@chromium.org>
125
126         Fix for drawing invalid layers in WebViewBenchmarkSupportImpl
127         https://bugs.webkit.org/show_bug.cgi?id=92920
128
129         Reviewed by Adrienne Walker.
130
131         The GraphicsLayers without content needed to be skipped.
132
133         * src/WebViewBenchmarkSupportImpl.cpp:
134         (WebKit::WebViewBenchmarkSupportImpl::acceleratedPaintUnclipped):
135
136 2012-08-01  Jian Li  <jianli@chromium.org>
137
138         Add new CSS property "-webkit-widget-region" to expose dashboard region support for other port
139         https://bugs.webkit.org/show_bug.cgi?id=90298
140
141         Reviewed by Adam Barth.
142
143         * features.gypi: Add ENABLE_WIDGET_REGION define.
144
145 2012-08-01  Antoine Labour  <piman@chromium.org>
146
147         [chromium] Fix lost context handling on hud layer
148         https://bugs.webkit.org/show_bug.cgi?id=92915
149
150         Reviewed by Adrienne Walker.
151
152         On lost context we need to release CCScopedTextures, otherwise later on
153         we will try to re-allocate it using a stale CCResourceProvider.
154
155         Test CCLayerTreeHostImplTest.dontUseOldResourcesAfterLostContext
156         extended.
157
158         * tests/CCLayerTreeHostImplTest.cpp:
159
160 2012-08-01  Nico Weber  <thakis@chromium.org>
161
162         [chromium/mac] Delete WebImageCG.cpp
163         https://bugs.webkit.org/show_bug.cgi?id=92910
164
165         Reviewed by James Robinson.
166
167         It's been unused since the switch to skia.
168         Also remove now-unneeded *CG.cpp exclusion rule.
169
170         * WebKit.gyp:
171         * src/WebImageCG.cpp: Removed.
172
173 2012-08-01  Joshua Bell  <jsbell@chromium.org>
174
175         [Chromium] IndexedDB: API stubs to simplify WebIDBCursor API
176         https://bugs.webkit.org/show_bug.cgi?id=92414
177
178         Reviewed by Adam Barth.
179
180         Prep work to unblock Chromium changes so that http://webkit.org/b/92278 can land.
181         Adds no-op methods which will later be implemented; during the landing sequence,
182         Chromium will call both the new methods and the old ones. The end goal is that
183         the success callbacks for cursors will include the new key/primaryKey/value rather
184         than requiring the callee to call back into the cursor backend to fetch them.
185
186         * public/WebIDBCallbacks.h:
187         (WebIDBCallbacks):
188         (WebKit::WebIDBCallbacks::onSuccess):
189
190 2012-08-01  Peter Beverloo  <peter@chromium.org>
191
192         [Text Autosizing] Provide an API for influencing the font scale factor
193         https://bugs.webkit.org/show_bug.cgi?id=92882
194
195         Reviewed by Adam Barth.
196
197         Add an API to change Text Autosizing's font scale factor.
198
199         The font scale factor applied to Text Autosizing influences the sizing
200         of text, and will influence the scaling of boosted blocks once the
201         implementation progresses. For Android, it will be set to the font size
202         chosen in the user's system-wide preferences.
203
204         * public/WebSettings.h:
205         * src/WebSettingsImpl.cpp:
206         (WebKit::WebSettingsImpl::setTextAutosizingFontScaleFactor):
207         (WebKit):
208         * src/WebSettingsImpl.h:
209         (WebSettingsImpl):
210
211 2012-08-01  Dirk Pranke  <dpranke@chromium.org>
212
213         Roll chromium DEPS to 149416.
214
215         Unreviewed.
216
217         * DEPS:
218
219 2012-08-01  Sheriff Bot  <webkit.review.bot@gmail.com>
220
221         Unreviewed, rolling out r124334.
222         http://trac.webkit.org/changeset/124334
223         https://bugs.webkit.org/show_bug.cgi?id=92879
224
225         Broke MemoryInstrumentationTest.sizeOf from webkit_unit_tests
226         on Chromium canaries (Requested by apavlov1 on #webkit).
227
228         * WebKit.gypi:
229         * tests/MemoryInstrumentationTest.cpp: Removed.
230
231 2012-08-01  Ilya Tikhonovsky  <loislo@chromium.org>
232
233         Web Inspector: test native memory instrumentation code with help of unittests
234         https://bugs.webkit.org/show_bug.cgi?id=92743
235
236         Reviewed by Yury Semikhatsky.
237
238         Test a part of existing Native Memory Instrumentation code with help of unit tests.
239         6 tests were added and two bugs were fixed.
240
241         * WebKit.gypi:
242         * tests/MemoryInstrumentationTest.cpp: Added.
243         (WebCore):
244         (MemoryInstrumentationImpl):
245         (WebCore::MemoryInstrumentationImpl::MemoryInstrumentationImpl):
246         (WebCore::MemoryInstrumentationImpl::reportedSize):
247         (WebCore::MemoryInstrumentationImpl::countObjectSize):
248         (WebCore::MemoryInstrumentationImpl::processDeferredInstrumentedPointers):
249         (NotInstrumented):
250         (Instrumented):
251         (WebCore::Instrumented::Instrumented):
252         (WebCore::Instrumented::~Instrumented):
253         (WebCore::Instrumented::reportMemoryUsage):
254         (WebCore::TEST):
255         (InstrumentedWithOwnPtr):
256         (WebCore::InstrumentedWithOwnPtr::InstrumentedWithOwnPtr):
257         (WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):
258
259 2012-08-01  Alexei Filippov  <alexeif@chromium.org>
260
261         Web Inspector: count DOM storage cache memory for native snapshot
262         https://bugs.webkit.org/show_bug.cgi?id=91617
263
264         Reviewed by Yury Semikhatsky.
265
266         Add memory size used for DOM storage cache reporting interface.
267
268         * src/StorageAreaProxy.cpp:
269         (WebCore::StorageAreaProxy::memoryBytesUsedByCache):
270         (WebCore):
271         * src/StorageAreaProxy.h:
272         (StorageAreaProxy):
273
274 2012-07-31  Yoshifumi Inoue  <yosin@chromium.org>
275
276         [Chromium] Enable ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS
277         https://bugs.webkit.org/show_bug.cgi?id=92822
278
279         Reviewed by Kent Tamura.
280
281         This patch enables ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS for Chromium
282         port except for Android.
283
284         * features.gypi: Add ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS=1 to "feature_defines"
285         block of OS != "android".
286
287 2012-07-31  Yusuf Ozuysal  <yusufo@google.com>
288
289         [chromium]Upstream WebViewImpl:StartPageScaleAnimation changes for Chrome for Android
290         https://bugs.webkit.org/show_bug.cgi?id=92698
291
292         Reviewed by Adam Barth.
293
294         Enforce the maximum and minimum scroll positions after the scale has changed.
295
296         * src/WebViewImpl.cpp:
297         (WebKit::WebViewImpl::startPageScaleAnimation):
298         * src/WebViewImpl.h:
299         (WebViewImpl):
300
301 2012-07-31  Terry Anderson  <tdanderson@chromium.org>
302
303         [chromium] Use the event bounding box when constructing a PlatformEvent::GestureTap
304         https://bugs.webkit.org/show_bug.cgi?id=92151
305
306         Reviewed by Darin Fisher.
307
308         Now that gesture events store a bounding box, use |boundingBox| instead of
309         |deltaX| and |deltaY| when specifying |m_area|.
310
311         * public/WebInputEvent.h:
312         (WebGestureEvent):
313         * src/WebInputEventConversion.cpp:
314         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
315
316 2012-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
317
318         Unreviewed.  Rolled DEPS.
319
320         * DEPS:
321
322 2012-07-31  Shawn Singh  <shawnsingh@chromium.org>
323
324         [chromium] Hit test points are being clipped by layers that should not clip
325         https://bugs.webkit.org/show_bug.cgi?id=92786
326
327         Reviewed by James Robinson.
328
329         * tests/CCLayerTreeHostCommonTest.cpp: adds a test where the
330           hit-testable layer does not overlap its parent. The parent does
331           not clip, so the layer should still be hittable.
332
333 2012-07-31  Chris Rogers  <crogers@google.com>
334
335         Allow AudioDestination to support local/live audio input
336         https://bugs.webkit.org/show_bug.cgi?id=90318
337
338         Reviewed by Kenneth Russell.
339
340         * src/AudioDestinationChromium.cpp:
341         (WebCore::AudioDestination::create):
342         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
343         (WebCore::AudioDestinationChromium::provideInput):
344         (WebCore):
345         * src/AudioDestinationChromium.h:
346         (AudioDestinationChromium):
347
348 2012-07-31  Adam Barth  <abarth@webkit.org>
349
350         [Chromium-Android] We should hueristically detect content intents on touch
351         https://bugs.webkit.org/show_bug.cgi?id=92346
352
353         Reviewed by Nate Chapin.
354
355         On Android, when the user touches a block of text, we run a bunch of
356         OS-provided hueristics to detect content intents, such as telephone
357         numbers and mailing addresses.
358
359         This patch introduces the WebViewClient functions and the
360         detectContentIntentOnTouch function, but does not wire the code into
361         the event system. There are some decisions to make about how to wire it
362         into the event system, we'll tackle in the next patch.
363
364         * public/WebViewClient.h:
365         (WebKit::WebViewClient::detectContentIntentAround):
366         (WebViewClient):
367         (WebKit::WebViewClient::scheduleContentIntent):
368         (WebKit::WebViewClient::cancelScheduledContentIntents):
369         * src/WebViewImpl.cpp:
370         (WebKit):
371         (WebKit::tapHighlightColorForNode):
372         (WebKit::WebViewImpl::showTouchHighlightQuads):
373         (WebKit::WebViewImpl::detectContentIntentOnTouch):
374         * src/WebViewImpl.h:
375         (WebViewImpl):
376
377 2012-07-31  Ian Vollick  <vollick@chromium.org>
378
379         [chromium] Use WebAnimation and related classes in GraphicsLayerChromium and AnimTranslationUtil
380         https://bugs.webkit.org/show_bug.cgi?id=90468
381
382         Reviewed by James Robinson.
383
384         * src/WebAnimation.cpp:
385         (WebKit::WebAnimation::targetProperty):
386         (WebKit):
387         (WebKit::WebAnimation::initialize):
388         * src/WebLayer.cpp:
389         (WebKit::WebLayer::setAnimationDelegate):
390         (WebKit):
391         (WebKit::WebLayer::addAnimation):
392         (WebKit::WebLayer::removeAnimation):
393         (WebKit::WebLayer::pauseAnimation):
394         (WebKit::WebLayer::suspendAnimations):
395         (WebKit::WebLayer::resumeAnimations):
396         (WebKit::WebLayer::transferAnimationsTo):
397         * tests/CCThreadedTest.cpp:
398         * tests/CCThreadedTest.h:
399         (TestHooks):
400         * tests/WebAnimationTest.cpp:
401         (WebKit::TEST):
402
403 2012-07-30  Adam Barth  <abarth@webkit.org>
404
405         Typo: doubleTa*b*ZoomAnimationDurationInSeconds in WebViewImpl.cpp
406         https://bugs.webkit.org/show_bug.cgi?id=92135
407
408         Reviewed by Kentaro Hara.
409
410         This patch fixes a typo.
411
412         * src/WebViewImpl.cpp:
413         (WebKit::WebViewImpl::animateZoomAroundPoint):
414
415 2012-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
416
417         Unreviewed, rolling out r124179.
418         http://trac.webkit.org/changeset/124179
419         https://bugs.webkit.org/show_bug.cgi?id=92730
420
421         Breaks Chromium Linux 32 bots with "error: integer constant is
422         too large for 'long' type" in IDBLevelDBCodingTest.cpp
423         (Requested by apavlov on #webkit).
424
425         * tests/IDBLevelDBCodingTest.cpp:
426         (IDBLevelDBCoding::TEST):
427
428 2012-07-30  Keishi Hattori  <keishi@webkit.org>
429
430         Implement datalist UI for input type color for Chromium
431         https://bugs.webkit.org/show_bug.cgi?id=92075
432
433         Reviewed by Kent Tamura.
434
435         Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
436         ColorChooserUIController can control whether to open the color suggestion picker
437         popup or the color chooser depending on the responses from ColorChooserClient.
438
439         * WebKit.gyp:
440         * src/ChromeClientImpl.cpp:
441         (WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
442         (WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.
443         * src/ChromeClientImpl.h:
444         (WebKit):
445         (ChromeClientImpl):
446         * src/ColorChooserProxy.cpp: Removed.
447         * src/ColorChooserProxy.h: Removed.
448         * src/ColorChooserUIController.cpp: Added.
449         (WebKit):
450         (WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
451         (WebKit::ColorChooserUIController::~ColorChooserUIController):
452         (WebKit::ColorChooserUIController::setSelectedColor):
453         (WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
454         (WebKit::ColorChooserUIController::didChooseColor):
455         (WebKit::ColorChooserUIController::didEndChooser):
456         (WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
457         (WebKit::ColorChooserUIController::writeDocument):
458         (WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
459         (WebKit::ColorChooserUIController::didClosePopup):
460         (WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
461         (WebKit::ColorChooserUIController::closePopup):
462         (WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.
463         * src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.
464         (WebCore):
465         (WebKit):
466         (ColorChooserUIController):
467         * src/WebColorChooserClientImpl.cpp: Removed.
468
469 2012-07-30  Ryosuke Niwa  <rniwa@webkit.org>
470
471         Roll out the DEPS roll (r124164) for now since it broke Chromium Mac builds.
472
473         * DEPS:
474
475 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
476
477         Unreviewed.  Rolled DEPS.
478
479         * DEPS:
480
481 2012-07-30  Adrienne Walker  <enne@google.com>
482
483         [chromium] Wrap ScrollbarLayerChromium in WebScrollbarLayer
484         https://bugs.webkit.org/show_bug.cgi?id=91032
485
486         Reviewed by James Robinson.
487
488         Add implementation of WebScrollbarLayer to the client API.
489
490         * WebKit.gyp:
491         * src/WebScrollbarLayer.cpp: Added.
492         (WebKit):
493         (WebKit::WebScrollbarLayer::setScrollLayer):
494         (WebKit::WebScrollbarLayer::create):
495         (WebKit::WebScrollbarLayer::WebScrollbarLayer):
496         (WebKit::WebScrollbarLayer::operator=):
497         (WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):
498
499 2012-07-30  Sadrul Habib Chowdhury  <sadrul@chromium.org>
500
501         Propagate gesture events to plugins.
502         https://bugs.webkit.org/show_bug.cgi?id=92281
503
504         Reviewed by Adam Barth.
505
506         Propagate gesture events to plugins.
507
508         * src/WebInputEventConversion.cpp:
509         (WebKit):
510         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
511         * src/WebInputEventConversion.h:
512         (WebCore):
513         (WebKit):
514         (WebGestureEventBuilder):
515         * src/WebPluginContainerImpl.cpp:
516         (WebKit::WebPluginContainerImpl::handleEvent):
517         * src/WebPluginContainerImpl.h:
518         (WebCore):
519         (WebPluginContainerImpl):
520
521 2012-07-30  John Bates  <jbates@google.com>
522
523         Plumb vsync-enabled flag up to compositor thread and support disable-vsync
524         https://bugs.webkit.org/show_bug.cgi?id=92323
525
526         Reviewed by James Robinson.
527
528         * public/WebSettings.h:
529         * tests/CCFrameRateControllerTest.cpp:
530         * src/WebLayerTreeView.cpp:
531         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
532         * src/WebSettingsImpl.cpp:
533         (WebKit::WebSettingsImpl::WebSettingsImpl):
534         (WebKit::WebSettingsImpl::setRenderVSyncEnabled):
535         (WebKit):
536         * src/WebSettingsImpl.h:
537         (WebSettingsImpl):
538         (WebKit::WebSettingsImpl::renderVSyncEnabled):
539         * src/WebViewImpl.cpp:
540         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
541
542 2012-07-30  Adrienne Walker  <enne@google.com>
543
544         [chromium] Remove dependency on ScrollbarTheme from the compositor
545         https://bugs.webkit.org/show_bug.cgi?id=90528
546
547         Reviewed by James Robinson.
548
549         Add implementations for WebScrollbarThemeGeometry and
550         WebScrollbarThemePainter. Fill out additional API calls for
551         WebPluginScrollbarImpl since it derives from WebScrollbar.
552
553         Add WebScrollbarImpl to the client API to wrap and own an existing
554         WebCore Scrollbar object and provide the WebScrollbar interface.
555
556         By keeping WebScrollbar separate from WebScrollbarThemeGeometry, the
557         compositor thread can create its own thread-safe data bag version of a
558         WebScrollbar (CCScrollbarLayerImpl::CCScrollbar), but this requires
559         WebScrollbarThemeClientImpl.
560
561         WebScrollbarThemeClientImpl does the reverse of WebScrollbarImpl; it
562         wraps a WebScrollbar and provides the ScrollbarThemeClient interface.
563         This is so that a WebScrollbar can be passed to the geometry and
564         painter functions. Then, internally the WebScrollbarThemeClientImpl
565         can be used to adapt the WebScrollbar to the ScrollbarThemeClient
566         interface so the geometry and painter functions can call direct
567         functions on ScrollbarThemeComposite.
568
569         * WebKit.gyp:
570         * src/AssertMatchingEnums.cpp:
571         * src/ExternalPopupMenu.h:
572         (WebKit):
573         * src/WebPluginScrollbarImpl.cpp:
574         (WebKit::WebPluginScrollbarImpl::WebPluginScrollbarImpl):
575         (WebKit::WebPluginScrollbarImpl::location):
576         (WebKit):
577         (WebKit::WebPluginScrollbarImpl::size):
578         (WebKit::WebPluginScrollbarImpl::enabled):
579         (WebKit::WebPluginScrollbarImpl::maximum):
580         (WebKit::WebPluginScrollbarImpl::totalSize):
581         (WebKit::WebPluginScrollbarImpl::isScrollViewScrollbar):
582         (WebKit::WebPluginScrollbarImpl::isScrollableAreaActive):
583         (WebKit::WebPluginScrollbarImpl::getTickmarks):
584         (WebKit::WebPluginScrollbarImpl::controlSize):
585         (WebKit::WebPluginScrollbarImpl::pressedPart):
586         (WebKit::WebPluginScrollbarImpl::hoveredPart):
587         (WebKit::WebPluginScrollbarImpl::scrollbarOverlayStyle):
588         (WebKit::WebPluginScrollbarImpl::orientation):
589         (WebKit::WebPluginScrollbarImpl::isCustomScrollbar):
590         (WebKit::WebPluginScrollbarImpl::onMouseUp):
591         (WebKit::WebPluginScrollbarImpl::onMouseMove):
592         (WebKit::WebPluginScrollbarImpl::onMouseLeave):
593         * src/WebPluginScrollbarImpl.h:
594         (WebPluginScrollbarImpl):
595         * src/WebScrollbarImpl.cpp: Added.
596         (WebKit):
597         (WebKit::WebScrollbar::create):
598         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
599         (WebKit::WebScrollbarImpl::isOverlay):
600         (WebKit::WebScrollbarImpl::value):
601         (WebKit::WebScrollbarImpl::location):
602         (WebKit::WebScrollbarImpl::size):
603         (WebKit::WebScrollbarImpl::enabled):
604         (WebKit::WebScrollbarImpl::maximum):
605         (WebKit::WebScrollbarImpl::totalSize):
606         (WebKit::WebScrollbarImpl::isScrollViewScrollbar):
607         (WebKit::WebScrollbarImpl::isScrollableAreaActive):
608         (WebKit::WebScrollbarImpl::getTickmarks):
609         (WebKit::WebScrollbarImpl::controlSize):
610         (WebKit::WebScrollbarImpl::pressedPart):
611         (WebKit::WebScrollbarImpl::hoveredPart):
612         (WebKit::WebScrollbarImpl::scrollbarOverlayStyle):
613         (WebKit::WebScrollbarImpl::orientation):
614         (WebKit::WebScrollbarImpl::isCustomScrollbar):
615         * src/WebScrollbarImpl.h: Copied from Source/Platform/chromium/public/WebScrollbar.h.
616         (WebCore):
617         (WebKit):
618         (WebScrollbarImpl):
619         * src/WebScrollbarThemeClientImpl.cpp: Added.
620         (WebKit):
621         (WebKit::WebScrollbarThemeClientImpl::WebScrollbarThemeClientImpl):
622         (WebKit::WebScrollbarThemeClientImpl::x):
623         (WebKit::WebScrollbarThemeClientImpl::y):
624         (WebKit::WebScrollbarThemeClientImpl::width):
625         (WebKit::WebScrollbarThemeClientImpl::height):
626         (WebKit::WebScrollbarThemeClientImpl::size):
627         (WebKit::WebScrollbarThemeClientImpl::location):
628         (WebKit::WebScrollbarThemeClientImpl::parent):
629         (WebKit::WebScrollbarThemeClientImpl::root):
630         (WebKit::WebScrollbarThemeClientImpl::setFrameRect):
631         (WebKit::WebScrollbarThemeClientImpl::frameRect):
632         (WebKit::WebScrollbarThemeClientImpl::invalidate):
633         (WebKit::WebScrollbarThemeClientImpl::invalidateRect):
634         (WebKit::WebScrollbarThemeClientImpl::scrollbarOverlayStyle):
635         (WebKit::WebScrollbarThemeClientImpl::getTickmarks):
636         (WebKit::WebScrollbarThemeClientImpl::isScrollableAreaActive):
637         (WebKit::WebScrollbarThemeClientImpl::isScrollViewScrollbar):
638         (WebKit::WebScrollbarThemeClientImpl::convertFromContainingWindow):
639         (WebKit::WebScrollbarThemeClientImpl::isCustomScrollbar):
640         (WebKit::WebScrollbarThemeClientImpl::orientation):
641         (WebKit::WebScrollbarThemeClientImpl::value):
642         (WebKit::WebScrollbarThemeClientImpl::currentPos):
643         (WebKit::WebScrollbarThemeClientImpl::visibleSize):
644         (WebKit::WebScrollbarThemeClientImpl::totalSize):
645         (WebKit::WebScrollbarThemeClientImpl::maximum):
646         (WebKit::WebScrollbarThemeClientImpl::controlSize):
647         (WebKit::WebScrollbarThemeClientImpl::lineStep):
648         (WebKit::WebScrollbarThemeClientImpl::pageStep):
649         (WebKit::WebScrollbarThemeClientImpl::pressedPart):
650         (WebKit::WebScrollbarThemeClientImpl::hoveredPart):
651         (WebKit::WebScrollbarThemeClientImpl::styleChanged):
652         (WebKit::WebScrollbarThemeClientImpl::enabled):
653         (WebKit::WebScrollbarThemeClientImpl::setEnabled):
654         (WebKit::WebScrollbarThemeClientImpl::isOverlayScrollbar):
655         * src/WebScrollbarThemeClientImpl.h: Added.
656         (WebCore):
657         (WebKit):
658         (WebScrollbarThemeClientImpl):
659         * src/WebScrollbarThemeGeometry.cpp: Added.
660         (WebKit):
661         (WebKit::WebScrollbarThemeGeometry::assign):
662         (WebKit::WebScrollbarThemeGeometry::thumbPosition):
663         (WebKit::WebScrollbarThemeGeometry::thumbLength):
664         (WebKit::WebScrollbarThemeGeometry::trackPosition):
665         (WebKit::WebScrollbarThemeGeometry::trackLength):
666         (WebKit::WebScrollbarThemeGeometry::hasButtons):
667         (WebKit::WebScrollbarThemeGeometry::hasThumb):
668         (WebKit::WebScrollbarThemeGeometry::trackRect):
669         (WebKit::WebScrollbarThemeGeometry::thumbRect):
670         (WebKit::WebScrollbarThemeGeometry::minimumThumbLength):
671         (WebKit::WebScrollbarThemeGeometry::scrollbarThickness):
672         (WebKit::WebScrollbarThemeGeometry::backButtonStartRect):
673         (WebKit::WebScrollbarThemeGeometry::backButtonEndRect):
674         (WebKit::WebScrollbarThemeGeometry::forwardButtonStartRect):
675         (WebKit::WebScrollbarThemeGeometry::forwardButtonEndRect):
676         (WebKit::WebScrollbarThemeGeometry::constrainTrackRectToTrackPieces):
677         (WebKit::WebScrollbarThemeGeometry::splitTrack):
678         (WebKit::WebScrollbarThemeGeometry::WebScrollbarThemeGeometry):
679         * src/WebScrollbarThemePainter.cpp: Added.
680         (WebKit):
681         (WebKit::WebScrollbarThemePainter::assign):
682         (WebKit::WebScrollbarThemePainter::paintScrollbarBackground):
683         (WebKit::WebScrollbarThemePainter::paintTrackBackground):
684         (WebKit::WebScrollbarThemePainter::paintBackTrackPart):
685         (WebKit::WebScrollbarThemePainter::paintForwardTrackPart):
686         (WebKit::WebScrollbarThemePainter::paintBackButtonStart):
687         (WebKit::WebScrollbarThemePainter::paintBackButtonEnd):
688         (WebKit::WebScrollbarThemePainter::paintForwardButtonStart):
689         (WebKit::WebScrollbarThemePainter::paintForwardButtonEnd):
690         (WebKit::WebScrollbarThemePainter::paintTickmarks):
691         (WebKit::WebScrollbarThemePainter::paintThumb):
692         (WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
693         * tests/ScrollbarLayerChromiumTest.cpp:
694         (WebCore::MockScrollbar::convertFromContainingWindow):
695         (WebCore::MockScrollbar::isOverlayScrollbar):
696         (MockScrollbar):
697         (WebCore::TEST):
698
699 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
700
701         Unreviewed, rolling out r124025.
702         http://trac.webkit.org/changeset/124025
703         https://bugs.webkit.org/show_bug.cgi?id=92658
704
705         Causes color-suggestion-picker-appearance layout test to time
706         out on all Chromium platforms (Requested by tomhudson_ on
707         #webkit).
708
709         * WebKit.gyp:
710         * src/ChromeClientImpl.cpp:
711         (WebKit::ChromeClientImpl::createColorChooser):
712         * src/ChromeClientImpl.h:
713         (WebCore):
714         (ChromeClientImpl):
715         * src/ColorChooserProxy.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
716         (WebKit):
717         (WebKit::ColorChooserProxy::ColorChooserProxy):
718         (WebKit::ColorChooserProxy::~ColorChooserProxy):
719         (WebKit::ColorChooserProxy::setSelectedColor):
720         (WebKit::ColorChooserProxy::endChooser):
721         * src/ColorChooserProxy.h: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
722         (WebKit):
723         (ColorChooserProxy):
724         * src/ColorChooserUIController.cpp: Removed.
725         * src/WebColorChooserClientImpl.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
726         (WebKit):
727         (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
728         (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
729         (WebKit::WebColorChooserClientImpl::didChooseColor):
730         (WebKit::WebColorChooserClientImpl::didEndChooser):
731         * src/WebColorChooserClientImpl.h: Renamed from Source/WebKit/chromium/src/ColorChooserUIController.h.
732         (WebCore):
733         (WebKit):
734         (WebColorChooserClientImpl):
735
736 2012-07-30  Keishi Hattori  <keishi@webkit.org>
737
738         Implement datalist UI for input type color for Chromium
739         https://bugs.webkit.org/show_bug.cgi?id=92075
740
741         Reviewed by Kent Tamura.
742
743         Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
744         ColorChooserUIController can control whether to open the color suggestion picker
745         popup or the color chooser depending on the responses from ColorChooserClient.
746
747         * WebKit.gyp:
748         * src/ChromeClientImpl.cpp:
749         (WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
750         (WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.
751         * src/ChromeClientImpl.h:
752         (WebKit):
753         (ChromeClientImpl):
754         * src/ColorChooserProxy.cpp: Removed.
755         * src/ColorChooserProxy.h: Removed.
756         * src/ColorChooserUIController.cpp: Added.
757         (WebKit):
758         (WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
759         (WebKit::ColorChooserUIController::~ColorChooserUIController):
760         (WebKit::ColorChooserUIController::setSelectedColor):
761         (WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
762         (WebKit::ColorChooserUIController::didChooseColor):
763         (WebKit::ColorChooserUIController::didEndChooser):
764         (WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
765         (WebKit::ColorChooserUIController::writeDocument):
766         (WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
767         (WebKit::ColorChooserUIController::didClosePopup):
768         (WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
769         (WebKit::ColorChooserUIController::closePopup):
770         (WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.
771         * src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.
772         (WebCore):
773         (WebKit):
774         (ColorChooserUIController):
775         * src/WebColorChooserClientImpl.cpp: Removed.
776
777 2012-07-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
778
779         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
780         https://bugs.webkit.org/show_bug.cgi?id=92091
781
782         Reviewed by Hajime Morita.
783
784         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
785         remove the old platform specific implementations as it exclusively tests WebCore functionality.
786
787         * public/WebFrame.h:
788         (WebFrame):
789         * src/WebFrameImpl.cpp:
790         (WebKit):
791         * src/WebFrameImpl.h:
792         (WebFrameImpl):
793
794 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
795
796         Unreviewed, rolling out r124004.
797         http://trac.webkit.org/changeset/124004
798         https://bugs.webkit.org/show_bug.cgi?id=92622
799
800         Broke Android build (Requested by keishi on #webkit).
801
802         * WebKit.gyp:
803         * src/ChromeClientImpl.cpp:
804         (WebKit::ChromeClientImpl::createColorChooser):
805         * src/ChromeClientImpl.h:
806         (WebCore):
807         (ChromeClientImpl):
808         * src/ColorChooserProxy.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
809         (WebKit):
810         (WebKit::ColorChooserProxy::ColorChooserProxy):
811         (WebKit::ColorChooserProxy::~ColorChooserProxy):
812         (WebKit::ColorChooserProxy::setSelectedColor):
813         (WebKit::ColorChooserProxy::endChooser):
814         * src/ColorChooserProxy.h: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
815         (WebKit):
816         (ColorChooserProxy):
817         * src/ColorChooserUIController.cpp: Removed.
818         * src/WebColorChooserClientImpl.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.
819         (WebKit):
820         (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
821         (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
822         (WebKit::WebColorChooserClientImpl::didChooseColor):
823         (WebKit::WebColorChooserClientImpl::didEndChooser):
824         * src/WebColorChooserClientImpl.h: Renamed from Source/WebKit/chromium/src/ColorChooserUIController.h.
825         (WebCore):
826         (WebKit):
827         (WebColorChooserClientImpl):
828
829 2012-07-30  Keishi Hattori  <keishi@webkit.org>
830
831         Implement datalist UI for input type color for Chromium
832         https://bugs.webkit.org/show_bug.cgi?id=92075
833
834         Reviewed by Kent Tamura.
835
836         Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
837         ColorChooserUIController can control whether to open the color suggestion picker
838         popup or the color chooser depending on the responses from ColorChooserClient.
839
840         * WebKit.gyp:
841         * src/ChromeClientImpl.cpp:
842         (WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
843         (WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.
844         * src/ChromeClientImpl.h:
845         (WebKit):
846         (ChromeClientImpl):
847         * src/ColorChooserProxy.cpp: Removed.
848         * src/ColorChooserProxy.h: Removed.
849         * src/ColorChooserUIController.cpp: Added.
850         (WebKit):
851         (WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
852         (WebKit::ColorChooserUIController::~ColorChooserUIController):
853         (WebKit::ColorChooserUIController::setSelectedColor):
854         (WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
855         (WebKit::ColorChooserUIController::didChooseColor):
856         (WebKit::ColorChooserUIController::didEndChooser):
857         (WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
858         (WebKit::ColorChooserUIController::writeDocument):
859         (WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
860         (WebKit::ColorChooserUIController::didClosePopup):
861         (WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
862         (WebKit::ColorChooserUIController::closePopup):
863         (WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.
864         * src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.
865         (WebCore):
866         (WebKit):
867         (ColorChooserUIController):
868         * src/WebColorChooserClientImpl.cpp: Removed.
869
870 2012-07-29  Lu Guanqun  <guanqun.lu@intel.com>
871
872         [chromium] pass acceleratePainting info to settings
873         https://bugs.webkit.org/show_bug.cgi?id=92467
874
875         Reviewed by Eric Seidel.
876
877         The acceleratePainting info is not passed into settings correctly so
878         that GPU composition would not use the code path of accelerated painting.
879
880         * src/WebLayerTreeView.cpp:
881         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
882
883 2012-07-29  Rik Cabanier  <cabanier@adobe.com>
884
885         Add ENABLE_CSS_COMPOSITING flag
886         https://bugs.webkit.org/show_bug.cgi?id=92553
887
888         Reviewed by Dirk Schulze.
889
890         Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
891
892         * features.gypi:
893
894 2012-07-28  Peter Kasting  <pkasting@google.com>
895
896         Sigh.  Just disable all the AutoResize tests after the first three.
897         https://bugs.webkit.org/show_bug.cgi?id=92318 
898
899         Unreviewed, making bots happier.
900
901         * tests/WebViewTest.cpp:
902
903 2012-07-28  Peter Kasting  <pkasting@google.com>
904
905         Try disabling different test in hopes of tracking down the real problem.
906         https://bugs.webkit.org/show_bug.cgi?id=92318 
907
908         Unreviewed, making bots happier.
909
910         * tests/WebViewTest.cpp:
911
912 2012-07-27  Peter Kasting  <pkasting@google.com>
913
914         Disable failing test.
915         https://bugs.webkit.org/show_bug.cgi?id=92318 
916
917         Unreviewed, making bots happier.
918
919         * tests/WebViewTest.cpp:
920
921 2012-07-27  Scott Graham  <scottmg@chromium.org>
922
923         Change navigator.webkitGamepads[] to navigator.webkitGetGamepads()
924         https://bugs.webkit.org/show_bug.cgi?id=92533
925
926         Reviewed by Adam Barth.
927
928         Renames for updated access point.
929
930         * src/WebRuntimeFeatures.cpp:
931         (WebKit::WebRuntimeFeatures::enableGamepad):
932         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
933
934 2012-07-27  Kevin Ellis  <kevers@chromium.org>
935
936         [chromium] Calendar for input type=date should be larger on devices that support touch input.
937         https://bugs.webkit.org/show_bug.cgi?id=92424
938
939         Reviewed by Kent Tamura.
940
941         Plumbs the deviceSupportsTouch setting through to the popup page so
942         that the Calendar popup can be enlarged on screens that support touch
943         input.
944
945         * src/WebPagePopupImpl.cpp:
946         (WebKit::WebPagePopupImpl::initPage):
947
948 2012-07-27  Peter Beverloo  <peter@chromium.org>
949
950         Unreviewed.  Rolled DEPS.
951
952         * DEPS:
953
954 2012-07-27  Oli Lan  <olilan@chromium.org>
955
956         [chromium] Fix issues in visiblePositionForWindowPoint (offscreen points / iframes).
957         https://bugs.webkit.org/show_bug.cgi?id=79117
958
959         Fix two issues in WebFrameImpl::visiblePositionForWindowPoint.
960
961         1) If the point is off-screen, the visiblePosition is clipped to the screen.
962            - The fix is to add HitTestRequest::IgnoreClipping.
963
964         2) The result is incorrect if the point is within an iframe.
965            - This is because we are calling convertFromContainingWindow twice: once in windowToContents,
966              and then explicitly as well.
967            - This patch removes the explicit call to convertFromContainingWindow. 
968
969         Reviewed by Adam Barth.
970
971         * src/WebFrameImpl.cpp:
972         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
973
974 2012-07-27  Peter Beverloo  <peter@chromium.org>
975
976         Unreviewed.  Rolled DEPS.
977
978         * DEPS:
979
980 2012-07-27  Alec Flett  <alecflett@chromium.org>
981
982         IndexedDB: inject index keys on cursor/objectstore/index get success handlers
983         https://bugs.webkit.org/show_bug.cgi?id=91123
984
985         Reviewed by Tony Chang.
986
987         Remove method no longer used.
988
989         * tests/IDBFakeBackingStore.h:
990
991 2012-07-26  Yoshifumi Inoue  <yosin@chromium.org>
992
993         [Forms] Introduce runtime feature flags for input type datetime, datetimelocal, month, time, week
994         https://bugs.webkit.org/show_bug.cgi?id=92339
995
996         Reviewed by Kent Tamura.
997
998         To detect compilation errors and test failure earlier, I would like
999         build and run tests for input type datetime, datetime-local, month,
1000         time and week with runtime feature flags to avoid behavior changes
1001         on chromium browser.
1002
1003         This patch adds query and change functions for runtime features of
1004         input type datetime, datetime-local, month, time and week to WebRuntimeFeatures
1005         class for exposing DRT and chromium browser expermental flags.
1006
1007         * features.gypi: Turn on ENABLE_INPUT_TYPE_DATETIME, ENABLE_INPUT_TYPE_DATETIMELOCAL,
1008         ENABLE_INPUT_TYPE_MONTH, ENABLE_INPUT_TYPE_TIME, and ENABLE_INPUT_TYPE_WEEK for all OS.
1009         * public/WebRuntimeFeatures.h:
1010         (WebRuntimeFeatures):
1011         * src/WebRuntimeFeatures.cpp:
1012         (WebKit::WebRuntimeFeatures::enableInputTypeDateTime): Added.
1013         (WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled): Added.
1014         (WebKit::WebRuntimeFeatures::enableInputTypeDateTimeLocal): Added.
1015         (WebKit::WebRuntimeFeatures::isInputTypeDateTimeLocalEnabled): Added.
1016         (WebKit::WebRuntimeFeatures::enableInputTypeMonth): Added.
1017         (WebKit::WebRuntimeFeatures::isInputTypeMonthEnabled): Added.
1018         (WebKit::WebRuntimeFeatures::enableInputTypeTime): Added.
1019         (WebKit::WebRuntimeFeatures::isInputTypeTimeEnabled): Added.
1020         (WebKit::WebRuntimeFeatures::enableInputTypeWeek): Added.
1021         (WebKit::WebRuntimeFeatures::isInputTypeWeekEnabled): Added.
1022
1023 2012-07-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1024
1025         Unreviewed, rolling out r123799.
1026         http://trac.webkit.org/changeset/123799
1027         https://bugs.webkit.org/show_bug.cgi?id=92431
1028
1029         broke the Apple Mac build (Requested by bweinstein on
1030         #webkit).
1031
1032         * src/WebInputEventConversion.cpp:
1033         (WebKit):
1034         * src/WebInputEventConversion.h:
1035         (WebKit):
1036         * src/WebPluginContainerImpl.cpp:
1037         (WebKit::WebPluginContainerImpl::handleEvent):
1038         * src/WebPluginContainerImpl.h:
1039         (WebPluginContainerImpl):
1040
1041 2012-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1042
1043         Propagate gesture events to plugins.
1044         https://bugs.webkit.org/show_bug.cgi?id=92281
1045
1046         Reviewed by Adam Barth.
1047
1048         Propagate gesture events to plugins.
1049
1050         * src/WebInputEventConversion.cpp:
1051         (WebKit):
1052         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
1053         * src/WebInputEventConversion.h:
1054         (WebCore):
1055         (WebKit):
1056         (WebGestureEventBuilder):
1057         * src/WebPluginContainerImpl.cpp:
1058         (WebKit::WebPluginContainerImpl::handleEvent):
1059         * src/WebPluginContainerImpl.h:
1060         (WebCore):
1061         (WebPluginContainerImpl):
1062
1063 2012-07-26  Adrienne Walker  <enne@google.com>
1064
1065         [chromium] Remove redundant surface origin transforms
1066         https://bugs.webkit.org/show_bug.cgi?id=91815
1067
1068         Reviewed by Stephen White.
1069
1070         Clean up use of origin transforms in tests. Where possible, test
1071         against the equivalent draw transform.
1072
1073         * tests/CCLayerTreeHostCommonTest.cpp:
1074         * tests/CCLayerTreeHostImplTest.cpp:
1075         * tests/CCRenderSurfaceTest.cpp:
1076
1077 2012-07-25  David Grogan  <dgrogan@chromium.org>
1078
1079         IndexedDB: WebKit API interfaces for "upgradeneeded" methods and events
1080         https://bugs.webkit.org/show_bug.cgi?id=92203
1081
1082         Reviewed by Adam Barth.
1083
1084         This is the beginning of our typical three-sided-patch process.
1085
1086         * public/WebIDBCallbacks.h:
1087         (WebKit::WebIDBCallbacks::onBlocked):
1088         (WebKit::WebIDBCallbacks::onUpgradeNeeded):
1089         * public/WebIDBDatabaseCallbacks.h:
1090         (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
1091         * public/WebIDBFactory.h:
1092         (WebIDBFactory):
1093         (WebKit::WebIDBFactory::open):
1094         * src/WebIDBFactoryImpl.cpp:
1095         (WebKit::WebIDBFactoryImpl::open):
1096         (WebKit):
1097         * src/WebIDBFactoryImpl.h:
1098         (WebIDBFactoryImpl):
1099
1100 2012-07-19  Adrienne Walker  <enne@google.com>
1101
1102         [chromium] Make all compositor screen space transforms operate on content rects
1103         https://bugs.webkit.org/show_bug.cgi?id=91807
1104
1105         Reviewed by Kenneth Russell.
1106
1107         Update tests that deal with screen space transforms to reflect this change.
1108
1109         * tests/CCLayerTreeHostCommonTest.cpp:
1110         * tests/TiledLayerChromiumTest.cpp:
1111
1112 2012-07-25  Andrew Wilson  <atwilson@chromium.org>
1113
1114         Unreviewed chromium change to disable failing WebViewTest.AutoResizeInBetweenSizes.
1115         https://bugs.webkit.org/show_bug.cgi?id=92318
1116
1117         * tests/WebViewTest.cpp:
1118
1119 2012-07-25  Scott Graham  <scottmg@chromium.org>
1120
1121         [Chromium] fix double->float warnings in CCLayerTreeHostCommonTest.cpp
1122         https://bugs.webkit.org/show_bug.cgi?id=92271
1123
1124         Reviewed by Adrienne Walker.
1125
1126         Fix compile warnings on Windows.
1127
1128         * tests/CCLayerTreeHostCommonTest.cpp:
1129
1130 2012-07-25  Dana Jansens  <danakj@chromium.org>
1131
1132         [chromium] Move WebFilterOperations from RenderPassDrawQuad to RenderPass
1133         https://bugs.webkit.org/show_bug.cgi?id=91885
1134
1135         Reviewed by Adrienne Walker.
1136
1137         * tests/CCLayerTreeHostImplTest.cpp:
1138         * tests/LayerRendererChromiumTest.cpp:
1139         (FakeCCRendererClient::FakeCCRendererClient):
1140         (FakeCCRendererClient::rootRenderPass):
1141         (FakeCCRendererClient::renderPassesInDrawOrder):
1142         (FakeCCRendererClient::renderPasses):
1143         (FakeCCRendererClient):
1144         (TEST_F):
1145         (TEST):
1146
1147 2012-07-24  Shawn Singh  <shawnsingh@chromium.org>
1148
1149         [chromium] Refactor CCLayerTreeHostCommon: move root layer special case initialization into internal code.
1150         https://bugs.webkit.org/show_bug.cgi?id=88953
1151
1152         Reviewed by Adrienne Walker.
1153
1154         Unit tests updated to account for the new less-special root layer setup.
1155           - most test cases just needed to remove root->renderSurface()->setContentBounds(), createRenderSurface(), and renderSurfaceLayerList.append().
1156           - some test cases originally relied on setting some awkward unconventional bounds of the rootLayer that were different than the rootLayer's renderSurface. these tests are updated.
1157           - a few minor cleanups otherwise.
1158
1159         * tests/CCDamageTrackerTest.cpp:
1160         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1161         * tests/CCLayerIteratorTest.cpp:
1162         * tests/CCLayerTreeHostCommonTest.cpp:
1163         * tests/CCOcclusionTrackerTest.cpp:
1164         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
1165
1166 2012-07-25  Taiju Tsuiki  <tzik@chromium.org>
1167
1168         FileSystem should provide a way to delete filesystem.
1169         https://bugs.webkit.org/show_bug.cgi?id=91861
1170
1171         Reviewed by Adam Barth.
1172
1173         * public/WebFrameClient.h:
1174         (WebFrameClient):
1175         (WebKit::WebFrameClient::deleteFileSystem):
1176         * src/LocalFileSystemChromium.cpp: Add deleteFileSystem
1177         (WebCore::deleteFileSystemNotAllowed):
1178         (WebCore):
1179         (WebCore::LocalFileSystem::deleteFileSystem):
1180
1181 2012-07-25  Alok Priyadarshi  <alokp@chromium.org>
1182
1183         [chromium] WebViewBenchmarkSupport::paint API does not work with recording canvas
1184         https://bugs.webkit.org/show_bug.cgi?id=92008
1185
1186         Reviewed by Darin Fisher.
1187
1188         Moved the ownership of canvas to WebViewBenchmarkSupport::PaintClient.
1189
1190         * public/WebViewBenchmarkSupport.h:
1191         (PaintClient):
1192         (WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
1193         (WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
1194         * src/WebViewBenchmarkSupportImpl.cpp:
1195         (WebKit::WebViewBenchmarkSupportImpl::paintLayer):
1196         (WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
1197
1198 2012-07-24  Dana Jansens  <danakj@chromium.org>
1199
1200         [chromium] Turn the debug HUD into a layer so that it can be drawn as a WebCompositorQuad
1201         https://bugs.webkit.org/show_bug.cgi?id=92182
1202
1203         Reviewed by Adrienne Walker.
1204
1205         * tests/LayerRendererChromiumTest.cpp:
1206         (TEST):
1207
1208 2012-07-25  Adrienne Walker  <enne@google.com>
1209
1210         [chromium] Unify compositor quadTransform/drawTransform/originTransform
1211         https://bugs.webkit.org/show_bug.cgi?id=91417
1212
1213         Reviewed by Kenneth Russell.
1214
1215         Clean up tests to refer to the new draw transform semantics.
1216
1217         * tests/CCDamageTrackerTest.cpp:
1218         (WebKitTests::createTestTreeWithOneSurface):
1219         (WebKitTests::createTestTreeWithTwoSurfaces):
1220         (WebKitTests::TEST_F):
1221         * tests/CCLayerSorterTest.cpp:
1222         * tests/CCLayerTreeHostCommonTest.cpp:
1223         * tests/CCLayerTreeHostImplTest.cpp:
1224         * tests/CCLayerTreeHostTest.cpp:
1225         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
1226         * tests/CCQuadCullerTest.cpp:
1227         * tests/TiledLayerChromiumTest.cpp:
1228
1229 2012-07-25  Kevin Ellis  <kevers@chromium.org>
1230
1231         [chromium] Calendar picker popup displays at wrong scale when deviceScaleFactor != 1.
1232         https://bugs.webkit.org/show_bug.cgi?id=92177
1233
1234         Manually tested at deviceScaleFactor = 1 and 2.
1235
1236         Reviewed by Kent Tamura.
1237
1238         The device scale factor was not being set for the calendar popup. 
1239         As a result, the popup was rendered too small on hidpi displays.
1240         This patch sets the device scale factor for any page popup.
1241
1242         * src/WebPagePopupImpl.cpp:
1243         (WebKit::WebPagePopupImpl::initPage):
1244
1245 2012-07-25  MORITA Hajime <morrita@google.com>
1246
1247         Another unreviewed win build fix against r123569.
1248
1249         * tests/IDBAbortOnCorruptTest.cpp:
1250
1251 2012-07-25  MORITA Hajime  <morrita@google.com>
1252
1253         Unreviewed win build fix against r123569.
1254
1255         * tests/IDBAbortOnCorruptTest.cpp:
1256         * tests/IDBDatabaseBackendTest.cpp:
1257
1258 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1259
1260         Unreviewed.  Rolled DEPS.
1261
1262         * DEPS:
1263
1264 2012-07-24  Dave Tu  <dtu@chromium.org>
1265
1266         [chromium] Move renderingStats from WebView to WebWidget.
1267         https://bugs.webkit.org/show_bug.cgi?id=92184
1268
1269         Reviewed by Adam Barth.
1270
1271         We are going to add some rendering stats that work in non-composited mode, so the renderingStats() method should be moved from WebView to WebWidget.
1272
1273         * public/WebView.h:
1274         (WebKit):
1275         (WebView):
1276         * public/WebWidget.h:
1277         (WebKit):
1278         (WebWidget):
1279         (WebKit::WebWidget::renderingStats):
1280         * src/WebViewImpl.h:
1281         (WebViewImpl):
1282
1283 2012-07-24  Alec Flett  <alecflett@chromium.org>
1284
1285         IndexedDB: fix #include dependencies so IDBRequest isn't an include root
1286         https://bugs.webkit.org/show_bug.cgi?id=92167
1287
1288         Reviewed by Tony Chang.
1289
1290         Remove implicit dependencies due to using IDBRequest.h, and fix all 
1291         places that break as a result.
1292
1293         * src/IDBCallbacksProxy.cpp:
1294         * src/WebIDBDatabaseImpl.cpp:
1295         * src/WebIDBTransactionImpl.cpp:
1296
1297 2012-07-24  Adam Barth  <abarth@webkit.org>
1298
1299         [Chromium] Support scrolling and zooming to focused input elements
1300         https://bugs.webkit.org/show_bug.cgi?id=91661
1301
1302         Reviewed by Darin Fisher.
1303
1304         This patch introduces saveScrollAndScaleState and
1305         restoreScrollAndScaleState, which can be used to save and restore the
1306         scroll and scale state of the WebView, respectively.  These functions
1307         will be used by Chromium on Android to save the scale and scrolls state
1308         before zoom into a text field so that we can "undo" the zoom if the
1309         user didn't mean to zoom into the text field.
1310
1311         I wanted to write unit tests for these functions, but it wasn't clear
1312         to me how to write the test because startPageScaleAnimation appears to
1313         complete asynchronously.
1314
1315         * public/WebView.h:
1316         (WebView):
1317         * src/WebViewImpl.cpp:
1318         (WebKit::WebViewImpl::WebViewImpl):
1319         (WebKit::WebViewImpl::saveScrollAndScaleState):
1320         (WebKit):
1321         (WebKit::WebViewImpl::restoreScrollAndScaleState):
1322         (WebKit::WebViewImpl::resetSavedScrollAndScaleState):
1323         (WebKit::WebViewImpl::didCommitLoad):
1324         * src/WebViewImpl.h:
1325         (WebViewImpl):
1326
1327 2012-07-24  Dave Tu  <dtu@chromium.org>
1328
1329         [chromium] Add time spent painting to GPU benchmarking renderingStats() API.
1330         https://bugs.webkit.org/show_bug.cgi?id=90019
1331
1332         Reviewed by Adrienne Walker.
1333
1334         * src/WebLayerTreeView.cpp:
1335         (WebKit::WebLayerTreeView::renderingStats):
1336         * tests/CCLayerTreeHostTest.cpp:
1337         * tests/CCTiledLayerTestCommon.cpp:
1338         (WebKitTests::FakeLayerTextureUpdater::Texture::prepareRect):
1339         (WebKitTests::FakeTiledLayerChromium::update):
1340         * tests/CCTiledLayerTestCommon.h:
1341         (Texture):
1342         (FakeTiledLayerChromium):
1343         * tests/Canvas2DLayerBridgeTest.cpp:
1344         * tests/ContentLayerChromiumTest.cpp:
1345         (WebKit::TEST):
1346         * tests/TiledLayerChromiumTest.cpp:
1347
1348 2012-07-24  Jian Li  <jianli@chromium.org>
1349
1350         Add per-context setting for html notifications
1351         https://bugs.webkit.org/show_bug.cgi?id=91295
1352
1353         Reviewed by Adam Barth.
1354
1355         Add new per-context feature for chromium port.
1356
1357         * public/WebPermissionClient.h:
1358         (WebPermissionClient):
1359         (WebKit::WebPermissionClient::allowHTMLNotifications):
1360         * src/ContextFeaturesClientImpl.cpp:
1361         (WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
1362
1363 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1364
1365         Unreviewed, rolling out r123499.
1366         http://trac.webkit.org/changeset/123499
1367         https://bugs.webkit.org/show_bug.cgi?id=92161
1368
1369         Android fails to compile (Requested by zhenyao on #webkit).
1370
1371         * src/AssertMatchingEnums.cpp:
1372
1373 2012-07-24  Terry Anderson  <tdanderson@chromium.org>
1374
1375         [chromium] Add a bounding box member in WebGestureEvent
1376         https://bugs.webkit.org/show_bug.cgi?id=92144
1377
1378         Reviewed by Adam Barth.
1379
1380         The new |boundingBox| member will be used to store the touch region for a WebGestureEvent.
1381         This will be useful for gesture target fuzzing across multiple different gesture types
1382         (tap, long press, scroll, etc.)
1383
1384         * public/WebInputEvent.h:
1385         (WebGestureEvent):
1386         * src/WebInputEvent.cpp:
1387         (SameSizeAsWebGestureEvent):
1388
1389 2012-07-24  Nico Weber  <thakis@chromium.org>
1390
1391         [chromium/mac] Add cursor resource pngs to the pak file.
1392         https://bugs.webkit.org/show_bug.cgi?id=92148
1393
1394         Reviewed by Tony Chang.
1395
1396         Once https://chromiumcodereview.appspot.com/10817031/ has landed, they can be
1397         removed from WebCore.gyp's mac_bundle_resources. Part of http://crbug.com/137588
1398
1399         * WebKit.grd:
1400
1401 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1402
1403         Unreviewed, rolling out r123472.
1404         http://trac.webkit.org/changeset/123472
1405         https://bugs.webkit.org/show_bug.cgi?id=92134
1406
1407         Revert roll to v8 version that crashes sporadically (Requested
1408         by atwilson on #webkit).
1409
1410         * DEPS:
1411
1412 2012-07-24  Keishi Hattori  <keishi@webkit.org>
1413
1414         [Chromium] Page popup should close on mouse down
1415         https://bugs.webkit.org/show_bug.cgi?id=92092
1416
1417         Reviewed by Kent Tamura.
1418
1419         Page popup should close on mouse down because some elements(e.g. <input type=color>) don't have a blur event that
1420         we can hook to hide the page popup when the user clicks on the page.
1421
1422         * src/WebPagePopupImpl.h:
1423         (WebKit::WebPagePopupImpl::hasSamePopupClient): Returns true if the given WebPagePopupImpl have the same popup client.
1424         * src/WebViewImpl.cpp:
1425         (WebKit::WebViewImpl::handleMouseDown): Close all popups when the page is clicked. Checks if the
1426         mouse down event opened the same popup we just closed.
1427
1428 2012-07-24  Jochen Eisinger  <jochen@chromium.org>
1429
1430         Unreviewed.  Rolled DEPS.
1431
1432         * DEPS:
1433
1434 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1435
1436         Unreviewed, rolling out r123463.
1437         http://trac.webkit.org/changeset/123463
1438         https://bugs.webkit.org/show_bug.cgi?id=92110
1439
1440         Broke Android build (Requested by keishi on #webkit).
1441
1442         * src/WebPagePopupImpl.h:
1443         * src/WebViewImpl.cpp:
1444         (WebKit::WebViewImpl::handleMouseDown):
1445
1446 2012-07-24  Keishi Hattori  <keishi@webkit.org>
1447
1448         [Chromium] Page popup should close on mouse down
1449         https://bugs.webkit.org/show_bug.cgi?id=92092
1450
1451         Reviewed by Kent Tamura.
1452
1453         Page popup should close on mouse down because some elements(e.g. <input type=color>) don't have a blur event that
1454         we can hook to hide the page popup when the user clicks on the page.
1455
1456         * src/WebPagePopupImpl.h:
1457         (WebKit::WebPagePopupImpl::hasSamePopupClient): Returns true if the given WebPagePopupImpl have the same popup client.
1458         * src/WebViewImpl.cpp:
1459         (WebKit::WebViewImpl::handleMouseDown): Close all popups when the page is clicked. Checks if the
1460         mouse down event opened the same popup we just closed.
1461
1462 2012-07-24  Anthony Scian  <ascian@rim.com>
1463
1464         Web Inspector [JSC]: Enable initiator column in network panel.
1465         https://bugs.webkit.org/show_bug.cgi?id=65533
1466
1467         Reviewed by Vsevolod Vlasov.
1468
1469         With 40118 fixed for webkit, Preferences.displayInitiator should be set to true.
1470         Removed references to it since the optionality is no longer required.
1471
1472         Test: http/tests/inspector/network/network-initiator.html
1473
1474         * src/js/DevTools.js:
1475
1476 2012-07-24  Peter Beverloo  <peter@chromium.org>
1477
1478         Unreviewed.  Rolled DEPS.
1479
1480         * DEPS:
1481
1482 2012-07-23  Mark Pilgrim  <pilgrim@chromium.org>
1483
1484         [Chromium] Move layoutTestMode to WebCore
1485         https://bugs.webkit.org/show_bug.cgi?id=92010
1486
1487         Reviewed by Adam Barth.
1488
1489         Part of a refactoring series. See tracking bug 82948.
1490
1491         * src/PlatformSupport.cpp:
1492         (WebCore):
1493         * src/WebKit.cpp:
1494         (WebKit::setLayoutTestMode):
1495         (WebKit::layoutTestMode):
1496
1497 2012-07-23  Dave Tu  <dtu@chromium.org>
1498
1499         [chromium] Add droppedFrameCount to renderingStats.
1500         https://bugs.webkit.org/show_bug.cgi?id=91694
1501
1502         Reviewed by Adrienne Walker.
1503
1504         * src/WebLayerTreeView.cpp:
1505         (WebKit::WebLayerTreeView::renderingStats):
1506         * tests/CCLayerTreeHostTest.cpp:
1507         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
1508
1509 2012-07-23  Brian Anderson  <brianderson@chromium.org>
1510
1511         [chromium] Use shallow flushes that don't glFlush
1512         https://bugs.webkit.org/show_bug.cgi?id=90325
1513
1514         Reviewed by Kenneth Russell.
1515
1516         Changed CCTextureUpdaterTest to recognize shallowFlushCHROMIUM().
1517
1518         * tests/CCTextureUpdaterTest.cpp:
1519
1520 2012-07-23  Adrienne Walker  <enne@google.com>
1521
1522         [chromium] Add more compositor unit tests for high DPI transforms
1523         https://bugs.webkit.org/show_bug.cgi?id=91917
1524
1525         Reviewed by Kenneth Russell.
1526
1527         The current set of high DPI tests only deal with layers in a render
1528         surface. Add some extra tests for non-surface layers. Also add a test
1529         to make sure that an owning layer in a surface doesn't differ from a
1530         non-owning layer in high DPI circumstances.
1531
1532         * tests/CCLayerTreeHostCommonTest.cpp:
1533
1534 2012-07-23  Shawn Singh  <shawnsingh@chromium.org>
1535
1536         [chromium] Fix unit tests in debug mode after r123375
1537         https://bugs.webkit.org/show_bug.cgi?id=92030
1538
1539         Reviewed by Adrienne Walker.
1540
1541         Fixed two unit tests that were causing debug assertions because
1542         they gave calcDrawTransforms an empty sized root layer.
1543
1544         * tests/CCLayerTreeHostCommonTest.cpp:
1545
1546 2012-07-23  Simon Fraser  <simon.fraser@apple.com>
1547
1548         Part 2 of: Implement sticky positioning
1549         https://bugs.webkit.org/show_bug.cgi?id=90046
1550
1551         Reviewed by Ojan Vafai.
1552
1553         Turn on ENABLE_CSS_STICKY_POSITION.
1554
1555         * features.gypi:
1556
1557 2012-07-23  Shawn Singh  <shawnsingh@chromium.org>
1558
1559         [chromium] Refactor CCLayerTreeHostCommon: clean up clipRect and drawableContentRect design
1560         https://bugs.webkit.org/show_bug.cgi?id=80622
1561
1562         Reviewed by Adrienne Walker.
1563
1564         Many tests needed to be updated because the semantics of the layer tree have changed:
1565           - a few tests that were no longer applicable were removed.
1566           - many tests needed to have fixed initialization, properly
1567             setting surface contentRect and rootLayer bounds.
1568           - because clipRect and usesLayerClipping no longer exists, those places in code had to be removed/changed
1569           - the scissorRect tests needed to have updated expectations
1570             because after this patch, the rootLayer Surface now clips
1571             to its contentBounds.
1572           - the clipRect tests were changed to test the layer's new semantics for the drawableContentRect instead.
1573
1574         * tests/CCLayerImplTest.cpp:
1575         (WebCore::TEST):
1576         * tests/CCLayerIteratorTest.cpp:
1577         * tests/CCLayerTreeHostCommonTest.cpp:
1578         * tests/CCLayerTreeHostImplTest.cpp:
1579         * tests/CCLayerTreeHostTest.cpp:
1580         * tests/CCOcclusionTrackerTest.cpp:
1581         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
1582         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
1583         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
1584         * tests/LayerChromiumTest.cpp:
1585
1586 2012-07-23  Daniel Cheng  <dcheng@chromium.org>
1587
1588         [chromium] Fix build on Ubuntu Precise.
1589         https://bugs.webkit.org/show_bug.cgi?id=92021
1590
1591         Reviewed by Adrienne Walker.
1592
1593         Remove an array that's written but never read.
1594
1595         * tests/CCResourceProviderTest.cpp:
1596         (WebKit::TEST_F):
1597
1598 2012-07-23  Nate Chapin  <japhet@chromium.org>
1599
1600         Add WebTextInputType enum values for text areas and
1601         content-editable.
1602         https://bugs.webkit.org/show_bug.cgi?id=91654
1603
1604         Reviewed by Adam Barth.
1605
1606         No new tests, no behavior change without corresponding chromium.org changes.
1607
1608         * public/WebTextInputType.h:
1609         * src/WebViewImpl.cpp:
1610         (WebKit::WebViewImpl::textInputType):
1611
1612 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
1613
1614         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
1615         https://bugs.webkit.org/show_bug.cgi?id=91006
1616
1617         Reviewed by Ryosuke Niwa.
1618
1619         Rename the functions to follow a more boolean logic.
1620
1621         * public/WebViewClient.h:
1622         (WebKit::WebViewClient::hasTouchEventHandlers):
1623         * src/ChromeClientImpl.cpp:
1624         (WebKit):
1625         (WebKit::ChromeClientImpl::needTouchEvents):
1626         * src/ChromeClientImpl.h:
1627         (ChromeClientImpl):
1628         * src/WebViewImpl.cpp:
1629         (WebKit::WebViewImpl::hasTouchEventHandlers):
1630         * src/WebViewImpl.h:
1631         (WebViewImpl):
1632
1633 2012-07-23  Simon Fraser  <simon.fraser@apple.com>
1634
1635         Implement sticky positioning
1636         https://bugs.webkit.org/show_bug.cgi?id=90046
1637
1638         Reviewed by Ojan Vafai.
1639
1640         Add ENABLE_CSS_STICKY_POSITION, defaulting to off initially.
1641         
1642         * features.gypi:
1643
1644 2012-07-23  Peter Beverloo  <peter@chromium.org>
1645
1646         [Chromium] Buildfix for fixing gclient on the Chromium Windows bot
1647         https://bugs.webkit.org/show_bug.cgi?id=91977
1648
1649         Unreviewed build fix.
1650
1651         Add the tools/isolate directory to the Windows checkout as these files
1652         currently are missing during gyp generation. maruel introduced the need
1653         for these in this isolate refactoring, specifically this Chromium CL:
1654         http://src.chromium.org/viewvc/chrome?view=rev&revision=147689
1655
1656         * DEPS:
1657
1658 2012-07-22  Kent Tamura  <tkent@chromium.org>
1659
1660         [Chromium-Mac] Fix a build error.
1661
1662         * DEPS: Add third_party/GTM.
1663
1664 2012-07-23  Kent Tamura  <tkent@chromium.org>
1665
1666         Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
1667         https://bugs.webkit.org/show_bug.cgi?id=91941
1668
1669         Reviewed by Kentaro Hara.
1670
1671         A flag name for an elmement should be ENABLE_*_ELEMENT.
1672
1673         * features.gypi:
1674
1675 2012-07-22  Kent Tamura  <tkent@chromium.org>
1676
1677         Rename ENABLE_DETAILS to ENABLE_DETAILS_ELEMENT
1678         https://bugs.webkit.org/show_bug.cgi?id=91928
1679
1680         Reviewed by Kentaro Hara.
1681
1682         A flag name for an elmement should be ENABLE_*_ELEMENT.
1683
1684         * features.gypi:
1685
1686 2012-07-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1687
1688         Unreviewed.  Rolled DEPS.
1689
1690         * DEPS:
1691
1692 2012-07-20  Kent Tamura  <tkent@chromium.org>
1693
1694         Rename ENABLE_DATALIST to ENABLE_DATALIST_ELEMENT
1695         https://bugs.webkit.org/show_bug.cgi?id=91846
1696
1697         Reviewed by Kentaro Hara.
1698
1699         A flag name for an elmement should be ENABLE_*_ELEMENT.
1700
1701         * features.gypi:
1702         * src/WebInputElement.cpp:
1703         (WebKit::WebInputElement::dataListOptions):
1704
1705 2012-07-20  Joshua Bell  <jsbell@chromium.org>
1706
1707         IndexedDB: Simplify backend interface classes
1708         https://bugs.webkit.org/show_bug.cgi?id=91901
1709
1710         Reviewed by Tony Chang.
1711
1712         Remove unnecessary method stubs from proxy class.
1713
1714         * src/IDBTransactionBackendProxy.cpp:
1715         * src/IDBTransactionBackendProxy.h:
1716         (IDBTransactionBackendProxy):
1717
1718 2012-07-20  Scott Graham  <scottmg@chromium.org>
1719
1720         Add windows native versions of bison, flex and gperf.
1721
1722         Reviewed by Tony Chang.
1723
1724         * DEPS:
1725
1726 2012-07-20  David Grogan  <dgrogan@chromium.org>
1727
1728         IndexedDB: Include intVersion when converting between WebCore and WebKit IDBMetadata types
1729         https://bugs.webkit.org/show_bug.cgi?id=91414
1730
1731         Reviewed by Adam Barth.
1732
1733         * src/AssertMatchingEnums.cpp:
1734         * src/WebIDBMetadata.cpp:
1735         (WebKit::WebIDBMetadata::WebIDBMetadata):
1736         (WebKit::WebIDBMetadata::operator IDBDatabaseMetadata):
1737
1738 2012-07-20  Robert Sesek  <rsesek@chromium.org>
1739
1740         [chromium][Mac] Switch the MACOSX_DEPLOYMENT_TARGET to 10.6
1741         https://bugs.webkit.org/show_bug.cgi?id=91752
1742
1743         Reviewed by Eric Seidel.
1744
1745         Use 10.6 NSScreen/NSColorSpace APIs to determine if the screen is
1746         monochrome rather than comparing against deprecated colorspace names.
1747
1748         * src/mac/WebScreenInfoFactory.mm:
1749         (WebKit::WebScreenInfoFactory::screenInfo):
1750
1751 2012-07-20  Daniel Murphy  <dmurph@chromium.org>
1752
1753         Introduce WebViewBenchmarkSupport for performance experiments on a real WebView
1754         https://bugs.webkit.org/show_bug.cgi?id=88271
1755
1756         Reviewed by Darin Fisher.
1757
1758         * WebKit.gyp:
1759         * public/WebView.h:
1760         (WebKit):
1761         (WebView):
1762         (WebKit::WebView::benchmarkSupport):
1763         * public/WebViewBenchmarkSupport.h: Added.
1764         (WebKit):
1765         (WebViewBenchmarkSupport):
1766         (PaintClient):
1767         (WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
1768         (WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
1769         (WebKit::WebViewBenchmarkSupport::PaintClient::~PaintClient):
1770         (WebKit::WebViewBenchmarkSupport::~WebViewBenchmarkSupport):
1771         * src/WebViewBenchmarkSupportImpl.cpp: Added.
1772         (WebKit):
1773         (WebKit::WebViewBenchmarkSupportImpl::paintLayer):
1774         (WebKit::WebViewBenchmarkSupportImpl::acceleratedPaintUnclipped):
1775         (WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
1776         (WebKit::WebViewBenchmarkSupportImpl::paint):
1777         * src/WebViewBenchmarkSupportImpl.h: Added.
1778         (WebCore):
1779         (WebKit):
1780         (WebViewBenchmarkSupportImpl):
1781         (WebKit::WebViewBenchmarkSupportImpl::WebViewBenchmarkSupportImpl):
1782         (WebKit::WebViewBenchmarkSupportImpl::~WebViewBenchmarkSupportImpl):
1783         * src/WebViewImpl.cpp:
1784         (WebKit::WebViewImpl::WebViewImpl):
1785         (WebKit::WebViewImpl::benchmarkSupport):
1786         (WebKit):
1787         (WebKit::WebViewImpl::rootGraphicsLayer):
1788         * src/WebViewImpl.h:
1789         (WebKit):
1790         (WebViewImpl):
1791
1792 2012-07-20  Han Shen  <shenhan@google.com>
1793
1794         [Chromium] Compilation fails under gcc 4.7
1795         https://bugs.webkit.org/show_bug.cgi?id=90227
1796
1797         Reviewed by Tony Chang.
1798
1799         Disable warnings about c++0x compatibility in gcc newer than 4.6.
1800
1801         * WebKit.gyp:
1802         * WebKitUnitTests.gyp:
1803
1804 2012-07-20  Adam Barth  <abarth@webkit.org>
1805
1806         [Chromium] Add WebView::zoomToFindInPageRect for Android
1807         https://bugs.webkit.org/show_bug.cgi?id=91801
1808
1809         Reviewed by Tony Chang.
1810
1811         On Android, when you find in page, we scale the viewport to reveal what
1812         you've found (because the screen is small). This function instructs the
1813         WebView to zoom to display a given rect.
1814
1815         * public/WebView.h:
1816         (WebView):
1817         * src/WebViewImpl.cpp:
1818         (WebKit::WebViewImpl::animateZoomAroundPoint):
1819             - This function is a bit more general than necessary for this patch
1820               because it is also used in other cases for animating a zoom
1821               around a given point (e.g., double-tap to zoom). These uses will
1822               be upstreamed in later patches.
1823         (WebKit::WebViewImpl::zoomToFindInPageRect):
1824         * src/WebViewImpl.h:
1825         (WebViewImpl):
1826
1827 2012-07-19  Luke Macpherson   <macpherson@chromium.org>
1828
1829         Enable CSS variables compile time flag in Chrome.
1830         https://bugs.webkit.org/show_bug.cgi?id=91708
1831
1832         Reviewed by Dimitri Glazkov.
1833
1834         Flips the ENABLE_CSS_VARIABLES compile flag on for Chrome. There is also a run-time flag that is off by default,
1835         so this should not have a user visible effect other than making the variables runtime flag visible at chrome://flags/
1836
1837         * features.gypi:
1838
1839 2012-07-19  Wei James  <james.wei@intel.com>
1840
1841         enable Web Audio for chromium android port
1842         https://bugs.webkit.org/show_bug.cgi?id=89428
1843
1844         Reviewed by Kenneth Russell.
1845
1846         * features.gypi:
1847
1848 2012-07-19  Adam Barth  <abarth@webkit.org>
1849
1850         [Chromium] Support external autofill popups
1851         https://bugs.webkit.org/show_bug.cgi?id=91651
1852
1853         Reviewed by Darin Fisher.
1854
1855         This looks like the last piece needed to support external autofill
1856         popups. This function just lets the embedder select an index
1857         (presumably because the user picked an index from the external autofill
1858         popup).
1859
1860         * public/WebView.h:
1861         (WebView):
1862         * src/WebViewImpl.cpp:
1863         (WebKit::WebViewImpl::selectAutofillSuggestionAtIndex):
1864         (WebKit):
1865         * src/WebViewImpl.h:
1866         (WebViewImpl):
1867
1868 2012-07-19  Zeev Lieber  <zlieber@chromium.org>
1869
1870         [Chromium] Textures drawn during occlusion are incorrectly re-used when unoccluded.
1871         https://bugs.webkit.org/show_bug.cgi?id=91537
1872
1873         Reviewed by Adrienne Walker.
1874
1875         Added unit tests to test texture caching with clipping and
1876         occlusion. Removed some minor code duplication when initializing
1877         layers for various scenarios.
1878
1879         MockCCQuadCuller can now implement CCQuadSink.
1880
1881         * tests/CCLayerTreeHostImplTest.cpp:
1882         * tests/CCQuadCullerTest.cpp:
1883         * tests/MockCCQuadCuller.h:
1884         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
1885
1886 2012-07-19  Adam Barth  <abarth@webkit.org>
1887
1888         [Chromium] WebView is missing isSelectionEditable and backgroundColor which are used by chromium-android
1889         https://bugs.webkit.org/show_bug.cgi?id=91671
1890
1891         Reviewed by Darin Fisher.
1892
1893         I haven't studied what these APIs are used for downstream, but they
1894         seem harmless enough.
1895
1896         * public/WebView.h:
1897         (WebView):
1898         * public/WebWidget.h:
1899         (WebWidget):
1900         (WebKit::WebWidget::backgroundColor):
1901         * src/WebViewImpl.cpp:
1902         (WebKit::WebViewImpl::isSelectionEditable):
1903         (WebKit):
1904         (WebKit::WebViewImpl::backgroundColor):
1905         * src/WebViewImpl.h:
1906         (WebViewImpl):
1907
1908 2012-07-19  Andrew Scherkus  <scherkus@chromium.org>
1909
1910         [chromium] Move WebAudioSourceProvider destructor from public to protected
1911         https://bugs.webkit.org/show_bug.cgi?id=91669
1912
1913         Reviewed by Darin Fisher.
1914
1915         The lifetime of a WebAudioSourceProvider is managed by the implementor
1916         and should never be deallocted by WebKit.
1917
1918         * public/WebAudioSourceProvider.h:
1919         (WebAudioSourceProvider):
1920
1921 2012-07-19  Tony Chang  <tony@chromium.org>
1922
1923         Unreviewed, rolling out r123036.
1924         http://trac.webkit.org/changeset/123036
1925         https://bugs.webkit.org/show_bug.cgi?id=91555
1926
1927         Triggers some DCHECKs in Chromium browser_tests
1928
1929         * public/WebTextInputType.h:
1930         * src/WebViewImpl.cpp:
1931         (WebKit::WebViewImpl::textInputType):
1932
1933 2012-07-19  Joshua Bell  <jsbell@chromium.org>
1934
1935         Roll out r121610 and r122487 which may have been causing flaky crashes
1936         https://bugs.webkit.org/show_bug.cgi?id=91637
1937
1938         Reviewed by Kentaro Hara.
1939
1940         Flaky crashes started in random tests following r121610. It's not clear
1941         that r121610 is to blame, but we'd like to prove or disprove it.
1942         If this doesn't resolve the crashes, this patch should be rolled out.
1943
1944         * src/WebBindings.cpp:
1945         (WebKit::getRangeImpl):
1946         (WebKit::getElementImpl):
1947         (WebKit::getArrayBufferImpl):
1948         (WebKit::getArrayBufferViewImpl):
1949         (WebKit::WebBindings::toV8Value):
1950
1951 2012-07-19  Sami Kyostila  <skyostil@chromium.org>
1952
1953         [chromium] Remove duplicate mock CCLayerTreeHostClient
1954         https://bugs.webkit.org/show_bug.cgi?id=89457
1955
1956         Reviewed by Adrienne Walker.
1957
1958         This test can reuse the existing CCFakeLayerTreeHostClient.
1959
1960         * tests/GraphicsLayerChromiumTest.cpp:
1961         (WebKitTests::MockLayerTreeHost::create):
1962
1963 2012-07-19  Peter Beverloo  <peter@chromium.org>
1964
1965         Unreviewed.  Rolled DEPS.
1966
1967         * DEPS:
1968
1969 2012-07-18  Ryosuke Niwa  <rniwa@webkit.org>
1970
1971         Chromium build fix attempt. Don't use anonymous namespace.
1972
1973         * tests/TextureCopierTest.cpp:
1974
1975 2012-07-18  Antoine Labour  <piman@chromium.org>
1976
1977         [chromium] Introduce CCResourceProvider, replacing TextureAllocator and hiding textures from clients to allow transport
1978         https://bugs.webkit.org/show_bug.cgi?id=91044
1979
1980         Reviewed by Adrienne Walker.
1981
1982         This does several things:
1983         - Add a CCResourceProvider class, that hides textures and the 3D context
1984         from layers (except those that need it). Instead layers manage
1985         "resources". In the future, resources are expected to be transportable
1986         to a "parent" CCResourceProvider to allow flattening of nested
1987         compositors.
1988         - Replace texture ids by resource ids in DrawQuads (allowing them to be
1989         serializable).
1990         - Replace TextureAllocator uses by the CCResourceProvider class.
1991         - Upload of data is done through the CCResourceProvider instead of
1992         explicit GL calls.
1993         - External textures are wrapped into a resource at draw time (see
1994         caveat/FIXME in CCTextureLayerImpl).
1995         - Rendering with the resources is done through an explicit
1996         beginRenderFrom/endRenderFrom that exposes the texture only between that
1997         pair.
1998         - Merge all the LayerTextureSubImage instances (one per layer), into a
1999         single instance on the CCResourceProvider.
2000
2001         Added CCResourceProviderTest, the refactoring is covered by existing tests.
2002
2003         * WebKit.gypi:
2004         * tests/CCLayerTreeHostImplTest.cpp:
2005         * tests/CCPrioritizedTextureTest.cpp:
2006         (WTF::CCPrioritizedTextureTest::CCPrioritizedTextureTest):
2007         (WTF::CCPrioritizedTextureTest::createManager):
2008         (WTF::CCPrioritizedTextureTest::validateTexture):
2009         (WTF::CCPrioritizedTextureTest::resourceProvider):
2010         (CCPrioritizedTextureTest):
2011         (WTF::TEST_F):
2012         * tests/CCQuadCullerTest.cpp:
2013         * tests/CCResourceProviderTest.cpp: Added.
2014         (WebKit):
2015         (ResourceProviderContext):
2016         (WebKit::ResourceProviderContext::create):
2017         (WebKit::ResourceProviderContext::bindTexture):
2018         (WebKit::ResourceProviderContext::createTexture):
2019         (WebKit::ResourceProviderContext::deleteTexture):
2020         (WebKit::ResourceProviderContext::texStorage2DEXT):
2021         (WebKit::ResourceProviderContext::texImage2D):
2022         (WebKit::ResourceProviderContext::texSubImage2D):
2023         (WebKit::ResourceProviderContext::getPixels):
2024         (WebKit::ResourceProviderContext::textureCount):
2025         (WebKit::ResourceProviderContext::textureSize):
2026         (WebKit::ResourceProviderContext::ResourceProviderContext):
2027         (WebKit::ResourceProviderContext::Texture::Texture):
2028         (Texture):
2029         (WebKit::ResourceProviderContext::allocateTexture):
2030         (WebKit::ResourceProviderContext::setPixels):
2031         (CCResourceProviderTest):
2032         (WebKit::CCResourceProviderTest::CCResourceProviderTest):
2033         (WebKit::CCResourceProviderTest::context):
2034         (WebKit::CCResourceProviderTest::getResourcePixels):
2035         (WebKit::TEST_F):
2036         * tests/CCScopedTextureTest.cpp:
2037         (WebKitTests::TEST):
2038         * tests/CCTiledLayerImplTest.cpp:
2039         (CCLayerTestCommon::createLayer):
2040         (CCLayerTestCommon::TEST):
2041         * tests/CCTiledLayerTestCommon.cpp:
2042         (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
2043         * tests/CCTiledLayerTestCommon.h:
2044         (Texture):
2045         (WebKitTests::FakeTextureCopier::copyTexture):
2046         (WebKitTests::FakeTextureCopier::flush):
2047         (WebKitTests::FakeTextureUploader::uploadTexture):
2048         * tests/ContentLayerChromiumTest.cpp:
2049         (WebKit::TEST):
2050         * tests/FakeCCGraphicsContext.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCTexture.h.
2051         (WebKit):
2052         (WebKit::createFakeCCGraphicsContext):
2053         * tests/LayerRendererChromiumTest.cpp:
2054         (FakeLayerRendererChromium::FakeLayerRendererChromium):
2055         (LayerRendererChromiumTest::LayerRendererChromiumTest):
2056         (LayerRendererChromiumTest::context):
2057         (LayerRendererChromiumTest):
2058         (TEST_F):
2059         (TEST):
2060         * tests/TextureCopierTest.cpp:
2061         * tests/TextureManagerTest.cpp:
2062         (WTF::TextureManagerTest::TextureManagerTest):
2063         (WTF::TextureManagerTest::createTextureManager):
2064         (WTF::TextureManagerTest::requestTexture):
2065         (TextureManagerTest):
2066         * tests/TiledLayerChromiumTest.cpp:
2067
2068 2012-07-18  David Grogan  <dgrogan@chromium.org>
2069
2070         IndexedDB: Add intVersion to chromium/public/WebIDBMetadata.h
2071         https://bugs.webkit.org/show_bug.cgi?id=91408
2072
2073         Reviewed by Adam Barth.
2074
2075         This is in support of the new upgradeneeded versioning api.
2076         intVersion will eventually replace the WebString version member.
2077
2078         * public/WebIDBMetadata.h:
2079         (WebKit::WebIDBMetadata::WebIDBMetadata):
2080         The spec uses unsigned long long for version numbers but we use signed
2081         long long so that we can use -1 as a sentinel. It indicates that a
2082         database still uses a string version.
2083
2084 2012-07-18  Adam Barth  <abarth@webkit.org>
2085
2086         Disable printing on chromium-android
2087         https://bugs.webkit.org/show_bug.cgi?id=91550
2088
2089         Reviewed by Tony Chang.
2090
2091         We don't implement printing on Android.
2092
2093         * features.gypi:
2094         * src/WebFrameImpl.cpp:
2095         (WebKit::WebFrameImpl::printPage):
2096
2097 2012-07-18  Alexandre Elias  <aelias@google.com>
2098
2099         [chromium] Ubercomp: add id to SharedQuadState
2100         https://bugs.webkit.org/show_bug.cgi?id=91670
2101
2102         Reviewed by Adrienne Walker.
2103
2104         This assigns an integer ID to SharedQuadState objects and a
2105         corresponding ID to quads.  This ID is unique only within a
2106         RenderPass and currently is just set to the index in the shared quad
2107         state list.  This is redundant with the pointer and exists to
2108         simplify serialization.
2109
2110         I found out that pointer rewriting within a pickler is blocked by
2111         pointers to memory being const there, so the reassignment will have to
2112         be performed in the application layer anyway.  In that case, it's
2113         simplest to add some ID integers.
2114
2115         * tests/CCLayerTreeHostImplTest.cpp:
2116         * tests/CCQuadCullerTest.cpp:
2117         * tests/CCRenderSurfaceTest.cpp:
2118         * tests/CCSolidColorLayerImplTest.cpp:
2119         (CCLayerTestCommon::TEST):
2120         * tests/CCTiledLayerImplTest.cpp:
2121         (CCLayerTestCommon::TEST):
2122         (CCLayerTestCommon::getQuads):
2123
2124 2012-07-18  Nate Chapin  <japhet@chromium.org>
2125
2126         Add WebTextInputType enum values for text areas and
2127         content-editable.
2128         https://bugs.webkit.org/show_bug.cgi?id=91654
2129
2130         Reviewed by Adam Barth.
2131
2132         No new tests, no behavior change without corresponding chromium.org changes.
2133
2134         * public/WebTextInputType.h:
2135         * src/WebViewImpl.cpp:
2136         (WebKit::WebViewImpl::textInputType):
2137
2138 2012-07-18  Alexandre Elias  <aelias@google.com>
2139
2140         [chromium] Ubercomp: clean up CCRenderer interface
2141         https://bugs.webkit.org/show_bug.cgi?id=91555
2142
2143         Reviewed by Adrienne Walker.
2144
2145         I replaced the one-by-one RenderPass calls with a new drawFrame()
2146         method that directly takes a CCRenderPassList, and moved a small
2147         amount of code from CCLayerTreeHostImpl to implement it.  In ubercomp
2148         mode, we will produce a frame bundle rather than a command-stream, so
2149         the full list is easier to work with.
2150
2151         Also, give empty default implementations for the methods that don't
2152         need to do anything in a non-GL context, and make private
2153         setScissorToRect.
2154
2155         * tests/LayerRendererChromiumTest.cpp:
2156         (FakeCCRendererClient::FakeCCRendererClient):
2157         (FakeCCRendererClient::renderPasses):
2158         (FakeCCRendererClient):
2159         (TEST_F):
2160         (TEST):
2161
2162 2012-07-18  Joshua Bell  <jsbell@chromium.org>
2163
2164         IndexedDB: Fix some coding style violations
2165         https://bugs.webkit.org/show_bug.cgi?id=91565
2166
2167         Reviewed by Tony Chang.
2168
2169         * tests/IDBLevelDBCodingTest.cpp:
2170         (IDBLevelDBCoding::TEST):
2171
2172 2012-07-18  Tony Chang  <tony@chromium.org>
2173
2174         [chromium] Unreviewed, fix some MSVC compile warnings.
2175
2176         * tests/CCDamageTrackerTest.cpp:
2177         (WebKitTests::TEST_F):
2178         * tests/CCLayerTreeHostCommonTest.cpp:
2179         * tests/TiledLayerChromiumTest.cpp:
2180
2181 2012-07-18  Mark Pilgrim  <pilgrim@chromium.org>
2182
2183         [Chromium] Call SQLiteFileSystem-related functions directly
2184         https://bugs.webkit.org/show_bug.cgi?id=91631
2185
2186         Reviewed by Adam Barth.
2187
2188         Part of a refactoring series. See tracking bug 82948.
2189
2190         * public/platform/WebKitPlatformSupport.h:
2191         (WebKitPlatformSupport):
2192         * src/PlatformSupport.cpp:
2193         (WebCore):
2194
2195 2012-07-18  Tony Chang  <tony@chromium.org>
2196
2197         [chromium] Unreviewed, more compile fixes on Chromium Win.
2198
2199         * tests/WebTransformationMatrixTest.cpp:
2200         (WebKit::TEST):
2201
2202 2012-07-18  Tony Chang  <tony@chromium.org>
2203
2204         [chromium] Fix compile on Windows.
2205
2206         148>tests\LayerChromiumTest.cpp(510): warning C4305: 'argument' : truncation from 'double' to 'float'
2207
2208         * tests/LayerChromiumTest.cpp:
2209
2210 2012-07-18  Alec Flett  <alecflett@chromium.org>
2211
2212         Implement putIndexKeys in WebIDBObjectStoreImpl
2213         https://bugs.webkit.org/show_bug.cgi?id=91546
2214
2215         Reviewed by Darin Fisher.
2216
2217         Implement putIndexKeys in the chromium API, so it is callable
2218         from chromium.
2219
2220         * src/WebIDBObjectStoreImpl.cpp:
2221         (WebKit::WebIDBObjectStoreImpl::putWithIndexKeys):
2222         (WebKit):
2223         * src/WebIDBObjectStoreImpl.h:
2224         (WebIDBObjectStoreImpl):
2225
2226 2012-07-18  Tony Chang  <tony@chromium.org>
2227
2228         [chromium] Unreviewed compile fix for Android.
2229
2230         More sqrt fixes.
2231
2232         * tests/CCLayerTreeHostCommonTest.cpp:
2233
2234 2012-07-18  Tony Chang  <tony@chromium.org>
2235
2236         [chromium] Unreviewed compile fix for Android.
2237         
2238         Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp: In member function 'virtual void<unnamed>::CCDamageTrackerTest_verifyDamageForTransformedLayer_Test::TestBody()':
2239         Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp:332: error: call of overloaded 'sqrt(int)' is ambiguous
2240
2241         * tests/CCDamageTrackerTest.cpp:
2242         (WebKitTests::TEST_F):
2243
2244 2012-07-18  Varun Jain  <varunjain@chromium.org>
2245
2246         [chromium] Drag image for image elements should be scaled with device scale factor.
2247         https://bugs.webkit.org/show_bug.cgi?id=89688
2248
2249         Reviewed by Adam Barth.
2250
2251         * src/DragClientImpl.cpp:
2252         (WebKit::DragClientImpl::startDrag):
2253         * tests/DragImageTest.cpp:
2254         (WebCore::TEST):
2255
2256 2012-07-18  Shawn Singh  <shawnsingh@chromium.org>
2257
2258         [chromium] Fix style for numeric literals in chromium unit test code
2259         https://bugs.webkit.org/show_bug.cgi?id=91635
2260
2261         Reviewed by Adrienne Walker.
2262
2263         Where possible, removed ".0" and "f" suffixes on numeric literals,
2264         to be more consistent with WebKit style rules.
2265
2266         * tests/CCDamageTrackerTest.cpp:
2267         (WebKitTests::TEST_F):
2268         * tests/CCLayerQuadTest.cpp:
2269         (WebCore::TEST):
2270         * tests/CCLayerTreeHostCommonTest.cpp:
2271         * tests/CCQuadCullerTest.cpp:
2272         * tests/LayerChromiumTest.cpp:
2273         * tests/WebTransformationMatrixTest.cpp:
2274         (WebKit::TEST):
2275
2276 2012-07-17  Shawn Singh  <shawnsingh@chromium.org>
2277
2278         [chromium] Remove awkward anchorPoint usage that implicity affects layer position
2279         https://bugs.webkit.org/show_bug.cgi?id=91472
2280
2281         Reviewed by Adrienne Walker.
2282
2283         Unit tests were updated to account for the fact that anchorPoint
2284         and position are now separated.
2285
2286         * tests/CCDamageTrackerTest.cpp:
2287         (WebKitTests::TEST_F):
2288         * tests/CCLayerTreeHostCommonTest.cpp:
2289         * tests/CCLayerTreeHostImplTest.cpp:
2290         * tests/TiledLayerChromiumTest.cpp:
2291
2292 2012-07-18  Yoshifumi Inoue  <yosin@chromium.org>
2293
2294         Decimal::toString should not round integer value.
2295         https://bugs.webkit.org/show_bug.cgi?id=91481
2296
2297         Reviewed by Kent Tamura.
2298
2299         This patch adds a new test cases for Decimal::toString() for failed
2300         value and maximum coefficient value with various exponent.
2301
2302         * tests/DecimalTest.cpp:
2303         (TEST_F): DecimalTest.toString: Add test cases for big coefficient values.
2304
2305 2012-07-18  Hans Wennborg  <hans@chromium.org>
2306
2307         Add copy constructor to WebSpeechGrammar.h
2308         https://bugs.webkit.org/show_bug.cgi?id=91484
2309
2310         Reviewed by Adam Barth.
2311
2312         Provide user-defined copy constructor (and assign function) for WebSpeechGrammar.
2313         Without this, we were hitting the implicit copy constructor, which in
2314         turn used the implicit copy constructor of WebPrivatePtr. This was bad,
2315         because the implicit copy constructor wouldn't increace the reference
2316         count on the wrapped object, causing us to crash.
2317
2318         Also add one for WebSpeechRecognitionResult; haven't seen any problems
2319         here, but I noticed it was missing.
2320
2321         * public/WebSpeechGrammar.h:
2322         (WebKit::WebSpeechGrammar::WebSpeechGrammar):
2323         (WebSpeechGrammar):
2324         * public/WebSpeechRecognitionResult.h:
2325         (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
2326         (WebSpeechRecognitionResult):
2327         * src/WebSpeechGrammar.cpp:
2328         (WebKit::WebSpeechGrammar::assign):
2329         (WebKit):
2330
2331 2012-07-17  Yoshifumi Inoue  <yosin@chromium.org>
2332
2333         Decimal constructor with 99999999999999999 loses last digit
2334         https://bugs.webkit.org/show_bug.cgi?id=91579
2335
2336         Reviewed by Kent Tamura.
2337
2338         This patch adds test cases for Decimal::EncodedData constructors for
2339         testing edge cases in addition to common cases which they aren't
2340         covered by other test cases.
2341
2342         * tests/DecimalTest.cpp:
2343         (EXPECT_DECIMAL_ENCODED_DATA_EQ): Introduce a new macro for ease of
2344         writing test cases for verifying components of Decimal::EncodedData.
2345         (TEST_F): Added a new test entry DecimalTest.Constructor.
2346
2347 2012-07-17  Yoshifumi Inoue  <yosin@chromium.org>
2348
2349         Test cases in DecimalTest should use EXPECT_STREQ for ease of debugging test case
2350         https://bugs.webkit.org/show_bug.cgi?id=91572
2351
2352         Reviewed by Kent Tamura.
2353
2354         This patch introduces EXPECT_DECIMAL_STREQ macro to replace EXPECT_EQ
2355         with String class for displaying text string rather than object dump
2356         for ease of debugging test cases.
2357
2358         * tests/DecimalTest.cpp:
2359         (DecimalTest::stepDown): Changed to return Decimal instead of String
2360         to use EXPECT_DECIMAL_STREQ.
2361         (DecimalTest::stepUp): ditto.
2362         (TEST_F): Replaced EXPECT_EQ + String class to EXPECT_DECIMAL_STREQ.
2363
2364 2012-07-17  Joshua Bell  <jsbell@chromium.org>
2365
2366         IndexedDB: Key generator state not maintained across connections
2367         https://bugs.webkit.org/show_bug.cgi?id=91456
2368
2369         Reviewed by Tony Chang.
2370
2371         Add stub method implementations to test class.
2372
2373         * tests/IDBFakeBackingStore.h:
2374
2375 2012-07-17  Tony Chang  <tony@chromium.org>
2376
2377         Unreviewed, rolling out r122884.
2378         http://trac.webkit.org/changeset/122884
2379         https://bugs.webkit.org/show_bug.cgi?id=91408
2380
2381         Broke the chromium-win build.
2382
2383         * public/WebIDBMetadata.h:
2384         (WebIDBMetadata):
2385         (WebKit::WebIDBMetadata::WebIDBMetadata):
2386
2387 2012-07-17  David Grogan  <dgrogan@chromium.org>
2388
2389         IndexedDB: Add intVersion to chromium/public/WebIDBMetadata.h
2390         https://bugs.webkit.org/show_bug.cgi?id=91408
2391
2392         Reviewed by Adam Barth.
2393
2394         This is in support of the new upgradeneeded versioning api.
2395         intVersion will eventually replace the WebString version member.
2396
2397         * public/WebIDBMetadata.h:
2398         (WebIDBMetadata): The spec uses unsigned long long for version
2399         numbers but we use int64_t here so that we can use -1 as a sentinel.
2400         It indicates that a database still uses a string version.
2401
2402 2012-07-17  Tony Chang  <tony@chromium.org>
2403
2404         Unreviewed.  Rolled DEPS.
2405
2406         * DEPS:
2407
2408 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
2409
2410         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
2411         https://bugs.webkit.org/show_bug.cgi?id=91196
2412
2413         Reviewed by Pavel Feldman.
2414
2415         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
2416         now returning the InspectorFrontendChannel.
2417
2418         * src/InspectorClientImpl.cpp:
2419         (WebKit::InspectorClientImpl::openInspectorFrontend):
2420         * src/InspectorClientImpl.h:
2421         (InspectorClientImpl):
2422         * src/WebDevToolsAgentImpl.cpp:
2423         (WebKit::WebDevToolsAgentImpl::reattach):
2424         (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
2425         * src/WebDevToolsAgentImpl.h:
2426         (WebDevToolsAgentImpl):
2427
2428 2012-07-16  Adam Barth  <abarth@webkit.org>
2429
2430         Unreviewed. Remove two empty directories.
2431
2432         * public/linuxish: Removed.
2433         * src/linuxish: Removed.
2434
2435 2012-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2436
2437         Add RegisterProtocolHandlerClient to the Modules/protocolhandler
2438         https://bugs.webkit.org/show_bug.cgi?id=90940
2439
2440         Reviewed by Hajime Morita.
2441
2442         As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs
2443         to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for
2444         protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient.
2445
2446         In order to support this, RegisterProtocolHandlerClientImpl class is added to ChromeClientImpl files.
2447
2448         In addition, existing functions related to protocol handler in ChromeClientImpl class are moved to
2449         RegisterProtocolHandlerClientImpl class.
2450
2451         * WebKit.gyp:
2452         * src/ChromeClientImpl.cpp: Implement RegisterProtocolHandlerClientImpl class.
2453         (WebKit):
2454         (WebKit::RegisterProtocolHandlerClientImpl::create):
2455         (WebKit::RegisterProtocolHandlerClientImpl::RegisterProtocolHandlerClientImpl):
2456         (WebKit::RegisterProtocolHandlerClientImpl::registerProtocolHandler):
2457         * src/ChromeClientImpl.h:
2458         (ChromeClientImpl):
2459         (RegisterProtocolHandlerClientImpl):
2460         (WebKit::RegisterProtocolHandlerClientImpl::~RegisterProtocolHandlerClientImpl):
2461         (WebKit):
2462         * src/WebViewImpl.cpp: Register RegisterProtocolHandlerClientImpl in order to support supplement.
2463         (WebKit::WebViewImpl::WebViewImpl):
2464         * src/WebViewImpl.h:
2465
2466 2012-07-16  Yoshifumi Inoue  <yosin@chromium.org>
2467
2468         REGRESSION(r122552): DecimalTest tests (CeilingSmallExponent and FloorSmallExponent) started failing.
2469         https://bugs.webkit.org/show_bug.cgi?id=91244
2470
2471         Reviewed by Kent Tamura.
2472
2473         This patch enables and updates disabled test cases of DecimalTest
2474         caused by fixes in r122552 of Decimal::ceiling() and Decimal::floor()
2475         for small fraction numbers and added test cases. Fixes in r122552
2476         itself is correct however, it didn't update existing tests for very small
2477         fraction numbers.
2478
2479         * tests/DecimalTest.cpp:
2480         (TEST_F): CeilingSmallExponent: Change expected value to 1 for ceiling(1e-1000),
2481         ceiling rounds number toward positive infinity.
2482         (TEST_F): FloorSmallExponent: Change expected value to -1 for floor(-1e-1000),
2483         floor rounds number toward negative infinity.
2484
2485 2012-07-16  Koji Ishii  <kojiishi@gmail.com>
2486
2487         Vertical alternate glyph (GSUB) support for OpenTypeVerticalData
2488         https://bugs.webkit.org/show_bug.cgi?id=81389
2489
2490         Reviewed by Tony Chang.
2491
2492         Tests for pointer validations for OpenType tables.
2493
2494         * WebKit.gypi:
2495         * tests/OpenTypeVerticalDataTest.cpp: Added.
2496         (WebCore):
2497         (TestTable):
2498         (WebCore::TestTable::validateOffset):
2499         (WebCore::TEST):
2500
2501 2012-07-16  Alexandre Elias  <aelias@google.com>
2502
2503         [chromium] Fix WebFrameTest flakiness due to synthetic mouse events
2504         https://bugs.webkit.org/show_bug.cgi?id=91428
2505
2506         Reviewed by Adam Barth.
2507
2508         Synthetic mouse move events on scrolling can cause segfaults in
2509         WebFrameTest due to delayed callbacks on the message loop after
2510         state destruction. This is currently only affecting
2511         the Android port, but has the potential to affect other platforms in the
2512         future.
2513
2514         We can avoid the issue by disabling the deviceSupportsMouse
2515         setting, which shouldn't be needed by any WebFrameTest.
2516
2517         * tests/FrameTestHelpers.cpp:
2518         (WebKit::FrameTestHelpers::createWebViewAndLoad):
2519
2520 2012-07-16  Alec Flett  <alecflett@chromium.org>
2521
2522         IndexedDB: Introduce putWithIndexKeys and calculate them in the renderer
2523         https://bugs.webkit.org/show_bug.cgi?id=90923
2524
2525         Reviewed by Darin Fisher.
2526
2527         Stub out implementations of putWithIndexKeys(), already implemented
2528         on the chromium side.
2529
2530         * public/WebIDBObjectStore.h:
2531         (WebKit::WebIDBObjectStore::putWithIndexKeys):
2532         * src/IDBObjectStoreBackendProxy.cpp:
2533         (WebKit::IDBObjectStoreBackendProxy::putWithIndexKeys):
2534         (WebKit):
2535         * src/IDBObjectStoreBackendProxy.h:
2536         (IDBObjectStoreBackendProxy):
2537
2538 2012-07-16  Adrienne Walker  <enne@google.com>
2539
2540         [chromium] Unify compositor quad transforms into content space
2541         https://bugs.webkit.org/show_bug.cgi?id=91350
2542
2543         Reviewed by Kenneth Russell.
2544
2545         Update tests to add bounds/contentBounds properties to layers. This
2546         exposed a bug in the quad culler tests where the draw transform was
2547         incorrectly being set to the origin transform rather than being a
2548         transform that operates on centered layer rects. Fixed this bug.
2549
2550         * tests/CCQuadCullerTest.cpp:
2551         * tests/CCSolidColorLayerImplTest.cpp:
2552         (CCLayerTestCommon::TEST):
2553         * tests/CCTiledLayerImplTest.cpp:
2554         (CCLayerTestCommon::createLayer):
2555
2556 2012-07-16  Adrienne Walker  <enne@google.com>
2557
2558         [chromium] Unify compositor quad transforms into content space
2559         https://bugs.webkit.org/show_bug.cgi?id=91350
2560
2561         Reviewed by Kenneth Russell.
2562
2563         Update tests to add bounds/contentBounds properties to layers. This
2564         exposed a bug in the quad culler tests where the draw transform was
2565         incorrectly being set to the origin transform rather than being a
2566         transform that operates on centered layer rects. Fixed this bug.
2567
2568         * tests/CCQuadCullerTest.cpp:
2569         * tests/CCSolidColorLayerImplTest.cpp:
2570         (CCLayerTestCommon::TEST):
2571         * tests/CCTiledLayerImplTest.cpp:
2572         (CCLayerTestCommon::createLayer):
2573
2574 2012-07-16  Dana Jansens  <danakj@chromium.org>
2575
2576         [chromium] Remove targetRenderSurface concept, give layers a renderTarget which is the layer whose coordinate space they draw into
2577         https://bugs.webkit.org/show_bug.cgi?id=91288
2578
2579         Reviewed by Adrienne Walker.
2580
2581         * tests/CCDamageTrackerTest.cpp:
2582         (WebKitTests::TEST_F):
2583         * tests/CCLayerImplTest.cpp:
2584         (WebCore::TEST):
2585         * tests/CCLayerTreeHostCommonTest.cpp:
2586         * tests/CCOcclusionTrackerTest.cpp:
2587         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
2588         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
2589         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
2590         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
2591         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
2592         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
2593         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
2594         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
2595         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
2596         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
2597         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
2598         * tests/CCQuadCullerTest.cpp:
2599         * tests/CCTiledLayerTestCommon.cpp:
2600         (WebKitTests::FakeTiledLayerChromium::setTexturePriorities):
2601         * tests/LayerChromiumTest.cpp:
2602
2603 2012-07-16  Sami Kyostila  <skyostil@chromium.org>
2604
2605         [chromium] Only apply page scale delta to root scroll layer
2606         https://bugs.webkit.org/show_bug.cgi?id=91374
2607
2608         Reviewed by Adrienne Walker.
2609
2610         New unit test
2611         CCLayerTreeHostImplTest.pageScaleDeltaAppliedToRootScrollLayerOnly to verify
2612         the transformation of child layer while pinch zooming.
2613
2614         * tests/CCLayerTreeHostImplTest.cpp:
2615
2616 2012-07-16  Kihong Kwon  <kihong.kwon@samsung.com>
2617
2618         Remove setController from BatteryClient
2619         https://bugs.webkit.org/show_bug.cgi?id=90944
2620
2621         Reviewed by Adam Barth.
2622
2623         Remove virtual identifier from setController because setController is removed from WebCore::BatteryClient.
2624         In addition, BatteryController is set to instance of BatteryClientImpl in the constructor of WebViewImpl.
2625
2626         * src/BatteryClientImpl.h:
2627         (BatteryClientImpl):
2628         * src/WebViewImpl.cpp:
2629         (WebKit::WebViewImpl::WebViewImpl):
2630
2631 2012-07-16  Dana Jansens  <danakj@chromium.org>
2632
2633         [chromium] Incorrect assertion: Replicas will cause a RenderPass to be removed twice
2634         https://bugs.webkit.org/show_bug.cgi?id=91328
2635
2636         Reviewed by Adrienne Walker.
2637
2638         Add replicas to the surfaces in the test.
2639
2640         * tests/CCLayerTreeHostTest.cpp:
2641         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
2642         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::beginTest):
2643         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::afterTest):
2644         (CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
2645
2646 2012-07-13  Eric Penner  <epenner@google.com>
2647
2648         [chromium] Add 'self-managed' option to CCPrioritizedTexture to enable render-surface and canvas use cases.
2649         https://bugs.webkit.org/show_bug.cgi?id=91177
2650
2651         Reviewed by Adrienne Walker.
2652
2653         * tests/CCPrioritizedTextureTest.cpp:
2654         (WTF::TEST_F):
2655         * tests/TiledLayerChromiumTest.cpp:
2656
2657 2012-07-13  Brian Anderson  <brianderson@chromium.org>
2658
2659         Add flushes to CCTextureUpdater::update
2660         https://bugs.webkit.org/show_bug.cgi?id=89035
2661
2662         Reviewed by Adrienne Walker.
2663
2664         CCTextureUpdaterTest added to verify texture upload/flushing patterns.
2665
2666         * WebKit.gypi:
2667         * tests/CCTextureUpdaterTest.cpp: Added.
2668
2669 2012-07-13  David Grogan  <dgrogan@chromium.org>
2670
2671         IndexedDB: Re-enable indexeddb in test_shell
2672         https://bugs.webkit.org/show_bug.cgi?id=91161
2673
2674         Reviewed by Tony Chang.
2675
2676         IDB used to be allowed to run if webView->permissionClient() was NULL,
2677         as is the case in test_shell. This was inadvertently changed in
2678         http://wkb.ug/90310.
2679
2680         We still don't have an automated test for this (http://crbug.com/113738)
2681         Tested manually:
2682
2683         * In test_shell:
2684         1) Open an IDB page
2685         2) Verify IDB has permission to open a DB
2686
2687         * In chrome:
2688         1) Open an IDB page
2689         2) Verify IDB has permission to open a DB
2690         3) Revoke IDB permissions in chrome://chrome/settings/content
2691         4) Reload the IDB page
2692         5) Verify IDB doesn't have permission to open a DB
2693
2694         * src/IDBFactoryBackendProxy.cpp:
2695         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
2696
2697 2012-07-13  Wei James  <james.wei@intel.com>
2698
2699         enable TestWebKitAPI/webkit_unit_tests apk on x86 android platform by adding abi support
2700         https://bugs.webkit.org/show_bug.cgi?id=91194
2701
2702         Reviewed by Adam Barth.
2703
2704         * WebKitUnitTests.gyp:
2705
2706 2012-07-13  Dana Jansens  <danakj@chromium.org>
2707
2708         webkit_unit_test CCLayerTreeHostImplTest.testRemoveRenderPasses started failing.
2709         https://bugs.webkit.org/show_bug.cgi?id=91245
2710
2711         Reviewed by Adrienne Walker.
2712
2713         * tests/CCLayerTreeHostImplTest.cpp:
2714
2715 2012-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
2716
2717         Unreviewed gardening: skip failing webkit unit test.
2718
2719         * tests/CCLayerTreeHostImplTest.cpp:
2720
2721 2012-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
2722
2723         Unreviewed gardening, skip failing webkit_unit_tests.
2724
2725         * tests/DecimalTest.cpp:
2726         (TEST_F):
2727
2728 2012-07-13  Kent Tamura  <tkent@chromium.org>
2729
2730         Make calendar pickers testable
2731         https://bugs.webkit.org/show_bug.cgi?id=84827
2732
2733         Reviewed by Hajime Morita.
2734
2735         * src/ChromeClientImpl.cpp:
2736         (WebKit::ChromeClientImpl::ChromeClientImpl):
2737         Initialize m_pagePopupDriver with the WebViewImpl.
2738         (WebKit::ChromeClientImpl::openPagePopup):
2739         Just calls PagePoupDriver::openPagePopup().
2740         (WebKit::ChromeClientImpl::closePagePopup):
2741         Just calls PagePoupDriver::closePagePopup().
2742         (WebKit::ChromeClientImpl::setPagePopupDriver):
2743         * src/ChromeClientImpl.h:
2744         (ChromeClientImpl): Add setPagePopupDriver
2745         * src/WebViewImpl.h:
2746         (WebViewImpl):
2747         WebViewImpl implements PagePopupDriver. openPagePopup() and
2748         closePagePopup() override members of PagePopupDriver.
2749
2750 2012-07-13  Yoshifumi Inoue  <yosin@chromium.org>
2751
2752         REGRESSION(r119948): [Forms] Spin button Up/Down actions make value to zero for input type "number" when step mismatched
2753         https://bugs.webkit.org/show_bug.cgi?id=91197
2754
2755         Reviewed by Kent Tamura.
2756
2757         This patch adds test cases for Decimal::ceiling() and floor() of
2758         positive/negative small fractional numbers.
2759
2760         * tests/DecimalTest.cpp:
2761         (TEST_F):
2762
2763 2012-07-12  Adrienne Walker  <enne@google.com>
2764
2765         [chromium] Root invalidations for RTL pages need to be in the right space
2766         https://bugs.webkit.org/show_bug.cgi?id=91155
2767
2768         Reviewed by Kenneth Russell.
2769
2770         The root layer has a translation on it when placed in the tree, so any
2771         invalidations on this layer likewise need to be adjusted.
2772
2773         This adjustment is due to the fact that compositor layers all have the
2774         origin in the upper left corner of the layer, but this is not always
2775         the origin for graphics layers. Rather than making compositor layers
2776         have to deal with a potential offset, we change the transform when
2777         inserting the layer into the tree. Invalidations need to be similarly
2778         transformed from document space into compositor layer space.
2779
2780         The need for this offset is due to the definition of the initial
2781         containing block. RTL pages (pages with dir=RTL on the body) start
2782         scrolled all the way to the right, and the origin is in the upper left
2783         hand corner of this initial viewport. Thus on RTL pages with
2784         horizontal overflow, the left of the document is in negative CSS
2785         space.
2786
2787         * src/NonCompositedContentHost.cpp:
2788         (WebKit::NonCompositedContentHost::invalidateRect):
2789
2790 2012-07-12  Dana Jansens  <danakj@chromium.org>
2791
2792         [chromium] Remove the RenderPass pointer from RenderPassDrawQuad
2793         https://bugs.webkit.org/show_bug.cgi?id=91023
2794
2795         Reviewed by Adrienne Walker.
2796
2797         * tests/CCLayerTreeHostImplTest.cpp:
2798
2799 2012-07-12  Adam Barth  <abarth@webkit.org>
2800
2801         [Chromium] WebSettings should be sorted
2802         https://bugs.webkit.org/show_bug.cgi?id=91157
2803
2804         Reviewed by Eric Seidel.
2805
2806         This might be my OCD, but IMHO this file would be cleaner if we listed
2807         the settings in alphabetic order.
2808
2809         * public/WebSettings.h:
2810         * src/WebSettingsImpl.h:
2811         (WebSettingsImpl):
2812         (WebKit::WebSettingsImpl::forceSoftwareCompositing):
2813         (WebKit::WebSettingsImpl::viewportEnabled):
2814         (WebKit::WebSettingsImpl::maxUntiledLayerSize):
2815
2816 2012-07-12  Joshua Bell  <jsbell@chromium.org>
2817
2818         IndexedDB: Enable IDBFactory.deleteDatabase() and webkitGetDatabaseNames() in Workers
2819         https://bugs.webkit.org/show_bug.cgi?id=90310
2820
2821         Reviewed by Tony Chang.
2822
2823         * src/IDBFactoryBackendProxy.cpp:
2824         (WebKit::IDBFactoryBackendProxy::allowIndexedDB): Consolidates user-prompting logic.
2825         (WebKit::getWebFrame): Helper to dig out frame from Document, or null for Worker.
2826         (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
2827         (WebKit):
2828         (WebKit::IDBFactoryBackendProxy::open):
2829         (WebKit::IDBFactoryBackendProxy::deleteDatabase):
2830         * src/IDBFactoryBackendProxy.h: Update method signatures to match interface.
2831         (WebCore):
2832         (IDBFactoryBackendProxy):
2833
2834 2012-07-12  Dana Jansens  <danakj@chromium.org>
2835
2836         [chromium] The root layer should not try create a second RenderSurface for itself
2837         https://bugs.webkit.org/show_bug.cgi?id=91124
2838
2839         Reviewed by Adrienne Walker.
2840
2841         * tests/CCLayerTreeHostImplTest.cpp:
2842
2843 2012-07-12  Eric Penner  <epenner@google.com>
2844
2845         [chromium] Use CCTexture/TextureAllocator and remove TextureManager
2846         https://bugs.webkit.org/show_bug.cgi?id=91001
2847
2848         Reviewed by Adrienne Walker.
2849
2850         Deleting old texture manager tests.
2851
2852         * WebKit.gypi:
2853         * tests/CCLayerTreeHostImplTest.cpp:
2854         * tests/CCPrioritizedTextureTest.cpp:
2855         (WTF::CCPrioritizedTextureTest::texturesMemorySize):
2856         * tests/CCThreadedTest.cpp:
2857         * tests/CCTiledLayerTestCommon.h:
2858         * tests/Canvas2DLayerBridgeTest.cpp:
2859         * tests/TextureManagerTest.cpp: Removed.
2860
2861 2012-07-12  Robert Sesek  <rsesek@chromium.org>
2862
2863         [chromium][Mac] r122400 broke 10.6 build
2864         https://bugs.webkit.org/show_bug.cgi?id=91103
2865
2866         Reviewed by Tony Chang.
2867
2868         Use the right availability macros for forward-declaring methods and
2869         defining constants.
2870
2871         * src/mac/WebInputEventFactory.mm:
2872
2873 2012-07-12  Tony Chang  <tony@chromium.org>
2874
2875         [chromium] Remove drag and drop API methods that are no longer used
2876         https://bugs.webkit.org/show_bug.cgi?id=90996
2877
2878         Reviewed by Adam Barth.
2879
2880         In r117327, we added a parameter for modifier keys to these methods.
2881         Chromium has since switched to using the methods that require the
2882         extra parameter so we can remove these methods.
2883
2884         * public/WebView.h:
2885         (WebView):
2886         * src/WebViewImpl.cpp:
2887         (WebKit::WebViewImpl::dragTargetDragEnter):
2888         (WebKit::WebViewImpl::dragTargetDragOver):
2889         * src/WebViewImpl.h:
2890         (WebViewImpl):
2891
2892 2012-07-12  Tony Chang  <tony@chromium.org>
2893
2894         Unreviewed.  Rolled DEPS.
2895
2896         * DEPS:
2897
2898 2012-07-12  Adam Barth  <abarth@webkit.org>
2899
2900         [Chromium] Delete last mention of Hixie76 in WebKit/chromium
2901         https://bugs.webkit.org/show_bug.cgi?id=91099
2902
2903         Reviewed by Tony Chang.
2904
2905         This deprecated API is no longer used anywhere.
2906
2907         * public/WebSettings.h:
2908         (WebKit::WebSettings::setDefaultDeviceScaleFactor):
2909
2910 2012-07-12  Tony Chang  <tony@chromium.org>
2911
2912         Unreviewed, rolling out r122477.
2913         http://trac.webkit.org/changeset/122477
2914         https://bugs.webkit.org/show_bug.cgi?id=91103
2915
2916         Broke Chromium Mac build
2917
2918         * src/mac/WebInputEventFactory.mm:
2919
2920 2012-07-12  Robert Sesek  <rsesek@chromium.org>
2921
2922         [chromium][Mac] r122400 broke 10.6 build
2923         https://bugs.webkit.org/show_bug.cgi?id=91103
2924
2925         Reviewed by Tony Chang.
2926
2927         Use the right availability macros for forward-declaring methods and
2928         defining constants.
2929
2930         * src/mac/WebInputEventFactory.mm:
2931
2932 2012-07-12  Peter Beverloo  <peter@chromium.org>
2933
2934         [Chromium] Enable building APKs for TestWebKitAPI and webkit_unit_tests
2935         https://bugs.webkit.org/show_bug.cgi?id=90989
2936
2937         Reviewed by Adam Barth.
2938
2939         Add dependencies on the webkit_unit_tests_apk and TestWebKitAPI_apk
2940         targets for Android, making sure that we're generating the packages.
2941
2942         * All.gyp:
2943
2944 2012-07-12  Leandro Gracia Gil  <leandrogracia@chromium.org>
2945
2946         [Chromium] Remove unrequired API in WebSurroundingText.
2947         https://bugs.webkit.org/show_bug.cgi?id=91067
2948
2949         Reviewed by Adam Barth.
2950
2951         Remove the unused first initialize method from WebSurroundingText.
2952         Now both Chromium and LayoutTestController use the second method.
2953
2954         * public/WebSurroundingText.h:
2955         (WebSurroundingText):
2956         * src/WebSurroundingText.cpp:
2957
2958 2012-07-11  Mark Rowe  <mrowe@apple.com>
2959
2960         <http://webkit.org/b/91015> Remove BUILDING_ON / TARGETING macros in favor of system availability macros
2961
2962         This removal was handled by a script that translates the relevant macros in to the equivalent checks
2963         using the system availability macros.
2964
2965         Reviewed by Filip Pizlo.
2966
2967         * src/mac/WebInputEventFactory.mm:
2968
2969 2012-07-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2970
2971         Unreviewed.  Rolled DEPS.
2972
2973         * DEPS:
2974
2975 2012-07-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2976
2977         Unreviewed, rolling out r122358.
2978         http://trac.webkit.org/changeset/122358
2979         https://bugs.webkit.org/show_bug.cgi?id=91037
2980
2981         Build break on WebKit Win (Requested by hayato on #webkit).
2982
2983         * public/WebView.h:
2984         (WebView):
2985         * src/WebViewImpl.cpp:
2986         (WebKit::WebViewImpl::dragTargetDragEnter):
2987         (WebKit):
2988         (WebKit::WebViewImpl::dragTargetDragOver):
2989         (WebKit::WebViewImpl::dragTargetDrop):
2990         * src/WebViewImpl.h:
2991         (WebViewImpl):
2992
2993 2012-07-11  Alexandre Elias  <aelias@google.com>
2994
2995         [chromium] Move compositor quads to Platform/chromium/public
2996         https://bugs.webkit.org/show_bug.cgi?id=90582
2997
2998         Reviewed by Adrienne Walker.
2999
3000         This moves CCSharedQuadState, CCDrawQuad, and all but two CC*DrawQuad
3001         classes to the WebKit namespace, as a first step to pushing them
3002         across the process boundary for the ubercompositor.
3003
3004         - The intent is to serialize the class hierarchy using the same
3005         mechanism as WebInputEvent.  In order to do this, there are three
3006         requirements: pure POD data, a method returning size, and a packing
3007         pragma.
3008
3009         - Private data members are fine with this kind of serializer, and a
3010         default constructor is not needed.  Because of that, we can maintain
3011         the same encapsulation and convenient APIs (behind
3012         WEBKIT_IMPLEMENTATION) as the original classes.  To ease the
3013         transition, the original WebCore headers still exist and typedef to
3014         the new classes.
3015
3016         - However, SharedQuadState will be serialized using the normal
3017         IPC_STRUCT_TRAITS macro, so I made its members public.  A custom
3018         serializer (on quad lists) will maintain the pointers from quads to
3019         SharedQuadStates.
3020
3021         - I converted the Material casting mechanism to materialCast() methods
3022         living in the derived classes.  That way, the WebCompositorQuad header
3023         doesn't need to know about all its derived classes.
3024
3025         - Quad classes not yet transitioned can still be used in
3026         non-ubercompositor mode.  CCRenderPassDrawQuad and CCYUVVideoDrawQuad
3027         are currently non-POD and I left them in their original files.
3028
3029         This approach is the best I've found so far, since it preserves all
3030         WebCore-facing APIs and avoids unnecessary code duplication (new quad
3031         types or members can be added by modifying only one place).  There
3032         also should not be an unreasonable amount of custom serializer code
3033         required.
3034
3035         * tests/CCLayerTestCommon.cpp:
3036         (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
3037         * tests/CCSolidColorLayerImplTest.cpp:
3038         (CCLayerTestCommon::TEST):
3039
3040 2012-07-11  Dana Jansens  <danakj@chromium.org>
3041
3042         [chromium] Rename layerRect to contentRect for rects that live in content space
3043         https://bugs.webkit.org/show_bug.cgi?id=90843
3044
3045         Reviewed by Adrienne Walker.
3046
3047         * tests/CCLayerImplTest.cpp:
3048         (WebCore::TEST):
3049         * tests/CCLayerTreeHostCommonTest.cpp:
3050         * tests/CCLayerTreeHostImplTest.cpp:
3051         * tests/CCOcclusionTrackerTest.cpp:
3052         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
3053         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
3054         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
3055         * tests/CCQuadCullerTest.cpp:
3056         * tests/CCRenderSurfaceTest.cpp:
3057         * tests/CCSolidColorLayerImplTest.cpp:
3058         (CCLayerTestCommon::TEST):
3059         * tests/CCTiledLayerImplTest.cpp:
3060         (CCLayerTestCommon::createLayer):
3061         (CCLayerTestCommon::TEST):
3062         (CCLayerTestCommon::getQuads):
3063         (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
3064         (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
3065         * tests/CCTiledLayerTestCommon.cpp:
3066         (WebKitTests::FakeLayerTextureUpdater::prepareToUpdate):
3067         (WebKitTests::FakeTiledLayerChromium::update):
3068         * tests/CCTiledLayerTestCommon.h:
3069         (FakeTiledLayerChromium):
3070         * tests/LayerChromiumTest.cpp:
3071         * tests/TiledLayerChromiumTest.cpp:
3072
3073 2012-07-11  Dana Jansens  <danakj@chromium.org>
3074
3075         [chromium] Minimum size used for occlusion tracking should be a setting on CCLayerTreeHost
3076         https://bugs.webkit.org/show_bug.cgi?id=90993
3077
3078         Reviewed by Adrienne Walker.
3079
3080         * tests/CCLayerTreeHostImplTest.cpp:
3081
3082 2012-07-11  Adam Barth  <abarth@webkit.org>
3083
3084         [Chromium] Enable LEGACY_VIEWPORT_ADAPTION
3085         https://bugs.webkit.org/show_bug.cgi?id=90991
3086
3087         Reviewed by Tony Chang.
3088
3089         Chromium wishes to support LEGACY_VIEWPORT_ADAPTION. I actually thought
3090         this was enabled before, but the enable bit got lost in the shuffle.
3091
3092         * features.gypi:
3093
3094 2012-07-11  Tony Chang  <tony@chromium.org>
3095
3096         [chromium] Remove drag and drop API methods that are no longer used
3097         https://bugs.webkit.org/show_bug.cgi?id=90996
3098
3099         Reviewed by Adam Barth.
3100
3101         In r117327, we added a parameter for modifier keys to these methods.
3102         Chromium has since switched to using the methods that require the
3103         extra parameter so we can remove these methods.
3104
3105         * public/WebView.h:
3106         (WebView):
3107         * src/WebViewImpl.cpp:
3108         (WebKit::WebViewImpl::dragTargetDragEnter):
3109         (WebKit::WebViewImpl::dragTargetDragOver):
3110         * src/WebViewImpl.h:
3111         (WebViewImpl):
3112
3113 2012-07-11  Shawn Singh  <shawnsingh@chromium.org>
3114
3115         Unreviewed build fix, forgot to add URLTestHelpers.* when landing r122344
3116
3117         * tests/URLTestHelpers.cpp: Added.
3118         (URLTestHelpers):
3119         (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
3120         (WebKit::URLTestHelpers::registerMockedURLLoad):
3121         * tests/URLTestHelpers.h: Added.
3122         (WebKit):
3123         (URLTestHelpers):
3124         (WebKit::URLTestHelpers::toKURL):
3125
3126 2012-07-11  Shawn Singh  <shawnsingh@chromium.org>
3127
3128         [chromium] Use WEBKIT_IMPLEMENTATION == 1 for webkit_unit_tests
3129         https://bugs.webkit.org/show_bug.cgi?id=90094
3130
3131         Reviewed by Adrienne Walker.
3132
3133         This patch adds the WEBKIT_IMPLEMENTATION = 1 define to
3134         WebKitUnitTests.gyp. To get it to compile correctly, some string
3135         and URL code was refactored and fixed, in particular GURL usage is
3136         replaced with KURL usage.
3137
3138         * WebKit.gyp:
3139         added WEBKIT_IMPLEMENTATION == 1 for unit test code when in shared library
3140         added URLTestHelpers to exclusion in shared library build, because it depends on webkit_support
3141
3142         * WebKit.gypi:
3143         added URLTestHelpers.h and .cpp to the build process
3144
3145         * WebKitUnitTests.gyp:
3146         added WEBKIT_IMPLEMENTATION == 1 for unit test code when not in shared library.
3147         note that in shared library build, RunAllTests.cpp does not have WEBKIT_IMPLEMENTATION == 1.
3148
3149         * public/WebDOMMessageEvent.h:
3150         (WebKit::WebDOMMessageEvent::WebDOMMessageEvent):
3151         * tests/AssociatedURLLoaderTest.cpp:
3152         * tests/EventListenerTest.cpp:
3153         * tests/FrameTestHelpers.cpp:
3154         (WebKit::FrameTestHelpers::loadFrame):
3155         * tests/FrameTestHelpers.h:
3156         * tests/ListenerLeakTest.cpp:
3157         (WebKit::ListenerLeakTest::RunTest):
3158         * tests/PopupMenuTest.cpp:
3159         * tests/RunAllTests.cpp:
3160         * tests/URLTestHelpers.cpp: Added.
3161         (URLTestHelpers):
3162         (WebKit::URLTestHelpers::registerMockedURLFromBaseURL):
3163         (WebKit::URLTestHelpers::registerMockedURLLoad):
3164         * tests/URLTestHelpers.h: Copied from Source/WebKit/chromium/public/WebDOMMessageEvent.h.
3165         (WebKit):
3166         (URLTestHelpers):
3167         (WebKit::URLTestHelpers::toKURL):
3168         * tests/WebFrameTest.cpp:
3169         * tests/WebPageNewSerializerTest.cpp:
3170         * tests/WebPageSerializerTest.cpp:
3171         * tests/WebViewTest.cpp:
3172
3173 2012-07-10  Pavel Feldman  <pfeldman@chromium.org>
3174
3175         Web Inspector: migrate from background images to CSS for statusbar rendering.
3176         https://bugs.webkit.org/show_bug.cgi?id=90902
3177
3178         Reviewed by Vsevolod Vlasov.
3179
3180         * WebKit.gypi:
3181         * src/js/Images/statusbarBackgroundChromium.png: Removed.
3182         * src/js/Images/statusbarBottomBackgroundChromium.png: Removed.
3183         * src/js/Images/statusbarButtonsChromium.png: Removed.
3184         * src/js/Images/statusbarMenuButtonChromium.png: Removed.
3185         * src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed.
3186         * src/js/devTools.css:
3187         (.status-bar-background):
3188
3189 2012-07-11  Kenichi Ishibashi  <bashi@chromium.org>
3190
3191         [Chromium] Adding HarfBuzz-ng for Linux
3192         https://bugs.webkit.org/show_bug.cgi?id=90362
3193
3194         Reviewed by Tony Chang.
3195
3196         * features.gypi: Added use_harfbuzz_ng variable. If the value is set, USE(HARFBUZZ_NG) is defined.
3197
3198 2012-07-10  Hayato Ito  <hayato@chromium.org>
3199
3200         Unreviewed gardening.
3201
3202         Android builder started to fail after r122292.
3203         My best guess is that '--ant-compile' does not take an argument.
3204
3205         * WebKitUnitTests.gyp:
3206
3207 2012-07-10  Yoshifumi Inoue  <yosin@chromium.org>
3208
3209         [Chromium-Windows] Implement functions for localized time format information
3210         https://bugs.webkit.org/show_bug.cgi?id=90236
3211
3212         Reviewed by Kent Tamura.
3213
3214         This patch introduces test cases for date and time format related
3215         functions in LocaleWin.
3216
3217         * tests/LocaleWinTest.cpp:
3218         (LocaleWinTest):
3219         (LocaleWinTest::dateComponents): Added.
3220         (LocaleWinTest::msForDate): Moved inside class LocaleWinTest.
3221         (LocaleWinTest::formatDate): Added.
3222         (LocaleWinTest::parseDate): Added.
3223         (LocaleWinTest::dateFormatText): Added.
3224         (LocaleWinTest::firstDayOfWeek): Added.
3225         (LocaleWinTest::monthLabel): Added.
3226         (LocaleWinTest::weekDayShortLabel): Added.
3227         (LocaleWinTest::timeFormatText): Added.
3228         (LocaleWinTest::shortTimeFormatText): Added.
3229         (LocaleWinTest::timeAMPMLabel): Added.
3230         (TEST_F):
3231
3232 2012-07-10  Adam Barth  <abarth@webkit.org>
3233
3234         [Chromium-Android] Add apk test targets for webkit_unit_tests and TestWebKitAPI
3235         https://bugs.webkit.org/show_bug.cgi?id=90918
3236
3237         Reviewed by Tony Chang.
3238
3239         The rules are similar to what we have added for DumpRenderTree apk.
3240         All references to gtest_target_type can be removed once we enable APK
3241         tests on the all bots.
3242
3243         * WebKitUnitTests.gyp:
3244
3245 2012-07-10  Kevin Ellis  <kevers@chromium.org>
3246
3247         Input elements with type=range do not have default touch handlers.
3248         https://bugs.webkit.org/show_bug.cgi?id=88807
3249
3250         Reviewed by Antonio Gomes.
3251
3252         Adds flag to enable native handling of touch events for input elements
3253         with type=range.
3254
3255         * features.gypi:
3256
3257 2012-07-10  Adam Klein  <adamk@chromium.org>
3258
3259         [Chromium] REGRESSION(r121909): m_currentInputEvent never set
3260         https://bugs.webkit.org/show_bug.cgi?id=90914
3261
3262         Reviewed by Abhishek Arya.
3263
3264         The always-null m_currentInputEvent causes a regression when
3265         middle-clicking on a link that calls window.open('...', '_blank');
3266         that new tab should open in the background, but instead opens in the
3267         foreground (see code in ChromeClientImpl::getNavigationPolicy()).
3268
3269         Fix usage of TemporaryChange to specify a local variable name so that
3270         m_currentInputEvent is actually set for the duration of handleInputEvent.
3271
3272         * src/WebViewImpl.cpp:
3273         (WebKit::WebViewImpl::handleInputEvent): Name the TemporaryChange instance.
3274
3275 2012-07-10  Adam Barth  <abarth@webkit.org>
3276
3277         WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
3278         https://bugs.webkit.org/show_bug.cgi?id=90910
3279
3280         Reviewed by Eric Seidel.
3281
3282         * public/WebSettings.h:
3283         (WebKit::WebSettings::setHixie76WebSocketProtocolEnabled):
3284         * src/WebSettingsImpl.cpp:
3285         * src/WebSettingsImpl.h:
3286         (WebSettingsImpl):
3287         * src/WebSharedWorkerImpl.cpp:
3288         (WebKit::WebSharedWorkerImpl::initializeLoader):
3289
3290 2012-07-09  Dana Jansens  <danakj@chromium.org>
3291
3292         [chromium] Replace use of ManagedTexture with CCScopedTexture for impl thread and remove implTextureManager from LayerRendererChromium
3293         https://bugs.webkit.org/show_bug.cgi?id=90841
3294
3295         Reviewed by Adrienne Walker.
3296
3297         * tests/CCLayerTreeHostImplTest.cpp:
3298
3299 2012-07-10  Xianzhu Wang  <wangxianzhu@chromium.org>
3300
3301         [Chromium-Android] Use default font rendering styles in FontPlatformData::querySystemForRenderStyle()
3302         https://bugs.webkit.org/show_bug.cgi?id=90826
3303
3304         Reviewed by Adam Barth.
3305
3306         * WebKit.gyp:
3307         * src/PlatformSupport.cpp:
3308         (WebCore::PlatformSupport::getRenderStyleForStrike): Call style.setDefault() on Android or when the font is not specified.
3309
3310 2012-07-10  Dana Jansens  <danakj@chromium.org>
3311
3312         [chromium] Avoid allocating render pass textures that have no content
3313         https://bugs.webkit.org/show_bug.cgi?id=90702
3314
3315         Reviewed by Adrienne Walker.
3316
3317         * tests/CCLayerTreeHostImplTest.cpp:
3318         * tests/CCLayerTreeHostTest.cpp:
3319         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
3320         (CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
3321         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
3322         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::beginTest):
3323         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::didCommit):
3324         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::drawLayersOnCCThread):
3325         (WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::afterTest):
3326         (WTF):
3327
3328 2012-07-10  Leandro Gracia Gil  <leandrogracia@chromium.org>
3329
3330         Unreviewed Chromium build fix for mac-release.
3331
3332         Fixing clang build after https://bugs.webkit.org/show_bug.cgi?id=90807
3333
3334         * public/WebSurroundingText.h:
3335         (WebKit):
3336
3337 2012-07-10  Leandro Gracia Gil  <leandrogracia@chromium.org>
3338
3339         WebSurroundingText layout tests should use the same code path as the rest of the feature.
3340         https://bugs.webkit.org/show_bug.cgi?id=90807
3341
3342         Reviewed by Adam Barth.
3343
3344         Replace the offset-based initialize method used only by LayoutTestController
3345         with a point-based version to follow the same code path.
3346
3347         * public/WebSurroundingText.h:
3348         (WebKit):
3349         (WebSurroundingText):
3350         * src/WebSurroundingText.cpp:
3351         (WebKit::WebSurroundingText::initialize):
3352
3353 2012-07-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3354
3355         Unreviewed, rolling out r122207.
3356         http://trac.webkit.org/changeset/122207
3357         https://bugs.webkit.org/show_bug.cgi?id=90874
3358
3359         Broke the cr-windows bot (Requested by beverloo on #webkit).
3360
3361         * DEPS:
3362
3363 2012-07-10  Jochen Eisinger  <jochen@chromium.org>
3364
3365         Unreviewed.  Rolled DEPS.
3366
3367         * DEPS:
3368
3369 2012-07-09  Matt Falkenhagen  <falken@chromium.org>
3370
3371         Add ENABLE_DIALOG_ELEMENT and skeleton files
3372         https://bugs.webkit.org/show_bug.cgi?id=90521
3373
3374         Reviewed by Kent Tamura.
3375
3376         * features.gypi:
3377         * public/WebRuntimeFeatures.h:
3378         (WebRuntimeFeatures):
3379         * src/WebRuntimeFeatures.cpp:
3380         (WebKit::WebRuntimeFeatures::enableDialogElement):
3381         (WebKit):
3382         (WebKit::WebRuntimeFeatures::isDialogElementEnabled):
3383
3384 2012-07-09  Yoshifumi Inoue  <yosin@chromium.org>
3385
3386         [Chromium-Mac] Implement functions for localized time format information
3387         https://bugs.webkit.org/show_bug.cgi?id=90237
3388
3389         Reviewed by Kent Tamura.
3390
3391         * tests/LocaleMacTest.cpp:
3392         (LocaleMacTest):
3393         (LocaleMacTest::timeFormatText):
3394         (LocaleMacTest::shortTimeFormatText):
3395         (LocaleMacTest::timeAMPMLabel):
3396         (TEST_F):
3397
3398 2012-07-09  Eric Penner  <epenner@google.com>
3399
3400         [chromium] Merge updates and idle updates into one pass
3401         https://bugs.webkit.org/show_bug.cgi?id=90324
3402
3403         Reviewed by Adrienne Walker.
3404
3405         * tests/CCLayerTreeHostTest.cpp:
3406         (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
3407         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
3408         (ContentLayerChromiumWithUpdateTracking):
3409         (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
3410         * tests/CCTiledLayerTestCommon.h:
3411         (FakeTiledLayerChromium):
3412         * tests/TiledLayerChromiumTest.cpp:
3413
3414 2012-07-09  Yoshifumi Inoue  <yosin@chromium.org>
3415
3416         [Platform] Introduce LocaleMac class
3417         https://bugs.webkit.org/show_bug.cgi?id=90248
3418
3419         Reviewed by Kent Tamura.
3420
3421         This patch added tests for LocaleMac class.
3422
3423         * WebKit.gypi:
3424         * tests/LocaleMacTest.cpp: Added.
3425         (LocaleMacTest):
3426         (LocaleMacTest::dateComponents):
3427         (LocaleMacTest::msForDate):
3428         (LocaleMacTest::formatDate):
3429         (LocaleMacTest::parseDate):
3430         (LocaleMacTest::dateFormatText):
3431         (LocaleMacTest::firstDayOfWeek):
3432         (LocaleMacTest::monthLabel):
3433         (LocaleMacTest::weekDayShortLabel):
3434         (TEST_F):
3435
3436 2012-07-09  Dana Jansens  <danakj@chromium.org>
3437
3438         [chromium] Create CCScopedTexture class for creating/freeing textures
3439         https://bugs.webkit.org/show_bug.cgi?id=89485
3440
3441         Reviewed by Adrienne Walker.
3442
3443         * WebKit.gypi:
3444         * tests/CCScopedTextureTest.cpp: Added.
3445         (WebKitTests):
3446         (WebKitTests::TEST):
3447         (TrackingTextureAllocator):
3448         (WebKitTests::TrackingTextureAllocator::TrackingTextureAllocator):
3449         (WebKitTests::TrackingTextureAllocator::numTextures):
3450
3451 2012-07-09  Joshua Bell  <jsbell@chromium.org>
3452
3453         IndexedDB: Remove obsolete accessor plumbing
3454         https://bugs.webkit.org/show_bug.cgi?id=90812
3455
3456         Reviewed by Tony Chang.
3457
3458         * public/WebIDBCursor.h: Remove direction.
3459         * public/WebIDBDatabase.h: Remove name, version, objectStoreNames;
3460         (WebKit::WebIDBDatabase::metadata):
3461         * public/WebIDBIndex.h: Remove name, keyPath, unique, multiEntry;
3462         * public/WebIDBObjectStore.h: Remove name, keyPath, indexNames, autoIncrement;
3463         * src/IDBDatabaseBackendProxy.cpp: Remove plumbing.
3464         * src/IDBDatabaseBackendProxy.h: Remove plumbing.
3465         (IDBDatabaseBackendProxy):
3466         * src/IDBIndexBackendProxy.cpp: Remove plumbing.
3467         * src/IDBIndexBackendProxy.h: Remove plumbing.
3468         (IDBIndexBackendProxy):
3469         * src/IDBObjectStoreBackendProxy.cpp: Remove plumbing.
3470         * src/IDBObjectStoreBackendProxy.h: Remove plumbing.
3471         (IDBObjectStoreBackendProxy):
3472         * src/IDBTransactionBackendProxy.cpp: Remove plumbing.
3473         * src/IDBTransactionBackendProxy.h: Assert stub is not used - only needed
3474         by real IDBTransactionBackendImpl
3475         (WebKit::IDBTransactionBackendProxy::mode):
3476         * src/WebIDBTransactionImpl.cpp: Remove plumbing.
3477         * src/WebIDBTransactionImpl.h: Remove plumbing.
3478
3479 2012-07-09  Sheriff Bot  <webkit.review.bot@gmail.com>
3480
3481         Unreviewed, rolling out r122161.
3482         http://trac.webkit.org/changeset/122161
3483         https://bugs.webkit.org/show_bug.cgi?id=90837
3484
3485         failed to compile on chromium webkit linux bot (Requested by
3486         shawnsingh on #webkit).
3487
3488         * WebKit.gypi:
3489         * WebKitUnitTests.gyp:
3490         * public/WebDOMMessageEvent.h:
3491         * tests/AssociatedURLLoaderTest.cpp:
3492         (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):