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

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

Issue 12475008: Merge 144236 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 9 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 2013-02-27 John Bauman <jbauman@chromium.org>
2
3 Plugin in iframe may not display
4 https://bugs.webkit.org/show_bug.cgi?id=109879
5
6 Reviewed by Simon Fraser.
7
8 Use clipRectChanged to update the geometry.
9
10 * src/WebPluginContainerImpl.cpp:
11 (WebKit::WebPluginContainerImpl::clipRectChanged):
12 * src/WebPluginContainerImpl.h:
13
14 2013-02-27 Stephen Chenney <schenney@chromium.org>
15
16 RenderTableCellDeathTest unit test fails on mac
17 https://bugs.webkit.org/show_bug.cgi?id=110992
18
19 Unreviewed second attempt. Trying to get the right define for the OS.
20
21 * tests/RenderTableCellTest.cpp:
22
23 2013-02-27 Stephen Chenney <schenney@chromium.org>
24
25 RenderTableCellDeathTest unit test fails on mac
26 https://bugs.webkit.org/show_bug.cgi?id=110992
27
28 Unreviewed disabling of test that is hanging or crashing on Mac.
29
30 * tests/RenderTableCellTest.cpp:
31
32 2013-02-27 James Robinson <jamesr@chromium.org>
33
34 [chromium] Remove suppression invalidation logic from WebViewImpl
35 https://bugs.webkit.org/show_bug.cgi?id=110999
36
37 Reviewed by Adrienne Walker.
38
39 This suppression logic is now handled on the embedder side. In fact, sch eduleComposite() is now only used
40 by DumpRenderTree.
41
42 * src/WebViewImpl.cpp:
43 (WebKit::WebViewImpl::WebViewImpl):
44 (WebKit::WebViewImpl::suppressInvalidations):
45 (WebKit::WebViewImpl::scheduleComposite):
46 * src/WebViewImpl.h:
47
48 2013-02-27 Glenn Adams <glenn@skynav.com>
49
50 Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
51 https://bugs.webkit.org/show_bug.cgi?id=110944
52
53 Reviewed by Dean Jackson.
54
55 * features.gypi:
56
57 2013-02-26 James Robinson <jamesr@chromium.org>
58
59 [chromium] Remove WebViewImpl::animate shimmy out through compositor
60 https://bugs.webkit.org/show_bug.cgi?id=110935
61
62 Reviewed by Adrienne Walker.
63
64 WebViewImpl::animate() and WebViewImpl::updateAnimations() are confusing ly similar. ::animate() implements
65 the WebWidget API and is called by content::RenderWidget and WebViewHost . ::updateAnimations() implements
66 the WebLayerTreeViewClient API and is called by content::RenderWidgetCom positor and by ::animate(). The
67 important part of this indirection is that whenever the compositor is ac tive, all animation calls must
68 route through cc::LayerTreeHost before entering into WebCore's animation code so that the compositor
69 can set the appropriate rate limiting state. Animations may originate fr om
70 content::RenderWidget::AnimateIfNeeded when in software and single threa ded mode or from
71 cc::LayerTreeHost::updateAnimations in threaded compositing mode. In the long ago, content::RenderWidget had no
72 idea if compositing was active or not and always called WebWidget::anima te(), so WebViewImpl::animate() had to
73 redirect to the compositor when appropriate.
74
75 Now (as of chromium r180947) RenderWidget calls WebWidget::animate only when in software mode and otherwise
76 calls directly into the compositor. Thus WebViewImpl::animate() no longe r needs to do this check. In a
77 follow-up, WebViewImpl::updateAnimations will go away completely in favo r of just calling WebWidget::animate in
78 all cases.
79
80 * src/WebViewImpl.cpp:
81 (WebKit::WebViewImpl::animate):
82 (WebKit::WebViewImpl::updateAnimations):
83
84 2013-02-27 Sheriff Bot <webkit.review.bot@gmail.com>
85
86 Unreviewed, rolling out r144179.
87 http://trac.webkit.org/changeset/144179
88 https://bugs.webkit.org/show_bug.cgi?id=110980
89
90 Breaks compilation (Requested by vsevik on #webkit).
91
92 * public/WebTextInputType.h:
93 * src/WebViewImpl.cpp:
94 (WebKit::WebViewImpl::textInputInfo):
95 (WebKit::WebViewImpl::textInputType):
96
97 2013-02-27 Stephen Chenney <schenney@chromium.org>
98
99 [chromium] GIFImageDecoderTest.parseAndDecodeByteByByte failing on Andro id
100 https://bugs.webkit.org/show_bug.cgi?id=110922
101
102 Unreviewed build fix.
103
104 * tests/GIFImageDecoderTest.cpp:
105 (WebKit):
106 (WebKit::TEST): Disable the entire test on Android.
107
108 2013-02-27 Seigo Nonaka <nona@chromium.org>
109
110 [Chromium] Should not return WebTextInputTypeNone for date input element .
111 https://bugs.webkit.org/show_bug.cgi?id=110740
112
113 Reviewed by Kent Tamura.
114
115 In the case of Windows 8, text input state including on-screen keyboard is controlled by the
116 value of WebTextInputType returned from WebViewImpl::textInputType().
117 In past, it returned WebTextInputTypeDate for date text input but now it returns
118 WebTextInputTypeNone.
119 WebTextInputTypeNone is used for non editable node, so on-screen keyboar d will be hidden if
120 the date text input is focused. So there is no way to input on Windows 8 tablet without
121 physical keyboard except tapping small up/down arrow.
122
123 * public/WebTextInputType.h: Introduces WebTextInputTypeDateTimeField.
124 * src/WebViewImpl.cpp:
125 (WebKit::WebViewImpl::textInputInfo): Fills type filed regardless of edi table or not. It is
126 safe because textInputType returns editable type only for known editable element.
127 (WebKit::WebViewImpl::textInputType): Returns WebTextInputTypeDateTimeFi eld for the date
128 time field element.
129
130 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
131
132 Unreviewed, rolling out r144129.
133 http://trac.webkit.org/changeset/144129
134 https://bugs.webkit.org/show_bug.cgi?id=110947
135
136 Breaks compilation on chromium mac and win (Requested by
137 vsevik on #webkit).
138
139 * src/WebViewImpl.cpp:
140 (WebKit::WebViewImpl::willBeginFrame):
141 (WebKit):
142 (WebKit::WebViewImpl::didBeginFrame):
143 * src/WebViewImpl.h:
144 * tests/WebLayerTreeViewTestCommon.h:
145
146 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
147
148 Unreviewed. Rolled Chromium DEPS to r184829. Requested by
149 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
150
151 * DEPS:
152
153 2013-02-26 James Robinson <jamesr@chromium.org>
154
155 [chromium] Remove WebLayerTreeViewClient::(will|did)BeginFrame
156 https://bugs.webkit.org/show_bug.cgi?id=110928
157
158 Reviewed by Adrienne Walker.
159
160 * src/WebViewImpl.cpp:
161 * src/WebViewImpl.h:
162 * tests/WebLayerTreeViewTestCommon.h:
163
164 2013-02-26 Alpha Lam <hclam@chromium.org>
165
166 [chromium] GIFImageDecoderTest.parseAndDecodeByteByByte failing on Andro id
167 https://bugs.webkit.org/show_bug.cgi?id=110922
168
169 Unreviewed. Build fix.
170
171 * tests/GIFImageDecoderTest.cpp:
172 (WebKit):
173
174 2013-02-26 James Robinson <jamesr@chromium.org>
175
176 [chromium] Remove unused WebLayerTreeViewClient calls
177 https://bugs.webkit.org/show_bug.cgi?id=110923
178
179 Reviewed by Adrienne Walker.
180
181 These notifications existed for instrumentation, but now the instrumenta tion routes
182 through WebDevToolsAgent.
183
184 * src/WebViewImpl.cpp:
185 * src/WebViewImpl.h:
186 * tests/WebLayerTreeViewTestCommon.h:
187
188 2013-02-26 Dirk Pranke <dpranke@chromium.org>
189
190 Roll Chromium DEPS from r183905 -> r184646.
191
192 Unreviewed.
193
194 * DEPS:
195
196 2013-02-26 James Robinson <jamesr@chromium.org>
197
198 [chromium] Remove unused WebWidget::instrument calls
199 https://bugs.webkit.org/show_bug.cgi?id=110906
200
201 Reviewed by Jochen Eisinger.
202
203 These calls are now routed through WebDevToolsAgent.
204
205 * public/WebWidget.h:
206 * src/WebViewImpl.cpp:
207 (WebKit::WebViewImpl::willBeginFrame):
208 * src/WebViewImpl.h:
209
210 2013-02-20 Alpha Lam <hclam@chromium.org>
211
212 GIFImageReader to read from source data directly
213 https://bugs.webkit.org/show_bug.cgi?id=109662
214
215 Reviewed by Stephen White.
216
217 Added the following unit tests to test new logic in GIFImageDecoder:
218
219 GIFImageDecoderTest.decodeTwoFrames
220 Test that it can decode a multi-frame GIF image correctly.
221
222 GIFImageDecoderTest.parseAndDecode
223 First perform a parse operation and then a decode operation. Expect
224 that parse and decode operates correctly.
225
226 GIFImageDecoderTest.parseByteByByte
227 Test that multi-frame GIF image can be parsed correctly byte by byte.
228
229 GIFImageDecoderTest.parseAndDecodeByteByByte
230 Run a loop to feed decoder byte by byte, perform a parse and then
231 decode operation and make sure frames are decoded correctly.
232
233 GIFImageDecoderTest.brokenSecondFrame
234 Decode a GIF image with second frame broken. Expect that the first
235 frame can be decoded correctly.
236
237 * WebKit.gypi:
238 * tests/GIFImageDecoderTest.cpp: Added.
239 (WebKit):
240 (WebKit::readFile):
241 (WebKit::TEST):
242 * tests/data/broken.gif: Added.
243
244 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
245
246 Unreviewed, rolling out r144065.
247 http://trac.webkit.org/changeset/144065
248 https://bugs.webkit.org/show_bug.cgi?id=110896
249
250 Causing failures and crashes on Chromium Win7 and Win XP
251 (Requested by schenney on #webkit).
252
253 * features.gypi:
254
255 2013-02-26 Levi Weintraub <leviw@chromium.org>
256
257 Add support for 8 bit TextRuns for Chromium/HarfBuzz
258 https://bugs.webkit.org/show_bug.cgi?id=99393
259
260 Reviewed by Eric Seidel.
261
262 Enabling 8 bit text runs for Chromium.
263
264 * features.gypi:
265
266 2013-02-26 Dmitry Zvorygin <zvorygin@chromium.org>
267
268 Merged Tip and Debug log levels for web console.
269 https://bugs.webkit.org/show_bug.cgi?id=109919
270
271 Reviewed by Pavel Feldman.
272
273 In every component either TIP or DEBUG level was used for reporting,
274 but not both. This patch is prerequisite for Web Inspector console log f iltering.
275
276 * public/WebConsoleMessage.h:
277 * src/AssertMatchingEnums.cpp:
278 * src/WebFrameImpl.cpp:
279 (WebKit::WebFrameImpl::addMessageToConsole):
280
281 2013-02-26 Andrey Kosyakov <caseq@chromium.org>
282
283 Plumbing trace events to Timeline
284
285 Web Inspector: plumb trace events to Timeline agent
286 https://bugs.webkit.org/show_bug.cgi?id=105796
287
288 Reviewed by Pavel Feldman.
289
290 * public/WebDevToolsAgentClient.h:
291 (WebDevToolsAgentClient):
292 (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
293 * src/InspectorClientImpl.cpp:
294 (WebKit::InspectorClientImpl::setTraceEventCallback):
295 (WebKit):
296 * src/InspectorClientImpl.h:
297 (InspectorClientImpl):
298 * src/WebDevToolsAgentImpl.cpp:
299 (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
300 (WebKit):
301 * src/WebDevToolsAgentImpl.h:
302 (WebDevToolsAgentImpl):
303
304 2013-02-01 Andrey Kosyakov <caseq@chromium.org>
305
306 Web Inspector: plumb trace events to Timeline agent
307 https://bugs.webkit.org/show_bug.cgi?id=105796
308
309 Reviewed by Pavel Feldman.
310
311 Plumb trace events to Inspector.
312
313 * public/WebDevToolsAgentClient.h:
314 (WebDevToolsAgentClient):
315 (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
316 * src/InspectorClientImpl.cpp:
317 (WebKit::InspectorClientImpl::setTraceEventCallback):
318 (WebKit):
319 * src/InspectorClientImpl.h:
320 (InspectorClientImpl):
321 * src/WebDevToolsAgentImpl.cpp:
322 (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
323 (WebKit):
324 * src/WebDevToolsAgentImpl.h:
325 (WebDevToolsAgentImpl):
326
327 2013-02-26 Andrey Kosyakov <caseq@chromium.org>
328
329 Unreviewed, rolling out r144041, r144044, and r144048.
330 http://trac.webkit.org/changeset/144041
331 http://trac.webkit.org/changeset/144044
332 http://trac.webkit.org/changeset/144048
333 https://bugs.webkit.org/show_bug.cgi?id=105796
334
335 Broke build
336
337 * public/WebDevToolsAgentClient.h:
338 * src/InspectorClientImpl.cpp:
339 * src/InspectorClientImpl.h:
340 (InspectorClientImpl):
341 * src/WebDevToolsAgentImpl.cpp:
342 * src/WebDevToolsAgentImpl.h:
343 (WebDevToolsAgentImpl):
344
345 2013-02-01 Andrey Kosyakov <caseq@chromium.org>
346
347 Web Inspector: plumb trace events to Timeline agent
348 https://bugs.webkit.org/show_bug.cgi?id=105796
349
350 Reviewed by Pavel Feldman.
351
352 Plumb trace events to Inspector.
353
354 * public/WebDevToolsAgentClient.h:
355 (WebDevToolsAgentClient):
356 (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
357 * src/InspectorClientImpl.cpp:
358 (WebKit::InspectorClientImpl::setTraceEventCallback):
359 (WebKit):
360 * src/InspectorClientImpl.h:
361 (InspectorClientImpl):
362 * src/WebDevToolsAgentImpl.cpp:
363 (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
364 (WebKit):
365 * src/WebDevToolsAgentImpl.h:
366 (WebDevToolsAgentImpl):
367
368 2013-02-26 Tien-Ren Chen <trchen@chromium.org>
369
370 Implement coordinated scrollbar for subframes and overflow:scroll
371 https://bugs.webkit.org/show_bug.cgi?id=109560
372
373 Reviewed by James Robinson.
374
375 Added ScrollingCoordinatorChromiumTest.iframeScrolling to verify
376 impl-side scrolling and impl-side scrollbars for frames.
377
378 Update ScrollingCoordinatorChromiumTest.overflowScrolling to verify
379 impl-side scrollbars.
380
381 * tests/ScrollingCoordinatorChromiumTest.cpp:
382 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumT est):
383 (WebKit::TEST_F):
384 (WebKit):
385 * tests/data/iframe-scrolling-inner.html: Added.
386 * tests/data/iframe-scrolling.html: Added.
387
388 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
389
390 Unreviewed, rolling out r144016.
391 http://trac.webkit.org/changeset/144016
392 https://bugs.webkit.org/show_bug.cgi?id=110856
393
394 Breaks compilation on chromium mac (Requested by vsevik on
395 #webkit).
396
397 * WebKit.gypi:
398 * tests/KeyCodeConversionTest.cpp: Removed.
399
400 2013-02-26 James Robinson <jamesr@chromium.org>
401
402 [chromium] Fix continuous painting mode
403 https://bugs.webkit.org/show_bug.cgi?id=110788
404
405 Reviewed by Adrienne Walker.
406
407 Recent instrumentation shuffling caused WebViewImpl::didBeginFrame to no longer be called, which
408 broke continuous painting. Since continuous painting mode is meant to s imply invalidate layers
409 on each frame, it's a better fit for the animation system. This moves th e invalidation calls
410 into WebViewImpl::updateAnimations along with other animation type thing s.
411
412 Tested manually by enabling continuous painting mode in the inspector. T here aren't any automated
413 tests in WebKit for this feature.
414
415 * src/WebViewImpl.cpp:
416 (WebKit::WebViewImpl::setContinuousPaintingEnabled):
417 (WebKit::WebViewImpl::didBeginFrame):
418 (WebKit::WebViewImpl::updateAnimations):
419 * src/painting/ContinuousPainter.cpp:
420 (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
421
422 2013-02-26 James Weatherall <wez@chromium.org>
423
424 keydown and keyup events have zero keycode for some numeric pad keys und er Chromium on Linux
425 https://bugs.webkit.org/show_bug.cgi?id=85642
426
427 Add tests to verify that the fixed keys generate the same keyCode values
428 as their equivalents.
429
430 Reviewed by Ojan Vafai.
431
432 * WebKit.gypi:
433 * tests/KeyCodeConversionTest.cpp: Added.
434 (WebCore):
435 (WebCore::TEST):
436
437 2013-02-25 Rouslan Solomakhin <rouslan@chromium.org>
438
439 Add expandedToParagraph() method to WebRange
440 https://bugs.webkit.org/show_bug.cgi?id=110618
441
442 Reviewed by Adam Barth.
443
444 Add a method expandedToParagraph() to WebRange to return a copy of the
445 range expanded to paragraph boundaries. This method is to be used to
446 query the spelling context around the misspelled word under cursor.
447
448 * public/WebRange.h:
449 (WebRange): Added expandedToParagraph() method declaration.
450 * src/WebRange.cpp:
451 (WebKit::WebRange::expandedToParagraph): Added method to copy range, exp and the copied range to paragraph boundaries, and return the resulting range.
452 (WebKit): Added expandedToParagraph() method definition.
453
454 2013-02-25 James Robinson <jamesr@chromium.org>
455
456 [chromium] WebViewImpl::m_client can be null in some unit tests, check i t before calling
457 https://bugs.webkit.org/show_bug.cgi?id=110834
458
459 Reviewed by Adrienne Walker.
460
461 * src/WebViewImpl.cpp:
462 (WebKit::WebViewImpl::suppressInvalidations):
463 (WebKit::WebViewImpl::setRootGraphicsLayer):
464
465 2013-02-25 Ken Kania <kkania@chromium.org>
466
467 Remove browser patching mechanism for handling javascript dialogs in chr omium port
468 https://bugs.webkit.org/show_bug.cgi?id=110531
469
470 Reviewed by Pavel Feldman.
471
472 * public/WebDevToolsAgent.h:
473 * src/WebDevToolsAgentImpl.cpp:
474 (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
475 (WebKit::browserHintToString):
476 (WebKit::browserHintFromString):
477 (WebKit::WebDevToolsAgent::patchWithBrowserData):
478
479 2013-02-25 James Robinson <jamesr@chromium.org>
480
481 [chromium] Plumb WebViewImpl's compositor scheduling suppression out to WebWidgetClient
482 https://bugs.webkit.org/show_bug.cgi?id=110640
483
484 Reviewed by Adrienne Walker.
485
486 This plumbs the WebViewImpl::m_suppressInvalidations logic out to the We bWidgetClient so
487 it can be implemented by the embedder. The existing logic is left in pla ce for now,
488 once the embedder side has landed WebViewImpl will be purely a pass-thro ugh.
489
490 * public/WebWidgetClient.h:
491 (WebWidgetClient):
492 (WebKit::WebWidgetClient::suppressCompositorScheduling):
493 * src/WebViewImpl.cpp:
494 (WebKit::WebViewImpl::suppressInvalidations):
495 (WebKit::WebViewImpl::setRootGraphicsLayer):
496
497 2013-02-25 Sheriff Bot <webkit.review.bot@gmail.com>
498
499 Unreviewed, rolling out r143936.
500 http://trac.webkit.org/changeset/143936
501 https://bugs.webkit.org/show_bug.cgi?id=110789
502
503 Causes webkit_unit_tests failures on android dbg (Requested by
504 vollick on #webkit).
505
506 * WebKit.gyp:
507 * WebKit.gypi:
508 * tests/GIFImageDecoderTest.cpp: Removed.
509 * tests/data/broken.gif: Removed.
510
511 2013-02-25 Alpha Lam <hclam@chromium.org>
512
513 GIFImageReader to read from source data directly
514 https://bugs.webkit.org/show_bug.cgi?id=109662
515
516 Reviewed by Stephen White.
517
518 Added the following unit tests to test new logic in GIFImageDecoder:
519
520 GIFImageDecoderTest.decodeTwoFrames
521 Test that it can decode a multi-frame GIF image correctly.
522
523 GIFImageDecoderTest.parseAndDecode
524 First perform a parse operation and then a decode operation. Expect
525 that parse and decode operates correctly.
526
527 GIFImageDecoderTest.parseByteByByte
528 Test that multi-frame GIF image can be parsed correctly byte by byte.
529
530 GIFImageDecoderTest.parseAndDecodeByteByByte
531 Run a loop to feed decoder byte by byte, perform a parse and then
532 decode operation and make sure frames are decoded correctly.
533
534 GIFImageDecoderTest.brokenSecondFrame
535 Decode a GIF image with second frame broken. Expect that the first
536 frame can be decoded correctly.
537
538 * WebKit.gyp:
539 * WebKit.gypi:
540 * tests/GIFImageDecoderTest.cpp: Added.
541 (WebKit):
542 (WebKit::readFile):
543 (WebKit::TEST):
544 * tests/data/broken.gif: Added.
545
546 2013-02-25 Andrey Kosyakov <caseq@chromium.org>
547
548 Unreviewed follow-up to r143725, reduce chances test flakes on a slow bo x.
549
550 * src/js/Tests.js:
551 (.TestSuite.prototype.testPageOverlayUpdate.step2):
552
553 2013-02-25 Anton Vayvod <avayvod@chromium.org>
554
555 [Chromium] Disable registerProtocolHandler on Android
556 https://bugs.webkit.org/show_bug.cgi?id=110481
557
558 Reviewed by Julien Chaffraix.
559
560 Chromium for Android has been exposing registerProtocolHandler, but the feature wasn't
561 actually wired up internally. Disable the feature to avoid breaking feat ure detection until
562 we can implement it properly. Previous attempt is at http://trac.webkit. org/changeset/133465
563 See the discussion of the future implementation at http://crbug.com/1563 86
564
565 * features.gypi: Disable the flag for Android, enable it only for non-An droid platforms.
566
567 * src/ChromeClientImpl.h: Declaration is now guarded by the flag, not to break Android.
568
569 2013-02-24 Hajime Morrita <morrita@google.com>
570
571 [Custom Elements] Implement bare-bone document.register()
572 https://bugs.webkit.org/show_bug.cgi?id=100229
573
574 Reviewed by Adam Barth.
575
576 Added enableCustomDOMElements flag.
577
578 * features.gypi:
579 * public/WebRuntimeFeatures.h:
580 (WebRuntimeFeatures):
581 * src/WebRuntimeFeatures.cpp:
582 (WebKit::WebRuntimeFeatures::enableCustomDOMElements):
583 (WebKit):
584 (WebKit::WebRuntimeFeatures::isCustomDOMElementsEnabled):
585
586 2013-02-23 Mark Pilgrim <pilgrim@chromium.org>
587
588 [Chromium] WebKit::initialize should take a Platform* now that WebKitPla tformSupport is empty
589 https://bugs.webkit.org/show_bug.cgi?id=110605
590
591 Reviewed by Adam Barth.
592
593 Part of a larger refactoring series; see tracking bug 82948.
594
595 * public/WebKit.h:
596 (WebKit):
597 * src/WebKit.cpp:
598 (WebKit::initialize):
599 (WebKit::initializeWithoutV8):
600 (WebKit::webKitPlatformSupport):
601
602 2013-02-22 David Dorwin <ddorwin@chromium.org>
603
604 [chromium] Remove call to detach WebHelperPluginImpl's frame since it is never attached
605 https://bugs.webkit.org/show_bug.cgi?id=110668
606
607 Reviewed by Adam Barth.
608
609 This fixes http://crbug.com/172764
610
611 * src/WebHelperPluginImpl.cpp:
612 (WebKit::WebHelperPluginImpl::destoryPage):
613
614 2013-02-22 Aaron Colwell <acolwell@chromium.org>
615
616 Factor MediaSource methods out of MediaPlayer & MediaPlayerPrivate and i nto a new MediaSourcePrivate interface.
617 https://bugs.webkit.org/show_bug.cgi?id=109857
618
619 Reviewed by Adam Barth.
620
621 WebMediaSource and WebMediaSource client were created to replace the Med iaSource methods in WebMediaPlayer and
622 WebMediaPlayerClient. This allows the MediaSource implementation to be u pdated without further polluting the
623 media player interfaces.
624
625 * WebKit.gyp:
626 * public/WebMediaPlayer.h:
627 (WebMediaPlayer):
628 (WebKit::WebMediaPlayer::load):
629 * public/WebMediaPlayerClient.h:
630 (WebKit):
631 * public/WebMediaSource.h: Added.
632 (WebKit):
633 (WebMediaSource):
634 (WebKit::WebMediaSource::~WebMediaSource):
635 * public/WebMediaSourceClient.h: Added.
636 (WebKit):
637 (WebMediaSourceClient):
638 (WebKit::WebMediaSourceClient::~WebMediaSourceClient):
639 * src/AssertMatchingEnums.cpp:
640 * src/WebMediaPlayerClientImpl.cpp:
641 (WebKit):
642 (WebMediaSourceClientImpl): Temporary WebMediaSourceClient implementatio n to keep things working until Chromium
643 changes land.
644 (WebKit::WebMediaSourceClientImpl::WebMediaSourceClientImpl):
645 (WebKit::WebMediaSourceClientImpl::~WebMediaSourceClientImpl):
646 (WebKit::WebMediaSourceClientImpl::addId):
647 (WebKit::WebMediaSourceClientImpl::removeId):
648 (WebKit::WebMediaSourceClientImpl::buffered):
649 (WebKit::WebMediaSourceClientImpl::append):
650 (WebKit::WebMediaSourceClientImpl::abort):
651 (WebKit::WebMediaSourceClientImpl::duration):
652 (WebKit::WebMediaSourceClientImpl::setDuration):
653 (WebKit::WebMediaSourceClientImpl::endOfStream):
654 (WebKit::WebMediaSourceClientImpl::setTimestampOffset):
655 (WebKit::WebMediaPlayerClientImpl::sourceOpened):
656 (WebKit::WebMediaPlayerClientImpl::sourceURL):
657 (WebKit::WebMediaPlayerClientImpl::load):
658 (WebKit::WebMediaPlayerClientImpl::loadRequested):
659 (WebKit::WebMediaPlayerClientImpl::loadInternal):
660 * src/WebMediaPlayerClientImpl.h:
661 (WebMediaPlayerClientImpl):
662 * src/WebMediaSourceImpl.cpp: Added.
663 (WebKit):
664 (MediaSourcePrivateImpl):
665 (WebKit::MediaSourcePrivateImpl::~MediaSourcePrivateImpl):
666 (WebKit::MediaSourcePrivateImpl::MediaSourcePrivateImpl):
667 (WebKit::MediaSourcePrivateImpl::addId):
668 (WebKit::MediaSourcePrivateImpl::removeId):
669 (WebKit::MediaSourcePrivateImpl::buffered):
670 (WebKit::MediaSourcePrivateImpl::append):
671 (WebKit::MediaSourcePrivateImpl::abort):
672 (WebKit::MediaSourcePrivateImpl::duration):
673 (WebKit::MediaSourcePrivateImpl::setDuration):
674 (WebKit::MediaSourcePrivateImpl::endOfStream):
675 (WebKit::MediaSourcePrivateImpl::setTimestampOffset):
676 (WebKit::WebMediaSourceImpl::WebMediaSourceImpl):
677 (WebKit::WebMediaSourceImpl::~WebMediaSourceImpl):
678 (WebKit::WebMediaSourceImpl::open):
679 * src/WebMediaSourceImpl.h: Added.
680 (WebKit):
681 (WebMediaSourceImpl):
682
683 2013-02-22 Alec Flett <alecflett@chromium.org>
684
685 IndexedDB: Remove old SerializedScriptValue-based get() callbacks
686 https://bugs.webkit.org/show_bug.cgi?id=110626
687
688 Reviewed by James Robinson.
689
690 Removal now that refactoring is complete.
691
692 * public/WebIDBCallbacks.h:
693 (WebKit):
694
695 2013-02-22 Ali Juma <ajuma@chromium.org>
696
697 [chromium] Register newly-created layers for animation
698 https://bugs.webkit.org/show_bug.cgi?id=106594
699
700 Reviewed by James Robinson.
701
702 * WebKit.gyp:
703 * src/ChromeClientImpl.cpp:
704 (WebKit::ChromeClientImpl::ChromeClientImpl):
705 (WebKit::ChromeClientImpl::graphicsLayerFactory):
706 * src/ChromeClientImpl.h:
707 (ChromeClientImpl):
708 * src/GraphicsLayerFactoryChromium.cpp: Added.
709 (WebKit):
710 (WebKit::GraphicsLayerFactoryChromium::GraphicsLayerFactoryChromium):
711 (WebKit::GraphicsLayerFactoryChromium::~GraphicsLayerFactoryChromium):
712 (WebKit::GraphicsLayerFactoryChromium::createGraphicsLayer):
713 * src/GraphicsLayerFactoryChromium.h: Added.
714 (WebKit):
715 (GraphicsLayerFactoryChromium):
716 * src/WebViewImpl.cpp:
717 (WebKit::WebViewImpl::WebViewImpl):
718 (WebKit::WebViewImpl::graphicsLayerFactory):
719 (WebKit):
720 (WebKit::WebViewImpl::registerForAnimations):
721 * src/WebViewImpl.h:
722 (WebViewImpl):
723
724 2013-02-22 Fady Samuel <fsamuel@chromium.org>
725
726 [Chromium] Expose shadowRoot to the WebKit API
727 https://bugs.webkit.org/show_bug.cgi?id=110522
728
729 Reviewed by Dimitri Glazkov.
730
731 * public/WebElement.h:
732 (WebElement):
733 * src/WebElement.cpp:
734 (WebKit::WebElement::shadowRoot):
735 (WebKit):
736
737 2013-02-22 Sheriff Bot <webkit.review.bot@gmail.com>
738
739 Unreviewed, rolling out r143734.
740 http://trac.webkit.org/changeset/143734
741 https://bugs.webkit.org/show_bug.cgi?id=110615
742
743 Causes linux build failures. (Requested by vollick on
744 #webkit).
745
746 * public/WebKit.h:
747 (WebKit):
748 * src/WebKit.cpp:
749 (WebKit::initialize):
750 (WebKit::initializeWithoutV8):
751 (WebKit::webKitPlatformSupport):
752
753 2013-02-22 Mikhail Naganov <mnaganov@chromium.org>
754
755 [Chromium] Add support for emulating legacy Android WebView 'setInitialS cale' method
756 https://bugs.webkit.org/show_bug.cgi?id=109946
757
758 Adding a WebView method for permanently setting initial page scale.
759 This override has higher priority than any calculated page scale
760 and viewport meta tag value.
761
762 Also, this patch eliminates a dubious "fixed layout enabled, viewport di sabled" mode
763 previously used by Android WebView.
764
765 Reviewed by Adam Barth.
766
767 * public/WebView.h:
768 (WebView):
769 * src/ChromeClientImpl.cpp:
770 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
771 * src/WebViewImpl.cpp:
772 (WebKit::WebViewImpl::WebViewImpl):
773 (WebKit::WebViewImpl::setInitialPageScaleOverride):
774 (WebKit):
775 (WebKit::WebViewImpl::computePageScaleFactorLimits):
776 * src/WebViewImpl.h:
777 * tests/WebFrameTest.cpp:
778
779 2013-02-22 Mark Pilgrim <pilgrim@chromium.org>
780
781 [Chromium] WebKit::initialize should take a Platform* now that WebKitPla tformSupport is empty
782 https://bugs.webkit.org/show_bug.cgi?id=110605
783
784 Reviewed by Adam Barth.
785
786 Part of a larger refactoring series; see tracking bug 82948.
787
788 * public/WebKit.h:
789 (WebKit):
790 * src/WebKit.cpp:
791 (WebKit::initialize):
792 (WebKit::initializeWithoutV8):
793 (WebKit::webKitPlatformSupport):
794
795 2013-02-22 Andrey Kosyakov <caseq@chromium.org>
796
797 Web Inspector: [Chromium] add a browser test for frames on timeline
798 https://bugs.webkit.org/show_bug.cgi?id=110592
799
800 - factor out timeline recording logic from testPageOverlayUpdate for reu se;
801 - record timeline while running a simple DOM-based animation;
802 - assure we have frames and Style Recalc/Layout/Paint events in between.
803
804 Reviewed by Yury Semikhatsky.
805
806 * src/js/Tests.js:
807 (.TestSuite.prototype.assertHasKey):
808 (.TestSuite.prototype.testTimelineFrames.step1):
809 (.TestSuite.prototype.testTimelineFrames.onTimelineRecorded):
810 (.TestSuite.prototype.testTimelineFrames):
811 (.TestSuite.prototype.testPageOverlayUpdate.step4):
812 (.TestSuite.prototype.testPageOverlayUpdate.onTimelineRecorded):
813 (.TestSuite.prototype.recordTimeline.addRecord):
814 (.TestSuite.prototype.recordTimeline.innerAddRecord):
815 (.TestSuite.prototype.recordTimeline.done):
816 (.TestSuite.prototype.recordTimeline):
817 (.TestSuite.prototype.stopTimeline):
818
819 2013-02-21 Alec Flett <alecflett@chromium.org>
820
821 IndexedDB: Implement SharedBuffer version of put() / onSuccess()
822 https://bugs.webkit.org/show_bug.cgi?id=110398
823
824 Reviewed by Tony Chang.
825
826 Proxy new SharedBuffer calls to WebIDBCallbacks through
827 to the new SharedBuffer-based IDBCallbacks.
828
829 * public/WebIDBCursor.h:
830 * src/IDBCallbacksProxy.cpp:
831 (WebKit::IDBCallbacksProxy::onSuccess):
832 (WebKit::IDBCallbacksProxy::onSuccessWithPrefetch):
833 * src/IDBCallbacksProxy.h:
834 (IDBCallbacksProxy):
835 * src/WebIDBCallbacksImpl.cpp:
836 (WebKit::WebIDBCallbacksImpl::onSuccess):
837 * src/WebIDBCallbacksImpl.h:
838 (WebIDBCallbacksImpl):
839 * tests/IDBAbortOnCorruptTest.cpp:
840 (WebCore::MockIDBCallbacks::onSuccess):
841 (WebCore::MockIDBCallbacks::onSuccessWithPrefetch):
842 * tests/IDBDatabaseBackendTest.cpp:
843 * tests/IDBRequestTest.cpp:
844 (WebKit::TEST_F):
845
846 2013-02-21 Grzegorz Czajkowski <g.czajkowski@samsung.com>
847
848 Allow to retrieve the request data from abstract TextCheckingRequest to be accessible for WK2
849 https://bugs.webkit.org/show_bug.cgi?id=110208
850
851 Reviewed by Hajime Morrita.
852
853 * src/EditorClientImpl.cpp:
854 (WebKit::EditorClientImpl::requestCheckingOfString):
855 Extract the request data as it is the member of 'TextCheckingRequest'.
856
857 2013-02-21 Mark Pilgrim <pilgrim@chromium.org>
858
859 [Chromium] Remove chromium/public/platform directory
860 https://bugs.webkit.org/show_bug.cgi?id=110471
861
862 Reviewed by Adam Barth.
863
864 Part of a larger refactoring series; see tracking bug 82948.
865
866 * WebKit.gyp:
867 * public/platform: Removed.
868 * public/platform/WebKitPlatformSupport.h: Removed.
869 * public/platform/android: Removed.
870 * public/platform/default: Removed.
871 * public/platform/linux: Removed.
872 * public/platform/mac: Removed.
873 * public/platform/win: Removed.
874 * src/WebKit.cpp:
875
876 2013-02-21 Dirk Pranke <dpranke@chromium.org>
877
878 [chromium] support the lucid version of freetype on precise in DRT
879 https://bugs.webkit.org/show_bug.cgi?id=107338
880
881 Reviewed by Tony Chang.
882
883 Add in a linux-only dependency on Freetype2 so that we can
884 match the version shipped in Ubuntu Lucid.
885
886 * DEPS:
887
888 2013-02-21 Sheriff Bot <webkit.review.bot@gmail.com>
889
890 Unreviewed. Rolled Chromium DEPS to r183905. Requested by
891 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
892
893 * DEPS:
894
895 2013-02-21 Alec Flett <alecflett@chromium.org>
896
897 IndexedDB: Remove copying WebIDBDatabase::put() stub
898 https://bugs.webkit.org/show_bug.cgi?id=109967
899
900 Reviewed by Darin Fisher.
901
902 Now that the chromium call to this method has
903 been removed, we can remove the stub.
904
905 * public/WebIDBDatabase.h:
906
907 2013-02-21 Dirk Pranke <dpranke@chromium.org>
908
909 Unreviewed, roll chromium deps 183552 -> 183788
910
911 * DEPS:
912
913 2013-02-21 John Mellor <johnme@chromium.org>
914
915 [chromium] Simplify computation of screenRect/windowRect.
916 https://bugs.webkit.org/show_bug.cgi?id=110456
917
918 Reviewed by Adam Barth.
919
920 This patch removes applyDeviceScaleFactorInCompositor checks
921 added by http://trac.webkit.org/changeset/139356 because
922 Chrome for Android now sizes its screen and window in DIP
923 units (like other platforms), so they are no longer necessary.
924
925 * src/ChromeClientImpl.cpp:
926 (WebKit::ChromeClientImpl::windowRect):
927
928 2013-02-21 Vsevolod Vlasov <vsevik@chromium.org>
929
930 Web Inspector: Get rid of parsedURL in uiSourceCode, use name and path f or displayName instead.
931 https://bugs.webkit.org/show_bug.cgi?id=110335
932
933 Reviewed by Alexander Pavlov.
934
935 * src/js/Tests.js:
936 (.TestSuite.prototype._scriptsAreParsed):
937
938 2013-02-21 Ken Kania <kkania@chromium.org>
939
940 Web Inspector: Add command for selecting files for file input element
941 https://bugs.webkit.org/show_bug.cgi?id=109308
942
943 Reviewed by Pavel Feldman.
944
945 * src/InspectorClientImpl.cpp:
946 (WebKit::InspectorClientImpl::canSetFileInputFiles):
947 (WebKit):
948 * src/InspectorClientImpl.h:
949 (InspectorClientImpl):
950
951 2013-02-20 Paweł Hajdan, Jr. <phajdan.jr@chromium.org>
952
953 Add gyp option to switch ENABLE(SQL_DATABASE)
954 https://bugs.webkit.org/show_bug.cgi?id=109303
955 http://code.google.com/p/chromium/issues/detail?id=22208
956
957 Reviewed by Tony Chang.
958
959 This will be useful to implement build with system sqlite.
960
961 * features.gypi:
962 * src/ChromeClientImpl.cpp:
963 (WebKit):
964 * src/ChromeClientImpl.h:
965 (ChromeClientImpl):
966
967 2013-02-20 Dirk Schulze <krit@webkit.org>
968
969 Enable CANVAS_PATH flag
970 https://bugs.webkit.org/show_bug.cgi?id=108508
971
972 Reviewed by Simon Fraser.
973
974 Enable CANVAS_PATH flag on trunk.
975
976 * features.gypi:
977
978 2013-02-15 Dirk Schulze <krit@webkit.org>
979
980 [Chromium] Add runtime flag for CanvasPath
981 https://bugs.webkit.org/show_bug.cgi?id=109997
982
983 Reviewed by Adam Barth.
984
985 Add runtime flag for Chromium.
986
987 * public/WebRuntimeFeatures.h:
988 (WebRuntimeFeatures):
989 * src/WebRuntimeFeatures.cpp:
990 (WebKit::WebRuntimeFeatures::enableCanvasPath):
991 (WebKit):
992 (WebKit::WebRuntimeFeatures::isCanvasPathEnabled):
993
994 2013-02-20 Mark Pilgrim <pilgrim@chromium.org>
995
996 [Chromium] Move WebKitPlatformSupport declaration to Platform.h
997 https://bugs.webkit.org/show_bug.cgi?id=110262
998
999 Reviewed by Adam Barth.
1000
1001 In preparation for removing WebKitPlatformSupport.h entirely (once
1002 downstream references to that file have been updated). Part of a
1003 larger refactoring series; see tracking bug 82948.
1004
1005 * public/platform/WebKitPlatformSupport.h:
1006
1007 2013-02-20 Mark Pilgrim <pilgrim@chromium.org>
1008
1009 [Chromium] Remove idbFactory from WebKitPlatformSupport
1010 https://bugs.webkit.org/show_bug.cgi?id=106457
1011
1012 Reviewed by Adam Barth.
1013
1014 Now that https://codereview.chromium.org/12230054 has landed, the
1015 idbFactory method is no longer needed. (Embedders must now call
1016 the new setIDBFactory method upon initialization.) Part of a
1017 larger refactoring series; see tracking bug 82948.
1018
1019 * public/platform/WebKitPlatformSupport.h:
1020 (WebKit):
1021 * src/IDBFactoryBackendProxy.cpp:
1022 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1023
1024 2013-02-20 Mark Lam <mark.lam@apple.com>
1025
1026 Rename DatabaseBackend to DatabaseBackendBase.
1027 https://bugs.webkit.org/show_bug.cgi?id=110303.
1028
1029 Rubber stamped by Alexey Proskuryakov.
1030
1031 * public/WebDatabase.h:
1032 (WebDatabase):
1033 * src/DatabaseObserver.cpp:
1034 (WebCore::DatabaseObserver::databaseOpened):
1035 (WebCore::DatabaseObserver::databaseModified):
1036 (WebCore::DatabaseObserver::databaseClosed):
1037 (WebCore::DatabaseObserver::reportOpenDatabaseResult):
1038 (WebCore::DatabaseObserver::reportChangeVersionResult):
1039 (WebCore::DatabaseObserver::reportStartTransactionResult):
1040 (WebCore::DatabaseObserver::reportCommitTransactionResult):
1041 (WebCore::DatabaseObserver::reportExecuteStatementResult):
1042 (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
1043 * src/WebDatabase.cpp:
1044 (WebKit::WebDatabase::WebDatabase):
1045
1046 2013-02-20 Rouslan Solomakhin <rouslan@chromium.org>
1047
1048 Fix use after free in ContextMenuClientImpl.cpp
1049 https://bugs.webkit.org/show_bug.cgi?id=109220
1050
1051 Reviewed by Tony Chang.
1052
1053 ContextMenuClientImpl can use a DocumentMarker after it is freed. The Do cumentMarker is originally allocated
1054 by the spell checker. When the user context-clicks on a misspelling, Con textMenuClientImpl saves a reference
1055 to the clicked DocumentMarker, changes the selection, and then uses the DocumentMarker. Changing the selection
1056 causes re-check of spelling. If the spell check client serves the spellc heck request from cache, then re-checking
1057 spelling will delete the DocumentMarker and add a new one. This invalida tes the DocumentMarker reference held by
1058 ContextMenuClientImpl. When ContextMenuClientImpl attempts to use the Do cumentMarker, Address Sanitizer detects
1059 use after free. The fix is to save a copy of the DocumentMarker before c hanging selection.
1060
1061 * src/ContextMenuClientImpl.cpp:
1062 (WebKit::selectMisspellingAsync): Save a copy of DocumentMarker before c hanging selection.
1063 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Use Docu mentMarker instead of Vector<DocumentMarker*>.
1064
1065 2013-02-20 Sheriff Bot <webkit.review.bot@gmail.com>
1066
1067 Unreviewed. Rolled Chromium DEPS to r183552. Requested by
1068 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
1069
1070 * DEPS:
1071
1072 2013-02-19 Adrienne Walker <enne@chromium.org>
1073
1074 Unreviewed, rolling out r143382 and r143401.
1075 http://trac.webkit.org/changeset/143382
1076 http://trac.webkit.org/changeset/143401
1077 https://bugs.webkit.org/show_bug.cgi?id=106457
1078
1079 Breaks Chromium win/mac canary compilation
1080
1081 * public/platform/WebKitPlatformSupport.h:
1082 (WebKit):
1083 (WebKitPlatformSupport):
1084 (WebKit::WebKitPlatformSupport::idbFactory):
1085 (WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
1086 * src/IDBFactoryBackendProxy.cpp:
1087 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1088
1089 2013-02-19 Mark Pilgrim <pilgrim@chromium.org>
1090
1091 [Chromium] Move WebKitPlatformSupport declaration to Platform.h
1092 https://bugs.webkit.org/show_bug.cgi?id=110262
1093
1094 Reviewed by Adam Barth.
1095
1096 In preparation for removing WebKitPlatformSupport.h entirely (once
1097 downstream references to that file have been updated). Part of a
1098 larger refactoring series; see tracking bug 82948.
1099
1100 * public/platform/WebKitPlatformSupport.h:
1101
1102 2013-02-19 Mark Pilgrim <pilgrim@chromium.org>
1103
1104 [Chromium] Remove idbFactory from WebKitPlatformSupport
1105 https://bugs.webkit.org/show_bug.cgi?id=106457
1106
1107 Reviewed by Kentaro Hara.
1108
1109 Now that https://codereview.chromium.org/12230054 has landed, the
1110 idbFactory method is no longer needed. (Embedders must now call
1111 the new setIDBFactory method upon initialization.) Part of a
1112 larger refactoring series; see tracking bug 82948.
1113
1114 * public/platform/WebKitPlatformSupport.h:
1115 (WebKit):
1116 * src/IDBFactoryBackendProxy.cpp:
1117 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1118
1119 2013-02-19 Alexandre Elias <aelias@chromium.org>
1120
1121 [chromium] Fix races in double-tap zoom minimum scale policy
1122 https://bugs.webkit.org/show_bug.cgi?id=110183
1123
1124 Reviewed by Adam Barth.
1125
1126 Double-tap zoom on Android is supposed to return to minimum scale
1127 if no pinch zoom occurred since the last double-tap. Because both
1128 pinch zoom and the result of double-tap zoom gets passed in from CC
1129 via applyScrollAndScale, this logic was brittle and prone to races
1130 depending on when the animation update was received. This patch
1131 keeps track of what the target double-tap scale is to make it more
1132 robust.
1133
1134 I also fixed double-tap zoom test mocking to exercise the entire
1135 page scale animation flow (our previous way of testing was hiding the
1136 raciness), and added a new test case in DivAutoZoomMultipleParamsTest.
1137
1138 * src/WebViewImpl.cpp:
1139 (WebKit::WebViewImpl::WebViewImpl):
1140 (WebKit::WebViewImpl::startPageScaleAnimation):
1141 (WebKit):
1142 (WebKit::WebViewImpl::enableFakeDoubleTapAnimationForTesting):
1143 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
1144 (WebKit::WebViewImpl::animateZoomAroundPoint):
1145 (WebKit::WebViewImpl::didCommitLoad):
1146 (WebKit::WebViewImpl::applyScrollAndScale):
1147 * src/WebViewImpl.h:
1148 (WebViewImpl):
1149 (WebKit::WebViewImpl::fakeDoubleTapAnimationPendingForTesting):
1150 (WebKit::WebViewImpl::fakeDoubleTapTargetPositionForTesting):
1151 (WebKit::WebViewImpl::fakeDoubleTapPageScaleFactorForTesting):
1152 (WebKit::WebViewImpl::fakeDoubleTapUseAnchorForTesting):
1153 * tests/WebFrameTest.cpp:
1154
1155 2013-02-19 Joshua Bell <jsbell@chromium.org>
1156
1157 IndexedDB: additional checks on LevelDB decoding
1158 https://bugs.webkit.org/show_bug.cgi?id=109711
1159
1160 Reviewed by Tony Chang.
1161
1162 * tests/IDBLevelDBCodingTest.cpp: Update test with new method signatures .
1163
1164 2013-02-19 Jochen Eisinger <jochen@chromium.org>
1165
1166 [chromium] fix ScrollAnimatorNoneTest after r143295
1167 https://bugs.webkit.org/show_bug.cgi?id=110189
1168
1169 Reviewed by Nico Weber.
1170
1171 * tests/ScrollAnimatorNoneTest.cpp:
1172 (MockScrollableArea):
1173
1174 2013-02-18 Simon Fraser <simon.fraser@apple.com>
1175
1176 Clean up the boolean argument to visibleContentRect
1177 https://bugs.webkit.org/show_bug.cgi?id=110167
1178
1179 Reviewed by Simon Fraser.
1180
1181 Replace the boolean argument to visibleContentRect() with
1182 an enum.
1183
1184 * src/ChromeClientImpl.cpp:
1185 (WebKit::ChromeClientImpl::popupOpened):
1186
1187 2013-02-18 Sheriff Bot <webkit.review.bot@gmail.com>
1188
1189 Unreviewed. Rolled Chromium DEPS to r183105. Requested by
1190 thakis_ via sheriffbot.
1191
1192 * DEPS:
1193
1194 2013-02-18 Nico Weber <thakis@chromium.org>
1195
1196 [chromium] Remove ahem_path from WebKit.gyp
1197 https://bugs.webkit.org/show_bug.cgi?id=110111
1198
1199 Reviewed by Jochen Eisinger.
1200
1201 It's only used in DumpRenderTree.gyp, and that file defines its own
1202 copy of this variable.
1203
1204 * WebKit.gyp:
1205
1206 2013-02-18 Laszlo Gombos <l.gombos@samsung.com>
1207
1208 Move ENABLE macros for WebCore out from Platform.h
1209 https://bugs.webkit.org/show_bug.cgi?id=105735
1210
1211 Move the chromium specific WebCore ENABLE macro definitions
1212 from Platform.h to features.gypi.
1213
1214 Reviewed by Darin Adler and Benjamin Poulain.
1215
1216 * features.gypi: Set ENABLE_SUBPIXEL_LAYOUT to 1.
1217
1218 2013-02-15 Alec Flett <alecflett@chromium.org>
1219
1220 IndexedDB: Stub out SharedBuffer version of get()
1221 https://bugs.webkit.org/show_bug.cgi?id=108993
1222
1223 Reviewed by Darin Fisher.
1224
1225 All asynchronous get()-like calls go through WebIDBCallbacks,
1226 so this includes both get() and cursor callbacks.
1227
1228 * public/WebIDBCallbacks.h:
1229 (WebKit::WebIDBCallbacks::onSuccess):
1230 (WebKit::WebIDBCallbacks::onSuccessWithPrefetch):
1231
1232 2013-02-15 Alec Flett <alecflett@chromium.org>
1233
1234 IndexedDB: fix chromium windows bustage
1235 https://bugs.webkit.org/show_bug.cgi?id=109970
1236
1237 Unreviewed build fix for Chromium Windows.
1238
1239 * tests/IDBDatabaseBackendTest.cpp:
1240
1241 2013-02-15 Alec Flett <alecflett@chromium.org>
1242
1243 IndexedDB: Implement SharedBuffer version of put()
1244 https://bugs.webkit.org/show_bug.cgi?id=109092
1245
1246 Reviewed by Adam Barth.
1247
1248 Implement SharedBuffer/WebData version of
1249 IDBDatabaseBackendInterface::put, and put
1250 temporary scaffolding in until chrome is ready.
1251
1252 * src/IDBDatabaseBackendProxy.cpp:
1253 (WebKit::IDBDatabaseBackendProxy::put):
1254 * src/IDBDatabaseBackendProxy.h:
1255 (IDBDatabaseBackendProxy):
1256 * src/WebIDBDatabaseImpl.cpp:
1257 (WebKit::WebIDBDatabaseImpl::put):
1258 (WebKit):
1259 * src/WebIDBDatabaseImpl.h:
1260 (WebIDBDatabaseImpl):
1261 * tests/IDBDatabaseBackendTest.cpp:
1262
1263 2013-02-15 Alexandre Elias <aelias@chromium.org>
1264
1265 [chromium] WebInputEventBuilders should not reverse page scale
1266 https://bugs.webkit.org/show_bug.cgi?id=109901
1267
1268 Reviewed by James Robinson.
1269
1270 Though in theory logical that if WebInputEvent -> PlatformEvent
1271 conversions divide by page scale, then the reverse builders should
1272 multiply, in reality the only user of the reverse builders is
1273 plugins which expect the same coordinate space as WebCore.
1274
1275 * src/WebInputEventConversion.cpp:
1276 (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
1277 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1278 (WebKit::addTouchPoints):
1279 (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
1280 * tests/WebInputEventConversionTest.cpp:
1281 (WebCore::TEST):
1282
1283 2013-02-15 Anders Carlsson <andersca@apple.com>
1284
1285 Remove const from a bunch of StorageArea member functions
1286 https://bugs.webkit.org/show_bug.cgi?id=109957
1287
1288 Reviewed by Beth Dakin.
1289
1290 Update for WebCore changes.
1291
1292 * src/StorageAreaProxy.cpp:
1293 (WebCore::StorageAreaProxy::length):
1294 (WebCore::StorageAreaProxy::key):
1295 (WebCore::StorageAreaProxy::getItem):
1296 (WebCore::StorageAreaProxy::contains):
1297 (WebCore::StorageAreaProxy::canAccessStorage):
1298 (WebCore::StorageAreaProxy::memoryBytesUsedByCache):
1299 * src/StorageAreaProxy.h:
1300 (StorageAreaProxy):
1301
1302 2013-02-15 Keishi Hattori <keishi@webkit.org>
1303
1304 PagePopupController.formatMonth should support short month format
1305 https://bugs.webkit.org/show_bug.cgi?id=109530
1306
1307 Reviewed by Kent Tamura.
1308
1309 * tests/LocaleMacTest.cpp:
1310 (LocaleMacTest::formatMonth):
1311 (TEST_F):
1312
1313 2013-02-15 Keishi Hattori <keishi@webkit.org>
1314
1315 Add setValue and closePopup methods to PagePopupController
1316 https://bugs.webkit.org/show_bug.cgi?id=109897
1317
1318 Reviewed by Kent Tamura.
1319
1320 * src/ColorChooserPopupUIController.cpp:
1321 (WebKit::ColorChooserPopupUIController::setValue):
1322 (WebKit):
1323 * src/ColorChooserPopupUIController.h:
1324 (ColorChooserPopupUIController):
1325 * src/DateTimeChooserImpl.cpp:
1326 (WebKit::DateTimeChooserImpl::setValueAndClosePopup): Use setValue and c losePopup.
1327 (WebKit):
1328 (WebKit::DateTimeChooserImpl::setValue):
1329 (WebKit::DateTimeChooserImpl::closePopup):
1330 * src/DateTimeChooserImpl.h:
1331 (DateTimeChooserImpl):
1332
1333 2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
1334
1335 Simplify hitTestResultAtPoint and nodesFromRect APIs
1336 https://bugs.webkit.org/show_bug.cgi?id=95720
1337
1338 Reviewed by Julien Chaffraix.
1339
1340 Update calls to new API.
1341
1342 * src/ContextMenuClientImpl.cpp:
1343 (WebKit::selectMisspelledWord):
1344 * src/FrameLoaderClientImpl.cpp:
1345 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction) :
1346 * src/WebFrameImpl.cpp:
1347 (WebKit::WebFrameImpl::characterIndexForPoint):
1348 * src/WebPluginContainerImpl.cpp:
1349 (WebKit::WebPluginContainerImpl::isRectTopmost):
1350 * src/WebViewImpl.cpp:
1351 (WebKit::WebViewImpl::handleMouseDown):
1352 (WebKit::WebViewImpl::computeBlockBounds):
1353 (WebKit::WebViewImpl::bestTouchLinkNode):
1354 (WebKit::WebViewImpl::hitTestResultForWindowPos):
1355
1356 2013-02-14 Vsevolod Vlasov <vsevik@chromium.org>
1357
1358 Unreviewed chromium test fix: incorrect field was used for UISourceCode url.
1359
1360 * src/js/Tests.js:
1361 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplica tes):
1362 (.TestSuite.prototype.uiSourceCodesToString_):
1363
1364 2013-02-14 David Trainor <dtrainor@chromium.org>
1365
1366 [chromium] No triggering autofill on unfocus
1367 https://bugs.webkit.org/show_bug.cgi?id=109735
1368
1369 Reviewed by James Robinson.
1370
1371 Need to notify the autofill client to not process text changes when we'r e setting
1372 focus to false and are trying to commit a composition.
1373
1374 * public/WebAutofillClient.h:
1375 (WebAutofillClient):
1376 (WebKit::WebAutofillClient::setIgnoreTextChanges):
1377 (WebKit::WebAutofillClient::~WebAutofillClient):
1378 * src/WebViewImpl.cpp:
1379 (WebKit::WebViewImpl::setFocus):
1380 * tests/WebViewTest.cpp:
1381
1382 2013-02-14 Alexandre Elias <aelias@chromium.org>
1383
1384 [chromium] Fix scaling in WebViewImpl::handleGestureEvent, second try
1385 https://bugs.webkit.org/show_bug.cgi?id=109671
1386
1387 Reviewed by James Robinson.
1388
1389 My patch 142571 broke a bunch of things in handleGestureEvent that
1390 assumed the event came in scaled, most notably tap highlight and
1391 double-tap zoom. Switch those to PlatformGestureEvent.
1392
1393 142808 was an earlier version of this patch that was reverted
1394 due to fling events asserting they can't be converted to
1395 PlatformGestureEvent. This version moves fling earlier in the
1396 function to avoid that.
1397
1398 * src/WebViewImpl.cpp:
1399 (WebKit::WebViewImpl::handleGestureEvent):
1400 (WebKit::WebViewImpl::bestTapNode):
1401 (WebKit::WebViewImpl::enableTapHighlight):
1402 * src/WebViewImpl.h:
1403 (WebViewImpl):
1404 * tests/LinkHighlightTest.cpp:
1405 (WebCore::TEST):
1406
1407 2013-02-14 Dirk Pranke <dpranke@chromium.org>
1408
1409 Unreviewed, rolling out r142901.
1410 http://trac.webkit.org/changeset/142901
1411
1412 r182258 introduces a dependency on chrome.gyp that breaks the win
1413 build. Rolling back to r182150 until I can work up a workaround.
1414
1415 * DEPS:
1416
1417 2013-02-14 Dirk Pranke <dpranke@chromium.org>
1418
1419 Unreviewed, chromium roll 182150 -> 182448
1420
1421 * DEPS:
1422
1423 2013-02-14 Mark Pilgrim <pilgrim@chromium.org>
1424
1425 [Chromium] Move PlatformMessagePortChannel to WebCore
1426 https://bugs.webkit.org/show_bug.cgi?id=109845
1427
1428 Reviewed by Adam Barth.
1429
1430 Part of a larger refactoring series; see tracking bug 106829.
1431
1432 * WebKit.gyp:
1433 * src/PlatformMessagePortChannel.cpp: Removed.
1434 * src/PlatformMessagePortChannel.h: Removed.
1435 * src/SharedWorkerRepository.cpp:
1436 * src/WebDOMMessageEvent.cpp:
1437 * src/WebFrameImpl.cpp:
1438 * src/WebSharedWorkerImpl.cpp:
1439 * src/WebWorkerClientImpl.cpp:
1440
1441 2013-02-14 Min Qin <qinmin@chromium.org>
1442
1443 Passing alpha to DeferredImageDecoder once decoding completes
1444 https://bugs.webkit.org/show_bug.cgi?id=108892
1445
1446 Reviewed by Stephen White.
1447
1448 Add test to check that alpha value is passed from the decoder to ImageFr ameGenerator.
1449
1450 * tests/ImageFrameGeneratorTest.cpp:
1451 (WebCore::MockImageDecoderFactory::create):
1452 (WebCore::TEST_F):
1453 * tests/MockImageDecoder.h:
1454 (WebCore::MockImageDecoder::MockImageDecoder):
1455 (WebCore::MockImageDecoder::setFrameHasAlpha):
1456 (MockImageDecoder):
1457 (WebCore::MockImageDecoder::frameHasAlphaAtIndex):
1458
1459 2013-02-08 Andrey Kosyakov <caseq@chromium.org>
1460
1461 Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent
1462 https://bugs.webkit.org/show_bug.cgi?id=109192
1463
1464 Reviewed by Pavel Feldman.
1465
1466 - expose frame and compositing insturmentation methods on WebDevToolsAge nt;
1467 - temporarily route them from WebViewImpl to WebDevToolsAgent;
1468
1469 * public/WebDevToolsAgent.h:
1470 (WebDevToolsAgent):
1471 * src/WebDevToolsAgentImpl.cpp:
1472 (WebKit::WebDevToolsAgentImpl::didBeginFrame):
1473 (WebKit):
1474 (WebKit::WebDevToolsAgentImpl::didCancelFrame):
1475 (WebKit::WebDevToolsAgentImpl::willComposite):
1476 (WebKit::WebDevToolsAgentImpl::didComposite):
1477 * src/WebDevToolsAgentImpl.h:
1478 (WebDevToolsAgentImpl):
1479 * src/WebViewImpl.cpp:
1480 (WebKit::WebViewImpl::instrumentBeginFrame):
1481 (WebKit::WebViewImpl::instrumentCancelFrame):
1482 (WebKit::WebViewImpl::didBeginFrame):
1483 (WebKit::WebViewImpl::willCommit):
1484
1485 2013-02-14 Mikhail Naganov <mnaganov@chromium.org>
1486
1487 [Chromium] Add a setting to control scaling content to fit viewport
1488 https://bugs.webkit.org/show_bug.cgi?id=109584
1489
1490 Adds a setting called 'initializeAtMinimumPageScale'. By default,
1491 it is set to 'true' which corresponds to Chrome on Android behavior--
1492 adjust the page scale to make the content fit into the viewport
1493 by width. When set to false, the setting instructs ChromeClientImpl to
1494 set page scale to 1.0, unless the scale value is set by the page
1495 in the viewport meta-tag.
1496
1497 Reviewed by Adam Barth.
1498
1499 * public/WebSettings.h:
1500 * src/ChromeClientImpl.cpp:
1501 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
1502 * src/WebSettingsImpl.cpp:
1503 (WebKit::WebSettingsImpl::WebSettingsImpl):
1504 (WebKit::WebSettingsImpl::setInitializeAtMinimumPageScale):
1505 (WebKit):
1506 * src/WebSettingsImpl.h:
1507 (WebSettingsImpl):
1508 (WebKit::WebSettingsImpl::initializeAtMinimumPageScale):
1509 * tests/WebFrameTest.cpp:
1510 * tests/data/viewport-2x-initial-scale.html: Added.
1511 * tests/data/viewport-auto-initial-scale.html: Added.
1512
1513 2013-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
1514
1515 Unreviewed, rolling out r142808.
1516 http://trac.webkit.org/changeset/142808
1517 https://bugs.webkit.org/show_bug.cgi?id=109816
1518
1519 Crashes on chromium webkit canary bots (Requested by atwilson_
1520 on #webkit).
1521
1522 * src/WebViewImpl.cpp:
1523 (WebKit::WebViewImpl::handleGestureEvent):
1524 (WebKit::WebViewImpl::bestTouchLinkNode):
1525 (WebKit::WebViewImpl::enableTouchHighlight):
1526 * src/WebViewImpl.h:
1527 (WebViewImpl):
1528 * tests/LinkHighlightTest.cpp:
1529 (WebCore::TEST):
1530
1531 2013-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
1532
1533 Unreviewed, rolling out r142841.
1534 http://trac.webkit.org/changeset/142841
1535 https://bugs.webkit.org/show_bug.cgi?id=109791
1536
1537 Caused webkit_unit_tests to crash on chromium bots. (Requested
1538 by atwilson_ on #webkit).
1539
1540 * tests/GraphicsLayerChromiumTest.cpp:
1541 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1542 * tests/ScrollingCoordinatorChromiumTest.cpp:
1543 (WebKit::FakeWebViewClient::initializeLayerTreeView):
1544
1545 2013-02-13 Max Vujovic <mvujovic@adobe.com>
1546
1547 [CSS Filters] Refactor filter outsets into a class
1548 https://bugs.webkit.org/show_bug.cgi?id=109330
1549
1550 Update FilterOperations unit tests to use new interface for getting filt er outsets.
1551
1552 Reviewed by Dean Jackson.
1553
1554 * tests/FilterOperationsTest.cpp:
1555 (WebKit::TEST):
1556
1557 2013-02-13 Zan Dobersek <zdobersek@igalia.com>
1558
1559 The 'global isinf/isnan' compiler quirk required when using clang with l ibstdc++
1560 https://bugs.webkit.org/show_bug.cgi?id=109325
1561
1562 Reviewed by Anders Carlsson.
1563
1564 Prefix calls to the isinf and isnan methods with std::, declaring we wan t to use the
1565 two methods as they're provided by the C++ standard library being used.
1566
1567 * tests/DecimalTest.cpp:
1568 (TEST_F):
1569
1570 2013-02-13 Alexandre Elias <aelias@chromium.org>
1571
1572 [chromium] Fix scaling in WebViewImpl::handleGestureEvent
1573 https://bugs.webkit.org/show_bug.cgi?id=109671
1574
1575 Reviewed by James Robinson.
1576
1577 My last patch broke a bunch of things in handleGestureEvent that
1578 assumed the event came in scaled, most notably tap highlight and
1579 double-tap zoom. Switch those to PlatformGestureEvent.
1580
1581 * src/WebViewImpl.cpp:
1582 (WebKit::WebViewImpl::handleGestureEvent):
1583 (WebKit::WebViewImpl::bestTapNode):
1584 (WebKit::WebViewImpl::enableTapHighlight):
1585 * src/WebViewImpl.h:
1586 (WebViewImpl):
1587 * tests/LinkHighlightTest.cpp:
1588 (WebCore::TEST):
1589
1590 2013-02-13 Eberhard Graether <egraether@google.com>
1591
1592 chromium: remove CompositorHUDFontAtlas
1593 https://bugs.webkit.org/show_bug.cgi?id=109328
1594
1595 Reviewed by James Robinson.
1596
1597 After switching the HudLayer to use skia's font rendering the
1598 CompositorHUDFontAtlas has become obsolete. This change removes
1599 this class and the related WebLayerTreeView API.
1600
1601 * src/WebViewImpl.cpp:
1602 * src/WebViewImpl.h:
1603
1604 2013-02-13 Sheriff Bot <webkit.review.bot@gmail.com>
1605
1606 Unreviewed. Rolled Chromium DEPS to r182150. Requested by
1607 jamesr_ via sheriffbot.
1608
1609 * DEPS:
1610
1611 2013-02-13 Sadrul Habib Chowdhury <sadrul@chromium.org>
1612
1613 [chromium] Add acceleration ratios for the deltas to WebMouseWheelEvents .
1614 https://bugs.webkit.org/show_bug.cgi?id=109611
1615
1616 The deltas in mousewheel events generated by track can be accelerated (e .g. when
1617 scrolling repeatedly). Keep track of the ratio of the acceleration since that is
1618 useful for some tasks (e.g. overflow navigation gesture).
1619
1620 Reviewed by Adam Barth.
1621
1622 * public/WebInputEvent.h:
1623 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
1624 * src/WebInputEvent.cpp:
1625 (SameSizeAsWebMouseWheelEvent):
1626
1627 2013-02-12 Yoshifumi Inoue <yosin@chromium.org>
1628
1629 Unreviewed. Build fix for Chromium-Win.
1630 Add #include <functional> for std::bind1st.
1631
1632 * tests/PrerenderingTest.cpp:
1633
1634 2013-02-12 Joshua Bell <jsbell@chromium.org>
1635
1636 [Chromium] IndexedDB/Worker crash during shutdown
1637 https://bugs.webkit.org/show_bug.cgi?id=109467
1638
1639 Reviewed by Tony Chang.
1640
1641 If the message queue has already been terminated, don't bother schedulin g
1642 a new error event that will never be delivered. Speculative fix for the
1643 issue, which only repros in multiprocess ports and so far only on some
1644 platforms.
1645
1646 * src/IDBFactoryBackendProxy.cpp:
1647 (WebKit::IDBFactoryBackendProxy::allowIndexedDB): Early exit.
1648
1649 2013-02-12 Zan Dobersek <zdobersek@igalia.com>
1650
1651 Remove ENABLE_XHR_RESPONSE_BLOB handling from various build systems
1652 https://bugs.webkit.org/show_bug.cgi?id=109481
1653
1654 Reviewed by Daniel Bates.
1655
1656 The ENABLE_XHR_RESPONSE_BLOB feature define was removed from the code
1657 back in r120574. There are still occurrences of it in various build syst ems
1658 which should all be removed as they are useless.
1659
1660 * features.gypi:
1661
1662 2013-02-12 Jochen Eisinger <jochen@chromium.org>
1663
1664 Disabling WebFrameTest.ReplaceMisspelledRange on Android because it cras hes
1665 https://bugs.webkit.org/show_bug.cgi?id=109548
1666
1667 Unreviewed gardening.
1668
1669 * tests/WebFrameTest.cpp:
1670
1671 2013-02-11 James Robinson <jamesr@chromium.org>
1672
1673 [Chromium] Get rid of WebAnimationController
1674 https://bugs.webkit.org/show_bug.cgi?id=109235
1675
1676 Reviewed by Benjamin Poulain.
1677
1678 * public/WebAnimationController.h: Removed.
1679 * public/WebFrame.h:
1680 (WebFrame):
1681 * src/WebAnimationControllerImpl.cpp: Removed.
1682 * src/WebAnimationControllerImpl.h: Removed.
1683 * src/WebFrameImpl.cpp:
1684 * src/WebFrameImpl.h:
1685 (WebFrameImpl):
1686
1687 2013-02-11 James Robinson <jamesr@chromium.org>
1688
1689 [chromium] Add WebUnitTestSupport::createLayerTreeViewForTesting for web kit_unit_tests
1690 https://bugs.webkit.org/show_bug.cgi?id=109403
1691
1692 Reviewed by Adam Barth.
1693
1694 * tests/GraphicsLayerChromiumTest.cpp:
1695 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1696 * tests/ScrollingCoordinatorChromiumTest.cpp:
1697 (WebKit::FakeWebViewClient::initializeLayerTreeView):
1698
1699 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
1700
1701 Disable delete button controller on non-Mac ports and delete EditorClien t::shouldShowDeleteInterface
1702 https://bugs.webkit.org/show_bug.cgi?id=109534
1703
1704 Reviewed by Anders Carlsson.
1705
1706 * src/EditorClientImpl.cpp:
1707 (WebKit):
1708 * src/EditorClientImpl.h:
1709 (EditorClientImpl):
1710
1711 2013-02-11 Alexandre Elias <aelias@chromium.org>
1712
1713 [chromium] Apply page scale to all WebInputEvent types
1714 https://bugs.webkit.org/show_bug.cgi?id=109370
1715
1716 Reviewed by James Robinson.
1717
1718 Previously we only adjusted a few common input event types by page
1719 scale, but in fact almost every position and size in WebInputEvents
1720 requires it.
1721
1722 I also took the opportunity to change some WebGestureEvent members to
1723 floats (which I checked causes no warnings in Chromium-side code with
1724 GCC or Clang).
1725
1726 New WebInputEventConversionTest: InputEventsScaling
1727
1728 * public/WebInputEvent.h:
1729 (WebKit::WebGestureEvent::WebGestureEvent):
1730 * src/WebInputEventConversion.cpp:
1731 (WebKit::widgetScaleFactor):
1732 (WebKit):
1733 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
1734 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1735 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1736 (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
1737 (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
1738 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1739 (WebKit::addTouchPoints):
1740 (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
1741 (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
1742 * src/WebViewImpl.cpp:
1743 (WebKit::WebViewImpl::handleGestureEvent):
1744 (WebKit::WebViewImpl::hasTouchEventHandlersAt):
1745 (WebKit::WebViewImpl::handleInputEvent):
1746 * tests/WebInputEventConversionTest.cpp:
1747 (WebCore::TEST):
1748 (WebCore):
1749
1750 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
1751
1752 Unreviewed, rolling out r142568.
1753 http://trac.webkit.org/changeset/142568
1754 https://bugs.webkit.org/show_bug.cgi?id=109541
1755
1756 Broke the build, won't compile. (Requested by alancutter on
1757 #webkit).
1758
1759 * tests/GraphicsLayerChromiumTest.cpp:
1760 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1761 * tests/ScrollingCoordinatorChromiumTest.cpp:
1762 (WebKit::FakeWebViewClient::initializeLayerTreeView):
1763
1764 2013-02-11 James Robinson <jamesr@chromium.org>
1765
1766 [chromium] Add WebUnitTestSupport::createLayerTreeViewForTesting for web kit_unit_tests
1767 https://bugs.webkit.org/show_bug.cgi?id=109403
1768
1769 Reviewed by Adam Barth.
1770
1771 * tests/GraphicsLayerChromiumTest.cpp:
1772 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1773 * tests/ScrollingCoordinatorChromiumTest.cpp:
1774 (WebKit::FakeWebViewClient::initializeLayerTreeView):
1775
1776 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
1777
1778 Unreviewed. Rolled Chromium DEPS to r181817. Requested by
1779 "James Robinson" <jamesr@chromium.org> via sheriffbot.
1780
1781 * DEPS:
1782
1783 2013-02-11 David Grogan <dgrogan@chromium.org>
1784
1785 IndexedDB: Add UnknownError to WebIDBDatabaseException
1786 https://bugs.webkit.org/show_bug.cgi?id=109519
1787
1788 Reviewed by Adam Barth.
1789
1790 * public/WebIDBDatabaseException.h:
1791 * src/AssertMatchingEnums.cpp:
1792
1793 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
1794
1795 Unreviewed. Rolled Chromium DEPS to r181787. Requested by
1796 thakis_ via sheriffbot.
1797
1798 * DEPS:
1799
1800 2013-02-11 Nico Weber <thakis@chromium.org>
1801
1802 Remove web intents code
1803 https://bugs.webkit.org/show_bug.cgi?id=109501
1804
1805 Reviewed by Eric Seidel.
1806
1807 See thread "Removing ENABLE(WEB_INTENTS) code" on webkit-dev.
1808
1809 * WebKit.gyp:
1810 * features.gypi:
1811 * public/WebDeliveredIntentClient.h: Removed.
1812 * public/WebFrame.h:
1813 (WebKit):
1814 (WebFrame):
1815 * public/WebFrameClient.h:
1816 (WebKit):
1817 * public/WebIntent.h: Removed.
1818 * public/WebIntentRequest.h: Removed.
1819 * public/WebIntentServiceInfo.h: Removed.
1820 * public/WebRuntimeFeatures.h:
1821 (WebRuntimeFeatures):
1822 * src/DeliveredIntentClientImpl.cpp: Removed.
1823 * src/DeliveredIntentClientImpl.h: Removed.
1824 * src/FrameLoaderClientImpl.cpp:
1825 * src/FrameLoaderClientImpl.h:
1826 (FrameLoaderClientImpl):
1827 * src/WebFrameImpl.cpp:
1828 * src/WebFrameImpl.h:
1829 (WebKit):
1830 (WebFrameImpl):
1831 * src/WebIntent.cpp: Removed.
1832 * src/WebIntentRequest.cpp: Removed.
1833 * src/WebIntentServiceInfo.cpp: Removed.
1834 * src/WebRuntimeFeatures.cpp:
1835
1836 2013-02-11 Florin Malita <fmalita@chromium.org>
1837
1838 Unreviewed. Rolled Chromium DEPS to r181770.
1839
1840 * DEPS:
1841
1842 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
1843
1844 Unreviewed. Rolled Chromium DEPS to r181742. Requested by
1845 fmalita_ via sheriffbot.
1846
1847 * DEPS:
1848
1849 2013-02-11 Rouslan Solomakhin <rouslan@chromium.org>
1850
1851 [Chromium] Replace correct misspelled range in WebKit::WebFrameImpl::rep laceMisspelledRange
1852 https://bugs.webkit.org/show_bug.cgi?id=108513
1853
1854 Reviewed by Tony Chang.
1855
1856 WebKit::WebFrameImpl::replaceMisspelledRange is going to be used by Chro mium instead of
1857 WebKit::WebFrameImpl::replaceSelection for correcting misspellings. The current implementation
1858 of WebKit::WebFrameImpl::replaceMisspelledRange sometimes replaces the w rong range. This change
1859 uses Range::create instead of TextIterator::rangeFromLocationAndLength t o select the correct
1860 range. This change also disables smart replace in WebKit::WebFrameImpl:: replaceMisspelledRange
1861 to avoid introducing spaces around misspellings.
1862
1863 * src/WebFrameImpl.cpp:
1864 (WebKit::WebFrameImpl::replaceMisspelledRange): Replace correct misspell ed range.
1865 * tests/WebFrameTest.cpp: Add unit test for WebKit::WebFrameImpl::replac eMisspelledRange method.
1866
1867 2013-02-11 Alexei Filippov <alph@chromium.org>
1868
1869 Web Inspector: Split Profiler domain in protocol into Profiler and HeapP rofiler
1870 https://bugs.webkit.org/show_bug.cgi?id=108653
1871
1872 Reviewed by Yury Semikhatsky.
1873
1874 Currently CPU and heap profilers share the same domain 'Profiler' in the protocol.
1875 In fact these two profile types have not too much in common. So put each into its own domain.
1876 It should also help when Profiles panel gets split into several tools.
1877 This is the phase 1 which adds InspectorHeapProfilerAgent but doesn't
1878 change the original InspectorProfilerAgent.
1879
1880 * src/WebDevToolsAgentImpl.cpp:
1881 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
1882
1883 2013-02-11 Abhishek Arya <inferno@chromium.org>
1884
1885 Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
1886 https://bugs.webkit.org/show_bug.cgi?id=108981
1887
1888 Reviewed by Eric Seidel.
1889
1890 * src/AutofillPopupMenuClient.cpp:
1891 (WebKit::AutofillPopupMenuClient::getSuggestion):
1892 (WebKit::AutofillPopupMenuClient::getLabel):
1893 (WebKit::AutofillPopupMenuClient::getIcon):
1894 (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
1895 (WebKit::AutofillPopupMenuClient::valueChanged):
1896 (WebKit::AutofillPopupMenuClient::selectionChanged):
1897 * src/ChromeClientImpl.cpp:
1898 (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
1899
1900 2013-02-10 James Robinson <jamesr@chromium.org>
1901
1902 [chromium] Enable more of webkit_unit_tests in component builds
1903 https://bugs.webkit.org/show_bug.cgi?id=109369
1904
1905 Reviewed by Darin Fisher.
1906
1907 Updates all webkit_unit_tests (except for LevelDBTest) to go through the Platform API instead of directly
1908 calling into webkit_support so they work in component builds.
1909
1910 * WebKit.gyp:
1911 * tests/AssociatedURLLoaderTest.cpp:
1912 * tests/EventListenerTest.cpp:
1913 * tests/FrameTestHelpers.cpp:
1914 (WebKit::FrameTestHelpers::createWebViewAndLoad):
1915 (QuitTask):
1916 (WebKit::FrameTestHelpers::QuitTask::run):
1917 (FrameTestHelpers):
1918 (WebKit::FrameTestHelpers::runPendingTasks):
1919 * tests/FrameTestHelpers.h:
1920 (FrameTestHelpers):
1921 * tests/ListenerLeakTest.cpp:
1922 * tests/PopupMenuTest.cpp:
1923 * tests/PrerenderingTest.cpp:
1924 * tests/ScrollingCoordinatorChromiumTest.cpp:
1925 (WebKit::ScrollingCoordinatorChromiumTest::~ScrollingCoordinatorChromium Test):
1926 (WebKit::ScrollingCoordinatorChromiumTest::navigateTo):
1927 * tests/URLTestHelpers.cpp:
1928 (WebKit::URLTestHelpers::registerMockedURLLoad):
1929 * tests/WebFrameTest.cpp:
1930 * tests/WebImageTest.cpp:
1931 (WebKit::readFile):
1932 * tests/WebPageNewSerializerTest.cpp:
1933 * tests/WebPageSerializerTest.cpp:
1934 * tests/WebPluginContainerTest.cpp:
1935 (WebKit::WebPluginContainerTest::TearDown):
1936 (WebKit::TEST_F):
1937 * tests/WebViewTest.cpp:
1938
1939 2013-02-10 Sheriff Bot <webkit.review.bot@gmail.com>
1940
1941 Unreviewed. Rolled Chromium DEPS to r181645. Requested by
1942 "James Robinson" <jamesr@chromium.org> via sheriffbot.
1943
1944 * DEPS:
1945
1946 2013-02-09 Stephen Chenney <schenney@chromium.org>
1947
1948 Unreviewed. Rolled Chromium DEPS to last-known good revision. Really th is time.
1949
1950 * DEPS: 181594
1951
1952 2013-02-09 Sheriff Bot <webkit.review.bot@gmail.com>
1953
1954 Unreviewed. Rolled Chromium DEPS to last-known good revision.
1955 Requested by "Stephen Chenney" <schenney@chromium.org> via
1956 sheriffbot.
1957
1958 * DEPS:
1959
1960 2013-02-08 Kent Tamura <tkent@chromium.org>
1961
1962 [Chromium] Disable ENABLE_INPUT_TYPE_DATETIME
1963 https://bugs.webkit.org/show_bug.cgi?id=109272
1964
1965 Reviewed by Kentaro Hara.
1966
1967 We enabled this flag for desktop Chromium, but disabled the feature by a
1968 runtime flag. We disables the compile flag too because we have no plan
1969 to ship it in near future.
1970
1971 * features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME.
1972
1973 2013-02-08 Stephen Chenney <schenney@chromium.org>
1974
1975 Remove Skia code suppressions
1976
1977 Unreviewed enabling of existing optimizations
1978
1979 Removing all skia_webkit.gyp code suppressions and adding expectations
1980 for the failures.
1981
1982 * skia_webkit.gyp:
1983
1984 2013-02-08 Dan Carney <dcarney@google.com>
1985
1986 [v8] isolate parameter added to all v8::peristent calls
1987 https://bugs.webkit.org/show_bug.cgi?id=109268
1988
1989 Reviewed by Kentaro Hara.
1990
1991 * tests/WebFrameTest.cpp:
1992
1993 2013-02-07 Kent Tamura <tkent@chromium.org>
1994
1995 [Chromium-Android] Disable input[type=datetime]
1996 https://bugs.webkit.org/show_bug.cgi?id=107614
1997
1998 Reviewed by Kentaro Hara.
1999
2000 Reason:
2001 http://lists.webkit.org/pipermail/webkit-dev/2013-January/023404.html
2002
2003 * features.gypi:
2004 Disable ENABLE_INPUT_TYPE_DATETIME because of a wrong UI.
2005 We enable it for non-Android ports but the runtime flag for it is
2006 disabled by default. The runtime flag is enabled only in DumpRenderTree.
2007
2008 2013-02-07 Terry Anderson <tdanderson@chromium.org>
2009
2010 [chromium] Flings should not bubble up to enclosing scrollables when mai n-thread touch scrolling
2011 https://bugs.webkit.org/show_bug.cgi?id=108719
2012
2013 Reviewed by Eric Seidel.
2014
2015 In the event of a main-thread touch fling, dispatch a series of
2016 GestureScrollUpdateWithoutPropagation events defined in
2017 https://bugs.webkit.org/show_bug.cgi?id=108849 (instead of
2018 GestureScrollUpdate events) so that the fling does not
2019 propagate to enclosing scrollables.
2020
2021 * src/WebViewImpl.cpp:
2022 (WebKit::WebViewImpl::scrollBy):
2023
2024 2013-02-07 Kent Tamura <tkent@chromium.org>
2025
2026 [Chromium] Add a flag to enable native form validation message
2027 https://bugs.webkit.org/show_bug.cgi?id=109134
2028
2029 Reviewed by Adam Barth.
2030
2031 * public/WebRuntimeFeatures.h:
2032 (WebRuntimeFeatures): Add enableNativeValidationMessage and
2033 isNativeValidationMessageEnabled.
2034 * src/WebRuntimeFeatures.cpp:
2035 (WebKit): Add nativeValidationMessageEnabled.
2036 (WebKit::WebRuntimeFeatures::enableNativeValidationMessage): Added.
2037 (WebKit::WebRuntimeFeatures::isNativeValidationMessageEnabled): Addedd.
2038 * src/WebViewImpl.cpp:
2039 (WebKit::WebViewImpl::WebViewImpl):
2040 Fill Page::PageClients::validationMessageClient if the flag is true.
2041
2042 2013-02-07 Eberhard Graether <egraether@google.com>
2043
2044 Web Inspector: Add settings checkbox for composited layer borders
2045 https://bugs.webkit.org/show_bug.cgi?id=109096
2046
2047 Reviewed by Pavel Feldman.
2048
2049 This change adds a checkbox to show composited layer borders to the WebI nspector's
2050 rendering settings and plumbs the setting to Chromium's WebLayerTreeView . The setting
2051 is visible if InspectorClient::canShowDebugBorders() returns true.
2052
2053 * src/InspectorClientImpl.cpp:
2054 (WebKit::InspectorClientImpl::canShowDebugBorders):
2055 (WebKit):
2056 (WebKit::InspectorClientImpl::setShowDebugBorders):
2057 * src/InspectorClientImpl.h:
2058 (InspectorClientImpl):
2059 * src/WebViewImpl.cpp:
2060 (WebKit::WebViewImpl::WebViewImpl):
2061 (WebKit::WebViewImpl::setShowDebugBorders):
2062 (WebKit):
2063 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2064 * src/WebViewImpl.h:
2065
2066 2013-02-07 Stephen White <senorblanco@chromium.org>
2067
2068 Unreviewed. Rolled DEPS.
2069
2070 * DEPS:
2071
2072 2013-02-07 David Trainor <dtrainor@chromium.org>
2073
2074 Add null check to editable in moveCaretSelectionTowardsWindowPoint
2075 https://bugs.webkit.org/show_bug.cgi?id=108962
2076
2077 Reviewed by Eric Seidel.
2078
2079 * src/WebFrameImpl.cpp:
2080 (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
2081 * tests/WebFrameTest.cpp:
2082
2083 2013-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
2084
2085 Unreviewed. Rolled Chromium DEPS to r180752. Requested by
2086 thakis_ via sheriffbot.
2087
2088 * DEPS:
2089
2090 2013-02-06 Terry Anderson <tdanderson@chromium.org>
2091
2092 Add support for gesture scroll events that do not propagate to enclosing scrollables
2093 https://bugs.webkit.org/show_bug.cgi?id=108849
2094
2095 Reviewed by Antonio Gomes.
2096
2097 Define the new event type GestureScrollUpdateWithoutPropagation.
2098
2099 * public/WebInputEvent.h:
2100 (WebKit::WebInputEvent::isGestureEventType):
2101 * src/PageWidgetDelegate.cpp:
2102 (WebKit::PageWidgetDelegate::handleInputEvent):
2103 * src/WebInputEventConversion.cpp:
2104 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2105 * src/WebPluginContainerImpl.cpp:
2106 * src/WebPopupMenuImpl.cpp:
2107 (WebKit::WebPopupMenuImpl::handleInputEvent):
2108 * src/WebViewImpl.cpp:
2109 (WebKit::WebViewImpl::handleGestureEvent):
2110
2111 2013-02-06 Alexandre Elias <aelias@chromium.org>
2112
2113 Make ScrollView::paint() clip by visibleContentRect
2114 https://bugs.webkit.org/show_bug.cgi?id=108888
2115
2116 Reviewed by Levi Weintraub.
2117
2118 When applyPageScaleFactorInCompositor or fixedVisibleContentRect
2119 are used, frameRect() and visibleContentRect(true).size() are
2120 no longer synonyms, and the latter is the one that should be
2121 used for clipping paints.
2122
2123 New WebFrameTest: pageScaleFactorScalesPaintClip.
2124
2125 * tests/WebFrameTest.cpp:
2126
2127 2013-02-06 Sheriff Bot <webkit.review.bot@gmail.com>
2128
2129 Unreviewed, rolling out r142025.
2130 http://trac.webkit.org/changeset/142025
2131 https://bugs.webkit.org/show_bug.cgi?id=109091
2132
2133 broke the build (Requested by tdanderson on #webkit).
2134
2135 * public/WebInputEvent.h:
2136 (WebKit::WebInputEvent::isGestureEventType):
2137 * src/PageWidgetDelegate.cpp:
2138 (WebKit::PageWidgetDelegate::handleInputEvent):
2139 * src/WebInputEventConversion.cpp:
2140 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2141 * src/WebPluginContainerImpl.cpp:
2142 * src/WebPopupMenuImpl.cpp:
2143 (WebKit::WebPopupMenuImpl::handleInputEvent):
2144 * src/WebViewImpl.cpp:
2145 (WebKit::WebViewImpl::handleGestureEvent):
2146
2147 2013-02-06 Daniel Cheng <dcheng@google.com>
2148
2149 [chromium] Remove "config.h" header from WebUnitTests.cpp
2150 https://bugs.webkit.org/show_bug.cgi?id=108966
2151
2152 Reviewed by Tony Chang.
2153
2154 This file includes headers from base/ in Chromium, and config.h
2155 conflicts with base/logging.h. Rather than teaching certain files in
2156 base/ not to #include base/logging.h, remove the config.h include
2157 here. The ASSERT isn't really necessary, as attempting to run a null
2158 test suite won't go very far anyway.
2159
2160 * tests/WebUnitTests.cpp:
2161 (WebKit::RunAllUnitTests):
2162
2163 2013-02-06 Terry Anderson <tdanderson@chromium.org>
2164
2165 Add support for gesture scroll events that do not propagate to enclosing scrollables
2166 https://bugs.webkit.org/show_bug.cgi?id=108849
2167
2168 Reviewed by Antonio Gomes.
2169
2170 Define the new event type GestureScrollUpdateWithoutPropagation.
2171
2172 * public/WebInputEvent.h:
2173 (WebKit::WebInputEvent::isGestureEventType):
2174 * src/PageWidgetDelegate.cpp:
2175 (WebKit::PageWidgetDelegate::handleInputEvent):
2176 * src/WebInputEventConversion.cpp:
2177 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2178 * src/WebPluginContainerImpl.cpp:
2179 * src/WebPopupMenuImpl.cpp:
2180 (WebKit::WebPopupMenuImpl::handleInputEvent):
2181 * src/WebViewImpl.cpp:
2182 (WebKit::WebViewImpl::handleGestureEvent):
2183
2184 2013-02-06 Chris Hopman <cjhopman@chromium.org>
2185
2186 [Chromium] WebWidget should expose a way to determine the start/end of t he selection bounds
2187 https://bugs.webkit.org/show_bug.cgi?id=108667
2188
2189 Reviewed by Darin Fisher.
2190
2191 WebWidget::selectionBounds() returns the anchor and focus of the
2192 selection. This matches the arguments to WebFrame::selectRange().
2193 Add WebWidget::isSelectionAnchorFirst so that a caller can convert the
2194 anchor/focus to start/end.
2195
2196 * public/WebWidget.h:
2197 (WebWidget):
2198 (WebKit::WebWidget::isSelectionAnchorFirst):
2199 * src/WebViewImpl.cpp:
2200 (WebKit::WebViewImpl::isSelectionAnchorFirst):
2201 (WebKit):
2202 * src/WebViewImpl.h:
2203 * tests/WebViewTest.cpp:
2204
2205 2013-02-06 Alec Flett <alecflett@chromium.org>
2206
2207 IndexedDB: Stub out SharedBuffer version of put()
2208 https://bugs.webkit.org/show_bug.cgi?id=108986
2209
2210 Reviewed by Darin Fisher.
2211
2212 This is part 1 of 3 to replace Vector<uint8_t> with SharedBuffer.
2213
2214 * public/WebIDBDatabase.h:
2215 (WebKit):
2216 (WebKit::WebIDBDatabase::put):
2217
2218 2013-02-06 Stephen Chenney <schenney@chromium.org>
2219
2220 Add Skia code suppression flags to WebKit skia.gyp
2221
2222 Unreviewed.
2223
2224 This is step one in removing these flags. First we get them into
2225 WebKit, then we can remove them from Chrome.
2226
2227 * skia_webkit.gyp:
2228
2229 2013-02-06 Mike West <mkwst@chromium.org>
2230
2231 Add an ENABLE_NOSNIFF feature flag.
2232 https://bugs.webkit.org/show_bug.cgi?id=109029
2233
2234 Reviewed by Jochen Eisinger.
2235
2236 This new flag will control the behavior of 'X-Content-Type-Options: nosn iff'
2237 when processing script and other resource types.
2238
2239 * features.gypi:
2240
2241 2013-02-05 David Dorwin <ddorwin@chromium.org>
2242
2243 [chromium] Explicitly destroy the WebMediaPlayer in WebMediaPlayerClient Impl's destructor
2244 https://bugs.webkit.org/show_bug.cgi?id=108989
2245
2246 Reviewed by Kent Tamura.
2247
2248 * src/WebMediaPlayerClientImpl.cpp:
2249 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
2250
2251 2013-02-04 Kentaro Hara <haraken@chromium.org>
2252
2253 [V8] Reduce usage of deprecatedString() and deprecatedInteger()
2254 https://bugs.webkit.org/show_bug.cgi?id=108909
2255
2256 Reviewed by Adam Barth.
2257
2258 No tests. No change in behavior.
2259
2260 * src/WebBindings.cpp:
2261 (WebKit::WebBindings::toV8Value):
2262
2263 2013-02-05 Kentaro Hara <haraken@chromium.org>
2264
2265 [V8] Make an Isolate parameter mandatory in HasInstance()
2266 https://bugs.webkit.org/show_bug.cgi?id=108917
2267
2268 Reviewed by Adam Barth.
2269
2270 Because these methods do not have an Isolate, we have to call
2271 v8::Isolate::GetCurrent().
2272
2273 No tests. No change in behavior.
2274
2275 * src/WebArrayBuffer.cpp:
2276 (WebKit::WebArrayBuffer::createFromV8Value):
2277 * src/WebArrayBufferView.cpp:
2278 (WebKit::WebArrayBufferView::createFromV8Value):
2279 * src/WebBindings.cpp:
2280 (WebKit::getRangeImpl):
2281 (WebKit::getNodeImpl):
2282 (WebKit::getElementImpl):
2283 (WebKit::getArrayBufferImpl):
2284 (WebKit::getArrayBufferViewImpl):
2285 (WebKit::WebBindings::getRange):
2286 (WebKit::WebBindings::getArrayBuffer):
2287 (WebKit::WebBindings::getArrayBufferView):
2288 (WebKit::WebBindings::getNode):
2289 (WebKit::WebBindings::getElement):
2290
2291 2013-02-05 Dana Jansens <danakj@chromium.org>
2292
2293 [chromium] Provide compositor offscreen context through the WebLayerTree ViewClient interface
2294 https://bugs.webkit.org/show_bug.cgi?id=107776
2295
2296 Reviewed by James Robinson.
2297
2298 * WebKit.gyp:
2299 * src/WebGraphicsContext3D.cpp: Removed.
2300
2301 2013-02-05 Mark Lam <mark.lam@apple.com>
2302
2303 Introduced back-end database classes + a few small fixes.
2304 https://bugs.webkit.org/show_bug.cgi?id=108759.
2305
2306 Reviewed by Brady Eidson.
2307
2308 * src/DatabaseObserver.cpp:
2309 (WebCore::DatabaseObserver::databaseOpened):
2310 (WebCore::DatabaseObserver::databaseModified):
2311 (WebCore::DatabaseObserver::databaseClosed):
2312
2313 2013-02-05 Adam Barth <abarth@webkit.org>
2314
2315 DumpRenderTree should be able to enable the threaded parser
2316 https://bugs.webkit.org/show_bug.cgi?id=108970
2317
2318 Reviewed by Eric Seidel.
2319
2320 * public/WebSettings.h:
2321 * src/WebSettingsImpl.cpp:
2322 (WebKit::WebSettingsImpl::setThreadedHTMLParser):
2323 (WebKit):
2324 * src/WebSettingsImpl.h:
2325 (WebSettingsImpl):
2326
1 2013-02-05 Sami Kyostila <skyostil@chromium.org> 2327 2013-02-05 Sami Kyostila <skyostil@chromium.org>
2 2328
3 [chromium] Make overlay layers slow-scrolling 2329 [chromium] Make overlay layers slow-scrolling
4 https://bugs.webkit.org/show_bug.cgi?id=108957 2330 https://bugs.webkit.org/show_bug.cgi?id=108957
5 2331
6 Reviewed by James Robinson. 2332 Reviewed by James Robinson.
7 2333
8 Since overlay layers get inserted on top of everything else, we must 2334 Since overlay layers get inserted on top of everything else, we must
9 mark them slow-scrolling to prevent all scroll input events to the rest 2335 mark them slow-scrolling to prevent all scroll input events to the rest
10 of the page from getting blocked. This is also more correct because 2336 of the page from getting blocked. This is also more correct because
11 generally the overlay contents need to be repainted whenever the scroll 2337 generally the overlay contents need to be repainted whenever the scroll
12 offset changes, and with this patch the painting happens in sync with 2338 offset changes, and with this patch the painting happens in sync with
13 page scrolling. 2339 page scrolling.
14 2340
2341 2013-02-05 Sheriff Bot <webkit.review.bot@gmail.com>
2342
2343 Unreviewed, rolling out r141896.
2344 http://trac.webkit.org/changeset/141896
2345 https://bugs.webkit.org/show_bug.cgi?id=108956
2346
2347 crashes indexdb security tests (Requested by gavinp on
2348 #webkit).
2349
2350 * public/platform/WebKitPlatformSupport.h:
2351 (WebKit):
2352 (WebKitPlatformSupport):
2353 (WebKit::WebKitPlatformSupport::idbFactory):
2354 * src/IDBFactoryBackendProxy.cpp:
2355 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
2356
2357 2013-02-05 Mark Pilgrim <pilgrim@chromium.org>
2358
2359 [Chromium] Remove idbFactory from WebKitPlatformSupport
2360 https://bugs.webkit.org/show_bug.cgi?id=106457
2361
2362 Reviewed by Adam Barth.
2363
2364 Now that https://codereview.chromium.org/12181010/ has landed, the
2365 idbFactory method is no longer needed. (Embedders must now call
2366 the new setIDBFactory method upon initialization.) Part of a
2367 larger refactoring series; see tracking bug 82948.
2368
2369 * public/platform/WebKitPlatformSupport.h:
2370 (WebKit):
2371 * src/IDBFactoryBackendProxy.cpp:
2372 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
2373
2374 2013-02-05 Kentaro Hara <haraken@chromium.org>
2375
2376 Unreviewed, rolling out r141865.
2377 http://trac.webkit.org/changeset/141865
2378 https://bugs.webkit.org/show_bug.cgi?id=108909
2379
2380 webkit unit tests are broken
2381
2382 * src/WebBindings.cpp:
2383 (WebKit::WebBindings::toV8Value):
2384
2385 2013-02-05 Kentaro Hara <haraken@chromium.org>
2386
2387 [V8] Reduce usage of deprecatedString() and deprecatedInteger()
2388 https://bugs.webkit.org/show_bug.cgi?id=108909
2389
2390 Reviewed by Adam Barth.
2391
2392 No tests. No change in behavior.
2393
2394 * src/WebBindings.cpp:
2395 (WebKit::WebBindings::toV8Value):
2396
2397 2013-02-04 Sheriff Bot <webkit.review.bot@gmail.com>
2398
2399 Unreviewed. Rolled Chromium DEPS to r180583. Requested by
2400 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
2401
2402 * DEPS:
2403
2404 2013-02-04 James Simonsen <simonjam@chromium.org>
2405
2406 [Chromium] Add a signal for when the body is inserted in the document
2407 https://bugs.webkit.org/show_bug.cgi?id=108725
2408
2409 Reviewed by Adam Barth.
2410
2411 * public/WebFrameClient.h:
2412 (WebFrameClient):
2413 (WebKit::WebFrameClient::willInsertBody):
2414 * src/FrameLoaderClientImpl.cpp:
2415 (WebKit::FrameLoaderClientImpl::dispatchWillInsertBody):
2416 (WebKit):
2417 * src/FrameLoaderClientImpl.h:
2418 (FrameLoaderClientImpl):
2419 * tests/WebFrameTest.cpp:
2420
2421 2013-02-04 Chris Hopman <cjhopman@chromium.org>
2422
2423 Make moveCaretTowardsWindowPoint not snap to the beginning/end when move d above/below editable
2424 https://bugs.webkit.org/show_bug.cgi?id=107850
2425
2426 Reviewed by Ojan Vafai.
2427
2428 On Android, EditingBehavior::shouldMoveCaret[...] controls the
2429 behavior of insertion handles. This change adds a new Android specific
2430 editing behavior type so that we can change these settings independent
2431 of behavior for other platforms.
2432
2433 * public/WebSettings.h:
2434 * src/AssertMatchingEnums.cpp:
2435 Just add the corresponding assertion for the new editing behavior.
2436
2437 * public/WebSettings.h:
2438 * src/AssertMatchingEnums.cpp:
2439
2440 * tests/WebFrameTest.cpp:
2441 * tests/data/move_caret.html: Added.
2442 Add a test that moveCaretTowardsWindowPoint works as expected on
2443 Android.
2444
2445 2013-01-31 Kentaro Hara <haraken@chromium.org>
2446
2447 Implement WheelEvent::deltaMode
2448 https://bugs.webkit.org/show_bug.cgi?id=108455
2449
2450 Reviewed by Adam Barth.
2451
2452 * src/WebInputEventConversion.cpp:
2453 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
2454
2455 2013-02-04 Mark Pilgrim <pilgrim@chromium.org>
2456
2457 [Chromium] Move WorkerContextProxy to WebCore
2458 https://bugs.webkit.org/show_bug.cgi?id=108847
2459
2460 Reviewed by Adam Barth.
2461
2462 Part of a larger refactoring series; see tracking bug 106829.
2463
2464 * WebKit.gyp:
2465 * src/WebKit.cpp:
2466 (WebKit::initializeWithoutV8):
2467 * src/WorkerContextProxy.cpp: Removed.
2468
2469 2013-02-04 Abhishek Arya <inferno@chromium.org>
2470
2471 Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
2472 https://bugs.webkit.org/show_bug.cgi?id=108668
2473
2474 Reviewed by Eric Seidel.
2475
2476 * src/ContextFeaturesClientImpl.cpp:
2477 (WebKit::ContextFeaturesCache::entryFor):
2478 * src/WebFrameImpl.cpp:
2479 (WebKit::WebFrameImpl::selectFindMatch):
2480
2481 2013-02-04 Mark Pilgrim <pilgrim@chromium.org>
2482
2483 [Chromium] Move IDBFactoryBackendInterface to WebCore
2484 https://bugs.webkit.org/show_bug.cgi?id=108638
2485
2486 Reviewed by Adam Barth.
2487
2488 Part of a larger refactoring series; see tracking bug 106829.
2489
2490 * WebKit.gyp:
2491 * src/AssertMatchingEnums.cpp:
2492 * src/IDBFactoryBackendInterface.cpp: Removed.
2493 * src/IDBFactoryBackendProxy.h:
2494 * src/WebKit.cpp:
2495 (WebKit::initializeWithoutV8):
2496
2497 2013-02-04 Abhishek Arya <inferno@chromium.org>
2498
2499 Add ASSERT_WITH_SECURITY_IMPLICATION to detect bad cast in DOM, CSS, etc .
2500 https://bugs.webkit.org/show_bug.cgi?id=108688
2501
2502 Reviewed by Eric Seidel.
2503
2504 * src/IDBFactoryBackendProxy.cpp:
2505 (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
2506 (WebKit::getWebFrame):
2507 * src/LocalFileSystemChromium.cpp:
2508 (WebCore::LocalFileSystem::deleteFileSystem):
2509 * src/WebSharedWorkerImpl.cpp:
2510 (WebKit::WebSharedWorkerImpl::connectTask):
2511 (WebKit::resumeWorkerContextTask):
2512 (WebKit::connectToWorkerContextInspectorTask):
2513 (WebKit::reconnectToWorkerContextInspectorTask):
2514 (WebKit::disconnectFromWorkerContextInspectorTask):
2515 (WebKit::dispatchOnInspectorBackendTask):
2516
2517 2013-02-04 Sami Kyostila <skyostil@chromium.org>
2518
2519 Disable -webkit-overflow-scrolling CSS attribute on Chromium
2520 https://bugs.webkit.org/show_bug.cgi?id=108020
2521
2522 Reviewed by James Robinson.
2523
2524 Now that we can automatically promote overflow elements to accelerated
2525 scrolling layers there is no use for the -webkit-overflow-scrolling CSS
2526 attribute any longer on Chromium.
2527
2528 This patch enables composited overflow scrolling in
2529 ScrollingCoordinatorChromiumTest. Because this also causes the overflow div
2530 in non-fast-scrollable.html to become composited, we also need to modify that
2531 test to opt it out of composited scrolling.
2532
2533 * features.gypi:
2534 * tests/ScrollingCoordinatorChromiumTest.cpp:
2535 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumT est):
2536 (WebKit::TEST_F):
2537 * tests/data/non-fast-scrollable.html:
2538 * tests/data/overflow-scrolling.html: Renamed from Source/WebKit/chromiu m/tests/data/touch-overflow-scrolling.html.
2539
2540 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
2541
2542 Fix build warning after r141473
2543 https://bugs.webkit.org/show_bug.cgi?id=108782
2544
2545 Reviewed by Kentaro Hara.
2546
2547 Fix -Wunused-parameter build warning.
2548
2549 * src/EditorClientImpl.cpp:
2550 (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
2551
2552 2013-02-03 David Dorwin <ddorwin@chromium.org>
2553
2554 [chromium] Do not call m_widgetClient->show() for WebHelperPlugin.
2555 https://bugs.webkit.org/show_bug.cgi?id=108740
2556
2557 Reviewed by Kent Tamura.
2558
2559 The calls to m_widgetClient->show() and setFocus() do not appear to be
2560 necessary, and the former causes problems on at least on platform.
2561
2562 * src/WebHelperPluginImpl.cpp:
2563 (WebKit::WebHelperPluginImpl::initialize): Removed calls to m_widgetClie nt->show() and setFocus().
2564 (WebKit::WebHelperPluginImpl::setFocus): Should never be called.
2565
2566 2013-02-02 Michael Nordman <michaeln@google.com>
2567
2568 [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
2569 This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit
2570 sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains
2571 in place and in use.
2572 https://bugs.webkit.org/show_bug.cgi?id=108736
2573
2574 Reviewed by Darin Fisher.
2575
2576 * public/WebFileSystemCallbacks.h:
2577 (WebFileSystemCallbacks):
2578 (WebKit::WebFileSystemCallbacks::didCreateSnapshotFile):
2579
2580 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
2581
2582 Unreviewed. Rolled Chromium DEPS to r180221. Requested by
2583 "Nico Weber" <thakis@chromium.org> via sheriffbot.
2584
2585 * DEPS:
2586
2587 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
2588
2589 Unreviewed. Rolled Chromium DEPS to r180186. Requested by
2590 "Nico Weber" <thakis@chromium.org> via sheriffbot.
2591
2592 * DEPS:
2593
2594 2013-02-01 Chris Hopman <cjhopman@chromium.org>
2595
2596 [Chromium] WebWidget::selectionBounds should return the bounds in docume nt space
2597 https://bugs.webkit.org/show_bug.cgi?id=108386
2598
2599 Reviewed by James Robinson.
2600
2601 When in applyPageScaleFactorInCompositor mode, selectionBounds needs
2602 to scale the anchor/focus window points by the pageScaleFactor.
2603
2604 * src/WebViewImpl.cpp:
2605 (WebKit::WebViewImpl::selectionBounds):
2606 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode):
2607
2608 2013-02-01 Dominic Mazzoni <dmazzoni@google.com>
2609
2610 AX: memoize expensive computation during blocks where tree doesn't chang e
2611 https://bugs.webkit.org/show_bug.cgi?id=106497
2612
2613 Reviewed by Ryosuke Niwa.
2614
2615 Expose two methods to enable and disable caching of
2616 computed WebAccessibilityObject attributes, to speed up
2617 batch read-only operations.
2618
2619 * public/WebAccessibilityObject.h:
2620 (WebAccessibilityObject):
2621 * src/WebAccessibilityObject.cpp:
2622 (WebKit::WebAccessibilityObject::startCachingComputedObjectAttributesUnt ilTreeMutates):
2623 (WebKit):
2624 (WebKit::WebAccessibilityObject::stopCachingComputedObjectAttributes):
2625
2626 2013-02-01 Fady Samuel <fsamuel@chromium.org>
2627
2628 [Chromium] Expose WebNode::shadowHost()
2629 https://bugs.webkit.org/show_bug.cgi?id=108681
2630
2631 Reviewed by Dimitri Glazkov.
2632
2633 BrowserPlugin needs to be able to check the event listeners attached to
2634 <webview> and so we expose shadowHost to permit it to poke at the webvie w
2635 node.
2636
2637 * public/WebNode.h:
2638 * src/WebNode.cpp:
2639 (WebKit::WebNode::shadowHost):
2640 (WebKit):
2641
2642 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org>
2643
2644 [Chromium] Ignore punctuation in spellcheck
2645 https://bugs.webkit.org/show_bug.cgi?id=108511
2646
2647 Reviewed by Tony Chang.
2648
2649 * src/ContextMenuClientImpl.cpp:
2650 (WebKit::IsWhiteSpaceOrPunctuation): Added utility function to detect wh itespace or punctuation.
2651 (WebKit::selectMisspellingAsync): Ignore punctuation when selecting the misspelling.
2652
2653 2013-02-01 Philip Rogers <pdr@google.com>
2654
2655 Change hasAlpha to isKnownToBeOpaque and correct the return value for SV G images.
2656 https://bugs.webkit.org/show_bug.cgi?id=106966
2657
2658 Reviewed by Stephen White.
2659
2660 * tests/DragImageTest.cpp:
2661 (WebCore::TestImage::currentFrameKnownToBeOpaque):
2662 (TestImage):
2663 * tests/ImageLayerChromiumTest.cpp:
2664 (WebCore::TestImage::currentFrameKnownToBeOpaque):
2665 * tests/PlatformContextSkiaTest.cpp:
2666 (WebCore::TEST):
2667
2668 2013-02-01 Nico Weber <thakis@chromium.org>
2669
2670 [chromium] Build webkit with enable_web_intents set to 0.
2671 https://bugs.webkit.org/show_bug.cgi?id=108408
2672
2673 Reviewed by Tony Chang.
2674
2675 I'll then make chromium build fine with that, then switch
2676 enable_web_intents to 0, roll that into webkit, and then
2677 actually remove the code hidden behind this flag.
2678
2679 The features.gypi bit depends on https://codereview.chromium.org/1214300 2/
2680 and will disable web intents support on android. Since common.gypi
2681 sets enable_web_intents to 0 explicitly, it seems this is currently on
2682 by accident anyway.
2683
2684 While it looks like this CL just removes ENABLE_WEB_INTENTS=1 from
2685 features.gypi completely, it's still set further down the file if
2686 enable_web_intents is on.
2687
2688 * WebKit.gyp:
2689 * features.gypi:
2690 * src/WebFrameImpl.cpp:
2691
2692 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org>
2693
2694 [Chromium] Ignore whitespace in spellcheck
2695 https://bugs.webkit.org/show_bug.cgi?id=108510
2696
2697 Reviewed by Ryosuke Niwa.
2698
2699 * src/ContextMenuClientImpl.cpp:
2700 (WebKit::selectMisspellingAsync): Ignore whitespace when selecting the m isspelling.
2701
2702 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
2703
2704 Unreviewed. Rolled Chromium DEPS to r180131. Requested by
2705 "Florin Malita" <fmalita@chromium.org> via sheriffbot.
2706
2707 * DEPS:
2708
2709 2013-02-01 Alexis Menard <alexis@webkit.org>
2710
2711 Enable unprefixed CSS transitions by default.
2712 https://bugs.webkit.org/show_bug.cgi?id=108216
2713
2714 Reviewed by Dean Jackson.
2715
2716 Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
2717 to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
2718 guard the unprefixing work for CSS Transforms and animations.
2719
2720 * features.gypi:
2721
2722 2013-02-01 Ken Kania <kkania@chromium.org>
2723
2724 Web Inspector: Add support for handling modal dialogs
2725 https://bugs.webkit.org/show_bug.cgi?id=107883
2726
2727 Reviewed by Pavel Feldman.
2728
2729 Introduce support for being notified when a JavaScript modal dialog
2730 is opening and closing, as well as a new command for accepting or
2731 dismissing the dialog.
2732
2733 * public/WebDevToolsAgent.h:
2734 * src/InspectorClientImpl.cpp:
2735 (WebKit::InspectorClientImpl::handleJavaScriptDialog):
2736 (WebKit):
2737 * src/InspectorClientImpl.h:
2738 (InspectorClientImpl):
2739 * src/WebDevToolsAgentImpl.cpp:
2740 (BrowserDataHintStringValues):
2741 (WebKit::WebDevToolsAgentImpl::captureScreenshot):
2742 (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
2743 (WebKit):
2744 (WebKit::browserHintToString):
2745 (WebKit::browserHintFromString):
2746 (WebKit::WebDevToolsAgent::patchWithBrowserData):
2747 * src/WebDevToolsAgentImpl.h:
2748 (WebDevToolsAgentImpl):
2749
2750 2013-02-01 Dan Alcantara <dfalcantara@chromium.org>
2751
2752 Touch disambiguation blacklist is not being queried properly
2753 https://bugs.webkit.org/show_bug.cgi?id=108222
2754
2755 Reviewed by Adam Barth.
2756
2757 TEST=WebFrameTest::DisambiguationPopupBlacklist
2758
2759 Fix the blacklist so that we check it for the right nodes.
2760 Add a test to check that the blacklist is being built and used
2761 correctly. Also update the other DisambiguationPopup tests to
2762 use the new page scale method.
2763
2764 * tests/WebFrameTest.cpp:
2765 * tests/data/disambiguation_popup_blacklist.html: Added.
2766
2767 2013-02-01 Eberhard Graether <egraether@google.com>
2768
2769 [chromium] only show checkboxes for FPS meter and continuous painting wh en compositing mode is forced
2770 https://bugs.webkit.org/show_bug.cgi?id=108236
2771
2772 Reviewed by Pavel Feldman.
2773
2774 This change hides the checkboxes for FPS meter and continuous painting i f compositing mode is not forced.
2775 This way the checkboxes only show up for users that can make use of thes e features.
2776
2777 * src/InspectorClientImpl.cpp:
2778 (WebKit::InspectorClientImpl::canShowFPSCounter):
2779 (WebKit::InspectorClientImpl::canContinuouslyPaint):
2780
2781 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
2782
2783 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
2784 https://bugs.webkit.org/show_bug.cgi?id=107737
2785
2786 Reviewed by Ryosuke Niwa.
2787
2788 * public/WebViewClient.h:
2789 (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
2790 Adding a callback to let the WebViewClient know that the composition has been cancelled.
2791 * src/EditorClientImpl.cpp:
2792 (WebKit::EditorClientImpl::respondToChangedSelection):
2793 Adding a call composition if it is no longer valid.
2794
15 2013-01-31 Aurimas Liutikas <aurimas@chromium.org> 2795 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
16 2796
17 [Chromium] WebViewTest.SetCompositionFromExistingText failing after r141 479 2797 [Chromium] WebViewTest.SetCompositionFromExistingText failing after r141 479
18 https://bugs.webkit.org/show_bug.cgi?id=108543 2798 https://bugs.webkit.org/show_bug.cgi?id=108543
19 2799
20 Reviewed by Ryosuke Niwa. 2800 Reviewed by Ryosuke Niwa.
21 2801
22 Fixing a bug that was uncovered after fixing http://trac.webkit.org/chan geset/141479 2802 Fixing a bug that was uncovered after fixing http://trac.webkit.org/chan geset/141479
23 2803
24 * src/WebViewImpl.cpp: 2804 * src/WebViewImpl.cpp:
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 https://bugs.webkit.org/show_bug.cgi?id=108160 3005 https://bugs.webkit.org/show_bug.cgi?id=108160
226 3006
227 Reviewed by Adam Barth. 3007 Reviewed by Adam Barth.
228 3008
229 Fix the unit test so that it is using the right HTML file. 3009 Fix the unit test so that it is using the right HTML file.
230 3010
231 * tests/WebFrameTest.cpp: 3011 * tests/WebFrameTest.cpp:
232 3012
233 2013-01-31 Tony Chang <tony@chromium.org> 3013 2013-01-31 Tony Chang <tony@chromium.org>
234 3014
235 [Chromium, Mobile] Do not show disambiguation pop up in mobile sites 3015 [Chromium] webkit_unit_tests should depend on base/allocator for ASAN
236 https://bugs.webkit.org/show_bug.cgi?id=107607 3016 https://bugs.webkit.org/show_bug.cgi?id=108497
237 3017
238 Reviewed by Adam Barth. 3018 Reviewed by James Robinson.
239 3019
240 Add a check before showing the disambiguation popup to prevent it from a ppearing 3020 * WebKitUnitTests.gyp:
241 on mobile sites. Makes a similar test to the current disambiguation pop up test 3021
242 that expects the popup to never appear. 3022 2013-01-31 Alexandre Elias <aelias@chromium.org>
243 3023
3024 Call FrameView::contentsResized() when setting fixed layout size
3025 https://bugs.webkit.org/show_bug.cgi?id=107922
3026
3027 Reviewed by James Robinson.
3028
3029 In fixed layout mode, we should be calling contentsResized() when the
3030 fixed layout size is changed, but not laying out when the visible
3031 content rect changes.
3032
3033 Previously landed as r140869 but was reverted due to a bug in bundled
3034 Chromium-specific code. This patch includes just the minimum needed in
3035 WebCore.
3036
3037 New WebFrameTest: FrameViewNeedsLayoutOnFixedLayoutResize. Some
3038 flaky and obsolete tests for the old page scale mode are also deleted.
3039
3040 * tests/WebFrameTest.cpp:
3041
3042 2013-01-31 Tommy Widenflycht <tommyw@google.com>
3043
3044 [chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMedia StreamComponent to WebMediaStream and WebMediaStreamTrack
3045 https://bugs.webkit.org/show_bug.cgi?id=108458
3046
3047 Reviewed by Adam Barth.
3048
3049 Only renames, no other code changes.
3050
3051 * public/WebMediaStreamRegistry.h:
3052 (WebKit):
3053 (WebMediaStreamRegistry):
3054 * public/WebUserMediaRequest.h:
3055 (WebKit):
3056 (WebUserMediaRequest):
3057 * src/WebMediaStreamRegistry.cpp:
3058 (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
3059 * src/WebUserMediaRequest.cpp:
3060 (WebKit::WebUserMediaRequest::requestSucceeded):
3061
3062 2013-01-31 Alec Flett <alecflett@chromium.org>
3063
3064 IndexedDB: Remove WebKit API for old onSuccess/onUpgradeNeeded
3065 https://bugs.webkit.org/show_bug.cgi?id=108399
3066
3067 Reviewed by Dimitri Glazkov.
3068
3069 Cleanup now that chromium proxies the new signatures through.
3070
3071 * src/IDBCallbacksProxy.cpp:
3072 (WebKit::IDBCallbacksProxy::onSuccess):
3073 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
3074 * src/IDBCallbacksProxy.h:
3075 (IDBCallbacksProxy):
3076 * src/WebIDBCallbacksImpl.cpp:
3077 * src/WebIDBCallbacksImpl.h:
3078 (WebIDBCallbacksImpl):
3079
3080 2013-01-31 James Robinson <jamesr@chromium.org>
3081
3082 [chromium] Remove dead transitional code from WebViewImpl
3083 https://bugs.webkit.org/show_bug.cgi?id=107889
3084
3085 Reviewed by Adam Barth.
3086
3087 The chromium side of this landed at r178256 and seems stable.
3088
3089 * public/WebWidget.h:
3090 (WebKit::WebWidget::setCompositorSurfaceReady):
244 * src/WebViewImpl.cpp: 3091 * src/WebViewImpl.cpp:
245 (WebKit::WebViewImpl::handleGestureEvent): 3092 (WebKit::WebViewImpl::WebViewImpl):
246 (WebKit): 3093 (WebKit::WebViewImpl::~WebViewImpl):
247 (WebKit::WebViewImpl::isLikelyMobileSite): 3094 (WebKit):
3095 (WebKit::WebViewImpl::setIsTransparent):
3096 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
248 * src/WebViewImpl.h: 3097 * src/WebViewImpl.h:
249 (WebViewImpl): 3098 * tests/ScrollingCoordinatorChromiumTest.cpp:
3099 (WebKit::FakeWebViewClient::initializeLayerTreeView):
3100 (FakeWebViewClient):
3101 (WebKit::FakeWebViewClient::layerTreeView):
3102 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumT est):
3103 (ScrollingCoordinatorChromiumTest):
3104
3105 2013-01-31 Kentaro Hara <haraken@chromium.org>
3106
3107 Rename WheelEvent::Granularity to WheelEvent::DeltaMode
3108 https://bugs.webkit.org/show_bug.cgi?id=108434
3109
3110 Reviewed by Ryosuke Niwa.
3111
3112 Per the spec, WheelEvent::Granularity should be renamed to WheelEvent::D eltaMode.
3113
3114 Spec: http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent
3115 https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#constructor-wh eelevent
3116
3117 No tests. No change in behavior.
3118
3119 * src/WebInputEventConversion.cpp:
3120 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
3121 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
3122
3123 2013-01-31 Yury Semikhatsky <yurys@chromium.org>
3124
3125 Unreviewed. Bump Chromium dependency to 179332
3126
3127 * DEPS:
3128
3129 2013-01-31 Mark Pilgrim <pilgrim@chromium.org>
3130
3131 [Chromium] Move MediaPlayerPrivateChromium to WebCore
3132 https://bugs.webkit.org/show_bug.cgi?id=108415
3133
3134 Reviewed by Adam Barth.
3135
3136 Part of a larger refactoring series; see tracking bug 106829.
3137
3138 * WebKit.gyp:
3139 * src/MediaPlayerPrivateChromium.cpp: Removed.
3140 * src/WebKit.cpp:
3141 (WebKit::initializeWithoutV8): call new setter function in
3142 WebCore::MediaPlayerPrivate
3143
3144 2013-01-30 Sheriff Bot <webkit.review.bot@gmail.com>
3145
3146 Unreviewed, rolling out r141358.
3147 http://trac.webkit.org/changeset/141358
3148 https://bugs.webkit.org/show_bug.cgi?id=108421
3149
3150 breaks android builder (Requested by morrita on #webkit).
3151
3152 * WebKit.gyp:
3153 * features.gypi:
3154 * src/WebFrameImpl.cpp:
3155
3156 2013-01-30 Nico Weber <thakis@chromium.org>
3157
3158 [chromium] Build webkit with enable_web_intents set to 0.
3159 https://bugs.webkit.org/show_bug.cgi?id=108408
3160
3161 Reviewed by Kentaro Hara.
3162
3163 I'll then make chromium build fine with that, then switch
3164 enable_web_intents to 0, roll that into webkit, and then
3165 actually remove the code hidden behind this flag.
3166
3167 * WebKit.gyp:
3168 * features.gypi:
3169 * src/WebFrameImpl.cpp:
3170
3171 2013-01-30 Levi Weintraub <leviw@chromium.org>
3172
3173 [Chromium] WebPluginContainerImpl adding imbalanced touch handler refs
3174 https://bugs.webkit.org/show_bug.cgi?id=108381
3175
3176 Reviewed by James Robinson.
3177
3178 WebPluginContainerImpl would call Document::didAddTouchEventHandler ever y time the plugin requested
3179 touch events. Some plugins make this request more than once, leading to an imbalance in Document's
3180 touch event handler map, and a stale node pointer when the plugin is des troyed. This change
3181 has WebPluginContainerImpl only add one ref for the plugin at a time.
3182
3183 * src/WebPluginContainerImpl.cpp:
3184 (WebKit::WebPluginContainerImpl::requestTouchEventType):
3185
3186 2013-01-30 Yusuf Ozuysal <yusufo@google.com>
3187
3188 Start sending scrollType as NonBubblingGesture for flings
3189 https://bugs.webkit.org/show_bug.cgi?id=108372
3190
3191 Reviewed by James Robinson.
3192
3193 * src/WebCompositorInputHandlerImpl.cpp:
3194 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
3195
3196 2013-01-30 Tien-Ren Chen <trchen@chromium.org>
3197
3198 [chromium] Add WebFrame::visibleContentRect()
3199 https://bugs.webkit.org/show_bug.cgi?id=108311
3200
3201 Reviewed by James Robinson.
3202
3203 * public/WebFrame.h:
3204 * src/WebFrameImpl.cpp:
3205 (WebKit::WebFrameImpl::visibleContentRect):
3206 (WebKit):
3207 * src/WebFrameImpl.h:
3208 (WebFrameImpl):
3209
3210 2013-01-30 Kentaro Hara <haraken@chromium.org>
3211
3212 Implement KeyboardEvent constructor
3213 https://bugs.webkit.org/show_bug.cgi?id=108320
3214
3215 Reviewed by Adam Barth.
3216
3217 Renamed keyboard event constant variables to avoid style errors.
3218
3219 * src/WebInputEventConversion.cpp:
3220 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
3221 * tests/WebInputEventConversionTest.cpp:
3222 * tests/WebInputEventFactoryTestGtk.cpp:
3223
3224 2013-01-30 Kentaro Hara <haraken@chromium.org>
3225
3226 Implement WheelEvent constructor
3227 https://bugs.webkit.org/show_bug.cgi?id=108303
3228
3229 Reviewed by Adam Barth.
3230
3231 This patch just renames an enum value to avoid style check error.
3232
3233 * src/WebViewImpl.cpp:
3234 (WebKit::WebViewImpl::scrollBy):
3235
3236 2013-01-30 Dana Jansens <danakj@chromium.org>
3237
3238 [chromium] Add recordRenderingStats to WebSettings
3239 https://bugs.webkit.org/show_bug.cgi?id=108358
3240
3241 Reviewed by James Robinson.
3242
3243 * public/WebSettings.h:
3244 * src/WebSettingsImpl.cpp:
3245 (WebKit::WebSettingsImpl::setRecordRenderingStats):
3246 (WebKit):
3247 * src/WebSettingsImpl.h:
3248 (WebSettingsImpl):
3249 (WebKit::WebSettingsImpl::recordRenderingStats):
3250 * src/WebViewImpl.cpp:
3251 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3252
3253 2013-01-30 Tony Gentilcore <tonyg@chromium.org>
3254
3255 Fix compile error in WebFrameTest
3256 https://bugs.webkit.org/show_bug.cgi?id=108360
3257
3258 Unreviewed build fix.
3259
3260 Fixes compile error:
3261 ../../Source/WebKit/chromium/tests/WebFrameTest.cpp:330:5: error: conver ting false to pointer type for argument 1 of char testing::internal::IsNullLiter alHelper(testing::internal::Secret*) [-Werror=conversion-null]
3262
250 * tests/WebFrameTest.cpp: 3263 * tests/WebFrameTest.cpp:
251 * tests/data/disambiguation_popup_mobile_site.html: Added. 3264
252 3265 2013-01-30 John Knottenbelt <jknotten@chromium.org>
253 * src/WebViewImpl.cpp:
254 (WebKit::WebViewImpl::handleGestureEvent):
255 (WebKit):
256 (WebKit::WebViewImpl::shouldDisableDesktopWorkarounds):
257 * src/WebViewImpl.h:
258 (WebViewImpl):
259 * tests/WebFrameTest.cpp:
260 * tests/data/disambiguation_popup_mobile_site.html: Added.
261
262 2013-01-28 Stephen Chenney <schenney@chromium.org>
263 3266
264 [Chromium] Fix find in page rects for overflowing content. 3267 [Chromium] Fix find in page rects for overflowing content.
265 https://bugs.webkit.org/show_bug.cgi?id=104924 3268 https://bugs.webkit.org/show_bug.cgi?id=104924
266 3269
267 Reviewed by Julien Chaffraix. 3270 Reviewed by Julien Chaffraix.
268 3271
269 If a div has overflowing content, we should only normalise its 3272 If a div has overflowing content, we should only normalise its
270 coordinates against the renderview or the containing scrollable block. 3273 coordinates against the renderview or the containing scrollable block.
271 3274
272 TEST=WebFrameTest.FindInPageMatchRects 3275 TEST=WebFrameTest.FindInPageMatchRects
(...skipping 12 matching lines...) Expand all
285 * tests/data/find_in_page_frame.html: 3288 * tests/data/find_in_page_frame.html:
286 Add test cases: 3289 Add test cases:
287 - Result 15, 16 tests that containing <div> with style float:left and 3290 - Result 15, 16 tests that containing <div> with style float:left and
288 height:0px does not impact coordinate normalization. 3291 height:0px does not impact coordinate normalization.
289 - Result 17, 18 tests that matches with absolute positioning are n ormalized containing 3292 - Result 17, 18 tests that matches with absolute positioning are n ormalized containing
290 relative positioned block, even if there is a closer parent bloc k with overflow clip. 3293 relative positioned block, even if there is a closer parent bloc k with overflow clip.
291 - Result 19 adds a test case for <select> element. 3294 - Result 19 adds a test case for <select> element.
292 3295
293 2013-01-30 Dominik Röttsches <dominik.rottsches@intel.com> 3296 2013-01-30 Dominik Röttsches <dominik.rottsches@intel.com>
294 3297
295 [chromium] Unreviewed. Disable <iframe seamless> on the M25 branch. 3298 [HarfBuzz] Remove the HarfBuzz-old code
296 https://bugs.webkit.org/show_bug.cgi?id=107462 3299 https://bugs.webkit.org/show_bug.cgi?id=108077
297 3300
298 Toggle ENABLE_IFRAME_SEAMLESS off on the branch for M25. 3301 Reviewed by Benjamin Poulain.
299 3302
300 BUG=171213 3303 Rename WTF_USE_HARFBUZZ_NG to WTF_USE_HARFBUZZ since there
3304 won't be a distinction between ng and non-ng HarfBuzz after
3305 removing the old code.
301 3306
302 * features.gypi: 3307 * features.gypi:
303 3308
3309 2013-01-30 Jochen Eisinger <jochen@chromium.org>
3310
3311 [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
3312 https://bugs.webkit.org/show_bug.cgi?id=108004
3313 http://code.google.com/p/chromium/issues/detail?id=172416
3314
3315 console.debug triggers a NOTREACHED() assertation in Chromium. This
3316 is because WebCore::MessageLevel contains 5 levels, including debug,
3317 where WebConsoleMessage::Level is missing a "debug" level. Add a
3318 WebConsoleMessage::LevelDebug so that it can get passed up to the
3319 renderer even if it doesn't make use of that now.
3320
3321 Requires another patch to chromium itself to fix chromium bug 172416
3322 but this is a prerequisite.
3323
3324 Also add an enum compile time check to AssertMatchingEnums.cpp,
3325
3326 Patch by Kevin Day <kevinday@gmail.com> on 2013-01-28
3327 Reviewed by Jochen Eisinger.
3328
3329 * public/WebConsoleMessage.h:
3330 * src/AssertMatchingEnums.cpp:
3331 * src/WebFrameImpl.cpp:
3332 (WebKit::WebFrameImpl::addMessageToConsole):
3333
3334 2013-01-30 Xianzhu Wang <wangxianzhu@chromium.org>
3335
3336 [Chromium] Correct zoom for focused node when using compositor scaling
3337 https://bugs.webkit.org/show_bug.cgi?id=107599
3338
3339 Reviewed by Adam Barth.
3340
3341 When applyDeviceScaleFactorInCompositor, targetScale should exclude devi ce scale factor.
3342 When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
3343
3344 Reapply r141153. Added font-size in html to ensure same caret size acros s platforms.
3345
3346 * src/WebViewImpl.cpp:
3347 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
3348 (WebKit):
3349 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted fr om scrollFocusedNodeIntoRect() to ease testing.
3350 * src/WebViewImpl.h:
3351 (WebViewImpl):
3352 * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
3353 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
3354
3355 2013-01-29 Mark Lam <mark.lam@apple.com>
3356
3357 Rename AbstractDatabase to DatabaseBackend.
3358 https://bugs.webkit.org/show_bug.cgi?id=108275.
3359
3360 Reviewed by Sam Weinig.
3361
3362 This is a pure rename operation as part of the webdatabase refactoring
3363 effort. There is no semantic change in this patch.
3364
3365 * public/WebDatabase.h:
3366 (WebDatabase):
3367 * src/DatabaseObserver.cpp:
3368 (WebCore::DatabaseObserver::databaseOpened):
3369 (WebCore::DatabaseObserver::databaseModified):
3370 (WebCore::DatabaseObserver::databaseClosed):
3371 (WebCore::DatabaseObserver::reportOpenDatabaseResult):
3372 (WebCore::DatabaseObserver::reportChangeVersionResult):
3373 (WebCore::DatabaseObserver::reportStartTransactionResult):
3374 (WebCore::DatabaseObserver::reportCommitTransactionResult):
3375 (WebCore::DatabaseObserver::reportExecuteStatementResult):
3376 (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
3377 * src/WebDatabase.cpp:
3378 (WebKit::WebDatabase::WebDatabase):
3379
3380 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
3381
3382 Unreviewed, rolling out r141153.
3383 http://trac.webkit.org/changeset/141153
3384 https://bugs.webkit.org/show_bug.cgi?id=108280
3385
3386 Caused WebFrameTest.DivScrollIntoEditableTest to fail on Mac.
3387 (Requested by keishi on #webkit).
3388
3389 * src/WebViewImpl.cpp:
3390 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
3391 * src/WebViewImpl.h:
3392 (WebViewImpl):
3393 * tests/WebFrameTest.cpp:
3394 * tests/data/get_scale_for_zoom_into_editable_test.html:
3395
3396 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
3397
3398 Unreviewed, rolling out r140983.
3399 http://trac.webkit.org/changeset/140983
3400 https://bugs.webkit.org/show_bug.cgi?id=108277
3401
3402 Unfortunately, this API has one last client (Requested by
3403 abarth on #webkit).
3404
3405 * src/WebNotification.cpp:
3406 (WebKit::WebNotification::isHTML):
3407 (WebKit::WebNotification::url):
3408 (WebKit::WebNotification::iconURL):
3409 (WebKit::WebNotification::title):
3410 (WebKit::WebNotification::body):
3411
3412 2013-01-29 Shinya Kawanaka <shinyak@chromium.org>
3413
3414 [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
3415 https://bugs.webkit.org/show_bug.cgi?id=106287
3416
3417 Reviewed by Hajime Morita.
3418
3419 When an input element is disabled or readonly, its inner element is not editable. So its rootEditableElement
3420 does not exist. In WebViewImpl::caretOrSelectionRange, if rootEditableEl ement does not exist, it uses
3421 a document element. However, the inner element and document element have a different tree scope, selection range
3422 cannot be gotten correctly.
3423
3424 We should use ShadowRoot instead of document so that we can stay in the same tree scope.
3425
3426 * src/WebViewImpl.cpp:
3427 (WebKit::WebViewImpl::caretOrSelectionRange):
3428 * tests/WebViewTest.cpp:
3429 * tests/data/selection_disabled.html: Added.
3430 * tests/data/selection_readonly.html: Added.
3431
3432 2013-01-29 Tom Sepez <tsepez@chromium.org>
3433
3434 [v8] Enable binding integrity on linux
3435 https://bugs.webkit.org/show_bug.cgi?id=108242
3436
3437 Reviewed by Adam Barth.
3438
3439 * features.gypi:
3440
3441 2013-01-29 Xianzhu Wang <wangxianzhu@chromium.org>
3442
3443 [Chromium] Correct zoom for focused node when using compositor scaling
3444 https://bugs.webkit.org/show_bug.cgi?id=107599
3445
3446 Reviewed by Adam Barth.
3447
3448 When applyDeviceScaleFactorInCompositor, targetScale should exclude devi ce scale factor.
3449 When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
3450
3451 * src/WebViewImpl.cpp:
3452 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
3453 (WebKit):
3454 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted fr om scrollFocusedNodeIntoRect() to ease testing.
3455 * src/WebViewImpl.h:
3456 (WebViewImpl):
3457 * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
3458 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
3459
3460 2013-01-29 Alec Flett <alecflett@chromium.org>
3461
3462 IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSucces s
3463 https://bugs.webkit.org/show_bug.cgi?id=103920
3464
3465 Reviewed by Dimitri Glazkov.
3466
3467 Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeede d
3468 while maintaining chromium compatibility by shimming in the old API
3469 in the WebKit side. Future code will clean this up so that it is just a
3470 pass-through as it was before.
3471
3472 * public/WebIDBCallbacks.h:
3473 (WebKit):
3474 (WebKit::WebIDBCallbacks::onSuccess): new method signature.
3475 (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
3476 * src/IDBCallbacksProxy.cpp:
3477 (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature pro xies through old API.
3478 (WebKit):
3479 (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signatu re proxies through old API.
3480 * src/IDBCallbacksProxy.h:
3481 (IDBCallbacksProxy):
3482 * src/WebIDBCallbacksImpl.cpp:
3483 (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signa ture calls new API.
3484 (WebKit):
3485 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
3486 * src/WebIDBCallbacksImpl.h:
3487 (WebIDBCallbacksImpl):
3488 * tests/IDBAbortOnCorruptTest.cpp: new method signature.
3489 (WebCore::MockIDBCallbacks::onSuccess):
3490 * tests/IDBDatabaseBackendTest.cpp: new method signature.
3491
3492 2013-01-29 Alexandre Elias <aelias@chromium.org>
3493
3494 [chromium] Fix contents size calculation for page scale initialization
3495 https://bugs.webkit.org/show_bug.cgi?id=108204
3496
3497 Reviewed by enne.
3498
3499 My previous patch http://webk.it/107424 had a few issues that are
3500 blocking WebKit roll.
3501
3502 - We still need the layout in resize() given that
3503 http://webk.it/107922 was reverted.
3504
3505 - I deleted code used only for the old page-scale mode in
3506 contentsSize(), but this needs to wait until WebKit roll since it's
3507 making bots fail in this short term.
3508
3509 * src/WebViewImpl.cpp:
3510 (WebKit::WebViewImpl::resize):
3511 (WebKit::WebViewImpl::contentsSize):
3512
3513 2013-01-29 Alpha Lam <hclam@chromium.org>
3514
3515 [chromium] Unreviewed DEPS roll.
3516
3517 Roll Chromium DEPS to 179332.
3518
3519 * DEPS:
3520
3521 2013-01-29 Joshua Bell <jsbell@chromium.org>
3522
3523 [Chromium] IndexedDB: Let callers specify reason (error) for aborting tr ansaction
3524 https://bugs.webkit.org/show_bug.cgi?id=107851
3525
3526 Reviewed by Tony Chang.
3527
3528 Let Chromium call abort() on a transaction and specify a reason, specifi cally for
3529 QuotaExceededError.
3530
3531 * public/WebIDBDatabase.h:
3532 (WebKit::WebIDBDatabase::abort): New overload for abort() that takes an error.
3533 * public/WebIDBDatabaseError.h:
3534 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): Overloaded construct or/assign that takes error.
3535 * src/IDBDatabaseBackendProxy.cpp:
3536 (WebKit::IDBDatabaseBackendProxy::abort): New overload for abort() that takes an error.
3537 * src/IDBDatabaseBackendProxy.h:
3538 (IDBDatabaseBackendProxy): Ditto.
3539 * src/WebIDBDatabaseError.cpp: Implementation of overload ctor/assign.
3540 * src/WebIDBDatabaseImpl.cpp:
3541 (WebKit::WebIDBDatabaseImpl::abort): New overload for abort() that takes an error.
3542 * src/WebIDBDatabaseImpl.h: Ditto.
3543 * tests/IDBDatabaseBackendTest.cpp: Overload stubs for Mock class.
3544
3545 2013-01-29 Florin Malita <fmalita@chromium.org>
3546
3547 [Chromium] Unreviewed gardening.
3548
3549 Disable WebFrameTest.pageScaleFactorShrinksViewport (pending investigati on after r141053).
3550
3551 * tests/WebFrameTest.cpp:
3552
3553 2013-01-29 Keishi Hattori <keishi@webkit.org>
3554
3555 [Chromium] Disabling WebFrameTest.DisambiguationPopupMobileSite because WebFrameTest is still failing after r141073.
3556
3557 Unreviewed. Gardening.
3558
3559 * tests/WebFrameTest.cpp:
3560
3561 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
3562
3563 Unreviewed, rolling out r141064.
3564 http://trac.webkit.org/changeset/141064
3565 https://bugs.webkit.org/show_bug.cgi?id=108166
3566
3567 [Chromium] WebFrameTest.DivScrollIntoEditableTest is failing
3568 on WinXP. (Requested by keishi on #webkit).
3569
3570 * tests/WebFrameTest.cpp:
3571 * tests/data/get_scale_for_zoom_into_editable_test.html:
3572
3573 2013-01-29 Keishi Hattori <keishi@webkit.org>
3574
3575 [Chromium] Disabling WebFrameTest.DisambiguationPopup because it is fail ing.
3576
3577 Unreviewed. Gardening.
3578
3579 * tests/WebFrameTest.cpp:
3580
3581 2013-01-28 Xianzhu Wang <wangxianzhu@chromium.org>
3582
3583 Re-enable WebFrameTest.DivScrollIntoEditableTest
3584 https://bugs.webkit.org/show_bug.cgi?id=98558
3585
3586 Reviewed by Adam Barth.
3587
3588 * tests/WebFrameTest.cpp: Fixed several issues (onload script, the maxim um scale factor, etc.) of WebFrameTest.DivScrollIntoEditableTest and enable it.
3589 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
3590
3591 2013-01-28 Tien-Ren Chen <trchen@chromium.org>
3592
3593 Fix disambiguation popup for new-style page scale
3594 https://bugs.webkit.org/show_bug.cgi?id=107391
3595
3596 Reviewed by Adam Barth.
3597
3598 This patch corrects various coordinate conversion for disambiguation
3599 popup for the new-style page scale mode.
3600
3601 * src/WebViewImpl.cpp:
3602 (WebKit::WebViewImpl::handleGestureEvent):
3603 (WebKit::WebViewImpl::handleInputEvent):
3604 * tests/WebFrameTest.cpp:
3605 * tests/data/disambiguation_popup_page_scale.html: Added.
3606
3607 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
3608
3609 Unreviewed, rolling out r141049.
3610 http://trac.webkit.org/changeset/141049
3611 https://bugs.webkit.org/show_bug.cgi?id=108151
3612
3613 Caused some indexed tests to crash. (Requested by keishi on
3614 #webkit).
3615
3616 * public/WebIDBCallbacks.h:
3617 (WebKit):
3618 * src/IDBCallbacksProxy.cpp:
3619 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
3620 * src/IDBCallbacksProxy.h:
3621 (IDBCallbacksProxy):
3622 * src/WebIDBCallbacksImpl.cpp:
3623 (WebKit::WebIDBCallbacksImpl::onSuccess):
3624 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
3625 * src/WebIDBCallbacksImpl.h:
3626 (WebIDBCallbacksImpl):
3627 * tests/IDBAbortOnCorruptTest.cpp:
3628 (WebCore::MockIDBCallbacks::onSuccess):
3629 * tests/IDBDatabaseBackendTest.cpp:
3630
3631 2013-01-28 Raman Kumar <ramankk@chromium.org>
3632
3633 Expose isRadioButton and isCheckbox API in chromium-webkit glue layer.
3634 https://bugs.webkit.org/show_bug.cgi?id=108031
3635
3636 Reviewed by Adam Barth.
3637
3638 In chromium, to know if an InputElement is radiobutton or a checkbox,
3639 we are checking for formControlType (a string comparision), which is
3640 very slow. Exposing these API to chromium will make them faster.
3641
3642 * public/WebInputElement.h:
3643 (WebInputElement):
3644 * src/WebInputElement.cpp:
3645 (WebKit::WebInputElement::isRadioButton):
3646 (WebKit):
3647 (WebKit::WebInputElement::isCheckbox):
3648
3649 2013-01-28 Alexandre Elias <aelias@chromium.org>
3650
3651 Make page scale shrink FrameView in applyPageScaleInCompositor mode
3652 https://bugs.webkit.org/show_bug.cgi?id=107424
3653
3654 Reviewed by Levi Weintraub.
3655
3656 If applyPageScaleFactorInCompositor is enabled (Chromium-only setting),
3657 instead of the entire document expanding as the user pinch zooms, the
3658 viewport shrinks instead. This patch applies the pageScaleFactor to
3659 visibleContentRect to get this behavior, and simplifies Chromium's
3660 resize logic to stop hiding the true viewport size from WebCore.
3661
3662 I verified that the scaling makes sense for all the callers of
3663 visibleContentRect. The exceptions are clip-layer size,
3664 layout size in non-fixed-layout mode, and text autosizing, which need
3665 the original unscaled size. Therefore I added a new method
3666 unscaledVisibleContentSize() to ScrollView/FrameView.
3667
3668 This patch also modifies Page::setPageScaleFactor to perform no
3669 invalidates or layout when applyPageScaleFactorInCompositor is true,
3670 and also writes pageScaleFactor into HistoryItems instead of using
3671 frameScaleFactor.
3672
3673 Since all behavior changes are tied to applyPageScaleFactorInCompositor,
3674 this patch should be a no-op for non-Chromium ports.
3675
3676 * src/WebViewImpl.cpp:
3677 (WebKit::WebViewImpl::scaledSize): Returns the post page-scale size
3678 similar to what visibleContentRect() now returns, except that it may
3679 be at a different scale than the current one.
3680 (WebKit::WebViewImpl::size): Back to returning density-independent
3681 size without any tricks, not the "layoutSize()" fake viewport.
3682 (WebKit::WebViewImpl::resize):
3683 (WebKit::WebViewImpl::handleInputEvent): No need to apply
3684 implTransform anymore as WebKit knows the true scroll offset; just
3685 divide event coords by pageScaleFactor.
3686 (WebKit::WebViewImpl::clampOffsetAtScale): Make this method support
3687 applyPageScaleFactorInCompositor. This is used to pre-clamp scroll
3688 offsets at a given viewport size.
3689 (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset): Make
3690 this method support applyPageScaleFactorInCompositor (don't scale
3691 scroll offsets as they are now scale-independent).
3692 (WebKit::WebViewImpl::setPageScaleFactor): Make this method always use
3693 clampOffsetAtScale instead of bypassing it, since it's now supported.
3694 Also notify the compositor to update its state.
3695 (WebKit::WebViewImpl::contentsSize): Convenience method, removed
3696 difference between scaled and unscaled.
3697 (WebKit::WebViewImpl::layoutSize): This method returned the "fake"
3698 size we used to give FrameView. Now no longer used for much.
3699 (WebKit::WebViewImpl::computePageScaleFactorLimits):
3700 (WebKit::WebViewImpl::didChangeContentsSize): Remove unnecessary
3701 resize() now that we can give the true size to FrameView.
3702 (WebKit::WebViewImpl::updateLayerTreeViewport): Use layoutSize()
3703 directly now that FrameView no longer uses it.
3704 * src/WebViewImpl.h:
3705 (WebViewImpl):
3706 * tests/WebFrameTest.cpp:
3707
3708 2013-01-28 Alec Flett <alecflett@chromium.org>
3709
3710 IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSucces s
3711 https://bugs.webkit.org/show_bug.cgi?id=103920
3712
3713 Reviewed by Dimitri Glazkov.
3714
3715 Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeede d
3716 while maintaining chromium compatibility by shimming in the old API
3717 in the WebKit side. Future code will clean this up so that it is just a
3718 pass-through as it was before.
3719
3720 * public/WebIDBCallbacks.h:
3721 (WebKit):
3722 (WebKit::WebIDBCallbacks::onSuccess): new method signature.
3723 (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
3724 * src/IDBCallbacksProxy.cpp:
3725 (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature pro xies through old API.
3726 (WebKit):
3727 (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signatu re proxies through old API.
3728 * src/IDBCallbacksProxy.h:
3729 (IDBCallbacksProxy):
3730 * src/WebIDBCallbacksImpl.cpp:
3731 (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signa ture calls new API.
3732 (WebKit):
3733 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
3734 * src/WebIDBCallbacksImpl.h:
3735 (WebIDBCallbacksImpl):
3736 * tests/IDBAbortOnCorruptTest.cpp: new method signature.
3737 (WebCore::MockIDBCallbacks::onSuccess):
3738 * tests/IDBDatabaseBackendTest.cpp: new method signature.
3739
3740 2013-01-28 Tom Sepez <tsepez@chromium.org>
3741
3742 [v8] Security feature: JavaScript Bindings hardening
3743 https://bugs.webkit.org/show_bug.cgi?id=106608
3744
3745 Reviewed by Adam Barth.
3746
3747 * features.gypi:
3748 Added ENABLE_BINDING_INTEGRITY option.
3749
3750 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
3751
3752 Unreviewed, rolling out r141006.
3753 http://trac.webkit.org/changeset/141006
3754 https://bugs.webkit.org/show_bug.cgi?id=108123
3755
3756 Broke chromium build (Requested by arv on #webkit).
3757
3758 * public/WebConsoleMessage.h:
3759 * src/AssertMatchingEnums.cpp:
3760 * src/WebFrameImpl.cpp:
3761 (WebKit::WebFrameImpl::addMessageToConsole):
3762
3763 2013-01-28 Min Qin <qinmin@chromium.org>
3764
3765 adding support for DiscardablePixelRef for caching lazily decoded images
3766 https://bugs.webkit.org/show_bug.cgi?id=106842
3767
3768 Reviewed by Stephen White.
3769
3770 Adding new tests for ImageDecodingStore
3771
3772 * WebKit.gypi:
3773 * tests/ImageDecodingStoreTest.cpp:
3774 (WebCore::ImageDecodingStoreTest::createCompleteImage):
3775 (WebCore::ImageDecodingStoreTest::createIncompleteImage):
3776 (WebCore::TEST_F):
3777 (WebCore):
3778 * tests/MockDiscardablePixelRef.h: Added.
3779 (WebCore):
3780 (MockDiscardablePixelRef):
3781 (WebCore::MockDiscardablePixelRef::MockDiscardablePixelRef):
3782 (WebCore::MockDiscardablePixelRef::~MockDiscardablePixelRef):
3783 (WebCore::MockDiscardablePixelRef::discard):
3784 (WebCore::MockDiscardablePixelRef::onLockPixels):
3785 (WebCore::MockDiscardablePixelRef::onUnlockPixels):
3786
3787 2013-01-28 Stephen Chenney <schenney@chromium.org>
3788
3789 [Chromium] Fix the build.
3790
3791 Unreviewed build fix.
3792
3793 * src/AssertMatchingEnums.cpp: Move the include to the right place and r emove the bad directory prefix.
3794
3795 2013-01-28 Dan Alcantara <dfalcantara@chromium.org>
3796
3797 [Chromium, Mobile] Do not show disambiguation pop up in mobile sites
3798 https://bugs.webkit.org/show_bug.cgi?id=107607
3799
3800 Reviewed by Adam Barth.
3801
3802 Add a check before showing the disambiguation popup to prevent it from a ppearing
3803 on mobile sites. Makes a similar test to the current disambiguation pop up test
3804 that expects the popup to never appear.
3805
3806 * src/WebViewImpl.cpp:
3807 (WebKit::WebViewImpl::handleGestureEvent):
3808 (WebKit):
3809 (WebKit::WebViewImpl::isLikelyMobileSite):
3810 * src/WebViewImpl.h:
3811 (WebViewImpl):
3812 * tests/WebFrameTest.cpp:
3813 * tests/data/disambiguation_popup_mobile_site.html: Added.
3814
3815 * src/WebViewImpl.cpp:
3816 (WebKit::WebViewImpl::handleGestureEvent):
3817 (WebKit):
3818 (WebKit::WebViewImpl::shouldDisableDesktopWorkarounds):
3819 * src/WebViewImpl.h:
3820 (WebViewImpl):
3821 * tests/WebFrameTest.cpp:
3822 * tests/data/disambiguation_popup_mobile_site.html: Added.
3823
3824 2013-01-28 Stephen Chenney <schenney@chromium.org>
3825
3826 [Chromium] Fix the build.
3827
3828 Unreviewed build fix.
3829
3830 * src/AssertMatchingEnums.cpp: Move the include to the right place and r emove the bad directory prefix.
3831
3832 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
3833
3834 Unreviewed, rolling out r140869.
3835 http://trac.webkit.org/changeset/140869
3836 https://bugs.webkit.org/show_bug.cgi?id=108120
3837
3838 "Crashes on http://en.wikipedia.org/wiki/Wikipedia" (Requested
3839 by tonyg-cr on #webkit).
3840
3841 * src/WebViewImpl.cpp:
3842 (WebKit::WebViewImpl::resize):
3843 (WebKit::WebViewImpl::computePageScaleFactorLimits):
3844 * tests/WebFrameTest.cpp:
3845
3846 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
3847
3848 Unreviewed, rolling out r140934, r140935, and r140937.
3849 http://trac.webkit.org/changeset/140934
3850 http://trac.webkit.org/changeset/140935
3851 http://trac.webkit.org/changeset/140937
3852 https://bugs.webkit.org/show_bug.cgi?id=108117
3853
3854 Re-land some speculative rollouts - see wkbug.com/108048 for
3855 context (Requested by jsbell on #webkit).
3856
3857 * public/WebIDBCallbacks.h:
3858 (WebIDBCallbacks):
3859 * src/AssertMatchingEnums.cpp:
3860 * src/IDBCallbacksProxy.cpp:
3861 * src/IDBCallbacksProxy.h:
3862 (IDBCallbacksProxy):
3863 * src/WebIDBCallbacksImpl.cpp:
3864 * src/WebIDBCallbacksImpl.h:
3865 (WebIDBCallbacksImpl):
3866 * tests/IDBAbortOnCorruptTest.cpp:
3867 * tests/IDBDatabaseBackendTest.cpp:
3868
3869 2013-01-28 Kevin Day <kevinday@gmail.com>
3870
3871 [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
3872 https://bugs.webkit.org/show_bug.cgi?id=108004
3873 http://code.google.com/p/chromium/issues/detail?id=172416
3874
3875 console.debug triggers a NOTREACHED() assertation in Chromium. This
3876 is because WebCore::MessageLevel contains 5 levels, including debug,
3877 where WebConsoleMessage::Level is missing a "debug" level. Add a
3878 WebConsoleMessage::LevelDebug so that it can get passed up to the
3879 renderer even if it doesn't make use of that now.
3880
3881 Requires another patch to chromium itself to fix chromium bug 172416
3882 but this is a prerequisite.
3883
3884 Also add an enum compile time check to AssertMatchingEnums.cpp,
3885
3886 Reviewed by Jochen Eisinger.
3887
3888 * public/WebConsoleMessage.h:
3889 * src/AssertMatchingEnums.cpp:
3890 * src/WebFrameImpl.cpp:
3891 (WebKit::WebFrameImpl::addMessageToConsole):
3892
3893 2013-01-28 Xianzhu Wang <wangxianzhu@chromium.org>
3894
3895 [Chromium] Correct auto-zoom when using compositor scaling
3896 https://bugs.webkit.org/show_bug.cgi?id=107592
3897
3898 Reviewed by Adam Barth.
3899
3900 1. The scale of auto-zoom should exclude deviceScaleFactor because the c ompositor will handle the scaling;
3901 2. Scroll location needs to be calculated differently when pageScaleFact or is handled by the compositor.
3902
3903 * src/WebViewImpl.cpp:
3904 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
3905 * tests/WebFrameTest.cpp: Updated tests DivAutoZoomParamsTest, DivAutoZo omMultipleDivsTest, DivAutoZoomScaleBoundsTest and DivAutoZoomScaleFontScaleFact orTest, to make two versions of them (WebKitScaling and CompositorScaling).
3906
3907 2013-01-28 Laszlo Gombos <l.gombos@samsung.com>
3908
3909 Collapse OS(UNIX)||OS(ANDROID) to OS(UNIX)
3910 https://bugs.webkit.org/show_bug.cgi?id=108091
3911
3912 Reviewed by Adam Barth.
3913
3914 OS(UNIX) is defined when OS(ANDROID) is defined.
3915
3916 * src/WebViewImpl.cpp:
3917 (WebKit::WebViewImpl::handleMouseDown):
3918
3919 2013-01-28 Adam Barth <abarth@webkit.org>
3920
3921 Remove webkitNotifications.createHTMLNotification
3922 https://bugs.webkit.org/show_bug.cgi?id=107598
3923
3924 Reviewed by Benjamin Poulain.
3925
3926 We can remove these stubs once we've removed the Chromium-side code
3927 that depends on them.
3928
3929 * src/WebNotification.cpp:
3930 (WebKit::WebNotification::isHTML):
3931 (WebKit::WebNotification::url):
3932 (WebKit::WebNotification::iconURL):
3933 (WebKit::WebNotification::title):
3934 (WebKit::WebNotification::body):
3935
3936 2013-01-28 James Craig <james@cookiecrook.com>
3937
3938 HTML5 promotes DL from specific 'definition list' to superset 'descripti on list'; accessibility strings and accessors should be updated to match.
3939 https://bugs.webkit.org/show_bug.cgi?id=107650
3940
3941 Reviewed by Chris Fleizach.
3942
3943 Updating accessibility strings and accessors for DL/DT/DD; new one for [ role="definition"] (previously it reused the role/desc for DD).
3944
3945 * public/WebAccessibilityRole.h:
3946 * src/AssertMatchingEnums.cpp:
3947 * src/LocalizedStrings.cpp:
3948 (WebCore::AXDefinitionText):
3949 (WebCore):
3950 (WebCore::AXDescriptionListTermText):
3951 (WebCore::AXDescriptionListDetailText):
3952
3953 2013-01-28 Mike West <mkwst@chromium.org>
3954
3955 [chromium] Unreviewed build fix, missing include in AssertMatchingEnums. cpp
3956 https://bugs.webkit.org/show_bug.cgi?id=108086
3957
3958 Disabling SVG exposed a missing include in AssertMatchingEnums. This
3959 patch adds it in.
3960
3961 * src/AssertMatchingEnums.cpp:
3962 Include 'ResourceLoadPriority.h'.
3963
3964 2013-01-28 Marja Hölttä <marja@chromium.org>
3965
3966 Add an API for retrieving native memory information without going throug h the remote inspecting protocol
3967 https://bugs.webkit.org/show_bug.cgi?id=107651
3968
3969 Reviewed by Adam Barth.
3970
3971 * WebKit.gyp:
3972 * public/WebDevToolsAgent.h:
3973 (WebKit):
3974 (WebDevToolsAgent):
3975 * public/WebMemoryUsageInfo.h: Added.
3976 (WebKit):
3977 (WebKit::WebMemoryUsageInfo::WebMemoryUsageInfo):
3978 (WebMemoryUsageInfo):
3979 * src/WebDevToolsAgentImpl.cpp:
3980 (WebKit::WebDevToolsAgentImpl::processMemoryDistribution):
3981 (WebKit):
3982 * src/WebDevToolsAgentImpl.h:
3983 (WebKit):
3984 (WebDevToolsAgentImpl):
3985
3986 2013-01-27 Sheriff Bot <webkit.review.bot@gmail.com>
3987
3988 Unreviewed, rolling out r140602.
3989 http://trac.webkit.org/changeset/140602
3990 https://bugs.webkit.org/show_bug.cgi?id=108045
3991
3992 Caused 8 indexed tests to crash. (Requested by keishi on
3993 #webkit).
3994
3995 * public/WebIDBCallbacks.h:
3996 * src/IDBCallbacksProxy.cpp:
3997 (WebKit::IDBCallbacksProxy::onBlocked):
3998 (WebKit):
3999 * src/IDBCallbacksProxy.h:
4000 (IDBCallbacksProxy):
4001 * src/WebIDBCallbacksImpl.cpp:
4002 (WebKit::WebIDBCallbacksImpl::onBlocked):
4003 (WebKit):
4004 * src/WebIDBCallbacksImpl.h:
4005 (WebIDBCallbacksImpl):
4006 * tests/IDBAbortOnCorruptTest.cpp:
4007 (WebCore::MockIDBCallbacks::onBlocked):
4008 * tests/IDBDatabaseBackendTest.cpp:
4009
4010 2013-01-27 Keishi Hattori <keishi@webkit.org>
4011
4012 Unreviewed, rolling out r140850.
4013 http://trac.webkit.org/changeset/140850
4014 https://bugs.webkit.org/show_bug.cgi?id=107960
4015
4016 r14602 caused 8 indexed tests to crash.
4017
4018 * src/AssertMatchingEnums.cpp:
4019
4020 2013-01-27 Jochen Eisinger <jochen@chromium.org>
4021
4022 [chromium] add missing plumbing for Notification.requestPermission
4023 https://bugs.webkit.org/show_bug.cgi?id=108012
4024
4025 Reviewed by Adam Barth.
4026
4027 * src/NotificationPresenterImpl.cpp:
4028 (WebKit):
4029 (WebKit::VoidCallbackClient::VoidCallbackClient):
4030 (NotificationPermissionCallbackClient):
4031 (WebKit::NotificationPermissionCallbackClient::NotificationPermissionCal lbackClient):
4032 (WebKit::NotificationPermissionCallbackClient::permissionRequestComplete ):
4033 (WebKit::NotificationPermissionCallbackClient::~NotificationPermissionCa llbackClient):
4034 (WebKit::NotificationPresenterImpl::requestPermission):
4035 * src/NotificationPresenterImpl.h:
4036 (NotificationPresenterImpl):
4037
4038 2013-01-26 James Simonsen <simonjam@chromium.org>
4039
4040 [chromium] Export ResourceRequest's priority through WebURLRequest
4041 https://bugs.webkit.org/show_bug.cgi?id=107985
4042
4043 Reviewed by Adam Barth.
4044
4045 * src/AssertMatchingEnums.cpp:
4046
4047 2013-01-25 Alexandre Elias <aelias@chromium.org>
4048
4049 Call FrameView::contentsResized() when setting fixed layout size
4050 https://bugs.webkit.org/show_bug.cgi?id=107922
4051
4052 Reviewed by James Robinson.
4053
4054 In fixed layout mode, we should be calling contentsResized() when the
4055 fixed layout size is changed; on the other hand, we don't need to layout
4056 when the visible contents size changes.
4057
4058 This fixes test WebFrameTest::FixedLayoutInitializeAtMinimumPageScale.
4059
4060 * src/WebViewImpl.cpp:
4061 (WebKit::WebViewImpl::resize):
4062 (WebKit::WebViewImpl::computePageScaleFactorLimits):
4063 * tests/WebFrameTest.cpp:
4064
4065 2013-01-25 Alec Flett <alecflett@chromium.org>
4066
4067 IndexedDB: Move TaskType enum to IDBDatabaseBackendInterface
4068 https://bugs.webkit.org/show_bug.cgi?id=107960
4069
4070 Reviewed by Tony Chang.
4071
4072 Update asserts to reflect new enum location.
4073
4074 * src/AssertMatchingEnums.cpp:
4075
4076 2013-01-25 Sheriff Bot <webkit.review.bot@gmail.com>
4077
4078 Unreviewed, rolling out r140774.
4079 http://trac.webkit.org/changeset/140774
4080 https://bugs.webkit.org/show_bug.cgi?id=107932
4081
4082 Tests ScrollingCoordinatorChromiumTest.fastScrollingByDefault
4083 and fastScrollingForFixedPosition are failing (Requested by
4084 keishi on #webkit).
4085
4086 * public/WebWidget.h:
4087 (WebWidget):
4088 (WebKit::WebWidget::isInputThrottled):
4089 (WebKit::WebWidget::renderingStats):
4090 * src/WebViewImpl.cpp:
4091 (WebKit::WebViewImpl::WebViewImpl):
4092 (WebKit::WebViewImpl::~WebViewImpl):
4093 (WebKit::WebViewImpl::renderingStats):
4094 (WebKit):
4095 (WebKit::WebViewImpl::setCompositorSurfaceReady):
4096 (WebKit::WebViewImpl::isInputThrottled):
4097 (WebKit::WebViewImpl::setIsTransparent):
4098 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4099 * src/WebViewImpl.h:
4100
4101 2013-01-25 Eberhard Graether <egraether@google.com>
4102
4103 Web Inspector: add checkbox for continuous painting to the inspector's s ettings
4104 https://bugs.webkit.org/show_bug.cgi?id=107352
4105
4106 Reviewed by Pavel Feldman.
4107
4108 This change adds a checkbox to activate continuous painting to the WebIn spector's
4109 rendering settings and plumbs the setting to Chromium's WebLayerTreeView . The
4110 setting is visible if InspectorClient::canContinuouslyPaint() returns tr ue.
4111
4112 * public/WebView.h:
4113 (WebView):
4114 * src/InspectorClientImpl.cpp:
4115 (WebKit::InspectorClientImpl::canContinuouslyPaint):
4116 (WebKit):
4117 (WebKit::InspectorClientImpl::setContinuousPaintingEnabled):
4118 * src/InspectorClientImpl.h:
4119 (InspectorClientImpl):
4120 * src/WebViewImpl.cpp:
4121 (WebKit::WebViewImpl::setContinuousPaintingEnabled):
4122 (WebKit):
4123 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4124 * src/WebViewImpl.h:
4125
4126 2013-01-24 Keishi Hattori <keishi@webkit.org>
4127
4128 Adjust design of the Calendar Picker
4129 https://bugs.webkit.org/show_bug.cgi?id=107507
4130
4131 Reviewed by Kent Tamura.
4132
4133 * src/DateTimeChooserImpl.cpp:
4134 (WebKit::DateTimeChooserImpl::writeDocument): Include pickerCommonChrom ium.css and calendarPickerChromium.css.
4135
4136 2013-01-24 James Robinson <jamesr@chromium.org>
4137
4138 [chromium] Remove dead transitional code from WebViewImpl
4139 https://bugs.webkit.org/show_bug.cgi?id=107889
4140
4141 Reviewed by Adrienne Walker.
4142
4143 The chromium side of this landed at r178256 and seems stable.
4144
4145 * public/WebWidget.h:
4146 (WebKit::WebWidget::setCompositorSurfaceReady):
4147 * src/WebViewImpl.cpp:
4148 (WebKit::WebViewImpl::WebViewImpl):
4149 (WebKit::WebViewImpl::~WebViewImpl):
4150 (WebKit):
4151 (WebKit::WebViewImpl::setIsTransparent):
4152 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4153 * src/WebViewImpl.h:
4154
4155 2013-01-24 James Robinson <jamesr@chromium.org>
4156
4157 [chromium] Null check WebLayerTreeView before dereffing in WebViewImpl:: invalidateRect
4158 https://bugs.webkit.org/show_bug.cgi?id=107855
4159
4160 Reviewed by Adrienne Walker.
4161
4162 During frame shutdown, WebViewImpl::m_layerTreeView may become 0 while c ommits are deferred but we still
4163 may get invalidateRect() calls before shutdown completes.
4164
4165 * src/WebViewImpl.cpp:
4166 (WebKit::WebViewImpl::invalidateRect):
4167
4168 2013-01-24 Mihai Maerean <mmaerean@adobe.com>
4169
4170 [CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in S ource/WebKit/chromium/public/WebSettings.h
4171 https://bugs.webkit.org/show_bug.cgi?id=104564
4172
4173 Reviewed by Adam Barth.
4174
4175 Fixing bug 101192 has deprecated the use of setExperimentalCSSRegionsEna bled.
4176 After http://code.google.com/p/chromium/issues/detail?id=164162 , setExp erimentalCSSRegionsEnabled is no longer used anywhere.
4177
4178 * public/WebSettings.h:
4179 removed setExperimentalCSSRegionsEnabled.
4180
4181 2013-01-23 Sheriff Bot <webkit.review.bot@gmail.com>
4182
4183 Unreviewed. Rolled Chromium DEPS to r178434. Requested by
4184 "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
4185
4186 * DEPS:
4187
4188 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
4189
4190 [Chromium] Remove unused header files in chromium/public/platform/
4191 https://bugs.webkit.org/show_bug.cgi?id=107741
4192
4193 Reviewed by James Robinson.
4194
4195 These header files have migrated to the new Platform directory.
4196 This patch updates the remaining #include references and removes
4197 the old files that did nothing but redirect to the new ones.
4198
4199 * WebKit.gyp:
4200 * public/WebAccessibilityObject.h:
4201 * public/WebAccessibilityRole.h:
4202 * public/WebActiveWheelFlingParameters.h:
4203 * public/WebAnimationController.h:
4204 * public/WebApplicationCacheHost.h:
4205 * public/WebApplicationCacheHostClient.h:
4206 * public/WebArrayBuffer.h:
4207 * public/WebArrayBufferView.h:
4208 * public/WebAudioSourceProvider.h:
4209 * public/WebBatteryStatus.h:
4210 * public/WebBindings.h:
4211 * public/WebBlob.h:
4212 * public/WebCache.h:
4213 * public/WebCachedURLRequest.h:
4214 * public/WebColorChooser.h:
4215 * public/WebColorChooserClient.h:
4216 * public/WebColorName.h:
4217 * public/WebCommonWorkerClient.h:
4218 * public/WebCompositionUnderline.h:
4219 * public/WebCompositorInputHandler.h:
4220 * public/WebConsoleMessage.h:
4221 * public/WebContentDetectionResult.h:
4222 * public/WebContextMenuData.h:
4223 * public/WebCrossOriginPreflightResultCache.h:
4224 * public/WebCursorInfo.h:
4225 * public/WebDOMEvent.h:
4226 * public/WebDOMEventListener.h:
4227 * public/WebDOMStringList.h:
4228 * public/WebDataSource.h:
4229 * public/WebDatabase.h:
4230 * public/WebDateTimeChooserCompletion.h:
4231 * public/WebDateTimeChooserParams.h:
4232 * public/WebDeliveredIntentClient.h:
4233 * public/WebDevToolsAgent.h:
4234 * public/WebDevToolsAgentClient.h:
4235 * public/WebDevToolsFrontend.h:
4236 * public/WebDeviceOrientationClient.h:
4237 * public/WebDeviceOrientationClientMock.h:
4238 * public/WebDeviceOrientationController.h:
4239 * public/WebDocument.h:
4240 * public/WebDraggableRegion.h:
4241 * public/WebExternalPopupMenuClient.h:
4242 * public/WebFileChooserCompletion.h:
4243 * public/WebFileChooserParams.h:
4244 * public/WebFileSystemCallbacks.h:
4245 * public/WebFileSystemEntry.h:
4246 * public/WebFileWriter.h:
4247 * public/WebFileWriterClient.h:
4248 * public/WebFindOptions.h:
4249 * public/WebFont.h:
4250 * public/WebFontCache.h:
4251 * public/WebFontDescription.h:
4252 * public/WebFormControlElement.h:
4253 * public/WebFormElement.h:
4254 * public/WebFrame.h:
4255 * public/WebFrameClient.h:
4256 * public/WebGeolocationClientMock.h:
4257 * public/WebGeolocationController.h:
4258 * public/WebGeolocationError.h:
4259 * public/WebGeolocationPermissionRequest.h:
4260 * public/WebGeolocationPermissionRequestManager.h:
4261 * public/WebGeolocationPosition.h:
4262 * public/WebGlyphCache.h:
4263 * public/WebHelperPlugin.h:
4264 * public/WebHistoryItem.h:
4265 * public/WebHitTestResult.h:
4266 * public/WebIDBCallbacks.h:
4267 * public/WebIDBCursor.h:
4268 * public/WebIDBDatabase.h:
4269 * public/WebIDBDatabaseCallbacks.h:
4270 * public/WebIDBDatabaseError.h:
4271 * public/WebIDBFactory.h:
4272 * public/WebIDBKey.h:
4273 * public/WebIDBKeyPath.h:
4274 * public/WebIDBKeyRange.h:
4275 * public/WebIDBMetadata.h:
4276 * public/WebIDBTransaction.h:
4277 * public/WebIDBTransactionCallbacks.h:
4278 * public/WebIconURL.h:
4279 * public/WebImageDecoder.h:
4280 * public/WebInputEvent.h:
4281 * public/WebIntent.h:
4282 * public/WebIntentRequest.h:
4283 * public/WebIntentServiceInfo.h:
4284 * public/WebKit.h:
4285 * public/WebMediaPlayer.h:
4286 * public/WebMediaStreamRegistry.h:
4287 * public/WebMenuItemInfo.h:
4288 * public/WebNetworkStateNotifier.h:
4289 * public/WebNode.h:
4290 * public/WebNodeCollection.h:
4291 * public/WebNodeList.h:
4292 * public/WebNotification.h:
4293 * public/WebNotificationPresenter.h:
4294 * public/WebOptionElement.h:
4295 * public/WebPageOverlay.h:
4296 * public/WebPagePopup.h:
4297 * public/WebPageSerializer.h:
4298 * public/WebPasswordFormData.h:
4299 * public/WebPerformance.h:
4300 * public/WebPlugin.h:
4301 * public/WebPluginContainer.h:
4302 * public/WebPluginParams.h:
4303 * public/WebPopupMenu.h:
4304 * public/WebPopupMenuInfo.h:
4305 * public/WebPrerendererClient.h:
4306 * public/WebPrintParams.h:
4307 * public/WebRange.h:
4308 * public/WebRegularExpression.h:
4309 * public/WebRuntimeFeatures.h:
4310 * public/WebScopedMicrotaskSuppression.h:
4311 * public/WebScopedUserGesture.h:
4312 * public/WebScriptController.h:
4313 * public/WebScriptSource.h:
4314 * public/WebSearchableFormData.h:
4315 * public/WebSecurityOrigin.h:
4316 * public/WebSecurityPolicy.h:
4317 * public/WebSelectElement.h:
4318 * public/WebSerializedScriptValue.h:
4319 * public/WebSettings.h:
4320 * public/WebSharedWorker.h:
4321 * public/WebSharedWorkerRepository.h:
4322 * public/WebSocket.h:
4323 * public/WebSocketClient.h:
4324 * public/WebSpeechGrammar.h:
4325 * public/WebSpeechInputController.h:
4326 * public/WebSpeechInputResult.h:
4327 * public/WebSpeechRecognitionHandle.h:
4328 * public/WebSpeechRecognitionParams.h:
4329 * public/WebSpeechRecognitionResult.h:
4330 * public/WebSpeechRecognizer.h:
4331 * public/WebSpeechRecognizerClient.h:
4332 * public/WebSpellCheckClient.h:
4333 * public/WebStorageEventDispatcher.h:
4334 * public/WebSurroundingText.h:
4335 * public/WebTestingSupport.h:
4336 * public/WebTextCheckingCompletion.h:
4337 * public/WebTextCheckingResult.h:
4338 * public/WebTextFieldDecoratorClient.h:
4339 * public/WebTextInputInfo.h:
4340 * public/WebTextRun.h:
4341 * public/WebTimeRange.h:
4342 * public/WebTouchPoint.h:
4343 * public/WebUserMediaRequest.h:
4344 * public/WebView.h:
4345 * public/WebViewBenchmarkSupport.h:
4346 * public/WebViewClient.h:
4347 * public/WebWidget.h:
4348 * public/WebWidgetClient.h:
4349 * public/WebWindowFeatures.h:
4350 * public/WebWorkerInfo.h:
4351 * public/android/WebInputEventFactory.h:
4352 * public/android/WebSandboxSupport.h:
4353 * public/default/WebRenderTheme.h:
4354 * public/gtk/WebInputEventFactory.h:
4355 * public/linux/WebFontRendering.h:
4356 * public/linux/WebSandboxSupport.h:
4357 * public/mac/WebInputEventFactory.h:
4358 * public/mac/WebSandboxSupport.h:
4359 * public/mac/WebScreenInfoFactory.h:
4360 * public/mac/WebSubstringUtil.h:
4361 * public/platform/WebAudioBus.h: Removed.
4362 * public/platform/WebAudioDevice.h: Removed.
4363 * public/platform/WebBlobData.h: Removed.
4364 * public/platform/WebBlobRegistry.h: Removed.
4365 * public/platform/WebCString.h: Removed.
4366 * public/platform/WebCanvas.h: Removed.
4367 * public/platform/WebClipboard.h: Removed.
4368 * public/platform/WebColor.h: Removed.
4369 * public/platform/WebCommon.h: Removed.
4370 * public/platform/WebCookie.h: Removed.
4371 * public/platform/WebCookieJar.h: Removed.
4372 * public/platform/WebData.h: Removed.
4373 * public/platform/WebDragData.h: Removed.
4374 * public/platform/WebFileSystem.h: Removed.
4375 * public/platform/WebFloatPoint.h: Removed.
4376 * public/platform/WebFloatQuad.h: Removed.
4377 * public/platform/WebFloatRect.h: Removed.
4378 * public/platform/WebGamepad.h: Removed.
4379 * public/platform/WebGamepads.h: Removed.
4380 * public/platform/WebGraphicsContext3D.h: Removed.
4381 * public/platform/WebHTTPBody.h: Removed.
4382 * public/platform/WebHTTPHeaderVisitor.h: Removed.
4383 * public/platform/WebHTTPLoadInfo.h: Removed.
4384 * public/platform/WebImage.h: Removed.
4385 * public/platform/WebLocalizedString.h: Removed.
4386 * public/platform/WebMediaStreamCenter.h: Removed.
4387 * public/platform/WebMediaStreamCenterClient.h: Removed.
4388 * public/platform/WebMediaStreamComponent.h: Removed.
4389 * public/platform/WebMediaStreamDescriptor.h: Removed.
4390 * public/platform/WebMediaStreamSource.h: Removed.
4391 * public/platform/WebMediaStreamSourcesRequest.h: Removed.
4392 * public/platform/WebNonCopyable.h: Removed.
4393 * public/platform/WebPoint.h: Removed.
4394 * public/platform/WebPrivateOwnPtr.h: Removed.
4395 * public/platform/WebPrivatePtr.h: Removed.
4396 * public/platform/WebRect.h: Removed.
4397 * public/platform/WebReferrerPolicy.h: Removed.
4398 * public/platform/WebSize.h: Removed.
4399 * public/platform/WebSocketStreamError.h: Removed.
4400 * public/platform/WebSocketStreamHandle.h: Removed.
4401 * public/platform/WebSocketStreamHandleClient.h: Removed.
4402 * public/platform/WebString.h: Removed.
4403 * public/platform/WebThread.h: Removed.
4404 * public/platform/WebThreadSafeData.h: Removed.
4405 * public/platform/WebURL.h: Removed.
4406 * public/platform/WebURLError.h: Removed.
4407 * public/platform/WebURLLoadTiming.h: Removed.
4408 * public/platform/WebURLLoader.h: Removed.
4409 * public/platform/WebURLLoaderClient.h: Removed.
4410 * public/platform/WebURLRequest.h: Removed.
4411 * public/platform/WebURLResponse.h: Removed.
4412 * public/platform/WebVector.h: Removed.
4413 * public/platform/android/WebSandboxSupport.h: Removed.
4414 * public/platform/android/WebThemeEngine.h: Removed.
4415 * public/platform/default/WebThemeEngine.h: Removed.
4416 * public/platform/linux/WebFontFamily.h: Removed.
4417 * public/platform/linux/WebSandboxSupport.h: Removed.
4418 * public/platform/mac/WebSandboxSupport.h: Removed.
4419 * public/platform/mac/WebThemeEngine.h: Removed.
4420 * public/platform/win/WebSandboxSupport.h: Removed.
4421 * public/platform/win/WebThemeEngine.h: Removed.
4422 * public/win/WebInputEventFactory.h:
4423 * public/win/WebSandboxSupport.h:
4424 * public/win/WebScreenInfoFactory.h:
4425 * public/x11/WebScreenInfoFactory.h:
4426
4427 2013-01-23 Joshua Bell <jsbell@chromium.org>
4428
4429 IndexedDB: Remove IDBVersionChangeRequest
4430 https://bugs.webkit.org/show_bug.cgi?id=107711
4431
4432 Reviewed by Tony Chang.
4433
4434 * public/WebIDBCallbacks.h: Note to delete onBlocked() once Chromium is cleaned up.
4435 * src/IDBCallbacksProxy.cpp: Remove unused onBlocked() overload.
4436 * src/IDBCallbacksProxy.h: Ditto.
4437 * src/WebIDBCallbacksImpl.cpp: Ditto.
4438 * src/WebIDBCallbacksImpl.h: Ditto.
4439 * tests/IDBAbortOnCorruptTest.cpp: Ditto.
4440 * tests/IDBDatabaseBackendTest.cpp: Ditto.
4441
4442 2013-01-23 Tien-Ren Chen <trchen@chromium.org>
4443
4444 Partially revert 104427, change WebWidgetClient::didHandleGestureEvent s emantics.
4445 https://bugs.webkit.org/show_bug.cgi?id=107605
4446
4447 Reviewed by Darin Fisher.
4448
4449 Per discussion in https://codereview.chromium.org/11473027/ we decided
4450 not to introduce an enum to WebWidgetClient::didHandleGestureEvent().
4451 Instead, change the semantics of the bool flag to indicate whether the
4452 gesture event is cancelled for disambiguation.
4453
4454 * public/WebWidgetClient.h:
4455 (WebKit::WebWidgetClient::didHandleGestureEvent):
4456 * src/WebViewImpl.cpp:
4457 (WebKit::WebViewImpl::handleGestureEvent):
4458 * tests/WebViewTest.cpp:
4459
4460 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
4461
4462 [Chromium] Remove WebArrayBufferView and WebSerializedScriptValue from c hromium/public/platform/
4463 https://bugs.webkit.org/show_bug.cgi?id=107720
4464
4465 Reviewed by Darin Fisher.
4466
4467 These headers have been moved to chromium/public/ and all
4468 references downstream were changed in
4469 https://codereview.chromium.org/11946050/.
4470 No DEPS roll necessary because it's already above 177695.
4471
4472 * WebKit.gyp:
4473 * public/platform/WebArrayBufferView.h: Removed.
4474 * public/platform/WebSerializedScriptValue.h: Removed.
4475 * src/DeliveredIntentClientImpl.cpp:
4476 * src/IDBCallbacksProxy.cpp:
4477 * src/IDBCursorBackendProxy.cpp:
4478 * src/WebArrayBufferView.cpp:
4479 * src/WebBindings.cpp:
4480 * src/WebDOMCustomEvent.cpp:
4481 * src/WebDOMMessageEvent.cpp:
4482 * src/WebFrameImpl.cpp:
4483 * src/WebHistoryItem.cpp:
4484 * src/WebIDBCallbacksImpl.cpp:
4485 * src/WebIntent.cpp:
4486 * src/WebIntentRequest.cpp:
4487 * src/WebSerializedScriptValue.cpp:
4488
4489 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
4490
4491 [Chromium] Fix some #includes to headers in chromium/public/platform/ th at have been moved to the new Platform directory
4492 https://bugs.webkit.org/show_bug.cgi?id=107722
4493
4494 Reviewed by Darin Fisher.
4495
4496 These headers just redirect to the new versions, so call the new
4497 versions directly.
4498
4499 * src/linux/WebFontInfo.cpp:
4500 * src/mac/WebSubstringUtil.mm:
4501
4502 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
4503
4504 [Chromium] Fix some #includes for WebSerializedScriptValue
4505 https://bugs.webkit.org/show_bug.cgi?id=107697
4506
4507 Reviewed by Adam Barth.
4508
4509 WebSerializedScriptValue has been moved to chromium/public/.
4510
4511 * public/WebDOMCustomEvent.h:
4512 * public/WebDOMMessageEvent.h:
4513 * public/WebIDBCursor.h:
4514
4515 2013-01-23 Dmitry Gozman <dgozman@chromium.org>
4516
4517 Added changeAttachedWindowHeight method to inspector frontend API, which
4518 allows to change inspector window height from inside.
4519 https://bugs.webkit.org/show_bug.cgi?id=107648
4520
4521 Reviewed by Pavel Feldman.
4522
4523 * public/WebDevToolsFrontendClient.h:
4524 (WebKit::WebDevToolsFrontendClient::changeAttachedWindowHeight):
4525 * src/InspectorFrontendClientImpl.cpp:
4526 (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
4527
4528 2013-01-23 Shinya Kawanaka <shinyak@chromium.org>
4529
4530 shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
4531 https://bugs.webkit.org/show_bug.cgi?id=107624
4532
4533 Reviewed by Dimitri Glazkov.
4534
4535 Since Node::shadowAncestorNode() is deprecated, we would like to rename it to prevent from further use.
4536
4537 * src/WebFrameImpl.cpp:
4538 (WebKit::WebFrameImpl::scopeStringMatches):
4539 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
4540
4541 2013-01-22 Pavel Feldman <pfeldman@chromium.org>
4542
4543 Web Inspector: only allow evaluateForTestInFrontend for front-ends under test.
4544 https://bugs.webkit.org/show_bug.cgi?id=107523
4545
4546 Reviewed by Yury Semikhatsky.
4547
4548 * public/WebDevToolsFrontendClient.h:
4549 (WebKit::WebDevToolsFrontendClient::isUnderTest):
4550 (WebDevToolsFrontendClient):
4551 * src/InspectorFrontendClientImpl.cpp:
4552 (WebKit::InspectorFrontendClientImpl::isUnderTest):
4553 * src/InspectorFrontendClientImpl.h:
4554 (InspectorFrontendClientImpl):
4555
4556 2013-01-22 Mark Lam <mark.lam@apple.com>
4557
4558 Change the Supplementable class to not use AtomicString.
4559 https://bugs.webkit.org/show_bug.cgi?id=107535.
4560
4561 Reviewed by Adam Barth.
4562
4563 Replaced the use of AtomicString keys with literal const char* keys.
4564 This simplifies the SupplementMap and makes it slightly leaner and faste r.
4565
4566 * src/ContextFeaturesClientImpl.cpp:
4567 (ContextFeaturesCache):
4568 (WebKit::ContextFeaturesCache::supplementName):
4569
4570 2013-01-22 Leandro Gracia Gil <leandrogracia@chromium.org>
4571
4572 [Chromium] Expose didCommitCompositorFrame in WebWidgetClient.
4573 https://bugs.webkit.org/show_bug.cgi?id=107325
4574
4575 Reviewed by James Robinson.
4576
4577 Add a notification on WebWidgetClient called when the compositor commits a frame.
4578
4579 * public/WebWidgetClient.h:
4580 (WebWidgetClient):
4581 (WebKit::WebWidgetClient::didCommitCompositorFrame):
4582 * src/WebViewImpl.cpp:
4583 (WebKit::WebViewImpl::didCommit):
4584
4585 2013-01-21 Kentaro Hara <haraken@chromium.org>
4586
4587 Implement UIEvent constructor
4588 https://bugs.webkit.org/show_bug.cgi?id=107430
4589
4590 Reviewed by Adam Barth.
4591
4592 Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.ht m
4593
4594 UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
4595 which is enabled on Safari and Chromium for now.
4596
4597 * features.gypi:
4598
4599 2013-01-22 Alpha Lam <hclam@chromium.org>
4600
4601 REGRESSION(r140392): InjectIDBKeyTest.TopLevelPropertyStringValue is cra shing
4602 https://bugs.webkit.org/show_bug.cgi?id=107578
4603
4604 Unreviewed build fix. Disabled 2 tests that are crashing after r140392.
4605
4606 * tests/IDBBindingUtilitiesTest.cpp:
4607 (WebKit::TEST_F):
4608
4609 2013-01-22 Eric Seidel <eric@webkit.org>
4610
4611 Turn on ENABLE_THREADED_HTML_PARSER for Chromium (it's still disabled at runtime)
4612 https://bugs.webkit.org/show_bug.cgi?id=107519
4613
4614 Reviewed by Adam Barth.
4615
4616 This makes our development lives easier, and makes it possible for the b ots
4617 to run threaded-parser-only tests by toggling the runtime enable
4618 via window.internals.settings.
4619
4620 * features.gypi:
4621
4622 2013-01-22 Kentaro Hara <haraken@chromium.org>
4623
4624 [V8] Make an Isolate parameter mandatory in toV8()
4625 https://bugs.webkit.org/show_bug.cgi?id=107520
4626
4627 Reviewed by Adam Barth.
4628
4629 Now it's safe to remove an optional Isolate parameter.
4630
4631 No tests. No change in behavior.
4632
4633 * src/InspectorFrontendClientImpl.cpp:
4634 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
4635 * src/WebArrayBuffer.cpp:
4636 (WebKit::WebArrayBuffer::toV8Value):
4637 * src/WebBlob.cpp:
4638 (WebKit::WebBlob::toV8Value):
4639 * src/WebFrameImpl.cpp:
4640 (WebKit::WebFrameImpl::createFileSystem):
4641 (WebKit::WebFrameImpl::createSerializableFileSystem):
4642 (WebKit::WebFrameImpl::createFileEntry):
4643
4644 2013-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
4645
4646 Unreviewed. Rolled Chromium DEPS to r177962. Requested by
4647 "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
4648
4649 * DEPS:
4650
4651 2013-01-21 Noel Gordon <noel.gordon@gmail.com>
4652
4653 [chromium] REGRESSION(r139347) roll chromium deps broke webkit-unit-test s
4654 https://bugs.webkit.org/show_bug.cgi?id=106631
4655
4656 Reviewed by Kent Tamura.
4657
4658 Fixed in http://crrev.com/177931 and rolled. Renable these tests.
4659
4660 * tests/WebImageTest.cpp:
4661
4662 2013-01-21 Dirk Schulze <dschulze@adobe.com>
4663
4664 Add build flag for Canvas's Path object (disabled by default)
4665 https://bugs.webkit.org/show_bug.cgi?id=107473
4666
4667 Reviewed by Dean Jackson.
4668
4669 Add CANVAS_PATH build flag to build systems.
4670
4671 * features.gypi:
4672
4673 2013-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
4674
4675 Unreviewed. Rolled Chromium DEPS to r177956. Requested by
4676 thakis_ via sheriffbot.
4677
4678 * DEPS:
4679
4680 2013-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
4681
4682 Unreviewed. Rolled Chromium DEPS to r177953. Requested by
4683 thakis_ via sheriffbot.
4684
4685 * DEPS:
4686
4687 2013-01-21 Tommy Widenflycht <tommyw@google.com>
4688
4689 MediaStream API: Update the RTCPeerConnection states to match the latest specification
4690 https://bugs.webkit.org/show_bug.cgi?id=107120
4691
4692 Reviewed by Adam Barth.
4693
4694 * src/AssertMatchingEnums.cpp:
4695
4696 2013-01-20 Dominic Mazzoni <dmazzoni@google.com>
4697
4698 Make SpeechSynthesis compile in the Chromium port
4699 https://bugs.webkit.org/show_bug.cgi?id=107382
4700
4701 Reviewed by Adam Barth.
4702
4703 Add ENABLE_SPEECH_SYNTHESIS to features.gypi, off by default.
4704
4705 * features.gypi:
4706
4707 2013-01-20 Yoshifumi Inoue <yosin@chromium.org>
4708
4709 Dragging over an element with scrollbars should scroll the element when dragging near edges
4710 https://bugs.webkit.org/show_bug.cgi?id=39725
4711
4712 Reviewed by Hajime Morita.
4713
4714 This patch removes DragScrollTimer used for automatic scrolling of main
4715 frame drag-and-drop which is now implemented in EventHandler.
4716
4717 Another patch will remove DragScrollTimer.{cpp,h} and update GYP files t o
4718 make patch size small.
4719
4720 No tests. Existing test covers this change.
4721
4722 * src/ChromeClientImpl.cpp:
4723 (WebKit::ChromeClientImpl::shouldAutoscrollForDragAndDrop): Added.
4724 * src/ChromeClientImpl.h:
4725 (ChromeClientImpl): Changed to add shouldAutoscrollForDragAndDrop().
4726 * src/WebViewImpl.cpp:
4727 (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
4728 (WebKit::WebViewImpl::dragSourceEndedAt): ditto
4729 (WebKit::WebViewImpl::dragSourceMovedTo): ditto
4730 (WebKit::WebViewImpl::dragTargetDrop): ditto
4731 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
4732 * src/WebViewImpl.h:
4733 (WebKit): Chagned to remove DragScrollTimer.
4734
4735 2013-01-18 Alec Flett <alecflett@chromium.org>
4736
4737 IndexedDB: Switch to new createTransaction call
4738 https://bugs.webkit.org/show_bug.cgi?id=107311
4739
4740 Reviewed by Tony Chang.
4741
4742 * public/WebIDBTransaction.h:
4743
4744 Remove an old method that nobody calls.
4745
4746 2013-01-18 Alpha Lam <hclam@chromium.org>
4747
4748 [chromium] Roll Chromium DEPS to 177676
4749
4750 Unreviewed DEPS roll.
4751
4752 * DEPS:
4753
4754 2013-01-18 Robert Kroeger <rjkroege@chromium.org>
4755
4756 [chromium] Use new-style gesture scrolling events for fling and
4757 for plugin scrolling: https://bugs.webkit.org/show_bug.cgi?id=106589
4758
4759 Reviewed by James Robinson.
4760
4761 https://bugs.webkit.org/show_bug.cgi?id=103952 modified touchscreen
4762 scrolling to not use synthetic mouse wheel events. Update the fling faci lity
4763 in WebViewImpl to use these events for touchscreen-initiated flings. Als o
4764 modify the WebPluginContainerImpl to scroll in response to touchscreen
4765 scroll gestures if the plugin does not itself implement gesture events.
4766
4767 * src/WebPluginContainerImpl.cpp:
4768 * src/WebViewImpl.cpp:
4769 (WebKit::WebViewImpl::WebViewImpl):
4770 (WebKit::WebViewImpl::scrollBy): Handle fling callback conditionally bas ed
4771 on initiating device. Touchpad flings generate wheels. Touchscreen fling s
4772 use gesture events.
4773 (WebKit::WebViewImpl::handleGestureEvent):
4774 (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
4775 * src/WebViewImpl.h:
4776
4777 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
4778
4779 Add explicit keyword to constructors in platform-specific InspectorClien t
4780 https://bugs.webkit.org/show_bug.cgi?id=107255
4781
4782 Reviewed by Kentaro Hara.
4783
4784 Add explicit keyword to constructors that take one argument
4785 in platform-specific implementation of InspectorClient.
4786
4787 * src/InspectorClientImpl.h:
4788 (InspectorClientImpl):
4789
4790 2013-01-17 Dominic Cooney <dominicc@chromium.org>
4791
4792 [Chromium] Unreviewed gardening.
4793
4794 Roll Chromium to 177561.
4795
4796 * DEPS:
4797
4798 2013-01-17 Alpha Lam <hclam@chromium.org>
4799
4800 [chromium] Disable a unit test
4801 https://bugs.webkit.org/show_bug.cgi?id=107206
4802
4803 Unreviewed. Disable a failing test due to 140025.
4804
4805 * tests/WebFrameTest.cpp:
4806
4807 2013-01-17 Sheriff Bot <webkit.review.bot@gmail.com>
4808
4809 Unreviewed, rolling out r140023.
4810 http://trac.webkit.org/changeset/140023
4811 https://bugs.webkit.org/show_bug.cgi?id=107176
4812
4813 Broke some tests (Requested by anttik on #webkit).
4814
4815 * tests/RenderTableCellTest.cpp:
4816 * tests/RenderTableRowTest.cpp:
4817
4818 2013-01-17 John Mellor <johnme@chromium.org>
4819
4820 [chromium] Double-tap zoom should take into account accessibility fontSc aleFactor
4821 https://bugs.webkit.org/show_bug.cgi?id=107123
4822
4823 Reviewed by Adam Barth.
4824
4825 Platforms which support Text Autosizing (currently just Chrome for
4826 Android) may provide a textAutosizingFontScaleFactor (defaults to 1.0).
4827
4828 This value is intended to be chosen by the user to indicate how large
4829 they want text to appear, for example Chrome for Android has a "Text
4830 scaling" slider in Settings > Accessibility that lets you choose a value
4831 in the range 50% - 200% (defaults to 100%*).
4832
4833 For text in wide columns that typically gets autosized, this value is
4834 applied by multiplying the textAutosizingMultiplier computed for each
4835 cluster by the textAutosizingFontScaleFactor. Double-tap zoom will fit
4836 the column to the screen (ignoring the textAutosizingFontScaleFactor)
4837 since the column is wide. This part already works.
4838
4839 For text in narrow columns that doesn't get autosized, the
4840 textAutosizingFontScaleFactor is not applied through Text Autosizing,
4841 and instead needs to be applied by adjusting the double-tap zoom level.
4842 When double-tapping on narrow columns, instead of fitting the column to
4843 the screen (which would often zoom in excessively far), the existing
4844 logic in computeScaleAndScrollForHitRect applies a maximum zoom level
4845 called the legibleScale. This value needs to be multiplied by the
4846 textAutosizingFontScaleFactor, so that we zoom in proportionately
4847 further on non-autosized narrow columns, hence the effective text size
4848 (taking into account zoom) will have increased in proportion to the
4849 textAutosizingFontScaleFactor as expected.
4850
4851 * src/WebViewImpl.cpp:
4852 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
4853 Multiplies legibleScale (the maximum zoom level) by the
4854 textAutosizingFontScaleFactor.
4855 * tests/WebFrameTest.cpp:
4856 Added WebFrameTest.DivAutoZoomScaleFontScaleFactorTest based on
4857 WebFrameTest.DivAutoZoomScaleBoundsTest to test the interaction
4858 between textAutosizingFontScaleFactor and the double-tap zoom logic.
4859 Also did minor cleanup to WebFrameTest.DivAutoZoomScaleBoundsTest.
4860
4861 2013-01-17 Alexandre Elias <aelias@chromium.org>
4862
4863 [chromium] Make new-style page scale work with fixed layout
4864 https://bugs.webkit.org/show_bug.cgi?id=106951
4865
4866 Reviewed by Adam Barth.
4867
4868 This makes non-CSS-transform page scaling work with fixed-layout mode,
4869 including viewport tag support.
4870
4871 - dispatchViewportPropertiesDidChange() now works entirely with DIP
4872 pixels instead of physical pixels, and is made compatible with
4873 separating deviceScaleFactor from pageScaleFactor.
4874
4875 - In this mode, the "layout viewport" size in the pinch-zoom model is
4876 made a first-class concept separate from the device size. This
4877 is a viewport with the same aspect ratio as the device but with the
4878 layout width of the page. This viewport is used:
4879 - As FrameView::visibleContentRect.
4880 - Returned from WebView::size().
4881 - Given to the compositor as layoutViewportSize.
4882
4883 - m_deviceScaleInCompositor is deleted as it's clearer to use the
4884 applyDeviceScaleInCompositor setting directly.
4885
4886 * src/ChromeClientImpl.cpp:
4887 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
4888 * src/WebViewImpl.cpp:
4889 (WebKit::WebViewImpl::WebViewImpl):
4890 (WebKit::WebViewImpl::size):
4891 (WebKit):
4892 (WebKit::WebViewImpl::resize):
4893 (WebKit::WebViewImpl::setPageScaleFactor):
4894 (WebKit::WebViewImpl::setDeviceScaleFactor):
4895 (WebKit::WebViewImpl::layoutSize):
4896 (WebKit::WebViewImpl::computePageScaleFactorLimits):
4897 (WebKit::WebViewImpl::dipSize):
4898 (WebKit::WebViewImpl::didChangeContentsSize):
4899 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4900 (WebKit::WebViewImpl::updateLayerTreeViewport):
4901 * src/WebViewImpl.h:
4902 (WebViewImpl):
4903
4904 2013-01-17 Sheriff Bot <webkit.review.bot@gmail.com>
4905
4906 Unreviewed. Rolled Chromium DEPS to r177369. Requested by
4907 ajuma via sheriffbot.
4908
4909 * DEPS:
4910
4911 2013-01-17 Eugene Klyuchnikov <eustas@chromium.org>
4912
4913 Web Inspector: Profiler: split "getProfile" to "getCPUProfile" and "load HeapSnapshot"
4914 https://bugs.webkit.org/show_bug.cgi?id=104545
4915
4916 Reviewed by Yury Semikhatsky.
4917
4918 Adopt changes: mimic old behavior.
4919
4920 * src/WebDevToolsAgentImpl.cpp: Adopt signature changes.
4921
4922 2013-01-17 Yury Semikhatsky <yurys@chromium.org>
4923
4924 Web Inspector: add WebDeToolsAgentImpl as task observer on reattach
4925 https://bugs.webkit.org/show_bug.cgi?id=107106
4926
4927 Reviewed by Pavel Feldman.
4928
4929 Register WebDevToolsAgentImpl as task observer when it client is reattac hed.
4930
4931 * src/WebDevToolsAgentImpl.cpp:
4932 (WebKit::WebDevToolsAgentImpl::reattach):
4933
4934 2013-01-16 Dominic Cooney <dominicc@chromium.org>
4935
4936 [Chromium] Unreviewed gardening.
4937
4938 Roll Chromium to 177350.
4939
4940 * DEPS:
4941
4942 2013-01-16 Kristian Monsen <kristianm@google.com>
4943
4944 Fix build break for Android webview.
4945 https://bugs.webkit.org/show_bug.cgi?id=107072
4946
4947 Reviewed by Steve Block.
4948
4949 Add extra guards when checking for OS=="Android" to make sure it is not included
4950 for webview.
4951
4952 * WebKitUnitTests.gyp:
4953
4954 2013-01-16 Dominic Cooney <dominicc@chromium.org>
4955
4956 [Chromium] Unreviewed gardening.
4957
4958 Roll Chromium to 177310.
4959
4960 * DEPS:
4961
4962 2013-01-16 W. James MacLean <wjmaclean@chromium.org>
4963
4964 LinkHighlight should use touch adjustment to match active state on Gestu reTapDown.
4965 https://bugs.webkit.org/show_bug.cgi?id=107032
4966
4967 Reviewed by Adam Barth.
4968
4969 LinkHighlight node selection should produce results that match the node marked
4970 active during GestureTapDown.
4971
4972 * src/WebViewImpl.cpp:
4973 (WebKit::WebViewImpl::bestTouchLinkNode):
4974 * tests/LinkHighlightTest.cpp:
4975 (WebCore::TEST):
4976
4977 2013-01-16 Kentaro Hara <haraken@chromium.org>
4978
4979 [V8] Make a creationContext parameter of toV8() mandatory
4980 https://bugs.webkit.org/show_bug.cgi?id=107020
4981
4982 Reviewed by Adam Barth.
4983
4984 We pass Handle<Object>() to a creationContext parameter of
4985 toV8() when we do not have a creationContext.
4986
4987 No tests. No change in behavior.
4988
4989 * src/InspectorFrontendClientImpl.cpp:
4990 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
4991 * src/WebArrayBuffer.cpp:
4992 (WebKit::WebArrayBuffer::toV8Value):
4993 * src/WebBlob.cpp:
4994 (WebKit::WebBlob::toV8Value):
4995 * src/WebFrameImpl.cpp:
4996 (WebKit::WebFrameImpl::createFileSystem):
4997 (WebKit::WebFrameImpl::createSerializableFileSystem):
4998 (WebKit::WebFrameImpl::createFileEntry):
4999
5000 2013-01-16 Mark Pilgrim <pilgrim@chromium.org>
5001
5002 [Chromium] Move WebArrayBufferView and WebSerializedScriptValue out of p ublic/platform/
5003 https://bugs.webkit.org/show_bug.cgi?id=106863
5004
5005 Reviewed by Adam Barth.
5006
5007 These are not being moved into the new top-level Platform
5008 directory, so into public they go.
5009
5010 * WebKit.gyp:
5011 * public/WebArrayBufferView.h: Added.
5012 (v8):
5013 (WebKit):
5014 (WebArrayBufferView):
5015 (WebKit::WebArrayBufferView::~WebArrayBufferView):
5016 (WebKit::WebArrayBufferView::WebArrayBufferView):
5017 * public/WebSerializedScriptValue.h: Added.
5018 (v8):
5019 (WebKit):
5020 (WebSerializedScriptValue):
5021 (WebKit::WebSerializedScriptValue::~WebSerializedScriptValue):
5022 (WebKit::WebSerializedScriptValue::WebSerializedScriptValue):
5023 (WebKit::WebSerializedScriptValue::operator=):
5024 (WebKit::WebSerializedScriptValue::isNull):
5025 * public/platform/WebArrayBufferView.h:
5026 * public/platform/WebSerializedScriptValue.h:
5027
5028 2013-01-16 Chris Hopman <cjhopman@chromium.org>
5029
5030 [Chromium] Remove hardcoded chromium_*.jar in gyp files
5031 https://bugs.webkit.org/show_bug.cgi?id=104049
5032
5033 Reviewed by Eric Seidel.
5034
5035 Targets with dependencies (direct/indirect) on a java target receive
5036 the chromium_*.jar paths in the variable input_jars_paths. Targets
5037 should use that rather than hardcoding where they think the jar will
5038 be. These can be passed directly to ant as INPUT_JARS_PATHS rather
5039 than as --jars to generate_native_test.py.
5040
5041 * WebKitUnitTests.gyp:
5042
5043 2013-01-16 Dominic Cooney <dominicc@chromium.org>
5044
5045 [Chromium] Unreviewed gardening.
5046
5047 Roll Chromium to 177117.
5048
5049 * DEPS:
5050
5051 2013-01-16 Dominic Cooney <dominicc@chromium.org>
5052
5053 [Chromium] Unreviewed gardening.
5054
5055 Roll Chromium to r177080.
5056
5057 * DEPS:
5058
5059 2013-01-15 Ian Vollick <vollick@chromium.org>
5060
5061 [chromium] Create GraphicsLayerChromiums using a factory
5062 https://bugs.webkit.org/show_bug.cgi?id=103635
5063
5064 Reviewed by James Robinson.
5065
5066 Refactor graphics layer creation for chromium to go through a factory.
5067
5068 * src/ChromeClientImpl.cpp:
5069 (WebCore):
5070 (GraphicsLayerFactoryChromium):
5071 (WebCore::GraphicsLayerFactoryChromium::~GraphicsLayerFactoryChromium):
5072 (WebKit::ChromeClientImpl::ChromeClientImpl):
5073 (WebKit::ChromeClientImpl::graphicsLayerFactory):
5074 (WebKit):
5075 * src/ChromeClientImpl.h:
5076 (WebCore):
5077 (ChromeClientImpl):
5078 * src/NonCompositedContentHost.cpp:
5079 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
5080 * src/NonCompositedContentHost.h:
5081 (WebCore):
5082 (WebKit::NonCompositedContentHost::create):
5083 (NonCompositedContentHost):
5084 * src/PageOverlay.cpp:
5085 (WebKit::PageOverlay::update):
5086 * src/WebViewImpl.cpp:
5087 (WebKit::WebViewImpl::graphicsLayerFactory):
5088 (WebKit):
5089 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5090 * src/WebViewImpl.h:
5091 (WebCore):
5092 (WebViewImpl):
5093 * tests/GraphicsLayerChromiumTest.cpp:
5094 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
5095 * tests/ImageLayerChromiumTest.cpp:
5096 (WebCore::TEST):
5097
5098 2013-01-15 Mark Pilgrim <pilgrim@chromium.org>
5099
5100 [Chromium] Move SocketStreamHandle and SocketStreamHandleInternal to Web Core/platform
5101 https://bugs.webkit.org/show_bug.cgi?id=106899
5102
5103 Reviewed by Adam Barth.
5104
5105 Part of a larger refactoring series; see tracking bug 106829.
5106
5107 * WebKit.gyp:
5108 * src/SocketStreamHandle.cpp: Removed.
5109 * src/SocketStreamHandleInternal.h: Removed.
5110
5111 2013-01-15 Florin Malita <fmalita@chromium.org>
5112
5113 [Chromium] Incorrect opaque region tracking for PlatformContextSkia::dra wRRect
5114 https://bugs.webkit.org/show_bug.cgi?id=106898
5115
5116 Reviewed by Stephen White.
5117
5118 * tests/PlatformContextSkiaTest.cpp:
5119 (WebCore::TEST):
5120 (WebCore):
5121
5122 2012-12-28 Vsevolod Vlasov <vsevik@chromium.org>
5123
5124 Web Inspector: Support inspector file system access with isolated file s ystem through InspectorFrontendHost.
5125 https://bugs.webkit.org/show_bug.cgi?id=105727
5126
5127 Reviewed by Pavel Feldman.
5128
5129 File system access methods plumbing made for Chromium.
5130
5131 * public/WebDevToolsFrontendClient.h:
5132 (WebKit::WebDevToolsFrontendClient::requestFileSystems):
5133 (WebKit::WebDevToolsFrontendClient::addFileSystem):
5134 (WebKit::WebDevToolsFrontendClient::removeFileSystem):
5135 (WebDevToolsFrontendClient):
5136 * src/InspectorFrontendClientImpl.cpp:
5137 (WebKit::InspectorFrontendClientImpl::supportsFileSystems):
5138 (WebKit):
5139 (WebKit::InspectorFrontendClientImpl::requestFileSystems):
5140 (WebKit::InspectorFrontendClientImpl::addFileSystem):
5141 (WebKit::InspectorFrontendClientImpl::removeFileSystem):
5142 * src/InspectorFrontendClientImpl.h:
5143 (InspectorFrontendClientImpl):
5144
5145 2013-01-14 Dominic Cooney <dominicc@chromium.org>
5146
5147 [Chromium] Unreviewed gardening.
5148
5149 Roll Chromium to r176801.
5150
5151 * DEPS: Rollin' on the river.
5152
5153 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
5154
5155 [Chromium] Remove unused public/platform/WebColorName.h
5156 https://bugs.webkit.org/show_bug.cgi?id=106865
5157
5158 Reviewed by Adam Barth.
5159
5160 This file is no longer referenced anywhere in WebKit or Chromium.
5161
5162 * public/platform/WebColorName.h: Removed.
5163
5164 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
5165
5166 [Chromium] Move BlobRegistryProxy into WebCore
5167 https://bugs.webkit.org/show_bug.cgi?id=106831
5168
5169 Reviewed by Adam Barth.
5170
5171 Part of a larger refactoring series to remove layering violations
5172 in Chromium. See tracking bug 106829.
5173
5174 * WebKit.gyp:
5175 * src/BlobRegistryProxy.cpp: Removed.
5176 * src/BlobRegistryProxy.h: Removed.
5177
5178 2013-01-14 Alec Flett <alecflett@chromium.org>
5179
5180 IndexedDB: Remove IDBObjectStore/IndexBackendImpl and support functions
5181 https://bugs.webkit.org/show_bug.cgi?id=106605
5182
5183 Remove all references to IDBObjectStoreBackend* and IDBIndexBackend*
5184 as they no longer exist in WebCore.
5185
5186 Reviewed by Darin Fisher.
5187
5188 * WebKit.gyp:
5189 * public/WebIDBCallbacks.h:
5190 (WebKit):
5191 * public/WebIDBDatabase.h:
5192 (WebKit):
5193 (WebKit::WebIDBDatabase::metadata):
5194 * public/WebIDBFactory.h:
5195 (WebIDBFactory):
5196 * public/WebIDBIndex.h: Removed.
5197 * public/WebIDBObjectStore.h: Removed.
5198 * public/WebIDBTransaction.h:
5199 * src/IDBCallbacksProxy.cpp:
5200 * src/IDBDatabaseBackendProxy.cpp:
5201 * src/IDBDatabaseBackendProxy.h:
5202 (IDBDatabaseBackendProxy):
5203 * src/IDBFactoryBackendProxy.cpp:
5204 * src/IDBFactoryBackendProxy.h:
5205 (IDBFactoryBackendProxy):
5206 * src/IDBIndexBackendProxy.cpp: Removed.
5207 * src/IDBIndexBackendProxy.h: Removed.
5208 * src/IDBObjectStoreBackendProxy.cpp: Removed.
5209 * src/IDBObjectStoreBackendProxy.h: Removed.
5210 * src/IDBTransactionBackendProxy.cpp:
5211 * src/IDBTransactionBackendProxy.h:
5212 (IDBTransactionBackendProxy):
5213 * src/WebIDBDatabaseImpl.cpp:
5214 (WebKit::WebIDBDatabaseImpl::put):
5215 (WebKit::WebIDBDatabaseImpl::setIndexKeys):
5216 * src/WebIDBDatabaseImpl.h:
5217 (WebKit):
5218 (WebIDBDatabaseImpl):
5219 * src/WebIDBFactoryImpl.cpp:
5220 (WebKit::WebIDBFactoryImpl::getDatabaseNames):
5221 * src/WebIDBFactoryImpl.h:
5222 (WebIDBFactoryImpl):
5223 * src/WebIDBIndexImpl.cpp: Removed.
5224 * src/WebIDBIndexImpl.h: Removed.
5225 * src/WebIDBObjectStoreImpl.cpp: Removed.
5226 * src/WebIDBObjectStoreImpl.h: Removed.
5227 * src/WebIDBTransactionImpl.cpp:
5228 * src/WebIDBTransactionImpl.h:
5229 * tests/IDBAbortOnCorruptTest.cpp:
5230 (WebCore::TEST):
5231 * tests/IDBDatabaseBackendTest.cpp:
5232
5233 2013-01-14 Dominic Mazzoni <dmazzoni@google.com>
5234
5235 AX: Need to implement ColorWellRole
5236 https://bugs.webkit.org/show_bug.cgi?id=106756
5237
5238 Reviewed by Chris Fleizach.
5239
5240 Adds an accessibility interface to access the value of a
5241 color control.
5242
5243 * public/WebAccessibilityObject.h:
5244 (WebAccessibilityObject):
5245 * src/WebAccessibilityObject.cpp:
5246 (WebKit::WebAccessibilityObject::colorValue):
5247 (WebKit):
5248
5249 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
5250
5251 [Chromium] Move AudioDestinationChromium into WebCore
5252 https://bugs.webkit.org/show_bug.cgi?id=106803
5253
5254 Reviewed by Adam Barth.
5255
5256 This doesn't really belong in WebKit/chromium/src since it defines
5257 things directly in the WebCore namespace.
5258
5259 * WebKit.gyp:
5260 * src/AudioDestinationChromium.cpp: Removed.
5261 * src/AudioDestinationChromium.h: Removed.
5262
5263 2013-01-14 Stephen Chenney <schenney@chromium.org>
5264
5265 Re-enabling the SK_DISABLE_DASHING_OPTIMIZATION flag for Skia
5266
5267 Unreviewed build fix.
5268
5269 It turns out that the change behind this flag causes crashes and image e rrors.
5270
5271 * skia_webkit.gyp:
5272
5273 2013-01-14 Kentaro Hara <haraken@chromium.org>
5274
5275 [V8] Make an Isolate parameter mandatory in ScriptDebugServer::interrupt AndRun()
5276 https://bugs.webkit.org/show_bug.cgi?id=106779
5277
5278 Reviewed by Adam Barth.
5279
5280 This is one of steps to make an Isolate parameter mandatory.
5281
5282 No tests. No change in behavior.
5283
5284 * src/WebDevToolsAgentImpl.cpp:
5285 (WebKit::WebDevToolsAgent::interruptAndDispatch):
5286
5287 2013-01-13 Vsevolod Vlasov <vsevik@chromium.org>
5288
5289 Web Inspector: [Chromium] DevToolsSanityTest.TestNoScriptDuplicatesOnPan elSwitch fails
5290 https://bugs.webkit.org/show_bug.cgi?id=106755
5291
5292 Reviewed by Alexander Pavlov.
5293
5294 * src/js/Tests.js:
5295 (.TestSuite.prototype.nonAnonymousUISourceCodes_.filterOutService):
5296 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
5297
5298 2013-01-12 David Grogan <dgrogan@chromium.org>
5299
5300 Unreviewed. Roll chromium DEPS to 176595.
5301 https://bugs.webkit.org/show_bug.cgi?id=106730
5302
5303 * DEPS:
5304
5305 2013-01-11 Dan Beam <dbeam@chromium.org>
5306
5307 [clean up] Remove HTMLFormElement::AutocompleteResultError in favor of m ore specific Error reasons
5308 https://bugs.webkit.org/show_bug.cgi?id=106610
5309
5310 Reviewed by Darin Fisher.
5311
5312 * public/WebFormElement.h: Removed WebFormElement::AutocompleteResultErr or in favor of more specific error reasons.
5313 * src/AssertMatchingEnums.cpp: Removed enum value from compile-time asse rts.
5314
5315 2013-01-11 Tien-Ren Chen <trchen@chromium.org>
5316
5317 WebWidgetClient::didHandleGestureEvent needs to distinguish the case if the event is processed or swallowed
5318 https://bugs.webkit.org/show_bug.cgi?id=104427
5319
5320 Reviewed by Adam Barth.
5321
5322 When a gesture needs to be disambiguated, WebKit doesn't update cursor f ocus.
5323 We added an extra status for didHandleGestureEvent(), so we can distingu ish
5324 the case whether the event is actually delivered to the web page or canc elled.
5325
5326 * public/WebViewClient.h:
5327 * public/WebWidgetClient.h:
5328 (WebKit):
5329 (WebWidgetClient):
5330 (WebKit::WebWidgetClient::didHandleGestureEvent):
5331 * src/WebViewImpl.cpp:
5332 (WebKit::WebViewImpl::handleGestureEvent):
5333 * tests/WebViewTest.cpp:
5334
5335 2013-01-11 Eberhard Graether <egraether@google.com>
5336
5337 [chromium] Add ContinuousPainter to call setNeedsDisplay on all layers r ecursively in continuous painting mode
5338 https://bugs.webkit.org/show_bug.cgi?id=105458
5339
5340 Reviewed by James Robinson.
5341
5342 In continuous painting mode all layers are constantly repainted to allow for life measurements of page paint time,
5343 while changing HTML and CSS using the WebInspector. This change adds the ContinuousPainter helper object, which
5344 calls setNeedsDisplay() on all GraphicsLayers recursively in order to fo rce all layers to repaint. PageOverlay
5345 layers get excluded from being repainted, because their extra paint time is altering the page paint time metric.
5346
5347 * WebKit.gyp:
5348 * src/PageOverlay.h:
5349 (WebKit::PageOverlay::graphicsLayer):
5350 (PageOverlay):
5351 * src/PageOverlayList.cpp:
5352 (WebKit::PageOverlayList::findGraphicsLayer):
5353 (WebKit):
5354 * src/PageOverlayList.h:
5355 (WebCore):
5356 (PageOverlayList):
5357 * src/WebViewImpl.cpp:
5358 (WebKit::WebViewImpl::WebViewImpl):
5359 (WebKit::WebViewImpl::didBeginFrame):
5360 * src/WebViewImpl.h:
5361 * src/painting/ContinuousPainter.cpp: Copied from Source/WebKit/chromium /src/PageOverlay.h.
5362 (WebKit):
5363 (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
5364 * src/painting/ContinuousPainter.h: Copied from Source/WebKit/chromium/s rc/PageOverlay.h.
5365 (WebCore):
5366 (WebKit):
5367 (ContinuousPainter):
5368
5369 2013-01-11 Tony Chang <tony@chromium.org>
5370
5371 Unreviewed, revert r139157 to fix the chromium build.
5372 These files were deleted in a follow up and since r139044 was reverted, we need to
5373 add back these files.
5374
5375 * WebKit.gyp:
5376 * src/DragScrollTimer.cpp: Added.
5377 (WebKit):
5378 (WebKit::distanceToRect):
5379 (WebKit::DragScrollTimer::DragScrollTimer):
5380 (WebKit::DragScrollTimer::~DragScrollTimer):
5381 (WebKit::DragScrollTimer::stop):
5382 (WebKit::DragScrollTimer::scroll):
5383 (WebKit::DragScrollTimer::update):
5384 (WebKit::DragScrollTimer::triggerScroll):
5385 (WebKit::DragScrollTimer::scrollDistanceFor):
5386 * src/DragScrollTimer.h: Added.
5387 (WebKit):
5388 (DragScrollTimer):
5389 (WebKit::DragScrollTimer::fired):
5390 (WebKit::DragScrollTimer::shouldScroll):
5391
5392 2013-01-11 Sheriff Bot <webkit.review.bot@gmail.com>
5393
5394 Unreviewed, rolling out r139044.
5395 http://trac.webkit.org/changeset/139044
5396 https://bugs.webkit.org/show_bug.cgi?id=106702
5397
5398 Caused various scrolling anomolies on Mac with drag and drop
5399 (Requested by smfr on #webkit).
5400
5401 * src/WebViewImpl.cpp:
5402 (WebKit::WebViewImpl::WebViewImpl):
5403 (WebKit::WebViewImpl::dragSourceEndedAt):
5404 (WebKit::WebViewImpl::dragSourceMovedTo):
5405 (WebKit::WebViewImpl::dragTargetDrop):
5406 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
5407 * src/WebViewImpl.h:
5408 (WebKit):
5409
5410 2013-01-11 Tony Chang <tony@chromium.org>
5411
5412 [chromium] Don't regenerate all bindings when any idl file changes
5413 https://bugs.webkit.org/show_bug.cgi?id=106604
5414
5415 Reviewed by Kentaro Hara.
5416
5417 * gyp_webkit: Add Source/WebCore/WebCore.gyp/scripts to the python impor t search path
5418 so we can generate idl dependencies at gyp time.
5419
5420 2013-01-11 Stephen Chenney <schenney@chromium.org>
5421
5422 Removing Skia flags that have been disabling oprtimizations and other im provements.
5423
5424 Unreviewed build fix.
5425
5426 These changes have been extensively tested by the Skia team, and
5427 WebKit test result changes will be monitored.
5428
5429 * skia_webkit.gyp:
5430
5431 2013-01-11 Pavel Feldman <pfeldman@chromium.org>
5432
5433 Web Inspector [chromium]: toolbar border is missing on non-Mac in docked -to-bottom mode
5434 https://bugs.webkit.org/show_bug.cgi?id=106560
5435
5436 Reviewed by Vsevolod Vlasov.
5437
5438 * src/js/devTools.css:
5439 (body.dock-to-bottom.platform-mac #toolbar):
5440
5441 2013-01-10 Noel Gordon <noel.gordon@gmail.com>
5442
5443 [chromium] Disable PNG and ICO image webkit-unit-tests after r139347
5444 https://bugs.webkit.org/show_bug.cgi?id=106631
5445
5446 Reviewed by Eric Seidel.
5447
5448 * tests/WebImageTest.cpp:
5449 (WebKit::TEST): Disable ICOImage and PNGImage tests on WIN and MAC to
5450 green their respective webkit-unit-test bots. The tests still pass on
5451 LINUX so keep test coverage there for now.
5452
5453 2013-01-10 Dan Beam <dbeam@chromium.org>
5454
5455 Implement AutocompleteErrorEvent#reason
5456 https://bugs.webkit.org/show_bug.cgi?id=105568
5457
5458 Reviewed by Adam Barth.
5459
5460 * public/WebFormElement.h: Added matching enum values for public chromiu m WebKit API.
5461 * src/AssertMatchingEnums.cpp: Updated compile assert that WebKit and We bCore enums match.
5462
5463 2013-01-10 Adam Barth <abarth@webkit.org>
5464
5465 Add an ENABLE macro and a WebCore::Setting for the threaded parser
5466 https://bugs.webkit.org/show_bug.cgi?id=106595
5467
5468 Reviewed by Benjamin Poulain.
5469
5470 Explicitly disable THREADED_HTML_PARSER for Chromium so that we can
5471 more easily enable it locally.
5472
5473 * features.gypi:
5474
5475 2013-01-10 John Mellor <johnme@chromium.org>
5476
5477 Fix scale of screen.width, window.outerWidth and @media device-width whe n page scale not applied in compositor.
5478 https://bugs.webkit.org/show_bug.cgi?id=106460
5479
5480 Reviewed by Kenneth Rohde Christiansen.
5481
5482 1. Exposes the existing applyDeviceScaleFactorInCompositor from
5483 WebSettings on Settings (and stores the value there instead), so it can
5484 be accessed from WebCore.
5485
5486 2. Changes ChromeClientImpl::windowRect to return values in density
5487 independent (UI) pixels pixels instead of physical screen pixels (see
5488 explanation in Source/WebCore/ChangeLog).
5489
5490 * src/ChromeClientImpl.cpp:
5491 (WebKit::ChromeClientImpl::windowRect):
5492 Normalizes window rect scale.
5493 * src/WebSettingsImpl.cpp:
5494 (WebKit::WebSettingsImpl::WebSettingsImpl):
5495 (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
5496 (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
5497 (WebKit):
5498 * src/WebSettingsImpl.h:
5499 (WebSettingsImpl):
5500
5501 2013-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
5502
5503 Unreviewed. Rolled DEPS.
5504
5505 * DEPS:
5506
5507 2013-01-10 Dimitri Glazkov <dglazkov@chromium.org>
5508
5509 Unreviewed, rolling out r139227.
5510 http://trac.webkit.org/changeset/139227
5511 https://bugs.webkit.org/show_bug.cgi?id=106227
5512
5513 Broke Win component build.
5514
5515 * public/WebAccessibilityObject.h:
5516 * public/WebAccessibilityRole.h:
5517 * public/WebActiveWheelFlingParameters.h:
5518 * public/WebAnimationController.h:
5519 * public/WebApplicationCacheHost.h:
5520 * public/WebApplicationCacheHostClient.h:
5521 * public/WebArrayBuffer.h:
5522 * public/WebAudioSourceProvider.h:
5523 * public/WebBatteryStatus.h:
5524 * public/WebBindings.h:
5525 * public/WebBlob.h:
5526 * public/WebCache.h:
5527 * public/WebCachedURLRequest.h:
5528 * public/WebColorChooser.h:
5529 * public/WebColorChooserClient.h:
5530 * public/WebColorName.h:
5531 * public/WebCommonWorkerClient.h:
5532 * public/WebCompositionUnderline.h:
5533 * public/WebCompositorInputHandler.h:
5534 * public/WebConsoleMessage.h:
5535 * public/WebContentDetectionResult.h:
5536 * public/WebContextMenuData.h:
5537 * public/WebCrossOriginPreflightResultCache.h:
5538 * public/WebCursorInfo.h:
5539 * public/WebDOMEvent.h:
5540 * public/WebDOMEventListener.h:
5541 * public/WebDOMStringList.h:
5542 * public/WebDataSource.h:
5543 * public/WebDatabase.h:
5544 * public/WebDateTimeChooserCompletion.h:
5545 * public/WebDateTimeChooserParams.h:
5546 * public/WebDeliveredIntentClient.h:
5547 * public/WebDevToolsAgent.h:
5548 * public/WebDevToolsAgentClient.h:
5549 * public/WebDevToolsFrontend.h:
5550 * public/WebDeviceOrientationClient.h:
5551 * public/WebDeviceOrientationClientMock.h:
5552 * public/WebDeviceOrientationController.h:
5553 * public/WebDocument.h:
5554 * public/WebDraggableRegion.h:
5555 * public/WebExternalPopupMenuClient.h:
5556 * public/WebFileChooserCompletion.h:
5557 * public/WebFileChooserParams.h:
5558 * public/WebFileSystemCallbacks.h:
5559 * public/WebFileSystemEntry.h:
5560 * public/WebFileWriter.h:
5561 * public/WebFileWriterClient.h:
5562 * public/WebFindOptions.h:
5563 * public/WebFont.h:
5564 * public/WebFontCache.h:
5565 * public/WebFontDescription.h:
5566 * public/WebFormControlElement.h:
5567 * public/WebFormElement.h:
5568 * public/WebFrame.h:
5569 * public/WebFrameClient.h:
5570 * public/WebGeolocationClientMock.h:
5571 * public/WebGeolocationController.h:
5572 * public/WebGeolocationError.h:
5573 * public/WebGeolocationPermissionRequest.h:
5574 * public/WebGeolocationPermissionRequestManager.h:
5575 * public/WebGeolocationPosition.h:
5576 * public/WebGlyphCache.h:
5577 * public/WebHelperPlugin.h:
5578 * public/WebHistoryItem.h:
5579 * public/WebHitTestResult.h:
5580 * public/WebIDBCallbacks.h:
5581 * public/WebIDBCursor.h:
5582 * public/WebIDBDatabase.h:
5583 * public/WebIDBDatabaseCallbacks.h:
5584 * public/WebIDBDatabaseError.h:
5585 * public/WebIDBFactory.h:
5586 * public/WebIDBIndex.h:
5587 * public/WebIDBKey.h:
5588 * public/WebIDBKeyPath.h:
5589 * public/WebIDBKeyRange.h:
5590 * public/WebIDBMetadata.h:
5591 * public/WebIDBObjectStore.h:
5592 * public/WebIDBTransaction.h:
5593 * public/WebIDBTransactionCallbacks.h:
5594 * public/WebIconURL.h:
5595 * public/WebImageDecoder.h:
5596 * public/WebInputEvent.h:
5597 * public/WebIntent.h:
5598 * public/WebIntentRequest.h:
5599 * public/WebIntentServiceInfo.h:
5600 * public/WebMediaPlayer.h:
5601 * public/WebMediaStreamRegistry.h:
5602 * public/WebMenuItemInfo.h:
5603 * public/WebNetworkStateNotifier.h:
5604 * public/WebNode.h:
5605 * public/WebNodeCollection.h:
5606 * public/WebNodeList.h:
5607 * public/WebNotification.h:
5608 * public/WebNotificationPresenter.h:
5609 * public/WebOptionElement.h:
5610 * public/WebPageOverlay.h:
5611 * public/WebPagePopup.h:
5612 * public/WebPageSerializer.h:
5613 * public/WebPasswordFormData.h:
5614 * public/WebPerformance.h:
5615 * public/WebPlugin.h:
5616 * public/WebPluginContainer.h:
5617 * public/WebPluginParams.h:
5618 * public/WebPopupMenu.h:
5619 * public/WebPopupMenuInfo.h:
5620 * public/WebPrerendererClient.h:
5621 * public/WebPrintParams.h:
5622 * public/WebRange.h:
5623 * public/WebRegularExpression.h:
5624 * public/WebRuntimeFeatures.h:
5625 * public/WebScopedMicrotaskSuppression.h:
5626 * public/WebScopedUserGesture.h:
5627 * public/WebScriptController.h:
5628 * public/WebScriptSource.h:
5629 * public/WebSearchableFormData.h:
5630 * public/WebSecurityOrigin.h:
5631 * public/WebSecurityPolicy.h:
5632 * public/WebSelectElement.h:
5633 * public/WebSettings.h:
5634 * public/WebSharedWorker.h:
5635 * public/WebSharedWorkerRepository.h:
5636 * public/WebSpeechGrammar.h:
5637 * public/WebSpeechInputController.h:
5638 * public/WebSpeechInputResult.h:
5639 * public/WebSpeechRecognitionHandle.h:
5640 * public/WebSpeechRecognitionParams.h:
5641 * public/WebSpeechRecognitionResult.h:
5642 * public/WebSpeechRecognizer.h:
5643 * public/WebSpeechRecognizerClient.h:
5644 * public/WebSpellCheckClient.h:
5645 * public/WebStorageEventDispatcher.h:
5646 * public/WebSurroundingText.h:
5647 * public/WebTestingSupport.h:
5648 * public/WebTextCheckingCompletion.h:
5649 * public/WebTextCheckingResult.h:
5650 * public/WebTextFieldDecoratorClient.h:
5651 * public/WebTextInputInfo.h:
5652 * public/WebTextRun.h:
5653 * public/WebTimeRange.h:
5654 * public/WebTouchPoint.h:
5655 * public/WebUserMediaRequest.h:
5656 * public/WebView.h:
5657 * public/WebViewBenchmarkSupport.h:
5658 * public/WebViewClient.h:
5659 * public/WebWidget.h:
5660 * public/WebWidgetClient.h:
5661 * public/WebWindowFeatures.h:
5662 * public/WebWorkerInfo.h:
5663
5664 2013-01-09 Alec Flett <alecflett@chromium.org>
5665
5666 IndexedDB: Allow createIndex/createObjectStore to be asynchronous
5667 https://bugs.webkit.org/show_bug.cgi?id=106377
5668
5669 Reviewed by Tony Chang.
5670
5671 Remove this test as it makes no sense once the objectstore/index
5672 hierarchy is gone.
5673
5674 * tests/IDBDatabaseBackendTest.cpp:
5675
5676 2013-01-09 Chris Rogers <crogers@google.com>
5677
5678 Allow live/local audio input to be enabled only when needed
5679 https://bugs.webkit.org/show_bug.cgi?id=106490
5680
5681 Reviewed by Kenneth Russell.
5682
5683 * src/AudioDestinationChromium.cpp:
5684 (WebCore):
5685 (WebCore::AudioDestination::create):
5686 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
5687 (WebCore::AudioDestinationChromium::render):
5688 * src/AudioDestinationChromium.h:
5689 (AudioDestinationChromium):
5690
5691 2013-01-09 Yue Zhang <zysxqn@google.com>
5692
5693 [Chromium] Always enable autocomplete for password fields
5694 https://bugs.webkit.org/show_bug.cgi?id=104600
5695
5696 Reviewed by Darin Fisher.
5697
5698 Don't check autocomplete in webkit code. Rather, we check it in chrome c ode in the following way: if the password field is chrome generated password, we ignore autocomplete=off and always fill the password; otherwise, we respect the autocomplete set. Since this is a chrome only feature, we make it configurable (default to false but enable this in chrome code).
5699
5700 * src/WebPasswordFormUtils.cpp:
5701 (WebKit::findPasswordFormFields):
5702 * src/WebPasswordFormUtils.h:
5703 (WebKit):
5704 (WebKit::findPasswordFormFields):
5705
5706 2013-01-09 James Robinson <jamesr@chromium.org>
5707
5708 [chromium] Add a notification when a WebWidget's WebLayerTreeView is abo ut to go away
5709 https://bugs.webkit.org/show_bug.cgi?id=106495
5710
5711 Reviewed by Adrienne Walker.
5712
5713 The WebWidget / WebLayerTreeView ownership is in a slightly awkward plac e. I'm moving the ownership
5714 of the WebLayerTreeView to the WebWidgetClient, but to stage things sane ly the WebLayerTreeView's
5715 client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
5716 notification to the WebWidget that the WebLayerTreeView is going to go a way.
5717
5718 This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
5719 which will take a bit more refactoring.
5720
5721 * public/WebWidget.h:
5722 (WebWidget):
5723 (WebKit::WebWidget::willCloseLayerTreeView):
5724 * src/WebViewImpl.cpp:
5725 (WebKit::WebViewImpl::willCloseLayerTreeView):
5726 (WebKit):
5727 * src/WebViewImpl.h:
5728 (WebViewImpl):
5729
5730 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
5731
5732 [Chromium] Remove stray references to WebKitPlatformSupport.h
5733 https://bugs.webkit.org/show_bug.cgi?id=106493
5734
5735 Reviewed by James Robinson.
5736
5737 Part of a refactoring series. See tracking bug 82948.
5738
5739 * src/SharedWorkerRepository.cpp:
5740 * tests/RunAllTests.cpp:
5741
5742 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
5743
5744 [Chromium] Update some #includes in WebKit/chromium/public/ for new Plat form directory
5745 https://bugs.webkit.org/show_bug.cgi?id=106227
5746
5747 Reviewed by Darin Fisher.
5748
5749 Part of a larger refactoring series. See tracking bug 82948.
5750
5751 * public/WebAccessibilityObject.h:
5752 * public/WebAccessibilityRole.h:
5753 * public/WebActiveWheelFlingParameters.h:
5754 * public/WebAnimationController.h:
5755 * public/WebApplicationCacheHost.h:
5756 * public/WebApplicationCacheHostClient.h:
5757 * public/WebArrayBuffer.h:
5758 * public/WebAudioSourceProvider.h:
5759 * public/WebBatteryStatus.h:
5760 * public/WebBindings.h:
5761 * public/WebBlob.h:
5762 * public/WebCache.h:
5763 * public/WebCachedURLRequest.h:
5764 * public/WebColorChooser.h:
5765 * public/WebColorChooserClient.h:
5766 * public/WebColorName.h:
5767 * public/WebCommonWorkerClient.h:
5768 * public/WebCompositionUnderline.h:
5769 * public/WebCompositorInputHandler.h:
5770 * public/WebConsoleMessage.h:
5771 * public/WebContentDetectionResult.h:
5772 * public/WebContextMenuData.h:
5773 * public/WebCrossOriginPreflightResultCache.h:
5774 * public/WebCursorInfo.h:
5775 * public/WebDOMEvent.h:
5776 * public/WebDOMEventListener.h:
5777 * public/WebDOMStringList.h:
5778 * public/WebDataSource.h:
5779 * public/WebDatabase.h:
5780 * public/WebDateTimeChooserCompletion.h:
5781 * public/WebDateTimeChooserParams.h:
5782 * public/WebDeliveredIntentClient.h:
5783 * public/WebDevToolsAgent.h:
5784 * public/WebDevToolsAgentClient.h:
5785 * public/WebDevToolsFrontend.h:
5786 * public/WebDeviceOrientationClient.h:
5787 * public/WebDeviceOrientationClientMock.h:
5788 * public/WebDeviceOrientationController.h:
5789 * public/WebDocument.h:
5790 * public/WebDraggableRegion.h:
5791 * public/WebExternalPopupMenuClient.h:
5792 * public/WebFileChooserCompletion.h:
5793 * public/WebFileChooserParams.h:
5794 * public/WebFileSystemCallbacks.h:
5795 * public/WebFileSystemEntry.h:
5796 * public/WebFileWriter.h:
5797 * public/WebFileWriterClient.h:
5798 * public/WebFindOptions.h:
5799 * public/WebFont.h:
5800 * public/WebFontCache.h:
5801 * public/WebFontDescription.h:
5802 * public/WebFormControlElement.h:
5803 * public/WebFormElement.h:
5804 * public/WebFrame.h:
5805 * public/WebFrameClient.h:
5806 * public/WebGeolocationClientMock.h:
5807 * public/WebGeolocationController.h:
5808 * public/WebGeolocationError.h:
5809 * public/WebGeolocationPermissionRequest.h:
5810 * public/WebGeolocationPermissionRequestManager.h:
5811 * public/WebGeolocationPosition.h:
5812 * public/WebGlyphCache.h:
5813 * public/WebHelperPlugin.h:
5814 * public/WebHistoryItem.h:
5815 * public/WebHitTestResult.h:
5816 * public/WebIDBCallbacks.h:
5817 * public/WebIDBCursor.h:
5818 * public/WebIDBDatabase.h:
5819 * public/WebIDBDatabaseCallbacks.h:
5820 * public/WebIDBDatabaseError.h:
5821 * public/WebIDBFactory.h:
5822 * public/WebIDBIndex.h:
5823 * public/WebIDBKey.h:
5824 * public/WebIDBKeyPath.h:
5825 * public/WebIDBKeyRange.h:
5826 * public/WebIDBMetadata.h:
5827 * public/WebIDBObjectStore.h:
5828 * public/WebIDBTransaction.h:
5829 * public/WebIDBTransactionCallbacks.h:
5830 * public/WebIconURL.h:
5831 * public/WebImageDecoder.h:
5832 * public/WebInputEvent.h:
5833 * public/WebIntent.h:
5834 * public/WebIntentRequest.h:
5835 * public/WebIntentServiceInfo.h:
5836 * public/WebMediaPlayer.h:
5837 * public/WebMediaStreamRegistry.h:
5838 * public/WebMenuItemInfo.h:
5839 * public/WebNetworkStateNotifier.h:
5840 * public/WebNode.h:
5841 * public/WebNodeCollection.h:
5842 * public/WebNodeList.h:
5843 * public/WebNotification.h:
5844 * public/WebNotificationPresenter.h:
5845 * public/WebOptionElement.h:
5846 * public/WebPageOverlay.h:
5847 * public/WebPagePopup.h:
5848 * public/WebPageSerializer.h:
5849 * public/WebPasswordFormData.h:
5850 * public/WebPerformance.h:
5851 * public/WebPlugin.h:
5852 * public/WebPluginContainer.h:
5853 * public/WebPluginParams.h:
5854 * public/WebPopupMenu.h:
5855 * public/WebPopupMenuInfo.h:
5856 * public/WebPrerendererClient.h:
5857 * public/WebPrintParams.h:
5858 * public/WebRange.h:
5859 * public/WebRegularExpression.h:
5860 * public/WebRuntimeFeatures.h:
5861 * public/WebScopedMicrotaskSuppression.h:
5862 * public/WebScopedUserGesture.h:
5863 * public/WebScriptController.h:
5864 * public/WebScriptSource.h:
5865 * public/WebSearchableFormData.h:
5866 * public/WebSecurityOrigin.h:
5867 * public/WebSecurityPolicy.h:
5868 * public/WebSelectElement.h:
5869 * public/WebSettings.h:
5870 * public/WebSharedWorker.h:
5871 * public/WebSharedWorkerRepository.h:
5872 * public/WebSpeechGrammar.h:
5873 * public/WebSpeechInputController.h:
5874 * public/WebSpeechInputResult.h:
5875 * public/WebSpeechRecognitionHandle.h:
5876 * public/WebSpeechRecognitionParams.h:
5877 * public/WebSpeechRecognitionResult.h:
5878 * public/WebSpeechRecognizer.h:
5879 * public/WebSpeechRecognizerClient.h:
5880 * public/WebSpellCheckClient.h:
5881 * public/WebStorageEventDispatcher.h:
5882 * public/WebSurroundingText.h:
5883 * public/WebTestingSupport.h:
5884 * public/WebTextCheckingCompletion.h:
5885 * public/WebTextCheckingResult.h:
5886 * public/WebTextFieldDecoratorClient.h:
5887 * public/WebTextInputInfo.h:
5888 * public/WebTextRun.h:
5889 * public/WebTimeRange.h:
5890 * public/WebTouchPoint.h:
5891 * public/WebUserMediaRequest.h:
5892 * public/WebView.h:
5893 * public/WebViewBenchmarkSupport.h:
5894 * public/WebViewClient.h:
5895 * public/WebWidget.h:
5896 * public/WebWidgetClient.h:
5897 * public/WebWindowFeatures.h:
5898 * public/WebWorkerInfo.h:
5899
5900 2013-01-09 Stephen Chenney <schenney@chromium.org>
5901
5902 Adjust Skia build flags to WebKit skia gyp
5903
5904 Unreviewed change to enable easy layout test rebaselining.
5905
5906 * skia_webkit.gyp:
5907
5908 2013-01-09 Mikhail Naganov <mnaganov@chromium.org>
5909
5910 [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsT est after r139177.
5911
5912 * tests/WebFrameTest.cpp:
5913
5914 2013-01-08 Mikhail Naganov <mnaganov@chromium.org>
5915
5916 [Chromium] When viewport is disabled, use display width in DIP pixels fo r the fallback width
5917 https://bugs.webkit.org/show_bug.cgi?id=106021
5918
5919 This is to emulate 'UseWideViewport' setting of Android WebView properly .
5920 'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
5921 When the value is false, "meta viewport" tag is ignored, and when calcul ating
5922 layout width, display width in DIP pixels is used.
5923
5924 Reviewed by Adam Barth.
5925
5926 * src/ChromeClientImpl.cpp:
5927 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
5928 * src/WebViewImpl.cpp:
5929 (WebKit::WebViewImpl::resize):
5930 (WebKit::WebViewImpl::dipSize):
5931 (WebKit):
5932 * src/WebViewImpl.h:
5933 (WebCore):
5934 (WebViewImpl):
5935
5936 2013-01-08 Chris Rogers <crogers@google.com>
5937
5938 Remove unused/deprecated render() method in chromium WebKit API
5939 https://bugs.webkit.org/show_bug.cgi?id=106399
5940
5941 Reviewed by Kent Tamura.
5942
5943 * src/AudioDestinationChromium.cpp:
5944 * src/AudioDestinationChromium.h:
5945 (AudioDestinationChromium):
5946
5947 2013-01-08 Yoshifumi Inoue <yosin@chromium.org>
5948
5949 Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
5950 https://bugs.webkit.org/show_bug.cgi?id=106403
5951
5952 This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
5953 r139044.
5954
5955 Reviewed by Hajime Morita.
5956
5957 * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
5958 * src/DragScrollTimer.cpp: Removed.
5959 * src/DragScrollTimer.h: Removed.
5960
5961 2013-01-08 Keishi Hattori <keishi@webkit.org>
5962
5963 [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
5964 https://bugs.webkit.org/show_bug.cgi?id=106312
5965
5966 Reviewed by Kent Tamura.
5967
5968 We had to removed the code that closed popups on mouse wheel events from
5969 content::RenderWidgetHostViewMac because it no longer had access to
5970 child popups. WebViewImpl will hide the popups on mouse wheel events so
5971 we can maintain the same behavior.
5972
5973 https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
5974
5975 * src/WebViewImpl.cpp:
5976 (WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popup s.
5977 (WebKit):
5978 * src/WebViewImpl.h:
5979
5980 2013-01-08 James Robinson <jamesr@chromium.org>
5981
5982 [chromium] Remove transitional #defines from WebKit API headers
5983 https://bugs.webkit.org/show_bug.cgi?id=106381
5984
5985 Reviewed by Adam Barth.
5986
5987 * public/WebWidget.h:
5988
5989 2013-01-08 Sheriff Bot <webkit.review.bot@gmail.com>
5990
5991 Unreviewed. Rolled DEPS.
5992
5993 * DEPS:
5994
5995 2013-01-08 Tom Sepez <tsepez@chromium.org>
5996
5997 Copy-paste preserves <embed> tags containing active content.
5998 https://bugs.webkit.org/show_bug.cgi?id=77625
5999
6000 Reviewed by Ryosuke Niwa.
6001
6002 Adds chromium API to new unsafePluginPastingEnabled setting.
6003
6004 * public/WebSettings.h:
6005 * src/WebSettingsImpl.cpp:
6006 (WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
6007 (WebKit):
6008 * src/WebSettingsImpl.h:
6009 (WebSettingsImpl):
6010
6011 2013-01-08 Mark Lam <mark.lam@apple.com>
6012
6013 Removed the need for the ProposedDatabase mechanism.
6014 https://bugs.webkit.org/show_bug.cgi?id=106292.
6015
6016 Reviewed by Sam Weinig.
6017
6018 * src/ChromeClientImpl.cpp:
6019 (WebKit::ChromeClientImpl::exceededDatabaseQuota):
6020 * src/ChromeClientImpl.h:
6021 (ChromeClientImpl):
6022
6023 2013-01-08 Keishi Hattori <keishi@webkit.org>
6024
6025 [Chromium] Don't confine page popups to root view on Mac
6026 https://bugs.webkit.org/show_bug.cgi?id=106315
6027
6028 Reviewed by Kent Tamura.
6029
6030 Page popups on Mac no longer get clipped to the web view so we can
6031 remove the code to confine to root view.
6032
6033 * src/ColorChooserPopupUIController.cpp:
6034 (WebKit::ColorChooserPopupUIController::writeDocument): Removing paramet ers confineToRootView and rootViewRectInScreen.
6035 * src/DateTimeChooserImpl.cpp:
6036 (WebKit::DateTimeChooserImpl::writeDocument): Ditto.
6037
6038 2012-12-20 Antonio Gomes <a1.gomes@sisa.samsung.com>
6039
6040 Introduce a compositing trigger for scrollable frames
6041 https://bugs.webkit.org/show_bug.cgi?id=105573
6042
6043 Reviewed by James Robinson.
6044
6045 Set the newly added scrollable-inner-frames bit to compositing-trigger
6046 bitset in accordance to the respective setting value.
6047
6048 * src/ChromeClientImpl.cpp:
6049 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
6050
6051 2013-01-08 Steve Block <steveblock@chromium.org>
6052
6053 Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
6054 https://bugs.webkit.org/show_bug.cgi?id=106307
6055
6056 This matches other method names which distinguish between sizes and
6057 points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
6058
6059 Reviewed by Kentaro Hara.
6060
6061 * src/NonCompositedContentHost.cpp:
6062 (WebKit::NonCompositedContentHost::setViewport):
6063 * src/WebFrameImpl.cpp:
6064 (WebKit::WebFrameImpl::minimumScrollOffset):
6065 (WebKit::WebFrameImpl::maximumScrollOffset):
6066
6067 2013-01-08 Yoshifumi Inoue <yosin@chromium.org>
6068
6069 Dragging over an element with scrollbars should scroll the element when dragging near edges
6070 https://bugs.webkit.org/show_bug.cgi?id=39725
6071
6072 Reviewed by Hajime Morita.
6073
6074 This patch removes DragScrollTimer used for automatic scrolling of main
6075 frame drag-and-drop which is now implemented in EventHandler.
6076
6077 Another patch will remove DragScrollTimer.{cpp,h} and update GYP files t o
6078 make patch size small.
6079
6080 No tests. Existing test covers this change.
6081
6082 * src/WebViewImpl.cpp:
6083 (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
6084 (WebKit::WebViewImpl::dragSourceEndedAt): ditto
6085 (WebKit::WebViewImpl::dragSourceMovedTo): ditto
6086 (WebKit::WebViewImpl::dragTargetDrop): ditto
6087 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
6088 * src/WebViewImpl.h:
6089 (WebKit): Chagned to remove DragScrollTimer.
6090
6091 2013-01-07 Steve Block <steveblock@chromium.org>
6092
6093 Use toSize() to convert from Int/FloatPoint to Int/FloatSize
6094 https://bugs.webkit.org/show_bug.cgi?id=105992
6095
6096 Reviewed by Kentaro Hara.
6097
6098 * src/LinkHighlight.cpp:
6099 (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
6100 * src/WebFrameImpl.cpp:
6101 (WebKit::WebFrameImpl::minimumScrollOffset):
6102 (WebKit::WebFrameImpl::maximumScrollOffset):
6103
6104 2013-01-07 Xianzhu Wang <wangxianzhu@chromium.org>
6105
6106 [Chromium] Expose compositedScrollingForFramesEnabled setting in WebKit API
6107 https://bugs.webkit.org/show_bug.cgi?id=106262
6108
6109 Reviewed by James Robinson.
6110
6111 * public/WebSettings.h:
6112 * src/WebSettingsImpl.cpp:
6113 (WebKit::WebSettingsImpl::setCompositedScrollingForFramesEnabled):
6114 (WebKit):
6115 * src/WebSettingsImpl.h:
6116 (WebSettingsImpl):
6117
6118 2013-01-07 Stephen White <senorblanco@chromium.org>
6119
6120 Add a flag to control canvas antialiasing.
6121 https://bugs.webkit.org/show_bug.cgi?id=106255
6122
6123 Reviewed by Darin Fisher.
6124
6125 * public/WebSettings.h:
6126 * src/WebSettingsImpl.cpp:
6127 (WebKit::WebSettingsImpl::setAntialiased2dCanvasEnabled):
6128 * src/WebSettingsImpl.h:
6129
6130 2013-01-07 Yusuf Ozuysal <yusufo@google.com>
6131
6132 Don't use double tap zoom if minimum and maximum page scale is the same
6133 https://bugs.webkit.org/show_bug.cgi?id=106272
6134
6135 Reviewed by James Robinson.
6136
6137 We should only try to computed relevant scale and scrollOffset and start the animation
6138 if the page is zoomable. This now creates an undesired animation for mob ile pages which
6139 are not zoomable.
6140
6141 * src/WebViewImpl.cpp:
6142 (WebKit::WebViewImpl::handleGestureEvent):
6143
6144 2013-01-07 Tony Chang <tony@chromium.org>
6145
6146 Unreviewed. Rolled DEPS.
6147
6148 * DEPS:
6149
6150 2013-01-07 Alok Priyadarshi <alokp@chromium.org>
6151
6152 [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse
6153 https://bugs.webkit.org/show_bug.cgi?id=104956
6154
6155 Reviewed by James Robinson.
6156
6157 Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsConte xt::setShouldSmoothFonts.
6158
6159 * src/NonCompositedContentHost.cpp:
6160 (WebKit::NonCompositedContentHost::paintContents):
6161 (WebKit):
6162 (WebKit::NonCompositedContentHost::setShowDebugBorders):
6163 * src/PageWidgetDelegate.cpp:
6164 (WebKit::PageWidgetDelegate::paint):
6165 * src/WebFontImpl.cpp:
6166 (WebKit::WebFontImpl::drawText):
6167
6168 2013-01-07 Mike West <mkwst@chromium.org>
6169
6170 Make the IFRAME_SEAMLESS flag runtime-enabled.
6171 https://bugs.webkit.org/show_bug.cgi?id=106213
6172
6173 Reviewed by Ojan Vafai.
6174
6175 * public/WebRuntimeFeatures.h:
6176 (WebRuntimeFeatures):
6177 * src/WebRuntimeFeatures.cpp:
6178 (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
6179 (WebKit):
6180 (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
6181 Expose the new runtime feature to the Chromium port.
6182
6183 2013-01-07 Alec Flett <alecflett@chromium.org>
6184
6185 IndexedDB: Stub out async IDBDatabaseBackendInterface::createObjectStore
6186 https://bugs.webkit.org/show_bug.cgi?id=106148
6187
6188 Reviewed by Adam Barth.
6189
6190 Stub out WebKit API for async createObjectStore.
6191
6192 * public/WebIDBDatabase.h:
6193 (WebIDBDatabase):
6194 * src/IDBDatabaseBackendProxy.cpp:
6195 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
6196 (WebKit):
6197 (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
6198 * src/IDBDatabaseBackendProxy.h:
6199 (IDBDatabaseBackendProxy):
6200 * src/WebIDBDatabaseImpl.cpp:
6201 (WebKit::WebIDBDatabaseImpl::createObjectStore):
6202 (WebKit):
6203 (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
6204 * src/WebIDBDatabaseImpl.h:
6205 (WebIDBDatabaseImpl):
6206
6207 2013-01-07 Stephen Chenney <schenney@chromium.org>
6208
6209 Add comment to WebKit skia gyp
6210
6211 Unreviewed additon of a comment.
6212
6213 * skia_webkit.gyp: Some changes should not yet be committed. Commented t o that effect.
6214
6215 2013-01-07 Stephen Chenney <schenney@chromium.org>
6216
6217 Add Skia build flags to WebKit skia gyp
6218
6219 Unreviewed change to enable easy layout test rebaselining.
6220
6221 * skia_webkit.gyp: Added SK_IGNORE_QUAD_STROKE_FIX and SK_IGNORE_TREAT_A S_SPRITE
6222
6223 2013-01-05 Alec Flett <alecflett@chromium.org>
6224
6225 IndexedDB: Migrate backend ObjectStore calls to use transaction id
6226 https://bugs.webkit.org/show_bug.cgi?id=102741
6227
6228 Reviewed by Tony Chang.
6229
6230 Fix a bug where an array was initialized with a large empty buffer,
6231 clean up whitespace, and update to match signatures that changed
6232 in WebCore.
6233
6234 * public/WebIDBDatabase.h:
6235 (WebKit::WebIDBDatabase::clear):
6236 * src/WebIDBDatabaseImpl.cpp:
6237 (WebKit::WebIDBDatabaseImpl::put):
6238 * src/WebIDBIndexImpl.cpp:
6239 * tests/IDBDatabaseBackendTest.cpp:
6240
6241 2013-01-05 Alec Flett <alecflett@chromium.org>
6242
6243 IndexedDB: Stub out IDBDatabaseBackendInterface::createIndex/deleteIndex
6244 https://bugs.webkit.org/show_bug.cgi?id=106117
6245
6246 Reviewed by Adam Barth.
6247
6248 Stubs for migration from WebIDBObjectStore.
6249
6250 * public/WebIDBDatabase.h:
6251 (WebKit::WebIDBDatabase::createIndex):
6252 (WebKit::WebIDBDatabase::deleteIndex):
6253 (WebIDBDatabase):
6254 * src/IDBDatabaseBackendProxy.cpp:
6255 (WebKit::IDBDatabaseBackendProxy::createIndex):
6256 (WebKit):
6257 (WebKit::IDBDatabaseBackendProxy::deleteIndex):
6258 * src/IDBDatabaseBackendProxy.h:
6259 (IDBDatabaseBackendProxy):
6260 * src/WebIDBDatabaseImpl.cpp:
6261 (WebKit::WebIDBDatabaseImpl::createIndex):
6262 (WebKit):
6263 (WebKit::WebIDBDatabaseImpl::deleteIndex):
6264 * src/WebIDBDatabaseImpl.h:
6265 (WebIDBDatabaseImpl):
6266 * tests/IDBDatabaseBackendTest.cpp:
6267
304 2013-01-05 Chris Hopman <cjhopman@google.com> 6268 2013-01-05 Chris Hopman <cjhopman@google.com>
305 6269
306 Add function to move caret selection towards a point 6270 Add function to move caret selection towards a point
307 https://bugs.webkit.org/show_bug.cgi?id=105189 6271 https://bugs.webkit.org/show_bug.cgi?id=105189
308 6272
309 Reviewed by Eric Seidel. 6273 Reviewed by Eric Seidel.
310 6274
311 This function moves the selection to the corresponding point in the 6275 This function moves the selection to the corresponding point in the
312 rootEditableElement of the current selection. Used on Android for 6276 rootEditableElement of the current selection. Used on Android for
313 the behavior of insertion handles (i.e. dragging the caret around). 6277 the behavior of insertion handles (i.e. dragging the caret around).
(...skipping 8837 matching lines...) Expand 10 before | Expand all | Expand 10 after
9151 15115
9152 [Chromium-Win] Implement LocaleWin::dateFormat 15116 [Chromium-Win] Implement LocaleWin::dateFormat
9153 https://bugs.webkit.org/show_bug.cgi?id=98117 15117 https://bugs.webkit.org/show_bug.cgi?id=98117
9154 15118
9155 Reviewed by Kentaro Hara. 15119 Reviewed by Kentaro Hara.
9156 15120
9157 * tests/LocaleWinTest.cpp: 15121 * tests/LocaleWinTest.cpp:
9158 (TEST_F): Add tests for LocaleWin::dateFormat. 15122 (TEST_F): Add tests for LocaleWin::dateFormat.
9159 15123
9160 == Rolled over to ChangeLog-2012-10-02 == 15124 == Rolled over to ChangeLog-2012-10-02 ==
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderWidget.cpp ('k') | Source/WebKit/chromium/src/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698