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

Side by Side Diff: Source/WebCore/ChangeLog

Issue 7134051: Merge 88396 - 2011-06-08 Sailesh Agrawal <sail@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 2011-06-08 Sailesh Agrawal <sail@chromium.org>
2
3 Reviewed by Mihai Parparita.
4
5 Chromium Mac: Enable overlay scrollbars
6 https://bugs.webkit.org/show_bug.cgi?id=59756
7
8 Sync ScrollbarThemeChromiumMac.mm/.h with ScrollbarThemeMac.mm to pick u p support for overlay scrollbars. The only changes are renaming ScrollbarThemeMa c to ScrollbarThemeChromiumMac and using runtime checks instead of #ifdef's.
9
10 No new tests, since this code is only enabled on future versions of Mac OS X.
11
12 * platform/chromium/ScrollAnimatorChromiumMac.mm: All changes to this fi le except in scroll() were to swap #if USE(WK_SCROLLBAR_PAINTER) with runtime ch ecks.
13 (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
14 (WebCore::ScrollAnimatorChromiumMac::~ScrollAnimatorChromiumMac):
15 (WebCore::ScrollAnimatorChromiumMac::notityPositionChanged):
16 (WebCore::ScrollAnimatorChromiumMac::contentAreaWillPaint):
17 (WebCore::ScrollAnimatorChromiumMac::mouseEnteredContentArea):
18 (WebCore::ScrollAnimatorChromiumMac::mouseExitedContentArea):
19 (WebCore::ScrollAnimatorChromiumMac::mouseMovedInContentArea):
20 (WebCore::ScrollAnimatorChromiumMac::willStartLiveResize):
21 (WebCore::ScrollAnimatorChromiumMac::contentsResized):
22 (WebCore::ScrollAnimatorChromiumMac::willEndLiveResize):
23 (WebCore::ScrollAnimatorChromiumMac::contentAreaDidShow):
24 (WebCore::ScrollAnimatorChromiumMac::contentAreaDidHide):
25 (WebCore::ScrollAnimatorChromiumMac::didBeginScrollGesture):
26 (WebCore::ScrollAnimatorChromiumMac::didEndScrollGesture):
27 (WebCore::ScrollAnimatorChromiumMac::didAddVerticalScrollbar):
28 (WebCore::ScrollAnimatorChromiumMac::willRemoveVerticalScrollbar):
29 (WebCore::ScrollAnimatorChromiumMac::didAddHorizontalScrollbar):
30 (WebCore::ScrollAnimatorChromiumMac::willRemoveHorizontalScrollbar):
31 (WebCore::ScrollAnimatorChromiumMac::cancelAnimations):
32 * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
33 (preferredScrollerStyle): Disabled overlay scrollbar styles due to trail ing artifacts.
34 (wkScrollbarPainterPaint): Fixed a problem where the scrollbar track was n't being drawn.
35 (wkScrollbarPainterKnobRect): Implemented a previously unimplemented fun ction.
36 (wkSetScrollbarPainterKnobStyle): Implemented a function that's now supp orted by the latest Mac OS X seeds.
37 (isScrollbarOverlayAPIAvailable): Enabled new scrollbar code.
38 * platform/chromium/ScrollbarThemeChromiumMac.h:
39 * platform/chromium/ScrollbarThemeChromiumMac.mm: Sync with ScrollbarThe meMac.mm.
40 (WebCore::scrollbarMap):
41 (+[ScrollbarPrefsObserver appearancePrefsChanged:]):
42 (WebCore::updateArrowPlacement):
43 (WebCore::ScrollbarThemeChromiumMac::registerScrollbar):
44 (WebCore::ScrollbarThemeChromiumMac::unregisterScrollbar):
45 (WebCore::ScrollbarThemeChromiumMac::setNewPainterForScrollbar):
46 (WebCore::ScrollbarThemeChromiumMac::painterForScrollbar):
47 (WebCore::ScrollbarThemeChromiumMac::scrollbarThickness):
48 (WebCore::ScrollbarThemeChromiumMac::usesOverlayScrollbars):
49 (WebCore::ScrollbarThemeChromiumMac::hasButtons):
50 (WebCore::ScrollbarThemeChromiumMac::hasThumb):
51 (WebCore::buttonRepaintRect):
52 (WebCore::ScrollbarThemeChromiumMac::minimumThumbLength):
53 (WebCore::ScrollbarThemeChromiumMac::shouldDragDocumentInsteadOfThumb):
54 (WebCore::toScrollbarPainterKnobStyle):
55 (WebCore::ScrollbarThemeChromiumMac::paint):
56
57 2011-06-06 Nate Chapin <japhet@chromium.org>
58
59 Reviewed by Adam Barth.
60
61 Remove all knowledge of CachedResourceRequests from
62 CachedResourceLoader. This puts the full burden of
63 canceling these requests on DocumentLoader (via
64 SubresourceLoader), and makes a CachedResourceRequest
65 an OwnPtr in CachedResource.
66
67 https://bugs.webkit.org/show_bug.cgi?id=62308
68
69 * loader/FrameLoader.cpp:
70 (WebCore::FrameLoader::stopLoading):
71 * loader/cache/CachedResource.cpp:
72 (WebCore::CachedResource::CachedResource):
73 (WebCore::CachedResource::load):
74 (WebCore::CachedResource::stopLoading):
75 * loader/cache/CachedResource.h:
76 * loader/cache/CachedResourceLoader.cpp:
77 (WebCore::CachedResourceLoader::~CachedResourceLoader):
78 (WebCore::CachedResourceLoader::loadDone):
79 * loader/cache/CachedResourceLoader.h:
80 * loader/cache/CachedResourceRequest.cpp:
81 (WebCore::CachedResourceRequest::CachedResourceRequest):
82 (WebCore::CachedResourceRequest::~CachedResourceRequest):
83 (WebCore::CachedResourceRequest::load):
84 (WebCore::CachedResourceRequest::didFinishLoading):
85 (WebCore::CachedResourceRequest::didFail):
86 (WebCore::CachedResourceRequest::didReceiveResponse):
87 (WebCore::CachedResourceRequest::end):
88 * loader/cache/CachedResourceRequest.h:
89
90 2011-06-08 Mike Reed <reed@google.com>
91
92 Reviewed by James Robinson.
93
94 [Skia] check for null-shader from gradient factory
95 https://bugs.webkit.org/show_bug.cgi?id=62319
96
97 * platform/graphics/skia/GradientSkia.cpp:
98 (WebCore::Gradient::platformDestroy):
99 (WebCore::Gradient::platformGradient):
100
101 2011-06-08 Kenneth Russell <kbr@google.com>
102
103 Reviewed by Adam Barth.
104
105 Disallow use of cross-domain media (images, video) in WebGL
106 https://bugs.webkit.org/show_bug.cgi?id=62257
107
108 Updated WebGL implementation to track recent spec updates in this area.
109
110 Tests: http/tests/security/webgl-remote-read-remote-image-allowed-with-c redentials.html
111 http/tests/security/webgl-remote-read-remote-image-allowed.html
112 http/tests/security/webgl-remote-read-remote-image-blocked-no-cro ssorigin.html
113
114 * html/canvas/CanvasRenderingContext.cpp:
115 (WebCore::CanvasRenderingContext::wouldTaintOrigin):
116 (WebCore::CanvasRenderingContext::checkOrigin):
117 * html/canvas/CanvasRenderingContext.h:
118 (WebCore::CanvasRenderingContext::checkOrigin):
119 * html/canvas/WebGLRenderingContext.cpp:
120 (WebCore::WebGLRenderingContext::readPixels):
121 (WebCore::WebGLRenderingContext::texImage2D):
122 (WebCore::WebGLRenderingContext::videoFrameToImage):
123 (WebCore::WebGLRenderingContext::texSubImage2D):
124 * html/canvas/WebGLRenderingContext.h:
125
126 2011-06-08 John Bauman <jbauman@chromium.org>
127
128 Reviewed by James Robinson.
129
130 Only draw portions of tiles in contentRect
131 https://bugs.webkit.org/show_bug.cgi?id=62243
132
133 Old garbage data can remain in tiles, so make sure to draw only those
134 portions that are supposed to be drawn.
135
136 Test: compositing/repaint/shrink-layer.html
137
138 * platform/graphics/chromium/LayerTilerChromium.cpp:
139 (WebCore::LayerTilerChromium::draw):
140
141 2011-06-08 Emil A Eklund <eae@chromium.org>
142
143 Reviewed by Eric Seidel.
144
145 Convert RenderBlock::isPointInOverflowControl to IntPoint
146 https://bugs.webkit.org/show_bug.cgi?id=62312
147
148 Covered by existing tests.
149
150 * rendering/RenderBlock.cpp:
151 (WebCore::RenderBlock::isPointInOverflowControl):
152 (WebCore::RenderBlock::nodeAtPoint):
153 * rendering/RenderBlock.h:
154 * rendering/RenderListBox.cpp:
155 (WebCore::RenderListBox::isPointInOverflowControl):
156 * rendering/RenderListBox.h:
157
158 2011-06-08 James Simonsen <simonjam@chromium.org>
159
160 Reviewed by Tony Gentilcore.
161
162 Fix clang issue, virtual function const mismatch
163 https://bugs.webkit.org/show_bug.cgi?id=62307
164
165 No new tests. Built with clang & ran layout tests.
166
167 * page/MediaStreamFrameController.h:
168 (WebCore::MediaStreamFrameController::GenericClient::isGenericClient):
169
170 2011-06-08 Chris Rogers <crogers@google.com>
171
172 Reviewed by Kenneth Russell.
173
174 Implement BiquadFilterNode for filter types: LOWPASS, HIGHPASS, BANDPASS , LOWSHELF, HIGHSHELF, PEAKING, NOTCH, ALLPASS
175 https://bugs.webkit.org/show_bug.cgi?id=62078
176
177 No new tests since audio API is not yet implemented.
178
179 * DerivedSources.make:
180 * WebCore.gypi:
181 * WebCore.xcodeproj/project.pbxproj:
182 * platform/audio/Biquad.cpp:
183 (WebCore::Biquad::Biquad):
184 (WebCore::Biquad::reset):
185 (WebCore::Biquad::setLowpassParams):
186 (WebCore::Biquad::setHighpassParams):
187 (WebCore::Biquad::setNormalizedCoefficients):
188 (WebCore::Biquad::setLowShelfParams):
189 (WebCore::Biquad::setHighShelfParams):
190 (WebCore::Biquad::setPeakingParams):
191 (WebCore::Biquad::setAllpassParams):
192 (WebCore::Biquad::setNotchParams):
193 (WebCore::Biquad::setBandpassParams):
194 (WebCore::Biquad::setZeroPolePairs):
195 (WebCore::Biquad::setAllpassPole):
196 * platform/audio/Biquad.h:
197 * webaudio/AudioContext.cpp:
198 (WebCore::AudioContext::createBiquadFilter):
199 (WebCore::AudioContext::createLowPass2Filter):
200 (WebCore::AudioContext::createHighPass2Filter):
201 * webaudio/AudioContext.h:
202 * webaudio/AudioContext.idl:
203 * webaudio/AudioNode.h:
204 * webaudio/BiquadDSPKernel.cpp:
205 (WebCore::BiquadDSPKernel::process):
206 * webaudio/BiquadFilterNode.cpp: Added.
207 (WebCore::BiquadFilterNode::BiquadFilterNode):
208 * webaudio/BiquadFilterNode.h: Added.
209 (WebCore::BiquadFilterNode::create):
210 (WebCore::BiquadFilterNode::type):
211 (WebCore::BiquadFilterNode::setType):
212 (WebCore::BiquadFilterNode::frequency):
213 (WebCore::BiquadFilterNode::q):
214 (WebCore::BiquadFilterNode::gain):
215 (WebCore::BiquadFilterNode::biquadProcessor):
216 * webaudio/BiquadFilterNode.idl: Added.
217 * webaudio/BiquadProcessor.cpp:
218 (WebCore::BiquadProcessor::BiquadProcessor):
219 * webaudio/BiquadProcessor.h:
220 (WebCore::BiquadProcessor::setType):
221 * webaudio/HighPass2FilterNode.cpp:
222 (WebCore::HighPass2FilterNode::HighPass2FilterNode):
223 * webaudio/LowPass2FilterNode.cpp:
224 (WebCore::LowPass2FilterNode::LowPass2FilterNode):
225
226 2011-06-08 No'am Rosenthal <noam.rosenthal@nokia.com>
227
228 Reviewed by Kenneth Rohde Christiansen.
229
230 WebKit2: Enable serializing of data types needed for cross-process accel erated compositing
231 https://bugs.webkit.org/show_bug.cgi?id=61694
232
233 No new tests, code path is not activated yet.
234
235 * WebCore.xcodeproj/project.pbxproj: Changed the TransformOperation subc lassed from "project" to "private"
236
237 2011-06-08 Tom Sepez <tsepez@chromium.org>
238
239 Reviewed by Adam Barth.
240
241 Cause checks for insecure content blocking policy to callback to client.
242 https://bugs.webkit.org/show_bug.cgi?id=61946
243 Tests: platform/chromium/http/tests/security/mixedContent/insecure-image -in-main-frame-allowed.html
244 platform/chromium/http/tests/security/mixedContent/insecure-image -in-main-frame-blocked.html
245 platform/chromium/http/tests/security/mixedContent/insecure-scrip t-in-main-frame-allowed.html
246 platform/chromium/http/tests/security/mixedContent/insecure-scrip t-in-main-frame-blocked.html
247
248 * loader/FrameLoader.cpp:
249 (WebCore::FrameLoader::checkIfDisplayInsecureContent):
250 (WebCore::FrameLoader::checkIfRunInsecureContent):
251 * loader/FrameLoaderClient.h:
252 (WebCore::FrameLoaderClient::allowDisplayingInsecureContent):
253 (WebCore::FrameLoaderClient::allowRunningInsecureContent):
254
255 2011-06-08 Kevin Ollivier <kevino@theolliviers.com>
256
257 [wx] Build fix after introduction of FontCache::ShouldRetain
258
259 * platform/graphics/wx/FontCacheWx.cpp:
260 (WebCore::FontCache::getFontDataForCharacters):
261
262 2011-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
263
264 Unreviewed, rolling out r88365.
265 http://trac.webkit.org/changeset/88365
266 https://bugs.webkit.org/show_bug.cgi?id=62301
267
268 windows bots broken (Requested by loislo_ on #webkit).
269
270 * inspector/InspectorValues.cpp:
271 (WebCore::InspectorBasicValue::writeJSON):
272
273 2011-06-08 Mikołaj Małecki <m.malecki@samsung.com>
274
275 Reviewed by Pavel Feldman.
276
277 Web Inspector: Crash by buffer overrun crash when serializing inspector object tree.
278 https://bugs.webkit.org/show_bug.cgi?id=52791
279
280 No new tests. The problem can be reproduced by trying to create Inspecto rValue
281 from 1.0e-100 and call ->toJSONString() on this.
282
283 * inspector/InspectorValues.cpp:
284 (WebCore::InspectorBasicValue::writeJSON):
285 Added checking the predicted buffer size and choosing exponential format , or
286 eventually "NaN" if the buffer is too small for decimal format.
287
288 2011-06-08 Nico Weber <thakis@chromium.org>
289
290 Reviewed by Darin Adler.
291
292 Fix a ?: precedence error in ScrollbarThemeMac and ScrollbarThemeChromiu m
293 https://bugs.webkit.org/show_bug.cgi?id=62295
294
295 This was found by a new warning recently added to clang's -Wparentheses
296
297 * platform/chromium/ScrollbarThemeChromiumMac.mm:
298 (WebCore::ScrollbarThemeChromiumMac::backButtonRect):
299 * platform/mac/ScrollbarThemeMac.mm:
300 (WebCore::ScrollbarThemeMac::backButtonRect):
301
302 2011-06-08 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
303
304 Reviewed by Andreas Kling.
305
306 [Qt] Remove dead code from our JSC bridge
307 https://bugs.webkit.org/show_bug.cgi?id=62287
308
309 The m_defaultMethod member is not used since r36848 and QtMethod
310 was replaced by QtRuntimeMethod and subclasses in r29729.
311
312 * bridge/qt/qt_instance.cpp:
313 (JSC::Bindings::QtInstance::removeCachedMethod):
314 (JSC::Bindings::QtInstance::visitAggregate):
315 * bridge/qt/qt_instance.h:
316 * bridge/qt/qt_runtime.h:
317
318 2011-06-08 Ryan Sleevi <rsleevi@chromium.org>
319
320 Reviewed by Tony Chang.
321
322 Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6
323
324 Compiling Chromium port under GCC 4.6 produces warnings about nullptr
325 https://bugs.webkit.org/show_bug.cgi?id=62242
326
327 * WebCore.gyp/WebCore.gyp:
328
329 2011-05-25 Xiaomei Ji <xji@chromium.org>
330
331 Reviewed by Ryosuke Niwa.
332
333 --webkit-visual-word does not work well in words separated by multiple s paces
334 https://bugs.webkit.org/show_bug.cgi?id=61324
335
336 Remove positionBeforeNextWord and positionAfterPreviousWord short-cuts. They try to find the
337 right word boundary (before the space or after the space) by using previ ousWordPosition and
338 nextWordPosition. But they assume words are separated by single space an d are not correct
339 for words separated by multiple spaces and words not separated by space.
340
341 Consider positionBeforeNextWord() for example,
342
343 First, it checks whether the current position is after the current word by checking current
344 position's previousWordPosition's nextWordPosition is the same as curren t position, which is
345 wrong for words separated by multiple spaces. For example, given words A and B separated by
346 3 continuous spaces "A B", position "A|", "A |", and "A |" should all be considered as
347 position after current word. But for position "A |", its previousWordPos ition's
348 nextWordPosition is position "A|", which is different from its current p osition, so the
349 current position is not considered as a position after current word, con sequently,
350 instead of returning the right position as "A |B", positionBeforeNextW ord returns the
351 position before next next word, as "A B |C". Similar happens for posit ion "A |".
352
353 Second, given 3 Chinese words "ABC" that are not segmented by space, whe n cursor is at
354 "A|BC", positionBeforeNextWord() returns the same position after calling current position's
355 nextWordPosition's previousWordPosition. It should returns position "AB| C".
356
357 For those cases, we will have to collect all the word breaks inside the box and look for
358 the one at left or right of current position.
359
360 * editing/visible_units.cpp:
361 (WebCore::leftWordPosition):
362 (WebCore::rightWordPosition):
363
364 2011-06-08 Greg Simon <gregsimon@chromium.org>
365
366 Reviewed by Dimitri Glazkov.
367
368 Control Indexeddb backends from LayoutTestController
369 https://bugs.webkit.org/show_bug.cgi?id=61000
370
371 Test: storage/indexeddb/migrate-basics.html
372
373 * storage/IDBBackingStore.h:
374 * storage/IDBFactoryBackendImpl.cpp:
375 (WebCore::IDBFactoryBackendImpl::open):
376 (WebCore::IDBFactoryBackendImpl::migrate):
377 * storage/IDBFactoryBackendImpl.h:
378 * storage/IDBFactoryBackendInterface.h:
379 * storage/IDBLevelDBBackingStore.cpp:
380 (WebCore::IDBLevelDBBackingStore::backingStoreExists):
381 * storage/IDBLevelDBBackingStore.h:
382 (WebCore::IDBLevelDBBackingStore::backingStoreType):
383 * storage/IDBSQLiteBackingStore.cpp:
384 (WebCore::IDBSQLiteBackingStore::backingStoreExists):
385 * storage/IDBSQLiteBackingStore.h:
386 (WebCore::IDBSQLiteBackingStore::backingStoreType):
387
388 2011-06-08 Dmitry Lomov <dslomov@google.com>
389
390 Reviewed by Adam Barth.
391
392 https://bugs.webkit.org/show_bug.cgi?id=62164
393 Remove "multi-threaded" logic in V8 DOMData, DOMDataStore and friends
394 This functionality is untested and unused:
395 This is an old code from Lockers-based implementation of WebWorkers in
396 V8 bindings, to make sure that DOM objects are released on the right thr ead
397 even though GC could have happened on any thread. It is currently unused (since
398 current model is one worker per process) and is being removed because ne w implementation
399 of WebWorkers will be using V8 isolates.
400
401 * WebCore.gypi:
402 * WebCore.pro:
403 * bindings/v8/ChildThreadDOMData.cpp: Removed.
404 * bindings/v8/ChildThreadDOMData.h: Removed.
405 * bindings/v8/DOMData.cpp:
406 (WebCore::DOMData::DOMData):
407 (WebCore::DOMData::getCurrent):
408 (WebCore::DOMData::getMainThreadStore):
409 * bindings/v8/DOMData.h:
410 (WebCore::DOMData::getStore):
411 (WebCore::DOMData::getCurrentMainThreadStore):
412 (WebCore::DOMData::handleWeakObject):
413 * bindings/v8/DOMDataStore.cpp:
414 (WebCore::DOMDataStore::DOMDataStore):
415 (WebCore::DOMDataStore::~DOMDataStore):
416 (WebCore::DOMDataStore::weakNodeCallback):
417 * bindings/v8/DOMDataStore.h:
418 * bindings/v8/MainThreadDOMData.cpp: Removed.
419 * bindings/v8/MainThreadDOMData.h: Removed.
420 * bindings/v8/V8DOMMap.cpp:
421 (WebCore::getDOMDataStore):
422 (WebCore::removeAllDOMObjects):
423 (WebCore::visitDOMNodes):
424 (WebCore::visitDOMObjects):
425 (WebCore::visitActiveDOMObjects):
426 (WebCore::visitDOMSVGElementInstances):
427 * bindings/v8/V8DOMMap.h:
428 * bindings/v8/V8GCController.cpp:
429 (WebCore::V8GCController::gcPrologue):
430 (WebCore::V8GCController::gcEpilogue):
431 * bindings/v8/WorkerScriptController.cpp:
432 (WebCore::WorkerScriptController::~WorkerScriptController):
433
434 2011-06-08 Yael Aharon <yael.aharon@nokia.com>
435
436 Reviewed by Andreas Kling.
437
438 [Qt] Build fix for building QtWebKit inside of Qt.
439 https://bugs.webkit.org/show_bug.cgi?id=62280
440
441 Remove CONFIG=staticlib, because it causes the configure script to add - lwebcore
442 into QtWebKit.prl.
443
444 No new tests, as this is just a build fix.
445
446 * WebCore.pri:
447
448 2011-06-08 Vsevolod Vlasov <vsevik@chromium.org>
449
450 Reviewed by Pavel Feldman.
451
452 Web Inspector: Render non-document HTML resources as HTML
453 https://bugs.webkit.org/show_bug.cgi?id=58886
454
455 * English.lproj/localizedStrings.js:
456 * WebCore.gypi:
457 * WebCore.vcproj/WebCore.vcproj:
458 * inspector/front-end/NetworkItemView.js:
459 (WebInspector.NetworkItemView):
460 * inspector/front-end/Resource.js:
461 (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType):
462 (WebInspector.Resource.prototype.hasErrorStatusCode):
463 * inspector/front-end/ResourceHTMLView.js: Added.
464 (WebInspector.ResourceHTMLView):
465 (WebInspector.ResourceHTMLView.prototype.hasContent):
466 (WebInspector.ResourceHTMLView.prototype.show):
467 (WebInspector.ResourceHTMLView.prototype.hide):
468 (WebInspector.ResourceHTMLView.prototype._createIFrame):
469 * inspector/front-end/ResourcePreviewView.js: Added.
470 (WebInspector.ResourcePreviewView):
471 (WebInspector.ResourcePreviewView.prototype.hasContent):
472 (WebInspector.ResourcePreviewView.prototype.show):
473 (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown.callba ck):
474 (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown):
475 (WebInspector.ResourcePreviewView.prototype._createInnerView):
476 * inspector/front-end/Settings.js:
477 (WebInspector.Settings):
478 * inspector/front-end/WebKit.qrc:
479 * inspector/front-end/inspector.css:
480 (.resource-view.html iframe):
481 * inspector/front-end/inspector.html:
482
483 2011-05-18 Pavel Podivilov <podivilov@chromium.org>
484
485 Reviewed by Yury Semikhatsky.
486
487 Web Inspector: hide script location to ui location conversion details fr om ScriptsPanel.
488 https://bugs.webkit.org/show_bug.cgi?id=61035
489
490 * inspector/front-end/DebuggerPresentationModel.js:
491 (WebInspector.DebuggerPresentationModel.prototype.sourceFileForScriptURL ):
492 (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILoca tion.didRequestSourceMapping):
493 (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILoca tion):
494 * inspector/front-end/ScriptsPanel.js:
495 (WebInspector.ScriptsPanel.prototype.showAnchorLocation.didGetUILocation ):
496 (WebInspector.ScriptsPanel.prototype.showAnchorLocation):
497
498 2011-06-08 Tommy Widenflycht <tommyw@google.com>
499
500 Reviewed by Tony Gentilcore.
501
502 StreamEvent
503
504 Media Stream PeerConnection API: adding StreamEvent class
505 https://bugs.webkit.org/show_bug.cgi?id=61537
506
507 Tests for the Media Stream API will be provided by the bug 56587.
508
509 * CMakeLists.txt:
510 * CodeGenerators.pri:
511 * DerivedSources.cpp:
512 * DerivedSources.make:
513 * GNUmakefile.list.am:
514 * WebCore.gypi:
515 * WebCore.pro:
516 * WebCore.vcproj/WebCore.vcproj:
517 * WebCore.xcodeproj/project.pbxproj:
518 * bindings/js/JSEventCustom.cpp:
519 (WebCore::toJS):
520 * bindings/v8/custom/V8EventCustom.cpp:
521 (WebCore::toV8):
522 * dom/DOMAllInOne.cpp:
523 * dom/Event.cpp:
524 (WebCore::Event::isStreamEvent):
525 * dom/Event.h:
526 * dom/StreamEvent.cpp: Added.
527 (WebCore::StreamEvent::create):
528 (WebCore::StreamEvent::StreamEvent):
529 (WebCore::StreamEvent::~StreamEvent):
530 (WebCore::StreamEvent::initStreamEvent):
531 (WebCore::StreamEvent::stream):
532 * dom/StreamEvent.h: Added.
533 (WebCore::StreamEvent::isStreamEvent):
534 * dom/StreamEvent.idl: Added.
535
536 2011-06-08 Tommy Widenflycht <tommyw@google.com>
537
538 Reviewed by Tony Gentilcore.
539
540 Media Stream API: integrate the Track List objects into the existing cod e.
541 https://bugs.webkit.org/show_bug.cgi?id=60205
542
543 Tests for the Media Stream API will be provided by the bug 56587.
544
545 * dom/ExclusiveTrackList.cpp:
546 (WebCore::ExclusiveTrackList::select):
547 (WebCore::ExclusiveTrackList::trackFailed):
548 * dom/ExclusiveTrackList.h:
549 * dom/GeneratedStream.cpp:
550 (WebCore::GeneratedStream::create):
551 (WebCore::GeneratedStream::GeneratedStream):
552 (WebCore::GeneratedStream::streamEnded):
553 (WebCore::GeneratedStream::audioTracks):
554 (WebCore::GeneratedStream::videoTracks):
555 (WebCore::GeneratedStream::stop):
556 * dom/GeneratedStream.h:
557 * dom/GeneratedStream.idl:
558 * dom/MultipleTrackList.cpp:
559 (WebCore::MultipleTrackList::trackFailed):
560 (WebCore::MultipleTrackList::enable):
561 (WebCore::MultipleTrackList::disable):
562 * dom/MultipleTrackList.h:
563 * dom/Stream.h:
564 * dom/TrackList.cpp:
565 (WebCore::TrackList::clear):
566 (WebCore::TrackList::associateStream):
567 (WebCore::TrackList::associatedStreamLabel):
568 (WebCore::TrackList::trackFailed):
569 (WebCore::TrackList::scriptExecutionContext):
570 * dom/TrackList.h:
571 * page/MediaStreamClient.h:
572 * page/MediaStreamController.cpp:
573 (WebCore::MediaStreamController::enableAudioTrack):
574 (WebCore::MediaStreamController::disableAudioTrack):
575 (WebCore::MediaStreamController::selectVideoTrack):
576 (WebCore::MediaStreamController::streamGenerated):
577 (WebCore::MediaStreamController::audioTrackFailed):
578 (WebCore::MediaStreamController::videoTrackFailed):
579 * page/MediaStreamController.h:
580 * page/MediaStreamFrameController.cpp:
581 (WebCore::MediaStreamFrameController::unregister):
582 (WebCore::MediaStreamFrameController::enterDetachedState):
583 (WebCore::MediaStreamFrameController::disconnectFrame):
584 (WebCore::MediaStreamFrameController::enableAudioTrack):
585 (WebCore::MediaStreamFrameController::disableAudioTrack):
586 (WebCore::MediaStreamFrameController::selectVideoTrack):
587 (WebCore::MediaStreamFrameController::streamGenerated):
588 (WebCore::MediaStreamFrameController::audioTrackFailed):
589 (WebCore::MediaStreamFrameController::videoTrackFailed):
590 * page/MediaStreamFrameController.h:
591 (WebCore::MediaStreamFrameController::ClientBase::isGenericClient):
592 (WebCore::MediaStreamFrameController::GenericClient::GenericClient):
593 (WebCore::MediaStreamFrameController::GenericClient::~GenericClient):
594 (WebCore::MediaStreamFrameController::GenericClient::isGenericClient):
595 (WebCore::MediaStreamFrameController::GenericClient::unregister):
596
597 2011-06-08 Pavel Podivilov <podivilov@chromium.org>
598
599 Reviewed by Yury Semikhatsky.
600
601 Web Inspector: [REGRESSION] breakpoints are not persisted.
602 https://bugs.webkit.org/show_bug.cgi?id=62273
603
604 * inspector/front-end/Settings.js:
605
606 2011-06-08 Alexander Pavlov <apavlov@chromium.org>
607
608 Reviewed by Yury Semikhatsky.
609
610 Web Inspector: node selection is slow in the Elements panel.
611 https://bugs.webkit.org/show_bug.cgi?id=60813
612
613 Schedule full style updates rather than request all node styles from the backend immediately.
614
615 * inspector/front-end/StylesSidebarPane.js:
616 (WebInspector.StylesSidebarPane.prototype.update.reloadAllStyles):
617 (WebInspector.StylesSidebarPane.prototype.update):
618
619 2011-06-08 Andreas Kling <andreas.kling@nokia.com>
620
621 Reviewed by Laszlo Gombos.
622
623 [Symbian] Float{32,64}Array and Int16Array fail to build.
624 https://bugs.webkit.org/show_bug.cgi?id=62219
625
626 For some reason, RVCT 2.x is moaning about "class member designated by
627 a using-declaration must be visible in a direct base class".
628 Apply same fix as r69122 and r76592.
629
630 * html/canvas/Float32Array.h:
631 (WebCore::Float32Array::set):
632 * html/canvas/Float64Array.h:
633 (WebCore::Float64Array::set):
634 * html/canvas/Int16Array.h:
635 (WebCore::Int16Array::set):
636
637 2011-06-08 Syed Idris Shah <syed.idris-shah@nokia.com>
638
639 Reviewed by Andreas Kling.
640
641 [Qt] GL_POINT_SPRITE and GL_VERTEX_PROGRAM_POINT_SIZE should be enabled for desktop WebGL
642 https://bugs.webkit.org/show_bug.cgi?id=61945
643
644 For OpenGL ES we do not need these features.
645 These features are available via shaders in OpenGL ES. But for desktop W ebGL using QtWebKit they should be enabled.
646
647 LayoutTests/fast/canvas/webgl/point-size.html
648
649 * platform/graphics/qt/GraphicsContext3DQt.cpp:
650 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
651
652 2011-06-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
653
654 Unreviewed. Fix style error.
655
656 * platform/efl/RenderThemeEfl.cpp:
657 * platform/efl/RenderThemeEfl.h:
658
659 2011-06-08 Hironori Bono <hbono@chromium.org>
660
661 Reviewed by Brent Fulgham.
662
663 Add SpellCheck API
664 https://bugs.webkit.org/show_bug.cgi?id=59693
665
666 This change adds two SpellCheck API functions (addSpellcheckRange and
667 removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
668 the public-webapps ML. This change is currently available only on Chromi um.
669
670 Tests: editing/spelling/spellcheck-api-pixel.html
671 editing/spelling/spellcheck-api.html
672
673 * WebCore.gypi:
674 * bindings/generic/RuntimeEnabledFeatures.cpp:
675 * bindings/generic/RuntimeEnabledFeatures.h:
676 (WebCore::RuntimeEnabledFeatures::spellCheckAPIEnabled):
677 (WebCore::RuntimeEnabledFeatures::setSpellCheckAPIEnabled):
678 * dom/DocumentMarker.h:
679 (WebCore::DocumentMarker::length):
680 * dom/DocumentMarkerController.cpp:
681 (WebCore::DocumentMarkerController::userSpellingMarkersForNode):
682 (WebCore::DocumentMarkerController::addUserSpellingMarker):
683 (WebCore::DocumentMarkerController::removeUserSpellingMarker):
684 (WebCore::DocumentMarkerController::userSpellingNode):
685 * dom/DocumentMarkerController.h:
686 * html/HTMLDivElement.cpp:
687 (WebCore::HTMLDivElement::spellcheckRanges):
688 (WebCore::HTMLDivElement::addSpellcheckRange):
689 (WebCore::HTMLDivElement::removeSpellcheckRange):
690 * html/HTMLDivElement.h:
691 * html/HTMLDivElement.idl:
692 * html/HTMLInputElement.cpp:
693 (WebCore::HTMLInputElement::spellcheckRanges):
694 (WebCore::HTMLInputElement::addSpellcheckRange):
695 (WebCore::HTMLInputElement::removeSpellcheckRange):
696 * html/HTMLInputElement.h:
697 * html/HTMLInputElement.idl:
698 * html/HTMLTextAreaElement.cpp:
699 (WebCore::HTMLTextAreaElement::spellcheckRanges):
700 (WebCore::HTMLTextAreaElement::addSpellcheckRange):
701 (WebCore::HTMLTextAreaElement::removeSpellcheckRange):
702 * html/HTMLTextAreaElement.h:
703 * html/HTMLTextAreaElement.idl:
704 * html/SpellcheckRange.cpp: Added.
705 (WebCore::SpellcheckRange::SpellcheckRange):
706 (WebCore::SpellcheckRange::~SpellcheckRange):
707 * html/SpellcheckRange.h: Added.
708 (WebCore::SpellcheckRange::create):
709 (WebCore::SpellcheckRange::start):
710 (WebCore::SpellcheckRange::length):
711 (WebCore::SpellcheckRange::suggestions):
712 (WebCore::SpellcheckRange::options):
713 * html/SpellcheckRange.idl: Added.
714 * html/SpellcheckRangeList.cpp: Added.
715 (WebCore::SpellcheckRangeList::SpellcheckRangeList):
716 (WebCore::SpellcheckRangeList::~SpellcheckRangeList):
717 (WebCore::SpellcheckRangeList::item):
718 * html/SpellcheckRangeList.h: Added.
719 (WebCore::SpellcheckRangeList::create):
720 (WebCore::SpellcheckRangeList::isEmpty):
721 (WebCore::SpellcheckRangeList::clear):
722 (WebCore::SpellcheckRangeList::append):
723 (WebCore::SpellcheckRangeList::remove):
724 (WebCore::SpellcheckRangeList::length):
725 * html/SpellcheckRangeList.idl: Added.
726 * rendering/InlineTextBox.cpp:
727 (WebCore::textCheckingLineStyleForMarkerType):
728 (WebCore::InlineTextBox::paintDocumentMarkers):
729
730 2011-06-07 Andrey Kosyakov <caseq@chromium.org>
731
732 Reviewed by Pavel Feldman.
733
734 Web Inspector: remove shadow dom inspection from Elements panel by defau lt.
735 https://bugs.webkit.org/show_bug.cgi?id=62188
736
737 This reverts r85751
738
739 * dom/Element.cpp:
740 (WebCore::Element::ensureShadowRoot):
741 (WebCore::Element::removeShadowRoot):
742 * inspector/Inspector.json:
743 * inspector/InspectorDOMAgent.cpp:
744 (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
745 (WebCore::InspectorDOMAgent::buildObjectForNode):
746 (WebCore::InspectorDOMAgent::didInsertDOMNode):
747 (WebCore::InspectorDOMAgent::didRemoveDOMNode):
748 * inspector/InspectorDOMAgent.h:
749 * inspector/front-end/DOMAgent.js:
750 (WebInspector.DOMNode):
751 (WebInspector.DOMNode.prototype._renumber):
752 (WebInspector.DOMAgent.prototype._bindNodes):
753 (WebInspector.DOMAgent.prototype.querySelectorAll):
754 (WebInspector.DOMDispatcher.prototype.searchResults):
755 * inspector/front-end/ElementsPanel.js:
756 (WebInspector.ElementsPanel):
757 (WebInspector.ElementsPanel.prototype._attributesUpdated):
758 (WebInspector.ElementsPanel.prototype._characterDataModified):
759 (WebInspector.ElementsPanel.prototype._nodeInserted):
760 (WebInspector.ElementsPanel.prototype._nodeRemoved):
761 (WebInspector.ElementsPanel.prototype.updateModifiedNodes):
762 (WebInspector.ElementsPanel.prototype.updateBreadcrumb):
763 * inspector/front-end/ElementsTreeOutline.js:
764 (WebInspector.ElementsTreeElement):
765 (WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildr enOfNode):
766 (WebInspector.ElementsTreeElement.prototype._updateChildren):
767 ():
768 * inspector/front-end/inspector.css:
769 * inspector/front-end/utilities.js:
770 (Element.prototype.query):
771
772 2011-06-08 Mark Rowe <mrowe@apple.com>
773
774 Fix the build.
775
776 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
777 (WebCore::MediaPlayerPrivateAVFoundation::timeChanged):
778 (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
779
780 2011-06-07 Keishi Hattori <keishi@webkit.org>
781
782 Reviewed by Kent Tamura.
783
784 Rename HTMLInputElement::m_value to m_valueIfDirty
785 https://bugs.webkit.org/show_bug.cgi?id=61990
786
787 No new tests because no behavior change.
788
789 * html/HTMLInputElement.cpp: Replaced m_value with m_valueIfDirty.
790 (WebCore::HTMLInputElement::tooLong):
791 (WebCore::HTMLInputElement::updateType):
792 (WebCore::HTMLInputElement::parseMappedAttribute):
793 (WebCore::HTMLInputElement::copyNonAttributeProperties):
794 (WebCore::HTMLInputElement::value):
795 (WebCore::HTMLInputElement::setValue):
796 (WebCore::HTMLInputElement::setValueFromRenderer):
797 (WebCore::HTMLInputElement::updateValueIfNeeded):
798 * html/HTMLInputElement.h: Renamed m_value to m_valueIfDirty.
799 (WebCore::HTMLInputElement::hasDirtyValue): Added. Returns the dirty val ue flag.
800
801 2011-06-07 Ian Henderson <ianh@apple.com>
802
803 Reviewed by Dan Bernstein.
804
805 (CG) Sub-image drawing clips unnecessarily
806 https://bugs.webkit.org/show_bug.cgi?id=62258
807
808 If destRect completely encompasses the adjustedDestRect into which we
809 draw, clipping to destRect will do nothing. Skip the call to
810 CGContextClipToRect in this case.
811
812 * platform/graphics/cg/ImageCG.cpp:
813 (WebCore::BitmapImage::draw):
814
815 2011-06-07 Emil A Eklund <eae@chromium.org>
816
817 Reviewed by Eric Seidel.
818
819 Convert nodeAtPoint to IntPoint
820 https://bugs.webkit.org/show_bug.cgi?id=62145
821
822 Convert nodeAtPoint to take an IntPoint instead of a pair of ints for th e
823 accumulated offset.
824
825 Covered by existing tests.
826
827 * platform/graphics/FloatPoint.h:
828 (WebCore::FloatPoint::moveBy):
829 Add moveBy(IntPoint) method
830
831 * rendering/EllipsisBox.cpp:
832 (WebCore::EllipsisBox::nodeAtPoint):
833 * rendering/EllipsisBox.h:
834 * rendering/InlineBox.cpp:
835 (WebCore::InlineBox::nodeAtPoint):
836 * rendering/InlineBox.h:
837 * rendering/InlineFlowBox.cpp:
838 (WebCore::InlineFlowBox::nodeAtPoint):
839 * rendering/InlineFlowBox.h:
840 * rendering/InlineTextBox.cpp:
841 (WebCore::InlineTextBox::nodeAtPoint):
842 * rendering/InlineTextBox.h:
843 * rendering/RenderBlock.cpp:
844 (WebCore::RenderBlock::nodeAtPoint):
845 (WebCore::RenderBlock::hitTestContents):
846 * rendering/RenderBlock.h:
847 * rendering/RenderBox.cpp:
848 (WebCore::RenderBox::nodeAtPoint):
849 * rendering/RenderBox.h:
850 * rendering/RenderFrameSet.cpp:
851 (WebCore::RenderFrameSet::nodeAtPoint):
852 * rendering/RenderFrameSet.h:
853 * rendering/RenderImage.cpp:
854 (WebCore::RenderImage::nodeAtPoint):
855 * rendering/RenderImage.h:
856 * rendering/RenderInline.cpp:
857 (WebCore::RenderInline::nodeAtPoint):
858 * rendering/RenderInline.h:
859 * rendering/RenderLineBoxList.cpp:
860 (WebCore::RenderLineBoxList::hitTest):
861 * rendering/RenderListBox.cpp:
862 (WebCore::RenderListBox::nodeAtPoint):
863 * rendering/RenderListBox.h:
864 * rendering/RenderObject.cpp:
865 (WebCore::RenderObject::hitTest):
866 * rendering/RenderObject.h:
867 * rendering/RenderTable.cpp:
868 (WebCore::RenderTable::nodeAtPoint):
869 * rendering/RenderTable.h:
870 * rendering/RenderTableRow.cpp:
871 (WebCore::RenderTableRow::nodeAtPoint):
872 * rendering/RenderTableRow.h:
873 * rendering/RenderTableSection.cpp:
874 (WebCore::RenderTableSection::nodeAtPoint):
875 * rendering/RenderTableSection.h:
876 * rendering/RenderText.h:
877 (WebCore::RenderText::nodeAtPoint):
878 * rendering/RenderTextControlMultiLine.cpp:
879 (WebCore::RenderTextControlMultiLine::nodeAtPoint):
880 * rendering/RenderTextControlMultiLine.h:
881 * rendering/RenderTextControlSingleLine.cpp:
882 (WebCore::RenderTextControlSingleLine::nodeAtPoint):
883 * rendering/RenderTextControlSingleLine.h:
884 * rendering/RenderWidget.cpp:
885 (WebCore::RenderWidget::nodeAtPoint):
886 * rendering/RenderWidget.h:
887 * rendering/RootInlineBox.cpp:
888 (WebCore::RootInlineBox::nodeAtPoint):
889 * rendering/RootInlineBox.h:
890 * rendering/svg/RenderSVGForeignObject.cpp:
891 (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
892 (WebCore::RenderSVGForeignObject::nodeAtPoint):
893 * rendering/svg/RenderSVGForeignObject.h:
894 * rendering/svg/RenderSVGModelObject.cpp:
895 (WebCore::RenderSVGModelObject::nodeAtPoint):
896 * rendering/svg/RenderSVGModelObject.h:
897 * rendering/svg/RenderSVGRoot.cpp:
898 (WebCore::RenderSVGRoot::nodeAtPoint):
899 * rendering/svg/RenderSVGRoot.h:
900 * rendering/svg/RenderSVGText.cpp:
901 (WebCore::RenderSVGText::nodeAtFloatPoint):
902 (WebCore::RenderSVGText::nodeAtPoint):
903 * rendering/svg/RenderSVGText.h:
904
905 2011-06-07 Yi Shen <yi.4.shen@nokia.com>
906
907 Reviewed by Simon Hausmann.
908
909 [Qt] Fix the error code for media resource failures when using QtMobilit y
910 https://bugs.webkit.org/show_bug.cgi?id=55901
911
912 To indicate the media resource failures, set the network state to
913 MediaPlayer::FormatError when receives QMediaPlayer::InvalidMedia or
914 QMediaPlayer::ResourceError.
915
916 * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
917 (WebCore::MediaPlayerPrivateQt::updateStates):
918
919 2011-06-07 Emil A Eklund <eae@chromium.org>
920
921 Reviewed by Eric Seidel.
922
923 Change RenderBlock::hitTestFloats to IntPoint
924 https://bugs.webkit.org/show_bug.cgi?id=62176
925
926 Covered by existing tests.
927
928 * rendering/RenderBlock.cpp:
929 (WebCore::RenderBlock::nodeAtPoint):
930 (WebCore::RenderBlock::hitTestFloats):
931 (WebCore::RenderBlock::hitTestColumns):
932 * rendering/RenderBlock.h:
933
934 2011-06-07 Tim Horton <timothy_horton@apple.com>
935
936 Reviewed by Alexey Proskuryakov.
937
938 Use correct CFURLStorageSessionRef definition on Snow Leopard
939 https://bugs.webkit.org/show_bug.cgi?id=62223
940
941 * platform/mac/WebCoreSystemInterface.h:
942 * platform/network/ResourceHandle.h:
943 * platform/network/cf/ResourceRequest.h:
944
945 2011-06-07 Emil A Eklund <eae@chromium.org>
946
947 Reviewed by Eric Seidel.
948
949 Change RenderBlock::hitTestColumns to IntPoint
950 https://bugs.webkit.org/show_bug.cgi?id=62172
951
952 Covered by existing tests.
953
954 * rendering/RenderBlock.cpp:
955 (WebCore::RenderBlock::nodeAtPoint):
956 (WebCore::RenderBlock::hitTestColumns):
957 * rendering/RenderBlock.h:
958
959 2011-06-07 Simon Fraser <simon.fraser@apple.com>
960
961 Reviewed by Darin Adler.
962
963 Opacity transition doesn't work while content property is set.
964 https://bugs.webkit.org/show_bug.cgi?id=59301
965
966 StyleRareNonInheritedData's copy constructor omitted to copy
967 the m_content data, which caused us to detach and re-attach the renderer
968 at the start of the transition, thereby killing the transition.
969
970 Fix by making StyleRareNonInheritedData's copy ctor do the right thing.
971
972 Test: transitions/transition-on-element-with-content.html
973
974 * rendering/style/ContentData.h:
975 * rendering/style/ContentData.cpp:
976 (WebCore::ContentData::clone): New method to do a deep clone. (Can't use a copy
977 ctor because of the subclasses.)
978 * rendering/style/CounterDirectives.h: Pack the data members to save spa ce.
979 Add a clone() function for the HashMap.
980 * rendering/style/CounterDirectives.cpp:
981 (WebCore::clone): Make a new HashMap and copy the contents over.
982 * rendering/style/StyleRareNonInheritedData.cpp:
983 (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): Copy
984 the content and counter directives over.
985 (WebCore::StyleRareNonInheritedData::operator==): Rather than just compa ring
986 for pointer equality, do a correct check for m_counterDirectives equalit y.
987 (WebCore::StyleRareNonInheritedData::counterDataEquivalent):
988 * rendering/style/StyleRareNonInheritedData.h:
989
990 2011-06-07 Robert Kroeger <rjkroege@chromium.org>
991
992 Reviewed by Adam Barth.
993
994 [chromium] Add a basic gesture recognizer to the Chromium platform
995 https://bugs.webkit.org/show_bug.cgi?id=54417
996
997 Adds a basic gesture recognizer to the Chromium platform. Adds an entry
998 point to the GestureRecognizer to reset any internal state on a page res et.
999 Resetting the gesture recognizer on page load is necesary for reliable
1000 layout test execution and improves gesture recognizer operational
1001 robustness.
1002
1003 Added an additional constructor to permit building a synthetic
1004 PlatformWheelEvent.
1005
1006 Small modifications to the PlatformGestureRecognizer as required to
1007 implement the simple Chromium platform gesture recognizer.
1008
1009 Tests: fast/events/touch/touch-gesture-click.html
1010
1011 * WebCore.gypi:
1012 * page/EventHandler.cpp:
1013 (WebCore::EventHandler::resetGestureRecognizer):
1014 * page/EventHandler.h:
1015 * page/FrameView.cpp:
1016 (WebCore::FrameView::reset):
1017 * platform/PlatformGestureRecognizer.h:
1018 * platform/PlatformWheelEvent.h:
1019 (WebCore::PlatformWheelEvent::PlatformWheelEvent):
1020 * platform/chromium/GestureRecognizerChromium.cpp: Added.
1021 (WebCore::InnerGestureRecognizer::InnerGestureRecognizer):
1022 (WebCore::InnerGestureRecognizer::reset):
1023 (WebCore::InnerGestureRecognizer::~InnerGestureRecognizer):
1024 (WebCore::InnerGestureRecognizer::addEdgeFunction):
1025 (WebCore::InnerGestureRecognizer::isInClickTimeWindow):
1026 (WebCore::InnerGestureRecognizer::isInsideManhattanSquare):
1027 (WebCore::InnerGestureRecognizer::dispatchSyntheticClick):
1028 (WebCore::InnerGestureRecognizer::processTouchEventForGesture):
1029 (WebCore::InnerGestureRecognizer::scrollViaTouchMotion):
1030 (WebCore::InnerGestureRecognizer::updateValues):
1031 (WebCore::InnerGestureRecognizer::signature):
1032 (WebCore::touchDown):
1033 (WebCore::noGesture):
1034 (WebCore::click):
1035 (WebCore::isClickOrScroll):
1036 (WebCore::inScroll):
1037 (WebCore::PlatformGestureRecognizer::create):
1038 (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer):
1039 (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer):
1040 (WebCore::GestureRecognizerChromium::GestureRecognizerChromium):
1041 (WebCore::GestureRecognizerChromium::~GestureRecognizerChromium):
1042 * platform/chromium/GestureRecognizerChromium.h: Added.
1043 (WebCore::InnerGestureRecognizer::setState):
1044 (WebCore::InnerGestureRecognizer::state):
1045 (WebCore::GestureRecognizerChromium::reset):
1046 (WebCore::GestureRecognizerChromium::processTouchEventForGesture):
1047
1048 2011-06-07 No'am Rosenthal <noam.rosenthal@nokia.com>
1049
1050 Reviewed by Andreas Kling.
1051
1052 [Texmap][Qt] Enable TextureMapper by default
1053 https://bugs.webkit.org/show_bug.cgi?id=61740
1054
1055 Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL pat h. This would mean that
1056 for now QtWebKit on Windows/Symbian would use the Qt backend for Texture Mapper.
1057
1058 No new functionality so no new tests.
1059
1060 * WebCore.pri:
1061 * WebCore.pro:
1062 * platform/graphics/qt/GraphicsContext3DQt.cpp:
1063 * platform/graphics/qt/TextureMapperQt.cpp:
1064 (WebCore::TextureMapper::create):
1065
1066 2011-06-07 Emil A Eklund <eae@chromium.org>
1067
1068 Reviewed by Eric Seidel.
1069
1070 Convert RenderBox::absoluteRects to IntPoint
1071 https://bugs.webkit.org/show_bug.cgi?id=62130
1072
1073 Covered by existing tests.
1074
1075 * dom/Node.cpp:
1076 (WebCore::Node::hasNonEmptyBoundingBox):
1077 * rendering/InlineBox.h:
1078 (WebCore::InlineBox::size):
1079 * rendering/RenderBlock.cpp:
1080 (WebCore::RenderBlock::absoluteRects):
1081 * rendering/RenderBlock.h:
1082 * rendering/RenderBox.cpp:
1083 (WebCore::RenderBox::absoluteRects):
1084 * rendering/RenderBox.h:
1085 * rendering/RenderInline.cpp:
1086 (WebCore::RenderInline::absoluteRects):
1087 * rendering/RenderInline.h:
1088 * rendering/RenderObject.cpp:
1089 (WebCore::RenderObject::absoluteBoundingBoxRect):
1090 * rendering/RenderObject.h:
1091 (WebCore::RenderObject::absoluteRects):
1092 * rendering/RenderText.cpp:
1093 (WebCore::RenderText::absoluteRects):
1094 * rendering/RenderText.h:
1095 * rendering/RenderView.cpp:
1096 (WebCore::RenderView::absoluteRects):
1097 * rendering/RenderView.h:
1098 * rendering/svg/RenderSVGBlock.cpp:
1099 (WebCore::RenderSVGBlock::absoluteRects):
1100 * rendering/svg/RenderSVGBlock.h:
1101 * rendering/svg/RenderSVGModelObject.cpp:
1102 (WebCore::RenderSVGModelObject::absoluteRects):
1103 * rendering/svg/RenderSVGModelObject.h:
1104
1105 2011-06-07 Kent Tamura <tkent@chromium.org>
1106
1107 Reviewed by Andreas Kling.
1108
1109 [Qt] RenderThemeQt::adjustSliderThumbSize() should not refer to the pare nt style.
1110 https://bugs.webkit.org/show_bug.cgi?id=62207
1111
1112 * css/mediaControlsQt.css: Add comments.
1113 (audio::-webkit-media-controls-timeline):
1114 (video::-webkit-media-controls-timeline):
1115 (audio::-webkit-media-controls-volume-slider):
1116 (video::-webkit-media-controls-volume-slider):
1117 * platform/qt/RenderThemeQt.cpp: Use fixed values to avoid referring to o->parent().
1118 (WebCore::RenderThemeQt::adjustSliderThumbSize):
1119
1 2011-06-07 Sailesh Agrawal <sail@chromium.org> 1120 2011-06-07 Sailesh Agrawal <sail@chromium.org>
2 1121
3 Reviewed by Mihai Parparita. 1122 Reviewed by Mihai Parparita.
4 1123
5 Chromium Mac: Fork ScrollAnimatorMac to ScrollAnimatorChromiumMac for ov erlay scrollbar support 1124 Chromium Mac: Fork ScrollAnimatorMac to ScrollAnimatorChromiumMac for ov erlay scrollbar support
6 https://bugs.webkit.org/show_bug.cgi?id=59753 1125 https://bugs.webkit.org/show_bug.cgi?id=59753
7 1126
8 No new tests. Just forking ScrollAnimatorMac to ScrollAnimatorChromiumMa c. 1127 No new tests. Just forking ScrollAnimatorMac to ScrollAnimatorChromiumMa c.
9 1128
10 * WebCore.gyp/WebCore.gyp: Added IntPointMac.mm. This is used by some fu nctions in ScrollAnimatorChromiumMac. Also added filters for conflicting class n ames in ScrollAnimatorChromiumMac. 1129 * WebCore.gyp/WebCore.gyp: Added IntPointMac.mm. This is used by some fu nctions in ScrollAnimatorChromiumMac. Also added filters for conflicting class n ames in ScrollAnimatorChromiumMac.
(...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 fast/viewport/viewport-45.html fails in GTK+/Qt 2781 fast/viewport/viewport-45.html fails in GTK+/Qt
1663 https://bugs.webkit.org/show_bug.cgi?id=47481 2782 https://bugs.webkit.org/show_bug.cgi?id=47481
1664 2783
1665 computeViewportAttributes does many math operations with float point ari thmetic 2784 computeViewportAttributes does many math operations with float point ari thmetic
1666 and in some cases there is loss of precision making tests have incorrect values. 2785 and in some cases there is loss of precision making tests have incorrect values.
1667 2786
1668 * dom/ViewportArguments.cpp: 2787 * dom/ViewportArguments.cpp:
1669 (WebCore::computeViewportAttributes): 2788 (WebCore::computeViewportAttributes):
1670 2789
1671 == Rolled over to ChangeLog-2011-06-04 == 2790 == Rolled over to ChangeLog-2011-06-04 ==
OLDNEW
« no previous file with comments | « Source/JavaScriptCore/wtf/Platform.h ('k') | Source/WebCore/platform/chromium/ScrollAnimatorChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698