1 2011-02-16 Hans Wennborg <hans@chromium.org>
3 Reviewed by Jeremy Orlow.
5 IndexedDB: Inject auto increment keys via key path on insertion
6 https://bugs.webkit.org/show_bug.cgi?id=54457
8 Support for injecting keys into objects via key path.
11 * public/WebKitClient.h:
12 (WebKit::WebKitClient::injectIDBKeyIntoSerializedValue):
13 * src/PlatformBridge.cpp:
14 (WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue):
16 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
17 * tests/IDBBindingUtilitiesTest.cpp:
19 (WebCore::checkInjection):
20 (WebCore::checkInjectionFails):
23 2011-02-16 Sheriff Bot <webkit.review.bot@gmail.com>
25 Unreviewed, rolling out r78678.
26 http://trac.webkit.org/changeset/78678
27 https://bugs.webkit.org/show_bug.cgi?id=54554
29 Breaks NaCl tests in Chromium (Requested by mnaganov on
32 * src/WebURLRequest.cpp:
33 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
34 (WebKit::WebURLRequest::downloadToFile):
35 (WebKit::WebURLRequest::setDownloadToFile):
36 * src/WebURLRequestPrivate.h:
37 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
38 * src/WebURLResponse.cpp:
39 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
40 (WebKit::WebURLResponse::downloadFilePath):
41 (WebKit::WebURLResponse::setDownloadFilePath):
42 * src/WebURLResponsePrivate.h:
44 2011-02-15 Bill Budge <bbudge@chromium.org>
46 Reviewed by David Levin.
48 WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
49 https://bugs.webkit.org/show_bug.cgi?id=54489
51 No tests needed, exposes no new functionality
53 * src/WebURLRequest.cpp:
54 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
55 (WebKit::WebURLRequest::downloadToFile):
56 (WebKit::WebURLRequest::setDownloadToFile):
57 * src/WebURLRequestPrivate.h:
58 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
59 * src/WebURLResponse.cpp:
60 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
61 (WebKit::WebURLResponse::downloadFilePath):
62 (WebKit::WebURLResponse::setDownloadFilePath):
63 * src/WebURLResponsePrivate.h:
65 2011-02-14 Jeremy Orlow <jorlow@chromium.org>
67 Reviewed by Darin Fisher.
69 Add initial support for per-origin quotas to IndexedDB
70 https://bugs.webkit.org/show_bug.cgi?id=54421
72 * public/WebIDBFactory.h:
73 (WebKit::WebIDBFactory::setQuota):
74 * src/AssertMatchingEnums.cpp:
75 * src/IDBFactoryBackendProxy.cpp:
76 (WebCore::IDBFactoryBackendProxy::setQuota):
77 * src/IDBFactoryBackendProxy.h:
78 * src/WebIDBFactoryImpl.cpp:
79 (WebKit::WebIDBFactoryImpl::setQuota):
80 * src/WebIDBFactoryImpl.h:
82 2011-02-15 Jia Pu <jpu@apple.com>
84 Reviewed by Darin Adler.
86 Autocorrection should respect undo.
87 https://bugs.webkit.org/show_bug.cgi?id=52221
88 <rdar://problem/8663399>
90 Please see WebCore/ChangeLog for detailed description.
92 * WebCoreSupport/WebEditorClient.cpp:
93 (WebFrameImpl::replaceSelection): Adopted new signature of ReplaceSelectionCommand::create().
95 2011-02-15 Kenneth Russell <kbr@google.com>
97 Reviewed by Darin Fisher.
99 Allow controlling minimum DOMTimer interval on a per-page basis
100 https://bugs.webkit.org/show_bug.cgi?id=54312
102 * public/WebSettings.h:
103 - Added setMinimumTimerInterval.
105 (WebKit::initialize):
106 - Added FIXME to remove setting of page's default timer interval.
107 * src/WebSettingsImpl.cpp:
108 (WebKit::WebSettingsImpl::setMinimumTimerInterval):
109 - Implemented new method on WebSettings.
110 * src/WebSettingsImpl.h:
112 2011-02-15 Jochen Eisinger <jochen@chromium.org>
114 Reviewed by Jeremy Orlow.
116 [chromium] add WebIDBFactory::deleteDatabase method
117 https://bugs.webkit.org/show_bug.cgi?id=54447
119 * public/WebIDBFactory.h:
120 (WebKit::WebIDBFactory::open):
121 (WebKit::WebIDBFactory::deleteDatabase):
123 2011-02-15 Tony Chang <tony@chromium.org>
125 Unreviewed, update the version of Chromium in webkit.
129 2011-01-26 MORITA Hajime <morrita@google.com>
131 Reviewed by Ryosuke Niwa.
133 Refactoring: Extract TextCheckerClient from EditorClient
134 https://bugs.webkit.org/show_bug.cgi?id=53213
136 * src/EditorClientImpl.h:
137 (WebKit::EditorClientImpl::textChecker):
139 2011-02-07 Ryosuke Niwa <rniwa@webkit.org>
141 Reviewed by Adam Barth.
143 Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
144 https://bugs.webkit.org/show_bug.cgi?id=52417
146 Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
149 * src/EditorClientImpl.cpp:
150 (WebKit::EditorClientImpl::canCopyCut): Added.
151 (WebKit::EditorClientImpl::canPaste): Added.
152 * src/EditorClientImpl.h:
154 2011-02-14 Jay Soffian <jaysoffian@gmail.com>
156 Reviewed by Darin Fisher.
158 Expose checked field of HTMLInputElement to Chromium API
159 https://bugs.webkit.org/show_bug.cgi?id=54333
161 * public/WebInputElement.h:
162 * src/WebInputElement.cpp:
164 2011-02-14 Tony Chang <tony@chromium.org>
166 Reviewed by Dimitri Glazkov.
168 <select> elements don't honor border:0px in chromium-linux
169 https://bugs.webkit.org/show_bug.cgi?id=51152
171 * public/linux/WebThemeEngine.h:
172 * src/PlatformBridge.cpp:
173 (WebCore::GetWebThemeExtraParams):
175 2011-02-14 Pavel Podivilov <podivilov@chromium.org>
177 Reviewed by Yury Semikhatsky.
179 Web Inspector: use call frame column to determine execution line in source frame.
180 https://bugs.webkit.org/show_bug.cgi?id=54001
183 (.TestSuite.prototype._checkExecutionLine):
185 2011-02-11 Zhenyao Mo <zmo@google.com>
187 Reviewed by Kenneth Russell.
189 [chromium] Allow turning off multisampling through web preference settings
190 https://bugs.webkit.org/show_bug.cgi?id=54321
192 * public/WebSettings.h: Add a flag for multisampling setting.
193 * src/WebSettingsImpl.cpp: Ditto.
194 (WebKit::WebSettingsImpl::setOpenGLMultisamplingEnabled):
195 * src/WebSettingsImpl.h: Ditto.
197 2011-02-12 Jochen Eisinger <jochen@chromium.org>
199 Reviewed by Jeremy Orlow.
201 Implement IDBObjectStore::clear
202 https://bugs.webkit.org/show_bug.cgi?id=54193
204 * src/IDBObjectStoreProxy.cpp:
205 (WebCore::IDBObjectStoreProxy::clear):
206 * src/IDBObjectStoreProxy.h:
207 * src/WebIDBObjectStoreImpl.cpp:
208 (WebKit::WebIDBObjectStoreImpl::clear):
209 * src/WebIDBObjectStoreImpl.h:
211 2011-02-11 David Grogan <dgrogan@chromium.org>
213 Reviewed by Jeremy Orlow.
215 indexeddb: add onBlocked to WebKit::WebIDBCallbacks
216 https://bugs.webkit.org/show_bug.cgi?id=54329
218 * public/WebIDBCallbacks.h:
219 (WebKit::WebIDBCallbacks::onBlocked):
221 2011-02-11 Adam Klein <adamk@chromium.org>
223 Reviewed by Darin Fisher.
225 [fileapi] Add support for filesystem: URI handling
226 https://bugs.webkit.org/show_bug.cgi?id=53529
228 Changes to Chromium WebKit API required to expose
229 the FileSystem type to WebCore's fileapi code, since the
230 type is part of the filesystem URI.
232 * src/AsyncFileSystemChromium.cpp:
233 (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
234 * src/AsyncFileSystemChromium.h:
235 (WebCore::AsyncFileSystemChromium::create):
236 * src/LocalFileSystemChromium.cpp:
237 (WebCore::LocalFileSystem::readFileSystem):
238 (WebCore::LocalFileSystem::requestFileSystem):
239 * src/WebFileSystemCallbacksImpl.cpp:
240 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
241 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
242 * src/WebFileSystemCallbacksImpl.h:
243 * src/WorkerAsyncFileSystemChromium.cpp:
244 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
245 * src/WorkerAsyncFileSystemChromium.h:
246 (WebCore::WorkerAsyncFileSystemChromium::create):
248 2011-02-10 Nate Chapin <japhet@chromium.org>
250 Reviewed by Adam Barth.
252 Update calls to DocumentWriter.
253 https://bugs.webkit.org/show_bug.cgi?id=50489
255 * src/ContextMenuClientImpl.cpp:
256 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
257 * src/FrameLoaderClientImpl.cpp:
258 (WebKit::FrameLoaderClientImpl::finishedLoading):
259 * src/WebFrameImpl.cpp:
260 (WebKit::WebFrameImpl::encoding):
261 (WebKit::WebFrameImpl::loadJavaScriptURL):
262 * src/WebPageSerializerImpl.cpp:
263 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
264 (WebKit::WebPageSerializerImpl::serialize):
265 * src/WebSearchableFormData.cpp:
266 (HTMLNames::GetFormEncoding):
267 * src/WebViewImpl.cpp:
268 (WebKit::WebViewImpl::pageEncoding):
270 2011-02-10 Pavel Feldman <pfeldman@chromium.org>
272 Not reviewed: chromium build fix.
274 * src/WebDevToolsAgentImpl.cpp:
275 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
277 2011-02-10 Jochen Eisinger <jochen@chromium.org>
279 Reviewed by Jeremy Orlow.
281 [chromium] add WebIDBObjectStore::clear method
283 https://bugs.webkit.org/show_bug.cgi?id=54149
285 * public/WebIDBObjectStore.h:
286 (WebKit::WebIDBObjectStore::put):
287 (WebKit::WebIDBObjectStore::deleteFunction):
288 (WebKit::WebIDBObjectStore::clear):
290 2011-02-10 Avi Drissman <avi@google.com>
292 Reviewed by Darin Fisher.
294 <option> should implement the dir attribute. Mac Chromium version, followup to r76983, r77654.
295 https://bugs.webkit.org/show_bug.cgi?id=50969
297 Use manual test Source/WebCore/manual-tests/pop-up-alignment-and-direction.html added in r76983.
299 * public/WebMenuItemInfo.h:
300 * public/WebPopupMenuInfo.h:
301 * src/ChromeClientImpl.cpp:
302 (WebKit::ChromeClientImpl::getPopupMenuInfo):
303 * src/ExternalPopupMenu.cpp:
304 (WebKit::ExternalPopupMenu::getPopupMenuInfo):
306 2011-02-09 David Holloway <dhollowa@chromium.org>
308 Reviewed by Darin Fisher.
310 Removes deprecated interface WebAutoFillClient::didAcceptAutocompleteSuggestion(). This interface has been replaced by the more general WebAutoFillClient::didAcceptAutoFillSuggestion() method.
311 https://bugs.webkit.org/show_bug.cgi?id=54125
313 * public/WebAutoFillClient.h:
314 * src/EditorClientImpl.cpp:
315 * src/EditorClientImpl.h:
317 2011-02-09 Ilya Sherman <isherman@chromium.org>
319 Reviewed by Darin Fisher.
321 Export WebInputElement::defaultMaxLength as a function rather than a constant.
322 Needed because the order of initialization of static constants
323 is not guaranteed across compilation units.
324 https://bugs.webkit.org/show_bug.cgi?id=54056
326 * public/WebInputElement.h:
327 * src/WebInputElement.cpp:
328 (WebKit::WebInputElement::defaultMaxLength): Now a static function.
330 2011-02-09 Sailesh Agrawal <sail@chromium.org>
332 Reviewed by Tony Chang.
334 Search/replace references to gfx/* with ui/gfx/*
340 2011-02-09 Nebojsa Ciric <cira@chromium.org>
342 Reviewed by Darin Fisher.
344 Implements Locale object of JavaScript internationalization API proposal, as an
345 v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
346 and in this patch we just provide flags, tests and build rules for chromium port.
347 https://bugs.webkit.org/show_bug.cgi?id=49414
350 * public/WebRuntimeFeatures.h:
351 * src/WebRuntimeFeatures.cpp:
352 (WebKit::WebRuntimeFeatures::enableExperimentalI18NAPI):
353 (WebKit::WebRuntimeFeatures::isExperimentalI18NAPIEnabled):
355 2011-02-09 MORITA Hajime <morrita@google.com>
357 Reviewed by Shinichiro Hamaji.
359 [Chromium] WebTextCheckingResult should have a default constructor.
360 https://bugs.webkit.org/show_bug.cgi?id=54075
362 Gave default parameters to WebTextCheckingResult constructor.
364 * public/WebTextCheckingResult.h:
365 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
367 2011-02-08 Sailesh Agrawal <sail@chromium.org>
369 Reviewed by Kenneth Russell.
371 Invalidate rect doesn't work for windowless plugins on Chromium
372 https://bugs.webkit.org/show_bug.cgi?id=53117
374 Invalidate rect for windowless plugins wasn't working if the web page was composited.
376 The problem was that the invalidate call was causing simply dirtying the LayerChromium layers. Since the plugin was windowless this didn't cause the plugin to be repainted.
378 Fix was to copy the invalidate code from WebCore/plugins/PluginView.cpp/PluginView::invalidateWindowlessPluginRect() which does the correct thing.
380 Tested my fix on Windows and Mac and verified that the movie on http://apple.com/appltv correctly plays. Verified that windowed plugins still correctly draw as well.
382 * src/WebPluginContainerImpl.cpp:
383 (WebKit::WebPluginContainerImpl::invalidateRect):
385 2011-02-08 Adam Barth <abarth@webkit.org>
387 Reviewed by Eric Seidel.
389 Remove orphan code from old parser
390 https://bugs.webkit.org/show_bug.cgi?id=53984
392 * src/ChromeClientImpl.h:
394 2011-02-08 Tony Chang <tony@chromium.org>
396 Unreviewed, build fix for clobber builds of DRT on mac/linux.
398 This file moved in chromium r73530 and this path wasn't changed.
402 2011-02-02 Ilya Tikhonovsky <loislo@chromium.org>
404 Reviewed by Yury Semikhatsky.
406 Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController.
408 https://bugs.webkit.org/show_bug.cgi?id=53169
410 Minor change enforced by major changes in WebCore/inspector/InspectorController.
412 * src/WebDevToolsAgentImpl.cpp:
413 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend):
416 2011-02-07 Alexey Marinichev <amarinichev@chromium.org>
418 Reviewed by Kenneth Russell.
420 Hook up WebGraphicsContext3D::setContextLostCallback.
421 https://bugs.webkit.org/show_bug.cgi?id=53722
423 Test: fast/canvas/webgl/context-lost.html, comment out the line with
424 extension.loseContext() and kill the GPU process "Lose context"
427 * public/WebGraphicsContext3D.h:
428 (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
429 * src/GraphicsContext3DChromium.cpp:
430 (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
431 (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
432 (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
433 (WebCore::GraphicsContextLostCallbackAdapter::create):
434 (WebCore::GraphicsContext3DInternal::setContextLostCallback):
435 * src/GraphicsContext3DInternal.h:
437 2011-02-07 Adam Klein <adamk@chromium.org>
441 [chromium] Remove deprecated method WebNotification::dir
442 https://bugs.webkit.org/show_bug.cgi?id=53735
444 * public/WebNotification.h:
445 * src/WebNotification.cpp:
447 2011-02-03 MORITA Hajime <morrita@google.com>
449 Reviewed by Darin Fisher.
451 [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
452 https://bugs.webkit.org/show_bug.cgi?id=51013
454 - Added WebTextCheckingCompletion to receive the checked result asynchronously.
455 - Added WebViewClient::requestCheckingOfText() and related classes.
456 - Implemented EditorClientImpl::requestCheckingOfString().
459 * public/WebSettings.h:
460 * public/WebTextCheckingCompletion.h: Added.
461 (WebKit::WebTextCheckingCompletion::~WebTextCheckingCompletion):
462 * public/WebTextCheckingResult.h: Added.
463 (WebKit::WebTextCheckingResult::error):
464 (WebKit::WebTextCheckingResult::position):
465 (WebKit::WebTextCheckingResult::length):
466 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
467 * public/WebViewClient.h:
468 (WebKit::WebViewClient::requestCheckingOfText): Gave an implementation
469 * src/AssertMatchingEnums.cpp:
470 * src/EditorClientImpl.cpp:
471 (WebKit::EditorClientImpl::requestCheckingOfString):
472 * src/EditorClientImpl.h:
473 * src/WebSettingsImpl.cpp:
474 (WebKit::WebSettingsImpl::setAsynchronousSpellCheckingEnabled):
475 * src/WebSettingsImpl.h:
476 * src/WebTextCheckingCompletionImpl.cpp: Added.
477 (WebKit::toCoreResults):
478 (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
479 * src/WebTextCheckingCompletionImpl.h: Added.
480 (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
482 2011-02-07 Enrica Casucci <enrica@apple.com>
484 Reviewed Adam Roben and Darin Adler.
486 WebKit2: drag and drop support on Windows.
487 https://bugs.webkit.org/show_bug.cgi?id=52775
489 Removed createDragImageForLink from DragClient.
491 * src/DragClientImpl.cpp:
492 * src/DragClientImpl.h:
494 2011-02-04 Charlie Reis <creis@chromium.org>
496 Reviewed by Mihai Parparita.
498 Crash in WebCore::HistoryController::itemsAreClones
499 https://bugs.webkit.org/show_bug.cgi?id=52819
501 Removes unneeded sanity checks used for diagnosing a memory error.
503 * src/WebFrameImpl.cpp:
505 2011-02-04 Daniel Cheng <dcheng@chromium.org>
507 Reviewed by Dmitry Titov.
509 Clone WebClipboard to be frame-specific.
510 https://bugs.webkit.org/show_bug.cgi?id=53727
512 For drop operations, Chrome currently snapshots the data and copies it
513 into the renderer process. As we add more supported drag data types, the
514 copy will become increasingly expensive. Instead, we'd like to snapshot
515 data in the browser to reduce the amount of data copied and to support
516 Blob in DataTransferItem. In order to allow this, we associated
517 WebClipboard with a frame so it can correctly route its IPCs to the
518 corresponding Chromium host.
520 * public/WebFrameClient.h:
521 (WebKit::WebFrameClient::clipboard):
522 * src/PlatformBridge.cpp:
523 (WebCore::getClipboard):
524 (WebCore::PlatformBridge::clipboardReadAvailableTypes):
525 (WebCore::PlatformBridge::clipboardReadData):
526 (WebCore::PlatformBridge::clipboardReadFilenames):
527 * src/WebFrameImpl.cpp:
528 (WebKit::WebFrameImpl::fromFrame):
529 * src/WebFrameImpl.h:
530 * src/WebViewImpl.cpp:
531 (WebKit::WebViewImpl::dragTargetDragEnterNew):
533 2011-02-04 Robert Hogan <robert@webkit.org>
535 Reviewed by Darin Fisher.
537 Move chromium iframe shim code to cross-platform file
538 https://bugs.webkit.org/show_bug.cgi?id=52594
540 * src/WebPluginContainerImpl.cpp: Move code to WebCore/plugin/IFrameShimSupport.cpp
542 2011-02-04 Xiaomei Ji <xji@chromium.org>
544 Reviewed by David Levin.
546 Implement "<option> should implement the dir attribute" for chromium port after r76983.
547 https://bugs.webkit.org/show_bug.cgi?id=50969
549 * src/ChromeClientImpl.cpp:
550 (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Override as true.
551 * src/WebViewImpl.cpp: Remove directionality hint from autofill drop-down setting.
553 2011-02-01 Jeremy Orlow <jorlow@chromium.org>
555 Reviewed by Nate Chapin.
557 Remove the timeout event from IndexedDB
558 https://bugs.webkit.org/show_bug.cgi?id=53521
560 * public/WebIDBDatabase.h:
561 (WebKit::WebIDBDatabase::transaction):
562 * public/WebIDBTransactionCallbacks.h:
563 * src/IDBDatabaseProxy.cpp:
564 (WebCore::IDBDatabaseProxy::transaction):
565 * src/IDBDatabaseProxy.h:
566 * src/IDBTransactionCallbacksProxy.cpp:
567 * src/IDBTransactionCallbacksProxy.h:
568 * src/WebIDBDatabaseImpl.cpp:
569 (WebKit::WebIDBDatabaseImpl::transaction):
570 * src/WebIDBDatabaseImpl.h:
571 * src/WebIDBTransactionCallbacksImpl.cpp:
572 * src/WebIDBTransactionCallbacksImpl.h:
574 2011-02-04 Ilya Tikhonovsky <loislo@chromium.org>
578 Roll chromium to 73764.
582 2011-02-03 James Kozianski <koz@chromium.org>
584 Reviewed by Dimitri Glazkov.
586 Add navigator.registerProtocolHandler behind a flag.
587 https://bugs.webkit.org/show_bug.cgi?id=52609
590 * public/WebViewClient.h:
591 * src/ChromeClientImpl.cpp:
592 (WebKit::ChromeClientImpl::registerProtocolHandler):
593 * src/ChromeClientImpl.h:
595 2011-02-03 Brian Ryner <bryner@chromium.org>
597 Reviewed by Darin Fisher.
599 Add a field to the ResourceResponse for tracking the socket address
600 of the host that the resource was fetched from. Patch was originally
602 https://bugs.webkit.org/show_bug.cgi?id=53699
604 * public/WebURLResponse.h:
605 * src/WebURLResponse.cpp:
606 (WebKit::WebURLResponse::socketAddress):
607 (WebKit::WebURLResponse::setSocketAddress):
609 2011-02-03 Adam Langley <agl@chromium.org>
611 Reviewed by Adam Barth.
613 Plumb mixed script URL to FrameLoaderClient
614 https://bugs.webkit.org/show_bug.cgi?id=52384
616 Regressions covered by http/tests/security/mixedContent/*
618 * public/WebFrameClient.h:
619 (WebKit::WebFrameClient::didRunInsecureContent):
620 * src/FrameLoaderClientImpl.cpp:
621 (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
622 * src/FrameLoaderClientImpl.h:
624 2011-02-03 Victoria Kirst <vrk@google.com>
626 Reviewed by James Robinson.
628 [chromium] Fix redundant video frame paint on CSS LayerChromium for <video>
629 https://bugs.webkit.org/show_bug.cgi?id=52868
631 * src/WebMediaPlayerClientImpl.cpp:
632 (WebKit::WebMediaPlayerClientImpl::paint):
633 (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
634 (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
635 * src/WebMediaPlayerClientImpl.h:
637 2011-02-03 Jeremy Orlow <jorlow@chromium.org>
639 Reviewed by Nate Chapin.
641 Don't clear the callbacks ref in the proxy layer for IndexedDB
642 https://bugs.webkit.org/show_bug.cgi?id=53535
644 Clearing the callbacks doesn't actually solve any problems and makes
645 this code behave subtly differently than how it would in Safari and
646 other single process environments. Let's remove the difference.
648 * src/IDBCallbacksProxy.cpp:
649 (WebCore::IDBCallbacksProxy::onError):
650 (WebCore::IDBCallbacksProxy::onSuccess):
651 * src/IDBTransactionCallbacksProxy.cpp:
652 (WebCore::IDBTransactionCallbacksProxy::onAbort):
653 (WebCore::IDBTransactionCallbacksProxy::onComplete):
654 (WebCore::IDBTransactionCallbacksProxy::onTimeout):
656 2011-02-03 Hans Wennborg <hans@chromium.org>
658 Reviewed by Jeremy Orlow.
660 Chromium: Remove deprecated WebIDBObjectStore::put() function
661 https://bugs.webkit.org/show_bug.cgi?id=53669
663 Remove deprecated put() function. Chromium side code now overrides
666 * public/WebIDBObjectStore.h:
667 (WebKit::WebIDBObjectStore::put):
669 2011-02-01 Pavel Podivilov <podivilov@chromium.org>
671 Reviewed by Pavel Feldman.
673 Web Inspector: introduce new api for managing JavaScript breakpoints.
674 https://bugs.webkit.org/show_bug.cgi?id=53235
676 * src/WebDevToolsAgentImpl.cpp:
677 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
679 2011-02-02 Evan Martin <evan@chromium.org>
681 Unreviewed, DEPS change.
683 * DEPS: update to pick up newer Skia.
685 2011-02-02 Dimitri Glazkov <dglazkov@chromium.org>
687 Update more references to right() and bottom() in Chromium.
689 * src/WebViewImpl.cpp:
690 (WebKit::WebViewImpl::doPixelReadbackToCanvas): Replaced bottom/right with maxY/maxX.
692 2011-02-02 Dimitri Glazkov <dglazkov@chromium.org>
694 Update more references to right() and bottom() in Chromium Win.
696 * tests/TransparencyWinTest.cpp:
697 (WebCore::TEST): Replaced bottom/right with maxY/maxX.
699 2011-02-02 Matthew Vosburgh <maf@chromium.org>
701 Reviewed by Kenneth Russell.
703 Some favicons not correctly decoded by Chromium/Mac
704 https://bugs.webkit.org/show_bug.cgi?id=53448
706 * src/WebImageCG.cpp:
707 (WebKit::WebImage::fromData):
709 2011-02-02 Dimitri Glazkov <dglazkov@chromium.org>
711 Reviewed by Dave Hyatt.
713 Remove remaining references to right() and bottom() from Chromium build.
714 https://bugs.webkit.org/show_bug.cgi?id=53613
716 * src/DragScrollTimer.cpp:
717 (WebKit::distanceToRect): Replaced right/bottom with maxX/maxY.
718 * src/WebViewImpl.cpp:
719 (WebKit::WebViewImpl::doPixelReadbackToCanvas): Ditto.
721 2011-02-01 Darin Fisher <darin@chromium.org>
723 Reviewed by Kenneth Russell.
725 [chromium] Avoid #ifdefs in code that constructs a GraphicsContext by
726 adding a helper class.
727 https://bugs.webkit.org/show_bug.cgi?id=53575
730 * src/WebFontImpl.cpp:
731 (WebKit::WebFontImpl::drawText):
732 * src/WebFrameImpl.cpp:
733 (WebKit::WebFrameImpl::printPage):
734 (WebKit::WebFrameImpl::paint):
735 * src/WebPopupMenuImpl.cpp:
736 (WebKit::WebPopupMenuImpl::paint):
737 * src/WebScrollbarImpl.cpp:
738 (WebKit::WebScrollbarImpl::paint):
739 * src/painting: Added.
740 * src/painting/GraphicsContextBuilder.h: Added.
741 (WebKit::GraphicsContextBuilder::GraphicsContextBuilder):
742 (WebKit::GraphicsContextBuilder::context):
744 2011-02-02 Hans Wennborg <hans@chromium.org>
746 Reviewed by Jeremy Orlow.
748 IndexedDB: Implement support for cursor updates
749 https://bugs.webkit.org/show_bug.cgi?id=53421
751 Mirror the update to the IDBObjectStoreInterface::put() signature in
752 the WebKit layer wrappers.
754 * public/WebIDBObjectStore.h:
755 (WebKit::WebIDBObjectStore::put):
756 * src/IDBObjectStoreProxy.cpp:
757 (WebCore::IDBObjectStoreProxy::put):
758 * src/IDBObjectStoreProxy.h:
759 * src/WebIDBObjectStoreImpl.cpp:
760 (WebKit::WebIDBObjectStoreImpl::put):
761 * src/WebIDBObjectStoreImpl.h:
763 2011-02-02 Chris Evans <cevans@chromium.org>
765 Reviewed by Adam Barth.
767 [Chromium] Propagate the accurate gesture status when calling into FrameLoader
768 https://bugs.webkit.org/show_bug.cgi?id=53571
770 * src/WebPluginContainerImpl.cpp:
771 (WebKit::WebPluginContainerImpl::loadFrameRequest): FrameLoader might decide the target is a new window, so make such the UserGestureIndicator is fully accurate before calling into it.
773 2011-02-01 Kent Tamura <tkent@chromium.org>
775 Reviewed by Tony Chang.
777 [Chromium] Roll Chromium revision for the WebKitWeightWatcher change
778 https://bugs.webkit.org/show_bug.cgi?id=53563
780 * DEPS: Roll to crrev.com/73378 to have the WebKitWeightWatcher change of webkit_support.
782 2011-02-01 Darin Fisher <darin@chromium.org>
784 Reviewed by David Levin.
786 [chromium] Remove unnecessary WebCore:: prefixing in a few places and fix-up some indentation.
787 https://bugs.webkit.org/show_bug.cgi?id=53523
789 * src/WebDevToolsAgentImpl.cpp:
790 (WebKit::WebDevToolsAgentImpl::attach):
791 (WebKit::WebDevToolsAgentImpl::inspectNode):
792 (WebKit::WebDevToolsAgentImpl::inspectorController):
793 (WebKit::WebDevToolsAgentImpl::mainFrame):
794 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
795 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
796 (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
797 (WebKit::WebDevToolsAgent::interruptAndDispatch):
798 (WebKit::WebDevToolsAgent::processPendingMessages):
799 * src/WebPopupMenuImpl.cpp:
800 (WebKit::WebPopupMenuImpl::resize):
801 * src/WebScrollbarImpl.cpp:
802 (WebKit::WebScrollbarImpl::setLocation):
803 (WebKit::WebScrollbarImpl::setValue):
804 (WebKit::WebScrollbarImpl::onMouseWheel):
805 (WebKit::WebScrollbarImpl::onKeyDown):
806 (WebKit::WebScrollbarImpl::scrollPosition):
807 (WebKit::WebScrollbarImpl::setScrollOffset):
808 (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
809 (WebKit::WebScrollbarImpl::getTickmarks):
811 2011-02-01 Mihai Parparita <mihaip@chromium.org>
813 Unreviewed roll of Chromium deps to r73306. This picks up a fix to get
814 the WebKit root dir correctly after the move to Source/. This allows
815 tests like http/tests/security/frame-loading-via-document-write.html
816 (which use LayoutTestController.pathToLocalResource) to pass with the
821 2011-02-01 Alexander Pavlov <apavlov@chromium.org>
823 Reviewed by Yury Semikhatsky.
825 Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane
826 https://bugs.webkit.org/show_bug.cgi?id=53482
828 * src/js/DevTools.js:
829 (WebInspector.openLinkExternallyLabel): Override to customize a context menu item label
831 2011-02-01 Darin Fisher <darin@chromium.org>
833 Reviewed by Eric Seidel.
835 Fix some Visual Studio compiler warnings.
836 https://bugs.webkit.org/show_bug.cgi?id=53476
838 * src/GraphicsContext3DChromium.cpp:
839 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
840 * src/WebFrameImpl.cpp:
841 (WebKit::WebFrameImpl::forms):
842 * src/WebMediaPlayerClientImpl.cpp:
843 (WebKit::WebMediaPlayerClientImpl::repaint):
844 * src/WebScrollbarImpl.cpp:
845 (WebKit::WebScrollbarImpl::setValue):
846 * src/WebViewImpl.cpp:
847 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
848 (WebKit::WebViewImpl::setZoomLevel):
849 (WebKit::WebViewImplScrollbarPaintInterface::paint):
851 2011-02-01 Hans Wennborg <hans@chromium.org>
853 Reviewed by Jeremy Orlow.
855 Chromium: remove WebIDBCallbacks::onSucces()
856 https://bugs.webkit.org/show_bug.cgi?id=53415
858 Remove un-used function.
860 * public/WebIDBCallbacks.h:
862 2011-02-01 Yury Semikhatsky <yurys@chromium.org>
864 Unreviewed. Fix Chromium Debug compilation broken by r77228.
866 [Chromium] Autofill should work with HTML5 form elements
867 https://bugs.webkit.org/show_bug.cgi?id=51809
869 * src/WebInputElement.cpp:
870 (WebKit::toWebInputElement):
872 2011-02-01 Naoki Takano <takano.naoki@gmail.com>
874 Reviewed by Darin Fisher.
876 [Chromium] Autofill should work with HTML5 form elements
877 https://bugs.webkit.org/show_bug.cgi?id=51809
878 http://crbug.com/65654
880 No new tests, because this fix is for Chromium project and hard to test only in WebKit project.
882 * public/WebInputElement.h: Added toWebInputElement() declarations and implemented const version of toWebInputElement().
883 * src/WebInputElement.cpp:
884 (WebKit::WebInputElement::toWebInputElement): Implemented a convert function to cast no-const WebElement* to no-const WebInputElement*. Because Chrome needs safe cast for autofill completion.
886 2011-01-31 Chris Rogers <crogers@google.com>
888 Reviewed by Jeremy Orlow.
890 Improve audio latency on Mac OS X for chromium port
891 https://bugs.webkit.org/show_bug.cgi?id=53452
893 * src/AudioDestinationChromium.cpp:
895 2011-01-29 Patrick Gansterer <paroga@webkit.org>
897 Reviewed by David Kilzer.
899 Move CharacterNames.h into WTF directory
900 https://bugs.webkit.org/show_bug.cgi?id=49618
902 * src/ChromeClientImpl.cpp:
904 2011-01-28 Ryosuke Niwa <rniwa@webkit.org>
906 Unreviewed; roll WebKit Chromium revision from 72894 to 73048.
910 2011-01-28 Dan Bernstein <mitz@apple.com>
912 Reviewed by Sam Weinig.
914 <select> can't display right-to-left (rtl) languages
915 https://bugs.webkit.org/show_bug.cgi?id=19785
917 * src/AutoFillPopupMenuClient.cpp:
918 (WebKit::AutoFillPopupMenuClient::initialize): Pass hasTextDirectionOverride to the PopupMenuStyle
920 * src/ChromeClientImpl.cpp:
921 (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Added.
922 * src/ChromeClientImpl.h:
923 * tests/PopupMenuTest.cpp:
924 (WebKit::TestPopupMenuClient::itemStyle): Pass hasTextDirectionOverride to the PopupMenuStyle
927 2011-01-28 Adam Klein <adamk@chromium.org>
929 Reviewed by Kent Tamura.
931 [Chromium] Remove deprecated openFileSystem method signature
932 https://bugs.webkit.org/show_bug.cgi?id=53262
934 Chromium still builds after this patch.
936 * public/WebFrameClient.h:
938 2011-01-28 Ilya Sherman <isherman@chromium.org>
940 Reviewed by Andreas Kling.
942 Const-correct HTMLSelectElement and WebSelectElement
943 https://bugs.webkit.org/show_bug.cgi?id=53293
945 * public/WebSelectElement.h:
946 * src/WebSelectElement.cpp:
947 (WebKit::WebSelectElement::value): const.
948 (WebKit::WebSelectElement::listItems): const.
950 2011-01-27 Finnur Thorarinsson <finnur.webkit@gmail.com>
952 Reviewed by Ojan Vafai.
954 This addresses a regression introduced by r75784, as described in:
955 https://bugs.webkit.org/show_bug.cgi?id=53176
957 The problem is that originalEndContainer and originalEndOffset was
958 meant to capture the end of the document, but was being assigned after
959 a call to searchRange->setStart() (when scoping is restarted), which can
960 result in the Range being collapsed to start (thereby assigning the
961 wrong value to the Container/Offset pair).
963 This code is never triggered by layout tests, but I'm adding a regressiono
964 test on the Chromium side for this.
966 * src/WebFrameImpl.cpp:
967 (WebKit::WebFrameImpl::scopeStringMatches):
969 2011-01-27 Zhenyao Mo <zmo@google.com>
971 Reviewed by Kenneth Russell.
973 Define GC3D types to match GL types and use them in WebGraphicsContext3D
974 https://bugs.webkit.org/show_bug.cgi?id=51947
976 * public/WebGraphicsContext3D.h:
978 2011-01-27 Zhenyao Mo <zmo@google.com>
980 Unreviewed, roll webkit chromium rev from 72673 to 72894.
981 Also, added gmock section in DEPS to pull down gmock.
985 2011-01-27 Alexey Marinichev <amarinichev@chromium.org>
987 Reviewed by Kenneth Russell.
989 Add a callback to WebGraphicsContext3D that is called when a context is lost
990 https://bugs.webkit.org/show_bug.cgi?id=53153
992 * public/WebGraphicsContext3D.h:
993 (WebKit::WebGraphicsContext3D::setContextLostCallback):
995 2011-01-27 Mihai Parparita <mihaip@chromium.org>
997 Unreviewed, fixed upstream Chromium build
999 r76844 should have rolled back Chromium DEPS to 72673, not 72637.
1003 2011-01-27 Zhenyao Mo <zmo@google.com>
1005 Unreviewed, roll back webkit chromium rev to 72637.
1009 2011-01-27 Zhenyao Mo <zmo@google.com>
1013 Roll Webkit Chromium rev from 72637 to 72868.
1017 2011-01-27 Hans Wennborg <hans@chromium.org>
1019 Reviewed by Jeremy Orlow.
1021 IndexedDB: Remove IDBCallbacks::onSuccess() used for null values.
1022 https://bugs.webkit.org/show_bug.cgi?id=53178
1024 Remove the IDBCallbacks::onSuccess() function that was used for
1025 null values, and replace such calls with calls to
1026 IDBCallBacks::onSuccess(SerializedScriptValue::nullValue())
1029 * public/WebIDBCallbacks.h:
1030 (WebKit::WebIDBCallbacks::onSuccess):
1031 * src/IDBCallbacksProxy.cpp:
1032 * src/IDBCallbacksProxy.h:
1033 * src/WebIDBCallbacksImpl.cpp:
1034 * src/WebIDBCallbacksImpl.h:
1036 2011-01-26 Kent Tamura <tkent@chromium.org>
1038 Reviewed by Dimitri Glazkov.
1040 [Chromium] WebFrame::forms() should not return empty WebFormElements
1041 https://bugs.webkit.org/show_bug.cgi?id=53204
1043 * src/WebFrameImpl.cpp:
1044 (WebKit::WebFrameImpl::forms):
1045 - Should iterate by forms->length(), not the number of HTMLElements.
1046 - Do not increment the index for "temp" if a node is not an HTMLElement.
1048 2011-01-26 Dan Bernstein <mitz@apple.com>
1050 Reviewed by Dave Hyatt.
1052 <rdar://problem/8446709> Allow inter-ideograph justification for CJK
1053 https://bugs.webkit.org/show_bug.cgi?id=53184
1055 * src/WebTextRun.cpp:
1056 (WebKit::WebTextRun::operator WebCore::TextRun): Added a TrailingExpansionBehavior parameter to the
1057 RenderText constructor.
1059 2011-01-26 Kenneth Russell <kbr@google.com>
1061 Reviewed by James Robinson.
1063 Fix multisampling support in DrawingBuffer
1064 https://bugs.webkit.org/show_bug.cgi?id=53154
1066 Plumbed GL_ANGLE_framebuffer_multisample and
1067 GL_ANGLE_framebuffer_blit (exposed as the unified extension
1068 GL_CHROMIUM_framebuffer_multisample) through WebGraphicsContext3D.
1070 * public/WebGraphicsContext3D.h:
1071 * src/Extensions3DChromium.cpp:
1072 (WebCore::Extensions3DChromium::blitFramebuffer):
1073 (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
1074 * src/GraphicsContext3DChromium.cpp:
1075 (WebCore::GraphicsContext3DInternal::supportsExtension):
1076 (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
1077 * src/GraphicsContext3DInternal.h:
1079 2011-01-26 Tony Chang <tony@chromium.org>
1083 [chromium] revert r68310 because of race conditions detected by tsans
1084 https://bugs.webkit.org/show_bug.cgi?id=53185
1086 * DEPS: Roll chromium to 72673 to pick up sqlite revert.
1088 2011-01-26 James Robinson <jamesr@chromium.org>
1090 Reviewed by Nate Chapin.
1092 Add a DOMTimeStamp parameter to the requestAnimationFrame callback
1093 https://bugs.webkit.org/show_bug.cgi?id=53142
1095 Provides a timestamp to use for imperative animation callbacks. In this patch the timestamp is
1096 just the current time at the start of the callback invocation algorithm. In the future we
1097 could enhance this to try to take the compositing delay into effect to try to synchronize
1098 imperative animations more closely with declarative ones, but this should do for now.
1100 * src/WebViewImpl.cpp:
1101 (WebKit::WebViewImpl::animate):
1103 2011-01-25 Kent Tamura <tkent@chromium.org>
1105 Unreviewed trivial change.
1107 * DEPS: Roll to r72581 to have a webkit_support fix.
1109 2011-01-25 Hans Wennborg <hans@chromium.org>
1111 Reviewed by Jeremy Orlow.
1113 IndexedDB: Remove PlatformBridge::idbShutdown()
1114 https://bugs.webkit.org/show_bug.cgi?id=53077
1116 Since Chromium r72157, this is not used anymore. Chromium keeps track
1117 of when it shuts down IndexedDB itself.
1119 * public/WebKitClient.h:
1120 * src/PlatformBridge.cpp:
1122 2011-01-25 Ilya Sherman <isherman@chromium.org>
1124 Reviewed by Darin Fisher.
1126 Chromium WebKit API: Move dispatchFormControlChangeEvent() from WebInputElement to WebFormControlElement
1127 In service of https://code.google.com/p/chromium/issues/detail?id=42716
1128 https://bugs.webkit.org/show_bug.cgi?id=53069
1130 * public/WebFormControlElement.h:
1131 * public/WebInputElement.h:
1132 * src/WebFormControlElement.cpp:
1133 (WebKit::WebFormControlElement::dispatchFormControlChangeEvent): Moved from WebInputElement
1134 * src/WebInputElement.cpp:
1136 2011-01-24 Chris Marrin <cmarrin@apple.com>
1138 Reviewed by Eric Seidel.
1140 Change ENABLE_3D_CANVAS to ENABLE_WEBGL
1141 https://bugs.webkit.org/show_bug.cgi?id=53041
1145 * src/Extensions3DChromium.cpp:
1146 * src/GraphicsContext3DChromium.cpp:
1147 * src/WebRuntimeFeatures.cpp:
1148 (WebKit::WebRuntimeFeatures::enableWebGL):
1149 (WebKit::WebRuntimeFeatures::isWebGLEnabled):
1151 2011-01-25 Mikhail Naganov <mnaganov@chromium.org>
1153 Reviewed by Pavel Feldman.
1155 Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots.
1157 - Introduce Preferences.detailedHeapProfiles flag for controlling
1158 querying of detailed heap snapshots.
1159 - Add boilerplate code for the new view.
1160 - Factor out common code.
1162 https://bugs.webkit.org/show_bug.cgi?id=52624
1164 * src/js/DevTools.js:
1167 2011-01-25 Pavel Podivilov <podivilov@chromium.org>
1169 Unreviewed, trivial debugger test fix.
1173 2011-01-24 Zhenyao Mo <zmo@google.com>
1175 Reviewed by Darin Adler.
1177 Remove sizeInBytes from GraphicsContext3D's various implementations
1178 https://bugs.webkit.org/show_bug.cgi?id=52339
1180 * src/GraphicsContext3DChromium.cpp:
1181 * src/GraphicsContext3DInternal.h:
1183 2011-01-24 Tony Chang <tony@chromium.org>
1185 Reviewed by James Robinson.
1187 [chromium] turn off gyp circular dependency checking and roll chromium deps
1188 https://bugs.webkit.org/show_bug.cgi?id=52935
1191 * gyp_webkit: Turn off gyp circular dependency checking on Linux
1192 and Win since we don't do these checks in gyp_chromium. It's
1193 just making it harder for us to roll DEPS and have something
1196 2011-01-24 Satish Sampath <satish@chromium.org>
1198 Reviewed by Csaba Osztrogonác.
1200 Remove obsolete public/API method in chromium port
1201 https://bugs.webkit.org/show_bug.cgi?id=53015
1203 * public/WebSpeechInputController.h:
1204 (WebKit::WebSpeechInputController::startRecognition): Removed obsolete method
1206 2010-01-24 Kent Tamura <tkent@chromium.org>
1208 Reviewed by Darin Fisher.
1210 [Chromium] Support icon loading for <input type=file>
1211 https://bugs.webkit.org/show_bug.cgi?id=38982
1213 Implement ChromeClientImpl::chooseIconForFiles(). It delegates loading
1214 to WebViewClient::queryIconForFiles(), and an implementation of
1215 WebViewClient::queryIconForFiles() loads an icon and passes it to a
1216 FileChooser through WebIconLoadingCompletion.
1219 * public/WebIconLoadingCompletion.h: Added.
1220 (WebKit::WebIconLoadingCompletion::~WebIconLoadingCompletion):
1221 * public/WebViewClient.h:
1222 (WebKit::WebViewClient::queryIconForFiles):
1223 * src/ChromeClientImpl.cpp:
1224 (WebKit::ChromeClientImpl::chooseIconForFiles):
1225 * src/WebIconLoadingCompletionImpl.cpp: Added.
1226 (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl):
1227 (WebKit::WebIconLoadingCompletionImpl::~WebIconLoadingCompletionImpl):
1228 (WebKit::WebIconLoadingCompletionImpl::didLoadIcon):
1229 * src/WebIconLoadingCompletionImpl.h: Added.
1231 2011-01-22 John Abd-El-Malek <jam@chromium.org>
1233 Reviewed by Adam Barth.
1235 [chromium]: Fix WebScrollbarImpl not getting scroll events after recent scrollbar refactoring
1236 https://bugs.webkit.org/show_bug.cgi?id=52967
1238 * src/WebScrollbarImpl.cpp:
1239 (WebKit::WebScrollbarImpl::horizontalScrollbar):
1240 (WebKit::WebScrollbarImpl::verticalScrollbar):
1241 * src/WebScrollbarImpl.h:
1243 2011-01-21 Nikolas Zimmermann <nzimmermann@rim.com>
1245 Reviewed by Dirk Schulze.
1247 Introduce FontMetrics abstraction
1248 https://bugs.webkit.org/show_bug.cgi?id=51456
1250 * src/ExternalPopupMenu.cpp: Use FontMetrics instead of Font to access the metrics.
1251 (WebKit::ExternalPopupMenu::getPopupMenuInfo):
1252 * src/WebFontImpl.cpp: Ditto.
1253 (WebKit::WebFontImpl::ascent):
1254 (WebKit::WebFontImpl::descent):
1255 (WebKit::WebFontImpl::height):
1256 (WebKit::WebFontImpl::lineSpacing):
1257 (WebKit::WebFontImpl::xHeight):
1259 2011-01-21 Chris Rogers <crogers@google.com>
1263 define HAS_WEBAUDIO_RUNTIMEFEATURES for synchronization with chromium patch landing
1264 https://bugs.webkit.org/show_bug.cgi?id=52941
1266 * public/WebRuntimeFeatures.h:
1268 2011-01-21 Chris Rogers <crogers@google.com>
1272 Add HAS_WEBAUDIO_FEATURE_ENABLE define to synchronize with chromium-side patch
1273 https://bugs.webkit.org/show_bug.cgi?id=52939
1275 * public/WebSettings.h:
1277 2011-01-21 Charlie Reis <creis@chromium.org>
1279 Reviewed by Darin Fisher.
1281 Crash in WebCore::HistoryController::itemsAreClones
1282 https://bugs.webkit.org/show_bug.cgi?id=52819
1284 Adds sanity checks to help diagnose the crash.
1286 * src/WebFrameImpl.cpp:
1288 2011-01-21 Chris Rogers <crogers@google.com>
1290 Reviewed by Darin Fisher.
1292 Add run-time enable support for the web audio API
1293 https://bugs.webkit.org/show_bug.cgi?id=52741
1295 * public/WebRuntimeFeatures.h:
1296 * public/WebSettings.h:
1297 * src/WebRuntimeFeatures.cpp:
1298 (WebKit::WebRuntimeFeatures::enableWebAudio):
1299 (WebKit::WebRuntimeFeatures::isWebAudioEnabled):
1300 * src/WebSettingsImpl.cpp:
1301 (WebKit::WebSettingsImpl::setWebAudioEnabled):
1302 * src/WebSettingsImpl.h:
1304 2011-01-21 Ryosuke Niwa <rniwa@webkit.org>
1306 Unreviewed; another Chromium build fix attempt for r76378.
1308 * src/WebScrollbarImpl.cpp:
1309 (WebKit::WebScrollbar::create):
1310 (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1311 (WebKit::WebScrollbarImpl::setValue):
1313 2011-01-21 Ryosuke Niwa <rniwa@webkit.org>
1315 Unreviewed Chromium build fix attempt for r76378.
1317 * src/WebScrollbarImpl.cpp:
1318 (WebKit::WebScrollbar::create):
1319 (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1321 2011-01-21 Chris Rogers <crogers@google.com>
1323 Reviewed by Kenneth Russell.
1325 Add chromium bundled audio spatialization resources to WebAudio.grd
1326 https://bugs.webkit.org/show_bug.cgi?id=52651
1330 2011-01-21 Xiyuan Xia <xiyuan@chromium.org>
1332 Reviewed by Tony Chang.
1334 Use WebThemeEngine for relevant RenderTheme parts for chromium/linux.
1335 https://bugs.webkit.org/show_bug.cgi?id=52826
1338 * src/ChromiumBridge.cpp:
1339 (WebCore::WebThemePart):
1340 (WebCore::GetWebThemeExtraParams):
1342 2011-01-21 Sam Weinig <sam@webkit.org>
1344 Reviewed by Anders Carlsson.
1346 Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
1347 https://bugs.webkit.org/show_bug.cgi?id=52779
1349 Rename ScrollbarClient -> ScrollableArea.
1351 * src/AutoFillPopupMenuClient.cpp:
1352 (WebKit::AutoFillPopupMenuClient::createScrollbar):
1353 * src/AutoFillPopupMenuClient.h:
1354 * src/WebScrollbarImpl.cpp:
1355 (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1356 (WebKit::WebScrollbarImpl::scroll):
1357 (WebKit::WebScrollbarImpl::onMouseWheel):
1358 (WebKit::WebScrollbarImpl::onKeyDown):
1359 * src/WebScrollbarImpl.h:
1360 * tests/PopupMenuTest.cpp:
1361 (WebKit::TestPopupMenuClient::createScrollbar):
1363 2011-01-21 Sailesh Agrawal <sail@chromium.org>
1365 Reviewed by Ryosuke Niwa.
1367 [chromium] Notify WebFrameClient when spellcheck state changes
1368 https://bugs.webkit.org/show_bug.cgi?id=52680
1370 * public/WebFrameClient.h:
1371 (WebKit::WebFrameClient::continuousSpellCheckingEnabledStateChanged):
1372 * src/EditorClientImpl.cpp:
1373 (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
1374 * src/WebFrameImpl.cpp:
1376 2011-01-21 Tony Chang <tony@chromium.org>
1378 Unreviewed, updating chromium DEPS so we can pull in linux theme changes.
1382 2011-01-21 Adam Klein <adamk@chromium.org>
1384 Reviewed by Eric Seidel.
1386 [chromium] Rename ChromiumBridge to PlatformBridge
1387 https://bugs.webkit.org/show_bug.cgi?id=52471
1390 * src/AssertMatchingEnums.cpp:
1391 * src/PlatformBridge.cpp:
1392 (WebCore::toChromeClientImpl):
1393 (WebCore::toWebWidgetClient):
1394 (WebCore::getCookieJar):
1395 (WebCore::PlatformBridge::cacheMetadata):
1396 (WebCore::PlatformBridge::clipboardIsFormatAvailable):
1397 (WebCore::PlatformBridge::clipboardReadPlainText):
1398 (WebCore::PlatformBridge::clipboardReadHTML):
1399 (WebCore::PlatformBridge::clipboardWriteSelection):
1400 (WebCore::PlatformBridge::clipboardWritePlainText):
1401 (WebCore::PlatformBridge::clipboardWriteURL):
1402 (WebCore::PlatformBridge::clipboardWriteImage):
1403 (WebCore::PlatformBridge::clipboardWriteData):
1404 (WebCore::PlatformBridge::clipboardReadAvailableTypes):
1405 (WebCore::PlatformBridge::clipboardReadData):
1406 (WebCore::PlatformBridge::clipboardReadFilenames):
1407 (WebCore::PlatformBridge::setCookies):
1408 (WebCore::PlatformBridge::cookies):
1409 (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
1410 (WebCore::PlatformBridge::rawCookies):
1411 (WebCore::PlatformBridge::deleteCookie):
1412 (WebCore::PlatformBridge::cookiesEnabled):
1413 (WebCore::PlatformBridge::prefetchDNS):
1414 (WebCore::PlatformBridge::fileExists):
1415 (WebCore::PlatformBridge::deleteFile):
1416 (WebCore::PlatformBridge::deleteEmptyDirectory):
1417 (WebCore::PlatformBridge::getFileSize):
1418 (WebCore::PlatformBridge::revealFolderInOS):
1419 (WebCore::PlatformBridge::getFileModificationTime):
1420 (WebCore::PlatformBridge::directoryName):
1421 (WebCore::PlatformBridge::pathByAppendingComponent):
1422 (WebCore::PlatformBridge::makeAllDirectories):
1423 (WebCore::PlatformBridge::getAbsolutePath):
1424 (WebCore::PlatformBridge::isDirectory):
1425 (WebCore::PlatformBridge::filePathToURL):
1426 (WebCore::PlatformBridge::openFile):
1427 (WebCore::PlatformBridge::closeFile):
1428 (WebCore::PlatformBridge::seekFile):
1429 (WebCore::PlatformBridge::truncateFile):
1430 (WebCore::PlatformBridge::readFromFile):
1431 (WebCore::PlatformBridge::writeToFile):
1432 (WebCore::PlatformBridge::ensureFontLoaded):
1433 (WebCore::PlatformBridge::getFontFamilyForCharacters):
1434 (WebCore::PlatformBridge::getRenderStyleForStrike):
1435 (WebCore::PlatformBridge::loadFont):
1436 (WebCore::PlatformBridge::databaseOpenFile):
1437 (WebCore::PlatformBridge::databaseDeleteFile):
1438 (WebCore::PlatformBridge::databaseGetFileAttributes):
1439 (WebCore::PlatformBridge::databaseGetFileSize):
1440 (WebCore::PlatformBridge::idbFactory):
1441 (WebCore::PlatformBridge::idbShutdown):
1442 (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1443 (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
1444 (WebCore::PlatformBridge::computedDefaultLanguage):
1445 (WebCore::PlatformBridge::layoutTestMode):
1446 (WebCore::PlatformBridge::isSupportedImageMIMEType):
1447 (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
1448 (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
1449 (WebCore::PlatformBridge::mimeTypeForExtension):
1450 (WebCore::PlatformBridge::mimeTypeFromFile):
1451 (WebCore::PlatformBridge::preferredExtensionForMIMEType):
1452 (WebCore::PlatformBridge::plugins):
1453 (WebCore::PlatformBridge::pluginScriptableObject):
1454 (WebCore::PlatformBridge::loadPlatformImageResource):
1455 (WebCore::PlatformBridge::loadPlatformAudioResource):
1456 (WebCore::PlatformBridge::decodeAudioFileData):
1457 (WebCore::PlatformBridge::sandboxEnabled):
1458 (WebCore::PlatformBridge::setSharedTimerFiredFunction):
1459 (WebCore::PlatformBridge::setSharedTimerFireTime):
1460 (WebCore::PlatformBridge::stopSharedTimer):
1461 (WebCore::PlatformBridge::decrementStatsCounter):
1462 (WebCore::PlatformBridge::incrementStatsCounter):
1463 (WebCore::PlatformBridge::histogramCustomCounts):
1464 (WebCore::PlatformBridge::histogramEnumeration):
1465 (WebCore::PlatformBridge::suddenTerminationChanged):
1466 (WebCore::PlatformBridge::currentTime):
1467 (WebCore::PlatformBridge::paintButton):
1468 (WebCore::PlatformBridge::paintMenuList):
1469 (WebCore::PlatformBridge::paintScrollbarArrow):
1470 (WebCore::PlatformBridge::paintScrollbarThumb):
1471 (WebCore::PlatformBridge::paintScrollbarTrack):
1472 (WebCore::PlatformBridge::paintSpinButton):
1473 (WebCore::PlatformBridge::paintTextField):
1474 (WebCore::PlatformBridge::paintTrackbar):
1475 (WebCore::PlatformBridge::paintProgressBar):
1476 (WebCore::WebThemePart):
1477 (WebCore::WebThemeState):
1478 (WebCore::GetWebThemeExtraParams):
1479 (WebCore::PlatformBridge::getThemePartSize):
1480 (WebCore::PlatformBridge::paintThemePart):
1481 (WebCore::PlatformBridge::traceEventBegin):
1482 (WebCore::PlatformBridge::traceEventEnd):
1483 (WebCore::PlatformBridge::visitedLinkHash):
1484 (WebCore::PlatformBridge::isLinkVisited):
1485 (WebCore::PlatformBridge::notifyJSOutOfMemory):
1486 (WebCore::PlatformBridge::memoryUsageMB):
1487 (WebCore::PlatformBridge::actualMemoryUsageMB):
1488 (WebCore::PlatformBridge::screenDepth):
1489 (WebCore::PlatformBridge::screenDepthPerComponent):
1490 (WebCore::PlatformBridge::screenIsMonochrome):
1491 (WebCore::PlatformBridge::screenRect):
1492 (WebCore::PlatformBridge::screenAvailableRect):
1493 (WebCore::PlatformBridge::popupsAllowed):
1494 (WebCore::WorkerContextProxy::create):
1495 * src/ResourceHandle.cpp:
1496 (WebCore::ResourceHandle::cacheMetadata):
1497 * src/WebFrameImpl.cpp:
1498 (WebKit::WebFrameImpl::WebFrameImpl):
1499 (WebKit::WebFrameImpl::~WebFrameImpl):
1500 * src/WebViewImpl.cpp:
1501 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1503 2011-01-20 Adam Klein <adamk@chromium.org>
1505 Reviewed by Andreas Kling.
1507 [chromium] Remove deprecated WebKit::nameOfInputElement function
1508 https://bugs.webkit.org/show_bug.cgi?id=52824
1510 * src/DOMUtilitiesPrivate.cpp:
1511 * src/DOMUtilitiesPrivate.h:
1513 2011-01-20 Sam Weinig <sam@webkit.org>
1515 Reviewed by Dave Hyatt.
1517 Cleanup Scrollbar/ScrollbarClient relationship
1518 https://bugs.webkit.org/show_bug.cgi?id=52779
1520 * src/WebScrollbarImpl.cpp:
1521 (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1522 (WebKit::WebScrollbarImpl::value):
1523 (WebKit::WebScrollbarImpl::setValue):
1524 (WebKit::WebScrollbarImpl::scroll):
1525 (WebKit::WebScrollbarImpl::onMouseDown):
1526 (WebKit::WebScrollbarImpl::onMouseMove):
1527 (WebKit::WebScrollbarImpl::onMouseWheel):
1528 (WebKit::WebScrollbarImpl::onKeyDown):
1529 (WebKit::WebScrollbarImpl::scrollPosition):
1530 (WebKit::WebScrollbarImpl::setScrollOffset):
1531 * src/WebScrollbarImpl.h:
1533 2011-01-20 James Robinson <jamesr@chromium.org>
1535 Reviewed by Darin Fisher.
1537 Implement mozilla's requestAnimationFrame API
1538 https://bugs.webkit.org/show_bug.cgi?id=51218
1540 Chromium WebKit API support for window.webkitRequestAnimationFrame()
1543 * public/WebWidget.h:
1544 * public/WebWidgetClient.h:
1545 (WebKit::WebWidgetClient::scheduleAnimation):
1546 * src/ChromeClientImpl.cpp:
1547 (WebKit::ChromeClientImpl::scheduleAnimation):
1548 * src/ChromeClientImpl.h:
1549 * src/WebPopupMenuImpl.cpp:
1550 (WebKit::WebPopupMenuImpl::animate):
1551 (WebKit::WebPopupMenuImpl::scheduleAnimation):
1552 * src/WebPopupMenuImpl.h:
1553 * src/WebViewImpl.cpp:
1554 (WebKit::WebViewImpl::animate):
1555 * src/WebViewImpl.h:
1557 2010-12-14 Yury Semikhatsky <yurys@chromium.org>
1559 Reviewed by Adam Barth.
1561 [V8] Get rid of delayed exception reporting in V8ConsoleMessage.cpp
1562 https://bugs.webkit.org/show_bug.cgi?id=51044
1564 * src/ChromeClientImpl.cpp:
1565 (WebKit::ChromeClientImpl::runJavaScriptAlert):
1566 * src/WebScriptController.cpp:
1567 (WebKit::WebScriptController::flushConsoleMessages):
1569 2010-12-27 Yury Semikhatsky <yurys@chromium.org>
1571 Reviewed by Pavel Feldman.
1573 WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
1574 https://bugs.webkit.org/show_bug.cgi?id=8519
1576 Uncaught exceptions are propagated to window.onerror hander if one is present.
1577 The handler is expected to be a function accepting three arguments: error message,
1578 resource url and line number where the exception occured.
1580 It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they
1581 were created in the same isolated world where the exception occured or not.
1583 Tests: fast/events/window-onerror1.html
1584 fast/events/window-onerror10.html
1585 fast/events/window-onerror11.html
1586 fast/events/window-onerror12.html
1587 fast/events/window-onerror2.html
1588 fast/events/window-onerror3.html
1589 fast/events/window-onerror4.html
1590 fast/events/window-onerror5.html
1591 fast/events/window-onerror6.html
1592 fast/events/window-onerror7.html
1593 fast/events/window-onerror8.html
1594 fast/events/window-onerror9.html
1595 http/tests/security/window-onerror-exception-in-iframe.html
1596 userscripts/window-onerror-for-isolated-world-1.html
1597 userscripts/window-onerror-for-isolated-world-2.html
1599 * src/WebWorkerClientImpl.cpp:
1600 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
1601 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
1602 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
1603 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
1605 2011-01-19 Dmitry Titov <dimich@chromium.org>
1607 [Chromium] Unreviewed, build fix.
1609 During revert of 76203, sheriffbot did not revert "rename+change" correctly.
1611 * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
1612 (WebCore::toChromeClientImpl):
1613 (WebCore::toWebWidgetClient):
1614 (WebCore::getCookieJar):
1615 (WebCore::ChromiumBridge::cacheMetadata):
1616 (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
1617 (WebCore::ChromiumBridge::clipboardReadPlainText):
1618 (WebCore::ChromiumBridge::clipboardReadHTML):
1619 (WebCore::ChromiumBridge::clipboardWriteSelection):
1620 (WebCore::ChromiumBridge::clipboardWritePlainText):
1621 (WebCore::ChromiumBridge::clipboardWriteURL):
1622 (WebCore::ChromiumBridge::clipboardWriteImage):
1623 (WebCore::ChromiumBridge::clipboardWriteData):
1624 (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
1625 (WebCore::ChromiumBridge::clipboardReadData):
1626 (WebCore::ChromiumBridge::clipboardReadFilenames):
1627 (WebCore::ChromiumBridge::setCookies):
1628 (WebCore::ChromiumBridge::cookies):
1629 (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
1630 (WebCore::ChromiumBridge::rawCookies):
1631 (WebCore::ChromiumBridge::deleteCookie):
1632 (WebCore::ChromiumBridge::cookiesEnabled):
1633 (WebCore::ChromiumBridge::prefetchDNS):
1634 (WebCore::ChromiumBridge::fileExists):
1635 (WebCore::ChromiumBridge::deleteFile):
1636 (WebCore::ChromiumBridge::deleteEmptyDirectory):
1637 (WebCore::ChromiumBridge::getFileSize):
1638 (WebCore::ChromiumBridge::revealFolderInOS):
1639 (WebCore::ChromiumBridge::getFileModificationTime):
1640 (WebCore::ChromiumBridge::directoryName):
1641 (WebCore::ChromiumBridge::pathByAppendingComponent):
1642 (WebCore::ChromiumBridge::makeAllDirectories):
1643 (WebCore::ChromiumBridge::getAbsolutePath):
1644 (WebCore::ChromiumBridge::isDirectory):
1645 (WebCore::ChromiumBridge::filePathToURL):
1646 (WebCore::ChromiumBridge::openFile):
1647 (WebCore::ChromiumBridge::closeFile):
1648 (WebCore::ChromiumBridge::seekFile):
1649 (WebCore::ChromiumBridge::truncateFile):
1650 (WebCore::ChromiumBridge::readFromFile):
1651 (WebCore::ChromiumBridge::writeToFile):
1652 (WebCore::ChromiumBridge::ensureFontLoaded):
1653 (WebCore::ChromiumBridge::getFontFamilyForCharacters):
1654 (WebCore::ChromiumBridge::getRenderStyleForStrike):
1655 (WebCore::ChromiumBridge::loadFont):
1656 (WebCore::ChromiumBridge::databaseOpenFile):
1657 (WebCore::ChromiumBridge::databaseDeleteFile):
1658 (WebCore::ChromiumBridge::databaseGetFileAttributes):
1659 (WebCore::ChromiumBridge::databaseGetFileSize):
1660 (WebCore::ChromiumBridge::idbFactory):
1661 (WebCore::ChromiumBridge::idbShutdown):
1662 (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1663 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
1664 (WebCore::ChromiumBridge::computedDefaultLanguage):
1665 (WebCore::ChromiumBridge::layoutTestMode):
1666 (WebCore::ChromiumBridge::isSupportedImageMIMEType):
1667 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
1668 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
1669 (WebCore::ChromiumBridge::mimeTypeForExtension):
1670 (WebCore::ChromiumBridge::mimeTypeFromFile):
1671 (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
1672 (WebCore::ChromiumBridge::plugins):
1673 (WebCore::ChromiumBridge::pluginScriptableObject):
1674 (WebCore::ChromiumBridge::loadPlatformImageResource):
1675 (WebCore::ChromiumBridge::loadPlatformAudioResource):
1676 (WebCore::ChromiumBridge::decodeAudioFileData):
1677 (WebCore::ChromiumBridge::sandboxEnabled):
1678 (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
1679 (WebCore::ChromiumBridge::setSharedTimerFireTime):
1680 (WebCore::ChromiumBridge::stopSharedTimer):
1681 (WebCore::ChromiumBridge::decrementStatsCounter):
1682 (WebCore::ChromiumBridge::incrementStatsCounter):
1683 (WebCore::ChromiumBridge::histogramCustomCounts):
1684 (WebCore::ChromiumBridge::histogramEnumeration):
1685 (WebCore::ChromiumBridge::suddenTerminationChanged):
1686 (WebCore::ChromiumBridge::currentTime):
1687 (WebCore::ChromiumBridge::paintButton):
1688 (WebCore::ChromiumBridge::paintMenuList):
1689 (WebCore::ChromiumBridge::paintScrollbarArrow):
1690 (WebCore::ChromiumBridge::paintScrollbarThumb):
1691 (WebCore::ChromiumBridge::paintScrollbarTrack):
1692 (WebCore::ChromiumBridge::paintSpinButton):
1693 (WebCore::ChromiumBridge::paintTextField):
1694 (WebCore::ChromiumBridge::paintTrackbar):
1695 (WebCore::ChromiumBridge::paintProgressBar):
1696 (WebCore::WebThemePart):
1697 (WebCore::WebThemeState):
1698 (WebCore::GetWebThemeExtraParams):
1699 (WebCore::ChromiumBridge::getThemePartSize):
1700 (WebCore::ChromiumBridge::paintThemePart):
1701 (WebCore::ChromiumBridge::traceEventBegin):
1702 (WebCore::ChromiumBridge::traceEventEnd):
1703 (WebCore::ChromiumBridge::visitedLinkHash):
1704 (WebCore::ChromiumBridge::isLinkVisited):
1705 (WebCore::ChromiumBridge::notifyJSOutOfMemory):
1706 (WebCore::ChromiumBridge::memoryUsageMB):
1707 (WebCore::ChromiumBridge::actualMemoryUsageMB):
1708 (WebCore::ChromiumBridge::screenDepth):
1709 (WebCore::ChromiumBridge::screenDepthPerComponent):
1710 (WebCore::ChromiumBridge::screenIsMonochrome):
1711 (WebCore::ChromiumBridge::screenRect):
1712 (WebCore::ChromiumBridge::screenAvailableRect):
1713 (WebCore::ChromiumBridge::popupsAllowed):
1714 (WebCore::WorkerContextProxy::create):
1716 2011-01-19 Sheriff Bot <webkit.review.bot@gmail.com>
1718 Unreviewed, rolling out r76203.
1719 http://trac.webkit.org/changeset/76203
1720 https://bugs.webkit.org/show_bug.cgi?id=52784
1722 Broke Win compile on Chromium bots (Requested by dimich on
1726 * src/AssertMatchingEnums.cpp:
1727 * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
1728 (WebCore::toChromeClientImpl):
1729 (WebCore::toWebWidgetClient):
1730 (WebCore::getCookieJar):
1731 (WebCore::ChromiumBridge::cacheMetadata):
1732 (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
1733 (WebCore::ChromiumBridge::clipboardReadPlainText):
1734 (WebCore::ChromiumBridge::clipboardReadHTML):
1735 (WebCore::ChromiumBridge::clipboardWriteSelection):
1736 (WebCore::ChromiumBridge::clipboardWritePlainText):
1737 (WebCore::ChromiumBridge::clipboardWriteURL):
1738 (WebCore::ChromiumBridge::clipboardWriteImage):
1739 (WebCore::ChromiumBridge::clipboardWriteData):
1740 (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
1741 (WebCore::ChromiumBridge::clipboardReadData):
1742 (WebCore::ChromiumBridge::clipboardReadFilenames):
1743 (WebCore::ChromiumBridge::setCookies):
1744 (WebCore::ChromiumBridge::cookies):
1745 (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
1746 (WebCore::ChromiumBridge::rawCookies):
1747 (WebCore::ChromiumBridge::deleteCookie):
1748 (WebCore::ChromiumBridge::cookiesEnabled):
1749 (WebCore::ChromiumBridge::prefetchDNS):
1750 (WebCore::ChromiumBridge::fileExists):
1751 (WebCore::ChromiumBridge::deleteFile):
1752 (WebCore::ChromiumBridge::deleteEmptyDirectory):
1753 (WebCore::ChromiumBridge::getFileSize):
1754 (WebCore::ChromiumBridge::revealFolderInOS):
1755 (WebCore::ChromiumBridge::getFileModificationTime):
1756 (WebCore::ChromiumBridge::directoryName):
1757 (WebCore::ChromiumBridge::pathByAppendingComponent):
1758 (WebCore::ChromiumBridge::makeAllDirectories):
1759 (WebCore::ChromiumBridge::getAbsolutePath):
1760 (WebCore::ChromiumBridge::isDirectory):
1761 (WebCore::ChromiumBridge::filePathToURL):
1762 (WebCore::ChromiumBridge::openFile):
1763 (WebCore::ChromiumBridge::closeFile):
1764 (WebCore::ChromiumBridge::seekFile):
1765 (WebCore::ChromiumBridge::truncateFile):
1766 (WebCore::ChromiumBridge::readFromFile):
1767 (WebCore::ChromiumBridge::writeToFile):
1768 (WebCore::ChromiumBridge::ensureFontLoaded):
1769 (WebCore::ChromiumBridge::getFontFamilyForCharacters):
1770 (WebCore::ChromiumBridge::getRenderStyleForStrike):
1771 (WebCore::ChromiumBridge::loadFont):
1772 (WebCore::ChromiumBridge::databaseOpenFile):
1773 (WebCore::ChromiumBridge::databaseDeleteFile):
1774 (WebCore::ChromiumBridge::databaseGetFileAttributes):
1775 (WebCore::ChromiumBridge::databaseGetFileSize):
1776 (WebCore::ChromiumBridge::idbFactory):
1777 (WebCore::ChromiumBridge::idbShutdown):
1778 (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1779 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
1780 (WebCore::ChromiumBridge::computedDefaultLanguage):
1781 (WebCore::ChromiumBridge::layoutTestMode):
1782 (WebCore::ChromiumBridge::isSupportedImageMIMEType):
1783 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
1784 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
1785 (WebCore::ChromiumBridge::mimeTypeForExtension):
1786 (WebCore::ChromiumBridge::mimeTypeFromFile):
1787 (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
1788 (WebCore::ChromiumBridge::plugins):
1789 (WebCore::ChromiumBridge::pluginScriptableObject):
1790 (WebCore::ChromiumBridge::loadPlatformImageResource):
1791 (WebCore::ChromiumBridge::loadPlatformAudioResource):
1792 (WebCore::ChromiumBridge::decodeAudioFileData):
1793 (WebCore::ChromiumBridge::sandboxEnabled):
1794 (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
1795 (WebCore::ChromiumBridge::setSharedTimerFireTime):
1796 (WebCore::ChromiumBridge::stopSharedTimer):
1797 (WebCore::ChromiumBridge::decrementStatsCounter):
1798 (WebCore::ChromiumBridge::incrementStatsCounter):
1799 (WebCore::ChromiumBridge::histogramCustomCounts):
1800 (WebCore::ChromiumBridge::histogramEnumeration):
1801 (WebCore::ChromiumBridge::suddenTerminationChanged):
1802 (WebCore::ChromiumBridge::currentTime):
1803 (WebCore::ChromiumBridge::paintButton):
1804 (WebCore::ChromiumBridge::paintMenuList):
1805 (WebCore::ChromiumBridge::paintScrollbarArrow):
1806 (WebCore::ChromiumBridge::paintScrollbarThumb):
1807 (WebCore::ChromiumBridge::paintScrollbarTrack):
1808 (WebCore::ChromiumBridge::paintSpinButton):
1809 (WebCore::ChromiumBridge::paintTextField):
1810 (WebCore::ChromiumBridge::paintTrackbar):
1811 (WebCore::ChromiumBridge::paintProgressBar):
1812 (WebCore::WebThemePart):
1813 (WebCore::WebThemeState):
1814 (WebCore::GetWebThemeExtraParams):
1815 (WebCore::ChromiumBridge::getThemePartSize):
1816 (WebCore::ChromiumBridge::paintThemePart):
1817 (WebCore::ChromiumBridge::traceEventBegin):
1818 (WebCore::ChromiumBridge::traceEventEnd):
1819 (WebCore::ChromiumBridge::visitedLinkHash):
1820 (WebCore::ChromiumBridge::isLinkVisited):
1821 (WebCore::ChromiumBridge::notifyJSOutOfMemory):
1822 (WebCore::ChromiumBridge::memoryUsageMB):
1823 (WebCore::ChromiumBridge::actualMemoryUsageMB):
1824 (WebCore::ChromiumBridge::screenDepth):
1825 (WebCore::ChromiumBridge::screenDepthPerComponent):
1826 (WebCore::ChromiumBridge::screenIsMonochrome):
1827 (WebCore::ChromiumBridge::screenRect):
1828 (WebCore::ChromiumBridge::screenAvailableRect):
1829 (WebCore::ChromiumBridge::popupsAllowed):
1830 (WebCore::WorkerContextProxy::create):
1831 * src/ResourceHandle.cpp:
1832 (WebCore::ResourceHandle::cacheMetadata):
1833 * src/WebFrameImpl.cpp:
1834 (WebKit::WebFrameImpl::WebFrameImpl):
1835 (WebKit::WebFrameImpl::~WebFrameImpl):
1836 * src/WebViewImpl.cpp:
1837 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1839 2011-01-19 Adam Klein <adamk@chromium.org>
1841 Reviewed by Darin Fisher.
1843 [chromium] Rename ChromiumBridge to PlatformBridge
1844 https://bugs.webkit.org/show_bug.cgi?id=52471
1847 * src/AssertMatchingEnums.cpp:
1848 * src/PlatformBridge.cpp:
1849 (WebCore::toChromeClientImpl):
1850 (WebCore::toWebWidgetClient):
1851 (WebCore::getCookieJar):
1852 (WebCore::PlatformBridge::cacheMetadata):
1853 (WebCore::PlatformBridge::clipboardIsFormatAvailable):
1854 (WebCore::PlatformBridge::clipboardReadPlainText):
1855 (WebCore::PlatformBridge::clipboardReadHTML):
1856 (WebCore::PlatformBridge::clipboardWriteSelection):
1857 (WebCore::PlatformBridge::clipboardWritePlainText):
1858 (WebCore::PlatformBridge::clipboardWriteURL):
1859 (WebCore::PlatformBridge::clipboardWriteImage):
1860 (WebCore::PlatformBridge::clipboardWriteData):
1861 (WebCore::PlatformBridge::clipboardReadAvailableTypes):
1862 (WebCore::PlatformBridge::clipboardReadData):
1863 (WebCore::PlatformBridge::clipboardReadFilenames):
1864 (WebCore::PlatformBridge::setCookies):
1865 (WebCore::PlatformBridge::cookies):
1866 (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
1867 (WebCore::PlatformBridge::rawCookies):
1868 (WebCore::PlatformBridge::deleteCookie):
1869 (WebCore::PlatformBridge::cookiesEnabled):
1870 (WebCore::PlatformBridge::prefetchDNS):
1871 (WebCore::PlatformBridge::fileExists):
1872 (WebCore::PlatformBridge::deleteFile):
1873 (WebCore::PlatformBridge::deleteEmptyDirectory):
1874 (WebCore::PlatformBridge::getFileSize):
1875 (WebCore::PlatformBridge::revealFolderInOS):
1876 (WebCore::PlatformBridge::getFileModificationTime):
1877 (WebCore::PlatformBridge::directoryName):
1878 (WebCore::PlatformBridge::pathByAppendingComponent):
1879 (WebCore::PlatformBridge::makeAllDirectories):
1880 (WebCore::PlatformBridge::getAbsolutePath):
1881 (WebCore::PlatformBridge::isDirectory):
1882 (WebCore::PlatformBridge::filePathToURL):
1883 (WebCore::PlatformBridge::openFile):
1884 (WebCore::PlatformBridge::closeFile):
1885 (WebCore::PlatformBridge::seekFile):
1886 (WebCore::PlatformBridge::truncateFile):
1887 (WebCore::PlatformBridge::readFromFile):
1888 (WebCore::PlatformBridge::writeToFile):
1889 (WebCore::PlatformBridge::ensureFontLoaded):
1890 (WebCore::PlatformBridge::getFontFamilyForCharacters):
1891 (WebCore::PlatformBridge::getRenderStyleForStrike):
1892 (WebCore::PlatformBridge::loadFont):
1893 (WebCore::PlatformBridge::databaseOpenFile):
1894 (WebCore::PlatformBridge::databaseDeleteFile):
1895 (WebCore::PlatformBridge::databaseGetFileAttributes):
1896 (WebCore::PlatformBridge::databaseGetFileSize):
1897 (WebCore::PlatformBridge::idbFactory):
1898 (WebCore::PlatformBridge::idbShutdown):
1899 (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1900 (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
1901 (WebCore::PlatformBridge::computedDefaultLanguage):
1902 (WebCore::PlatformBridge::layoutTestMode):
1903 (WebCore::PlatformBridge::isSupportedImageMIMEType):
1904 (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
1905 (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
1906 (WebCore::PlatformBridge::mimeTypeForExtension):
1907 (WebCore::PlatformBridge::mimeTypeFromFile):
1908 (WebCore::PlatformBridge::preferredExtensionForMIMEType):
1909 (WebCore::PlatformBridge::plugins):
1910 (WebCore::PlatformBridge::pluginScriptableObject):
1911 (WebCore::PlatformBridge::loadPlatformImageResource):
1912 (WebCore::PlatformBridge::loadPlatformAudioResource):
1913 (WebCore::PlatformBridge::decodeAudioFileData):
1914 (WebCore::PlatformBridge::sandboxEnabled):
1915 (WebCore::PlatformBridge::setSharedTimerFiredFunction):
1916 (WebCore::PlatformBridge::setSharedTimerFireTime):
1917 (WebCore::PlatformBridge::stopSharedTimer):
1918 (WebCore::PlatformBridge::decrementStatsCounter):
1919 (WebCore::PlatformBridge::incrementStatsCounter):
1920 (WebCore::PlatformBridge::histogramCustomCounts):
1921 (WebCore::PlatformBridge::histogramEnumeration):
1922 (WebCore::PlatformBridge::suddenTerminationChanged):
1923 (WebCore::PlatformBridge::currentTime):
1924 (WebCore::PlatformBridge::paintButton):
1925 (WebCore::PlatformBridge::paintMenuList):
1926 (WebCore::PlatformBridge::paintScrollbarArrow):
1927 (WebCore::PlatformBridge::paintScrollbarThumb):
1928 (WebCore::PlatformBridge::paintScrollbarTrack):
1929 (WebCore::PlatformBridge::paintSpinButton):
1930 (WebCore::PlatformBridge::paintTextField):
1931 (WebCore::PlatformBridge::paintTrackbar):
1932 (WebCore::PlatformBridge::paintProgressBar):
1933 (WebCore::WebThemePart):
1934 (WebCore::WebThemeState):
1935 (WebCore::GetWebThemeExtraParams):
1936 (WebCore::PlatformBridge::getThemePartSize):
1937 (WebCore::PlatformBridge::paintThemePart):
1938 (WebCore::PlatformBridge::traceEventBegin):
1939 (WebCore::PlatformBridge::traceEventEnd):
1940 (WebCore::PlatformBridge::visitedLinkHash):
1941 (WebCore::PlatformBridge::isLinkVisited):
1942 (WebCore::PlatformBridge::notifyJSOutOfMemory):
1943 (WebCore::PlatformBridge::memoryUsageMB):
1944 (WebCore::PlatformBridge::actualMemoryUsageMB):
1945 (WebCore::PlatformBridge::screenDepth):
1946 (WebCore::PlatformBridge::screenDepthPerComponent):
1947 (WebCore::PlatformBridge::screenIsMonochrome):
1948 (WebCore::PlatformBridge::screenRect):
1949 (WebCore::PlatformBridge::screenAvailableRect):
1950 (WebCore::PlatformBridge::popupsAllowed):
1951 (WebCore::WorkerContextProxy::create):
1952 * src/ResourceHandle.cpp:
1953 (WebCore::ResourceHandle::cacheMetadata):
1954 * src/WebFrameImpl.cpp:
1955 (WebKit::WebFrameImpl::WebFrameImpl):
1956 (WebKit::WebFrameImpl::~WebFrameImpl):
1957 * src/WebViewImpl.cpp:
1958 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1960 2011-01-19 James Robinson <jamesr@chromium.org>
1962 Unreviewed, rolling out r76194.
1963 http://trac.webkit.org/changeset/76194
1964 https://bugs.webkit.org/show_bug.cgi?id=51218
1966 Caused mysterious compile failure on the chromium win
1967 build.webkit.org bots
1970 * public/WebWidget.h:
1971 * public/WebWidgetClient.h:
1972 * src/ChromeClientImpl.cpp:
1973 * src/ChromeClientImpl.h:
1974 * src/WebPopupMenuImpl.cpp:
1975 * src/WebPopupMenuImpl.h:
1976 * src/WebViewImpl.cpp:
1977 * src/WebViewImpl.h:
1979 2011-01-19 James Robinson <jamesr@chromium.org>
1981 Reviewed by Darin Fisher.
1983 Implement mozilla's requestAnimationFrame API
1984 https://bugs.webkit.org/show_bug.cgi?id=51218
1986 Chromium WebKit API support for window.webkitRequestAnimationFrame()
1989 * public/WebWidget.h:
1990 * public/WebWidgetClient.h:
1991 (WebKit::WebWidgetClient::scheduleAnimation):
1992 * src/ChromeClientImpl.cpp:
1993 (WebKit::ChromeClientImpl::scheduleAnimation):
1994 * src/ChromeClientImpl.h:
1995 * src/WebPopupMenuImpl.cpp:
1996 (WebKit::WebPopupMenuImpl::animate):
1997 (WebKit::WebPopupMenuImpl::scheduleAnimation):
1998 * src/WebPopupMenuImpl.h:
1999 * src/WebViewImpl.cpp:
2000 (WebKit::WebViewImpl::animate):
2001 * src/WebViewImpl.h:
2003 2011-01-19 Tony Chang <tony@chromium.org>
2005 Unreviewed, roll chromium deps to pick up fixes for the linux build.
2009 2011-01-19 Satish Sampath <satish@chromium.org>
2011 Reviewed by Jeremy Orlow.
2013 Send origin/url as part of speech input requests to the embedder.
2014 https://bugs.webkit.org/show_bug.cgi?id=52718
2016 * public/WebSpeechInputController.h:
2017 (WebKit::WebSpeechInputController::startRecognition): Updated prototype.
2018 * src/SpeechInputClientImpl.cpp:
2019 (WebKit::SpeechInputClientImpl::startRecognition): Pass up additional origin parameter.
2020 * src/SpeechInputClientImpl.h:
2021 * src/WebSpeechInputControllerMockImpl.cpp: Updated code to pass additional parameter.
2022 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2023 * src/WebSpeechInputControllerMockImpl.h: Added new variant of startRecognition method.
2025 2011-01-19 Pavel Feldman <pfeldman@chromium.org>
2027 Not reviewed: updating Chromium devtools sanity tests for downstream use.
2030 (.TestSuite.prototype._checkExecutionLine):
2032 2011-01-18 Pavel Feldman <pfeldman@chromium.org>
2034 Reviewed by Yury Semikhatsky.
2036 Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol.
2037 https://bugs.webkit.org/show_bug.cgi?id=52652
2039 Calls served by the InjectedScript should be first class protocol
2040 citizens, not dispatched via single protocol message.
2044 2011-01-18 Victoria Kirst <vrk@chromium.org>
2046 Reviewed by Kenneth Russell.
2048 [chromium] Adding support for YV16 video frame formats.
2049 https://bugs.webkit.org/show_bug.cgi?id=52345
2051 * src/VideoFrameChromiumImpl.cpp:
2052 (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
2054 2011-01-18 Adam Klein <adamk@chromium.org>
2056 Reviewed by Darin Fisher.
2058 [Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor
2059 https://bugs.webkit.org/show_bug.cgi?id=42236
2061 * src/ChromeClientImpl.cpp:
2062 (WebKit::ChromeClientImpl::setCursor):
2063 * src/ChromeClientImpl.h:
2064 * src/ChromiumBridge.cpp:
2066 2011-01-17 Nico Weber <thakis@chromium.org>
2070 Roll chromium DEPS forward to pick up the skia roll to skia r692.
2071 https://bugs.webkit.org/show_bug.cgi?id=52600
2075 2011-01-17 Naoki Takano <takano.naoki@gmail.com>
2077 Reviewed by Kent Tamura.
2079 [Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field.
2080 https://bugs.webkit.org/show_bug.cgi?id=51382
2081 http://crbug.com/60427
2083 Calculate correct location of popup window whenever the items in the window change.
2085 No new tests, because this fix is for Chromium project and hard to test only in WebKit project
2087 * WebKit/chromium/src/WebViewImpl.cpp:
2088 (WebKit::WebViewImpl::refreshAutoFillPopup): Change the logic in refreshAutoFilPopup() to check both the location and the size of popup window.
2090 2011-01-17 Pavel Feldman <pfeldman@chromium.org>
2092 Reviewed by Yury Semikhatsky.
2094 Chromium: updated DevTools tests.
2097 (.TestSuite.prototype._waitForScriptPause):
2098 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
2099 (.TestSuite.prototype._waitUntilScriptsAreParsed):
2101 2011-01-17 Adam Barth <abarth@webkit.org>
2103 Update path to reflect new WebKit directory location.
2105 * tests/WebFrameTest.cpp:
2106 (WebKit::WebFrameTest::registerMockedURLLoad):
2108 2011-01-16 Kent Tamura <tkent@chromium.org>
2110 Unreviewed, Chromium-linux build fix.
2112 * gyp_webkit: Fix a relative path to the top directory.
2114 2011-01-16 Adam Barth <abarth@webkit.org>
2116 Roll Chromium DEPS to pick up the changes reflecting the new location
2121 2011-01-16 Adam Barth <abarth@webkit.org>
2123 Rubber-stamped by Eric Seidel.
2125 Move WebKit into Source
2126 https://bugs.webkit.org/show_bug.cgi?id=52530
2131 2011-01-15 Jochen Eisinger <jochen@chromium.org>
2133 Reviewed by David Levin.
2135 [chromium] remove obsolete createView method
2136 https://bugs.webkit.org/show_bug.cgi?id=52437
2138 * public/WebViewClient.h:
2139 (WebKit::WebViewClient::createView):
2141 2011-01-14 Xiyuan Xia <xiyuan@chromium.org>
2143 Reviewed by Darin Fisher.
2145 Prepare Linux WebThemeEngine interface to support new theme parts.
2146 https://bugs.webkit.org/show_bug.cgi?id=52413
2148 * public/linux/WebThemeEngine.h:
2150 2011-01-14 Yuzo Fujishima <yuzo@google.com>
2152 Reviewed by Antti Koivisto.
2154 Rename cache() to memoryCache()
2155 https://bugs.webkit.org/show_bug.cgi?id=52433
2158 (WebKit::WebCache::setCapacities):
2159 (WebKit::WebCache::clear):
2160 (WebKit::WebCache::getUsageStats):
2161 (WebKit::WebCache::getResourceTypeStats):
2163 2011-01-14 Jochen Eisinger <jochen@chromium.org>
2165 Unreviewed, roll chromium deps to r71432.
2169 2011-01-14 Adam Klein <adamk@chromium.org>
2171 Reviewed by Darin Fisher.
2173 [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList
2174 https://bugs.webkit.org/show_bug.cgi?id=42237
2176 Replace Chromium-specific BackForwardListClient in WebCore with a Chromium impl
2177 of the BackForwardList interface.
2180 * src/BackForwardListChromium.cpp: Copied from WebKit/chromium/src/BackForwardListClientImpl.cpp.
2181 (WebKit::BackForwardListChromium::create):
2182 (WebKit::BackForwardListChromium::BackForwardListChromium):
2183 (WebKit::BackForwardListChromium::~BackForwardListChromium):
2184 (WebKit::BackForwardListChromium::addItem):
2185 (WebKit::BackForwardListChromium::goToItem):
2186 (WebKit::BackForwardListChromium::itemAtIndex):
2187 (WebKit::BackForwardListChromium::backListCount):
2188 (WebKit::BackForwardListChromium::forwardListCount):
2189 (WebKit::BackForwardListChromium::isActive):
2190 (WebKit::BackForwardListChromium::close):
2191 * src/BackForwardListChromium.h: Copied from WebKit/chromium/src/BackForwardListClientImpl.h.
2192 * src/BackForwardListClientImpl.cpp: Removed.
2193 * src/BackForwardListClientImpl.h: Removed.
2194 * src/FrameLoaderClientImpl.cpp:
2195 * src/WebFrameImpl.cpp:
2196 (WebKit::WebFrameImpl::loadHistoryItem):
2197 (WebKit::WebFrameImpl::currentHistoryItem):
2198 * src/WebViewImpl.cpp:
2199 (WebKit::WebViewImpl::WebViewImpl):
2200 * src/WebViewImpl.h:
2202 2011-01-14 Kent Tamura <tkent@chromium.org>
2204 Reviewed by Darin Fisher.
2206 [Chromium] WebKit API: Add a function for form interactive validation setting
2207 https://bugs.webkit.org/show_bug.cgi?id=52430
2209 * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled().
2210 * src/WebSettingsImpl.cpp:
2211 (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented.
2212 * src/WebSettingsImpl.h: Add a declaration.
2214 2011-01-14 Vincent Scheib <scheib@chromium.org>
2216 Reviewed by David Levin.
2218 Add support to DumpRenderTree to use the GPU rather than software renderer
2219 https://bugs.webkit.org/show_bug.cgi?id=52333
2221 * DEPS: Moved forward to take required support from webkit_support.h
2222 * WebKit.gyp: DumpRenderTree depends on Angle on windows
2224 2011-01-14 Finnur Thorarinsson <finnur.webkit@gmail.com>
2226 Reviewed by Ojan Vafai.
2228 Address some user-select-none issues better in our Find in page scoping
2231 The scoping function is in part based on Editor::countMatchesForText
2232 (formerly Frame::markAllMatchesForText), but was rewritten with
2233 asychronous search and interruptability in mind. At the time the
2234 function was written, countMatchesForText didn't work well with
2235 user-select-none style but that has now changed. While
2236 investigating http://crbug.com/68494 I noticed WebKit had fixed this
2237 very problem in the countMatchesForText and I believe we should make
2238 the same changes in our platform code. Therefore, this changelist
2239 adopts the same approach by integrating:
2240 https://bugs.webkit.org/show_bug.cgi?id=33508
2241 (r53142: handling user-select-none better) and
2242 https://bugs.webkit.org/show_bug.cgi?id=51623
2243 (r74886: handling match within textfield better).
2244 For more details see those changelists.
2246 This changelist, however, is tracked here:
2247 https://bugs.webkit.org/show_bug.cgi?id=52367
2249 The original changelists did not come with layout tests, but I'm adding
2250 a test on the Chromium side for this.
2252 * src/WebFrameImpl.cpp:
2253 (WebKit::WebFrameImpl::scopeStringMatches):
2255 2011-01-14 Pavel Feldman <pfeldman@chromium.org>
2257 Not reviewed: build fix.
2259 * src/WebDevToolsAgentImpl.h:
2261 2011-01-13 John Abd-El-Malek <jam@chromium.org>
2263 Reviewed by Mihai Parparita.
2265 [chromium] Fix minor type in plugin printing
2266 https://bugs.webkit.org/show_bug.cgi?id=52410
2268 * src/WebFrameImpl.cpp:
2269 (WebKit::WebFrameImpl::printBegin):
2271 2011-01-13 Adam Barth <abarth@webkit.org>
2273 Reviewed by Eric Seidel.
2275 Rename RGBA32Buffer to ImageFrame
2276 https://bugs.webkit.org/show_bug.cgi?id=52363
2278 Update references to the new name.
2280 * src/WebImageDecoder.cpp:
2281 (WebKit::WebImageDecoder::isFrameCompleteAtIndex):
2282 (WebKit::WebImageDecoder::getFrameAtIndex):
2284 2011-01-13 John Abd-El-Malek <jam@chromium.org>
2286 Reviewed by Tony Chang.
2288 [chromium]: Only swallow ctrl+c for windowless plugins if we know the plugin has a selection
2289 https://bugs.webkit.org/show_bug.cgi?id=52393
2291 * src/WebPluginContainerImpl.cpp:
2292 (WebKit::WebPluginContainerImpl::copy):
2293 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2295 2011-01-11 John Abd-El-Malek <jam@chromium.org>
2297 Reviewed by Darin Fisher.
2299 [chromium] Add support to allow printing just a plugin in a frame
2300 https://bugs.webkit.org/show_bug.cgi?id=52134
2302 * public/WebContextMenuData.h:
2303 * public/WebFrame.h:
2304 * src/ContextMenuClientImpl.cpp:
2305 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2306 * src/WebFrameImpl.cpp:
2307 (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
2308 (WebKit::ChromePluginPrintContext::end):
2309 (WebKit::ChromePluginPrintContext::computePageRects):
2310 (WebKit::ChromePluginPrintContext::spoolPage):
2311 (WebKit::WebFrameImpl::printBegin):
2313 2011-01-13 Tony Chang <tony@chromium.org>
2315 Reviewed by Kent Tamura.
2317 [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
2318 https://bugs.webkit.org/show_bug.cgi?id=52332
2320 * WebKit.gyp: Remove WebKitTestNetscapePlugIn
2322 2011-01-12 Pavel Feldman <pfeldman@chromium.org>
2324 Reviewed by Yury Semikhatsky.
2326 Web Inspector: embed injected script into the backend.
2327 https://bugs.webkit.org/show_bug.cgi?id=52312
2331 2011-01-12 Mihai Parparita <mihaip@chromium.org>
2333 Reviewed by David Levin.
2335 [Chromium] Remove PartScrollbarHoriztonalTrack
2336 https://bugs.webkit.org/show_bug.cgi?id=52329
2338 Remove PartScrollbarHoriztonalTrack now that usages of it were removed
2339 with http://crrev.com/71249.
2342 * public/linux/WebThemeEngine.h:
2344 2010-12-29 Yury Semikhatsky <yurys@chromium.org>
2346 Reviewed by Pavel Feldman.
2348 inspector/timeline-network-resource.html fails when run twice
2349 https://bugs.webkit.org/show_bug.cgi?id=37394
2351 Send didReceiveResponse notification to the timeline agent from ResourceLoadNotifier
2352 instead of ResourceLoader::didReceiveResponse to cover the cases when resources
2353 are loaded from memory cache.
2355 Network notifications are now sent to InspectorInstrumentation which dispatches
2356 them to interested agents and InspectorController.
2358 * src/SharedWorkerRepository.cpp:
2359 (WebCore::SharedWorkerScriptLoader::notifyFinished):
2360 * src/WebDevToolsAgentImpl.cpp:
2361 (WebKit::WebDevToolsAgentImpl::mainFrame):
2362 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
2363 (WebKit::WebDevToolsAgentImpl::willSendRequest):
2364 (WebKit::WebDevToolsAgentImpl::didReceiveData):
2365 (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
2366 (WebKit::WebDevToolsAgentImpl::didFinishLoading):
2367 (WebKit::WebDevToolsAgentImpl::didFailLoading):
2368 * src/WebDevToolsAgentImpl.h:
2370 2011-01-11 Tony Chang <tony@chromium.org>
2372 Reviewed by Eric Seidel.
2374 [chromium] copy test netscape plugin into TestNetscapePlugin
2375 https://bugs.webkit.org/show_bug.cgi?id=52232
2377 * WebKit.gyp: Make a copy of the TestNetscapePlugIn in
2378 TestNetscapePlugIn and WebKitTestNetscapePlugIn
2380 2011-01-11 Kenneth Russell <kbr@google.com>
2382 Reviewed by James Robinson.
2384 [chromium] Move WebGraphicsContext3DDefaultImpl to Chromium repository
2385 https://bugs.webkit.org/show_bug.cgi?id=52235
2387 Deleted WebGraphicsContext3DDefaultImpl, which has been moved to
2388 the Chromium repository under WebGraphicsContext3DInProcessImpl.
2389 Removed WebGraphicsContext3D::createDefault(). Rolled forward
2390 Chromium version to pick up needed changes.
2392 Tested with build-webkit --chromium --debug and a run of the WebGL
2393 layout tests in DRT.
2397 * public/WebGraphicsContext3D.h:
2398 * src/GraphicsContext3DChromium.cpp:
2399 * src/WebGraphicsContext3D.cpp: Removed.
2400 * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
2401 * src/WebGraphicsContext3DDefaultImpl.h: Removed.
2403 2011-01-11 Pavel Feldman <pfeldman@chromium.org>
2405 Reviewed by Yury Semikhatsky.
2407 Chromium DevTools: get rid of APU-related code in WebKit/chromium.
2408 https://bugs.webkit.org/show_bug.cgi?id=52152
2410 * src/WebDevToolsAgentImpl.cpp:
2411 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
2412 (WebKit::WebDevToolsAgentImpl::detach):
2413 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
2414 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
2415 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
2416 * src/WebDevToolsAgentImpl.h:
2418 2011-01-10 Adam Barth <abarth@webkit.org>
2420 Reviewed by Darin Adler.
2422 Introduce the notion of a "display-isolated" URL scheme for use by
2423 Chrome-internal URLs
2424 https://bugs.webkit.org/show_bug.cgi?id=50182
2426 This patch adds a Chromium API for registering schemes as
2427 display-isolated. In a subsequent patch, I'll change the "chrome"
2428 scheme in Chrome to be display isolated instead of local. That will
2429 prevent file URLs from linking to chrome URLs.
2431 * public/WebSecurityPolicy.h:
2432 * src/WebSecurityPolicy.cpp:
2433 (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
2435 2011-01-10 John Abd-El-Malek <jam@chromium.org>
2437 Reviewed by James Robinson.
2439 [chromium] Call WebAutoFillClient instead of WebViewClient for autofill related callbacks
2440 https://bugs.webkit.org/show_bug.cgi?id=52169
2443 * public/WebViewClient.h:
2444 (WebKit::WebViewClient::didUpdateInspectorSetting):
2445 * src/AutoFillPopupMenuClient.cpp:
2446 (WebKit::AutoFillPopupMenuClient::valueChanged):
2447 (WebKit::AutoFillPopupMenuClient::selectionChanged):
2448 (WebKit::AutoFillPopupMenuClient::selectionCleared):
2449 (WebKit::AutoFillPopupMenuClient::popupDidHide):
2450 * src/EditorClientImpl.cpp:
2451 (WebKit::EditorClientImpl::textFieldDidBeginEditing):
2452 (WebKit::EditorClientImpl::textFieldDidEndEditing):
2453 (WebKit::EditorClientImpl::textDidChangeInTextField):
2454 (WebKit::EditorClientImpl::doAutofill):
2455 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
2456 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2457 * src/WebViewImpl.cpp:
2458 (WebKit::WebView::create):
2459 (WebKit::WebViewImpl::WebViewImpl):
2460 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
2461 * src/WebViewImpl.h:
2462 (WebKit::WebViewImpl::autoFillClient):
2463 * src/WebWorkerBase.cpp:
2464 (WebKit::WebWorkerBase::initializeLoader):
2466 2011-01-10 John Knottenbelt <jknotten@chromium.org>
2468 Reviewed by Jeremy Orlow.
2470 [Chromium] Remove non-client-based Geolocation code
2471 https://bugs.webkit.org/show_bug.cgi?id=50921
2474 * public/WebGeolocationService.h: Removed.
2475 * public/WebGeolocationServiceBridge.h: Removed.
2476 * public/WebGeolocationServiceMock.h: Removed.
2477 * src/AssertMatchingEnums.cpp:
2478 * src/ChromeClientImpl.cpp:
2479 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
2480 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
2481 * src/ChromiumBridge.cpp:
2482 * src/WebGeolocationServiceBridgeImpl.cpp: Removed.
2483 * src/WebGeolocationServiceBridgeImpl.h: Removed.
2484 * src/WebGeolocationServiceMock.cpp: Removed.
2485 * src/WebViewImpl.cpp:
2486 (WebKit::WebViewImpl::WebViewImpl):
2487 * src/WebViewImpl.h:
2489 2011-01-09 Johnny Ding <jnd@chromium.org>
2491 Unreviewed, fix Chromium windows compilation error according to James Robinson's report.
2493 https://bugs.webkit.org/show_bug.cgi?id=41441
2494 Fix Chromium window compilation error.
2496 * public/WebViewClient.h:
2497 (WebKit::WebViewClient::createView):
2499 2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
2501 Reviewed by Darin Fisher.
2503 https://bugs.webkit.org/show_bug.cgi?id=41441
2504 createWindow method should only do window-creating without URL navigation.
2505 Pass URL request to createView.
2507 * public/WebViewClient.h:
2508 (WebKit::WebViewClient::createView):
2509 * src/ChromeClientImpl.cpp:
2510 (WebKit::ChromeClientImpl::createWindow):
2512 2011-01-08 Adam Barth <abarth@webkit.org>
2514 Update Chromium DEPS to pickup new GYP files.
2518 2011-01-07 Adam Barth <abarth@webkit.org>
2520 Rubber-stamped by Eric Seidel.
2522 Move WebCore to Source
2523 https://bugs.webkit.org/show_bug.cgi?id=52050
2525 Update references to WebCore.
2530 2011-01-07 Mihai Parparita <mihaip@chromium.org>
2532 Reviewed by Darin Fisher.
2534 [Chromium] Scrollbar code cleanup
2535 https://bugs.webkit.org/show_bug.cgi?id=52073
2537 Scrollbar code cleanup:
2538 - Fix typo in Linux scrollbar enum name
2540 * public/linux/WebThemeEngine.h:
2541 * src/ChromiumBridge.cpp:
2542 (WebCore::WebThemePart):
2543 (WebCore::GetWebThemeExtraParams):
2545 2011-01-07 James Robinson <jamesr@chromium.org>
2547 Revert "Implement mozilla's animationTime property"
2548 https://bugs.webkit.org/show_bug.cgi?id=51952
2550 This approach isn't quite right.
2552 * public/WebWidget.h:
2553 * src/WebPopupMenuImpl.cpp:
2554 * src/WebPopupMenuImpl.h:
2555 * src/WebViewImpl.cpp:
2556 * src/WebViewImpl.h:
2558 2011-01-05 Zhenyao Mo <zmo@google.com>
2560 Reviewed by Kenneth Russell.
2562 Define GC3D types to match GL types and use them in GraphicsContext3D
2563 https://bugs.webkit.org/show_bug.cgi?id=45557
2565 * src/GraphicsContext3DChromium.cpp:
2566 (WebCore::GraphicsContext3DInternal::bindAttribLocation):
2567 (WebCore::GraphicsContext3DInternal::bufferData):
2568 (WebCore::GraphicsContext3DInternal::bufferSubData):
2569 (WebCore::GraphicsContext3DInternal::getActiveAttrib):
2570 (WebCore::GraphicsContext3DInternal::getActiveUniform):
2571 (WebCore::GraphicsContext3DInternal::getAttribLocation):
2572 (WebCore::GraphicsContext3DInternal::getString):
2573 (WebCore::GraphicsContext3DInternal::getUniformLocation):
2574 (WebCore::GraphicsContext3DInternal::texImage2D):
2575 (WebCore::GraphicsContext3DInternal::texSubImage2D):
2576 (WebCore::GraphicsContext3DInternal::uniform1fv):
2577 (WebCore::GraphicsContext3DInternal::uniform1iv):
2578 (WebCore::GraphicsContext3DInternal::uniform2fv):
2579 (WebCore::GraphicsContext3DInternal::uniform2iv):
2580 (WebCore::GraphicsContext3DInternal::uniform3fv):
2581 (WebCore::GraphicsContext3DInternal::uniform3iv):
2582 (WebCore::GraphicsContext3DInternal::uniform4fv):
2583 (WebCore::GraphicsContext3DInternal::uniform4iv):
2584 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
2585 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
2586 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
2587 * src/GraphicsContext3DInternal.h:
2589 2011-01-06 James Simonsen <simonjam@chromium.org>
2591 Reviewed by Darin Fisher.
2593 [Web Timing] Remove vendor prefix
2594 https://bugs.webkit.org/show_bug.cgi?id=48922
2596 * src/WebFrameImpl.cpp:
2597 (WebKit::WebFrameImpl::performance): Rename to performance.
2599 2011-01-06 James Robinson <jamesr@chromium.org>
2601 Reviewed by Simon Fraser.
2603 Implement mozilla's animationTime property
2604 https://bugs.webkit.org/show_bug.cgi?id=51952
2606 WebKit API support for webkitAnimationTime.
2608 * public/WebWidget.h:
2609 * src/WebPopupMenuImpl.cpp:
2610 (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
2611 * src/WebPopupMenuImpl.h:
2612 * src/WebViewImpl.cpp:
2613 (WebKit::WebViewImpl::clearCurrentAnimationTime):
2614 * src/WebViewImpl.h:
2616 2010-12-29 John Abd-El-Malek <jam@chromium.org>
2618 Reviewed by Darin Fisher.
2620 [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient
2621 https://bugs.webkit.org/show_bug.cgi?id=51710
2624 * public/WebAutoFillClient.h: Added.
2625 (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion):
2626 (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion):
2627 (WebKit::WebAutoFillClient::didClearAutoFillSelection):
2628 (WebKit::WebAutoFillClient::removeAutocompleteSugestion):
2629 (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion):
2630 (WebKit::WebAutoFillClient::textFieldDidBeginEditing):
2631 (WebKit::WebAutoFillClient::textFieldDidEndEditing):
2632 (WebKit::WebAutoFillClient::textFieldDidChange):
2633 (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown):
2634 (WebKit::WebAutoFillClient::~WebAutoFillClient):
2636 2011-01-05 Chris Rogers <crogers@google.com>
2638 Reviewed by Darin Fisher.
2640 Add WebKitClient::createAudioDevice() for Chromium port of web audio API
2641 https://bugs.webkit.org/show_bug.cgi?id=51424
2644 * public/WebAudioDevice.h: Added.
2645 (WebKit::WebAudioDevice::RenderCallback::~RenderCallback):
2646 (WebKit::WebAudioDevice::~WebAudioDevice):
2647 * public/WebKitClient.h:
2648 (WebKit::WebKitClient::createAudioDevice):
2649 * src/AudioDestinationChromium.cpp: Added.
2650 (WebCore::AudioDestination::create):
2651 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2652 (WebCore::AudioDestinationChromium::~AudioDestinationChromium):
2653 (WebCore::AudioDestinationChromium::start):
2654 (WebCore::AudioDestinationChromium::stop):
2655 (WebCore::AudioDestination::hardwareSampleRate):
2656 (WebCore::AudioDestinationChromium::render):
2657 * src/AudioDestinationChromium.h: Added.
2658 (WebCore::AudioDestinationChromium::isPlaying):
2659 (WebCore::AudioDestinationChromium::sampleRate):
2661 2011-01-05 David Levin <levin@chromium.org>
2663 Reviewed by Darin Fisher.
2665 [chromium] WEBKIT_API and styling fixes for the chromium api.
2666 https://bugs.webkit.org/show_bug.cgi?id=51863
2668 Removed some incorrect uses of WEBKIT_API.
2669 Fixed some abbreviations by making them whole words.
2671 * public/WebAnimationController.h: Removed WEBKIT_API from virtual functions.
2672 * public/WebFormElement.h: Removed WEBKIT_API from inline functions
2673 and fixed some abbreviations.
2674 (WebKit::WebFormElement::WebFormElement):
2675 (WebKit::WebFormElement::operator=):
2676 (WebKit::WebFormElement::assign):
2677 * public/WebIDBDatabaseError.h: Ditto.
2678 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
2679 (WebKit::WebIDBDatabaseError::operator=):
2680 * public/WebInputElement.h: Ditto.
2681 (WebKit::WebInputElement::WebInputElement):
2682 (WebKit::WebInputElement::operator=):
2683 (WebKit::WebInputElement::assign):
2684 * public/WebLabelElement.h: Ditto.
2685 (WebKit::WebLabelElement::WebLabelElement):
2686 (WebKit::WebLabelElement::operator=):
2687 (WebKit::WebLabelElement::assign):
2688 * public/WebOptionElement.h: Ditto.
2689 (WebKit::WebOptionElement::WebOptionElement):
2690 (WebKit::WebOptionElement::operator=):
2691 (WebKit::WebOptionElement::assign):
2692 * public/WebSelectElement.h: Ditto (and minor spacing cleanup).
2693 (WebKit::WebSelectElement::WebSelectElement):
2694 (WebKit::WebSelectElement::operator=):
2695 (WebKit::WebSelectElement::assign):
2697 2011-01-05 Hans Wennborg <hans@chromium.org>
2699 Reviewed by David Levin.
2701 [Chromium] WebIDBKey clean-up
2702 https://bugs.webkit.org/show_bug.cgi?id=51925
2704 Remove constructors that are no longer used since the
2705 Chromium side has been updated.
2707 * public/WebIDBKey.h:
2709 2011-01-04 Darin Fisher <darin@chromium.org>
2711 Reviewed by David Levin.
2713 Update README file with a description of the WEBKIT_API macro and
2714 guidelines for its usage. Also document the various WEBKIT_USING_*
2717 https://bugs.webkit.org/show_bug.cgi?id=51880
2721 2011-01-04 Evan Martin <evan@chromium.org>
2723 Reviewed by Tony Chang.
2725 [chromium] depend on harfbuzz explicitly
2726 https://bugs.webkit.org/show_bug.cgi?id=51895
2728 Update Chromium DEPS to pick up newer Chromium version
2729 that simplifies expressing the Harfbuzz dependency.
2733 2011-01-04 Zhe Su <suzhe@chromium.org>
2735 Reviewed by Kenneth Russell.
2738 1. Add WebKit::WebWidget::confirmComposition(const WebString& text)
2739 This new method corresponds to Editor::confirmComposition(text) and
2740 Editor::insertText(text). It'll be used by both DumpRenderTree's
2741 TextInputController and chromium browser.
2742 2. Fix WebFrameImpl::insertText
2743 It should call Editor::confirmComposition(text) rather than
2744 Editor::insertText(text) if there is an ongoing composition.
2745 It matches the behavior of WebKit Mac port.
2746 3. Fix WebFrameImpl::setMarkedText
2747 Editor::confirmComposition(text) shouldn't be called in this
2748 method, which incorrectly inserts the text.
2750 https://bugs.webkit.org/show_bug.cgi?id=51693
2752 * public/WebWidget.h:
2753 * src/WebFrameImpl.cpp:
2754 (WebKit::WebFrameImpl::insertText):
2755 (WebKit::WebFrameImpl::setMarkedText):
2756 * src/WebPopupMenuImpl.cpp:
2757 (WebKit::WebPopupMenuImpl::confirmComposition):
2758 * src/WebPopupMenuImpl.h:
2759 * src/WebViewImpl.cpp:
2760 (WebKit::WebViewImpl::confirmComposition):
2761 * src/WebViewImpl.h:
2762 * tests/PopupMenuTest.cpp:
2763 (WebKit::TestWebWidget::confirmComposition):
2765 2011-01-03 Daniel Bates <dbates@rim.com>
2767 Attempt to fix the Chromium Linux Release build after changeset 74895 <http://trac.webkit.org/changeset/74895>.
2769 The portion of the patch in <https://bugs.webkit.org/show_bug.cgi?id=51791> that modified the
2770 file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry
2771 associated with this change was landed.
2773 * src/WebSearchableFormData.cpp:
2774 (HTMLNames::IsInDefaultState):
2776 2011-01-02 Dirk Schulze <krit@webkit.org>
2778 Reviewed by Simon Fraser.
2780 Clarify ImageBuffer and ImageData relationship
2781 https://bugs.webkit.org/show_bug.cgi?id=51297
2783 Use ByteArray instead of ImageData.
2785 * src/WebViewImpl.cpp:
2786 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2788 2011-01-01 Adam Barth <abarth@webkit.org>
2790 Reviewed by Eric Seidel.
2792 Move JavaScriptCore to Source
2793 https://bugs.webkit.org/show_bug.cgi?id=51604
2796 - Point to JavaScriptCore in its new location.
2798 2010-12-30 Mihai Parparita <mihaip@chromium.org>
2800 Reviewed by Kent Tamura.
2802 [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
2803 https://bugs.webkit.org/show_bug.cgi?id=51728
2805 Roll DEPS to pick up WebThemeEngine changes.
2809 2010-12-29 Sheriff Bot <webkit.review.bot@gmail.com>
2811 Unreviewed, rolling out r74735.
2812 http://trac.webkit.org/changeset/74735
2813 https://bugs.webkit.org/show_bug.cgi?id=51715
2815 assert failures on fast/forms/input-maxlength-ime-
2816 completed.html (Requested by mihaip on #webkit).
2818 * src/WebFrameImpl.cpp:
2819 (WebKit::WebFrameImpl::setMarkedText):
2821 2010-12-29 Zhe Su <suzhe@chromium.org>
2823 Reviewed by Eric Seidel.
2825 Fix editing/input/ime-composition-clearpreedit.html test in chromium
2826 by removing the line "editor->confirmComposition(text);" from
2827 WebFrameImpl::setMarkedText() method, because that line will insert the
2828 text into the focused node, which is apparently wrong.
2830 https://bugs.webkit.org/show_bug.cgi?id=51693
2832 * src/WebFrameImpl.cpp:
2833 (WebKit::WebFrameImpl::setMarkedText):
2835 2010-12-23 Zhenyao Mo <zmo@google.com>
2837 Reviewed by Kenneth Russell.
2839 Initialize to 0 for undefined values in CopyTexImage2D
2840 https://bugs.webkit.org/show_bug.cgi?id=51421
2842 * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize().
2843 (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
2844 * src/GraphicsContext3DInternal.h:
2846 2010-12-23 Sheriff Bot <webkit.review.bot@gmail.com>
2848 Unreviewed, rolling out r74561.
2849 http://trac.webkit.org/changeset/74561
2850 https://bugs.webkit.org/show_bug.cgi?id=51565
2852 "Broke Chromium UI tests on Vista" (Requested by kbr_google on
2855 * src/GraphicsContext3DChromium.cpp:
2856 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2858 2010-12-23 Mihai Parparita <mihaip@chromium.org>
2860 Reviewed by Kent Tamura.
2862 [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
2863 https://bugs.webkit.org/show_bug.cgi?id=51507
2865 Adds WebThemeEngine for the Mac (it already has parallel definitions for
2866 Windows and Linux) so that scrollbar thumb rendering can be overridden
2867 for the DRT (to be consistent with the NSScroller-based rendering
2868 used by the Mac port).
2870 * public/mac/WebThemeEngine.h: Added.
2871 (WebKit::WebThemeEngine::paintScrollbarThumb):
2872 * src/AssertMatchingEnums.cpp:
2873 * src/ChromiumBridge.cpp:
2874 (WebCore::ChromiumBridge::paintScrollbarThumb):
2876 2010-12-23 Sam Weinig <sam@webkit.org>
2880 * src/FrameLoaderClientImpl.cpp:
2881 (WebKit::FrameLoaderClientImpl::didSaveToPageCache):
2882 (WebKit::FrameLoaderClientImpl::didRestoreFromPageCache):
2884 2010-12-22 Sam Weinig <sam@webkit.org>
2886 Reviewed by Darin Adler.
2888 WebKit2 needs to mirror the frame tree in the UIProcess
2889 https://bugs.webkit.org/show_bug.cgi?id=51546
2891 - Add client functions to notify that a frame has been added or
2892 removed from the page cache.
2894 * src/FrameLoaderClientImpl.cpp:
2895 (WebKit::WebFrameLoaderClientImpl::didSaveToPageCache):
2896 (WebKit::WebFrameLoaderClientImpl::didRestoreFromPageCache):
2897 * src/FrameLoaderClientImpl.h:
2899 2010-12-20 Adrienne Walker <enne@google.com>
2901 Reviewed by Kenneth Russell.
2903 [chromium] Tile root layer of the compositor.
2904 https://bugs.webkit.org/show_bug.cgi?id=49947
2906 Refactor root layer logic out of WebViewImpl and into
2907 LayerTilerChromium. The painting is now done through an interface
2908 rather than directly in WebViewImpl.
2910 * src/WebViewImpl.cpp:
2911 (WebKit::WebViewImpl::scrollRootLayerRect):
2912 (WebKit::WebViewImpl::invalidateRootLayerRect):
2913 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2914 (WebKit::WebViewImplTilePaintInterface::WebViewImplTilePaintInterface):
2915 (WebKit::WebViewImplTilePaintInterface::paint):
2916 (WebKit::WebViewImplScrollbarPaintInterface::WebViewImplScrollbarPaintInterface):
2917 (WebKit::WebViewImplScrollbarPaintInterface::paint):
2918 (WebKit::WebViewImpl::doComposite):
2919 * src/WebViewImpl.h:
2921 2010-12-22 Ryosuke Niwa <rniwa@webkit.org>
2923 Reviewed by Eric Seidel.
2925 Editor.h doesn't need to include SelectionController.h
2926 https://bugs.webkit.org/show_bug.cgi?id=51441
2928 Renamed SelectionController::EDirection to SelectionDirection.
2930 * src/WebFrameImpl.cpp:
2931 (WebKit::WebFrameImpl::executeCommand):
2933 2010-12-23 W. James MacLean <wjmaclean@chromium.org>
2935 Reviewed by Kenneth Russell.
2937 [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
2938 https://bugs.webkit.org/show_bug.cgi?id=51186
2940 Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
2942 * src/GraphicsContext3DChromium.cpp:
2943 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2945 2010-12-22 Sheriff Bot <webkit.review.bot@gmail.com>
2947 Unreviewed, rolling out r74503.
2948 http://trac.webkit.org/changeset/74503
2949 https://bugs.webkit.org/show_bug.cgi?id=51513
2951 breaks chromium mac debug compile (Requested by tonyg-cr on
2954 * src/GraphicsContext3DChromium.cpp:
2955 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2957 2010-12-22 W. James MacLean <wjmaclean@chromium.org>
2959 Reviewed by Kenneth Russell.
2961 [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
2962 https://bugs.webkit.org/show_bug.cgi?id=51186
2964 Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
2966 * src/GraphicsContext3DChromium.cpp:
2967 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2969 2010-12-21 Zhenyao Mo <zmo@google.com>
2971 Reviewed by Kenneth Russell.
2973 WebGLRenderingContext needs to zero textures and renderbuffers
2974 https://bugs.webkit.org/show_bug.cgi?id=49355
2976 * src/WebGraphicsContext3DDefaultImpl.cpp:
2977 (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in.
2979 2010-12-20 Andrei Popescu <andreip@google.com>
2981 Reviewed by Jeremy Orlow.
2983 IDBCursor::delete is not implemented.
2984 https://bugs.webkit.org/show_bug.cgi?id=51110
2986 * public/WebIDBCursor.h:
2987 (WebKit::WebIDBCursor::remove):
2988 (WebKit::WebIDBCursor::deleteFunction):
2989 * src/IDBCursorBackendProxy.cpp:
2990 (WebCore::IDBCursorBackendProxy::deleteFunction):
2991 * src/IDBCursorBackendProxy.h:
2992 * src/WebIDBCursorImpl.cpp:
2993 (WebKit::WebIDBCursorImpl::deleteFunction):
2994 * src/WebIDBCursorImpl.h:
2996 2010-12-18 Tony Gentilcore <tonyg@chromium.org>
2998 Reviewed by Laszlo Gombos.
3000 [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
3001 https://bugs.webkit.org/show_bug.cgi?id=50943
3003 Exposes all dom* times to the chromium port. I'm particularly interested in
3004 domContentLoadedEventEnd as it compares to the FinishDoc metric.
3006 * public/WebPerformance.h:
3007 * src/WebPerformance.cpp:
3008 (WebKit::WebPerformance::domLoading):
3009 (WebKit::WebPerformance::domInteractive):
3010 (WebKit::WebPerformance::domContentLoadedEventStart):
3011 (WebKit::WebPerformance::domContentLoadedEventEnd):
3012 (WebKit::WebPerformance::domComplete):
3014 2010-12-17 Tony Gentilcore <tonyg@chromium.org>
3016 Unreviewed, build fix.
3018 Add WebKitTools -> Tools rename that got missed.
3022 2010-12-17 Dirk Pranke <dpranke@chromium.org>
3024 Unreviewed, build fix.
3026 Add WebKitTools -> Tools rename that got missed.
3030 2010-12-17 John Knottenbelt <jknotten@chromium.org>
3032 Reviewed by Jeremy Orlow.
3034 Fix test failures where NULL GeolocationClient is provided
3035 https://bugs.webkit.org/show_bug.cgi?id=51256
3037 * src/GeolocationClientProxy.cpp:
3038 (WebKit::GeolocationClientProxy::geolocationDestroyed):
3040 2010-12-17 Hans Wennborg <hans@chromium.org>
3042 Reviewed by Jeremy Orlow.
3044 IndexedDB: Support Date objects as keys.
3045 https://bugs.webkit.org/show_bug.cgi?id=51193
3047 Update to match the underlying WebCore IDBKey class:
3048 add the DateType, add create() functions for each type,
3049 deprecate the public constructors (will be removed once
3050 Chromium side is updated).
3052 * public/WebIDBKey.h:
3053 (WebKit::WebIDBKey::WebIDBKey):
3054 * src/AssertMatchingEnums.cpp:
3055 * src/WebIDBKey.cpp:
3056 (WebKit::WebIDBKey::createString):
3057 (WebKit::WebIDBKey::createDate):
3058 (WebKit::WebIDBKey::createNumber):
3059 (WebKit::WebIDBKey::assignNull):
3060 (WebKit::WebIDBKey::assignString):
3061 (WebKit::WebIDBKey::assignDate):
3062 (WebKit::WebIDBKey::assignNumber):
3063 (WebKit::WebIDBKey::date):
3065 2010-12-17 James Simonsen <simonjam@chromium.org>
3067 Reviewed by Darin Fisher.
3069 [Web Timing] Navigation type enums should begin with TYPE_
3070 https://bugs.webkit.org/show_bug.cgi?id=51200
3072 * src/WebPerformance.cpp:
3073 (WebKit::WebPerformance::navigationType): Added TYPE_ to navigation types.
3075 2010-12-16 John Knottenbelt <jknotten@chromium.org>
3077 Reviewed by Jeremy Orlow.
3079 Enable client-based geolocation in Chromium
3080 https://bugs.webkit.org/show_bug.cgi?id=50562
3084 2010-12-16 Hans Wennborg <hans@chromium.org>
3086 Reviewed by Jeremy Orlow.
3088 IndexedDB: Fix IDBDatabaseError code offset bug
3089 https://bugs.webkit.org/show_bug.cgi?id=51177
3091 WebIDBDatabaseError must use the
3092 IDBDatabaseError::createWithoutOffset() function.
3094 * src/WebIDBDatabaseError.cpp:
3095 (WebKit::WebIDBDatabaseError::assign):
3097 2010-12-15 Chris Guillory <chris.guillory@google.com>
3099 Reviewed by Darin Fisher.
3101 Expose AccessibilityObject::url() to Chromium
3102 https://bugs.webkit.org/show_bug.cgi?id=51046
3104 * public/WebAccessibilityObject.h:
3105 * src/WebAccessibilityObject.cpp:
3106 (WebKit::WebAccessibilityObject::url):
3108 2010-12-14 Darin Fisher <darin@chromium.org>
3110 Reviewed by Dimitri Glazkov.
3112 [chromium] AssociatedURLLoader leaks m_realLoader to its WebURLLoaderClient.
3113 https://bugs.webkit.org/show_bug.cgi?id=51062
3115 * src/AssociatedURLLoader.cpp: Intercept WebURLLoaderClient methods and
3116 forward |this| as the WebURLLoader parameter.
3117 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3118 (WebKit::AssociatedURLLoader::loadSynchronously):
3119 (WebKit::AssociatedURLLoader::loadAsynchronously):
3120 (WebKit::AssociatedURLLoader::willSendRequest):
3121 (WebKit::AssociatedURLLoader::didSendData):
3122 (WebKit::AssociatedURLLoader::didReceiveResponse):
3123 (WebKit::AssociatedURLLoader::didDownloadData):
3124 (WebKit::AssociatedURLLoader::didReceiveData):
3125 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3126 (WebKit::AssociatedURLLoader::didFinishLoading):
3127 (WebKit::AssociatedURLLoader::didFail):
3128 * src/AssociatedURLLoader.h:
3130 2010-12-14 Mihai Parparita <mihaip@chromium.org>
3132 Reviewed by Dimitri Glazkov.
3134 Move asynchronous event dispatching out of Document
3135 https://bugs.webkit.org/show_bug.cgi?id=49785
3137 Change enqueueEvent callsite.
3139 * src/StorageAreaProxy.cpp:
3140 (WebCore::StorageAreaProxy::storageEvent):
3142 2010-12-13 Mike Lawther <mikelawther@chromium.org>
3144 Reviewed by James Robinson.
3146 Update chromium DEPS to pull in latest Skia
3147 https://bugs.webkit.org/show_bug.cgi?id=50984
3149 Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558)
3153 2010-12-13 David Holloway <dhollowa@chromium.org>
3155 Reviewed by Eric Seidel.
3157 [chromium] Removes deprecated logic following the consolidation of AutoFill and
3158 Autocomplete popup menu handling (https://bugs.webkit.org/show_bug.cgi?id=41236).
3159 Filling of the form fields is now handled completely on the Chromium side, for
3160 both AutoFill and Autocomplete.
3162 https://bugs.webkit.org/show_bug.cgi?id=41822
3165 * src/AutoFillPopupMenuClient.cpp:
3166 (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
3167 (WebKit::AutoFillPopupMenuClient::valueChanged):
3168 * src/AutoFillPopupMenuClient.h:
3169 * src/WebViewImpl.cpp:
3170 (WebKit::WebViewImpl::applyAutoFillSuggestions):
3171 * src/WebViewImpl.h:
3173 2010-12-13 Yury Semikhatsky <yurys@chromium.org>
3175 Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.
3177 REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
3178 https://bugs.webkit.org/show_bug.cgi?id=50950
3180 * src/WebWorkerClientImpl.cpp:
3181 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
3182 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
3183 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
3184 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
3186 2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>
3188 Reviewed by Yury Semikhatsky.
3190 Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
3192 Debugger and Resources related notification functions of Inspector.idl were
3193 marked as such with help of "domain" attribute. The other changes in js files
3194 are reflecting this change. Some wrappers in WebInspector namespace were dropped,
3195 the others were moved to DebuggerModel class.
3197 https://bugs.webkit.org/show_bug.cgi?id=50906
3200 (.TestSuite.prototype._waitForScriptPause):
3201 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
3202 (.TestSuite.prototype._waitUntilScriptsAreParsed):
3204 2010-12-13 Yury Semikhatsky <yurys@chromium.org>
3206 Reviewed by Adam Barth.
3208 WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
3209 https://bugs.webkit.org/show_bug.cgi?id=8519
3211 Uncaught exceptions are propagated to window.onerror hander if one is present.
3212 The handler is expected to be a function accepting three arguments: error message,
3213 resource url and line number where the exception occured.
3215 * src/WebWorkerClientImpl.cpp:
3216 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
3217 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
3219 2010-12-13 Sheriff Bot <webkit.review.bot@gmail.com>
3221 Unreviewed, rolling out r73898.
3222 http://trac.webkit.org/changeset/73898
3223 https://bugs.webkit.org/show_bug.cgi?id=50919
3225 FileSystem and Database API's were broken (Requested by loislo
3229 (.TestSuite.prototype._waitForScriptPause):
3231 2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>
3233 Reviewed by Yury Semikhatsky.
3235 Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
3237 Debugger and Resources related notification functions of Inspector.idl were
3238 marked as such with help of "domain" attribute. The other changes in js files
3239 are reflecting this change. Some wrappers in WebInspector namespace were dropped,
3240 the others were moved to DebuggerModel class.
3242 https://bugs.webkit.org/show_bug.cgi?id=50906
3245 (.TestSuite.prototype._waitForScriptPause):
3247 2010-10-28 MORITA Hajime <morrita@google.com>
3249 Reviewed by Ojan Vafai.
3251 spellcheck does not check pasted text
3252 https://bugs.webkit.org/show_bug.cgi?id=40092
3254 Added a stub implememntation.
3256 * src/EditorClientImpl.h:
3257 (WebKit::EditorClientImpl::requestCheckingOfString):
3259 2010-12-10 Chris Fleizach <cfleizach@apple.com>
3261 Reviewed by Darin Adler.
3263 AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
3264 https://bugs.webkit.org/show_bug.cgi?id=50574
3266 * src/WebAccessibilityObject.cpp:
3267 (WebKit::WebAccessibilityObject::hitTest):
3269 2010-12-10 Zhenyao Mo <zmo@google.com>
3271 Reviewed by Adam Barth.
3273 Use enums instead of booleans in ImageSource/ImageDecoder constructors
3274 https://bugs.webkit.org/show_bug.cgi?id=50818
3276 * src/WebImageDecoder.cpp:
3277 (WebKit::WebImageDecoder::init): Use enums instead of boolean in ImageDecoder constructor.
3279 2010-12-10 Kenneth Russell <kbr@google.com>
3281 Reviewed by James Robinson.
3283 Implement extension entry points and remove EXTENSIONS enum
3284 https://bugs.webkit.org/show_bug.cgi?id=40316
3286 Added support for ensuring that a particular OpenGL extension is
3289 * public/WebGraphicsContext3D.h:
3290 * src/Extensions3DChromium.cpp:
3291 (WebCore::Extensions3DChromium::ensureEnabled):
3292 * src/GraphicsContext3DChromium.cpp:
3293 (WebCore::GraphicsContext3DInternal::initializeExtensions):
3294 (WebCore::GraphicsContext3DInternal::supportsExtension):
3295 (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
3296 * src/GraphicsContext3DInternal.h:
3297 * src/WebGraphicsContext3DDefaultImpl.cpp:
3298 (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM):
3299 (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM):
3300 * src/WebGraphicsContext3DDefaultImpl.h:
3302 2010-12-10 John Knottenbelt <jknotten@chromium.org>
3304 Reviewed by Steve Block.
3306 [Chromium] Implement mocks for client-based geolocation
3307 https://bugs.webkit.org/show_bug.cgi?id=46895
3310 * public/WebGeolocationClientMock.h: Added.
3311 (WebKit::WebGeolocationClientMock::~WebGeolocationClientMock):
3312 (WebKit::WebGeolocationClientMock::WebGeolocationClientMock):
3313 * src/WebGeolocationClientMock.cpp: Added.
3314 (WebKit::WebGeolocationClientMock::create):
3315 (WebKit::WebGeolocationClientMock::initialize):
3316 (WebKit::WebGeolocationClientMock::reset):
3317 (WebKit::WebGeolocationClientMock::setMockGeolocationPosition):
3318 (WebKit::WebGeolocationClientMock::setMockGeolocationError):
3319 (WebKit::WebGeolocationClientMock::setMockGeolocationPermission):
3320 (WebKit::WebGeolocationClientMock::resetMock):
3321 (WebKit::WebGeolocationClientMock::startUpdating):
3322 (WebKit::WebGeolocationClientMock::stopUpdating):
3323 (WebKit::WebGeolocationClientMock::setEnableHighAccuracy):
3324 (WebKit::WebGeolocationClientMock::geolocationDestroyed):
3325 (WebKit::WebGeolocationClientMock::setController):
3326 (WebKit::WebGeolocationClientMock::lastPosition):
3327 (WebKit::WebGeolocationClientMock::requestPermission):
3328 (WebKit::WebGeolocationClientMock::cancelPermissionRequest):
3329 * src/WebGeolocationServiceMock.cpp:
3331 2010-12-10 John Knottenbelt <jknotten@chromium.org>
3333 Reviewed by Steve Block.
3335 [chromium] Implement client based geolocation bindings
3336 https://bugs.webkit.org/show_bug.cgi?id=45752
3338 Implements the necessary plumbing to expose client-based geolocation in Chromium
3339 webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*)
3343 * public/WebGeolocationClient.h: Added.
3344 (WebKit::WebGeolocationClient::~WebGeolocationClient):
3345 * public/WebGeolocationController.h: Added.
3346 (WebKit::WebGeolocationController::WebGeolocationController):
3347 (WebKit::WebGeolocationController::reset):
3348 * public/WebGeolocationError.h:
3349 * public/WebGeolocationPermissionRequest.h: Added.
3350 (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest):
3351 (WebKit::WebGeolocationPermissionRequest::geolocation):
3352 * public/WebGeolocationPermissionRequestManager.h: Added.
3353 (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager):
3354 (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager):
3355 * public/WebGeolocationPosition.h:
3356 * public/WebViewClient.h:
3357 (WebKit::WebViewClient::geolocationClient):
3358 * src/ChromeClientImpl.cpp:
3359 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
3360 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
3361 * src/GeolocationClientProxy.cpp: Added.
3362 (WebKit::GeolocationClientProxy::GeolocationClientProxy):
3363 (WebKit::GeolocationClientProxy::~GeolocationClientProxy):
3364 (WebKit::GeolocationClientProxy::setController):
3365 (WebKit::GeolocationClientProxy::geolocationDestroyed):
3366 (WebKit::GeolocationClientProxy::startUpdating):
3367 (WebKit::GeolocationClientProxy::stopUpdating):
3368 (WebKit::GeolocationClientProxy::setEnableHighAccuracy):
3369 (WebKit::GeolocationClientProxy::lastPosition):
3370 (WebKit::GeolocationClientProxy::requestPermission):
3371 (WebKit::GeolocationClientProxy::cancelPermissionRequest):
3372 * src/GeolocationClientProxy.h: Added.
3373 * src/WebGeolocationController.cpp: Added.
3374 (WebKit::WebGeolocationController::positionChanged):
3375 (WebKit::WebGeolocationController::errorOccurred):
3376 (WebKit::WebGeolocationController::controller):
3377 * src/WebGeolocationPermissionRequest.cpp: Added.
3378 (WebKit::WebGeolocationPermissionRequest::securityOrigin):
3379 (WebKit::WebGeolocationPermissionRequest::setIsAllowed):
3380 * src/WebGeolocationPermissionRequestManager.cpp: Added.
3381 (WebGeolocationPermissionRequestManager::add):
3382 (WebGeolocationPermissionRequestManager::remove):
3383 (WebGeolocationPermissionRequestManager::init):
3384 (WebGeolocationPermissionRequestManager::reset):
3385 * src/WebViewImpl.cpp: