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:
3386 (WebKit::WebViewImpl::WebViewImpl):
3387 * src/WebViewImpl.h:
3389 2010-12-10 Hans Wennborg <hans@chromium.org>
3391 Reviewed by Jeremy Orlow.
3393 IndexedDB: Numeric keys are floats.
3394 https://bugs.webkit.org/show_bug.cgi?id=50674
3396 Represent numeric keys as floating point values.
3398 * public/WebIDBKey.h:
3399 (WebKit::WebIDBKey::WebIDBKey):
3400 * src/WebIDBKey.cpp:
3401 (WebKit::WebIDBKey::assign):
3402 (WebKit::WebIDBKey::number):
3404 2010-12-09 Sheriff Bot <webkit.review.bot@gmail.com>
3406 Unreviewed, rolling out r73616.
3407 http://trac.webkit.org/changeset/73616
3408 https://bugs.webkit.org/show_bug.cgi?id=50772
3410 Breaks chromium win build (Requested by hwennborg on #webkit).
3412 * public/WebIDBKey.h:
3413 (WebKit::WebIDBKey::WebIDBKey):
3414 * src/WebIDBKey.cpp:
3415 (WebKit::WebIDBKey::assign):
3416 (WebKit::WebIDBKey::number):
3418 2010-12-09 Hans Wennborg <hans@chromium.org>
3420 Reviewed by Jeremy Orlow.
3422 IndexedDB: Numeric keys are floats.
3423 https://bugs.webkit.org/show_bug.cgi?id=50674
3425 Represent numeric keys as floating point values.
3427 * public/WebIDBKey.h:
3428 (WebKit::WebIDBKey::WebIDBKey):
3429 * src/WebIDBKey.cpp:
3430 (WebKit::WebIDBKey::assign):
3431 (WebKit::WebIDBKey::number):
3433 2010-12-07 Brian Weinstein <bweinstein@apple.com>
3435 Reviewed by John Sullivan.
3437 Layering Violation in ContextMenu - member variable of type HitTestResult
3438 https://bugs.webkit.org/show_bug.cgi?id=50586
3440 Update users of ContextMenu and ContextMenuController to match where the new functions
3443 * src/ContextMenuClientImpl.cpp:
3444 (WebKit::selectMisspelledWord):
3445 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3447 2010-12-06 Darin Adler <darin@apple.com>
3449 Reviewed by Sam Weinig.
3451 Pass security origin to make local file decision correctly
3452 https://bugs.webkit.org/show_bug.cgi?id=48603
3454 * src/ApplicationCacheHost.cpp:
3455 (WebCore::ApplicationCacheHost::selectCacheWithManifest): Pass security origin.
3456 * src/FrameLoaderClientImpl.cpp:
3457 (WebKit::FrameLoaderClientImpl::dispatchCreatePage): Ditto.
3458 (WebKit::FrameLoaderClientImpl::createFrame): Ditto.
3459 * src/WebPluginContainerImpl.cpp:
3460 (WebKit::WebPluginContainerImpl::loadFrameRequest): Ditto.
3462 2010-12-07 Martin Robinson <mrobinson@igalia.com>
3464 Unreviewed, rolling out r73392.
3465 http://trac.webkit.org/changeset/73392
3466 https://bugs.webkit.org/show_bug.cgi?id=50489
3468 This commit caused crashes on the GTK+ bots
3470 * src/ContextMenuClientImpl.cpp:
3471 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3472 * src/FrameLoaderClientImpl.cpp:
3473 (WebKit::FrameLoaderClientImpl::finishedLoading):
3474 * src/WebFrameImpl.cpp:
3475 (WebKit::WebFrameImpl::encoding):
3476 (WebKit::WebFrameImpl::loadJavaScriptURL):
3477 * src/WebPageSerializerImpl.cpp:
3478 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3479 (WebKit::WebPageSerializerImpl::serialize):
3480 * src/WebSearchableFormData.cpp:
3481 (WebCore::GetFormEncoding):
3482 * src/WebViewImpl.cpp:
3483 (WebKit::WebViewImpl::pageEncoding):
3485 2010-12-07 Kenichi Ishibashi <bashi@google.com>
3487 Reviewed by Kent Tamura.
3489 Let HTMLObjectElement be a form associated element
3490 https://bugs.webkit.org/show_bug.cgi?id=48821
3492 Modified to use FormAssociatedElement instead of HTMLFormControlElement.
3494 * src/WebFormElement.cpp:
3495 (WebKit::WebFormElement::getFormControlElements): Modified to use
3496 FormAssociatedElement instead of HTMLFormControlElement.
3497 * src/WebPasswordFormUtils.cpp:
3498 (WebKit::findPasswordFormFields): Ditto.
3499 * src/WebSearchableFormData.cpp:
3500 (WebCore::GetButtonToActivate): Ditto.
3501 (WebCore::HasSuitableTextElement): Ditto.
3503 2010-12-06 Nate Chapin <japhet@chromium.org>
3505 Reviewed by Adam Barth.
3507 Update calls to DocumentWriter.
3508 https://bugs.webkit.org/show_bug.cgi?id=50489
3510 * src/ContextMenuClientImpl.cpp:
3511 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3512 * src/FrameLoaderClientImpl.cpp:
3513 (WebKit::FrameLoaderClientImpl::finishedLoading):
3514 * src/WebFrameImpl.cpp:
3515 (WebKit::WebFrameImpl::encoding):
3516 (WebKit::WebFrameImpl::loadJavaScriptURL):
3517 * src/WebPageSerializerImpl.cpp:
3518 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3519 (WebKit::WebPageSerializerImpl::serialize):
3520 * src/WebSearchableFormData.cpp:
3521 (WebCore::GetFormEncoding):
3522 * src/WebViewImpl.cpp:
3523 (WebKit::WebViewImpl::pageEncoding):
3525 2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
3527 Unreviewed, rolling out r73302.
3528 http://trac.webkit.org/changeset/73302
3529 https://bugs.webkit.org/show_bug.cgi?id=50499
3531 Causes crashes in debug LayoutTests (Requested by xan_ on
3534 * public/WebAccessibilityObject.h:
3535 * src/WebAccessibilityObject.cpp:
3536 (WebKit::WebAccessibilityObject::parentObject):
3538 2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>
3540 Reviewed by Pavel Feldman.
3542 Web Inspector: Inspector protocol cleanup task.
3544 The patch has just small renames and adjustments for the protocol things.
3545 'handler' keyword in idl file was replaced with 'domain'.
3546 'domain' property was assigned for the each backend to frontend messages.
3547 At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.
3549 https://bugs.webkit.org/show_bug.cgi?id=50337
3551 * src/WebDevToolsFrontendImpl.cpp:
3552 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3554 2010-12-03 Chris Guillory <chris.guillory@google.com>
3556 Reviewed by Chris Fleizach.
3558 Include the FrameView widget of a RenderWidget in the accessibility tree.
3559 https://bugs.webkit.org/show_bug.cgi?id=49106
3561 * public/WebAccessibilityObject.h:
3562 * src/WebAccessibilityObject.cpp:
3563 (WebKit::WebAccessibilityObject::equals):
3564 (WebKit::WebAccessibilityObject::parentObject):
3566 2010-11-29 Jeremy Orlow <jorlow@chromium.org>
3568 Reviewed by Darin Fisher.
3570 [Chromium] Clean up IndexedDB 2 sided roll bits
3571 https://bugs.webkit.org/show_bug.cgi?id=50160
3573 * public/WebIDBDatabase.h:
3574 (WebKit::WebIDBDatabase::version):
3575 (WebKit::WebIDBDatabase::objectStoreNames):
3576 (WebKit::WebIDBDatabase::deleteObjectStore):
3577 * public/WebIDBFactory.h:
3578 (WebKit::WebIDBFactory::open):
3579 * public/WebIDBKeyRange.h:
3580 * public/WebIDBObjectStore.h:
3581 (WebKit::WebIDBObjectStore::deleteFunction):
3582 * src/IDBDatabaseProxy.cpp:
3583 * src/IDBDatabaseProxy.h:
3584 * src/WebIDBKeyRange.cpp:
3586 2010-12-02 Chris Rogers <crogers@google.com>
3588 Reviewed by Darin Fisher.
3590 Fine-tune chromium WebKit API for loading audio resources
3591 https://bugs.webkit.org/show_bug.cgi?id=50406
3593 * public/WebAudioBus.h:
3594 (WebKit::WebAudioBus::~WebAudioBus):
3595 * public/WebKitClient.h:
3596 (WebKit::WebKitClient::loadAudioResource):
3597 * src/ChromiumBridge.cpp:
3598 (WebCore::ChromiumBridge::decodeAudioFileData):
3599 * src/WebAudioBus.cpp:
3600 (WebKit::WebAudioBus::reset):
3602 2010-12-02 Darin Fisher <darin@chromium.org>
3604 Fix the Windows multi-dll build. Do not export functions that are
3607 * public/WebFormControlElement.h:
3608 (WebKit::WebFormControlElement::assign):
3610 2010-12-02 Tony Chang <tony@chromium.org>
3612 Unreviewed, roll chromium deps to r67980.
3616 2010-12-01 Andrey Kosyakov <caseq@chromium.org>
3618 Reviewed by Pavel Feldman.
3620 Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
3621 Enable resource export to HAR for Chromium.
3622 https://bugs.webkit.org/show_bug.cgi?id=45663
3624 * src/js/DevTools.js: Preferences.resourceExportEnabled = true
3626 2010-12-02 Vincent Scheib <scheib@chromium.org>
3628 Reviewed by Darin Fisher.
3630 [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
3631 https://bugs.webkit.org/show_bug.cgi?id=50285
3633 Test by loading "about:histograms" after navigating to accelerated pages.
3635 * public/WebKitClient.h:
3636 (WebKit::WebKitClient::histogramCustomCounts): api update.
3637 (WebKit::WebKitClient::histogramEnumeration): api update.
3638 * src/ChromiumBridge.cpp:
3639 (WebCore::ChromiumBridge::histogramCustomCounts): api update.
3640 (WebCore::ChromiumBridge::histogramEnumeration): api update.
3641 * src/WebViewImpl.cpp:
3642 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.
3644 2010-12-01 Jia Pu <jpu@apple.com>
3646 Reviewed by Darin Adler.
3648 Support multiple correction candidates panel for misspelled word on Mac OS X.
3649 https://bugs.webkit.org/show_bug.cgi?id=50137
3650 <rdar://problem/8568059>
3652 Adopted new function signature defined in base class.
3654 * src/EditorClientImpl.cpp:
3655 (WebKit::EditorClientImpl::getGuessesForWord):
3656 * src/EditorClientImpl.h:
3658 2010-12-01 Alexey Marinichev <amarinichev@chromium.org>
3660 Reviewed by James Robinson.
3662 [chromium] renderer does not realize hardware compositing is disabled and crashes
3663 https://bugs.webkit.org/show_bug.cgi?id=50264
3665 * src/WebViewImpl.cpp:
3666 (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always
3667 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check
3668 (WebKit::WebViewImpl::reallocateRenderer):
3670 2010-11-30 Vangelis Kokkevis <vangelis@chromium.org>
3672 Reviewed by Darin Fisher.
3674 Get the value of the accelerated compositing triggers from the Settings
3675 class. This allows setting the triggers via command line flags.
3676 https://bugs.webkit.org/show_bug.cgi?id=50301
3678 * public/WebSettings.h:
3679 * src/ChromeClientImpl.cpp:
3680 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
3681 * src/WebSettingsImpl.cpp:
3682 (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled):
3683 (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled):
3684 (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled):
3685 (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled):
3686 (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled):
3687 * src/WebSettingsImpl.h:
3689 2010-12-01 Tony Chang <tony@chromium.org>
3691 Unreviewed, rolling chromium deps to r67811.
3695 2010-12-01 Andrey Kosyakov <caseq@chromium.org>
3697 Reviewed by Pavel Feldman.
3699 Web Inspector: disable cookies tab in network resource view by default, enable for chromium
3700 https://bugs.webkit.org/show_bug.cgi?id=50249
3702 * src/js/DevTools.js:
3704 2010-11-30 Ojan Vafai <ojan@chromium.org>
3706 Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
3707 https://bugs.webkit.org/show_bug.cgi?id=50288
3709 2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
3710 Reviewed by Darin Adler.
3711 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3712 https://bugs.webkit.org/show_bug.cgi?id=50182
3713 A display-isolated URL can only be displayed (e.g., put in an iframe,
3714 hyperlinked to) by documents from that scheme. In a sense, this is a
3715 generalization of some of the protections we give file URLs, but
3716 instead of lumping them all together into one "local" bucket, this
3717 patch creates a separate bucket for each scheme.
3718 For a while, I tried using a separate bucket for each origin. That
3719 would have played nicely with what Blob URLs are trying to do, but some
3720 "chrome" URL pages rely on being able to display other chrome URL
3721 pages, even in different origins. For example, the New Tab Page shows
3722 thumbnails from the "thumbnail" host.
3723 This patch also removes a bunch of unused code. I've also propagated
3724 the "deprecated" status of deprecatedCanDisplay to
3725 deprecatedShouldTreatURLAsLocal because that method has no other
3726 callers and is really asking for uppercase/lowercase bugs. I dream of
3727 someday removing these functions.
3728 2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
3729 Reviewed by Darin Adler.
3730 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3731 https://bugs.webkit.org/show_bug.cgi?id=50182
3732 This patch adds a Chromium API for registering schemes as
3733 display-isolated. In a subsequent patch, I'll change the "chrome"
3734 scheme in Chrome to be display isolated instead of local. That will
3735 prevent file URLs from linking to chrome URLs.
3737 * public/WebSecurityPolicy.h:
3738 * src/WebSecurityPolicy.cpp:
3740 2010-11-30 James Robinson <jamesr@chromium.org>
3742 Reviewed by Dimitri Glazkov.
3744 [chromium] Update yasm entry in DEPS to match downstream
3745 https://bugs.webkit.org/show_bug.cgi?id=50274
3747 http://src.chromium.org/viewvc/chrome?view=rev&revision=67540 changed the downstream DEPS rule
3748 for yasm to pull unconditionally rather than pulling in each deps_os. This changes the WebKit
3749 chromium DEPS to match.
3753 2010-11-29 Vangelis Kokkevis <vangelis@chromium.org>
3755 Reviewed by Simon Fraser.
3757 Provide more fine grained control to ports over when to turn on accelerated
3759 https://bugs.webkit.org/show_bug.cgi?id=49998
3761 As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
3762 has now been replaced by allowedCompositingTriggers which returns a bitfield of
3763 all the features which can trigger the compositor.
3765 * src/ChromeClientImpl.cpp:
3766 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
3767 * src/ChromeClientImpl.h:
3769 2010-11-30 Jochen Eisinger <jochen@chromium.org>
3771 Reviewed by Darin Fisher.
3773 [chromium] pass webframe to web frame client's cookieJar
3774 https://bugs.webkit.org/show_bug.cgi?id=50148
3776 * public/WebFrameClient.h:
3777 (WebKit::WebFrameClient::cookieJar):
3778 * src/ChromiumBridge.cpp:
3779 (WebCore::getCookieJar):
3781 2010-11-30 Jochen Eisinger <jochen@chromium.org>
3783 Unreviewed. Roll chromium 67532:67541.
3787 2010-11-29 Adam Barth <abarth@webkit.org>
3789 Reviewed by Darin Adler.
3791 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
3792 https://bugs.webkit.org/show_bug.cgi?id=50182
3794 This patch adds a Chromium API for registering schemes as
3795 display-isolated. In a subsequent patch, I'll change the "chrome"
3796 scheme in Chrome to be display isolated instead of local. That will
3797 prevent file URLs from linking to chrome URLs.
3799 * public/WebSecurityPolicy.h:
3800 * src/WebSecurityPolicy.cpp:
3801 (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
3803 2010-11-29 Kent Tamura <tkent@chromium.org>
3805 Reviewed by Darin Fisher.
3807 [Chromium] Add substitution parameters to WebKitClient::queryLocalizedString()
3808 https://bugs.webkit.org/show_bug.cgi?id=50053
3810 * public/WebKitClient.h:
3811 (WebKit::WebKitClient::queryLocalizedString): Add overload functions with
3812 substitution string parameters, and remove the integer parameter overload.
3813 * src/LocalizedStrings.cpp:
3814 (WebCore::query): Add string parameter overloads, and remove the integer parameter overload.
3815 (WebCore::multipleFileUploadText): Call the string parameter query().
3816 (WebCore::validationMessageTooLongText): Pass the parameters to query().
3817 (WebCore::validationMessageRangeUnderflowText): ditto.
3818 (WebCore::validationMessageRangeOverflowText): ditto.
3819 (WebCore::validationMessageStepMismatchText): ditto.
3821 2010-11-29 Dimitri Glazkov <dglazkov@chromium.org>
3823 Remove Build directory that was erroneously added in r72103.
3827 2010-11-29 Andrey Kosyakov <caseq@chromium.org>
3829 Reviewed by Darin Fisher.
3831 Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
3832 Added WebDevToolsAgent::inspect()
3833 https://bugs.webkit.org/show_bug.cgi?id=49727
3835 * public/WebDevToolsAgent.h:
3836 * src/WebDevToolsAgentImpl.cpp:
3837 (WebKit::WebDevToolsAgentImpl::inspectNode):
3838 * src/WebDevToolsAgentImpl.h:
3840 2010-11-29 Dimitri Glazkov <dglazkov@chromium.org>
3842 [Chromium] Remove python_24 dependency, because it is no longer necessary.
3844 * DEPS: Removed python_24 dependency.
3846 2010-11-29 Bernhard Bauer <bauerb@chromium.org>
3848 Reviewed by Jeremy Orlow.
3850 Remove databaseFileName from WebIDBFactory
3851 https://bugs.webkit.org/show_bug.cgi?id=50150
3854 * public/WebIDBFactory.h:
3855 (WebKit::WebIDBFactory::open):
3856 * src/WebIDBFactory.cpp: Removed.
3858 2010-11-26 Andrei Popescu <andreip@google.com>
3860 Reviewed by Jeremy Orlow.
3862 IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
3863 https://bugs.webkit.org/show_bug.cgi?id=50113
3865 * public/WebIDBDatabase.h:
3866 (WebKit::WebIDBDatabase::deleteObjectStore):
3867 (WebKit::WebIDBDatabase::removeObjectStore):
3868 * public/WebIDBObjectStore.h:
3869 (WebKit::WebIDBObjectStore::remove):
3870 (WebKit::WebIDBObjectStore::deleteFunction):
3871 (WebKit::WebIDBObjectStore::deleteIndex):
3872 * src/IDBDatabaseProxy.cpp:
3873 (WebCore::IDBDatabaseProxy::deleteObjectStore):
3874 * src/IDBDatabaseProxy.h:
3875 * src/IDBObjectStoreProxy.cpp:
3876 (WebCore::IDBObjectStoreProxy::deleteFunction):
3877 (WebCore::IDBObjectStoreProxy::deleteIndex):
3878 * src/IDBObjectStoreProxy.h:
3879 * src/WebIDBDatabaseImpl.cpp:
3880 (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
3881 * src/WebIDBDatabaseImpl.h:
3882 * src/WebIDBObjectStoreImpl.cpp:
3883 (WebKit::WebIDBObjectStoreImpl::deleteFunction):
3884 (WebKit::WebIDBObjectStoreImpl::deleteIndex):
3885 * src/WebIDBObjectStoreImpl.h:
3887 2010-11-26 Jeremy Orlow <jorlow@chromium.org>
3889 Reviewed by Steve Block.
3891 Make IDBKeyRange match the spec
3892 https://bugs.webkit.org/show_bug.cgi?id=50105
3894 Remove flags and instead add two booleans for being open.
3895 Change left to lower and right to upper everywhere.
3897 * public/WebIDBKeyRange.h:
3898 (WebKit::WebIDBKeyRange::WebIDBKeyRange):
3899 * src/WebIDBKeyRange.cpp:
3900 (WebKit::WebIDBKeyRange::assign):
3901 (WebKit::WebIDBKeyRange::left):
3902 (WebKit::WebIDBKeyRange::right):
3903 (WebKit::WebIDBKeyRange::lower):
3904 (WebKit::WebIDBKeyRange::upper):
3905 (WebKit::WebIDBKeyRange::lowerOpen):
3906 (WebKit::WebIDBKeyRange::upperOpen):
3907 (WebKit::WebIDBKeyRange::flags):
3909 2010-11-25 Jeremy Orlow <jorlow@chromium.org>
3911 Reviewed by Steve Block.
3913 Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
3914 https://bugs.webkit.org/show_bug.cgi?id=50081
3916 Plumb IDBTransaction.objectStore's exception code.
3918 * public/WebIDBTransaction.h:
3919 (WebKit::WebIDBTransaction::objectStore):
3920 * src/IDBDatabaseProxy.cpp:
3921 (WebCore::IDBDatabaseProxy::transaction):
3922 * src/IDBTransactionBackendProxy.cpp:
3923 (WebCore::IDBTransactionBackendProxy::objectStore):
3924 * src/IDBTransactionBackendProxy.h:
3925 * src/WebIDBDatabaseImpl.cpp:
3926 (WebKit::WebIDBDatabaseImpl::createObjectStore):
3927 (WebKit::WebIDBDatabaseImpl::transaction):
3928 * src/WebIDBTransactionImpl.cpp:
3929 (WebKit::WebIDBTransactionImpl::objectStore):
3930 * src/WebIDBTransactionImpl.h:
3932 2010-11-26 Hans Wennborg <hans@chromium.org>
3934 Reviewed by Jeremy Orlow.
3936 IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
3937 https://bugs.webkit.org/show_bug.cgi?id=50102
3939 Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface
3941 * public/WebIDBDatabase.h:
3942 (WebKit::WebIDBDatabase::objectStores):
3943 (WebKit::WebIDBDatabase::objectStoreNames):
3944 * src/IDBDatabaseProxy.cpp:
3945 (WebCore::IDBDatabaseProxy::objectStoreNames):
3946 * src/IDBDatabaseProxy.h:
3947 * src/WebIDBDatabaseImpl.cpp:
3948 (WebKit::WebIDBDatabaseImpl::objectStoreNames):
3949 * src/WebIDBDatabaseImpl.h:
3951 2010-11-26 Andrei Popescu <andreip@google.com>
3953 Reviewed by Jeremy Orlow.
3955 IDBFactory::open should not have a description argument.
3956 https://bugs.webkit.org/show_bug.cgi?id=50087
3958 * public/WebIDBDatabase.h:
3959 (WebKit::WebIDBDatabase::description):
3960 * public/WebIDBFactory.h:
3961 (WebKit::WebIDBFactory::open):
3962 * src/IDBFactoryBackendProxy.cpp:
3963 (WebCore::IDBFactoryBackendProxy::open):
3964 * src/IDBFactoryBackendProxy.h:
3965 * src/WebIDBDatabaseImpl.cpp:
3966 * src/WebIDBDatabaseImpl.h:
3967 * src/WebIDBFactory.cpp:
3968 * src/WebIDBFactoryImpl.cpp:
3969 (WebKit::WebIDBFactoryImpl::open):
3970 * src/WebIDBFactoryImpl.h:
3972 2010-11-25 Ilya Tikhonovsky <loislo@chromium.org>
3974 Unreviewed. Roll chromium 67004:67404.
3978 2010-11-25 Jeremy Orlow <jorlow@chromium.org>
3980 Reviewed by Steve Block.
3982 Add exception code to WebIDBTransaction::objectStore
3983 https://bugs.webkit.org/show_bug.cgi?id=50030
3985 * public/WebIDBTransaction.h:
3986 (WebKit::WebIDBTransaction::objectStore):
3988 2010-11-24 MORITA Hajime <morrita@google.com>
3990 Reviewed by Kent Tamura.
3992 [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick()
3993 https://bugs.webkit.org/show_bug.cgi?id=50052
3995 makeStringArrayImpl() assumed wtf::StringImpl data is
3996 null-terminated. But it is not.
3997 Changed the code to pass the string length explicitly instead of
3998 making it computed by v8::String::New().
4000 * src/WebBindings.cpp:
4001 (WebKit::makeStringArrayImpl):
4003 2010-11-24 Eric Uhrhane <ericu@chromium.org>
4005 Reviewed by David Levin.
4007 [Chromium] Implement FileWriterSync
4008 https://bugs.webkit.org/show_bug.cgi?id=49940
4010 Added waitForOperationToComplete, delegating to the bridge.
4011 * src/WorkerAsyncFileWriterChromium.cpp:
4012 * src/WorkerAsyncFileWriterChromium.h:
4014 Added waitForOperationToComplete and some debug-only code to make sure it's working properly.
4015 * src/WorkerFileWriterCallbacksBridge.cpp:
4016 (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
4017 (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
4018 (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
4019 (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge):
4020 (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread):
4021 (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread):
4022 (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread):
4023 (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete):
4024 * src/WorkerFileWriterCallbacksBridge.h:
4026 2010-11-24 Kenneth Russell <kbr@google.com>
4028 Reviewed by Darin Fisher.
4030 [chromium] Disable antialiasing for compositor
4031 https://bugs.webkit.org/show_bug.cgi?id=50039
4033 * src/WebViewImpl.cpp:
4034 (WebCore::getCompositorContextAttributes):
4035 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4036 (WebKit::WebViewImpl::graphicsContext3D):
4038 2010-11-24 Satish Sampath <satish@chromium.org>
4040 Reviewed by Steve Block.
4042 Remove API migration code which is no longer used.
4043 https://bugs.webkit.org/show_bug.cgi?id=50013
4045 * public/WebSpeechInputControllerMock.h:
4047 2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
4049 Unreviewed, rolling out r72628.
4050 http://trac.webkit.org/changeset/72628
4051 https://bugs.webkit.org/show_bug.cgi?id=49994
4053 This patch is causing layout-test failtures on GTK Linux
4054 64-bit Debug (Requested by ctguil on #webkit).
4056 * public/WebAccessibilityObject.h:
4057 * src/WebAccessibilityObject.cpp:
4058 (WebKit::WebAccessibilityObject::parentObject):
4060 2010-11-23 Chris Guillory <chris.guillory@google.com>
4062 Reviewed by Dimitri Glazkov.
4064 Include the FrameView widget of a RenderWidget in the accessibility tree.
4065 https://bugs.webkit.org/show_bug.cgi?id=49106
4067 * public/WebAccessibilityObject.h:
4068 * src/WebAccessibilityObject.cpp:
4069 (WebKit::WebAccessibilityObject::equals):
4070 (WebKit::WebAccessibilityObject::parentObject):
4072 2010-11-23 John Knottenbelt <jknotten@chromium.org>
4074 Reviewed by Darin Fisher.
4076 [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition.
4077 https://bugs.webkit.org/show_bug.cgi?id=49735
4079 Introduce WebKit API types so that the browser implementation can feed
4080 position and error updates to the WebCore::GeolocationController.
4083 * public/WebGeolocationError.h: Added.
4084 (WebKit::WebGeolocationError::WebGeolocationError):
4085 (WebKit::WebGeolocationError::~WebGeolocationError):
4086 * public/WebGeolocationPosition.h: Added.
4087 (WebKit::WebGeolocationPosition::WebGeolocationPosition):
4088 (WebKit::WebGeolocationPosition::~WebGeolocationPosition):
4089 * src/WebGeolocationError.cpp: Added.
4090 (WebKit::WebGeolocationError::assign):
4091 (WebKit::WebGeolocationError::reset):
4092 (WebKit::WebGeolocationError::WebGeolocationError):
4093 (WebKit::WebGeolocationError::operator=):
4094 (WebKit::WebGeolocationError::operator WTF::PassRefPtr<WebCore::GeolocationError>):
4095 * src/WebGeolocationPosition.cpp: Added.
4096 (WebKit::WebGeolocationPosition::assign):
4097 (WebKit::WebGeolocationPosition::reset):
4098 (WebKit::WebGeolocationPosition::operator=):
4099 (WebKit::WebGeolocationPosition::operator PassRefPtr<WebCore::GeolocationPosition>):
4101 2010-11-23 Jonathan Backer <backer@chromium.org>
4103 Reviewed by Kenneth Russell.
4105 Renderer is resizing IOSurfaces when accelerated compositing is disabled.
4106 https://bugs.webkit.org/show_bug.cgi?id=49827
4108 - IOSurfaces are only presented when accelerated compositing is enabled.
4109 - Slight performance increase (and clean-up for using this path for Linux and Windows).
4111 * src/WebViewImpl.cpp:
4112 (WebKit::WebViewImpl::resize):
4114 2010-11-23 Grace Kloba <klobag@chromium.org>
4116 Reviewed by Kenneth Russell.
4118 [chromium] Accumulated scroll damage rect should be in the content space
4119 https://bugs.webkit.org/show_bug.cgi?id=49842
4121 * src/WebViewImpl.cpp:
4122 (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect.
4124 2010-11-18 Darin Fisher <darin@chromium.org>
4126 Reviewed by Dimitri Glazkov.
4128 Add a mechanism for creating a WebURLLoader that is associated with a
4129 particular WebFrame.
4130 https://bugs.webkit.org/show_bug.cgi?id=49764
4132 This will be used by code that calls webKitClient()->createURLLoader()
4133 from within the Chromium source tree.
4135 An associated WebURLLoader should be treated like a subresource of the
4136 WebFrame's document.
4139 * public/WebFrame.h:
4140 * src/AssociatedURLLoader.cpp: Added.
4141 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
4142 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
4143 (WebKit::AssociatedURLLoader::loadSynchronously):
4144 (WebKit::AssociatedURLLoader::loadAsynchronously):
4145 (WebKit::AssociatedURLLoader::cancel):
4146 (WebKit::AssociatedURLLoader::setDefersLoading):
4147 (WebKit::AssociatedURLLoader::PrepareRequest):
4148 * src/AssociatedURLLoader.h: Added.
4149 * src/WebFrameImpl.cpp:
4150 (WebKit::WebFrameImpl::createAssociatedURLLoader):
4151 * src/WebFrameImpl.h:
4153 2010-11-23 Satish Sampath <satish@chromium.org>
4155 Unreviewed, chromium build fix.
4157 * public/WebSpeechInputControllerMock.h:
4158 (WebKit::WebSpeechInputControllerMock::setMockRecognitionResult):
4160 2010-11-18 Satish Sampath <satish@chromium.org>
4162 Reviewed by Jeremy Orlow.
4164 For speech input event, send an event object containing all the recognition results and metadata.
4165 https://bugs.webkit.org/show_bug.cgi?id=49736
4167 Updated mock object's method to new signature.
4169 * public/WebSpeechInputControllerMock.h:
4170 * src/WebSpeechInputControllerMockImpl.cpp:
4171 (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult):
4172 * src/WebSpeechInputControllerMockImpl.h:
4174 2010-11-22 Alexey Marinichev <amarinichev@chromium.org>
4176 Reviewed by Kenneth Russell.
4178 [chromium] Implement Extensions3DChromium::getGraphicsResetStatusARB
4179 https://bugs.webkit.org/show_bug.cgi?id=49946
4181 * public/WebGraphicsContext3D.h: added isContextLost()
4182 * src/Extensions3DChromium.cpp:
4183 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
4184 * src/GraphicsContext3DChromium.cpp:
4185 (WebCore::GraphicsContext3DInternal::isContextLost):
4186 * src/GraphicsContext3DInternal.h:
4187 * src/WebGraphicsContext3DDefaultImpl.cpp:
4188 (WebKit::WebGraphicsContext3DDefaultImpl::isContextLost):
4189 * src/WebGraphicsContext3DDefaultImpl.h:
4190 * src/WebViewImpl.cpp:
4191 (WebKit::WebViewImpl::reallocateRenderer): ensure root layer repaining
4193 2010-11-22 Jay Civelli <jcivelli@chromium.org>
4195 Reviewed by David Levin.
4197 Don't create an external popup menu when there are no items to show.
4198 https://bugs.webkit.org/show_bug.cgi?id=49937
4200 * src/ExternalPopupMenu.cpp:
4201 (WebKit::ExternalPopupMenu::show):
4203 2010-11-22 Nat Duca <nduca@chromium.org>
4205 Reviewed by Kenneth Russell.
4207 [chromium] Send didActivateAcceleratedCompositing when compositor
4208 initializes but does not create the shared context3d.
4209 https://bugs.webkit.org/show_bug.cgi?id=49930
4211 * src/WebViewImpl.cpp:
4212 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4214 2010-11-22 Tony Chang <tony@chromium.org>
4216 Unreviewed, roll Chromium DEPS to r67004.
4220 2010-11-22 Pavel Feldman <pfeldman@chromium.org>
4222 Not reviewed. Partially roll out r72282.
4223 It should not have modified devtools files.
4225 * src/js/devTools.css:
4227 2010-11-19 Ilya Sherman <isherman@chromium.org>
4229 Reviewed by Darin Fisher.
4231 Expose default value of maxLength in Chromium API
4232 https://bugs.webkit.org/show_bug.cgi?id=49723
4234 * public/WebInputElement.h: Added constant defaultMaximumLength
4235 * src/WebInputElement.cpp:
4237 2010-11-18 Zhenyao Mo <zmo@google.com>
4239 Reviewed by Kenneth Russell.
4241 GraphicsContext3D::reshape is clearing using current clear color instead of transparent
4242 https://bugs.webkit.org/show_bug.cgi?id=44064
4244 * src/WebGraphicsContext3DDefaultImpl.cpp:
4245 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Use 0 as clear values.
4247 2010-11-19 Tony Chang <tony@chromium.org>
4249 Unreviewed, updating Chromium DEPS to try and fix the chromium win build.
4253 2010-11-19 Tony Chang <tony@chromium.org>
4255 Reviewed by Kent Tamura.
4257 [chromium] Enable webkit's TestNetscapePlugIn for DRT on win and linux
4258 https://bugs.webkit.org/show_bug.cgi?id=49706
4260 It is enabled simply by copying the plugin into
4261 {Debug,Release}/plugins. This change also rolls in a version of
4262 Chromium that disables the old plugin.
4266 2010-11-19 Sheriff Bot <webkit.review.bot@gmail.com>
4268 Unreviewed, rolling out r72399.
4269 http://trac.webkit.org/changeset/72399
4270 https://bugs.webkit.org/show_bug.cgi?id=49805
4272 Broke Chromium build (Requested by antonm_ on #webkit).
4274 * src/ChromeClientImpl.cpp:
4275 (WebKit::ChromeClientImpl::popupOpened):
4276 * src/ChromeClientImpl.h:
4278 2010-11-19 Jay Civelli <jcivelli@chromium.org>
4280 Reviewed by David Levin.
4282 Removing unused code to show popup externally on Mac.
4283 https://bugs.webkit.org/show_bug.cgi?id=49747
4285 * src/ChromeClientImpl.cpp:
4286 (WebKit::ChromeClientImpl::popupOpened):
4287 * src/ChromeClientImpl.h:
4289 2010-11-19 Pavel Feldman <pfeldman@chromium.org>
4291 Not reviewed: flip chromium version to mitigate two-sided patch impact.
4295 2010-11-18 Pavel Feldman <pfeldman@chromium.org>
4297 Reviewed by Yury Semikhatsky.
4299 Web Inspector: provide response code and status text as a part
4300 of raw headers data.
4301 https://bugs.webkit.org/show_bug.cgi?id=49668
4304 * public/WebHTTPLoadInfo.h: Renamed from WebKit/chromium/public/WebResourceRawHeaders.h.
4305 (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
4306 (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo):
4307 (WebKit::WebHTTPLoadInfo::operator =):
4308 * public/WebURLResponse.h:
4309 * src/WebHTTPLoadInfo.cpp: Renamed from WebKit/chromium/src/WebResourceRawHeaders.cpp.
4310 (WebKit::WebHTTPLoadInfo::initialize):
4311 (WebKit::WebHTTPLoadInfo::reset):
4312 (WebKit::WebHTTPLoadInfo::assign):
4313 (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
4314 (WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>):
4315 (WebKit::WebHTTPLoadInfo::responseCode):
4316 (WebKit::WebHTTPLoadInfo::setResponseCode):
4317 (WebKit::WebHTTPLoadInfo::statusText):
4318 (WebKit::WebHTTPLoadInfo::setStatusText):
4319 (WebKit::addHeader):
4320 (WebKit::WebHTTPLoadInfo::addRequestHeader):
4321 (WebKit::WebHTTPLoadInfo::addResponseHeader):
4322 * src/WebURLResponse.cpp:
4323 (WebKit::WebURLResponse::httpLoadInfo):
4324 (WebKit::WebURLResponse::setHTTPLoadInfo):
4326 2010-11-18 Kent Tamura <tkent@chromium.org>
4328 Reviewed by Tony Chang.
4330 Add more validation message functions
4331 https://bugs.webkit.org/show_bug.cgi?id=49716
4333 Add implementations of new functions and symbols for new messages.
4335 * public/WebLocalizedString.h:
4336 * src/LocalizedStrings.cpp:
4337 (WebCore::validationMessageValueMissingForCheckboxText):
4338 (WebCore::validationMessageValueMissingForFileText):
4339 (WebCore::validationMessageValueMissingForMultipleFileText):
4340 (WebCore::validationMessageValueMissingForRadioText):
4341 (WebCore::validationMessageValueMissingForSelectText):
4343 2010-11-18 Tony Chang <tony@chromium.org>
4345 Unreviewed, fix chromium compile. We need ipc and openssl now.
4349 2010-11-18 James Robinson <jamesr@chromium.org>
4351 Reviewed by David Levin.
4353 [chromium] Update chromium DEPS to r66658 to pick up skia roll
4354 https://bugs.webkit.org/show_bug.cgi?id=49754
4358 2010-11-18 Jeremy Orlow <jorlow@chromium.org>
4360 Reviewed by Darin Fisher.
4362 [chromium] IndexedDB API cleanup
4363 https://bugs.webkit.org/show_bug.cgi?id=49733
4365 Make it so that you can't directly instantiate our "interface"
4366 classes. Remove some code for 2 sided merges.
4368 * public/WebIDBCursor.h:
4369 (WebKit::WebIDBCursor::WebIDBCursor):
4370 * public/WebIDBDatabase.h:
4371 (WebKit::WebIDBDatabase::WebIDBDatabase):
4372 * public/WebIDBIndex.h:
4373 (WebKit::WebIDBIndex::WebIDBIndex):
4374 * public/WebIDBObjectStore.h:
4375 (WebKit::WebIDBObjectStore::WebIDBObjectStore):
4376 * public/WebIDBTransaction.h:
4377 (WebKit::WebIDBTransaction::WebIDBTransaction):
4378 * src/IDBTransactionBackendProxy.cpp:
4379 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
4381 2010-11-18 Pavel Feldman <pfeldman@chromium.org>
4383 Reviewed by Yury Semikhatsky.
4385 Chrome DevTools: minify front-end JavaScript.
4386 https://bugs.webkit.org/show_bug.cgi?id=49657
4388 * scripts/concatenate_js_files.py:
4389 * scripts/jsmin.py: Added.
4391 2010-11-18 Chris Rogers <crogers@google.com>
4393 Reviewed by Dimitri Glazkov.
4395 Add loadPlatformAudioResource() and decodeAudioFileData() to ChromiumBridge
4396 https://bugs.webkit.org/show_bug.cgi?id=49557
4399 * public/WebAudioBus.h: Added.
4400 (WebKit::WebAudioBus::WebAudioBus):
4401 * public/WebKitClient.h:
4402 (WebKit::WebKitClient::decodeAudioFileData):
4403 * src/ChromiumBridge.cpp:
4404 (WebCore::ChromiumBridge::loadPlatformAudioResource):
4405 (WebCore::ChromiumBridge::decodeAudioFileData):
4406 * src/WebAudioBus.cpp: Added.
4407 (WebKit::WebAudioBus::~WebAudioBus):
4408 (WebKit::WebAudioBus::initialize):
4409 (WebKit::WebAudioBus::numberOfChannels):
4410 (WebKit::WebAudioBus::length):
4411 (WebKit::WebAudioBus::sampleRate):
4412 (WebKit::WebAudioBus::channelData):
4413 (WebKit::WebAudioBus::release):
4415 2010-11-17 Sheriff Bot <webkit.review.bot@gmail.com>
4417 Unreviewed, rolling out r72228.
4418 http://trac.webkit.org/changeset/72228
4419 https://bugs.webkit.org/show_bug.cgi?id=49712
4421 Caused many >10 regressions on Win and Linux gpu layout test
4422 runs. (Requested by dave_levin on #webkit).
4424 * src/WebGraphicsContext3DDefaultImpl.cpp:
4425 (WebKit::bytesPerComponent):
4426 (WebKit::componentsPerPixel):
4427 (WebKit::imageSizeInBytes):
4428 (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D):
4430 2010-11-17 Dimitri Glazkov <dglazkov@chromium.org>
4432 Reviewed by Darin Adler.
4434 Converge means of querying a parent node into one way, which is Node::parentNode.
4435 https://bugs.webkit.org/show_bug.cgi?id=49686
4437 * src/WebFrameImpl.cpp:
4438 (WebKit::WebFrameImpl::insertStyleText): Changed to use parentNode.
4439 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): Ditto.
4441 2010-11-16 Zhenyao Mo <zmo@google.com>
4443 Reviewed by Kenneth Russell.
4445 WebGLRenderingContext needs to zero textures and renderbuffers
4446 https://bugs.webkit.org/show_bug.cgi?id=49355
4448 * src/WebGraphicsContext3DDefaultImpl.cpp: Don't deal with texture initialization at this level.
4450 2010-11-17 Satish Sampath <satish@chromium.org>
4452 Reviewed by Jeremy Orlow.
4454 Clear the speech input mock explicitly before each test.
4455 https://bugs.webkit.org/show_bug.cgi?id=49660
4457 * public/WebSpeechInputControllerMock.h:
4458 * src/WebSpeechInputControllerMockImpl.cpp:
4459 (WebKit::WebSpeechInputControllerMockImpl::clearResults): Added method to clear results.
4460 * src/WebSpeechInputControllerMockImpl.h:
4462 2010-11-17 Eric Uhrhane <ericu@chromium.org>
4464 Reviewed by David Levin.
4466 [Chromium] implementation of async FileWriter for workers
4467 https://bugs.webkit.org/show_bug.cgi?id=47681
4469 Tests are in a separate changelist.
4474 * src/WorkerAsyncFileSystemChromium.cpp: Added WorkerAsyncFileWriterChromium construction.
4475 * src/WorkerAsyncFileWriterChromium.cpp: Added.
4476 * src/WorkerAsyncFileWriterChromium.h: Added.
4478 This class bridges between the context and main threads for the WorkerAsyncFileWriterChromium.
4479 * src/WorkerFileWriterCallbacksBridge.cpp: Added.
4480 * src/WorkerFileWriterCallbacksBridge.h: Added.
4482 2010-11-17 John Mellor <johnme@chromium.org>
4484 Reviewed by Darin Fisher.
4486 [chromium] Expose frame flattening setting in WebSettings.
4487 https://bugs.webkit.org/show_bug.cgi?id=49621
4489 * public/WebSettings.h:
4490 * src/WebSettingsImpl.cpp:
4491 (WebKit::WebSettingsImpl::setFrameFlatteningEnabled):
4492 * src/WebSettingsImpl.h:
4494 2010-11-17 Jonathan Backer <backer@chromium.org>
4496 Reviewed by Kenneth Russell.
4498 [Chromium] Resize initiated by renderer.
4499 https://bugs.webkit.org/show_bug.cgi?id=49617
4501 To address synchronization issues with resizing, make resize work like DARWIN.
4503 * src/WebViewImpl.cpp:
4504 (WebKit::WebViewImpl::resize):
4506 2010-11-17 Stuart Morgan <stuartmorgan@chromium.org>
4508 Reviewed by Dimitri Glazkov.
4510 Fix click count for mouse-up events.
4511 - clickCount for mouse up was lost in conversion from NSEvent
4512 - clickCount was also lost when disptaching events through the
4513 plugin mouse capture event codepath.
4515 https://bugs.webkit.org/show_bug.cgi?id=49290
4517 * src/WebViewImpl.cpp:
4518 (WebKit::WebViewImpl::handleInputEvent):
4519 * src/mac/WebInputEventFactory.mm:
4520 (WebKit::WebInputEventFactory::mouseEvent):
4522 2010-11-11 Zhenyao Mo <zmo@google.com>
4524 Reviewed by Kenneth Russell.
4526 Implement UNPACK_COLORSPACE_CONVERSION_WEBGL
4527 https://bugs.webkit.org/show_bug.cgi?id=47196
4529 * src/WebImageDecoder.cpp:
4530 (WebKit::WebImageDecoder::init): Add ignoreGammaAndColorProfile parameter.
4532 2010-11-12 Zhenyao Mo <zmo@google.com>
4534 Reviewed by Kenneth Russell.
4536 Refactor GL backend flags
4537 https://bugs.webkit.org/show_bug.cgi?id=49460
4539 * public/WebGraphicsContext3D.h: Remove GL flag queries at this level.
4540 * src/GraphicsContext3DChromium.cpp: Ditto.
4541 * src/GraphicsContext3DInternal.h: Ditto.
4542 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
4543 * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
4545 2010-11-16 Pavel Feldman <pfeldman@chromium.org>
4547 Not reviewed. Chromium build fix.
4550 * scripts/concatenate_css_files.py: Renamed from WebKit/chromium/Build/concatenate_css_files.py.
4551 * scripts/concatenate_js_files.py: Renamed from WebKit/chromium/Build/concatenate_js_files.py.
4552 * scripts/generate_devtools_html.py: Renamed from WebKit/chromium/Build/generate_devtools_html.py.
4554 2010-11-16 Pavel Feldman <pfeldman@chromium.org>
4556 Reviewed by Yury Semikhatsky.
4558 Chrome DevTools: concatenate CSS files, do not link
4559 missing JS files in release mode.
4560 https://bugs.webkit.org/show_bug.cgi?id=49586
4562 * Build/concatenate_css_files.py: Added.
4563 * Build/concatenate_js_files.py: Added.
4564 * Build/generate_devtools_html.py: Added.
4567 2010-11-15 Nat Duca <nduca@chromium.org>
4569 Reviewed by Darin Fisher.
4571 [chromium] Make WebWidget actively notify client when compositing enables.
4572 https://bugs.webkit.org/show_bug.cgi?id=49396
4574 * public/WebWidgetClient.h:
4575 (WebKit::WebWidgetClient::didAcceleratedCompositingEnable):
4576 * src/WebViewImpl.cpp:
4577 (WebKit::WebViewImpl::resize):
4578 (WebKit::WebViewImpl::paint):
4579 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
4580 (WebKit::WebViewImpl::scrollRootLayerRect):
4581 (WebKit::WebViewImpl::invalidateRootLayerRect):
4582 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4584 2010-11-15 Kenneth Russell <kbr@google.com>
4586 Reviewed by James Robinson.
4588 [chromium] Remove assumption that GL functions are function pointers
4589 https://bugs.webkit.org/show_bug.cgi?id=49486
4591 Added appropriate extension queries and no longer assume that GL
4592 function names are function pointers which can be tested.
4594 * src/WebGraphicsContext3DDefaultImpl.cpp:
4595 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
4596 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
4597 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
4598 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
4599 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
4600 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
4601 (WebKit::WebGraphicsContext3DDefaultImpl::getString):
4602 * src/WebGraphicsContext3DDefaultImpl.h:
4604 2010-11-15 Ilya Sherman <isherman@chromium.org>
4606 Reviewed by Kent Tamura.
4608 Add capability for displaying warnings to autofill popup
4609 Warnings are displayed in dark gray italic.
4610 https://bugs.webkit.org/show_bug.cgi?id=49291
4611 http://code.google.com/p/chromium/issues/detail?id=58509
4613 * src/AutoFillPopupMenuClient.cpp:
4614 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
4615 Updated logic -- can only remove Autocomplete suggestions, which have unique ID 0.
4616 (WebKit::AutoFillPopupMenuClient::itemIsEnabled): False for warnings.
4617 (WebKit::AutoFillPopupMenuClient::itemStyle): Dark gray italic for warnings.
4618 (WebKit::AutoFillPopupMenuClient::menuStyle): Variable name changed.
4619 (WebKit::AutoFillPopupMenuClient::itemIsWarning): True for unique ID < 0.
4620 (WebKit::AutoFillPopupMenuClient::initialize): Updated cached styles (see above).
4621 * src/AutoFillPopupMenuClient.h: Added itemIsEnabled(), variable to cache warning style.
4622 * src/WebViewImpl.cpp: Minor cleanup.
4623 (WebKit::WebViewImpl::applyAutoFillSuggestions):
4625 2010-11-14 Kent Tamura <tkent@chromium.org>
4627 Reviewed by Dimitri Glazkov.
4629 Improve API for form validation message strings
4630 https://bugs.webkit.org/show_bug.cgi?id=34945
4632 * public/WebLocalizedString.h:
4633 * src/LocalizedStrings.cpp:
4634 (WebCore::validationMessageTypeMismatchForEmailText):
4635 (WebCore::validationMessageTypeMismatchForMultipleEmailText):
4636 (WebCore::validationMessageTypeMismatchForURLText):
4637 (WebCore::validationMessageTooLongText):
4638 (WebCore::validationMessageRangeUnderflowText):
4639 (WebCore::validationMessageRangeOverflowText):
4640 (WebCore::validationMessageStepMismatchText):
4642 2010-11-13 Shinichiro Hamaji <hamaji@chromium.org>
4644 Reviewed by Kent Tamura.
4646 [Chromium] print doesn't work on http://nodejs.org/api.html
4647 https://bugs.webkit.org/show_bug.cgi?id=49304
4649 * src/WebFrameImpl.cpp:
4650 (WebKit::ChromePrintContext::begin):
4651 (WebKit::WebFrameImpl::printBegin):
4653 2010-11-12 James Simonsen <simonjam@chromium.org>
4655 Reviewed by Darin Fisher.
4657 [Web Timing] Rename interfaces:
4658 - Navigation -> PerformanceNavigation
4659 - Timing -> PerformanceTiming
4660 https://bugs.webkit.org/show_bug.cgi?id=48919
4662 * src/WebPerformance.cpp:
4663 (WebKit::WebPerformance::navigationType):
4665 2010-11-12 Zhenyao Mo <zmo@google.com>
4667 Reviewed by James Robinson.
4669 WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations
4670 https://bugs.webkit.org/show_bug.cgi?id=48282
4672 Simple fix for a regression introduced in r71793.
4674 * src/WebGraphicsContext3DDefaultImpl.cpp:
4675 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
4677 2010-11-12 Ilya Sherman <isherman@chromium.org>
4679 Reviewed by Eric Seidel.
4681 Remove some trailing whitespace
4682 https://bugs.webkit.org/show_bug.cgi?id=49433
4684 * src/ChromeClientImpl.cpp:
4685 (WebKit::ChromeClientImpl::createPopupMenu):
4686 * src/WebViewImpl.cpp:
4687 (WebKit::WebViewImpl::scrollRootLayerRect):
4688 (WebKit::WebViewImpl::invalidateRootLayerRect):
4690 2010-11-11 MORITA Hajime <morrita@google.com>
4692 Unreviewed another attempt to fx windows build.
4694 * src/WebBindings.cpp:
4695 (WebKit::makeStringArrayImpl):
4697 2010-11-11 MORITA Hajime <morrita@google.com>
4699 Unreviewed attempt to fx windows build.
4701 * src/WebBindings.cpp:
4702 (WebKit::makeStringArrayImpl):
4704 2010-11-11 MORITA Hajime <morrita@google.com>
4706 Reviewed by Kent Tamura.
4708 editing/selection/context-menu-on-text.html fails on chromium
4709 https://bugs.webkit.org/show_bug.cgi?id=45898
4711 Added makeStringArray(), that is used by DumpRenderTree.
4713 * public/WebBindings.h:
4714 * src/WebBindings.cpp:
4715 (WebKit::makeStringArrayImpl): Added.
4716 (WebKit::WebBindings::makeStringArray): Added.
4718 2010-11-11 Tony Gentilcore <tonyg@chromium.org>
4720 Reviewed by Nate Chapin.
4722 [chromium] Convert WebPerformance doubles to seconds
4723 https://bugs.webkit.org/show_bug.cgi?id=49232
4725 This makes them suitable for passing to Time::FromDoubleT().
4727 * src/WebPerformance.cpp:
4728 (WebKit::millisecondsToSeconds):
4729 (WebKit::WebPerformance::navigationStart):
4730 (WebKit::WebPerformance::unloadEventEnd):
4731 (WebKit::WebPerformance::redirectStart):
4732 (WebKit::WebPerformance::redirectEnd):
4733 (WebKit::WebPerformance::fetchStart):
4734 (WebKit::WebPerformance::domainLookupStart):
4735 (WebKit::WebPerformance::domainLookupEnd):
4736 (WebKit::WebPerformance::connectStart):
4737 (WebKit::WebPerformance::connectEnd):
4738 (WebKit::WebPerformance::requestStart):
4739 (WebKit::WebPerformance::requestEnd):
4740 (WebKit::WebPerformance::responseStart):
4741 (WebKit::WebPerformance::responseEnd):
4742 (WebKit::WebPerformance::loadEventStart):
4743 (WebKit::WebPerformance::loadEventEnd):
4745 2010-11-11 Hans Wennborg <hans@chromium.org>
4747 Reviewed by Jeremy Orlow.
4749 IndexedDB: signal IDBFactoryBackendInterface destruction to embedder
4750 https://bugs.webkit.org/show_bug.cgi?id=49313
4752 Implement ChromiumBridge::idbShutdown(), passing through to the
4755 * public/WebKitClient.h:
4756 (WebKit::WebKitClient::idbShutdown):
4757 * src/ChromiumBridge.cpp:
4758 (WebCore::ChromiumBridge::idbShutdown):
4760 2010-11-10 Kenneth Russell <kbr@google.com>
4762 Reviewed by James Robinson.
4764 [chromium] Clean up gfx::GetGLImplementation calls in WebGraphicsContext3DDefaultImpl
4765 https://bugs.webkit.org/show_bug.cgi?id=49336
4767 * src/WebGraphicsContext3DDefaultImpl.cpp:
4768 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
4769 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
4770 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
4771 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
4773 2010-11-10 Evan Stade <estade@chromium.org>
4775 Reviewed by Tony Chang.
4777 [chromium] menu key doesn't work when capslock or numslock is on
4778 https://bugs.webkit.org/show_bug.cgi?id=49289
4780 Add a special bitmask for the "input" modifier keys (shift, alt, crtl, meta). The Modifier
4781 enum has grown to something that might be better termed State, but changing the nomenclature
4782 now is difficult. The bitmask gets its name from the related function getWebInputModifiers.
4784 * public/WebInputEvent.h: add InputModifiers mask for true modifier keys
4785 * src/WebViewImpl.cpp: disregard non-modifier keys
4786 (WebKit::WebViewImpl::keyEvent):
4788 2010-11-10 Csaba Osztrogonác <ossy@webkit.org>
4790 Reviewed by David Hyatt.
4792 HTML5 Ruby support should be mandatory feature
4793 https://bugs.webkit.org/show_bug.cgi?id=49272
4795 Remove Ruby as optional feature.
4799 2010-11-10 Tony Chang <tony@chromium.org>
4801 Unreviewed, add libvpx as a chromium dependency.
4803 This should fix the chromium linux build.
4807 2010-11-10 Peter Rybin <peter.rybin@gmail.com>
4809 Reviewed by Adam Barth.
4811 HTML parser should provide script column position within HTML document to JavaScript engine
4812 https://bugs.webkit.org/show_bug.cgi?id=45271
4814 Replaces script line number with TextPosition structure.
4816 * src/WebFrameImpl.cpp:
4817 (WebKit::WebFrameImpl::executeScript):
4818 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
4819 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
4821 2010-11-09 Kenneth Russell <kbr@google.com>
4823 Reviewed by James Robinson.
4825 WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations
4826 https://bugs.webkit.org/show_bug.cgi?id=48282
4828 Fixed assumptions in WebGraphicsContext3DDefaultImpl that it was
4829 running on top of desktop GL.
4831 Tested various WebGL demos on Windows with ANGLE and
4832 --in-process-webgl --disable-accelerated-compositing; all are now
4833 working. Verified that --use-gl=desktop continues to work in the
4836 * src/WebGraphicsContext3DDefaultImpl.cpp:
4837 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
4838 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
4839 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
4840 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
4841 (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
4842 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
4843 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
4844 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
4845 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
4846 * src/WebGraphicsContext3DDefaultImpl.h:
4848 2010-11-09 Kent Tamura <tkent@chromium.org>
4850 Reviewed by Dimitri Glazkov.
4852 [Chromium] Add form validation message support to WebLocalizedString.h
4853 https://bugs.webkit.org/show_bug.cgi?id=49239
4855 * DEPS: Roll Chromium revision to r65502 to have crrev.com/65502
4856 * public/WebLocalizedString.h: Add new symbols
4857 * src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions.
4858 (WebCore::validationMessageValueMissingText):
4859 (WebCore::validationMessageTypeMismatchText):
4860 (WebCore::validationMessagePatternMismatchText):
4861 (WebCore::validationMessageTooLongText):
4862 (WebCore::validationMessageRangeUnderflowText):
4863 (WebCore::validationMessageRangeOverflowText):
4864 (WebCore::validationMessageStepMismatchText):
4866 2010-11-09 Tony Chang <tony@chromium.org>
4868 Unreviewed, rolling chromium DEPS.
4870 * DEPS: Roll to r65462.
4872 2010-11-09 Mihai Parparita <mihaip@chromium.org>
4874 Unreviewed Chromium Windows build fix.
4876 Add isDisplayNone to the PopupMenuStyle constructor call in
4877 PopupMenuTest (necessary after r71618).
4879 * tests/PopupMenuTest.cpp:
4880 (WebKit::TestPopupMenuClient::itemStyle):
4882 2010-11-09 Shinichiro Hamaji <hamaji@chromium.org>
4884 Reviewed by Dimitri Glazkov.
4886 [Chromium] display:none has no effect on <option> element
4887 https://bugs.webkit.org/show_bug.cgi?id=49169
4889 * src/AutoFillPopupMenuClient.cpp:
4890 (WebKit::AutoFillPopupMenuClient::initialize):
4892 2010-11-09 James Simonsen <simonjam@chromium.org>
4894 Reviewed by Dimitri Glazkov.
4896 [Web Timing] Remove requestEnd
4897 https://bugs.webkit.org/show_bug.cgi?id=48924
4899 * public/WebPerformance.h:
4900 * src/WebPerformance.cpp:
4902 2010-11-08 John Knottenbelt <jknotten@chromium.org>
4904 Reviewed by Steve Block.
4906 Convert to and from DOMTimeStamp with converter functions
4907 https://bugs.webkit.org/show_bug.cgi?id=49066
4909 * src/WebDataSourceImpl.cpp:
4910 (WebKit::WebDataSourceImpl::triggeringEventTime):
4913 2010-11-08 Pierre-Antoine LaFayette <pierre.lafayette@gmail.com>
4915 Reviewed by Darin Fisher.
4917 [chromium] Adding hasUserGesture flag to the ResourceRequest
4918 https://bugs.webkit.org/show_bug.cgi?id=37057
4920 This flag is to be used on the browser side to indicate when a
4921 download has been user initiated.
4923 * public/WebURLRequest.h:
4924 * src/WebURLRequest.cpp:
4925 (WebKit::WebURLRequest::hasUserGesture):
4926 (WebKit::WebURLRequest::setHasUserGesture):
4928 2010-11-08 Jay Civelli <jcivelli@chromium.org>
4930 Reviewed by Darin Fisher.
4932 Add an API to WebViewClient that report the load progress for a frame.
4933 https://bugs.webkit.org/show_bug.cgi?id=49137
4935 * public/WebViewClient.h:
4936 (WebKit::WebViewClient::didChangeLoadProgress):
4937 * src/FrameLoaderClientImpl.cpp:
4938 (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
4940 2010-11-08 Alexey Proskuryakov <ap@apple.com>
4942 Reviewed by Darin Adler.
4944 https://bugs.webkit.org/show_bug.cgi?id=48685
4945 Notify UI process about focused frame
4947 Added an empty implementation of the new ChromeClient method.
4949 * src/ChromeClientImpl.cpp:
4950 (WebKit::ChromeClientImpl::focusedFrameChanged):
4951 * src/ChromeClientImpl.h:
4953 2010-11-08 Andrey Kosyakov <caseq@chromium.org>
4955 Reviewed by Yury Semikhatsky.
4957 Only call WebInspector_syncDispatch if it's actually a function.
4958 https://bugs.webkit.org/show_bug.cgi?id=49180
4960 * src/WebDevToolsFrontendImpl.cpp:
4961 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
4962 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
4963 * src/WebDevToolsFrontendImpl.h:
4965 2010-11-07 Adam Barth <abarth@webkit.org>
4967 Reviewed by Eric Seidel.
4969 Rename Cache to MemoryCache
4970 https://bugs.webkit.org/show_bug.cgi?id=49159
4972 * public/WebCache.h:
4974 (WebKit::ToResourceTypeStat):
4975 (WebKit::WebCache::setCapacities):
4976 (WebKit::WebCache::clear):
4977 (WebKit::WebCache::getUsageStats):
4978 (WebKit::WebCache::getResourceTypeStats):
4980 2010-11-07 Jay Civelli <jcivelli@chromium.org>
4982 Reviewed by Kent Tamura.
4984 Fixing a crasher with the select popup on Mac that happens when a
4985 page removes the select node when the select changes.
4986 https://bugs.webkit.org/show_bug.cgi?id=49108
4988 * src/ExternalPopupMenu.cpp:
4989 (WebKit::ExternalPopupMenu::didAcceptIndex):
4990 (WebKit::ExternalPopupMenu::didCancel):
4992 2010-11-06 Pavel Feldman <pfeldman@chromium.org>
4994 Not reviewed. Chromium DevTools: disable filesystem inspection
4996 https://bugs.webkit.org/show_bug.cgi?id=48963
4998 * src/js/DevTools.js:
5000 2010-11-05 Ilya Sherman <isherman@chromium.org>
5002 Reviewed by Simon Fraser.
5004 Querying selection start and end should be const
5005 https://bugs.webkit.org/show_bug.cgi?id=48786
5007 * public/WebInputElement.h:
5008 * src/WebInputElement.cpp:
5009 (WebKit::WebInputElement::selectionStart):
5010 (WebKit::WebInputElement::selectionEnd):
5012 2010-11-05 Chris Marrin <cmarrin@apple.com>
5014 Reviewed by Simon Fraser.
5016 Move resumeAnimations/suspendAnimations from Frame to AnimationController.
5017 https://bugs.webkit.org/show_bug.cgi?id=49073
5019 * src/WebAnimationControllerImpl.cpp:
5020 (WebKit::WebAnimationControllerImpl::suspendAnimations):
5021 (WebKit::WebAnimationControllerImpl::resumeAnimations):
5023 2010-11-04 Zhenyao Mo <zmo@google.com>
5025 Reviewed by Kenneth Russell.
5027 Need to simulate DEPTH_STENCIL in framebufferRenderbuffer / getFramebufferAttachmentParameter
5028 https://bugs.webkit.org/show_bug.cgi?id=49020
5030 * src/WebGraphicsContext3DDefaultImpl.cpp: Remove DEPTH_STENCIL_ATTACHMENT emulation at this level.
5032 2010-11-05 Darin Fisher <darin@chromium.org>
5034 Pull chromium@65229 to fix the build.
5038 2010-11-05 Darin Fisher <darin@chromium.org>
5040 Reviewed by Nate Chapin.
5042 Replace deprecated TargetIsSub{Frame,Resource} with TargetIsSub{frame,resource}.
5043 https://bugs.webkit.org/show_bug.cgi?id=49074
5045 * public/WebURLRequest.h:
5046 * src/FrameLoaderClientImpl.cpp:
5048 2010-11-05 Charlie Reis <creis@chromium.org>
5050 Reviewed by Darin Fisher.
5052 WebFrame::previousHistoryItem() should return last committed item.
5053 https://bugs.webkit.org/show_bug.cgi?id=48809
5055 * src/WebFrameImpl.cpp:
5057 2010-10-27 Jeremy Orlow <jorlow@chromium.org>
5059 Reviewed by Steve Block.
5061 Clean up IDBTransactionBackend/Coordinator
5062 https://bugs.webkit.org/show_bug.cgi?id=48425
5064 Remove obsolete ::id() method.
5066 * public/WebIDBTransaction.h:
5067 * src/IDBTransactionBackendProxy.cpp:
5068 * src/IDBTransactionBackendProxy.h:
5069 * src/WebIDBTransactionImpl.cpp:
5070 * src/WebIDBTransactionImpl.h:
5072 2010-11-04 usaini <usaini08@gmail.com>
5074 Reviewed by Antonio Gomes.
5076 WebWindowFeatures has a faulty constructor for WebCore::WindowFeatures
5077 https://bugs.webkit.org/show_bug.cgi?id=48035
5079 * public/WebWindowFeatures.h:
5080 (WebKit::WebWindowFeatures::WebWindowFeatures): updated the constructor
5081 that takes in a WebCore::WindowFeature and had it copy all the variables
5082 over properly so that after calling the constructor WebWindowFeatures is
5083 always in a valid state. Before, the x,y,width,height booleans may be true, but
5084 the corresponding int values would not be updated.
5086 2010-11-04 Zhenyao Mo <zmo@google.com>
5088 Reviewed by Kenneth Russell.
5090 Remove IMPLEMENTATION_COLOR_READ_FORMAT and TYPE
5091 https://bugs.webkit.org/show_bug.cgi?id=48938
5093 * src/WebGraphicsContext3DDefaultImpl.cpp:
5094 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
5096 2010-11-04 Kavita Kanetkar <kkanetkar@chromium.org>
5098 Reviewed by Adam Barth.
5100 Web Inspector: Enable files ystem UI for chromium
5101 https://bugs.webkit.org/show_bug.cgi?id=48963
5103 * src/js/DevTools.js:
5105 2010-11-03 Adam Barth <abarth@webkit.org>
5108 https://bugs.webkit.org/show_bug.cgi?id=48978
5112 2010-11-03 Vincent Scheib <scheib@chromium.org>
5114 Reviewed by James Robinson.
5116 [chromium] GraphicsContext3D creation attributes include canRecoverFromContextLoss option
5117 https://bugs.webkit.org/show_bug.cgi?id=48850
5119 Implementations of GraphicsContext3D may respect the creation attribute
5120 canRecoverFromContextLoss being false, and then only succeeding initialization if
5121 the context can satisfy that request of never being lost. DX9 on XP can not satisfy
5124 Test by use of accelerated canvas 2d in Chromium with ANGLE on XP machines.
5126 * public/WebGraphicsContext3D.h:
5127 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
5128 * src/GraphicsContext3DChromium.cpp:
5129 (WebCore::GraphicsContext3DInternal::initialize):
5131 2010-11-03 Jenn Braithwaite <jennb@chromium.org>
5133 Reviewed by Dmitry Titov.
5135 Chromium: Update resource tracking when moving a frame between documents
5136 https://bugs.webkit.org/show_bug.cgi?id=48363
5138 * public/WebFrameClient.h:
5139 (WebKit::WebFrameClient::removeIdentifierForRequest):
5141 * src/FrameLoaderClientImpl.cpp:
5142 (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
5143 Notify current WebFrameClient of the resource and remove from
5144 former WebFrameClient.
5146 2010-11-03 Adam Barth <abarth@webkit.org>
5149 https://bugs.webkit.org/show_bug.cgi?id=48959
5153 2010-11-03 Kenneth Russell <kbr@google.com>
5155 Reviewed by Chris Marrin.
5157 Redesign extension mechanism in GraphicsContext3D
5158 https://bugs.webkit.org/show_bug.cgi?id=46894
5160 Upon request, factored out extension support from GraphicsContext3D
5161 into a new Extensions3D class. (The plural was chosen because the
5162 class and subclasses hold multiple extensions.)
5164 Unlike GraphicsContext3D, Extensions3D contains only pure virtual
5165 methods. This was done because Extensions3D's inheritance diagram
5166 and usage pattern is very different from that of GraphicsContext3D,
5167 and the concrete subclasses need to decide how to implement the
5168 various entry points. Requiring them to be placed at the
5169 Extensions3D level will cause implementation details to leak into
5170 the base class, which is highly undesirable. Any virtual call
5171 overhead to these entry points will be negligible.
5173 Changed call sites utilizing these extensions to call through the
5174 Extensions3D object or its subclasses.
5177 - Chromium on Linux with accelerated 2D canvas and HTML5 video
5178 - Chromium on Mac OS X with WebGL and CSS 3D content
5179 - Safari on Mac OS X with WebGL and CSS 3D content
5181 No new tests. Covered by existing tests.
5184 * public/WebGraphicsContext3D.h:
5185 * src/Extensions3DChromium.cpp: Added.
5186 (WebCore::Extensions3DChromium::Extensions3DChromium):
5187 (WebCore::Extensions3DChromium::~Extensions3DChromium):
5188 (WebCore::Extensions3DChromium::supports):
5189 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
5190 (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
5191 (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
5192 (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
5193 (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
5194 (WebCore::Extensions3DChromium::copyTextureToParentTextureCHROMIUM):
5195 * src/GraphicsContext3DChromium.cpp:
5196 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
5197 (WebCore::GraphicsContext3DInternal::getExtensions):
5198 (WebCore::GraphicsContext3DInternal::supportsExtension):
5199 * src/GraphicsContext3DInternal.h:
5200 * src/WebGraphicsContext3DDefaultImpl.cpp:
5201 (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
5202 (WebKit::WebGraphicsContext3DDefaultImpl::getString):
5203 * src/WebGraphicsContext3DDefaultImpl.h:
5204 * src/WebViewImpl.cpp:
5205 (WebKit::WebViewImpl::composite):
5207 2010-11-03 Daniel Bates <dbates@rim.com>
5209 For unnamed frames, window.name returns a generated name
5210 https://bugs.webkit.org/show_bug.cgi?id=6751
5214 Substitute FrameTree::uniqueName() for FrameTree::name() in the Chromium port.
5216 * src/WebFrameImpl.cpp:
5217 (WebKit::WebFrameImpl::name):
5219 2010-11-02 Al Patrick <apatrick@chromium.org>
5221 Reviewed by Kenneth Russell.
5223 [chromium] Plugin instances can propagate the ID of the OpenGL texture they render to.
5225 https://bugs.webkit.org/show_bug.cgi?id=48032
5227 * public/WebPlugin.h:
5228 (WebKit::WebPlugin::getBackingTextureId):
5229 * public/WebPluginContainer.h:
5230 (WebKit::WebPluginContainer::commitBackingTexture):
5231 * src/WebPluginContainerImpl.cpp:
5232 (WebKit::WebPluginContainerImpl::commitBackingTexture):
5233 (WebKit::WebPluginContainerImpl::platformLayer):
5234 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
5235 * src/WebPluginContainerImpl.h:
5237 2010-11-02 Kavita Kanetkar <kkanetkar@chromium.org>
5239 Reviewed by Dumitru Daniliuc.
5241 [FileSystem] Support not creating directories when queried by inspector.
5242 https://bugs.webkit.org/show_bug.cgi?id=48169
5244 * src/LocalFileSystemChromium.cpp:
5245 (WebCore::LocalFileSystem::readFileSystem):
5246 (WebCore::LocalFileSystem::requestFileSystem):
5248 2010-11-02 Chris Guillory <chris.guillory@google.com>
5250 Reviewed by Chris Fleizach.
5252 Chromium: Propagate a document value changed notification on scroll.
5253 https://bugs.webkit.org/show_bug.cgi?id=48817
5255 * src/WebAccessibilityObject.cpp:
5256 (WebKit::WebAccessibilityObject::boundingBoxRect):
5258 2010-10-29 John Abd-El-Malek <jam@chromium.org>
5260 Reviewed by Darin Fisher.
5262 [chromium]: Allow plugins to use optimized scrolling
5263 https://bugs.webkit.org/show_bug.cgi?id=48660
5265 * public/WebPluginContainer.h:
5266 * src/WebPluginContainerImpl.cpp:
5267 (WebKit::WebPluginContainerImpl::scrollRect):
5268 * src/WebPluginContainerImpl.h:
5270 2010-11-02 Marc-Antoine Ruel <maruel@chromium.org>
5272 Reviewed by Dimitri Glazkov.
5274 Disable incremental linking for webkit_unit_test and DumpRenderTRee on x86 Windows on chromium build.
5275 https://bugs.webkit.org/show_bug.cgi?id=48836
5277 It fails to link otherwise due to lack of virtual address space.
5281 2010-11-02 Ilya Sherman <isherman@chromium.org>
5283 Reviewed by Kent Tamura.
5285 Expose the sendChangeEvent parameter in WebInputElement::setValue() API,
5286 primarily so that chromium form autofill can fire the onChange event.
5287 https://bugs.webkit.org/show_bug.cgi?id=48177
5289 * public/WebInputElement.h:
5290 * src/WebInputElement.cpp:
5291 (WebKit::WebInputElement::setValue):
5293 2010-11-02 Pavel Feldman <pfeldman@chromium.org>
5295 Reviewed by Timothy Hatcher.
5297 Web Inspector: make properties and event listeners look consistent with the styles section.
5298 https://bugs.webkit.org/show_bug.cgi?id=48827
5300 * src/js/devTools.css:
5302 2010-11-01 Tony Chang <tony@chromium.org>
5304 Reviewed by Kent Tamura.
5306 [chromium] Compile TestNetscapePlugin on chromium win
5307 https://bugs.webkit.org/show_bug.cgi?id=48802
5309 It creates npTestNetscapePlugin.dll in the build directory, so
5310 it's not yet loaded by DRT or test_shell.
5314 2010-11-01 Brady Eidson <beidson@apple.com>
5316 Reviewed by Anders Carlsson.
5318 <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
5319 Context menu support for WebKit 2.
5321 * src/ChromeClientImpl.h:
5322 (WebKit::ChromeClientImpl::showContextMenu):
5324 2010-11-01 Pavel Feldman <pfeldman@chromium.org>
5326 Not reviewed: Chromium build fix.
5328 * src/WebDevToolsAgentImpl.cpp:
5329 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
5331 2010-11-01 Pavel Feldman <pfeldman@chromium.org>
5333 Reviewed by Timothy Hatcher.
5335 Web Inspector: remove old resources panel.
5336 https://bugs.webkit.org/show_bug.cgi?id=45657
5338 * src/WebDevToolsAgentImpl.cpp:
5339 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
5340 * src/WebDevToolsAgentImpl.h:
5342 2010-11-01 Leandro Gracia Gil <leandrogracia@google.com>
5344 Reviewed by Jeremy Orlow.
5346 This is the last part of a 4-sided patch for the language attribute
5347 in speech text buttons. This patch removes what now is dead code
5348 and re-enables the layout test introduced by bug 47089.
5349 https://bugs.webkit.org/show_bug.cgi?id=47420
5351 * public/WebSpeechInputControllerMock.h:
5352 * src/WebSpeechInputControllerMockImpl.cpp:
5353 * src/WebSpeechInputControllerMockImpl.h:
5355 2010-10-31 Pavel Feldman <pfeldman@chromium.org>
5357 Reviewed by Timothy Hatcher.
5359 Web Inspector: unhide new network and resources panels.
5360 https://bugs.webkit.org/show_bug.cgi?id=48725
5362 * src/WebDevToolsAgentImpl.cpp:
5363 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
5365 2010-10-29 Daniel Bates <dbates@rim.com>
5367 No review, rolling out 70971.
5368 http://trac.webkit.org/changeset/70971
5369 https://bugs.webkit.org/show_bug.cgi?id=6751
5371 Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
5372 it caused layout test failures on all bots. In particular, the
5373 child count in a generated frame name differs after this patch. We need
5374 to look into this further.
5376 * src/WebFrameImpl.cpp:
5377 (WebKit::WebFrameImpl::name):
5379 2010-10-28 Antonio Gomes <agomes@rim.com>
5381 Reviewed by Ojan Vafai.
5383 Needs a "LinuxEditingBehavior", perhaps with a better name
5384 https://bugs.webkit.org/show_bug.cgi?id=36627
5386 Added the corresponding Chromium setting to WebCore's EditingUnixBehavior: EditingBehaviorUnix.
5388 * public/WebSettings.h:
5389 * src/AssertMatchingEnums.cpp:
5391 2010-10-29 Daniel Bates <dbates@rim.com>
5393 Reviewed by Adam Barth.
5395 For unnamed frames, window.name returns a generated name
5396 https://bugs.webkit.org/show_bug.cgi?id=6751
5398 Modified Chromium-port to use FrameTree::uniqueName().
5400 * src/WebFrameImpl.cpp:
5401 (WebKit::WebFrameImpl::name):
5403 2010-10-29 Kavita Kanetkar <kkanetkar@chromium.org>
5405 Reviewed by Pavel Feldman.
5407 Web Inspector: FileSystem integration
5408 https://bugs.webkit.org/show_bug.cgi?id=45982
5410 * public/WebFileUtilities.h:
5411 (WebKit::WebFileUtilities::revealFolderInOS):
5412 * src/ChromiumBridge.cpp:
5413 (WebCore::ChromiumBridge::revealFolderInOS):
5416 2010-10-29 Darin Adler <darin@apple.com>
5418 Reviewed by Sam Weinig.
5420 Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
5421 https://bugs.webkit.org/show_bug.cgi?id=48574
5423 * src/BackForwardListClientImpl.h: Use BackForwardListImpl.h.
5424 * src/WebViewImpl.cpp:
5425 (WebKit::WebViewImpl::WebViewImpl): Cast to BackForwardList* before calling setClient.
5427 2010-10-28 Michael Nordman <michaeln@google.com>
5431 [Chrome] Fix an appcache regression introduced in r69226
5432 https://bugs.webkit.org/show_bug.cgi?id=48592
5433 Provide a noop method body ApplicationCacheHost::maybeLoadMainResourceForRedirect.
5435 * src/ApplicationCacheHost.cpp:
5436 (WebCore::ApplicationCacheHost::maybeLoadMainResourceForRedirect):
5438 2010-10-29 Aaron Colwell <acolwell@chromium.org>
5440 Reviewed by James Robinson.
5442 Fix globalAlpha support when using drawImage() to copy a video frame
5443 to a 2D canvas context.
5444 https://bugs.webkit.org/show_bug.cgi?id=48094
5446 This fix applies the globalAlpha value to the canvas before passing it
5447 down to the lower layers that don't have access to the graphics
5448 context. This makes sure that any drawing on the canvas will have the
5449 proper global alpha value applied.
5451 * src/WebMediaPlayerClientImpl.cpp:
5452 (WebKit::WebMediaPlayerClientImpl::paint):
5454 2010-10-29 Alexey Proskuryakov <ap@apple.com>
5456 Reviewed by Darin Adler.
5458 https://bugs.webkit.org/show_bug.cgi?id=48576
5459 Let WebKit2 client know when a frame is a frameset
5461 Added a blank implementation of the new FrameLoaderClient method.
5463 * src/FrameLoaderClientImpl.h:
5464 * src/FrameLoaderClientImpl.cpp:
5465 (WebKit::FrameLoaderClientImpl::dispatchDidBecomeFrameset):
5467 2010-10-29 Pavel Feldman <pfeldman@chromium.org>
5469 Reviewed by Timothy Hatcher.
5471 Web Inspector: add close button to network view, make tests pass
5472 for resource manager on all ports.
5473 https://bugs.webkit.org/show_bug.cgi?id=48628
5477 2010-10-29 Csaba Osztrogonác <ossy@webkit.org>
5479 Reviewed by Adam Roben and David Kilzer.
5481 Fix and cleanup of build systems
5482 https://bugs.webkit.org/show_bug.cgi?id=48342
5484 * features.gypi: Remove unnecessary ENABLE_SANDBOX.
5486 2010-10-29 Leandro Gracia Gil <leandrogracia@google.com>
5488 Reviewed by Jeremy Orlow.
5490 Patch the current speech input implementation to use the nearest
5491 language tag. The language is now passed to the startRecognition
5492 methods so that language-specific recognition could be used. Also added
5493 a second parameter to setMockSpeechInputResult for the language used in
5495 https://bugs.webkit.org/show_bug.cgi?id=47089
5497 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
5498 details see http://codereview.chromium.org/3615005/show,
5499 http://codereview.chromium.org/3595018/show and
5500 https://bugs.webkit.org/show_bug.cgi?id=47420.
5502 * public/WebSpeechInputController.h:
5503 (WebKit::WebSpeechInputController::startRecognition):
5504 * public/WebSpeechInputControllerMock.h:
5505 * src/SpeechInputClientImpl.cpp:
5506 (WebKit::SpeechInputClientImpl::create):
5507 (WebKit::SpeechInputClientImpl::startRecognition):
5508 * src/SpeechInputClientImpl.h:
5509 * src/WebSpeechInputControllerMockImpl.cpp:
5510 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
5511 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
5512 * src/WebSpeechInputControllerMockImpl.h:
5513 * src/WebViewImpl.cpp:
5514 (WebKit::WebViewImpl::WebViewImpl):
5515 * src/WebViewImpl.h:
5517 2010-10-28 Adam Barth <abarth@webkit.org>
5519 Reviewed by Eric Seidel, Peter Kasting, and Darin Fisher.
5520 (Eric reviewed the CoreGraphics interactions, Peter reviewed the image
5521 decoder interaction, and Darin Fisher SGTMed the policy decision.)
5523 [chromium] Chromium Mac should use WebKit's image decoders
5524 https://bugs.webkit.org/show_bug.cgi?id=47974
5526 Enable WebKit's image decoders.
5530 2010-10-28 Mihai Parparita <mihaip@chromium.org>
5532 Reviewed by Darin Adler.
5534 [Chromium] History related tests REGRESSED after r70723
5535 https://bugs.webkit.org/show_bug.cgi?id=48513
5537 Since r70723 made BackForwardList::currentItem no longer be virtual,
5538 we were not reaching the implementation in Chromium's
5539 BackForwardListClientImpl, and for Chromium currentItem is not the same
5542 The fix is to make itemAtIndex(0) have the currentItem() behavior, which
5543 lets us keep currentItem as non-virtual (and remove its implementation
5544 from the Chromium side).
5546 This also switches Chromium to use the default implementation of
5547 backItem() and forwardItem() (vs. the old stubs that just had
5548 ASSERT_NOT_REACHED) since they're actually reacheable with Chromium
5549 code thanks to the calls in FrameLoader::checkDidPerformFirstNavigation.
5551 * src/BackForwardListClientImpl.cpp:
5552 (WebKit::BackForwardListClientImpl::itemAtIndex):
5553 * src/BackForwardListClientImpl.h:
5555 2010-10-28 Kinuko Yasuda <kinuko@chromium.org>
5557 Reviewed by David Levin.
5559 [Chromium] Support FileSystem in chromium DRT
5560 https://bugs.webkit.org/show_bug.cgi?id=47643
5561 Update the chromium DEPS to pick up corresponding webkit_support change.
5562 Also add a temporary glue implementation with FIXME comment to
5563 WebFrameClient::openFileSystem.
5566 * public/WebFrameClient.h:
5567 (WebKit::WebFrameClient::openFileSystem):
5569 2010-10-28 Satish Sampath <satish@chromium.org>
5571 Reviewed by Steve Block.
5573 Remove obsolete public/API methods in chromium port
5574 https://bugs.webkit.org/show_bug.cgi?id=48504
5576 * public/WebSpeechInputController.h:
5577 (WebKit::WebSpeechInputController::startRecognition):
5579 2010-10-27 Eric Uhrhane <ericu@chromium.org>
5581 Reviewed by David Levin.
5583 [Chromium] Metadata queries should return full file info, not just modification time
5584 https://bugs.webkit.org/show_bug.cgi?id=48098
5586 * src/AssertMatchingEnums.cpp: Ensure WebFileInfo and FileMetadata use the same values for file/directory indicators.
5587 * src/WebFileSystemCallbacksImpl.cpp:
5588 (WebKit::WebFileSystemCallbacksImpl::didReadMetadata): Pass through the new information.
5590 2010-10-27 Kenneth Russell <kbr@google.com>
5592 Reviewed by Dimitri Glazkov.
5594 [chromium] WebGL does not work with the compositor in test_shell
5595 https://bugs.webkit.org/show_bug.cgi?id=48470
5597 * src/WebGraphicsContext3DDefaultImpl.cpp:
5598 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
5599 - Properly restore the draw framebuffer after resolving.
5600 (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
5601 - Make the context current before calling resolveMultisampledFramebuffer.
5603 2010-10-27 Stuart Morgan <stuartmorgan@chromium.org>
5605 Reviewed by David Levin.
5607 Include caps lock state when converting NSEvent modifiers to
5610 https://bugs.webkit.org/show_bug.cgi?id=47917
5612 * src/mac/WebInputEventFactory.mm:
5613 (WebKit::modifiersFromEvent):
5615 2010-10-27 Chris Rogers <crogers@google.com>
5617 Reviewed by James Robinson.
5619 Add ENABLE_WEB_AUDIO feature enable flag (initially disabled) for Chromium
5620 https://bugs.webkit.org/show_bug.cgi?id=48465
5624 2010-10-25 Tony Chang <tony@chromium.org>
5626 Reviewed by Anders Carlsson.
5628 compile TestNetscapePlugIn on chromium linux
5629 https://bugs.webkit.org/show_bug.cgi?id=48274
5631 * WebKit.gyp: Enable compilation of TestNetscapePlugIn on Linux.
5633 2010-10-27 Satish Sampath <satish@chromium.org>
5635 Unreviewed, rolling out r70665.
5636 http://trac.webkit.org/changeset/70665
5637 https://bugs.webkit.org/show_bug.cgi?id=47089
5639 Need to address Alexey's review comments.
5641 * public/WebSpeechInputController.h:
5642 (WebKit::WebSpeechInputController::startRecognition):
5643 * public/WebSpeechInputControllerMock.h:
5644 * src/SpeechInputClientImpl.cpp:
5645 (WebKit::SpeechInputClientImpl::startRecognition):
5646 * src/SpeechInputClientImpl.h:
5647 * src/WebSpeechInputControllerMockImpl.cpp:
5648 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
5649 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
5650 * src/WebSpeechInputControllerMockImpl.h:
5651 * src/WebViewImpl.cpp:
5652 (WebKit::WebViewImpl::WebViewImpl):
5653 * src/WebViewImpl.h:
5655 2010-10-27 ZHenyao Mo <zmo@google.com>
5657 Reviewed by Kenneth Russell.
5659 Must enable GL_POINT_SPRITE in GraphicsContext3D implementations
5660 https://bugs.webkit.org/show_bug.cgi?id=45908
5662 * src/WebGraphicsContext3DDefaultImpl.cpp: Enable for chromium --in-process-webgl port.
5663 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
5665 2010-10-27 Leandro Gracia Gil <leandrogracia@google.com>
5667 Reviewed by Jeremy Orlow.
5669 Patch the current speech input implementation to use the nearest
5670 language tag. The language is now passed to the startRecognition
5671 methods so that language-specific recognition could be used. Also added
5672 a second parameter to setMockSpeechInputResult for the language used in
5674 https://bugs.webkit.org/show_bug.cgi?id=47089
5676 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
5677 details see http://codereview.chromium.org/3615005/show and
5678 http://codereview.chromium.org/3595018/show. The last of the 4 patches
5679 depends also on the language tag validation provided by this patch:
5680 https://bugs.webkit.org/show_bug.cgi?id=48225.
5682 * public/WebSpeechInputController.h:
5683 (WebKit::WebSpeechInputController::startRecognition):
5684 * public/WebSpeechInputControllerMock.h:
5685 * src/SpeechInputClientImpl.cpp:
5686 (WebKit::SpeechInputClientImpl::create):
5687 (WebKit::SpeechInputClientImpl::startRecognition):
5688 * src/SpeechInputClientImpl.h:
5689 * src/WebSpeechInputControllerMockImpl.cpp:
5690 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
5691 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
5692 * src/WebSpeechInputControllerMockImpl.h:
5693 * src/WebViewImpl.cpp:
5694 (WebKit::WebViewImpl::WebViewImpl):
5695 * src/WebViewImpl.h:
5697 2010-10-26 Victoria Kirst <vrk@google.com>
5699 Reviewed by David Levin.
5701 Fix compile when ACCELERATED_COMPOSITING flag is not set
5702 https://bugs.webkit.org/show_bug.cgi?id=48373
5704 * src/WebMediaPlayerClientImpl.cpp:
5705 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
5706 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
5707 (WebKit::WebMediaPlayerClientImpl::load):
5708 * src/WebMediaPlayerClientImpl.h:
5710 2010-10-26 MORITA Hajime <morrita@google.com>
5712 Reviewed by Tony Chang.
5714 Rolling in r70512 again.
5716 spellcheck='' should be the same as spellcheck="true"
5717 https://bugs.webkit.org/show_bug.cgi?id=25539
5719 * src/ContextMenuClientImpl.cpp:
5720 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5721 * src/EditorClientImpl.cpp:
5722 (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
5724 2010-10-26 Jenn Braithwaite <jennb@chromium.org>
5726 Reviewed by Dmitry Titov.
5728 Resource tracking failure when trying to move a frame between documents
5729 https://bugs.webkit.org/show_bug.cgi?id=44713
5731 * src/FrameLoaderClientImpl.cpp:
5732 (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
5734 * src/FrameLoaderClientImpl.h:
5736 2010-10-26 Satish Sampath <satish@chromium.org>
5738 Reviewed by Jeremy Orlow.
5740 Add a 'grammar' attribute for speech input.
5741 https://bugs.webkit.org/show_bug.cgi?id=48339
5743 To differentiate between various types of speech input, we add a 'x-webkit-grammar' attribute to a
5744 speech enabled input element. This is passed without validation to the speech recognizer. Typical values
5745 could be "builtin:search", "builtin:dictation" and even an externally hosted SRGS grammar XML file URI.
5746 It is up to the recognizer to interpret the value and use it as an aid in recognition.
5748 * public/WebSpeechInputController.h:
5749 (WebKit::WebSpeechInputController::startRecognition):
5750 * src/SpeechInputClientImpl.cpp:
5751 (WebKit::SpeechInputClientImpl::startRecognition):
5752 * src/SpeechInputClientImpl.h:
5753 * src/WebSpeechInputControllerMockImpl.cpp:
5754 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
5755 * src/WebSpeechInputControllerMockImpl.h:
5757 2010-10-26 Hans Wennborg <hans@chromium.org>
5759 Reviewed by Jeremy Orlow.
5761 IndexedDB: update stale comments referring to WebIndexedDatabase.
5762 https://bugs.webkit.org/show_bug.cgi?id=48325
5764 WebIndexedDatabase was renamed to WebIDBFactory in
5765 http://trac.webkit.org/changeset/64344, but some comments referring to
5766 it were left unchanged.
5768 * public/WebIDBCursor.h:
5769 * public/WebIDBDatabase.h:
5770 * public/WebIDBDatabaseError.h:
5771 * public/WebIDBIndex.h:
5772 * public/WebIDBObjectStore.h:
5773 * public/WebIDBTransaction.h:
5774 * src/WebIDBDatabaseImpl.h:
5776 2010-10-22 Stephen White <senorblanco@chromium.org>
5778 Reviewed by Kenneth Russell.
5780 Implement copy-texture-to-parent-texture API for WebGraphicsContext3DDefaultImpl.
5781 https://bugs.webkit.org/show_bug.cgi?id=48152
5783 This allows the in-process implementation to do accelerated canvas and
5784 accelerated compositing together. It requires some changes landed
5785 in chromium 63528, so this patch also rolls chromium DEPS to 63722
5788 Covered by fast/canvas/arc360.html, and many more when run with
5789 --accelerated-compositing and --accelerated-2d-canvas.
5791 * src/WebGraphicsContext3DDefaultImpl.cpp:
5792 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
5793 Add member vars to save the currently-bound texture and for the
5794 texture-to-texture FBO.
5795 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
5796 Delete the texture-to-texture FBO on destruction.
5798 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
5799 Generate the texture-to-texture FBO.
5800 (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
5801 Check for support of the glGetTexLevelParameteriv function (required
5802 for this implementation).
5803 (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
5804 Implement the extension: bind the FBO, bind the child texture, then
5805 do a glCopyTexImage2D() into the parent texture.
5806 (WebKit::WebGraphicsContext3DDefaultImpl::bindTexture):
5807 Record the newly-bound texture in m_boundTexture.
5808 * src/WebGraphicsContext3DDefaultImpl.h:
5809 Add the two new member variables.
5810 * src/WebViewImpl.cpp:
5811 (WebKit::WebViewImpl::graphicsContext3D):
5812 Make sure the graphics context is reshaped to the correct size on all
5815 2010-10-26 Alexey Marinichev <amarinichev@chromium.org>
5817 Reviewed by Kenneth Russell.
5819 [chromium] Check getGraphicsResetStatusARB and reinitialize the
5820 renderer in an error is returned.
5821 https://bugs.webkit.org/show_bug.cgi?id=47848
5823 * src/WebViewImpl.cpp:
5824 (WebKit::WebViewImpl::composite): added getGraphicsResetStatusARB check
5825 (WebKit::WebViewImpl::reallocateRenderer): added
5826 * src/WebViewImpl.h:
5828 2010-10-26 Kenneth Russell <kbr@google.com>
5830 Reviewed by Andreas Kling.
5832 Valgrind failure in GraphicsContext3DInternal::reshape
5833 https://bugs.webkit.org/show_bug.cgi?id=48284
5835 * src/WebGraphicsContext3DDefaultImpl.cpp:
5836 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
5838 2010-10-26 Jeremy Orlow <jorlow@chromium.org>
5840 Reviewed by Steve Block.
5842 Fix IndexedDB crashes
5843 https://bugs.webkit.org/show_bug.cgi?id=48266
5845 Make WebIDBObjectStoreImpl match the way that WebIDBIndexImpl passes
5846 in cursor parameters (which is the correct way). KeyRange knows how
5847 to convert itself to a WebCore type--even if the value is null.
5849 * src/WebIDBObjectStoreImpl.cpp:
5850 (WebKit::WebIDBObjectStoreImpl::openCursor):
5852 2010-10-26 Satish Sampath <satish@chromium.org>
5854 Reviewed by Steve Block.
5856 Remove obsolete public/API methods in chromium port.
5857 https://bugs.webkit.org/show_bug.cgi?id=48330
5859 * public/WebSpeechInputListener.h:
5861 2010-10-26 Jeremy Orlow <jorlow@chromium.org>
5863 Reviewed by Steve Block.
5865 Quota for IndexedDB should be per origin not per database
5866 https://bugs.webkit.org/show_bug.cgi?id=48064
5868 * public/WebIDBFactory.h:
5869 * public/WebSecurityOrigin.h:
5870 * src/WebIDBFactory.cpp:
5871 (WebKit::WebIDBFactory::databaseFileName):
5872 * src/WebSecurityOrigin.cpp:
5873 (WebKit::WebSecurityOrigin::get):
5875 2010-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
5877 Unreviewed, rolling out r70512.
5878 http://trac.webkit.org/changeset/70512
5879 https://bugs.webkit.org/show_bug.cgi?id=48314
5881 crashes many tests (Requested by inferno-sec on #webkit).
5883 * src/ContextMenuClientImpl.cpp:
5884 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5885 * src/EditorClientImpl.cpp:
5886 (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
5888 2010-10-25 MORITA Hajime <morrita@google.com>
5890 Reviewed by Tony Chang.
5892 spellcheck='' should be the same as spellcheck="true"
5893 https://bugs.webkit.org/show_bug.cgi?id=25539
5895 Followed API rename in WebCore.
5897 * src/ContextMenuClientImpl.cpp:
5898 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5899 * src/EditorClientImpl.cpp:
5900 (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
5902 2010-10-25 Satish Sampath <satish@chromium.org>
5904 Unreviewed, fix for a build break caused by my earlier patch.
5906 * public/WebSpeechInputListener.h:
5907 (WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor.
5909 2010-10-21 Satish Sampath <satish@chromium.org>
5911 Reviewed by Jeremy Orlow.
5913 Allow embedder to pass on all the speech recognition results to the input element.
5914 https://bugs.webkit.org/show_bug.cgi?id=48068
5916 * WebKit.gyp: Added new files
5917 * public/WebSpeechInputListener.h:
5918 * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult
5919 (WebKit::WebSpeechInputResult::WebSpeechInputResult):
5920 (WebKit::WebSpeechInputResult::~WebSpeechInputResult):
5921 * src/SpeechInputClientImpl.cpp:
5922 (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string.
5923 * src/SpeechInputClientImpl.h:
5924 * src/WebSpeechInputControllerMockImpl.cpp:
5925 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
5926 * src/WebSpeechInputControllerMockImpl.h:
5927 * src/WebSpeechInputResult.cpp: Added.
5928 (WebKit::WebSpeechInputResult::reset):
5929 (WebKit::WebSpeechInputResult::WebSpeechInputResult):
5930 (WebKit::WebSpeechInputResult::set):
5931 (WebKit::WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>):
5933 2010-10-25 Sheriff Bot <webkit.review.bot@gmail.com>
5935 Unreviewed, rolling out r70451.
5936 http://trac.webkit.org/changeset/70451
5937 https://bugs.webkit.org/show_bug.cgi?id=48249
5939 Broke set-unloaded-frame-location.html under Qt (Requested by
5942 * src/WebFrameImpl.cpp:
5943 (WebKit::WebFrameImpl::executeScript):
5944 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
5945 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
5947 2010-10-25 Peter Rybin <peter.rybin@gmail.com>
5949 Reviewed by Adam Barth.
5951 HTML parser should provide script column position within HTML document to JavaScript engine
5952 https://bugs.webkit.org/show_bug.cgi?id=45271
5954 Replaces script line number with TextPosition structure.
5956 * src/WebFrameImpl.cpp:
5957 (WebKit::WebFrameImpl::executeScript):
5958 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
5959 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
5961 2010-10-20 Kinuko Yasuda <kinuko@chromium.org>
5963 Reviewed by Jian Li.
5965 Renumber FileError/FileException error codes per latest File API spec changes
5966 https://bugs.webkit.org/show_bug.cgi?id=47936
5968 * public/WebFileError.h:
5969 * src/AssertMatchingEnums.cpp:
5970 * src/AsyncFileWriterChromium.cpp:
5971 (WebCore::AsyncFileWriterChromium::didFail):
5973 2010-10-24 Sheriff Bot <webkit.review.bot@gmail.com>
5975 Unreviewed, rolling out r70361.
5976 http://trac.webkit.org/changeset/70361
5977 https://bugs.webkit.org/show_bug.cgi?id=48217
5979 Chromium tests NoInitialAutocompleteForReadOnly and
5980 InitialAutocomplete don't complete (Requested by yuzo on
5983 * public/WebDocument.h:
5985 2010-10-22 Jay Civelli <jcivelli@chromium.org>
5987 Reviewed by David Levin.
5989 Turning on the Autocomplete implementation on the Chromium side.
5990 https://bugs.webkit.org/show_bug.cgi?id=41283
5992 * public/WebDocument.h:
5994 2010-10-22 Sam Weinig <sam@webkit.org>
5996 Reviewed by Anders Carlsson.
5998 WebKit2 needs to pass the current event modifier flags when requesting a new window
5999 https://bugs.webkit.org/show_bug.cgi?id=48140
6001 * src/ChromeClientImpl.cpp:
6002 (WebKit::ChromeClientImpl::createWindow):
6003 * src/ChromeClientImpl.h:
6004 * src/FrameLoaderClientImpl.cpp:
6005 (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
6006 * src/FrameLoaderClientImpl.h:
6007 Add NavigationAction parameter.
6009 2010-10-22 Sheriff Bot <webkit.review.bot@gmail.com>
6011 Unreviewed, rolling out r70301.
6012 http://trac.webkit.org/changeset/70301
6013 https://bugs.webkit.org/show_bug.cgi?id=48126
6015 "Lang attribute layout tests failing" (Requested by satish on
6018 * public/WebSpeechInputController.h:
6019 (WebKit::WebSpeechInputController::startRecognition):
6020 * public/WebSpeechInputControllerMock.h:
6021 * src/SpeechInputClientImpl.cpp:
6022 (WebKit::SpeechInputClientImpl::startRecognition):
6023 * src/SpeechInputClientImpl.h:
6024 * src/WebSpeechInputControllerMockImpl.cpp:
6025 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
6026 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
6027 * src/WebSpeechInputControllerMockImpl.h:
6028 * src/WebViewImpl.cpp:
6029 (WebKit::WebViewImpl::WebViewImpl):
6030 * src/WebViewImpl.h:
6032 2010-10-22 Leandro Gracia Gil <leandrogracia@google.com>
6034 Reviewed by Jeremy Orlow.
6036 Patch the current speech input implementation to use and validate the
6037 nearest language tag. The language is now passed to the startRecognition
6038 methods so that language-specific recognition could be used. Also added
6039 a second parameter to setMockSpeechInputResult for the language used in
6041 https://bugs.webkit.org/show_bug.cgi?id=47089
6043 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
6044 details see http://codereview.chromium.org/3615005/show and
6045 http://codereview.chromium.org/3595018/show.
6047 * public/WebSpeechInputController.h:
6048 (WebKit::WebSpeechInputController::startRecognition):
6049 * public/WebSpeechInputControllerMock.h:
6050 * src/SpeechInputClientImpl.cpp:
6051 (WebKit::SpeechInputClientImpl::create):
6052 (WebKit::SpeechInputClientImpl::startRecognition):
6053 * src/SpeechInputClientImpl.h:
6054 * src/WebSpeechInputControllerMockImpl.cpp:
6055 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
6056 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
6057 * src/WebSpeechInputControllerMockImpl.h:
6058 * src/WebViewImpl.cpp:
6059 (WebKit::WebViewImpl::WebViewImpl):
6060 * src/WebViewImpl.h:
6062 2010-10-21 Yuzo Fujishima <yuzo@google.com>
6064 Unreviewed build fix attempt for Chromium Linux Debug Clang
6066 * public/WebExternalPopupMenu.h:
6068 2010-10-21 Tony Chang <tony@chromium.org>
6070 Reviewed by Dimitri Glazkov.
6072 [chromium] roll chromium DEPS to include forwarding headers refactor
6073 https://bugs.webkit.org/show_bug.cgi?id=48097
6075 * DEPS: Roll chromium forward to include new forwarding headers script
6076 * WebKit.gyp: This dependency always existed, it's just exposed now
6077 that the header files are in a different include dir.
6079 2010-10-21 Pavel Feldman <pfeldman@chromium.org>
6081 Reviewed by Yury Semikhatsky.
6083 Chromium: use dedicated event listener type in EventListenerWrapper.
6084 https://bugs.webkit.org/show_bug.cgi?id=48059
6086 * src/EventListenerWrapper.cpp:
6087 (WebKit::EventListenerWrapper::EventListenerWrapper):
6089 2010-10-21 Jay Civelli <jcivelli@chromium.org>
6091 Reviewed by Darin Fisher.
6093 [Chromium] Adding an API that allows external
6094 popup menus, without the use of WebCore::PopupMenuChromium.
6095 Once this is hooked up in Chromium, the plan is to remove
6096 entirely the external case from PopupMenuChromium.
6097 https://bugs.webkit.org/show_bug.cgi?id=46016
6100 * public/WebExternalPopupMenu.h: Added.
6101 * public/WebExternalPopupMenuClient.h: Added.
6102 * public/WebMenuItemInfo.h:
6103 (WebKit::WebMenuItemInfo::WebMenuItemInfo):
6105 * public/WebViewClient.h:
6106 (WebKit::WebViewClient::createExternalPopupMenu):
6107 * src/ChromeClientImpl.cpp:
6108 (WebKit::ChromeClientImpl::createPopupMenu):
6109 * src/ExternalPopupMenu.cpp: Added.
6110 * src/ExternalPopupMenu.h: Added.
6111 * src/WebViewImpl.cpp:
6112 (WebKit::WebView::setUseExternalPopupMenus):
6113 (WebKit::WebViewImpl::useExternalPopupMenus):
6114 * src/WebViewImpl.h:
6116 2010-10-20 Sheriff Bot <webkit.review.bot@gmail.com>
6118 Unreviewed, rolling out r70165.
6119 http://trac.webkit.org/changeset/70165
6120 https://bugs.webkit.org/show_bug.cgi?id=48007
6122 It broke tests on Qt bot (Requested by Ossy on #webkit).
6124 * src/WebFrameImpl.cpp:
6125 (WebKit::WebFrameImpl::executeScript):
6126 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
6127 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
6129 2010-10-20 Peter Rybin <peter.rybin@gmail.com>
6131 Reviewed by Adam Barth.
6133 HTML parser should provide script column position within HTML document to JavaScript engine
6134 https://bugs.webkit.org/show_bug.cgi?id=45271
6136 Replaces script line number with TextPosition structure.
6138 * src/WebFrameImpl.cpp:
6139 (WebKit::WebFrameImpl::executeScript):
6140 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
6141 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
6143 2010-10-20 John Abd-El-Malek <jam@chromium.org>
6145 Reviewed by Darin Fisher.
6147 [chromium] Fix crash when mousing over scrollview
6148 https://bugs.webkit.org/show_bug.cgi?id=47956
6150 * src/ChromeClientImpl.cpp:
6151 (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
6152 * src/ChromiumBridge.cpp:
6153 (WebCore::ChromiumBridge::pluginScriptableObject):
6154 * src/ContextMenuClientImpl.cpp:
6155 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
6156 * src/FrameLoaderClientImpl.cpp:
6157 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
6158 * src/WebPluginContainerImpl.h:
6159 (WebKit::WebPluginContainerImpl::isPluginContainer):
6161 2010-10-20 Sheriff Bot <webkit.review.bot@gmail.com>
6163 Unreviewed, rolling out r70149.
6164 http://trac.webkit.org/changeset/70149
6165 https://bugs.webkit.org/show_bug.cgi?id=47989
6167 "Build breaks in mac and win" (Requested by satish on
6170 * public/WebSpeechInputController.h:
6171 (WebKit::WebSpeechInputController::startRecognition):
6172 * public/WebSpeechInputControllerMock.h:
6173 * src/SpeechInputClientImpl.cpp:
6174 (WebKit::SpeechInputClientImpl::startRecognition):
6175 * src/SpeechInputClientImpl.h:
6176 * src/WebSpeechInputControllerMockImpl.cpp:
6177 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
6178 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
6179 * src/WebSpeechInputControllerMockImpl.h:
6180 * src/WebViewImpl.cpp:
6181 (WebKit::WebViewImpl::WebViewImpl):
6182 * src/WebViewImpl.h:
6184 2010-10-20 Leandro Gracia Gil <leandrogracia@google.com>
6186 Reviewed by Jeremy Orlow.
6188 Patch the current speech input implementation to use and validate the
6189 nearest language tag. The language is now passed to the startRecognition
6190 methods so that language-specific recognition could be used. Also added
6191 a second parameter to setMockSpeechInputResult for the language used in
6193 https://bugs.webkit.org/show_bug.cgi?id=47089
6195 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
6196 details see http://codereview.chromium.org/3615005/show and
6197 http://codereview.chromium.org/3595018/show.
6199 * public/WebSpeechInputController.h:
6200 (WebKit::WebSpeechInputController::startRecognition):
6201 * public/WebSpeechInputControllerMock.h:
6202 * src/SpeechInputClientImpl.cpp:
6203 (WebKit::SpeechInputClientImpl::create):
6204 (WebKit::SpeechInputClientImpl::startRecognition):
6205 * src/SpeechInputClientImpl.h:
6206 * src/WebSpeechInputControllerMockImpl.cpp:
6207 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
6208 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
6209 * src/WebSpeechInputControllerMockImpl.h:
6210 * src/WebViewImpl.cpp:
6211 (WebKit::WebViewImpl::WebViewImpl):
6212 * src/WebViewImpl.h:
6214 2010-10-20 Dirk Schulze <krit@webkit.org>
6216 Unreviewed Chromium win build fix.
6218 * tests/TransparencyWinTest.cpp:
6221 2010-10-20 Dirk Schulze <krit@webkit.org>
6223 Reviewed by Nikolas Zimmermann.
6225 Merge ColorSpace and ImageColorSpace enums
6226 https://bugs.webkit.org/show_bug.cgi?id=47922
6228 Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
6229 to follow webkit style rules.
6231 * src/WebFontImpl.cpp:
6232 (WebKit::WebFontImpl::drawText):
6233 * src/WebFrameImpl.cpp:
6234 (WebKit::WebFrameImpl::paintWithContext):
6235 * src/WebViewImpl.cpp:
6236 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
6237 * tests/TransparencyWinTest.cpp:
6240 2010-10-19 Andrey Kosyakov <caseq@chromium.org>
6242 Reviewed by Pavel Feldman.
6244 Web Inspector: expose request/response cookies in HAR
6245 https://bugs.webkit.org/show_bug.cgi?id=47894
6247 * src/WebResourceRawHeaders.cpp:
6248 (WebKit::addHeader): paste coalescent headers using "\n: as a separator instead of ", "
6250 2010-10-19 Tony Chang <tony@chromium.org>
6252 Reviewed by Kent Tamura.
6254 [chromium] Use webkit's TestNetscapePlugIn in DRT mac
6255 https://bugs.webkit.org/show_bug.cgi?id=47850
6257 * WebKit.gyp: Copy WebKitTestPlugIn into plugins and add
6258 GCC_SYMBOLS_PRIVATE_EXTERN: NO to export the symbols.
6260 2010-10-19 Tony Chang <tony@chromium.org>
6262 Unreviewed. Rolling chromium DEPS to 63057 to pick up mac plugin
6265 * DEPS: bump chromium DEPS to 63057.
6267 2010-10-19 Tony Chang <tony@chromium.org>
6269 Reviewed by Kent Tamura.
6271 [chromium] DumpRenderTree shouldn't put '.' in include path
6272 https://bugs.webkit.org/show_bug.cgi?id=47877
6274 * WebKit.gyp: Replace '.' with <(chromium_src_dir) and add public
6276 2010-10-18 Adrienne Walker <enne@google.com>
6278 Reviewed by Kenneth Russell.
6280 Turn off antialiasing when using Mesa during testing.
6281 https://bugs.webkit.org/show_bug.cgi?id=47697
6283 * src/WebGraphicsContext3DDefaultImpl.cpp:
6284 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
6286 2010-10-18 James Robinson <jamesr@chromium.org>
6288 Update the chromium DEPS from 62399 to 62813 to pick up skia fixes
6292 2010-10-17 Pavel Feldman <pfeldman@chromium.org>
6294 Reviewed by Yury Semikhatsky.
6296 Web Inspector: Introduce InspectorResourceAgent.h/cpp and ResourceManager.js to
6297 fill network panel with data.
6298 https://bugs.webkit.org/show_bug.cgi?id=47779
6300 * src/WebDevToolsAgentImpl.cpp:
6301 (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
6303 2010-10-17 Pascal Massimino <pascal.massimino@gmail.com>
6305 Reviewed by Adam Barth.
6307 Add support for WebP image decoding in ImageDecoder
6308 using library libwebp-decode library available from
6309 http://www.webmproject.org/code/
6311 https://bugs.webkit.org/show_bug.cgi?id=47512
6313 Tests: fast/images/webp-image-decoding.html
6316 add platform/image-decoders/webp files and directory
6318 add platform/image-decoders/webp directory
6319 * WebCore.gyp/WebCore.gyp:
6320 add platform/image-decoders/webp directory
6322 add platform/image-decoders/webp directory
6325 * platform/image-decoders/ImageDecoder.cpp:
6326 (WebCore::ImageDecoder::create):
6327 instantiate webp decoder for file starting with 'RIFF????WEBP'
6328 * platform/image-decoders/webp: Added.
6329 * platform/image-decoders/webp/WEBPImageDecoder.cpp: Added.
6330 (WebCore::WEBPImageDecoder::WEBPImageDecoder):
6331 (WebCore::WEBPImageDecoder::~WEBPImageDecoder):
6332 (WebCore::WEBPImageDecoder::isSizeAvailable):
6333 (WebCore::WEBPImageDecoder::frameBufferAtIndex):
6334 (WebCore::WEBPImageDecoder::decode):
6335 sub-class handling decoding of webp images
6336 * platform/image-decoders/webp/WEBPImageDecoder.h: Added.
6337 (WebCore::WEBPImageDecoder::filenameExtension):
6338 (WebCore::WEBPImageDecoder::supportsAlpha):
6339 header for webp-decoder sub-class
6341 2010-10-15 Tony Chang <tony@chromium.org>
6343 Reviewed by Kent Tamura.
6345 [chromium] compile TestNetscapePlugIn on Chromium mac
6346 https://bugs.webkit.org/show_bug.cgi?id=47633
6348 * WebKit.gyp: Add a mac specific target for compiling TestNetscapePlugIn
6349 Fix an include dir so we can compile in a chromium checkout.
6351 2010-10-15 Sheriff Bot <webkit.review.bot@gmail.com>
6353 Unreviewed, rolling out r69809.
6354 http://trac.webkit.org/changeset/69809
6355 https://bugs.webkit.org/show_bug.cgi?id=47725
6357 Broke chromium mac compile (Requested by japhet on #webkit).
6361 2010-10-15 Nikolas Zimmermann <nzimmermann@rim.com>
6363 Reviewed by Dirk Schulze.
6365 Replace some String::format() usages by StringConcatenate in WebKit
6366 https://bugs.webkit.org/show_bug.cgi?id=47714
6368 * src/BackForwardListClientImpl.cpp:
6369 (WebKit::BackForwardListClientImpl::itemAtIndex):
6370 * src/DebuggerAgentManager.cpp:
6371 (WebKit::DebuggerAgentManager::debugDetach):
6372 * src/LocalizedStrings.cpp:
6373 (WebCore::imageTitle):
6374 * src/WebPageSerializer.cpp:
6375 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
6376 (WebKit::WebPageSerializer::generateBaseTagDeclaration):
6378 2010-10-14 Wei Jia <wjia@chromium.org>
6380 Reviewed by Darin Fisher.
6382 Retrieve info of lock keys from stashed currentInputEvent which
6383 is stored by chromium when it passes input event to WebCore.
6384 Retrieving only when stashed event is a keyboard event, which
6385 means synthetic KeyboardEvent inherits lock key state from real
6387 https://bugs.webkit.org/show_bug.cgi?id=46518
6389 * src/WebPluginContainerImpl.cpp:
6390 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
6392 2010-10-14 John Abd-El-Malek <jam@chromium.org>
6394 Reviewed by Tony Chang.
6396 [chromium] null check the widget before sending it data as calling didReceiveData might delete it
6397 https://bugs.webkit.org/show_bug.cgi?id=47708
6399 * src/FrameLoaderClientImpl.cpp:
6400 (WebKit::FrameLoaderClientImpl::committedLoad):
6402 2010-10-14 Tony Chang <tony@chromium.org>
6404 Reviewed by Kent Tamura.
6406 [chromium] compile TestNetscapePlugIn on Chromium mac
6407 https://bugs.webkit.org/show_bug.cgi?id=47633
6409 * WebKit.gyp: Add a mac specific target for compiling TestNetscapePlugIn
6411 2010-10-13 Kinuko Yasuda <kinuko@chromium.org>
6413 Reviewed by Jian Li.
6415 [Chromium] Enable FILE_SYSTEM by default for chromium
6416 https://bugs.webkit.org/show_bug.cgi?id=47639
6418 * features.gypi: Add FILE_SYSTEM=1. Also remove FILE_READER=1
6419 as it seems to be not used anymore.
6421 2010-10-13 Jeremy Orlow <jorlow@chromium.org>
6423 Reviewed by Nate Chapin.
6425 IndexedDB should fire some errors synchronously
6426 https://bugs.webkit.org/show_bug.cgi?id=47530
6428 * public/WebIDBCursor.h:
6429 * public/WebIDBDatabase.h:
6430 (WebKit::WebIDBDatabase::transaction):
6431 * public/WebIDBFactory.h:
6432 (WebKit::WebIDBFactory::open):
6433 * public/WebIDBObjectStore.h:
6434 * public/WebIDBTransactionCallbacks.h:
6435 * src/IDBCursorBackendProxy.cpp:
6436 (WebCore::IDBCursorBackendProxy::update):
6437 (WebCore::IDBCursorBackendProxy::continueFunction):
6438 (WebCore::IDBCursorBackendProxy::remove):
6439 * src/IDBCursorBackendProxy.h:
6440 * src/IDBDatabaseProxy.cpp:
6441 (WebCore::IDBDatabaseProxy::createObjectStore):
6442 (WebCore::IDBDatabaseProxy::removeObjectStore):
6443 (WebCore::IDBDatabaseProxy::setVersion):
6444 (WebCore::IDBDatabaseProxy::transaction):
6445 * src/IDBDatabaseProxy.h:
6446 * src/IDBIndexBackendProxy.cpp:
6447 (WebCore::IDBIndexBackendProxy::openCursor):
6448 (WebCore::IDBIndexBackendProxy::openKeyCursor):
6449 (WebCore::IDBIndexBackendProxy::get):
6450 (WebCore::IDBIndexBackendProxy::getKey):
6451 * src/IDBIndexBackendProxy.h:
6452 * src/IDBObjectStoreProxy.cpp:
6453 (WebCore::IDBObjectStoreProxy::get):
6454 (WebCore::IDBObjectStoreProxy::put):
6455 (WebCore::IDBObjectStoreProxy::remove):
6456 (WebCore::IDBObjectStoreProxy::createIndex):
6457 (WebCore::IDBObjectStoreProxy::index):
6458 (WebCore::IDBObjectStoreProxy::removeIndex):
6459 (WebCore::IDBObjectStoreProxy::openCursor):
6460 * src/IDBObjectStoreProxy.h:
6461 * src/WebIDBCursorImpl.cpp:
6462 (WebKit::WebIDBCursorImpl::update):
6463 (WebKit::WebIDBCursorImpl::continueFunction):
6464 (WebKit::WebIDBCursorImpl::remove):
6465 * src/WebIDBCursorImpl.h:
6466 * src/WebIDBDatabaseImpl.cpp:
6467 (WebKit::WebIDBDatabaseImpl::createObjectStore):
6468 (WebKit::WebIDBDatabaseImpl::removeObjectStore):
6469 (WebKit::WebIDBDatabaseImpl::setVersion):
6470 (WebKit::WebIDBDatabaseImpl::transaction):
6471 * src/WebIDBDatabaseImpl.h:
6472 * src/WebIDBIndexImpl.cpp:
6473 (WebKit::WebIDBIndexImpl::openObjectCursor):
6474 (WebKit::WebIDBIndexImpl::openKeyCursor):
6475 (WebKit::WebIDBIndexImpl::getObject):
6476 (WebKit::WebIDBIndexImpl::getKey):
6477 * src/WebIDBIndexImpl.h:
6478 * src/WebIDBObjectStoreImpl.cpp:
6479 (WebKit::WebIDBObjectStoreImpl::get):
6480 (WebKit::WebIDBObjectStoreImpl::put):
6481 (WebKit::WebIDBObjectStoreImpl::remove):
6482 (WebKit::WebIDBObjectStoreImpl::createIndex):
6483 (WebKit::WebIDBObjectStoreImpl::index):
6484 (WebKit::WebIDBObjectStoreImpl::removeIndex):
6485 (WebKit::WebIDBObjectStoreImpl::openCursor):
6486 * src/WebIDBObjectStoreImpl.h:
6488 2010-10-13 Brett Wilson <brettw@chromium.org>
6490 Reviewed by Darin Fisher.
6492 Save and restore the GraphicsContext around setting the clip rect for
6494 https://bugs.webkit.org/show_bug.cgi?id=47634
6496 * src/WebFontImpl.cpp:
6497 (WebKit::WebFontImpl::drawText):
6499 2010-10-13 Kenneth Russell <kbr@google.com>
6501 Reviewed by James Robinson.
6503 Revert changes to WebViewImpl in r69633
6504 https://bugs.webkit.org/show_bug.cgi?id=47610
6506 Revert change to WebViewImpl.cpp in
6507 http://trac.webkit.org/changeset/69633 which incorrectly used
6508 PassRefPtr for a local variable instead of RefPtr. This was a fix
6509 for changes in http://trac.webkit.org/changeset/69619 and
6510 http://trac.webkit.org/changeset/69624 .
6512 * src/WebViewImpl.cpp:
6513 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6515 2010-10-13 Gavin Barraclough <barraclough@apple.com>
6517 Reviewed by Oliver Hunt.
6519 Bug 43987 - Downloading using XHR is much slower than before
6521 * src/WebPageSerializerImpl.cpp:
6522 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
6524 2010-10-13 Adam Barth <abarth@webkit.org>
6526 Reviewed by Tony Chang.
6528 [Chromium] Clean up WebPageSerializerImpl::serialize
6529 https://bugs.webkit.org/show_bug.cgi?id=47577
6531 This patch shouldn't have any behavior change. I'm just trying to
6532 understand what this code does.
6534 * src/WebPageSerializerImpl.cpp:
6535 (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
6536 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
6537 (WebKit::WebPageSerializerImpl::serialize):
6538 * src/WebPageSerializerImpl.h:
6540 2010-10-13 John Knottenbelt <jknotten@chromium.org>
6542 Reviewed by Steve Block.
6544 First step towards client-based Geolocation in Chromium. Build
6545 fixes for CLIENT_BASED_GEOLOCATION preprocessor feature define.
6546 https://bugs.webkit.org/show_bug.cgi?id=47586
6549 * src/ChromeClientImpl.cpp:
6550 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
6551 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
6552 * src/ChromiumBridge.cpp:
6553 * src/WebGeolocationServiceMock.cpp:
6554 (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
6555 (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
6556 (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
6557 (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
6559 2010-10-11 Andrei Popescu <andreip@google.com>
6561 Reviewed by Jeremy Orlow.
6563 [Chromium] Cleanup WebIDBFactory::open once the Chromium plumbing has landed.
6564 https://bugs.webkit.org/show_bug.cgi?id=47531
6566 Remove the temporary open() method since the appropriate Chromium plumbing was
6567 added in http://codereview.chromium.org/3729003/
6569 * public/WebIDBFactory.h:
6570 (WebKit::WebIDBFactory::open):
6572 2010-10-13 Adam Barth <abarth@webkit.org>
6574 Reviewed by Darin Fisher.
6576 [Chromium] Clean up SerializeDomParam
6577 https://bugs.webkit.org/show_bug.cgi?id=47580
6579 This patch just renames a bunch of the members of this struct to be
6580 more sensible. No behavior change, well, except for one struct member
6581 that wasn't initialized. I didn't trace through this code to see if
6582 the uninitialized value was used anywhere, but initializing all the
6583 values seems like a good idea.
6585 * src/WebPageSerializerImpl.cpp:
6586 (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
6587 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
6588 (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
6589 (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
6590 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
6591 (WebKit::WebPageSerializerImpl::openTagToString):
6592 (WebKit::WebPageSerializerImpl::endTagToString):
6593 (WebKit::WebPageSerializerImpl::buildContentForNode):
6594 * src/WebPageSerializerImpl.h:
6596 2010-10-13 Yury Semikhatsky <yurys@chromium.org>
6598 Reviewed by Pavel Feldman.
6600 Web Inspector: stack information is inconsistent between console.trace and runtime errors.
6601 https://bugs.webkit.org/show_bug.cgi?id=47252
6603 * DEPS: bump up V8 revision
6605 2010-10-12 Kenneth Russell <kbr@google.com>
6607 Unreviewed. Fixes for all WebGL content causing assertion failures
6608 in Chromium after http://trac.webkit.org/changeset/69619 and
6609 http://trac.webkit.org/changeset/69624 .
6611 * src/GraphicsContext3DChromium.cpp:
6612 (WebCore::GraphicsContext3D::create):
6613 * src/WebViewImpl.cpp:
6614 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6616 2010-10-12 Alok priyadarshi <alokp@chromium.org>
6618 Reviewed by Kenneth Russell.
6620 Remove support for ANGLE SH_VERSION <= 100
6621 https://bugs.webkit.org/show_bug.cgi?id=47307
6623 * src/WebGraphicsContext3DDefaultImpl.cpp:
6624 (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
6625 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
6627 2010-10-12 James Robinson <jamesr@chromium.org>
6629 Unreviewed chromium compile fixes for http://trac.webkit.org/changeset/69619.
6631 * src/GraphicsContext3DChromium.cpp:
6632 (WebCore::GraphicsContext3D::create):
6633 * src/WebViewImpl.cpp:
6634 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6635 * src/WebViewImpl.h:
6637 2010-10-12 Jian Li <jianli@chromium.org>
6639 Unreviewed. Bump up revision in order to pick up fix.
6643 2010-10-12 Jian Li <jianli@chromium.org>
6645 Unreview. Build fix for chromium.
6647 * public/WebBlobRegistry.h:
6649 2010-10-12 Jian Li <jianli@chromium.org>
6651 Reviewed by Darin Fisher.
6653 [chromium] Update WebBlobData to adapt to BlobData change in terms of
6654 handling string data item.
6655 https://bugs.webkit.org/show_bug.cgi?id=47423
6657 Also remove unneeded methods in WebBlobData. WebBlobStorageData.* are
6658 also removed since they're not longer needed.
6661 * public/WebBlobData.h:
6662 * public/WebBlobRegistry.h:
6663 * public/WebBlobStorageData.h: Removed.
6664 * public/WebThreadSafeData.h: Added.
6665 * src/WebBlobData.cpp:
6666 * src/WebBlobStorageData.cpp: Removed.
6667 * src/WebThreadSafeData.cpp: Added.
6669 2010-10-12 Kavita Kanetkar <kkanetkar@chromium.org>
6671 Reviewed by Dumitru Daniliuc.
6673 [FileSystem] Add ability to pass a bool to create or not create root path while opening filesystem.
6674 https://bugs.webkit.org/show_bug.cgi?id=47519
6676 * public/WebCommonWorkerClient.h:
6677 (WebKit::WebCommonWorkerClient::openFileSystem):
6678 * public/WebFrameClient.h:
6679 (WebKit::WebFrameClient::openFileSystem):
6681 2010-10-12 James Robinson <jamesr@chromium.org>
6683 Reviewed by Nate Chapin (in person).
6685 Fix chromium compile.
6687 * src/WebPageSerializerImpl.cpp:
6688 (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
6689 (WebKit::WebPageSerializerImpl::serialize):
6691 2010-10-12 Nikolas Zimmermann <nzimmermann@rim.com>
6693 Reviewed by Gavin Barraclough.
6695 Unify JSC::StringBuilder & WebCore::StringBuilder
6696 https://bugs.webkit.org/show_bug.cgi?id=47538
6698 * src/LocalizedStrings.cpp:
6699 (WebCore::imageTitle): Use WTF::StringBuilder.
6700 * src/WebEntities.cpp:
6701 (WebKit::WebEntities::convertEntitiesInString): Ditto.
6702 * src/WebPageSerializerImpl.cpp: Remove useless includes.
6703 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
6704 * src/WebPageSerializerImpl.h: Use WTF::StringBuilder.
6706 2010-10-07 Stephen White <senorblanco@chromium.org>
6708 Reviewed by James Robinson.
6710 [chromium] Zero-out all textures created via WebGraphicsContext3DDefaultImpl::texImage2D().
6711 https://bugs.webkit.org/show_bug.cgi?id=47178
6713 Covered by fast/canvas/toDataURL-alpha.html, when run with --accelerated-2d-canvas.
6715 * src/WebGraphicsContext3DDefaultImpl.cpp:
6716 (WebKit::bytesPerComponent):
6717 (WebKit::componentsPerPixel):
6718 (WebKit::imageSizeInBytes):
6719 (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D):
6721 2010-10-12 Dave Moore <davemoore@chromium.org>
6723 Reviewed by Tony Chang.
6725 Use new WebThemeEngine api on chromium / linux to draw scrollbars.
6726 https://bugs.webkit.org/show_bug.cgi?id=47473
6728 * public/WebThemeEngine.h: Removed.
6729 * chromium/src/ChromiumBridge.cpp:
6731 2010-10-11 Daniel Cheng <dcheng@chromium.org>
6733 Reviewed by Tony Chang.
6735 [chromium] Prepare Clipboard/DragData for transition to new drag-and-drop interface.
6736 https://bugs.webkit.org/show_bug.cgi?id=44992
6738 Add a new entry point for drag in to allow a graceful transition
6739 from the legacy drag and drop model, where all data is copied in at the
6740 beginning of a drag, to a model where data is retrieved on demand via
6741 IPCs. The rationale for this is when we begin supporting arbitrary MIME
6742 types in dataTransfer, we don't want to be copying aribtrary amounts of
6743 data over for each start drag IPC.
6746 * src/WebDragData.cpp:
6747 (WebKit::WebDragData::initialize): Use the legacy data object.
6748 (WebKit::WebDragData::ensureMutable): Change the if to an ASSERT.
6749 * src/WebViewImpl.cpp:
6750 (WebKit::WebViewImpl::dragTargetDragEnterNew): New entry point.
6751 * src/WebViewImpl.h:
6753 2010-10-11 Jeremy Orlow <jorlow@chromium.org>
6755 Reviewed by Nate Chapin.
6757 [Chromium] Add plumbing for synchronous indexedDB exceptions
6758 https://bugs.webkit.org/show_bug.cgi?id=47511
6760 Add a WebExceptionCode file (already run by fishd) and add versions of
6761 each applicable method that take such a parameter. A follow up patch
6762 will be posted with the meat.
6765 * public/WebExceptionCode.h: Added.
6766 * public/WebIDBCursor.h:
6767 (WebKit::WebIDBCursor::update):
6768 (WebKit::WebIDBCursor::continueFunction):
6769 (WebKit::WebIDBCursor::remove):
6770 * public/WebIDBDatabase.h:
6771 (WebKit::WebIDBDatabase::objectStore):
6772 (WebKit::WebIDBDatabase::createObjectStore):
6773 (WebKit::WebIDBDatabase::removeObjectStore):
6774 (WebKit::WebIDBDatabase::setVersion):
6775 (WebKit::WebIDBDatabase::transaction):
6776 * public/WebIDBIndex.h:
6777 (WebKit::WebIDBIndex::openObjectCursor):
6778 (WebKit::WebIDBIndex::openKeyCursor):
6779 (WebKit::WebIDBIndex::getObject):
6780 (WebKit::WebIDBIndex::getKey):
6781 * public/WebIDBObjectStore.h:
6782 (WebKit::WebIDBObjectStore::get):
6783 (WebKit::WebIDBObjectStore::put):
6784 (WebKit::WebIDBObjectStore::remove):
6785 (WebKit::WebIDBObjectStore::createIndex):
6786 (WebKit::WebIDBObjectStore::index):
6787 (WebKit::WebIDBObjectStore::removeIndex):
6788 (WebKit::WebIDBObjectStore::openCursor):
6790 2010-10-11 Andrei Popescu <andreip@google.com>
6792 Reviewed by Jeremy Orlow.
6794 The names of IndexedDB-specific attributes of DOMWindow should be prefixed with 'webkit'.
6795 https://bugs.webkit.org/show_bug.cgi?id=47508
6797 * src/WebRuntimeFeatures.cpp:
6798 (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
6799 (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
6801 2010-10-11 Tony Chang <tony@chromium.org>
6803 Unreviewed, roll chromium DEPS to pick up Dave's fix for
6804 scrollbar painting. This will be needed by an upcoming patch.
6808 2010-10-11 Kinuko Yasuda <kinuko@google.com>
6810 Reviewed by David Levin.
6812 Support DirectoryEntry.removeRecursively for FileSystem API
6813 https://bugs.webkit.org/show_bug.cgi?id=47400
6815 * src/AsyncFileSystemChromium.cpp:
6816 (WebCore::AsyncFileSystemChromium::removeRecursively): Added.
6817 * src/AsyncFileSystemChromium.h:
6818 * src/WorkerAsyncFileSystemChromium.cpp:
6819 (WebCore::WorkerAsyncFileSystemChromium::removeRecursively): Added.
6820 * src/WorkerAsyncFileSystemChromium.h:
6821 * src/WorkerFileSystemCallbacksBridge.cpp:
6822 (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread): Added.
6823 (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread): Added.
6824 * src/WorkerFileSystemCallbacksBridge.h:
6826 2010-10-09 Varun Jain <varunjain@chromium.org>
6828 Reviewed by Darin Fisher.
6830 Adding one method to the WebView interface: method to inform the
6831 renderer to scroll the currently focused element into view, for
6832 instance, when it is hidden due to window resizing.
6833 Also adding methods to WebNode and WebElement to expose more
6834 features of the underlying WebCore::Node.
6835 https://bugs.webkit.org/show_bug.cgi?id=46296
6837 * public/WebElement.h:
6841 (WebKit::WebElement::isTextFormControlElement):
6843 (WebKit::WebNode::isContentEditable):
6844 * src/WebViewImpl.cpp:
6845 (WebKit::WebViewImpl::scrollFocusedNodeIntoView):
6846 * src/WebViewImpl.h:
6848 2010-10-08 Andrei Popescu <andreip@google.com>
6850 Reviewed by Jeremy Orlow.
6852 [Chromium] IDBFactory::open only works in single process mode.
6853 https://bugs.webkit.org/show_bug.cgi?id=47444
6855 * public/WebIDBFactory.h:
6856 (WebKit::WebIDBFactory::open):
6858 2010-10-08 Andrei Popescu <andreip@google.com>
6860 Reviewed by Jeremy Orlow.
6862 IndexedDB does not have a quota mechanism.
6863 https://bugs.webkit.org/show_bug.cgi?id=47389
6865 * public/WebIDBFactory.h:
6866 (WebKit::WebIDBFactory::open):
6867 * src/IDBFactoryBackendProxy.cpp:
6868 (WebCore::IDBFactoryBackendProxy::open):
6869 * src/IDBFactoryBackendProxy.h:
6870 * src/WebIDBFactoryImpl.cpp:
6871 (WebKit::WebIDBFactoryImpl::open):
6872 * src/WebIDBFactoryImpl.h:
6874 2010-10-07 Zhenyao Mo <zmo@google.com>
6876 Unreviewed, roll chromium to r61902.
6880 2010-10-07 Zhenyao Mo <zmo@google.com>
6882 Reviewed by Tony Chang.
6884 Copy mesa lib into DumpRenderTree bundle in Mac
6885 https://bugs.webkit.org/show_bug.cgi?id=47385
6889 2010-10-07 Daniel Cheng <dcheng@chromium.org>
6891 Reviewed by Tony Chang.
6893 [chromium] Minor naming cleanup in WebDragData, part 2
6894 https://bugs.webkit.org/show_bug.cgi?id=47227
6896 Chromium no longer uses the deprecated methods, so delete them.
6899 * public/WebDragData.h:
6900 * src/WebDragData.cpp:
6902 2010-10-07 Dave Moore <davemoore@chromium.org>
6904 Reviewed by Kent Tamura.
6906 Add WebThemeEngine api for chromium/linux
6907 https://bugs.webkit.org/show_bug.cgi?id=47278
6908 Create new linux specific version of WinThemeEngine.h and move
6909 existing windows specific one to win directory. Keep old top
6910 level file until chromium is updated to use the new ones.
6913 * public/WebThemeEngine.h:
6914 * src/ChromiumBridge.cpp:
6916 2010-10-07 Andrey Kosyakov <caseq@chromium.org>
6918 Reviewed by Yury Semikhatsky.
6920 Chromium multi-dll build broken due to WebResourceRawHeaders methods lacking WEBKIT_API decl spec
6921 https://bugs.webkit.org/show_bug.cgi?id=47329
6923 * public/WebResourceRawHeaders.h:
6924 (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
6925 (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
6926 (WebKit::WebResourceRawHeaders::operator =):
6927 * src/WebResourceRawHeaders.cpp:
6928 (WebKit::WebResourceRawHeaders::initialize):
6929 (WebKit::WebResourceRawHeaders::reset):
6930 (WebKit::WebResourceRawHeaders::assign):
6932 2010-10-06 Chris Guillory <chris.guillory@google.com>
6934 Reviewed by Chris Fleizach.
6936 Remove unused accessibility functions from webkit.
6937 https://bugs.webkit.org/attachment.cgi?bugid=46707
6939 * public/WebAccessibilityCache.h:
6940 * public/WebViewClient.h:
6941 * src/ChromeClientImpl.cpp:
6942 (WebKit::ChromeClientImpl::focusedNodeChanged):
6943 * src/WebAccessibilityCacheImpl.cpp:
6944 * src/WebAccessibilityCacheImpl.h:
6946 2010-10-06 Kinuko Yasuda <kinuko@chromium.org>
6948 Reviewed by David Levin.
6950 Add FileSystemSync implementation for Worker
6951 https://bugs.webkit.org/show_bug.cgi?id=47044
6953 * src/LocalFileSystemChromium.cpp:
6954 (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter
6955 for synchronous mode.
6956 * src/WebFileSystemCallbacksImpl.cpp:
6957 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
6958 a parameter for synchronous mode.
6959 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to
6960 creates WorkerAsyncFileSystemChromium with synchronous flag.
6961 * src/WebFileSystemCallbacksImpl.h:
6962 * src/WebWorkerBase.cpp:
6963 (WebKit::WebWorkerBase::openFileSystem): Added a parameter for
6965 * src/WebWorkerBase.h:
6966 * src/WorkerAsyncFileSystemChromium.cpp:
6967 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
6968 (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
6970 (WebCore::WorkerAsyncFileSystemChromium::move):
6971 (WebCore::WorkerAsyncFileSystemChromium::copy):
6972 (WebCore::WorkerAsyncFileSystemChromium::remove):
6973 (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
6974 (WebCore::WorkerAsyncFileSystemChromium::createFile):
6975 (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
6976 (WebCore::WorkerAsyncFileSystemChromium::fileExists):
6977 (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
6978 (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
6979 (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
6980 Updated to store the created bridge in a member variable so that
6981 we can call bridge->stop() later when the RunLoop is terminating.
6982 * src/WorkerAsyncFileSystemChromium.h:
6983 (WebCore::WorkerAsyncFileSystemChromium::create): Added a new
6984 parameter for synchronous mode.
6986 2010-10-06 Andrei Popescu <andreip@google.com>
6988 Reviewed by Jeremy Orlow.
6990 IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
6991 https://bugs.webkit.org/show_bug.cgi?id=47245
6993 * src/IDBTransactionBackendProxy.cpp:
6994 (WebCore::IDBTransactionBackendProxy::scheduleTask):
6995 * src/IDBTransactionBackendProxy.h:
6997 2010-10-06 Victor Wang <victorw@chromium.org>
6999 Reviewed by Darin Fisher.
7001 [Chromium] Add webkit unit tests to chromium multi-dll build.
7003 In chromium multi-dll build mode, compile the webkit unit tests
7004 code in webkit.dll and export an api that runs the tests.
7006 https://bugs.webkit.org/show_bug.cgi?id=46907
7010 * tests/RunAllTests.cpp:
7012 * tests/WebUnitTests.cpp: Added.
7013 (WebKit::RunAllUnitTests):
7014 * tests/WebUnitTests.h: Added.
7016 2010-10-05 Jeremy Orlow <jorlow@chromium.org>
7018 Reviewed by Nate Chapin.
7020 [Chromium] WebIDBKeyRange should handle null left/right pointers
7021 https://bugs.webkit.org/show_bug.cgi?id=47247
7023 * src/WebIDBKeyRange.cpp:
7024 (WebKit::WebIDBKeyRange::assign):
7025 (WebKit::WebIDBKeyRange::left):
7026 (WebKit::WebIDBKeyRange::right):
7027 (WebKit::WebIDBKeyRange::flags):
7029 2010-10-06 Tony Chang <tony@chromium.org>
7031 Unreviewed, rolling out r69202.
7032 http://trac.webkit.org/changeset/69202
7033 https://bugs.webkit.org/show_bug.cgi?id=46937
7035 Broke compile of test_shell
7038 * public/WebDragData.h:
7039 * src/WebDragData.cpp:
7040 (WebKit::WebDragData::hasFileNames):
7041 (WebKit::WebDragData::fileNames):
7042 (WebKit::WebDragData::setFileNames):
7043 (WebKit::WebDragData::appendToFileNames):
7044 (WebKit::WebDragData::fileContentFileName):
7045 (WebKit::WebDragData::setFileContentFileName):
7047 2010-10-06 Daniel Cheng <dcheng@chromium.org>
7049 Reviewed by Tony Chang.
7051 [chromium] Minor naming cleanup in WebDragData, part 2
7052 https://bugs.webkit.org/show_bug.cgi?id=46937
7054 Chromium no longer uses the deprecated methods, so delete them.
7057 * public/WebDragData.h:
7058 * src/WebDragData.cpp:
7060 2010-09-29 Alpha Lam <hclam@chromium.org>
7062 Reviewed by James Robinson.
7064 Render textures in video frame directly.
7065 https://bugs.webkit.org/show_bug.cgi?id=46765
7067 Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame.
7068 Also explicitly instruct VideoLayerChromium to release video frame when the owner
7069 of video frame is going away.
7071 * public/WebVideoFrame.h:
7072 * src/AssertMatchingEnums.cpp:
7073 * src/VideoFrameChromiumImpl.cpp:
7074 (WebKit::VideoFrameChromiumImpl::texture):
7075 * src/VideoFrameChromiumImpl.h:
7076 * src/WebMediaPlayerClientImpl.cpp:
7077 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
7078 (WebKit::WebMediaPlayerClientImpl::load):
7079 * src/WebMediaPlayerClientImpl.h:
7081 2010-10-05 Nat Duca <nduca@chromium.org>
7083 Reviewed by James Robinson.
7085 [chromium] Handle composited root layer invalidations in screenspace,
7086 fixing the disappearing scrollbar problem.
7087 https://bugs.webkit.org/show_bug.cgi?id=46864
7089 * src/WebViewImpl.cpp:
7090 (WebKit::WebViewImpl::composite):
7091 (WebKit::WebViewImpl::scrollRootLayerRect):
7092 (WebKit::WebViewImpl::invalidateRootLayerRect):
7093 (WebKit::WebViewImpl::doComposite):
7095 2010-10-05 Kenneth Russell <kbr@google.com>
7097 Unreviewed, follow up to 47216. Add newline above "protected:".
7099 * public/WebFrame.h:
7101 2010-10-05 Kenneth Russell <kbr@google.com>
7103 Reviewed by Tony Chang.
7105 [chromium] Implement layerTreeAsText in DumpRenderTree
7106 https://bugs.webkit.org/show_bug.cgi?id=47216
7108 Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
7109 make it callable from DumpRenderTree.
7111 No new tests; verified with existing compositor layout tests.
7113 * public/WebFrame.h:
7114 * src/WebFrameImpl.cpp:
7115 (WebKit::WebFrameImpl::layerTreeAsText):
7116 * src/WebFrameImpl.h:
7118 2010-10-05 Andrew Wilson <atwilson@chromium.org>
7120 Reviewed by Andreas Kling.
7122 Notification onclick() events don't act like user gestures
7123 https://bugs.webkit.org/show_bug.cgi?id=47137
7125 * src/WebNotification.cpp:
7126 (WebKit::WebNotification::dispatchClickEvent):
7127 Use UserGestureIndicator to make sure click events are treated like user gestures.
7129 2010-10-05 Alok Priyadarshi <alokp@chromium.org>
7131 Reviewed by Kenneth Russell.
7133 Supported ANGLE SH_VERSION > 100
7134 https://bugs.webkit.org/show_bug.cgi?id=47024
7136 * src/WebGraphicsContext3DDefaultImpl.cpp:
7137 (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
7138 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
7140 2010-10-04 Jeremy Orlow <jorlow@chromium.org>
7142 Reviewed by Nate Chapin.
7144 Rename get* and open*Cursor per the spec on IDBIndex
7145 https://bugs.webkit.org/show_bug.cgi?id=46906
7147 The spec changed so that:
7148 IDBIndex.get -> getKey
7149 IDBIndex.getObject -> get
7150 IDBIndex.openCursor -> openKeyCursor
7151 IDBIndex.openObjectCursor -> openCursor
7153 * public/WebIDBIndex.h:
7154 (WebKit::WebIDBIndex::openCursor):
7155 (WebKit::WebIDBIndex::openKeyCursor):
7156 (WebKit::WebIDBIndex::get):
7157 (WebKit::WebIDBIndex::getKey):
7158 * src/IDBIndexBackendProxy.cpp:
7159 (WebCore::IDBIndexBackendProxy::openCursor):
7160 (WebCore::IDBIndexBackendProxy::openKeyCursor):
7161 (WebCore::IDBIndexBackendProxy::get):
7162 (WebCore::IDBIndexBackendProxy::getKey):
7163 * src/IDBIndexBackendProxy.h:
7164 * src/WebIDBIndexImpl.cpp:
7165 (WebKit::WebIDBIndexImpl::openObjectCursor):
7166 (WebKit::WebIDBIndexImpl::openKeyCursor):
7167 (WebKit::WebIDBIndexImpl::getObject):
7168 (WebKit::WebIDBIndexImpl::getKey):
7169 * src/WebIDBIndexImpl.h:
7171 2010-10-04 Andrei Popescu <andreip@google.com>
7173 Reviewed by Jeremy Orlow.
7175 IDBDatabase::createObjectStore/removeObjectStore and IDBObjectStore::createIndex/removeIndex should be synchronous.
7176 https://bugs.webkit.org/show_bug.cgi?id=46883
7178 * public/WebIDBDatabase.h:
7179 (WebKit::WebIDBDatabase::createObjectStore):
7180 (WebKit::WebIDBDatabase::removeObjectStore):
7181 * public/WebIDBObjectStore.h:
7182 (WebKit::WebIDBObjectStore::createIndex):
7183 (WebKit::WebIDBObjectStore::removeIndex):
7184 * src/IDBDatabaseProxy.cpp:
7185 (WebCore::IDBDatabaseProxy::createObjectStore):
7186 (WebCore::IDBDatabaseProxy::removeObjectStore):
7187 * src/IDBDatabaseProxy.h:
7188 * src/IDBObjectStoreProxy.cpp:
7189 (WebCore::IDBObjectStoreProxy::createIndex):
7190 (WebCore::IDBObjectStoreProxy::removeIndex):
7191 * src/IDBObjectStoreProxy.h:
7192 * src/WebIDBDatabaseImpl.cpp:
7193 (WebKit::WebIDBDatabaseImpl::createObjectStore):
7194 (WebKit::WebIDBDatabaseImpl::removeObjectStore):
7195 * src/WebIDBDatabaseImpl.h:
7196 * src/WebIDBObjectStoreImpl.cpp:
7197 (WebKit::WebIDBObjectStoreImpl::createIndex):
7198 (WebKit::WebIDBObjectStoreImpl::removeIndex):
7199 * src/WebIDBObjectStoreImpl.h:
7201 2010-10-04 Andrey Kosyakov <caseq@chromium.org>
7203 Reviewed by Yury Semikhatsky.
7205 Web Inspector: [Chromium][Extension API] provide tab id of inspected tab in extension API
7206 https://bugs.webkit.org/show_bug.cgi?id=47080
7208 * src/js/DevTools.js: Added a way for extension to get tabId of inspected window.
7209 (WebInspector.platformExtensionAPI):
7210 (WebInspector.buildPlatformExtensionAPI):
7211 (WebInspector.setInspectedTabId):
7213 2010-10-04 Tony Gentilcore <tonyg@chromium.org>
7215 Reviewed by Darin Fisher.
7217 [chromium] Properly clear WebKit cache when chromium cache is cleared
7218 https://bugs.webkit.org/show_bug.cgi?id=47119
7220 Contributed by Ricardo Vargas.
7222 See: http://code.google.com/p/chromium/issues/detail?id=54336
7225 (WebKit::WebCache::clear):
7227 2010-10-04 Nico Weber <thakis@chromium.org>
7229 Reviewed by Kenneth Russell.
7231 Fix broken C++ in PODInterval and PODIntervalTree
7232 https://bugs.webkit.org/show_bug.cgi?id=47063
7234 Change functions to be template specializations, like it's now required
7235 by PODIntervalTree and friends.
7237 * tests/PODIntervalTreeTest.cpp:
7239 2010-10-04 Matt Mueller <mattm@chromium.org>
7241 Reviewed by Darin Fisher.
7243 When building under chromium, build libwebkit as the same type (shared
7244 or static) as chromium. Fixes problems with multiple calls to global
7245 initializers/finalizers in shared chromium build.
7246 https://bugs.webkit.org/show_bug.cgi?id=46762
7250 2010-10-04 Alpha Lam <hclam@chromium.org>
7252 Build fix. Not reviewed.
7254 Remove a function declaration.
7256 * src/ChromeClientImpl.h:
7258 2010-10-04 Alpha Lam <hclam@chromium.org>
7260 Build fix. Not reviewed.
7262 https://bugs.webkit.org/show_bug.cgi?id=47135
7263 Add a stub method to make the build happy.
7265 * src/ApplicationCacheHost.cpp:
7266 (WebCore::ApplicationCacheHost::stopLoadingInFrame):
7268 2010-10-04 Chris Marrin <cmarrin@apple.com>
7270 Reviewed by James Robinson.
7272 Move SharedGraphicsContext3D from ChromeClient to Page
7273 https://bugs.webkit.org/show_bug.cgi?id=47113
7275 * src/ChromeClientImpl.cpp:
7276 * src/WebViewImpl.cpp:
7277 * src/WebViewImpl.h:
7279 2010-10-04 Jeremy Orlow <jorlow@chromium.org>
7281 Reviewed by Nate Chapin.
7283 Implement IndexedDB's oncomplete and ontimeout.
7284 https://bugs.webkit.org/show_bug.cgi?id=47106
7286 * public/WebIDBTransactionCallbacks.h:
7287 (WebKit::WebIDBTransactionCallbacks::id):
7288 (WebKit::WebIDBTransactionCallbacks::onAbort):
7289 (WebKit::WebIDBTransactionCallbacks::onComplete):
7290 (WebKit::WebIDBTransactionCallbacks::onTimeout):
7291 * src/IDBTransactionCallbacksProxy.cpp:
7292 (WebCore::IDBTransactionCallbacksProxy::onComplete):
7293 (WebCore::IDBTransactionCallbacksProxy::onTimeout):
7294 * src/IDBTransactionCallbacksProxy.h:
7295 * src/WebIDBTransactionCallbacksImpl.cpp:
7296 (WebCore::WebIDBTransactionCallbacksImpl::onComplete):
7297 (WebCore::WebIDBTransactionCallbacksImpl::onTimeout):
7298 * src/WebIDBTransactionCallbacksImpl.h:
7300 2010-10-04 Adam Barth <abarth@webkit.org>
7302 Reviewed by Darin Adler.
7304 Rename RedirectScheduler to NavigationScheduler
7305 https://bugs.webkit.org/show_bug.cgi?id=47037
7307 Update for name change.
7309 * src/ApplicationCacheHost.cpp:
7310 (WebCore::ApplicationCacheHost::selectCacheWithManifest):
7311 * src/WebFrameImpl.cpp:
7312 (WebKit::WebFrameImpl::loadJavaScriptURL):
7314 2010-10-01 Victoria Kirst <vrk@google.com>
7316 Reviewed by James Robinson.
7318 Fixing crash when audio media player is destructed
7319 https://bugs.webkit.org/show_bug.cgi?id=47020
7321 Creates the VideoLayerChromium layer only if the media player contains
7324 * src/WebMediaPlayerClientImpl.cpp:
7325 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
7326 (WebKit::WebMediaPlayerClientImpl::create):
7328 2010-10-01 Mihai Parparita <mihaip@chromium.org>
7330 Reviewed by Nate Chapin.
7332 [Chromium] Remove WebURLLoaderClient::didFinishLoading(WebURLLoader*)
7333 https://bugs.webkit.org/show_bug.cgi?id=47008
7335 Now that WebURLLoaderClient::didFinishLoading(WebURLLoader*) has no
7336 more callers, it can be removed (requires a Chromium roll to
7337 http://crrev.com/61206, which actually removed the last usage).
7340 * public/WebURLLoaderClient.h:
7342 2010-10-01 Daniel Cheng <dcheng@chromium.org>
7344 Reviewed by Tony Chang.
7346 [chromium] Minor naming cleanup in WebDragData
7347 https://bugs.webkit.org/show_bug.cgi?id=46937
7349 This is a two-part patch--one to add the new methods with normalized
7350 names that follow general WebKit convention, and a followup patch to
7351 remove the original methods once Chromium is updated.
7353 * public/WebDragData.h:
7354 * src/WebDragData.cpp:
7355 (WebKit::WebDragData::hasFileNames): renamed to containsFilenames
7356 (WebKit::WebDragData::fileNames): renamed to filenames
7357 (WebKit::WebDragData::setFileNames): renamed to setFilenames
7358 (WebKit::WebDragData::appendToFileNames): renamed to appendToFilenames
7359 (WebKit::WebDragData::containsFilenames):
7360 (WebKit::WebDragData::filenames):
7361 (WebKit::WebDragData::setFilenames):
7362 (WebKit::WebDragData::appendToFilenames):
7363 (WebKit::WebDragData::fileContentFileName): renamed to fileContentFilename
7364 (WebKit::WebDragData::setFileContentFileName): renamed to setFileContentFilename
7365 (WebKit::WebDragData::fileContentFilename):
7366 (WebKit::WebDragData::setFileContentFilename):
7368 2010-10-01 Jochen Eisinger <jochen@chromium.org>
7370 Reviewed by Darin Fisher.
7372 [chromium] add an identifier method to WebFrame. The identifier can be used to identify
7373 a given frame of a view over time. Using a pointer to the WebFrame object is fragile,
7374 since a new frame might have been allocated at the same address as an old, deleted frame.
7375 https://bugs.webkit.org/show_bug.cgi?id=46884
7377 * public/WebFrame.h:
7378 * src/WebFrameImpl.cpp:
7379 (WebKit::generateFrameIdentifier):
7380 (WebKit::WebFrameImpl::identifier):
7381 (WebKit::WebFrameImpl::WebFrameImpl):
7382 * src/WebFrameImpl.h:
7384 2010-09-29 John Abd-El-Malek <jam@chromium.org>
7386 Reviewed by Darin Fisher.
7388 [chromium] Changes to consolidate plugin zoom
7389 https://bugs.webkit.org/show_bug.cgi?id=46550
7391 * public/WebPlugin.h:
7392 (WebKit::WebPlugin::setZoomLevel):
7393 * public/WebPluginContainer.h:
7395 * public/WebViewClient.h:
7396 (WebKit::WebViewClient::zoomLimitsChanged):
7397 (WebKit::WebViewClient::zoomLevelChanged):
7398 * src/FrameLoaderClientImpl.cpp:
7399 (WebKit::FrameLoaderClientImpl::createPlugin):
7400 * src/WebPluginContainerImpl.cpp:
7401 (WebKit::WebPluginContainerImpl::loadFrameRequest):
7402 (WebKit::WebPluginContainerImpl::zoomChanged):
7403 (WebKit::WebPluginContainerImpl::zoomLimitsChanged):
7404 * src/WebPluginContainerImpl.h:
7405 * src/WebViewImpl.cpp:
7406 (WebKit::WebViewImpl::WebViewImpl):
7407 (WebKit::WebViewImpl::zoomLevel):
7408 (WebKit::WebViewImpl::setZoomLevel):
7409 (WebKit::WebViewImpl::zoomLimitsChanged):
7410 (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
7411 (WebKit::WebView::zoomLevelToZoomFactor):
7412 (WebKit::WebView::zoomFactorToZoomLevel):
7413 * src/WebViewImpl.h:
7415 2010-09-30 MORITA Hajime <morrita@google.com>
7417 Reviewed by James Robinson.
7419 [Chromium] build fails unless ACCELERATED_2D_CANVAS defined
7420 https://bugs.webkit.org/show_bug.cgi?id=46955
7422 Added ifdef guard around SharedGraphicsContext3D.
7424 * src/WebViewImpl.cpp:
7425 (WebKit::WebViewImpl::getSharedGraphicsContext3D):
7426 * src/WebViewImpl.h:
7428 2010-09-30 Alexey Marinichev <amarinichev@chromium.org>
7430 Reviewed by Chris Marrin.
7432 Add GetGraphicsResetStatusARB entry point from ARB_robustness
7433 extension to GraphicsContext3D
7434 https://bugs.webkit.org/show_bug.cgi?id=46850
7436 Added a stub for GraphicsContext3D::getGraphicsResetStatusARB.
7438 * src/GraphicsContext3DChromium.cpp:
7439 (WebCore::GraphicsContext3D::getGraphicsResetStatusARB):
7441 2010-09-30 Dumitru Daniliuc <dumi@chromium.org>
7443 Reviewed by Darin Fisher.
7445 Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&).
7447 * public/WebHTTPBody.h:
7448 * src/WebHTTPBody.cpp:
7449 (WebKit::WebHTTPBody::elementAt):
7451 2010-09-30 Nico Weber <thakis@chromium.org>
7453 Reviewed by Adam Barth.
7455 [chromium] Fix clang error in KURLTest.cpp
7456 https://bugs.webkit.org/show_bug.cgi?id=46861
7458 * tests/KURLTest.cpp:
7461 2010-09-30 Daniel Cheng <dcheng@chromium.org>
7463 Reviewed by Tony Chang.
7465 [chromium] Refactor ChromiumDataObject to use getters/setters.
7466 https://bugs.webkit.org/show_bug.cgi?id=46559
7468 This is an intermediate step to converting ChromiumDataObject to use
7469 callbacks to the browser to retrieve data.
7471 * public/WebDragData.h:
7472 * src/WebDragData.cpp:
7473 (WebKit::WebDragData::initialize):
7474 (WebKit::WebDragData::url):
7475 (WebKit::WebDragData::setURL):
7476 (WebKit::WebDragData::urlTitle):
7477 (WebKit::WebDragData::setURLTitle):
7478 (WebKit::WebDragData::downloadMetadata):
7479 (WebKit::WebDragData::setDownloadMetadata):
7480 (WebKit::WebDragData::fileExtension):
7481 (WebKit::WebDragData::setFileExtension):
7482 (WebKit::WebDragData::hasFileNames):
7483 (WebKit::WebDragData::fileNames):
7484 (WebKit::WebDragData::setFileNames):
7485 (WebKit::WebDragData::appendToFileNames):
7486 (WebKit::WebDragData::plainText):
7487 (WebKit::WebDragData::setPlainText):
7488 (WebKit::WebDragData::htmlText):
7489 (WebKit::WebDragData::setHTMLText):
7490 (WebKit::WebDragData::htmlBaseURL):
7491 (WebKit::WebDragData::setHTMLBaseURL):
7492 (WebKit::WebDragData::fileContentFileName):
7493 (WebKit::WebDragData::setFileContentFileName):
7494 (WebKit::WebDragData::fileContent):
7495 (WebKit::WebDragData::setFileContent):
7497 2010-09-29 Zhenyao Mo <zmo@google.com>
7499 Reviewed by Kenneth Russell.
7501 glsl-conformance.html on khronos will crash chromium --in-process-webgl
7502 https://bugs.webkit.org/show_bug.cgi?id=46863
7504 * src/WebGraphicsContext3DDefaultImpl.cpp: Make ShaderSourceMap as <ShaderID, ShaderSourceEntry*>, so map resizing will be efficient and we don't need to worry about pointer copying.
7505 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
7506 (WebKit::WebGraphicsContext3DDefaultImpl::compileShader):
7507 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv):
7508 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
7509 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
7510 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
7511 (WebKit::WebGraphicsContext3DDefaultImpl::createShader):
7512 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
7513 * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
7514 (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry):
7516 2010-09-30 Andrei Popescu <andreip@google.com>
7518 Reviewed by Jeremy Orlow.
7520 [Chromium] WebIDBDatabase and WebIDBObjectStore are missing methods called from Chromium land.
7521 https://bugs.webkit.org/show_bug.cgi?id=46922
7523 The missing functions were removed in r68795.
7525 * public/WebIDBDatabase.h:
7526 (WebKit::WebIDBDatabase::createObjectStore):
7527 (WebKit::WebIDBDatabase::removeObjectStore):
7528 * public/WebIDBObjectStore.h:
7529 (WebKit::WebIDBObjectStore::createIndex):
7530 (WebKit::WebIDBObjectStore::removeIndex):
7532 2010-09-29 Kenneth Russell <kbr@google.com>
7534 Reviewed by Dimitri Glazkov.
7536 [chromium] Add accelerated compositing support to DumpRenderTree and test_shell
7537 https://bugs.webkit.org/show_bug.cgi?id=46849
7539 Added offscreen code path for WebGraphicsContext3DDefaultImpl which
7540 works with the compositor integration in both DumpRenderTree and
7541 test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint
7542 and thereby trigger the compositor's readback code path. Added support
7543 for --enable-accelerated-compositing to DumpRenderTree.
7545 Tested in both test_shell and DumpRenderTree on Linux, the latter by
7546 modifying a compositing layout test, dumping the pixels and verifying
7547 that they matched the output when the compositor was active.
7549 * src/WebGraphicsContext3DDefaultImpl.cpp:
7550 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
7551 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
7552 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
7553 (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId):
7554 (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
7555 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
7556 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
7557 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
7558 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
7559 * src/WebGraphicsContext3DDefaultImpl.h:
7561 2010-09-29 Jeremy Orlow <jorlow@chromium.org>
7563 Reviewed by Steve Block.
7565 Finished IDBTransaction for IndexedDB
7566 https://bugs.webkit.org/show_bug.cgi?id=46823
7570 * public/WebIDBCallbacks.h:
7571 (WebKit::WebIDBCallbacks::onSuccess):
7572 * public/WebIDBDatabase.h:
7573 (WebKit::WebIDBDatabase::createObjectStore):
7574 (WebKit::WebIDBDatabase::removeObjectStore):
7575 (WebKit::WebIDBDatabase::close):
7576 * public/WebIDBIndex.h:
7577 (WebKit::WebIDBIndex::openObjectCursor):
7578 (WebKit::WebIDBIndex::openCursor):
7579 (WebKit::WebIDBIndex::getObject):
7580 (WebKit::WebIDBIndex::get):
7581 * public/WebIDBObjectStore.h:
7582 (WebKit::WebIDBObjectStore::get):
7583 (WebKit::WebIDBObjectStore::put):
7584 (WebKit::WebIDBObjectStore::remove):
7585 (WebKit::WebIDBObjectStore::createIndex):
7586 (WebKit::WebIDBObjectStore::removeIndex):
7587 (WebKit::WebIDBObjectStore::openCursor):
7588 * public/WebIDBTransaction.h:
7589 (WebKit::WebIDBTransaction::id):
7590 (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
7591 * src/IDBCallbacksProxy.cpp:
7592 (WebCore::IDBCallbacksProxy::onSuccess):
7593 * src/IDBCallbacksProxy.h:
7594 * src/IDBDatabaseProxy.cpp:
7595 (WebCore::IDBDatabaseProxy::createObjectStore):
7596 (WebCore::IDBDatabaseProxy::removeObjectStore):
7597 (WebCore::IDBDatabaseProxy::close):
7598 * src/IDBDatabaseProxy.h:
7599 * src/IDBIndexBackendProxy.cpp:
7600 (WebCore::IDBIndexBackendProxy::openObjectCursor):
7601 (WebCore::IDBIndexBackendProxy::openCursor):
7602 (WebCore::IDBIndexBackendProxy::getObject):
7603 (WebCore::IDBIndexBackendProxy::get):
7604 * src/IDBIndexBackendProxy.h:
7605 * src/IDBObjectStoreProxy.cpp:
7606 (WebCore::IDBObjectStoreProxy::put):
7607 (WebCore::IDBObjectStoreProxy::remove):
7608 (WebCore::IDBObjectStoreProxy::createIndex):
7609 (WebCore::IDBObjectStoreProxy::removeIndex):
7610 (WebCore::IDBObjectStoreProxy::openCursor):
7611 * src/IDBObjectStoreProxy.h:
7612 * src/IDBTransactionBackendProxy.cpp:
7613 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
7614 * src/WebIDBCallbacksImpl.cpp:
7615 (WebCore::WebIDBCallbacksImpl::onSuccess):
7616 * src/WebIDBCallbacksImpl.h:
7617 * src/WebIDBDatabaseImpl.cpp:
7618 (WebKit::WebIDBDatabaseImpl::createObjectStore):
7619 (WebKit::WebIDBDatabaseImpl::removeObjectStore):
7620 (WebKit::WebIDBDatabaseImpl::close):
7621 * src/WebIDBDatabaseImpl.h:
7622 * src/WebIDBIndexImpl.cpp:
7623 (WebKit::WebIDBIndexImpl::openCursor):
7624 (WebKit::WebIDBIndexImpl::openObjectCursor):
7625 (WebKit::WebIDBIndexImpl::getObject):
7626 (WebKit::WebIDBIndexImpl::get):
7627 * src/WebIDBIndexImpl.h:
7628 * src/WebIDBObjectStoreImpl.cpp:
7629 (WebKit::WebIDBObjectStoreImpl::put):
7630 (WebKit::WebIDBObjectStoreImpl::remove):
7631 (WebKit::WebIDBObjectStoreImpl::createIndex):
7632 (WebKit::WebIDBObjectStoreImpl::removeIndex):
7633 (WebKit::WebIDBObjectStoreImpl::openCursor):
7634 * src/WebIDBObjectStoreImpl.h:
7636 2010-09-29 Andrey Kosyakov <caseq@chromium.org>
7638 Reviewed by Pavel Feldman.
7640 Web Inspector: display headers actually used by network stack in Resources tab
7641 Added plumbing for raw headers flag and response field between chromium and WebCore.
7642 https://bugs.webkit.org/show_bug.cgi?id=46092
7645 * public/WebResourceRawHeaders.h: Added.
7646 * public/WebURLRequest.h:
7647 * public/WebURLResponse.h:
7648 * src/WebDevToolsAgentImpl.cpp:
7649 (WebKit::WebDevToolsAgentImpl::willSendRequest):
7650 * src/WebResourceRawHeaders.cpp: Added.
7651 (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
7652 (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
7653 (WebKit::WebResourceRawHeaders::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>):
7654 (WebKit::addHeader):
7655 (WebKit::WebResourceRawHeaders::addRequestHeader):
7656 (WebKit::WebResourceRawHeaders::addResponseHeader):
7657 * src/WebURLRequest.cpp:
7658 (WebKit::WebURLRequest::setReportRawHeaders):
7659 (WebKit::WebURLRequest::reportRawHeaders):
7660 * src/WebURLResponse.cpp:
7661 (WebKit::WebURLResponse::resourceRawHeaders):
7662 (WebKit::WebURLResponse::setResourceRawHeaders):
7663 * src/WebURLResponsePrivate.h:
7665 2010-09-30 Avi Drissman <avi@google.com>
7667 Reviewed by Kenneth Russell.
7669 [Chromium] Tabbing into page doesn't always select the first element
7670 https://bugs.webkit.org/show_bug.cgi?id=46856
7672 * src/WebViewImpl.cpp:
7673 (WebKit::WebViewImpl::setInitialFocus):
7675 2010-09-30 Alexey Marinichev <amarinichev@chromium.org>
7677 Reviewed by Kenneth Russell.
7679 Rename chromium's GraphicsContext3D.cpp to match others.
7680 https://bugs.webkit.org/show_bug.cgi?id=46771
7683 * src/GraphicsContext3DChromium.cpp: Renamed from WebKit/chromium/src/GraphicsContext3D.cpp.
7685 2010-09-29 Kent Tamura <tkent@chromium.org>
7687 Reviewed by Dimitri Glazkov.
7689 Refactor HTMLInputElement: Make DeprecatedInputType private.
7690 https://bugs.webkit.org/show_bug.cgi?id=46791
7692 * src/WebPasswordFormUtils.cpp:
7693 (WebKit::findPasswordFormFields):
7694 Accept any text field types as a username field.
7695 * src/WebSearchableFormData.cpp:
7696 (WebCore::HasSuitableTextElement):
7697 Accept any text field types as a search query field.
7699 2010-09-29 Kinuko Yasuda <kinuko@chromium.org>
7701 Reviewed by Dumitru Daniliuc.
7703 Add removeRecursively to WebKit WebFileSystem API
7704 https://bugs.webkit.org/show_bug.cgi?id=46842
7706 * public/WebFileSystem.h:
7707 (WebKit::WebFileSystem::removeRecursively): Added.
7709 2010-09-29 Kinuko Yasuda <kinuko@chromium.org>
7711 Reviewed by David Levin.
7713 Fix DirectoryReader's behavior to trigger only one EntriesCallback per readEntries
7714 https://bugs.webkit.org/show_bug.cgi?id=46563
7716 * src/WebFileSystemCallbacksImpl.cpp:
7717 (WebKit::WebFileSystemCallbacksImpl::didReadDirectory):
7719 2010-09-29 Tony Chang <tony@chromium.org>
7721 Reviewed by James Robinson.
7723 [chromium] enable -Werror for DRT and webkit_unit_tests on Linux
7724 https://bugs.webkit.org/show_bug.cgi?id=46829
7727 * tests/ArenaTestHelpers.h:
7728 (WebCore::ArenaTestHelpers::TrackedAllocator::free):
7729 * tests/IDBKeyPathTest.cpp:
7730 (WebCore::checkKeyPath):
7732 2010-09-29 Tony Chang <tony@chromium.org>
7734 Reviewed by James Robinson.
7736 [chromium] enable -Werror on chromium linux webkit
7737 https://bugs.webkit.org/show_bug.cgi?id=46821
7740 * src/gtk/WebInputEventFactory.cpp:
7742 2010-09-29 Mihai Parparita <mihaip@chromium.org>
7744 Unreviewed removal of unused #define from WebHistory.h.
7745 Chromium usage of WEBKIT_BUG_40451_IS_FIXED was removed with
7746 http://crrev.com/50642.
7748 * public/WebHistoryItem.h:
7750 2010-09-29 Kinuko Yasuda <kinuko@chromium.org>
7752 Unreviewed, adding one more missing change from the last patch.
7753 https://bugs.webkit.org/show_bug.cgi?id=46524
7757 2010-09-29 Kinuko Yasuda <kinuko@chromium.org>
7759 Unreviewed, adding the new files that were supposed to be added
7760 but I missed to include in my previous patch.
7761 https://bugs.webkit.org/show_bug.cgi?id=46524
7763 * src/WorkerAsyncFileSystemChromium.cpp: Added.
7764 * src/WorkerAsyncFileSystemChromium.h: Added.
7766 2010-09-29 Kinuko Yasuda <kinuko@chromium.org>
7768 Reviewed by David Levin.
7770 Bridge all FileSystem operations on Workers to the MainThread
7771 https://bugs.webkit.org/show_bug.cgi?id=46524
7773 * src/LocalFileSystemChromium.cpp:
7774 (WebCore::LocalFileSystem::requestFileSystem): Changed the worker case
7775 code to create WebFileSystemCallbacksImpl with the current
7776 ScriptExecutionContext (WorkerContext).
7777 * src/WebFileSystemCallbacksImpl.cpp:
7778 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
7779 a new constructor that takes ScriptExecutionContext (WorkerContext)
7781 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Added the
7782 code for workers that creates WorkerAsyncFileSystemChromium.
7783 * src/WebFileSystemCallbacksImpl.h:
7784 * src/WorkerAsyncFileSystemChromium.cpp: Added.
7785 * src/WorkerAsyncFileSystemChromium.h: Added.
7786 * src/WorkerFileSystemCallbacksBridge.cpp: Added methods for regular
7787 file system operations to proxy them to the main thread.
7788 (WebKit::WorkerFileSystemCallbacksBridge::createForOpenFileSystem):
7789 (WebKit::WorkerFileSystemCallbacksBridge::createForMove):
7790 (WebKit::WorkerFileSystemCallbacksBridge::createForCopy):
7791 (WebKit::WorkerFileSystemCallbacksBridge::createForRemove):
7792 (WebKit::WorkerFileSystemCallbacksBridge::createForReadMetadata):
7793 (WebKit::WorkerFileSystemCallbacksBridge::createForCreateFile):
7794 (WebKit::WorkerFileSystemCallbacksBridge::createForCreateDirectory):
7795 (WebKit::WorkerFileSystemCallbacksBridge::createForFileExists):
7796 (WebKit::WorkerFileSystemCallbacksBridge::createForDirectoryExists):
7797 (WebKit::WorkerFileSystemCallbacksBridge::createForReadDirectory):
7798 (WebKit::MainThreadFileSystemCallbacks::didSucceed):
7799 (WebKit::MainThreadFileSystemCallbacks::didReadMetadata):
7800 (WebKit::MainThreadFileSystemCallbacks::didReadDirectory):
7801 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
7802 (WebKit::WorkerFileSystemCallbacksBridge::moveOnMainThread):
7803 (WebKit::WorkerFileSystemCallbacksBridge::copyOnMainThread):
7804 (WebKit::WorkerFileSystemCallbacksBridge::removeOnMainThread):
7805 (WebKit::WorkerFileSystemCallbacksBridge::readMetadataOnMainThread):
7806 (WebKit::WorkerFileSystemCallbacksBridge::createFileOnMainThread):
7807 (WebKit::WorkerFileSystemCallbacksBridge::createDirectoryOnMainThread):
7808 (WebKit::WorkerFileSystemCallbacksBridge::fileExistsOnMainThread):
7809 (WebKit::WorkerFileSystemCallbacksBridge::directoryExistsOnMainThread):
7810 (WebKit::WorkerFileSystemCallbacksBridge::readDirectoryOnMainThread):
7811 (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
7812 (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
7813 (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
7814 (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnWorkerThread):
7815 (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnWorkerThread):
7816 (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnWorkerThread):
7817 (WebKit::WorkerFileSystemCallbacksBridge::derefIfWorkerIsStopped):
7818 * src/WorkerFileSystemCallbacksBridge.h:
7820 2010-09-29 Matt Perry <mpcomplete@chromium.org>
7822 Reviewed by Darin Fisher.
7824 Remove obsolete registerExtension variants from chromium port.
7825 https://bugs.webkit.org/show_bug.cgi?id=46683
7827 * public/WebScriptController.h:
7828 * src/WebScriptController.cpp:
7830 2010-09-29 Chris Guillory <chris.guillory@google.com>
7832 Reviewed by Dimitri Glazkov.
7834 Add method which checks if a WebAccessibilityObject is in the cache.
7835 https://bugs.webkit.org/show_bug.cgi?id=46605
7837 * public/WebAccessibilityCache.h:
7838 * src/WebAccessibilityCacheImpl.cpp:
7839 (WebKit::WebAccessibilityCacheImpl::isCached):
7840 * src/WebAccessibilityCacheImpl.h:
7842 2010-09-29 Anantanarayanan G Iyengar <ananta@chromium.org>
7844 Reviewed by Darin Fisher.
7846 [chromium] Honor z-index specified by a plugin
7847 https://bugs.webkit.org/show_bug.cgi?id=46223
7849 The Chromium plugin code which implements the iframe shim technique
7850 for overlaying a windowed plugin with content on the page should
7851 honor the z-index specified on the plugin widget. If the z-index
7852 here is greater than the enclosing iframe shim then the plugin
7853 should be displayed over the iframe. Updated the layout test to test
7854 for this case. Skipped the plugins/iframe-shims.html layout test on
7855 platforms which don't support it.
7857 * src/WebPluginContainerImpl.cpp:
7859 2010-09-28 Vangelis Kokkevis <vangelis@chromium.org>
7861 Reviewed by Kenneth Russell.
7863 [chromium] Keep the accelerated compositor around even after a page is
7864 done using it to avoid startup costs in pages that frequently switch
7865 the compositor on and off.
7866 https://bugs.webkit.org/show_bug.cgi?id=45845
7868 * src/WebViewImpl.cpp:
7869 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7871 2010-09-28 Nat Duca <nduca@chromium.org>
7873 Reviewed by James Robinson.
7875 [chromium] invalidateRootLayerRect needs to schedule compositor
7876 https://bugs.webkit.org/show_bug.cgi?id=46219
7878 Make sure setRootLayerNedsDisplay is called by root invalidation.
7879 To avoid confusion about root-layer versus non-root-layer
7880 behavior, move the root layer damage state to the WebView.
7882 * src/WebViewImpl.cpp:
7883 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
7884 (WebKit::WebViewImpl::scrollRootLayerRect):
7885 (WebKit::WebViewImpl::invalidateRootLayerRect):
7886 (WebKit::WebViewImpl::doComposite):
7887 * src/WebViewImpl.h:
7889 2010-09-28 Jenn Braithwaite <jennb@chromium.org>
7891 Reviewed by Dmitry Titov.
7893 Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
7894 https://bugs.webkit.org/show_bug.cgi?id=46663
7896 * src/FrameLoaderClientImpl.cpp:
7897 (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
7898 * src/FrameLoaderClientImpl.h:
7900 2010-09-28 Andrei Popescu <andreip@google.com>
7902 Reviewed by Jeremy Orlow.
7904 [Chromium] Linking error due to wrong guard in WebIDBTransaction.h
7905 https://bugs.webkit.org/show_bug.cgi?id=46710
7907 Remove the wrong guard.
7909 * public/WebIDBTransaction.h:
7910 (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
7912 2010-09-27 Alpha Lam <hclam@chromium.org>
7914 Build fix. Not reviewed.
7916 Use if instead of switch to avoid compilation error.
7918 * src/VideoFrameChromiumImpl.cpp:
7919 (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
7921 2010-09-27 Alpha Lam <hclam@chromium.org>
7923 Build fix. Not reviewed.
7925 Remove constant definitions from this file.
7927 * src/VideoFrameChromiumImpl.cpp:
7929 2010-09-27 Alpha Lam <hclam@chromium.org>
7931 Build fix. Not reviewed.
7935 * src/VideoFrameChromiumImpl.cpp:
7936 (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
7938 2010-09-27 Alpha Lam <hclam@chromium.org>
7940 Build fix. Not reviewed.
7942 Add a default for unhandled cases for switch statement.
7944 * src/VideoFrameChromiumImpl.cpp:
7945 (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
7947 2010-09-27 Victoria Kirst <vrk@google.com>
7949 Reviewed by James Robinson.
7951 Fixing constants in VideoFrameChromiumImpl so that it overloads the
7952 VideoFrameChromium const declarations. Also adding logic such that a
7953 VideoFrameChromium understands what size its texture should be based
7955 https://bugs.webkit.org/show_bug.cgi?id=45069
7957 * src/VideoFrameChromiumImpl.cpp:
7959 2010-09-27 Vangelis Kokkevis <vangelis@chromium.org>
7961 Reviewed by James Robinson.
7963 [chromium] WebViewImpl now holds a ref counted pointer to the LayerRendererChromium
7964 to ensure that the compositor does not get destroyed before the layers used
7965 by it do. This was done to ensure that layers properly clean up their texture
7966 resources on destruction.
7967 https://bugs.webkit.org/show_bug.cgi?id=46139
7969 * src/WebViewImpl.cpp:
7970 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7971 * src/WebViewImpl.h:
7973 2010-09-24 Zhenyao Mo <zmo@google.com>
7975 Reviewed by Kenneth Russell.
7977 Hook up ANGLE with chromium --in-process-webgl port
7978 https://bugs.webkit.org/show_bug.cgi?id=44309
7980 * WebKit.gyp: Add angle dependency.
7981 * src/WebGraphicsContext3DDefaultImpl.cpp: Using angle for shader validation and translation.
7982 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
7983 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
7984 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
7985 (WebKit::WebGraphicsContext3DDefaultImpl::compileShader):
7986 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Using defined const instead.
7987 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv):
7988 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
7989 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
7990 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
7991 (WebKit::WebGraphicsContext3DDefaultImpl::createShader):
7992 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
7993 (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
7994 (WebKit::WebGraphicsContext3DDefaultImpl::angleDestroyCompilers):
7995 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
7996 * src/WebGraphicsContext3DDefaultImpl.h: Add necessary data and functions for angle stuff.
7997 (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry):
7998 (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::~ShaderSourceEntry):
8000 2010-09-27 Kinuko Yasuda <kinuko@chromium.org>
8002 Reviewed by Adam Barth.
8004 [Cleanup] Add create method to FileSystemCallbacks to get rid of naked new's
8005 https://bugs.webkit.org/show_bug.cgi?id=46561
8007 Also cleanup the callbacks layering to pass AsyncFileSystemCallbacks
8008 object to LocalFileSystem::requestFileSystem (rather than
8009 FileSystemCallback and ErrorCallback) so that all the callbacks class
8010 we pass from WebCore to WebKit/chromium/src will be
8011 AsyncFileSystemCallbacks.
8013 * src/LocalFileSystemChromium.cpp:
8014 (WebCore::LocalFileSystem::requestFileSystem): Changed to take
8015 AsyncFileSystemCallbacks as (a) callback argument(s).
8017 2010-09-24 Tony Chang <tony@chromium.org>
8019 Reviewed by Kent Tamura.
8021 [chromium] remove unused gtk WebScreenInfoFactory
8022 https://bugs.webkit.org/show_bug.cgi?id=46526
8024 AFAICT these files aren't referenced in code or by gyp.
8026 * WebKit.gyp: Remove duplicate filename.
8027 * public/gtk/WebScreenInfoFactory.h: Removed.
8028 * src/gtk/WebScreenInfoFactory.cpp: Removed.
8030 2010-09-26 Mihai Parparita <mihaip@chromium.org>
8032 Reviewed by Adam Barth.
8034 [Chromium] Remove no longer used WebView member functions
8035 https://bugs.webkit.org/show_bug.cgi?id=46515
8037 With http://crrev.com/60526 there's no longer any Chromium code calling
8038 the non-static versions of addUserScript and addUserStyleSheet.
8042 2010-09-25 Nicolas Weber <thakis@chromium.org>
8044 Reviewed by James Robinson.
8046 [chromium] Fix clang warning/error.
8047 https://bugs.webkit.org/show_bug.cgi?id=46552
8049 * src/WorkerFileSystemCallbacksBridge.h:
8051 2010-09-24 Mihai Parparita <mihaip@chromium.org>
8053 Reviewed by Darin Fisher.
8055 [Chromium] Unnecessary blob dependency in WebKit.gyp
8056 https://bugs.webkit.org/show_bug.cgi?id=46488
8058 r66322 shouldn't have added a blob dependency by hand to targets in
8059 WebKit.gyp, instead blob should be a dependency of webkit_support.
8060 http://crrev.com/59406 did that, so we can now remove these deps.
8064 2010-09-24 Ryosuke Niwa <rniwa@webkit.org>
8066 Reviewed by Tony Chang.
8068 [chromium] Implement TextInputController::firstRectForCharacterRange
8069 https://bugs.webkit.org/show_bug.cgi?id=38100
8071 Implemented TextInputController::firstRectForCharacterRange for chromium platform.
8072 Because the function needs to return an array of integers, added makeIntArray to WebBindings.
8073 makeIntArray does not take Vector because WebBindings.h is included in plugin glue code
8074 where it cannot find wtf/Vector.h.
8076 No new tests are added since we need to implement the same feature in chromium side
8077 in order to enable any tests that uses this function.
8079 * public/WebBindings.h:
8080 * public/WebFrame.h:
8081 * src/WebBindings.cpp:
8082 (WebKit::makeIntArrayImpl): Added.
8083 (WebKit::WebBindings::makeIntArray): Added.
8084 * src/WebFrameImpl.cpp:
8085 (WebKit::WebFrameImpl::firstRectForCharacterRange): Added.
8086 * src/WebFrameImpl.h:
8088 2010-09-24 Tony Chang <tony@chromium.org>
8090 Unreviewed, fix chromium compile after r68276 which renamed
8091 Render*::minPrefWidth to minPreferredLogicalWidth.
8093 * src/WebFrameImpl.cpp:
8094 (WebKit::WebFrameImpl::contentsPreferredWidth):
8096 2010-09-24 Eric Uhrhane <ericu@chromium.org>
8098 Reviewed by David Levin.
8100 Remove unnecessary parameter from AsyncFileWriterClient::didTruncate
8101 https://bugs.webkit.org/show_bug.cgi?id=46390
8103 * public/WebFileWriterClient.h:
8104 * src/AsyncFileWriterChromium.cpp:
8105 * src/AsyncFileWriterChromium.h:
8107 2010-09-24 Chris Guillory <chris.guillory@google.com>
8109 Reviewed by Chris Fleizach.
8111 Send webkit accessibility notifications to Chromium.
8112 https://bugs.webkit.org/show_bug.cgi?id=45156
8114 * public/WebAccessibilityCache.h:
8115 * public/WebViewClient.h:
8116 * src/ChromeClientImpl.cpp:
8117 (WebKit::ChromeClientImpl::focusedNodeChanged):
8118 (WebKit::ChromeClientImpl::getPopupMenuInfo):
8119 * src/ChromeClientImpl.h:
8120 * src/WebAccessibilityCache.cpp:
8121 (WebKit::WebAccessibilityCache::accessibilityEnabled):
8123 2010-09-23 Kent Tamura <tkent@chromium.org>
8125 Reviewed by Dimitri Glazkov.
8127 [Chromium] Fix some IndexedDB tests for DRT
8128 https://bugs.webkit.org/show_bug.cgi?id=46444
8130 * DEPS: Roll Chromium revision to 60394, which added
8131 WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath() implementation.
8133 2010-09-23 Kinuko Yasuda <kinuko@chromium.org>
8135 Unreviewed, another attempt to fix build. The code didn't have proper if-defs.
8137 * src/WebWorkerBase.cpp:
8138 (WebKit::WebWorkerBase::openFileSystem):
8139 * src/WebWorkerBase.h:
8140 * src/WorkerFileSystemCallbacksBridge.h:
8142 2010-09-23 Kinuko Yasuda <kinuko@chromium.org>
8144 Unreviewed; build fix attempt.
8146 * src/WebWorkerBase.cpp:
8147 (WebKit::WebWorkerBase::openFileSystem):
8148 * src/WorkerFileSystemCallbacksBridge.h:
8150 2010-09-23 Kinuko Yasuda <kinuko@chromium.org>
8152 Reviewed by David Levin.
8154 Add Worker support for FileSystem API
8155 https://bugs.webkit.org/show_bug.cgi?id=45808
8157 Added WebWorkerBase::openFileSystem and WebCommonWorkerClient::
8158 openFileSystem to call in to the browser via Worker stub/proxy
8161 Also added WorkerFileSystemCallbacksBridge class that proxies
8162 requests and callbacks between from/to worker thread to/from the
8165 * public/WebCommonWorkerClient.h:
8166 (WebKit::WebCommonWorkerClient::openFileSystem): Added.
8167 * src/LocalFileSystemChromium.cpp:
8168 (WebCore::LocalFileSystem::localFileSystem): Added.
8169 (WebCore::LocalFileSystem::requestFileSystem): Added implementation
8170 for workers. In worker case this calls WebWorkerBase::openFileSystem.
8171 * src/WebWorkerBase.cpp:
8172 (WebKit::WebWorkerBase::openFileSystem): Added. This is called from
8173 LocalFileSystem::requestFileSystem on the worker thread and creates
8174 a bridge to call WebCommonWorkerClient::openFileSystem on the main
8176 * src/WebWorkerBase.h:
8177 * src/WebWorkerClientImpl.h:
8178 (WebKit::WebWorkerClientImpl::openFileSystem): Added.
8179 * src/WorkerFileSystemCallbacksBridge.cpp: Added.
8180 * src/WorkerFileSystemCallbacksBridge.h: Added.
8182 2010-09-23 Tony Chang <tony@chromium.org>
8184 Reviewed by Dimitri Glazkov.
8186 [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime
8187 https://bugs.webkit.org/show_bug.cgi?id=46426
8189 * public/WebFrame.h:
8190 * src/WebFrameImpl.cpp:
8191 (WebKit::WebFrameImpl::pauseSVGAnimation):
8192 * src/WebFrameImpl.h:
8194 2010-09-23 Tony Chang <tony@chromium.org>
8196 Reviewed by David Levin.
8198 [chromium] add caretBrowsingEnabled to WebSettings and DRT
8199 https://bugs.webkit.org/show_bug.cgi?id=46388
8201 * public/WebSettings.h:
8202 * src/WebSettingsImpl.cpp:
8203 (WebKit::WebSettingsImpl::setCaretBrowsingEnabled):
8204 * src/WebSettingsImpl.h:
8206 2010-09-23 Eric Uhrhane <ericu@chromium.org>
8208 Reviewed by David Levin.
8210 Rename FileWriterClient to AsyncFileWriterClient.
8211 https://bugs.webkit.org/show_bug.cgi?id=46325
8213 * src/AsyncFileSystemChromium.cpp:
8214 * src/AsyncFileSystemChromium.h:
8215 * src/AsyncFileWriterChromium.cpp:
8216 * src/AsyncFileWriterChromium.h:
8218 2010-09-23 Nate Chapin <japhet@chromium.org>
8220 Reviewed by Darin Fisher.
8222 Add hyperlink auditing settings (i.e., <a ping>).
8223 https://bugs.webkit.org/show_bug.cgi?id=30458
8225 * public/WebSettings.h:
8226 * src/WebSettingsImpl.cpp:
8227 (WebKit::WebSettingsImpl::setHyperlinkAuditingEnabled):
8228 * src/WebSettingsImpl.h:
8230 2010-09-23 Andrey Kosyakov <caseq@chromium.org>
8232 Unreviewed build fix ("WTF/" -> "wtf/" in include, broke Arm build)
8234 * src/AsyncFileWriterChromium.h:
8236 2010-09-08 Tony Gentilcore <tonyg@chromium.org>
8238 Reviewed by Darin Fisher.
8240 [chromium] Add chromium port API for accessing Web Timing information
8241 https://bugs.webkit.org/show_bug.cgi?id=45428
8244 * public/WebFrame.h:
8245 * public/WebPerformance.h: Added.
8246 (WebKit::WebPerformance::WebPerformance):
8247 * src/WebFrameImpl.cpp:
8248 (WebKit::WebFrameImpl::performance):
8249 * src/WebFrameImpl.h:
8250 * src/WebPerformance.cpp: Added.
8251 (WebKit::WebPerformance::WebPerformance):
8252 (WebKit::WebPerformance::~WebPerformance):
8253 (WebKit::WebPerformance::operator=):
8254 (WebKit::WebPerformance::navigationType):
8255 (WebKit::WebPerformance::navigationStart):
8256 (WebKit::WebPerformance::unloadEventEnd):
8257 (WebKit::WebPerformance::redirectStart):
8258 (WebKit::WebPerformance::redirectEnd):
8259 (WebKit::WebPerformance::redirectCount):
8260 (WebKit::WebPerformance::fetchStart):
8261 (WebKit::WebPerformance::domainLookupStart):
8262 (WebKit::WebPerformance::domainLookupEnd):
8263 (WebKit::WebPerformance::connectStart):
8264 (WebKit::WebPerformance::connectEnd):
8265 (WebKit::WebPerformance::requestStart):
8266 (WebKit::WebPerformance::requestEnd):
8267 (WebKit::WebPerformance::responseStart):
8268 (WebKit::WebPerformance::responseEnd):
8269 (WebKit::WebPerformance::loadEventStart):
8270 (WebKit::WebPerformance::loadEventEnd):
8271 (WebKit::WebPerformance::operator PassRefPtr<Performance>):
8273 2010-09-23 Andrei Popescu <andreip@google.com>
8275 Reviewed by Jeremy Orlow.
8277 IDBObjectStore::get should run in a transaction.
8278 https://bugs.webkit.org/show_bug.cgi?id=44700
8280 * public/WebIDBFactory.h:
8281 * public/WebIDBObjectStore.h:
8282 * public/WebIDBTransaction.h:
8283 (WebKit::WebIDBTransaction::didCompleteTaskEvents):
8284 (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
8285 * src/IDBDatabaseProxy.h:
8286 * src/IDBFactoryBackendProxy.cpp:
8287 * src/IDBFactoryBackendProxy.h:
8288 * src/IDBObjectStoreProxy.cpp:
8289 (WebCore::IDBObjectStoreProxy::get):
8290 * src/IDBObjectStoreProxy.h:
8291 * src/IDBTransactionBackendProxy.cpp:
8292 (WebCore::IDBTransactionBackendProxy::scheduleTask):
8293 (WebCore::IDBTransactionBackendProxy::didCompleteTaskEvents):
8294 * src/IDBTransactionBackendProxy.h:
8295 (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
8296 * src/WebIDBFactoryImpl.cpp:
8297 * src/WebIDBFactoryImpl.h:
8298 * src/WebIDBObjectStoreImpl.cpp:
8299 (WebKit::WebIDBObjectStoreImpl::get):
8300 * src/WebIDBObjectStoreImpl.h:
8301 * src/WebIDBTransactionImpl.cpp:
8302 (WebKit::WebIDBTransactionImpl::didCompleteTaskEvents):
8303 (WebKit::WebIDBTransactionImpl::getIDBTransactionBackendInterface):
8304 * src/WebIDBTransactionImpl.h:
8306 2010-09-23 Jeremy Orlow <jorlow@chromium.org>
8308 Unreviewed small fix for my last patch.
8310 * public/WebIDBTransaction.h:
8311 (WebKit::WebIDBTransaction::id):
8313 2010-09-22 Mihai Parparita <mihaip@chromium.org>
8315 Reviewed by Darin Fisher.
8317 [Chromium] User style layout tests don't pass on Chromium
8318 https://bugs.webkit.org/show_bug.cgi?id=46069
8320 Expose UserStyleInjectionTime in WebView.
8323 * src/WebViewImpl.cpp:
8324 (WebKit::WebView::addUserStyleSheet):
8326 2010-09-22 James Robinson <jamesr@chromium.org>
8328 [chromium] Re-synchronizes features.gypi with upstream feature_overrides.gypi.
8332 2010-09-22 Ruben <chromium@hybridsource.org>
8334 Reviewed by Tony Chang.
8336 [chromium] added ifdefs for FreeBSD support
8337 https://bugs.webkit.org/show_bug.cgi?id=46316
8341 * src/ChromiumBridge.cpp:
8342 * src/WebFrameImpl.cpp:
8343 (WebKit::ChromePrintContext::spoolPage):
8344 * src/WebViewImpl.cpp:
8345 (WebKit::WebViewImpl::mouseDown):
8346 (WebKit::WebViewImpl::mouseUp):
8347 (WebKit::WebViewImpl::keyEvent):
8348 (WebKit::WebViewImpl::setScrollbarColors):
8349 (WebKit::WebViewImpl::setSelectionColors):
8351 2010-09-22 Eric Uhrhane <ericu@chromium.org>
8353 Reviewed by Dumitru Daniliuc.
8355 Add Chromium implementation for FileWriter
8356 https://bugs.webkit.org/show_bug.cgi?id=44361
8358 No new tests; the implementation's not yet far enough along for that.
8360 This makes a chain of construction-and-linking-up for various sorts of
8361 FileWriter interfaces to call through to Chromium, and for various
8362 sorts of FileWriterClients to call back, with object ownership always
8363 pointing towards the Chromium API. That is, the DOM object owns an
8364 AsyncFileWriter, which owns its implementation object, and the reverse
8365 (client) direction is raw pointers.
8367 File metadata is looked up before the FileWriter is returned, so that
8368 we know the file exists and can cache its length.
8370 The WebKit/chromium interface here is modeled after that of the
8373 * public/WebFileInfo.h:
8374 (WebKit::WebFileInfo::WebFileInfo):
8375 * src/AsyncFileSystemChromium.cpp:
8376 (WebCore::FileWriterHelperCallbacks::FileWriterHelperCallbacks):
8377 (WebCore::FileWriterHelperCallbacks::didSucceed):
8378 (WebCore::FileWriterHelperCallbacks::didReadMetadata):
8379 (WebCore::FileWriterHelperCallbacks::didReadDirectory):
8380 (WebCore::FileWriterHelperCallbacks::didOpenFileSystem):
8381 (WebCore::FileWriterHelperCallbacks::didCreateFileWriter):
8382 (WebCore::FileWriterHelperCallbacks::didFail):
8383 (WebCore::AsyncFileSystemChromium::createWriter):
8384 * src/AsyncFileSystemChromium.h:
8385 * src/AsyncFileWriterChromium.cpp:
8386 (WebCore::AsyncFileWriterChromium::setWebFileWriter):
8387 (WebCore::AsyncFileWriterChromium::write):
8388 (WebCore::AsyncFileWriterChromium::didFail):
8389 * src/AsyncFileWriterChromium.h:
8390 * src/WebFileSystemCallbacksImpl.h:
8392 2010-09-22 Kenneth Russell <kbr@google.com>
8394 Unreviewed, Chromium build fix. Fix build when accelerated
8395 compositing is not enabled at compile time.
8397 * src/WebViewImpl.cpp:
8398 (WebKit::WebViewImpl::resize):
8400 2010-09-22 Matt Perry <mpcomplete@chromium.org>
8402 Reviewed by Darin Fisher.
8404 Trying to reland a version of r67749:
8405 Have V8DOMWindowShell ask the embedder whether to run a V8 extension
8406 in a particular script context.
8407 https://bugs.webkit.org/show_bug.cgi?id=45721
8409 * public/WebFrameClient.h:
8410 (WebKit::WebFrameClient::allowScriptExtension):
8411 * public/WebScriptController.h:
8412 * src/FrameLoaderClientImpl.cpp:
8413 (WebKit::FrameLoaderClientImpl::allowScriptExtension):
8414 * src/FrameLoaderClientImpl.h:
8415 * src/WebScriptController.cpp:
8416 (WebKit::WebScriptController::registerExtension):
8418 2010-09-22 Jeremy Orlow <jorlow@chromium.org>
8420 Reviewed by Darin Fisher.
8422 [Chromium] Change WebKit API for IDBTransaciton to new style
8423 https://bugs.webkit.org/show_bug.cgi?id=46263
8425 * public/WebIDBIndex.h:
8426 (WebKit::WebIDBIndex::openObjectCursor):
8427 (WebKit::WebIDBIndex::openCursor):
8428 (WebKit::WebIDBIndex::getObject):
8429 (WebKit::WebIDBIndex::get):
8430 * public/WebIDBObjectStore.h:
8431 (WebKit::WebIDBObjectStore::get):
8432 (WebKit::WebIDBObjectStore::put):
8433 (WebKit::WebIDBObjectStore::remove):
8434 (WebKit::WebIDBObjectStore::openCursor):
8435 * src/WebIDBIndexImpl.cpp:
8436 (WebKit::WebIDBIndexImpl::openCursor):
8437 (WebKit::WebIDBIndexImpl::openObjectCursor):
8438 (WebKit::WebIDBIndexImpl::getObject):
8439 (WebKit::WebIDBIndexImpl::get):
8440 * src/WebIDBIndexImpl.h:
8441 * src/WebIDBObjectStoreImpl.cpp:
8442 (WebKit::WebIDBObjectStoreImpl::get):
8443 (WebKit::WebIDBObjectStoreImpl::put):
8444 (WebKit::WebIDBObjectStoreImpl::remove):
8445 (WebKit::WebIDBObjectStoreImpl::openCursor):
8446 * src/WebIDBObjectStoreImpl.h:
8448 2010-09-22 Pavel Podivilov <podivilov@chromium.org>
8450 Reviewed by Pavel Feldman.
8452 Web Inspector: implement pausing on XHR
8453 https://bugs.webkit.org/show_bug.cgi?id=46086
8455 * src/js/DevTools.js:
8458 2010-09-21 Brett Wilson <brettw@chromium.org>
8460 Reviewed by Darin Fisher.
8462 Add caps log and num lock toggle state to WebInputEvent.
8463 https://bugs.webkit.org/show_bug.cgi?id=46229
8465 * public/WebInputEvent.h:
8466 * src/WebViewImpl.cpp:
8467 (WebKit::WebViewImpl::handleInputEvent):
8468 * src/WebViewImpl.h:
8469 * src/gtk/WebInputEventFactory.cpp:
8470 (WebKit::gdkStateToWebEventModifiers):
8471 * src/win/WebInputEventFactory.cpp:
8472 (WebKit::SetToggleKeyState):
8473 (WebKit::WebInputEventFactory::keyboardEvent):
8474 (WebKit::WebInputEventFactory::mouseEvent):
8475 (WebKit::WebInputEventFactory::mouseWheelEvent):
8477 2010-09-21 James Robinson <jamesr@chromium.org>
8479 Reviewed by Kenneth Russell.
8481 [chromium] Check if the acceleratedCompositingEnabled setting is active in WebViewImpl::graphicsContext3D()
8482 https://bugs.webkit.org/show_bug.cgi?id=46239
8484 This adds a check for whether acceleratedCompositingEnabled is true on the Page's Settings
8485 object before creating and vending a GraphicsContext3D object. This is needed because when
8486 an offscreen WebGraphicsContext3DCommandBufferImpl is initialized it first asks the WebViewImpl
8487 for the compositor context. WebGraphicsContext3DCommandBufferImpl::initialize checks if the
8488 disable accelerated compositing command line switch is set, but this is insufficient as sometimes
8489 the Setting object does not agree exactly with the command line switches. For example,
8490 we explicitly toggle accelerated compositing for some chrome UI URLs regardless of what the
8493 * src/WebViewImpl.cpp:
8494 (WebKit::WebViewImpl::graphicsContext3D):
8496 2010-09-21 Kent Tamura <tkent@chromium.org>
8498 Reviewed by David Levin.
8500 [Chromium] Remove WebInputElement::InputType and inputType()
8501 https://bugs.webkit.org/show_bug.cgi?id=46238
8503 * DEPS: Roll Chromium revision to 60132, which removed all usage of inputType().
8504 * public/WebInputElement.h: Remove InputType and inputType().
8505 * src/AssertMatchingEnums.cpp: Remove WebInputElement::InputType -
8506 HTMLInputElement::InputType matching tests.
8507 * src/WebInputElement.cpp: Remove inputType().
8509 2010-09-21 Andrew Wilson <atwilson@chromium.org>
8511 Unreviewed, rolling out r67982.
8512 http://trac.webkit.org/changeset/67982
8513 https://bugs.webkit.org/show_bug.cgi?id=45156
8515 Causes crashes on chromium testshell
8517 * public/WebAccessibilityCache.h:
8518 * public/WebViewClient.h:
8519 (WebKit::WebViewClient::didChangeAccessibilityObjectState):
8520 (WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
8521 * src/ChromeClientImpl.cpp:
8522 (WebKit::ChromeClientImpl::focusedNodeChanged):
8523 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
8524 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
8525 * src/ChromeClientImpl.h:
8526 * src/WebAccessibilityCache.cpp:
8528 2010-09-21 Kenneth Russell <kbr@google.com>
8530 Reviewed by James Robinson.
8532 [chromium] Remove GLES2Context and WebGLES2Context
8533 https://bugs.webkit.org/show_bug.cgi?id=46131
8535 Removed now-obsolete GLES2Context and WebGLES2Context classes, and
8536 dependency on command buffer client code from WebCore. Built and
8537 tested 3D CSS and WebGL content on Mac OS X to test.
8540 * public/WebGLES2Context.h: Removed.
8541 * public/WebGraphicsContext3D.h:
8542 * public/WebKitClient.h:
8544 * src/ChromeClientImpl.cpp:
8545 * src/GLES2Context.cpp: Removed.
8546 * src/GLES2ContextInternal.cpp: Removed.
8547 * src/GLES2ContextInternal.h: Removed.
8548 * src/WebGraphicsContext3DDefaultImpl.cpp:
8549 * src/WebGraphicsContext3DDefaultImpl.h:
8550 * src/WebViewImpl.cpp:
8551 * src/WebViewImpl.h:
8553 2010-09-21 Kenneth Russell <kbr@google.com>
8555 Reviewed by James Robinson.
8557 [chromium] Roll forward Chromium DEPS to pick up removal of WebGLES2Context dependencies
8558 https://bugs.webkit.org/show_bug.cgi?id=46231
8560 Ran build-webkit --chromium --debug on Mac OS X to test the roll-forward.
8564 2010-09-21 Jeremy Orlow <jorlow@chromium.org>
8566 Reviewed by Nate Chapin.
8568 [Chromium] Plumb the IDBTransansaction's id
8569 https://bugs.webkit.org/show_bug.cgi?id=46197
8571 Next step, add the plumbing to Chromium. Then we add code to WebKit
8572 that uses it (and take out the default IDBTransaction param).
8574 * public/WebIDBCursor.h:
8575 (WebKit::WebIDBCursor::key):
8576 (WebKit::WebIDBCursor::value):
8577 * public/WebIDBFactory.h:
8578 (WebKit::WebIDBFactory::open):
8579 * public/WebIDBIndex.h:
8580 (WebKit::WebIDBIndex::openObjectCursor):
8581 (WebKit::WebIDBIndex::openCursor):
8582 (WebKit::WebIDBIndex::getObject):
8583 (WebKit::WebIDBIndex::get):
8584 * public/WebIDBObjectStore.h:
8585 (WebKit::WebIDBObjectStore::get):
8586 (WebKit::WebIDBObjectStore::put):
8587 (WebKit::WebIDBObjectStore::remove):
8588 (WebKit::WebIDBObjectStore::createIndex):
8589 (WebKit::WebIDBObjectStore::removeIndex):
8590 (WebKit::WebIDBObjectStore::openCursor):
8591 * src/WebIDBIndexImpl.cpp:
8592 (WebKit::WebIDBIndexImpl::openCursor):
8593 (WebKit::WebIDBIndexImpl::openObjectCursor):
8594 (WebKit::WebIDBIndexImpl::getObject):
8595 (WebKit::WebIDBIndexImpl::get):
8596 * src/WebIDBIndexImpl.h:
8597 * src/WebIDBObjectStoreImpl.cpp:
8598 (WebKit::WebIDBObjectStoreImpl::get):
8599 (WebKit::WebIDBObjectStoreImpl::put):
8600 (WebKit::WebIDBObjectStoreImpl::remove):
8601 (WebKit::WebIDBObjectStoreImpl::openCursor):
8602 * src/WebIDBObjectStoreImpl.h:
8604 2010-09-21 Chris Guillory <chris.guillory@google.com>
8606 Reviewed by Chris Fleizach.
8608 Send webkit accessibility notifications to Chromium.
8609 https://bugs.webkit.org/show_bug.cgi?id=45156
8611 * public/WebAccessibilityCache.h:
8612 * public/WebViewClient.h:
8613 * src/ChromeClientImpl.cpp:
8614 (WebKit::ChromeClientImpl::focusedNodeChanged):
8615 (WebKit::ChromeClientImpl::getPopupMenuInfo):
8616 * src/ChromeClientImpl.h:
8617 * src/WebAccessibilityCache.cpp:
8618 (WebKit::WebAccessibilityCache::accessibilityEnabled):
8620 2010-09-21 Steve Block <steveblock@google.com>
8622 Reviewed by Jeremy Orlow.
8624 DeviceOrientationClient and DeviceMotionClient should have controllerDestroyed() methods
8625 https://bugs.webkit.org/show_bug.cgi?id=45891
8627 Implements DeviceOrientationClientProxy::deviceOrientationControllerDestroyed() as a no-op,
8628 as the client's lifetime is determined by the WebViewImpl.
8630 * src/DeviceOrientationClientProxy.cpp:
8631 (WebKit::DeviceOrientationClientProxy::deviceOrientationControllerDestroyed):
8632 * src/DeviceOrientationClientProxy.h:
8634 2010-09-21 Jochen Eisinger <jochen@chromium.org>
8636 Reviewed by Jeremy Orlow.
8638 [chromium] expose the filename used for a given indexed DB
8639 https://bugs.webkit.org/show_bug.cgi?id=46090
8642 * public/WebIDBFactory.h:
8643 * src/WebIDBFactory.cpp:
8644 (WebKit::WebIDBFactory::databaseFileName):
8646 2010-09-20 Philippe Normand <pnormand@igalia.com>
8648 Reviewed by Eric Carlson.
8650 [GTK] enhanced context menu for media elements
8651 https://bugs.webkit.org/show_bug.cgi?id=45021
8653 New localized strings for the media element context-menu.
8655 * src/LocalizedStrings.cpp:
8656 (WebCore::contextMenuItemTagOpenVideoInNewWindow):
8657 (WebCore::contextMenuItemTagOpenAudioInNewWindow):
8658 (WebCore::contextMenuItemTagCopyVideoLinkToClipboard):
8659 (WebCore::contextMenuItemTagCopyAudioLinkToClipboard):
8660 (WebCore::contextMenuItemTagToggleMediaControls):
8661 (WebCore::contextMenuItemTagToggleMediaLoop):
8662 (WebCore::contextMenuItemTagEnterVideoFullscreen):
8663 (WebCore::contextMenuItemTagMediaPlay):
8664 (WebCore::contextMenuItemTagMediaPause):
8665 (WebCore::contextMenuItemTagMediaMute):
8667 2010-09-20 Nico Weber <thakis@chromium.org>
8669 Reviewed by James Robinson.
8671 [chromium] Trivial clang warning fix
8672 https://bugs.webkit.org/show_bug.cgi?id=46143
8674 * src/WebFileSystemCallbacksImpl.h:
8676 2010-09-20 Darin Adler <darin@apple.com>
8678 Reviewed by James Robinson.
8680 Deprecate the inputType function on HTMLInputElement
8681 https://bugs.webkit.org/show_bug.cgi?id=46023
8683 * src/WebInputElement.cpp:
8684 (WebKit::WebInputElement::inputType):
8685 * src/WebPasswordFormUtils.cpp:
8686 (WebKit::findPasswordFormFields):
8687 * src/WebSearchableFormData.cpp:
8688 (WebCore::HasSuitableTextElement):
8689 Use deprecatedInputType instead of inputType.
8691 2010-09-20 Kenneth Russell <kbr@google.com>
8693 Reviewed by James Robinson.
8695 [chromium] Change compositor to use GraphicsContext3D rather than GLES2Context
8696 https://bugs.webkit.org/show_bug.cgi?id=45912
8698 Switched Chromium's compositor to use GraphicsContext3D to issue
8699 its OpenGL rendering calls rather than the Chromium-specific
8700 GLES2Context and command buffer OpenGL implementation.
8702 The in-process software rendering path for GraphicsContext3D does
8703 not yet work with the compositor, at least not on Mac OS X. This
8704 will be worked on in subsequent bugs.
8706 Tested manually with 3D CSS, WebGL and video content on Mac OS X
8707 and Linux. No new tests.
8709 * src/GraphicsContext3D.cpp:
8710 (WebCore::GraphicsContext3DInternal::initialize):
8711 (WebCore::GraphicsContext3DInternal::extractWebGraphicsContext3D):
8712 (WebCore::GraphicsContext3D::create):
8713 * src/GraphicsContext3DInternal.h:
8714 * src/WebViewImpl.cpp:
8715 (WebKit::WebViewImpl::resize):
8716 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
8717 (WebKit::WebViewImpl::gles2Context):
8718 (WebKit::WebViewImpl::graphicsContext3D):
8719 * src/WebViewImpl.h:
8721 2010-09-20 Kenneth Russell <kbr@google.com>
8723 Reviewed by Dimitri Glazkov.
8725 [chromium] Roll forward Chromium DEPS to pick up WebGraphicsContext3D implementation changes
8726 https://bugs.webkit.org/show_bug.cgi?id=46115
8730 2010-09-20 Ilya Tikhonovsky <loislo@chromium.org>
8732 Reviewed by Pavel Feldman.
8734 Web Inspector: merge Inspector client runtime events into the serialized inspector state object.
8736 Drive-by rename getBackendSettings -> getInspectorState to better reflect the nature of the data.
8738 https://bugs.webkit.org/show_bug.cgi?id=45974
8740 * src/InspectorClientImpl.cpp:
8741 (WebKit::InspectorClientImpl::updateInspectorStateCookie):
8742 * src/InspectorClientImpl.h:
8743 * src/WebDevToolsAgentImpl.cpp:
8744 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
8745 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
8746 (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
8747 * src/WebDevToolsAgentImpl.h:
8749 2010-09-19 Sheriff Bot <webkit.review.bot@gmail.com>
8751 Unreviewed, rolling out r67749.
8752 http://trac.webkit.org/changeset/67749
8753 https://bugs.webkit.org/show_bug.cgi?id=46068
8755 breaking ToT chromium canary build (Requested by shans on
8758 * public/WebFrameClient.h:
8759 * public/WebScriptController.h:
8760 * src/FrameLoaderClientImpl.cpp:
8761 * src/FrameLoaderClientImpl.h:
8762 * src/WebScriptController.cpp:
8763 (WebKit::WebScriptController::registerExtension):
8765 2010-09-19 Kent Tamura <tkent@chromium.org>
8767 Reviewed by Dimitri Glazkov.
8769 [Chromium] Add is<input type>() functions to WebInputElement
8770 https://bugs.webkit.org/show_bug.cgi?id=46035
8772 We're going to stop exposing HTMLInputElemnt::InputType. So, add
8773 isFoo() functions in order to remove WebInputElement::InputType.
8775 * public/WebInputElement.h:
8776 * src/WebInputElement.cpp:
8777 (WebKit::WebInputElement::isTextField):
8778 (WebKit::WebInputElement::isText):
8779 (WebKit::WebInputElement::isPasswordField):
8780 (WebKit::WebInputElement::isImageButton):
8782 2010-09-17 Darin Adler <darin@apple.com>
8784 Reviewed by Sam Weinig.
8786 REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
8787 https://bugs.webkit.org/show_bug.cgi?id=42863
8789 * src/FrameLoaderClientImpl.cpp:
8790 (WebKit::FrameLoaderClientImpl::createPlugin):
8791 * src/WebViewImpl.cpp:
8792 (WebKit::WebViewImpl::setZoomLevel):
8793 Call functions on Frame instead of FrameView.
8795 2010-09-17 Kenneth Russell <kbr@google.com>
8797 Reviewed by James Robinson.
8799 [chromium] Roll forward Chromium DEPS to pick up Mesa DRT changes
8800 https://bugs.webkit.org/show_bug.cgi?id=46006
8804 2010-09-17 Kenneth Russell <kbr@google.com>
8806 Reviewed by Dimitri Glazkov.
8808 [chromium] Add mesa as DumpRenderTree dependency
8809 https://bugs.webkit.org/show_bug.cgi?id=46001
8813 2010-09-13 Matt Perry <mpcomplete@chromium.org>
8815 Reviewed by Darin Fisher.
8817 Have V8DOMWindowShell ask the embedder whether to run a V8 extension
8818 in a particular script context.
8819 https://bugs.webkit.org/show_bug.cgi?id=45721
8821 * public/WebFrameClient.h:
8822 (WebKit::WebFrameClient::allowScriptExtension):
8823 * public/WebScriptController.h:
8824 * src/FrameLoaderClientImpl.cpp:
8825 (WebKit::FrameLoaderClientImpl::allowScriptExtension):
8826 * src/FrameLoaderClientImpl.h:
8827 * src/WebScriptController.cpp:
8828 (WebKit::WebScriptController::registerExtension):
8830 2010-09-17 Eric Uhrhane <ericu@chromium.org>
8832 Reviewed by David Levin.
8834 Remove unimplemented destructor declaration to fix Chromium build.
8835 https://bugs.webkit.org/show_bug.cgi?id=45987
8837 * src/AsyncFileWriterChromium.h:
8839 2010-09-16 Sheriff Bot <webkit.review.bot@gmail.com>
8841 Unreviewed, rolling out r67693.
8842 http://trac.webkit.org/changeset/67693
8843 https://bugs.webkit.org/show_bug.cgi?id=45946
8845 "Need to pick up a chromium change first" (Requested by dumi
8848 * public/WebHTTPBody.h:
8849 * src/WebHTTPBody.cpp:
8850 (WebKit::WebHTTPBody::elementAt):
8851 (WebKit::WebHTTPBody::appendFileRange):
8853 2010-09-15 Dumitru Daniliuc <dumi@chromium.org>
8855 Reviewed by Darin Fisher.
8857 Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&).
8859 * public/WebHTTPBody.h:
8860 * src/WebHTTPBody.cpp:
8861 (WebKit::WebHTTPBody::elementAt):
8863 2010-09-16 Kenneth Russell <kbr@google.com>
8865 Reviewed by James Robinson.
8867 Add entry points to GraphicsContext3D needed for Chromium compositor port
8868 https://bugs.webkit.org/show_bug.cgi?id=45939
8870 Added entry points for two Chromium-specific extensions, and added
8871 a flag to the GraphicsContext3D constructor, currently unsupported
8872 by all ports (including Chromium), indicating whether the context
8873 should render directly to the passed HostWindow or off-screen per
8874 the current semantics. The switch to use GraphicsContext3D in
8875 Chromium's compositor will follow in a subsequent patch.
8877 No new tests; functionality is unchanged. Built and tested
8878 Chromium and WebKit on Mac OS X.
8880 * src/GraphicsContext3D.cpp:
8881 (WebCore::GraphicsContext3D::GraphicsContext3D):
8882 (WebCore::GraphicsContext3D::create):
8883 * src/GraphicsContext3DInternal.h:
8885 2010-09-16 Kenneth Russell <kbr@google.com>
8887 Reviewed by James Robinson.
8889 [chromium] Add needed entry points to WebGraphicsContext3D for compositor
8890 https://bugs.webkit.org/show_bug.cgi?id=45921
8892 * public/WebGraphicsContext3D.h:
8893 * src/WebGraphicsContext3DDefaultImpl.cpp:
8894 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
8895 (WebKit::WebGraphicsContext3DDefaultImpl::supportsMapSubCHROMIUM):
8896 (WebKit::WebGraphicsContext3DDefaultImpl::mapBufferSubDataCHROMIUM):
8897 (WebKit::WebGraphicsContext3DDefaultImpl::unmapBufferSubDataCHROMIUM):
8898 (WebKit::WebGraphicsContext3DDefaultImpl::mapTexSubImage2DCHROMIUM):
8899 (WebKit::WebGraphicsContext3DDefaultImpl::unmapTexSubImage2DCHROMIUM):
8900 (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
8901 (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
8902 * src/WebGraphicsContext3DDefaultImpl.h:
8904 2010-09-15 Tony Chang <tony@chromium.org>
8906 Reviewed by Kent Tamura.
8908 [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
8909 https://bugs.webkit.org/show_bug.cgi?id=42151
8911 * public/WebDataSource.h:
8912 * src/WebDataSourceImpl.cpp:
8913 (WebKit::WebDataSourceImpl::applicationCacheHost):
8914 (WebKit::WebDataSourceImpl::setDeferMainResourceDataLoad): Added so DRT can set this flag before a load.
8915 * src/WebDataSourceImpl.h:
8917 2010-09-16 Kenneth Russell <kbr@google.com>
8919 Reviewed by James Robinson.
8921 Roll forward Chromium DEPS to r59706
8922 https://bugs.webkit.org/show_bug.cgi?id=45916
8926 2010-09-16 Darin Adler <darin@apple.com>
8928 Reviewed by Andreas Kling.
8930 Reduce use of HTMLInputElement::inputType so we can remove it later
8931 https://bugs.webkit.org/show_bug.cgi?id=45903
8933 * src/DOMUtilitiesPrivate.cpp:
8934 (WebKit::elementHasLegalLinkAttribute): Use isImageButton.
8935 * src/WebPasswordFormUtils.cpp:
8936 (WebKit::findPasswordFormFields): Use isPasswordField.
8937 * src/WebSearchableFormData.cpp:
8938 (WebCore::IsInDefaultState): Use isCheckbox and isRadioButton.
8939 (WebCore::HasSuitableTextElement): Use isFileUpload and isPasswordField.
8941 2010-09-16 Kenneth Russell <kbr@google.com>
8943 Reviewed by James Robinson.
8945 [chromium] Expose separate GraphicsContext3DInternal.h
8946 https://bugs.webkit.org/show_bug.cgi?id=45914
8949 * src/GraphicsContext3D.cpp:
8950 * src/GraphicsContext3DInternal.h: Added.
8952 2010-09-16 Kenneth Russell <kbr@google.com>
8954 Reviewed by James Robinson.
8956 [chromium] Add WebGraphicsContext3D accessor to WebView
8957 https://bugs.webkit.org/show_bug.cgi?id=45913
8960 * src/WebViewImpl.cpp:
8961 (WebKit::WebViewImpl::WebViewImpl):
8962 (WebKit::WebViewImpl::graphicsContext3D):
8963 * src/WebViewImpl.h:
8965 2010-09-16 Ilya Tikhonovsky <loislo@chromium.org>
8967 Reviewed by Yury Semikhatsky.
8969 Web Inspector: move resourceTracking flag under control of BackendSettings.
8971 Four Inspector API methods about resourceTracking flag were removed.
8972 Actual state of the flag is transfered as the response of setResourceTracking request.
8973 Initial state of the flag on the frontend side is obtained from settings.backend.
8975 https://bugs.webkit.org/show_bug.cgi?id=45887
8977 * src/WebDevToolsAgentImpl.cpp:
8978 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
8979 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
8981 2010-09-16 Yury Semikhatsky <yurys@chromium.org>
8983 Reviewed by Pavel Feldman.
8985 Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation
8986 https://bugs.webkit.org/show_bug.cgi?id=45890
8988 * src/WebDevToolsAgentImpl.cpp:
8989 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): make sure debugger and profiler
8990 are initialized when inspected page navigation leads to renderer process change.
8992 2010-09-16 Eric Uhrhane <ericu@chromium.org>
8994 Reviewed by Jian Li.
8996 Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
8997 https://bugs.webkit.org/show_bug.cgi?id=45798
8999 * src/AsyncFileWriterChromium.h:
9000 * src/AsyncFileWriterChromium.cpp:
9002 2010-09-16 Nat Duca <nduca@chromium.org>
9004 Reviewed by Darin Fisher.
9006 [chromium] Make compositor obey finish flag
9007 https://bugs.webkit.org/show_bug.cgi?id=45552
9009 The compositor should obey the finish flag on doComposite. This
9010 flag causes the compositor to finish rendering before returning,
9011 which is needed when resizing the window to avoid flashes of green.
9013 * src/WebViewImpl.cpp:
9014 (WebKit::WebViewImpl::composite):
9016 2010-09-15 Jeremy Orlow <jorlow@chromium.org>
9018 Reviewed by Steve Block.
9020 Allow the embedder to specify the base path for IndexedDB.
9021 https://bugs.webkit.org/show_bug.cgi?id=45815
9023 Need to add the extra .open() parameter to make this all work.
9025 * public/WebIDBFactory.h:
9026 (WebKit::WebIDBFactory::open):
9027 * src/IDBFactoryBackendProxy.cpp:
9028 (WebCore::IDBFactoryBackendProxy::open):
9029 * src/IDBFactoryBackendProxy.h:
9030 * src/WebIDBFactoryImpl.cpp:
9031 (WebKit::WebIDBFactoryImpl::open):
9032 * src/WebIDBFactoryImpl.h:
9034 2010-09-16 Jeremy Orlow <jorlow@chromium.org>
9036 Speculative build fix.
9038 * src/IDBIndexBackendProxy.cpp:
9040 2010-09-08 Jeremy Orlow <jorlow@chromium.org>
9042 Reviewed by Steve Block.
9044 Complete index support for IndexedDB
9045 https://bugs.webkit.org/show_bug.cgi?id=45386
9047 * public/WebIDBCursor.h:
9048 (WebKit::WebIDBCursor::direction):
9049 (WebKit::WebIDBCursor::key):
9050 (WebKit::WebIDBCursor::value):
9051 (WebKit::WebIDBCursor::update):
9052 (WebKit::WebIDBCursor::continueFunction):
9053 (WebKit::WebIDBCursor::remove):
9054 * public/WebIDBIndex.h:
9055 (WebKit::WebIDBIndex::storeName):
9056 (WebKit::WebIDBIndex::openObjectCursor):
9057 (WebKit::WebIDBIndex::openCursor):
9058 (WebKit::WebIDBIndex::getObject):
9059 (WebKit::WebIDBIndex::get):
9060 * public/WebIDBKey.h:
9061 * src/IDBCursorBackendProxy.cpp:
9062 (WebCore::IDBCursorBackendProxy::value):
9063 * src/IDBCursorBackendProxy.h:
9064 * src/IDBIndexBackendProxy.cpp:
9065 (WebCore::IDBIndexBackendProxy::storeName):
9066 (WebCore::IDBIndexBackendProxy::openObjectCursor):
9067 (WebCore::IDBIndexBackendProxy::openCursor):
9068 (WebCore::IDBIndexBackendProxy::getObject):
9069 (WebCore::IDBIndexBackendProxy::get):
9070 * src/IDBIndexBackendProxy.h:
9071 * src/WebIDBCursorImpl.cpp:
9072 (WebKit::WebIDBCursorImpl::value):
9073 * src/WebIDBCursorImpl.h:
9074 * src/WebIDBIndexImpl.cpp:
9075 (WebKit::WebIDBIndexImpl::storeName):
9076 (WebKit::WebIDBIndexImpl::openCursor):
9077 (WebKit::WebIDBIndexImpl::openObjectCursor):
9078 (WebKit::WebIDBIndexImpl::getObject):
9079 (WebKit::WebIDBIndexImpl::get):
9080 * src/WebIDBIndexImpl.h:
9082 2010-09-15 Dumitru Daniliuc <dumi@chromium.org>
9084 Reviewed by Darin Fisher.
9086 Overload WebHTTPBody::appendFileRange() to take a double modification time argument.
9087 https://bugs.webkit.org/show_bug.cgi?id=45829
9089 The plan is to change all callers of
9090 WebHTTPBody::appendFileRange(..., const WebFileInfo&) to use the
9091 new method, and then remove it.
9093 * public/WebHTTPBody.h:
9094 * src/WebHTTPBody.cpp:
9095 (WebKit::WebHTTPBody::elementAt):
9096 (WebKit::WebHTTPBody::appendFileRange):
9098 2010-09-14 Pavel Feldman <pfeldman@chromium.org>
9100 Reviewed by Yury Semikhatsky.
9102 Web Inspector: Provide network-based load timing.
9103 Before this change, inspector used timers taken from
9104 within WebCore notifications (that are by definition
9105 synchronous and serialized). As a result, timing was
9106 affected by the routines running on the main thread
9107 (JavaScript and such).
9108 https://bugs.webkit.org/show_bug.cgi?id=45664
9110 * public/WebURLLoadTiming.h:
9111 * public/WebURLLoaderClient.h:
9112 (WebKit::WebURLLoaderClient::didFinishLoading):
9113 * src/ResourceHandle.cpp:
9114 (WebCore::ResourceHandleInternal::didFinishLoading):
9115 * src/WebDevToolsAgentImpl.cpp:
9116 (WebKit::WebDevToolsAgentImpl::didFinishLoading):
9117 * src/WebURLLoadTiming.cpp:
9118 (WebKit::WebURLLoadTiming::receiveHeadersStart):
9119 (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
9121 2010-09-15 Sheriff Bot <webkit.review.bot@gmail.com>
9123 Unreviewed, rolling out r67551.
9124 http://trac.webkit.org/changeset/67551
9125 https://bugs.webkit.org/show_bug.cgi?id=45816
9127 "Plugin tests fail" (Requested by yurys on #webkit).
9129 * public/WebURLLoaderClient.h:
9130 (WebKit::WebURLLoaderClient::didFinishLoading):
9131 * src/ResourceHandle.cpp:
9132 (WebCore::ResourceHandleInternal::didFinishLoading):
9133 * src/WebDevToolsAgentImpl.cpp:
9134 (WebKit::WebDevToolsAgentImpl::didFinishLoading):
9136 2010-09-14 Pavel Feldman <pfeldman@chromium.org>
9138 Reviewed by Yury Semikhatsky.
9140 Web Inspector: Provide network-based load timing.
9141 Before this change, inspector used timers taken from
9142 within WebCore notifications (that are by definition
9143 synchronous and serialized). As a result, timing was
9144 affected by the routines running on the main thread
9145 (JavaScript and such).
9146 https://bugs.webkit.org/show_bug.cgi?id=45664
9148 * public/WebURLLoadTiming.h:
9149 * public/WebURLLoaderClient.h:
9150 (WebKit::WebURLLoaderClient::didFinishLoading):
9151 * src/ResourceHandle.cpp:
9152 (WebCore::ResourceHandleInternal::didFinishLoading):
9153 * src/WebDevToolsAgentImpl.cpp:
9154 (WebKit::WebDevToolsAgentImpl::didFinishLoading):
9155 * src/WebURLLoadTiming.cpp:
9156 (WebKit::WebURLLoadTiming::receiveHeadersStart):
9157 (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
9159 2010-09-14 Sheriff Bot <webkit.review.bot@gmail.com>
9161 Unreviewed, rolling out r67503.
9162 http://trac.webkit.org/changeset/67503
9163 https://bugs.webkit.org/show_bug.cgi?id=45802
9165 This patch broke GTK builds (Requested by jianli_ on #webkit).
9167 * src/ResourceHandle.cpp:
9169 2010-09-14 Yury Semikhatsky <yurys@chromium.org>
9171 Reviewed by Pavel Feldman.
9173 Web Inspector: Links from "Profiles" don't lead to "Scripts"
9174 https://bugs.webkit.org/show_bug.cgi?id=45756
9176 * src/js/DevTools.js: remove obsolete code
9178 2010-09-14 Tony Chang <tony@chromium.org>
9180 Reviewed by Kent Tamura.
9182 [chromium] fix http/tests/security/local-user-CSS-from-remote.html
9183 https://bugs.webkit.org/show_bug.cgi?id=45788
9185 * DEPS: Include webkit_support::LocalFileToDataURL
9187 2010-09-14 Tony Chang <tony@chromium.org>
9189 Reviewed by Ojan Vafai.
9191 [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed
9192 https://bugs.webkit.org/show_bug.cgi?id=45768
9197 2010-09-14 Mihai Parparita <mihaip@chromium.org>
9199 Reviewed by Tony Chang.
9201 blob: URL scheme does not work with Chromium DRT
9202 https://bugs.webkit.org/show_bug.cgi?id=45772
9204 Roll Chromium forward to r59406, which registers the blob
9205 URL scheme for the Chromium DRT too.
9209 2010-09-14 Jian Li <jianli@chromium.org>
9211 Reviewed by David Levin.
9213 fast/files/apply-blob-url-to-img.html timeout on Leopard
9214 https://bugs.webkit.org/show_bug.cgi?id=45576
9216 * src/ResourceHandle.cpp: Remove the no longer applicable static comment.
9218 2010-09-14 Chris Guillory <chris.guillory@google.com>
9220 Reviewed by Chris Fleizach.
9222 Send all accessibility notifications to Chromium.
9223 https://bugs.webkit.org/show_bug.cgi?id=45156
9225 Use postAccessibilityNotification to pass accessibility notifications
9229 * public/WebAccessibilityNotification.h: Added.
9230 * public/WebViewClient.h:
9231 (WebKit::WebViewClient::postAccessibilityNotification):
9232 * src/AssertMatchingEnums.h: Added.
9233 * src/ChromeClientImpl.cpp:
9234 (WebKit::toWebAccessibilityNotification):
9235 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
9236 (WebKit::ChromeClientImpl::postAccessibilityNotification):
9237 * src/ChromeClientImpl.h:
9239 2010-09-14 Tony Chang <tony@chromium.org>
9241 Unreviewed, fix chromium win compile.
9245 2010-09-14 Tony Chang <tony@chromium.org>
9247 Reviewed by Dimitri Glazkov.
9249 [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme
9250 https://bugs.webkit.org/show_bug.cgi?id=45762
9252 * public/WebView.h: add WebView::setDomainRelaxationForbidden
9253 * src/WebViewImpl.cpp:
9254 (WebKit::WebViewImpl::setDomainRelaxationForbidden):
9255 * src/WebViewImpl.h:
9257 2010-09-14 Yury Semikhatsky <yurys@chromium.org>
9259 Reviewed by Andreas Kling.
9261 Move DebuggerScript.js from WebKit/chromium/src/js to WebCore/bindings/v8
9262 https://bugs.webkit.org/show_bug.cgi?id=45739
9266 * src/js/DebuggerScript.js: Removed.
9267 * src/js/DevToolsHostStub.js: Removed.
9269 2010-09-14 Hans Wennborg <hans@chromium.org>
9271 Reviewed by Jeremy Orlow.
9273 Make WebDeviceOrientationClientMock constructor private.
9274 https://bugs.webkit.org/show_bug.cgi?id=45743
9276 Clients should use the create member function instead. DumpRenderTree
9277 and the Chromium test_shell have previously been updated to call create.
9279 * public/WebDeviceOrientationClientMock.h:
9280 (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
9282 2010-09-13 Eric Uhrhane <ericu@chromium.org>
9284 Reviewed by Darin Fisher.
9286 Add Chromium API for FileWriter
9287 https://bugs.webkit.org/show_bug.cgi?id=44360
9292 Added a way to get a WebFileWriter.
9293 * public/WebFileSystem.h:
9294 (WebKit::WebFileSystem::createFileWriter):
9296 WebFileWriter writes and truncates files.
9297 * public/WebFileWriter.h: Added.
9299 WebFileWriterClient reports success/failure and progress events.
9300 * public/WebFileWriterClient.h: Added.
9302 AsyncFileWriterChromium is a connector that links FileWriter and WebFileWriter, FileWriterClient and WebFileWriterClient.
9303 * src/AsyncFileWriterChromium.cpp: Added.
9304 * src/AsyncFileWriterChromium.h: Added.
9306 2010-09-13 W. James MacLean <wjmaclean@google.com>
9308 Reviewed by Darin Fisher.
9310 [chromium] Thumbnails not generated for GPU Rendered Pages
9311 https://bugs.webkit.org/show_bug.cgi?id=44127
9313 Modified WebViewImpl::paint() to detect non-null canvas pointers when
9314 accelerated compositing is active, and instead fills the pixel buffer
9315 from the GPU framebuffer. Includes re-scaling support when provided
9316 canvas does not match size of current render layer. Limits pixel
9317 readback to rect passed to paint(), clipped by size of rootLayerTexture.
9319 * src/WebViewImpl.cpp:
9320 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
9321 (WebKit::WebViewImpl::paint):
9322 * src/WebViewImpl.h:
9324 2010-09-13 James Robinson <jamesr@chromium.org>
9326 Reviewed by Dimitri Glazkov.
9328 [chromium] Return NULL from getSharedGraphicsContext3D if we couldn't initialize
9329 https://bugs.webkit.org/show_bug.cgi?id=45731
9331 If we can't create a GraphicsContext3D, return NULL from getSharedGraphicsContext3D rather
9332 than an object with NULL internal pointers. Callers know how to handle a null return value
9333 but not one that has inconsistent internal state.
9335 * src/WebViewImpl.cpp:
9336 (WebKit::WebViewImpl::getSharedGraphicsContext3D):
9338 2010-09-13 Chris Guillory <chris.guillory@google.com>
9340 Reviewed by Chris Fleizach.
9342 WebAccessibilityCacheImpl needs to handle invalid accessibility object ids.
9343 https://bugs.webkit.org/show_bug.cgi?id=45572
9345 * public/WebAccessibilityObject.h:
9346 * src/WebAccessibilityCacheImpl.cpp:
9347 (WebKit::WebAccessibilityCacheImpl::addOrGetId):
9348 * src/WebAccessibilityObject.cpp:
9349 (WebKit::WebAccessibilityObject::isAxObjectIdValid):
9351 2010-09-13 Pavel Podivilov <podivilov@chromium.org>
9353 Reviewed by Dimitri Glazkov.
9355 [Chromium] fix broken dependency in ImageDiff
9356 https://bugs.webkit.org/show_bug.cgi?id=45684
9360 2010-09-13 Enrica Casucci <enrica@apple.com>
9362 Reviewed by Sam Weinig.
9364 Paste should be implemented in WebCore like Copy and Cut for Mac also.
9365 https://bugs.webkit.org/show_bug.cgi?id=45494
9366 <rdar://problem/7660537>
9368 On the Mac platform, the implementation of the paste operation is all done
9369 at the WebKit level. In order to support it on WebKit2 it is necessary to
9370 refactor the code and move this functionality at the level of WebCore like
9371 we already have on Windows.
9372 The original code relies on some in AppKit functions that call back into
9373 WebKit causing problems in WebKit2. All this functionality has been moved
9374 at the level of the editor client where it can be dealt with appropriately.
9376 * src/FrameLoaderClientImpl.cpp:
9377 (WebKit::FrameLoaderClientImpl::canShowMIMETypeAsHTML): Added stub.
9378 * src/FrameLoaderClientImpl.h:
9380 2010-09-13 Jonathan Dixon <joth@chromium.org>
9382 Reviewed by Steve Block.
9384 [chromium] Port test shell geolocation fixes to DRT
9385 https://bugs.webkit.org/show_bug.cgi?id=45313
9387 Ports over fixes from test shell:
9388 - http://codereview.chromium.org/3294007
9389 - http://codereview.chromium.org/333800
9391 Resets state between service instances, which fixes delayed-permission-allowed-for-multiple-requests.html
9393 Also re-apply rolled out patch http://trac.webkit.org/changeset/66886 :-
9394 Access to out-of-scope WebGeolocationServiceBridgeImpl
9395 https://bugs.webkit.org/show_bug.cgi?id=45112
9397 Keep the WebGeolocationService pointer for lifetime of the bridge, to
9398 ensure it can be detached reliably
9400 Includes follow-up review comment to rename onWebGeolocationServiceDestroyed to didDestroyGeolocationService
9402 * public/WebGeolocationService.h:
9403 (WebKit::WebGeolocationService::~WebGeolocationService):
9404 * public/WebGeolocationServiceBridge.h:
9405 (WebKit::WebGeolocationServiceBridge::onWebGeolocationServiceDestroyed):
9406 * public/WebGeolocationServiceMock.h:
9407 * src/WebGeolocationServiceBridgeImpl.cpp:
9408 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
9409 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
9410 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
9411 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
9412 (WebKit::WebGeolocationServiceBridgeImpl::suspend):
9413 (WebKit::WebGeolocationServiceBridgeImpl::resume):
9414 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
9415 (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
9416 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
9417 (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
9418 (WebKit::WebGeolocationServiceBridgeImpl::didDestroyGeolocationService):
9419 (WebKit::WebGeolocationServiceBridgeImpl::isAttached):
9420 * src/WebGeolocationServiceMock.cpp:
9421 (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
9422 (WebKit::WebGeolocationServiceMockImpl::WebGeolocationServiceMockImpl):
9423 (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
9424 (WebKit::WebGeolocationServiceMockImpl::setMockGeolocationPermission):
9425 (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
9426 (WebKit::WebGeolocationServiceMockImpl::notifyPendingPermissions):
9428 2010-09-13 Yury Semikhatsky <yurys@chromium.org>
9430 Reviewed by Pavel Feldman.
9432 Web Inspector: upstream testExpandScope debugger test
9433 https://bugs.webkit.org/show_bug.cgi?id=45260
9435 * src/js/DebuggerScript.js: copy scope variables into a new object, but for global scope object,
9436 with statement parameter and catch block exception variable pass the object itself to the injected
9438 * src/js/Tests.js: moved testExpandScope to LayoutTests
9440 2010-09-13 Hans Wennborg <hans@chromium.org>
9442 Reviewed by Jeremy Orlow.
9444 Add WebDeviceOrientationClientMock::create() and use it from DRT.
9445 https://bugs.webkit.org/show_bug.cgi?id=45650
9447 Since the virtual member functions of WebDeviceOrientationClientMock
9448 are not exported from the DLL, construction of the object must be done inside
9449 the DLL, or else the linker will complain (because the vtable cannot
9450 be set up). Clients should use the create() member function, and the constructor
9451 will be made private in a subsequent patch.
9453 * public/WebDeviceOrientationClientMock.h:
9454 (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
9455 * src/WebDeviceOrientationClientMock.cpp:
9456 (WebKit::WebDeviceOrientationClientMock::create):
9458 2010-09-12 Kent Tamura <tkent@chromium.org>
9460 Reviewed by Tony Chang.
9462 [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
9463 https://bugs.webkit.org/show_bug.cgi?id=45517
9465 * DEPS: Roll Chromium revision to r59033 to have webkit_support_gfx.h.
9468 2010-09-10 MORITA Hajime <morrita@google.com>
9470 Reviewed by Tony Chang.
9472 [Chromium] Implement textInputController.hasSpellingMarker() for Chromium
9473 https://bugs.webkit.org/show_bug.cgi?id=45441
9475 Exported Frame::selectionStartHasSpellingMarkerFor() for DRT use.
9477 * public/WebFrame.h:
9478 * src/WebFrameImpl.cpp:
9479 (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
9480 * src/WebFrameImpl.h:
9482 2010-09-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
9484 Reviewed by Darin Adler.
9486 Add NetworkingContext to avoid layer violations
9487 https://bugs.webkit.org/show_bug.cgi?id=42292
9489 * src/ResourceHandle.cpp:
9490 (WebCore::ResourceHandle::create):
9491 (WebCore::ResourceHandle::start):
9492 (WebCore::ResourceHandle::loadResourceSynchronously):
9494 2010-09-10 Sam Weinig <sam@webkit.org>
9498 * src/WebViewImpl.cpp:
9499 (WebKit::WebViewImpl::setZoomLevel):
9501 2010-09-10 Ryosuke Niwa <rniwa@webkit.org>
9503 Unreviewed, speculative chromium build fix.
9505 * src/WebViewImpl.cpp:
9506 (WebKit::WebViewImpl::setZoomLevel):
9508 2010-09-10 Sam Weinig <sam@webkit.org>
9510 Reviewed by Darin Adler.
9512 Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
9513 Precursor to <rdar://problem/7660657>
9514 https://bugs.webkit.org/show_bug.cgi?id=45522
9516 * src/FrameLoaderClientImpl.cpp:
9517 (WebKit::FrameLoaderClientImpl::createPlugin):
9518 * src/WebViewImpl.cpp:
9519 (WebKit::WebViewImpl::WebViewImpl):
9520 (WebKit::WebViewImpl::setZoomLevel):
9521 * src/WebViewImpl.h:
9522 (WebKit::WebViewImpl::zoomTextOnly):
9523 Move tracking of text only zoom here from WebCore.
9525 2010-09-10 Adam Barth <abarth@webkit.org>
9527 Reviewed by Darin Fisher.
9529 Move code from WebKit-layer to DocumentLoader
9530 https://bugs.webkit.org/show_bug.cgi?id=45569
9532 * src/FrameLoaderClientImpl.cpp:
9533 (WebKit::FrameLoaderClientImpl::committedLoad):
9534 * src/WebFrameImpl.cpp:
9535 (WebKit::WebFrameImpl::commitDocumentData):
9537 2010-09-10 Tony Chang <tony@chromium.org>
9539 Unreviewed, fix chromium compile after r67238.
9541 shouldChangeSelection was removed from Frame.
9543 * src/WebFrameImpl.cpp:
9544 (WebKit::WebFrameImpl::selectWordAroundPosition):
9546 2010-09-10 Nat Duca <nduca@chromium.org>
9548 Reviewed by Darin Fisher.
9550 [chromium] Accelerated Compositing: screen garbage when scrolling
9551 https://bugs.webkit.org/show_bug.cgi?id=45092
9553 Introduce a new API on WebWidget for painting with accelerated
9554 compositing that allows the compositor to properly distingiush
9555 scrolling, invalidation and repainting from one another. The key
9556 change is that in accelerated rendering case, invalidates and
9557 scrolling pass directly to the compositor, rather than passing up
9558 to the client as was the case in the software path. For
9559 accelerated rendering, the previous paint() method is replaced by
9562 * public/WebWidget.h:
9563 * public/WebWidgetClient.h:
9564 (WebKit::WebWidgetClient::scheduleComposite):
9565 * src/ChromeClientImpl.cpp:
9566 (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
9567 (WebKit::ChromeClientImpl::scroll):
9568 * src/WebPopupMenuImpl.cpp:
9569 (WebKit::WebPopupMenuImpl::themeChanged):
9570 (WebKit::WebPopupMenuImpl::composite):
9571 * src/WebPopupMenuImpl.h:
9572 * src/WebViewImpl.cpp:
9573 (WebKit::WebViewImpl::resize):
9574 (WebKit::WebViewImpl::paint):
9575 (WebKit::WebViewImpl::themeChanged):
9576 (WebKit::WebViewImpl::composite):
9577 (WebKit::WebViewImpl::setRootGraphicsLayer):
9578 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
9579 (WebKit::WebViewImpl::scrollRootLayerRect):
9580 (WebKit::WebViewImpl::invalidateRootLayerRect):
9581 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
9582 (WebKit::WebViewImpl::updateRootLayerContents):
9583 (WebKit::WebViewImpl::doComposite):
9584 * src/WebViewImpl.h:
9585 * tests/PopupMenuTest.cpp:
9586 (WebKit::TestWebWidget::themeChanged):
9587 (WebKit::TestWebWidget::composite):
9589 2010-09-10 David Holloway <dhollowa@chromium.org>
9591 Reviewed by Adam Barth.
9593 Change WebKit::WebFormElement::wasUserSubmitted to use WebCore::HTMLFormElement::submittedByUserGesture
9594 instead of WebCore::HTMLFormElement::submissionTrigger.
9595 Chromium AutoFill feature semantics changed with respect to what we mean by "user submitted" form. A
9596 more accurate measure of the user manually submitting a form is via user gesture.
9597 https://bugs.webkit.org/show_bug.cgi?id=45128
9599 * src/WebFormElement.cpp:
9600 (WebKit::WebFormElement::wasUserSubmitted):
9602 2010-09-09 Darin Adler <darin@apple.com>
9604 Reviewed by Adam Barth.
9606 Move functions from Frame to SelectionController as planned
9607 https://bugs.webkit.org/show_bug.cgi?id=45508
9609 * src/WebFrameImpl.cpp:
9610 (WebKit::WebFrameImpl::selectionBoundsRect):
9611 Call functions on selection().
9613 2010-09-10 Adam Barth <abarth@webkit.org>
9615 Chromium build fix (one hopes!)
9617 * src/WebFrameImpl.cpp:
9618 (WebKit::WebFrameImpl::commitDocumentData):
9620 2010-09-10 Adam Barth <abarth@webkit.org>
9622 Reviewed by Eric Seidel.
9624 Main resource bytes shouldn't bounce through FrameLoader
9625 https://bugs.webkit.org/show_bug.cgi?id=45496
9627 Now return the bytes to the DocumentLoader.
9629 Also, removed comment about wrong code in the Mac port.
9631 * src/WebFrameImpl.cpp:
9632 (WebKit::WebFrameImpl::commitDocumentData):
9634 2010-09-08 Darin Adler <darin@apple.com>
9636 Reviewed by Adam Barth.
9638 Move functions from Frame to Editor as planned
9639 https://bugs.webkit.org/show_bug.cgi?id=45218
9641 * src/ContextMenuClientImpl.cpp:
9642 (WebKit::selectMisspelledWord):
9643 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
9644 * src/WebFrameImpl.cpp:
9645 (WebKit::WebFrameImpl::find):
9646 (WebKit::WebFrameImpl::stopFinding):
9647 (WebKit::WebFrameImpl::scopeStringMatches):
9648 * src/WebViewImpl.cpp:
9649 (WebKit::WebViewImpl::caretOrSelectionBounds):
9650 Changed call sites to use editor().
9652 2010-09-09 Kenneth Russell <kbr@google.com>
9654 Reviewed by James Robinson.
9656 Memory leak in red/black tree
9657 https://bugs.webkit.org/show_bug.cgi?id=45472
9659 Fixed memory leak in red/black tree where it was using operator
9660 new directly to allocate its internal nodes rather than the arena
9661 with which it was configured. Added allocateObject variant to
9662 arena supporting single-argument constructors. Added test to
9663 red/black tree unit tests to cover this functionality, and
9664 refactored TrackedAllocator into helper file to share between
9665 arena and red/black tree tests.
9668 * tests/ArenaTestHelpers.h: Added.
9669 (WebCore::ArenaTestHelpers::TrackedAllocator::create):
9670 (WebCore::ArenaTestHelpers::TrackedAllocator::allocate):
9671 (WebCore::ArenaTestHelpers::TrackedAllocator::free):
9672 (WebCore::ArenaTestHelpers::TrackedAllocator::isEmpty):
9673 (WebCore::ArenaTestHelpers::TrackedAllocator::numRegions):
9674 (WebCore::ArenaTestHelpers::TrackedAllocator::TrackedAllocator):
9675 * tests/PODArenaTest.cpp:
9676 * tests/PODRedBlackTreeTest.cpp:
9679 2010-09-09 Tony Chang <tony@chromium.org>
9681 Reviewed by Dimitri Glazkov.
9683 [chromium] make linux checksums computed from pngs to match windows
9684 https://bugs.webkit.org/show_bug.cgi?id=45465
9687 (WebKit::areLayoutTestImagesOpaque): Make linux match windows.
9689 2010-09-10 Jay Civelli <jcivelli@chromium.org>
9691 Reviewed by Darin Fisher.
9693 Add the destructor to WebDOMEvent to prevent a leak.
9694 https://bugs.webkit.org/show_bug.cgi?id=45287
9696 * public/WebDOMEvent.h:
9697 (WebKit::WebDOMEvent::~WebDOMEvent):
9699 2010-09-09 Chris Guillory <chris.guillory@google.com>
9701 Reviewed by Chris Fleizach.
9703 Add methods used to determine accessibility state.
9704 https://bugs.webkit.org/show_bug.cgi?id=45434
9706 * public/WebAccessibilityObject.h:
9707 * src/WebAccessibilityObject.cpp:
9708 (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
9709 (WebKit::WebAccessibilityObject::isCollapsed):
9710 (WebKit::WebAccessibilityObject::isLinked):
9711 (WebKit::WebAccessibilityObject::isReadOnly):
9712 (WebKit::WebAccessibilityObject::isVisible):
9714 2010-09-08 Yury Semikhatsky <yurys@chromium.org>
9716 Reviewed by Joseph Pecoraro.
9718 Web Inspector: add a sanity test for DOM storage view in the storage panel
9719 https://bugs.webkit.org/show_bug.cgi?id=45294
9721 * src/js/Tests.js: removed testStoragePanel which was superseded by inspector layout tests.
9723 2010-09-08 Yury Semikhatsky <yurys@chromium.org>
9725 Reviewed by Joseph Pecoraro.
9727 Web Inspector: test that debugger won't pause on syntax errors
9728 https://bugs.webkit.org/show_bug.cgi?id=45388
9730 * src/js/Tests.js: removed testAutoContinueOnSyntaxError which is now covered by
9731 inspector/debugger-autocontinue-on-syntax-error.html layout test
9733 2010-09-08 Peter Kasting <pkasting@google.com>
9735 Reviewed by David Hyatt.
9737 Add smooth scrolling framework, and a Windows implementation.
9738 https://bugs.webkit.org/show_bug.cgi?id=32356
9740 * src/WebScrollbarImpl.cpp: Plumb new ScrollbarClient functions. Allow wheel scrolls to be animated.
9741 (WebKit::WebScrollbarImpl::setLocation):
9742 (WebKit::WebScrollbarImpl::setValue):
9743 (WebKit::WebScrollbarImpl::scroll):
9744 (WebKit::WebScrollbarImpl::onMouseWheel):
9745 (WebKit::WebScrollbarImpl::onKeyDown):
9746 (WebKit::WebScrollbarImpl::setScrollOffsetFromAnimation):
9747 * src/WebScrollbarImpl.h: Plumb new ScrollbarClient functions.
9748 * src/win/WebInputEventFactory.cpp: Update comments now that we have smooth scrolling.
9749 (WebKit::WebInputEventFactory::mouseWheelEvent):
9751 2010-09-08 Yury Semikhatsky <yurys@chromium.org>
9753 Reviewed by Joseph Pecoraro.
9755 Web Inspector: remove some obsolete interactive tests
9756 https://bugs.webkit.org/show_bug.cgi?id=45371
9760 2010-09-08 Hans Wennborg <hans@chromium.org>
9762 Reviewed by Jeremy Orlow.
9764 Plug leak in WebDeviceOrientationClientMock
9765 https://bugs.webkit.org/show_bug.cgi?id=45305
9767 WebDeviceOrientationClientMock is responsible for destroying the
9768 WebDeviceOrientationController object pointed to by the argument
9769 passed to the setController() member function.
9771 Also use the new WebPrivateOnwPtr for m_clientMock.
9773 * public/WebDeviceOrientationClientMock.h:
9774 * src/WebDeviceOrientationClientMock.cpp:
9775 (WebKit::WebDeviceOrientationClientMock::setController):
9776 (WebKit::WebDeviceOrientationClientMock::initialize):
9777 (WebKit::WebDeviceOrientationClientMock::reset):
9779 2010-09-07 Tony Chang <tony@chromium.org>
9781 Reviewed by Darin Fisher.
9783 [chromium] Make a public flag for how DRT generates bitmaps on Linux
9784 https://bugs.webkit.org/show_bug.cgi?id=45133
9786 This is so it's possible for me to fix
9787 http://code.google.com/p/chromium/issues/detail?id=21386 .
9789 * public/WebKit.h: Add areLayoutTestImagesOpaque()
9791 (WebKit::areLayoutTestImagesOpaque):
9793 2010-09-07 Dimitri Glazkov <dglazkov@chromium.org>
9795 Unreviewed, rolling out r66886.
9796 http://trac.webkit.org/changeset/66886
9797 https://bugs.webkit.org/show_bug.cgi?id=45112
9801 * public/WebGeolocationService.h:
9802 * src/WebGeolocationServiceBridgeImpl.cpp:
9803 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
9804 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
9805 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
9806 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
9807 (WebKit::WebGeolocationServiceBridgeImpl::suspend):
9808 (WebKit::WebGeolocationServiceBridgeImpl::resume):
9809 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
9810 (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
9811 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
9812 (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
9813 (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
9814 (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
9815 * src/WebGeolocationServiceMock.cpp:
9817 2010-09-07 Jonathan Dixon <joth@chromium.org>
9819 Reviewed by Jeremy Orlow.
9821 Access to out-of-scope WebGeolocationServiceBridgeImpl
9822 https://bugs.webkit.org/show_bug.cgi?id=45112
9824 Keep the WebGeolocationService pointer for lifetime of the bridge, to
9825 ensure it can be detached reliably
9827 * public/WebGeolocationServiceBridge.h:
9828 (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
9829 * src/WebGeolocationServiceBridgeImpl.cpp:
9830 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
9831 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
9832 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
9833 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
9834 (WebKit::WebGeolocationServiceBridgeImpl::suspend):
9835 (WebKit::WebGeolocationServiceBridgeImpl::resume):
9836 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
9838 2010-09-07 Pavel Podivilov <podivilov@chromium.org>
9840 Reviewed by Yury Semikhatsky.
9842 Web Inspector: upstream two debugger tests
9843 https://bugs.webkit.org/show_bug.cgi?id=45262
9847 2010-09-06 Jonathan Dixon <joth@chromium.org>
9849 Reviewed by Jeremy Orlow.
9851 Add new interface and empty impl. as precursor to bug 45112
9852 https://bugs.webkit.org/show_bug.cgi?id=45257
9854 * public/WebGeolocationServiceBridge.h:
9855 (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge):
9856 * src/WebGeolocationServiceBridgeImpl.cpp:
9857 (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed):
9859 2010-09-06 Pavel Podivilov <podivilov@chromium.org>
9861 Reviewed by Yury Semikhatsky.
9863 Web Inspector: fix chromium devtools tests
9864 https://bugs.webkit.org/show_bug.cgi?id=45258
9867 (.TestSuite.prototype._waitForScriptPause):
9869 2010-08-26 Jeremy Orlow <jorlow@chromium.org>
9871 Reviewed by Steve Block.
9873 Add index insertion support to IndexedDB.
9874 https://bugs.webkit.org/show_bug.cgi?id=44695
9876 Add asserts on the [] operator.
9878 * public/WebVector.h:
9879 (WebKit::WebVector::operator[]):
9881 2010-09-06 Anton Muhin <antonm@chromium.org>
9883 Reviewed by Adam Barth.
9885 [v8] bypass caches when query memory usage from post GC and in crash handler.
9886 https://bugs.webkit.org/show_bug.cgi?id=45036
9888 Add Chromium-specific API to query actual memory usage which bypasses any caches.
9890 * public/WebKitClient.h:
9891 (WebKit::WebKitClient::actualMemoryUsageMB):
9892 * src/ChromiumBridge.cpp:
9893 (WebCore::ChromiumBridge::actualMemoryUsageMB):
9895 2010-09-05 Peter Kasting <pkasting@google.com>
9897 Reviewed by Adam Barth.
9899 Make Chromium/Mac generate continuous mousewheel events with the same wheelDelta values as Safari/Mac.
9900 https://bugs.webkit.org/show_bug.cgi?id=45155
9902 * src/mac/WebInputEventFactory.mm:
9903 (WebKit::WebInputEventFactory::mouseWheelEvent):
9905 2010-09-05 Yury Semikhatsky <yurys@chromium.org>
9907 Reviewed by Joseph Pecoraro.
9909 Web Inspector: remove WebDevToolsAgentClient::forceRepaint which is not used
9910 https://bugs.webkit.org/show_bug.cgi?id=45179
9912 * public/WebDevToolsAgentClient.h:
9913 * src/DebuggerAgentImpl.cpp:
9914 (WebKit::DebuggerAgentImpl::debuggerOutput):
9915 * src/WebDevToolsAgentImpl.cpp:
9916 * src/WebDevToolsAgentImpl.h:
9918 2010-09-05 Kenneth Russell <kbr@google.com>
9920 Reviewed by Darin Fisher.
9922 Add unit tests for interval tree
9923 https://bugs.webkit.org/show_bug.cgi?id=45161
9926 * tests/PODIntervalTreeTest.cpp: Added.
9927 (WebCore::valueToString):
9929 (WebCore::UserData1::valueToString):
9930 (WebCore::EndpointType1::valueToString):
9932 2010-09-05 Kenneth Russell <kbr@google.com>
9934 Reviewed by Darin Fisher.
9936 Add unit tests for red-black tree and (POD) arena
9937 https://bugs.webkit.org/show_bug.cgi?id=45060
9940 * tests/PODArenaTest.cpp: Added.
9941 (WebCore::TestClass1::TestClass2::TestClass2):
9943 * tests/PODRedBlackTreeTest.cpp: Added.
9945 * tests/TreeTestHelpers.cpp: Added.
9946 (WebCore::TreeTestHelpers::generateSeed):
9947 (WebCore::TreeTestHelpers::initRandom):
9948 (WebCore::TreeTestHelpers::nextRandom):
9949 * tests/TreeTestHelpers.h: Added.
9951 2010-09-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
9953 Reviewed by Darin Adler.
9955 Add NetworkingContext to avoid layer violations
9956 https://bugs.webkit.org/show_bug.cgi?id=42292
9958 Add Chromium's implementation of NetworkingContext.
9960 * src/FrameLoaderClientImpl.cpp:
9961 (WebKit::FrameLoaderClientImpl::createNetworkingContext):
9962 * src/FrameLoaderClientImpl.h:
9964 2010-09-02 Vangelis Kokkevis <vangelis@chromium.org>
9966 Reviewed by Darin Fisher.
9968 [chromium] Revert to software compositing if the accelerated
9969 compositor fails to initialize. If we tried to initialize the compositor
9970 for this WebView and failed, next time the associated chrome client is
9971 asked whether it can do accelerated compositing it will return false.
9972 https://bugs.webkit.org/show_bug.cgi?id=45124
9974 * src/ChromeClientImpl.cpp:
9975 (WebKit::ChromeClientImpl::allowsAcceleratedCompositing):
9976 * src/ChromeClientImpl.h:
9977 * src/WebViewImpl.cpp:
9978 (WebKit::WebViewImpl::WebViewImpl):
9979 (WebKit::WebViewImpl::paint):
9980 (WebKit::WebViewImpl::allowsAcceleratedCompositing):
9981 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
9982 (WebKit::WebViewImpl::getOnscreenGLES2Context):
9983 * src/WebViewImpl.h:
9985 2010-09-03 James Robinson <jamesr@chromium.org>
9987 [chromium] Add one more include to fix the mac compile.
9989 * src/GraphicsContext3D.cpp:
9991 2010-09-03 James Robinson <jamesr@chromium.org>
9993 [chromium] Compile fixes for 66746.
9995 * src/GraphicsContext3D.cpp:
9996 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
9998 2010-09-03 Tony Chang <tony@chromium.org>
10000 Unreviewed, remove svn:executable flag from images and css files.
10002 * src/js/Images/segmentChromium.png: Removed property svn:executable.
10003 * src/js/Images/segmentHoverChromium.png: Removed property svn:executable.
10004 * src/js/Images/segmentHoverEndChromium.png: Removed property svn:executable.
10005 * src/js/Images/segmentSelectedChromium.png: Removed property svn:executable.
10006 * src/js/Images/segmentSelectedEndChromium.png: Removed property svn:executable.
10007 * src/js/Images/statusbarBackgroundChromium.png: Removed property svn:executable.
10008 * src/js/Images/statusbarBottomBackgroundChromium.png: Removed property svn:executable.
10009 * src/js/Images/statusbarButtonsChromium.png: Removed property svn:executable.
10010 * src/js/Images/statusbarMenuButtonChromium.png: Removed property svn:executable.
10011 * src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed property svn:executable.
10012 * src/js/devTools.css: Removed property svn:executable.
10014 2010-09-03 James Robinson <jamesr@chromium.org>
10016 Reviewed by Chris Marrin.
10018 Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D
10019 https://bugs.webkit.org/show_bug.cgi?id=44926
10021 Adds a SharedContext3D to WebViewImpl. The SharedContext3D has to live on WebViewImpl to be
10022 tied to the lifetime of the compositor context.
10024 * src/ChromeClientImpl.cpp:
10025 (WebKit::ChromeClientImpl::getSharedGraphicsContext3D):
10026 * src/ChromeClientImpl.h:
10027 * src/GraphicsContext3D.cpp:
10028 (WebCore::GraphicsContext3DInternal::initialize):
10029 (WebCore::GraphicsContext3DInternal::platformLayer):
10030 (WebCore::GraphicsContext3D::platformLayer):
10031 * src/WebViewImpl.cpp:
10032 (WebKit::WebViewImpl::getSharedGraphicsContext3D):
10033 * src/WebViewImpl.h:
10035 2010-08-31 Jeremy Orlow <jorlow@chromium.org>
10037 Reviewed by Steve Block.
10039 IDBCursor.continue() should reuse the .openCursor's IDBRequest object
10040 https://bugs.webkit.org/show_bug.cgi?id=44953
10042 * src/WebIDBCallbacksImpl.cpp:
10043 (WebCore::WebIDBCallbacksImpl::onError):
10044 (WebCore::WebIDBCallbacksImpl::onSuccess):
10046 2010-09-02 Yury Semikhatsky <yurys@chromium.org>
10048 Reviewed by Pavel Feldman.
10050 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
10051 https://bugs.webkit.org/show_bug.cgi?id=44230
10053 * src/InspectorFrontendClientImpl.cpp:
10054 (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
10055 * src/InspectorFrontendClientImpl.h:
10057 2010-09-02 Satish Sampath <satish@chromium.org>
10059 Reviewed by Jeremy Orlow.
10061 Remove obsolete public/API methods in chromium port
10062 https://bugs.webkit.org/show_bug.cgi?id=45108
10064 * public/WebSpeechInputController.h:
10065 (WebKit::WebSpeechInputController::startRecognition):
10067 2010-09-02 Kent Tamura <tkent@chromium.org>
10069 Reviewed by Dimitri Glazkov.
10071 [DRT/Chromium] Remove dependency to base/task.h and base/timer.h
10072 https://bugs.webkit.org/show_bug.cgi?id=45091
10074 * DEPS: Roll Chromium revision to 58277 in order to have
10075 webkit_support::PostDelayedTask().
10077 2010-09-02 Ilya Sherman <isherman@google.com>
10079 Reviewed by Eric Seidel.
10081 Exposing computing an element's inherited language, per the DOM, in the
10082 Chromium API -- primarily for use with autofill i18n.
10083 https://bugs.webkit.org/show_bug.cgi?id=44803
10085 * public/WebElement.h:
10086 * src/WebElement.cpp:
10087 (WebKit::WebElement::computeInheritedLanguage):
10089 2010-09-01 Mikhail Naganov <mnaganov@chromium.org>
10091 Reviewed by Yury Semikhatsky.
10093 Remove dependency on JS files for V8 logs processing.
10095 https://bugs.webkit.org/show_bug.cgi?id=45045
10099 2010-09-01 Kent Tamura <tkent@chromium.org>
10101 Unreviewed, rolling out r66576.
10102 http://trac.webkit.org/changeset/66576
10103 https://bugs.webkit.org/show_bug.cgi?id=45016
10105 This change is not needed.
10107 * public/WebKitClient.h:
10109 2010-08-31 Dave Hyatt <hyatt@apple.com>
10111 Reviewed by Sam Weinig.
10113 https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
10114 the former can occur in more places without having to do the latter.
10116 * src/WebFrameImpl.cpp:
10117 (WebKit::WebFrameImpl::layout):
10119 2010-08-31 Kent Tamura <tkent@chromium.org>
10121 Reviewed by Dimitri Glazkov.
10123 [Chromium] Add WebKitClient::callOnMainThreadWithDelay()
10124 https://bugs.webkit.org/show_bug.cgi?id=45016
10126 It is required to remove base/task.h and base/timer.h dependency
10129 * public/WebKitClient.h:
10130 (WebKit::WebKitClient::callOnMainThreadWithDelay): Added.
10132 2010-08-31 Kinuko Yasuda <kinuko@chromium.org>
10134 Reviewed by Jian Li.
10136 Add LocalFileSystem.requestFileSystem interface to DOMWindow
10137 https://bugs.webkit.org/show_bug.cgi?id=44734
10139 * public/WebRuntimeFeatures.h:
10140 * src/WebRuntimeFeatures.cpp:
10141 (WebKit::WebRuntimeFeatures::enableFileSystem):
10142 (WebKit::WebRuntimeFeatures::isFileSystemEnabled):
10144 2010-08-24 Jeremy Orlow <jorlow@chromium.org>
10146 Reviewed by Steve Block.
10148 Implement the rest of IDBCursors + make them persistent
10149 https://bugs.webkit.org/show_bug.cgi?id=44546
10151 * src/IDBCursorBackendProxy.cpp:
10152 (WebCore::IDBCursorBackendProxy::value):
10153 * src/IDBCursorBackendProxy.h:
10154 * src/WebIDBCursorImpl.cpp:
10155 (WebKit::WebIDBCursorImpl::value):
10157 2010-08-27 John Gregg <johnnyg@google.com>
10159 Reviewed by David Levin.
10161 Notifications should support a click event
10162 https://bugs.webkit.org/show_bug.cgi?id=44800
10164 * public/WebNotification.h:
10165 * src/WebNotification.cpp:
10166 (WebKit::WebNotification::dispatchClickEvent):
10168 2010-08-31 Jian Li <jianli@chromium.org>
10170 Reviewed by Darin Fisher.
10172 Switch the Blob implementation to using the blob data registration model
10173 https://bugs.webkit.org/show_bug.cgi?id=44389
10175 * src/WebSearchableFormData.cpp:
10176 (WebCore::HasSuitableTextElement):
10178 2010-08-30 Nat Duca <nduca@chromium.org>
10180 Reviewed by Adam Barth.
10182 [chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
10183 https://bugs.webkit.org/show_bug.cgi?id=44196
10185 If accelerated compositing enables after a page loads, the dirtied
10186 portion of the screen will be only a subset of the full screen,
10187 leading to artefacts. Avoid these artefacts by invalidating the
10188 visible content rect on compositor initialization.
10190 * src/WebViewImpl.cpp:
10191 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
10193 2010-08-30 Kinuko Yasuda <kinuko@chromium.osrc>
10195 Reviewed by Darin Fisher.
10197 Add DOMFileSystem implementation to support Entry manipulation operations
10198 https://bugs.webkit.org/show_bug.cgi?id=44732
10200 Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.)
10202 * src/AsyncFileSystemChromium.cpp:
10203 (WebCore::AsyncFileSystemChromium::move):
10204 (WebCore::AsyncFileSystemChromium::copy):
10205 (WebCore::AsyncFileSystemChromium::remove):
10206 (WebCore::AsyncFileSystemChromium::readMetadata):
10207 (WebCore::AsyncFileSystemChromium::createFile):
10208 (WebCore::AsyncFileSystemChromium::createDirectory):
10209 (WebCore::AsyncFileSystemChromium::fileExists):
10210 (WebCore::AsyncFileSystemChromium::directoryExists):
10211 (WebCore::AsyncFileSystemChromium::readDirectory):
10213 2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
10215 Unreviewed, rolling out r66198.
10216 http://trac.webkit.org/changeset/66198
10217 https://bugs.webkit.org/show_bug.cgi?id=44856
10219 It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
10221 * src/InspectorFrontendClientImpl.cpp:
10222 * src/InspectorFrontendClientImpl.h:
10224 2010-08-29 Kent Tamura <tkent@chromium.org>
10226 Reviewed by Darin Adler.
10228 Introduce isValidValue(const String&) of HTMLInputElement and HTMLTextAreaElement
10229 https://bugs.webkit.org/show_bug.cgi?id=43537
10231 * public/WebInputElement.h:
10232 * src/WebInputElement.cpp:
10233 (WebKit::WebInputElement::isValidValue):
10235 2010-08-29 Kent Tamura <tkent@chromium.org>
10237 Reviewed by Dimitri Glazkov.
10239 [DRT/Chromium] Remove dependency to base/keyboard_codes.h
10240 https://bugs.webkit.org/show_bug.cgi?id=44847
10242 * DEPS: Roll Chromium revision to 57823 to have a webkit_support change.
10244 2010-08-28 Jian Li <jianli@chromium.org>
10246 Reviewed by Darin Fisher.
10248 [chromium] Add webkit_support.gyp:blob to WebKit.gyp
10249 https://bugs.webkit.org/show_bug.cgi?id=44829
10251 Also bump up chromium revision in DEPS in order to pick up
10252 the revision that contains blob change.
10257 2010-08-28 Chris Guillory <chris.guillory@google.com>
10259 Reviewed by Chris Fleizach.
10261 Add AX notification for childrenChanged
10262 https://bugs.webkit.org/show_bug.cgi?id=44472
10264 * public/WebViewClient.h:
10265 (WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
10266 * src/ChromeClientImpl.cpp:
10267 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
10268 * src/ChromeClientImpl.h:
10270 2010-08-27 Daniel Cheng <dcheng@chromium.org>
10272 Reviewed by Tony Chang.
10274 [chromium] Add new WebClipboard method for setting generic data in copy/cut handlers.
10275 https://bugs.webkit.org/show_bug.cgi?id=42121
10277 * public/WebClipboard.h:
10278 (WebKit::WebClipboard::writeData):
10279 (WebKit::WebClipboard::readFilenames):
10280 * src/ChromiumBridge.cpp:
10281 (WebCore::ChromiumBridge::clipboardWriteData):
10283 2010-08-27 Kinuko Yasuda <kinuko@chromium.org>
10285 Reviewed by Dumitru Daniliuc.
10287 [chromium] Add chromium-side of AsyncFileSystem implementation
10288 https://bugs.webkit.org/show_bug.cgi?id=44434
10291 * src/AssertMatchingEnums.cpp: Added assertions.
10292 * src/AsyncFileSystemChromium.cpp: Added.
10293 * src/AsyncFileSystemChromium.h: Added.
10294 * src/LocalFileSystemChromium.cpp: Added.
10295 * src/WebFileSystemCallbacksImpl.cpp:
10296 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
10297 * src/WebFileSystemCallbacksImpl.h:
10299 2010-08-27 Michael Nordman <michaeln@google.com>
10301 Reviewed by David Levin.
10303 https://bugs.webkit.org/show_bug.cgi?id=44133
10304 WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
10306 * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
10307 * public/WebRuntimeFeatures.h:
10308 * src/WebRuntimeFeatures.cpp:
10309 (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
10310 (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
10312 2010-08-25 Jeremy Orlow <jorlow@chromium.org>
10314 Reviewed by Steve Block.
10316 Add setVersion to IndexedDB
10317 https://bugs.webkit.org/show_bug.cgi?id=44630
10319 * public/WebIDBDatabase.h:
10320 (WebKit::WebIDBDatabase::createObjectStore):
10321 (WebKit::WebIDBDatabase::removeObjectStore):
10322 (WebKit::WebIDBDatabase::setVersion):
10323 * src/IDBDatabaseProxy.cpp:
10324 (WebCore::IDBDatabaseProxy::setVersion):
10325 * src/IDBDatabaseProxy.h:
10326 * src/WebIDBDatabaseImpl.cpp:
10327 (WebKit::WebIDBDatabaseImpl::setVersion):
10328 * src/WebIDBDatabaseImpl.h:
10330 2010-08-27 Yury Semikhatsky <yurys@chromium.org>
10332 Reviewed by Pavel Feldman.
10334 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
10335 https://bugs.webkit.org/show_bug.cgi?id=44230
10337 * src/InspectorFrontendClientImpl.cpp:
10338 (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
10339 * src/InspectorFrontendClientImpl.h:
10341 2010-08-27 Kent Tamura <tkent@chromium.org>
10343 Reviewed by Pavel Feldman.
10345 [DRT/Chromium] Fix inspector test failures
10346 https://bugs.webkit.org/show_bug.cgi?id=44748
10348 * DEPS: Update Chromium revision to 57605 to have a webkit_support change.
10350 2010-08-26 Dumitru Daniliuc <dumi@chromium.org>
10352 Unreviewed, Chromium build fix.
10354 * src/WebFrameImpl.cpp:
10355 (WebKit::WebFrameImpl::markerTextForListItem):
10357 2010-08-26 Dumitru Daniliuc <dumi@chromium.org>
10359 Reviewed by Darin Fisher.
10361 Add support for markerTextForListItem() to Chromium's LayoutTestController.
10362 https://bugs.webkit.org/show_bug.cgi?id=44724
10364 * public/WebBindings.h:
10365 * public/WebFrame.h:
10366 * src/WebBindings.cpp:
10367 (WebKit::getElementImpl):
10368 (WebKit::WebBindings::getElement):
10369 * src/WebFrameImpl.cpp:
10370 (WebKit::WebFrameImpl::markerTextForListItem):
10371 * src/WebFrameImpl.h:
10373 2010-08-26 James Robinson <jamesr@chromium.org>
10375 Reviewed by Darin Fisher.
10377 [chromium] Remove the USE(GLES2_RENDERING) define and associated code
10378 https://bugs.webkit.org/show_bug.cgi?id=43761
10380 Removes API support to grab a GLES2Context from within WebCore. The compositor
10381 has a special codepath to grab its GLES2Context and no other codepaths
10382 need access to a raw context. Accelerated drawing elsewhere will go through
10385 * src/ChromeClientImpl.cpp:
10386 * src/ChromeClientImpl.h:
10388 2010-08-26 Ryosuke Niwa <rniwa@webkit.org>
10390 Reviewed by Eric Seidel.
10392 [chromium] WebEntities is broken
10393 https://bugs.webkit.org/show_bug.cgi?id=44708
10395 For serialization purposes, we don't need to convert all entity references.
10396 This patch modifies WebEntities::WebEntities to use hard-coded entity lists for both HTML and XML,
10397 and deletes populateMapFromXMLEntities and populateMapFromHTMLEntityTable.
10399 No tests are added since the code is tested in DomSerializerTests
10401 * src/WebEntities.cpp:
10403 (WebKit::WebEntities::WebEntities):
10405 2010-08-26 Peter Kasting <pkasting@google.com>
10407 Reviewed by Dimitri Glazkov.
10409 Misc. cleanup split off from bug 32356.
10410 https://bugs.webkit.org/show_bug.cgi?id=44696
10412 * src/WebScrollbarImpl.cpp:
10413 (WebKit::WebScrollbarImpl::setLocation):
10414 (WebKit::WebScrollbarImpl::onMouseWheel):
10415 * src/WebViewImpl.cpp:
10416 (WebKit::WebViewImpl::propagateScroll):
10417 * src/win/WebInputEventFactory.cpp:
10418 (WebKit::WebInputEventFactory::mouseWheelEvent):
10420 2010-08-26 Mikhail Naganov <mnaganov@chromium.org>
10422 Reviewed by Pavel Feldman.
10424 Web Inspector: Store heap snapshots in InspectorProfilerAgent.
10426 Change the way heap snapshots are transported to Inspector
10427 to be aligned with CPU profiles. As a result, the Heap snapshots
10428 view of Profiles panel was upstreamed into WebCore.
10430 https://bugs.webkit.org/show_bug.cgi?id=44531
10434 * src/js/DevTools.js:
10436 * src/js/HeapProfilerPanel.js: Removed.
10437 * src/js/ProfilerAgent.js: Removed.
10438 * src/js/ProfilerProcessor.js: Removed.
10439 * src/js/devTools.css:
10441 2010-08-26 Yury Semikhatsky <yurys@chromium.org>
10443 Unreviewed. Revert r66103 since Qt tests are failing.
10445 * src/InspectorFrontendClientImpl.cpp:
10446 * src/InspectorFrontendClientImpl.h:
10448 2010-08-26 Yury Semikhatsky <yurys@chromium.org>
10450 Reviewed by Pavel Feldman.
10452 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
10453 https://bugs.webkit.org/show_bug.cgi?id=44230
10455 * src/InspectorFrontendClientImpl.cpp:
10456 (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
10457 * src/InspectorFrontendClientImpl.h:
10459 2010-08-26 Kent Tamura <tkent@chromium.org>
10461 Reviewed by Tony Chang.
10463 [DRT/Chromium] Enable DEVICE_ORIENTATION
10464 https://bugs.webkit.org/show_bug.cgi?id=44587
10468 2010-08-25 Ilya Tikhonovsky <loislo@chromium.org>
10470 Reviewed by Pavel Feldman.
10472 WebInspector: as far as we have 'seq' property in the each inspector message
10473 it would be better to remove explicit callId argument from Inspector.idl functions
10475 https://bugs.webkit.org/show_bug.cgi?id=44617
10477 * src/js/ProfilerAgent.js:
10478 (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
10479 (devtools.ProfilerAgent.prototype._getNextLogLines):
10481 2010-08-25 Sheriff Bot <webkit.review.bot@gmail.com>
10483 Unreviewed, rolling out r66074.
10484 http://trac.webkit.org/changeset/66074
10485 https://bugs.webkit.org/show_bug.cgi?id=44660
10487 Chromium canary turned red (Requested by yuzo on #webkit).
10490 * public/WebRuntimeFeatures.h:
10491 * src/WebRuntimeFeatures.cpp:
10493 2010-08-25 Michael Nordman <michaeln@google.com>
10495 Reviewed by David Levin.
10497 https://bugs.webkit.org/show_bug.cgi?id=44133
10498 WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
10500 * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
10501 * public/WebRuntimeFeatures.h:
10502 * src/WebRuntimeFeatures.cpp:
10503 (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
10504 (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
10506 2010-08-24 Victoria Kirst <vrk@google.com>
10508 Reviewed by Darin Fisher.
10510 Adding a way to communicate video frames between Chromium and WebKit.
10511 The WebKit side acts as a middleman between Chromium and WebCore.
10512 The VideoFrameChromiumImpl is not being used by WebCore yet, as there
10513 still needs to be an implementation of WebVideoFrame in Chromium
10514 -- coming soon in a subsequent patch.
10516 API changes for Video Frame sharing between WebKit and Chromium
10517 https://bugs.webkit.org/show_bug.cgi?id=44539
10520 * public/WebMediaPlayer.h:
10521 (WebKit::WebMediaPlayer::getCurrentFrame):
10522 (WebKit::WebMediaPlayer::putCurrentFrame):
10523 * public/WebVideoFrame.h: Added.
10524 * src/VideoFrameChromiumImpl.cpp: Added.
10525 (WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
10526 (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
10527 (WebKit::VideoFrameChromiumImpl::type):
10528 (WebKit::VideoFrameChromiumImpl::format):
10529 (WebKit::VideoFrameChromiumImpl::width):
10530 (WebKit::VideoFrameChromiumImpl::height):
10531 (WebKit::VideoFrameChromiumImpl::planes):
10532 (WebKit::VideoFrameChromiumImpl::stride):
10533 (WebKit::VideoFrameChromiumImpl::data):
10534 * src/VideoFrameChromiumImpl.h: Added.
10535 * src/WebMediaPlayerClientImpl.cpp:
10536 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
10537 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
10538 (WebKit::WebMediaPlayerClientImpl::create):
10539 * src/WebMediaPlayerClientImpl.h:
10541 2010-08-25 Eric Seidel <eric@webkit.org>
10543 Unreviewed. Build fix.
10545 Make Chromiums Broken WebPageSerializerImpl compile again
10546 https://bugs.webkit.org/show_bug.cgi?id=44652
10548 Make it compile again. This code is still horribly wrong.
10550 * src/WebPageSerializerImpl.cpp:
10551 (WebKit::WebPageSerializerImpl::endTagToString):
10553 2010-08-20 Zhenyao Mo <zmo@google.com>
10555 Reviewed by Kenneth Russell.
10557 WebGL must enforce restrictions even if running on OpenGL ES 2.0
10558 https://bugs.webkit.org/show_bug.cgi?id=42908
10560 * public/WebGraphicsContext3D.h: Add two new flags.
10561 * src/GraphicsContext3D.cpp: Ditto.
10562 (WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict):
10563 (WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses):
10564 (WebCore::GraphicsContext3D::isGLES2NPOTStrict):
10565 (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
10566 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
10567 (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict):
10568 (WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses):
10569 * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
10571 2010-08-24 Zhenyao Mo <zmo@google.com>
10573 Reviewed by Kenneth Russell.
10575 Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
10576 https://bugs.webkit.org/show_bug.cgi?id=38282
10578 * src/WebImageDecoder.cpp:
10579 (WebKit::WebImageDecoder::init): Add premultiplyAlpha flag.
10581 2010-08-25 Satish Sampath <satish@chromium.org>
10583 Reviewed by Jeremy Orlow.
10585 Pass the element's bounds to embedder during speech recognition.
10586 https://bugs.webkit.org/show_bug.cgi?id=44427
10588 * public/WebSpeechInputController.h:
10589 (WebKit::WebSpeechInputController::startRecognition):
10590 (WebKit::WebSpeechInputController::cancelRecognition):
10591 (WebKit::WebSpeechInputController::stopRecording):
10592 * src/SpeechInputClientImpl.cpp:
10593 (WebKit::SpeechInputClientImpl::startRecognition):
10594 * src/SpeechInputClientImpl.h:
10595 * src/WebSpeechInputControllerMockImpl.cpp:
10596 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
10597 * src/WebSpeechInputControllerMockImpl.h:
10599 2010-08-25 Pawel Hajdan <phajdan.jr@chromium.org>
10601 Reviewed by Darin Fisher.
10603 Add an assertion to prevent re-initializing WebKit.
10604 https://bugs.webkit.org/show_bug.cgi?id=44545
10606 This will help prevent crashes like:
10607 - http://code.google.com/p/chromium/issues/detail?id=52731
10608 - http://code.google.com/p/chromium/issues/detail?id=52643
10611 (WebKit::initialize):
10613 2010-08-25 Jay Civelli <jcivelli@chromium.org>
10615 Reviewed by Dimitri Glazkov.
10617 Adding missing test files and reenabling the WebFrame unit-test.
10618 https://bugs.webkit.org/show_bug.cgi?id=44492
10620 * tests/WebFrameTest.cpp:
10622 * tests/data/iframes_test.html: Added.
10623 * tests/data/invisible_iframe.html: Added.
10624 * tests/data/visible_iframe.html: Added.
10625 * tests/data/zero_sized_iframe.html: Added.
10627 2010-08-25 Kent Tamura <tkent@chromium.org>
10629 Unreviewed, build fix.
10631 * DEPS: Roll Chromium revision to 57298 to fix upstream build.
10633 2010-08-24 Dumitru Daniliuc <dumi@chromium.org>
10635 Reviewed by Adam Barth.
10637 Build fix: Remove setHTML5ParserEnabled(), it's no longer used.
10639 * public/WebSettings.h:
10640 * src/WebSettingsImpl.cpp:
10641 * src/WebSettingsImpl.h:
10643 2010-08-24 Jian Li <jianli@chromium.org>
10645 Reviewed by Darin Fisher.
10647 [chromium] WebBlobRegistry cleanup.
10648 https://bugs.webkit.org/show_bug.cgi?id=44571
10650 Remove unneeded method from WebBlobRegistry interface.
10651 Also remove unneeded WebBlobRegistryImpl.* files. They're already
10652 excluded from gyp files.
10654 * public/WebBlobRegistry.h:
10655 * src/WebBlobRegistryImpl.cpp: Removed.
10656 * src/WebBlobRegistryImpl.h: Removed.
10658 2010-08-24 Adam Barth <abarth@webkit.org>
10660 Reviewed by Dimitri Glazkov.
10662 [Chromium] Hulu popups are blocked
10663 https://bugs.webkit.org/show_bug.cgi?id=44572
10665 We were blocking popups created by Flash Player because we were never
10666 setting the UserGestureIndicator for events. Most WebKit ports handle
10667 events through EventHandler, but Chromium is special (for some unknown
10668 reason) and dispatches events directly. That means Chromium misses out
10669 on some of the work done by EventHandler, including setting the
10670 UserGestureIndicator.
10672 I suspect this is covered by an existing LayoutTest, but I don't have
10673 the ability to run the Chromium LayoutTests on this machine. :(
10675 * src/WebViewImpl.cpp:
10676 (WebKit::WebViewImpl::handleInputEvent):
10678 2010-08-24 Jian Li <jianli@chromium.org>
10680 Reviewed by Darin Fisher.
10682 [chromium] Update WebBlobData.
10683 https://bugs.webkit.org/show_bug.cgi?id=44481
10685 Some changes to WebBlobData to match with chromium implementation.
10686 1) Change to use WebCString for data, instead of WebData.
10687 2) Separate path from URL.
10689 * public/WebBlobData.h:
10690 * src/WebBlobData.cpp:
10691 (WebKit::WebBlobData::itemAt):
10692 (WebKit::WebBlobData::appendData):
10693 (WebKit::WebBlobData::appendBlob):
10694 * src/WebBlobStorageData.cpp:
10695 (WebKit::WebBlobStorageData::itemAt):
10697 2010-08-24 Marcus Bulach <bulach@chromium.org>
10699 Reviewed by Jeremy Orlow.
10701 Hooks IDBKeyPath with IDBObjectStorage::put.
10702 https://bugs.webkit.org/show_bug.cgi?id=44275
10704 Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath
10705 during IDBObjectStorage::put.
10707 * public/WebIDBKey.h:
10708 (WebKit::WebIDBKey::WebIDBKey):
10709 * public/WebKitClient.h:
10710 (WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath):
10711 * src/ChromiumBridge.cpp:
10712 (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
10714 2010-08-24 Kent Tamura <tkent@chromium.org>
10716 Reviewed by Jeremy Orlow.
10718 [DRT/Chromium] Support for IndexedDB tests
10719 https://bugs.webkit.org/show_bug.cgi?id=44490
10721 * DEPS: Roll Chromium to r57145 to have a webkit_support change.
10723 2010-08-24 Roland Steiner <rolandsteiner@chromium.org>
10725 Unreviewed build fix.
10727 put the "DISABLED_" in front of the right identifier.
10729 * tests/WebFrameTest.cpp:
10732 2010-08-23 Roland Steiner <rolandsteiner@chromium.org>
10734 Reviewed by Tamura Kent.
10736 Disable failing test
10737 https://bugs.webkit.org/show_bug.cgi?id=44492
10739 * tests/WebFrameTest.cpp:
10742 2010-08-23 Jay Civelli <jcivelli@chromium.org>
10744 Reviewed by Darin Fisher.
10746 Made WebFrame not report the text from hidden frames.
10747 (some pages contain hidden frames with garbage text that
10748 should not be indexed or used to detect the page's language).
10749 https://bugs.webkit.org/show_bug.cgi?id=39456
10752 * public/WebCString.h:
10753 (WebKit::operator<):
10755 (WebKit::operator<):
10756 * src/WebCString.cpp:
10757 (WebKit::WebCString::compare):
10758 * src/WebFrameImpl.cpp:
10759 (WebKit::frameContentAsPlainText):
10760 * tests/RunAllTests.cpp:
10762 * tests/WebFrameTest.cpp: Added.
10764 2010-08-23 Kent Tamura <tkent@chromium.org>
10766 Unreviewed, build fix for r65852.
10769 (WebKit::WebNode::parentNode):
10771 2010-08-23 Kenneth Russell <kbr@google.com>
10773 Reviewed by Dimitri Glazkov.
10775 Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
10776 https://bugs.webkit.org/show_bug.cgi?id=44455
10778 Updated Safari, Qt and Chromium WebGL ports to avoid referencing
10779 ArrayBuffer and ArrayBufferView types from GraphicsContext3D.
10781 Ran all WebGL layout tests; no new regressions. Built and tested
10782 WebKit on Mac OS X; built Chromium on Mac OS X and Linux.
10784 * src/GraphicsContext3D.cpp:
10785 (WebCore::GraphicsContext3DInternal::bufferData):
10786 (WebCore::GraphicsContext3DInternal::bufferSubData):
10788 2010-08-23 Jian Li <jianli@chromium.org>
10790 Reviewed by David Levin.
10792 Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from
10793 chromium project files.
10794 https://bugs.webkit.org/show_bug.cgi?id=44442
10798 2010-08-23 Satish Sampath <satish@chromium.org>
10800 Reviewed by Jeremy Orlow.
10802 Remove obsolete public/API methods in chromium port
10803 https://bugs.webkit.org/show_bug.cgi?id=44421
10805 * public/WebSpeechInputController.h:
10806 (WebKit::WebSpeechInputController::startRecognition):
10807 (WebKit::WebSpeechInputController::cancelRecognition):
10808 (WebKit::WebSpeechInputController::stopRecording):
10809 * public/WebSpeechInputListener.h:
10811 2010-08-22 Daniel Bates <dbates@rim.com>
10813 Reviewed by Eric Seidel.
10815 Encapsulate document marker management into DocumentMarkerController
10816 https://bugs.webkit.org/show_bug.cgi?id=44383
10818 Modify call sites in the Chromium port to use DocumentMarkerController.
10820 No functionality was changed, so no new tests.
10822 * src/WebFrameImpl.cpp:
10823 (WebKit::WebFrameImpl::stopFinding):
10824 (WebKit::WebFrameImpl::addMarker):
10825 (WebKit::WebFrameImpl::setMarkerActive):
10827 2010-08-22 Jian Li <jianli@chromium.org>
10829 Reviewed by Darin Fisher.
10831 Add the blob URL member to FormData.
10832 https://bugs.webkit.org/show_bug.cgi?id=44387
10834 As the result of adding the blob URL member to the FormData, we need
10835 to update the corresponding WebKit API for chromium.
10837 * public/WebHTTPBody.h:
10838 (WebKit::WebHTTPBody::Element::):
10839 * src/WebHTTPBody.cpp:
10840 (WebKit::WebHTTPBody::elementAt):
10841 (WebKit::WebHTTPBody::appendBlob):
10843 2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
10845 Unreviewed; build fix for chromium (and remove duplicated ChangeLog entry).
10847 2010-08-20 James Robinson <jamesr@chromium.org>
10849 Synchronize default of use_accelerated_compositing gyp variable with downstream. Unreviewed.
10853 2010-08-20 Kinuko Yasuda <kinuko@chromium.org>
10855 Reviewed by Darin Fisher.
10857 [chromium] Add chromium-side callback implementation for FileSystem API
10858 https://bugs.webkit.org/show_bug.cgi?id=44350
10860 Add WebFileSystemCallbacks that calls back the WebCore's implementation.
10863 * src/WebFileSystemCallbacksImpl.cpp: Added.
10864 * src/WebFileSystemCallbacksImpl.h: Added.
10866 2010-08-20 Tony Chang <tony@chromium.org>
10868 Reviewed by Kent Tamura.
10870 [chromium] fix a null pointer crash when dispatching JS keyboard events
10871 https://bugs.webkit.org/show_bug.cgi?id=44313
10873 * src/WebInputEventConversion.cpp:
10874 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
10876 2010-08-20 Jay Civelli <jcivelli@chromium.org>
10878 Reviewed by Darin Fisher.
10880 Removing the deprecated class WebEvent and friends.
10881 https://bugs.webkit.org/show_bug.cgi?id=44296
10884 * public/WebEvent.h: Removed.
10885 * public/WebEventListener.h: Removed.
10886 * public/WebMutationEvent.h: Removed.
10887 * public/WebNode.h:
10888 * src/EventListenerWrapper.cpp:
10889 (WebKit::EventListenerWrapper::webDOMEventListenerDeleted):
10890 * src/EventListenerWrapper.h:
10891 * src/WebEvent.cpp: Removed.
10892 * src/WebEventListener.cpp: Removed.
10893 * src/WebEventListenerPrivate.cpp: Removed.
10894 * src/WebEventListenerPrivate.h: Removed.
10896 (WebKit::WebNode::removeEventListener):
10898 2010-08-19 Zhenyao Mo <zmo@google.com>
10900 Reviewed by Kenneth Russell.
10902 Fix failing WebGL tests in Chromium in-process-webgl port
10903 https://bugs.webkit.org/show_bug.cgi?id=44305
10905 * src/WebGraphicsContext3DDefaultImpl.cpp:
10906 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): Add implementation.
10908 2010-08-19 Pavel Podivilov <podivilov@chromium.org>
10910 Reviewed by Yury Semikhatsky.
10912 Web Inspector: enable DOM breakpoints for chromium
10913 https://bugs.webkit.org/show_bug.cgi?id=42886
10915 * src/js/DevTools.js:
10916 (WebInspector.loaded):
10918 2010-08-19 Vincent Scheib <scheib@chromium.org>
10920 Reviewed by David Levin.
10922 [chromium] TilingData::tilePositionY has typo of X where Y should be used
10923 https://bugs.webkit.org/show_bug.cgi?id=44195
10925 Unit tests added for tileSize and tilePosition.
10927 * tests/TilingDataTest.cpp:
10930 2010-08-19 Kinuko Yasuda <kinuko@chromium.org>
10932 Reviewed by Darin Fisher.
10934 Add WebKit API for FileSystem API
10935 https://bugs.webkit.org/show_bug.cgi?id=43151
10937 Add asynchronous FileSystem interface to WebKit API for
10939 http://dev.w3.org/2009/dap/file-system/file-dir-sys.html
10942 * public/WebFileError.h: Added.
10943 * public/WebFileSystem.h: Added.
10944 * public/WebFileSystemEntry.h: Added.
10945 * public/WebFileSystemCallbacks.h: Added.
10946 * public/WebKitClient.h:
10947 (WebKit::WebKitClient::fileSystem):
10948 * public/WebFrameClient.h:
10949 (WebKit::WebFrameClient::openFileSystem):
10951 2010-08-19 Kinuko Yasuda <kinuko@chromium.org>
10953 Reviewed by Jian Li.
10955 [Chromium] Rolls Chromium DEPS forward to 56564
10956 https://bugs.webkit.org/show_bug.cgi?id=44281
10958 Roll Chromium DEPS forward to 56564 to include WebFileSystem
10959 implementation changes.
10963 2010-08-19 Vincent Scheib <scheib@chromium.org>
10965 Reviewed by David Levin.
10967 Fixing previous Mac only build breakage with TilingDataTest.cpp
10968 https://bugs.webkit.org/show_bug.cgi?id=44223
10970 TilingDataTest.cpp included the wrong header, which had a compile
10971 option around the definition of the WebCore namespace. Without the
10972 namespace defined, error. Fixed by correctly including TilingData.h,
10973 which has no conditional compilation.
10976 * tests/TilingDataTest.cpp:
10978 2010-08-19 Jochen Eisinger <jochen@chromium.org>
10980 Reviewed by Pavel Feldman.
10982 concatenated_devtools_js should depend on inspector_protocol_sources
10983 https://bugs.webkit.org/show_bug.cgi?id=44255
10987 2010-08-19 Pavel Podivilov <podivilov@chromium.org>
10989 Reviewed by Yury Semikhatsky.
10991 Web Inspector: activate/deactivate breakpoints using v8 debugger flag.
10992 https://bugs.webkit.org/show_bug.cgi?id=44112
10994 * src/js/DebuggerScript.js:
10997 2010-08-19 Andrei Popescu <andreip@google.com>
10999 Reviewed by Jeremy Orlow.
11001 [IndexedDB] Abort idle IDBTransactions when the JS context they were created in finishes execution.
11002 https://bugs.webkit.org/show_bug.cgi?id=44101
11005 * public/WebIDBDatabase.h:
11006 (WebKit::WebIDBDatabase::transaction):
11007 * public/WebIDBFactory.h:
11008 (WebKit::WebIDBFactory::abortPendingTransactions):
11009 * public/WebIDBTransaction.h: Added.
11010 (WebKit::WebIDBTransaction::~WebIDBTransaction):
11011 (WebKit::WebIDBTransaction::mode):
11012 (WebKit::WebIDBTransaction::objectStore):
11013 (WebKit::WebIDBTransaction::abort):
11014 (WebKit::WebIDBTransaction::id):
11015 (WebKit::WebIDBTransaction::setCallbacks):
11016 * public/WebIDBTransactionCallbacks.h: Added.
11017 (WebKit::WebIDBTransactionCallbacks::~WebIDBTransactionCallbacks):
11018 (WebKit::WebIDBTransactionCallbacks::onAbort):
11019 (WebKit::WebIDBTransactionCallbacks::id):
11020 * src/IDBDatabaseProxy.cpp:
11021 (WebCore::IDBDatabaseProxy::transaction):
11022 * src/IDBFactoryBackendProxy.cpp:
11023 (WebCore::IDBFactoryBackendProxy::abortPendingTransactions):
11024 * src/IDBFactoryBackendProxy.h:
11025 * src/IDBTransactionBackendProxy.cpp: Added.
11026 (WebCore::IDBTransactionBackendProxy::create):
11027 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
11028 (WebCore::IDBTransactionBackendProxy::~IDBTransactionBackendProxy):
11029 (WebCore::IDBTransactionBackendProxy::objectStore):
11030 (WebCore::IDBTransactionBackendProxy::mode):
11031 (WebCore::IDBTransactionBackendProxy::abort):
11032 (WebCore::IDBTransactionBackendProxy::scheduleTask):
11033 (WebCore::IDBTransactionBackendProxy::sqliteDatabase):
11034 (WebCore::IDBTransactionBackendProxy::id):
11035 (WebCore::IDBTransactionBackendProxy::setCallbacks):
11036 * src/IDBTransactionBackendProxy.h: Added.
11037 * src/IDBTransactionCallbacksProxy.cpp: Added.
11038 (WebCore::IDBTransactionCallbacksProxy::create):
11039 (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
11040 (WebCore::IDBTransactionCallbacksProxy::~IDBTransactionCallbacksProxy):
11041 (WebCore::IDBTransactionCallbacksProxy::onAbort):
11042 (WebCore::IDBTransactionCallbacksProxy::id):
11043 * src/IDBTransactionCallbacksProxy.h: Added.
11044 * src/WebDOMStringList.cpp:
11045 (WebKit::WebDOMStringList::length):
11046 * src/WebIDBDatabaseImpl.cpp:
11047 (WebKit::WebIDBDatabaseImpl::transaction):
11048 * src/WebIDBDatabaseImpl.h:
11049 * src/WebIDBFactoryImpl.cpp:
11050 (WebKit::WebIDBFactoryImpl::abortPendingTransactions):
11051 * src/WebIDBFactoryImpl.h:
11052 * src/WebIDBTransactionCallbacksImpl.cpp: Added.
11053 (WebCore::WebIDBTransactionCallbacksImpl::WebIDBTransactionCallbacksImpl):
11054 (WebCore::WebIDBTransactionCallbacksImpl::~WebIDBTransactionCallbacksImpl):
11055 (WebCore::WebIDBTransactionCallbacksImpl::onAbort):
11056 (WebCore::WebIDBTransactionCallbacksImpl::id):
11057 * src/WebIDBTransactionCallbacksImpl.h: Added.
11058 * src/WebIDBTransactionImpl.cpp: Added.
11059 (WebKit::WebIDBTransactionImpl::WebIDBTransactionImpl):
11060 (WebKit::WebIDBTransactionImpl::~WebIDBTransactionImpl):
11061 (WebKit::WebIDBTransactionImpl::mode):
11062 (WebKit::WebIDBTransactionImpl::objectStore):
11063 (WebKit::WebIDBTransactionImpl::abort):
11064 (WebKit::WebIDBTransactionImpl::id):
11065 (WebKit::WebIDBTransactionImpl::setCallbacks):
11066 * src/WebIDBTransactionImpl.h: Added.
11069 2010-08-19 Pavel Feldman <pfeldman@chromium.org>
11071 Reviewed by Yury Semikhatsky.
11073 Chromium DevTools: There is no need in resource-based InjectedScript.js source.
11074 Now that we populate front-end after its onload handler, I don't think we need
11075 to install injected script early.
11076 https://bugs.webkit.org/show_bug.cgi?id=44029
11078 * public/WebDevToolsAgentClient.h:
11079 * src/WebDevToolsAgentImpl.cpp:
11081 (WebKit::WebDevToolsAgentImpl::attach):
11082 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
11084 2010-08-19 Pavel Feldman <pfeldman@chromium.org>
11086 Reviewed by Yury Semikhatsky.
11088 Chromium DevTools: remove setRuntimeFeatureEnabled API method that
11090 https://bugs.webkit.org/show_bug.cgi?id=44237
11092 * public/WebDevToolsAgent.h:
11093 * src/WebDevToolsAgentImpl.cpp:
11094 * src/WebDevToolsAgentImpl.h:
11096 2010-08-18 Jian Li <jianli@chromium.org>
11098 Fix layout test crashes in chromium.
11100 * src/BlobRegistryProxy.cpp:
11101 (WebCore::BlobRegistryProxy::registerBlobURL):
11102 (WebCore::BlobRegistryProxy::unregisterBlobURL):
11104 2010-08-18 Jian Li <jianli@chromium.org>
11106 Fix chromium build break.
11108 * src/WebBlobStorageData.cpp:
11109 (WebKit::WebBlobStorageData::itemAt):
11111 2010-08-18 Jian Li <jianli@chromium.org>
11113 Reviewed by Darin Fisher.
11115 [chromium] Chromium side implementation of blob data and blob registry.
11116 https://bugs.webkit.org/show_bug.cgi?id=43871
11119 * public/WebBlobData.h: Added.
11120 * public/WebBlobRegistry.h: Added.
11121 * public/WebBlobStorageData.h: Added.
11122 * public/WebKitClient.h:
11123 (WebKit::WebKitClient::blobRegistry):
11124 * src/BlobRegistryProxy.cpp: Added.
11125 * src/BlobRegistryProxy.h: Added.
11126 * src/WebBlobData.cpp: Added.
11127 * src/WebBlobRegistryImpl.cpp: Added.
11128 * src/WebBlobRegistryImpl.h: Added.
11129 * src/WebBlobStorageData.cpp: Added.
11131 2010-08-18 Dumitru Daniliuc <dumi@chromium.org>
11133 Reviewed by Darin Fisher.
11135 Propagate the m_downloadFilePath correctly.
11136 https://bugs.webkit.org/show_bug.cgi?id=44198
11138 * src/WebURLRequest.cpp:
11139 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
11140 * src/WebURLResponse.cpp:
11141 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
11143 2010-08-18 Victor Wang <victorw@chromium.org>
11145 Unreviewed. Fix chromium multi dll build.
11147 * public/WebIDBKeyPath.h:
11149 2010-08-18 Jay Civelli <jcivelli@chromium.org>
11151 Reviewed by Darin Fisher.
11153 Renaming the WebEvent to WebDOMEvent and adding a new event class
11154 for mouse events so that the event listener API can be used to listen
11155 to them. The renaming is needed as there already is a WebMouseEvent class.
11156 https://bugs.webkit.org/show_bug.cgi?id=43453
11159 * public/WebDOMEvent.h: Added.
11160 * public/WebDOMEventListener.h: Added.
11161 * public/WebDOMMouseEvent.h: Added.
11162 * public/WebDOMMutationEvent.h: Added.
11163 * public/WebNode.h:
11164 * src/EventListenerWrapper.cpp:
11165 * src/EventListenerWrapper.h:
11166 * src/WebDOMEvent.cpp: Added.
11167 * src/WebDOMEventListener.cpp: Added.
11168 * src/WebDOMEventListenerPrivate.cpp: Added.
11169 * src/WebDOMEventListenerPrivate.h: Added.
11170 * src/WebDOMMouseEvent.cpp: Added.
11171 * src/WebDOMMutationEvent.cpp: Added.
11173 (WebKit::WebNode::isElementNode):
11174 (WebKit::WebNode::addDOMEventListener):
11175 (WebKit::WebNode::removeDOMEventListener):
11177 2010-08-17 Ilya Tikhonovsky <loislo@chromium.org>
11179 Reviewed by Yury Semikhatsky.
11181 Web Inspector: replace hand written InspectorBackendStub.js with generated one.
11182 https://bugs.webkit.org/show_bug.cgi?id=43791
11186 2010-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
11188 Unreviewed, rolling out r65238.
11189 http://trac.webkit.org/changeset/65238
11190 https://bugs.webkit.org/show_bug.cgi?id=44168
11192 Check if clobbering chromium bot fixes the layout test
11193 failures (Requested by hamaji on #webkit).
11195 * public/WebFrameClient.h:
11196 (WebKit::WebFrameClient::frameDetached):
11197 * src/FrameLoaderClientImpl.cpp:
11198 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
11200 2010-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
11202 Unreviewed, rolling out r65595.
11203 http://trac.webkit.org/changeset/65595
11204 https://bugs.webkit.org/show_bug.cgi?id=44161
11206 qt build failed (Requested by loislo on #webkit).
11210 2010-08-17 Ilya Tikhonovsky <loislo@chromium.org>
11212 Reviewed by Yury Semikhatsky.
11214 Web Inspector: replace hand written InspectorBackendStub.js by generated one.
11215 https://bugs.webkit.org/show_bug.cgi?id=43791
11219 2010-08-17 Pavel Feldman <pfeldman@chromium.org>
11221 Reviewed by Yury Semikhatsky.
11223 Chromium DevTools: Support runtime property name/value pairs
11224 instead of feature names as navigation state.
11225 https://bugs.webkit.org/show_bug.cgi?id=44054
11227 * public/WebDevToolsAgent.h:
11228 * public/WebDevToolsAgentClient.h:
11229 (WebKit::WebDevToolsAgentClient::runtimePropertyChanged):
11230 * src/WebDevToolsAgentImpl.cpp:
11231 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
11232 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
11233 * src/WebDevToolsAgentImpl.h:
11235 2010-08-17 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
11237 Reviewed by Darin Adler.
11239 Add NetworkingContext to avoid layer violations
11240 https://bugs.webkit.org/show_bug.cgi?id=42292
11242 Preparation: Just add the files to the build system.
11244 * WebKit.gyp: Added new files.
11245 * src/FrameNetworkingContextImpl.h: Added.
11246 Placeholder with tentative code that might be changed when landing
11249 2010-08-17 Sheriff Bot <webkit.review.bot@gmail.com>
11251 Unreviewed, rolling out r65516.
11252 http://trac.webkit.org/changeset/65516
11253 https://bugs.webkit.org/show_bug.cgi?id=44126
11255 broke chromium unit tests on mac and linux (Requested by
11256 johnny_g on #webkit).
11259 * src/WebFrameImpl.cpp:
11260 (WebKit::frameContentAsPlainText):
11261 * tests/RunAllTests.cpp:
11263 * tests/WebFrameTest.cpp: Removed.
11265 2010-08-17 Jay Civelli <jcivelli@chromium.org>
11267 Reviewed by Darin Fisher.
11269 Made WebFrame not report the text from hidden frames.
11270 (some pages contain hidden frames with garbage text that
11271 should not be indexed or used to detect the page's language).
11272 https://bugs.webkit.org/show_bug.cgi?id=39456
11275 * public/WebCString.h:
11276 (WebKit::operator<):
11278 (WebKit::operator<):
11279 * src/WebCString.cpp:
11280 (WebKit::WebCString::compare):
11281 * src/WebFrameImpl.cpp:
11282 (WebKit::frameContentAsPlainText):
11283 * tests/RunAllTests.cpp:
11285 * tests/WebFrameTest.cpp: Added.
11287 2010-08-17 Kelly Norton <knorton@google.com>
11289 Reviewed by Pavel Feldman.
11291 Web Inspector: Fixes a crash in addTimelineRecord when InspectorTimelineAgent
11292 is enabled through WebDevToolsAgentImpl::setApuEnabled.
11293 https://bugs.webkit.org/show_bug.cgi?id=44105
11295 * src/WebDevToolsAgentImpl.cpp:
11296 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
11298 2010-08-17 Yury Semikhatsky <yurys@chromium.org>
11300 Reviewed by Pavel Feldman.
11302 Web Inspector: upstream Chromium debugger step tests
11303 https://bugs.webkit.org/show_bug.cgi?id=44106
11307 2010-08-17 Sheriff Bot <webkit.review.bot@gmail.com>
11309 Unreviewed, rolling out r65500.
11310 http://trac.webkit.org/changeset/65500
11311 https://bugs.webkit.org/show_bug.cgi?id=44108
11313 Qt bots failed to compile. (Requested by loislo on #webkit).
11317 2010-08-17 Ilya Tikhonovsky <loislo@chromium.org>
11319 Reviewed by Yury Semikhatsky.
11321 Web Inspector: replace hand written InspectorBackendStub.js by generated one.
11322 https://bugs.webkit.org/show_bug.cgi?id=43791
11326 2010-08-17 Yury Semikhatsky <yurys@chromium.org>
11328 Reviewed by Pavel Feldman.
11330 Web Inspector: upstream Chromium console tests and remove a couple
11331 of tests that have already been covered with layout tests.
11332 https://bugs.webkit.org/show_bug.cgi?id=44057
11335 (.TestSuite.prototype.testConsoleEval):
11336 (.TestSuite.prototype.testConsoleLog):
11337 (.TestSuite.prototype.testEvalGlobal):
11339 2010-08-16 Kinuko Yasuda <kinuko@chromium.org>
11341 Unreviewed; attempt to fix Chromium Windows build.
11343 * public/WebFileUtilities.h:
11345 2010-08-16 Kinuko Yasuda <kinuko@chromium.org>
11347 Reviewed by Jian Li.
11349 [chromium] Prepare to rename WebFileSystem interface to WebFileUtilities
11350 https://bugs.webkit.org/show_bug.cgi?id=44077
11352 We are going to have an implementation for HTML5 FileSystem API and
11353 it would probably be less confusing to use the name "WebFileSystem"
11354 for an WebKit API for the HTML5 API.
11356 This patch adds WebFileUtilities interface that is meant to replace
11357 the existing WebFileSystem.
11360 * public/WebFileSystem.h:
11361 * public/WebFileUtilities.h: Added.
11362 * public/WebKitClient.h:
11363 (WebKit::WebKitClient::fileUtilities): Added.
11364 * src/ChromiumBridge.cpp:
11365 (WebCore::ChromiumBridge::fileExists):
11366 (WebCore::ChromiumBridge::deleteFile):
11367 (WebCore::ChromiumBridge::deleteEmptyDirectory):
11368 (WebCore::ChromiumBridge::getFileSize):
11369 (WebCore::ChromiumBridge::getFileModificationTime):
11370 (WebCore::ChromiumBridge::directoryName):
11371 (WebCore::ChromiumBridge::pathByAppendingComponent):
11372 (WebCore::ChromiumBridge::makeAllDirectories):
11373 (WebCore::ChromiumBridge::getAbsolutePath):
11374 (WebCore::ChromiumBridge::isDirectory):
11375 (WebCore::ChromiumBridge::filePathToURL):
11376 (WebCore::ChromiumBridge::openFile):
11377 (WebCore::ChromiumBridge::closeFile):
11378 (WebCore::ChromiumBridge::seekFile):
11379 (WebCore::ChromiumBridge::truncateFile):
11380 (WebCore::ChromiumBridge::readFromFile):
11381 (WebCore::ChromiumBridge::writeToFile):
11383 2010-08-16 Nate Chapin <japhet@chromium.org>
11385 Unreviewed, build fix.
11387 Don't include TilingDataTest.cpp, since it doesn't
11392 2010-08-16 James Robinson <jamesr@chromium.org>
11394 Compile fix. Fix up paintsIntoCanvasBuffer impl.
11396 * src/GraphicsContext3D.cpp:
11397 (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
11399 2010-08-16 Vincent Scheib <scheib@chromium.org>
11401 Reviewed by Dimitri Glazkov.
11403 Canvas2D does not support images larger than system's GPU max texture size
11404 https://bugs.webkit.org/show_bug.cgi?id=43864
11406 Unit tests for TilingData class.
11409 * tests/TilingDataTest.cpp: Added.
11412 2010-08-16 Alex Milowski <alex@milowski.com>
11414 Reviewed by David Levin.
11416 Added the ENABLE_MATHML=1 to the feature_defines.
11420 2010-08-16 Marcus Bulach <bulach@chromium.org>
11422 Reviewed by Jeremy Orlow.
11424 Implements IDBKeyPath extractor.
11425 https://bugs.webkit.org/show_bug.cgi?id=43276
11427 Unit-test IDBKeyPathExtractorTest.cpp.
11428 LayoutTests will arrive as IndexedDB infrastructure is fleshed out.
11432 * public/WebIDBKey.h:
11433 * public/WebIDBKeyPath.h: Added.
11434 (WebKit::WebIDBKeyPath::WebIDBKeyPath):
11435 (WebKit::WebIDBKeyPath::~WebIDBKeyPath):
11436 * public/WebPrivateOwnPtr.h: Added.
11437 (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
11438 (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
11439 (WebKit::WebPrivateOwnPtr::reset):
11440 (WebKit::WebPrivateOwnPtr::get):
11441 (WebKit::WebPrivateOwnPtr::operator->):
11442 * src/WebIDBKey.cpp:
11443 (WebKit::WebIDBKey::createFromValueAndKeyPath):
11444 * src/WebIDBKeyPath.cpp: Added.
11445 (WebKit::WebIDBKeyPath::create):
11446 (WebKit::WebIDBKeyPath::WebIDBKeyPath):
11447 (WebKit::WebIDBKeyPath::parseError):
11448 (WebKit::WebIDBKeyPath::assign):
11449 (WebKit::WebIDBKeyPath::reset):
11450 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
11451 * tests/IDBBindingUtilitiesTest.cpp: Added.
11452 (WebCore::LocalContext::LocalContext):
11453 (WebCore::LocalContext::~LocalContext):
11454 (WebCore::checkKeyFromValueAndKeyPathInternal):
11455 (WebCore::checkKeyPathNullValue):
11456 (WebCore::checkKeyPathStringValue):
11457 (WebCore::checkKeyPathNumberValue):
11460 2010-07-28 Marcus Bulach <bulach@chromium.org>
11462 Reviewed by Adam Barth.
11464 Implement IDBKeyPath parser.
11465 https://bugs.webkit.org/show_bug.cgi?id=42976
11467 IDBKeyPath is an internal class, exposed only for unit tests for now.
11468 It'll allow indexed database implementation to traverse a given key path and obtain the corresponding properties
11469 from a SerializedScriptValue.
11472 * tests/IDBKeyPathTest.cpp: Added.
11473 (WebCore::ExpectedToken::ExpectedToken):
11474 (WebCore::checkKeyPath):
11477 2010-08-16 Pavel Feldman <pfeldman@chromium.org>
11479 Reviewed by Joseph Pecoraro.
11481 Web Inspector: upstream frontend-side WebSocket transport.
11482 https://bugs.webkit.org/show_bug.cgi?id=43970
11484 Chromium already has an alternate WebSocket-based communication channel with
11485 the backend. Upstreaming it in this change. We will agree on the URI
11486 of the remote service as the protocol matures.
11488 * src/WebDevToolsFrontendImpl.cpp:
11489 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
11490 * src/js/DevTools.js:
11491 (WebInspector.loaded):
11492 (devtools.domContentLoaded):
11494 2010-08-16 Yury Semikhatsky <yurys@chromium.org>
11496 Reviewed by Pavel Feldman.
11498 Web Inspector: remove utility context related code from debugger agent
11499 https://bugs.webkit.org/show_bug.cgi?id=44049
11501 * src/DebuggerAgentManager.cpp:
11502 (WebKit::DebuggerAgentManager::onV8DebugMessage):
11503 (WebKit::DebuggerAgentManager::pauseScript):
11504 * src/DebuggerAgentManager.h:
11506 2010-08-16 Yuta Kitamura <yutak@chromium.org>
11508 Reviewed by Shinichiro Hamaji.
11510 Attempt to fix Chromium's test_shell_tests.
11512 Port Chromium's WebEntities to HTMLEntityTable
11513 https://bugs.webkit.org/show_bug.cgi?id=44036
11515 * src/WebEntities.cpp:
11518 2010-08-15 Adam Barth <abarth@webkit.org>
11520 Reviewed by Eric Seidel.
11522 Port Chromium's WebEntities to HTMLEntityTable
11523 https://bugs.webkit.org/show_bug.cgi?id=44036
11525 This code is wrong and needs to be removed. However, at least after
11526 this patch, it will compile.
11528 * src/WebEntities.cpp:
11530 (WebKit::WebEntities::WebEntities):
11531 * src/WebEntities.h:
11533 2010-08-13 Satish Sampath <satish@chromium.org>
11535 Reviewed by Jeremy Orlow.
11537 Support for multiple speech enabled elements in same page.
11538 https://bugs.webkit.org/show_bug.cgi?id=43922
11540 * public/WebSpeechInputController.h: Bubbles up the requestId given by webcore to the embedder.
11541 (WebKit::WebSpeechInputController::startRecognition):
11542 (WebKit::WebSpeechInputController::cancelRecognition):
11543 (WebKit::WebSpeechInputController::stopRecording):
11544 * public/WebSpeechInputListener.h: Passes down the requestId given by embedder to webcore.
11545 (WebKit::WebSpeechInputListener::didCompleteRecording):
11546 (WebKit::WebSpeechInputListener::setRecognitionResult):
11547 (WebKit::WebSpeechInputListener::didCompleteRecognition):
11548 * src/SpeechInputClientImpl.cpp:
11549 (WebKit::SpeechInputClientImpl::setListener):
11550 (WebKit::SpeechInputClientImpl::startRecognition):
11551 (WebKit::SpeechInputClientImpl::stopRecording):
11552 (WebKit::SpeechInputClientImpl::cancelRecognition):
11553 (WebKit::SpeechInputClientImpl::didCompleteRecording):
11554 (WebKit::SpeechInputClientImpl::didCompleteRecognition):
11555 (WebKit::SpeechInputClientImpl::setRecognitionResult):
11556 * src/SpeechInputClientImpl.h:
11557 * src/WebSpeechInputControllerMockImpl.cpp:
11558 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
11559 (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
11560 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
11561 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
11562 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
11563 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
11564 (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
11565 (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
11566 * src/WebSpeechInputControllerMockImpl.h:
11568 2010-08-12 Yury Semikhatsky <yurys@chromium.org>
11570 Reviewed by Pavel Feldman.
11572 Web Inspector: allow interrupting long running JS to execute inspector command
11573 https://bugs.webkit.org/show_bug.cgi?id=43900
11575 * public/WebDevToolsAgent.h:
11576 (WebKit::WebDevToolsAgent::MessageDescriptor::~MessageDescriptor):
11577 * src/WebDevToolsAgentImpl.cpp:
11578 (WebKit::WebDevToolsAgent::interruptAndDispatch):
11579 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
11580 (WebKit::WebDevToolsAgent::processPendingMessages):
11581 * src/WebDevToolsFrontendImpl.cpp:
11582 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
11583 * src/WebDevToolsFrontendImpl.h:
11584 * src/js/DevTools.js:
11586 2010-08-12 Aaron Boodman <aa@chromium.org>
11588 Reviewed by David Hyatt.
11590 Make the cascade level of "user" styles configurable
11591 https://bugs.webkit.org/show_bug.cgi?id=43457
11593 * src/WebViewImpl.cpp:
11594 (WebKit::WebView::addUserStyleSheet):
11596 2010-08-12 John Gregg <johnnyg@google.com>
11598 Reviewed by Kent Tamura.
11600 [chromium] Add Notification::detachPresenter to the WebKit API.
11601 https://bugs.webkit.org/show_bug.cgi?id=43659
11603 * public/WebNotification.h:
11604 * src/WebNotification.cpp:
11605 (WebKit::WebNotification::detachPresenter):
11607 2010-08-11 Stephen White <senorblanco@chromium.org>
11609 Reviewed by David Levin.
11611 Add support for BGRA pixel format to GraphicsContext3D.
11612 https://bugs.webkit.org/show_bug.cgi?id=43858
11614 Although this has been standard in desktop GL since 1.2, it's an
11615 extension in GL ES 2.0, so a query function is provided to check
11616 for support. The DefaultImpl returns false, since it does not yet
11617 implement the TexImage2D internalFormat quirks.
11619 * public/WebGraphicsContext3D.h:
11620 (WebKit::WebGraphicsContext3D::supportsBGRA):
11621 * src/GraphicsContext3D.cpp:
11622 * src/WebGraphicsContext3DDefaultImpl.cpp:
11623 (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
11624 * src/WebGraphicsContext3DDefaultImpl.h:
11626 2010-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
11628 Unreviewed, rolling out r65181.
11629 http://trac.webkit.org/changeset/65181
11630 https://bugs.webkit.org/show_bug.cgi?id=43909
11632 It broke 35 layout tests fail on chromium-win (Requested by
11633 hamaji on #webkit).
11635 * public/WebFrameClient.h:
11636 * src/FrameLoaderClientImpl.cpp:
11637 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
11639 2010-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
11641 Unreviewed, rolling out r65221.
11642 http://trac.webkit.org/changeset/65221
11643 https://bugs.webkit.org/show_bug.cgi?id=43896
11645 Broke snow leopard build. (Requested by dave_levin on
11648 * public/WebGraphicsContext3D.h:
11649 * src/GraphicsContext3D.cpp:
11650 * src/WebGraphicsContext3DDefaultImpl.cpp:
11651 * src/WebGraphicsContext3DDefaultImpl.h:
11653 2010-08-11 Stephen White <senorblanco@chromium.org>
11655 Reviewed by David Levin.
11657 Add support for BGRA pixel format to GraphicsContext3D.
11658 https://bugs.webkit.org/show_bug.cgi?id=43858
11660 Although this has been standard in desktop GL since 1.2, it's an
11661 extension in GL ES 2.0, so a query function is provided to check
11662 for support. The DefaultImpl returns false, since it does not yet
11663 implement the TexImage2D internalFormat quirks.
11665 * public/WebGraphicsContext3D.h:
11666 (WebKit::WebGraphicsContext3D::supportsBGRA):
11667 * src/GraphicsContext3D.cpp:
11668 * src/WebGraphicsContext3DDefaultImpl.cpp:
11669 (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA):
11670 * src/WebGraphicsContext3DDefaultImpl.h:
11672 2010-08-11 James Hawkins <jhawkins@chromium.org>
11674 Reviewed by Dmitry Titov.
11676 [Chromium] Notify the WebFrameClient when the frame is detached from
11677 the view. This is used to clear the cached frame in the FormManager.
11678 Eventually this will be removed once handling forms is moved into
11680 https://bugs.webkit.org/show_bug.cgi?id=43648
11682 * public/WebFrameClient.h:
11683 (WebKit::WebFrameClient::frameDetached):
11684 * src/FrameLoaderClientImpl.cpp:
11685 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
11687 2010-08-11 Dimitri Glazkov <dglazkov@chromium.org>
11689 Build fix, turn off yet-unbaked DEVICE_ORIENTATION stuff.
11691 * features.gypi: Turned it off.
11693 2010-08-11 Evan Stade <estade@chromium.org>
11695 Reviewed by David Levin.
11697 [chromium] linux chromium sends double clicks too often
11698 https://bugs.webkit.org/show_bug.cgi?id=43096
11700 * WebKit.gyp: add the test
11701 * src/gtk/WebInputEventFactory.cpp:
11702 (WebKit::WebInputEventFactory::mouseEvent): check the x/y coordinates of the
11703 potential double click event
11704 * tests/WebInputEventFactoryTestGtk.cpp: Added.
11706 2010-08-11 John Abd-El-Malek <jam@chromium.org>
11708 Reviewed by Darin Fisher.
11710 [chromium] Inform a plugin about the zoom level when it's created
11711 https://bugs.webkit.org/show_bug.cgi?id=42268
11713 * src/FrameLoaderClientImpl.cpp:
11714 (WebKit::FrameLoaderClientImpl::createPlugin):
11716 2010-08-11 Yury Semikhatsky <yurys@chromium.org>
11718 Unreviewed. Fix Chromium compilation.
11722 2010-08-11 Yury Semikhatsky <yurys@chromium.org>
11724 Unreviewed. Chromium build fix.
11726 * DEPS: bump up Chromium revision.
11728 2010-08-11 Yury Semikhatsky <yurys@chromium.org>
11730 Reviewed by Pavel Feldman.
11732 Web Inspector: remove InjectDispatch.js
11733 https://bugs.webkit.org/show_bug.cgi?id=43835
11736 * src/js/InjectDispatch.js: Removed.
11738 2010-08-10 Kent Tamura <tkent@chromium.org>
11740 Unreviewed, build fix.
11742 Chromium build fix for r65107.
11744 * src/WebAnimationControllerImpl.cpp:
11745 (WebKit::WebAnimationControllerImpl::suspendAnimations):
11746 (WebKit::WebAnimationControllerImpl::resumeAnimations):
11748 2010-08-10 Kenneth Russell <kbr@google.com>
11750 Reviewed by Dimitri Glazkov.
11752 Roll forward Chromium DEPS to r55584
11753 https://bugs.webkit.org/show_bug.cgi?id=43811
11757 2010-08-10 Kavita Kanetkar <kkanetkar@chromium.org>
11759 Reviewed by Joseph Pecoraro.
11761 Web Inspector: Support appcache status change for Chrome
11762 https://bugs.webkit.org/show_bug.cgi?id=43531
11764 * src/ApplicationCacheHost.cpp:
11765 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
11767 2010-08-10 Kenneth Russell <kbr@google.com>
11769 Reviewed by Dimitri Glazkov.
11771 Use Chromium OpenGL bindings rather than GLEW in WebGraphicsContextDefaultImpl
11772 https://bugs.webkit.org/show_bug.cgi?id=43754
11774 Deleted per-platform OpenGL context management code, now
11775 abstracted via GLContext. Built and tested in Chromium with
11776 --in-process-webgl flag.
11779 * src/GraphicsContext3D.cpp:
11780 * src/WebGraphicsContext3DDefaultImpl.cpp:
11781 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
11782 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
11783 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
11784 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
11785 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
11786 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
11787 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
11788 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
11789 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
11790 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
11791 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
11792 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
11793 * src/WebGraphicsContext3DDefaultImpl.h:
11795 2010-08-10 Jian Li <jianli@chromium.org>
11797 Another chromium build fix.
11799 * src/AssertMatchingEnums.cpp:
11801 2010-08-10 Gavin Barraclough <barraclough@apple.com>
11803 Rubber stamped by Sam Weinig.
11805 Bug 43786 - Move AtomicStringHash from WebCore to WTF
11806 Also remove deprecated string headers from WebCore/platform/text.
11809 * src/WebPageSerializerImpl.h:
11810 * src/WebString.cpp:
11812 2010-08-10 James Robinson <jamesr@chromium.org>
11814 Reviewed by Dimitri Glazkov.
11816 [chromium] Feature defines are out of sync between features.gypi and downstream feature_overrides.gypi
11817 https://bugs.webkit.org/show_bug.cgi?id=43756
11819 This synchronizes the feature defines to what's currently downstream (at r55468).
11820 The difference between the build.webkit.org bots and the chromium bots has
11821 caused strange compilation failures lately.
11825 2010-08-10 Yury Semikhatsky <yurys@chromium.org>
11827 Reviewed by Pavel Feldman.
11829 Web Inspector: get rid of utility context
11830 https://bugs.webkit.org/show_bug.cgi?id=43787
11832 * public/WebDevToolsAgentClient.h:
11833 * src/DebuggerAgentImpl.cpp:
11834 * src/DebuggerAgentImpl.h:
11835 * src/WebDevToolsAgentImpl.cpp:
11837 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
11838 (WebKit::WebDevToolsAgentImpl::attach):
11839 (WebKit::WebDevToolsAgentImpl::detach):
11840 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
11841 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
11842 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
11843 * src/WebDevToolsAgentImpl.h:
11845 2010-08-10 Yury Semikhatsky <yurys@chromium.org>
11847 Reviewed by Pavel Feldman.
11849 Web Inspector, Chromium: reloading of inspected page hits assert in InspectorController::enableDebuggerFromFrontend()
11850 https://bugs.webkit.org/show_bug.cgi?id=43780
11852 * src/WebDevToolsAgentImpl.cpp:
11853 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
11855 2010-08-10 Hans Wennborg <hans@chromium.org>
11857 Reviewed by Jeremy Orlow.
11859 Implement chromium WebDeviceOrientationClient wrapper and have WebViewImpl get it from WebViewClient.
11860 https://bugs.webkit.org/show_bug.cgi?id=43258
11862 Provide a DeviceOrientationClient to Page by means of a
11863 DeviceOrientationClientProxy that proxies calls to
11864 a WebDeviceOrientationClient, an interface that can be implemented
11865 in the WebKit or Chromium layer. An implementation to be used for
11866 layout tests, wrapping DeviceOrientationClientMock, is provided.
11870 * public/WebDeviceOrientation.h: Added.
11871 (WebKit::WebDeviceOrientation::WebDeviceOrientation):
11872 * public/WebDeviceOrientationClient.h: Added.
11873 (WebKit::WebDeviceOrientationClient::~WebDeviceOrientationClient):
11874 * public/WebDeviceOrientationClientMock.h: Added.
11875 (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
11876 (WebKit::WebDeviceOrientationClientMock::~WebDeviceOrientationClientMock):
11877 * public/WebDeviceOrientationController.h: Added.
11878 (WebKit::WebDeviceOrientationController::WebDeviceOrientationController):
11879 * public/WebViewClient.h:
11880 (WebKit::WebViewClient::deviceOrientationClient):
11881 * src/DeviceOrientationClientProxy.cpp: Added.
11882 (WebKit::DeviceOrientationClientProxy::setController):
11883 (WebKit::DeviceOrientationClientProxy::startUpdating):
11884 (WebKit::DeviceOrientationClientProxy::stopUpdating):
11885 (WebKit::DeviceOrientationClientProxy::lastOrientation):
11886 * src/DeviceOrientationClientProxy.h: Added.
11887 (WebKit::DeviceOrientationClientProxy::DeviceOrientationClientProxy):
11888 * src/WebDeviceOrientation.cpp: Added.
11889 (WebKit::WebDeviceOrientation::WebDeviceOrientation):
11890 (WebKit::WebDeviceOrientation::operator=):
11891 (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>):
11892 * src/WebDeviceOrientationClientMock.cpp: Added.
11893 (WebKit::WebDeviceOrientationClientMock::setController):
11894 (WebKit::WebDeviceOrientationClientMock::startUpdating):
11895 (WebKit::WebDeviceOrientationClientMock::stopUpdating):
11896 (WebKit::WebDeviceOrientationClientMock::lastOrientation):
11897 (WebKit::WebDeviceOrientationClientMock::setOrientation):
11898 (WebKit::WebDeviceOrientationClientMock::initialize):
11899 (WebKit::WebDeviceOrientationClientMock::reset):
11900 * src/WebDeviceOrientationController.cpp: Added.
11901 (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
11902 (WebKit::WebDeviceOrientationController::controller):
11903 * src/WebViewImpl.cpp:
11904 (WebKit::WebView::create):
11905 (WebKit::WebViewImpl::WebViewImpl):
11906 * src/WebViewImpl.h:
11908 2010-08-10 Sheriff Bot <webkit.review.bot@gmail.com>
11910 Unreviewed, rolling out r64988.
11911 http://trac.webkit.org/changeset/64988
11912 https://bugs.webkit.org/show_bug.cgi?id=43775
11914 "It seems to break chromium's ui_tests" (Requested by hamaji
11917 * public/WebFrameClient.h:
11918 * src/FrameLoaderClientImpl.cpp:
11919 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
11921 2010-08-10 Yury Semikhatsky <yurys@chromium.org>
11923 Unreviewed. Remove references to deleted header InspectorFrontend.h
11925 * src/WebDevToolsAgentImpl.cpp:
11927 2010-08-10 Yury Semikhatsky <yurys@chromium.org>
11929 Unreviewed. Fix Chromium compilation.
11931 * src/WebDevToolsAgentImpl.cpp:
11932 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
11934 2010-08-09 Gavin Barraclough <barraclough@apple.com>
11936 Speculative chromium build fix V.
11938 * tests/KURLTest.cpp:
11939 (ComponentCase::TEST):
11941 2010-08-09 Gavin Barraclough <barraclough@apple.com>
11943 Speculative chromium build fix IV.
11945 * src/WebPageSerializerImpl.h:
11947 2010-08-09 Gavin Barraclough <barraclough@apple.com>
11949 Speculative chromium build fix II.
11951 * src/AssertMatchingEnums.cpp:
11953 2010-08-09 Gavin Barraclough <barraclough@apple.com>
11955 Speculative chromium build fix.
11957 * public/WebCString.h:
11959 2010-08-06 Gavin Barraclough <barraclough@apple.com>
11961 Rubber stamped by Sam Weinig
11963 Bug 43594 - Add string forwards to Forward.h
11964 This allows us to remove forward declarations for these classes from
11965 WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
11967 * public/WebCString.h:
11968 * public/WebString.h:
11969 * src/DOMUtilitiesPrivate.h:
11970 * src/DebuggerAgentImpl.h:
11971 * src/DebuggerAgentManager.h:
11972 * src/WebDevToolsAgentImpl.h:
11973 * src/WebDevToolsFrontendImpl.h:
11974 * src/WebPageSerializerImpl.h:
11976 2010-08-09 Vangelis Kokkevis <vangelis@chromium.org>
11978 Reviewed by Dimitri Glazkov.
11980 Skip the slow software rendering path of GraphicsContext3D if accelerated
11981 compositing is active. This fixes an issue with WebGL and the compositor
11982 in which the software rendering of WebGL would cause the current GL context
11983 to change while the compositor was processing layers. Tested by running
11984 several WebGL samples both with the compositor enabled and disabled.
11985 https://bugs.webkit.org/show_bug.cgi?id=43644
11987 * src/GraphicsContext3D.cpp:
11988 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
11989 (WebCore::GraphicsContext3DInternal::initialize):
11990 (WebCore::GraphicsContext3DInternal::beginPaint):
11992 2010-08-06 James Hawkins <jhawkins@chromium.org>
11994 Reviewed by Dimitri Glazkov.
11996 [Chromium] Notify the WebFrameClient when the frame is detached from
11997 the view. This is used to clear the cached frame in the FormManager.
11998 Eventually this will be removed once handling forms is moved into
12000 https://bugs.webkit.org/show_bug.cgi?id=43648
12002 * public/WebFrameClient.h:
12003 (WebKit::WebFrameClient::frameDetached):
12004 * src/FrameLoaderClientImpl.cpp:
12005 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
12007 2010-08-09 Pavel Feldman <pfeldman@chromium.org>
12009 Not reviewed: Chromium tests fix.
12011 Chromium: provisional interactive ui tests fix.
12014 (.TestSuite.prototype.testShowStoragePanel.this):
12015 (.TestSuite.prototype.testShowStoragePanel):
12017 2010-08-09 Pavel Feldman <pfeldman@chromium.org>
12019 Not reviewed. Chromium tests fix.
12021 Disable runtime switch for device motion in chromium.
12022 https://bugs.webkit.org/show_bug.cgi?id=43717
12024 * src/WebViewImpl.cpp:
12025 (WebKit::WebView::create):
12027 2010-08-09 Pavel Feldman <pfeldman@chromium.org>
12029 Reviewed by Yury Semikhatsky.
12031 Chromium: Remove temporary device motion fix.
12033 https://bugs.webkit.org/show_bug.cgi?id=43713
12035 * src/WebRuntimeFeatures.cpp:
12036 (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
12038 2010-08-07 Jay Civelli <jcivelli@chromium.org>
12040 Reviewed by Eric Seidel.
12042 Removed unecessary focus code.
12043 https://bugs.webkit.org/show_bug.cgi?id=43542
12045 * src/ChromiumBridge.cpp:
12047 2010-08-06 Victor Wang <victorw@chromium.org>
12049 Reviewed by Kent Tamura.
12051 [Chromium] Add dllimport/dllexport to WebSpeechInputControllerMock::create
12052 so it works for windows dll build.
12054 https://bugs.webkit.org/show_bug.cgi?id=43627
12056 * public/WebSpeechInputControllerMock.h:
12058 2010-08-06 James Robinson <jamesr@chromium.org>
12060 Reviewed by Simon Fraser.
12062 Composited canvas should be treated the same by the compositor and not be WebGL specific
12063 https://bugs.webkit.org/show_bug.cgi?id=43589
12065 Initializes the platformLayer as a CanvasLayerChromium, not a WebGLLayerChromium.
12066 The layer itself isn't WebGL-specific.
12068 * src/GraphicsContext3D.cpp:
12069 (WebCore::GraphicsContext3DInternal::initialize):
12070 (WebCore::GraphicsContext3DInternal::platformLayer):
12071 (WebCore::GraphicsContext3D::platformLayer):
12073 2010-08-06 Jessie Berlin <jberlin@apple.com>
12075 Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
12078 * public/WebCString.h:
12079 * public/WebString.h:
12080 * src/DOMUtilitiesPrivate.h:
12081 * src/DebuggerAgentImpl.h:
12082 * src/DebuggerAgentManager.h:
12083 * src/WebDevToolsAgentImpl.h:
12084 * src/WebDevToolsFrontendImpl.h:
12085 * src/WebPageSerializerImpl.h:
12087 2010-08-06 Pavel Feldman <pfeldman@chromium.org>
12089 Reviewed by Yury Semikhatsky.
12091 Chromium: disable device motion by default.
12093 https://bugs.webkit.org/show_bug.cgi?id=43623
12095 * public/WebRuntimeFeatures.h:
12096 * src/WebRuntimeFeatures.cpp:
12097 (WebKit::WebRuntimeFeatures::enableDeviceMotion):
12098 (WebKit::WebRuntimeFeatures::isDeviceMotionEnabled):
12099 (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
12101 2010-08-06 Kavita Kanetkar <kkanetkar@chromium.org>
12103 Reviewed by Joseph Pecoraro.
12105 Web Inspector: Remove "Online/Offline" icon for Chrome's appcache devtools UI.
12106 https://bugs.webkit.org/show_bug.cgi?id=43450
12108 * src/js/DevTools.js:
12109 (WebInspector.loaded):
12111 2010-08-05 Marcus Bulach <bulach@chromium.org>
12113 Reviewed by Jeremy Orlow.
12115 Initial bindings and plumbing for IDBCursor.
12116 https://bugs.webkit.org/show_bug.cgi?id=41888
12118 Test: storage/indexeddb/idb-opencursor.html
12121 * public/WebIDBCallbacks.h:
12122 (WebKit::WebIDBCallbacks::onSuccess):
12123 * public/WebIDBCursor.h: Added.
12124 (WebKit::WebIDBCursor::~WebIDBCursor):
12125 (WebKit::WebIDBCursor::direction):
12126 (WebKit::WebIDBCursor::key):
12127 (WebKit::WebIDBCursor::value):
12128 (WebKit::WebIDBCursor::update):
12129 (WebKit::WebIDBCursor::continueFunction):
12130 (WebKit::WebIDBCursor::remove):
12131 * public/WebIDBKeyRange.h: Added.
12132 (WebKit::WebIDBKeyRange::~WebIDBKeyRange):
12133 (WebKit::WebIDBKeyRange::WebIDBKeyRange):
12134 * public/WebIDBObjectStore.h:
12135 (WebKit::WebIDBObjectStore::openCursor):
12136 * src/IDBCallbacksProxy.cpp:
12137 (WebCore::IDBCallbacksProxy::onSuccess):
12138 * src/IDBCallbacksProxy.h:
12139 * src/IDBCursorBackendProxy.cpp: Added.
12140 (WebCore::IDBCursorBackendProxy::create):
12141 (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
12142 (WebCore::IDBCursorBackendProxy::~IDBCursorBackendProxy):
12143 (WebCore::IDBCursorBackendProxy::direction):
12144 (WebCore::IDBCursorBackendProxy::key):
12145 (WebCore::IDBCursorBackendProxy::value):
12146 (WebCore::IDBCursorBackendProxy::update):
12147 (WebCore::IDBCursorBackendProxy::continueFunction):
12148 (WebCore::IDBCursorBackendProxy::remove):
12149 * src/IDBCursorBackendProxy.h: Added.
12150 * src/IDBObjectStoreProxy.cpp:
12151 (WebCore::IDBObjectStoreProxy::openCursor):
12152 * src/IDBObjectStoreProxy.h:
12153 * src/WebIDBCallbacksImpl.cpp:
12154 (WebCore::WebIDBCallbacksImpl::onSuccess):
12155 * src/WebIDBCallbacksImpl.h:
12156 * src/WebIDBCursorImpl.cpp: Added.
12157 (WebKit::WebIDBCursorImpl::WebIDBCursorImpl):
12158 (WebKit::WebIDBCursorImpl::~WebIDBCursorImpl):
12159 (WebKit::WebIDBCursorImpl::direction):
12160 (WebKit::WebIDBCursorImpl::key):
12161 (WebKit::WebIDBCursorImpl::value):
12162 (WebKit::WebIDBCursorImpl::update):
12163 (WebKit::WebIDBCursorImpl::continueFunction):
12164 (WebKit::WebIDBCursorImpl::remove):
12165 * src/WebIDBCursorImpl.h: Added.
12166 * src/WebIDBKeyRange.cpp: Added.
12167 (WebKit::WebIDBKeyRange::WebIDBKeyRange):
12168 (WebKit::WebIDBKeyRange::assign):
12169 (WebKit::WebIDBKeyRange::reset):
12170 (WebKit::WebIDBKeyRange::left):
12171 (WebKit::WebIDBKeyRange::right):
12172 (WebKit::WebIDBKeyRange::flags):
12173 * src/WebIDBObjectStoreImpl.cpp:
12174 (WebKit::WebIDBObjectStoreImpl::openCursor):
12175 * src/WebIDBObjectStoreImpl.h:
12177 2010-08-05 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
12179 Reviewed by Jeremy Orlow.
12181 [IndexedDB] IndexedDB is missing the Transaction interface.
12182 https://bugs.webkit.org/show_bug.cgi?id=42970
12184 Add IDBTransaction boilerplate.
12186 * src/IDBDatabaseProxy.cpp:
12187 (WebCore::IDBDatabaseProxy::transaction):
12188 * src/IDBDatabaseProxy.h:
12190 2010-08-05 Gavin Barraclough <barraclough@apple.com>
12192 Rubber stamped by Sam Weinig
12194 Bug 43594 - Add string forwards to Forward.h
12195 This allows us to remove forward declarations for these classes from
12196 WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
12198 * public/WebCString.h:
12199 * public/WebString.h:
12200 * src/DOMUtilitiesPrivate.h:
12201 * src/DebuggerAgentImpl.h:
12202 * src/DebuggerAgentManager.h:
12203 * src/WebDevToolsAgentImpl.h:
12204 * src/WebDevToolsFrontendImpl.h:
12205 * src/WebPageSerializerImpl.h:
12207 2010-08-05 Brett Wilson <brettw@chromium.org>
12209 Reviewed by Nate Chapin.
12211 Make the webkit unit tests depend on test_support_base
12212 https://bugs.webkit.org/show_bug.cgi?id=43584
12216 2010-08-04 Kenneth Russell <kbr@google.com>
12218 Reviewed by Dimitri Glazkov.
12220 Style cleanups in WebGL
12221 https://bugs.webkit.org/show_bug.cgi?id=38761
12223 Cleaned up all style violations in WebGL-related files reported by
12224 check-webkit-style. No logic or other changes. Built WebKit and
12225 Chromium and ran WebGL layout tests.
12227 * src/GraphicsContext3D.cpp:
12228 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
12229 * src/WebGraphicsContext3DDefaultImpl.cpp:
12230 * src/WebGraphicsContext3DDefaultImpl.h:
12232 2010-08-05 Jian Li <jianli@chromium.org>
12234 Reviewed by David Levin.
12236 Unify blob related feature defines to ENABLE(BLOB).
12237 https://bugs.webkit.org/show_bug.cgi?id=43081
12240 * src/WebHTTPBody.cpp:
12241 (WebKit::WebHTTPBody::elementAt):
12242 (WebKit::WebHTTPBody::appendFileRange):
12244 2010-08-05 Nico Weber <thakis@chromium.org>
12246 Reviewed by Jeremy Orlow.
12248 Remove useless const on return-by-value (fixes a clang warning)
12249 https://bugs.webkit.org/show_bug.cgi?id=43491
12251 * src/WebInputEventConversion.cpp:
12252 (WebKit::toPlatformKeyboardEventType):
12254 2010-08-05 Satish Sampath <satish@chromium.org>
12256 Reviewed by Jeremy Orlow.
12258 Add speech input controller mock in WebKit and a layout test.
12259 https://bugs.webkit.org/show_bug.cgi?id=43477
12262 * public/WebSpeechInputControllerMock.h: Added WebKit speech input controller mock interface.
12263 * src/WebSpeechInputControllerMockImpl.cpp: Added implementation of the above mock.
12264 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
12265 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
12266 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
12267 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
12268 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
12269 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
12270 (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
12271 (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
12272 (WebKit::WebSpeechInputControllerMock::create):
12274 2010-08-05 Pavel Feldman <pfeldman@chromium.org>
12276 Reviewed by Yury Semikhatsky.
12278 Chromium DevTools: [REGRESSION] Frame navigation is not handled in devtools.
12280 https://bugs.webkit.org/show_bug.cgi?id=43556
12282 * src/WebDevToolsAgentImpl.cpp:
12284 (WebKit::WebDevToolsAgentImpl::detach):
12285 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
12286 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
12288 2010-08-05 John Gregg <johnnyg@google.com>
12290 Reviewed by Darin Fisher.
12292 [chromium] WebFileChooserParams should have default constructor
12293 https://bugs.webkit.org/show_bug.cgi?id=43435
12295 * public/WebFileChooserParams.h:
12296 (WebKit::WebFileChooserParams::WebFileChooserParams):
12298 2010-08-05 Victoria Kirst <vrk@google.com>
12300 Reviewed by David Levin.
12302 Added a repaint request so that VideoLayerChromium does not have
12303 a flickering problem when playing video.
12304 https://bugs.webkit.org/show_bug.cgi?id=43101
12306 * src/WebMediaPlayerClientImpl.cpp:
12307 (WebKit::WebMediaPlayerClientImpl::repaint):
12309 2010-08-05 Pavel Feldman <pfeldman@chromium.org>
12311 Reviewed by Yury Semikhatsky.
12313 DevTools: get rid of delayed command dispatching on front-end side.
12315 https://bugs.webkit.org/show_bug.cgi?id=43479
12317 * public/WebDevToolsFrontendClient.h:
12318 (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded):
12319 * src/WebDevToolsAgentImpl.cpp:
12320 (WebKit::WebDevToolsAgentImpl::attach):
12321 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
12322 * src/WebDevToolsAgentImpl.h:
12323 * src/WebDevToolsFrontendImpl.cpp:
12324 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
12325 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
12326 * src/WebDevToolsFrontendImpl.h:
12327 * src/js/DevTools.js:
12328 (WebInspector.doLoadedDone):
12330 (.uiTests.runTest):
12333 2010-08-02 Kenneth Russell <kbr@google.com>
12335 Reviewed by Dimitri Glazkov.
12337 Port Chromium's accelerated compositing to Mac OS X
12338 https://bugs.webkit.org/show_bug.cgi?id=43398
12340 * public/WebGLES2Context.h:
12341 - Added resizeOnscreenContent, needed on Mac OS X to report
12342 window size changes.
12343 * src/WebViewImpl.cpp:
12344 (WebKit::WebViewImpl::resize):
12345 - Send resize notification to the WebGLES2Context.
12346 (WebKit::WebViewImpl::updateRootLayerContents):
12347 - Ported to Core Graphics.
12348 (WebKit::WebViewImpl::gles2Context):
12349 - Added initial size notification upon context creation.
12351 2010-08-04 Pavel Feldman <pfeldman@chromium.org>
12353 Reviewed by Yury Semikhatsky.
12355 DevTools: get rid of delayed command dispatching on front-end side.
12357 https://bugs.webkit.org/show_bug.cgi?id=43479
12359 * public/WebDevToolsAgent.h:
12360 * src/WebDevToolsAgentImpl.cpp:
12361 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
12362 * src/WebDevToolsAgentImpl.h:
12364 2010-08-03 James Robinson <jamesr@chromium.org>
12366 Reviewed by Darin Fisher.
12368 Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API
12369 https://bugs.webkit.org/show_bug.cgi?id=43221
12371 Implements functions in term of Platform3DObjects instead of WebGL types.
12373 * src/GraphicsContext3D.cpp:
12374 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
12375 (WebCore::GraphicsContext3DInternal::beginPaint):
12376 (WebCore::GraphicsContext3DInternal::bindAttribLocation):
12377 (WebCore::GraphicsContext3DInternal::getActiveAttrib):
12378 (WebCore::GraphicsContext3DInternal::getActiveUniform):
12379 (WebCore::GraphicsContext3DInternal::getAttribLocation):
12380 (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
12381 (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
12382 (WebCore::GraphicsContext3DInternal::getShaderSource):
12383 (WebCore::GraphicsContext3DInternal::getUniformLocation):
12384 (WebCore::GraphicsContext3DInternal::shaderSource):
12386 2010-08-03 Dimitri Glazkov <dglazkov@chromium.org>
12388 Unreviewed, build fix.
12390 Roll chromium to 54723 to unbreak the builds.
12394 2010-08-03 Andrei Popescu <andreip@google.com>
12396 Reviewed by Jeremy Orlow.
12398 [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore
12399 https://bugs.webkit.org/show_bug.cgi?id=43420
12401 * src/IDBCallbacksProxy.cpp:
12402 (WebCore::IDBCallbacksProxy::onSuccess):
12403 * src/IDBCallbacksProxy.h:
12404 * src/IDBDatabaseProxy.cpp:
12405 (WebCore::IDBDatabaseProxy::objectStore):
12406 * src/IDBDatabaseProxy.h:
12407 * src/IDBObjectStoreProxy.cpp:
12408 (WebCore::IDBObjectStoreProxy::create):
12409 * src/IDBObjectStoreProxy.h:
12410 * src/WebIDBObjectStoreImpl.cpp:
12411 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
12412 * src/WebIDBObjectStoreImpl.h:
12414 2010-08-03 Yury Semikhatsky <yurys@chromium.org>
12416 Unreviewed. Fix Chromium interactive UI tests.
12419 (.TestSuite.prototype.testResourceHeaders):
12421 2010-07-30 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
12423 Reviewed by Jeremy Orlow.
12425 Rename IDBDatabaseRequest to IDBDatabase
12426 https://bugs.webkit.org/show_bug.cgi?id=43250
12428 * src/IDBCallbacksProxy.cpp:
12429 (WebCore::IDBCallbacksProxy::onSuccess):
12430 * src/IDBCallbacksProxy.h:
12431 * src/IDBDatabaseProxy.cpp:
12432 (WebCore::IDBDatabaseProxy::create):
12433 * src/IDBDatabaseProxy.h:
12434 * src/WebIDBDatabaseImpl.cpp:
12435 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
12436 (WebKit::WebIDBDatabaseImpl::name):
12437 (WebKit::WebIDBDatabaseImpl::description):
12438 (WebKit::WebIDBDatabaseImpl::version):
12439 (WebKit::WebIDBDatabaseImpl::objectStores):
12440 (WebKit::WebIDBDatabaseImpl::createObjectStore):
12441 (WebKit::WebIDBDatabaseImpl::objectStore):
12442 (WebKit::WebIDBDatabaseImpl::removeObjectStore):
12443 * src/WebIDBDatabaseImpl.h:
12445 2010-08-02 Pavel Feldman <pfeldman@chromium.org>
12447 Reviewed by Yury Semikhatsky.
12449 Chromium DevTools: Get rid of DevTools RPC.
12451 https://bugs.webkit.org/show_bug.cgi?id=43335
12454 * public/WebDevToolsAgent.h:
12455 * public/WebDevToolsAgentClient.h:
12456 (WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend):
12457 (WebKit::WebDevToolsAgentClient::sendDebuggerOutput):
12458 (WebKit::WebDevToolsAgentClient::sendDispatchToAPU):
12459 * public/WebDevToolsFrontend.h:
12460 * public/WebDevToolsFrontendClient.h:
12461 (WebKit::WebDevToolsFrontendClient::sendMessageToBackend):
12462 * public/WebDevToolsMessageData.h: Removed.
12463 * public/WebDevToolsMessageTransport.h: Removed.
12464 * src/APUAgentDelegate.h: Removed.
12465 * src/DebuggerAgent.h: Removed.
12466 * src/DebuggerAgentImpl.cpp:
12467 (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
12468 (WebKit::DebuggerAgentImpl::debuggerOutput):
12469 * src/DebuggerAgentImpl.h:
12470 * src/DebuggerAgentManager.cpp:
12471 (WebKit::DebuggerAgentManager::debugDetach):
12472 (WebKit::DebuggerAgentManager::onV8DebugMessage):
12473 (WebKit::DebuggerAgentManager::executeDebuggerCommand):
12474 (WebKit::DebuggerAgentManager::sendCommandToV8):
12475 (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
12476 * src/DevToolsRPC.h: Removed.
12477 * src/DevToolsRPCJS.h: Removed.
12478 * src/InspectorClientImpl.cpp:
12479 * src/InspectorFrontendClientImpl.cpp:
12480 (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
12481 * src/ProfilerAgent.h: Removed.
12482 * src/ProfilerAgentImpl.cpp: Removed.
12483 * src/ProfilerAgentImpl.h: Removed.
12484 * src/ToolsAgent.h: Removed.
12485 * src/WebDevToolsAgentImpl.cpp:
12487 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
12488 (WebKit::WebDevToolsAgentImpl::attach):
12489 (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
12490 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend):
12491 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
12492 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
12493 * src/WebDevToolsAgentImpl.h:
12494 * src/WebDevToolsFrontendImpl.cpp:
12495 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
12496 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
12497 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
12498 (WebKit::WebDevToolsFrontendImpl::executeScript):
12499 * src/WebDevToolsFrontendImpl.h:
12500 * src/js/DevTools.js:
12501 (devtools.dispatch):
12502 (devtools.ToolsAgent):
12503 * src/js/DevToolsHostStub.js:
12504 * src/js/ProfilerAgent.js:
12505 (devtools.ProfilerAgent):
12506 (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
12507 (devtools.ProfilerAgent.prototype._getNextLogLines):
12508 (devtools.ProfilerAgent.prototype._didGetProfilerLogLines):
12509 * src/js/ProfilerProcessor.js:
12510 (devtools.profiler.Processor.prototype.printError):
12512 2010-08-02 Kent Tamura <tkent@chromium.org>
12514 Reviewed by Dimitri Glazkov.
12516 [DRT/Chromium] Remove dependencies to some Chromium headers
12517 https://bugs.webkit.org/show_bug.cgi?id=43396
12519 * DEPS: Update Chromium revision to 54649 in order to have a
12520 webkit_support change (r54646)
12522 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
12524 Reviewed by Darin Fisher.
12526 PopupMenu refactoring in preparation to WebKit2
12527 https://bugs.webkit.org/show_bug.cgi?id=42592
12529 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
12530 instances, concrete classes that inherit from ChromeClient needed to be changed to
12531 implement the new methods.
12533 * src/ChromeClientImpl.cpp:
12534 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
12535 (WebKit::ChromeClientImpl::createPopupMenu):
12536 (WebKit::ChromeClientImpl::createSearchPopupMenu):
12537 * src/ChromeClientImpl.h:
12539 2010-08-02 Kent Tamura <tkent@chromium.org>
12541 Reviewed by Dimitri Glazkov.
12543 [DRT/Chromium] Always initialize GTK
12544 https://bugs.webkit.org/show_bug.cgi?id=43327
12546 * WebKit.gyp: Add GTK dependency for DRT.
12548 2010-08-02 Jeremy Orlow <jorlow@chromium.org>
12550 Speculative revert of 64425 due to Chromium instability
12551 https://bugs.webkit.org/show_bug.cgi?id=43347
12553 * src/ChromeClientImpl.cpp:
12554 * src/ChromeClientImpl.h:
12555 * tests/PopupMenuTest.cpp:
12556 (WebKit::SelectPopupMenuTest::SetUp):
12558 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
12560 Reviewed by Darin Fisher.
12562 PopupMenu refactoring in preparation to WebKit2
12563 https://bugs.webkit.org/show_bug.cgi?id=42592
12565 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
12566 instances, concrete classes that inherit from ChromeClient needed to be changed to
12567 implement the new methods.
12569 * src/ChromeClientImpl.cpp:
12570 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
12571 (WebKit::ChromeClientImpl::createPopupMenu):
12572 (WebKit::ChromeClientImpl::createSearchPopupMenu):
12573 * src/ChromeClientImpl.h:
12575 2010-07-31 Sheriff Bot <webkit.review.bot@gmail.com>
12577 Unreviewed, rolling out r64422.
12578 http://trac.webkit.org/changeset/64422
12579 https://bugs.webkit.org/show_bug.cgi?id=43304
12581 Build fixes are needed for Snow Leopard and Windows.
12582 (Requested by lca on #webkit).
12584 * src/ChromeClientImpl.cpp:
12585 * src/ChromeClientImpl.h:
12587 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
12589 Reviewed by Darin Fisher.
12591 PopupMenu refactoring in preparation to WebKit2
12592 https://bugs.webkit.org/show_bug.cgi?id=42592
12594 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
12595 instances, concrete classes that inherit from ChromeClient needed to be changed to
12596 implement the new methods.
12598 * src/ChromeClientImpl.cpp:
12599 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
12600 (WebKit::ChromeClientImpl::createPopupMenu):
12601 (WebKit::ChromeClientImpl::createSearchPopupMenu):
12602 * src/ChromeClientImpl.h:
12604 2010-07-30 Joseph Pecoraro <joepeck@webkit.org>
12606 Reviewed by David Kilzer.
12608 Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
12609 https://bugs.webkit.org/show_bug.cgi?id=40627
12611 * src/ChromeClientImpl.cpp:
12612 (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
12613 * src/ChromeClientImpl.h:
12615 2010-07-30 James Robinson <jamesr@chromium.org>
12617 Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of
12618 USE(ACCELERATED_COMPOSITING) to match WebCore. Fixes the compile when
12619 USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false.
12621 * src/ChromeClientImpl.cpp:
12622 * src/ChromeClientImpl.h:
12624 2010-07-27 Darin Fisher <darin@chromium.org>
12626 Reviewed by Brady Eidson.
12628 History.pushState() + navigation operates on top frame when called from
12630 https://bugs.webkit.org/show_bug.cgi?id=43080
12632 * src/FrameLoaderClientImpl.cpp:
12633 (WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource
12634 can be null if the Frame has already been detached from the Page. This
12635 happens if a popstate event handler removes the frame.
12637 2010-07-29 Jeremy Orlow <jorlow@chromium.org>
12639 Reviewed by Steve Block.
12641 Rename all the IDBIndex classses to match the latest conventions
12642 https://bugs.webkit.org/show_bug.cgi?id=43190
12644 Fix up stuff in WebKit layer to handle the renamings in WebCore.
12647 * src/IDBCallbacksProxy.cpp:
12648 (WebCore::IDBCallbacksProxy::onSuccess):
12649 * src/IDBCallbacksProxy.h:
12650 * src/IDBIndexBackendProxy.cpp: Added.
12651 (WebCore::IDBIndexBackendProxy::create):
12652 (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
12653 (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy):
12654 (WebCore::IDBIndexBackendProxy::name):
12655 (WebCore::IDBIndexBackendProxy::keyPath):
12656 (WebCore::IDBIndexBackendProxy::unique):
12657 * src/IDBIndexBackendProxy.h: Added.
12658 * src/IDBIndexProxy.cpp: Removed.
12659 * src/IDBIndexProxy.h: Removed.
12660 * src/IDBObjectStoreProxy.cpp:
12661 (WebCore::IDBObjectStoreProxy::index):
12662 * src/IDBObjectStoreProxy.h:
12663 * src/WebIDBCallbacksImpl.cpp:
12664 (WebCore::WebIDBCallbacksImpl::onSuccess):
12665 * src/WebIDBIndexImpl.cpp:
12666 (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
12667 (WebKit::WebIDBIndexImpl::name):
12668 (WebKit::WebIDBIndexImpl::keyPath):
12669 (WebKit::WebIDBIndexImpl::unique):
12670 * src/WebIDBIndexImpl.h:
12671 * src/WebIDBObjectStoreImpl.cpp:
12672 (WebKit::WebIDBObjectStoreImpl::index):
12674 2010-07-30 Satish Sampath <satish@chromium.org>
12676 Reviewed by Jeremy Orlow.
12678 Add a check for WebViewClient being null.
12679 https://bugs.webkit.org/show_bug.cgi?id=43240
12681 * src/SpeechInputClientImpl.cpp:
12682 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
12684 2010-07-30 Hans Wennborg <hans@chromium.org>
12686 Reviewed by Steve Block.
12688 Disable runtime switch for device orientation in chromium
12689 https://bugs.webkit.org/show_bug.cgi?id=43237
12691 Explicitly set the runtime switch for device orientation
12692 in WebView::create until we implement the feature.
12693 If the flag is accidentally on while no DeviceOrientationClient
12694 is provided, the program will crash.
12696 * src/WebViewImpl.cpp:
12697 (WebKit::WebView::create):
12699 2010-07-26 Andrei Popescu <andreip@google.com>
12701 Reviewed by Jeremy Orlow.
12703 [IndexedDB] IndexedDatabase should be called IDBFactory.
12704 https://bugs.webkit.org/show_bug.cgi?id=42967
12707 * public/WebIDBFactory.h: Added.
12708 (WebKit::WebIDBFactory::~WebIDBFactory):
12709 (WebKit::WebIDBFactory::databases):
12710 (WebKit::WebIDBFactory::open):
12711 * public/WebIndexedDatabase.h: Removed.
12712 * public/WebKitClient.h:
12713 (WebKit::WebKitClient::idbFactory):
12714 * src/ChromiumBridge.cpp:
12715 (WebCore::ChromiumBridge::idbFactory):
12716 * src/IDBFactoryBackendProxy.cpp: Added.
12717 (WebCore::IDBFactoryBackendProxy::create):
12718 (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
12719 (WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy):
12720 (WebCore::IDBFactoryBackendProxy::open):
12721 * src/IDBFactoryBackendProxy.h: Added.
12722 * src/IndexedDatabaseProxy.cpp: Removed.
12723 * src/IndexedDatabaseProxy.h: Removed.
12724 * src/WebIDBFactoryImpl.cpp: Added.
12725 (WebKit::WebIDBFactory::create):
12726 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
12727 (WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl):
12728 (WebKit::WebIDBFactoryImpl::open):
12729 * src/WebIDBFactoryImpl.h: Added.
12730 * src/WebIndexedDatabaseImpl.cpp: Removed.
12731 * src/WebIndexedDatabaseImpl.h: Removed.
12733 2010-07-29 Andrei Popescu <andreip@google.com>
12735 Reviewed by Jeremy Orlow.
12737 [IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build
12738 https://bugs.webkit.org/show_bug.cgi?id=43186
12740 Add WEBKIT_API to WebDOMStringList default ctor.
12742 * public/WebDOMStringList.h:
12744 2010-07-29 Satish Sampath <satish@chromium.org>
12746 Reviewed by Steve Block.
12748 Runtime feature switch for speech input
12749 https://bugs.webkit.org/show_bug.cgi?id=43146
12751 Add a runtime feature switch that decides whether speech input attributes are available or not.
12754 * public/WebRuntimeFeatures.h:
12755 * src/SpeechInputClientImpl.cpp:
12756 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
12757 * src/WebRuntimeFeatures.cpp:
12758 (WebKit::WebRuntimeFeatures::enableSpeechInput):
12759 (WebKit::WebRuntimeFeatures::isSpeechInputEnabled):
12761 2010-07-28 Kavita Kanetkar <kkanetkar@chromium.org>
12763 Reviewed by Pavel Feldman.
12765 Web Inspector: Enable UI for chromium's appcache inspection.
12766 https://bugs.webkit.org/show_bug.cgi?id=43098
12768 * src/js/DevTools.js:
12769 (WebInspector.loaded):
12771 2010-07-28 Dominic Mazzoni <dmazzoni@google.com>
12773 Reviewed by Dimitri Glazkov.
12775 Add access to the computed style display to WebAccessibilityObject.
12776 https://bugs.webkit.org/show_bug.cgi?id=43044
12778 * public/WebAccessibilityObject.h:
12779 * src/WebAccessibilityObject.cpp:
12780 (WebKit::WebAccessibilityObject::hasComputedStyle):
12781 (WebKit::WebAccessibilityObject::computedStyleDisplay):
12783 2010-07-28 Hans Wennborg <hans@chromium.org>
12785 Reviewed by Jeremy Orlow.
12787 Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium
12788 https://bugs.webkit.org/show_bug.cgi?id=43122
12790 Enable the compile-time switch for device orientation.
12791 The switch was already enabled in features_override.gypi in the Chromium
12792 repository (in revision 53317), and should be set here as well.
12794 The feature is being implemented behind a run-time flag which
12795 defaults to off in Chromium.
12797 * features.gypi: Set ENABLE_DEVICE_ORIENTATION=1.
12799 2010-07-28 Gene Gutnik <gene@google.com>
12801 Reviewed by Darin Fisher.
12803 Fix mouse coordinate conversion. WindowX,Y is an absolute
12804 mouse coordinates within browser window, x,y - are coordinates
12805 relative to the plugin.
12806 https://bugs.webkit.org/show_bug.cgi?id=42987
12808 * src/WebInputEventConversion.cpp:
12809 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
12810 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
12811 * src/WebInputEventConversion.h:
12812 * src/WebPluginContainerImpl.cpp:
12813 (WebKit::WebPluginContainerImpl::handleMouseEvent):
12814 (WebKit::WebPluginContainerImpl::handleWheelEvent):
12816 2010-07-28 James Robinson <jamesr@chromium.org>
12818 Reviewed by Darin Fisher.
12820 [chromium] Add a bool to Settings to control accelerated 2d canvas
12821 https://bugs.webkit.org/show_bug.cgi?id=43094
12823 * public/WebSettings.h:
12824 * src/WebSettingsImpl.cpp:
12825 (WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled):
12826 * src/WebSettingsImpl.h:
12828 2010-07-28 Brett Wilson <brettw@chromium.org>
12830 Reviewed by Darin Fisher.
12832 Fix forward declares to be struct instead of class.
12833 https://bugs.webkit.org/show_bug.cgi?id=43127
12835 * public/WebFont.h:
12837 2010-07-28 Pavel Feldman <pfeldman@chromium.org>
12839 Reviewed by Dimitri Glazkov.
12841 Chromium DevTools: [REGRESSION] sourceURL is not respected.
12843 https://bugs.webkit.org/show_bug.cgi?id=43124
12845 * src/js/DebuggerScript.js:
12847 2010-07-28 Andrei Popescu <andreip@google.com>
12849 Reviewed by Jeremy Orlow.
12851 [IndexedDB] WebDOMStringList default ctor does not initialize its m_private member
12852 variable so any attempt to append strings to a WebDOMStringList instance results in a crash.
12853 https://bugs.webkit.org/show_bug.cgi?id=43120
12855 Makes the default WebKit::WebDOMStringList ctor actually create its wrapped
12856 WebCore::DOMStringList instance.
12858 * public/WebDOMStringList.h:
12859 * src/WebDOMStringList.cpp:
12860 (WebKit::WebDOMStringList::WebDOMStringList):
12862 2010-07-26 Steve Block <steveblock@google.com>
12864 Reviewed by Jeremy Orlow.
12866 Page clients should be passed to Page constructor via structure of pointers
12867 https://bugs.webkit.org/show_bug.cgi?id=42834
12869 * src/WebViewImpl.cpp:
12870 (WebKit::WebViewImpl::WebViewImpl):
12872 2010-07-28 Pavel Feldman <pfeldman@chromium.org>
12874 Not reviewed: chromium tests fix.
12875 Chromium Dev Tools: [REGRESSION] Pause is not working.
12877 https://bugs.webkit.org/show_bug.cgi?id=43118
12879 * src/js/DevTools.js:
12880 (InspectorBackend.pause):
12882 2010-07-27 Kinuko Yasuda <kinuko@chromium.org>
12884 Reviewed by Ojan Vafai.
12886 Add FILE_SYSTEM build flag for FileSystem API
12887 https://bugs.webkit.org/show_bug.cgi?id=42915
12891 2010-07-27 James Hawkins <jhawkins@chromium.org>
12893 Unreviewed Build Fix.
12895 Add a missing itemIcon() method to TestPopupMenuClient.
12897 * tests/PopupMenuTest.cpp:
12898 (WebKit::TestPopupMenuClient::itemIcon):
12900 2010-07-27 James Hawkins <jhawkins@chromium.org>
12902 Reviewed by Darin Fisher.
12904 [Chromium] Add the ability to show right-aligned icons in the AutoFill popup.
12905 https://bugs.webkit.org/show_bug.cgi?id=43076
12907 * public/WebView.h:
12908 * src/AutoFillPopupMenuClient.cpp:
12909 (WebKit::AutoFillPopupMenuClient::getIcon):
12910 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
12911 (WebKit::AutoFillPopupMenuClient::itemIcon):
12912 (WebKit::AutoFillPopupMenuClient::initialize):
12913 (WebKit::AutoFillPopupMenuClient::setSuggestions):
12914 * src/AutoFillPopupMenuClient.h:
12915 * src/WebViewImpl.cpp:
12916 (WebKit::WebViewImpl::applyAutoFillSuggestions):
12917 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
12918 * src/WebViewImpl.h:
12920 2010-07-27 Brett Wilson <brettw@chromium.org>
12922 Reviewed by Darin Fisher.
12924 Add the ability to select fonts and do basic text drawing to the
12925 Chromium WebKit API.
12926 https://bugs.webkit.org/show_bug.cgi?id=42999
12929 * public/WebFloatPoint.h: Added.
12930 (WebKit::WebFloatPoint::WebFloatPoint):
12931 (WebKit::WebFloatPoint::operator=):
12932 (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
12933 (WebKit::operator==):
12934 (WebKit::operator!=):
12935 * public/WebFloatRect.h: Added.
12936 (WebKit::WebFloatRect::isEmpty):
12937 (WebKit::WebFloatRect::WebFloatRect):
12938 (WebKit::WebFloatRect::operator=):
12939 (WebKit::WebFloatRect::operator WebCore::FloatRect):
12940 (WebKit::operator==):
12941 (WebKit::operator!=):
12942 * public/WebFont.h: Added.
12943 * public/WebFontDescription.h: Added.
12944 (WebKit::WebFontDescription::):
12945 (WebKit::WebFontDescription::WebFontDescription):
12946 * public/WebTextRun.h: Added.
12947 (WebKit::WebTextRun::WebTextRun):
12948 * src/AssertMatchingEnums.cpp:
12949 * src/WebFontDescription.cpp: Added.
12950 (WebKit::WebFontDescription::WebFontDescription):
12951 (WebKit::WebFontDescription::operator WebCore::FontDescription):
12952 * src/WebFontImpl.cpp: Added.
12953 (WebKit::WebFont::Create):
12954 (WebKit::WebFontImpl::WebFontImpl):
12955 (WebKit::WebFontImpl::fontDescription):
12956 (WebKit::WebFontImpl::ascent):
12957 (WebKit::WebFontImpl::descent):
12958 (WebKit::WebFontImpl::height):
12959 (WebKit::WebFontImpl::lineSpacing):
12960 (WebKit::WebFontImpl::xHeight):
12961 (WebKit::WebFontImpl::drawText):
12962 (WebKit::WebFontImpl::width):
12963 (WebKit::WebFontImpl::offsetForPosition):
12964 (WebKit::WebFontImpl::selectionRectForText):
12965 * src/WebFontImpl.h: Added.
12966 * src/WebTextRun.cpp: Added.
12967 (WebKit::WebTextRun::operator WebCore::TextRun):
12969 2010-07-27 Dumitru Daniliuc <dumi@chromium.org>
12971 Reviewed by David Levin.
12973 Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE).
12974 https://bugs.webkit.org/show_bug.cgi?id=43035
12976 Make Chromium compile with ENABLE_DATABASE=0.
12978 * src/ChromiumBridge.cpp:
12979 (WebCore::ChromiumBridge::databaseGetFileSize):
12980 * src/DatabaseObserver.cpp:
12981 * src/WebDatabase.cpp:
12982 (WebCore::AbstractDatabase::stringIdentifier):
12983 (WebCore::AbstractDatabase::displayName):
12984 (WebCore::AbstractDatabase::estimatedSize):
12985 (WebCore::AbstractDatabase::securityOrigin):
12986 (WebKit::WebDatabase::updateDatabaseSize):
12987 (WebKit::WebDatabase::closeDatabaseImmediately):
12989 2010-07-27 Pavel Podivilov <podivilov@chromium.org>
12991 Reviewed by Pavel Feldman.
12993 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
12994 https://bugs.webkit.org/show_bug.cgi?id=41461
12996 * src/js/DebuggerScript.js:
12999 2010-07-27 Ilya Tikhonovsky <loislo@chromium.org>
13001 Reviewed by Pavel Feldman.
13003 WebInspector: Current implementation of message based inspector
13004 transport generated by CodeGeneratorInspector should be upstreamed
13005 from WebKit/chromium to WebCore.
13006 https://bugs.webkit.org/show_bug.cgi?id=42983
13009 * src/InspectorFrontendClientImpl.cpp:
13010 (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
13011 * src/InspectorFrontendClientImpl.h:
13012 * src/ToolsAgent.h:
13013 * src/WebDevToolsAgentImpl.cpp:
13014 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
13015 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
13016 * src/WebDevToolsAgentImpl.h:
13017 * src/js/InspectorControllerImpl.js: Removed.
13019 2010-07-27 Dominic Mazzoni <dmazzoni@google.com>
13021 Reviewed by Chris Fleizach.
13023 Add accessors for node and document to WebAccessibilityObject,
13024 needed to support some Windows screenreader functionality.
13026 https://bugs.webkit.org/show_bug.cgi?id=43001
13028 * public/WebAccessibilityObject.h:
13029 * src/WebAccessibilityObject.cpp:
13030 (WebKit::WebAccessibilityObject::node):
13031 (WebKit::WebAccessibilityObject::document):
13033 2010-07-27 Dominic Mazzoni <dmazzoni@google.com>
13035 Reviewed by Chris Fleizach.
13037 For Windows accessibility, have WebElement provide access
13040 https://bugs.webkit.org/show_bug.cgi?id=43004
13043 * public/WebAttribute.h: Added.
13044 (WebKit::WebAttribute::~WebAttribute):
13045 (WebKit::WebAttribute::WebAttribute):
13046 (WebKit::WebAttribute::operator=):
13047 * public/WebElement.h:
13048 * public/WebNamedNodeMap.h: Added.
13049 (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
13050 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
13051 (WebKit::WebNamedNodeMap::operator=):
13052 * src/WebAttribute.cpp: Added.
13053 (WebKit::WebAttribute::reset):
13054 (WebKit::WebAttribute::assign):
13055 (WebKit::WebAttribute::WebAttribute):
13056 (WebKit::WebAttribute::localName):
13057 (WebKit::WebAttribute::value):
13058 * src/WebElement.cpp:
13059 (WebKit::WebElement::attributes):
13060 * src/WebNamedNodeMap.cpp: Added.
13061 (WebKit::WebNamedNodeMap::reset):
13062 (WebKit::WebNamedNodeMap::assign):
13063 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
13064 (WebKit::WebNamedNodeMap::length):
13065 (WebKit::WebNamedNodeMap::attributeItem):
13067 2010-07-27 Satish Sampath <satish@chromium.org>
13069 Reviewed by Kent Tamura.
13071 Simplify speech input plumbing in webcore and webkit
13072 https://bugs.webkit.org/show_bug.cgi?id=43008
13074 * src/SpeechInputClientImpl.cpp: Move functionality to WebCore::SpeechInput and make this a dummy proxy.
13075 (WebKit::SpeechInputClientImpl::startRecognition):
13076 (WebKit::SpeechInputClientImpl::cancelRecognition):
13077 (WebKit::SpeechInputClientImpl::didCompleteRecording):
13078 (WebKit::SpeechInputClientImpl::didCompleteRecognition):
13079 (WebKit::SpeechInputClientImpl::setRecognitionResult):
13080 * src/SpeechInputClientImpl.h:
13082 2010-07-26 Dominic Mazzoni <dmazzoni@google.com>
13084 Reviewed by Chris Fleizach.
13086 Add accessor to get the doctype of a WebDocument, needed to
13087 implement Windows accessibility.
13089 https://bugs.webkit.org/show_bug.cgi?id=43003
13092 * public/WebDocument.h:
13093 * public/WebDocumentType.h: Added.
13094 (WebKit::WebDocumentType::WebDocumentType):
13095 (WebKit::WebDocumentType::operator=):
13096 (WebKit::WebDocumentType::assign):
13097 * src/WebDocument.cpp:
13098 (WebKit::WebDocument::doctype):
13099 * src/WebDocumentType.cpp: Added.
13100 (WebKit::WebDocumentType::name):
13101 (WebKit::WebDocumentType::WebDocumentType):
13102 (WebKit::WebDocumentType::operator=):
13103 (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
13105 2010-07-26 Satish Sampath <satish@chromium.org>
13107 Reviewed by Steve Block.
13109 Add WebKit plumbing to connect speech requests and callbacks between WebCore and the embedder.
13110 https://bugs.webkit.org/show_bug.cgi?id=42367
13112 No new tests, the relevant LayoutTestController bindings and tests will be added in the next patch.
13114 * public/WebSpeechInputController.h: Added new interface, implemented by embedder and called by WebKit
13115 (WebKit::WebSpeechInputController::~WebSpeechInputController):
13116 * public/WebSpeechInputListener.h: Added new interface, implemented by WebKit and called by embedder.
13117 (WebKit::WebSpeechInputListener::~WebSpeechInputListener):
13118 * public/WebViewClient.h:
13119 (WebKit::WebViewClient::createSpeechInputClient): New method to get the embedder's speech input client interface.
13120 * src/SpeechInputClientImpl.cpp: Added new class, implementation of a two way connector between WebCore
13121 and the embedder for requests and responses.
13122 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
13123 (WebKit::SpeechInputClientImpl::~SpeechInputClientImpl):
13124 (WebKit::SpeechInputClientImpl::startRecognition):
13125 (WebKit::SpeechInputClientImpl::stopRecording):
13126 (WebKit::SpeechInputClientImpl::didCompleteRecording):
13127 (WebKit::SpeechInputClientImpl::setRecognitionResult):
13128 (WebKit::SpeechInputClientImpl::didCompleteRecognition):
13129 * src/SpeechInputClientImpl.h: Added.
13130 * src/WebViewImpl.cpp:
13131 (WebKit::WebViewImpl::WebViewImpl): Pass on the above mentioned speech input connector to WebCore.
13132 * src/WebViewImpl.h:
13134 2010-07-26 Ilya Tikhonovsky <loislo@chromium.org>
13136 Reviewed by Pavel Feldman.
13138 Chromium DevTools: refactor query params, add basic
13139 support for WebSocket-based backend.
13141 https://bugs.webkit.org/show_bug.cgi?id=42893
13143 * src/js/DevTools.js:
13144 (devtools.ToolsAgent.prototype.dispatchOnClient_):
13145 (WebInspector.loaded):
13146 (WebInspector.doLoadedDone):
13147 (devtools.domContentLoaded):
13148 * src/js/InspectorControllerImpl.js:
13150 2010-07-24 Pavel Feldman <pfeldman@chromium.org>
13152 Not reviewed: chromium build fix.
13154 * src/ApplicationCacheHost.cpp:
13155 (WebCore::ApplicationCacheHost::fillResourceList):
13157 2010-07-23 Kavita Kanetkar <kkanetkar@chromium.org>
13159 Reviewed by Joseph Pecoraro.
13161 Implement remaining Inspector support for chrome's appcache
13162 https://bugs.webkit.org/show_bug.cgi?id=42426
13164 * src/ApplicationCacheHost.cpp: Plugging in chrome's appcache info.
13165 (WebCore::ApplicationCacheHost::applicationCacheInfo):
13166 (WebCore::ApplicationCacheHost::fillResourceList):
13167 * src/js/InspectorControllerImpl.js:
13168 (devtools.InspectorBackendImpl):
13170 2010-07-23 Pavel Feldman <pfeldman@chromium.org>
13172 Reviewed by Reviewed by Yury Semikhatsky.
13174 Chromium DevTools: migrate from utility context-based injected
13175 script dispatch to upstream schema.
13177 https://bugs.webkit.org/show_bug.cgi?id=42883
13179 * src/ToolsAgent.h:
13180 * src/WebDevToolsAgentImpl.cpp:
13181 * src/WebDevToolsAgentImpl.h:
13182 * src/js/DevToolsHostStub.js:
13183 * src/js/InspectorControllerImpl.js:
13184 (devtools.InspectorBackendImpl):
13186 2010-07-23 Pavel Feldman <pfeldman@chromium.org>
13188 Not reviewed: rolling out r63963.
13190 * src/ToolsAgent.h:
13191 * src/WebDevToolsAgentImpl.cpp:
13192 (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
13193 * src/WebDevToolsAgentImpl.h:
13194 * src/js/DevToolsHostStub.js:
13195 (.window.dispatchOnInjectedScript):
13196 * src/js/InspectorControllerImpl.js:
13197 (devtools.InspectorBackendImpl):
13198 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
13200 2010-07-23 Pavel Feldman <pfeldman@chromium.org>
13202 Reviewed by Reviewed by Yury Semikhatsky.
13204 Chromium DevTools: migrate from utility context-based injected
13205 script dispatch to upstream schema.
13207 https://bugs.webkit.org/show_bug.cgi?id=42883
13209 * src/ToolsAgent.h:
13210 * src/WebDevToolsAgentImpl.cpp:
13211 * src/WebDevToolsAgentImpl.h:
13212 * src/js/DevToolsHostStub.js:
13213 * src/js/InspectorControllerImpl.js:
13214 (devtools.InspectorBackendImpl):
13216 2010-07-23 Kent Tamura <tkent@chromium.org>
13218 Reviewed by Shinichiro Hamaji.
13220 Roll Chromium revision
13221 https://bugs.webkit.org/show_bug.cgi?id=42876
13223 * DEPS: Roll Chromium revision to r53434 in order to have the
13224 logger initialization change (r53303)
13226 2010-07-22 Ilya Tikhonovsky <loislo@chromium.org>
13228 Reviewed by Yury Semikhatsky.
13230 WebInspector: CodeGeneratorInspector was extended and now it can
13231 generate InspectorBackedDispatcher's code. This dispatcher will
13232 validate and dispatch incoming inspector commands only by native
13233 code without using javaScript. That is necessary step for
13234 RemoteDebugging support.
13235 https://bugs.webkit.org/show_bug.cgi?id=42588
13237 * src/ToolsAgent.h:
13238 * src/WebDevToolsAgentImpl.cpp:
13239 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
13240 * src/WebDevToolsAgentImpl.h:
13241 * src/js/InspectorControllerImpl.js:
13242 (devtools.InspectorBackendImpl.prototype.callInspectorController_):
13244 2010-07-22 Darin Fisher <darin@chromium.org>
13246 Reviewed by David Levin.
13248 [Chromium] Propagate return value of EventHandler::handleMouseWheelEvent
13249 to caller of WebViewImpl::handleInputEvent.
13251 https://bugs.webkit.org/show_bug.cgi?id=42835
13253 * src/WebViewImpl.cpp:
13254 (WebKit::WebViewImpl::mouseWheel):
13255 (WebKit::WebViewImpl::handleInputEvent):
13256 * src/WebViewImpl.h:
13258 2010-07-22 Darin Fisher <darin@chromium.org>
13260 Reviewed by Kent Tamura.
13262 https://bugs.webkit.org/show_bug.cgi?id=42808
13263 Pass context menu events through WebInputEvent to WebPlugin::handleInputEvent.
13265 The DOM treats a context menu event as a type of mouse event. We therefore
13266 do the same here, and reuse the WebMouseEvent subclass. This makes sense
13267 since a context menu event has (x,y)-coordinates.
13269 * public/WebInputEvent.h:
13270 (WebKit::WebInputEvent::):
13271 (WebKit::WebInputEvent::isMouseEventType):
13272 * src/WebInputEventConversion.cpp:
13273 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
13275 2010-07-22 Andrey Kosyakov <caseq@chromium.org>
13277 Reviewed by Yury Semikhatsky.
13279 Web Inspector: Stop granting universal access to inspector front-end page.
13280 https://bugs.webkit.org/show_bug.cgi?id=42817
13282 * src/WebDevToolsFrontendImpl.cpp:
13283 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
13285 2010-07-22 Alexander Pavlov <apavlov@chromium.org>
13287 Reviewed by Pavel Feldman.
13289 Web Inspector: Rename method for CSS rule source range retrieval and fix return object format
13290 https://bugs.webkit.org/show_bug.cgi?id=42379
13292 * src/js/InspectorControllerImpl.js:
13293 (devtools.InspectorBackendImpl):
13295 2010-07-21 Pavel Feldman <pfeldman@chromium.org>
13297 Reviewed by Yury Semikhatsky.
13299 Chromium Dev Tools: Separators are missing in the context menu.
13301 https://bugs.webkit.org/show_bug.cgi?id=42761
13303 * src/ContextMenuClientImpl.cpp:
13304 (WebKit::ContextMenuClientImpl::populateCustomMenuItems):
13306 2010-07-21 Kent Tamura <tkent@chromium.org>
13308 Reviewed by Dimitri Glazkov.
13310 [DRT/Chromium] Copy the test plugin into DumpRenderTree.app/
13311 https://bugs.webkit.org/show_bug.cgi?id=42733
13313 This was dropped in plugin copy refactoring.
13317 2010-07-21 Brady Eidson <beidson@apple.com>
13319 Reviewed by Geoffrey Garen.
13321 Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
13322 https://bugs.webkit.org/show_bug.cgi?id=42783
13324 * src/WebSecurityPolicy.cpp:
13325 (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
13326 (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
13327 (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
13329 2010-07-21 Bo Liu <boliu@chromium.org>
13331 Reviewed by Darin Fisher.
13333 [Chromium] Add chromium WebMediaPlayer to PlatformMedia
13334 https://bugs.webkit.org/show_bug.cgi?id=41295
13337 * public/WebMediaElement.h: Added.
13338 * src/WebMediaElement.cpp: Added.
13339 (WebKit::WebMediaElement::player):
13340 (WebKit::WebMediaElement::WebMediaElement):
13341 (WebKit::WebMediaElement::operator=):
13342 (WebKit::WebMediaElement::operator PassRefPtr<HTMLMediaElement>):
13343 * src/WebMediaPlayerClientImpl.cpp:
13344 (WebKit::WebMediaPlayerClientImpl::fromMediaElement):
13345 (WebKit::WebMediaPlayerClientImpl::mediaPlayer):
13346 (WebKit::WebMediaPlayerClientImpl::platformLayer):
13347 (WebKit::WebMediaPlayerClientImpl::platformMedia):
13348 * src/WebMediaPlayerClientImpl.h:
13350 2010-07-21 Finnur Thorarinsson <finnur.webkit@gmail.com>
13352 Reviewed by Dimitri Glazkov.
13354 Avoid crashing during find-in-page when |view| is NULL.
13355 https://bugs.webkit.org/show_bug.cgi?id=42760
13357 There are no layout tests because we don't have a repro case
13358 to work with, so this is a speculative fix based on crash dump
13359 diagnosis. See bug for details.
13361 * src/WebFrameImpl.cpp:
13362 (WebKit::WebFrameImpl::shouldScopeMatches):
13364 2010-07-21 Hans Wennborg <hans@chromium.org>
13366 Reviewed by Steve Block.
13368 Runtime feature switch for device orientation
13369 https://bugs.webkit.org/show_bug.cgi?id=42265
13371 Add a runtime feature switch that decides whether device orientation
13372 events are available or not. Defaults to true.
13374 * public/WebRuntimeFeatures.h:
13375 * src/WebRuntimeFeatures.cpp:
13376 (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
13377 (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
13379 2010-07-21 Yury Semikhatsky <yurys@chromium.org>
13381 Reviewed by Pavel Feldman.
13383 Web Inspector: should be possible to debug inspector
13384 https://bugs.webkit.org/show_bug.cgi?id=42730
13386 * src/WebDevToolsFrontendImpl.cpp:
13387 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
13389 2010-07-16 James Hawkins <jhawkins@chromium.org>
13391 Reviewed by Darin Fisher.
13393 [Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to
13394 verify that the user submitted the form instead of JS when saving form
13396 https://bugs.webkit.org/show_bug.cgi?id=42479
13398 * public/WebFormElement.h:
13399 * src/WebFormElement.cpp:
13400 (WebKit::WebFormElement::wasUserSubmitted):
13402 2010-07-20 Daniel Erat <derat@chromium.org>
13404 Reviewed by Ojan Vafai.
13406 Subpixel rendering always disabled for Chromium Linux
13407 https://bugs.webkit.org/show_bug.cgi?id=42220
13409 Honor Fontconfig subpixel rendering setting on Chromium Linux.
13411 * src/gtk/WebFontInfo.cpp:
13412 (WebKit::WebFontInfo::renderStyleForStrike):
13414 2010-07-20 Darin Fisher <darin@chromium.org>
13416 Fix Chromium build bustage.
13418 * src/ResourceHandle.cpp:
13419 (WebCore::ResourceHandle::hasAuthenticationChallenge): Add
13420 implementation of this method that always returns false.
13422 2010-07-20 Darin Fisher <darin@chromium.org>
13424 Reviewed by Jian Li.
13426 [Chromium] Add interface for downloading to a file. This can be used
13427 in the future to support XMLHttpRequest.responseBlob, but it also
13428 serves a use case in Chromium.
13430 https://bugs.webkit.org/show_bug.cgi?id=42657
13432 * public/WebURLLoaderClient.h:
13433 (WebKit::WebURLLoaderClient::willSendRequest):
13434 (WebKit::WebURLLoaderClient::didSendData):
13435 (WebKit::WebURLLoaderClient::didReceiveResponse):
13436 (WebKit::WebURLLoaderClient::didDownloadData):
13437 (WebKit::WebURLLoaderClient::didReceiveData):
13438 (WebKit::WebURLLoaderClient::didFinishLoading):
13439 (WebKit::WebURLLoaderClient::didFail):
13440 * public/WebURLRequest.h:
13441 * public/WebURLResponse.h:
13442 * src/WebURLRequest.cpp:
13443 (WebKit::WebURLRequest::downloadToFile):
13444 (WebKit::WebURLRequest::setDownloadToFile):
13445 * src/WebURLRequestPrivate.h:
13446 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
13447 * src/WebURLResponse.cpp:
13448 (WebKit::WebURLResponse::downloadFilePath):
13449 (WebKit::WebURLResponse::setDownloadFilePath):
13450 * src/WebURLResponsePrivate.h:
13452 2010-07-20 Sheriff Bot <webkit.review.bot@gmail.com>
13454 Unreviewed, rolling out r63750.
13455 http://trac.webkit.org/changeset/63750
13456 https://bugs.webkit.org/show_bug.cgi?id=42648
13458 This revision breaks the windows builds (Requested by
13459 hwennborg on #webkit).
13461 * public/WebRuntimeFeatures.h:
13462 * src/WebRuntimeFeatures.cpp:
13464 2010-07-19 Victor Wang <victorw@chromium.org>
13466 Reviewed by Darin Fisher.
13468 [Chromium] Add webkit api reset to WebIDBDatabaseError and WebIDBKey
13469 and refactor their destructors for chromium multi dll build.
13471 https://bugs.webkit.org/show_bug.cgi?id=42574
13473 * public/WebIDBDatabaseError.h:
13474 (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
13475 * public/WebIDBKey.h:
13476 (WebKit::WebIDBKey::~WebIDBKey):
13477 * src/WebIDBDatabaseError.cpp:
13478 (WebKit::WebIDBDatabaseError::reset):
13479 * src/WebIDBKey.cpp:
13480 (WebKit::WebIDBKey::reset):
13482 2010-07-20 Hans Wennborg <hans@chromium.org>
13484 Reviewed by Steve Block.
13486 Runtime feature switch for device orientation
13487 https://bugs.webkit.org/show_bug.cgi?id=42265
13489 Add a runtime feature switch that decides whether device orientation
13490 events are available or not. Defaults to true.
13492 * public/WebRuntimeFeatures.h:
13493 * src/WebRuntimeFeatures.cpp:
13494 (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
13495 (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
13497 2010-07-19 Victoria Kirst <vrk@google.com>
13499 Reviewed by David Levin.
13501 Updated WebMediaPlayer to support accelerated rendering and to
13502 create and return a VideoChromiumLayer as its platform layer.
13503 https://bugs.webkit.org/show_bug.cgi?id=42234
13505 * src/WebMediaPlayerClientImpl.cpp:
13506 (WebKit::WebMediaPlayerClientImpl::platformLayer):
13507 (WebKit::WebMediaPlayerClientImpl::create):
13508 * src/WebMediaPlayerClientImpl.h:
13509 (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
13511 2010-07-19 Kenneth Russell <kbr@google.com>
13513 Reviewed by Nate Chapin.
13515 WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
13516 https://bugs.webkit.org/show_bug.cgi?id=34719
13518 Fixed compiler warning introduced by original patch.
13520 * src/WebGraphicsContext3DDefaultImpl.cpp:
13521 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
13523 2010-07-19 Tony Chang <tony@chromium.org>
13525 Reviewed by Kent Tamura.
13527 [chromium] refactor npapi plugin copy step
13528 https://bugs.webkit.org/show_bug.cgi?id=42493
13530 This is to avoid duplicate copy rules in the Linux make build.
13533 * DEPS: 52483:52869
13535 2010-07-19 Ilya Tikhonovsky <loislo@chromium.org>
13537 Reviewed by Pavel Feldman.
13539 Web Inspector: Live edit is not working in chromium.
13540 https://bugs.webkit.org/show_bug.cgi?id=42572
13542 * src/js/DebuggerScript.js:
13544 2010-07-16 Pavel Podivilov <podivilov@chromium.org>
13546 Reviewed by Pavel Feldman.
13548 [V8] Web Inspector: get actual breakpoint location from v8 and pass it
13549 to ScripDebugServer.
13550 https://bugs.webkit.org/show_bug.cgi?id=42452
13552 * src/js/DebuggerScript.js:
13554 2010-07-17 John Gregg <johnnyg@google.com>
13556 Reviewed by Kent Tamura.
13558 [chromium] directory upload: pass the attribute up to the chrome client
13559 https://bugs.webkit.org/show_bug.cgi?id=42475
13561 This allows chromium to display the native system directory picker when
13562 the directory attribute is present on the input element.
13564 * public/WebFileChooserParams.h:
13565 * src/ChromeClientImpl.cpp:
13566 (WebKit::ChromeClientImpl::runOpenPanel):
13568 2010-07-16 Zhe Su <suzhe@chromium.org>
13570 Reviewed by Darin Adler.
13572 REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
13573 https://bugs.webkit.org/show_bug.cgi?id=42253
13575 Implement EditorClient::willSetInputMethodState which replaces
13576 setInputMethodState method.
13578 * src/EditorClientImpl.cpp:
13579 (WebKit::EditorClientImpl::willSetInputMethodState):
13580 (WebKit::EditorClientImpl::setInputMethodState):
13581 * src/EditorClientImpl.h:
13583 2010-07-16 Kent Tamura <tkent@chromium.org>
13585 Reviewed by Darin Fisher.
13587 [Chromium] <input type=number> UI implementation for Windows
13588 https://bugs.webkit.org/show_bug.cgi?id=42259
13590 * public/WebThemeEngine.h:
13591 (WebKit::WebThemeEngine::paintSpinButton): Added.
13592 * src/ChromiumBridge.cpp:
13593 (WebCore::ChromiumBridge::paintSpinButton):
13594 Added. It calls WebThemeEngine::paintSpinButton().
13596 2010-07-16 James Robinson <jamesr@chromium.org>
13598 Reviewed by Darin Fisher.
13600 [chromium] Avoid crashing if offscreen GLES2 context creation fails
13601 https://bugs.webkit.org/show_bug.cgi?id=42469
13603 If creating or initializing an offscreen GLES2Context fails we should return null
13604 rather than crashing or returning an invalid context.
13606 * src/WebViewImpl.cpp:
13607 (WebKit::WebViewImpl::getOffscreenGLES2Context):
13609 2010-07-15 Tony Gentilcore <tonyg@chromium.org>
13611 Reviewed by Darin Fisher.
13613 Enable window.webkitPerformance (Web Timing) for chromium
13614 https://bugs.webkit.org/show_bug.cgi?id=42313
13618 2010-07-16 Sheriff Bot <webkit.review.bot@gmail.com>
13620 Unreviewed, rolling out r63551.
13621 http://trac.webkit.org/changeset/63551
13622 https://bugs.webkit.org/show_bug.cgi?id=42460
13624 "Problems with gyp" (Requested by yurys on #webkit).
13628 2010-07-16 Yury Semikhatsky <yurys@chromium.org>
13630 Unreviewed. Bump up Chromium revision.
13634 2010-07-16 Pavel Feldman <pfeldman@chromium.org>
13636 Reviewed by Yury Semikhatsky.
13638 Web Inspector: disable AppCache in chromium.
13640 https://bugs.webkit.org/show_bug.cgi?id=41858
13642 * src/js/DevTools.js:
13643 (WebInspector.loaded):
13645 2010-07-16 Alexander Pavlov <apavlov@chromium.org>
13647 Reviewed by Yury Semikhatsky.
13649 Web Inspector: [Chromium] A non-existent resource is referenced from devTools.css
13651 The erroneous rule has been removed.
13652 https://bugs.webkit.org/show_bug.cgi?id=42454
13654 * src/js/devTools.css:
13656 2010-07-16 Andrey Kosyakov <caseq@chromium.org>
13658 Reviewed by Pavel Feldman.
13660 Check that end node of a range has a valid renderer in WebViewImpl::caretOrSelectionBounds()
13661 to avoid crash in Position::getInlineBoxAndOffset() when start node has renderer but end one doesn't.
13662 https://bugs.webkit.org/show_bug.cgi?id=42449
13664 * src/WebViewImpl.cpp:
13665 (WebKit::WebViewImpl::caretOrSelectionBounds):
13667 2010-07-16 Mikhail Naganov <mnaganov@chromium.org>
13669 Reviewed by Pavel Feldman.
13671 Make JS memory stats available via 'Performance' object (Web Timing).
13672 This statistics is populated only if 'WebKitMemoryInfoEnabled'
13675 'console.memory' is kept until Web Timing object becomes visible by
13676 default (currently it is hidden under compile-time flag). These stats
13677 are guarded with the same preference.
13679 https://bugs.webkit.org/show_bug.cgi?id=41617
13681 * public/WebSettings.h:
13682 * src/WebSettingsImpl.cpp:
13683 (WebKit::WebSettingsImpl::setMemoryInfoEnabled):
13684 * src/WebSettingsImpl.h:
13686 2010-07-15 Victor Wang <victorw@chromium.org>
13688 Reviewed by David Levin.
13690 [Chromium] Chromium webkit dll updates:
13691 -. Fix WEBKIT_IMPLEMENTATION in WebCommon so
13692 dllimport works as expected.
13693 -. Update webkit.gyp so targets that depend on webkit
13694 has correct macros defined.
13696 https://bugs.webkit.org/show_bug.cgi?id=42177
13699 * public/WebCommon.h:
13701 2010-07-13 Zhenyao Mo <zmo@google.com>
13703 Reviewed by Nate Chapin.
13705 WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
13706 https://bugs.webkit.org/show_bug.cgi?id=34719
13708 * src/GraphicsContext3D.cpp:
13709 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): Implement paintRenderingResultsToCanvas().
13710 (WebCore::GraphicsContext3DInternal::beginPaint): Just use paintRenderingResultsToCanvas().
13712 2010-07-15 Victor Wang <victorw@chromium.org>
13714 Reviewed by David Levin.
13716 Roll Chromium DEPS forward to r52483.
13717 https://bugs.webkit.org/show_bug.cgi?id=42386
13721 2010-07-15 Scott Violet <sky@chromium.org>
13723 Reviewed by David Levin.
13725 [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name
13726 https://bugs.webkit.org/show_bug.cgi?id=42385
13728 * src/WebViewImpl.cpp:
13729 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name.
13731 2010-07-15 Sheriff Bot <webkit.review.bot@gmail.com>
13733 Unreviewed, rolling out r63446.
13734 http://trac.webkit.org/changeset/63446
13735 https://bugs.webkit.org/show_bug.cgi?id=42412
13737 It broke the Chromium Windows bot due to missing dependencies
13738 there. (Requested by dave_levin on #webkit).
13742 2010-07-15 Victor Wang <victorw@chromium.org>
13744 Reviewed by David Levin.
13746 Roll Chromium DEPS forward to r52483.
13747 https://bugs.webkit.org/show_bug.cgi?id=42386
13751 2010-07-15 Michael Nordman <michaeln@google.com>
13753 Reviewed by Darin Fisher.
13755 WebKitAPI additions to support inspecting application caches.
13756 https://bugs.webkit.org/show_bug.cgi?id=41993
13758 * public/WebApplicationCacheHost.h:
13759 (WebKit::WebApplicationCacheHost::CacheInfo::CacheInfo):
13760 (WebKit::WebApplicationCacheHost::ResourceInfo::ResourceInfo):
13761 (WebKit::WebApplicationCacheHost::getAssociatedCacheInfo):
13762 (WebKit::WebApplicationCacheHost::getResourceList):
13763 (WebKit::WebApplicationCacheHost::deleteAssociatedCacheGroup):
13764 * public/WebApplicationCacheHostClient.h:
13765 (WebKit::WebApplicationCacheHostClient::didChangeCacheAssociation):
13766 * src/ApplicationCacheHostInternal.h:
13767 (WebCore::ApplicationCacheHostInternal::didChangeCacheAssociation):
13769 2010-07-15 Pavel Feldman <pfeldman@chromium.org>
13771 Reviewed by Yury Semikhatsky.
13773 Web Inspector: differentiate between blocking and connecting timers.
13775 https://bugs.webkit.org/show_bug.cgi?id=42372
13777 * public/WebURLResponse.h:
13778 * src/WebURLResponse.cpp:
13779 (WebKit::WebURLResponse::connectionReused):
13780 (WebKit::WebURLResponse::setConnectionReused):
13782 2010-07-15 Pavel Podivilov <podivilov@chromium.org>
13784 Reviewed by Yury Semikhatsky.
13786 Fix mac compilation failure
13787 https://bugs.webkit.org/show_bug.cgi?id=42344
13789 * src/AutoFillPopupMenuClient.cpp:
13790 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
13791 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
13793 2010-07-14 George Yakovlev <georgey@chromium.org>
13795 Reviewed by Darin Fisher.
13797 Allow Chromium access to Select control choices
13798 https://bugs.webkit.org/show_bug.cgi?id=41384
13801 * public/WebOptionElement.h: Added.
13802 (WebKit::WebOptionElement::WebOptionElement):
13803 (WebKit::WebOptionElement::operator=):
13804 (WebKit::WebOptionElement::assign):
13805 * public/WebSelectElement.h:
13806 * src/WebOptionElement.cpp: Added.
13807 (WebKit::WebOptionElement::setValue):
13808 (WebKit::WebOptionElement::value):
13809 (WebKit::WebOptionElement::index):
13810 (WebKit::WebOptionElement::text):
13811 (WebKit::WebOptionElement::defaultSelected):
13812 (WebKit::WebOptionElement::setDefaultSelected):
13813 (WebKit::WebOptionElement::label):
13814 (WebKit::WebOptionElement::disabled):
13815 (WebKit::WebOptionElement::WebOptionElement):
13816 (WebKit::WebOptionElement::operator=):
13817 (WebKit::WebOptionElement::operator PassRefPtr<HTMLOptionElement>):
13818 * src/WebSelectElement.cpp:
13819 (WebKit::WebSelectElement::listItems):
13821 2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
13823 Unreviewed, rolling out r63389.
13824 http://trac.webkit.org/changeset/63389
13825 https://bugs.webkit.org/show_bug.cgi?id=42311
13827 It broke the Chromium Linux build. (Requested by dave_levin on
13832 * public/WebCommon.h:
13834 2010-07-14 Scott Violet <sky@chromium.org>
13836 Reviewed by David Levin.
13838 [chromium] Autofill menu shows seperator at the wrong place when an entry is deleted
13839 https://bugs.webkit.org/show_bug.cgi?id=42210
13841 * src/AutoFillPopupMenuClient.cpp:
13842 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): Updates internal data appropriately.
13843 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Now called before removal to see if can remove.
13844 * src/AutoFillPopupMenuClient.h: Fixed whitespace and added method.
13845 * src/WebViewImpl.cpp:
13846 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Added call to canRemoveSuggestionAtIndex.
13848 2010-07-14 James Robinson <jamesr@chromium.org>
13850 Unreviewed. Compile fix, initialization/declaration order mismatch.
13852 * src/GLES2ContextInternal.h:
13854 2010-07-14 Jay Civelli <jcivelli@chromium.org>
13856 Reviewed by David Levin.
13858 [chromium] don't restrict the width of the autofill popup.
13859 https://bugs.webkit.org/show_bug.cgi?id=42206
13861 * src/WebViewImpl.cpp:
13863 2010-07-14 Victor Wang <victorw@chromium.org>
13865 Reviewed by Darin Fisher.
13867 [Chromium] Chromium webkit dll updates:
13868 -. Fix WEBKIT_IMPLEMENTATION in WebCommon so
13869 dllimport works as expected.
13870 -. Update webkit.gyp so targets that depend on webkit
13871 has correct macros defined.
13872 -. Roll forward chromium deps to r52273.
13874 https://bugs.webkit.org/show_bug.cgi?id=42177
13878 * public/WebCommon.h:
13880 2010-07-14 James Hawkins <jhawkins@chromium.org>
13882 UNREVIEWED Build Fix.
13886 * src/WebViewImpl.cpp:
13887 (WebKit::WebViewImpl::applyAutoFillSuggestions):
13889 2010-07-14 James Robinson <jamesr@chromium.org>
13891 Reviewed by Darin Fisher.
13893 Breaks all dependencies on Page from platform/ and cleans up GLES2Context lifetime
13894 https://bugs.webkit.org/show_bug.cgi?id=42203
13896 Rather than constructing a GLES2Context from a Page, pass the LayerRendererChromium
13897 a GLES2Context in from the constructor. This way the platform/ directory can remain
13898 ignorant of Page and friends. Also adds functions on ChromeClientChromium to request
13899 onscreen and offscreen GLES2Contexts for callers in WebCore that need them.
13902 * src/ChromeClientImpl.cpp:
13903 (WebKit::ChromeClientImpl::getOnscreenGLES2Context):
13904 (WebKit::ChromeClientImpl::getOffscreenGLES2Context):
13905 * src/ChromeClientImpl.h:
13906 * src/GLES2Context.cpp:
13907 (WebCore::GLES2ContextInternal::create):
13908 (WebCore::GLES2Context::create):
13909 (WebCore::GLES2Context::GLES2Context):
13910 * src/GLES2ContextInternal.cpp: Added.
13911 (WebCore::GLES2ContextInternal::~GLES2ContextInternal):
13912 * src/GLES2ContextInternal.h: Added.
13913 (WebCore::GLES2ContextInternal::getWebGLES2Context):
13914 (WebCore::GLES2ContextInternal::GLES2ContextInternal):
13915 * src/WebViewImpl.cpp:
13916 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
13917 (WebKit::WebViewImpl::getOnscreenGLES2Context):
13918 (WebKit::WebViewImpl::getOffscreenGLES2Context):
13919 * src/WebViewImpl.h:
13921 2010-07-14 James Hawkins <jhawkins@chromium.org>
13923 Reviewed by Darin Fisher.
13925 [Chromium] Use the unique ID instead of the profile label to identify
13926 the accepted AutoFill suggestion.
13927 https://bugs.webkit.org/show_bug.cgi?id=42301
13929 * public/WebView.h:
13930 * public/WebViewClient.h:
13931 (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
13932 (WebKit::WebViewClient::didSelectAutoFillSuggestion):
13933 * src/AutoFillPopupMenuClient.cpp:
13934 (WebKit::AutoFillPopupMenuClient::valueChanged):
13935 (WebKit::AutoFillPopupMenuClient::selectionChanged):
13936 (WebKit::AutoFillPopupMenuClient::initialize):
13937 (WebKit::AutoFillPopupMenuClient::setSuggestions):
13938 (WebKit::AutoFillPopupMenuClient::textFieldStyle):
13939 * src/AutoFillPopupMenuClient.h:
13940 * src/WebViewImpl.cpp:
13941 (WebKit::WebViewImpl::applyAutoFillSuggestions):
13942 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
13943 * src/WebViewImpl.h:
13945 2010-07-14 Jay Civelli <jcivelli@chromium.org>
13947 Reviewed by David Levin.
13949 Don't notify the WebView that the popup has been closed when the
13950 selection is cleared, as the popup is not gone and would linger
13952 https://bugs.webkit.org/show_bug.cgi?id=42180
13954 * src/AutoFillPopupMenuClient.cpp:
13955 (WebKit::AutoFillPopupMenuClient::selectionCleared):
13957 2010-07-14 Sam Weinig <sam@webkit.org>
13959 Fix the chromium mac build.
13961 * src/WebPopupMenuImpl.cpp:
13962 (WebKit::WebPopupMenuImpl::setCursor):
13964 2010-07-14 Sam Weinig <sam@webkit.org>
13966 Reviewed by Darin Adler.
13968 Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
13969 Make changing Cursors work in WebKit2.
13971 * src/ChromeClientImpl.h:
13972 (WebKit::ChromeClientImpl::setCursor):
13973 Change prototype to match new one.
13975 * src/WebPopupMenuImpl.cpp:
13976 (WebKit::WebPopupMenuImpl::setCursor):
13977 * src/WebPopupMenuImpl.h:
13978 Add empty setCursor function to satisfy the HostWindow interface.
13980 2010-07-13 Alexey Proskuryakov <ap@apple.com>
13982 Reviewed by Darin Adler.
13984 https://bugs.webkit.org/show_bug.cgi?id=42201
13985 Use ResourceHandle object for synchronous loading
13987 * src/ResourceHandle.cpp:
13988 (WebCore::ResourceHandle::request):
13989 This method is no longer const in cross-platform code, and is called firstRequest.
13991 2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
13993 Unreviewed, rolling out r63305.
13994 http://trac.webkit.org/changeset/63305
13995 https://bugs.webkit.org/show_bug.cgi?id=42256
13997 "debugger-breakpoints-not-activated-on-reload.html fails on
13998 GTK" (Requested by yurys on #webkit).
14000 * src/js/DebuggerScript.js:
14003 2010-07-14 Yury Semikhatsky <yurys@chromium.org>
14005 Reviewed by Pavel Feldman.
14007 Web Inspector: remove v8 debugger code that doesn't use ScriptDebugServer
14008 https://bugs.webkit.org/show_bug.cgi?id=42164
14011 * src/DebuggerAgentManager.cpp:
14012 (WebKit::DebuggerAgentManager::debugAttach):
14013 (WebKit::DebuggerAgentManager::debugDetach):
14014 * src/InspectorFrontendClientImpl.cpp:
14015 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
14016 * src/WebDevToolsAgentImpl.cpp:
14017 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
14018 (WebKit::WebDevToolsAgentImpl::attach):
14019 (WebKit::WebDevToolsAgentImpl::didNavigate):
14020 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
14021 * src/js/DebuggerAgent.js: Removed.
14022 * src/js/DevTools.js:
14023 (devtools.ToolsAgent):
14024 (WebInspector.loaded):
14025 * src/js/DevToolsHostStub.js:
14026 * src/js/InspectorControllerImpl.js:
14027 (devtools.InspectorBackendImpl):
14029 (.TestSuite.prototype.testAutoContinueOnSyntaxError):
14030 (.TestSuite.prototype.testExpandScope.examineScopes):
14031 (.TestSuite.prototype.testExpandScope):
14032 (.TestSuite.prototype.testDebugIntrinsicProperties):
14034 2010-07-14 Ilya Tikhonovsky <loislo@chromium.org>
14036 Reviewed by Yury Semikhatsky.
14038 WebInspector: Clean-up InspectorBackend code. In the next changes
14039 InspectorBackend content will be generated by scripts. As far as
14040 generator is very simple thing all nontrivial function should be
14041 moved to InspectorController and DOMAgent.
14042 https://bugs.webkit.org/show_bug.cgi?id=42171
14044 * src/js/InspectorControllerImpl.js:
14045 (devtools.InspectorBackendImpl):
14046 (.devtools.InspectorBackendImpl.prototype.pause):
14047 (.devtools.InspectorBackendImpl.prototype.resume):
14048 (.devtools.InspectorBackendImpl.prototype.stepIntoStatement):
14049 (.devtools.InspectorBackendImpl.prototype.stepOutOfFunction):
14050 (.devtools.InspectorBackendImpl.prototype.stepOverStatement):
14051 (else.devtools.InspectorBackendImpl.prototype.pause):
14053 2010-07-14 Pavel Podivilov <podivilov@chromium.org>
14055 Reviewed by Yury Semikhatsky.
14057 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
14058 https://bugs.webkit.org/show_bug.cgi?id=41461
14060 * src/js/DebuggerScript.js:
14063 2010-07-14 Kent Tamura <tkent@chromium.org>
14065 Unreviewed, 2nd attempt to fix build on 'Webkit.org Reliability Builder'.
14069 2010-07-14 Kent Tamura <tkent@chromium.org>
14071 Unreviewed, attempt to fix build on 'Webkit.org Reliability Builder'.
14075 2010-07-14 Kent Tamura <tkent@chromium.org>
14077 Reviewed by David Levin.
14079 [Chromium] Upstreaming inspector_resources target
14080 https://bugs.webkit.org/show_bug.cgi?id=41669
14082 'inspector_resource' is currently in src/webkit/webkit.gyp of
14083 Chromium tree. We move it to WebKit tree because:
14084 - DumpRenderTree in WebKit tree needs it, and
14085 - It's hard to refer to WebKit.gypi and WebCore.gypi from
14086 webkit_support in both cases of Chromium-tree build and
14091 2010-07-13 Kent Tamura <tkent@chromium.org>
14093 Reviewed by Darin Fisher.
14095 [Chromium] Linux implementation of <input type=number> UI
14096 https://bugs.webkit.org/show_bug.cgi?id=41925
14098 * src/WebViewImpl.cpp:
14099 (WebKit::WebViewImpl::setScrollbarColors):
14100 Call PlatformThemeChromiumGtk::setScrollbarColors() instead of
14101 RenderThemeChromiumLinux::setScrollbarColors().
14103 2010-07-13 Chris Guillory <chris.guillory@google.com>
14105 Reviewed by David Levin.
14107 Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp.
14108 https://bugs.webkit.org/show_bug.cgi?id=42092
14110 * src/WebAccessibilityCacheImpl.cpp:
14111 (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
14112 (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
14114 2010-07-13 Albert J. Wong <ajwong@chromium.org>
14116 Unreviewed, build fix.
14118 [chromium] The comparision between signed/unsigned breaks the chromium
14121 * src/AutoFillPopupMenuClient.cpp:
14122 (WebKit::AutoFillPopupMenuClient::getSuggestion):
14123 (WebKit::AutoFillPopupMenuClient::getLabel):
14125 2010-07-10 Zhenyao Mo <zmo@google.com>
14127 Reviewed by Darin Fisher.
14129 Implement bufferData and bufferSubData with ArrayBuffer as input
14130 https://bugs.webkit.org/show_bug.cgi?id=41884
14132 * src/GraphicsContext3D.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input.
14133 (WebCore::GraphicsContext3DInternal::bufferData):
14134 (WebCore::GraphicsContext3DInternal::bufferSubData):
14136 2010-07-10 Zhenyao Mo <zmo@google.com>
14138 Reviewed by Darin Fisher.
14140 Need to emulate MAX_VARYING_VECTORS/MAX_FRAGMENT_UNIFORM_VECTORs/MAX_VERTEX_UNIFORM_VECTORS for glGet
14141 https://bugs.webkit.org/show_bug.cgi?id=42032
14143 * src/WebGraphicsContext3DDefaultImpl.cpp:
14144 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate the enums.
14146 2010-07-13 Andrey Kosyakov <caseq@chromium.org>
14148 Reviewed by Yury Semikhatsky.
14150 Web Inspector: catch and log JS exceptions resulting from executing a
14151 script on inspector front-end to prevent renderer from crashing.
14152 https://bugs.webkit.org/show_bug.cgi?id=42157
14154 * src/WebDevToolsFrontendImpl.cpp:
14155 (WebKit::WebDevToolsFrontendImpl::executeScript):
14157 2010-07-13 Kent Tamura <tkent@chromium.org>
14159 Unreviewed, build fix.
14161 Fix a build error by r63179 for Chromium.
14163 * tests/PopupMenuTest.cpp:
14164 (WebKit::TestPopupMenuClient::itemLabel): Added.
14166 2010-07-12 Jay Civelli <jcivelli@chromium.org>
14168 Reviewed by Kent Tamura.
14170 Making the autofill popup use labels to show the label
14171 associated with an item.
14172 https://bugs.webkit.org/show_bug.cgi?id=41964
14174 * src/AutoFillPopupMenuClient.cpp:
14175 (WebKit::AutoFillPopupMenuClient::getSuggestion):
14176 (WebKit::AutoFillPopupMenuClient::getLabel):
14177 (WebKit::AutoFillPopupMenuClient::itemLabel):
14178 (WebKit::AutoFillPopupMenuClient::setSuggestions):
14179 (WebKit::AutoFillPopupMenuClient::convertListIndexToInternalIndex):
14180 * src/AutoFillPopupMenuClient.h:
14182 2010-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
14184 Unreviewed, rolling out r63171.
14185 http://trac.webkit.org/changeset/63171
14186 https://bugs.webkit.org/show_bug.cgi?id=42144
14188 Broke Chromium canary (Requested by tkent on #webkit).
14192 2010-07-12 Kent Tamura <tkent@chromium.org>
14194 Reviewed by David Levin.
14196 [Chromium] Upstreaming inspector_resources target
14197 https://bugs.webkit.org/show_bug.cgi?id=41669
14199 'inspector_resource' is currently in src/webkit/webkit.gyp of
14200 Chromium tree. We move it to WebKit tree because:
14201 - DumpRenderTree in WebKit tree needs it, and
14202 - It's hard to refer to WebKit.gypi and WebCore.gypi from
14203 webkit_support in both cases of Chromium-tree build and
14208 2010-07-12 Viet-Trung Luu <viettrungluu@chromium.org>
14210 Reviewed by Darin Fisher.
14212 [Chromium] Pass key down events on to plugins.
14213 https://bugs.webkit.org/show_bug.cgi?id=42113
14215 * src/WebPluginContainerImpl.cpp:
14216 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
14218 2010-07-12 Pavel Feldman <pfeldman@chromium.org>
14220 Reviewed by Joseph Pecoraro.
14222 Web Inspector: provide starts and ends for network phases instead of duration.
14224 https://bugs.webkit.org/show_bug.cgi?id=42091
14226 * public/WebURLLoadTiming.h:
14227 * public/WebURLResponse.h:
14228 * src/WebURLLoadTiming.cpp:
14229 (WebKit::WebURLLoadTiming::proxyStart):
14230 (WebKit::WebURLLoadTiming::setProxyStart):
14231 (WebKit::WebURLLoadTiming::proxyEnd):
14232 (WebKit::WebURLLoadTiming::setProxyEnd):
14233 (WebKit::WebURLLoadTiming::dnsStart):
14234 (WebKit::WebURLLoadTiming::setDNSStart):
14235 (WebKit::WebURLLoadTiming::dnsEnd):
14236 (WebKit::WebURLLoadTiming::setDNSEnd):
14237 (WebKit::WebURLLoadTiming::connectStart):
14238 (WebKit::WebURLLoadTiming::setConnectStart):
14239 (WebKit::WebURLLoadTiming::connectEnd):
14240 (WebKit::WebURLLoadTiming::setConnectEnd):
14241 (WebKit::WebURLLoadTiming::sendStart):
14242 (WebKit::WebURLLoadTiming::setSendStart):
14243 (WebKit::WebURLLoadTiming::sendEnd):
14244 (WebKit::WebURLLoadTiming::setSendEnd):
14245 (WebKit::WebURLLoadTiming::receiveHeadersStart):
14246 (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
14247 (WebKit::WebURLLoadTiming::receiveHeadersEnd):
14248 (WebKit::WebURLLoadTiming::setReceiveHeadersEnd):
14249 (WebKit::WebURLLoadTiming::sslStart):
14250 (WebKit::WebURLLoadTiming::setSSLStart):
14251 (WebKit::WebURLLoadTiming::sslEnd):
14252 (WebKit::WebURLLoadTiming::setSSLEnd):
14253 * src/WebURLResponse.cpp:
14254 (WebKit::WebURLResponse::wasCached):
14255 (WebKit::WebURLResponse::setWasCached):
14257 2010-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
14259 Unreviewed, rolling out r63156.
14260 http://trac.webkit.org/changeset/63156
14261 https://bugs.webkit.org/show_bug.cgi?id=42129
14263 broke chromium compile (Requested by jamesr on #webkit).
14266 * public/WebAccessibilityObject.h:
14267 * public/WebAttribute.h: Removed.
14268 * public/WebDocumentType.h: Removed.
14269 * public/WebElement.h:
14270 * public/WebNamedNodeMap.h: Removed.
14271 * public/WebNode.h:
14272 * public/WebRenderStyle.h: Removed.
14273 * src/WebAccessibilityObject.cpp:
14274 * src/WebAttribute.cpp: Removed.
14275 * src/WebDocumentType.cpp: Removed.
14276 * src/WebElement.cpp:
14277 * src/WebNamedNodeMap.cpp: Removed.
14279 * src/WebRenderStyle.cpp: Removed.
14281 2010-07-12 Dominic Mazzoni <dmazzoni@google.com>
14283 Reviewed by Darin Fisher.
14285 Add methods to WebAccessibilityObject to access the Node and
14286 Document, and then add methods to access some document, node,
14287 and element properties needed for Windows accessibility.
14289 https://bugs.webkit.org/show_bug.cgi?id=41569
14292 * public/WebAccessibilityObject.h:
14293 * public/WebAttribute.h: Added.
14294 (WebKit::WebAttribute::~WebAttribute):
14295 (WebKit::WebAttribute::WebAttribute):
14296 (WebKit::WebAttribute::operator=):
14297 * public/WebDocumentType.h: Added.
14298 (WebKit::WebDocumentType::WebDocumentType):
14299 (WebKit::WebDocumentType::operator=):
14300 (WebKit::WebDocumentType::assign):
14301 * public/WebElement.h:
14302 * public/WebNamedNodeMap.h: Added.
14303 (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
14304 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
14305 (WebKit::WebNamedNodeMap::operator=):
14306 * public/WebNode.h:
14307 * public/WebRenderStyle.h: Added.
14308 (WebKit::WebRenderStyle::~WebRenderStyle):
14309 (WebKit::WebRenderStyle::WebRenderStyle):
14310 (WebKit::WebRenderStyle::operator=):
14311 * src/WebAccessibilityObject.cpp:
14312 (WebKit::WebAccessibilityObject::node):
14313 (WebKit::WebAccessibilityObject::document):
14314 * src/WebAttribute.cpp: Added.
14315 (WebKit::WebAttribute::reset):
14316 (WebKit::WebAttribute::assign):
14317 (WebKit::WebAttribute::WebAttribute):
14318 (WebKit::WebAttribute::localName):
14319 (WebKit::WebAttribute::value):
14320 * src/WebDocumentType.cpp: Added.
14321 (WebKit::WebDocumentType::name):
14322 (WebKit::WebDocumentType::WebDocumentType):
14323 (WebKit::WebDocumentType::operator=):
14324 (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
14325 * src/WebElement.cpp:
14326 (WebKit::WebElement::attributes):
14327 * src/WebNamedNodeMap.cpp: Added.
14328 (WebKit::WebNamedNodeMap::reset):
14329 (WebKit::WebNamedNodeMap::assign):
14330 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
14331 (WebKit::WebNamedNodeMap::length):
14332 (WebKit::WebNamedNodeMap::attributeItem):
14334 (WebKit::WebNode::element):
14335 (WebKit::WebNode::hasComputedStyle):
14336 (WebKit::WebNode::computedStyle):
14337 * src/WebRenderStyle.cpp: Added.
14338 (WebKit::WebRenderStyle::reset):
14339 (WebKit::WebRenderStyle::assign):
14340 (WebKit::WebRenderStyle::WebRenderStyle):
14341 (WebKit::WebRenderStyle::display):
14343 2010-07-12 Alexander Pavlov <apavlov@chromium.org>
14345 Reviewed by Yury Semikhatsky.
14347 [Chromium] Crash when stepping on a breakpoint while debugging Web Inspector
14348 https://bugs.webkit.org/show_bug.cgi?id=41958
14350 * src/WebViewImpl.cpp:
14351 (WebKit::WebView::willEnterModalLoop):
14352 (WebKit::WebView::didExitModalLoop):
14354 2010-07-12 Jeremy Orlow <jorlow@chromium.org>
14356 Speculative fix for visual studio retardedness.
14358 * public/WebCommon.h:
14360 2010-07-12 Jeremy Orlow <jorlow@chromium.org>
14362 Build fix. Add an include.
14364 * public/WebCommon.h:
14366 2010-06-27 Jeremy Orlow <jorlow@chromium.org>
14368 Reviewed by Dumitru Daniliuc.
14370 Implement IDBObjectStore.get/set/remove
14371 https://bugs.webkit.org/show_bug.cgi?id=41250
14373 Plumbing for new features, IDBKey, and added support
14374 for both invalid (i.e. not serializable) and null
14375 (i.e. the RefPtr was 0) to SerializedScriptValue.
14378 * public/WebIDBCallbacks.h:
14379 (WebKit::WebIDBCallbacks::onSuccess):
14380 * public/WebIDBKey.h: Added.
14381 (WebKit::WebIDBKey::WebIDBKey):
14382 (WebKit::WebIDBKey::operator=):
14383 (WebKit::WebIDBKey::):
14384 * public/WebIDBObjectStore.h:
14385 (WebKit::WebIDBObjectStore::get):
14386 (WebKit::WebIDBObjectStore::set):
14387 (WebKit::WebIDBObjectStore::remove):
14388 (WebKit::WebIDBObjectStore::createIndex):
14389 (WebKit::WebIDBObjectStore::index):
14390 (WebKit::WebIDBObjectStore::removeIndex):
14391 * public/WebSerializedScriptValue.h:
14392 * src/IDBCallbacksProxy.cpp:
14393 (WebCore::IDBCallbacksProxy::onSuccess):
14394 * src/IDBCallbacksProxy.h:
14395 * src/IDBObjectStoreProxy.cpp:
14396 (WebCore::IDBObjectStoreProxy::get):
14397 (WebCore::IDBObjectStoreProxy::set):
14398 (WebCore::IDBObjectStoreProxy::remove):
14399 * src/IDBObjectStoreProxy.h:
14400 * src/WebIDBCallbacksImpl.cpp:
14401 (WebCore::WebIDBCallbacksImpl::onSuccess):
14402 * src/WebIDBCallbacksImpl.h:
14403 * src/WebIDBKey.cpp: Added.
14404 (WebKit::WebIDBKey::~WebIDBKey):
14405 (WebKit::WebIDBKey::createNull):
14406 (WebKit::WebIDBKey::createInvalid):
14407 (WebKit::WebIDBKey::assign):
14408 (WebKit::WebIDBKey::assignNull):
14409 (WebKit::WebIDBKey::assignInvalid):
14410 (WebKit::WebIDBKey::type):
14411 (WebKit::WebIDBKey::string):
14412 (WebKit::WebIDBKey::number):
14413 (WebKit::WebIDBKey::WebIDBKey):
14414 (WebKit::WebIDBKey::operator=):
14415 (WebKit::WebIDBKey::operator PassRefPtr<IDBKey>):
14416 * src/WebIDBObjectStoreImpl.cpp:
14417 (WebKit::WebIDBObjectStoreImpl::get):
14418 (WebKit::WebIDBObjectStoreImpl::set):
14419 (WebKit::WebIDBObjectStoreImpl::remove):
14420 * src/WebIDBObjectStoreImpl.h:
14421 * src/WebSerializedScriptValue.cpp:
14422 (WebKit::WebSerializedScriptValue::createInvalid):
14424 2010-07-09 John Abd-El-Malek <jam@chromium.org>
14426 Reviewed by Darin Fisher.
14428 [chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind
14429 https://bugs.webkit.org/show_bug.cgi?id=42011
14431 * public/WebPlugin.h:
14432 (WebKit::WebPlugin::startFind):
14434 2010-07-09 Leon Clarke <leonclarke@google.com>
14436 Reviewed by Adam Barth.
14438 add support for link prefetching
14439 https://bugs.webkit.org/show_bug.cgi?id=3652
14441 * public/WebURLRequest.h:
14442 (WebKit::WebURLRequest::):
14444 2010-07-09 Michael Nordman <michaeln@google.com>
14446 Reviewed by Dumitru Daniliuc.
14448 Use class ProgressEvent when raising appcache related progress events and
14449 set the 'total', 'loaded', and 'lengthComputable' attributes.
14450 Also raise the final progress event with the 'total' and 'loaded' attribute
14451 values are equal to one another to keep pace with the spec for this feature.
14452 https://bugs.webkit.org/show_bug.cgi?id=37602
14454 * src/ApplicationCacheHost.cpp:
14455 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
14456 (WebCore::ApplicationCacheHost::stopDeferringEvents):
14457 (WebCore::ApplicationCacheHost::dispatchDOMEvent):
14458 * src/ApplicationCacheHostInternal.h:
14459 (WebCore::ApplicationCacheHostInternal::notifyEventListener):
14460 (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
14462 2010-07-09 David Holloway <dhollowa@chromium.org>
14464 Reviewed by Dimitri Glazkov.
14466 Roll Chromium DEPS forward to r51736.
14467 https://bugs.webkit.org/show_bug.cgi?id=41867
14471 2010-07-09 Pavel Feldman <pfeldman@chromium.org>
14473 Not reviewed: chromium build fix.
14475 * public/WebGLES2Context.h:
14477 2010-07-09 Yael Aharon <yael.aharon@nokia.com>
14479 Reviewed by Laszlo Gombos.
14481 NotificationPresenter needs a cancelRequestPermission API
14482 https://bugs.webkit.org/show_bug.cgi?id=41783
14484 Updated the NotificationPresenter API.
14486 * src/NotificationPresenterImpl.cpp:
14487 (WebKit::NotificationPresenterImpl::checkPermission):
14488 (WebKit::NotificationPresenterImpl::requestPermission):
14489 * src/NotificationPresenterImpl.h:
14490 (WebKit::NotificationPresenterImpl::cancelRequestsForPermission):
14492 2010-07-08 Pavel Feldman <pfeldman@chromium.org>
14494 Reviewed by Yury Semikhatsky.
14496 Web Inspector: Provide detailed network info in the resources panel.
14498 https://bugs.webkit.org/show_bug.cgi?id=40227
14501 * public/WebDevToolsAgent.h:
14502 * public/WebURLLoadTiming.h: Added.
14503 (WebKit::WebURLLoadTiming::~WebURLLoadTiming):
14504 (WebKit::WebURLLoadTiming::WebURLLoadTiming):
14505 (WebKit::WebURLLoadTiming::operator=):
14506 (WebKit::WebURLLoadTiming::isNull):
14507 * public/WebURLRequest.h:
14508 * public/WebURLResponse.h:
14509 * src/WebDevToolsAgentImpl.cpp:
14510 (WebKit::WebDevToolsAgentImpl::willSendRequest):
14511 * src/WebDevToolsAgentImpl.h:
14512 * src/WebURLLoadTiming.cpp: Added.
14513 (WebKit::WebURLLoadTiming::initialize):
14514 (WebKit::WebURLLoadTiming::reset):
14515 (WebKit::WebURLLoadTiming::assign):
14516 (WebKit::WebURLLoadTiming::setDomainLookupTimes):
14517 (WebKit::WebURLLoadTiming::setConnectStartTime):
14518 (WebKit::WebURLLoadTiming::setRequestTimes):
14519 (WebKit::WebURLLoadTiming::setHeadersAvailableTime):
14520 (WebKit::WebURLLoadTiming::WebURLLoadTiming):
14521 (WebKit::WebURLLoadTiming::operator=):
14522 (WebKit::WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>):
14523 * src/WebURLRequest.cpp:
14524 (WebKit::WebURLRequest::reportLoadTiming):
14525 (WebKit::WebURLRequest::setReportLoadTiming):
14526 * src/WebURLResponse.cpp:
14527 (WebKit::WebURLResponse::setConnectionID):
14528 (WebKit::WebURLResponse::setLoadTiming):
14530 2010-07-08 Jay Civelli <jcivelli@chromium.org>
14532 Reviewed by Darin Fisher.
14534 [chromium] Exposing the EditorClient text field related methods
14535 to the WebViewClient. Also adding some more accessors methods
14536 to the WebNode and WebInputElement.
14537 This is needed to move the password autocomplete out of the
14538 Chromium WebKit API to the Chromium code.
14539 https://bugs.webkit.org/show_bug.cgi?id=41286
14541 * public/WebInputElement.h:
14542 * public/WebNode.h:
14543 (WebKit::operator!=):
14544 (WebKit::operator<):
14545 * public/WebViewClient.h:
14546 (WebKit::WebViewClient::textFieldDidBeginEditing):
14547 (WebKit::WebViewClient::textFieldDidEndEditing):
14548 (WebKit::WebViewClient::textDidChangeInTextField):
14549 (WebKit::WebViewClient::textFieldHandlingKeyDown):
14550 (WebKit::WebViewClient::didAcceptAutocompleteSuggestion):
14551 * src/EditorClientImpl.cpp:
14552 (WebKit::EditorClientImpl::textFieldDidBeginEditing):
14553 (WebKit::EditorClientImpl::textFieldDidEndEditing):
14554 (WebKit::EditorClientImpl::textDidChangeInTextField):
14555 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
14556 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
14557 * src/WebInputElement.cpp:
14558 (WebKit::WebInputElement::readOnly):
14559 (WebKit::WebInputElement::setSelectionRange):
14560 (WebKit::WebInputElement::selectionStart):
14561 (WebKit::WebInputElement::selectionEnd):
14563 (WebKit::WebNode::lessThan):
14565 2010-07-08 Aaron Boodman <aa@chromium.org>
14567 Reviewed by Timothy Hatcher.
14569 Add the ability for user scripts and user styles to affect just the top frame.
14571 https://bugs.webkit.org/show_bug.cgi?id=41529
14573 * public/WebView.h:
14574 (WebKit::WebView::):
14575 (WebKit::WebView::addUserScript):
14576 (WebKit::WebView::addUserStyleSheet):
14577 * src/AssertMatchingEnums.cpp:
14578 * src/WebViewImpl.cpp:
14579 (WebKit::WebView::addUserScript):
14580 (WebKit::WebView::addUserStyleSheet):
14582 2010-07-08 James Robinson <jamesr@google.com>
14584 Reviewed by Darin Fisher.
14586 Allow resizing and getting the texture ID from an offscreen GLES2Context
14587 https://bugs.webkit.org/show_bug.cgi?id=41828
14589 When using an offscreen GLES2Context the caller needs to be able to resize the backing store
14590 managed by the embedder and get access to a texture id to pass to the compositor. WebGL
14591 does these actions in an indirect way, it will be refactored to use this path.
14593 * public/WebGLES2Context.h:
14594 * src/GLES2Context.cpp:
14595 (WebCore::GLES2Context::resizeOffscreenContent):
14596 (WebCore::GLES2Context::getOffscreenContentParentTextureId):
14598 2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
14600 Reviewed by Pavel Feldman.
14602 [chromium] Fix deletion has begun assert in TestWebPopupMenuImpl.
14603 https://bugs.webkit.org/show_bug.cgi?id=41899
14605 * tests/PopupMenuTest.cpp:
14606 (WebKit::TestWebPopupMenuImpl::create):
14607 (WebKit::TestWebViewClient::TestWebViewClient):
14608 (WebKit::TestWebViewClient::createPopupMenu):
14610 2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
14612 Reviewed by Pavel Feldman.
14614 [chromium] Fix deletion has begun assertion in TestImage destructor.
14615 https://bugs.webkit.org/show_bug.cgi?id=41883
14617 * tests/DragImageTest.cpp:
14618 (WebCore::TestImage::create):
14621 2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
14623 Reviewed by Pavel Feldman.
14625 Fix adoptRef usage violations (mostly in chromium)
14626 https://bugs.webkit.org/show_bug.cgi?id=41863
14628 * src/IDBCallbacksProxy.cpp:
14629 (WebCore::IDBCallbacksProxy::create):
14630 * src/WebPopupMenuImpl.cpp:
14631 (WebKit::WebPopupMenu::create):
14632 * src/WebViewImpl.cpp:
14633 (WebKit::WebView::create):
14635 2010-07-07 Alexander Pavlov <apavlov@chromium.org>
14637 Reviewed by Darin Fisher.
14639 [Chromium] Crash when re-entering message loop
14641 Allow re-entrancy of the message loop by tracking all suspended pages
14642 through a PageGroupLoadDeferrer stack.
14643 https://bugs.webkit.org/show_bug.cgi?id=41697
14645 * src/WebViewImpl.cpp:
14646 (WebKit::WebView::willEnterModalLoop):
14647 (WebKit::WebView::didExitModalLoop):
14649 (.TestSuite.prototype.evaluateInConsole_):
14650 (.TestSuite.prototype.testCompletionOnPause):
14651 (.TestSuite.prototype.testMessageLoopReentrant.this):
14653 2010-07-08 David Holloway <dhollowa@chromium.org>
14655 Reviewed by Darin Fisher.
14657 [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for
14658 use by other code in WebKit/chromium/src.
14660 Specific use of these methods is made in WebFrameImpl.cpp. This is
14661 preferred to the cast operator call that was happening prior to this
14664 https://bugs.webkit.org/show_bug.cgi?id=41477
14666 * public/WebNode.h:
14667 * src/WebFrameImpl.cpp:
14668 (WebKit::WebFrameImpl::registerPasswordListener):
14669 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
14670 (WebKit::WebFrameImpl::getPasswordListener):
14671 * src/WebFrameImpl.h:
14673 2010-07-07 Pavel Podivilov <podivilov@chromium.org>
14675 Reviewed by Yury Semikhatsky.
14677 Web Inspector: convert script offset to webkit format
14678 https://bugs.webkit.org/show_bug.cgi?id=41755
14680 * src/js/DebuggerScript.js:
14683 2010-07-07 Kent Tamura <tkent@chromium.org>
14685 Reviewed by Adam Barth.
14687 [DRT/Chromium] DumpRenderTree should depend on ImageDiff
14688 https://bugs.webkit.org/show_bug.cgi?id=41749
14690 We usually use DumpRenderTree with ImageDiff. So ImageDiff should
14691 be built with DumpRenderTree. Without this change, ImageDiff is not
14692 built in a case of Chromium tree build.
14693 test_shell in Chromium tree also depends on image_diff.
14697 2010-07-07 John Abd-El-Malek <jam@chromium.org>
14699 Reviewed by Darin Fisher.
14701 [chromium] Add a few more methods to WebPlugin so that Pepper v2 plugins can support copy/zoom/find
14702 https://bugs.webkit.org/show_bug.cgi?id=41649
14704 * public/WebPlugin.h:
14705 (WebKit::WebPlugin::hasSelection):
14706 (WebKit::WebPlugin::selectionAsText):
14707 (WebKit::WebPlugin::selectionAsMarkup):
14708 (WebKit::WebPlugin::setZoomFactor):
14709 (WebKit::WebPlugin::supportsFind):
14710 (WebKit::WebPlugin::startFind):
14711 (WebKit::WebPlugin::selectFindResult):
14712 (WebKit::WebPlugin::stopFind):
14713 * src/ContextMenuClientImpl.cpp:
14714 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
14715 * src/WebFrameImpl.cpp:
14716 (WebKit::WebFrameImpl::pluginContainerFromFrame):
14717 (WebKit::ChromePluginPrintContext::end):
14718 (WebKit::ChromePluginPrintContext::computePageRects):
14719 (WebKit::ChromePluginPrintContext::spoolPage):
14720 (WebKit::WebFrameImpl::executeCommand):
14721 * src/WebFrameImpl.h:
14722 * src/WebPluginContainerImpl.cpp:
14723 (WebKit::WebPluginContainerImpl::copy):
14724 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
14725 * src/WebPluginContainerImpl.h:
14726 * src/WebViewImpl.cpp:
14727 (WebKit::WebViewImpl::setZoomLevel):
14729 2010-07-07 James Hawkins <jhawkins@chromium.org>
14731 Reviewed by Dimitri Glazkov.
14733 [Chromium] Add setSuggestedValue to WebInputElement
14734 https://bugs.webkit.org/show_bug.cgi?id=41785
14736 * public/WebInputElement.h:
14737 * src/WebInputElement.cpp:
14738 (WebKit::WebInputElement::setSuggestedValue):
14739 (WebKit::WebInputElement::suggestedValue):
14741 2010-07-07 James Robinson <jamesr@chromium.org> and Vincent Scheib <schieb@chromium.org>
14743 Reviewed by Dimitri Glazkov.
14745 WebCore::GLES2Context should allow creating onscreen and offscreen contexts
14746 https://bugs.webkit.org/show_bug.cgi?id=41492
14748 You should be able to create a GLES2Context for rendering both on screen
14749 and off screen (to a texture). Currently WebGL does the latter by side
14750 stepping the WebCore::GLES2Context API completely. Longer term it should
14751 move over to using this.
14753 * src/GLES2Context.cpp:
14754 (WebCore::GLES2ContextInternal::initializeOnscreen):
14755 (WebCore::GLES2ContextInternal::initializeOffscreen):
14756 (WebCore::GLES2Context::createOnscreen):
14757 (WebCore::GLES2Context::createOffscreen):
14759 2010-07-07 Sam Weinig <sam@webkit.org>
14761 Reviewed by Anders Carlsson.
14763 Patch for https://bugs.webkit.org/show_bug.cgi?id=41772
14764 Add basic piping for BackForwardControllerClient.
14766 * src/WebViewImpl.cpp:
14767 (WebKit::WebViewImpl::WebViewImpl):
14769 2010-07-07 Sheriff Bot <webkit.review.bot@gmail.com>
14771 Unreviewed, rolling out r62645.
14772 http://trac.webkit.org/changeset/62645
14773 https://bugs.webkit.org/show_bug.cgi?id=41757
14775 "Broken inspector tests on several platforms" (Requested by
14776 eseidel on #webkit).
14778 * src/js/DebuggerScript.js:
14781 2010-07-07 Pavel Podivilov <podivilov@chromium.org>
14783 Reviewed by Yury Semikhatsky.
14785 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
14786 https://bugs.webkit.org/show_bug.cgi?id=41461
14788 * src/js/DebuggerScript.js:
14791 2010-07-06 Darin Adler <darin@apple.com>
14795 Why do the Chromium bots stop after the first error they encounter?
14797 * src/WebWorkerImpl.cpp:
14798 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): Removed
14799 unneeded release called on a PassOwnPtr to pass it as an argument of
14802 2010-07-06 Darin Adler <darin@apple.com>
14806 * src/WebWorkerBase.cpp:
14807 (WebKit::WebWorkerBase::dispatchTaskToMainThread): Use leakPtr instead
14809 * src/WebWorkerClientImpl.cpp:
14810 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): Removed
14811 unneeded release called on a PassOwnPtr to pass it as an argument of
14814 2010-07-06 Darin Adler <darin@apple.com>
14818 * src/WebSharedWorkerImpl.cpp:
14819 (WebKit::WebSharedWorkerImpl::connectTask): Removed unneeded release
14820 called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
14822 2010-07-06 Darin Adler <darin@apple.com>
14826 * src/WebDataSourceImpl.cpp:
14827 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): Call leakPtr
14828 here instead of release. Comment makes it really unclear why it's OK!
14830 2010-07-06 Darin Adler <darin@apple.com>
14834 * src/SharedWorkerRepository.cpp:
14835 (WebCore::SharedWorkerRepository::connect): Removed unneeded release
14836 called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
14838 2010-07-05 Yury Semikhatsky <yurys@chromium.org>
14840 Reviewed by Pavel Feldman.
14842 [v8] Web Inspector: remove v8-specific code dealing with getOwnPropertyNames from InjectedScript.js
14843 https://bugs.webkit.org/show_bug.cgi?id=41595
14845 * src/js/DebuggerScript.js:
14847 2010-07-03 Erik Arvidsson <arv@chromium.org>
14849 Reviewed by Ojan Vafai.
14851 Fix issue where a contextmenu event was reporting the wrong target
14852 if the context menu was shown due to pressing the context menu key
14855 https://bugs.webkit.org/show_bug.cgi?id=38129
14857 * src/WebViewImpl.cpp:
14858 (WebKit::WebViewImpl::sendContextMenuEvent):
14860 2010-07-02 Yury Semikhatsky <yurys@chromium.org>
14862 Reviewed by Pavel Feldman.
14864 [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
14865 https://bugs.webkit.org/show_bug.cgi?id=41511
14867 * src/WebBindings.cpp:
14868 (WebKit::getEvent):
14870 2010-07-01 Sheriff Bot <webkit.review.bot@gmail.com>
14872 Unreviewed, rolling out r62349.
14873 http://trac.webkit.org/changeset/62349
14874 https://bugs.webkit.org/show_bug.cgi?id=41499
14876 It broke the chromium Linux build. (Requested by dave_levin on
14879 * public/WebNode.h:
14880 * src/WebFrameImpl.cpp:
14881 (WebKit::WebFrameImpl::registerPasswordListener):
14882 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
14884 2010-07-01 David Holloway <dhollowa@chromium.org>
14886 Reviewed by Darin Fisher.
14888 [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for
14889 use by other code in WebKit/chromium/src.
14891 Specific use of these methods is made in WebFrameImpl.cpp. This is
14892 preferred to the cast operator call that was happening prior to this
14895 https://bugs.webkit.org/show_bug.cgi?id=41477
14897 * public/WebNode.h:
14898 * src/WebFrameImpl.cpp:
14899 (WebKit::WebFrameImpl::registerPasswordListener):
14900 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
14902 2010-07-01 Kenneth Russell <kbr@google.com>
14904 Reviewed by Dimitri Glazkov.
14906 Stop linking against opengl32.lib in Windows Chromium port
14907 https://bugs.webkit.org/show_bug.cgi?id=41424
14910 * src/WebGraphicsContext3DDefaultImpl.cpp:
14911 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
14912 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
14913 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
14914 * src/WebGraphicsContext3DDefaultImpl.h:
14916 2010-07-01 Sheriff Bot <webkit.review.bot@gmail.com>
14918 Unreviewed, rolling out r62246.
14919 http://trac.webkit.org/changeset/62246
14920 https://bugs.webkit.org/show_bug.cgi?id=41470
14922 "Worker tests are broken in Chromium" (Requested by yurys on
14925 * src/WebBindings.cpp:
14926 (WebKit::getEvent):
14928 2010-07-01 David Holloway <dhollowa@chromium.org>
14930 Reviewed by Darin Fisher.
14932 [chromium] Consolidates AutoFill and Autocomplete popup menus into a single popup menu.
14934 This change combines SuggestionsPopupMenuClient, AutoFillPopupMenuClient, and
14935 AutocompletePopupMenuClient classes into a single consolidated AutoFillPopupMenuClient class.
14936 Prior to this change the contents of the AutoFill popup menu only included AutoFill
14937 suggestions and similarly the Autocomplete popup menu only included Autocomplete
14938 suggestions. With this consolidation, both AutoFill and Autocomplete suggestions can
14939 now be displayed in a single menu.
14941 https://bugs.webkit.org/show_bug.cgi?id=41236
14944 * public/WebFrame.h:
14945 * public/WebView.h:
14946 * src/AutoFillPopupMenuClient.cpp:
14947 (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
14948 (WebKit::AutoFillPopupMenuClient::~AutoFillPopupMenuClient):
14949 (WebKit::AutoFillPopupMenuClient::valueChanged):
14950 (WebKit::AutoFillPopupMenuClient::selectionCleared):
14951 (WebKit::AutoFillPopupMenuClient::itemText):
14952 (WebKit::AutoFillPopupMenuClient::itemStyle):
14953 (WebKit::AutoFillPopupMenuClient::menuStyle):
14954 (WebKit::AutoFillPopupMenuClient::clientPaddingLeft):
14955 (WebKit::AutoFillPopupMenuClient::clientPaddingRight):
14956 (WebKit::AutoFillPopupMenuClient::popupDidHide):
14957 (WebKit::AutoFillPopupMenuClient::setTextFromItem):
14958 (WebKit::AutoFillPopupMenuClient::fontSelector):
14959 (WebKit::AutoFillPopupMenuClient::hostWindow):
14960 (WebKit::AutoFillPopupMenuClient::createScrollbar):
14961 (WebKit::AutoFillPopupMenuClient::initialize):
14962 (WebKit::AutoFillPopupMenuClient::getWebView):
14963 (WebKit::AutoFillPopupMenuClient::textFieldStyle):
14964 * src/AutoFillPopupMenuClient.h:
14965 (WebKit::AutoFillPopupMenuClient::itemToolTip):
14966 (WebKit::AutoFillPopupMenuClient::itemAccessibilityText):
14967 (WebKit::AutoFillPopupMenuClient::itemIsEnabled):
14968 (WebKit::AutoFillPopupMenuClient::clientInsetLeft):
14969 (WebKit::AutoFillPopupMenuClient::clientInsetRight):
14970 (WebKit::AutoFillPopupMenuClient::listSize):
14971 (WebKit::AutoFillPopupMenuClient::selectedIndex):
14972 (WebKit::AutoFillPopupMenuClient::itemIsLabel):
14973 (WebKit::AutoFillPopupMenuClient::itemIsSelected):
14974 (WebKit::AutoFillPopupMenuClient::shouldPopOver):
14975 (WebKit::AutoFillPopupMenuClient::valueShouldChangeOnHotTrack):
14976 (WebKit::AutoFillPopupMenuClient::setAutocompleteMode):
14977 (WebKit::AutoFillPopupMenuClient::getTextField):
14978 (WebKit::AutoFillPopupMenuClient::getSelectedIndex):
14979 (WebKit::AutoFillPopupMenuClient::setSelectedIndex):
14980 * src/AutocompletePopupMenuClient.cpp: Removed.
14981 * src/AutocompletePopupMenuClient.h: Removed.
14982 * src/EditorClientImpl.cpp:
14983 (WebKit::EditorClientImpl::textFieldDidEndEditing):
14984 (WebKit::EditorClientImpl::doAutofill):
14985 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
14986 * src/SuggestionsPopupMenuClient.cpp: Removed.
14987 * src/SuggestionsPopupMenuClient.h: Removed.
14988 * src/WebFrameImpl.cpp:
14989 (WebKit::WebFrameImpl::currentHistoryItem):
14990 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
14991 * src/WebFrameImpl.h:
14992 * src/WebViewImpl.cpp:
14994 (WebKit::WebViewImpl::WebViewImpl):
14995 (WebKit::WebViewImpl::mouseDown):
14996 (WebKit::WebViewImpl::mouseUp):
14997 (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
14998 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
14999 (WebKit::WebViewImpl::hideAutoFillPopup):
15000 (WebKit::WebViewImpl::setFocus):
15001 (WebKit::WebViewImpl::applyAutoFillSuggestions):
15002 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
15003 (WebKit::WebViewImpl::hidePopups):
15004 (WebKit::WebViewImpl::refreshAutoFillPopup):
15005 * src/WebViewImpl.h:
15006 (WebKit::WebViewImpl::autoFillPopupDidHide):
15008 2010-07-01 Yury Semikhatsky <yurys@chromium.org>
15010 Reviewed by Adam Barth.
15012 [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
15013 https://bugs.webkit.org/show_bug.cgi?id=41350
15015 * src/WebBindings.cpp:
15016 (WebKit::getEvent):
15018 2010-07-01 Aaron Boodman <aa@chromium.org>
15020 Reviewed by Darin Fisher.
15022 Make the user script API static. This makes it more convenient to use
15023 if you don't have a WebView instance yet.
15025 Added static versions of the three methods and re-route current ones
15026 temporarily through the static versions. Will remove the non-static
15027 versions once Chromium has been updated.
15029 Also, expose the URLPattern configuration for user stylesheets, since
15030 they were not before.
15032 https://bugs.webkit.org/show_bug.cgi?id=41385
15034 * public/WebView.h:
15035 (WebKit::WebView::addUserScript):
15036 (WebKit::WebView::addUserStyleSheet):
15037 * src/WebViewImpl.cpp:
15038 (WebKit::WebView::addUserScript):
15039 (WebKit::WebView::addUserStyleSheet):
15040 (WebKit::WebView::removeAllUserContent):
15042 2010-06-30 Kenneth Russell <kbr@google.com>
15044 Reviewed by Dimitri Glazkov.
15046 Roll forward Chromium DEPS to r51287
15047 https://bugs.webkit.org/show_bug.cgi?id=41430
15051 2010-06-25 Pavel Feldman <pfeldman@chromium.org>
15053 Reviewed by Yury Semikhatsky.
15055 Chrome DevTools: Finalize migration to new WebView constructor
15056 (devtools agent is now created within WebViewImpl only).
15058 https://bugs.webkit.org/show_bug.cgi?id=41212
15060 * public/WebDevToolsAgent.h:
15061 * public/WebView.h:
15062 * src/WebDevToolsAgentImpl.cpp:
15063 * src/WebViewImpl.cpp:
15064 (WebKit::WebViewImpl::WebViewImpl):
15065 * src/WebViewImpl.h:
15066 * src/WebWorkerBase.cpp:
15067 (WebKit::WebWorkerBase::initializeLoader):
15068 * tests/PopupMenuTest.cpp:
15069 (WebKit::SelectPopupMenuTest::SetUp):
15071 2010-06-29 Zhenyao Mo <zmo@google.com>
15073 Reviewed by Dimitri Glazkov.
15075 Implement getAttachedShaders
15076 https://bugs.webkit.org/show_bug.cgi?id=31172
15078 * public/WebGraphicsContext3D.h: Declaration of getAttachedShaders().
15079 * src/GraphicsContext3D.cpp: Implementation of getAttachedShaders().
15080 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
15081 * src/WebGraphicsContext3DDefaultImpl.h: Declaration of getAttachedShaders().
15083 2010-06-29 Dumitru Daniliuc <dumi@chromium.org>
15085 Reviewed by Darin Fisher.
15087 Simplify the WebDatabase interface.
15088 https://bugs.webkit.org/show_bug.cgi?id=40607
15090 Do not ref()/deref() the private AbstractDatabase member. This
15091 allows us to use WebDatabase in the destructors of the DB
15094 * public/WebDatabase.h:
15095 (WebKit::WebDatabase::WebDatabase):
15096 * src/WebDatabase.cpp:
15097 (WebKit::WebDatabase::name):
15098 (WebKit::WebDatabase::displayName):
15099 (WebKit::WebDatabase::estimatedSize):
15100 (WebKit::WebDatabase::securityOrigin):
15101 (WebKit::WebDatabase::WebDatabase):
15103 2010-06-29 Zhe Su <suzhe@chromium.org>
15105 Reviewed by Darin Fisher.
15107 A crash caused by the patch of bug 40608.
15108 https://bugs.webkit.org/show_bug.cgi?id=41334
15110 * src/WebViewImpl.cpp:
15111 (WebKit::WebViewImpl::caretOrSelectionBounds):
15113 2010-06-29 Victor Wang <victorw@chromium.org>
15115 Reviewed by Darin Fisher.
15117 [chromium]: Update webkit for chromium multi dll build.
15119 1. Export more webkit APIs for chromium multi dll build.
15120 2. Update DumpRenderTree sources so it can build with webkit.dll
15121 3. Temp disable webkit unit tests for chromium multi dll build.
15123 https://bugs.webkit.org/show_bug.cgi?id=41231
15126 * public/WebAccessibilityCache.h:
15127 * public/WebAccessibilityObject.h:
15128 * public/WebEventListener.h:
15129 * public/WebGeolocationServiceMock.h:
15130 * public/WebGraphicsContext3D.h:
15131 * public/WebIDBDatabaseError.h:
15132 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
15133 (WebKit::WebIDBDatabaseError::operator=):
15134 * public/WebNotification.h:
15135 * public/WebPasswordFormData.h:
15136 * public/WebSearchableFormData.h:
15137 * public/WebStorageEventDispatcher.h:
15138 * public/WebString.h:
15139 (WebKit::WebString::WebString):
15140 (WebKit::WebString::operator=):
15142 2010-06-29 Vangelis Kokkevis <vangelis@chromium.org>
15144 Reviewed by Darin Fisher.
15146 [Chromium] Hooking up GraphicsContext3D to the gpu compositor.
15147 GraphicsContext3DInternal is now initialized with a pointer to the HostWindow
15148 that corresponds to the WebView containing the context. The initializer
15149 forces a WebGLES2Context to be created for the WebView (if one doesn't already
15150 exist) and uses the view's GL context as a parent to the GL context created
15151 for WebGL. This allows the compositor to read the texture associated with
15152 WebGL's frame buffer. We also plumb though GraphicsContext3D's prepareTexture
15153 and platformLayer methods which are required by the compositor code.
15154 https://bugs.webkit.org/show_bug.cgi?id=41243
15156 * public/WebGraphicsContext3D.h:
15157 * public/WebView.h:
15158 Made gles2Context() a virtual method on WebView instead of WebViewImpl
15159 to allow access to it from GraphicsContext3DInternal::initialize().
15160 * src/GraphicsContext3D.cpp:
15161 (WebCore::GraphicsContext3DInternal::initialize):
15162 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
15163 (WebCore::GraphicsContext3DInternal::platformTexture):
15164 (WebCore::GraphicsContext3DInternal::prepareTexture):
15165 (WebCore::GraphicsContext3DInternal::platformLayer):
15166 (WebCore::GraphicsContext3D::create):
15167 (WebCore::GraphicsContext3D::prepareTexture):
15168 (WebCore::GraphicsContext3D::platformLayer):
15169 * src/WebGraphicsContext3DDefaultImpl.cpp:
15170 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
15171 (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId):
15172 (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
15173 * src/WebGraphicsContext3DDefaultImpl.h:
15174 * src/WebViewImpl.h:
15176 2010-06-29 Pavel Podivilov <podivilov@chromium.org>
15178 Reviewed by Yury Semikhatsky.
15180 Web Inspector: return line number where breakpoint was actually set by v8 from setBreakpoint function.
15181 https://bugs.webkit.org/show_bug.cgi?id=40781
15183 * src/js/DebuggerScript.js:
15186 2010-06-23 John Gregg <johnnyg@google.com>
15188 Reviewed by Kent Tamura.
15190 add ENABLE_DIRECTORY_UPLOAD build support
15191 https://bugs.webkit.org/show_bug.cgi?id=41100
15195 2010-06-28 Zhe Su <suzhe@chromium.org>
15197 Reviewed by Jian Li.
15199 [chromium]Remove deprecated code related to input method.
15200 https://bugs.webkit.org/show_bug.cgi?id=41244
15202 Also update TestWebWidget in tests/PopupMenuTest.cpp to add missing implementations.
15205 * public/WebCompositionCommand.h: Removed.
15206 * public/WebViewClient.h:
15207 * public/WebWidget.h:
15208 * src/EditorClientImpl.cpp:
15209 (WebKit::EditorClientImpl::setInputMethodState):
15210 * src/WebPopupMenuImpl.cpp:
15211 * src/WebPopupMenuImpl.h:
15212 * src/WebViewImpl.cpp:
15213 * src/WebViewImpl.h:
15214 * tests/PopupMenuTest.cpp:
15215 (WebKit::TestWebWidget::setComposition):
15216 (WebKit::TestWebWidget::confirmComposition):
15217 (WebKit::TestWebWidget::textInputType):
15218 (WebKit::TestWebWidget::caretOrSelectionBounds):
15220 2010-06-27 John Abd-El-Malek <jam@chromium.org>
15222 Reviewed by Darin Fisher.
15224 [chromium] Get the selected text from plugins for right click menu
15225 https://bugs.webkit.org/show_bug.cgi?id=41242
15227 * public/WebContextMenuData.h:
15228 (WebKit::WebContextMenuData::):
15229 * public/WebPlugin.h:
15230 (WebKit::WebPlugin::selectedText):
15231 * src/ContextMenuClientImpl.cpp:
15232 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
15233 * src/WebPluginContainerImpl.cpp:
15234 (WebKit::WebPluginContainerImpl::selectedText):
15235 * src/WebPluginContainerImpl.h:
15237 2010-06-28 Yury Semikhatsky <yurys@chromium.org>
15239 Unreviewed. Fix Chromium debugger tests.
15242 (.TestSuite.prototype.testDebugIntrinsicProperties):
15244 2010-06-25 Yuzo Fujishima <yuzo@google.com>
15246 Reviewed by Shinichiro Hamaji.
15248 Improve default value handling for page format properties.
15249 https://bugs.webkit.org/show_bug.cgi?id=41150
15251 * public/WebFrame.h:
15252 * src/WebFrameImpl.cpp:
15253 (WebKit::WebFrameImpl::pageSizeAndMarginsInPixels):
15254 * src/WebFrameImpl.h:
15256 2010-06-26 Sheriff Bot <webkit.review.bot@gmail.com>
15258 Unreviewed, rolling out r61943.
15259 http://trac.webkit.org/changeset/61943
15260 https://bugs.webkit.org/show_bug.cgi?id=41251
15262 Totally breaks webkit_unit_tests on Chromium linux and mac
15263 (Requested by mnaganov on #webkit).
15266 * src/WebFrameImpl.cpp:
15267 (WebKit::frameContentAsPlainText):
15268 * tests/RunAllTests.cpp:
15270 * tests/WebFrameTest.cpp: Removed.
15271 * tests/data/iframes_test.html: Removed.
15272 * tests/data/invisible_iframe.html: Removed.
15273 * tests/data/visible_iframe.html: Removed.
15274 * tests/data/zero_sized_iframe.html: Removed.
15276 2010-06-26 Tony Gentilcore <tonyg@chromium.org>
15278 Reviewed by Dimitri Glazkov.
15280 Disable Web Timing support by default for chromium port.
15281 https://bugs.webkit.org/show_bug.cgi?id=38924
15285 2010-06-25 Jay Civelli <jcivelli@chromium.org>
15287 Reviewed by Darin Fisher.
15289 [chromium] Made WebFrame not report the text from hidden frames.
15290 (some pages contain hidden frames with garbage text that
15291 should not be indexed or used to detect the page's language).
15292 https://bugs.webkit.org/show_bug.cgi?id=39456
15296 * src/WebFrameImpl.cpp:
15297 (WebKit::frameContentAsPlainText):
15298 * tests/RunAllTests.cpp:
15300 * tests/WebFrameTest.cpp: Added.
15301 * tests/data: Added.
15302 * tests/data/iframes_test.html: Added.
15303 * tests/data/invisible_iframe.html: Added.
15304 * tests/data/visible_iframe.html: Added.
15305 * tests/data/zero_sized_iframe.html: Added.
15307 2010-06-25 Bernhard Bauer <bauerb@chromium.org>
15309 Reviewed by Darin Fisher.
15311 Add plugin accessors to WebPluginContainer.
15312 https://bugs.webkit.org/show_bug.cgi?id=41145
15314 * public/WebPluginContainer.h:
15315 * src/WebPluginContainerImpl.h:
15316 (WebKit::WebPluginContainerImpl::setPlugin):
15318 2010-06-25 Sterling Swigart <sswigart@google.com>
15320 Reviewed by David Levin.
15322 Resetting ENABLE_IMAGE_RESIZER to 0. Image.webkitGetImage needs to be developed under
15323 a 0 value, at least until both the JSC and V8 bindings are in place.
15324 https://bugs.webkit.org/show_bug.cgi?id=41116
15326 * features.gypi: ENABLE_IMAGE_RESIZER=0
15328 2010-06-25 Victor Wang <victorw@chromium.org>
15330 Reviewed by Darin Fisher.
15332 [Chromium] Update chromium webkit gyp so it has
15333 option to be built as DLL.
15335 Chromium webkit is built as webkit.dll on windows
15336 if it is inside chromium build and variable component
15337 is set to shared_library.
15339 https://bugs.webkit.org/show_bug.cgi?id=41161
15343 2010-06-25 John Abd-El-Malek <jam@chromium.org>
15345 Reviewed by David Levin.
15347 [chromium] Send unhandled events to Node's default handler
15348 https://bugs.webkit.org/show_bug.cgi?id=41223
15350 * src/WebPluginContainerImpl.cpp:
15351 (WebKit::WebPluginContainerImpl::handleEvent):
15353 2010-06-25 Daniel Cheng <dcheng@chromium.org>
15355 Reviewed by Darin Fisher.
15357 [chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data.
15359 This change adds new stubs for querying for data in a clipboard or drag operation. This is
15360 so adding support for more data types in clipboard/drag operations doesn't become
15361 increasingly expensive, since we currently copy all the drag data we need every time a new
15362 web drop target is entered. It also adds a new mechanism to write back to the system
15363 clipboard that isn't tied to one data type.
15365 https://bugs.webkit.org/show_bug.cgi?id=40540
15367 * public/WebClipboard.h:
15368 (WebKit::WebClipboard::):
15369 (WebKit::WebClipboard::isFormatAvailable):
15370 (WebKit::WebClipboard::readPlainText):
15371 (WebKit::WebClipboard::readHTML):
15372 (WebKit::WebClipboard::writePlainText):
15373 (WebKit::WebClipboard::writeHTML):
15374 (WebKit::WebClipboard::writeURL):
15375 (WebKit::WebClipboard::writeImage):
15376 (WebKit::WebClipboard::writeData):
15377 (WebKit::WebClipboard::readAvailableTypes):
15378 (WebKit::WebClipboard::readData):
15379 (WebKit::WebClipboard::readFilenames):
15380 * public/WebKitClient.h:
15381 * src/AssertMatchingEnums.cpp:
15382 * src/ChromiumBridge.cpp:
15383 (WebCore::ChromiumBridge::clipboardWriteData):
15384 (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
15385 (WebCore::ChromiumBridge::clipboardReadData):
15386 (WebCore::ChromiumBridge::clipboardReadFilenames):
15388 2010-06-25 Lei Zheng <lzheng@chromium.org>
15390 Reviewed by Dimitri Glazkov.
15392 [Chromium] Add a flag to the ResourceResponse for tracking if a request was fetched
15393 when Alternate-Protocol is available.
15395 https://bugs.webkit.org/show_bug.cgi?id=41001
15397 * public/WebURLResponse.h:
15398 * src/WebURLResponse.cpp:
15399 (WebKit::WebURLResponse::wasAlternateProtocolAvailable):
15400 (WebKit::WebURLResponse::setWasAlternateProtocolAvailable):
15402 2010-06-25 Michael Nordman <michaeln@google.com>
15404 Reviewed by Dumitru Daniliuc.
15406 Additional API to pass additional info needed for AppCache progress events.
15407 https://bugs.webkit.org/show_bug.cgi?id=37602
15409 Also, delete an obsolete method from the worker API.
15411 * public/WebApplicationCacheHostClient.h: define a new method
15412 * public/WebSharedWorker.h: remove an obsolte method
15413 * src/ApplicationCacheHostInternal.h: implement the new method
15414 (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
15416 2010-06-25 John Gregg <johnnyg@google.com>
15418 Reviewed by Darin Fisher.
15420 Notification should expose ltr/rtl as TextDirection, not String
15421 https://bugs.webkit.org/show_bug.cgi?id=40871
15423 * public/WebNotification.h:
15424 * src/WebNotification.cpp:
15425 (WebKit::WebNotification::direction):
15427 2010-06-24 Eric Seidel <eric@webkit.org>
15429 Reviewed by Adam Barth.
15431 Clean up and document DocumentWriter::replaceDocument code path
15432 https://bugs.webkit.org/show_bug.cgi?id=41182
15434 * src/WebFrameImpl.cpp:
15435 (WebKit::WebFrameImpl::loadJavaScriptURL):
15436 - Make Chromium use DocumentWriter like it should.
15438 2010-06-24 Vangelis Kokkevis <vangelis@chromium.org>
15440 Reviewed by Darin Fisher.
15442 [Chromium] A WebView can now own a GLES2Context which gets created on
15443 demand. This context will typically be created for the gpu compositor
15444 and used as a parent context for any elements on the page that use the
15445 gpu for rendering (e.g. WebGL) and need to pass their backbuffer directly
15447 https://bugs.webkit.org/show_bug.cgi?id=41010
15449 * public/WebGLES2Context.h:
15450 * src/GLES2Context.cpp:
15451 (WebCore::GLES2ContextInternal::getWebGLES2Context):
15452 (WebCore::GLES2ContextInternal::initialize):
15453 * src/WebViewImpl.cpp:
15454 (WebKit::WebViewImpl::WebViewImpl):
15455 (WebKit::WebViewImpl::gles2Context):
15456 * src/WebViewImpl.h:
15458 2010-06-24 Pavel Feldman <pfeldman@chromium.org>
15460 Reviewed by Yury Semikhatsky.
15462 Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
15464 https://bugs.webkit.org/show_bug.cgi?id=41094
15466 - Merged InspectorClient implementation into WebDevToolsAgent
15467 - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
15468 - Removed a lot of legacy code from WebDevToolsAgentImpl
15469 - Removed a lot of overrides from DevTools.js
15470 - Simplified devtools stubs
15471 - Got rid of all logic from within InjectDispatch.js
15473 * public/WebView.h:
15474 * src/FrameLoaderClientImpl.cpp:
15475 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
15476 * src/InspectorClientImpl.cpp:
15477 (WebKit::InspectorClientImpl::inspectorDestroyed):
15478 (WebKit::InspectorClientImpl::openInspectorFrontend):
15479 (WebKit::InspectorClientImpl::highlight):
15480 (WebKit::InspectorClientImpl::hideHighlight):
15481 (WebKit::InspectorClientImpl::populateSetting):
15482 (WebKit::InspectorClientImpl::storeSetting):
15483 (WebKit::InspectorClientImpl::sendMessageToFrontend):
15484 (WebKit::InspectorClientImpl::resourceTrackingWasEnabled):
15485 (WebKit::InspectorClientImpl::resourceTrackingWasDisabled):
15486 (WebKit::InspectorClientImpl::timelineProfilerWasStarted):
15487 (WebKit::InspectorClientImpl::timelineProfilerWasStopped):
15488 (WebKit::InspectorClientImpl::devToolsAgent):
15489 * src/InspectorClientImpl.h:
15490 * src/InspectorFrontendClientImpl.cpp:
15491 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
15492 * src/ToolsAgent.h:
15493 * src/WebDevToolsAgentImpl.cpp:
15495 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
15496 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
15497 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
15498 (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
15499 (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
15500 (WebKit::WebDevToolsAgentImpl::highlight):
15501 (WebKit::WebDevToolsAgentImpl::hideHighlight):
15502 (WebKit::WebDevToolsAgentImpl::populateSetting):
15503 (WebKit::WebDevToolsAgentImpl::storeSetting):
15504 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
15505 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
15506 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
15507 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
15508 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
15509 * src/WebDevToolsAgentImpl.h:
15510 * src/WebDevToolsAgentPrivate.h:
15511 * src/WebViewImpl.cpp:
15512 (WebKit::WebView::create):
15513 (WebKit::WebViewImpl::WebViewImpl):
15514 * src/WebViewImpl.h:
15515 * src/js/DevTools.js:
15516 (devtools.ToolsAgent):
15519 * src/js/DevToolsHostStub.js:
15520 (.window.setDebuggerScriptSource):
15521 (.window.dispatchOnInjectedScript):
15522 * src/js/InjectDispatch.js:
15524 * src/js/InspectorControllerImpl.js:
15526 2010-06-24 Pavel Feldman <pfeldman@chromium.org>
15528 Not reviewed: revert 61766.
15531 * public/WebView.h:
15532 * src/FrameLoaderClientImpl.cpp:
15533 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
15534 * src/InspectorClientImpl.cpp: Added.
15535 (WebKit::InspectorClientImpl::InspectorClientImpl):
15536 (WebKit::InspectorClientImpl::~InspectorClientImpl):
15537 (WebKit::InspectorClientImpl::inspectorDestroyed):
15538 (WebKit::InspectorClientImpl::openInspectorFrontend):
15539 (WebKit::invalidateNodeBoundingRect):
15540 (WebKit::InspectorClientImpl::highlight):
15541 (WebKit::InspectorClientImpl::hideHighlight):
15542 (WebKit::InspectorClientImpl::populateSetting):
15543 (WebKit::InspectorClientImpl::storeSetting):
15544 (WebKit::InspectorClientImpl::sendMessageToFrontend):
15545 * src/InspectorClientImpl.h: Added.
15546 * src/InspectorFrontendClientImpl.cpp:
15547 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
15548 * src/ToolsAgent.h:
15549 * src/WebDevToolsAgentImpl.cpp:
15551 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
15552 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
15553 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
15554 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
15555 (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
15556 (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
15557 (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
15558 * src/WebDevToolsAgentImpl.h:
15559 * src/WebDevToolsAgentPrivate.h:
15560 * src/WebViewImpl.cpp:
15561 (WebKit::WebView::create):
15562 (WebKit::WebViewImpl::WebViewImpl):
15563 (WebKit::WebViewImpl::setDevToolsAgent):
15564 * src/WebViewImpl.h:
15565 * src/WebWorkerBase.cpp:
15566 (WebKit::WebWorkerBase::initializeLoader):
15567 * src/js/DevTools.js:
15568 (devtools.ToolsAgent):
15569 (devtools.ToolsAgent.prototype.frameNavigate_):
15571 * src/js/DevToolsHostStub.js:
15572 (.RemoteDebuggerAgentStub):
15573 (.RemoteDebuggerAgentStub.prototype.getContextId):
15574 (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
15575 (.RemoteProfilerAgentStub):
15576 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
15577 (.RemoteProfilerAgentStub.prototype.getLogLines):
15578 (.RemoteToolsAgentStub):
15579 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
15580 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
15581 (.ProfilerStubHelper):
15582 (.ProfilerStubHelper.GetInstance):
15583 (.ProfilerStubHelper.prototype.StopProfiling):
15584 (.ProfilerStubHelper.prototype.StartProfiling):
15585 (.ProfilerStubHelper.prototype.getActiveProfilerModules):
15586 (.ProfilerStubHelper.prototype.getLogLines):
15587 (.RemoteDebuggerCommandExecutorStub):
15588 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
15589 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
15590 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
15591 (.DevToolsHostStub):
15592 (.DevToolsHostStub.prototype.reset):
15593 (.DevToolsHostStub.prototype.setting):
15594 (.DevToolsHostStub.prototype.setSetting):
15595 * src/js/InjectDispatch.js:
15596 (ApuAgentDispatcher.dispatchToApu):
15598 * src/js/InspectorControllerImpl.js:
15599 (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
15600 (devtools.InspectorBackendImpl.prototype.profilerEnabled):
15602 2010-06-23 Pavel Feldman <pfeldman@chromium.org>
15604 Reviewed by Yury Semikhatsky.
15606 Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
15608 https://bugs.webkit.org/show_bug.cgi?id=41094
15610 - Merged InspectorClient implementation into WebDevToolsAgent
15611 - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
15612 - Removed a lot of legacy code from WebDevToolsAgentImpl
15613 - Removed a lot of overrides from DevTools.js
15614 - Simplified devtools stubs
15615 - Got rid of all logic from within InjectDispatch.js
15618 * public/WebDevToolsAgent.h:
15619 * public/WebView.h:
15620 * src/FrameLoaderClientImpl.cpp:
15621 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
15622 * src/InspectorFrontendClientImpl.cpp:
15623 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
15624 * src/ToolsAgent.h:
15625 * src/WebDevToolsAgentImpl.cpp:
15627 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
15628 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
15629 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
15630 (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
15631 (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
15632 (WebKit::WebDevToolsAgentImpl::highlight):
15633 (WebKit::WebDevToolsAgentImpl::hideHighlight):
15634 (WebKit::WebDevToolsAgentImpl::populateSetting):
15635 (WebKit::WebDevToolsAgentImpl::storeSetting):
15636 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
15637 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
15638 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
15639 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
15640 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
15641 * src/WebDevToolsAgentImpl.h:
15642 * src/WebDevToolsAgentPrivate.h:
15643 * src/WebViewImpl.cpp:
15644 (WebKit::WebView::create):
15645 (WebKit::WebViewImpl::WebViewImpl):
15646 * src/WebViewImpl.h:
15647 * src/WebWorkerBase.cpp:
15648 (WebKit::WebWorkerBase::initializeLoader):
15649 * src/js/DevTools.js:
15650 (devtools.ToolsAgent):
15653 * src/js/DevToolsHostStub.js:
15654 (.window.setDebuggerScriptSource):
15655 (.window.dispatchOnInjectedScript):
15656 * src/js/InjectDispatch.js:
15658 * src/js/InspectorControllerImpl.js:
15660 2010-06-24 Yury Semikhatsky <yurys@chromium.org>
15662 Reviewed by Pavel Feldman.
15664 Web Inspector: implement layout tests for debugger
15665 https://bugs.webkit.org/show_bug.cgi?id=40774
15667 * src/WebDevToolsFrontendImpl.cpp:
15668 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
15670 2010-06-23 Tony Chang <tony@chromium.org>
15672 Reviewed by Darin Fisher.
15674 layout test for a crash in chromium multipart request handling
15675 https://bugs.webkit.org/show_bug.cgi?id=41050
15677 Also roll DEPS to pick up the crash fix.
15681 2010-06-23 Yuzo Fujishima <yuzo@google.com>
15683 Reviewed by Shinichiro Hamaji.
15685 Make page format data methods accessible from Chromium
15686 https://bugs.webkit.org/show_bug.cgi?id=41056
15688 * public/WebFrame.h:
15689 * src/WebFrameImpl.cpp:
15690 (WebKit::WebFrameImpl::isPageBoxVisible):
15691 (WebKit::WebFrameImpl::pageAreaRectInPixels):
15692 (WebKit::WebFrameImpl::preferredPageSizeInPixels):
15693 * src/WebFrameImpl.h:
15695 2010-06-22 Adam Barth <abarth@webkit.org>
15697 Reviewed by Eric Seidel.
15699 Rename HTMLDocumentParser to LegacyHTMLDocumentParser
15700 https://bugs.webkit.org/show_bug.cgi?id=41043
15702 * src/WebEntities.cpp:
15704 2010-06-22 Pavel Feldman <pfeldman@chromium.org>
15706 Not reviewed: follow up to r61655 to make Chromium tests happy.
15708 * src/js/InspectorControllerImpl.js:
15709 (devtools.InspectorBackendImpl):
15711 2010-06-22 Mikhail Naganov <mnaganov@chromium.org>
15713 Reviewed by Pavel Feldman.
15715 [Chromium] Clean up after removal of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
15717 https://bugs.webkit.org/show_bug.cgi?id=40914
15719 * public/WebDevToolsAgentClient.h:
15721 2010-06-22 Mikhail Naganov <mnaganov@chromium.org>
15723 Reviewed by Pavel Feldman.
15725 [Chromium] Add a sanity test for heap profiler.
15727 https://bugs.webkit.org/show_bug.cgi?id=40917
15730 (.TestSuite.prototype.testHeapProfiler.findDisplayedNode):
15731 (.TestSuite.prototype.testHeapProfiler.findVisibleView):
15732 (.TestSuite.prototype.testHeapProfiler):
15734 2010-06-21 MORITA Hajime <morrita@google.com>
15736 Reviewed by Darin Fisher.
15738 [Chromium] Dragging outside the frame immediately causes page to scroll
15739 http://webkit.org/b/40461
15741 This is regression that was introduced at http://webkit.org/b/39725.
15743 There are 2 problems:
15744 1. It starts auto-scrolling immediately. We should have some delay.
15745 2. The scroll continues even after a mouse cursor goes outside a frame.
15746 The scroll should be stopped when the curosr has left.
15748 This change introduced DragScrollTimer to handle 1.
15749 At the same time, it fixed DragScrollTimer::scrollDistanceFor() to
15750 handle 2, We now stop scrolling when the cursor gone.
15753 * src/DragScrollTimer.cpp: Added.
15754 (WebKit::distanceToRect):
15755 (WebKit::DragScrollTimer::DragScrollTimer):
15756 (WebKit::DragScrollTimer::~DragScrollTimer):
15757 (WebKit::DragScrollTimer::stop):
15758 (WebKit::DragScrollTimer::scroll):
15759 (WebKit::DragScrollTimer::update):
15760 (WebKit::DragScrollTimer::triggerScroll):
15761 (WebKit::DragScrollTimer::scrollDistanceFor):
15762 * src/DragScrollTimer.h: Added.
15763 (WebKit::DragScrollTimer::fired):
15764 (WebKit::DragScrollTimer::shouldScroll):
15765 * src/WebViewImpl.cpp:
15766 (WebKit::WebViewImpl::WebViewImpl):
15767 (WebKit::WebViewImpl::dragSourceEndedAt):
15768 (WebKit::WebViewImpl::dragSourceMovedTo):
15769 (WebKit::WebViewImpl::dragTargetDrop):
15770 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
15771 * src/WebViewImpl.h:
15773 2010-06-21 Kent Tamura <tkent@chromium.org>
15775 Reviewed by Dimitri Glazkov.
15777 [Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER
15778 https://bugs.webkit.org/show_bug.cgi?id=40905
15780 EVENTSOURCE: It is already enabled in Chromium browser. This fixes
15781 some tests with Chromium DRT.
15783 FILE_WRITER and IMAGE_RESIZER: Enable experimental features in
15784 order to test them before enabling them in Chromium browser.
15788 2010-06-21 Satish Sampath <satish@chromium.org>
15790 Reviewed by Steve Block.
15792 Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
15793 https://bugs.webkit.org/show_bug.cgi?id=40878
15797 2010-06-21 Mikhail Naganov <mnaganov@chromium.org>
15799 Reviewed by Yury Semikhatsky.
15801 [Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
15803 Also, move WebDevToolsMessageTransport to its own header file.
15805 https://bugs.webkit.org/show_bug.cgi?id=40913
15809 * public/WebDevToolsAgent.h:
15810 * public/WebDevToolsAgentClient.h:
15811 * public/WebDevToolsMessageTransport.h: Added.
15812 (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
15813 * src/WebDevToolsAgentImpl.cpp:
15816 2010-06-20 Yury Semikhatsky <yurys@chromium.org>
15818 Reviewed by Pavel Feldman.
15820 [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
15821 v8 debugging protocol.
15823 * src/DebuggerAgentManager.cpp:
15824 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
15826 2010-06-19 Jay Civelli <jcivelli@chromium.org>
15828 Reviewed by David Levin.
15830 Adding a < operator to WebURLs so they can be used in std::maps.
15831 https://bugs.webkit.org/show_bug.cgi?id=40632
15833 * public/WebCString.h:
15834 (WebKit::operator<):
15836 (WebKit::operator<):
15837 * src/WebCString.cpp:
15838 (WebKit::WebCString::compare):
15840 2010-06-19 Kent Tamura <tkent@chromium.org>
15842 Unreviewed. Build fix for r61488.
15844 * features.gypi: Define use_accelerated_compositing.
15846 2010-06-19 Thomas Van Lenten <thomasvl@chromium.org>
15848 Reviewed by David Levin.
15850 Warnings from -Wextra in a Chromium Mac build
15851 1. checks of unsigned >= 0
15852 2. enumeral and non-enumeral type in conditional expression
15853 3. copy ctors that don't call the super copy ctor or ctor
15855 https://bugs.webkit.org/show_bug.cgi?id=40791
15857 * src/AutoFillPopupMenuClient.cpp:
15858 (WebKit::AutoFillPopupMenuClient::getSuggestion):
15859 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
15860 (WebKit::AutoFillPopupMenuClient::valueChanged):
15861 (WebKit::AutoFillPopupMenuClient::selectionChanged):
15862 * src/AutocompletePopupMenuClient.cpp:
15863 (WebKit::AutocompletePopupMenuClient::getSuggestion):
15864 (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
15866 2010-06-19 Zhe Su <suzhe@chromium.org>
15868 Reviewed by Darin Fisher.
15870 [chromium]Refactor input method related APIs.
15871 https://bugs.webkit.org/show_bug.cgi?id=40608
15874 * public/WebCompositionCommand.h:
15875 * public/WebCompositionUnderline.h: Added.
15876 (WebKit::WebCompositionUnderline::WebCompositionUnderline):
15877 * public/WebTextInputType.h: Added.
15879 * public/WebViewClient.h:
15880 * public/WebWidget.h:
15881 * public/WebWidgetClient.h:
15882 (WebKit::WebWidgetClient::resetInputMethod):
15883 * src/CompositionUnderlineBuilder.h: Added.
15884 (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
15885 * src/CompositionUnderlineVectorBuilder.cpp: Added.
15886 (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
15887 * src/CompositionUnderlineVectorBuilder.h: Added.
15888 * src/EditorClientImpl.cpp:
15889 (WebKit::EditorClientImpl::setInputMethodState):
15890 * src/WebPopupMenuImpl.cpp:
15891 (WebKit::WebPopupMenuImpl::setComposition):
15892 (WebKit::WebPopupMenuImpl::confirmComposition):
15893 (WebKit::WebPopupMenuImpl::textInputType):
15894 (WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
15895 * src/WebPopupMenuImpl.h:
15896 * src/WebViewImpl.cpp:
15897 (WebKit::WebViewImpl::handleCompositionEvent):
15898 (WebKit::WebViewImpl::setComposition):
15899 (WebKit::WebViewImpl::confirmComposition):
15900 (WebKit::WebViewImpl::textInputType):
15901 (WebKit::WebViewImpl::caretOrSelectionBounds):
15902 * src/WebViewImpl.h:
15904 2010-06-19 Victoria Kirst <vrk@google.com>
15906 Reviewed by David Levin.
15908 Modifying the WebMediaPlayer interface to be compatible with
15909 a change in chrome.
15910 This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
15911 has been updated, so this commit should NOT break chromium anymore,
15912 nor should it cause any test failures.
15913 https://bugs.webkit.org/show_bug.cgi?id=39445
15915 * public/WebMediaPlayer.h: Changed buffered() to be non-const.
15917 2010-06-19 Zhenyao Mo <zmo@google.com>
15919 Reviewed by Dimitri Glazkov.
15921 fast/canvas/webgl/get-active-test.html failed in Chrome Mac
15922 https://bugs.webkit.org/show_bug.cgi?id=40496
15924 * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent().
15925 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
15926 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
15927 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
15929 2010-06-18 Aaron Boodman <aa@chromium.org>
15931 Remove WebKit::WebDocument::isXHTMLDocument.
15932 https://bugs.webkit.org/show_bug.cgi?id=40815
15934 * public/WebDocument.h: Remove isXHTMLDocument().
15935 * src/WebDocument.cpp: Ditto.
15937 2010-06-19 Aaron Boodman <aa@chromium.org>
15939 Unreviewed, rolling out r61466.
15940 http://trac.webkit.org/changeset/61466
15941 https://bugs.webkit.org/show_bug.cgi?id=40816
15943 Landed wrong change
15946 (WebKit::shutdown):
15948 2010-06-18 Aaron Boodman <aa@chromium.org>
15950 WebKit API: Undo static hooks into V8 when WebKit is shut downm
15951 https://bugs.webkit.org/show_bug.cgi?id=40816
15954 (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded().
15956 2010-06-18 Drew Wilson <atwilson@chromium.org>
15958 Reviewed by Darin Fisher.
15960 [Chromium] Plumbing for top-level frame names
15961 https://bugs.webkit.org/show_bug.cgi?id=40430
15963 * public/WebFrame.h:
15964 Removed obsolete clearName() API and added better documentation for
15966 * src/WebFrameImpl.cpp:
15967 Removed clearName() API.
15968 * src/WebFrameImpl.h:
15969 Removed clearName() API.
15971 2010-06-18 Drew Wilson <atwilson@chromium.org>
15973 Reviewed by Dumitru Daniliuc.
15975 Roll chromium DEPS 50089:50171
15976 https://bugs.webkit.org/show_bug.cgi?id=40842
15979 Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName().
15981 2010-06-18 Mikhail Naganov <mnaganov@chromium.org>
15983 Reviewed by Yury Semikhatsky.
15985 Implement 'takeHeapSnapshot' in InspectorController.
15987 https://bugs.webkit.org/show_bug.cgi?id=40834
15989 * src/js/HeapProfilerPanel.js:
15990 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
15991 * src/js/InspectorControllerImpl.js:
15992 (devtools.InspectorBackendImpl):
15993 * src/js/ProfilerAgent.js:
15994 (devtools.ProfilerAgent.prototype.startProfiling):
15996 2010-06-18 Anton Muhin <antonm@chromium.org>
15998 Reviewed by Dimitri Glazkov.
16000 [v8] Finish migration to new named property query API
16001 https://bugs.webkit.org/show_bug.cgi?id=40771
16002 Remove definition which allowed gradual transition to new API.
16003 See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase.
16008 2010-06-17 Pavel Feldman <pfeldman@chromium.org>
16010 Reviewed by Yury Semikhatsky.
16012 Web Inspector: bring XHR console records back.
16013 - adds "Enable XHR Monitor" / "Disable XHR Monitor" actions to the console's context menu
16014 - make the chosen option persist in the settings.
16016 https://bugs.webkit.org/show_bug.cgi?id=40799
16018 * src/js/InspectorControllerImpl.js:
16019 (devtools.InspectorBackendImpl):
16021 2010-06-15 Dumitru Daniliuc <dumi@chromium.org>
16023 Reviewed by Adam Barth.
16025 Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
16026 https://bugs.webkit.org/show_bug.cgi?id=39041
16028 * src/WebRuntimeFeatures.cpp:
16029 (WebKit::WebRuntimeFeatures::enableDatabase):
16030 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
16032 2010-06-17 Tony Chang <tony@chromium.org>
16034 Reviewed by Kent Tamura.
16036 [chromium] cleanup redundant DEPS value and remove buildbot cleanup code
16037 https://bugs.webkit.org/show_bug.cgi?id=40615
16039 * DEPS: tools/data_pack was listed twice for linux (harmless, but unnecessary)
16041 2010-06-17 Jeremy Moskovich <jeremy@chromium.org>
16043 Reviewed by Darin Fisher.
16045 [Chromium API] Implement WebSandboxSupport on OS X and add stubs to allow
16046 OOP loading of fonts.
16048 https://bugs.webkit.org/show_bug.cgi?id=40544
16050 * WebKit.gyp: Add mac WebSandboxSupport.h
16051 * public/mac/WebSandboxSupport.h: Added.
16052 * src/ChromiumBridge.cpp:
16053 (WebCore::ChromiumBridge::loadFont):
16055 2010-06-17 Pavel Feldman <pfeldman@chromium.org>
16057 Unreviewed: chromium tests fix. Added InspectorBackend delegates for new inspector methods.
16059 * src/js/InspectorControllerImpl.js:
16060 (devtools.InspectorBackendImpl):
16062 2010-06-17 Mikhail Naganov <mnaganov@chromium.org>
16064 Reviewed by Pavel Feldman.
16066 [Chromium] Prepare to making WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual
16068 https://bugs.webkit.org/show_bug.cgi?id=39302
16070 * public/WebDevToolsAgent.h:
16071 * public/WebDevToolsAgentClient.h:
16072 (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
16073 * src/WebDevToolsAgentImpl.cpp:
16075 (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
16077 2010-06-17 John Gregg <johnnyg@google.com>
16079 Reviewed by David Levin.
16081 Undo the build fix with the correct patch: Chromium NotificationPresenter
16082 is now informed of the destruction before it actually happens, so this
16083 use of the Notification object is correct.
16084 https://bugs.webkit.org/show_bug.cgi?id=40097
16086 * src/NotificationPresenterImpl.cpp:
16087 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
16089 2010-06-16 Kent Tamura <tkent@chromium.org>
16091 Reviewed by Dimitri Glazkov.
16093 [DRT/Chromium] Set current working directory for each of tests
16094 https://bugs.webkit.org/show_bug.cgi?id=40668
16096 * DEPS: Update Chromium to r49915 to have
16097 webkit_support::SetCurrentDirectoryForFileURL().
16099 2010-06-16 Drew Wilson <atwilson@chromium.org>
16101 Reviewed by Kent Tamura.
16103 Added plumbing to Chromium WebKit API to allow setting/getting the name
16104 of top level frames.
16106 https://bugs.webkit.org/show_bug.cgi?id=40430
16107 * public/WebFrame.h:
16108 Added setName() API.
16109 * public/WebViewClient.h:
16110 (WebKit::WebViewClient::createView):
16111 Now takes a "name" parameter.
16112 * src/ChromeClientImpl.cpp:
16113 (WebKit::ChromeClientImpl::createWindow):
16114 Passes a name parameter.
16115 * src/WebFrameImpl.cpp:
16116 (WebKit::WebFrameImpl::setName):
16117 Allows setting the frame name by calling through to the WebCore API.
16118 * src/WebFrameImpl.h:
16120 2010-06-15 Darin Adler <darin@apple.com>
16122 Reviewed by Adam Barth.
16124 Move functions out of Frame class that were marked "move to Chrome"
16125 https://bugs.webkit.org/show_bug.cgi?id=39636
16127 * src/WebViewImpl.cpp:
16128 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose
16129 on FrameLoader instead of going through Frame.
16131 2010-06-11 Darin Fisher <darin@chromium.org>
16133 Reviewed by Brady Eidson.
16135 Expose WebHistoryItem::itemSequenceNumber.
16137 https://bugs.webkit.org/show_bug.cgi?id=40451
16139 * public/WebHistoryItem.h:
16140 * src/WebHistoryItem.cpp:
16141 (WebKit::WebHistoryItem::itemSequenceNumber):
16142 (WebKit::WebHistoryItem::setItemSequenceNumber):
16144 2010-06-15 Yury Semikhatsky <yurys@chromium.org>
16146 Reviewed by Pavel Feldman.
16148 [v8] Web Inspector: make ui tests pass when ScriptDebugServer is used
16149 https://bugs.webkit.org/show_bug.cgi?id=40623
16151 * src/js/DebuggerAgent.js:
16152 (devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions.
16153 * src/js/DebuggerScript.js:
16155 (.TestSuite.prototype.testProfilerTab.findVisibleView):
16156 (.TestSuite.prototype.testProfilerTab):
16157 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
16158 (.TestSuite.prototype.testSetBreakpoint.this):
16159 (.TestSuite.prototype.testSetBreakpoint):
16160 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
16161 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
16162 (.TestSuite.prototype.testExpandScope.examineScopes):
16163 (.TestSuite.prototype.testExpandScope):
16164 (.TestSuite.prototype.testDebugIntrinsicProperties):
16166 2010-06-14 Anders Carlsson <andersca@apple.com>
16168 Fix Chromium build.
16170 * src/WebPluginListBuilderImpl.cpp:
16171 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
16173 2010-06-14 Dumitru Daniliuc <dumi@chromium.org>
16175 Reviewed by Adam Barth.
16177 Get DatabaseTracker ready for sync DBs.
16178 https://bugs.webkit.org/show_bug.cgi?id=39041
16180 * public/WebDatabase.h:
16181 * src/DatabaseObserver.cpp:
16182 (WebCore::DatabaseObserver::databaseOpened):
16183 (WebCore::DatabaseObserver::databaseModified):
16184 (WebCore::DatabaseObserver::databaseClosed):
16185 * src/WebDatabase.cpp:
16186 (WebKit::WebDatabase::closeDatabaseImmediately):
16187 (WebKit::WebDatabase::WebDatabase):
16188 (WebKit::WebDatabase::operator=):
16189 (WebKit::WebDatabase::operator WTF::PassRefPtr<AbstractDatabase>):
16191 2010-06-14 Chris Fleizach <cfleizach@apple.com>
16193 Reviewed by Darin Adler.
16195 AX: need ListItemRole and PresentationalRole
16196 https://bugs.webkit.org/show_bug.cgi?id=40133
16198 * public/WebAccessibilityRole.h:
16199 * src/AssertMatchingEnums.cpp:
16201 2010-06-14 Anders Carlsson <andersca@apple.com>
16203 Reviewed by Sam Weinig.
16205 Remove pluginIndex from MimeClassInfo
16206 https://bugs.webkit.org/show_bug.cgi?id=40588
16208 * src/WebPluginListBuilderImpl.cpp:
16209 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
16211 2010-06-14 Jeremy Orlow <jorlow@chromium.org>
16215 * src/IDBCallbacksProxy.h:
16217 2010-06-14 Ilya Tikhonovsky <loislo@chromium.org>
16219 Reviewed by Pavel Feldman.
16221 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
16222 data from inspected page to WebInspector as JSON string via http. The native
16223 serialization to JSON string is supported by InspectorValue's classes. This patch
16224 has the implementation of sendMessageToFrontend function. WebKit version of it still
16225 uses ScriptFunctionCall and will be switched to another transport a little bit later.
16226 https://bugs.webkit.org/show_bug.cgi?id=40134
16228 * src/InspectorClientImpl.cpp:
16229 (WebKit::InspectorClientImpl::sendMessageToFrontend):
16230 * src/InspectorClientImpl.h:
16231 * src/WebDevToolsAgentImpl.cpp:
16232 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
16234 2010-06-13 Tony Chang <tony@chromium.org>
16236 Reviewed by Darin Fisher.
16238 [chromium] checkout chromium third_party directly
16239 https://bugs.webkit.org/show_bug.cgi?id=40556
16243 2010-06-13 Tony Chang <tony@chromium.org>
16245 Build fix, not reviewed.
16247 fix chromium compile after r61094 (id attribute refactor)
16248 https://bugs.webkit.org/show_bug.cgi?id=40553
16250 * src/ChromeClientImpl.cpp:
16251 * src/WebFormControlElement.cpp:
16252 (WebKit::WebFormControlElement::nameForAutofill):
16254 2010-06-13 Andras Becsi <abecsi@inf.u-szeged.hu>
16256 Reviewed by Darin Adler.
16258 Centralize the gperf code generation commands into make-hash-tools.pl
16259 to avoid redundancy across multiple build systems.
16260 Do this in preparation of refactoring the usage of these generated
16261 sources to fix the debug linking error on Linux with gcc >= 4.4.0.
16265 * src/WebEntities.cpp:
16267 2010-06-11 Eric Seidel <eric@webkit.org>
16269 Reviewed by Adam Barth.
16271 Rename the rest of the *Tokenizer classes to *DocumentParser
16272 https://bugs.webkit.org/show_bug.cgi?id=40507
16274 * src/WebEntities.cpp:
16275 - Fix a comment to match new class names.
16277 2010-06-12 Evan Stade <estade@chromium.org>
16279 Reviewed by Eric Seidel.
16281 [chromium] Menu key should act on current selection even if it is not editable
16282 https://bugs.webkit.org/show_bug.cgi?id=40348
16284 Allow the menu key to act on non-editable selections.
16286 * src/WebViewImpl.cpp:
16287 (WebKit::WebViewImpl::sendContextMenuEvent):
16289 2010-06-11 James Hawkins <jhawkins@chromium.org>
16291 Reviewed by Darin Fisher.
16293 [Chromium] Notify the WebView when the AutoFill popup hides.
16295 https://bugs.webkit.org/show_bug.cgi?id=40459
16297 * src/AutoFillPopupMenuClient.cpp:
16298 (WebKit::AutoFillPopupMenuClient::selectionCleared):
16300 2010-06-11 Tony Gentilcore <tonyg@chromium.org>
16302 Reviewed by Dimitri Glazkov.
16304 Roll chromium DEPS 49376:49521
16305 https://bugs.webkit.org/show_bug.cgi?id=40488
16309 2010-06-10 Jeremy Orlow <jorlow@chromium.org>
16311 Reviewed by Steve Block.
16313 Implement more of IndexedDB's Indexes and ObjectStores
16314 https://bugs.webkit.org/show_bug.cgi?id=40424
16316 Add plumbing for both of these classes.
16318 * public/WebIDBDatabase.h:
16319 (WebKit::WebIDBDatabase::name):
16320 (WebKit::WebIDBDatabase::description):
16321 (WebKit::WebIDBDatabase::version):
16322 (WebKit::WebIDBDatabase::objectStores):
16323 (WebKit::WebIDBDatabase::objectStore):
16324 (WebKit::WebIDBDatabase::removeObjectStore):
16325 * public/WebIDBObjectStore.h:
16326 (WebKit::WebIDBObjectStore::indexNames):
16327 (WebKit::WebIDBObjectStore::createIndex):
16328 (WebKit::WebIDBObjectStore::index):
16329 (WebKit::WebIDBObjectStore::removeIndex):
16330 * src/IDBDatabaseProxy.cpp:
16331 (WebCore::IDBDatabaseProxy::name):
16332 (WebCore::IDBDatabaseProxy::description):
16333 (WebCore::IDBDatabaseProxy::version):
16334 (WebCore::IDBDatabaseProxy::objectStores):
16335 (WebCore::IDBDatabaseProxy::objectStore):
16336 (WebCore::IDBDatabaseProxy::removeObjectStore):
16337 * src/IDBDatabaseProxy.h:
16338 * src/IDBObjectStoreProxy.cpp:
16339 (WebCore::IDBObjectStoreProxy::indexNames):
16340 (WebCore::IDBObjectStoreProxy::createIndex):
16341 (WebCore::IDBObjectStoreProxy::index):
16342 (WebCore::IDBObjectStoreProxy::removeIndex):
16343 * src/IDBObjectStoreProxy.h:
16344 * src/WebIDBDatabaseImpl.cpp:
16345 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
16346 (WebKit::WebIDBDatabaseImpl::name):
16347 (WebKit::WebIDBDatabaseImpl::description):
16348 (WebKit::WebIDBDatabaseImpl::version):
16349 (WebKit::WebIDBDatabaseImpl::objectStores):
16350 (WebKit::WebIDBDatabaseImpl::createObjectStore):
16351 (WebKit::WebIDBDatabaseImpl::objectStore):
16352 (WebKit::WebIDBDatabaseImpl::removeObjectStore):
16353 * src/WebIDBDatabaseImpl.h:
16354 * src/WebIDBObjectStoreImpl.cpp:
16355 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
16356 (WebKit::WebIDBObjectStoreImpl::name):
16357 (WebKit::WebIDBObjectStoreImpl::keyPath):
16358 (WebKit::WebIDBObjectStoreImpl::indexNames):
16359 (WebKit::WebIDBObjectStoreImpl::createIndex):
16360 (WebKit::WebIDBObjectStoreImpl::index):
16361 (WebKit::WebIDBObjectStoreImpl::removeIndex):
16362 * src/WebIDBObjectStoreImpl.h:
16364 2010-06-11 Alexander Pavlov <apavlov@chromium.org>
16366 Reviewed by Pavel Feldman.
16368 Web Inspector: Enable serialization/deserialization of the frontend state
16369 https://bugs.webkit.org/show_bug.cgi?id=40228
16371 * src/js/InspectorControllerImpl.js:
16372 (devtools.InspectorBackendImpl):
16374 2010-06-10 Søren Gjesse <sgjesse@chromium.org>
16376 Reviewed by Pavel Feldman.
16378 V8: Chromium test expectations not matching improved V8 JavaScript stepping
16379 https://bugs.webkit.org/show_bug.cgi?id=40419
16381 Update test expetations to match chaged V8 break locations.
16385 2010-06-10 Pavel Feldman <pfeldman@chromium.org>
16387 Reviewed by Yury Semikhatsky.
16389 Web Inspector: Port performSearch from InjectedScript to InspectorDOMAgent.
16391 https://bugs.webkit.org/show_bug.cgi?id=40422
16393 * src/js/InspectorControllerImpl.js:
16394 (devtools.InspectorBackendImpl):
16396 2010-06-11 Vangelis Kokkevis <vangelis@chromium.org>
16398 Reviewed by David Levin.
16400 [chromium] Adding a build dependency to the gles2 C library to the webkit_unit_tests
16401 project to allow it to link when WebCore is compiled with the ACCELERATED_COMPOSITING
16403 https://bugs.webkit.org/show_bug.cgi?id=40341
16407 2010-06-10 Kent Tamura <tkent@chromium.org>
16409 Reviewed by Dimitri Glazkov.
16411 [DRT/Chromium] Support plugin tests
16412 https://bugs.webkit.org/show_bug.cgi?id=40413
16415 Bump the Chromium revision to r49376 to have a npapi_layout_test_plugin
16416 change and Linux <progress> resources.
16417 Add third_party/mesa because app/ depends on them
16420 Copy a plugin binary for DRT to recognize it.
16422 2010-06-10 James Hawkins <jhawkins@chromium.org>
16426 Build fix for Chromium Mac Release.
16428 * src/AutoFillPopupMenuClient.cpp:
16429 (WebKit::AutoFillPopupMenuClient::getSuggestion):
16430 (WebKit::AutoFillPopupMenuClient::valueChanged):
16431 (WebKit::AutoFillPopupMenuClient::selectionChanged):
16432 (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
16434 2010-06-09 James Hawkins <jhawkins@chromium.org>
16436 Reviewed by Darin Fisher.
16438 [Chromium] Add the ability to specify a separator in
16439 AutoFillPopupMenuClient.
16441 https://bugs.webkit.org/show_bug.cgi?id=40397
16443 * public/WebViewClient.h:
16444 (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
16445 * src/AutoFillPopupMenuClient.cpp:
16446 (WebKit::AutoFillPopupMenuClient::getSuggestionsCount):
16447 (WebKit::AutoFillPopupMenuClient::getSuggestion):
16448 (WebKit::AutoFillPopupMenuClient::valueChanged):
16449 (WebKit::AutoFillPopupMenuClient::selectionChanged):
16450 (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
16451 (WebKit::AutoFillPopupMenuClient::initialize):
16452 (WebKit::AutoFillPopupMenuClient::setSuggestions):
16453 * src/AutoFillPopupMenuClient.h:
16454 * src/WebViewImpl.cpp:
16455 (WebKit::WebViewImpl::applyAutoFillSuggestions):
16456 * src/WebViewImpl.h:
16458 2010-06-10 Dmitry Titov <dimich@chromium.org>
16460 Not reviewed, Chromium build fix from Abhishek Arya.
16462 * src/WebImageCG.cpp:
16463 (WebKit::WebImage::WebImage):
16464 (WebKit::WebImage::operator=):
16466 2010-06-10 Abhishek Arya <inferno@chromium.org>
16468 Reviewed by Dimitri Glazkov.
16470 Add null pointer checks for nativeImageForCurrentFrame
16472 https://bugs.webkit.org/show_bug.cgi?id=39797
16474 * src/WebImageCG.cpp:
16475 (WebKit::WebImage::WebImage):
16476 (WebKit::WebImage::operator=):
16478 2010-06-10 Yury Semikhatsky <yurys@chromium.org>
16480 Reviewed by Pavel Feldman.
16482 Web Inspector: to reduce the front end start up time don't push script
16483 sources to frontend if debugger is always enabled, instead request
16484 script content lazily at the moment it should be displyed. It is critical for
16485 always enabled debugger because in that case lots of script may have
16486 already been parsed when the front end is opening and pushing all
16487 of them at once may slow things down(even though the script sources will never
16488 be used if scripts panel isn't open).
16489 https://bugs.webkit.org/show_bug.cgi?id=40364
16491 * src/js/DevTools.js:
16492 * src/js/InspectorControllerImpl.js:
16493 (devtools.InspectorBackendImpl):
16494 (.devtools.InspectorBackendImpl.prototype.getScriptSource):
16496 2010-06-10 Mike Belshe <mbelshe@google.com>
16498 Reviewed by David Levin
16500 Track whether a resource is loaded via a proxy.
16502 https://bugs.webkit.org/show_bug.cgi?id=40312
16504 * public/WebURLResponse.h:
16505 * src/WebURLResponse.cpp:
16506 (WebKit::WebURLResponse::wasFetchedViaProxy):
16507 (WebKit::WebURLResponse::setWasFetchedViaProxy):
16509 2010-06-10 Vangelis Kokkevis <vangelis@chromium.org>
16511 Reviewed by Dimitri Glazkov.
16513 [chromium] Adding the ANGLE project to the DEPS file as it's required
16514 by the gpu-accelerated compositor.
16515 https://bugs.webkit.org/show_bug.cgi?id=40379
16519 2010-06-09 Bo Liu <boliu@chromium.org>
16521 Reviewed by David Levin.
16523 [Chromium] Pass <video> full screen calls to Chromium port client
16524 https://bugs.webkit.org/show_bug.cgi?id=40317
16526 * public/WebViewClient.h:
16527 (WebKit::WebViewClient::supportsFullscreen):
16528 (WebKit::WebViewClient::enterFullscreenForNode):
16529 (WebKit::WebViewClient::exitFullscreenForNode):
16530 * src/ChromeClientImpl.cpp:
16531 (WebKit::ChromeClientImpl::supportsFullscreenForNode):
16532 (WebKit::ChromeClientImpl::enterFullscreenForNode):
16533 (WebKit::ChromeClientImpl::exitFullscreenForNode):
16534 * src/ChromeClientImpl.h:
16536 2010-06-09 Kenneth Russell <kbr@google.com>
16538 Reviewed by Dimitri Glazkov.
16540 Rename FloatArray to Float32Array
16541 https://bugs.webkit.org/show_bug.cgi?id=40323
16543 Used do-webcore-rename to perform renaming. Manually undid
16544 incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp,
16545 WebCore/manual-tests/resources/ArrayParameterTestApplet.java and
16546 ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran
16547 all layout tests on Safari; built Chromium and ran selected WebGL
16550 * src/GraphicsContext3D.cpp:
16552 2010-06-09 Sheriff Bot <webkit.review.bot@gmail.com>
16554 Unreviewed, rolling out r60889.
16555 http://trac.webkit.org/changeset/60889
16556 https://bugs.webkit.org/show_bug.cgi?id=40365
16558 gtk bot has some kind of memory corruption (Requested by
16559 loislo on #webkit).
16561 * src/InspectorClientImpl.cpp:
16562 * src/InspectorClientImpl.h:
16563 * src/WebDevToolsAgentImpl.cpp:
16564 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
16566 2010-06-09 Pavel Podivilov <podivilov@chromium.org>
16568 Reviewed by Yury Semikhatsky.
16570 Web Inspector: retreive debugger script source synchronously when
16571 frontend is attached. We need this to be able to stop on top-level
16573 https://bugs.webkit.org/show_bug.cgi?id=40289
16576 * src/DebuggerAgent.h:
16577 * src/DebuggerAgentImpl.cpp:
16578 * src/DebuggerAgentImpl.h:
16579 * src/WebDevToolsAgentImpl.cpp:
16580 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
16581 * src/js/DebuggerScript.js:
16582 * src/js/DevTools.js:
16583 (WebInspector.loaded):
16584 * src/js/DevToolsHostStub.js:
16586 2010-06-07 Ilya Tikhonovsky <loislo@chromium.org>
16588 Reviewed by Pavel Feldman.
16590 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
16591 data from inspected page to WebInspector as JSON string via http. The native
16592 serialization to JSON string is supported by InspectorValue's classes. This patch
16593 has the implementation of sendMessageToFrontend function. WebKit version of it still
16594 uses ScriptFunctionCall and will be switched to another transport a little bit later.
16595 https://bugs.webkit.org/show_bug.cgi?id=40134
16597 * src/InspectorClientImpl.cpp:
16598 (WebKit::InspectorClientImpl::sendMessageToFrontend):
16599 * src/InspectorClientImpl.h:
16600 * src/WebDevToolsAgentImpl.cpp:
16601 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
16603 2010-06-09 Yury Semikhatsky <yurys@chromium.org>
16605 Reviewed by Pavel Feldman.
16607 Web Inspector: update stack trace after script source editing
16608 https://bugs.webkit.org/show_bug.cgi?id=40357
16610 * src/js/DebuggerAgent.js:
16611 (devtools.DebuggerAgent.prototype.editScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
16612 (devtools.DebuggerAgent.prototype.editScriptSource.requestBacktrace):
16613 (devtools.DebuggerAgent.prototype.editScriptSource.handleBacktraceResponse):
16614 (devtools.DebuggerAgent.prototype.editScriptSource.reportDidCommitEditing):
16615 (devtools.DebuggerAgent.prototype.editScriptSource):
16616 (devtools.DebuggerAgent.prototype.requestBacktrace_):
16617 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
16618 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
16619 (devtools.DebuggerAgent.prototype.updateCallFramesFromBacktraceResponse_):
16620 * src/js/InspectorControllerImpl.js:
16621 (.devtools.InspectorBackendImpl.prototype.editScriptSource):
16623 2010-06-08 Tony Chang <tony@chromium.org>
16625 Reviewed by David Levin.
16627 [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
16628 https://bugs.webkit.org/show_bug.cgi?id=40285
16630 Take 2 at landing this patch, this time rolling DEPS just a bit
16631 further to pick up some chromium fixes.
16636 2010-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
16638 Unreviewed, rolling out r60878.
16639 http://trac.webkit.org/changeset/60878
16640 https://bugs.webkit.org/show_bug.cgi?id=40349
16642 broke linux build (Requested by tony^work on #webkit).
16647 2010-06-08 Tony Chang <tony@chromium.org>
16649 Reviewed by David Levin.
16651 [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
16652 https://bugs.webkit.org/show_bug.cgi?id=40285
16656 2010-06-08 Tony Chang <tony@chromium.org>
16658 Not reviewed, build fix.
16660 [chromium] fix linux compile
16661 https://bugs.webkit.org/show_bug.cgi?id=40343
16665 2010-06-08 Yury Semikhatsky <yurys@chromium.org>
16667 Reviewed by Pavel Feldman.
16669 Web Inspector: extend ScriptDebugServer to support script source editing
16670 https://bugs.webkit.org/show_bug.cgi?id=40297
16672 * src/js/DebuggerAgent.js:
16673 (devtools.ScriptInfo.prototype.worldType):
16674 * src/js/DebuggerScript.js:
16675 (debuggerScriptConstructor.DebuggerScript.editScriptSource):
16676 * src/js/DevTools.js:
16677 (WebInspector.loaded):
16678 * src/js/InspectorControllerImpl.js:
16679 (devtools.InspectorBackendImpl):
16681 2010-06-08 Antonio Gomes <tonikitoo@webkit.org>
16683 Reviewed by Ojan Vafai and Darin Adler.
16685 Refactor platform dependent editing behavior code out of Settings
16686 https://bugs.webkit.org/show_bug.cgi?id=39854
16688 EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
16689 EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
16691 * src/WebSettingsImpl.cpp:
16692 (WebKit::WebSettingsImpl::setEditingBehavior):
16693 2010-06-07 Tony Chang <tony@chromium.org>
16695 Reviewed by Kent Tamura.
16697 [chromium] roll chromium DEPS
16698 https://bugs.webkit.org/show_bug.cgi?id=40277
16702 2010-06-07 Kinuko Yasuda <kinuko@chromium.org>
16704 Reviewed by Jian Li.
16706 Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder.
16707 https://bugs.webkit.org/show_bug.cgi?id=39083
16709 Replace FormDataList::Item list with BlobItemList to get it compiled
16710 with the refactoring in FormDataList.
16712 * src/WebSearchableFormData.cpp:
16713 (WebCore::HasSuitableTextElement):
16715 2010-06-07 Andrei Popescu <andreip@google.com>
16717 Reviewed by Jeremy Orlow.
16719 [indexedDB] It is impossible to create object stores
16720 https://bugs.webkit.org/show_bug.cgi?id=40054
16723 * public/WebIDBCallbacks.h:
16724 (WebKit::WebIDBCallbacks::onSuccess):
16725 * public/WebIDBDatabase.h:
16726 (WebKit::WebIDBDatabase::createObjectStore):
16727 * public/WebIDBObjectStore.h: Added.
16728 (WebKit::WebIDBObjectStore::~WebIDBObjectStore):
16729 (WebKit::WebIDBObjectStore::name):
16730 (WebKit::WebIDBObjectStore::keyPath):
16731 * src/IDBCallbacksProxy.cpp:
16732 (WebCore::IDBCallbacksProxy::onSuccess):
16733 * src/IDBCallbacksProxy.h:
16734 * src/IDBDatabaseProxy.cpp:
16735 (WebCore::IDBDatabaseProxy::createObjectStore):
16736 * src/IDBDatabaseProxy.h:
16737 * src/IDBObjectStoreProxy.cpp: Added.
16738 (WebCore::IDBObjectStoreProxy::create):
16739 (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
16740 (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
16741 (WebCore::IDBObjectStoreProxy::name):
16742 (WebCore::IDBObjectStoreProxy::keyPath):
16743 (WebCore::IDBObjectStoreProxy::indexNames):
16744 (WebCore::IDBObjectStoreProxy::createIndex):
16745 (WebCore::IDBObjectStoreProxy::index):
16746 (WebCore::IDBObjectStoreProxy::removeIndex):
16747 * src/IDBObjectStoreProxy.h: Added.
16748 * src/IndexedDatabaseProxy.cpp:
16749 (WebCore::IndexedDatabaseProxy::open):
16750 * src/WebIDBCallbacksImpl.cpp:
16751 (WebCore::WebIDBCallbacksImpl::onSuccess):
16752 * src/WebIDBCallbacksImpl.h:
16753 * src/WebIDBDatabaseImpl.cpp:
16754 (WebKit::WebIDBDatabaseImpl::createObjectStore):
16755 * src/WebIDBDatabaseImpl.h:
16756 * src/WebIDBObjectStoreImpl.cpp: Added.
16757 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
16758 (WebKit::WebIDBObjectStoreImpl::~WebIDBObjectStoreImpl):
16759 (WebKit::WebIDBObjectStoreImpl::name):
16760 (WebKit::WebIDBObjectStoreImpl::keyPath):
16761 * src/WebIDBObjectStoreImpl.h: Added.
16762 * src/WebIndexedDatabaseImpl.cpp:
16763 (WebKit::WebIndexedDatabaseImpl::open):
16765 2010-06-07 Yury Semikhatsky <yurys@chromium.org>
16767 Reviewed by Pavel Feldman.
16769 Web Inspector: should be possible to distinguish extension scripts from main world scripts
16770 https://bugs.webkit.org/show_bug.cgi?id=40220
16772 * src/js/DebuggerAgent.js:
16773 (devtools.DebuggerAgent.prototype.initUI):
16774 (devtools.DebuggerAgent.prototype.addScriptInfo_):
16775 (devtools.DebuggerAgent.prototype.formatCallFrame_):
16776 (devtools.ScriptInfo.prototype.worldType):
16777 * src/js/DebuggerScript.js:
16778 (debuggerScriptConstructor.DebuggerScript.getScripts): use only context id without context type
16779 when filtering scripts so that extension scripts are also included.
16780 (debuggerScriptConstructor.DebuggerScript._formatScript):
16781 * src/js/devTools.css:
16783 2010-06-04 Jay Civelli <jcivelli@chromium.org>
16785 Reviewed by Dimitri Glazkov.
16787 Accessibility focus change notifications are now sent from
16788 ChromeClientImpl::focusedNodeChanged().
16789 https://bugs.webkit.org/show_bug.cgi?id=39792
16791 * src/ChromeClientImpl.cpp:
16792 (WebKit::ChromeClientImpl::focus):
16793 (WebKit::ChromeClientImpl::focusedNodeChanged):
16795 2010-06-04 Jay Civelli <jcivelli@chromium.org>
16797 Reviewed by David Levin.
16799 [chromium] Adding support for the left and right Windows keys to the
16800 NativeWebKeyboardEvent.
16801 https://bugs.webkit.org/show_bug.cgi?id=39752
16803 * src/gtk/WebInputEventFactory.cpp:
16804 (WebKit::gdkEventToWindowsKeyCode):
16806 2010-06-04 Pavel Podivilov <podivilov@chromium.org>
16808 Reviewed by Yury Semikhatsky.
16810 Web Inspector: Create resource for DebuggerScript.js.
16811 https://bugs.webkit.org/show_bug.cgi?id=40122
16814 * public/WebDevToolsAgentClient.h:
16815 (WebKit::WebDevToolsAgentClient::debuggerScriptSource):
16817 2010-05-26 MORITA Hajime <morrita@google.com>
16819 Reviewed by Jian Li.
16821 [Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges
16822 https://bugs.webkit.org/show_bug.cgi?id=39725
16824 Added WebViewImpl::scrollForDragging() to handle scroll-on-drag.
16825 Note that this change handes both source and destination cases.
16827 * public/WebView.h:
16828 * src/WebViewImpl.cpp:
16829 (WebKit::WebViewImpl::dragSourceMovedTo):
16830 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
16831 (WebKit::WebViewImpl::scrollForDragging):
16832 * src/WebViewImpl.h:
16834 2010-06-03 Yury Semikhatsky <yurys@chromium.org>
16836 Reviewed by Pavel Feldman.
16838 [v8] Web Inspector: show "Object" as description for values with anonymous constructor
16839 https://bugs.webkit.org/show_bug.cgi?id=40121
16841 * src/js/DevTools.js: don't call DebuggerAgent methods if ScriptDebugServer is used.
16843 2010-06-03 Kent Tamura <tkent@chromium.org>
16845 Reviewed by Dimitri Glazkov.
16847 [DRT/Chromium] Checking out lighttpd
16848 https://bugs.webkit.org/show_bug.cgi?id=39948
16850 - Add lighttpd only on Windows. It is used by new-run-webkit-tests.
16852 - Remove pthreads-win32 from DEPS.
16853 It has not been used since Chromium r28642.
16854 - Update Chromium revision to use Windows resource query code and
16855 webkit_glue dependency fix.
16859 2010-06-02 Tony Chang <tony@chromium.org>
16861 Reviewed by Kent Tamura.
16863 [chromium] refactor WebKit.gyp's DRT section so the conditions are less messy
16864 https://bugs.webkit.org/show_bug.cgi?id=40104
16868 2010-06-02 Tony Chang <tony@chromium.org>
16870 Not reviewed, build fix in downstream chromium.
16872 Fix the path to repack.py so it works in a chromium checkout too.
16876 2010-06-02 Tony Chang <tony@chromium.org>
16878 Reviewed by Kent Tamura.
16880 [chromium] generate DumpRenderTree.pak on DRT linux
16881 https://bugs.webkit.org/show_bug.cgi?id=40098
16885 2010-06-02 Sheriff Bot <webkit.review.bot@gmail.com>
16887 Unreviewed, rolling out r60592.
16888 http://trac.webkit.org/changeset/60592
16889 https://bugs.webkit.org/show_bug.cgi?id=40099
16891 broke the build, need to coordiate updating DEPS (Requested by
16892 tony^work on #webkit).
16895 * public/WebMediaPlayer.h:
16897 2010-06-02 Victoria Kirst <vrk@google.com>
16899 Reviewed by David Levin.
16901 Modifying the WebMediaPlayer interface to be compatible with
16902 a change in chrome.
16903 This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
16904 has been updated, so this commit should NOT break chromium anymore.
16905 https://bugs.webkit.org/show_bug.cgi?id=39445
16907 * DEPS: Updated to a newer chrome revision number.
16908 * public/WebMediaPlayer.h: Changed buffered() to be non-const.
16910 2010-06-02 Peter Kasting <pkasting@google.com>
16912 Unreviewed, emergency fix for test crashes (verbal r+ beforehand from
16915 Temporarily make notificationObjectDestroyed() a no-op to avoid an
16918 https://bugs.webkit.org/show_bug.cgi?id=40097
16920 * src/NotificationPresenterImpl.cpp:
16921 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
16923 2010-06-02 Sterling Swigart <sswigart@google.com>
16925 Reviewed by David Levin.
16927 Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches.
16928 https://bugs.webkit.org/show_bug.cgi?id=39906
16932 2010-06-01 James Hawkins <jhawkins@chromium.org>
16934 UNREVIEWED: build fix.
16936 Implement the added virtual methods from PopupMenuClient to
16937 TestPopupMenuClient.
16939 * tests/PopupMenuTest.cpp:
16940 (WebKit::TestPopupMenuClient::selectionChanged):
16941 (WebKit::TestPopupMenuClient::selectionCleared):
16943 2010-05-24 James Hawkins <jhawkins@chromium.org>
16945 Reviewed by Darin Fisher.
16947 [Chromium] Implement new PopupMenuClient methods selectionChanged()
16948 and selectionCleared(). Expose placeHolder methods and isAutoFilled()
16949 in WebInputElement.
16951 https://bugs.webkit.org/show_bug.cgi?id=39639
16953 * public/WebInputElement.h:
16954 * public/WebViewClient.h:
16955 (WebKit::WebViewClient::didSelectAutoFillSuggestion):
16956 (WebKit::WebViewClient::didClearAutoFillSelection):
16957 * src/AutoFillPopupMenuClient.cpp:
16958 (WebKit::AutoFillPopupMenuClient::selectionChanged):
16959 (WebKit::AutoFillPopupMenuClient::selectionCleared):
16960 (WebKit::AutoFillPopupMenuClient::popupDidHide):
16961 * src/AutoFillPopupMenuClient.h:
16962 * src/SuggestionsPopupMenuClient.h:
16963 (WebKit::SuggestionsPopupMenuClient::selectionChanged):
16964 (WebKit::SuggestionsPopupMenuClient::selectionCleared):
16965 * src/WebInputElement.cpp:
16966 (WebKit::WebInputElement::setPlaceholder):
16967 (WebKit::WebInputElement::placeholder):
16968 (WebKit::WebInputElement::isAutofilled):
16970 2010-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
16972 Unreviewed, rolling out r60483.
16973 http://trac.webkit.org/changeset/60483
16974 https://bugs.webkit.org/show_bug.cgi?id=40013
16976 Breaks Mac and Linux builds (Requested by antonm on #webkit).
16980 2010-06-01 Jeremy Orlow <jorlow@chromium.org>
16982 Reviewed by Darin Fisher.
16985 https://bugs.webkit.org/show_bug.cgi?id=40007
16987 Remove the exception code paramter (that hasn't been used for a while).
16988 Add asserts to default implementations.
16990 * public/WebIDBDatabase.h:
16991 (WebKit::WebIDBDatabase::name):
16992 (WebKit::WebIDBDatabase::description):
16993 (WebKit::WebIDBDatabase::version):
16994 (WebKit::WebIDBDatabase::objectStores):
16995 * public/WebIndexedDatabase.h:
16996 (WebKit::WebIndexedDatabase::open):
16997 * src/WebIndexedDatabaseImpl.cpp:
16998 (WebKit::WebIndexedDatabaseImpl::open):
16999 * src/WebIndexedDatabaseImpl.h:
17001 2010-06-01 Anton Muhin <antonm@chromium.org>
17003 Reviewed by Dimitri Glazkov.
17005 Rolling Chromium revision to bring recent changes to V8.
17009 2010-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
17011 Unreviewed, rolling out r60470.
17012 http://trac.webkit.org/changeset/60470
17013 https://bugs.webkit.org/show_bug.cgi?id=39990
17015 Need to rollout until bot can be updated (Requested by jorlow
17020 2010-05-31 Pavel Podivilov <podivilov@chromium.org>
17022 Reviewed by Pavel Feldman.
17024 Chromium: save inspector settings as dictionary, not as string.
17025 https://bugs.webkit.org/show_bug.cgi?id=32118
17027 * public/WebView.h:
17028 * public/WebViewClient.h:
17029 (WebKit::WebViewClient::didUpdateInspectorSetting):
17030 * src/InspectorClientImpl.cpp:
17031 (WebKit::InspectorClientImpl::populateSetting):
17032 (WebKit::InspectorClientImpl::storeSetting):
17033 * src/InspectorClientImpl.h:
17034 * src/WebViewImpl.cpp:
17035 (WebKit::WebViewImpl::WebViewImpl):
17036 (WebKit::WebViewImpl::inspectorSetting):
17037 (WebKit::WebViewImpl::setInspectorSetting):
17038 * src/WebViewImpl.h:
17040 2010-05-31 James Robinson <jamesr@chromium.org>
17042 Reviewed by Darin Fisher.
17044 Expose html5 parser enabled flag in WebSettings
17045 https://bugs.webkit.org/show_bug.cgi?id=39913
17047 * public/WebSettings.h:
17048 * src/WebSettingsImpl.cpp:
17049 (WebKit::WebSettingsImpl::setHTML5ParserEnabled):
17050 * src/WebSettingsImpl.h:
17052 2010-05-31 Lyon Chen <liachen@rim.com>
17054 Reviewed by Kent Tamura.
17056 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
17057 https://bugs.webkit.org/show_bug.cgi?id=35530
17059 Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance.
17061 * src/WebFrameImpl.cpp:
17062 (WebKit::WebFrameImpl::executeCommand):
17064 2010-05-31 Roland Steiner <rolandsteiner@chromium.org>
17066 Bug 39977 - Missing Chromium bindings for InspectorController methods introduced in r60443
17067 https://bugs.webkit.org/show_bug.cgi?id=39977
17069 add missing InspectorController JS bindings:
17071 - getRuleRangesForStyleSheetId
17073 Tests: inspector/styles-source-offsets.html
17075 * src/js/InspectorControllerImpl.js:
17076 (devtools.InspectorBackendImpl):
17078 2010-05-31 Sheriff Bot <webkit.review.bot@gmail.com>
17080 Unreviewed, rolling out r60456.
17081 http://trac.webkit.org/changeset/60456
17082 https://bugs.webkit.org/show_bug.cgi?id=39974
17084 Broke Chromium Linux/Max build (Requested by tkent on
17089 2010-05-31 Kent Tamura <tkent@chromium.org>
17091 Reviewed by Dimitri Glazkov.
17093 [DRT/Chromium] Checking out lighttpd
17094 https://bugs.webkit.org/show_bug.cgi?id=39948
17096 - Checking out lighttpd only on Windows. It is used by new-run-webkit-tests.
17097 - Update Chromium revision to use Windows resource query code
17101 2010-05-31 Yury Semikhatsky <yurys@chromium.org>
17103 Reviewed by Pavel Feldman.
17105 Web Inspector: allow hiding Scripts panel from Chromium code. This
17106 is needed to support v8 debugging protocol which has an implementation
17107 that conflicts with debugger provided by the inspector.
17108 https://bugs.webkit.org/show_bug.cgi?id=39952
17110 * public/WebDevToolsAgentClient.h:
17111 (WebKit::WebDevToolsAgentClient::exposeV8DebuggerProtocol):
17112 * public/WebDevToolsFrontendClient.h:
17113 (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
17114 (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
17115 (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
17116 (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
17117 (WebKit::WebDevToolsFrontendClient::activateWindow):
17118 (WebKit::WebDevToolsFrontendClient::closeWindow):
17119 (WebKit::WebDevToolsFrontendClient::requestDockWindow):
17120 (WebKit::WebDevToolsFrontendClient::requestUndockWindow):
17121 (WebKit::WebDevToolsFrontendClient::hideScriptsPanel):
17122 * src/DebuggerAgentManager.cpp:
17123 (WebKit::DebuggerAgentManager::debugAttach):
17124 (WebKit::DebuggerAgentManager::debugDetach):
17125 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
17126 * src/DebuggerAgentManager.h:
17127 * src/InspectorFrontendClientImpl.cpp:
17128 (WebKit::InspectorFrontendClientImpl::hiddenPanels):
17129 * src/WebDevToolsAgentImpl.cpp:
17130 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
17131 (WebKit::WebDevToolsAgentImpl::attach):
17133 2010-05-30 Lyon Chen <liachen@rim.com>
17135 Reviewed by Kent Tamura.
17137 This is a coding style cleanup before fixing to bug 35530.
17139 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
17140 https://bugs.webkit.org/show_bug.cgi?id=35530
17142 * src/WebFrameImpl.cpp:
17143 (WebKit::WebFrameImpl::find):
17144 (WebKit::WebFrameImpl::scopeStringMatches):
17145 (WebKit::WebFrameImpl::createChildFrame):
17146 (WebKit::WebFrameImpl::shouldScopeMatches):
17148 2010-05-30 Daniel Bates <dbates@rim.com>
17150 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
17152 I missed a few call sites in the Chromium source when I
17153 landed http://trac.webkit.org/changeset/60419.
17155 Credit to Chris Jerdonek for looking over both this patch and the patch
17156 committed in r60419.
17158 * src/WebSearchableFormData.cpp:
17159 (WebCore::GetButtonToActivate):
17160 (WebCore::HasSuitableTextElement):
17162 2010-05-30 Daniel Bates <dbates@rim.com>
17164 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
17166 * src/EditorClientImpl.cpp:
17167 (WebKit::EditorClientImpl::autofill):
17168 * src/WebFormControlElement.cpp:
17169 (WebKit::WebFormControlElement::formControlName):
17170 (WebKit::WebFormControlElement::formControlType):
17171 * src/WebFormElement.cpp:
17172 (WebKit::WebFormElement::getFormControlElements):
17173 * src/WebPasswordFormUtils.cpp:
17174 (WebKit::findPasswordFormFields):
17176 2010-05-30 Jessie Berlin <jberlin@webkit.org>
17178 Reviewed by Pavel Feldman.
17180 https://bugs.webkit.org/show_bug.cgi?id=39224
17181 Bug 39224 - Web Inspector: There should be a way to clean up profiles
17183 * src/js/InspectorControllerImpl.js:
17184 (devtools.InspectorBackendImpl):
17186 2010-05-29 Vangelis Kokkevis <vangelis@chromium.org>
17188 Reviewed by Darin Fisher.
17190 Adding support for a runtime flag to enable accelerated
17191 compositing in chromium.
17192 https://bugs.webkit.org/show_bug.cgi?id=39917
17194 * public/WebSettings.h:
17195 * src/WebSettingsImpl.cpp:
17196 (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
17197 * src/WebSettingsImpl.h:
17199 2010-05-28 Aaron Boodman <aa@chromium.org>
17201 Reviewed by Darin Fisher.
17203 Add isXHTMLDocument() to WebDocument.
17205 https://bugs.webkit.org/show_bug.cgi?id=39887
17207 * public/WebDocument.h: Add isXHTMLDocument().
17208 * src/WebDocument.cpp: ditto.
17209 (WebKit::WebDocument::isXHTMLDocument): dittorama.
17211 2010-05-27 Jeremy Orlow <jorlow@chromium.org>
17213 Reviewed by Steve Block.
17215 Add IndexedDB's IDBIndex
17216 https://bugs.webkit.org/show_bug.cgi?id=39850
17218 Add WebKit layer for IDBIndex.
17221 * public/WebCommon.h:
17222 * public/WebIDBCallbacks.h:
17223 (WebKit::WebIDBCallbacks::onError):
17224 (WebKit::WebIDBCallbacks::onSuccess):
17225 * public/WebIDBDatabase.h:
17226 * public/WebIDBIndex.h: Added.
17227 (WebKit::WebIDBIndex::~WebIDBIndex):
17228 (WebKit::WebIDBIndex::name):
17229 (WebKit::WebIDBIndex::keyPath):
17230 (WebKit::WebIDBIndex::unique):
17231 * src/IDBCallbacksProxy.cpp:
17232 (WebCore::IDBCallbacksProxy::onSuccess):
17233 * src/IDBCallbacksProxy.h:
17234 * src/IDBDatabaseProxy.cpp:
17235 * src/IDBDatabaseProxy.h:
17236 * src/IDBIndexProxy.cpp: Added.
17237 (WebCore::IDBIndexProxy::create):
17238 (WebCore::IDBIndexProxy::IDBIndexProxy):
17239 (WebCore::IDBIndexProxy::~IDBIndexProxy):
17240 (WebCore::IDBIndexProxy::name):
17241 (WebCore::IDBIndexProxy::keyPath):
17242 (WebCore::IDBIndexProxy::unique):
17243 * src/IDBIndexProxy.h: Added.
17244 * src/WebIDBCallbacksImpl.cpp:
17245 (WebCore::WebIDBCallbacksImpl::onSuccess):
17246 * src/WebIDBCallbacksImpl.h:
17247 * src/WebIDBDatabaseImpl.cpp:
17248 * src/WebIDBDatabaseImpl.h:
17249 * src/WebIDBIndexImpl.cpp: Added.
17250 (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
17251 (WebKit::WebIDBIndexImpl::~WebIDBIndexImpl):
17252 (WebKit::WebIDBIndexImpl::name):
17253 (WebKit::WebIDBIndexImpl::keyPath):
17254 (WebKit::WebIDBIndexImpl::unique):
17255 * src/WebIDBIndexImpl.h: Added.
17257 2010-05-28 Yury Semikhatsky <yurys@chromium.org>
17259 Reviewed by Pavel Feldman.
17261 Web Inspector: check that ClientMessageLoopAdapter is not 0 before
17262 accessing its fileds from inspectedViewClosed method. It may be 0
17263 if inspector frontend has not been open.
17264 https://bugs.webkit.org/show_bug.cgi?id=39876
17266 * src/WebDevToolsAgentImpl.cpp:
17269 2010-05-27 Eric Uhrhane <ericu@chromium.org>
17271 Reviewed by Adam Barth.
17273 Add v8 bindings for async DB API in workers
17274 https://bugs.webkit.org/show_bug.cgi?id=39145
17276 * src/DatabaseObserver.cpp:
17277 We should check that we're on the context thread now, not the main
17279 (WebCore::DatabaseObserver::databaseOpened):
17280 (WebCore::DatabaseObserver::databaseModified):
17281 (WebCore::DatabaseObserver::databaseClosed):
17283 2010-05-27 Yury Semikhatsky <yurys@chromium.org>
17285 Reviewed by Pavel Feldman.
17287 Resume script execution if user tries to navigate to another URL
17288 https://bugs.webkit.org/show_bug.cgi?id=39842
17290 * src/WebDevToolsAgentImpl.cpp:
17292 (WebKit::WebDevToolsAgentImpl::didNavigate):
17294 2010-05-27 Zhenyao Mo <zmo@google.com>
17296 Reviewed by Dimitri Glazkov.
17298 Implement lazy clearing of renderbuffers
17299 https://bugs.webkit.org/show_bug.cgi?id=36248
17301 * src/WebGraphicsContext3DDefaultImpl.cpp:
17302 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Clear WebGL internal buffers.
17304 2010-05-26 Roland Steiner <rolandsteiner@chromium.org>
17306 Reviewed by NOBODY (layout test crashing fix).
17308 Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
17309 https://bugs.webkit.org/show_bug.cgi?id=39811
17311 Initialize the pluginIndex field (quick fix).
17313 Tests: covered by fast/dom/prototype-inheritance-2.html
17314 (crashed under Chromium Linux and Windows)
17316 * src/WebPluginListBuilderImpl.cpp:
17317 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
17319 2010-05-26 Anders Carlsson <andersca@apple.com>
17321 Reviewed by Darin Adler.
17323 Clean up MimeClassInfo and PluginInfo
17324 https://bugs.webkit.org/show_bug.cgi?id=39700
17326 Update for WebCore changes.
17328 * src/WebPluginListBuilderImpl.cpp:
17329 (WebKit::WebPluginListBuilderImpl::addPlugin):
17330 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
17331 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
17332 * src/WebPluginListBuilderImpl.h:
17333 (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
17335 2010-05-26 Jeremy Orlow <jorlow@chromium.org>
17337 Unreviewed chromium build fix
17338 https://bugs.webkit.org/show_bug.cgi?id=39739
17340 The backwards compat function needs to take in a WebSecurityOrigin
17341 instead of a WebString.
17343 * public/WebIndexedDatabase.h:
17344 (WebKit::WebIndexedDatabase::open):
17346 2010-05-26 Jeremy Orlow <jorlow@chromium.org>
17348 Reviewed by Darin Fisher.
17350 Implement WebDOMStorageList and make WebIDBDatabase use it
17351 https://bugs.webkit.org/show_bug.cgi?id=39731
17354 * public/WebDOMStringList.h: Added.
17355 (WebKit::WebDOMStringList::~WebDOMStringList):
17356 (WebKit::WebDOMStringList::WebDOMStringList):
17357 (WebKit::WebDOMStringList::operator=):
17358 * public/WebIDBDatabase.h:
17359 (WebKit::WebIDBDatabase::objectStores):
17360 * src/IDBDatabaseProxy.cpp:
17361 (WebCore::IDBDatabaseProxy::objectStores):
17362 * src/WebDOMStringList.cpp: Added.
17363 (WebKit::WebDOMStringList::reset):
17364 (WebKit::WebDOMStringList::assign):
17365 (WebKit::WebDOMStringList::append):
17366 (WebKit::WebDOMStringList::length):
17367 (WebKit::WebDOMStringList::item):
17368 (WebKit::WebDOMStringList::WebDOMStringList):
17369 (WebKit::WebDOMStringList::operator=):
17370 (WebKit::WebDOMStringList::operator WTF::PassRefPtr<WebCore::DOMStringList>):
17371 * src/WebIDBDatabaseImpl.cpp:
17372 (WebKit::WebIDBDatabaseImpl::objectStores):
17373 * src/WebIDBDatabaseImpl.h:
17375 2010-05-24 Jeremy Orlow <jorlow@chromium.org>
17377 Reviewed by Steve Block.
17379 Add IDBDatabase's attributes
17380 https://bugs.webkit.org/show_bug.cgi?id=39602
17382 Plumbing to hook up the synchronous attribute requests
17385 * public/WebIDBDatabase.h:
17386 (WebKit::WebIDBDatabase::name):
17387 (WebKit::WebIDBDatabase::description):
17388 (WebKit::WebIDBDatabase::version):
17389 (WebKit::WebIDBDatabase::objectStores):
17390 * src/IDBDatabaseProxy.cpp:
17391 (WebCore::IDBDatabaseProxy::name):
17392 (WebCore::IDBDatabaseProxy::description):
17393 (WebCore::IDBDatabaseProxy::version):
17394 (WebCore::IDBDatabaseProxy::objectStores):
17395 * src/IDBDatabaseProxy.h:
17396 * src/WebIDBDatabaseImpl.cpp:
17397 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
17398 (WebKit::WebIDBDatabaseImpl::name):
17399 (WebKit::WebIDBDatabaseImpl::description):
17400 (WebKit::WebIDBDatabaseImpl::version):
17401 (WebKit::WebIDBDatabaseImpl::objectStores):
17402 * src/WebIDBDatabaseImpl.h:
17404 2010-05-24 Dirk Pranke <dpranke@chromium.org>
17406 Reviewed by Dimitri Glazkov.
17408 Re-commit r58765 - it had been rolled out to see if it was causing
17409 a perf regression (in r59787 and r59789), but that does not seem to
17410 have been the case.
17412 * public/WebNotification.h:
17413 * src/WebNotification.cpp:
17414 (WebKit::WebNotification::dir):
17415 (WebKit::WebNotification::replaceId):
17417 2010-05-25 Brett Wilson <brettw@chromium.org>
17419 Reviewed by Darin Fisher.
17421 Remove obsolete code for Mac & Windows plugin creation in the Chromium
17422 port. This non-Windows code was to prevent a crash which we no longer
17423 seem to have, and it is preventing other types of plugins from working.
17424 https://bugs.webkit.org/show_bug.cgi?id=39684
17426 * src/FrameLoaderClientImpl.cpp:
17427 (WebKit::FrameLoaderClientImpl::createPlugin):
17429 2010-05-25 Kent Tamura <tkent@chromium.org>
17431 Reviewed by Dimitri Glazkov.
17433 [DRT/Chromium] Enable 3D_CANVAS, FILTERS, METER_TAG and PROGRESS_TAG
17434 https://bugs.webkit.org/show_bug.cgi?id=39652
17436 3D_CANVAS and FILTERS have been enabled for Chromium tree
17437 build. They fix dozens of unexpected test results in a case of
17439 Enable METER_TAG and PROGRESS_TAG too because they will be enabled
17440 in Chromium tree in the near future.
17444 2010-05-25 Vangelis Kokkevis <vangelis@chromium.org>
17446 Reviewed by Darin Fisher.
17448 The GraphicsContext that serves as a backing store for the root layer
17449 updates when doing accelerated compositing is now stored in LayerRendererChromium
17450 instead of the Layer itself. Updating code in WebViewImpl to reflect
17452 https://bugs.webkit.org/show_bug.cgi?id=39640
17454 * src/WebViewImpl.cpp:
17455 (WebKit::WebViewImpl::updateRootLayerContents):
17457 2010-05-24 Yury Semikhatsky <yurys@chromium.org>
17459 Reviewed by Pavel Feldman.
17461 ScriptDebugServer is now implemented as DebugEventListener which means it doesn't
17462 depend on v8 debugging protocol, instead it uses ExecState to collect debugging
17463 info and pass it to the listeners.
17465 New implementation of ScriptDebugServer uses methods provided by client to dispatch
17466 its messages while JS is paused(previously the messages was dispatched in a callback
17467 passed to v8 along with DebugEventHandler).
17469 Pause command is dispatched on IO thread.
17471 https://bugs.webkit.org/show_bug.cgi?id=39594
17473 * public/WebDevToolsAgentClient.h:
17474 (WebKit::WebDevToolsAgentClient::ClientMessageLoop::~ClientMessageLoop):
17475 (WebKit::WebDevToolsAgentClient::createClientMessageLoop): Returns an object that allows to run
17476 nested client message loop while script execution is paused on a breakpoint.
17477 * src/DebuggerAgentManager.cpp:
17478 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
17479 * src/DebuggerAgentManager.h:
17480 * src/WebDevToolsAgentImpl.cpp:
17482 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
17483 (WebKit::WebDevToolsAgentImpl::attach):
17484 * src/js/DebuggerScript.js:
17485 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
17486 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
17487 (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
17488 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
17489 * src/js/InspectorControllerImpl.js:
17490 (devtools.InspectorBackendImpl):
17491 (else.devtools.InspectorBackendImpl.prototype.pauseInDebugger): Pause command should be handled on IO
17492 thread so that script can be paused even if it's in an infinite loop.
17494 2010-05-25 Yury Semikhatsky <yurys@chromium.org>
17496 Reviewed by Pavel Feldman.
17498 Add memory graph to Timeline overview pane.
17500 https://bugs.webkit.org/show_bug.cgi?id=37879
17502 * src/js/devTools.css:
17503 (.timeline-category-statusbar-item input):
17505 2010-05-24 Tony Chang <tony@chromium.org>
17507 Reviewed by David Levin.
17509 [chromium] Fix zoom tests after r60104
17510 https://bugs.webkit.org/show_bug.cgi?id=39645
17512 m_zoomFactor moved from Frame to FrameView. FrameView has separate
17513 notions of page zoom and text zoom. In my hurried compile fix, I
17514 assumed that m_zoomFactor was for page zoom, but it's not always.
17516 * src/WebViewImpl.cpp:
17517 (WebKit::WebViewImpl::setZoomLevel):
17519 2010-05-24 Kent Tamura <tkent@chromium.org>
17521 Unreviewed. Sort features.
17525 2010-05-24 Kent Tamura <tkent@chromium.org>
17527 Reviewed by Dimitri Glazkov.
17529 [DRT/Chromium] Import layout_test_helper for Windows
17530 https://bugs.webkit.org/show_bug.cgi?id=39581
17532 * WebKit.gyp: Add a build rule for LayoutTestHelper.exe for Windows.
17534 2010-05-24 Marcus Bulach <bulach@chromium.org>
17536 Reviewed by Kent Tamura.
17538 [chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
17539 https://bugs.webkit.org/show_bug.cgi?id=39587
17541 * public/WebGeolocationServiceMock.h:
17542 * src/WebGeolocationServiceMock.cpp:
17543 (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
17544 (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
17545 (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
17546 (WebKit::WebGeolocationServiceMockImpl::attachBridge):
17547 (WebKit::WebGeolocationServiceMockImpl::detachBridge):
17549 2010-05-24 Tony Chang <tony@chromium.org>
17551 Reviewed by Kent Tamura.
17553 [chromium] setup fonts on chromium linux DRT
17554 https://bugs.webkit.org/show_bug.cgi?id=39644
17558 2010-05-24 Tony Chang <tony@chromium.org>
17560 Not reviewed, build fix.
17562 Fix the chromium compile due to pageZoomFactor refactoring.
17564 * src/WebViewImpl.cpp:
17565 (WebKit::WebViewImpl::setZoomLevel):
17567 2010-05-24 Darin Adler <darin@apple.com>
17569 Reviewed by Eric Seidel.
17571 Move view-related functions from Frame to FrameView
17572 https://bugs.webkit.org/show_bug.cgi?id=39366
17574 * src/WebViewImpl.cpp:
17575 (WebKit::WebViewImpl::setZoomLevel): Call setZoomLevel on FrameView.
17577 2010-05-24 Anders Carlsson <andersca@apple.com>
17579 Attempt to fix the Chromium build.
17581 * src/WebViewImpl.cpp:
17583 2010-05-21 Tony Chang <tony@chromium.org>
17585 Reviewed by Ojan Vafai.
17587 [chromium] if keydown is prevented, don't update the IME and clear the IME state
17588 https://bugs.webkit.org/show_bug.cgi?id=39475
17590 * src/WebViewImpl.cpp:
17591 (WebKit::WebViewImpl::handleCompositionEvent):
17593 2010-05-23 Roman Gershman <romange@google.com>
17595 Reviewed by Darin Fisher.
17597 [Chromium] Suggestion popup is not closed when the view is scrolled.
17598 https://bugs.webkit.org/show_bug.cgi?id=38640
17600 This bug appears on both Windows and Linux platforms.
17601 Mac OS, however handles window messages differently and
17602 closes popup menu in RenderWidgetHostViewMac::Destroy().
17604 No tests were added because test_shell does not support suggestion
17607 * src/ChromeClientImpl.cpp:
17608 (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
17609 (WebKit::ChromeClientImpl::scroll):
17611 2010-05-23 Marcus Bulach <bulach@chromium.org>
17613 Reviewed by Kent Tamura.
17615 [chromium] Adds Geolocation support to DumpRenderTree.
17616 https://bugs.webkit.org/show_bug.cgi?id=39440
17618 Existing LayoutTests/fast/dom/Geolocation/* should pass.
17620 * public/WebGeolocationServiceMock.h:
17621 * src/WebGeolocationServiceMock.cpp:
17622 (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
17623 (WebKit::WebGeolocationServiceMock::requestPermissionForFrame):
17624 (WebKit::WebGeolocationServiceMock::attachBridge):
17625 (WebKit::WebGeolocationServiceMock::detachBridge):
17627 2010-05-22 Kent Tamura <tkent@chromium.org>
17629 Reviewed by Dimitri Glazkov.
17631 [DRT/Chromium] Link resources and load Ahem font for Windows
17632 https://bugs.webkit.org/show_bug.cgi?id=39473
17635 Add net and webkit resources for Windows.
17636 Copy AHEM____.TTF to DumpRenderTree.exe directory.
17638 2010-05-21 Steve Block <steveblock@google.com>
17640 Reviewed by Jeremy Orlow.
17642 Add DeviceOrientation and DeviceOrientationClient
17643 https://bugs.webkit.org/show_bug.cgi?id=39479
17645 * src/WebViewImpl.cpp:
17646 (WebKit::WebViewImpl::WebViewImpl):
17648 2010-05-20 Viet-Trung Luu <viettrungluu@chromium.org>
17650 Reviewed by Darin Fisher.
17652 [Chromium] Don't rely on focused node to route mouse events to plugins.
17653 https://bugs.webkit.org/show_bug.cgi?id=39375
17654 http://crbug.com/43935
17656 On mouse down, do a hit test and check if a plugin was hit. If so, then
17657 save the node for future mouse events (until mouse up or capture lost).
17659 * src/WebViewImpl.cpp:
17660 (WebKit::WebViewImpl::WebViewImpl):
17661 (WebKit::WebViewImpl::mouseDown):
17662 (WebKit::WebViewImpl::handleInputEvent):
17663 (WebKit::WebViewImpl::mouseCaptureLost):
17664 * src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode.
17666 2010-05-20 Dominic Mazzoni <dmazzoni@chromium.org>
17668 Reviewed by Darin Fisher.
17670 Add headingLevel and setFocused methods.
17672 https://bugs.webkit.org/show_bug.cgi?id=39238
17674 * public/WebAccessibilityObject.h:
17675 * src/WebAccessibilityObject.cpp:
17676 (WebKit::WebAccessibilityObject::headingLevel):
17677 (WebKit::WebAccessibilityObject::setFocused):
17679 2010-05-20 Zhenyao Mo <zmo@google.com>
17681 Reviewed by Dimitri Glazkov.
17683 Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
17684 https://bugs.webkit.org/show_bug.cgi?id=39077
17686 * src/WebGraphicsContext3DDefaultImpl.cpp:
17687 (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums.
17689 2010-05-20 Abhishek Arya <inferno@chromium.org>
17691 Reviewed by Adam Barth.
17693 Added method to WebSecurityOrigin for invoking
17694 SecurityOrigin::canAccessPasswordManager.
17695 https://bugs.webkit.org/show_bug.cgi?id=38916
17697 * public/WebSecurityOrigin.h:
17698 * src/WebSecurityOrigin.cpp:
17699 (WebKit::WebSecurityOrigin::canAccessPasswordManager):
17701 2010-05-20 Darin Fisher <darin@chromium.org>
17703 Reviewed by Nate Chapin.
17705 [chromium] Provide a way to catch exceptions thrown while interacting
17706 with a NPObject via WebBindings methods.
17707 https://bugs.webkit.org/show_bug.cgi?id=39378
17709 * public/WebBindings.h:
17710 * src/WebBindings.cpp:
17711 (WebKit::WebBindings::pushExceptionHandler):
17712 (WebKit::WebBindings::popExceptionHandler):
17714 2010-05-20 Jian Li <jianli@chromium.org>
17716 Reviewed by David Levin.
17718 Rename GenericWorkerTask.h to CrossThreadTask.h and move it to dom directory.
17719 https://bugs.webkit.org/show_bug.cgi?id=39135
17721 * src/WebSharedWorkerImpl.cpp:
17722 * src/WebWorkerBase.cpp:
17723 * src/WebWorkerClientImpl.cpp:
17724 * src/WebWorkerImpl.cpp:
17726 2010-05-20 Martin Robinson <mrobinson@webkit.org>
17728 Reviewed by Ojan Vafai.
17730 Expose the editing behavior setting in DRT to test all editing code paths
17731 https://bugs.webkit.org/show_bug.cgi?id=38603
17733 * public/WebSettings.h:
17734 (WebKit::WebSettings::): Added an enum for EditingBehavior types.
17735 * src/WebSettingsImpl.cpp:
17736 (WebKit::WebSettingsImpl::setEditingBehavior): Added.
17737 * src/WebSettingsImpl.h:
17739 2010-05-19 Vangelis Kokkevis <vangelis@chromium.org>
17741 Reviewed by Darin Fisher.
17743 Modifying WebViewImpl to support new hardware compositing for
17744 LayerChromium layers.
17745 https://bugs.webkit.org/show_bug.cgi?id=38783
17747 * src/WebViewImpl.cpp:
17748 (WebKit::WebViewImpl::paint):
17749 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
17750 (WebKit::WebViewImpl::updateRootLayerContents):
17751 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
17753 2010-05-19 Tony Chang <tony@chromium.org>
17755 Reviewed by Kent Tamura.
17757 [chromium] disable spelling suggestions if spellcheck=false
17758 https://bugs.webkit.org/show_bug.cgi?id=39402
17760 This is the Chromium fix for bug 25639 that was fixed in the
17761 other ports in r59585.
17763 * src/ContextMenuClientImpl.cpp:
17764 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
17766 2010-05-19 Darin Fisher <darin@chromium.org>
17768 Revert r59790 due to failing Chromium npruntime tests.
17770 * public/WebBindings.h:
17771 * src/WebBindings.cpp:
17773 2010-05-19 Darin Fisher <darin@chromium.org>
17775 Reviewed by Nate Chapin.
17777 [chromium] Provide a way to catch exceptions thrown while interacting
17778 with a NPObject via WebBindings methods.
17779 https://bugs.webkit.org/show_bug.cgi?id=39378
17781 * public/WebBindings.h:
17782 * src/WebBindings.cpp:
17783 (WebKit::WebBindings::pushExceptionHandler):
17784 (WebKit::WebBindings::popExceptionHandler):
17786 2010-05-19 Dirk Pranke <dpranke@chromium.org>
17788 Try again to roll out r58765.
17790 * public/WebNotification.h:
17791 * src/WebNotification.cpp:
17793 2010-05-19 Sheriff Bot <webkit.review.bot@gmail.com>
17795 Unreviewed, rolling out r59782.
17796 http://trac.webkit.org/changeset/59782
17797 https://bugs.webkit.org/show_bug.cgi?id=39379
17799 broke DRT build (Requested by dpranke on #webkit).
17801 * public/WebNotification.h:
17802 * src/WebNotification.cpp:
17803 (WebKit::WebNotification::dir):
17804 (WebKit::WebNotification::replaceId):
17806 2010-05-19 Jian Li <jianli@chromium.org>
17808 Reviewed by Darin Fisher.
17810 Remove obsolete ChromiumBridge code that routes FileSystem calls to WebKitClient.
17811 https://bugs.webkit.org/show_bug.cgi?id=39332
17813 * public/WebKitClient.h:
17814 * src/ChromiumBridge.cpp:
17815 (WebCore::ChromiumBridge::fileExists):
17816 (WebCore::ChromiumBridge::deleteFile):
17817 (WebCore::ChromiumBridge::deleteEmptyDirectory):
17818 (WebCore::ChromiumBridge::getFileSize):
17819 (WebCore::ChromiumBridge::getFileModificationTime):
17820 (WebCore::ChromiumBridge::directoryName):
17821 (WebCore::ChromiumBridge::pathByAppendingComponent):
17822 (WebCore::ChromiumBridge::makeAllDirectories):
17823 (WebCore::ChromiumBridge::getAbsolutePath):
17824 (WebCore::ChromiumBridge::isDirectory):
17825 (WebCore::ChromiumBridge::filePathToURL):
17827 2010-05-19 Marcus Bulach <bulach@chromium.org>
17829 Reviewed by Steve Block.
17831 [chromium] Adds supports for layout tests using GeolocationServiceMock.
17832 https://bugs.webkit.org/show_bug.cgi?id=39081
17834 Allows injection of GeolocationServiceMock factory.
17835 Tests: existing fast/dom/Geolocation/*
17838 * public/WebGeolocationServiceMock.h: Added.
17839 * src/WebGeolocationServiceMock.cpp: Added.
17840 (WebCore::GeolocationServiceChromiumMock::create):
17841 (WebCore::GeolocationServiceChromiumMock::GeolocationServiceChromiumMock):
17842 (WebCore::GeolocationServiceChromiumMock::startUpdating):
17843 (WebCore::GeolocationServiceChromiumMock::stopUpdating):
17844 (WebCore::GeolocationServiceChromiumMock::lastPosition):
17845 (WebCore::GeolocationServiceChromiumMock::lastError):
17846 (WebCore::GeolocationServiceChromiumMock::geolocationServicePositionChanged):
17847 (WebCore::GeolocationServiceChromiumMock::geolocationServiceErrorOccurred):
17848 (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
17849 (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
17851 2010-05-17 Jeremy Orlow <jorlow@chromium.org>
17853 Reviewed by Darin Fisher.
17855 Hook Chromium's WebIndexedDatabaseImpl up to IndexedDatabaseImpl
17856 https://bugs.webkit.org/show_bug.cgi?id=39216
17858 Web____Impl is for re-entering the WebKit layer from the browser layer.
17859 Thus the previous IDBCallbacksProxy was mis-named (and should have been
17860 WebIDBCallbacksImpl). This patch renames it and then implements the
17861 proper proxy (which is for going from WebCore to WebKit).
17863 Also change using security origin strings to using WebSecurityOrigin
17866 This patch also implements the glue between WebIndexedDatabaseImpl and
17867 IndexedDatabaseImpl.
17870 * src/IDBCallbacksProxy.cpp:
17871 (WebCore::IDBCallbacksProxy::create):
17872 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
17873 (WebCore::IDBCallbacksProxy::onError):
17874 (WebCore::IDBCallbacksProxy::onSuccess):
17875 * src/IDBCallbacksProxy.h:
17876 * src/IndexedDatabaseProxy.cpp:
17877 (WebCore::IndexedDatabaseProxy::open):
17878 * src/IndexedDatabaseProxy.h:
17879 * src/WebIDBCallbacksImpl.cpp: Added.
17880 (WebCore::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
17881 (WebCore::WebIDBCallbacksImpl::~WebIDBCallbacksImpl):
17882 (WebCore::WebIDBCallbacksImpl::onError):
17883 (WebCore::WebIDBCallbacksImpl::onSuccess):
17884 * src/WebIDBCallbacksImpl.h: Added.
17885 * src/WebIDBDatabaseImpl.cpp: Added.
17886 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
17887 (WebKit::WebIDBDatabaseImpl::~WebIDBDatabaseImpl):
17888 * src/WebIDBDatabaseImpl.h: Added.
17889 * src/WebIndexedDatabaseImpl.cpp:
17890 (WebKit::WebIndexedDatabaseImpl::WebIndexedDatabaseImpl):
17891 (WebKit::WebIndexedDatabaseImpl::open):
17892 * src/WebIndexedDatabaseImpl.h:
17894 2010-05-18 Kent Tamura <tkent@chromium.org>
17896 Reviewed by Dimitri Glazkov.
17898 [DRT/Chromium] Fix a repaint issue and textarea tests
17899 https://bugs.webkit.org/show_bug.cgi?id=39054
17901 * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
17902 and textAreaResizeCorner.png
17903 * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
17905 2010-05-18 Tony Chang <tony@chromium.org>
17907 Reviewed by Ojan Vafai.
17909 [chromium] ignore IME events if the keydown event was prevented
17910 https://bugs.webkit.org/show_bug.cgi?id=37692
17912 * src/WebViewImpl.cpp:
17913 (WebKit::WebViewImpl::handleCompositionEvent):
17915 2010-05-18 MORITA Hajime <morrita@google.com>
17917 Reviewed by Kent Tamura.
17919 [Chromium] Windows: Determinate progress bar should have glossy overlay
17920 https://bugs.webkit.org/show_bug.cgi?id=39269
17922 Changed WebThemeEngine::drawProgressBar() signature to delegate
17923 theme implementation detail to the engine.
17924 Chromium side will come to http://crbug.com/44430.
17926 No new tests, animation effect can be confirmed only manually.
17928 * public/WebThemeEngine.h:
17929 (WebKit::WebThemeEngine::paintProgressBar):
17930 * src/ChromiumBridge.cpp:
17931 (WebCore::ChromiumBridge::paintProgressBar):
17933 2010-05-16 Mike Belshe <mbelshe@chromium.org>
17935 Reviewed by Dimitri Glazkov.
17937 Add a flag to the ResourceResponse for tracking if a request was
17938 fetched via the TLS/Next-Protocol-Negotiation mechanism.
17940 Also cleaned up the style in ResourceResponse to group the flags
17941 together (and alphabetically) and hopefully improve readability of
17944 https://bugs.webkit.org/show_bug.cgi?id=39078
17946 * public/WebURLResponse.h:
17947 * src/WebURLResponse.cpp:
17948 (WebKit::WebURLResponse::wasNpnNegotiated):
17949 (WebKit::WebURLResponse::setWasNpnNegotiated):
17951 2010-05-16 Eric Seidel <eric@webkit.org>
17953 Unreviewed, rolling out r59571.
17954 http://trac.webkit.org/changeset/59571
17955 https://bugs.webkit.org/show_bug.cgi?id=39054
17957 Broke Cr Win, but we didn't notice immediately due to
17958 https://bugs.webkit.org/show_bug.cgi?id=38926. It's possible
17959 that this didn't actually break Cr Win, but rather that bug
17960 38926 necessitates a clean compile after this and sucessive
17961 checkins only produced a partial recompile and thus failed to
17968 2010-05-16 Sheriff Bot <webkit.review.bot@gmail.com>
17970 Unreviewed, rolling out r59574.
17971 http://trac.webkit.org/changeset/59574
17972 https://bugs.webkit.org/show_bug.cgi?id=39176
17974 Supposedly broke cr-win, but the errors seems somewhat
17975 unrelated (Requested by abarth on #webkit).
17977 * public/WebURLResponse.h:
17978 * src/WebURLResponse.cpp:
17980 2010-05-16 Mike Belshe <mbelshe@chromium.org>
17982 Reviewed by Dimitri Glazkov.
17984 Add a flag to the ResourceResponse for tracking if a request was
17985 fetched via the TLS/Next-Protocol-Negotiation mechanism.
17987 Also cleaned up the style in ResourceResponse to group the flags
17988 together (and alphabetically) and hopefully improve readability of
17991 https://bugs.webkit.org/show_bug.cgi?id=39078
17993 * public/WebURLResponse.h:
17994 * src/WebURLResponse.cpp:
17995 (WebKit::WebURLResponse::wasNpnNegotiated):
17996 (WebKit::WebURLResponse::setWasNpnNegotiated):
17998 2010-05-16 Kent Tamura <tkent@chromium.org>
18000 Reviewed by Dimitri Glazkov.
18002 [DRT/Chromium] Fix repaint, WebGL, textarea tests
18003 https://bugs.webkit.org/show_bug.cgi?id=39054
18005 * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
18006 and textAreaResizeCorner.png
18007 * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
18008 * features.gypi: Enable ENABLE_3D_CANVAS.
18010 2010-05-15 Darin Fisher <darin@chromium.org>
18012 Reviewed by Adam Barth.
18014 [chromium] Expose element accessor on WebPluginContainer
18015 https://bugs.webkit.org/show_bug.cgi?id=39152
18017 * public/WebPluginContainer.h:
18018 * src/WebPluginContainerImpl.cpp:
18019 (WebKit::WebPluginContainerImpl::element):
18020 * src/WebPluginContainerImpl.h:
18022 2010-05-15 Jochen Eisinger <jochen@chromium.org>
18024 Reviewed by Dmitry Titov.
18026 Implement canEstablishDatabase call for workers.
18027 https://bugs.webkit.org/show_bug.cgi?id=38742
18029 * public/WebCommonWorkerClient.h:
18030 * src/DatabaseObserver.cpp:
18031 (WebCore::DatabaseObserver::canEstablishDatabase):
18032 * src/WebWorkerBase.cpp:
18033 (WebKit::WebWorkerBase::allowDatabase):
18034 (WebKit::WebWorkerBase::allowDatabaseTask):
18035 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
18036 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::cancel):
18037 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::result):
18038 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::signalCompleted):
18039 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::didComplete):
18040 * src/WebWorkerBase.h:
18041 * src/WebWorkerClientImpl.h:
18042 (WebKit::WebWorkerClientImpl::allowDatabase):
18044 2010-05-15 Jay Civelli <jcivelli@chromium.org>
18046 Reviewed by Darin Fisher.
18048 [chromium] Adding a notification on WebViewClient when a new
18050 https://bugs.webkit.org/show_bug.cgi?id=38508
18052 * public/WebViewClient.h:
18053 (WebKit::WebViewClient::focusedNodeChanged):
18054 * src/ChromeClientImpl.cpp:
18055 (WebKit::ChromeClientImpl::focusedNodeChanged):
18057 2010-05-15 Evan Stade <estade@chromium.org>
18059 Reviewed by Adam Barth.
18061 [chromium] "Check spelling in this field" context menu item always checked
18062 https://bugs.webkit.org/show_bug.cgi?id=39018
18064 Initialize all POD members of WebContextMenuData in a default
18067 No tests because this code would need some major refactoring to unit
18068 test, and AFAICT it's not testable via layout tests. See note at top
18069 of getCustomMenuFromDefaultItems.
18071 * public/WebContextMenuData.h:
18072 (WebKit::WebContextMenuData::WebContextMenuData):
18073 * src/ContextMenuClientImpl.cpp:
18074 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
18076 2010-05-14 Darin Fisher <darin@chromium.org>
18078 Reviewed by Dimitri Glazkov.
18080 [chromium] Remove temporary relative include paths
18081 https://bugs.webkit.org/show_bug.cgi?id=38776
18083 * public/WebPasswordAutocompleteListener.h:
18084 * src/FrameLoaderClientImpl.h:
18085 * src/PlatformMessagePortChannel.h:
18086 * src/WebAnimationControllerImpl.h:
18087 * src/WebBindings.cpp:
18088 * src/WebDataSourceImpl.h:
18089 * src/WebDevToolsAgentPrivate.h:
18090 * src/WebFileChooserCompletionImpl.h:
18091 * src/WebFrameImpl.h:
18092 * src/WebInputEventConversion.h:
18093 * src/WebPluginContainerImpl.h:
18094 * src/WebPluginLoadObserver.h:
18095 * src/WebPopupMenuImpl.h:
18096 * src/WebSettingsImpl.h:
18097 * src/WebViewImpl.h:
18098 * src/WebWorkerClientImpl.h:
18099 * src/WrappedResourceRequest.h:
18100 * src/WrappedResourceResponse.h:
18102 2010-05-14 Anton Muhin <antonm@chromium.org>
18104 Reviewed by Darin Fisher.
18106 [Chromium] Consider implementing addOriginAccessWhitelistEntry method
18107 https://bugs.webkit.org/show_bug.cgi?id=37578
18109 Remove deprecated methods.
18111 * public/WebSecurityPolicy.h:
18112 * src/WebSecurityPolicy.cpp:
18114 2010-05-14 Kenneth Russell <kbr@google.com>
18116 Reviewed by Darin Adler.
18118 Rename WebGLArray types to TypedArray types
18119 https://bugs.webkit.org/show_bug.cgi?id=39091
18121 Extended functionality of do-webcore-rename script and used it to
18122 rename the WebGLArray types to the TypedArray naming convention.
18123 The only source files which were touched by hand, and which are
18124 being manually reviewed, are:
18125 WebCore/page/DOMWindow.idl
18126 WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
18127 WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
18128 WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
18129 These only needed to be touched to update the aliases between the
18130 WebGLArray and TypedArray names introduced in bug 39036. (It was
18131 not feasible to have do-webcore-rename handle this as it would
18132 introduce circular renamings.) These aliases will be removed in
18133 roughly a month once existing WebGL content has been updated.
18135 No new tests; covered under existing WebGL tests. Updated
18136 constructed-objects-prototypes and prototype-inheritance-2 tests.
18137 Ran all layout tests in Safari and all WebGL tests in Chromium.
18139 * src/GraphicsContext3D.cpp:
18140 (WebCore::GraphicsContext3DInternal::bufferData):
18141 (WebCore::GraphicsContext3DInternal::bufferSubData):
18143 2010-05-14 Jochen Eisinger <jochen@chromium.org>
18145 Reviewed by Eric Seidel.
18147 Make ImageDiff depend on webkit (again).
18148 https://bugs.webkit.org/show_bug.cgi?id=39000
18152 2010-05-14 James Simonsen <simonjam+webkit@google.com>
18154 Reviewed by Darin Fisher.
18156 [chromium] Expose volume through WebMediaPlayerClient
18157 https://bugs.webkit.org/show_bug.cgi?id=38947
18159 * public/WebMediaPlayerClient.h:
18160 * src/WebMediaPlayerClientImpl.cpp:
18161 (WebKit::WebMediaPlayerClientImpl::volume):
18162 * src/WebMediaPlayerClientImpl.h:
18164 2010-05-14 Tony Gentilcore <tonyg@chromium.org>
18166 Reviewed by Darin Fisher.
18168 [chromium] Update chromium port to send/receive cached metadata
18169 https://bugs.webkit.org/show_bug.cgi?id=38665
18171 * public/WebKitClient.h:
18172 (WebKit::WebKitClient::cacheMetadata):
18173 * public/WebURLLoaderClient.h:
18174 (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
18175 * public/WebURLResponse.h:
18176 * src/ChromiumBridge.cpp:
18177 (WebCore::ChromiumBridge::cacheMetadata):
18178 * src/ResourceHandle.cpp:
18179 (WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
18180 (WebCore::ResourceHandle::cacheMetadata):
18181 * src/WebURLResponse.cpp:
18182 (WebKit::WebURLResponse::responseTime):
18183 (WebKit::WebURLResponse::setResponseTime):
18185 2010-05-13 Tony Chang <tony@chromium.org>
18187 Reviewed by Kent Tamura.
18189 [chromium] enable DRT build in chromium (for the last time)
18190 https://bugs.webkit.org/show_bug.cgi?id=39109
18194 2010-05-13 Pavel Feldman <pfeldman@chromium.org>
18196 Reviewed by Yury Semikhatsky.
18198 Web Inspector: main inspector toolbar takes noticeable time to expand.
18200 https://bugs.webkit.org/show_bug.cgi?id=39013
18202 * src/js/DevTools.js:
18203 (devtools.domContentLoaded):
18205 2010-05-12 Hans Wennborg <hans@chromium.org>
18207 Reviewed by Jeremy Orlow.
18209 [Chromium] Remove transitional functions from WebStorageNamespace and WebViewClient.
18210 https://bugs.webkit.org/show_bug.cgi?id=38985
18212 These functions are no longer called as of Chromium revision 47020.
18213 This is part of resolving http://crbug.com/42740
18215 * public/WebStorageNamespace.h:
18216 * public/WebViewClient.h:
18217 (WebKit::WebViewClient::createSessionStorageNamespace):
18219 2010-05-12 Tony Chang <tony@chromium.org>
18221 Reviewed by Kent Tamura.
18223 [chromium] disable DRT in chromium again
18224 https://bugs.webkit.org/show_bug.cgi?id=39049
18228 2010-05-12 John Abd-El-Malek <jam@chromium.org>
18230 Reviewed by Darin Fisher.
18232 [chromium] Disable WebScrollbarImpl's scrollbar if it's not needed
18233 https://bugs.webkit.org/show_bug.cgi?id=39025
18235 * src/WebScrollbarImpl.cpp:
18236 (WebKit::WebScrollbarImpl::setLocation):
18237 (WebKit::WebScrollbarImpl::setDocumentSize):
18239 2010-05-12 Dumitru Daniliuc <dumi@chromium.org>
18241 Reviewed by Dimitri Glazkov.
18243 Removing the unnecessary dirfd parameter.
18244 https://bugs.webkit.org/show_bug.cgi?id=38869
18246 * public/WebKitClient.h:
18247 (WebKit::WebKitClient::databaseOpenFile):
18248 * src/ChromiumBridge.cpp:
18249 (WebCore::ChromiumBridge::databaseOpenFile):
18251 2010-05-12 Jeremy Orlow <jorlow@chromium.org>
18253 Reviewed by Steve Block.
18255 [Chromium] Pass the origin parameter for WebIndexedDatabase::open
18256 https://bugs.webkit.org/show_bug.cgi?id=38983
18258 * public/WebIndexedDatabase.h:
18259 * src/IndexedDatabaseProxy.cpp:
18260 (WebCore::IndexedDatabaseProxy::open):
18261 * src/WebIndexedDatabaseImpl.cpp:
18262 (WebKit::WebIndexedDatabaseImpl::open):
18263 * src/WebIndexedDatabaseImpl.h:
18265 2010-05-10 yael aharon <yael.aharon@nokia.com>
18267 Reviewed by Darin Adler.
18269 Support control attribute of HTMLLabelElement
18270 https://bugs.webkit.org/show_bug.cgi?id=38688
18272 Renamed HTMLLabelElement::correspondingControl to HTMLLabelElement::control
18274 * src/WebLabelElement.cpp:
18275 (WebKit::WebLabelElement::correspondingControl):
18277 2010-05-12 MORITA Hajime <morrita@google.com>
18279 Reviewed by Kent Tamura.
18281 [Chromium] Support HTML5 <progress> element on Windows.
18282 https://bugs.webkit.org/show_bug.cgi?id=37308
18284 Extended ChromiumBridge to handle progress bar painting,
18285 and added delegations to it.
18287 No new tests. Test cases should be shared with existing ones for
18288 progress element. Expectaions will be added after PROGRESS_TAG is
18289 enabled on Chromium tree.
18291 * public/WebThemeEngine.h:
18292 (WebKit::WebThemeEngine::paintProgressBar):
18293 * src/ChromiumBridge.cpp:
18294 (WebCore::ChromiumBridge::paintProgressBar):
18296 2010-05-12 Marcus Bulach <bulach@chromium.org>
18298 Reviewed by Steve Block.
18300 Attaches the geolocation bridge later on startUpdating().
18301 This prevents a page requesting permission when it has just accessed navigator.geolocation (without calling navigator.geolocation.getCurrentPosition/watchPosition).
18302 Note: when Geolocation::haveSuitableCachedPosition(), WebGeolocationServiceBridgeImpl::startUpdating() is not called,
18303 so we attach the bridge if needed at requestGeolocationPermissionForFrame().
18304 https://bugs.webkit.org/show_bug.cgi?id=38323
18305 http://crbug.com/42789
18307 * src/ChromeClientImpl.cpp:
18308 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
18309 * src/WebGeolocationServiceBridgeImpl.cpp:
18310 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
18311 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
18313 2010-05-12 Tony Chang <tony@chromium.org>
18315 Reviewed by Kent Tamura.
18317 [chromium] add DRT back to the chromium build
18318 https://bugs.webkit.org/show_bug.cgi?id=38978
18322 2010-05-11 Kent Tamura <tkent@chromium.org>
18324 Reviewed by Dimitri Glazkov.
18326 [DRT/Chromium] Apply recent changes of test_shell to DRT
18327 https://bugs.webkit.org/show_bug.cgi?id=38895
18329 * DEPS: Update Chromium revision to use the recent webkit_support change.
18330 * WebKit.gyp: Add JavaScriptCore/wtf to 'include' section.
18331 * src/WebGraphicsContext3D.cpp:
18332 Remove ENABLE(3D_CANVAS) to provide an empty implementation of
18333 WebGraphicsContext3D::createDefault().
18335 2010-05-11 Avi Drissman <avi@chromium.org>
18337 Reviewed by Darin Fisher.
18339 [Chromium] Pipe RTL info into WebPopupMenuInfo
18340 https://bugs.webkit.org/show_bug.cgi?id=38749
18342 * public/WebPopupMenuInfo.h:
18343 * src/ChromeClientImpl.cpp:
18344 (WebKit::ChromeClientImpl::getPopupMenuInfo):
18346 2010-05-11 David Holloway <dhollowa@chromium.org>
18348 Reviewed by Darin Fisher.
18350 [chromium] Add size method to WebInputElement class, providing same data
18351 as HTMLInputElement::size(). During form AutoFill Chromium needs to
18352 access the input element's size attribute in aid of form matching and
18353 filling heuristics.
18355 https://bugs.webkit.org/show_bug.cgi?id=38825
18357 * public/WebInputElement.h:
18358 * src/WebInputElement.cpp:
18359 (WebKit::WebInputElement::size):
18361 2010-05-11 Nate Chapin <japhet@chromium.org>
18363 Reviewed by Adam Barth.
18365 Crash fix in WebPageSerializerImpl::serialize().
18367 https://bugs.webkit.org/show_bug.cgi?id=38543
18369 The relevant test is a test_shell_test in src.chromium.org, because neither
18370 DRT nor the Chromium webkit unit tests can currently cover the serializer
18373 * src/WebPageSerializerImpl.cpp:
18374 (WebKit::WebPageSerializerImpl::serialize): Check each frame's url before using it,
18375 since they are not guaranteed to be valid (e.g., if the frame was treated as a download).
18377 2010-05-11 Jian Li <jianli@chromium.org>
18379 Reviewed by Dmitry Titov.
18381 Expose FileReader interface.
18382 https://bugs.webkit.org/show_bug.cgi?id=38609
18384 * features.gypi: turn on building FileReader for Chromium.
18386 2010-05-10 Tony Chang <tony@chromium.org>
18388 Reviewed by Kent Tamura.
18390 [chromium] don't build DRT in chromium checkouts due to a circular gyp dependency
18391 https://bugs.webkit.org/show_bug.cgi?id=38889
18395 2010-05-10 John Abd-El-Malek <jam@chromium.org>
18397 Reviewed by Darin Fisher.
18399 [chromium] Add WebKitScrollbar interface to allow Chromium code to reuse the scrollbar code
18400 https://bugs.webkit.org/show_bug.cgi?id=38854
18402 * public/WebScrollbar.h: Added.
18403 (WebKit::WebScrollbar::):
18404 (WebKit::WebScrollbar::~WebScrollbar):
18405 * public/WebScrollbarClient.h: Added.
18406 * public/WebThemeEngine.h:
18407 * src/AssertMatchingEnums.cpp:
18408 * src/WebScrollbarImpl.cpp: Added.
18409 (WebKit::WebScrollbar::create):
18410 (WebKit::WebScrollbar::defaultThickness):
18411 (WebKit::WebScrollbarImpl::WebScrollbarImpl):
18412 (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
18413 (WebKit::WebScrollbarImpl::setLocation):
18414 (WebKit::WebScrollbarImpl::value):
18415 (WebKit::WebScrollbarImpl::setValue):
18416 (WebKit::WebScrollbarImpl::setDocumentSize):
18417 (WebKit::WebScrollbarImpl::scroll):
18418 (WebKit::WebScrollbarImpl::paint):
18419 (WebKit::WebScrollbarImpl::handleInputEvent):
18420 (WebKit::WebScrollbarImpl::onMouseDown):
18421 (WebKit::WebScrollbarImpl::onMouseUp):
18422 (WebKit::WebScrollbarImpl::onMouseMove):
18423 (WebKit::WebScrollbarImpl::onMouseLeave):
18424 (WebKit::WebScrollbarImpl::onMouseWheel):
18425 (WebKit::WebScrollbarImpl::onKeyDown):
18426 (WebKit::WebScrollbarImpl::valueChanged):
18427 (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
18428 (WebKit::WebScrollbarImpl::isActive):
18429 (WebKit::WebScrollbarImpl::scrollbarCornerPresent):
18430 (WebKit::WebScrollbarImpl::getTickmarks):
18431 * src/WebScrollbarImpl.h: Added.
18432 * src/WebViewImpl.cpp:
18433 (WebKit::WebViewImpl::scrollViewWithKeyboard):
18434 (WebKit::WebViewImpl::mapKeyCodeForScroll):
18435 * src/WebViewImpl.h:
18437 2010-05-10 Tony Gentilcore <tonyg@chromium.org>
18439 Reviewed by Adam Barth.
18441 Provide mechanism to cache metadata for a resource
18442 https://bugs.webkit.org/show_bug.cgi?id=37874
18444 * src/ResourceHandle.cpp:
18445 (WebCore::ResourceHandle::cacheMetadata):
18447 2010-05-10 Hans Wennborg <hans@chromium.org>
18449 Reviewed by Jeremy Orlow.
18451 [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace()
18452 https://bugs.webkit.org/show_bug.cgi?id=38750
18454 Put a per-origin quota on session storage since it is using memory in
18455 the browser process, and should not be allowed to grow arbitrarily
18456 large. See also http://trac.webkit.org/changeset/58828.
18458 * public/WebStorageNamespace.h:
18459 * public/WebViewClient.h:
18460 (WebKit::WebViewClient::createSessionStorageNamespace):
18461 * src/StorageNamespaceProxy.cpp:
18462 (WebCore::StorageNamespace::sessionStorageNamespace):
18465 2010-05-10 Jeremy Orlow <jorlow@chromium.org>
18467 Reviewed by Nate Chapin.
18469 Change IndexedDB to use events instead of callbacks
18470 https://bugs.webkit.org/show_bug.cgi?id=38594
18472 Change the glue here to match the changes I made in WebCore.
18475 * public/WebIDBCallbacks.h:
18476 * public/WebIndexedDatabase.h:
18477 * src/IDBCallbacksProxy.cpp: Added.
18478 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
18479 (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
18480 (WebCore::IDBCallbacksProxy::onError):
18481 (WebCore::IDBCallbacksProxy::onSuccess):
18482 * src/IDBCallbacksProxy.h:
18483 * src/IndexedDatabaseProxy.cpp:
18484 (WebCore::IndexedDatabaseProxy::open):
18485 * src/IndexedDatabaseProxy.h:
18486 * src/WebIndexedDatabaseImpl.cpp:
18487 (WebKit::WebIndexedDatabaseImpl::open):
18488 * src/WebIndexedDatabaseImpl.h:
18490 2010-05-08 Jens Alfke <snej@chromium.org>
18492 Reviewed by Darin Fisher.
18494 [chromium] WebFrame::registerPasswordListener shouldn't assert on duplicate listener.
18495 https://bugs.webkit.org/show_bug.cgi?id=38765
18497 * public/WebFrame.h:
18498 (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. Updated comment.
18499 * src/WebFrameImpl.cpp:
18500 (WebKit::WebFrameImpl::registerPasswordListener): Return false instead of asserting.
18501 * src/WebFrameImpl.h:
18502 (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool.
18504 2010-05-08 Michael Nordman <michaeln@google.com>
18506 Reviewed by Dmitry Titov.
18508 Add an additional parameter to the WebSharedWorker::startWorkerContext method
18509 to indicate which appcache the shared worker script resource was loaded from,
18510 and provide that value when calling out to chrome via this interface.
18511 https://bugs.webkit.org/show_bug.cgi?id=38605
18513 I'm keeping the old method around until patches can land in both repositories
18514 that make the old method obsolete and unneeded. There's a FIXME for that.
18516 Also somewhat related but independent change to propagate the runtime enabled
18517 flag thru to the page settings instance used by the 'shadow page'.
18519 * public/WebSharedWorker.h: Add the new param (but keep the old interface around for now too)
18520 (WebKit::WebSharedWorker::startWorkerContext):
18521 * src/SharedWorkerRepository.cpp: Provide the value when calling out to chrome.
18522 (WebCore::SharedWorkerScriptLoader::notifyFinished):
18523 * src/WebSharedWorkerImpl.cpp:
18524 (WebKit::WebSharedWorkerImpl::startWorkerContext):
18525 * src/WebSharedWorkerImpl.h:
18526 * src/WebWorkerBase.cpp: Propagate runtime enabled flag thru to the page settings.
18527 (WebKit::WebWorkerBase::initializeLoader):
18529 2010-05-07 Darin Fisher <darin@chromium.org>
18531 Fix build bustage. Update to Chromium code that avoids a bad
18532 dependency from net/ on chrome/.
18536 2010-05-07 Darin Fisher <darin@chromium.org>
18538 Fix build bustage. Update to Chromium code that no longer uses
18539 deprecated methods.
18543 2010-05-07 Darin Fisher <darin@chromium.org>
18545 Reviewed by Dimitri Glazkov.
18547 [chromium] clear out more deprecated methods that are no longer used
18548 https://bugs.webkit.org/show_bug.cgi?id=38702
18550 * public/WebFrame.h:
18551 * public/WebNode.h:
18552 * src/WebFrameImpl.cpp:
18553 * src/WebFrameImpl.h:
18556 2010-05-07 Finnur Thorarinsson <finnur.webkit@gmail.com>
18558 Reviewed by Dimitri Glazkov.
18560 [chromium]: Fixing Find in page crash on sites.google.com
18561 https://bugs.webkit.org/show_bug.cgi?id=38591
18563 setMarkerActive should not try to set a collapsed marker as
18564 active. This can happen when you Edit a Sites page after doing
18565 a Find operation and then you press FindNext.
18567 * src/WebFrameImpl.cpp:
18568 (WebKit::WebFrameImpl::setMarkerActive):
18570 2010-05-06 Kent Tamura <tkent@chromium.org>
18572 Reviewed by Dimitri Glazkov.
18574 [DRT/Chromium] Add support for resources on Mac
18575 https://bugs.webkit.org/show_bug.cgi?id=38637
18577 * DEPS: Check out tools/data_pack.
18579 2010-05-06 Pavel Feldman <pfeldman@chromium.org>
18581 Reviewed by Timothy Hatcher.
18583 Chromium Dev Tools: Large toolbar icons flash when dev
18584 tools is opened in docked mode.
18586 https://bugs.webkit.org/show_bug.cgi?id=38631
18588 * src/js/DevTools.js:
18589 (devtools.domContentLoaded):
18591 2010-05-06 Adam Barth <abarth@webkit.org>
18593 Reviewed by Eric Seidel.
18595 drop support for sessionStorage in sandbox iframes
18596 https://bugs.webkit.org/show_bug.cgi?id=38151
18598 Update client of sessionStorage to handle exceptions.
18600 * src/StorageAreaProxy.cpp:
18601 (WebCore::StorageAreaProxy::storageEvent):
18603 2010-05-05 Darin Fisher <darin@chromium.org>
18605 Reviewed by Dimitri Glazkov.
18607 [chromium] clear out deprecated methods that are no longer used
18608 https://bugs.webkit.org/show_bug.cgi?id=38610
18610 * public/WebFormElement.h:
18611 * public/WebInputElement.h:
18612 * public/WebKitClient.h:
18613 * public/WebView.h:
18614 * public/WebViewClient.h:
18615 (WebKit::WebViewClient::createPopupMenu):
18616 * src/ChromeClientImpl.cpp:
18617 (WebKit::ChromeClientImpl::popupOpened):
18618 * src/WebFormElement.cpp:
18619 * src/WebInputElement.cpp:
18620 (WebKit::WebInputElement::setSelectionRange):
18621 * src/WebViewImpl.cpp:
18622 (WebKit::WebViewImpl::hideSuggestionsPopup):
18623 * src/WebViewImpl.h:
18625 2010-05-05 Hans Wennborg <hans@chromium.org>
18627 Reviewed by Jeremy Orlow.
18629 [chromium] Add quota parameter to WebStorageNamespace::createSessionStorageNamespace
18630 https://bugs.webkit.org/show_bug.cgi?id=38589
18632 * public/WebStorageNamespace.h:
18633 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
18634 * src/WebStorageNamespaceImpl.cpp:
18635 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
18637 2010-05-05 Stuart Morgan <stuartmorgan@chromium.org>
18639 Reviewed by Darin Fisher.
18641 Update the plugin container's setFocus implementation to pass the new
18642 boolean argument to the next layer.
18644 https://bugs.webkit.org/show_bug.cgi?id=37961
18646 * src/WebPluginContainerImpl.cpp:
18647 (WebKit::WebPluginContainerImpl::setFocus):
18648 * src/WebPluginContainerImpl.h:
18650 2010-05-04 Vangelis Kokkevis <vangelis@chromium.org>
18652 Reviewed by Darin Fisher.
18654 Provide an API for querying whether a WebWidget is using gpu accelerated compositing.
18655 Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive.
18656 https://bugs.webkit.org/show_bug.cgi?id=38220
18658 * public/WebWidget.h:
18659 * src/WebPopupMenuImpl.h:
18660 (WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive):
18661 * src/WebViewImpl.cpp:
18662 (WebKit::WebViewImpl::WebViewImpl):
18663 (WebKit::WebViewImpl::paint):
18664 (WebKit::WebViewImpl::isAcceleratedCompositingActive):
18665 (WebKit::WebViewImpl::setRootGraphicsLayer):
18666 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
18667 (WebKit::WebViewImpl::updateRootLayerContents):
18668 * src/WebViewImpl.h:
18670 2010-04-29 John Gregg <johnnyg@google.com>
18672 Reviewed by Dmitry Titov.
18674 notifications should have dir and replaceId attributes
18675 https://bugs.webkit.org/show_bug.cgi?id=38336
18677 * public/WebNotification.h:
18678 * src/WebNotification.cpp:
18679 (WebKit::WebNotification::dir):
18680 (WebKit::WebNotification::replaceId):
18682 2010-05-04 Jay Civelli <jcivelli@chromium.org>
18684 Reviewed by David Levin.
18686 [chromium] Make the select popup not close on right/middle clicks.
18687 https://bugs.webkit.org/show_bug.cgi?id=38473
18689 * src/WebViewImpl.cpp:
18690 (WebKit::WebViewImpl::mouseDown):
18692 2010-05-03 Abhishek Arya <inferno@chromium.org>
18694 Reviewed by Adam Barth.
18696 Add support for controlling clipboard access from javascript.
18697 Clipboard access from javascript is disabled by default.
18698 https://bugs.webkit.org/show_bug.cgi?id=27751
18700 * public/WebSettings.h:
18701 * src/WebSettingsImpl.cpp:
18702 (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
18703 * src/WebSettingsImpl.h:
18705 2010-05-03 Jens Alfke <snej@chromium.org>
18707 Reviewed by Darin Fisher.
18709 [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
18710 https://bugs.webkit.org/show_bug.cgi?id=38397
18712 No tests (functionality is exposed only through native WebKit API.)
18714 * public/WebFrameClient.h:
18715 (WebKit::WebFrameClient::willSendSubmitEvent): New empty method
18716 * src/FrameLoaderClientImpl.cpp:
18717 (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Delegate to client
18718 * src/FrameLoaderClientImpl.h:
18720 2010-05-02 Michael Nordman <michaeln@google.com>
18722 Reviewed by Dmitry Titov.
18724 Define two new ResourceRequestBase TargetTypes for worker and shared worker
18725 main resources. Use the new target types where appropiate. Add logic to marshal
18726 the target type specified by requests initiated on a background worker thread.
18728 https://bugs.webkit.org/show_bug.cgi?id=38295
18730 * src/SharedWorkerRepository.cpp: use TargetIsSharedWorker
18731 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
18733 2010-05-02 Rafael Weinstein <rafaelw@chromium.org>
18735 Reviewed by Darin Fisher.
18737 Include WebWindowFeatures in call to WebViewClient::createView.
18738 https://bugs.webkit.org/show_bug.cgi?id=38301
18740 * public/WebViewClient.h:
18741 (WebKit::WebViewClient::createView):
18742 * public/WebWindowFeatures.h:
18743 * src/ChromeClientImpl.cpp:
18744 (WebKit::ChromeClientImpl::createWindow):
18746 2010-05-01 Evan Stade <estade@chromium.org>
18748 Reviewed by David Levin
18750 [chromium] Skia needs to fade DragImages
18751 https://bugs.webkit.org/show_bug.cgi?id=38008
18753 * tests/DragImageTest.cpp:
18754 (DragImageTest.CreateDragImage): test that the drag image is a deep copy
18756 2010-04-30 Jian Li <jianli@chromium.org>
18758 Reviewed by Darin Fisher.
18760 [chromium] Add WebFileSystem interface and hook up with all FileSystem methods.
18761 https://bugs.webkit.org/show_bug.cgi?id=38228
18764 * public/WebFileSystem.h: Added.
18765 * public/WebKitClient.h:
18766 (WebKit::WebKitClient::fileSystem):
18767 * src/ChromiumBridge.cpp:
18768 (WebCore::ChromiumBridge::fileExists):
18769 (WebCore::ChromiumBridge::deleteFile):
18770 (WebCore::ChromiumBridge::deleteEmptyDirectory):
18771 (WebCore::ChromiumBridge::getFileSize):
18772 (WebCore::ChromiumBridge::getFileModificationTime):
18773 (WebCore::ChromiumBridge::directoryName):
18774 (WebCore::ChromiumBridge::pathByAppendingComponent):
18775 (WebCore::ChromiumBridge::makeAllDirectories):
18776 (WebCore::ChromiumBridge::getAbsolutePath):
18777 (WebCore::ChromiumBridge::isDirectory):
18778 (WebCore::ChromiumBridge::filePathToURL):
18779 (WebCore::ChromiumBridge::openFile):
18780 (WebCore::ChromiumBridge::closeFile):
18781 (WebCore::ChromiumBridge::seekFile):
18782 (WebCore::ChromiumBridge::truncateFile):
18783 (WebCore::ChromiumBridge::readFromFile):
18784 (WebCore::ChromiumBridge::writeToFile):
18786 2010-04-29 Jeremy Orlow <jorlow@chromium.org>
18788 Reviewed by Darin Fisher.
18790 Change StorageEvent.uri to StorageEvent.url to match the spec
18791 https://bugs.webkit.org/show_bug.cgi?id=38331
18793 Get rid of a stale FIXME and combine 2 lines that needn't be split.
18795 * src/StorageEventDispatcherImpl.cpp:
18796 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
18798 2010-04-29 Anton Muhin <antonm@chromium.org>
18800 Reviewed by Darin Fisher.
18802 [Chromium] Consider implementing addOriginAccessWhitelistEntry method
18803 http://trac.webkit.org/changeset/57537 introduced a new method
18804 to manage whitelisting of origins.
18805 Expose this method in Chromium's bridge.
18806 https://bugs.webkit.org/show_bug.cgi?id=37578
18808 * public/WebSecurityPolicy.h: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
18809 * src/WebSecurityPolicy.cpp: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
18811 2010-04-29 Sheriff Bot <webkit.review.bot@gmail.com>
18813 Unreviewed, rolling out r58498.
18814 http://trac.webkit.org/changeset/58498
18815 https://bugs.webkit.org/show_bug.cgi?id=38332
18817 "Broke a bunch of tests on Chromium canaries" (Requested by
18818 dglazkov on #webkit).
18820 * public/WebViewClient.h:
18821 (WebKit::WebViewClient::createView):
18822 * public/WebWindowFeatures.h:
18823 * src/ChromeClientImpl.cpp:
18824 (WebKit::ChromeClientImpl::createWindow):
18826 2010-04-29 Adam Langley <agl@chromium.org>
18828 Unreviewed, DEPS roll.
18830 WebKit's r58517 needs OTS's r30 which was rolled into Chromium in
18834 Use Chromium r45932.
18836 2010-04-29 Rafael Weinstein <rafaelw@chromium.org>
18838 Reviewed by Darin Fisher.
18840 Include WindowFeatures in call to WebViewClient::createView.
18842 https://bugs.webkit.org/show_bug.cgi?id=38301
18844 * public/WebViewClient.h:
18845 (WebKit::WebViewClient::createView):
18846 * public/WebWindowFeatures.h:
18847 * src/ChromeClientImpl.cpp:
18848 (WebKit::ChromeClientImpl::createWindow):
18850 2010-04-29 Garret Kelly <gdk@chromium.org>
18852 Reviewed by Darin Fisher.
18854 Expose the RuntimeFeature for touch events through the
18855 WebRuntimeFeatures mechanism.
18856 https://bugs.webkit.org/show_bug.cgi?id=37486
18858 * public/WebRuntimeFeatures.h:
18859 * src/WebRuntimeFeatures.cpp:
18860 (WebKit::WebRuntimeFeatures::enableTouch):
18861 (WebKit::WebRuntimeFeatures::isTouchEnabled):
18863 2010-04-29 Zhenyao Mo <zmo@google.com>
18865 Reviewed by Dimitri Glazkov.
18867 Remove the unnecessary texImage2D function with Image as input in GraphicsContext3D
18868 https://bugs.webkit.org/show_bug.cgi?id=38235
18870 * src/GraphicsContext3D.cpp: Remove tex*image implementation with Image input.
18872 2010-04-28 Pavel Feldman <pfeldman@chromium.org>
18874 Reviewed by Yury Semikhatsky.
18876 Web Inspector: Allow editing script resources when resource tracking is enabled.
18878 http://bugs.webkit.org/show_bug.cgi?id=38269
18880 * src/js/DebuggerAgent.js:
18881 * src/js/InspectorControllerImpl.js:
18882 (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
18883 (.devtools.InspectorBackendImpl.prototype.editScriptSource):
18885 2010-04-28 Darin Fisher <darin@chromium.org>
18887 Reviewed by David Levin.
18889 [Chromium] callOnMainThread should equate to MessageLoop::PostTask
18890 https://bugs.webkit.org/show_bug.cgi?id=38276
18892 * public/WebKitClient.h:
18893 (WebKit::WebKitClient::callOnMainThread):
18894 * src/ChromiumThreading.cpp:
18895 (WTF::ChromiumThreading::callOnMainThread):
18897 2010-04-27 John Abd-El-Malek <jam@chromium.org>
18899 Reviewed by Darin Fisher.
18901 Make WebThemeEngine::paint take a const ref of ExtraParams
18902 https://bugs.webkit.org/show_bug.cgi?id=38242
18904 * public/WebThemeEngine.h:
18905 (WebKit::WebThemeEngine::paint):
18907 2010-04-28 Andrey Kosyakov <caseq@chromium.org>
18909 Reviewed by Pavel Feldman.
18911 Fixed passing breakpoints to V8.
18912 https://bugs.webkit.org/show_bug.cgi?id=38266
18914 * src/js/InspectorControllerImpl.js:
18915 (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
18917 2010-04-28 Yury Semikhatsky <yurys@chromium.org>
18919 Reviewed by Pavel Feldman.
18921 Support pause on exceptions in v8 implementation of ScriptDebugServer.
18923 https://bugs.webkit.org/show_bug.cgi?id=38205
18925 * src/js/DebuggerScript.js:
18926 (debuggerScriptConstructor.DebuggerScript.getScripts):
18927 (debuggerScriptConstructor.DebuggerScript.pauseOnExceptionsState):
18928 (debuggerScriptConstructor.DebuggerScript.setPauseOnExceptionsState):
18929 (debuggerScriptConstructor.DebuggerScript._v8ToWebkitLineNumber):
18930 (debuggerScriptConstructor):
18932 2010-04-27 Jens Alfke <snej@chromium.org>
18934 Reviewed by Eric Seidel.
18936 [chromium] Fix bug that prevents autosave of forms without action attribute
18937 https://bugs.webkit.org/show_bug.cgi?id=38014
18938 Change is in the Chromium WebKit API so it can't be tested with a JS-based layout test.
18939 It needs a native unit test, which would go in the Chromium repo, not WebKit.
18941 * src/WebPasswordFormData.cpp:
18942 (WebKit::WebPasswordFormData::WebPasswordFormData): Set correct URL if action is NULL
18944 2010-04-27 Michael Nordman <michaeln@google.com>
18946 Reviewed by Dmitry Titov.
18948 [Chromium] Add two things to the webkit API to support appcaches in workers.
18949 1) WebURLRequest TargetTypes for worker and shared worker main resources.
18950 2) Factory method on class WebCommonWorkerClient to
18951 createApplicationCacheHost() for the associated worker.
18953 https://bugs.webkit.org/show_bug.cgi?id=38147
18955 * public/WebCommonWorkerClient.h: add the factory method
18956 * public/WebURLRequest.h: add the TargetTypes
18957 * src/WebWorkerBase.cpp: call the embedder's factory when needed
18958 (WebKit::WebWorkerBase::didCreateDataSource)
18959 (WebKit::WebWorkerBase::createApplicationCacheHost)
18960 * src/WebWorkerBase.h: ditto
18961 * src/WebWorkerClientImpl.h: add a stub impl of the factory method
18962 (WebKit::WebWorkerClientImpl::createApplicationCacheHost):
18964 2010-04-27 Kent Tamura <tkent@chromium.org>
18966 Reviewed by Shinichiro Hamaji.
18968 [DRT/Chromium] Enable Windows project generation
18969 https://bugs.webkit.org/show_bug.cgi?id=38103
18971 - Avoid platform.system(), which causes a crash with python.exe in
18972 depot_tools. Use sys.platform instead.
18973 - Process DumpRenderTree.gyp on all platforms.
18977 2010-04-27 Jay Civelli <jcivelli@chromium.org>
18979 Reviewed by Darin Fisher.
18981 Makes clicking a select element close its associated popup if
18983 https://bugs.webkit.org/show_bug.cgi?id=38105
18985 * src/WebViewImpl.cpp:
18986 (WebKit::WebViewImpl::mouseDown):
18988 2010-04-27 Jay Civelli <jcivelli@chromium.org>
18990 Reviewed by Darin Fisher.
18992 [chromium] Merged the WebView public method to close suggestion popups
18993 into a single method to close all popups (select and suggestions).
18994 That ensures select popups are closed when the browser window is moved
18996 https://bugs.webkit.org/show_bug.cgi?id=37837
18998 * public/WebView.h:
18999 * src/WebViewImpl.cpp:
19000 (WebKit::WebViewImpl::hidePopups):
19001 (WebKit::WebViewImpl::hideSuggestionsPopup):
19002 * src/WebViewImpl.h:
19004 2010-04-27 John Abd-El-Malek <jam@chromium.org>
19006 Reviewed by Darin Adler.
19008 Remove unnecessary header now that Chrome is updated
19009 https://bugs.webkit.org/show_bug.cgi?id=38211
19011 * public/win/WebThemeEngine.h: Removed.
19013 2010-04-27 Jens Alfke <snej@chromium.org>
19015 Reviewed by Darin Fisher.
19017 [Chromium] Add some notifications and an accessor to WebKit API
19018 https://bugs.webkit.org/show_bug.cgi?id=37625
19020 * public/WebFrameClient.h:
19021 (WebKit::WebFrameClient::didFirstLayout):
19022 (WebKit::WebFrameClient::didFirstVisuallyNonEmptyLayout):
19023 * public/WebNode.h:
19024 * src/FrameLoaderClientImpl.cpp:
19025 (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
19026 (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
19027 * src/WebElement.cpp:
19029 (WebKit::WebNode::hasNonEmptyBoundingBox):
19031 2010-04-27 Darin Fisher <darin@chromium.org>
19033 Reviewed by Dimitri Glazkov.
19035 [Chromium] Remove deprecated form of didChangeLocationWithinPage
19036 https://bugs.webkit.org/show_bug.cgi?id=38178
19038 * public/WebFrameClient.h:
19039 * src/FrameLoaderClientImpl.cpp:
19040 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
19042 2010-04-27 Evan Martin <evan@chromium.org>
19044 Reviewed by David Levin.
19046 [chromium] bold bengali text not rendered properly on Linux
19047 Roll forward Chrome DEPS so we get new Skia API.
19049 * DEPS: update Chrome to r45696.
19051 2010-04-27 Andrey Kosyakov <caseq@chromium.org>
19053 Reviewed by Pavel Feldman.
19055 Restore breakpoints associated with script's URL once
19057 https://bugs.webkit.org/show_bug.cgi?id=38132
19059 * src/js/DebuggerAgent.js:
19060 (devtools.DebuggerAgent.prototype.initUI):
19061 (devtools.DebuggerAgent.prototype.addBreakpoint):
19062 (devtools.DebuggerAgent.prototype.addScriptInfo_):
19063 (devtools.DebuggerAgent.prototype.restoreBreakpoints_):
19064 (devtools.BreakpointInfo):
19065 (devtools.BreakpointInfo.prototype.enabled):
19066 (devtools.BreakpointInfo.prototype.condition):
19068 2010-04-27 Pavel Feldman <pfeldman@chromium.org>
19070 Reviewed by Yury Semikhatsky.
19072 Chrome Dev Tools: Further beautify themes.
19074 https://bugs.webkit.org/show_bug.cgi?id=38187
19076 * src/js/DevTools.js:
19077 (WebInspector.setToolbarColors):
19078 * src/js/devTools.css:
19079 (body.platform-windows #toolbar, body.platform-windows.inactive #toolbar):
19081 2010-04-26 John Abd-El-Malek <jam@chromium.org>
19083 Reviewed by Darin Fisher.
19085 [chromium] Prepare to making WebThemeEngine cross-platform
19086 https://bugs.webkit.org/show_bug.cgi?id=38077
19089 * public/WebThemeEngine.h: Added.
19090 * public/win/WebThemeEngine.h:
19092 2010-04-26 Darin Fisher <darin@chromium.org>
19094 Reviewed by Adam Barth.
19096 [Chromium] Crash after calling window.print() on a window object that has been closed.
19097 https://bugs.webkit.org/show_bug.cgi?id=38148
19099 It is unfortunately not possible to write a layout test for this as the
19100 crash occurs in an API that is only called by Chrome while showing a
19103 * src/WebViewImpl.cpp:
19104 (WebKit::WebView::willEnterModalLoop):
19105 (WebKit::WebView::didExitModalLoop):
19107 2010-04-25 Sam Weinig <sam@webkit.org>
19109 Reviewed by Maciej Stachowiak.
19111 Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
19112 Disentangle initializing the main thread from initializing threading
19115 (WebKit::initialize): Add call to initializeMainThread.
19116 * src/WebViewImpl.cpp:
19117 (WebKit::WebViewImpl::WebViewImpl): Ditto.
19119 2010-04-26 Roman Gershman <romange@google.com>
19121 Reviewed by Adam Barth.
19123 [Chromium] Font size in suggestions popup menu should be correlated with the font size of its text field.
19125 https://bugs.webkit.org/show_bug.cgi?id=37977
19127 * src/SuggestionsPopupMenuClient.cpp:
19128 (WebKit::SuggestionsPopupMenuClient::initialize):
19130 2010-04-26 Pavel Feldman <pfeldman@chromium.org>
19132 Reviewed by Yury Semikhatsky.
19134 Chromium Dev Tools: brush up images.
19136 https://bugs.webkit.org/show_bug.cgi?id=38124
19139 * src/js/DevTools.js:
19140 (WebInspector.setToolbarColors):
19141 * src/js/Images/segmentChromium.png:
19142 * src/js/Images/segmentChromium2.png: Removed.
19143 * src/js/Images/segmentHoverChromium2.png: Removed.
19144 * src/js/Images/segmentSelectedChromium2.png: Removed.
19145 * src/js/Images/statusbarBackgroundChromium.png:
19146 * src/js/Images/statusbarBackgroundChromium2.png: Removed.
19147 * src/js/Images/statusbarBottomBackgroundChromium.png:
19148 * src/js/Images/statusbarButtonsChromium.png:
19149 * src/js/Images/statusbarMenuButtonChromium.png:
19150 * src/js/Images/statusbarMenuButtonChromium2.png: Removed.
19151 * src/js/devTools.css:
19152 (.section > .header):
19153 (.console-group-messages .section > .header):
19154 (#resources-filter):
19156 (.crumbs .crumb.end):
19157 (.crumbs .crumb.selected):
19158 (.crumbs .crumb.selected:hover):
19159 (.crumbs .crumb.selected.end, .crumbs .crumb.selected.end:hover):
19160 (.crumbs .crumb:hover):
19161 (.crumbs .crumb.dimmed:hover):
19162 (.crumbs .crumb.end:hover):
19163 (body.drawer-visible #main-status-bar):
19165 (button.status-bar-item):
19166 (select.status-bar-item:active):
19168 (select.status-bar-item):
19170 2010-04-23 Zhenyao Mo <zmo@google.com>
19172 Reviewed by Darin Fisher.
19174 Add isGLES2Compliant to GraphicsContext3D: make the method const.
19175 https://bugs.webkit.org/show_bug.cgi?id=37872
19177 * src/GraphicsContext3D.cpp: Make isGLES2Compliant() const.
19178 (WebCore::GraphicsContext3DInternal::isGLES2Compliant):
19179 (WebCore::GraphicsContext3D::isGLES2Compliant):
19181 2010-04-23 Rafael Weinstein <rafaelw@grafaelw.sfo.corp.google.com>
19183 Reviewed by Darin Fisher.
19185 This patch adds a WebWindowFeatures binding struct for the
19186 chromium client in anticipation of a follow-on patch which will
19187 pass it to WebViewClient::createWindow.
19189 https://bugs.webkit.org/show_bug.cgi?id=38013
19191 * public/WebViewClient.h:
19192 (WebKit::WebViewClient::createView):
19193 * public/WebWindowFeatures.h: Added.
19194 (WebKit::WebWindowFeatures::WebWindowFeatures):
19195 * src/ChromeClientImpl.cpp:
19196 (WebKit::ChromeClientImpl::createWindow):
19198 2010-04-22 Zhenyao Mo <zmo@google.com>
19200 Reviewed by Darin Fisher.
19202 Add isGLES2Compliant to GraphicsContext3D
19203 https://bugs.webkit.org/show_bug.cgi?id=37872
19205 * public/WebGraphicsContext3D.h: Add isGLES2Compliant().
19206 * src/GraphicsContext3D.cpp: Ditto.
19207 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
19208 (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
19209 * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
19211 2010-04-22 Dave Moore <davemoore@chromium.org>
19213 Reviewed by Dimitri Glazkov.
19215 Added notification when the favicons for a page are changed
19217 The Document object will notify the frame loader, which will
19218 notify the client. Implementations of FrameLoaderClient will
19219 have to add one method; dispatchDidChangeIcons().
19221 https://bugs.webkit.org/show_bug.cgi?id=33812
19223 * public/WebFrameClient.h:
19224 (WebKit::WebFrameClient::didChangeIcons):
19225 * src/FrameLoaderClientImpl.cpp:
19226 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
19227 * src/FrameLoaderClientImpl.h:
19229 2010-04-22 Zhenyao Mo <zmo@google.com>
19231 Reviewed by Dimitri Glazkov.
19233 Emulate GL_IMPLEMENTATION_COLOR_READ_FORMAT/TYPE for glGet
19234 https://bugs.webkit.org/show_bug.cgi?id=37281
19236 * src/WebGraphicsContext3DDefaultImpl.cpp:
19237 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate two enums.
19239 2010-04-22 Adam Barth <abarth@webkit.org>
19241 Unreviewed, rolling out r58069.
19242 http://trac.webkit.org/changeset/58069
19243 https://bugs.webkit.org/show_bug.cgi?id=27751
19245 Broke compile on Windows.
19247 * public/WebSettings.h:
19248 * src/WebSettingsImpl.cpp:
19249 * src/WebSettingsImpl.h:
19251 2010-04-22 Tony Chang <tony@chromium.org>
19253 Reviewed by Shinichiro Hamaji.
19255 [chromium] roll chromium deps to pick up some windows build fixes
19256 https://bugs.webkit.org/show_bug.cgi?id=37972
19260 2010-04-22 Abhishek Arya <inferno@chromium.org>
19262 Reviewed by Adam Barth.
19264 Add support for controlling clipboard access from javascript.
19265 Clipboard access from javascript is disabled by default.
19266 https://bugs.webkit.org/show_bug.cgi?id=27751
19268 * public/WebSettings.h:
19269 * src/WebSettingsImpl.cpp:
19270 (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
19271 * src/WebSettingsImpl.h:
19273 2010-04-21 Tony Chang <tony@chromium.org>
19275 Reviewed by Shinichiro Hamaji.
19277 [chromium] gyp_webkit should be executable
19278 https://bugs.webkit.org/show_bug.cgi?id=37971
19280 * gyp_webkit: Added property svn:executable.
19282 2010-04-21 Jay Civelli <jcivelli@chromium.org>
19284 Reviewed by Darin Fisher.
19286 [Chromium] Don't notify the WebView that a popup was
19287 opened when the popup is handled externally, as the popup
19288 is in that case transparent to the WebView.
19289 The notification was causing an ASSERT on Mac (where
19290 the popup is handled externally) as there would be no
19291 notification that the popup was closed.
19292 https://bugs.webkit.org/show_bug.cgi?id=37825
19294 * src/ChromeClientImpl.cpp:
19295 (WebKit::ChromeClientImpl::popupOpened):
19297 2010-04-21 Sheriff Bot <webkit.review.bot@gmail.com>
19299 Unreviewed, rolling out r58028.
19300 http://trac.webkit.org/changeset/58028
19301 https://bugs.webkit.org/show_bug.cgi?id=37962
19303 broke the chromium build (Requested by tony^work on #webkit).
19307 2010-04-21 Evan Martin <evan@chromium.org>
19309 Unreviewed, just a dependency change.
19311 [chromium] roll skia forward to r538
19312 https://bugs.webkit.org/show_bug.cgi?id=37960
19314 This will cause a bunch of pixel tests to fail due to bulleted
19315 lists rendering slightly differently. I will grab new baselines
19316 from the bots and check them in in a followup.
19320 2010-04-21 Evan Stade <estade@chromium.org>
19322 Reviewed by Darin Fisher.
19324 [chromium] Web page serializer saves tag names in upper case
19325 https://bugs.webkit.org/show_bug.cgi?id=37940
19327 Simply convert all tags to lower case.
19329 This is tested by chrome tests:
19330 - save page browser tests
19331 - encoding ui tests
19332 - web page serializer test shell tests
19334 * src/WebPageSerializer.cpp:
19335 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
19336 (WebKit::WebPageSerializer::generateBaseTagDeclaration):
19337 * src/WebPageSerializerImpl.cpp:
19338 (WebKit::WebPageSerializerImpl::openTagToString):
19339 (WebKit::WebPageSerializerImpl::endTagToString):
19341 2010-04-20 Adam Barth <abarth@webkit.org>
19343 Reviewed by Eric Seidel.
19345 Factor DocumentWriter out of FrameLoader
19346 https://bugs.webkit.org/show_bug.cgi?id=37175
19348 Update these callsites because the method moved to DocumentWriter.
19350 * src/ContextMenuClientImpl.cpp:
19351 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
19352 * src/FrameLoaderClientImpl.cpp:
19353 (WebKit::FrameLoaderClientImpl::finishedLoading):
19354 * src/WebFrameImpl.cpp:
19355 (WebKit::WebFrameImpl::encoding):
19356 (WebKit::WebFrameImpl::commitDocumentData):
19357 * src/WebPageSerializerImpl.cpp:
19358 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
19359 (WebKit::WebPageSerializerImpl::serialize):
19360 * src/WebSearchableFormData.cpp:
19361 (WebCore::GetFormEncoding):
19362 * src/WebViewImpl.cpp:
19363 (WebKit::WebViewImpl::pageEncoding):
19365 2010-04-20 Pavel Feldman <pfeldman@chromium.org>
19367 Reviewed by Timothy Hatcher.
19369 Web Inspector: add basic script editing capabilities to the front-end.
19371 https://bugs.webkit.org/show_bug.cgi?id=37875
19373 * src/js/DebuggerAgent.js:
19374 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
19375 (devtools.DebuggerAgent.prototype.resolveScriptSource):
19376 (devtools.DebuggerAgent.prototype.editScriptLine.this.requestSeqToCallback_.cmd.getSequenceNumber):
19377 (devtools.DebuggerAgent.prototype.editScriptLine):
19378 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
19379 * src/js/DevTools.js:
19380 * src/js/InspectorControllerImpl.js:
19381 (.devtools.InspectorBackendImpl.prototype.editScriptLine):
19383 2010-04-20 Kent Tamura <tkent@chromium.org>
19385 Reviewed by Darin Adler.
19387 Change a parameter type of chooseIconForFiles()
19388 https://bugs.webkit.org/show_bug.cgi?id=37504
19390 * src/ChromeClientImpl.cpp:
19391 (WebKit::ChromeClientImpl::chooseIconForFiles):
19392 * src/ChromeClientImpl.h:
19394 2010-04-20 Jay Civelli <jcivelli@chromium.org>
19396 Reviewed by Dimitri Glazkov.
19398 [chromium] Tests that pressing tab now closes the select popup.
19399 https://bugs.webkit.org/show_bug.cgi?id=37721
19401 * tests/PopupMenuTest.cpp:
19404 2010-04-20 Evan Stade <estade@chromium.org>
19406 Reviewed by David Levin.
19408 [chromium] crash when dragging images
19409 https://bugs.webkit.org/show_bug.cgi?id=37715
19411 Added unit tests for DragImageChromiumSkia.
19414 * tests/DragImageTest.cpp: Added.
19415 (WebCore::TestImage::TestImage):
19416 (WebCore::TestImage::~TestImage):
19417 (WebCore::TestImage::size):
19418 (WebCore::TestImage::nativeImageForCurrentFrame):
19419 (WebCore::TestImage::destroyDecodedData):
19420 (WebCore::TestImage::decodedSize):
19421 (WebCore::TestImage::draw):
19424 2010-04-20 Stuart Morgan <stuartmorgan@chromium.org>
19426 Reviewed by David Levin.
19428 Remove a workaround in plugin cursor setting that was obsoleted by
19429 the change in https://bugs.webkit.org/show_bug.cgi?id=35132
19430 https://bugs.webkit.org/show_bug.cgi?id=37811
19432 * src/ChromeClientImpl.cpp:
19433 (WebKit::ChromeClientImpl::ChromeClientImpl):
19434 (WebKit::ChromeClientImpl::setCursor):
19435 (WebKit::ChromeClientImpl::setCursorForPlugin):
19436 * src/ChromeClientImpl.h:
19438 2010-04-19 Ada Chan <adachan@apple.com>
19440 Reviewed by Jeremy Orlow.
19442 https://bugs.webkit.org/show_bug.cgi?id=37717
19443 Changes needed now that StorageNamespaceImpl::sessionStorageNamespace() and
19444 StorageNamespace::sessionStorageNamespace() take in a quota parameter.
19446 * src/StorageNamespaceProxy.cpp:
19447 (WebCore::StorageNamespace::sessionStorageNamespace):
19448 * src/WebStorageNamespaceImpl.cpp:
19449 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
19451 2010-04-17 Vangelis Kokkevis <vangelis@chromium.org>
19453 Reviewed by Dimitri Glazkov.
19455 Adding the implementation of GLES2Context class which provides WebCore access to a GL ES context.
19456 https://bugs.webkit.org/show_bug.cgi?id=37541
19459 * public/WebGLES2Context.h: Added.
19460 (WebKit::WebGLES2Context::~WebGLES2Context):
19461 * src/GLES2Context.cpp: Added.
19462 (WebCore::GLES2ContextInternal::GLES2ContextInternal):
19463 (WebCore::GLES2ContextInternal::~GLES2ContextInternal):
19464 (WebCore::GLES2ContextInternal::getWebGLES2Context):
19465 (WebCore::GLES2ContextInternal::initialize):
19466 (WebCore::GLES2Context::create):
19467 (WebCore::GLES2Context::~GLES2Context):
19468 (WebCore::GLES2Context::initialize):
19469 (WebCore::GLES2Context::makeCurrent):
19470 (WebCore::GLES2Context::destroy):
19471 (WebCore::GLES2Context::swapBuffers):
19473 2010-04-16 Dumitru Daniliuc <dumi@chromium.org>
19475 Reviewed by Eric Seidel.
19477 Get rid of the UNUSED_PARAM macro in GraphicsContext3D.cpp.
19478 https://bugs.webkit.org/show_bug.cgi?id=37733
19480 * src/GraphicsContext3D.cpp:
19481 (WebCore::GraphicsContext3D::GraphicsContext3D):
19483 2010-04-16 Dumitru Daniliuc <dumi@chromium.org>
19485 Reviewed by Jeremy Orlow.
19487 Changing the return type of WebSecurityOrigin::createFromDatabaseIdentifier().
19488 https://bugs.webkit.org/show_bug.cgi?id=34466
19490 Changing the return type of
19491 WebSecurityOrigin::createFromDatabaseIdentifier() from
19492 WebSecurityOrigin* to WebSecurityOrigin, to make it more
19493 consistent with the other WebSecurityOrigin methods.
19495 * public/WebSecurityOrigin.h:
19496 * src/WebDatabase.cpp:
19497 (WebKit::WebDatabase::closeDatabaseImmediately):
19498 * src/WebSecurityOrigin.cpp:
19499 (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
19501 2010-04-16 Dmitry Titov <dimich@chromium.org>
19503 Reviewed by Yury Semikhatsky.
19505 [v8] In Workers, script errors right after close() are not delivered to the Worker.onerror
19506 https://bugs.webkit.org/show_bug.cgi?id=37691
19508 * src/WebWorkerClientImpl.cpp:
19509 (WebKit::WebWorkerClientImpl::createWorkerContextProxy): Don't need to pull V8 proxy to retrieve current WorkerContext.
19511 2010-04-16 Albert J. Wong <ajwong@chromium.org>
19513 Not reviewed. Build fix.
19515 [chromium] Compile fix. Missing include header, and missing type conversion.
19517 * src/GraphicsContext3D.cpp:
19518 (WebCore::GraphicsContext3DInternal::beginPaint):
19520 2010-04-16 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
19522 Reviewed by Simon Hausmann.
19524 [Qt] WebGL is not visible when QGLWidget viewport is used
19525 https://bugs.webkit.org/show_bug.cgi?id=37070
19527 Added HostWindow parameter to the constructor of GraphicsContext3D.
19528 Shared OpenGL context is initialized with parent QGLWidget.
19530 * src/GraphicsContext3D.cpp:
19531 (WebCore::GraphicsContext3D::GraphicsContext3D):
19533 2010-04-16 Fumitoshi Ukai <ukai@chromium.org>
19535 Reviewed by Jian Li.
19537 [chromium] WebKit::WebURLResponse::addHTTPHeaderField will crash if response is invalid UTF-8
19538 https://bugs.webkit.org/show_bug.cgi?id=37687
19540 * src/WebURLResponse.cpp:
19541 (WebKit::WebURLResponse::addHTTPHeaderField): ignore if name or value is null string.
19543 2010-04-16 Jay Civelli <jcivelli@chromium.org>
19545 Reviewed by Dimitri Glazkov.
19547 [chromium] Select popups would assert when destroyed.
19548 Also adding unit-tests for the select popup code.
19549 https://bugs.webkit.org/show_bug.cgi?id=37436
19552 * src/WebViewImpl.h:
19553 (WebKit::WebViewImpl::selectPopup):
19554 * tests/PopupMenuTest.cpp: Added.
19556 2010-04-16 Tony Chang <tony@chromium.org>
19558 Reviewed by Dimitri Glazkov.
19560 [chromium] build DRT on Linux
19561 https://bugs.webkit.org/show_bug.cgi?id=37690
19563 * DEPS: Need to roll deps to remove a dependency on src/chrome
19564 * gyp_webkit: generate makefiles for DRT.gyp on Linux
19566 2010-04-15 Tony Chang <tony@chromium.org>
19568 Reviewed by Dimitri Glazkov.
19570 build DRT on chromium mac
19571 https://bugs.webkit.org/show_bug.cgi?id=37639
19573 * gyp_webkit: generate build files for DRT on mac
19575 2010-04-15 Yury Semikhatsky <yurys@google.com>
19577 Reviewed by Pavel Feldman.
19579 Support basic debugging capabilities including step in/over/out in v8
19580 implementation of ScriptDebugServer.
19582 https://bugs.webkit.org/show_bug.cgi?id=37604
19585 * src/DebuggerAgent.h:
19586 * src/DebuggerAgentImpl.cpp:
19587 (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
19588 * src/DebuggerAgentImpl.h:
19589 * src/DebuggerAgentManager.cpp:
19590 (WebKit::DebuggerAgentManager::hostDispatchHandler):
19591 (WebKit::DebuggerAgentManager::debugAttach):
19592 (WebKit::DebuggerAgentManager::debugDetach):
19593 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
19594 * src/DebuggerAgentManager.h:
19595 * src/InspectorFrontendClientImpl.cpp:
19596 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
19597 * src/js/DebuggerScript.js: Added.
19598 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
19599 (debuggerScriptConstructor.DebuggerScript.getScripts):
19600 (debuggerScriptConstructor.DebuggerScript._formatScript):
19601 (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
19602 (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
19603 (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
19604 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
19605 (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
19606 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
19607 (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
19608 (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
19609 (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
19610 (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
19611 (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
19612 (debuggerScriptConstructor):
19613 * src/js/DevTools.js:
19614 (WebInspector.loaded):
19617 * src/js/DevToolsHostStub.js:
19618 (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
19619 * src/js/InspectorControllerImpl.js:
19620 (devtools.InspectorBackendImpl):
19622 2010-04-15 Matt Perry <mpcomplete@chromium.org>
19624 Reviewed by Dimitri Glazkov.
19626 Implement layoutTestController's addUserStyleSheet and
19627 setAuthorAndUserStylesEnabled on Chromium port.
19628 https://bugs.webkit.org/show_bug.cgi?id=37595
19630 * public/WebSettings.h:
19631 * public/WebView.h:
19632 * src/WebSettingsImpl.cpp:
19633 (WebKit::WebSettingsImpl::setAuthorAndUserStylesEnabled):
19634 * src/WebSettingsImpl.h:
19635 * src/WebViewImpl.cpp:
19636 (WebKit::WebViewImpl::addUserStyleSheet):
19637 * src/WebViewImpl.h:
19639 2010-04-15 Zhenyao Mo <zmo@google.com>
19641 Reviewed by Dimitri Glazkov.
19643 Must enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization
19644 https://bugs.webkit.org/show_bug.cgi?id=37178
19646 * src/WebGraphicsContext3DDefaultImpl.cpp: Enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization.
19647 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
19649 2010-04-15 Albert J. Wong <ajwong@chromium.org>
19651 Unreviewed, rolling out r57660.
19652 http://trac.webkit.org/changeset/57660
19653 https://bugs.webkit.org/show_bug.cgi?id=37604
19655 Broke a large number of inspector layout tests in chromium.
19658 * src/DebuggerAgent.h:
19659 * src/DebuggerAgentImpl.cpp:
19660 * src/DebuggerAgentImpl.h:
19661 * src/DebuggerAgentManager.cpp:
19662 (WebKit::DebuggerAgentManager::debugAttach):
19663 (WebKit::DebuggerAgentManager::debugDetach):
19664 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
19665 * src/DebuggerAgentManager.h:
19666 * src/InspectorFrontendClientImpl.cpp:
19667 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
19668 * src/js/DebuggerScript.js: Removed.
19669 * src/js/DevTools.js:
19670 (WebInspector.loaded):
19671 (WebInspector.UnresolvedPropertyValue):
19673 * src/js/DevToolsHostStub.js:
19674 * src/js/InspectorControllerImpl.js:
19675 (devtools.InspectorBackendImpl):
19677 2010-04-15 Yury Semikhatsky <yurys@google.com>
19679 Reviewed by Pavel Feldman.
19681 Support basic debugging capabilities including step in/over/out in v8
19682 implementation of ScriptDebugServer.
19684 https://bugs.webkit.org/show_bug.cgi?id=37604
19687 * src/DebuggerAgent.h:
19688 * src/DebuggerAgentImpl.cpp:
19689 (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
19690 * src/DebuggerAgentImpl.h:
19691 * src/DebuggerAgentManager.cpp:
19692 (WebKit::DebuggerAgentManager::hostDispatchHandler):
19693 (WebKit::DebuggerAgentManager::debugAttach):
19694 (WebKit::DebuggerAgentManager::debugDetach):
19695 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
19696 * src/DebuggerAgentManager.h:
19697 * src/InspectorFrontendClientImpl.cpp:
19698 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
19699 * src/js/DebuggerScript.js: Added.
19700 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
19701 (debuggerScriptConstructor.DebuggerScript.getScripts):
19702 (debuggerScriptConstructor.DebuggerScript._formatScript):
19703 (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
19704 (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
19705 (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
19706 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
19707 (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
19708 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
19709 (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
19710 (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
19711 (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
19712 (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
19713 (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
19714 (debuggerScriptConstructor):
19715 * src/js/DevTools.js:
19716 (WebInspector.loaded):
19719 * src/js/DevToolsHostStub.js:
19720 (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
19721 * src/js/InspectorControllerImpl.js:
19722 (devtools.InspectorBackendImpl):
19724 2010-04-15 Ben Murdoch <benm@google.com>
19726 Unreviewed, rolling out r57652.
19727 http://trac.webkit.org/changeset/57652
19728 https://bugs.webkit.org/show_bug.cgi?id=37609
19730 Caused a build break on Chromium Mac and Layout Test fail on
19733 * src/WebInputEventConversion.cpp:
19734 (WebKit::toPlatformTouchPointState):
19736 2010-04-14 Ben Murdoch <benm@google.com>
19738 Reviewed by Kenneth Rohde Christiansen.
19740 The TouchStationary state of WebCore::PlatformTouchPoint is not
19741 handled inside the touch event handler.
19742 https://bugs.webkit.org/show_bug.cgi?id=37609
19744 After discussions at the WebKit contributors meeting, we decided that
19745 this is a currently unused state without a good future use case in the
19746 Touch API and thus decided to remove it. This patch actions that decision.
19748 * src/WebInputEventConversion.cpp:
19749 (WebKit::toPlatformTouchPointState): Remove TouchStationary.
19751 2010-04-12 Tony Chang <tony@chromium.org>
19753 Reviewed by Darin Fisher.
19755 [chromium] update chromium DEPS for upstream compile
19756 https://bugs.webkit.org/show_bug.cgi?id=36578
19758 * DEPS: Pull sub deps from chromium's DEPS file
19760 2010-04-14 Sheriff Bot <webkit.review.bot@gmail.com>
19762 Unreviewed, rolling out r57599.
19763 http://trac.webkit.org/changeset/57599
19764 https://bugs.webkit.org/show_bug.cgi?id=37605
19766 "Broke Chromium build" (Requested by dglazkov on #webkit).
19769 * src/WebViewImpl.h:
19770 * tests/PopupMenuTest.cpp: Removed.
19772 2010-04-14 Aaron Boodman <aa@chromium.org>
19774 Reviewed by David Levin.
19776 Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting
19777 the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are
19778 unsupported. Fixed by resolving the relative URL first.
19780 https://bugs.webkit.org/show_bug.cgi?id=36623
19782 Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows.
19784 * public/WebNotification.h: Remove deprecated icon() method.
19785 * src/WebNotification.cpp: Ditto.
19787 2010-04-14 Jay Civelli <jcivelli@chromium.org>
19789 Reviewed by Dimitri Glazkov.
19791 [chromium] Select popups would assert when destroyed.
19792 Also adding unit-tests for the select popup code.
19793 https://bugs.webkit.org/show_bug.cgi?id=37436
19796 * src/WebViewImpl.h:
19797 (WebKit::WebViewImpl::selectPopup):
19798 * tests/PopupMenuTest.cpp: Added.
19800 2010-04-14 Zhenyao Mo <zmo@google.com>
19802 Reviewed by Dimitri Glazkov.
19804 readPixels must take PACK_ALIGNMENT into account
19805 https://bugs.webkit.org/show_bug.cgi?id=34718
19807 * src/GraphicsContext3D.cpp: Refactor readPixels.
19808 * src/WebGraphicsContext3DDefaultImpl.cpp:
19809 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): Temporarily disable pack alignment for glReadPixels.
19810 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Move array allocation and alpha fix to WebGLRenderingContext; flush before read pixels.
19812 2010-04-14 Mikhail Naganov <mnaganov@chromium.org>
19814 Reviewed by Pavel Feldman.
19816 Re-write testProfilerTab to match the new implementation.
19818 https://bugs.webkit.org/show_bug.cgi?id=37516
19821 (.TestSuite.prototype.testProfilerTab.findDisplayedNode):
19822 (.TestSuite.prototype.testProfilerTab.findVisibleView):
19823 (.TestSuite.prototype.testProfilerTab):
19825 2010-04-13 Timothy Hatcher <timothy@apple.com>
19827 Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
19828 And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
19830 SecurityOrigin needs a way to remove individual OriginAccessEntries
19831 https://bugs.webkit.org/show_bug.cgi?id=37449
19833 Reviewed by Dave Hyatt.
19835 * src/WebSecurityPolicy.cpp:
19836 (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
19837 (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
19839 2010-04-13 Mikhail Naganov <mnaganov@chromium.org>
19841 Reviewed by Pavel Feldman.
19843 Fix search behavior in Heap profiles.
19845 https://bugs.webkit.org/show_bug.cgi?id=37498
19847 * src/js/HeapProfilerPanel.js:
19849 2010-04-13 Jeremy Moskovich <jeremy@chromium.org>
19851 Reviewed by David Levin.
19853 Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
19855 https://bugs.webkit.org/show_bug.cgi?id=36426
19857 * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
19858 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
19859 (WebCore::ResourceHandleInternal::):
19860 (WebCore::ResourceHandleInternal::start):
19861 (WebCore::ResourceHandleInternal::cancel):
19862 (WebCore::ResourceHandleInternal::didReceiveResponse):
19863 (WebCore::ResourceHandleInternal::didReceiveData):
19864 (WebCore::ResourceHandleInternal::didFinishLoading):
19865 (WebCore::ResourceHandleInternal::didFail):
19867 2010-04-13 Mikhail Naganov <mnaganov@chromium.org>
19869 Unreviewed Chromium build fix: pin to a newer V8 revision (4386).
19873 2010-04-12 Mikhail Naganov <mnaganov@chromium.org>
19875 Reviewed by Yury Semikhatsky.
19877 Replace hand-written JavaScriptProfile* bindings with idl-based, and
19878 in Chromium port, bind them to the new V8's profiler API that is
19881 https://bugs.webkit.org/show_bug.cgi?id=37448
19883 * src/js/InspectorControllerImpl.js:
19884 (devtools.InspectorBackendImpl):
19885 * src/js/ProfilerAgent.js:
19886 (devtools.ProfilerAgent):
19887 (devtools.ProfilerAgent.prototype.initializeProfiling):
19888 (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
19889 (devtools.ProfilerAgent.prototype._didGetLogLines):
19892 2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
19894 Unreviewed, rolling out r57468.
19895 http://trac.webkit.org/changeset/57468
19896 https://bugs.webkit.org/show_bug.cgi?id=37433
19898 Broke the world... Must have applied the patch wrong
19899 (Requested by abarth on #webkit).
19901 * src/ContextMenuClientImpl.cpp:
19902 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
19903 * src/FrameLoaderClientImpl.cpp:
19904 (WebKit::FrameLoaderClientImpl::finishedLoading):
19905 * src/WebFrameImpl.cpp:
19906 (WebKit::WebFrameImpl::encoding):
19907 (WebKit::WebFrameImpl::commitDocumentData):
19908 * src/WebPageSerializerImpl.cpp:
19909 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
19910 (WebKit::WebPageSerializerImpl::serialize):
19911 * src/WebSearchableFormData.cpp:
19912 (WebCore::GetFormEncoding):
19913 * src/WebViewImpl.cpp:
19914 (WebKit::WebViewImpl::pageEncoding):
19916 2010-04-11 Adam Barth <abarth@webkit.org>
19918 Reviewed by Eric Seidel.
19920 Factor DocumentWriter out of FrameLoader
19921 https://bugs.webkit.org/show_bug.cgi?id=37175
19923 Update these callsites because the method moved to DocumentWriter.
19925 * src/ContextMenuClientImpl.cpp:
19926 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
19927 * src/FrameLoaderClientImpl.cpp:
19928 (WebKit::FrameLoaderClientImpl::finishedLoading):
19929 * src/WebFrameImpl.cpp:
19930 (WebKit::WebFrameImpl::encoding):
19931 (WebKit::WebFrameImpl::commitDocumentData):
19932 * src/WebPageSerializerImpl.cpp:
19933 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
19934 (WebKit::WebPageSerializerImpl::serialize):
19935 * src/WebSearchableFormData.cpp:
19936 (WebCore::GetFormEncoding):
19937 * src/WebViewImpl.cpp:
19938 (WebKit::WebViewImpl::pageEncoding):
19940 2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
19942 Unreviewed, rolling out r57460.
19943 http://trac.webkit.org/changeset/57460
19944 https://bugs.webkit.org/show_bug.cgi?id=37424
19946 broke chromium builders (Requested by tony^work on #webkit).
19951 2010-04-11 Tony Chang <tony@chromium.org>
19953 Reviewed by Darin Fisher.
19955 [chromium] update chromium DEPS for upstream compile
19956 https://bugs.webkit.org/show_bug.cgi?id=36578
19959 * gyp_webkit: Add DumpRenderTree.gyp so we generate xcode projects for DRT.
19961 2010-04-10 Vangelis Kokkevis <vangelis@chromium.org>
19963 Reviewed by Dimitri Glazkov.
19965 Include file change as a result of renaming LayerRenderSkia.h to LayerRenderChromium.h
19966 https://bugs.webkit.org/show_bug.cgi?id=37231
19968 * src/WebViewImpl.h:
19970 2010-04-10 Rafael Weinstein <rafaelw@chromium.org>
19972 Reviewed by Eric Seidel.
19974 Cleanup after chromium breakage. All interface methods are
19975 returned to being abstract.
19977 * public/WebNotificationPresenter.h:
19979 2010-04-09 Evan Stade <estade@chromium.org>
19981 Reviewed by Eric Seidel.
19983 [chromium] Linux: respect the scale factor during printing
19984 https://bugs.webkit.org/show_bug.cgi?id=37168
19986 Chromium doesn't support testing .pdfs from printing at the moment, so
19987 this change is not covered by any tests.
19989 * src/WebFrameImpl.cpp:
19990 (WebKit::ChromePrintContext::spoolPage):
19992 2010-04-09 Aaron Boodman <aa@chromium.org>
19994 Reviewed by Eric Seidel.
19996 Remove applicationID() from WebDocument as it is Chromium-specific.
19997 https://bugs.webkit.org/show_bug.cgi?id=37350
19999 * public/WebDocument.h:
20000 * src/WebDocument.cpp:
20002 2010-04-09 Jeremy Orlow <jorlow@chromium.org>
20004 Reviewed by Darin Adler.
20006 Move the IDB::open ExceptionCode paramter to be last
20007 https://bugs.webkit.org/show_bug.cgi?id=37277
20009 Move the ExceptionCode paramter to the last position in
20010 IndexedDatabaseRequest::open and friends. It should definitely
20011 go after the callbacks to keep the parameters that come directly
20012 from javascript together. And having output parameters appear
20013 last is done often in the code base, so it makes sense to push
20014 it past the Frame* param as well.
20016 * public/WebIndexedDatabase.h:
20017 * src/IndexedDatabaseProxy.cpp:
20018 (WebCore::IndexedDatabaseProxy::open):
20019 * src/IndexedDatabaseProxy.h:
20020 * src/WebIndexedDatabaseImpl.cpp:
20021 (WebKit::WebIndexedDatabaseImpl::open):
20022 * src/WebIndexedDatabaseImpl.h:
20024 2010-04-09 Jochen Eisinger <jochen@chromium.org>
20026 Reviewed by Darin Fisher.
20028 Complete move of createApplicationCacheHost from WebKitClient to WebFrameClient.
20029 https://bugs.webkit.org/show_bug.cgi?id=37330
20031 * public/WebApplicationCacheHost.h:
20032 * public/WebKitClient.h:
20033 * src/ApplicationCacheHostInternal.h:
20034 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
20036 2010-04-09 Marcus Bulach <bulach@chromium.org>
20038 Reviewed by Jeremy Orlow.
20040 Crash on WebKit::WebGeolocationServiceBridgeImpl::stopUpdating() during frame disconnection
20041 Should not try to access WebViewClient if the frame has already been disconnected.
20042 https://bugs.webkit.org/show_bug.cgi?id=37318
20044 * src/WebGeolocationServiceBridgeImpl.cpp:
20045 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
20047 2010-04-09 Jochen Eisinger <jochen@chromium.org>
20049 Reviewed by Adam Barth.
20051 Expose SecurityOrigin::canRequest in WebSecurityOrigin.
20052 https://bugs.webkit.org/show_bug.cgi?id=37271
20054 * public/WebSecurityOrigin.h:
20055 * src/WebSecurityOrigin.cpp:
20056 (WebKit::WebSecurityOrigin::canRequest):
20058 2010-04-09 Zhenyao Mo <zmo@google.com>
20060 Reviewed by Dimitri Glazkov.
20062 Must resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D
20063 https://bugs.webkit.org/show_bug.cgi?id=37174
20065 Test: fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html
20067 * src/WebGraphicsContext3DDefaultImpl.cpp: Resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D.
20068 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
20069 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
20071 2010-04-07 Pavel Feldman <pfeldman@chromium.org>
20073 Reviewed by Yury Semikhatsky.
20075 Chromium: support themes in devtools window.
20077 https://bugs.webkit.org/attachment.cgi?bugid=37216
20080 * src/js/DevTools.js:
20081 (WebInspector.setToolbarColors):
20082 (WebInspector.resetToolbarColors):
20083 * src/js/Images/segmentChromium2.png: Added.
20084 * src/js/Images/segmentHoverChromium2.png: Added.
20085 * src/js/Images/segmentSelectedChromium2.png: Added.
20086 * src/js/Images/statusbarBackgroundChromium2.png: Added.
20087 * src/js/Images/statusbarMenuButtonChromium2.png: Added.
20089 2010-04-07 Andrey Kosyakov <caseq@chromium.org>
20091 Reviewed by Yury Semikhatsky.
20093 Removed inspector methods from ScriptExecutionContext and derived classes.
20094 Removed MessageDestination parameter from console-related calls (we now always
20095 log to the same destination(s)).
20096 Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
20097 https://bugs.webkit.org/show_bug.cgi?id=36949
20099 * public/WebCommonWorkerClient.h:
20100 (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
20101 * src/FrameLoaderClientImpl.cpp:
20102 * src/FrameLoaderClientImpl.h:
20103 * src/WebWorkerBase.cpp:
20104 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
20105 (WebKit::WebWorkerBase::postConsoleMessageTask):
20106 * src/WebWorkerBase.h:
20107 * src/WebWorkerClientImpl.cpp:
20108 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
20109 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
20110 * src/WebWorkerClientImpl.h:
20112 2010-04-07 Jeremy Orlow <jorlow@chromium.org>
20114 Reviewed by Darin Fisher.
20116 [Chromium] WebIDBDatabaseError::assign doesn't work correctly
20117 https://bugs.webkit.org/show_bug.cgi?id=37209
20119 * src/WebIDBDatabaseError.cpp:
20120 (WebKit::WebIDBDatabaseError::assign):
20122 2010-04-07 Dawit Alemayehu <adawit@kde.org>
20124 Reviewed by Simon Hausmann.
20126 https://bugs.webkit.org/show_bug.cgi?id=36827
20128 Updated the WebCore::shouldTreatAsAttachement function call with the
20129 new more generic replacement WebCore::contentDispositionType.
20131 See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395
20133 * src/FrameLoaderClientImpl.cpp:
20134 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
20136 2010-04-07 Jochen Eisinger <jochen@chromium.org>
20138 Reviewed by Darin Fisher.
20140 Add createApplicationCacheHost to WebFrameClient so
20141 the ApplicationCacheHost has access to its frame.
20143 https://bugs.webkit.org/show_bug.cgi?id=36882
20145 * public/WebFrameClient.h:
20146 (WebKit::WebFrameClient::createApplicationCacheHost):
20147 * src/ApplicationCacheHostInternal.h:
20148 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
20150 2010-04-06 Nicolas Weber <thakis@chromium.org>
20152 Reviewed by Dimitri Glazkov.
20154 Use drag images on OS X as well.
20155 https://bugs.webkit.org/show_bug.cgi?id=37069
20157 * src/DragClientImpl.cpp:
20158 (WebKit::DragClientImpl::startDrag):
20160 2010-04-06 Vangelis Kokkevis <vangelis@chromium.org>
20162 Reviewed by Dimitri Glazkov.
20164 Changing references to Graphics Layer related classes from *Skia to *Chromium.
20165 https://bugs.webkit.org/show_bug.cgi?id=37116
20167 * src/WebViewImpl.cpp:
20168 (WebKit::WebViewImpl::paint):
20169 (WebKit::WebViewImpl::setAcceleratedCompositing):
20170 (WebKit::WebViewImpl::updateRootLayerContents):
20171 * src/WebViewImpl.h:
20173 2010-04-06 James Hawkins <jhawkins@chromium.org>
20175 Reviewed by Adam Barth.
20177 [Chromium] Implement WebInputElement::maxLength.
20178 https://bugs.webkit.org/show_bug.cgi?id=37172
20180 * public/WebInputElement.h:
20181 * src/WebInputElement.cpp:
20182 (WebKit::WebInputElement::maxLength):
20184 2010-04-06 Evan Stade <estade@chromium.org>
20186 Reviewed by Dimitri Glazkov.
20188 [chromium] need DragImage implementation
20189 https://bugs.webkit.org/show_bug.cgi?id=35811
20191 Basic implementation using SkBitmap. Transformations are not supported
20192 yet. No implementation for mac.
20194 This was previously committed but rolled back for breaking layout
20197 * public/WebViewClient.h:
20198 (WebKit::WebViewClient::startDragging):
20199 * src/DragClientImpl.cpp:
20200 (WebKit::DragClientImpl::startDrag): new: check for null dragImage.
20201 * src/WebViewImpl.cpp:
20202 (WebKit::WebViewImpl::startDragging):
20203 * src/WebViewImpl.h:
20205 2010-04-06 James Hawkins <jhawkins@chromium.org>
20207 Reviewed by Dimitri Glazkov.
20209 [Chromium] Move the getElementsByTagName from WebDocument to WebNode.
20210 https://bugs.webkit.org/show_bug.cgi?id=37161
20212 * public/WebDocument.h:
20213 * public/WebNode.h:
20214 * src/WebDocument.cpp:
20216 (WebKit::WebNode::getElementsByTagName):
20218 2010-04-06 Ilya Tikhonovsky <loislo@chromium.org>
20220 Unreviewed build fix for Chromium DEPS.
20224 2010-04-06 Ilya Tikhonovsky <loislo@chromium.org>
20226 Unreviewed: build fix.
20230 2010-04-06 Mattias Nissler <mnissler@chromium.org>
20232 Reviewed by Pavel Feldman.
20234 Handle docking requests from the developer tools and forward them to
20235 WebDevToolsFrontendClient.
20236 https://bugs.webkit.org/show_bug.cgi?id=36944
20238 * public/WebDevToolsFrontendClient.h:
20239 (WebKit::WebDevToolsFrontendClient::requestDockWindow):
20240 * src/WebDevToolsFrontendImpl.cpp:
20241 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
20242 (WebKit::WebDevToolsFrontendImpl::jsRequestAttachWindow):
20243 * src/WebDevToolsFrontendImpl.h:
20245 2010-04-06 Andrey Kosyakov <caseq@chromium.org>
20247 Reviewed by Yury Semikhatsky.
20249 Fixed logging of unhndled worker exceptions.
20250 https://bugs.webkit.org/show_bug.cgi?id=37143
20252 * src/WebWorkerClientImpl.cpp:
20253 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
20255 2010-04-05 Alexey Proskuryakov <ap@apple.com>
20257 Reviewed by Darin Adler.
20259 https://bugs.webkit.org/show_bug.cgi?id=37111
20260 <rdar://problem/7790327> Draw replacement text when plug-in host crashes
20262 * src/LocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in
20265 2010-04-04 Pavel Feldman <pfeldman@chromium.org>
20267 Not reviewed. Rolling out chromium changes r57028 and r57032
20268 for breaking chromium layout tests.
20270 * public/WebViewClient.h:
20271 (WebKit::WebViewClient::startDragging):
20272 * src/DragClientImpl.cpp:
20273 (WebKit::DragClientImpl::startDrag):
20274 * src/WebViewImpl.cpp:
20275 (WebKit::WebViewImpl::startDragging):
20276 * src/WebViewImpl.h:
20278 2010-04-03 Darin Fisher <darin@chromium.org>
20280 Add default implementations of WebNotificationPresenter methods to
20281 repair the downstream Chromium build.
20283 * public/WebNotificationPresenter.h:
20284 (WebKit::WebNotificationPresenter::show):
20285 (WebKit::WebNotificationPresenter::cancel):
20286 (WebKit::WebNotificationPresenter::objectDestroyed):
20287 (WebKit::WebNotificationPresenter::checkPermission):
20288 (WebKit::WebNotificationPresenter::requestPermission):
20290 2010-04-02 Michael Nordman <michaeln@google.com>
20292 Reviewed by Nate Chapin.
20294 Set the close policy used by the DatabaseCloseTask at this callsite to
20295 RemoveDatabaseFromContext. This restores its behavior to what it was prior to
20297 https://bugs.webkit.org/show_bug.cgi?id=37037
20299 * src/WebDatabase.cpp:
20300 (WebKit::WebDatabase::closeDatabaseImmediately):
20302 2010-04-02 Evan Stade <estade@chromium.org>
20304 Reviewed by Eric Seidel.
20306 [chromium] need DragImage implementation
20307 https://bugs.webkit.org/show_bug.cgi?id=35811
20309 Use the DragImageRef that the DragController passes to us.
20311 * public/WebViewClient.h:
20312 (WebKit::WebViewClient::startDragging):
20313 * src/DragClientImpl.cpp:
20314 (WebKit::DragClientImpl::startDrag):
20315 * src/WebViewImpl.cpp:
20316 (WebKit::WebViewImpl::startDragging):
20317 * src/WebViewImpl.h:
20319 2010-04-02 Rafael Weinstein <rafaelw@chromium.org>
20321 Reviewed by Adam Barth.
20323 Clean up unused calls after changes to checkPermission and requestPermission argument lists.
20325 * public/WebNotificationPresenter.h:
20326 * src/NotificationPresenterImpl.cpp:
20327 (WebKit::NotificationPresenterImpl::checkPermission):
20328 (WebKit::NotificationPresenterImpl::requestPermission):
20330 2010-04-02 Zhenyao Mo <zmo@google.com>
20332 Reviewed by Eric Seidel.
20334 Implement and test new framebuffer object attachment behavior.
20335 https://bugs.webkit.org/show_bug.cgi?id=35611
20337 Test: fast/canvas/webgl/framebuffer-object-attachment.html
20339 * src/WebGraphicsContext3DDefaultImpl.cpp: Map to correct DEPTH_STENCIL format.
20340 (WebKit::WebGraphicsContext3DDefaultImpl::framebufferRenderbuffer):
20341 (WebKit::WebGraphicsContext3DDefaultImpl::getFramebufferAttachmentParameteriv):
20342 (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage):
20344 2010-04-02 Jay Civelli <jcivelli@chromium.org>
20346 Reviewed by Darin Fisher.
20348 The popup type (select or suggestion) is now passed to the
20349 WebClient::createPopupMenu() method. This is required for
20350 Chromium on Linux to make the select popups work correctly.
20351 https://bugs.webkit.org/show_bug.cgi?id=37013
20354 * public/WebPopupType.h: Added.
20356 * public/WebViewClient.h:
20357 (WebKit::WebViewClient::createPopupMenu):
20358 * src/ChromeClientImpl.cpp:
20359 (WebCore::convertPopupType):
20360 (WebKit::ChromeClientImpl::popupOpened):
20362 2010-04-02 Yury Semikhatsky <yurys@chromium.org>
20364 Reviewed by Pavel Feldman.
20366 Implement InspectorFrontendClient in Chromium and remove all custom bindings for the host methods from WebDevToolsFrontendImpl.
20368 https://bugs.webkit.org/show_bug.cgi?id=36817
20371 * src/InspectorFrontendClientImpl.cpp: Added.
20372 (WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
20373 (WebKit::InspectorFrontendClientImpl::~InspectorFrontendClientImpl):
20374 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
20375 (WebKit::InspectorFrontendClientImpl::frontendLoaded):
20376 (WebKit::InspectorFrontendClientImpl::moveWindowBy):
20377 (WebKit::InspectorFrontendClientImpl::localizedStringsURL):
20378 (WebKit::InspectorFrontendClientImpl::hiddenPanels):
20379 (WebKit::InspectorFrontendClientImpl::bringToFront):
20380 (WebKit::InspectorFrontendClientImpl::closeWindow):
20381 (WebKit::InspectorFrontendClientImpl::canAttachWindow):
20382 (WebKit::InspectorFrontendClientImpl::attachWindow):
20383 (WebKit::InspectorFrontendClientImpl::detachWindow):
20384 (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
20385 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
20386 * src/InspectorFrontendClientImpl.h: Added.
20387 * src/WebDevToolsFrontendImpl.cpp:
20388 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
20389 (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
20390 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
20391 * src/WebDevToolsFrontendImpl.h:
20392 * src/js/DebuggerAgent.js:
20393 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
20394 * src/js/DevTools.js:
20397 2010-04-01 Jay Civelli <jcivelli@google.com>
20399 Reviewed by David Levin.
20401 Adds a method to WebFrame to execute JavaScript and get the value
20403 https://bugs.webkit.org/show_bug.cgi?id=36907
20405 * public/WebFrame.h:
20406 * src/WebFrameImpl.cpp:
20407 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
20408 * src/WebFrameImpl.h:
20410 2010-04-01 Kinuko Yasuda <kinuko@chromium.org>
20412 Reviewed by Dmitry Titov.
20414 Add FileThread for async file operation support in FileReader and FileWriter
20415 https://bugs.webkit.org/show_bug.cgi?id=36896
20417 Add ENABLE_FILE_READER and ENABLE_FILE_WRITER flags.
20421 2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>
20423 Reviewed by Eric Seidel.
20425 [chromium] FindInPage on multi-frame pages wasn't always updating
20426 tickmarks on scrollbars for the subframes. It was calling invalidateRect
20427 on the View and specifying a rect that's in window coordinates, whereas
20428 the invalidateRect expects frame coordinates.
20430 https://bugs.webkit.org/show_bug.cgi?id=36982
20432 * src/WebFrameImpl.cpp:
20433 (WebKit::WebFrameImpl::invalidateArea):
20435 2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>
20437 Reviewed by Dimitri Glazkov.
20439 [chromium] FindInPage should clear the focused node when a match has
20440 been found. This is because WebFrameImpl::setFocus will try to refocus
20441 editable elements if it thinks they have focus, causing the page to
20444 https://bugs.webkit.org/show_bug.cgi?id=36923
20446 * src/WebFrameImpl.cpp:
20447 (WebKit::WebFrameImpl::find):
20449 2010-04-01 Marcus Bulach <bulach@chromium.org>
20451 Reviewed by Jeremy Orlow.
20453 As a follow up on https://bugs.webkit.org/show_bug.cgi?id=36535, remove:
20454 GeolocationServiceBridgeChromium.h
20456 getGeolocationService()
20457 https://bugs.webkit.org/show_bug.cgi?id=36895
20460 * public/GeolocationServiceBridgeChromium.h: Removed.
20461 * public/WebGeolocationService.h:
20462 (WebKit::WebGeolocationService::detachBridge):
20463 * public/WebViewClient.h:
20464 (WebKit::WebViewClient::geolocationService):
20466 2010-03-31 Jeremy Orlow <jorlow@chromium.org>
20468 Reviewed by Nate Chapin.
20470 Misc IndexedDatabase cleanup
20471 https://bugs.webkit.org/show_bug.cgi?id=36889
20473 Plumb the Frame* so Chromium knows where the request originated from.
20475 * public/WebIndexedDatabase.h:
20476 * src/IndexedDatabaseProxy.cpp:
20477 (WebCore::IndexedDatabaseProxy::open):
20478 * src/IndexedDatabaseProxy.h:
20479 * src/WebIndexedDatabaseImpl.cpp:
20480 (WebKit::WebIndexedDatabaseImpl::open):
20481 * src/WebIndexedDatabaseImpl.h:
20483 2010-03-31 Alpha Lam <hclam@chromium.org>
20485 Not reviewed. Build fix.
20487 Fixing a build break caused by 56872. One of the Chromium bots doesn't
20488 like std::strstr(). Includes string.h and use strstr() instead.
20490 * src/WebGraphicsContext3DDefaultImpl.cpp:
20491 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
20492 Includes string.h and use strstr().
20494 2010-03-31 Zhenyao Mo <zmo@google.com>
20496 Reviewed by Darin Fisher.
20498 Hook up WebGLContextAttributes to OpenGL context creation code
20499 https://bugs.webkit.org/show_bug.cgi?id=33416
20501 * src/WebGraphicsContext3DDefaultImpl.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Chrome.
20502 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
20503 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
20504 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
20505 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
20506 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
20507 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
20508 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
20509 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Deal with wrong returned alpha values in Mac.
20510 * src/WebGraphicsContext3DDefaultImpl.h: Add a function.
20512 2010-03-31 Darin Fisher <darin@chromium.org>
20514 Reviewed by David Levin.
20516 [chromium] including WebKit.gyp:webkit should automatically add Skia
20517 and NPAPI include paths
20519 https://bugs.webkit.org/show_bug.cgi?id=36887
20523 2010-03-31 Marcus Bulach <bulach@chromium.org>
20525 Reviewed by Jeremy Orlow.
20527 Implements cancelGeolocationPermissionRequestForFrame.
20528 https://bugs.webkit.org/show_bug.cgi?id=35031
20530 * public/WebGeolocationService.h:
20531 (WebKit::WebGeolocationService::cancelPermissionRequestForFrame):
20532 * src/ChromeClientImpl.cpp:
20533 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
20534 * src/ChromeClientImpl.h:
20536 2010-03-31 Pavel Feldman <pfeldman@chromium.org>
20538 Not reviewed. Rolling out r56829 since it broke chromium layout tests.
20540 [REGRESSION] Inspector tests started crashing since r56829
20541 https://bugs.webkit.org/show_bug.cgi?id=36888
20543 * public/WebFrameClient.h:
20544 * src/FrameLoaderClientImpl.cpp:
20545 * src/FrameLoaderClientImpl.h:
20547 2010-03-31 Yury Semikhatsky <yurys@chromium.org>
20549 Reviewed by Pavel Feldman.
20551 Add stubs for moveWindowBy and setAttachedWindowHeight.
20553 https://bugs.webkit.org/show_bug.cgi?id=36842
20555 * src/WebDevToolsFrontendImpl.cpp:
20556 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
20557 (WebKit::WebDevToolsFrontendImpl::jsSetAttachedWindowHeight):
20558 (WebKit::WebDevToolsFrontendImpl::jsMoveWindowBy):
20559 * src/WebDevToolsFrontendImpl.h:
20561 2010-03-31 John Gregg <johnnyg@google.com>
20563 Reviewed by Darin Fisher.
20565 [chromium] add logging of cross-frame property accesses for site isolation
20566 https://bugs.webkit.org/show_bug.cgi?id=35773
20568 * public/WebFrameClient.h:
20569 (WebKit::WebFrameClient::logCrossFramePropertyAccess):
20570 * src/FrameLoaderClientImpl.cpp:
20571 (WebKit::FrameLoaderClientImpl::logCrossFramePropertyAccess):
20572 * src/FrameLoaderClientImpl.h:
20574 2010-03-30 Gavin Barraclough <barraclough@apple.com>
20576 Rubber stamped by Sam Weinig.
20578 https://bugs.webkit.org/show_bug.cgi?id=36866
20579 Move CString to WTF
20581 * public/WebCString.h:
20582 * src/FrameLoaderClientImpl.cpp:
20583 * src/GraphicsContext3D.cpp:
20584 * src/WebCString.cpp:
20585 (WebKit::WebCString::assign):
20586 (WebKit::WebCString::WebCString):
20587 (WebKit::WebCString::operator=):
20588 (WebKit::WebCString::operator WTF::CString):
20589 * src/WebMediaPlayerClientImpl.cpp:
20590 * src/WebString.cpp:
20591 * src/WebURLError.cpp:
20593 2010-03-30 Marcus Bulach <bulach@chromium.org>
20595 Reviewed by Darin Fisher.
20597 Rename / tidy up Geolocation bridge:
20598 Rename GeolocationServiceBridgeChromium.cpp to WebGeolocationServiceBridgeImpl.cpp
20599 Uses a temporary compatibility layer in GeolocationServiceBridgeChromium.h.
20601 https://bugs.webkit.org/show_bug.cgi?id=36535
20604 * public/GeolocationServiceBridgeChromium.h:
20605 * public/WebGeolocationService.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
20606 (WebKit::WebGeolocationService::detachBridge):
20607 * public/WebGeolocationServiceBridge.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
20608 * public/WebViewClient.h:
20609 (WebKit::WebViewClient::geolocationService):
20610 * src/ChromeClientImpl.cpp:
20611 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
20612 * src/ChromiumBridge.cpp:
20613 * src/GeolocationServiceBridgeChromium.cpp: Removed.
20614 * src/WebGeolocationServiceBridgeImpl.cpp: Copied from WebKit/chromium/src/GeolocationServiceBridgeChromium.cpp.
20615 (WebKit::createGeolocationServiceBridgeImpl):
20616 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
20617 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
20618 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
20619 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
20620 (WebKit::WebGeolocationServiceBridgeImpl::suspend):
20621 (WebKit::WebGeolocationServiceBridgeImpl::resume):
20622 (WebKit::WebGeolocationServiceBridgeImpl::getBridgeId):
20623 (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
20624 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
20625 (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
20626 (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
20627 * src/WebGeolocationServiceBridgeImpl.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
20629 2010-03-30 Jochen Eisinger <jochen@chromium.org>
20631 Reviewed by Jeremy Orlow.
20633 Remove dysfunctional implementation of canEstablishDatabase for
20634 Workers. I postpone this implementation until Workers can actually
20635 access Web Databases.
20637 https://bugs.webkit.org/show_bug.cgi?id=36795
20639 * src/DatabaseObserver.cpp:
20640 (WebCore::DatabaseObserver::canEstablishDatabase):
20641 * src/WebWorkerBase.h:
20643 2010-03-29 Jeremy Orlow <jorlow@chromium.org>
20645 Reviewed by Darin Fisher.
20647 More IndexedDB work
20648 https://bugs.webkit.org/show_bug.cgi?id=36770
20650 Start the implementation of WebIndexedDatabase (for entrance back into WebKit).
20653 * public/WebIndexedDatabase.h:
20654 * src/WebIndexedDatabaseImpl.cpp: Added.
20655 (WebKit::WebIndexedDatabase::create):
20656 (WebKit::WebIndexedDatabaseImpl::~WebIndexedDatabaseImpl):
20657 (WebKit::WebIndexedDatabaseImpl::open):
20658 * src/WebIndexedDatabaseImpl.h: Added.
20660 2010-03-29 Rafael Weinstein <rafaelw@chromium.org>
20662 Reviewed by Adam Barth.
20664 Change NotificationPresenter::checkPermission() to take the source frames full KURL,
20665 rather than its SecurityOrigin. This will aid chromium in having more fine grained
20666 permissions to control notification spam.
20668 * public/WebNotificationPresenter.h:
20669 (WebKit::WebNotificationPresenter::checkPermission):
20670 * src/NotificationPresenterImpl.cpp:
20671 (WebKit::NotificationPresenterImpl::checkPermission):
20672 * src/NotificationPresenterImpl.h:
20674 2010-03-29 Dawit Alemayehu <adawit@kde.org>
20676 Reviewed by Simon Hausmann.
20678 Factored out the 'ShouldTreatAsAttachment' function to HTTPParsers.*
20679 and replacted local version with the factored out version.
20681 The code was factored out to make possible its use in other implementations
20684 * src/FrameLoaderClientImpl.cpp:
20685 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
20687 2010-03-29 Jochen Eisinger <jochen@chromium.org>
20689 Reviewed by Darin Fisher.
20691 Pass a WebFrame to WebFrameClient::allowDatabase instead of a WebSecurityOrigin
20692 https://bugs.webkit.org/show_bug.cgi?id=36743
20694 * public/WebFrameClient.h:
20695 (WebKit::WebFrameClient::allowDatabase):
20696 * src/DatabaseObserver.cpp:
20697 (WebCore::DatabaseObserver::canEstablishDatabase):
20699 2010-03-24 Jeremy Orlow <jorlow@chromium.org>
20701 Reviewed by Darin Fisher.
20703 More IndexedDB plumbing
20704 https://bugs.webkit.org/show_bug.cgi?id=36546
20706 Plumbing work towards the goal of making IndexedDatabase::open work.
20709 * public/WebIDBCallbacks.h: Added.
20710 (WebKit::WebIDBCallbacks::~WebIDBCallbacks):
20711 * public/WebIDBDatabase.h: Added.
20712 (WebKit::WebIDBDatabase::~WebIDBDatabase):
20713 * public/WebIDBDatabaseError.h: Added.
20714 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
20715 (WebKit::WebIDBDatabaseError::operator=):
20716 * public/WebIndexedDatabase.h:
20717 * public/WebKitClient.h:
20718 (WebKit::WebKitClient::indexedDatabase):
20719 * public/WebSerializedScriptValue.h:
20720 * src/IDBCallbacksProxy.h: Added.
20721 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
20722 (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
20723 (WebCore::IDBCallbacksProxy::onSuccess):
20724 (WebCore::IDBCallbacksProxy::onError):
20725 * src/IDBDatabaseProxy.cpp: Added.
20726 (WebCore::IDBDatabaseProxy::create):
20727 (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
20728 (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
20729 * src/IDBDatabaseProxy.h: Added.
20730 * src/IndexedDatabaseProxy.cpp:
20731 (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
20732 (WebCore::IndexedDatabaseProxy::open):
20733 * src/IndexedDatabaseProxy.h:
20734 * src/WebIDBDatabaseError.cpp: Added.
20735 (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
20736 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
20737 (WebKit::WebIDBDatabaseError::assign):
20738 (WebKit::WebIDBDatabaseError::code):
20739 (WebKit::WebIDBDatabaseError::message):
20740 (WebKit::WebIDBDatabaseError::operator=):
20741 (WebKit::WebIDBDatabaseError::operator PassRefPtr<IDBDatabaseError>):
20743 2010-03-29 Mikhail Naganov <mnaganov@chromium.org>
20745 Reviewed by Pavel Feldman.
20747 Remove a possibility of confusion from Profiles panel Welcome screen
20748 by turning buttons into non-clickable glyphs. Also, span instructions
20749 alongside panel width.
20751 https://bugs.webkit.org/show_bug.cgi?id=34319
20753 * src/js/HeapProfilerPanel.js:
20754 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
20756 2010-03-28 Alexey Proskuryakov <ap@apple.com>
20758 Build fix. Removed extraneous includes of KeyboardCodesWin.h and KeyboardCodesPosix.h -
20759 these no longer exist, but they weren't needed even before reshuffling KeyboardCodes headers.
20761 * src/WebViewImpl.cpp:
20763 2010-03-27 Kenneth Russell <kbr@google.com>
20765 Reviewed by Darin Fisher.
20767 Use WebKitClient to instantiate WebGraphicsContext3D
20768 https://bugs.webkit.org/show_bug.cgi?id=36669
20770 * src/GraphicsContext3D.cpp:
20771 (WebCore::GraphicsContext3DInternal::initialize):
20773 2010-03-24 James Hawkins <jhawkins@chromium.org>
20775 Reviewed by Darin Fisher.
20777 [Chromium] Implement WebFormControlElement and WebSelectElement. Add
20778 a getFormControlElements method to WebFormElement.
20780 https://bugs.webkit.org/show_bug.cgi?id=36562
20783 * public/WebElement.h:
20784 * public/WebFormControlElement.h: Added.
20785 * public/WebFormElement.h:
20786 * public/WebInputElement.h:
20787 (WebKit::WebInputElement::WebInputElement):
20788 (WebKit::WebInputElement::operator=):
20789 (WebKit::WebInputElement::assign):
20790 * public/WebSelectElement.h: Added.
20791 * src/WebElement.cpp:
20792 (WebKit::WebElement::isFormControlElement):
20793 * src/WebFormControlElement.cpp: Added.
20794 * src/WebFormElement.cpp:
20795 (WebKit::WebFormElement::getFormControlElements):
20796 * src/WebInputElement.cpp:
20797 (WebKit::WebInputElement::WebInputElement):
20798 * src/WebSelectElement.cpp: Added.
20800 2010-03-26 Andrey Kosyakov <caseq@chromium.org>
20802 Reviewed by Pavel Feldman.
20804 Send worker resource content to inspector to enable display of web
20805 workers in inspector's resource tab.
20806 https://bugs.webkit.org/show_bug.cgi?id=36658
20808 * src/SharedWorkerRepository.cpp:
20809 (WebCore::SharedWorkerScriptLoader::notifyFinished):
20811 2010-03-25 Tony Chang <tony@chromium.org>
20813 Reviewed by David Levin.
20815 [chromium] correctly handle move drag operations
20816 https://bugs.webkit.org/show_bug.cgi?id=36484
20818 * src/WebViewImpl.cpp:
20819 (WebKit::WebViewImpl::dragTargetDragEnter):
20820 (WebKit::WebViewImpl::dragTargetDragOver):
20821 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): Combine common code into a helper method
20822 and properly mask against the drag effect.
20823 (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
20824 * src/WebViewImpl.h:
20826 2010-03-25 Drew Wilson <atwilson@chromium.org>
20828 Reviewed by Nate Chapin.
20830 [v8] Error in getScriptExecutionContext() when worker context is terminating
20831 https://bugs.webkit.org/show_bug.cgi?id=36565
20833 Test: Existing worker tests suffice.
20835 * src/WebWorkerClientImpl.cpp:
20836 (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
20837 Changed to use WorkerScriptController::controllerForContext() instead of WorkerScriptExecutionProxy::retrieve().
20839 2010-03-25 Jeremy Orlow <jorlow@chromium.org>
20841 Reviewed by Darin Fisher.
20843 [Chromium] Add an ASSERT macro to the Chromium WebKit API
20844 https://bugs.webkit.org/show_bug.cgi?id=36545
20846 * WebKit.gyp: Add WebCommon.cpp
20847 * public/WebCommon.h: Add the Macro.
20848 * public/WebPrivatePtr.h:
20849 (WebKit::WebPrivatePtr::~WebPrivatePtr): Verify the pointer is now 0.
20850 * src/WebCommon.cpp: Added.
20851 (WebKit::failedAssertion): Calls the WTF assert function and then crashes.
20853 2010-03-25 Jochen Eisinger <jochen@chromium.org>
20855 Reviewed by Jeremy Orlow.
20857 Remove ASSERT(isMainThread()) which is violated for workers and not necessary at this point.
20858 https://bugs.webkit.org/show_bug.cgi?id=36614
20860 * src/DatabaseObserver.cpp:
20861 (WebCore::DatabaseObserver::canEstablishDatabase):
20863 2010-03-25 Jochen Eisinger <jochen@chromium.org>
20865 Reviewed by Jeremy Orlow.
20867 Forward DatabaseTracker::canEstablishDatabase to chromium layer.
20868 https://bugs.webkit.org/show_bug.cgi?id=36595
20870 * public/WebFrameClient.h:
20871 (WebKit::WebFrameClient::allowDatabase):
20872 * src/DatabaseObserver.cpp:
20873 (WebCore::DatabaseObserver::canEstablishDatabase):
20874 * src/WebWorkerBase.h:
20875 (WebKit::WebWorkerBase::allowDatabase):
20877 2010-03-10 John Abd-El-Malek <jam@chromium.org>
20879 Reviewed by Darin Fisher.
20881 [chromium] Fix up WebMouseWheelEventBuilder to properly calculate the units
20882 https://bugs.webkit.org/show_bug.cgi?id=35989
20884 * src/WebInputEventConversion.cpp:
20886 2010-03-24 Vangelis Kokkevis <vangelis@chromium.org>
20888 Reviewed by Dimitri Glazkov.
20890 Eliminate unecessary redraws of GraphicsLayer contents when doing accelerated compositing:
20891 https://bugs.webkit.org/show_bug.cgi?id=36470
20893 * src/WebViewImpl.cpp:
20894 (WebKit::WebViewImpl::paint):
20895 Remove call that forced redrawing the contents of the entire layer hierarchy.
20897 2010-03-24 Dmitry Titov <dimich@chromium.org>
20899 No review, rolling out r56453.
20900 http://trac.webkit.org/changeset/56453
20901 https://bugs.webkit.org/show_bug.cgi?id=36426
20903 In Chromium port, it broke invalid-image-data-standalone.html
20904 invalid-image-data.html multipart-wait-before-boundary.html
20905 stop-crash.html win-boundary-crash.html
20907 * src/ResourceHandle.cpp:
20908 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
20909 (WebCore::ResourceHandleInternal::start):
20910 (WebCore::ResourceHandleInternal::cancel):
20911 (WebCore::ResourceHandleInternal::didReceiveResponse):
20912 (WebCore::ResourceHandleInternal::didReceiveData):
20913 (WebCore::ResourceHandleInternal::didFinishLoading):
20914 (WebCore::ResourceHandleInternal::didFail):
20916 2010-03-24 John Abd-El-Malek <jam@chromium.org>
20918 Reviewed by Darin Fisher.
20920 [chromium]WebKit side of adding search support to Pepper.
20921 https://bugs.webkit.org/show_bug.cgi?id=36434
20924 * public/WebDocument.h:
20925 * public/WebNode.h:
20926 (WebKit::WebNode::to):
20927 (WebKit::WebNode::toConst):
20928 * public/WebPluginDocument.h: Added.
20929 (WebKit::WebPluginDocument::WebPluginDocument):
20930 (WebKit::WebPluginDocument::operator=):
20931 (WebKit::WebPluginDocument::assign):
20932 * src/WebDocument.cpp:
20933 (WebKit::WebDocument::isPluginDocument):
20934 * src/WebPluginDocument.cpp: Added.
20935 (WebKit::WebPluginDocument::plugin):
20936 (WebKit::WebPluginDocument::WebPluginDocument):
20937 (WebKit::WebPluginDocument::operator=):
20938 (WebKit::WebPluginDocument::operator PassRefPtr<PluginDocument>):
20940 2010-03-24 Jeremy Moskovich <jeremy@chromium.org>
20942 Reviewed by Jeremy Orlow.
20944 Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
20946 https://bugs.webkit.org/show_bug.cgi?id=36426
20948 * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
20949 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
20950 (WebCore::ResourceHandleInternal::):
20951 (WebCore::ResourceHandleInternal::start):
20952 (WebCore::ResourceHandleInternal::cancel):
20953 (WebCore::ResourceHandleInternal::didReceiveResponse):
20954 (WebCore::ResourceHandleInternal::didReceiveData):
20955 (WebCore::ResourceHandleInternal::didFinishLoading):
20956 (WebCore::ResourceHandleInternal::didFail):
20958 2010-03-24 Jay Campan <jcampan@google.com>
20960 Reviewed by Darin Fisher.
20962 Making Chromium select popups not steal activation from the browser.
20963 Select popups are now like autocomplete popups, shown in non-activated
20965 https://bugs.webkit.org/show_bug.cgi?id=36062
20967 * public/WebViewClient.h:
20968 (WebKit::WebViewClient::createPopupMenu):
20969 * src/ChromeClientImpl.cpp:
20970 (WebKit::ChromeClientImpl::popupOpened):
20971 (WebKit::ChromeClientImpl::popupClosed):
20972 * src/ChromeClientImpl.h:
20973 * src/WebViewImpl.cpp:
20975 (WebKit::WebViewImpl::mouseDown):
20976 (WebKit::WebViewImpl::keyEvent):
20977 (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
20978 (WebKit::WebViewImpl::hideSelectPopup):
20979 (WebKit::WebViewImpl::popupOpened):
20980 (WebKit::WebViewImpl::popupClosed):
20981 (WebKit::WebViewImpl::setFocus):
20982 (WebKit::WebViewImpl::applyAutoFillSuggestions):
20983 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
20984 * src/WebViewImpl.h:
20986 2010-03-24 Alexander Pavlov <apavlov@chromium.org>
20988 Reviewed by Pavel Feldman.
20990 Web Inspector: [Chromium] Audits never complete
20991 https://bugs.webkit.org/show_bug.cgi?id=36544
20993 * src/js/InspectorControllerImpl.js:
20994 (devtools.InspectorBackendImpl):
20996 2010-03-24 Alexander Pavlov <apavlov@chromium.org>
20998 Reviewed by Pavel Feldman.
21000 [Chromium] Fix VKEY_F10, VKEY_F11 translation in WebInputEvent.cpp
21001 https://bugs.webkit.org/show_bug.cgi?id=36524
21003 * src/WebInputEvent.cpp:
21004 (WebKit::staticKeyIdentifiers):
21006 2010-03-24 Kent Tamura <tkent@chromium.org>
21008 Reviewed by Darin Adler.
21010 Make Icon::createIconForFiles() optional.
21011 https://bugs.webkit.org/show_bug.cgi?id=35072
21013 - Rename iconForFiles() to chooseIconForFiles().
21014 - Call Icon::createIconForFiles() from chooseIconForFiles().
21016 * src/ChromeClientImpl.cpp:
21017 (WebKit::ChromeClientImpl::chooseIconForFiles):
21018 * src/ChromeClientImpl.h:
21020 2010-03-23 Kenneth Russell <kbr@google.com>
21022 Unreviewed build fix.
21024 Add #include <stdio.h> to fix Chromium Linux build.
21026 * src/WebGraphicsContext3DDefaultImpl.cpp:
21028 2010-03-23 Nate Chapin <japhet@chromium.org>
21030 Unreviewed, revert r56376.
21032 This revision introduced a crash in a couple of layout tests
21035 * public/WebViewClient.h:
21036 (WebKit::WebViewClient::createPopupMenu):
21037 * src/ChromeClientImpl.cpp:
21038 (WebKit::ChromeClientImpl::popupOpened):
21039 * src/ChromeClientImpl.h:
21040 * src/WebViewImpl.cpp:
21042 (WebKit::WebViewImpl::mouseDown):
21043 (WebKit::WebViewImpl::keyEvent):
21044 (WebKit::WebViewImpl::setFocus):
21045 (WebKit::WebViewImpl::applyAutoFillSuggestions):
21046 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
21047 * src/WebViewImpl.h:
21049 2010-03-23 Sergey Ulanov <sergeyu@chromium.org>
21051 Reviewed by Dmitry Titov.
21053 Changes needed to implement Show/Hide Controls command for <video> in
21054 chrome: (1) added Controls action in WebMediaPlayerAction that toggles
21055 controls for media player, (2) added MediaHasVideo in
21056 WebContextMenuData so that controls can be made toggleable only for
21057 video player but not for audio.
21058 https://bugs.webkit.org/show_bug.cgi?id=36460
21060 * public/WebContextMenuData.h:
21061 (WebKit::WebContextMenuData::):
21062 * public/WebMediaPlayerAction.h:
21063 (WebKit::WebMediaPlayerAction::):
21064 * src/ContextMenuClientImpl.cpp:
21065 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
21066 * src/WebViewImpl.cpp:
21067 (WebKit::WebViewImpl::performMediaPlayerAction):
21069 2010-03-23 Yury Semikhatsky <yurys@chromium.org>
21071 Reviewed by Pavel Feldman.
21073 When uncaught exception happens reveal Scripts panel only if reporting uncaught exceptions is on.
21075 https://bugs.webkit.org/show_bug.cgi?id=36498
21077 * src/js/DebuggerAgent.js:
21078 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
21080 2010-03-23 Ilya Tikhonovsky <loislo@chromium.org>
21082 Reviewed by Pavel Feldman.
21084 Web Inspector: TimelinePanel stays in the recording state after reopening WebInspector.
21085 https://bugs.webkit.org/show_bug.cgi?id=36503
21087 * src/WebDevToolsAgentImpl.cpp:
21088 (WebKit::WebDevToolsAgentImpl::detach):
21090 2010-03-22 Kenneth Russell <kbr@google.com>
21092 Reviewed by Darin Fisher.
21094 Add GraphicsContext3D abstraction to WebKit API
21095 https://bugs.webkit.org/show_bug.cgi?id=36262
21097 Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
21098 GraphicsContext3D implementation to use it. All of the OpenGL calls have
21099 been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
21100 WebGraphicsContext3D implementation. GraphicsContext3D is still
21101 responsible for the transfer of rendered output from the
21102 WebGraphicsContext3D to the HTMLCanvasElement.
21104 The GraphicsContext3DInternal class, which is a data member of
21105 GraphicsContext3D for the Chromium port, remains. It is possible to
21106 eliminate this class and thereby one level of delegation, but this is
21109 The needed entry point for a Chrome implementation of
21110 WebGraphicsContext3D has been added to WebKitClient, but it is not being
21111 called yet by GraphicsContext3D. It will be once this patch lands and
21112 Chromium is rolled forward to support this entry point.
21114 This is a large patch, but the transformation is almost entirely
21115 mechanical and there is no change in functionality. Nearly all of
21116 GraphicsContext3D and GraphicsContext3DInternal has been moved to
21117 WebGraphicsContext3DDefaultImpl. The only area where the splitting of
21118 logic is less than mechanical is GraphicsContext3D::beginPaint() and its
21121 Ran all WebGL layout tests and demos from Khronos site in Chromium
21122 on Mac and Windows.
21125 * public/WebGraphicsContext3D.h: Added.
21126 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
21127 (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
21128 * public/WebKitClient.h:
21129 (WebKit::WebKitClient::createGraphicsContext3D):
21130 * src/GraphicsContext3D.cpp:
21131 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
21132 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
21133 (WebCore::GraphicsContext3DInternal::initialize):
21134 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
21135 (WebCore::GraphicsContext3DInternal::platformTexture):
21136 (WebCore::GraphicsContext3DInternal::beginPaint):
21137 (WebCore::GraphicsContext3DInternal::endPaint):
21138 (WebCore::GraphicsContext3DInternal::reshape):
21139 (WebCore::GraphicsContext3DInternal::bindAttribLocation):
21140 (WebCore::GraphicsContext3DInternal::bindTexture):
21141 (WebCore::GraphicsContext3DInternal::bufferData):
21142 (WebCore::GraphicsContext3DInternal::bufferSubData):
21143 (WebCore::GraphicsContext3DInternal::getActiveAttrib):
21144 (WebCore::GraphicsContext3DInternal::getActiveUniform):
21145 (WebCore::GraphicsContext3DInternal::getAttribLocation):
21146 (WebCore::GraphicsContext3DInternal::getContextAttributes):
21147 (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
21148 (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
21149 (WebCore::GraphicsContext3DInternal::getShaderSource):
21150 (WebCore::GraphicsContext3DInternal::getString):
21151 (WebCore::GraphicsContext3DInternal::getUniformLocation):
21152 (WebCore::GraphicsContext3DInternal::readPixels):
21153 (WebCore::GraphicsContext3DInternal::shaderSource):
21154 (WebCore::GraphicsContext3DInternal::texImage2D):
21155 (WebCore::GraphicsContext3DInternal::texSubImage2D):
21156 (WebCore::GraphicsContext3DInternal::uniform1fv):
21157 (WebCore::GraphicsContext3DInternal::uniform1iv):
21158 (WebCore::GraphicsContext3DInternal::uniform2fv):
21159 (WebCore::GraphicsContext3DInternal::uniform2iv):
21160 (WebCore::GraphicsContext3DInternal::uniform3fv):
21161 (WebCore::GraphicsContext3DInternal::uniform3iv):
21162 (WebCore::GraphicsContext3DInternal::uniform4fv):
21163 (WebCore::GraphicsContext3DInternal::uniform4iv):
21164 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
21165 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
21166 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
21167 (WebCore::GraphicsContext3D::GraphicsContext3D):
21168 (WebCore::GraphicsContext3D::~GraphicsContext3D):
21169 (WebCore::GraphicsContext3D::create):
21170 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
21171 (WebCore::GraphicsContext3D::platformTexture):
21172 (WebCore::GraphicsContext3D::texImage2D):
21173 (WebCore::GraphicsContext3D::texSubImage2D):
21174 * src/WebGraphicsContext3D.cpp: Added.
21175 (WebKit::WebGraphicsContext3D::createDefault):
21176 * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
21177 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
21178 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
21179 (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
21180 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
21181 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
21182 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
21183 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
21184 (WebKit::WebGraphicsContext3DDefaultImpl::width):
21185 (WebKit::WebGraphicsContext3DDefaultImpl::height):
21186 (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
21187 (WebKit::createTextureObject):
21188 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
21189 (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
21190 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
21191 (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
21192 (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
21193 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
21194 (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
21195 (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
21196 (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
21197 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
21198 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
21199 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
21200 (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
21201 (WebKit::WebGraphicsContext3DDefaultImpl::getError):
21202 (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
21203 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
21204 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
21205 (WebKit::WebGraphicsContext3DDefaultImpl::getString):
21206 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
21207 (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
21208 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
21209 (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
21210 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
21211 (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
21212 (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
21213 (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
21214 (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
21215 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
21216 (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
21217 (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
21218 (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
21219 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
21220 (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
21221 (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
21222 * src/WebGraphicsContext3DDefaultImpl.h: Added.
21223 (WebKit::WebGraphicsContext3DDefaultImpl::):
21224 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
21225 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
21226 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
21227 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
21228 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
21229 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
21230 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
21231 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
21233 2010-03-22 Jay Campan <jcampan@google.com>
21235 Reviewed by Darin Fisher.
21237 Making Chromium select popups not steal activation from the browser.
21238 Select popups are now like autocomplete popups, shown in non-activated
21240 https://bugs.webkit.org/show_bug.cgi?id=36062
21242 * public/WebViewClient.h:
21243 (WebKit::WebViewClient::createPopupMenu):
21244 * src/ChromeClientImpl.cpp:
21245 (WebKit::ChromeClientImpl::popupOpened):
21246 (WebKit::ChromeClientImpl::popupClosed):
21247 * src/ChromeClientImpl.h:
21248 * src/WebViewImpl.cpp:
21250 (WebKit::WebViewImpl::mouseDown):
21251 (WebKit::WebViewImpl::keyEvent):
21252 (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
21253 (WebKit::WebViewImpl::hideSelectPopup):
21254 (WebKit::WebViewImpl::popupOpened):
21255 (WebKit::WebViewImpl::popupClosed):
21256 (WebKit::WebViewImpl::setFocus):
21257 (WebKit::WebViewImpl::applyAutoFillSuggestions):
21258 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
21259 * src/WebViewImpl.h:
21261 2010-03-22 Darin Fisher <darin@chromium.org>
21263 Reviewed by Nate Chapin.
21265 [chromium] Renderer crashes when navigating to a reference fragment in
21266 a frame that has no current HistoryItem.
21268 https://bugs.webkit.org/show_bug.cgi?id=36443
21270 Test: fast/loader/crash-replacing-location-before-load.html
21272 * src/FrameLoaderClientImpl.cpp:
21273 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
21275 2010-03-22 Kevin Decker <kdecker@apple.com>
21277 Reviewed by John Sullivan.
21279 https://bugs.webkit.org/show_bug.cgi?id=36328
21281 * src/LocalizedStrings.cpp:
21282 (WebCore::missingPluginText): Added
21284 2010-03-22 Yury Semikhatsky <yurys@chromium.org>
21286 Reviewed by Pavel Feldman.
21288 Fix inspected Page crash in destructor when Web Inspector is open.
21290 https://bugs.webkit.org/show_bug.cgi?id=36441
21292 * src/js/InjectDispatch.js:
21293 (inspectedPageDestroyed): Added stub for missing method.
21295 2010-03-22 Jochen Eisinger <jochen@chromium.org>
21297 Reviewed by Jeremy Orlow.
21299 Added methods to WebSecurityOrigin for invoking
21300 SecurityOrigin::canAccess and SecurityOrigin::Create
21301 https://bugs.webkit.org/show_bug.cgi?id=36356
21303 * public/WebSecurityOrigin.h:
21304 * src/WebSecurityOrigin.cpp:
21305 (WebKit::WebSecurityOrigin::create):
21306 (WebKit::WebSecurityOrigin::canAccess):
21308 2010-03-20 Dimitri Glazkov <dglazkov@chromium.org>
21310 No review, rolling out r56294.
21311 http://trac.webkit.org/changeset/56294
21312 https://bugs.webkit.org/show_bug.cgi?id=36262
21314 Broke compile on Chromium canaries.
21317 * public/WebGraphicsContext3D.h: Removed.
21318 * public/WebKitClient.h:
21319 * src/GraphicsContext3D.cpp:
21320 (WebCore::GraphicsContext3DInternal::):
21321 (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
21322 (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
21323 (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
21324 (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
21325 (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
21326 (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
21327 (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
21328 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
21329 (WebCore::GraphicsContext3DInternal::GLConnection::create):
21330 (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
21331 (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
21332 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
21333 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
21334 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
21335 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
21336 (WebCore::GraphicsContext3DInternal::platformTexture):
21337 (WebCore::createTextureObject):
21338 (WebCore::GraphicsContext3DInternal::reshape):
21339 (WebCore::GraphicsContext3DInternal::flipVertically):
21340 (WebCore::GraphicsContext3DInternal::beginPaint):
21341 (WebCore::GraphicsContext3DInternal::activeTexture):
21342 (WebCore::GraphicsContext3DInternal::bindBuffer):
21343 (WebCore::GraphicsContext3DInternal::bindFramebuffer):
21344 (WebCore::GraphicsContext3DInternal::bindTexture):
21345 (WebCore::GraphicsContext3DInternal::bufferDataImpl):
21346 (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
21347 (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
21348 (WebCore::GraphicsContext3DInternal::getError):
21349 (WebCore::GraphicsContext3DInternal::getContextAttributes):
21350 (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
21351 (WebCore::GraphicsContext3DInternal::viewportImpl):
21352 (WebCore::GraphicsContext3DInternal::synthesizeGLError):
21353 (WebCore::GraphicsContext3D::create):
21354 (WebCore::GraphicsContext3D::GraphicsContext3D):
21355 (WebCore::GraphicsContext3D::~GraphicsContext3D):
21356 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
21357 (WebCore::GraphicsContext3D::platformTexture):
21358 (WebCore::GraphicsContext3D::makeContextCurrent):
21359 (WebCore::GraphicsContext3D::reshape):
21360 (WebCore::GraphicsContext3D::beginPaint):
21361 (WebCore::GraphicsContext3D::endPaint):
21362 (WebCore::GraphicsContext3D::sizeInBytes):
21363 (WebCore::GraphicsContext3D::createBuffer):
21364 (WebCore::GraphicsContext3D::createFramebuffer):
21365 (WebCore::GraphicsContext3D::createProgram):
21366 (WebCore::GraphicsContext3D::createRenderbuffer):
21367 (WebCore::GraphicsContext3D::createShader):
21368 (WebCore::GraphicsContext3D::createTexture):
21369 (WebCore::GraphicsContext3D::deleteBuffer):
21370 (WebCore::GraphicsContext3D::deleteFramebuffer):
21371 (WebCore::GraphicsContext3D::deleteProgram):
21372 (WebCore::GraphicsContext3D::deleteRenderbuffer):
21373 (WebCore::GraphicsContext3D::deleteShader):
21374 (WebCore::GraphicsContext3D::deleteTexture):
21375 (WebCore::GraphicsContext3D::activeTexture):
21376 (WebCore::GraphicsContext3D::bindAttribLocation):
21377 (WebCore::GraphicsContext3D::bindBuffer):
21378 (WebCore::GraphicsContext3D::bindFramebuffer):
21379 (WebCore::GraphicsContext3D::bindTexture):
21380 (WebCore::GraphicsContext3D::bufferData):
21381 (WebCore::GraphicsContext3D::bufferSubData):
21382 (WebCore::GraphicsContext3D::checkFramebufferStatus):
21383 (WebCore::GraphicsContext3D::detachShader):
21384 (WebCore::GraphicsContext3D::disableVertexAttribArray):
21385 (WebCore::GraphicsContext3D::drawArrays):
21386 (WebCore::GraphicsContext3D::drawElements):
21387 (WebCore::GraphicsContext3D::enableVertexAttribArray):
21388 (WebCore::GraphicsContext3D::generateMipmap):
21389 (WebCore::GraphicsContext3D::getActiveAttrib):
21390 (WebCore::GraphicsContext3D::getActiveUniform):
21391 (WebCore::GraphicsContext3D::getAttribLocation):
21392 (WebCore::GraphicsContext3D::getBooleanv):
21393 (WebCore::GraphicsContext3D::getBufferParameteriv):
21394 (WebCore::GraphicsContext3D::getContextAttributes):
21395 (WebCore::GraphicsContext3D::getError):
21396 (WebCore::GraphicsContext3D::getFloatv):
21397 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
21398 (WebCore::GraphicsContext3D::getIntegerv):
21399 (WebCore::GraphicsContext3D::getProgramiv):
21400 (WebCore::GraphicsContext3D::getProgramInfoLog):
21401 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
21402 (WebCore::GraphicsContext3D::getShaderiv):
21403 (WebCore::GraphicsContext3D::getShaderInfoLog):
21404 (WebCore::GraphicsContext3D::getShaderSource):
21405 (WebCore::GraphicsContext3D::getString):
21406 (WebCore::GraphicsContext3D::getTexParameterfv):
21407 (WebCore::GraphicsContext3D::getTexParameteriv):
21408 (WebCore::GraphicsContext3D::getUniformfv):
21409 (WebCore::GraphicsContext3D::getUniformiv):
21410 (WebCore::GraphicsContext3D::getUniformLocation):
21411 (WebCore::GraphicsContext3D::getVertexAttribfv):
21412 (WebCore::GraphicsContext3D::getVertexAttribiv):
21413 (WebCore::GraphicsContext3D::getVertexAttribOffset):
21414 (WebCore::GraphicsContext3D::isBuffer):
21415 (WebCore::GraphicsContext3D::isEnabled):
21416 (WebCore::GraphicsContext3D::isFramebuffer):
21417 (WebCore::GraphicsContext3D::isProgram):
21418 (WebCore::GraphicsContext3D::isRenderbuffer):
21419 (WebCore::GraphicsContext3D::isShader):
21420 (WebCore::GraphicsContext3D::isTexture):
21421 (WebCore::GraphicsContext3D::pixelStorei):
21422 (WebCore::GraphicsContext3D::readPixels):
21423 (WebCore::GraphicsContext3D::releaseShaderCompiler):
21424 (WebCore::GraphicsContext3D::shaderSource):
21425 (WebCore::GraphicsContext3D::synthesizeGLError):
21426 (WebCore::GraphicsContext3D::texImage2D):
21427 (WebCore::GraphicsContext3D::texSubImage2D):
21428 (WebCore::GraphicsContext3D::uniform1fv):
21429 (WebCore::GraphicsContext3D::uniform1iv):
21430 (WebCore::GraphicsContext3D::uniform2fv):
21431 (WebCore::GraphicsContext3D::uniform2iv):
21432 (WebCore::GraphicsContext3D::uniform3fv):
21433 (WebCore::GraphicsContext3D::uniform3iv):
21434 (WebCore::GraphicsContext3D::uniform4fv):
21435 (WebCore::GraphicsContext3D::uniform4iv):
21436 (WebCore::GraphicsContext3D::uniformMatrix2fv):
21437 (WebCore::GraphicsContext3D::uniformMatrix3fv):
21438 (WebCore::GraphicsContext3D::uniformMatrix4fv):
21439 (WebCore::GraphicsContext3D::vertexAttrib1fv):
21440 (WebCore::GraphicsContext3D::vertexAttrib2fv):
21441 (WebCore::GraphicsContext3D::vertexAttrib3fv):
21442 (WebCore::GraphicsContext3D::vertexAttrib4fv):
21443 (WebCore::GraphicsContext3D::vertexAttribPointer):
21444 (WebCore::GraphicsContext3D::viewport):
21445 * src/WebGraphicsContext3D.cpp: Removed.
21446 * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
21447 * src/WebGraphicsContext3DDefaultImpl.h: Removed.
21449 2010-03-19 Kenneth Russell <kbr@google.com>
21451 Reviewed by Darin Fisher.
21453 Add GraphicsContext3D abstraction to WebKit API
21454 https://bugs.webkit.org/show_bug.cgi?id=36262
21456 Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
21457 GraphicsContext3D implementation to use it. All of the OpenGL calls have
21458 been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
21459 WebGraphicsContext3D implementation. GraphicsContext3D is still
21460 responsible for the transfer of rendered output from the
21461 WebGraphicsContext3D to the HTMLCanvasElement.
21463 The GraphicsContext3DInternal class, which is a data member of
21464 GraphicsContext3D for the Chromium port, remains. It is possible to
21465 eliminate this class and thereby one level of delegation, but this is
21468 The needed entry point for a Chrome implementation of
21469 WebGraphicsContext3D has been added to WebKitClient, but it is not being
21470 called yet by GraphicsContext3D. It will be once this patch lands and
21471 Chromium is rolled forward to support this entry point.
21473 This is a large patch, but the transformation is almost entirely
21474 mechanical and there is no change in functionality. Nearly all of
21475 GraphicsContext3D and GraphicsContext3DInternal has been moved to
21476 WebGraphicsContext3DDefaultImpl. The only area where the splitting of
21477 logic is less than mechanical is GraphicsContext3D::beginPaint() and its
21480 Ran all WebGL layout tests and demos from Khronos site in Chromium.
21483 * public/WebGraphicsContext3D.h: Added.
21484 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
21485 (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
21486 * public/WebKitClient.h:
21487 (WebKit::WebKitClient::createGraphicsContext3D):
21488 * src/GraphicsContext3D.cpp:
21489 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
21490 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
21491 (WebCore::GraphicsContext3DInternal::initialize):
21492 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
21493 (WebCore::GraphicsContext3DInternal::platformTexture):
21494 (WebCore::GraphicsContext3DInternal::beginPaint):
21495 (WebCore::GraphicsContext3DInternal::endPaint):
21496 (WebCore::GraphicsContext3DInternal::reshape):
21497 (WebCore::GraphicsContext3DInternal::bindAttribLocation):
21498 (WebCore::GraphicsContext3DInternal::bindTexture):
21499 (WebCore::GraphicsContext3DInternal::bufferData):
21500 (WebCore::GraphicsContext3DInternal::bufferSubData):
21501 (WebCore::GraphicsContext3DInternal::getActiveAttrib):
21502 (WebCore::GraphicsContext3DInternal::getActiveUniform):
21503 (WebCore::GraphicsContext3DInternal::getAttribLocation):
21504 (WebCore::GraphicsContext3DInternal::getContextAttributes):
21505 (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
21506 (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
21507 (WebCore::GraphicsContext3DInternal::getShaderSource):
21508 (WebCore::GraphicsContext3DInternal::getString):
21509 (WebCore::GraphicsContext3DInternal::getUniformLocation):
21510 (WebCore::GraphicsContext3DInternal::readPixels):
21511 (WebCore::GraphicsContext3DInternal::shaderSource):
21512 (WebCore::GraphicsContext3DInternal::texImage2D):
21513 (WebCore::GraphicsContext3DInternal::texSubImage2D):
21514 (WebCore::GraphicsContext3DInternal::uniform1fv):
21515 (WebCore::GraphicsContext3DInternal::uniform1iv):
21516 (WebCore::GraphicsContext3DInternal::uniform2fv):
21517 (WebCore::GraphicsContext3DInternal::uniform2iv):
21518 (WebCore::GraphicsContext3DInternal::uniform3fv):
21519 (WebCore::GraphicsContext3DInternal::uniform3iv):
21520 (WebCore::GraphicsContext3DInternal::uniform4fv):
21521 (WebCore::GraphicsContext3DInternal::uniform4iv):
21522 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
21523 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
21524 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
21525 (WebCore::GraphicsContext3D::GraphicsContext3D):
21526 (WebCore::GraphicsContext3D::~GraphicsContext3D):
21527 (WebCore::GraphicsContext3D::create):
21528 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
21529 (WebCore::GraphicsContext3D::platformTexture):
21530 (WebCore::GraphicsContext3D::texImage2D):
21531 (WebCore::GraphicsContext3D::texSubImage2D):
21532 * src/WebGraphicsContext3D.cpp: Added.
21533 (WebKit::WebGraphicsContext3D::createDefault):
21534 * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
21535 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
21536 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
21537 (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
21538 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
21539 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
21540 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
21541 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
21542 (WebKit::WebGraphicsContext3DDefaultImpl::width):
21543 (WebKit::WebGraphicsContext3DDefaultImpl::height):
21544 (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
21545 (WebKit::createTextureObject):
21546 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
21547 (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
21548 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
21549 (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
21550 (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
21551 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
21552 (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
21553 (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
21554 (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
21555 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
21556 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
21557 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
21558 (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
21559 (WebKit::WebGraphicsContext3DDefaultImpl::getError):
21560 (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
21561 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
21562 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
21563 (WebKit::WebGraphicsContext3DDefaultImpl::getString):
21564 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
21565 (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
21566 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
21567 (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
21568 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
21569 (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
21570 (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
21571 (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
21572 (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
21573 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
21574 (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
21575 (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
21576 (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
21577 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
21578 (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
21579 (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
21580 * src/WebGraphicsContext3DDefaultImpl.h: Added.
21581 (WebKit::WebGraphicsContext3DDefaultImpl::):
21582 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
21583 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
21584 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
21585 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
21586 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
21587 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
21588 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
21589 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
21591 2010-03-19 Dimitri Glazkov <dglazkov@chromium.org>
21593 Unreviewed, build fix.
21595 Rename enqueueStorageEvent to enqueueEvent to match changes in
21596 http://trac.webkit.org/changeset/56249.
21598 * src/StorageAreaProxy.cpp:
21599 (WebCore::StorageAreaProxy::storageEvent): Renamed.
21601 2010-03-19 Darin Fisher <darin@chromium.org>
21603 Reviewed by Dimitri Glazkov.
21605 [chromium] querying the current history item during a back/forward
21606 navigation should not clobber the scroll offset, etc.
21607 https://bugs.webkit.org/show_bug.cgi?id=36347
21609 We should only allow the current history item to be modified if we are
21610 no longer loading or if the load is a new navigation (i.e., not a
21611 back/forward/reload variant).
21613 * src/WebFrameImpl.cpp:
21614 (WebKit::WebFrameImpl::currentHistoryItem):
21616 2010-03-18 Vangelis Kokkevis <vangelis@chromium.org>
21618 Reviewed by Adam Barth.
21620 Adding support for the ACCELERATED_COMPOSITING render path to Chromium.
21621 https://bugs.webkit.org/show_bug.cgi?id=35557
21622 Currently compositing of layers is performed via s/w compositor which relies on Skia. This is an initial check-in
21623 and it's only been tested on Windows. Compiling the code requires seting "use_accelerated_compositing=1"
21624 to GYP_DEFINES. The update of layer contents and compositing is fairly inefficient but this will be fixed in
21625 subsequent check-ins.
21627 * src/ChromeClientImpl.cpp:
21628 (WebKit::ChromeClientImpl::attachRootGraphicsLayer):
21629 (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
21630 * src/ChromeClientImpl.h:
21631 (WebKit::ChromeClientImpl::setNeedsOneShotDrawingSynchronization):
21632 Added methods required by the RenderLayerCompositor
21634 * src/WebFrameImpl.cpp:
21635 (WebKit::WebFrameImpl::paintWithContext):
21636 (WebKit::WebFrameImpl::paint):
21637 * src/WebFrameImpl.h:
21638 Split WebFrameImpl::paint() into two methods to make it possible to call the paint
21639 routine with an existing GraphicsContext, which is necessary for painting the root layer into
21640 its own backing surface.
21642 * src/WebViewImpl.cpp:
21643 (WebKit::WebViewImpl::WebViewImpl):
21644 (WebKit::WebViewImpl::paint):
21645 Modified method to handle the accelerated compositing path. Now, when doing accelerated compositing,
21646 paint() results in repainting the contents of the root layer and then doing a composite operation.
21647 (WebKit::WebViewImpl::setRootGraphicsLayer):
21648 (WebKit::WebViewImpl::setAcceleratedCompositing):
21649 (WebKit::WebViewImpl::updateRootLayerContents):
21650 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
21651 * src/WebViewImpl.h:
21652 (WebKit::WebViewImpl::isAcceleratedCompositing):
21654 2010-03-18 Jian Li <jianli@chromium.org>
21656 Reviewed by Darin Fisher.
21658 Chromium interface change to support Blob.slice.
21659 https://bugs.webkit.org/show_bug.cgi?id=35318
21662 * public/WebHTTPBody.h:
21663 * public/WebKitClient.h:
21664 (WebKit::WebKitClient::getFileModificationTime):
21665 * src/ChromiumBridge.cpp:
21666 (WebCore::ChromiumBridge::getFileModificationTime):
21667 * src/WebHTTPBody.cpp:
21668 (WebKit::WebHTTPBody::elementAt):
21669 (WebKit::WebHTTPBody::appendFile):
21670 (WebKit::WebHTTPBody::appendFileRange):
21672 2010-03-12 Ojan Vafai <ojan@chromium.org>
21674 Reviewed by David Levin.
21676 smartdelete should only occur after double-click
21677 https://bugs.webkit.org/show_bug.cgi?id=35314
21679 * src/WebFrameImpl.cpp:
21680 (WebKit::WebFrameImpl::selectWordAroundPosition):
21682 2010-03-18 Nate Chapin <japhet@chromium.org>
21684 Unreviewed, build fix.
21686 Left a parentheses unclosed somehow.
21688 * src/WebDevToolsFrontendImpl.cpp:
21689 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
21691 2010-03-18 Nate Chapin <japhet@chromium.org>
21693 Reviewed by Dimitri Glazkov.
21695 Remove all references to V8Index.h and V8ClassIndex.
21697 https://bugs.webkit.org/show_bug.cgi?id=33477
21699 * src/WebBindings.cpp:
21700 (WebKit::getRangeImpl):
21701 * src/WebDevToolsAgentImpl.cpp:
21702 * src/WebDevToolsFrontendImpl.cpp:
21703 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
21705 2010-03-17 Garret Kelly <gdk@chromium.org>
21707 Reviewed by Darin Fisher.
21709 PlatformTouchEventBuilder should not be resizing the touch point
21710 array before appending touch points to it.
21711 https://bugs.webkit.org/show_bug.cgi?id=36231
21713 * src/WebInputEventConversion.cpp:
21714 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
21716 2010-03-17 Dmitry Titov <dimich@chromium.org>
21718 Reviewed by Dimitri Glazkov.
21720 [chromium] Roll Chromium builder's DEPS to current revs.
21721 https://bugs.webkit.org/show_bug.cgi?id=36241
21725 2010-03-17 Kenneth Russell <kbr@google.com>
21727 Reviewed by Darin Fisher.
21729 Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
21730 https://bugs.webkit.org/show_bug.cgi?id=36233
21732 The patch for bug 33416, which added multisampling support to the
21733 WebGL back buffer, uncovered some OpenGL driver bugs on the build
21734 bots which need further investigation to determine the appropriate
21735 workaround. Reverting this change, the minor build fix in 36189,
21736 and the skipping of the affected tests in bug 36200.
21738 Built and tested WebKit and Chromium and ran all WebGL layout
21741 * src/GraphicsContext3D.cpp:
21742 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
21743 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
21744 (WebCore::GraphicsContext3DInternal::reshape):
21745 (WebCore::GraphicsContext3DInternal::beginPaint):
21746 (WebCore::GraphicsContext3DInternal::bindFramebuffer):
21747 (WebCore::GraphicsContext3D::readPixels):
21749 2010-03-16 James Hawkins <jhawkins@chromium.org>
21751 Reviewed by David Levin.
21753 [Chromium] Size the WebVector of forms after determining how many
21754 forms are valid and will be returned.
21756 https://bugs.webkit.org/show_bug.cgi?id=36204
21758 No new tests, as this is only triggered by Chromium's use of the
21759 WebFormElement API.
21761 * src/WebFrameImpl.cpp:
21762 (WebKit::WebFrameImpl::forms):
21764 2010-03-16 Kenneth Russell <kbr@google.com>
21766 Reviewed by Darin Fisher.
21768 Build breakage from 33416
21769 https://bugs.webkit.org/show_bug.cgi?id=36189
21771 No new tests. Built release Chromium.
21773 * src/GraphicsContext3D.cpp:
21774 (WebCore::GraphicsContext3DInternal::reshape):
21776 2010-03-16 Zhenyao Mo <zmo@google.com>
21778 Reviewed by Darin Fisher.
21780 Hook up WebGLContextAttributes to OpenGL context creation code
21781 https://bugs.webkit.org/show_bug.cgi?id=33416
21783 Test: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html
21785 * src/GraphicsContext3D.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Windows.
21787 2010-03-16 Yury Semikhatsky <yurys@chromium.org>
21791 Fix Chromium Mac build: remove unused code.
21793 * src/WebDevToolsAgentImpl.cpp:
21794 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
21796 2010-03-16 Yury Semikhatsky <yurys@chromium.org>
21798 Reviewed by Pavel Feldman.
21800 Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
21802 Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
21803 https://bugs.webkit.org/show_bug.cgi?id=35036
21805 * src/InspectorClientImpl.cpp:
21806 (WebKit::InspectorClientImpl::openInspectorFrontend):
21807 * src/InspectorClientImpl.h:
21808 * src/WebDevToolsAgentImpl.cpp:
21809 (WebKit::WebDevToolsAgentImpl::attach):
21810 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
21811 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
21812 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
21813 * src/WebDevToolsAgentImpl.h:
21814 * src/WebDevToolsFrontendImpl.cpp:
21815 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
21816 (WebKit::WebDevToolsFrontendImpl::jsBringToFront):
21817 (WebKit::WebDevToolsFrontendImpl::jsInspectedURLChanged):
21818 * src/WebDevToolsFrontendImpl.h:
21819 * src/js/InjectDispatch.js:
21822 2010-03-16 Pavel Feldman <pfeldman@chromium.org>
21824 Not reviewed: chromium tests fix.
21826 * src/js/InspectorControllerImpl.js:
21827 (devtools.InspectorBackendImpl):
21829 2010-03-16 Pavel Feldman <pfeldman@chromium.org>
21831 Reviewed by Timothy Hatcher.
21833 Web Inspector: migrate to native styles inspector in order to inspect styles from foreighn domains.
21835 https://bugs.webkit.org/show_bug.cgi?id=36117
21837 * src/js/InspectorControllerImpl.js:
21838 (devtools.InspectorBackendImpl):
21840 2010-03-15 John Gregg <johnnyg@google.com>
21842 Reviewed by David Levin.
21844 Notification object should expose absolute URL of icon
21845 https://bugs.webkit.org/show_bug.cgi?id=35800
21847 * public/WebNotification.h:
21848 * src/WebNotification.cpp:
21849 (WebKit::WebNotification::iconURL):
21851 2010-03-15 Darin Fisher <darin@chromium.org>
21853 Reviewed by Adam Barth.
21855 https://bugs.webkit.org/show_bug.cgi?id=36152
21856 [chromium] Add support for history.pushState and history.replaceState
21858 * public/WebFrameClient.h:
21859 (WebKit::WebFrameClient::didNavigateWithinPage): Move implementation of
21860 didChangeLocationWithinPage to here. Only add to the redirect chain if
21861 we are performing a simple hash change (i.e., no state object on the
21862 history item). Call the old didChangeLocationWithinPage for backwards
21863 compat with Chromium. This will be removed in a subsequent patch.
21865 (WebKit::WebFrameClient::didChangeLocationWithinPage):
21866 * src/FrameLoaderClientImpl.cpp:
21867 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
21868 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
21869 Call the new version of didChangeLocationWithinPage without the
21870 parameter to indicate whether this is a new navigation or not. We only
21871 need this method on WebFrameClient to support TestShell / DRT.
21873 (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
21874 Call dispatchDidNavigateWithinPage since pushState is just a type of
21875 in-page navigation. This is an in-page navigation that adds another
21876 entry to session history.
21878 (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
21879 Call dispatchDidNavigateWithinPage since replaceState is just a type of
21880 in-page navigation. This is an in-page navigation that replaces the
21881 current session history entry.
21883 (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): Do
21884 nothing since dispatchDidNavigateWithinPage is called in this case by
21887 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
21888 (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): Move the code
21889 for handling the dummy chrome-back-forward://go/ URLs from
21890 dispatchDecidePolicyForNavigationAction to shouldGoToHistoryItem, which
21891 prevents the URLs from leaking into session history.
21892 shouldGoToHistoryItem is called before any work is done by history
21893 traversal, so this is a better place for this hack. Ultimately, this
21894 code should be eliminatd in favor of better integration with
21895 FrameLoader or HistoryController.
21897 * src/FrameLoaderClientImpl.h:
21899 2010-03-15 Darin Fisher <darin@chromium.org>
21901 Fix build bustage. We also need to pull down "third_party/tcmalloc"
21905 2010-03-15 Darin Fisher <darin@chromium.org>
21907 Fix build bustage. We also need to pull down "gfx"
21911 2010-03-15 Darin Fisher <darin@chromium.org>
21913 Reviewed by David Levin.
21915 https://bugs.webkit.org/show_bug.cgi?id=36131
21916 Update include paths for chromium Rect, Point, and Size types.
21918 Update DEPS to pull latest chromium code that reflects the
21919 new location of these headers.
21922 * public/WebPoint.h:
21923 * public/WebRect.h:
21924 * public/WebSize.h:
21926 2010-03-15 Marcus Bulach <bulach@chromium.org>
21928 Reviewed by Jeremy Orlow.
21930 Send the frame URL on GeolocationServiceBridgeImpl::startUpdating.
21931 https://bugs.webkit.org/show_bug.cgi?id=36012
21933 * public/GeolocationServiceBridgeChromium.h:
21934 * src/GeolocationServiceBridgeChromium.cpp:
21935 (WebKit::GeolocationServiceBridgeImpl::startUpdating):
21937 2010-03-15 Patrik Persson <patrik.j.persson@ericsson.com>
21939 Reviewed by Darin Adler.
21941 https://bugs.webkit.org/show_bug.cgi?id=32369
21943 Revise iframe sandbox behavior to match the updated HTML5 spec.
21945 - Enables window.sessionStorage in sandboxed iframes.
21947 - Raises SECURITY_ERR exceptions when window.localStorage or
21948 window.openDatabase() is blocked by iframe sandboxing.
21950 Note: window.sessionStorage does not raise exceptions.
21952 WebKit would previously return null references in these cases. The
21953 new behavior is in accordance with HTML5:
21955 http://dev.w3.org/html5/webstorage/ (sections 4.2 and 4.3)
21956 http://dev.w3.org/html5/webdatabase/ (section 4.1)
21957 http://www.mail-archive.com/whatwg@lists.whatwg.org/msg19786.html
21959 * src/StorageAreaProxy.cpp:
21960 (WebCore::StorageAreaProxy::storageEvent): exception handling
21961 * src/StorageEventDispatcherImpl.cpp:
21962 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): exception handling
21964 2010-03-15 Tony Chang <tony@chromium.org>
21966 Reviewed by Darin Adler.
21968 option-pageup/down should move cursor on chromium mac
21969 https://bugs.webkit.org/show_bug.cgi?id=36108
21971 * src/EditorClientImpl.cpp:
21974 2010-03-13 Eric Roman <eroman@chromium.org>
21976 Reviewed by Adam Barth.
21978 Add a firstPartyForCookies() property to WebDocument.
21979 https://bugs.webkit.org/show_bug.cgi?id=35592
21981 * public/WebDocument.h:
21982 * src/WebDocument.cpp:
21983 (WebKit::WebDocument::firstPartyForCookies):
21985 2010-03-12 Garret Kelly <gdk@chromium.org>
21989 Fix Chromium Mac build. Last patch did not apply properly.
21990 (Garret assures me this patch will actually work.)
21992 * src/WebInputEventConversion.cpp:
21993 (WebKit::toPlatformTouchEventType):
21994 (WebKit::toPlatformTouchPointState):
21996 2010-03-12 Garret Kelly <gdk@chromium.org>
22000 Fix Chromium Mac build. This time, with actual fixing goodness.
22002 * src/WebInputEventConversion.cpp:
22003 (WebKit::toPlatformTouchEventType):
22004 (WebKit::toPlatformTouchPointState):
22006 2010-03-12 Garret Kelly <gdk@chromium.org>
22010 Fix Chromium Mac build.
22012 * src/WebInputEventConversion.cpp:
22013 (WebKit::toPlatformTouchEventType):
22014 (WebKit::toPlatformTouchPointState):
22016 2010-03-12 Garret Kelly <gdk@chromium.org>
22018 Reviewed by Eric Seidel.
22020 Enable touch events in Chromium features gypi file.
22021 https://bugs.webkit.org/show_bug.cgi?id=35994
22025 2010-03-12 Darin Fisher <darin@chromium.org>
22027 Fix Chromium build bustage.
22029 Wrap usage of WebPrivatePtr from WebNode.h in a #if
22030 WEBKIT_IMPLEMENTATION guard.
22032 * public/WebNode.h:
22034 2010-03-12 Nicolas Weber <thakis@chromium.org>
22036 Reviewed by David Levin.
22038 [Chromium] Cmd-clicking submit buttons should submit in new tab
22039 https://bugs.webkit.org/show_bug.cgi?id=36023
22041 Take modifiers into account when clicking form buttons. E.g.
22042 cmd-clicking a submit button will submit in a new background tab,
22043 cmd-shift-clicking in a new foreground tab, shift-clicking in a new
22044 window. (On windows/linux, it's ctrl instead of cmd.)
22046 * src/FrameLoaderClientImpl.cpp:
22047 (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
22049 2010-03-12 Kavita Kanetkar <kkanetkar@chromium.org>
22051 Reviewed by Darin Fisher.
22053 [chromium] Fix memory leak in WebImageDecoder API
22054 https://bugs.webkit.org/show_bug.cgi?id=35946
22056 * src/WebImageDecoder.cpp:
22057 (WebKit::WebImageDecoder::setData):
22058 (WebKit::WebImageDecoder::getFrameAtIndex):
22060 2010-03-11 Aaron Boodman <aa@chromium.org>
22062 Kill WebDocument::applicationID() (part 1).
22064 Modify interface to WebCore::NotificationPresenter::checkPermission()
22065 and remove implementation of WebDocument::applicationID(). Breaking
22066 API changes will be in a subsequent change.
22067 https://bugs.webkit.org/show_bug.cgi?id=35846
22069 * public/WebNotificationPresenter.h:
22070 * src/NotificationPresenterImpl.cpp:
22071 (WebKit::NotificationPresenterImpl::checkPermission):
22072 * src/NotificationPresenterImpl.h:
22073 * src/WebDocument.cpp:
22074 (WebKit::WebDocument::applicationID):
22076 2010-03-11 Stuart Morgan <stuartmorgan@chromium.org>
22078 Reviewed by Darin Fisher.
22080 Fix the screen coordinate conversion of Chromium Mac mouse events for
22081 multiple-moniter setups. Also changes the global coordinate values
22082 to be computed from the event, rather than the instantaneous mouse
22083 location, and reduces code duplication for location conversion.
22085 Dual-sided patch with http://codereview.chromium.org/751002
22087 https://bugs.webkit.org/show_bug.cgi?id=35950
22089 * src/mac/WebInputEventFactory.mm:
22090 (WebKit::setWebEventLocationFromEventInView):
22091 (WebKit::WebInputEventFactory::mouseEvent):
22092 (WebKit::WebInputEventFactory::mouseWheelEvent):
22094 2010-03-11 Anders Carlsson <andersca@apple.com>
22096 Reviewed by David Hyatt.
22098 Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
22100 * src/ChromeClientImpl.cpp:
22101 * src/ChromeClientImpl.h:
22103 2010-03-10 Darin Fisher <darin@chromium.org>
22105 Reviewed by Jeremy Orlow.
22107 Use WebPrivatePtr for WebNode
22108 https://bugs.webkit.org/show_bug.cgi?id=36005
22110 * public/WebElement.h:
22111 * public/WebFormElement.h:
22112 * public/WebInputElement.h:
22113 * public/WebLabelElement.h:
22114 * public/WebNode.h:
22115 (WebKit::WebNode::WebNode):
22116 (WebKit::WebNode::isNull):
22117 (WebKit::WebNode::unwrap):
22118 (WebKit::WebNode::constUnwrap):
22119 * public/WebPrivatePtr.h:
22120 (WebKit::WebPrivatePtr::assign):
22121 * src/WebDocument.cpp:
22122 (WebKit::WebDocument::WebDocument):
22123 (WebKit::WebDocument::operator=):
22124 (WebKit::WebDocument::operator PassRefPtr<Document>):
22125 * src/WebElement.cpp:
22126 (WebKit::WebElement::hasTagName):
22127 (WebKit::WebElement::WebElement):
22128 (WebKit::WebElement::operator=):
22129 (WebKit::WebElement::operator PassRefPtr<Element>):
22130 * src/WebFormElement.cpp:
22131 (WebKit::WebFormElement::WebFormElement):
22132 (WebKit::WebFormElement::operator=):
22133 (WebKit::WebFormElement::operator PassRefPtr<HTMLFormElement>):
22134 * src/WebInputElement.cpp:
22135 (WebKit::WebInputElement::WebInputElement):
22136 (WebKit::WebInputElement::operator=):
22137 (WebKit::WebInputElement::operator PassRefPtr<HTMLInputElement>):
22138 * src/WebLabelElement.cpp:
22139 (WebKit::WebLabelElement::correspondingControl):
22140 (WebKit::WebLabelElement::operator=):
22141 (WebKit::WebLabelElement::operator PassRefPtr<HTMLLabelElement>):
22143 (WebKit::WebNode::reset):
22144 (WebKit::WebNode::assign):
22145 (WebKit::WebNode::equals):
22146 (WebKit::WebNode::parentNode):
22147 (WebKit::WebNode::createMarkup):
22148 (WebKit::WebNode::addEventListener):
22149 (WebKit::WebNode::removeEventListener):
22150 (WebKit::WebNode::simulateClick):
22151 (WebKit::WebNode::WebNode):
22152 (WebKit::WebNode::operator=):
22153 (WebKit::WebNode::operator PassRefPtr<Node>):
22155 2010-03-10 Darin Fisher <darin@chromium.org>
22157 Reviewed by Jeremy Orlow.
22159 Add API wrapper for WebCore::SerializedScriptValue
22160 https://bugs.webkit.org/show_bug.cgi?id=35988
22162 WebSerializedScriptValue is a wrapper around SerializedScriptValue.
22164 WebPrivatePtr is used to simplify wrapping reference counted WebCore
22165 types. This class is used to cleanup WebHistoryItem, and will be used
22166 to clean up other classes in the WebKit API in a follow-up patch.
22169 * public/WebHistoryItem.h:
22170 * public/WebPrivatePtr.h: Added.
22171 * public/WebSerializedScriptValue.h: Added.
22172 * src/WebHistoryItem.cpp:
22173 * src/WebSerializedScriptValue.cpp: Added.
22175 2010-03-10 Sanjeev Radhakrishnan <sanjeevr@chromium.org>
22177 Reviewed by Darin Fisher.
22179 Allow a plugin to participate in the browser's print workflow.
22180 https://bugs.webkit.org/show_bug.cgi?id=35550
22182 * public/WebFrame.h:
22183 * public/WebPlugin.h:
22184 * src/WebFrameImpl.cpp:
22185 * src/WebFrameImpl.h:
22186 * src/WebPluginContainerImpl.cpp:
22187 * src/WebPluginContainerImpl.h:
22189 2010-03-10 John Abd-El-Malek <jam@chromium.org>
22191 Reviewed by Nate Chapin.
22193 [chromium]: Fix regression in mouse capture on Mac/Linux
22194 https://bugs.webkit.org/show_bug.cgi?id=35987
22196 * src/WebViewImpl.cpp:
22198 2010-03-10 Evan Stade <estade@chromium.org>
22200 Reviewed by David Levin.
22202 [chromium] add functionality to activate the focused node in a WebView
22203 https://bugs.webkit.org/show_bug.cgi?id=35407
22205 * public/WebDocument.h:
22206 * public/WebNode.h:
22207 * src/WebDocument.cpp:
22208 (WebKit::WebDocument::focusedNode): Added
22210 (WebKit::WebNode::simulateClick): Added
22212 2010-03-10 John Abd-El-Malek <jam@chromium.org>
22214 Reviewed by Darin Fisher.
22216 https://bugs.webkit.org/show_bug.cgi?id=35952
22217 Propagate mouse wheel events to Pepper plugins.
22219 * src/WebInputEventConversion.cpp:
22220 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
22221 * src/WebInputEventConversion.h:
22222 * src/WebPluginContainerImpl.cpp:
22223 (WebKit::WebPluginContainerImpl::handleEvent):
22224 (WebKit::WebPluginContainerImpl::handleMouseEvent):
22225 (WebKit::WebPluginContainerImpl::handleWheelEvent):
22226 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
22227 * src/WebPluginContainerImpl.h:
22229 2010-03-10 Garret Kelly <gdk@chromium.org>
22231 Reviewed by Darin Fisher.
22233 Add support for converting WebTouchEvents to PlatformTouchEvents and
22234 routing them into the EventHandler for the frame in which they
22236 https://bugs.webkit.org/show_bug.cgi?id=35874
22238 * src/ChromeClientImpl.h:
22239 (WebKit::ChromeClientImpl::needTouchEvents):
22240 * src/WebViewImpl.cpp:
22241 (WebKit::WebViewImpl::touchEvent): Handle incoming WebTouchEvents,
22242 converting them to PlatformTouchEvents and sending them to the
22244 (WebKit::WebViewImpl::handleInputEvent): Now routes WebTouchEvents to
22245 the touchEvent handler.
22246 * src/WebViewImpl.h:
22248 2010-03-10 Nate Chapin <japhet@chromium.org>
22250 Reviewed by Dimitri Glazkov.
22252 Wrap and unwrap v8 objects with WrapperTypeInfo instead of V8ClassIndex::V8WrapperType.
22254 https://bugs.webkit.org/show_bug.cgi?id=35941
22256 * src/WebBindings.cpp:
22257 (WebKit::getRangeImpl):
22258 * src/WebDevToolsAgentImpl.cpp:
22259 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
22260 * src/WebDevToolsFrontendImpl.cpp:
22261 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
22263 2010-03-10 Garret Kelly <gdk@chromium.org>
22265 Reviewed by Darin Fisher.
22267 Fixing build warning caused by using 0 instead of NULL as the sentiel
22269 https://bugs.webkit.org/show_bug.cgi?id=35898
22271 * src/gtk/WebInputEventFactory.cpp:
22273 2010-03-10 Jeremy Orlow <jorlow@chromium.org>
22275 Reviewed by Darin Fisher.
22277 Add IndexedDatabase class and hook it up.
22278 https://bugs.webkit.org/show_bug.cgi?id=35927
22280 This change is mostly just adding the plumbing necessary for
22281 the IndexedDatabaseRequest and IndexedDatabaseSync (not written
22285 * public/WebIndexedDatabase.h: Added.
22286 (WebKit::WebIndexedDatabase::~WebIndexedDatabase):
22287 * public/WebKitClient.h:
22288 (WebKit::WebKitClient::getIndexedDatabase):
22289 * src/ChromiumBridge.cpp:
22290 (WebCore::ChromiumBridge::getIndexedDatabase):
22291 * src/IndexedDatabaseProxy.cpp: Added.
22292 (WebCore::IndexedDatabaseProxy::create):
22293 (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
22294 (WebCore::IndexedDatabaseProxy::~IndexedDatabaseProxy):
22295 (WebCore::IndexedDatabaseProxy::open):
22296 * src/IndexedDatabaseProxy.h: Added.
22298 2010-03-10 Andrey Kosyakov <caseq@chromium.org>
22300 Reviewed by Pavel Feldman.
22302 Web Inspector: display list of active workers & support debugging
22304 https://bugs.webkit.org/show_bug.cgi?id=35568
22306 * src/js/InspectorControllerImpl.js:
22307 (devtools.InspectorBackendImpl):
22309 2010-03-10 Tony Chang <tony@chromium.org>
22311 Reviewed by Darin Fisher.
22313 https://bugs.webkit.org/show_bug.cgi?id=35956
22314 Create a grd file upstream for resources that chromium uses
22315 that are pulled directly from the upstream repository.
22317 * WebKit.grd: Added.
22319 2010-03-10 Roland Steiner <rolandsteiner@chromium.org>
22321 Reviewed by David Levin.
22323 Bug 28293 - [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL")
22324 https://bugs.webkit.org/show_bug.cgi?id=28293
22326 Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
22327 correctly for event.dataTransfer.getData/setData. Currently both are treated
22328 as synonyms, but for "URL", getData is supposed to only return the first valid URL
22329 contained within the data for "text/uri-list" (see HTML5 spec).
22331 Tests: editing/pasteboard/dataTransfer-setData-getData.html
22333 * src/WebDragData.cpp:
22334 (WebKit::WebDragData::url):
22335 (WebKit::WebDragData::setURL):
22337 2010-03-08 John Abd-El-Malek <jam@chromium.org>
22339 Reviewed by Darin Fisher.
22341 Need to send mouse events to plugin when it has mouse capture
22342 https://bugs.webkit.org/show_bug.cgi?id=35900
22344 * public/WebInputEvent.h:
22345 (WebKit::WebInputEvent::isMouseEventType):
22346 * src/WebViewImpl.cpp:
22347 (WebKit::WebViewImpl::WebViewImpl):
22348 (WebKit::WebViewImpl::mouseDown):
22349 (WebKit::WebViewImpl::mouseUp):
22350 (WebKit::WebViewImpl::handleInputEvent):
22351 * src/WebViewImpl.h:
22353 2010-03-09 Anton Muhin <antonm@chromium.org>
22355 Reviewed by Darin Fisher.
22357 Accept and bailout NULL widgets in ChromiumBridge
22358 https://bugs.webkit.org/show_bug.cgi?id=35796
22360 * src/ChromiumBridge.cpp:
22361 (WebCore::toChromeClientImpl):
22363 2010-03-09 Yury Semikhatsky <yurys@chromium.org>
22365 Reviewed by Pavel Feldman.
22367 Use clean global object for devtools utility context instead of
22368 trying to simulate inspected context.
22370 https://bugs.webkit.org/show_bug.cgi?id=35923
22372 * src/DebuggerAgentImpl.cpp:
22373 * src/DebuggerAgentImpl.h:
22374 * src/WebDevToolsAgentImpl.cpp:
22375 (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
22377 2010-03-08 Alexey Proskuryakov <ap@apple.com>
22379 Chromium build fix.
22381 Updated for the removal of "mightDownloadFromHandle".
22383 * src/ResourceHandle.cpp:
22384 (WebCore::ResourceHandle::ResourceHandle):
22385 (WebCore::ResourceHandle::create):
22387 2010-03-08 Dimitri Glazkov <dglazkov@chromium.org>
22389 Reviewed by Darin Fisher.
22391 [Chromium] Reset multiple form submission protection on mouse events.
22392 https://bugs.webkit.org/show_bug.cgi?id=35128
22394 * src/WebViewImpl.cpp:
22395 (WebKit::WebViewImpl::mouseDown):
22397 2010-03-08 Michael Nordman <michaeln@google.com>
22399 Reviewed by Darin Fisher.
22401 Quick fix for a chromium unit test failures around r55675 (repaint refactoring).
22402 This change restores the tests for empty rects that were deleted.
22404 https://bugs.webkit.org/show_bug.cgi?id=35878
22406 * src/ChromeClientImpl.cpp:
22407 (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
22408 * src/WebPopupMenuImpl.cpp:
22409 (WebKit::WebPopupMenuImpl::invalidateContentsAndWindow):
22411 2010-03-02 Adam Treat <atreat@rim.com>
22413 Reviewed by Dave Hyatt.
22415 Adapt the chromium port to the refactoring of repaint methods.
22417 https://bugs.webkit.org/show_bug.cgi?id=34214
22419 * src/ChromeClientImpl.cpp:
22420 (WebKit::ChromeClientImpl::invalidateContents):
22421 (WebKit::ChromeClientImpl::invalidateWindow):
22422 (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
22423 (WebKit::ChromeClient::invalidateContentsForSlowScroll):
22424 * src/ChromeClientImpl.h:
22426 2010-03-08 Jian Li <jianli@chromium.org>
22428 Reviewed by Dmitry Titov.
22430 Blob.slice support.
22431 https://bugs.webkit.org/show_bug.cgi?id=32993
22433 Add ENABLE_BLOB_SLICE feature define.
22437 2010-03-08 Eric Uhrhane <ericu@chromium.org>
22439 Reviewed by David Levin.
22441 Remove the now-redundant Settings fields for the Database
22442 https://bugs.webkit.org/show_bug.cgi?id=35763
22444 No new tests; this code isn't called.
22446 * public/WebSettings.h:
22447 * src/WebSettingsImpl.cpp:
22448 * src/WebSettingsImpl.h:
22450 2010-03-08 Jeremy Orlow <jorlow@chromium.org>
22452 Reviewed by Darin Fisher.
22454 Pass the WebFrame into WebStorageArea::setItem so we can figure out the routing ID
22455 https://bugs.webkit.org/show_bug.cgi?id=35758
22457 This is necessary since setItem is sometimes blocked and the embedder might need
22458 to display some piece of UI associated with such an event.
22460 * public/WebStorageArea.h:
22461 (WebKit::WebStorageArea::setItem):
22462 * src/StorageAreaProxy.cpp:
22463 (WebCore::StorageAreaProxy::setItem):
22464 * src/WebStorageAreaImpl.cpp:
22465 (WebKit::WebStorageAreaImpl::setItem):
22466 * src/WebStorageAreaImpl.h:
22468 2010-03-07 Mark Rowe <mrowe@apple.com>
22470 Chromium build fix.
22472 * src/ChromiumBridge.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
22474 2010-03-07 Mark Rowe <mrowe@apple.com>
22476 Chromium build fix.
22478 * src/ResourceHandle.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
22480 2010-03-06 Pavel Feldman <pfeldman@chromium.org>
22482 Reviewed by Timothy Hatcher.
22484 Chromium: Restore devtools window activate upon node search complete.
22486 https://bugs.webkit.org/show_bug.cgi?id=35832
22488 * src/js/DevTools.js:
22490 2010-03-06 Darin Fisher <darin@chromium.org>
22492 Reviewed by David Levin.
22494 [Chromium] Embedder initiated loads should not always stop existing loads
22495 https://bugs.webkit.org/show_bug.cgi?id=33862
22497 * src/WebFrameImpl.cpp:
22498 (WebKit::WebFrameImpl::reload):
22499 (WebKit::WebFrameImpl::loadRequest):
22500 (WebKit::WebFrameImpl::loadHistoryItem):
22501 (WebKit::WebFrameImpl::loadData):
22503 2010-03-06 Darin Fisher <darin@chromium.org>
22505 Reviewed by David Levin.
22507 [Chromium] spurious WebViewClient::didStopLoading if changing
22508 location.hash while a subframe is still loading
22510 https://bugs.webkit.org/show_bug.cgi?id=33884
22512 * src/FrameLoaderClientImpl.cpp:
22513 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
22514 Call isLoadingInAPISense, which checks subframes.
22516 2010-03-06 Hironori Bono <hbono@chromium.org>
22518 Reviewed by Eric Seidel.
22520 [Chromium] Typing into Flash with wmode = opaque|transparent and
22521 non-latin language active outputs as if US keyboard layout active
22523 https://bugs.webkit.org/show_bug.cgi?id=34936
22525 This change is a WebKit-side change for this issue. It dispatches
22526 Char events to plug-ins so plug-ins can receive non-ASCII characters
22527 as well as ASCII characters.
22529 * src/WebViewImpl.cpp:
22530 (WebKit::WebViewImpl::keyEvent):
22532 2010-03-06 Kavita Kanetkar <kkanetkar@chromium.org>
22534 Reviewed by Darin Fisher.
22536 Create WebKit API for WebCore::ImageDecoder
22537 https://bugs.webkit.org/show_bug.cgi?id=35415
22540 * public/WebImageDecoder.h: Added.
22541 * src/WebImageDecoder.cpp: Added.
22543 2010-03-05 John Abd-El-Malek <jam@chromium.org>
22545 Reviewed by Darin Fisher.
22547 Take out code hack that flips the result of NPP_HandleEvent. This needs to move to
22548 the NPAPI code so that Pepper plugins don't hit it.
22549 https://bugs.webkit.org/show_bug.cgi?id=35779
22551 * public/WebPluginContainer.h:
22552 * src/WebPluginContainerImpl.cpp:
22553 (WebKit::WebPluginContainerImpl::handleMouseEvent):
22554 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
22556 2010-03-05 Ilya Tikhonovsky <loislo@chromium.org>
22558 Reviewed by Pavel Feldman.
22560 Web Inspector: Do not show link helper in popovers and/or for external resources.
22562 https://bugs.webkit.org/show_bug.cgi?id=35785
22564 * src/js/DebuggerAgent.js:
22565 (devtools.DebuggerAgent.prototype.initUI):
22566 (devtools.DebuggerAgent.prototype.addScriptInfo_):
22568 2010-03-04 Garret Kelly <gdk@chromium.org>
22570 Reviewed by Darin Fisher.
22572 Adding PlatformTouchEventBuilder and PlatformTouchPointBuilder for
22573 converting Chromium WebTouchEvent and WebTouchPoint types to
22574 corresponding WebCore types.
22575 https://bugs.webkit.org/show_bug.cgi?id=35760
22577 * src/WebInputEventConversion.cpp:
22578 (WebKit::toPlatformTouchEventType):
22579 (WebKit::toPlatformTouchPointState):
22580 (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
22581 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
22582 * src/WebInputEventConversion.h:
22584 2010-03-04 John Gregg <johnnyg@google.com>
22586 Reviewed by Darin Fisher.
22588 [chromium] WebDocument:applicationID() crashes on <meta> tag with no http-equiv attribute
22589 https://bugs.webkit.org/show_bug.cgi?id=35771
22591 * src/WebDocument.cpp:
22592 (WebKit::WebDocument::applicationID):
22593 check for presence of http-equiv attribute before lower()ing it.
22595 2010-03-04 Darin Fisher <darin@chromium.org>
22597 Reviewed by Dmitry Titov.
22599 [chromium] make history.{push,replace}State enabled at runtime
22600 https://bugs.webkit.org/show_bug.cgi?id=35753
22602 * public/WebRuntimeFeatures.h:
22603 * src/WebRuntimeFeatures.cpp:
22604 (WebKit::WebRuntimeFeatures::enablePushState):
22605 (WebKit::WebRuntimeFeatures::isPushStateEnabled):
22607 2010-03-04 Pavel Feldman <pfeldman@chromium.org>
22609 Not reviewed: chromium tests fix.
22613 2010-03-03 Pavel Feldman <pfeldman@chromium.org>
22615 Reviewed by Timothy Hatcher.
22617 Web Inspector: Remove two last synchronous calls from front-end to InspectorBackend.
22619 https://bugs.webkit.org/show_bug.cgi?id=35720
22621 * src/js/InspectorControllerImpl.js:
22622 (devtools.InspectorBackendImpl):
22623 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
22625 2010-03-03 Pavel Feldman <pfeldman@chromium.org>
22627 Reviewed by Timothy Hatcher.
22629 Web Inspector: Remove sync access to resourceTrackingEnabled.
22631 https://bugs.webkit.org/show_bug.cgi?id=35693
22633 * src/js/DevTools.js:
22635 2010-03-04 Darin Fisher <darin@chromium.org>
22637 Reviewed by Pavel Feldman.
22639 Fix failing DevToolsSanityTest.TestResourceContentLength
22640 https://bugs.webkit.org/show_bug.cgi?id=35725
22642 http://trac.webkit.org/changeset/55466 missed one more spot
22643 where contentLength needed to be renamed resourceSize.
22647 2010-03-03 Garret Kelly <gdk@chromium.org>
22649 Reviewed by Darin Fisher.
22651 Adding touch event type and point type. Tested against the try bots.
22652 https://bugs.webkit.org/show_bug.cgi?id=35691
22654 * public/WebInputEvent.h:
22655 (WebKit::WebInputEvent::):
22656 (WebKit::WebInputEvent::isTouchEventType):
22657 (WebKit::WebTouchEvent::WebTouchEvent):
22658 * public/WebTouchPoint.h: Added.
22659 (WebKit::WebTouchPoint::WebTouchPoint):
22660 (WebKit::WebTouchPoint::):
22662 2010-03-02 Tony Chang <tony@chromium.org>
22664 Reviewed by Darin Fisher.
22666 add a flag to WebURLResponse so we can identify multipart content
22667 https://bugs.webkit.org/show_bug.cgi?id=35628
22669 * public/WebURLResponse.h:
22670 * src/WebURLResponse.cpp:
22671 (WebKit::WebURLResponse::isMultipartPayload):
22672 (WebKit::WebURLResponse::setIsMultipartPayload):
22674 2010-03-02 Adam Barth <abarth@webkit.org>
22676 Reviewed by Darin Fisher.
22678 Google Analytics triggers "blocked plugin" UI
22679 https://bugs.webkit.org/show_bug.cgi?id=35565
22681 Plumb didNotAllowPlugins to the client.
22683 * public/WebFrameClient.h:
22684 (WebKit::WebFrameClient::didNotAllowPlugins):
22685 * src/FrameLoaderClientImpl.cpp:
22686 (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
22687 * src/FrameLoaderClientImpl.h:
22689 2010-03-02 Chris Fleizach <cfleizach@apple.com>
22691 Reviewed by Beth Dakin.
22693 aria-label isn't respected on option elements
22694 https://bugs.webkit.org/show_bug.cgi?id=35400
22696 * src/SuggestionsPopupMenuClient.h:
22697 (WebKit::SuggestionsPopupMenuClient::itemAccessibilityText):
22699 2010-03-02 Mads Ager <ager@chromium.org>
22701 Reviewed by Adam Barth.
22703 [V8] V8 should be notified of context disposals
22704 https://bugs.webkit.org/show_bug.cgi?id=35526
22706 Update V8 DEPS in order to get V8 API changes needed for context
22707 disposal notifications.
22711 2010-03-02 Kenneth Russell <kbr@google.com>
22713 Reviewed by Darin Fisher.
22715 Add EnabledAtRuntime attribute to WebGLArray constructors
22716 https://bugs.webkit.org/show_bug.cgi?id=35558
22718 * public/WebRuntimeFeatures.h:
22719 * src/WebRuntimeFeatures.cpp:
22720 (WebKit::WebRuntimeFeatures::enableWebGL):
22721 (WebKit::WebRuntimeFeatures::isWebGLEnabled):
22723 2010-03-02 James Hawkins <jhawkins@chromium.org>
22725 Reviewed by Darin Fisher.
22727 [Chromium] Implement WebNode::equals and add inline operators for ==
22730 https://bugs.webkit.org/show_bug.cgi?id=35543
22732 * public/WebNode.h:
22733 (WebKit::operator==):
22734 (WebKit::operator!=):
22736 (WebKit::WebNode::equals):
22738 2010-03-01 Jakob Petsovits <jpetsovits@rim.com>
22740 Reviewed by Adam Barth.
22742 Adapt to the new ZoomMode enum.
22743 https://bugs.webkit.org/show_bug.cgi?id=35347
22745 * src/WebViewImpl.cpp:
22746 (WebKit::WebViewImpl::setZoomLevel):
22748 2010-03-01 Thatcher Ulrich <tulrich@google.com>
22750 Reviewed by Darin Fisher.
22752 Fix chromium iframe shims. Add another test case to the
22753 iframes-shims test. After r53637, the plugin widget doesn't get
22754 moved every paint. This used to hide the bug that if an iframe
22755 gets added, the plugin's cutout rectangles don't get updated until
22757 https://bugs.webkit.org/show_bug.cgi?id=35184
22759 * src/WebPluginContainerImpl.cpp:
22760 (WebKit::WebPluginContainerImpl::widgetPositionsUpdated): do reportGeometry() to ensure that
22761 the plugin is aware of the positions of cutouts on the page (for iframe shim behavior).
22762 * src/WebPluginContainerImpl.h:
22764 2010-02-27 Pavel Feldman <pfeldman@chromium.org>
22766 Reviewed by Timothy Hatcher.
22768 Chromium: remove DevTools part that has been upstreamed.
22770 * src/js/DevTools.js:
22772 2010-02-26 Pavel Feldman <pfeldman@chromium.org>
22774 Reviewed by Timothy Hatcher.
22776 Web Inspector: reload inspected page on Cmd+R / Ctrl+R / F5 key event in inspector.
22778 * src/WebDevToolsFrontendImpl.cpp:
22779 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
22780 (WebKit::WebDevToolsFrontendImpl::jsCanAttachWindow):
22781 * src/WebDevToolsFrontendImpl.h:
22782 * src/js/InspectorControllerImpl.js:
22783 (devtools.InspectorBackendImpl):
22784 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
22786 2010-02-26 James Hawkins <jhawkins@chromium.org>
22788 Reviewed by Darin Fisher.
22790 [Chromium] Verify that the Nodes being enumerated are HTML elements.
22792 https://bugs.webkit.org/show_bug.cgi?id=35463
22794 * src/WebFrameImpl.cpp:
22795 (WebKit::WebFrameImpl::forms):
22797 2010-02-26 Adam Barth <abarth@webkit.org>
22799 Reviewed by Darin Fisher.
22801 Expose an API for ports to add schemes to the mixed content whitelist
22802 https://bugs.webkit.org/show_bug.cgi?id=35438
22804 Expose registerURLSchemeAsSecure via the WebKit API.
22806 * public/WebSecurityPolicy.h:
22807 * src/WebSecurityPolicy.cpp:
22808 (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
22810 2010-02-26 Brett Wilson <brettw@chromium.org>
22812 Fix chromium build. This test's expectation became obsolete with
22813 recent changes to KURL which my previous change brings Chromium's
22814 port in compliance with.
22816 * tests/KURLTest.cpp:
22817 (ComponentCase::TEST):
22819 2010-02-26 Yaar Schnitman <yaar@chromium.org>
22821 Chromium build fix.
22823 * features.gypi: Added missing new variable enable_svg.
22825 2010-02-26 Yaar Schnitman <yaar@chromium.org>
22827 Reviewed by Dimitri Glazkov.
22829 [V8] Auto-generate and split DerivedSourcesAllInOne.cpp
22830 https://bugs.webkit.org/show_bug.cgi?id=33048
22832 * DEPS: Incremented gyp revision.
22834 2010-02-26 Darin Fisher <darin@chromium.org>
22836 Fix mac warning (that gets treated as an error in the chromium build).
22838 * src/ChromiumBridge.cpp:
22839 (WebCore::ChromiumBridge::cookiesEnabled):
22841 2010-02-25 Darin Fisher <darin@chromium.org>
22843 Reviewed by David Levin.
22845 Remove deprecated cookie methods.
22846 https://bugs.webkit.org/show_bug.cgi?id=35420
22848 * public/WebFrameClient.h:
22849 * public/WebKitClient.h:
22850 * src/ChromiumBridge.cpp:
22851 (WebCore::ChromiumBridge::setCookies):
22852 (WebCore::ChromiumBridge::cookies):
22853 (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
22854 (WebCore::ChromiumBridge::rawCookies):
22855 (WebCore::ChromiumBridge::deleteCookie):
22856 (WebCore::ChromiumBridge::cookiesEnabled):
22858 2010-02-25 James Hawkins <jhawkins@chromium.org>
22860 Reviewed by Darin Fisher.
22862 [Chromium] Implement WebLabelElement.
22864 https://bugs.webkit.org/show_bug.cgi?id=35317
22867 * public/WebLabelElement.h: Added.
22868 * src/WebLabelElement.cpp: Added.
22870 2010-02-25 Pavel Feldman <pfeldman@chromium.org>
22872 Reviewed by Dimitri Glazkov.
22874 Web Inspector: make script lines count calculation lazy.
22876 https://bugs.webkit.org/show_bug.cgi?id=35392
22879 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
22880 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
22881 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
22882 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
22883 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
22884 (.TestSuite.prototype._executeFunctionForStepTest):
22886 2010-02-24 Darin Fisher <darin@chromium.org>
22888 Reviewed by David Levin.
22890 Add a missing WebString.h include.
22891 https://bugs.webkit.org/show_bug.cgi?id=35360
22893 This is required since some of the methods have implementations that
22894 return a WebString.
22896 * public/WebCookieJar.h:
22898 2010-02-24 Jay Campan <jcampan@google.com>
22900 Reviewed by David Levin.
22902 Don't show the autofill popup when the input text is disabled or read only.
22904 https://bugs.webkit.org/show_bug.cgi?id=35129
22906 * src/EditorClientImpl.cpp:
22907 (WebKit::EditorClientImpl::autofill):
22909 2010-02-24 Adam Barth <abarth@webkit.org>
22911 Reviewed by Darin Fisher.
22913 [Chromium API] Disambiguate allowJavaScript from didNotAllowScript
22914 https://bugs.webkit.org/show_bug.cgi?id=35205
22916 Plumb didNotAllowScript through Chromium's WebKit API.
22918 * public/WebFrameClient.h:
22919 (WebKit::WebFrameClient::didNotAllowScript):
22920 * src/DebuggerAgentImpl.cpp:
22921 (WebKit::DebuggerAgentImpl::createUtilityContext):
22922 * src/FrameLoaderClientImpl.cpp:
22923 (WebKit::FrameLoaderClientImpl::didNotAllowScript):
22924 * src/FrameLoaderClientImpl.h:
22925 * src/WebFrameImpl.cpp:
22926 (WebKit::WebFrameImpl::bindToWindowObject):
22928 2010-02-23 James Hawkins <jhawkins@chromium.org>
22930 Reviewed by Darin Fisher.
22932 [Chromium] Implement WebDocument::getElementsByTagName.
22934 https://bugs.webkit.org/show_bug.cgi?id=35272
22936 * public/WebDocument.h:
22937 * src/WebDocument.cpp:
22938 (WebKit::WebDocument::getElementsByTagName):
22940 2010-02-23 Steve Block <steveblock@google.com>
22942 Reviewed by Jeremy Orlow.
22944 Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled
22945 https://bugs.webkit.org/show_bug.cgi?id=35242
22947 This removes Chromium's WebSettings::setGeolocationEnabled
22949 * public/WebSettings.h:
22950 * src/WebSettingsImpl.cpp:
22951 * src/WebSettingsImpl.h:
22953 2010-02-23 Dmitriy Belenko <dbelenko@google.com>
22955 Reviewed by Darin Fisher.
22957 Chromium: Need to be able to get the bounds of selection
22959 https://bugs.webkit.org/show_bug.cgi?id=34915
22961 This change will enable about 30 test cases to pass in Chromium.
22962 All of these test cases are related to selection rect boundaries.
22963 This change will enable the test cases to retrieve the selection
22964 rect boundary rectangle for the current selection.
22966 * public/WebFrame.h:
22967 * src/WebFrameImpl.cpp:
22968 (WebKit::WebFrameImpl::selectionBoundsRect):
22969 * src/WebFrameImpl.h:
22971 2010-02-23 Steve Block <steveblock@google.com>
22973 Reviewed by Darin Adler.
22975 Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
22976 https://bugs.webkit.org/show_bug.cgi?id=34962
22978 This method is required so that a Geolocation object can cancel an
22979 asynchronous permission request. This allows the chrome client to cancel
22980 any UI it is showing for the permission request.
22982 * src/ChromeClientImpl.h:
22983 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
22985 2009-02-22 Adam Langley <agl@google.com>
22987 Reviewed by Darin Fisher.
22989 fontconfig on Linux can change the render preferences on a per strike
22990 basis (a strike a combination of face and size). Because of this, we
22991 need to query fontconfig each time a new FontPlatformData is created
22994 This patch adds support for querying this via ChromiumBridge.
22996 https://bugs.webkit.org/show_bug.cgi?id=33065
22999 * public/gtk/WebFontInfo.h:
23000 * public/linux/WebSandboxSupport.h:
23001 * src/ChromiumBridge.cpp:
23002 (WebCore::ChromiumBridge::getRenderStyleForStrike):
23003 * src/gtk/WebFontInfo.cpp:
23004 (WebKit::WebFontInfo::renderStyleForStrike):
23006 2010-02-22 Alexander Pavlov <apavlov@chromium.org>
23008 Reviewed by Pavel Feldman.
23010 Web Inspector: there should be a way to "deactivate" or "skip" all breakpoints while debugging.
23011 https://bugs.webkit.org/show_bug.cgi?id=33217
23013 * src/js/DebuggerAgent.js:
23014 (devtools.DebuggerAgent):
23015 (devtools.DebuggerAgent.prototype.setBreakpointsActivated):
23016 (devtools.DebuggerAgent.prototype.handleBreakEvent_):
23017 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
23018 * src/js/InspectorControllerImpl.js:
23019 (devtools.InspectorBackendImpl.prototype.activateBreakpoints):
23020 (devtools.InspectorBackendImpl.prototype.deactivateBreakpoints):
23022 2010-02-21 Pavel Feldman <pfeldman@chromium.org>
23024 Reviewed by Timothy Hatcher.
23026 Chromium DevTools: kepp debugger API in sync with inspector.
23028 https://bugs.webkit.org/show_bug.cgi?id=28799
23030 * src/js/DebuggerAgent.js:
23031 * src/js/InspectorControllerImpl.js:
23032 (devtools.InspectorBackendImpl.prototype.setBreakpoint):
23034 2010-02-19 Maciej Stachowiak <mjs@apple.com>
23036 Reviewed by David Levin.
23038 Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
23039 https://bugs.webkit.org/show_bug.cgi?id=35147
23043 2010-02-19 James Hawkins <jhawkins@chromium.org>
23045 Reviewed by Darin Fisher.
23047 [Chromium] Call WebViewClient::didAcceptAutoFillSuggestion when the
23048 user selects a suggestion from the AutoFill suggestions popup.
23050 https://bugs.webkit.org/show_bug.cgi?id=35174
23052 * public/WebViewClient.h:
23053 (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
23054 * src/AutoFillPopupMenuClient.cpp:
23055 (WebKit::AutoFillPopupMenuClient::valueChanged):
23056 * src/AutoFillPopupMenuClient.h:
23058 2010-02-19 James Hawkins <jhawkins@chromium.org>
23060 Reviewed by Eric Seidel.
23062 [Chromium] Use the m_suggestionsPopupClient pointer to refer to the
23063 popup client, as the Autocomplete popup might not be the current
23066 https://bugs.webkit.org/show_bug.cgi?id=35172
23068 * src/WebViewImpl.cpp:
23069 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
23070 (WebKit::WebViewImpl::refreshSuggestionsPopup):
23072 2010-02-19 James Hawkins <jhawkins@chromium.org>
23074 Reviewed by Eric Seidel.
23076 [Chromium] Rename EditorClientImpl::onAutofillSuggestionAccepted to
23077 onAutocompleteSuggestionAccepted to better match the purpose of the
23080 https://bugs.webkit.org/show_bug.cgi?id=35171
23082 * src/EditorClientImpl.cpp:
23083 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
23084 * src/EditorClientImpl.h:
23085 * src/SuggestionsPopupMenuClient.cpp:
23086 (WebKit::SuggestionsPopupMenuClient::valueChanged):
23088 2010-02-18 Peter Kasting <pkasting@google.com>
23090 Reviewed by Darin Fisher.
23092 Add an isImageBlocked bool to the WebContextMenuData struct.
23093 https://bugs.webkit.org/show_bug.cgi?id=35136
23095 This lets us properly enable/disable the "Copy Image" context menu entry
23096 (and, in the future, maybe add a "Load Image" function).
23098 * public/WebContextMenuData.h:
23099 * src/ContextMenuClientImpl.cpp:
23100 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
23102 2010-02-19 Marcus Bulach <bulach@chromium.org>
23104 Reviewed by Jeremy Orlow.
23106 Fixes GeolocationServiceBridgeImpl::stopUpdating (it can be called multiple times).
23108 * src/GeolocationServiceBridgeChromium.cpp:
23109 (WebKit::GeolocationServiceBridgeImpl::stopUpdating):
23111 2010-02-19 Pavel Feldman <pfeldman@chromium.org>
23113 Not reviewed. Chromium build fix: reverting r54997 and r54998.
23117 2010-02-19 Pavel Feldman <pfeldman@chromium.org>
23119 Not reviewed. Chromium tests fix: update devtools code to match new
23120 web inspector object proxy format.
23122 * src/js/DebuggerAgent.js:
23123 (devtools.DebuggerAgent.prototype.formatCallFrame_):
23124 (devtools.DebuggerAgent.formatObjectProxy_):
23126 2010-02-12 Kent Tamura <tkent@chromium.org>
23128 Unreviewed. Fix Chromium build.
23130 * DEPS: Bump Google URL revision to 123.
23132 2010-02-18 Yury Semikhatsky <yurys@chromium.org>
23134 Reviewed by Pavel Feldman.
23136 Don't truncate long lines when evaluating expressions on a breakpoint.
23138 https://bugs.webkit.org/show_bug.cgi?id=35102
23140 * src/js/DebuggerAgent.js:
23142 2010-02-18 Jay Campan <jcampan@google.com>
23144 Reviewed by Adam Barth.
23146 Exposing the title in WebDocument.
23148 https://bugs.webkit.org/show_bug.cgi?id=35058
23150 * public/WebDocument.h:
23151 * src/WebDocument.cpp:
23152 (WebKit::WebDocument::title):
23154 2010-02-17 Dmitry Titov <dimich@chromium.org>
23156 Reviewed by David Levin, Darin Fisher, Simon Hausmann.
23158 When a live iframe element is moved between pages, it still depends on the old page.
23159 https://bugs.webkit.org/show_bug.cgi?id=34382
23161 * src/FrameLoaderClientImpl.cpp:
23162 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
23163 (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
23164 Since Chromium's WebFrameClient is destroyed once a window is closed,
23165 if Frame moves between Pages, the client of corresponding WebFrame
23166 should be replaced as well.
23168 * src/FrameLoaderClientImpl.h:
23169 * src/WebFrameImpl.h:
23170 (WebKit::WebFrameImpl::setClient):
23172 2010-02-17 Evan Martin <evan@chromium.org>
23174 Reviewed by Eric Seidel.
23176 [chromium] expose cache-bypass flag in reload() API
23177 https://bugs.webkit.org/show_bug.cgi?id=34969
23179 This flag is used to force a reload to ignore caches.
23180 (Aka "shift-reload".)
23182 * public/WebFrame.h:
23183 * src/WebFrameImpl.cpp:
23184 (WebKit::WebFrameImpl::reload):
23185 * src/WebFrameImpl.h:
23187 2010-02-17 Kent Tamura <tkent@chromium.org>
23189 Reviewed by Eric Seidel.
23191 Introduces new Icon loading interface in order to support
23192 asynchronous loading.
23193 https://bugs.webkit.org/show_bug.cgi?id=32054
23195 Add an empty implementation of ChromeClient::iconForFiles().
23197 * src/ChromeClientImpl.cpp:
23198 (WebKit::ChromeClientImpl::iconForFiles):
23199 * src/ChromeClientImpl.h:
23201 2010-02-17 Kenneth Russell <kbr@google.com>
23203 Reviewed by Oliver Hunt.
23205 Refactor texImage2D and texSubImage2D taking Image to use common code
23206 https://bugs.webkit.org/show_bug.cgi?id=34458
23208 Merged the Safari and Chromium code which extracts the data from
23209 Image objects into common entry points on GraphicsContext3D. This
23210 immediately fixes the following three problems:
23211 - Chromium not implementing texSubImage2D taking Image.
23212 - Safari not obeying the flipY parameter to texImage2D or
23213 texSubImage2D taking Image.
23214 - Safari not obeying the premultipyAlpha parameter to texImage2D
23215 or texSubImage2D taking Image.
23216 Added new test verifying the behavior of texImage2D and
23217 texSubImage2D and the flipY parameter. The premultiplyAlpha
23218 parameter can not be tested yet as the implementation is not yet
23219 spec compliant. This will be fixed in a follow-on bug.
23221 Ran all WebGL demos in demo repository on Safari and Chromium;
23222 textures are now the right way up in both browsers, and
23223 transparent textures in Particles demo now look correct in Safari.
23225 * src/GraphicsContext3D.cpp:
23226 (WebCore::GraphicsContext3D::texImage2D):
23227 (WebCore::GraphicsContext3D::texSubImage2D):
23229 2010-02-17 Alok Priyadarshi <alokp@chromium.org>
23231 Reviewed by Ariya Hidayat.
23233 Bug 34900: Implement accelerated compositing for chromium.
23234 https://bugs.webkit.org/show_bug.cgi?id=34900
23236 * features.gypi: Added WTF_USE_ACCELERATED_COMPOSITING flag.
23238 2010-02-17 Jian Li <jianli@chromium.org>
23240 Reviewed by Darin Fisher.
23242 [chromium] Remove the obsolete chromium interface for handling DownloadURL.
23243 https://bugs.webkit.org/show_bug.cgi?id=34982
23245 * public/WebDragData.h:
23246 * src/WebDragData.cpp:
23248 2010-02-16 James Hawkins <jhawkins@chromium.org>
23250 Reviewed by Eric Seidel.
23252 [Chromium] Remove calls to releaseRef when passing PassRefPtrs to base
23253 classes. releaseRef releases the original pointer without decreasing
23254 the reference count, and the base class constructor increases the
23255 reference count, leading to a leak.
23257 https://bugs.webkit.org/show_bug.cgi?id=35000
23259 * src/WebDocument.cpp:
23260 (WebKit::WebDocument::WebDocument):
23261 * src/WebElement.cpp:
23262 (WebKit::WebElement::WebElement):
23263 * src/WebFormElement.cpp:
23264 (WebKit::WebFormElement::WebFormElement):
23265 * src/WebInputElement.cpp:
23266 (WebKit::WebInputElement::WebInputElement):
23268 2010-02-15 Jeremy Orlow <jorlow@chromium.org>
23270 Reviewed by Darin Fisher.
23272 [Chromium] Fix StorageNamespaceProxy::copy() for test shell
23273 https://bugs.webkit.org/show_bug.cgi?id=34949
23275 Chromium passes back NULL when you call WebStorageNamespace::proxy()
23276 but TestShell returns a valid object. Both need to work via
23277 the WebStorageNamespace.
23279 * src/StorageNamespaceProxy.cpp:
23280 (WebCore::StorageNamespaceProxy::copy):
23282 2010-02-14 Vangelis Kokkevis <vangelis@chromium.org>
23284 Reviewed by Darin Fisher.
23286 [Chromium] Add support for the showDebugBorders setting to Chromium.
23288 https://bugs.webkit.org/show_bug.cgi?id=34906
23290 * public/WebSettings.h: Add declaration for setShowDebugBorders
23291 * src/WebSettingsImpl.cpp:
23292 (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
23293 * src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
23295 2010-02-11 Darin Fisher <darin@chromium.org>
23297 Reviewed by Jeremy Orlow.
23299 Introduce WebCookieJar, and provide for a frame specific cookie jar.
23301 https://bugs.webkit.org/show_bug.cgi?id=34878
23304 * public/WebCookieJar.h: Added.
23305 * public/WebFrameClient.h:
23306 (WebKit::WebFrameClient::cookieJar):
23307 * public/WebKitClient.h:
23308 (WebKit::WebKitClient::cookieJar):
23309 (WebKit::WebKitClient::setCookies):
23310 (WebKit::WebKitClient::cookies):
23311 (WebKit::WebKitClient::rawCookies):
23312 (WebKit::WebKitClient::deleteCookie):
23313 (WebKit::WebKitClient::cookiesEnabled):
23314 * src/ChromiumBridge.cpp:
23315 (WebCore::getCookieJar):
23316 (WebCore::ChromiumBridge::setCookies):
23317 (WebCore::ChromiumBridge::cookies):
23318 (WebCore::ChromiumBridge::rawCookies):
23319 (WebCore::ChromiumBridge::deleteCookie):
23320 (WebCore::ChromiumBridge::cookiesEnabled):
23322 2010-02-12 Pavel Feldman <pfeldman@chromium.org>
23324 Reviewed by David Levin.
23326 Chromium: provide theme overrides for Chromium devtools on Mac.
23328 https://bugs.webkit.org/show_bug.cgi?id=34856
23330 * src/js/devTools.css:
23332 2010-02-12 Jeremy Orlow <jorlow@chromium.org>
23334 Reviewed by Darin Fisher.
23336 [Chromium] Add a blockedByPolicy output to WebStorageArea::setItem.
23337 https://bugs.webkit.org/show_bug.cgi?id=34897
23339 * public/WebStorageArea.h:
23340 (WebKit::WebStorageArea::setItem):
23341 * src/WebStorageAreaImpl.cpp:
23342 (WebKit::WebStorageAreaImpl::setItem):
23343 * src/WebStorageAreaImpl.h:
23345 2010-02-11 Jeremy Orlow <jorlow@chromium.org>
23347 Reviewed by David Levin.
23349 [Chromium] Add ENABLE_RUBY to the feature defines gypi
23350 https://bugs.webkit.org/show_bug.cgi?id=34841
23354 2010-02-12 Yury Semikhatsky <yurys@chromium.org>
23356 Reviewed by Pavel Feldman.
23358 Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer
23360 https://bugs.webkit.org/show_bug.cgi?id=34890
23362 * src/DebuggerAgentImpl.cpp:
23363 (WebKit::DebuggerAgentImpl::createUtilityContext):
23365 2010-02-11 Mikhail Naganov <mnaganov@chromium.org>
23367 Reviewed by Pavel Feldman.
23369 [Chromium] Ignore subsequent requests of the same profiler log
23370 chunks. This eliminates emission of several instances for the same
23373 https://bugs.webkit.org/show_bug.cgi?id=34833
23375 * src/js/ProfilerAgent.js:
23376 (devtools.ProfilerAgent):
23377 (devtools.ProfilerAgent.prototype.initializeProfiling):
23378 (devtools.ProfilerAgent.prototype._getNextLogLines):
23379 (devtools.ProfilerAgent.prototype.startProfiling):
23380 (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
23381 (devtools.ProfilerAgent.prototype._didGetLogLines):
23383 2010-02-10 James Hawkins <jhawkins@chromium.org>
23385 Reviewed by Eric Seidel.
23387 [Chromium] Remove code from SuggestionsPopup that was removed in a
23388 previous revision of AutocompletePopup and accidentally added back in
23391 https://bugs.webkit.org/show_bug.cgi?id=34818
23393 * src/AutoFillPopupMenuClient.cpp:
23394 * src/AutoFillPopupMenuClient.h: Added property svn:eol-style.
23395 * src/SuggestionsPopupMenuClient.cpp:
23396 (WebKit::SuggestionsPopupMenuClient::popupDidHide):
23397 (WebKit::SuggestionsPopupMenuClient::setTextFromItem):
23398 (WebKit::SuggestionsPopupMenuClient::initialize):
23399 * src/SuggestionsPopupMenuClient.h:
23401 2010-02-10 Nate Chapin <japhet@chromium.org>
23403 Reviewed by Adam Barth.
23405 Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters.
23407 https://bugs.webkit.org/show_bug.cgi?id=34768
23409 * src/DebuggerAgentImpl.cpp:
23410 (WebKit::DebuggerAgentImpl::createUtilityContext):
23412 2010-02-10 Kenneth Russell <kbr@google.com>
23414 Reviewed by Oliver Hunt.
23416 Remove automatic viewport resizing
23417 https://bugs.webkit.org/show_bug.cgi?id=34766
23419 Removed automatic viewport resizing per conclusions on the WebGL
23420 mailing list. Added test verifying new behavior and updated a
23421 couple of previous tests failing after this change.
23423 * src/GraphicsContext3D.cpp:
23424 (WebCore::GraphicsContext3DInternal::reshape):
23426 2010-02-10 Yury Semikhatsky <yurys@chromium.org>
23428 Reviewed by Pavel Feldman.
23430 Chromium Win build fix. Add third_party/nss to the dependencies list on Windows.
23432 https://bugs.webkit.org/show_bug.cgi?id=34789
23436 2010-02-10 Yury Semikhatsky <yurys@chromium.org>
23438 Reviewed by Pavel Feldman.
23440 Rolling Chromium dependencies to match Chromium revision 38580.
23442 https://bugs.webkit.org/show_bug.cgi?id=34789
23446 2010-02-10 Yury Semikhatsky <yurys@chromium.org>
23448 Reviewed by Pavel Feldman.
23450 Use v8::Debug::ProcessDebugMessages instead of executing an empty function
23452 https://bugs.webkit.org/show_bug.cgi?id=34704
23454 * src/DebuggerAgent.h:
23455 * src/DebuggerAgentImpl.cpp:
23456 (WebKit::DebuggerAgentImpl::processDebugCommands):
23457 * src/DebuggerAgentImpl.h:
23458 * src/ToolsAgent.h:
23459 * src/WebDevToolsAgentImpl.cpp:
23460 * src/WebDevToolsAgentImpl.h:
23461 * src/js/DebuggerAgent.js:
23462 (devtools.DebuggerAgent.prototype.addBreakpoint):
23463 * src/js/DevToolsHostStub.js:
23464 (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
23465 * src/js/InjectDispatch.js:
23467 * src/js/ProfilerAgent.js:
23468 (devtools.ProfilerAgent.prototype.startProfiling):
23469 (devtools.ProfilerAgent.prototype.stopProfiling):
23472 2010-02-10 Tony Chang <tony@chromium.org>
23474 Unreviewed, build fix for Chromium Mac take 2.
23476 * src/AutoFillPopupMenuClient.cpp:
23477 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
23479 2010-02-10 Tony Chang <tony@chromium.org>
23481 Unreviewed, build fix for Chromium Mac.
23483 * src/AutoFillPopupMenuClient.cpp:
23484 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
23486 2010-02-09 James Hawkins <jhawkins@chromium.org>
23488 Reviewed by Darin Fisher.
23490 [Chromium] Refactor AutocompletePopupMenuClient into a base class,
23491 SuggestionsPopupMenuClient, and two derived classes,
23492 AutocompletePopupMenuClient and AutoFillPopupMenuClient. Currently
23493 the behavior of suggestions popups has not changed.
23495 https://bugs.webkit.org/show_bug.cgi?id=34721
23498 * public/WebView.h:
23499 * src/AutoFillPopupMenuClient.cpp: Added.
23500 * src/AutoFillPopupMenuClient.h: Added.
23501 * src/AutocompletePopupMenuClient.cpp:
23502 (WebKit::AutocompletePopupMenuClient::getSuggestionsCount):
23503 (WebKit::AutocompletePopupMenuClient::getSuggestion):
23504 (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
23505 (WebKit::AutocompletePopupMenuClient::initialize):
23506 (WebKit::AutocompletePopupMenuClient::setSuggestions):
23507 * src/AutocompletePopupMenuClient.h:
23508 * src/SuggestionsPopupMenuClient.cpp: Added.
23509 * src/SuggestionsPopupMenuClient.h: Added.
23510 * src/WebViewImpl.cpp:
23511 (WebKit::WebViewImpl::WebViewImpl):
23512 (WebKit::WebViewImpl::keyEvent):
23513 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
23514 (WebKit::WebViewImpl::applyAutofillSuggestions):
23515 (WebKit::WebViewImpl::applyAutoFillSuggestions):
23516 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
23517 * src/WebViewImpl.h:
23519 2010-02-09 Chris Guillory <ctguil@google.com>
23521 Reviewed by Darin Fisher.
23523 [Chromium] Add function for accessibility object state change notifications.
23525 https://bugs.webkit.org/show_bug.cgi?id=34464
23528 * public/WebViewClient.h:
23529 (WebKit::WebViewClient::didChangeAccessibilityObjectState):
23530 * src/ChromeClientImpl.cpp:
23531 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
23532 * src/ChromeClientImpl.h:
23534 2010-02-09 Mikhail Naganov <mnaganov@chromium.org>
23536 Reviewed by Pavel Feldman.
23538 Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
23539 Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
23540 for really enabling it in V8 bindings generation.
23542 https://bugs.webkit.org/show_bug.cgi?id=34706
23546 2010-02-09 Jian Li <jianli@chromium.org>
23548 Reviewed by Darin Fisher.
23550 [chromium] Add the chromium interface to support Blob.slice.
23551 https://bugs.webkit.org/show_bug.cgi?id=34652
23554 * public/WebFileInfo.h: Added.
23555 * public/WebHTTPBody.h:
23556 * src/WebHTTPBody.cpp:
23557 (WebKit::WebHTTPBody::elementAt):
23558 (WebKit::WebHTTPBody::appendFile):
23560 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
23562 Unreviewed. Follow-up fix.
23564 Add missing devTools.css file.
23566 https://bugs.webkit.org/show_bug.cgi?id=34756
23568 * src/js/devTools.css: Added.
23570 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
23572 Reviewed by Pavel Feldman.
23574 Upstream DevTools Images and .css files.
23576 https://bugs.webkit.org/show_bug.cgi?id=34756
23579 * src/js/DevTools.css: Added.
23580 * src/js/Images/segmentChromium.png: Added.
23581 * src/js/Images/segmentHoverChromium.png: Added.
23582 * src/js/Images/segmentHoverEndChromium.png: Added.
23583 * src/js/Images/segmentSelectedChromium.png: Added.
23584 * src/js/Images/segmentSelectedEndChromium.png: Added.
23585 * src/js/Images/statusbarBackgroundChromium.png: Added.
23586 * src/js/Images/statusbarBottomBackgroundChromium.png: Added.
23587 * src/js/Images/statusbarButtonsChromium.png: Added.
23588 * src/js/Images/statusbarMenuButtonChromium.png: Added.
23589 * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added.
23591 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
23593 Reviewed by Pavel Feldman.
23595 Upstream JavaScript part of DevTools WebKit API implementation(now
23596 with the added files).
23598 https://bugs.webkit.org/show_bug.cgi?id=34744
23600 * WebKit.gypi: Added.
23601 * src/js/DebuggerAgent.js: Added.
23602 (devtools.DebuggerAgent):
23603 (devtools.DebuggerAgent.prototype.reset):
23604 (devtools.DebuggerAgent.prototype.initUI):
23605 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
23606 (devtools.DebuggerAgent.prototype.resolveScriptSource):
23607 (devtools.DebuggerAgent.prototype.pauseExecution):
23608 (devtools.DebuggerAgent.prototype.addBreakpoint):
23609 (devtools.DebuggerAgent.prototype.removeBreakpoint):
23610 (devtools.DebuggerAgent.prototype.updateBreakpoint):
23611 (devtools.DebuggerAgent.prototype.stepIntoStatement):
23612 (devtools.DebuggerAgent.prototype.stepOutOfFunction):
23613 (devtools.DebuggerAgent.prototype.stepOverStatement):
23614 (devtools.DebuggerAgent.prototype.resumeExecution):
23615 (devtools.DebuggerAgent.prototype.createExceptionMessage_):
23616 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
23617 (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
23618 (devtools.DebuggerAgent.prototype.pauseOnExceptions):
23619 (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
23620 (devtools.DebuggerAgent.prototype.requestEvaluate):
23621 (devtools.DebuggerAgent.prototype.resolveChildren):
23622 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
23623 (devtools.DebuggerAgent.prototype.resolveScope):
23624 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
23625 (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
23626 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
23627 (devtools.DebuggerAgent.prototype.getScriptContextType):
23628 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
23629 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
23630 (devtools.DebuggerAgent.prototype.requestBacktrace_):
23631 (devtools.DebuggerAgent.sendCommand_):
23632 (devtools.DebuggerAgent.prototype.stepCommand_):
23633 (devtools.DebuggerAgent.prototype.requestLookup_):
23634 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
23635 (devtools.DebuggerAgent.prototype.setContextId_):
23636 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
23637 (devtools.DebuggerAgent.prototype.handleBreakEvent_):
23638 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
23639 (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
23640 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
23641 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
23642 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
23643 (devtools.DebuggerAgent.prototype.addScriptInfo_):
23644 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
23645 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
23646 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
23647 (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
23648 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
23649 (devtools.DebuggerAgent.prototype.formatCallFrame_):
23650 (devtools.DebuggerAgent.formatObjectProperties_):
23651 (devtools.DebuggerAgent.propertiesToProxies_):
23652 (devtools.DebuggerAgent.formatObjectProxy_):
23653 (devtools.DebuggerAgent.webkitToV8LineNumber_):
23654 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
23655 (devtools.ScriptInfo):
23656 (devtools.ScriptInfo.prototype.getLineOffset):
23657 (devtools.ScriptInfo.prototype.getContextType):
23658 (devtools.ScriptInfo.prototype.getUrl):
23659 (devtools.ScriptInfo.prototype.isUnresolved):
23660 (devtools.ScriptInfo.prototype.getBreakpointInfo):
23661 (devtools.ScriptInfo.prototype.addBreakpointInfo):
23662 (devtools.ScriptInfo.prototype.removeBreakpointInfo):
23663 (devtools.BreakpointInfo):
23664 (devtools.BreakpointInfo.prototype.getLine):
23665 (devtools.BreakpointInfo.prototype.getV8Id):
23666 (devtools.BreakpointInfo.prototype.setV8Id):
23667 (devtools.BreakpointInfo.prototype.markAsRemoved):
23668 (devtools.BreakpointInfo.prototype.isRemoved):
23669 (devtools.CallFrame):
23670 (devtools.CallFrame.prototype.evaluate_):
23671 (devtools.DebugCommand):
23672 (devtools.DebugCommand.prototype.getSequenceNumber):
23673 (devtools.DebugCommand.prototype.toJSONProtocol):
23674 (devtools.DebuggerMessage):
23675 (devtools.DebuggerMessage.prototype.getType):
23676 (devtools.DebuggerMessage.prototype.getEvent):
23677 (devtools.DebuggerMessage.prototype.getCommand):
23678 (devtools.DebuggerMessage.prototype.getRequestSeq):
23679 (devtools.DebuggerMessage.prototype.isRunning):
23680 (devtools.DebuggerMessage.prototype.isSuccess):
23681 (devtools.DebuggerMessage.prototype.getMessage):
23682 (devtools.DebuggerMessage.prototype.getBody):
23683 (devtools.DebuggerMessage.prototype.lookup):
23684 * src/js/DevTools.js: Added.
23685 (devtools.dispatch):
23686 (devtools.ToolsAgent):
23687 (devtools.ToolsAgent.prototype.reset):
23688 (devtools.ToolsAgent.prototype.evaluateJavaScript):
23689 (devtools.ToolsAgent.prototype.getDebuggerAgent):
23690 (devtools.ToolsAgent.prototype.getProfilerAgent):
23691 (devtools.ToolsAgent.prototype.frameNavigate_):
23692 (devtools.ToolsAgent.prototype.dispatchOnClient_):
23693 (devtools.ToolsAgent.prototype.evaluate):
23694 (WebInspector.setResourcesPanelEnabled):
23697 (WebInspector.loaded):
23699 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
23700 (WebInspector.ScriptView.prototype.didResolveScriptSource_):
23701 (WebInspector.UnresolvedPropertyValue):
23702 (WebInspector.UIString):
23703 (WebInspector.resourceTrackingWasEnabled):
23704 (WebInspector.resourceTrackingWasDisabled):
23705 (WebInspector.TestController.prototype.runAfterPendingDispatches):
23706 (WebInspector.queuesAreEmpty):
23707 (WebInspector.pausedScript):
23708 * src/js/DevToolsHostStub.js: Added.
23709 (.RemoteDebuggerAgentStub):
23710 (.RemoteDebuggerAgentStub.prototype.getContextId):
23711 (.RemoteProfilerAgentStub):
23712 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
23713 (.RemoteProfilerAgentStub.prototype.getLogLines):
23714 (.RemoteToolsAgentStub):
23715 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
23716 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
23717 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
23718 (.ProfilerStubHelper):
23719 (.ProfilerStubHelper.GetInstance):
23720 (.ProfilerStubHelper.prototype.StopProfiling):
23721 (.ProfilerStubHelper.prototype.StartProfiling):
23722 (.ProfilerStubHelper.prototype.getActiveProfilerModules):
23723 (.ProfilerStubHelper.prototype.getLogLines):
23724 (.RemoteDebuggerCommandExecutorStub):
23725 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
23726 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
23727 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
23728 (.DevToolsHostStub):
23729 (.DevToolsHostStub.prototype.reset):
23730 (.DevToolsHostStub.prototype.setting):
23731 (.DevToolsHostStub.prototype.setSetting):
23732 * src/js/HeapProfilerPanel.js: Added.
23733 (WebInspector.ProfilesPanel.prototype.addSnapshot):
23734 (WebInspector.HeapSnapshotView):
23735 (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
23736 (WebInspector.HeapSnapshotView.prototype.get profile):
23737 (WebInspector.HeapSnapshotView.prototype.set profile):
23738 (WebInspector.HeapSnapshotView.prototype.show):
23739 (WebInspector.HeapSnapshotView.prototype.hide):
23740 (WebInspector.HeapSnapshotView.prototype.resize):
23741 (WebInspector.HeapSnapshotView.prototype.refresh):
23742 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
23743 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
23744 (WebInspector.HeapSnapshotView.prototype.searchCanceled):
23745 (WebInspector.HeapSnapshotView.prototype.performSearch):
23746 (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
23747 (WebInspector.HeapSnapshotView.prototype._changeBase):
23748 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
23749 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
23750 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
23751 (WebInspector.HeapSnapshotView.prototype._percentClicked):
23752 (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
23753 (WebInspector.HeapSnapshotView.prototype._sortData):
23754 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
23755 (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
23756 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
23757 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
23758 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
23759 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
23760 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
23761 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
23762 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
23763 (WebInspector.HeapSummaryCalculator):
23764 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
23765 (WebInspector.HeapSummaryCalculator.prototype.formatValue):
23766 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
23767 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
23768 (WebInspector.HeapSummaryCountCalculator):
23769 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
23770 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
23771 (WebInspector.HeapSummarySizeCalculator):
23772 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
23773 (WebInspector.HeapSnapshotSidebarTreeElement):
23774 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
23775 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
23776 (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
23777 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
23778 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
23779 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
23780 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
23781 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
23782 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
23783 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
23784 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
23785 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
23786 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
23787 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
23788 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
23789 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
23790 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
23791 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
23792 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
23793 (WebInspector.HeapSnapshotDataGridNode):
23794 (WebInspector.HeapSnapshotDataGridList):
23795 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
23796 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
23797 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
23798 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
23799 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
23800 (WebInspector.HeapSnapshotDataGridList.propertyComparator):
23801 (WebInspector.HeapSnapshotDataGridRetainerNode):
23802 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
23803 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
23804 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
23805 (WebInspector.HeapSnapshotProfileType):
23806 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
23807 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
23808 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
23809 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
23810 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
23811 (WebInspector.HeapSnapshotProfileType.prototype.createView):
23813 * src/js/InjectDispatch.js: Added.
23814 (InspectorControllerDispatcher.dispatch):
23815 (ApuAgentDispatcher.dispatchToApu):
23818 * src/js/InspectorControllerImpl.js: Added.
23819 (devtools.InspectorBackendImpl):
23820 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
23821 (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
23822 (devtools.InspectorBackendImpl.prototype.profilerEnabled):
23823 (devtools.InspectorBackendImpl.prototype.addBreakpoint):
23824 (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
23825 (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
23826 (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
23827 (devtools.InspectorBackendImpl.prototype.resumeDebugger):
23828 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
23829 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
23830 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
23831 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
23832 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
23833 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
23834 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
23835 (devtools.InspectorBackendImpl.prototype.startProfiling):
23836 (devtools.InspectorBackendImpl.prototype.stopProfiling):
23837 (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
23838 (devtools.InspectorBackendImpl.prototype.addFullProfile):
23839 (devtools.InspectorBackendImpl.prototype.getProfile):
23840 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
23841 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
23842 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
23843 (devtools.InspectorBackendImpl.prototype.callInspectorController_):
23844 * src/js/ProfilerAgent.js: Added.
23845 (devtools.ProfilerAgent):
23846 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
23847 (devtools.ProfilerAgent.prototype.initializeProfiling):
23848 (devtools.ProfilerAgent.prototype.startProfiling):
23849 (devtools.ProfilerAgent.prototype.stopProfiling):
23850 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
23851 (devtools.ProfilerAgent.prototype.didGetLogLines_):
23852 * src/js/ProfilerProcessor.js: Added.
23853 (devtools.profiler.WebKitViewBuilder):
23854 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
23855 (devtools.profiler.WebKitViewNode):
23856 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
23857 (devtools.profiler.JsProfile):
23858 (devtools.profiler.JsProfile.prototype.skipThisFunction):
23859 (devtools.profiler.Processor):
23860 (devtools.profiler.Processor.prototype.printError):
23861 (devtools.profiler.Processor.prototype.skipDispatch):
23862 (devtools.profiler.Processor.prototype.setCallbacks):
23863 (devtools.profiler.Processor.prototype.setNewProfileCallback):
23864 (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
23865 (devtools.profiler.Processor.prototype.processProfiler_):
23866 (devtools.profiler.Processor.prototype.processCodeCreation_):
23867 (devtools.profiler.Processor.prototype.processCodeMove_):
23868 (devtools.profiler.Processor.prototype.processCodeDelete_):
23869 (devtools.profiler.Processor.prototype.processFunctionCreation_):
23870 (devtools.profiler.Processor.prototype.processFunctionMove_):
23871 (devtools.profiler.Processor.prototype.processFunctionDelete_):
23872 (devtools.profiler.Processor.prototype.processTick_):
23873 (devtools.profiler.Processor.prototype.processTickV2_):
23874 (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
23875 (devtools.profiler.Processor.prototype.processHeapSampleStats_):
23876 (devtools.profiler.Processor.prototype.processHeapSampleItem_):
23877 (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
23878 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
23879 (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
23880 (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
23881 (devtools.profiler.Processor.prototype.createProfileForView):
23882 * src/js/Tests.js: Added.
23884 (.TestSuite.prototype.fail):
23885 (.TestSuite.prototype.assertEquals):
23886 (.TestSuite.prototype.assertTrue):
23887 (.TestSuite.prototype.assertContains):
23888 (.TestSuite.prototype.takeControl):
23889 (.TestSuite.prototype.releaseControl):
23890 (.TestSuite.prototype.reportOk_):
23891 (.TestSuite.prototype.reportFailure_):
23892 (.TestSuite.prototype.runTest):
23893 (.TestSuite.prototype.showPanel):
23894 (.TestSuite.prototype.addSniffer.receiver.methodName):
23895 (.TestSuite.prototype.addSniffer):
23896 (.TestSuite.prototype.testHostIsPresent):
23897 (.TestSuite.prototype.testElementsTreeRoot):
23898 (.TestSuite.prototype.testMainResource):
23899 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
23900 (.TestSuite.prototype.testResourceHeaders):
23901 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
23902 (.TestSuite.prototype.testCachedResourceMimeType):
23903 (.TestSuite.prototype.testProfilerTab):
23904 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
23905 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
23906 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
23907 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
23908 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
23909 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
23910 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
23911 (.TestSuite.prototype.testPauseOnException):
23912 (.TestSuite.prototype.testPauseWhenLoadingDevTools):
23913 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
23914 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
23915 (.TestSuite.prototype.testPauseWhenScriptIsRunning):
23916 (.TestSuite.prototype.optionsToString_):
23917 (.TestSuite.prototype.evaluateInConsole_):
23918 (.TestSuite.prototype.waitForSetBreakpointResponse_):
23919 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
23920 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
23921 (.TestSuite.prototype.testCompletionOnPause):
23922 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
23923 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
23924 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
23925 (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
23926 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
23927 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
23928 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
23929 (.TestSuite.prototype._checkExecutionLine):
23930 (.TestSuite.prototype._scriptsAreParsed):
23931 (.TestSuite.prototype._waitForScriptPause):
23932 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
23933 (.TestSuite.prototype._checkSourceFrameWhenLoaded):
23934 (.TestSuite.prototype._performSteps.doNextAction):
23935 (.TestSuite.prototype._performSteps):
23936 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
23937 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
23938 (.TestSuite.prototype._waitUntilScriptsAreParsed):
23939 (.TestSuite.prototype._executeFunctionForStepTest):
23940 (.TestSuite.prototype.testStepOver):
23941 (.TestSuite.prototype.testStepOut):
23942 (.TestSuite.prototype.testStepIn):
23943 (.TestSuite.prototype._evaluateXpath):
23944 (.TestSuite.prototype._findNode):
23945 (.TestSuite.prototype._findText):
23946 (.TestSuite.prototype._nodeIterator):
23947 (.TestSuite.prototype._checkScopeSectionDiv):
23948 (.TestSuite.prototype._expandScopeSections.updateListener):
23949 (.TestSuite.prototype._expandScopeSections):
23950 (.TestSuite.prototype.testExpandScope):
23951 (.TestSuite.prototype.testExpandScope.examineScopes):
23952 (.TestSuite.prototype._findChildProperty):
23953 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
23954 (.TestSuite.prototype._hookGetPropertiesCallback.try):
23955 (.TestSuite.prototype._hookGetPropertiesCallback):
23956 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
23957 (.TestSuite.prototype.testDebugIntrinsicProperties):
23958 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
23959 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
23960 (.TestSuite.createKeyEvent):
23961 (.TestSuite.prototype.testConsoleLog.assertNext):
23962 (.TestSuite.prototype.testConsoleLog):
23963 (.TestSuite.prototype.testEvalGlobal.initEval):
23964 (.TestSuite.prototype.testEvalGlobal):
23965 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
23966 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
23967 (.uiTests.runAllTests):
23968 (.uiTests.runTest):
23970 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
23972 Reviewed by Pavel Feldman.
23974 Upstream JavaScript part of DevTools WebKit API implementation
23976 https://bugs.webkit.org/show_bug.cgi?id=34744
23978 * WebKit.gypi: Added.
23979 * src/js/DebuggerAgent.js: Added.
23980 (devtools.DebuggerAgent):
23981 (devtools.DebuggerAgent.prototype.reset):
23982 (devtools.DebuggerAgent.prototype.initUI):
23983 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
23984 (devtools.DebuggerAgent.prototype.resolveScriptSource):
23985 (devtools.DebuggerAgent.prototype.pauseExecution):
23986 (devtools.DebuggerAgent.prototype.addBreakpoint):
23987 (devtools.DebuggerAgent.prototype.removeBreakpoint):
23988 (devtools.DebuggerAgent.prototype.updateBreakpoint):
23989 (devtools.DebuggerAgent.prototype.stepIntoStatement):
23990 (devtools.DebuggerAgent.prototype.stepOutOfFunction):
23991 (devtools.DebuggerAgent.prototype.stepOverStatement):
23992 (devtools.DebuggerAgent.prototype.resumeExecution):
23993 (devtools.DebuggerAgent.prototype.createExceptionMessage_):
23994 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
23995 (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
23996 (devtools.DebuggerAgent.prototype.pauseOnExceptions):
23997 (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
23998 (devtools.DebuggerAgent.prototype.requestEvaluate):
23999 (devtools.DebuggerAgent.prototype.resolveChildren):
24000 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
24001 (devtools.DebuggerAgent.prototype.resolveScope):
24002 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
24003 (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
24004 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
24005 (devtools.DebuggerAgent.prototype.getScriptContextType):
24006 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
24007 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
24008 (devtools.DebuggerAgent.prototype.requestBacktrace_):
24009 (devtools.DebuggerAgent.sendCommand_):
24010 (devtools.DebuggerAgent.prototype.stepCommand_):
24011 (devtools.DebuggerAgent.prototype.requestLookup_):
24012 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
24013 (devtools.DebuggerAgent.prototype.setContextId_):
24014 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
24015 (devtools.DebuggerAgent.prototype.handleBreakEvent_):
24016 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
24017 (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
24018 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
24019 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
24020 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
24021 (devtools.DebuggerAgent.prototype.addScriptInfo_):
24022 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
24023 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
24024 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
24025 (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
24026 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
24027 (devtools.DebuggerAgent.prototype.formatCallFrame_):
24028 (devtools.DebuggerAgent.formatObjectProperties_):
24029 (devtools.DebuggerAgent.propertiesToProxies_):
24030 (devtools.DebuggerAgent.formatObjectProxy_):
24031 (devtools.DebuggerAgent.webkitToV8LineNumber_):
24032 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
24033 (devtools.ScriptInfo):
24034 (devtools.ScriptInfo.prototype.getLineOffset):
24035 (devtools.ScriptInfo.prototype.getContextType):
24036 (devtools.ScriptInfo.prototype.getUrl):
24037 (devtools.ScriptInfo.prototype.isUnresolved):
24038 (devtools.ScriptInfo.prototype.getBreakpointInfo):
24039 (devtools.ScriptInfo.prototype.addBreakpointInfo):
24040 (devtools.ScriptInfo.prototype.removeBreakpointInfo):
24041 (devtools.BreakpointInfo):
24042 (devtools.BreakpointInfo.prototype.getLine):
24043 (devtools.BreakpointInfo.prototype.getV8Id):
24044 (devtools.BreakpointInfo.prototype.setV8Id):
24045 (devtools.BreakpointInfo.prototype.markAsRemoved):
24046 (devtools.BreakpointInfo.prototype.isRemoved):
24047 (devtools.CallFrame):
24048 (devtools.CallFrame.prototype.evaluate_):
24049 (devtools.DebugCommand):
24050 (devtools.DebugCommand.prototype.getSequenceNumber):
24051 (devtools.DebugCommand.prototype.toJSONProtocol):
24052 (devtools.DebuggerMessage):
24053 (devtools.DebuggerMessage.prototype.getType):
24054 (devtools.DebuggerMessage.prototype.getEvent):
24055 (devtools.DebuggerMessage.prototype.getCommand):
24056 (devtools.DebuggerMessage.prototype.getRequestSeq):
24057 (devtools.DebuggerMessage.prototype.isRunning):
24058 (devtools.DebuggerMessage.prototype.isSuccess):
24059 (devtools.DebuggerMessage.prototype.getMessage):
24060 (devtools.DebuggerMessage.prototype.getBody):
24061 (devtools.DebuggerMessage.prototype.lookup):
24062 * src/js/DevTools.js: Added.
24063 (devtools.dispatch):
24064 (devtools.ToolsAgent):
24065 (devtools.ToolsAgent.prototype.reset):
24066 (devtools.ToolsAgent.prototype.evaluateJavaScript):
24067 (devtools.ToolsAgent.prototype.getDebuggerAgent):
24068 (devtools.ToolsAgent.prototype.getProfilerAgent):
24069 (devtools.ToolsAgent.prototype.frameNavigate_):
24070 (devtools.ToolsAgent.prototype.dispatchOnClient_):
24071 (devtools.ToolsAgent.prototype.evaluate):
24072 (WebInspector.setResourcesPanelEnabled):
24075 (WebInspector.loaded):
24077 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
24078 (WebInspector.ScriptView.prototype.didResolveScriptSource_):
24079 (WebInspector.UnresolvedPropertyValue):
24080 (WebInspector.UIString):
24081 (WebInspector.resourceTrackingWasEnabled):
24082 (WebInspector.resourceTrackingWasDisabled):
24083 (WebInspector.TestController.prototype.runAfterPendingDispatches):
24084 (WebInspector.queuesAreEmpty):
24085 (WebInspector.pausedScript):
24086 * src/js/DevToolsHostStub.js: Added.
24087 (.RemoteDebuggerAgentStub):
24088 (.RemoteDebuggerAgentStub.prototype.getContextId):
24089 (.RemoteProfilerAgentStub):
24090 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
24091 (.RemoteProfilerAgentStub.prototype.getLogLines):
24092 (.RemoteToolsAgentStub):
24093 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
24094 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
24095 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
24096 (.ProfilerStubHelper):
24097 (.ProfilerStubHelper.GetInstance):
24098 (.ProfilerStubHelper.prototype.StopProfiling):
24099 (.ProfilerStubHelper.prototype.StartProfiling):
24100 (.ProfilerStubHelper.prototype.getActiveProfilerModules):
24101 (.ProfilerStubHelper.prototype.getLogLines):
24102 (.RemoteDebuggerCommandExecutorStub):
24103 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
24104 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
24105 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
24106 (.DevToolsHostStub):
24107 (.DevToolsHostStub.prototype.reset):
24108 (.DevToolsHostStub.prototype.setting):
24109 (.DevToolsHostStub.prototype.setSetting):
24110 * src/js/HeapProfilerPanel.js: Added.
24111 (WebInspector.ProfilesPanel.prototype.addSnapshot):
24112 (WebInspector.HeapSnapshotView):
24113 (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
24114 (WebInspector.HeapSnapshotView.prototype.get profile):
24115 (WebInspector.HeapSnapshotView.prototype.set profile):
24116 (WebInspector.HeapSnapshotView.prototype.show):
24117 (WebInspector.HeapSnapshotView.prototype.hide):
24118 (WebInspector.HeapSnapshotView.prototype.resize):
24119 (WebInspector.HeapSnapshotView.prototype.refresh):
24120 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
24121 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
24122 (WebInspector.HeapSnapshotView.prototype.searchCanceled):
24123 (WebInspector.HeapSnapshotView.prototype.performSearch):
24124 (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
24125 (WebInspector.HeapSnapshotView.prototype._changeBase):
24126 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
24127 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
24128 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
24129 (WebInspector.HeapSnapshotView.prototype._percentClicked):
24130 (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
24131 (WebInspector.HeapSnapshotView.prototype._sortData):
24132 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
24133 (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
24134 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
24135 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
24136 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
24137 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
24138 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
24139 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
24140 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
24141 (WebInspector.HeapSummaryCalculator):
24142 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
24143 (WebInspector.HeapSummaryCalculator.prototype.formatValue):
24144 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
24145 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
24146 (WebInspector.HeapSummaryCountCalculator):
24147 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
24148 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
24149 (WebInspector.HeapSummarySizeCalculator):
24150 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
24151 (WebInspector.HeapSnapshotSidebarTreeElement):
24152 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
24153 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
24154 (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
24155 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
24156 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
24157 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
24158 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
24159 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
24160 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
24161 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
24162 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
24163 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
24164 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
24165 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
24166 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
24167 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
24168 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
24169 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
24170 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
24171 (WebInspector.HeapSnapshotDataGridNode):
24172 (WebInspector.HeapSnapshotDataGridList):
24173 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
24174 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
24175 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
24176 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
24177 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
24178 (WebInspector.HeapSnapshotDataGridList.propertyComparator):
24179 (WebInspector.HeapSnapshotDataGridRetainerNode):
24180 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
24181 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
24182 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
24183 (WebInspector.HeapSnapshotProfileType):
24184 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
24185 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
24186 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
24187 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
24188 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
24189 (WebInspector.HeapSnapshotProfileType.prototype.createView):
24191 * src/js/InjectDispatch.js: Added.
24192 (InspectorControllerDispatcher.dispatch):
24193 (ApuAgentDispatcher.dispatchToApu):
24196 * src/js/InspectorControllerImpl.js: Added.
24197 (devtools.InspectorBackendImpl):
24198 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
24199 (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
24200 (devtools.InspectorBackendImpl.prototype.profilerEnabled):
24201 (devtools.InspectorBackendImpl.prototype.addBreakpoint):
24202 (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
24203 (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
24204 (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
24205 (devtools.InspectorBackendImpl.prototype.resumeDebugger):
24206 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
24207 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
24208 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
24209 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
24210 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
24211 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
24212 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
24213 (devtools.InspectorBackendImpl.prototype.startProfiling):
24214 (devtools.InspectorBackendImpl.prototype.stopProfiling):
24215 (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
24216 (devtools.InspectorBackendImpl.prototype.addFullProfile):
24217 (devtools.InspectorBackendImpl.prototype.getProfile):
24218 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
24219 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
24220 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
24221 (devtools.InspectorBackendImpl.prototype.callInspectorController_):
24222 * src/js/ProfilerAgent.js: Added.
24223 (devtools.ProfilerAgent):
24224 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
24225 (devtools.ProfilerAgent.prototype.initializeProfiling):
24226 (devtools.ProfilerAgent.prototype.startProfiling):
24227 (devtools.ProfilerAgent.prototype.stopProfiling):
24228 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
24229 (devtools.ProfilerAgent.prototype.didGetLogLines_):
24230 * src/js/ProfilerProcessor.js: Added.
24231 (devtools.profiler.WebKitViewBuilder):
24232 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
24233 (devtools.profiler.WebKitViewNode):
24234 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
24235 (devtools.profiler.JsProfile):
24236 (devtools.profiler.JsProfile.prototype.skipThisFunction):
24237 (devtools.profiler.Processor):
24238 (devtools.profiler.Processor.prototype.printError):
24239 (devtools.profiler.Processor.prototype.skipDispatch):
24240 (devtools.profiler.Processor.prototype.setCallbacks):
24241 (devtools.profiler.Processor.prototype.setNewProfileCallback):
24242 (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
24243 (devtools.profiler.Processor.prototype.processProfiler_):
24244 (devtools.profiler.Processor.prototype.processCodeCreation_):
24245 (devtools.profiler.Processor.prototype.processCodeMove_):
24246 (devtools.profiler.Processor.prototype.processCodeDelete_):
24247 (devtools.profiler.Processor.prototype.processFunctionCreation_):
24248 (devtools.profiler.Processor.prototype.processFunctionMove_):
24249 (devtools.profiler.Processor.prototype.processFunctionDelete_):
24250 (devtools.profiler.Processor.prototype.processTick_):
24251 (devtools.profiler.Processor.prototype.processTickV2_):
24252 (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
24253 (devtools.profiler.Processor.prototype.processHeapSampleStats_):
24254 (devtools.profiler.Processor.prototype.processHeapSampleItem_):
24255 (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
24256 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
24257 (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
24258 (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
24259 (devtools.profiler.Processor.prototype.createProfileForView):
24260 * src/js/Tests.js: Added.
24262 (.TestSuite.prototype.fail):
24263 (.TestSuite.prototype.assertEquals):
24264 (.TestSuite.prototype.assertTrue):
24265 (.TestSuite.prototype.assertContains):
24266 (.TestSuite.prototype.takeControl):
24267 (.TestSuite.prototype.releaseControl):
24268 (.TestSuite.prototype.reportOk_):
24269 (.TestSuite.prototype.reportFailure_):
24270 (.TestSuite.prototype.runTest):
24271 (.TestSuite.prototype.showPanel):
24272 (.TestSuite.prototype.addSniffer.receiver.methodName):
24273 (.TestSuite.prototype.addSniffer):
24274 (.TestSuite.prototype.testHostIsPresent):
24275 (.TestSuite.prototype.testElementsTreeRoot):
24276 (.TestSuite.prototype.testMainResource):
24277 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
24278 (.TestSuite.prototype.testResourceHeaders):
24279 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
24280 (.TestSuite.prototype.testCachedResourceMimeType):
24281 (.TestSuite.prototype.testProfilerTab):
24282 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
24283 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
24284 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
24285 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
24286 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
24287 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
24288 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
24289 (.TestSuite.prototype.testPauseOnException):
24290 (.TestSuite.prototype.testPauseWhenLoadingDevTools):
24291 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
24292 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
24293 (.TestSuite.prototype.testPauseWhenScriptIsRunning):
24294 (.TestSuite.prototype.optionsToString_):
24295 (.TestSuite.prototype.evaluateInConsole_):
24296 (.TestSuite.prototype.waitForSetBreakpointResponse_):
24297 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
24298 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
24299 (.TestSuite.prototype.testCompletionOnPause):
24300 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
24301 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
24302 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
24303 (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
24304 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
24305 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
24306 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
24307 (.TestSuite.prototype._checkExecutionLine):
24308 (.TestSuite.prototype._scriptsAreParsed):
24309 (.TestSuite.prototype._waitForScriptPause):
24310 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
24311 (.TestSuite.prototype._checkSourceFrameWhenLoaded):
24312 (.TestSuite.prototype._performSteps.doNextAction):
24313 (.TestSuite.prototype._performSteps):
24314 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
24315 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
24316 (.TestSuite.prototype._waitUntilScriptsAreParsed):
24317 (.TestSuite.prototype._executeFunctionForStepTest):
24318 (.TestSuite.prototype.testStepOver):
24319 (.TestSuite.prototype.testStepOut):
24320 (.TestSuite.prototype.testStepIn):
24321 (.TestSuite.prototype._evaluateXpath):
24322 (.TestSuite.prototype._findNode):
24323 (.TestSuite.prototype._findText):
24324 (.TestSuite.prototype._nodeIterator):
24325 (.TestSuite.prototype._checkScopeSectionDiv):
24326 (.TestSuite.prototype._expandScopeSections.updateListener):
24327 (.TestSuite.prototype._expandScopeSections):
24328 (.TestSuite.prototype.testExpandScope):
24329 (.TestSuite.prototype.testExpandScope.examineScopes):
24330 (.TestSuite.prototype._findChildProperty):
24331 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
24332 (.TestSuite.prototype._hookGetPropertiesCallback.try):
24333 (.TestSuite.prototype._hookGetPropertiesCallback):
24334 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
24335 (.TestSuite.prototype.testDebugIntrinsicProperties):
24336 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
24337 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
24338 (.TestSuite.createKeyEvent):
24339 (.TestSuite.prototype.testConsoleLog.assertNext):
24340 (.TestSuite.prototype.testConsoleLog):
24341 (.TestSuite.prototype.testEvalGlobal.initEval):
24342 (.TestSuite.prototype.testEvalGlobal):
24343 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
24344 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
24345 (.uiTests.runAllTests):
24346 (.uiTests.runTest):
24348 2010-02-09 Avi Drissman <avi@chromium.org>
24350 Reviewed by David Levin.
24352 Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy
24353 https://bugs.webkit.org/show_bug.cgi?id=34615
24355 * src/WebViewImpl.cpp:
24356 (WebKit::WebViewImpl::keyEventDefault):
24358 2010-02-08 Evan Martin <evan@chromium.org>
24360 dlopen() knows how to search the library search path, so just rely on
24361 it. While I'm at it, print out the dlerror() error message on failure.
24363 [chromium] webgl shouldn't hard code library search path
24364 https://bugs.webkit.org/show_bug.cgi?id=34659
24366 * src/GraphicsContext3D.cpp:
24367 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
24368 (WebCore::GraphicsContext3DInternal::GLConnection::create):
24370 2010-02-08 Charlie Reis <creis@chromium.org>
24372 Reviewed by Darin Adler.
24374 onbeforeunload not called at window close + frame or iframe focused
24375 https://bugs.webkit.org/show_bug.cgi?id=27481
24376 http://code.google.com/p/chromium/issues/detail?id=32615
24377 http://code.google.com/p/chromium/issues/detail?id=17157
24379 Chromium and WebKit on Windows will now fire beforeunload handlers
24380 even if an inner frame is focused.
24382 Layout tests aren't able to test this bug, since it requires closing
24383 the actual browser window, not calling window.close(). Instead,
24384 test with WebCore/manual-tests/onbeforeunload-focused-iframe.html.
24386 * src/WebViewImpl.cpp:
24387 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
24389 2010-02-08 Pavel Feldman <pfeldman@chromium.org>
24391 Reviewed by David Levin.
24393 WebKit/chromium: Custom context menu does not work in inspector.
24394 https://bugs.webkit.org/show_bug.cgi?id=34711
24396 * src/WebDevToolsFrontendImpl.cpp:
24397 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
24399 2010-02-08 Nate Chapin <japhet@chromium.org>
24401 Reviewed by Darin Fisher.
24403 Check that the index passed into BackForwardListClientImpl::itemAtIndex()
24404 is valid, and return null if it isn't.
24406 https://bugs.webkit.org/show_bug.cgi?id=34722
24408 * src/BackForwardListClientImpl.cpp:
24409 (WebKit::BackForwardListClientImpl::itemAtIndex):
24411 2010-02-05 Dumitru Daniliuc <dumi@chromium.org>
24413 Reviewed by Jeremy Orlow.
24415 Adding a way to close all database handles pointing to a certain
24416 database as soon as possible.
24417 https://bugs.webkit.org/show_bug.cgi?id=34619
24419 * public/WebDatabase.h:
24420 * src/WebDatabase.cpp:
24421 (WebKit::WebDatabase::closeDatabaseImmediately):
24423 2010-02-08 Dirk Schulze <krit@webkit.org>
24425 Reviewed by Nikolas Zimmermann.
24427 Add back an AffineTransform class for use by SVG
24428 https://bugs.webkit.org/show_bug.cgi?id=33750
24430 Use AffineTransform instead of TransformationMatrix here.
24432 * tests/TransparencyWinTest.cpp:
24435 2010-02-07 Jian Li <jianli@chromium.org>
24437 Reviewed by Darin Fisher.
24439 [chromium] Change chromium interface to handle DownloadURL format.
24440 https://bugs.webkit.org/show_bug.cgi?id=34655
24442 * public/WebDragData.h:
24443 * src/WebDragData.cpp:
24444 (WebKit::WebDragData::downloadMetadata):
24445 (WebKit::WebDragData::setDownloadMetadata):
24447 2010-02-06 Dimitri Glazkov <dglazkov@chromium.org>
24449 No review, rolling out r54364.
24450 http://trac.webkit.org/changeset/54364
24451 https://bugs.webkit.org/show_bug.cgi?id=34464
24453 Introduced asserts in layout tests, needs more testing
24456 * public/WebViewClient.h:
24457 * src/ChromeClientImpl.cpp:
24458 * src/ChromeClientImpl.h:
24460 2010-02-05 James Hawkins <jhawkins@chromium.org>
24462 Reviewed by David Levin.
24464 [Chromium] Rename autocomplete* to suggestions* to prepare for the
24465 refactoring of AutocompletePopupMenuClient.
24467 https://bugs.webkit.org/show_bug.cgi?id=34664
24469 * public/WebView.h:
24470 * src/AutocompletePopupMenuClient.cpp:
24471 (WebKit::AutocompletePopupMenuClient::popupDidHide):
24472 * src/EditorClientImpl.cpp:
24473 (WebKit::EditorClientImpl::textFieldDidEndEditing):
24474 (WebKit::EditorClientImpl::doAutofill):
24475 * src/WebViewImpl.cpp:
24477 (WebKit::WebViewImpl::WebViewImpl):
24478 (WebKit::WebViewImpl::mouseDown):
24479 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
24480 (WebKit::WebViewImpl::setFocus):
24481 (WebKit::WebViewImpl::applyAutofillSuggestions):
24482 (WebKit::WebViewImpl::hideAutofillPopup):
24483 (WebKit::WebViewImpl::hideSuggestionsPopup):
24484 (WebKit::WebViewImpl::refreshSuggestionsPopup):
24485 * src/WebViewImpl.h:
24486 (WebKit::WebViewImpl::suggestionsPopupDidHide):
24488 2010-02-05 James Hawkins <jhawkins@chromium.org>
24490 Reviewed by David Levin.
24492 [Chromium] Remove an unused forward declaration in WebKitClient.h.
24494 https://bugs.webkit.org/show_bug.cgi?id=34622
24496 * public/WebKitClient.h:
24498 2010-02-05 James Hawkins <jhawkins@chromium.org>
24500 Reviewed by Darin Fisher.
24502 Implement WebInputElement::isActivatedSubmit().
24504 https://bugs.webkit.org/show_bug.cgi?id=34623
24506 * public/WebInputElement.h:
24507 * src/WebInputElement.cpp:
24508 (WebKit::WebInputElement::isActivatedSubmit):
24510 2010-02-05 Nate Chapin <japhet@chromium.org>
24512 Reviewed by Dimitri Glazkov.
24514 Update code for getting a v8::FunctionTemplate.
24516 https://bugs.webkit.org/show_bug.cgi?id=34606
24518 * src/WebDevToolsAgentImpl.cpp:
24519 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
24521 2010-02-05 Mikhail Naganov <mnaganov@chromium.org>
24523 Reviewed by Pavel Feldman.
24525 Enable JAVASCRIPT_DEBUGGER in chromium port.
24527 https://bugs.webkit.org/show_bug.cgi?id=34638
24531 2010-02-04 Yaar Schnitman <yaar@chromium.org>
24533 Reviewed by Darin Fisher.
24535 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin
24536 https://bugs.webkit.org/show_bug.cgi?id=34509
24538 Resubmit: The previous commit (r54333) was rolled back.
24541 * tests/TransparencyWinTest.cpp: Added.
24542 (WebCore::RECTToFloatRect):
24543 (WebCore::drawNativeRect):
24544 (WebCore::getPixelAt):
24545 (WebCore::clearTopLayerAlphaChannel):
24546 (WebCore::clearTopLayerAlphaPixel):
24547 (WebCore::operator<<):
24549 * tests/UniscribeHelperTest.cpp: Added.
24550 (WebCore::UniscribeTest::UniscribeTest):
24551 (WebCore::UniscribeTest::MakeFont):
24552 (WebCore::UniscribeTest::SetUp):
24553 (WebCore::UniscribeTest::TearDown):
24556 2010-02-04 Drew Wilson <atwilson@chromium.org>
24558 Reviewed by David Levin.
24560 WorkerContext.close() does not work in the chromium port
24561 https://bugs.webkit.org/show_bug.cgi?id=34551
24563 Test: Adding new downstream test.
24565 * src/WebWorkerBase.cpp:
24566 (WebKit::WebWorkerBase::workerContextClosedTask):
24567 Now shuts down the worker thread when WorkerContext::close() is invoked.
24569 2010-02-04 Chris Guillory <chris.guillory@google.com>
24571 Reviewed by Darin Fisher.
24573 [Chromium] Add function for AccessibilityObject state change notifications.
24575 https://bugs.webkit.org/show_bug.cgi?id=34464
24577 * public/WebViewClient.h:
24578 (WebKit::WebViewClient::didChangeAccessibilityObjectState):
24579 * src/ChromeClientImpl.cpp:
24580 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
24581 * src/ChromeClientImpl.h:
24583 2010-02-04 Jeremy Moskovich <jeremy@chromium.org>
24585 Reviewed by Darin Fisher.
24587 Update comments to better document the possible values of the
24588 writing direction menu state variables.
24590 * public/WebContextMenuData.h:
24592 2010-02-04 Nate Chapin <japhet@chromium.org>
24594 Reviewed by Dimitri Glazkov.
24596 Remove references to V8Custom.
24598 https://bugs.webkit.org/show_bug.cgi?id=32638
24600 * src/DebuggerAgentImpl.cpp:
24601 * src/WebDevToolsFrontendImpl.cpp:
24603 2010-02-04 Yury Semikhatsky <yurys@chromium.org>
24605 Unreviewed. Revert 54333 which broke Chromium build.
24608 * tests/TransparencyWinTest.cpp: Removed.
24609 * tests/UniscribeHelperTest.cpp: Removed.
24611 2010-02-04 Yaar Schnitman <yaar@chromium.org>
24613 Reviewed by Darin Fisher.
24615 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
24616 https://bugs.webkit.org/show_bug.cgi?id=34509
24619 * tests/TransparencyWinTest.cpp: Added.
24620 (WebCore::RECTToFloatRect):
24621 (WebCore::drawNativeRect):
24622 (WebCore::getPixelAt):
24623 (WebCore::clearTopLayerAlphaChannel):
24624 (WebCore::clearTopLayerAlphaPixel):
24625 (WebCore::operator<<):
24627 * tests/UniscribeHelperTest.cpp: Added.
24628 (WebCore::UniscribeTest::UniscribeTest):
24629 (WebCore::UniscribeTest::MakeFont):
24630 (WebCore::UniscribeTest::SetUp):
24631 (WebCore::UniscribeTest::TearDown):
24634 2010-02-04 Jeremy Moskovich <jeremy@chromium.org>
24636 Reviewed by David Levin.
24638 [Chromium] WebKit side of "Writing direction" context menu on OS X.
24639 https://bugs.webkit.org/show_bug.cgi?id=34524
24641 * public/WebContextMenuData.h:
24642 (WebKit::WebContextMenuData::):
24643 * src/ContextMenuClientImpl.cpp:
24644 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
24646 2010-02-03 Drew Wilson <atwilson@chromium.org>
24648 Reviewed by Alexey Proskuryakov.
24650 SharedWorkerScriptLoader should not be an ActiveDOMObject
24651 https://bugs.webkit.org/show_bug.cgi?id=34513
24653 * src/SharedWorkerRepository.cpp:
24654 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
24655 Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
24656 (WebCore::SharedWorkerScriptLoader::parentContext):
24657 (WebCore::pendingLoaders):
24658 Now we manually track pending loads so we can shut them down when the parent context shuts down.
24659 (WebCore::SharedWorkerScriptLoader::contextDetached):
24660 Shuts down/frees any pending worker loads.
24661 (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
24662 Marks the SharedWorker object as not having pending activity if there was a load active (handles case where load was pending when parent document exits).
24663 (WebCore::SharedWorkerScriptLoader::load):
24664 (WebCore::SharedWorkerRepository::documentDetached):
24665 Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
24667 2010-02-03 Alexander Pavlov <apavlov@chromium.org>
24669 Reviewed by Timothy Hatcher.
24671 [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
24672 https://bugs.webkit.org/show_bug.cgi?id=34523
24674 * src/WebDevToolsFrontendImpl.cpp:
24675 (WebKit::WebDevToolsFrontendImpl::jsPlatform):
24677 2010-02-02 Joel Stanley <joel@jms.id.au>
24679 Reviewed by David Levin.
24681 [Chromium] Add API method for setting caret blink frequency.
24682 https://bugs.webkit.org/show_bug.cgi?id=31704
24684 This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
24685 to be called Chromium's API. The API is linux-only as it is currently
24686 the only port to implement RenderTheme::setCaretBlinkInterval.
24688 * WebKit.gyp: Add WebRenderTheme.{h,cpp}
24689 * public/linux/WebRenderTheme.h: Added.
24690 * src/linux/WebRenderTheme.cpp: Added.
24691 (WebKit::setCaretBlinkInterval): Exposed API
24693 2010-02-02 Shinichiro Hamaji <hamaji@chromium.org>
24695 Reviewed by Dimitri Glazkov.
24697 [Chromium] Implement WebFrameImpl::pageNumberForElementById
24698 https://bugs.webkit.org/show_bug.cgi?id=34471
24700 * public/WebFrame.h:
24701 * src/WebFrameImpl.cpp:
24702 (WebKit::WebFrameImpl::pageNumberForElementById):
24703 * src/WebFrameImpl.h:
24705 2010-02-02 Yury Semikhatsky <yurys@chromium.org>
24707 Reviewed by Pavel Feldman.
24709 Upstream DevTools code.
24711 https://bugs.webkit.org/show_bug.cgi?id=34326
24714 * src/APUAgentDelegate.h: Added.
24715 * src/BoundObject.cpp: Added.
24716 (WebKit::BoundObject::BoundObject):
24717 (WebKit::BoundObject::~BoundObject):
24718 (WebKit::BoundObject::addProtoFunction):
24719 (WebKit::BoundObject::build):
24720 * src/BoundObject.h: Added.
24721 * src/DebuggerAgent.h: Added.
24722 * src/DebuggerAgentImpl.cpp: Added.
24723 (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
24724 (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl):
24725 (WebKit::DebuggerAgentImpl::getContextId):
24726 (WebKit::DebuggerAgentImpl::debuggerOutput):
24727 (WebKit::DebuggerAgentImpl::createUtilityContext):
24728 (WebKit::DebuggerAgentImpl::executeUtilityFunction):
24729 (WebKit::DebuggerAgentImpl::executeVoidJavaScript):
24730 (WebKit::DebuggerAgentImpl::page):
24731 * src/DebuggerAgentImpl.h: Added.
24732 (WebKit::DebuggerAgentImpl::setAutoContinueOnException):
24733 (WebKit::DebuggerAgentImpl::autoContinueOnException):
24734 (WebKit::DebuggerAgentImpl::webdevtoolsAgent):
24735 (WebKit::DebuggerAgentImpl::webView):
24736 * src/DebuggerAgentManager.cpp: Added.
24737 (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
24738 (WebKit::DebuggerAgentManager::debugAttach):
24739 (WebKit::DebuggerAgentManager::debugDetach):
24740 (WebKit::DebuggerAgentManager::onV8DebugMessage):
24741 (WebKit::DebuggerAgentManager::pauseScript):
24742 (WebKit::DebuggerAgentManager::executeDebuggerCommand):
24743 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
24744 (WebKit::DebuggerAgentManager::setHostId):
24745 (WebKit::DebuggerAgentManager::onWebViewClosed):
24746 (WebKit::DebuggerAgentManager::onNavigate):
24747 (WebKit::DebuggerAgentManager::sendCommandToV8):
24748 (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
24749 (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context):
24750 (WebKit::DebuggerAgentManager::debuggerAgentForHostId):
24751 * src/DebuggerAgentManager.h: Added.
24752 (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope):
24753 (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope):
24754 * src/DevToolsRPC.h: Added.
24756 (WebKit::DevToolsRPC::Delegate::Delegate):
24757 (WebKit::DevToolsRPC::Delegate::~Delegate):
24758 (WebKit::DevToolsRPC::DevToolsRPC):
24759 (WebKit::DevToolsRPC::~DevToolsRPC):
24760 (WebKit::DevToolsRPC::sendRpcMessage):
24761 * src/DevToolsRPCJS.h: Added.
24762 * src/ProfilerAgent.h: Added.
24763 * src/ProfilerAgentImpl.cpp: Added.
24764 (WebKit::ProfilerAgentImpl::getActiveProfilerModules):
24765 (WebKit::ProfilerAgentImpl::getLogLines):
24766 * src/ProfilerAgentImpl.h: Added.
24767 (WebKit::ProfilerAgentImpl::ProfilerAgentImpl):
24768 (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl):
24769 * src/ToolsAgent.h: Added.
24770 * src/WebDevToolsAgentImpl.cpp: Added.
24772 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
24773 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
24774 (WebKit::WebDevToolsAgentImpl::disposeUtilityContext):
24775 (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary):
24776 (WebKit::WebDevToolsAgentImpl::attach):
24777 (WebKit::WebDevToolsAgentImpl::detach):
24778 (WebKit::WebDevToolsAgentImpl::didNavigate):
24779 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
24780 (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
24781 (WebKit::WebDevToolsAgentImpl::forceRepaint):
24782 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
24783 (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
24784 (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript):
24785 (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend):
24786 (WebKit::WebDevToolsAgentImpl::inspectElementAt):
24787 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
24788 (WebKit::WebDevToolsAgentImpl::sendRpcMessage):
24789 (WebKit::WebDevToolsAgentImpl::compileUtilityScripts):
24790 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
24791 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
24792 (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
24793 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
24794 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
24795 (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
24796 (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
24797 (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
24798 (WebKit::WebDevToolsAgentImpl::inspectorController):
24799 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
24800 (WebKit::WebDevToolsAgentImpl::willSendRequest):
24801 (WebKit::WebDevToolsAgentImpl::didReceiveData):
24802 (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
24803 (WebKit::WebDevToolsAgentImpl::didFinishLoading):
24804 (WebKit::WebDevToolsAgentImpl::didFailLoading):
24805 (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector):
24806 (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled):
24807 (WebKit::WebDevToolsAgent::create):
24808 (WebKit::WebDevToolsAgent::executeDebuggerCommand):
24809 (WebKit::WebDevToolsAgent::debuggerPauseScript):
24810 (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler):
24811 (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
24812 * src/WebDevToolsAgentImpl.h: Added.
24813 (WebKit::WebDevToolsAgentImpl::hostId):
24814 * src/WebDevToolsFrontendImpl.cpp: Added.
24815 (WebKit::ToV8String):
24816 (WebKit::WebDevToolsFrontend::create):
24817 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
24818 (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
24819 (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent):
24820 (WebKit::WebDevToolsFrontendImpl::executeScript):
24821 (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector):
24822 (WebKit::WebDevToolsFrontendImpl::sendRpcMessage):
24823 (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected):
24824 (WebKit::WebDevToolsFrontendImpl::contextMenuCleared):
24825 (WebKit::WebDevToolsFrontendImpl::jsLoaded):
24826 (WebKit::WebDevToolsFrontendImpl::jsPlatform):
24827 (WebKit::WebDevToolsFrontendImpl::jsPort):
24828 (WebKit::WebDevToolsFrontendImpl::jsCopyText):
24829 (WebKit::WebDevToolsFrontendImpl::jsActivateWindow):
24830 (WebKit::WebDevToolsFrontendImpl::jsCloseWindow):
24831 (WebKit::WebDevToolsFrontendImpl::jsDockWindow):
24832 (WebKit::WebDevToolsFrontendImpl::jsUndockWindow):
24833 (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL):
24834 (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels):
24835 (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand):
24836 (WebKit::WebDevToolsFrontendImpl::jsSetting):
24837 (WebKit::WebDevToolsFrontendImpl::jsSetSetting):
24838 (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript):
24839 (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading):
24840 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
24841 * src/WebDevToolsFrontendImpl.h: Added.
24842 (WebKit::WebDevToolsFrontendImpl::MenuProvider::create):
24843 (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider):
24844 (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect):
24845 (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu):
24846 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected):
24847 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared):
24848 (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider):
24850 2010-02-01 Jeremy Orlow <jorlow@chromium.org>
24852 Reviewed by Darin Fisher.
24854 [Chromium] Add WebSecurityOrigin::createFromString factory
24855 https://bugs.webkit.org/show_bug.cgi?id=34460
24857 * public/WebSecurityOrigin.h:
24858 * src/WebSecurityOrigin.cpp:
24859 (WebKit::WebSecurityOrigin::createFromString):
24861 2010-02-02 Kent Tamura <tkent@chromium.org>
24863 Reviewed by Darin Fisher.
24865 [Chromium] Should not select a word on right-click.
24866 https://bugs.webkit.org/show_bug.cgi?id=33364
24868 For non-Mac platforms, do not select a word around the caret when
24869 a context menu is opening. This behavior is not common in non-Mac
24870 platforms, and it prevents pasting with a context menu.
24872 In order that the spell checker works without the selection, we
24873 introduce WebFrame::selectWordAroundCaret(). We can replace a word
24874 around the caret with selectWordAroundCaret() + replaceSelection().
24876 * public/WebFrame.h: Add pure selectWordAroundCaret() declaration.
24877 * src/ContextMenuClientImpl.cpp:
24878 (WebKit::selectMisspelledWord): Move word-selection code to
24879 WebFrameImpl::selectWordAroundPosition(), and clear the selection
24881 * src/WebFrameImpl.cpp:
24882 (WebKit::WebFrameImpl::selectWordAroundPosition):
24883 (WebKit::WebFrameImpl::selectWordAroundCaret):
24884 * src/WebFrameImpl.h: Add selectWordAroundCaret() declaration.
24886 2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>
24888 Unreviewed attempt to fix the broken build.
24890 This was introduced in http://trac.webkit.org/changeset/54182
24892 * src/WebViewImpl.cpp:
24893 (WebKit::WebViewImpl::performMediaPlayerAction):
24895 2010-01-27 Matt Perry <mpcomplete@chromium.org>
24897 Reviewed by Eric Seidel.
24899 Add support for addUserScript to chromium port.
24901 * public/WebView.h:
24902 * src/WebViewImpl.cpp:
24903 (WebKit::WebViewImpl::addUserScript):
24904 (WebKit::WebViewImpl::removeAllUserContent):
24905 * src/WebViewImpl.h:
24907 2010-01-29 Philippe Normand <pnormand@igalia.com>
24909 Reviewed by Eric Carlson.
24911 [GTK] set playbin mute property depending on volume value
24912 https://bugs.webkit.org/show_bug.cgi?id=31586
24914 New API in MediaPlayer for mute control
24916 * public/WebMediaPlayerClient.h:
24917 * src/WebMediaPlayerClientImpl.cpp:
24918 (WebKit::WebMediaPlayerClientImpl::volumeChanged):
24919 (WebKit::WebMediaPlayerClientImpl::muteChanged):
24920 * src/WebMediaPlayerClientImpl.h:
24922 2010-01-31 Kent Tamura <tkent@chromium.org>
24924 Reviewed by Jeremy Orlow.
24926 [Chromium] Fix a bug that a selected word is not recognized as a
24927 spell-check source.
24928 https://bugs.webkit.org/show_bug.cgi?id=33660
24930 * src/ContextMenuClientImpl.cpp:
24931 (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check
24932 the return value of textBreakNext().
24934 2010-01-29 Jeremy Orlow <jorlow@chromium.org>
24936 Reviewed by Eric Seidel.
24938 [Chromium] Clean up WebStorageArea
24939 https://bugs.webkit.org/show_bug.cgi?id=34353
24941 Get rid of legacy glue code and fix a typo.
24943 * public/WebStorageArea.h:
24945 2010-01-29 Jeremy Orlow <jorlow@chromium.org>
24947 Reviewed by Dimitri Glazkov.
24949 A first step towards the Indexed Database API
24950 https://bugs.webkit.org/show_bug.cgi?id=34342
24952 Add runtime enable support for Indexed Database API.
24955 * public/WebRuntimeFeatures.h:
24956 * src/WebRuntimeFeatures.cpp:
24957 (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
24958 (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
24960 2010-01-29 Yury Semikhatsky <yurys@chromium.org>
24962 Reviewed by Pavel Feldman.
24964 Add API methods for loading inspector utility scripts.
24966 https://bugs.webkit.org/show_bug.cgi?id=34326
24968 * public/WebDevToolsAgentClient.h:
24969 (WebKit::WebDevToolsAgentClient::injectedScriptSource):
24970 (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource):
24972 2010-01-29 Darin Fisher <darin@chromium.org>
24974 Reviewed by Adam Barth.
24976 Add FrameLoaderClient::allowImages method to allow the client to
24977 overrule image loading policy on a per frame basis.
24979 https://bugs.webkit.org/show_bug.cgi?id=34225
24981 * public/WebFrameClient.h:
24982 (WebKit::WebFrameClient::allowImages):
24983 * public/WebSettings.h:
24984 * src/FrameLoaderClientImpl.cpp:
24985 (WebKit::FrameLoaderClientImpl::allowImages):
24986 * src/FrameLoaderClientImpl.h:
24987 * src/WebSettingsImpl.cpp:
24988 (WebKit::WebSettingsImpl::setImagesEnabled):
24989 * src/WebSettingsImpl.h:
24991 2010-01-28 Jeremy Orlow <jorlow@chromium.org>
24993 Reviewed by Darin Fisher.
24995 StorageNamespaceProxy::copy() should be a no-op
24996 https://bugs.webkit.org/show_bug.cgi?id=34298
24998 The comment in the code should make clear why.
25000 * public/WebViewClient.h:
25001 * src/StorageNamespaceProxy.cpp:
25002 (WebCore::StorageNamespaceProxy::copy):
25004 2010-01-28 Michael Nordman <michaeln@google.com>
25006 Reviewed by Alexey Proskuryakov.
25008 ApplicationCache events should be deferred until after Document onload has fired.
25009 https://bugs.webkit.org/show_bug.cgi?id=29690
25011 * src/ApplicationCacheHost.cpp:
25012 (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
25013 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
25014 (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
25016 2010-01-27 Aaron Boodman <aa@chromium.org>
25018 Reviewed by Darin Adler.
25020 Send full URL and application id of requesting context to Chromium
25021 when checking notification permissions.
25023 https://bugs.webkit.org/show_bug.cgi?id=34238
25025 * public/WebDocument.h:
25026 * src/WebDocument.cpp:
25027 (WebKit::WebDocument::applicationID):
25028 Implement applicationID() method.
25030 * public/WebNotificationPresenter.h:
25031 * src/NotificationPresenterImpl.cpp:
25032 (WebKit::NotificationPresenterImpl::checkPermission):
25033 * src/NotificationPresenterImpl.h:
25034 Send applicationID and full URL through to Chromium.
25036 2010-01-27 Darin Fisher <darin@chromium.org>
25038 Reviewed by Pavel Feldman.
25040 Expose HistoryItem::documentSequenceNumber
25041 https://bugs.webkit.org/show_bug.cgi?id=34243
25043 * public/WebHistoryItem.h:
25044 * src/WebHistoryItem.cpp:
25045 (WebKit::WebHistoryItem::documentSequenceNumber):
25046 (WebKit::WebHistoryItem::setDocumentSequenceNumber):
25048 2010-01-26 Darin Fisher <darin@chromium.org>
25050 Reviewed by David Levin.
25052 Add methods to support running a nested modal loop outside of WebKit.
25053 https://bugs.webkit.org/show_bug.cgi?id=34199
25055 * public/WebView.h:
25056 * src/WebViewImpl.cpp:
25057 (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer
25058 (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer
25060 2010-01-27 Darin Fisher <darin@chromium.org>
25062 Reviewed by Dimitri Glazkov.
25064 Adding missing WebMutationEvent.cpp file to fix build bustage.
25065 https://bugs.webkit.org/show_bug.cgi?id=33882
25067 * public/WebMutationEvent.h: Remove unnecessary constructor.
25068 * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h.
25069 * src/WebMutationEvent.cpp: Added.
25071 2010-01-27 Jay Campan <jcampan@google.com>
25073 Reviewed by Darin Fisher.
25075 Adding EventListeners to the chromium API.
25077 https://bugs.webkit.org/show_bug.cgi?id=33882
25080 * public/WebEvent.h: Added.
25081 * public/WebEventListener.h: Added.
25082 * public/WebMutationEvent.h: Added.
25083 * public/WebNode.h:
25084 * public/WebString.h:
25085 (WebKit::operator==):
25086 (WebKit::operator!=):
25087 * src/EventListenerWrapper.cpp: Added.
25088 * src/EventListenerWrapper.h: Added.
25089 * src/WebEvent.cpp: Added.
25090 * src/WebEventListener.cpp: Added.
25091 * src/WebEventListenerPrivate.cpp: Added.
25092 * src/WebEventListenerPrivate.h: Added.
25094 (WebKit::WebNode::addEventListener):
25095 (WebKit::WebNode::removeEventListener):
25096 * src/WebString.cpp:
25097 (WebKit::WebString::equals):
25099 2010-01-26 Yaar Schnitman <yaar@chromium.org>
25101 Reviewed by Darin Fisher.
25103 Add KeyboardTest to WebKit API tests
25104 https://bugs.webkit.org/show_bug.cgi?id=34178
25107 * tests/KeyboardTest.cpp: Added.
25109 2010-01-22 Jeremy Orlow <jorlow@chromium.org>
25111 Reviewed by Darin Adler.
25113 Make storage events match the spec.
25114 https://bugs.webkit.org/show_bug.cgi?id=30546
25116 Update the storageEvent algorithm to match the change in WebCore.
25118 * src/StorageAreaProxy.cpp:
25119 (WebCore::StorageAreaProxy::storageEvent):
25121 2010-01-22 Elliot Glaysher <erg@chromium.org>
25123 Reviewed by David Levin.
25125 Chromium: theme selection colors to match gtk theme
25126 Add functions to RenderThemeChromiumLinux to change the selection color
25127 according to the current GTK+ theme.
25129 Since the change is to the Chromium WebKit API layer, testing is done
25130 in Chromium's test shell (see Chromium side of this patch:
25131 http://codereview.chromium.org/554004)
25133 https://bugs.webkit.org/show_bug.cgi?id=33921
25135 * public/WebView.h: Adds interface to change the selection colors
25136 * src/WebViewImpl.cpp:
25137 (WebKit::WebViewImpl::setSelectionColors): Implements new interface.
25138 * src/WebViewImpl.h:
25140 2010-01-22 Steve VanDeBogart <vandebo@chromium.org>
25142 Reviewed by David Levin.
25144 Middle clicking the main scroll bars should not trigger a paste event
25146 https://bugs.webkit.org/show_bug.cgi?id=33062
25148 * src/WebViewImpl.cpp:
25149 (WebKit::WebViewImpl::mouseUp):
25151 2010-01-22 Albert J. Wong <ajwong@chromium.org>
25153 Not reviewed. backout.
25156 Causes ui_tests to timeout, and browser_tests to fail with
25157 TestConnectToBadPort and WindowOpenInvalidExtension.
25159 * src/FrameLoaderClientImpl.cpp:
25160 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
25161 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
25162 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
25163 * src/WebViewImpl.cpp:
25164 (WebKit::WebViewImpl::WebViewImpl):
25165 * src/WebViewImpl.h:
25167 2010-01-22 Peter Kasting <pkasting@google.com>
25169 Not reviewed, backout.
25171 Back out r52673, which caused several regressions.
25172 https://bugs.webkit.org/show_bug.cgi?id=32533
25174 * src/AutocompletePopupMenuClient.cpp:
25175 (WebKit::AutocompletePopupMenuClient::initialize):
25176 (WebKit::AutocompletePopupMenuClient::popupDidHide):
25177 (WebKit::AutocompletePopupMenuClient::setTextFromItem):
25178 * src/AutocompletePopupMenuClient.h:
25180 2010-01-21 Jeremy Orlow <jorlow@chromium.org>
25182 Reviewed by Darin Fisher.
25184 The Chromium WebKit API needs to expose storage event related data
25185 https://bugs.webkit.org/show_bug.cgi?id=33985
25187 setItem and removeItem on WebStorageArea need to expose what the previous
25188 value was for the key being modified. Clear needs to return whether it
25189 actually cleared anything.
25191 * public/WebStorageArea.h:
25192 (WebKit::WebStorageArea::setItem):
25193 (WebKit::WebStorageArea::removeItem):
25194 (WebKit::WebStorageArea::clear):
25195 * src/StorageAreaProxy.cpp:
25196 (WebCore::StorageAreaProxy::StorageAreaProxy):
25197 (WebCore::StorageAreaProxy::setItem):
25198 (WebCore::StorageAreaProxy::removeItem):
25199 (WebCore::StorageAreaProxy::clear):
25200 (WebCore::StorageAreaProxy::storageEvent):
25201 * src/StorageAreaProxy.h:
25202 * src/StorageNamespaceProxy.cpp:
25203 (WebCore::StorageNamespace::localStorageNamespace):
25204 (WebCore::StorageNamespace::sessionStorageNamespace):
25205 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
25206 (WebCore::StorageNamespaceProxy::copy):
25207 (WebCore::StorageNamespaceProxy::storageArea):
25208 * src/StorageNamespaceProxy.h:
25209 * src/WebStorageAreaImpl.cpp:
25210 (WebKit::WebStorageAreaImpl::setItem):
25211 (WebKit::WebStorageAreaImpl::removeItem):
25212 (WebKit::WebStorageAreaImpl::clear):
25213 * src/WebStorageAreaImpl.h:
25215 2010-01-21 Darin Fisher <darin@chromium.org>
25217 Reviewed by David Levin.
25219 [Chromium] spurious WebViewClient::didStopLoading if changing
25220 location.hash while a subframe is still loading
25222 https://bugs.webkit.org/show_bug.cgi?id=33884
25224 This is a refinement of http://trac.webkit.org/changeset/51548
25226 * src/FrameLoaderClientImpl.cpp:
25227 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
25228 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
25229 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
25230 * src/WebViewImpl.cpp:
25231 (WebKit::WebViewImpl::WebViewImpl):
25232 (WebKit::WebViewImpl::didStartLoading):
25233 (WebKit::WebViewImpl::didStopLoading):
25234 * src/WebViewImpl.h:
25236 2010-01-21 Adam Barth <abarth@webkit.org>
25238 Unreviewed. Added a blank line requested by the great an powerful
25241 * public/WebFrameClient.h:
25243 2010-01-21 Adam Barth <abarth@webkit.org>
25245 Reviewed by Eric Seidel.
25247 [chromium] Add allowPlugins callback to allow per-site enabling of plugins
25248 https://bugs.webkit.org/show_bug.cgi?id=33974
25250 Forward the new allowPlugins callback to WebKitClient so that it can
25251 make the policy decision.
25253 * public/WebFrameClient.h:
25254 (WebKit::WebFrameClient::allowPlugins):
25255 * src/FrameLoaderClientImpl.cpp:
25256 (WebKit::FrameLoaderClientImpl::allowJavaScript):
25257 (WebKit::FrameLoaderClientImpl::allowPlugins):
25258 * src/FrameLoaderClientImpl.h:
25260 2010-01-21 James Robinson <jamesr@chromium.org>
25262 Reviewed by Darin Fisher.
25264 Bumps the refcount when WebNode::toElement/toConstElement are called.
25265 https://bugs.webkit.org/show_bug.cgi?id=33977
25267 Ensures that when a wrapper around a WebNode is create via the
25268 toElement() or toConstElement() calls that the refcount on the WebNode
25269 is increased, by forcing a call to WebNode::assign(). This is needed
25270 so that the following code:
25272 WebNode n = someNode();
25273 WebElement e = n.toElement<WebElement>();
25275 does not decrease the overall refcount on the Node that someNode()
25278 This caused crashes in the 'Save page as..' feature.
25280 * public/WebNode.h:
25281 (WebKit::WebNode::toElement):
25282 (WebKit::WebNode::toConstElement):
25284 2010-01-21 Michael Nordman <michaeln@google.com>
25286 Reviewed by Darin Fisher.
25288 Adds WebKit::WebDataSource::applicationCacheHost() to the API.
25289 https://bugs.webkit.org/show_bug.cgi?id=33880
25292 * public/WebDataSource.h:
25293 * src/ApplicationCacheHost.cpp:
25294 * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp.
25295 (WebCore::ApplicationCacheHostInternal::notifyEventListener):
25296 (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
25297 * src/WebDataSourceImpl.cpp:
25298 (WebKit::WebDataSourceImpl::applicationCacheHost):
25299 * src/WebDataSourceImpl.h:
25301 2010-01-21 Eric Uhrhane <ericu@chromium.org>
25303 Reviewed by Dmitry Titov.
25305 Add changes missing from r53595, without which Chromium has no database.
25307 https://bugs.webkit.org/show_bug.cgi?id=33966
25309 No new tests - fixes database layout tests in Chromium.
25311 * src/WebRuntimeFeatures.cpp:
25312 (WebKit::WebRuntimeFeatures::enableDatabase):
25313 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
25315 2010-01-21 Kenneth Russell <kbr@google.com>
25317 Reviewed by Oliver Hunt.
25319 [Chromium] Implement texSubImage2D taking WebGLArray
25320 https://bugs.webkit.org/show_bug.cgi?id=33932
25322 * src/GraphicsContext3D.cpp:
25323 (WebCore::GraphicsContext3D::texSubImage2D):
25325 2010-01-20 Vitaly Repeshko <vitalyr@chromium.org>
25327 Reviewed by Pavel Feldman.
25329 [V8] Support SerializedScriptValue.
25330 https://bugs.webkit.org/show_bug.cgi?id=32920
25331 http://crbug.com/30620
25333 Updated uses of SerializedScriptValue:
25334 * src/PlatformMessagePortChannel.cpp:
25335 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
25336 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
25337 * src/WebWorkerBase.cpp:
25338 (WebKit::WebWorkerBase::postMessageToWorkerObject):
25339 * src/WebWorkerClientImpl.cpp:
25340 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
25341 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
25342 * src/WebWorkerImpl.cpp:
25343 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
25345 2010-01-20 Shinichiro Hamaji <hamaji@chromium.org>
25347 Reviewed by Darin Fisher.
25349 [Chromium] computePageRectsForFrame seems to be unnecessary
25350 https://bugs.webkit.org/show_bug.cgi?id=33881
25352 * src/WebFrameImpl.cpp: Stop including FrameChromium.h
25354 2010-01-19 Jon Honeycutt <jhoneycutt@apple.com>
25356 Chromium build fix.
25358 * public/WebAccessibilityRole.h:
25360 Correct enum names.
25362 * src/LocalizedStrings.cpp:
25363 (WebCore::AXMenuListPopupActionVerb):
25365 (WebCore::AXMenuListActionVerb):
25368 2010-01-19 Jon Honeycutt <jhoneycutt@apple.com>
25370 Chromium build fix.
25372 * public/WebAccessibilityRole.h:
25375 * src/AssertMatchingEnums.cpp:
25377 2010-01-18 Jonathan Dixon <joth@chromium.org>
25379 Reviewed by Adam Barth.
25381 Add support for enabling navigator.geolocation at runtime in the V8 bindings.
25382 Adds the [EnabledAtRuntime] modifier to the navigator IDL.
25383 https://bugs.webkit.org/show_bug.cgi?id=33467
25385 * public/WebRuntimeFeatures.h:
25386 * src/WebRuntimeFeatures.cpp:
25387 (WebKit::WebRuntimeFeatures::enableGeolocation):
25388 (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
25390 2010-01-17 Kent Tamura <tkent@chromium.org>
25392 Reviewed by Shinichiro Hamaji.
25394 [Chromium] Remove an old runFileChooser() method.
25395 https://bugs.webkit.org/show_bug.cgi?id=33778
25397 Chromium code switched to new runFileChooser() introduced by
25398 r53269. The old one is not needed anymore.
25400 * public/WebViewClient.h:
25401 * src/ChromeClientImpl.cpp:
25402 (WebKit::ChromeClientImpl::runOpenPanel):
25404 2010-01-15 Eric Seidel <eric@webkit.org>
25406 No review, rolling out r53344.
25407 http://trac.webkit.org/changeset/53344
25408 https://bugs.webkit.org/show_bug.cgi?id=32920
25410 Broke the Chromium Mac builder.
25412 * src/PlatformMessagePortChannel.cpp:
25413 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
25414 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
25415 * src/WebWorkerBase.cpp:
25416 (WebKit::WebWorkerBase::postMessageToWorkerObject):
25417 * src/WebWorkerClientImpl.cpp:
25418 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
25419 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
25420 * src/WebWorkerImpl.cpp:
25421 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
25423 2010-01-15 Vitaly Repeshko <vitalyr@chromium.org>
25425 Reviewed by David Levin.
25427 [V8] Support SerializedScriptValue.
25428 https://bugs.webkit.org/show_bug.cgi?id=32920
25429 http://crbug.com/30620
25431 Updated uses of SerializedScriptValue:
25432 * src/PlatformMessagePortChannel.cpp:
25433 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
25434 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
25435 * src/WebWorkerBase.cpp:
25436 (WebKit::WebWorkerBase::postMessageToWorkerObject):
25437 * src/WebWorkerClientImpl.cpp:
25438 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
25439 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
25440 * src/WebWorkerImpl.cpp:
25441 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
25443 2010-01-14 Jeremy Orlow <jorlow@chromium.org>
25445 Reviewed by Oliver Hunt.
25447 [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
25448 https://bugs.webkit.org/show_bug.cgi?id=33704
25450 * src/StorageNamespaceProxy.cpp:
25451 (WebCore::StorageNamespace::localStorageNamespace):
25452 (WebCore::StorageNamespace::sessionStorageNamespace):
25454 2010-01-14 Marcus Bulach <bulach@chromium.org>
25456 Reviewed by Dimitri Glazkov.
25458 Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
25459 https://bugs.webkit.org/show_bug.cgi?id=33648
25461 * public/WebSecurityOrigin.h:
25462 * src/WebSecurityOrigin.cpp:
25463 (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
25465 2010-01-14 Brian Weinstein <bweinstein@apple.com>
25467 Reviewed by Adam Roben.
25469 Drag and Drop source/destination code needs cleanup.
25470 <https://bugs.webkit.org/show_bug.cgi?id=33691>.
25472 Update to new way of calling sourceOperation.
25474 * src/DragClientImpl.cpp:
25475 (WebKit::DragClientImpl::startDrag):
25477 2010-01-14 Nate Chapin <japhet@chromium.org>
25479 Reviewed by Dimitri Glazkov.
25481 Remove references to V8DOMWrapper::convertToNative*().
25483 https://bugs.webkit.org/show_bug.cgi?id=33677
25485 * src/WebBindings.cpp:
25486 (WebKit::getDragDataImpl):
25487 (WebKit::getRangeImpl):
25489 2010-01-14 Kent Tamura <tkent@chromium.org>
25491 Reviewed by Darin Fisher.
25493 Introduce WebFileChooserParams to convey parameters for
25494 WebViewClient::runFileChooser(), and add new parameters to it.
25495 https://bugs.webkit.org/show_bug.cgi?id=32473
25497 The new parameters are
25498 - selected file names
25499 - "accept" attribute value
25501 * WebKit.gyp: Add WebFileChooserParams.h
25502 * public/WebFileChooserParams.h: Added.
25503 * public/WebViewClient.h:
25504 (WebKit::WebViewClient::runFileChooser):
25505 Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated.
25506 * src/ChromeClientImpl.cpp:
25507 (WebKit::ChromeClientImpl::runOpenPanel):
25508 Call the new runFileChooser() first, then call the old
25509 runFileChooser() if the new one failed.
25511 2010-01-13 Kenneth Russell <kbr@google.com>
25513 Reviewed by Oliver Hunt.
25515 Need to implement WebGLContextAttributes
25516 https://bugs.webkit.org/show_bug.cgi?id=31169
25518 Added the WebGLContextAttributes class and custom JavaScript
25519 bindings to accept a native object as the second argument to
25520 getContext("experimental-webgl") per the WebGL specification.
25521 Added GraphicsContext3D::Attributes struct to isolate DOM and
25522 graphics layers. Added getContextAttributes() to
25523 WebGLRenderingContext. Added test case ensuring that context
25524 attributes can be passed down and returned. Tested in Safari and
25525 Chromium. The attributes will be hooked up to the creation of the
25526 OpenGL context in bug 33416.
25528 * src/GraphicsContext3D.cpp:
25529 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
25530 (WebCore::GraphicsContext3DInternal::getContextAttributes):
25531 (WebCore::GraphicsContext3D::create):
25532 (WebCore::GraphicsContext3D::GraphicsContext3D):
25533 (WebCore::GraphicsContext3D::getContextAttributes):
25535 2010-01-13 Jon Honeycutt <jhoneycutt@apple.com>
25537 MSAA: selected, selectable, extended selectable, and multiple
25538 selectable states are not reported
25540 https://bugs.webkit.org/show_bug.cgi?id=33574
25541 <rdar://problem/7536826>
25543 Reviewed by Darin Adler.
25545 * public/WebAccessibilityObject.h:
25546 Update for WebCore::AccessibilityObject function rename.
25548 * src/WebAccessibilityObject.cpp:
25549 (WebKit::WebAccessibilityObject::isMultiSelectable):
25552 2010-01-13 Jeremy Orlow <jorlow@chromium.org>
25554 Reviewed by Darin Fisher.
25556 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
25557 https://bugs.webkit.org/show_bug.cgi?id=33492
25559 * public/WebKitClient.h:
25560 * public/WebViewClient.h:
25561 (WebKit::WebViewClient::createSessionStorageNamespace):
25562 * src/StorageNamespaceProxy.cpp:
25563 (WebCore::StorageNamespace::sessionStorageNamespace):
25565 2010-01-13 Jeremy Orlow <jorlow@chromium.org>
25567 No reviewer. More or less a build fix. My 53180 broke some
25568 stuff on the Chromium port so I'm reverting.
25570 * public/WebKitClient.h:
25571 * public/WebViewClient.h:
25572 * src/StorageNamespaceProxy.cpp:
25573 (WebCore::StorageNamespace::sessionStorageNamespace):
25575 2010-01-11 Jeremy Orlow <jorlow@chromium.org>
25577 Reviewed by Darin Fisher.
25579 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
25580 https://bugs.webkit.org/show_bug.cgi?id=33492
25582 * public/WebKitClient.h:
25583 * public/WebViewClient.h:
25584 (WebKit::WebViewClient::getSessionStorageNamespace):
25585 * src/StorageNamespaceProxy.cpp:
25586 (WebCore::StorageNamespace::sessionStorageNamespace):
25588 2010-01-11 Darin Fisher <darin@chromium.org>
25590 Reviewed by Dimitri Glazkov.
25592 [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once
25593 https://bugs.webkit.org/show_bug.cgi?id=33504
25596 * tests/KURLTest.cpp:
25597 (ComponentCase::TEST):
25598 * tests/RunAllTests.cpp: Added.
25600 * tests/WebKitTest.h: Removed.
25602 2010-01-09 Adam Barth <abarth@webkit.org>
25604 Reviewed by Darin Adler.
25606 ScriptController::isEnabled needs to be renamed
25607 https://bugs.webkit.org/show_bug.cgi?id=32063
25609 Rename ScriptController::isEnabled to
25610 ScriptController::canExecuteScripts.
25612 * src/WebFrameImpl.cpp:
25613 (WebKit::WebFrameImpl::bindToWindowObject):
25615 2010-01-08 Daniel Bates <dbates@webkit.org>
25617 Reviewed by Adam Barth.
25619 https://bugs.webkit.org/show_bug.cgi?id=33417
25621 Cleans up style errors exposed by the patch for bug #33198.
25623 No functionality was changed. So, no new tests.
25625 * src/GraphicsContext3D.cpp:
25627 2010-01-08 Darin Fisher <darin@chromium.org>
25629 Reviewed by Dimitri Glazkov.
25631 [Chromium] Upstream webkit unit tests from the chromium repository
25632 https://bugs.webkit.org/show_bug.cgi?id=33351
25634 This adds one such test (for KURL) and sets up the test framework.
25636 Switch WebKit to build a static library on all platforms. Add a
25637 webkit_unit_tests executable target that runs the unit tests and also
25638 ensures that we don't have any missing symbols (a function that WebKit
25639 as a shared library used to serve).
25641 Changes chromium_src_dir to ../../WebKit/chromium to match how
25642 WebCore.gyp defines that variable.
25645 * public/WebKitClient.h:
25646 (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon.
25647 (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon.
25648 (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon.
25649 (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon.
25650 (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon.
25651 (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon.
25653 * tests/KURLTest.cpp: Added.
25654 * tests/WebKitTest.h: Added.
25656 2010-01-07 Mike Belshe <mbelshe@chromium.org>
25658 Reviewed by Darin Adler.
25660 Fix Spdy casing to match style guide.
25662 https://bugs.webkit.org/show_bug.cgi?id=33326
25664 * public/WebURLResponse.h:
25665 * src/WebURLResponse.cpp:
25666 (WebKit::WebURLResponse::wasFetchedViaSPDY):
25667 (WebKit::WebURLResponse::setWasFetchedViaSPDY):
25669 2010-01-07 Daniel Bates <dbates@rim.com>
25671 Reviewed by Eric Seidel.
25673 https://bugs.webkit.org/show_bug.cgi?id=32987
25675 Added ENABLE_XHTMLMP flag. Disabled by default.
25679 2010-01-07 Adam Barth <abarth@webkit.org>
25681 No review, rolling out r52847.
25682 http://trac.webkit.org/changeset/52847
25683 https://bugs.webkit.org/show_bug.cgi?id=33232
25685 Might have caused a perf regression.
25687 * src/FrameLoaderClientImpl.cpp:
25688 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
25690 2010-01-06 Mike Belshe <mike@belshe.com>
25692 Add a flag to the ResourceResponse for tracking if a request was
25693 fetched via SPDY. This is plumbed through so that we can inform
25694 a webpage via JavaScript if it was fecthed via the experimental
25697 https://bugs.webkit.org/show_bug.cgi?id=33186
25699 * public/WebURLResponse.h:
25700 * src/WebURLResponse.cpp:
25701 (WebKit::WebURLResponse::wasFetchedViaSpdy):
25702 (WebKit::WebURLResponse::setWasFetchedViaSpdy):
25704 2010-01-06 Darin Fisher <darin@chromium.org>
25706 Fix release build bustage.
25708 * src/WebKit.cpp: Need to include Logging.h
25710 2010-01-05 Darin Fisher <darin@chromium.org>
25712 Reviewed by Adam Barth.
25714 [Chromium] Expose more APIs to eliminate WebCore usage in Chromium.
25715 https://bugs.webkit.org/show_bug.cgi?id=33249
25718 * public/WebFrame.h:
25719 * public/WebGlyphCache.h: Added.
25721 * src/WebFrameImpl.cpp:
25722 (WebKit::WebFrame::instanceCount):
25723 (WebKit::WebFrameImpl::WebFrameImpl):
25724 (WebKit::WebFrameImpl::~WebFrameImpl):
25725 * src/WebFrameImpl.h:
25726 * src/WebGlyphCache.cpp: Added.
25727 (WebKit::WebGlyphCache::pageCount):
25729 (WebKit::enableLogChannel):
25731 2010-01-05 Adam Barth <abarth@webkit.org>
25733 Reviewed by Dimitri Glazkov.
25735 [v8] Move V8DOMWindowShell to ScriptController
25736 https://bugs.webkit.org/show_bug.cgi?id=33232
25738 Update FrameLoaderClientImpl.cpp to call clearForClose on
25739 ScriptController instead of on V8Proxy.
25741 * src/FrameLoaderClientImpl.cpp:
25742 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
25744 2010-01-05 Rachel Petterson <rlp@google.com>
25746 Reviewed by Adam Barth.
25748 Matches the texImage2D and texSubImage2D functions to their
25749 declarations. Elminates uncessary versions of those functions.
25750 https://bugs.webkit.org/show_bug.cgi?id=31562
25751 Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493
25753 * src/GraphicsContext3D.cpp:
25754 (WebCore::GraphicsContext3D::texImage2D):
25755 (WebCore::GraphicsContext3D::texSubImage2D):
25757 2010-01-04 Maciej Stachowiak <mjs@apple.com>
25759 Reviewed by Darin Fisher.
25761 Reorganize, document and rename OS() platform macros.
25762 https://bugs.webkit.org/show_bug.cgi?id=33198
25764 Adapt to name changes.
25766 * src/ChromiumBridge.cpp:
25767 * src/EditorClientImpl.cpp:
25768 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
25770 (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
25771 * src/FrameLoaderClientImpl.cpp:
25772 (WebKit::FrameLoaderClientImpl::createPlugin):
25773 * src/GraphicsContext3D.cpp:
25774 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
25775 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
25776 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
25777 * src/WebFrameImpl.cpp:
25778 (WebKit::WebFrameImpl::selectionAsText):
25779 (WebKit::WebFrameImpl::printPage):
25780 * src/WebPluginContainerImpl.cpp:
25781 (WebKit::WebPluginContainerImpl::handleMouseEvent):
25782 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
25783 * src/WebViewImpl.cpp:
25784 (WebKit::WebViewImpl::mouseDown):
25785 (WebKit::WebViewImpl::mouseContextMenu):
25786 (WebKit::WebViewImpl::mouseUp):
25787 (WebKit::WebViewImpl::keyEvent):
25788 (WebKit::WebViewImpl::sendContextMenuEvent):
25789 (WebKit::WebViewImpl::setScrollbarColors):
25790 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
25792 2010-01-04 Darin Fisher <darin@chromium.org>
25794 Reviewed by Eric Seidel.
25796 [Chromium] Expose more DOM methods to support LayoutTests
25797 https://bugs.webkit.org/show_bug.cgi?id=33185
25799 * public/WebDocument.h: Adds documentElement method.
25800 * public/WebElement.h: Adds innerText method.
25801 * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById
25802 methods, and fixes a few whitespace issues.
25803 * src/WebDocument.cpp:
25804 (WebKit::WebDocument::documentElement):
25805 * src/WebElement.cpp:
25806 (WebKit::WebElement::innerText):
25807 * src/WebFrameImpl.cpp:
25808 (WebKit::WebFrameImpl::clearName):
25809 (WebKit::WebFrameImpl::renderTreeAsText):
25810 (WebKit::WebFrameImpl::counterValueForElementById):
25811 * src/WebFrameImpl.h:
25813 2010-01-04 Darin Fisher <darin@chromium.org>
25815 Fix Chromium build bustage.
25817 * src/WebAnimationControllerImpl.h:
25819 2010-01-04 Yaar Schnitman <yaar@chromium.org>
25821 Reviewed by Darin Fisher.
25823 Adding WebAnimationController to chromium's WebKit API.
25825 https://bugs.webkit.org/show_bug.cgi?id=32870
25828 * public/WebAnimationController.h: Added.
25829 (WebKit::WebAnimationController::~WebAnimationController):
25830 * public/WebFrame.h:
25831 * src/WebAnimationControllerImpl.cpp: Added.
25832 (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl):
25833 (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime):
25834 (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime):
25835 (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
25836 * src/WebAnimationControllerImpl.h: Added.
25837 (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl):
25838 * src/WebFrameImpl.cpp:
25839 (WebKit::WebFrameImpl::animationController):
25840 (WebKit::WebFrameImpl::WebFrameImpl):
25841 * src/WebFrameImpl.h:
25843 2010-01-04 Jay Campan <jcampan@google.com>
25845 Reviewed by Darin Fisher
25847 Adding more DOM API methods. They are needed for the upcoming
25850 * public/WebElement.h:
25851 * public/WebNode.h:
25852 * src/WebElement.cpp:
25853 (WebKit::WebElement::tagName):
25854 (WebKit::WebElement::setAttribute):
25856 (WebKit::WebNode::setNodeValue):
25858 2010-01-03 Adam Barth <abarth@webkit.org>
25860 Reviewed by Eric Seidel.
25862 [Chromium] Implement CookieJarChromium::cookiesEnabled
25863 https://bugs.webkit.org/show_bug.cgi?id=33123
25865 Call out to the webKitClient() to see if cookies are enabled. Also
25866 remove some straggling references to policyURL!
25868 * public/WebKitClient.h:
25869 (WebKit::WebKitClient::setCookies):
25870 (WebKit::WebKitClient::cookies):
25871 (WebKit::WebKitClient::rawCookies):
25872 (WebKit::WebKitClient::cookiesEnabled):
25873 * src/ChromiumBridge.cpp:
25874 (WebCore::ChromiumBridge::cookiesEnabled):
25876 2010-01-03 Adam Barth <abarth@webkit.org>
25878 Reviewed by Eric Seidel.
25880 [Chromium] Remove evaluateInNewContext (it's useless)
25881 https://bugs.webkit.org/show_bug.cgi?id=33068
25883 This function has no clients and makes life complicated. Isolated
25884 worlds won out over NewContext and there's not really any going back
25887 * public/WebFrame.h:
25888 * src/FrameLoaderClientImpl.h:
25889 * src/WebFrameImpl.cpp:
25890 * src/WebFrameImpl.h:
25892 2009-12-30 Darin Fisher <darin@chromium.org>
25894 Reviewed by David Levin.
25896 [Chromium] Delete ResourceRequest::securityInfo
25897 https://bugs.webkit.org/show_bug.cgi?id=26847
25899 * src/WebWorkerBase.cpp:
25900 (WebKit::WebWorkerBase::initializeLoader):
25902 2009-12-30 Albert J. Wong <ajwong@chromium.org>
25904 Not reviewed. Trivial Chromium build fix.
25906 Add static_cast<unsigned>() to fix signed/unsigned comparison warning.
25908 * src/AutocompletePopupMenuClient.cpp:
25909 (WebKit::AutocompletePopupMenuClient::selectionChanged):
25911 2009-12-30 Zelidrag Hornung <zelidrag@chromium.org>
25913 Reviewed by Dimitri Glazkov.
25915 Autocomplete in Chromium now offers suggestions within the input element as a user
25916 a) types text that produces some autocomplete suggestions, and
25917 b) scrolls through suggested values in the menu
25918 The suggested value is rendered but not exposed through JS unti the
25919 user makes the final selection.
25921 No new tests since this new functionality (autocomplete suggestions)
25922 is intentionally hidden from everything else than renderer.
25924 * src/AutocompletePopupMenuClient.cpp:
25925 (WebKit::AutocompletePopupMenuClient::initialize):
25926 (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue):
25927 (WebKit::AutocompletePopupMenuClient::selectionChanged):
25928 (WebKit::AutocompletePopupMenuClient::popupDidHide):
25929 (WebKit::AutocompletePopupMenuClient::setTextFromItem):
25930 (WebKit::AutocompletePopupMenuClient::resetLastFieldValue):
25931 * src/AutocompletePopupMenuClient.h:
25933 2009-12-28 Kinuko Yasuda <kinuko@chromium.org>
25935 Reviewed by Maciej Stachowiak.
25937 Fixed isKeypadEvent behavior for chromium/Mac to correctly report
25938 keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events.
25939 https://bugs.webkit.org/show_bug.cgi?id=28247
25941 Test: fast/events/keydown-numpad-keys.html
25943 * src/mac/WebInputEventFactory.mm:
25944 (WebKit::isKeypadEvent):
25946 2009-12-22 Kenneth Russell <kbr@google.com>
25948 Reviewed by Eric Seidel.
25950 [Chromium] Garbage in transparent regions of images uploaded as textures
25951 https://bugs.webkit.org/show_bug.cgi?id=32888
25953 Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)
25955 * src/GraphicsContext3D.cpp:
25956 (WebCore::GraphicsContext3D::texImage2D):
25958 2009-12-22 Adam Langley <agl@google.com>
25960 Build fix: not reviewed.
25962 r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the
25963 Chromium build on Windows and Mac due to a misplaced #endif. The
25964 buildbot didn't find the problem because it runs on Linux.
25966 Have verified this patch with the author of the above.
25968 * src/GraphicsContext3D.cpp:
25970 2009-12-22 Kenneth Russell <kbr@google.com>
25972 Reviewed by Eric Seidel.
25974 [Chromium] WebGL crashes intermittently on Linux
25975 https://bugs.webkit.org/show_bug.cgi?id=32845
25977 The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a
25978 GraphicsContext3D was created was occasionally causing it to be
25979 re-mapped at a different base address. Since GLEW is not
25980 re-initialized every time, primarily for performance reasons, its
25981 cached function pointers were pointing to garbage. Stopped closing
25982 and re-opening libGL.so.1 each time; now it is loaded lazily, when
25983 the first 3D context is created. Also reused the X display
25984 connection since the GLX routines' correctness might hinge upon it
25985 not resulting in a change of GL implementation.
25987 * src/GraphicsContext3D.cpp:
25988 (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
25989 (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
25990 (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
25991 (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
25992 (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
25993 (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
25994 (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
25995 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
25996 (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad):
25997 (WebCore::GraphicsContext3DInternal::GLConnection::create):
25998 (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
25999 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
26000 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
26001 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
26003 2009-12-22 Yaar Schnitman <yaar@chromium.org>
26005 Reviewed by Darin Fisher.
26007 autoComplete and getElementById methods for WebKit API
26009 https://bugs.webkit.org/show_bug.cgi?id=32866
26011 * public/WebDocument.h:
26012 * public/WebInputElement.h:
26013 * src/WebDocument.cpp:
26014 (WebKit::WebDocument::getElementById):
26015 * src/WebInputElement.cpp:
26016 (WebKit::WebInputElement::autoComplete):
26018 2009-12-18 Kenneth Russell <kbr@google.com>
26020 Reviewed by Darin Fisher.
26022 [Chromium] Eliminate redundant data copy in GraphicsContext3D readback
26023 https://bugs.webkit.org/show_bug.cgi?id=32763
26025 Eliminated useless creation of a CGBitmapContext and from there a
26026 CGImage. Now create CGImage directly from data. Also changed
26027 readPixels parameters and CGImage alpha info to try to avoid byte
26028 swapping, and disabled interpolation when drawing the GL content.
26029 Some test cases run twice as fast with these changes, though more
26030 work is needed to achieve desired performance.
26032 No test case; performance optimization only. Ran WebGL demos from
26033 Khronos site to verify changes.
26035 * src/GraphicsContext3D.cpp:
26036 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
26037 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
26038 (WebCore::GraphicsContext3DInternal::reshape):
26039 (WebCore::GraphicsContext3DInternal::beginPaint):
26041 2009-12-18 Peter Kasting <pkasting@google.com>
26043 Reviewed by Adam Barth.
26046 https://bugs.webkit.org/show_bug.cgi?id=32756
26048 * public/WebAccessibilityRole.h:
26050 * src/AssertMatchingEnums.cpp:
26052 2009-12-18 Adam Roben <aroben@apple.com>
26056 * src/ChromiumBridge.cpp:
26057 * src/WebPluginContainerImpl.cpp:
26058 * src/WebViewImpl.cpp:
26061 2009-12-17 Eric Seidel <eric@webkit.org>
26063 No review, rolling out r52291.
26064 http://trac.webkit.org/changeset/52291
26065 https://bugs.webkit.org/show_bug.cgi?id=32618
26067 Darin Fisher points out that this will likely break
26068 the SSL security indicator in Chromium. Rolling out for now.
26070 * src/WebViewImpl.cpp:
26071 (WebKit::WebViewImpl::WebViewImpl):
26073 2009-12-17 Alexander Pavlov <apavlov@chromium.org>
26075 Reviewed by Eric Seidel.
26077 Disable memory cache client calls so that a new identifier isn't created
26078 for the same resource on reload.
26080 With the calls enabled, duplicate entries for cached resources are created
26081 in the Web Inspector. Safari for Windows disables the calls near the point of the
26082 Frame instance creation, and we just follow this for Chromium.
26083 https://bugs.webkit.org/show_bug.cgi?id=32618
26085 * src/WebViewImpl.cpp:
26086 (WebKit::WebViewImpl::WebViewImpl):
26088 2009-12-17 Yaar Schnitman <yaar@chromium.org>
26090 Reviewed by Darin Fisher.
26092 Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support
26093 downstream unit-testing of serialization.
26095 WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding.
26097 https://bugs.webkit.org/show_bug.cgi?id=31737
26100 * public/WebDocument.h: Added.
26101 (WebKit::WebDocument::WebDocument):
26102 (WebKit::WebDocument::operator=):
26103 (WebKit::WebDocument::assign):
26104 * public/WebElement.h:
26105 * public/WebFormElement.h:
26106 (WebKit::WebFormElement::operator=):
26107 * public/WebFrame.h:
26108 * public/WebNode.h:
26109 (WebKit::WebNode::):
26110 (WebKit::WebNode::toConstElement):
26111 * public/WebNodeCollection.h: Added.
26112 (WebKit::WebNodeCollection::~WebNodeCollection):
26113 (WebKit::WebNodeCollection::WebNodeCollection):
26114 (WebKit::WebNodeCollection::operator=):
26115 * public/WebNodeList.h: Added.
26116 (WebKit::WebNodeList::~WebNodeList):
26117 (WebKit::WebNodeList::WebNodeList):
26118 (WebKit::WebNodeList::operator=):
26119 * public/WebPageSerializer.h: Added.
26120 * public/WebPageSerializerClient.h: Added.
26121 (WebKit::WebPageSerializerClient::):
26122 (WebKit::WebPageSerializerClient::WebPageSerializerClient):
26123 (WebKit::WebPageSerializerClient::~WebPageSerializerClient):
26124 * public/WebString.h:
26125 * public/WebView.h:
26126 * src/AssertMatchingEnums.cpp:
26127 * src/DOMUtilitiesPrivate.cpp:
26128 (WebKit::elementHasLegalLinkAttribute):
26129 * src/DOMUtilitiesPrivate.h:
26130 * src/WebDocument.cpp: Added.
26131 (WebKit::WebDocument::WebDocument):
26132 (WebKit::WebDocument::operator=):
26133 (WebKit::WebDocument::operator WTF::PassRefPtr<Document>):
26134 (WebKit::WebDocument::frame):
26135 (WebKit::WebDocument::isHTMLDocument):
26136 (WebKit::WebDocument::baseURL):
26137 (WebKit::WebDocument::body):
26138 (WebKit::WebDocument::head):
26139 (WebKit::WebDocument::all):
26140 (WebKit::WebDocument::completeURL):
26141 * src/WebElement.cpp:
26142 (WebKit::WebElement::hasTagName):
26143 (WebKit::WebElement::hasAttribute):
26144 (WebKit::WebElement::getAttribute):
26145 * src/WebEntities.cpp: Added.
26146 (WebKit::populateMap):
26148 (WebKit::WebEntities::WebEntities):
26149 (WebKit::WebEntities::entityNameByCode):
26150 (WebKit::WebEntities::convertEntitiesInString):
26151 * src/WebEntities.h: Added.
26152 * src/WebFrameImpl.cpp:
26153 (WebKit::WebFrame::fromFrameOwnerElement):
26154 (WebKit::WebFrameImpl::encoding):
26155 (WebKit::WebFrameImpl::document):
26156 (WebKit::WebFrameImpl::fromFrameOwnerElement):
26157 * src/WebFrameImpl.h:
26159 (WebKit::WebNode::nodeType):
26160 (WebKit::WebNode::nodeValue):
26161 (WebKit::WebNode::document):
26162 (WebKit::WebNode::firstChild):
26163 (WebKit::WebNode::lastChild):
26164 (WebKit::WebNode::previousSibling):
26165 (WebKit::WebNode::nextSibling):
26166 (WebKit::WebNode::hasChildNodes):
26167 (WebKit::WebNode::childNodes):
26168 (WebKit::WebNode::createMarkup):
26169 (WebKit::WebNode::isTextNode):
26170 (WebKit::WebNode::isElementNode):
26171 * src/WebNodeCollection.cpp: Added.
26172 (WebKit::WebNodeCollection::reset):
26173 (WebKit::WebNodeCollection::assign):
26174 (WebKit::WebNodeCollection::WebNodeCollection):
26175 (WebKit::WebNodeCollection::length):
26176 (WebKit::WebNodeCollection::nextItem):
26177 (WebKit::WebNodeCollection::firstItem):
26178 * src/WebNodeList.cpp: Added.
26179 (WebKit::WebNodeList::reset):
26180 (WebKit::WebNodeList::assign):
26181 (WebKit::WebNodeList::WebNodeList):
26182 (WebKit::WebNodeList::length):
26183 (WebKit::WebNodeList::item):
26184 * src/WebPageSerializer.cpp: Added.
26185 (WebKit::WebPageSerializer::serialize):
26186 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
26187 (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration):
26188 (WebKit::WebPageSerializer::generateBaseTagDeclaration):
26189 * src/WebPageSerializerImpl.cpp: Added.
26190 (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
26191 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
26192 (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
26193 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag):
26194 (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
26195 (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
26196 (WebKit::WebPageSerializerImpl::openTagToString):
26197 (WebKit::WebPageSerializerImpl::endTagToString):
26198 (WebKit::WebPageSerializerImpl::buildContentForNode):
26199 (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
26200 (WebKit::WebPageSerializerImpl::collectTargetFrames):
26201 (WebKit::WebPageSerializerImpl::serialize):
26202 * src/WebPageSerializerImpl.h: Added.
26203 * src/WebString.cpp:
26204 (WebKit::WebString::WebString):
26205 (WebKit::WebString::operator=):
26206 * src/WebViewImpl.cpp:
26208 2009-12-17 Yury Semikhatsky <yurys@chromium.org>
26210 Reviewed by David Levin.
26212 Provide explicit implementation of 'non-template' WebVector<T>::operator=
26214 https://bugs.webkit.org/show_bug.cgi?id=32363
26216 * public/WebVector.h:
26218 2009-12-16 Fumitoshi Ukai <ukai@chromium.org>
26220 Unreviewed, build fix.
26222 [Chromium] Add EditableTextRole to catch up with
26223 http://trac.webkit.org/changeset/52233
26225 * public/WebAccessibilityRole.h:
26226 (WebKit::): Added WebAccessibilityRoleEditableText
26227 * src/AssertMatchingEnums.cpp: Added matching compile assert.
26229 2009-12-15 Kenneth Russell <kbr@google.com>
26231 Reviewed by Darin Fisher.
26233 Don't allow default framebuffer to be mutated
26234 https://bugs.webkit.org/show_bug.cgi?id=32391
26236 * src/GraphicsContext3D.cpp:
26237 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
26238 (WebCore::GraphicsContext3DInternal::reshape):
26239 (WebCore::GraphicsContext3DInternal::beginPaint):
26240 (WebCore::GraphicsContext3DInternal::bindFramebuffer):
26241 (WebCore::GraphicsContext3D::bindFramebuffer):
26243 2009-12-15 Dimitri Glazkov <dglazkov@chromium.org>
26245 Unreviewed, build fix.
26247 [Chromium] Add TreeGridRole to catch up with
26248 http://trac.webkit.org/changeset/52159.
26250 * public/WebAccessibilityRole.h:
26251 (WebKit::): Added WebAccessibilityRoleTreeGrid.
26252 * src/AssertMatchingEnums.cpp: Added matching compile assert.
26254 2009-12-15 Jian Li <jianli@chromium.org>
26256 Reviewed by Dmitry Titov.
26258 Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard.
26259 https://bugs.webkit.org/show_bug.cgi?id=31090
26261 The proposal to whatwg can be found here:
26262 http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html
26264 * public/WebDragData.h:
26265 * src/WebDragData.cpp:
26266 (WebKit::WebDragData::downloadURL):
26267 (WebKit::WebDragData::setDownloadURL):
26269 2009-12-14 Evan Stade <estade@chromium.org>
26271 Reviewed by Darin Fisher.
26273 https://bugs.webkit.org/show_bug.cgi?id=32347
26274 Chromium: Context menu launched by menu key has funky behavior
26276 Make the context menu's position depend on the selection only when an
26277 editable field has focus. Also, don't send multiple context menu events
26278 for a single keypress.
26280 * src/WebViewImpl.cpp:
26281 (WebKit::WebViewImpl::keyEvent):
26282 (WebKit::WebViewImpl::sendContextMenuEvent):
26284 2009-12-13 Sam Weinig <sam@webkit.org>
26286 Reviewed by Dan Bernstein.
26288 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
26289 Add client based Geolocation provider
26291 Add first cut of a client based Geolocation provider. This is guarded by
26292 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
26293 GeolocationControllerClient interface that no-one currently implements,
26294 but will in a subsequent patch.
26296 * src/WebViewImpl.cpp:
26297 (WebKit::WebViewImpl::WebViewImpl):
26299 2009-12-13 Charles Reis <creis@chromium.org>
26301 Reviewed by Adam Barth.
26303 Refactor some security code out of V8 bindings
26304 https://bugs.webkit.org/show_bug.cgi?id=32326
26306 * src/WebBindings.cpp:
26307 (WebKit::getDragDataImpl):
26309 2009-12-11 Nate Chapin <japhet@chromium.org>
26311 Reviewed by Darin Fisher.
26313 Expose shouldHideReferrer() in WebSecurityPolicy.
26315 https://bugs.webkit.org/show_bug.cgi?id=32398
26317 * public/WebSecurityPolicy.h: Add shouldHideReferrer().
26318 * src/WebSecurityPolicy.cpp:
26319 (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added.
26321 2009-12-11 Avi Drissman <avi@chromium.org>
26323 Reviewed by Darin Fisher.
26325 Tickmarks in the scrollbar are not cleared for non-main frames
26326 https://bugs.webkit.org/show_bug.cgi?id=32385
26328 * src/WebFrameImpl.cpp:
26329 (WebKit::WebFrameImpl::stopFinding):
26331 2009-12-11 Yury Semikhatsky <yurys@chromium.org>
26333 Reviewed by Pavel Feldman.
26335 Remove obsolete message handling methods from WebDevTools* interfaces
26337 https://bugs.webkit.org/show_bug.cgi?id=32320
26339 * public/WebDevToolsAgent.h:
26340 * public/WebDevToolsAgentClient.h:
26341 * public/WebDevToolsFrontend.h:
26342 * public/WebDevToolsFrontendClient.h:
26344 2009-12-10 Mike Belshe <mike@belshe.com>
26346 Unreviewed, build fix for chromium.
26348 * src/FrameLoaderClientImpl.cpp:
26349 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
26351 2009-12-10 Kenneth Russell <kbr@google.com>
26353 Reviewed by Oliver Hunt.
26355 Changed WebGLRenderingContext to synthesize GL errors rather than
26356 raising JavaScript exceptions. Removed internal getError() calls
26357 after each graphics call. The GraphicsContext3D maintains the
26358 synthetic exceptions because only it has complete information
26359 about certain conditions requiring them to be raised.
26361 Based on idea from Ilmari Heikkinen, added create3DDebugContext()
26362 to webgl-test.js and changed the WebGL layout tests expecting
26363 error conditions to use it. Updated expected.txt files, which now
26364 implicitly test the OpenGL error as it is part of the exception's
26367 Added new targeted test covering aspects of synthetic errors as
26368 well as regression tests for bugs uncovered during its development.
26370 Test: fast/canvas/webgl/error-reporting.html
26372 * src/GraphicsContext3D.cpp:
26373 (WebCore::GraphicsContext3DInternal::reshape):
26374 (WebCore::GraphicsContext3DInternal::getError):
26375 (WebCore::GraphicsContext3DInternal::synthesizeGLError):
26376 (WebCore::GraphicsContext3D::getActiveAttrib):
26377 (WebCore::GraphicsContext3D::getActiveUniform):
26378 (WebCore::GraphicsContext3D::getError):
26379 (WebCore::GraphicsContext3D::synthesizeGLError):
26381 2009-12-10 Mike Belshe <mike@belshe.com>
26383 Reviewed by Darin Fisher.
26385 Fix FrameLoader to use the new ResourceTypes properly.
26387 https://bugs.webkit.org/show_bug.cgi?id=32336
26389 * public/WebURLRequest.h:
26390 (WebKit::WebURLRequest::):
26391 * src/FrameLoaderClientImpl.cpp:
26392 (WebKit::setTargetTypeFromLoader):
26393 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
26395 2009-12-10 Ilya Tikhonovsky <loislo@google.com>
26397 Reviewed by Pavel Feldman.
26399 Chromium: Expose devtools agent API for inspector layout tests.
26401 https://bugs.webkit.org/show_bug.cgi?id=32379
26403 * public/WebDevToolsAgent.h:
26404 (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled):
26405 (WebKit::WebDevToolsAgent::evaluateInWebInspector):
26407 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
26409 Unreviewed, build fix.
26411 Change forward declaration of WebContextMenuData from class to
26412 struct to match its definition. The bug was introduced by
26413 http://trac.webkit.org/changeset/51874
26415 * src/ContextMenuClientImpl.h:
26417 2009-12-09 Darin Fisher <darin@chromium.org>
26419 Reviewed by Eric Seidel.
26421 https://bugs.webkit.org/show_bug.cgi?id=32324
26422 [Chromium] Suppress WebFrameClient callbacks from a detached frame.
26424 This change means that we no longer need the ClientHandle class.
26425 FrameLoaderClient::detachedFromParent3() is called on each frame
26426 in the frame tree from within frameDetached().
26428 Test: http/tests/loading/gmail-assert-on-load.html
26430 * src/FrameLoaderClientImpl.cpp:
26431 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
26432 * src/WebFrameImpl.cpp:
26433 (WebKit::WebFrameImpl::create):
26434 (WebKit::WebFrameImpl::WebFrameImpl):
26435 (WebKit::WebFrameImpl::createChildFrame):
26436 * src/WebFrameImpl.h:
26437 (WebKit::WebFrameImpl::client):
26438 (WebKit::WebFrameImpl::dropClient):
26439 * src/WebViewImpl.cpp:
26440 (WebKit::WebViewImpl::close):
26442 2009-12-08 Stuart Morgan <stuartmorgan@chromium.org>
26444 Reviewed by Darin Fisher.
26446 Include clickCount when doing MouseEvent -> WebMouseEvent conversion
26449 https://bugs.webkit.org/show_bug.cgi?id=32289
26451 * src/WebInputEventConversion.cpp:
26452 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
26454 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
26456 Unreviewed, build fix.
26458 Add return statement to default implementation of hostIdentifier method
26459 introduced in http://trac.webkit.org/changeset/51897
26461 * public/WebDevToolsAgentClient.h:
26462 (WebKit::WebDevToolsAgentClient::hostIdentifier):
26464 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
26466 Reviewed by Pavel Feldman.
26468 Add declaration of static methods that allow to dispatch
26469 DevTools messages on the IO thread and accept WebDevToolsMessageData
26472 https://bugs.webkit.org/show_bug.cgi?id=32314
26474 * public/WebDevToolsAgent.h:
26475 * public/WebDevToolsAgentClient.h:
26477 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
26479 Reviewed by Pavel Feldman.
26481 Introduce a class for devtools message data
26483 https://bugs.webkit.org/show_bug.cgi?id=32314
26486 * public/WebDevToolsAgent.h:
26487 * public/WebDevToolsAgentClient.h:
26488 (WebKit::WebDevToolsAgentClient::sendMessageToFrontend):
26489 (WebKit::WebDevToolsAgentClient::forceRepaint):
26490 (WebKit::WebDevToolsAgentClient::hostIdentifier):
26491 (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged):
26492 * public/WebDevToolsFrontend.h:
26493 * public/WebDevToolsFrontendClient.h:
26494 (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
26495 * public/WebDevToolsMessageData.h: Added.
26497 2009-12-08 Pavel Feldman <pfeldman@chromium.org>
26499 Reviewed by Darin Fisher.
26501 Chromium: support custom WebCore context menu items in Chromium port.
26503 https://bugs.webkit.org/show_bug.cgi?id=32277
26505 * public/WebContextMenuData.h:
26506 * public/WebPopupMenuInfo.h:
26507 (WebKit::WebPopupMenuInfo::Item::):
26508 * public/WebView.h:
26509 * src/ContextMenuClientImpl.cpp:
26510 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
26511 * src/WebViewImpl.cpp:
26512 (WebKit::WebViewImpl::executeCustomContextMenuAction):
26513 * src/WebViewImpl.h:
26515 2009-12-08 Albert J. Wong <ajwong@chromium.org>
26517 Not reviewed: Chromium build fix.
26519 r51859 changed the case for some of the ResourceRequest::TargetType
26522 * src/FrameLoaderClientImpl.cpp:
26523 (WebKit::determineTargetTypeFromLoader):
26525 2009-12-07 Zhe Su <suzhe@chromium.org>
26527 Reviewed by Darin Fisher.
26529 [Chromium] accesskey is not supported on Chromium Mac.
26530 https://bugs.webkit.org/show_bug.cgi?id=32213
26532 This change fixes (partially) the accesskey issue by decoupling the
26533 code for handling accesskeys and system keys. Because on Mac,
26534 the modifiers of accesskeys are ctrl+alt, which are not marked as
26536 In order to fully fix this issue, some changes in Chromium code is
26539 * src/WebViewImpl.cpp:
26540 (WebKit::WebViewImpl::keyEvent):
26541 (WebKit::WebViewImpl::charEvent):
26543 2009-12-07 Evan Martin <evan@chromium.org>
26545 Reviewed by Eric Seidel.
26547 Chromium: theme scrollbars to match GTK theme.
26548 Add API to set the colors.
26550 Since the change is to the Chromium WebKit API layer, testing will
26551 be in Chromium's test shell.
26552 http://bugs.webkit.org/show_bug.cgi?id=32048
26554 Patch from Markus Gutschke <markus@chromium.org>.
26556 * public/WebView.h:
26557 * src/WebViewImpl.cpp:
26558 (WebKit::WebViewImpl::setScrollbarColors):
26559 * src/WebViewImpl.h:
26561 2009-12-07 Finnur Thorarinsson <finnur.webkit@gmail.com>
26563 Reviewed by Darin Fisher.
26565 A patch for Chromium to restrict the scope of the Gmail focus fix,
26566 where we set the Selection to 0,0 for content-editable fields and
26567 also make sure we set the selection end-state for find to select the
26568 text found (when not focusing a link we found).
26569 WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248
26571 * src/WebFrameImpl.cpp:
26572 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
26573 * src/WebViewImpl.cpp:
26574 (WebKit::WebViewImpl::setFocus):
26576 2009-12-07 Dmitry Titov <dimich@chromium.org>
26578 Rubber-stamped by Darin Adler.
26580 Remove ENABLE_SHARED_SCRIPT flags
26581 https://bugs.webkit.org/show_bug.cgi?id=32245
26582 This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
26586 2009-12-07 Yaar Schnitman <yaar@chromium.org>
26588 Reviewed by Darin Fisher.
26590 fixes to build-webkit --chromium
26591 https://bugs.webkit.org/show_bug.cgi?id=32179
26597 2009-12-07 Mikhail Naganov <mnaganov@chromium.org>
26599 Reviewed by Pavel Feldman.
26601 [Chromium] Add declarations for DevTools message dispatching on IO thread
26602 (see http://codereview.chromium.org/460018)
26604 https://bugs.webkit.org/show_bug.cgi?id=32217
26606 * public/WebDevToolsAgent.h:
26607 * public/WebDevToolsAgentClient.h:
26609 2009-12-04 James Hawkins <jhawkins@chromium.org>
26611 Reviewed by Darin Fisher.
26613 https://bugs.webkit.org/show_bug.cgi?id=32095
26614 Implement WebRegularExpression, a WebKit API for accessing
26615 WebCore::RegularExpression.
26618 * public/WebRegularExpression.h: Added.
26619 * public/WebTextCaseSensitivity.h: Added.
26621 * src/AssertMatchingEnums.cpp:
26622 * src/WebRegularExpression.cpp: Added.
26623 (WebKit::WebRegularExpression::WebRegularExpression):
26624 (WebKit::WebRegularExpression::~WebRegularExpression):
26625 (WebKit::WebRegularExpression::match):
26627 2009-12-04 Peter Kasting <pkasting@google.com>
26629 Reviewed by Darin Fisher.
26631 [Chromium] Simplify zoom-related APIs and add a zoom level getter,
26632 part two: Remove deprecated APIs.
26633 https://bugs.webkit.org/show_bug.cgi?id=31893
26635 * public/WebView.h:
26636 * src/WebViewImpl.cpp:
26637 * src/WebViewImpl.h:
26639 2009-12-03 Jonathan Dixon <joth@chromium.org>
26641 Reviewed by Dimitri Glazkov.
26643 Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
26644 https://bugs.webkit.org/show_bug.cgi?id=32066
26646 Add the plumbing to map WebSettings through to WebCore::Settings
26649 * public/WebSettings.h: Add setGeolocationEnabled API to interface
26650 * src/WebSettingsImpl.cpp:
26651 (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled
26652 * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function
26654 2009-12-03 Brady Eidson <beidson@apple.com>
26656 Reviewed by Sam Weinig.
26658 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
26660 * src/FrameLoaderClientImpl.cpp:
26661 (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
26662 (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
26663 (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
26664 * src/FrameLoaderClientImpl.h:
26666 2009-12-03 Pavel Feldman <pfeldman@chromium.org>
26668 Reviewed by Timothy Hatcher.
26670 Chromium: Add support for settings containing ":"
26672 https://bugs.webkit.org/show_bug.cgi?id=32118
26674 * src/InspectorClientImpl.cpp:
26675 (WebKit::InspectorClientImpl::loadSettings):
26677 2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
26679 Reviewed by Timothy Hatcher.
26681 Web Inspector: Simplify the settings support in inspector controller.
26683 https://bugs.webkit.org/show_bug.cgi?id=32076
26685 * src/InspectorClientImpl.cpp:
26686 (WebKit::InspectorClientImpl::hiddenPanels):
26687 (WebKit::InspectorClientImpl::populateSetting):
26688 (WebKit::InspectorClientImpl::storeSetting):
26689 (WebKit::InspectorClientImpl::loadSettings):
26690 (WebKit::InspectorClientImpl::saveSettings):
26691 * src/InspectorClientImpl.h:
26693 2009-12-03 Ben Murdoch <benm@google.com>
26695 Reviewed by Brady Eidson.
26697 [Android] The FrameLoaderClient is unaware of BackForwardList changes.
26698 https://bugs.webkit.org/show_bug.cgi?id=31914
26700 * src/FrameLoaderClientImpl.cpp:
26701 (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
26702 (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto.
26703 (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito.
26704 * src/FrameLoaderClientImpl.h:
26706 2009-12-02 Yusuke Sato <yusukes@chromium.org>
26708 Reviewed by Eric Seidel.
26710 Sanitize web fonts using the OTS library
26711 https://bugs.webkit.org/show_bug.cgi?id=31106
26713 * DEPS: Added dependency to the OpenType sanitizer library.
26714 * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1.
26716 2009-12-02 Evan Stade <estade@chromium.org>
26718 Reviewed by Darin Fisher.
26720 https://bugs.webkit.org/show_bug.cgi?id=32029
26721 Mousewheel event delta has reversed sign on Linux Chrome.
26723 No new tests (layout tests don't cover event conversion code).
26724 Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel
26726 * src/gtk/WebInputEventFactory.cpp:
26727 (WebKit::WebInputEventFactory::mouseWheelEvent):
26729 2009-12-02 Anton Muhin <antonm@chromium.org>
26731 Reviewed by Adam Barth.
26733 Allow to skip thread checks when accessing DOMDataStore for processes
26734 which run V8 in single thread mode.
26735 https://bugs.webkit.org/show_bug.cgi?id=31877
26737 * src/WebScriptController.cpp:
26738 (WebKit::WebScriptController::enableV8SingleThreadMode):
26740 2009-12-01 Peter Kasting <pkasting@google.com>
26742 Reviewed by Darin Fisher.
26744 [Chromium] Simplify zoom-related APIs and add a zoom level getter,
26745 part one: Add new APIs. (Old APIs will be removed in a second pass.)
26746 https://bugs.webkit.org/show_bug.cgi?id=31893
26748 * public/WebView.h:
26749 * src/WebViewImpl.cpp:
26750 (WebKit::WebViewImpl::zoomLevel):
26751 (WebKit::WebViewImpl::setZoomLevel):
26752 * src/WebViewImpl.h:
26754 2009-12-01 Xiyuan Xia <xiyuan@chromium.org>
26756 Reviewed by Darin Fisher.
26758 Only fire start/stop events when main frame is not loading.
26760 https://bugs.webkit.org/show_bug.cgi?id=31838
26762 * src/FrameLoaderClientImpl.cpp:
26763 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
26765 2009-11-27 Yury Semikhatsky <yurys@chromium.org>
26767 Reviewed by Pavel Feldman.
26769 Add separate method for pause command to WebDevToolsAgent
26770 and WebDevToolsFrontendClient interfaces so that pause command
26771 can be processed on the IO thread.
26773 https://bugs.webkit.org/show_bug.cgi?id=31934
26775 * public/WebDevToolsAgent.h:
26776 * public/WebDevToolsFrontendClient.h:
26777 (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
26778 (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
26779 (WebKit::WebDevToolsFrontendClient::activateWindow):
26780 (WebKit::WebDevToolsFrontendClient::closeWindow):
26781 (WebKit::WebDevToolsFrontendClient::dockWindow):
26782 (WebKit::WebDevToolsFrontendClient::undockWindow):
26784 2009-11-27 Yury Semikhatsky <yurys@chromium.org>
26786 Reviewed by Pavel Feldman.
26788 WebCore part of the fix that allows to view plugin
26789 resources loaded by plugins. Methods that for resource
26790 loading notifications are exposed through WebDevToolsAgent
26791 interface to the glue code to allow Chromium's plugin
26792 implementation to notify InspectorController about resource
26793 loading in plugins.
26795 https://bugs.webkit.org/show_bug.cgi?id=31832
26797 * public/WebDevToolsAgent.h:
26798 * public/WebView.h:
26799 * src/WebViewImpl.cpp:
26800 (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
26801 * src/WebViewImpl.h:
26803 2009-11-26 Yury Semikhatsky <yurys@chromium.org>
26805 Not reviewed. Build fix: revert r51421.
26807 * public/WebDevToolsAgent.h:
26808 * public/WebView.h:
26809 * src/WebViewImpl.cpp:
26810 * src/WebViewImpl.h:
26812 2009-11-25 Dimitri Glazkov <dglazkov@chromium.org>
26814 Reviewed by David Levin.
26816 [Chromium] Implement canSetValueAttribute in the API.
26817 https://bugs.webkit.org/show_bug.cgi?id=31894
26819 * public/WebAccessibilityObject.h: Added decl.
26820 * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include.
26821 * src/WebAccessibilityObject.cpp:
26822 (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl.
26824 2009-11-25 Dimitri Glazkov <dglazkov@chromium.org>
26826 Reviewed by Darin Fisher.
26828 [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API.
26829 https://bugs.webkit.org/show_bug.cgi?id=31878
26831 * public/WebSettings.h: Added decl.
26832 * src/WebSettingsImpl.cpp:
26833 (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl.
26834 * src/WebSettingsImpl.h:
26836 2009-11-24 Dmitry Titov <dimich@chromium.org>
26838 Reviewed by Eric Seidel.
26840 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
26841 https://bugs.webkit.org/show_bug.cgi?id=31444
26845 2009-11-24 Evan Stade <estade@chromium.org>
26847 Reviewed by David Levin.
26849 Linux Chromium sends too many click events
26850 https://bugs.webkit.org/show_bug.cgi?id=31841
26852 Manually count number of clicks for double/triple click events. This
26853 makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html
26854 Chromium side of this patch is here:
26855 http://codereview.chromium.org/431031/show
26857 * src/gtk/WebInputEventFactory.cpp:
26858 (WebKit::WebInputEventFactory::mouseEvent):
26860 2009-11-24 Darin Fisher <darin@chromium.org>
26862 Reviewed by Adam Barth.
26864 [Chromium] Renderer hang when using www.expedia.com
26865 https://bugs.webkit.org/show_bug.cgi?id=31822
26867 * src/FrameLoaderClientImpl.cpp:
26868 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
26869 Assign ReturnCacheDataDontLoad cache policy at the last moment
26870 to match Safari. This way the cache policy does not get stored
26871 in DocumentLoader's originalRequest preventing it from being
26872 inherited by subresource requests.
26873 * src/ResourceHandle.cpp:
26874 (WebCore::ResourceHandle::willLoadFromCache): Remove assignment
26875 of ReturnCacheDataDontLoad cache policy so that it doesn't end
26876 up applying to the DocumentLoader's originalRequest.
26878 2009-11-23 Kenneth Russell <kbr@google.com>
26880 Reviewed by Oliver Hunt.
26882 Change get... calls to latest spec
26883 https://bugs.webkit.org/show_bug.cgi?id=30091
26885 Removed old versions of get calls on WebGLRenderingContext and
26886 added new ones per spec returning "any". New code simplifies
26887 GraphicsContext3D and fixes previously unimplemented routines.
26888 Added custom JS and V8 bindings. Added exhaustive test case
26889 exercising all new code paths. Updated preexisting test cases for
26890 new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL
26893 Ran WebGL layout tests in WebKit (clean) and Chrome (couple of
26894 preexisting known failures) and manual WebGL tests in both
26897 Test: fast/canvas/webgl/gl-object-get-calls.html
26899 * src/GraphicsContext3D.cpp:
26900 (WebCore::GraphicsContext3D::createFramebuffer):
26901 (WebCore::GraphicsContext3D::createRenderbuffer):
26902 (WebCore::GraphicsContext3D::deleteFramebuffer):
26903 (WebCore::GraphicsContext3D::deleteRenderbuffer):
26904 (WebCore::GraphicsContext3D::checkFramebufferStatus):
26905 (WebCore::GraphicsContext3D::getBooleanv):
26906 (WebCore::GraphicsContext3D::getBufferParameteriv):
26907 (WebCore::GraphicsContext3D::getFloatv):
26908 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
26909 (WebCore::GraphicsContext3D::getIntegerv):
26910 (WebCore::GraphicsContext3D::getProgramiv):
26911 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
26912 (WebCore::GraphicsContext3D::getShaderiv):
26913 (WebCore::GraphicsContext3D::getTexParameterfv):
26914 (WebCore::GraphicsContext3D::getTexParameteriv):
26915 (WebCore::GraphicsContext3D::getUniformfv):
26916 (WebCore::GraphicsContext3D::getUniformiv):
26917 (WebCore::GraphicsContext3D::getVertexAttribfv):
26918 (WebCore::GraphicsContext3D::getVertexAttribiv):
26919 (WebCore::GraphicsContext3D::isFramebuffer):
26920 (WebCore::GraphicsContext3D::isRenderbuffer):
26922 2009-11-24 Pavel Feldman <pfeldman@chromium.org>
26924 Reviewed by Darin Fisher.
26926 Chromium: Expose method for reporting user stats
26927 to the host. Also includes drive-by default implementation.
26929 https://bugs.webkit.org/show_bug.cgi?id=31830
26931 * public/WebKitClient.h:
26933 2009-11-24 Adam Barth <abarth@webkit.org>
26935 Reviewed by Dimitri Glazkov.
26937 [Chromium] Fix DOM storage layout tests
26938 https://bugs.webkit.org/show_bug.cgi?id=31833
26940 The issue is, essentially, that this code assumes that
26941 SecurityOrigin::createString can re-create a SecurityOrigin given
26942 the string produced from SecurityOrigin::toString. This is a bogus
26943 assumption in a number of corner cases (e.g., document.domain,
26944 @sandbox). A recent patch (http://trac.webkit.org/changeset/51294)
26945 make this assumption further invalid in the case of of file:// URLs.
26947 The correct fix is for this code to use WebSecurityOrigin objects
26948 (and not strings) to represent SecurityOrigin objects. However, the
26949 expert on this code is on vacation, and I don't want to do major
26950 surgery here without his involvement. This patch is a temporary fix
26951 to get these tests passing again. We'll do the right fix once
26952 jorlow gets back from vacation.
26954 Tests: Covered by a number of existing DOM storage tests.
26956 * src/WebStorageNamespaceImpl.cpp:
26957 (WebKit::WebStorageNamespaceImpl::createStorageArea):
26959 2009-11-23 Jian Li <jianli@chromium.org>
26961 Reviewed by NOBODY (Chromium build fix).
26963 * src/GraphicsContext3D.cpp:
26964 (WebCore::GraphicsContext3D::createShader):
26966 2009-11-20 Jian Li <jianli@chromium.org>
26968 Not reviewed. Fix chromium build.
26970 * public/WebAccessibilityRole.h:
26972 * src/AssertMatchingEnums.cpp:
26974 2009-11-19 Yaar Schnitman <yaar@chromium.org>
26976 Reviewed by Darin Fisher.
26978 Make chromium/webkit/glue/FormFieldValues use the WebKit API
26980 https://bugs.webkit.org/show_bug.cgi?id=31650
26982 * public/WebElement.h:
26983 * public/WebFormElement.h:
26984 * public/WebInputElement.h:
26985 (WebKit::WebInputElement::):
26986 * public/WebNode.h:
26987 * src/AssertMatchingEnums.cpp:
26988 * src/DOMUtilitiesPrivate.cpp:
26989 (WebKit::nameOfInputElement):
26990 * src/DOMUtilitiesPrivate.h:
26991 * src/EditorClientImpl.cpp:
26992 (WebKit::EditorClientImpl::autofill):
26993 (WebKit::EditorClientImpl::doAutofill):
26994 * src/WebFormElement.cpp:
26995 (WebKit::WebFormElement::name):
26996 (WebKit::WebFormElement::method):
26997 (WebKit::WebFormElement::getNamedElements):
26998 (WebKit::WebFormElement::getInputElements):
26999 * src/WebInputElement.cpp:
27000 (WebKit::WebInputElement::isEnabledFormControl):
27001 (WebKit::WebInputElement::inputType):
27002 (WebKit::WebInputElement::formControlType):
27003 (WebKit::WebInputElement::value):
27004 (WebKit::WebInputElement::dispatchFormControlChangeEvent):
27005 (WebKit::WebInputElement::setSelectionRange):
27006 (WebKit::WebInputElement::name):
27007 (WebKit::WebInputElement::nameForAutofill):
27009 (WebKit::WebNode::frame):
27011 2009-11-18 Michelangelo De Simone <micdesim@gmail.com>
27013 Reviewed by Darin Adler.
27015 Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>.
27016 Support for validationMessage attribute, as per HTML5 specs.
27018 * src/LocalizedStrings.cpp:
27019 (WebCore::validationMessageValueMissingText):
27020 (WebCore::validationMessageTypeMismatchText):
27021 (WebCore::validationMessagePatternMismatchText):
27022 (WebCore::validationMessageTooLongText):
27023 (WebCore::validationMessageRangeUnderflowText):
27024 (WebCore::validationMessageRangeOverflowText):
27025 (WebCore::validationMessageStepMismatchText):
27027 2009-11-18 Nate Chapin <japhet@chromium.org>
27029 Reviewed by Darin Fisher.
27031 Remove Chromium port's dependency on some dummy pthreads header
27032 files that live in the Chromium repository.
27034 https://bugs.webkit.org/show_bug.cgi?id=31648
27036 * DEPS: Remove reference to chromium svn's webkit/build/ directory.
27038 2009-11-18 Evan Stade <estade@chromium.org>
27040 Reviewed by Darin Fisher.
27042 Menu button shows wrong content in Chromium
27043 https://bugs.webkit.org/show_bug.cgi?id=31448
27045 Make context menu button (VK_APPS) show context menu for node that has
27046 keyboard focus. This affects both the content and the positioning.
27048 * src/WebViewImpl.cpp:
27049 (WebKit::WebViewImpl::sendContextMenuEvent):
27051 2009-11-17 Darin Fisher <darin@chromium.org>
27053 Reviewed by Dmitry Titov.
27055 Minor cleanup in WebKit API
27056 https://bugs.webkit.org/show_bug.cgi?id=31616
27058 * public/WebFormElement.h: Add missing WEBKIT_API prefix.
27059 * public/WebNode.h: Add missing WEBKIT_API prefix.
27060 * src/WebFormElement.cpp:
27061 (WebKit::WebFormElement::action): Make action getter const.
27063 (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame.
27065 2009-11-17 Nicolas Weber <thakis@chromium.org>
27067 Reviewed by Darin Fisher, Dmitry Titov.
27069 Revert r50887, it regressed handling of cmd-left when a text box is focused.
27070 https://bugs.webkit.org/show_bug.cgi?id=31566
27072 * src/mac/WebInputEventFactory.mm:
27073 (WebKit::WebInputEventFactory::keyboardEvent):
27075 2009-11-16 Kenneth Russell <kbr@google.com>
27077 Reviewed by Oliver Hunt.
27079 Update API of WebGLArray and friends
27080 https://bugs.webkit.org/show_bug.cgi?id=31175
27082 * src/GraphicsContext3D.cpp:
27083 (WebCore::GraphicsContext3D::bufferData):
27084 (WebCore::GraphicsContext3D::bufferSubData):
27086 2009-11-15 Dimitri Glazkov <dglazkov@chromium.org>
27088 Unreviewed, build fix.
27090 Correct an error in the previous commit
27092 * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory,
27093 not WebAccessibilityDirectoryRole.
27095 2009-11-15 Dimitri Glazkov <dglazkov@chromium.org>
27097 Unreviewed, build fix.
27099 Bring WebAccessibilityRole up to sync after
27100 http://trac.webkit.org/changeset/51007.
27102 * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory.
27103 * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and
27104 WebAccessibilityRoleDirectory.
27106 2009-11-13 Dimitri Glazkov <dglazkov@chromium.org>
27108 Unreviewed, build fix.
27110 [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld
27111 to catch up http://trac.webkit.org/changeset/50973.
27113 * src/FrameLoaderClientImpl.cpp:
27114 (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
27115 * src/FrameLoaderClientImpl.h:
27117 2009-11-13 Yaar Schnitman <yaar@chromium.org>
27119 Reviewed by Dimitri Glazkov.
27121 Chromium WebKit Port to compile as dynamic lib
27123 https://bugs.webkit.org/show_bug.cgi?id=31478
27127 2009-11-13 Aaron Boodman <aa@chromium.org>
27129 Reviewed by Eric Seidel.
27131 Adds a way to get the document element's scrollHeight,
27132 which is sort of the moral equivalent to
27133 RenderBox::minPrefWidth().
27135 https://bugs.webkit.org/show_bug.cgi?id=31036
27137 * public/WebFrame.h: Declare documentElementScrollHeight()
27138 * src/WebFrameImpl.h: Ditto
27139 * src/WebFrameImpl.cpp: Implement documentElementScrollHeight()
27140 (WebKit::WebFrameImpl::documentElementScrollHeight): Return the
27141 scroll height of the document element, or zero if there's no
27144 2009-11-12 Dumitru Daniliuc <dumi@chromium.org>
27146 Reviewed by Dimitri Glazkov.
27148 Adding Chromium's DatabaseTracker implementation.
27150 https://bugs.webkit.org/show_bug.cgi?id=31440
27153 * src/ChromeClientImpl.cpp:
27154 (WebKit::ChromeClientImpl::exceededDatabaseQuota):
27155 * src/DatabaseObserver.cpp: Added.
27156 (WebCore::DatabaseObserver::databaseOpened):
27157 (WebCore::DatabaseObserver::databaseModified):
27158 (WebCore::DatabaseObserver::databaseClosed):
27159 * src/WebDatabase.cpp:
27160 (WebKit::WebDatabase::name):
27161 (WebKit::WebDatabase::displayName):
27162 (WebKit::WebDatabase::estimatedSize):
27163 (WebKit::WebDatabase::securityOrigin):
27164 (WebKit::WebDatabase::updateDatabaseSize):
27165 * src/WebSecurityOrigin.cpp:
27166 (WebKit::WebSecurityOrigin::toString):
27167 (WebKit::WebSecurityOrigin::databaseIdentifier):
27169 2009-11-13 Yaar Schnitman <yaar@chromium.org>
27171 Reviewed by Dimitri Glazkov.
27173 Rolling Chromium dependencies to match Chromium revision 31834.
27175 https://bugs.webkit.org/show_bug.cgi?id=31445
27179 2009-11-12 Dumitru Daniliuc <dumi@chromium.org>
27181 Reviewed by Dimitri Glazkov.
27183 Renaming some parameters passed to DB-related methods to better
27184 indicate their purpose.
27186 https://bugs.webkit.org/show_bug.cgi?id=31449
27188 * public/WebKitClient.h:
27189 * src/ChromiumBridge.cpp:
27190 (WebCore::ChromiumBridge::databaseOpenFile):
27191 (WebCore::ChromiumBridge::databaseDeleteFile):
27192 (WebCore::ChromiumBridge::databaseGetFileAttributes):
27193 (WebCore::ChromiumBridge::databaseGetFileSize):
27195 2009-11-12 Adam Barth <abarth>
27197 Reviewed by Dimitri Glazkov.
27199 [Chromium] reload-subframe-object.html fails
27200 https://bugs.webkit.org/show_bug.cgi?id=31398
27202 More closely match FrameLoaderClient.mm. Turns out we don't want to
27203 use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish
27204 between application/octet-stream and lack of knowledge of the MIME
27207 Covered by reload-subframe-object.html.
27209 * src/FrameLoaderClientImpl.cpp:
27210 (WebKit::FrameLoaderClientImpl::objectContentType):
27212 2009-11-12 Nate Chapin <japhet@chromium.org>
27214 Unreviewed, Chromium build fix.
27216 Add new accessibility enum values to Chromium enums from
27217 http://trac.webkit.org/changeset/50865 and
27218 http://trac.webkit.org/changeset/50883.
27220 https://bugs.webkit.org/show_bug.cgi?id=31424
27222 * public/WebAccessibilityRole.h:
27224 * src/AssertMatchingEnums.cpp:
27226 2009-11-12 Nicolas Weber <thakis@chromium.org>
27228 Reviewed by Dimitri Glazkov.
27230 Send |keypress()| events for keys with cmd down, like safari.
27231 Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a
27234 * src/mac/WebInputEventFactory.mm:
27235 (WebKit::WebInputEventFactory::keyboardEvent):
27237 2009-11-11 Jeremy Orlow <jorlow@chromium.org>
27239 Not reviewed. Build fix. Will be cleaned up in subsequent patch once we know exaclty what's going on.
27241 * src/WebBindings.cpp:
27243 2009-11-11 Drew Wilson <atwilson@chromium.org>
27245 Reviewed by Dimitri Glazkov.
27247 SharedWorkerRepository.connect() does not call WebSharedWorkerRepository
27248 https://bugs.webkit.org/show_bug.cgi?id=31371
27250 Test: Unit tests can be enabled downstream when this lands.
27252 * src/SharedWorkerRepository.cpp:
27253 (WebCore::SharedWorkerRepository::connect):
27254 Added missing call to WebSharedWorkerRepository.addSharedWorker().
27256 2009-11-11 Yaar Schnitman <yaar@chromium.org>
27258 Reviewed by Dimitri Glazkov.
27260 Tiny path fixes in Chromium API includes.
27262 https://bugs.webkit.org/show_bug.cgi?id=31369
27264 * public/linux/WebSandboxSupport.h: Fixed path.
27265 * src/WebBindings.cpp: Fixed path.
27267 2009-11-11 Nate Chapin <japhet@chromium.org>
27269 Reviewed by Dimitri Glazkov.
27271 http://trac.webkit.org/changeset/50811 removed some methods from
27272 platform/network/SocketStreamHandleClient.h, so remove them
27275 https://bugs.webkit.org/show_bug.cgi?id=31360
27277 * public/WebSocketStreamHandleClient.h:
27278 * src/SocketStreamHandle.cpp:
27279 (WebCore::SocketStreamHandleInternal::send):
27281 2009-11-11 Nate Chapin <japhet@chromium.org>
27283 Reviewed by Eric Seidel.
27285 Remove some additional references to dragSourceMovedTo() not
27286 needed after http://trac.webkit.org/changeset/50786.
27288 https://bugs.webkit.org/show_bug.cgi?id=31354
27290 * public/WebView.h:
27291 * src/WebViewImpl.h:
27293 2009-11-11 Nate Chapin <japhet@chromium.org>
27295 Reviewed by Dimitri Glazkov.
27297 Remove WebViewImpl::dragSourceMovedTo(), as it is no longer
27298 needed after http://trac.webkit.org/changeset/50786.
27300 https://bugs.webkit.org/show_bug.cgi?id=31354
27302 * src/WebViewImpl.cpp:
27304 2009-11-10 Nate Chapin <japhet@chromium.org>
27306 Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760.
27308 * src/WebFrameImpl.cpp:
27309 (WebKit::WebFrameImpl::paint):
27311 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27313 Reviewed by Dimitri Glazkov.
27315 Modified WebKit.gyp to build the webkit api.
27317 https://bugs.webkit.org/show_bug.cgi?id=31320
27320 * WebKit.gyp: Added.
27321 * webkit.gyp: Removed.
27323 2009-11-10 Nate Chapin <japhet@chromium.org>
27325 Reviewed by Eric Seidel.
27327 Update references to Canvas 3D classes to use the WebGL prefix
27328 introduced in http://trac.webkit.org/changeset/50725.
27330 https://bugs.webkit.org/show_bug.cgi?id=31276
27332 * src/GraphicsContext3D.cpp:
27333 (WebCore::GraphicsContext3DInternal::beginPaint):
27334 (WebCore::GraphicsContext3DInternal::bindBuffer):
27335 (WebCore::GraphicsContext3DInternal::bindTexture):
27336 (WebCore::GraphicsContext3D::beginPaint):
27337 (WebCore::GraphicsContext3D::bindAttribLocation):
27338 (WebCore::GraphicsContext3D::bindBuffer):
27339 (WebCore::GraphicsContext3D::bindTexture):
27340 (WebCore::GraphicsContext3D::bufferData):
27341 (WebCore::GraphicsContext3D::bufferSubData):
27342 (WebCore::GraphicsContext3D::detachShader):
27343 (WebCore::GraphicsContext3D::getActiveAttrib):
27344 (WebCore::GraphicsContext3D::getActiveUniform):
27345 (WebCore::GraphicsContext3D::getAttribLocation):
27346 (WebCore::GraphicsContext3D::getBooleanv):
27347 (WebCore::GraphicsContext3D::getBufferParameteriv):
27348 (WebCore::GraphicsContext3D::getFloatv):
27349 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
27350 (WebCore::GraphicsContext3D::getIntegerv):
27351 (WebCore::GraphicsContext3D::getProgrami):
27352 (WebCore::GraphicsContext3D::getProgramiv):
27353 (WebCore::GraphicsContext3D::getProgramInfoLog):
27354 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
27355 (WebCore::GraphicsContext3D::getShaderi):
27356 (WebCore::GraphicsContext3D::getShaderiv):
27357 (WebCore::GraphicsContext3D::getShaderInfoLog):
27358 (WebCore::GraphicsContext3D::getShaderSource):
27359 (WebCore::GraphicsContext3D::getTexParameterfv):
27360 (WebCore::GraphicsContext3D::getTexParameteriv):
27361 (WebCore::GraphicsContext3D::getUniformf):
27362 (WebCore::GraphicsContext3D::getUniformfv):
27363 (WebCore::GraphicsContext3D::getUniformi):
27364 (WebCore::GraphicsContext3D::getUniformiv):
27365 (WebCore::GraphicsContext3D::getUniformLocation):
27366 (WebCore::GraphicsContext3D::getVertexAttribfv):
27367 (WebCore::GraphicsContext3D::getVertexAttribiv):
27368 (WebCore::GraphicsContext3D::isBuffer):
27369 (WebCore::GraphicsContext3D::isFramebuffer):
27370 (WebCore::GraphicsContext3D::isProgram):
27371 (WebCore::GraphicsContext3D::isRenderbuffer):
27372 (WebCore::GraphicsContext3D::isShader):
27373 (WebCore::GraphicsContext3D::isTexture):
27374 (WebCore::GraphicsContext3D::readPixels):
27375 (WebCore::GraphicsContext3D::shaderSource):
27376 (WebCore::GraphicsContext3D::texImage2D):
27377 (WebCore::GraphicsContext3D::texSubImage2D):
27379 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27381 Reviewed by Dimitri Glazkov.
27383 Up-streaming Chromium API src files: WebWorker and friends.
27385 https://bugs.webkit.org/show_bug.cgi?id=31276
27387 * src/WebWorkerBase.cpp: Added.
27388 (WebKit::WorkerWebFrameClient::didCreateDataSource):
27389 (WebKit::WorkerWebFrameClient::sharedInstance):
27390 (WebKit::WorkerWebFrameClient::WorkerWebFrameClient):
27391 (WebKit::initializeWebKitStaticValues):
27392 (WebKit::WebWorkerBase::WebWorkerBase):
27393 (WebKit::WebWorkerBase::~WebWorkerBase):
27394 (WebKit::WebWorkerBase::stopWorkerThread):
27395 (WebKit::WebWorkerBase::initializeLoader):
27396 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
27397 (WebKit::WebWorkerBase::invokeTaskMethod):
27398 (WebKit::WebWorkerBase::postMessageToWorkerObject):
27399 (WebKit::WebWorkerBase::postMessageTask):
27400 (WebKit::WebWorkerBase::postExceptionToWorkerObject):
27401 (WebKit::WebWorkerBase::postExceptionTask):
27402 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
27403 (WebKit::WebWorkerBase::postConsoleMessageTask):
27404 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
27405 (WebKit::WebWorkerBase::confirmMessageTask):
27406 (WebKit::WebWorkerBase::reportPendingActivity):
27407 (WebKit::WebWorkerBase::reportPendingActivityTask):
27408 (WebKit::WebWorkerBase::workerContextClosed):
27409 (WebKit::WebWorkerBase::workerContextClosedTask):
27410 (WebKit::WebWorkerBase::workerContextDestroyed):
27411 (WebKit::WebWorkerBase::workerContextDestroyedTask):
27412 (WebKit::WebWorkerBase::postTaskToLoader):
27413 (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
27414 * src/WebWorkerBase.h: Added.
27415 (WebKit::WebWorkerBase::setWorkerThread):
27416 (WebKit::WebWorkerBase::workerThread):
27417 * src/WebWorkerClientImpl.cpp: Added.
27418 (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
27419 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
27420 (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
27421 (WebKit::WebWorkerClientImpl::setWebWorker):
27422 (WebKit::WebWorkerClientImpl::startWorkerContext):
27423 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
27424 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
27425 (WebKit::WebWorkerClientImpl::hasPendingActivity):
27426 (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
27427 (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
27428 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
27429 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
27430 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
27431 (WebKit::WebWorkerClientImpl::reportPendingActivity):
27432 (WebKit::WebWorkerClientImpl::workerContextDestroyed):
27433 (WebKit::WebWorkerClientImpl::workerContextClosed):
27434 (WebKit::WebWorkerClientImpl::startWorkerContextTask):
27435 (WebKit::WebWorkerClientImpl::terminateWorkerContextTask):
27436 (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask):
27437 (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask):
27438 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
27439 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
27440 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
27441 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask):
27442 (WebKit::WebWorkerClientImpl::reportPendingActivityTask):
27443 * src/WebWorkerClientImpl.h: Added.
27444 (WebKit::WebWorkerClientImpl::createWorker):
27445 (WebKit::WebWorkerClientImpl::notificationPresenter):
27446 * src/WebWorkerImpl.cpp: Added.
27447 (WebKit::WebWorker::create):
27448 (WebKit::WebWorkerImpl::WebWorkerImpl):
27449 (WebKit::WebWorkerImpl::~WebWorkerImpl):
27450 (WebKit::WebWorkerImpl::commonClient):
27451 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
27452 (WebKit::WebWorkerImpl::startWorkerContext):
27453 (WebKit::WebWorkerImpl::terminateWorkerContext):
27454 (WebKit::WebWorkerImpl::postMessageToWorkerContext):
27455 (WebKit::WebWorkerImpl::workerObjectDestroyed):
27456 (WebKit::WebWorkerImpl::clientDestroyed):
27457 * src/WebWorkerImpl.h: Added.
27458 (WebKit::WebWorkerImpl::client):
27460 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27462 Reviewed by Dimitri Glazkov.
27464 Up-streaming Chromium API src files: Platform specific files.
27466 https://bugs.webkit.org/show_bug.cgi?id=31276
27468 * src/gtk/WebFontInfo.cpp: Added.
27469 (WebKit::WebFontInfo::familyForChars):
27470 * src/gtk/WebInputEventFactory.cpp: Added.
27471 (WebKit::gdkEventTimeToWebEventTime):
27472 (WebKit::gdkStateToWebEventModifiers):
27473 (WebKit::gdkEventToWindowsKeyCode):
27474 (WebKit::getControlCharacter):
27475 (WebKit::WebInputEventFactory::keyboardEvent):
27476 (WebKit::WebInputEventFactory::mouseEvent):
27477 (WebKit::WebInputEventFactory::mouseWheelEvent):
27478 * src/gtk/WebScreenInfoFactory.cpp: Added.
27479 (WebKit::WebScreenInfoFactory::screenInfo):
27480 * src/linux/WebFontRendering.cpp: Added.
27481 (WebKit::WebFontRendering::setHinting):
27482 (WebKit::WebFontRendering::setAntiAlias):
27483 (WebKit::WebFontRendering::setSubpixelGlyphs):
27484 (WebKit::WebFontRendering::setLCDOrder):
27485 (WebKit::WebFontRendering::setLCDOrientation):
27486 * src/mac/WebInputEventFactory.mm: Added.
27487 (WebKit::isKeyUpEvent):
27488 (WebKit::isKeypadEvent):
27489 (WebKit::windowsKeyCodeForKeyEvent):
27490 (WebKit::textFromEvent):
27491 (WebKit::unmodifiedTextFromEvent):
27492 (WebKit::keyIdentifierForKeyEvent):
27493 (WebKit::modifiersFromEvent):
27494 (WebKit::WebInputEventFactory::keyboardEvent):
27495 (WebKit::WebInputEventFactory::mouseEvent):
27496 (WebKit::WebInputEventFactory::mouseWheelEvent):
27497 * src/mac/WebScreenInfoFactory.mm: Added.
27498 (WebKit::screenForWindow):
27499 (WebKit::toUserSpace):
27500 (WebKit::WebScreenInfoFactory::screenInfo):
27501 * src/win/WebInputEventFactory.cpp: Added.
27502 (WebKit::isKeyPad):
27503 (WebKit::WebInputEventFactory::keyboardEvent):
27504 (WebKit::GetRelativeCursorPos):
27505 (WebKit::WebInputEventFactory::resetLastClickState):
27506 (WebKit::WebInputEventFactory::mouseEvent):
27507 (WebKit::WebInputEventFactory::mouseWheelEvent):
27508 * src/win/WebScreenInfoFactory.cpp: Added.
27509 (WebKit::toWebRect):
27510 (WebKit::WebScreenInfoFactory::screenInfo):
27511 * src/x11/WebScreenInfoFactory.cpp: Added.
27512 (WebKit::WebScreenInfoFactory::screenInfo):
27514 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27516 Reviewed by Eric Seidel.
27518 Up-streaming Chromium API src files: WrapperResourceRequest and Response
27520 https://bugs.webkit.org/show_bug.cgi?id=31276
27522 * src/WrappedResourceRequest.h: Added.
27523 (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
27524 (WebKit::WrappedResourceRequest::WrappedResourceRequest):
27525 (WebKit::WrappedResourceRequest::bind):
27526 (WebKit::WrappedResourceRequest::Handle::dispose):
27527 * src/WrappedResourceResponse.h: Added.
27528 (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
27529 (WebKit::WrappedResourceResponse::WrappedResourceResponse):
27530 (WebKit::WrappedResourceResponse::bind):
27531 (WebKit::WrappedResourceResponse::Handle::dispose):
27533 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27535 Reviewed by Dimitri Glazkov.
27537 Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy
27539 https://bugs.webkit.org/show_bug.cgi?id=31276
27541 * src/SocketStreamHandle.cpp: Added.
27542 (WebCore::SocketStreamHandleInternal::create):
27543 (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal):
27544 (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal):
27545 (WebCore::SocketStreamHandleInternal::connect):
27546 (WebCore::SocketStreamHandleInternal::send):
27547 (WebCore::SocketStreamHandleInternal::close):
27548 (WebCore::SocketStreamHandleInternal::willOpenStream):
27549 (WebCore::SocketStreamHandleInternal::didOpenStream):
27550 (WebCore::SocketStreamHandleInternal::didSendData):
27551 (WebCore::SocketStreamHandleInternal::didReceiveData):
27552 (WebCore::SocketStreamHandleInternal::didClose):
27553 (WebCore::SocketStreamHandleInternal::didFail):
27554 (WebCore::SocketStreamHandle::SocketStreamHandle):
27555 (WebCore::SocketStreamHandle::~SocketStreamHandle):
27556 (WebCore::SocketStreamHandle::platformSend):
27557 (WebCore::SocketStreamHandle::platformClose):
27558 (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
27559 (WebCore::SocketStreamHandle::receivedCredential):
27560 (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
27561 (WebCore::SocketStreamHandle::receivedCancellation):
27562 * src/StorageAreaProxy.cpp: Added.
27563 (WebCore::StorageAreaProxy::StorageAreaProxy):
27564 (WebCore::StorageAreaProxy::~StorageAreaProxy):
27565 (WebCore::StorageAreaProxy::length):
27566 (WebCore::StorageAreaProxy::key):
27567 (WebCore::StorageAreaProxy::getItem):
27568 (WebCore::StorageAreaProxy::setItem):
27569 (WebCore::StorageAreaProxy::removeItem):
27570 (WebCore::StorageAreaProxy::clear):
27571 (WebCore::StorageAreaProxy::contains):
27572 * src/StorageAreaProxy.h: Added.
27573 * src/StorageEventDispatcherChromium.cpp: Added.
27574 (WebCore::StorageEventDispatcher::dispatch):
27575 * src/StorageEventDispatcherImpl.cpp: Added.
27576 (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
27577 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
27578 * src/StorageEventDispatcherImpl.h: Added.
27579 * src/StorageNamespaceProxy.cpp: Added.
27580 (WebCore::StorageNamespace::localStorageNamespace):
27581 (WebCore::StorageNamespace::sessionStorageNamespace):
27582 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
27583 (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy):
27584 (WebCore::StorageNamespaceProxy::copy):
27585 (WebCore::StorageNamespaceProxy::storageArea):
27586 (WebCore::StorageNamespaceProxy::close):
27587 (WebCore::StorageNamespaceProxy::unlock):
27588 * src/StorageNamespaceProxy.h: Added.
27590 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27592 Reviewed by Dimitri Glazkov.
27594 Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository
27596 https://bugs.webkit.org/show_bug.cgi?id=31276
27598 * src/NotificationPresenterImpl.cpp: Added.
27599 (WebKit::VoidCallbackClient::VoidCallbackClient):
27600 (WebKit::VoidCallbackClient::permissionRequestComplete):
27601 (WebKit::NotificationPresenterImpl::initialize):
27602 (WebKit::NotificationPresenterImpl::isInitialized):
27603 (WebKit::NotificationPresenterImpl::show):
27604 (WebKit::NotificationPresenterImpl::cancel):
27605 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
27606 (WebKit::NotificationPresenterImpl::checkPermission):
27607 (WebKit::NotificationPresenterImpl::requestPermission):
27608 * src/NotificationPresenterImpl.h: Added.
27609 (WebKit::NotificationPresenterImpl::NotificationPresenterImpl):
27610 * src/PlatformMessagePortChannel.cpp: Added.
27611 (WebCore::MessagePortChannel::create):
27612 (WebCore::MessagePortChannel::createChannel):
27613 (WebCore::MessagePortChannel::MessagePortChannel):
27614 (WebCore::MessagePortChannel::~MessagePortChannel):
27615 (WebCore::MessagePortChannel::entangleIfOpen):
27616 (WebCore::MessagePortChannel::disentangle):
27617 (WebCore::MessagePortChannel::postMessageToRemote):
27618 (WebCore::MessagePortChannel::tryGetMessageFromRemote):
27619 (WebCore::MessagePortChannel::close):
27620 (WebCore::MessagePortChannel::isConnectedTo):
27621 (WebCore::MessagePortChannel::hasPendingActivity):
27622 (WebCore::MessagePortChannel::locallyEntangledPort):
27623 (WebCore::PlatformMessagePortChannel::create):
27624 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
27625 (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel):
27626 (WebCore::PlatformMessagePortChannel::createChannel):
27627 (WebCore::PlatformMessagePortChannel::messageAvailable):
27628 (WebCore::PlatformMessagePortChannel::entangleIfOpen):
27629 (WebCore::PlatformMessagePortChannel::disentangle):
27630 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
27631 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
27632 (WebCore::PlatformMessagePortChannel::close):
27633 (WebCore::PlatformMessagePortChannel::isConnectedTo):
27634 (WebCore::PlatformMessagePortChannel::hasPendingActivity):
27635 (WebCore::PlatformMessagePortChannel::setEntangledChannel):
27636 (WebCore::PlatformMessagePortChannel::webChannelRelease):
27637 * src/PlatformMessagePortChannel.h: Added.
27638 * src/ResourceHandle.cpp: Added.
27639 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
27640 (WebCore::ResourceHandleInternal::start):
27641 (WebCore::ResourceHandleInternal::cancel):
27642 (WebCore::ResourceHandleInternal::setDefersLoading):
27643 (WebCore::ResourceHandleInternal::allowStoredCredentials):
27644 (WebCore::ResourceHandleInternal::willSendRequest):
27645 (WebCore::ResourceHandleInternal::didSendData):
27646 (WebCore::ResourceHandleInternal::didReceiveResponse):
27647 (WebCore::ResourceHandleInternal::didReceiveData):
27648 (WebCore::ResourceHandleInternal::didFinishLoading):
27649 (WebCore::ResourceHandleInternal::didFail):
27650 (WebCore::ResourceHandle::ResourceHandle):
27651 (WebCore::ResourceHandle::create):
27652 (WebCore::ResourceHandle::request):
27653 (WebCore::ResourceHandle::client):
27654 (WebCore::ResourceHandle::setClient):
27655 (WebCore::ResourceHandle::setDefersLoading):
27656 (WebCore::ResourceHandle::start):
27657 (WebCore::ResourceHandle::clearAuthentication):
27658 (WebCore::ResourceHandle::cancel):
27659 (WebCore::ResourceHandle::~ResourceHandle):
27660 (WebCore::ResourceHandle::bufferedData):
27661 (WebCore::ResourceHandle::loadsBlocked):
27662 (WebCore::ResourceHandle::supportsBufferedData):
27663 (WebCore::ResourceHandle::loadResourceSynchronously):
27664 (WebCore::ResourceHandle::willLoadFromCache):
27665 * src/SharedWorkerRepository.cpp: Added.
27666 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
27667 (WebCore::SharedWorkerScriptLoader::load):
27668 (WebCore::getWebPort):
27669 (WebCore::SharedWorkerScriptLoader::notifyFinished):
27670 (WebCore::SharedWorkerScriptLoader::sendConnect):
27671 (WebCore::SharedWorkerScriptLoader::contextDestroyed):
27672 (WebCore::SharedWorkerScriptLoader::connected):
27673 (WebCore::SharedWorkerRepository::isAvailable):
27675 (WebCore::SharedWorkerRepository::connect):
27676 (WebCore::SharedWorkerRepository::documentDetached):
27677 (WebCore::SharedWorkerRepository::hasSharedWorkers):
27679 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27681 Reviewed by Dimitri Glazkov.
27683 Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium
27685 https://bugs.webkit.org/show_bug.cgi?id=31276
27687 * src/GraphicsContext3D.cpp: Added.
27688 (WebCore::GraphicsContext3DInternal::):
27689 (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
27690 (WebCore::tryLoad):
27691 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
27692 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
27693 (WebCore::GraphicsContext3DInternal::checkError):
27694 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
27695 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
27696 (WebCore::GraphicsContext3DInternal::platformTexture):
27697 (WebCore::createTextureObject):
27698 (WebCore::GraphicsContext3DInternal::reshape):
27699 (WebCore::GraphicsContext3DInternal::flipVertically):
27700 (WebCore::GraphicsContext3DInternal::beginPaint):
27701 (WebCore::GraphicsContext3DInternal::validateTextureTarget):
27702 (WebCore::GraphicsContext3DInternal::validateTextureParameter):
27703 (WebCore::GraphicsContext3DInternal::activeTexture):
27704 (WebCore::GraphicsContext3DInternal::bindBuffer):
27705 (WebCore::GraphicsContext3DInternal::bindTexture):
27706 (WebCore::GraphicsContext3DInternal::bufferDataImpl):
27707 (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
27708 (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
27709 (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
27710 (WebCore::GraphicsContext3DInternal::viewportImpl):
27711 (WebCore::GraphicsContext3D::create):
27712 (WebCore::GraphicsContext3D::GraphicsContext3D):
27713 (WebCore::GraphicsContext3D::~GraphicsContext3D):
27714 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
27715 (WebCore::GraphicsContext3D::platformTexture):
27716 (WebCore::GraphicsContext3D::checkError):
27717 (WebCore::GraphicsContext3D::makeContextCurrent):
27718 (WebCore::GraphicsContext3D::reshape):
27719 (WebCore::GraphicsContext3D::beginPaint):
27720 (WebCore::GraphicsContext3D::endPaint):
27721 (WebCore::GraphicsContext3D::sizeInBytes):
27722 (WebCore::GraphicsContext3D::createBuffer):
27723 (WebCore::GraphicsContext3D::createFramebuffer):
27724 (WebCore::GraphicsContext3D::createProgram):
27725 (WebCore::GraphicsContext3D::createRenderbuffer):
27726 (WebCore::GraphicsContext3D::createShader):
27727 (WebCore::GraphicsContext3D::createTexture):
27728 (WebCore::GraphicsContext3D::deleteBuffer):
27729 (WebCore::GraphicsContext3D::deleteFramebuffer):
27730 (WebCore::GraphicsContext3D::deleteProgram):
27731 (WebCore::GraphicsContext3D::deleteRenderbuffer):
27732 (WebCore::GraphicsContext3D::deleteShader):
27733 (WebCore::GraphicsContext3D::deleteTexture):
27734 (WebCore::GraphicsContext3D::activeTexture):
27735 (WebCore::GraphicsContext3D::bindAttribLocation):
27736 (WebCore::GraphicsContext3D::bindBuffer):
27737 (WebCore::GraphicsContext3D::bindTexture):
27738 (WebCore::GraphicsContext3D::bufferData):
27739 (WebCore::GraphicsContext3D::bufferSubData):
27740 (WebCore::GraphicsContext3D::checkFramebufferStatus):
27741 (WebCore::GraphicsContext3D::detachShader):
27742 (WebCore::GraphicsContext3D::disableVertexAttribArray):
27743 (WebCore::GraphicsContext3D::drawArrays):
27744 (WebCore::GraphicsContext3D::drawElements):
27745 (WebCore::GraphicsContext3D::enableVertexAttribArray):
27746 (WebCore::GraphicsContext3D::generateMipmap):
27747 (WebCore::GraphicsContext3D::getActiveAttrib):
27748 (WebCore::GraphicsContext3D::getActiveUniform):
27749 (WebCore::GraphicsContext3D::getAttribLocation):
27750 (WebCore::GraphicsContext3D::getBoolean):
27751 (WebCore::GraphicsContext3D::getBooleanv):
27752 (WebCore::GraphicsContext3D::getBufferParameteri):
27753 (WebCore::GraphicsContext3D::getBufferParameteriv):
27754 (WebCore::GraphicsContext3D::getError):
27755 (WebCore::GraphicsContext3D::getFloat):
27756 (WebCore::GraphicsContext3D::getFloatv):
27757 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri):
27758 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
27759 (WebCore::GraphicsContext3D::getInteger):
27760 (WebCore::GraphicsContext3D::getIntegerv):
27761 (WebCore::GraphicsContext3D::getProgrami):
27762 (WebCore::GraphicsContext3D::getProgramiv):
27763 (WebCore::GraphicsContext3D::getProgramInfoLog):
27764 (WebCore::GraphicsContext3D::getRenderbufferParameteri):
27765 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
27766 (WebCore::GraphicsContext3D::getShaderi):
27767 (WebCore::GraphicsContext3D::getShaderiv):
27768 (WebCore::GraphicsContext3D::getShaderInfoLog):
27769 (WebCore::GraphicsContext3D::getShaderSource):
27770 (WebCore::GraphicsContext3D::getString):
27771 (WebCore::GraphicsContext3D::getTexParameterf):
27772 (WebCore::GraphicsContext3D::getTexParameterfv):
27773 (WebCore::GraphicsContext3D::getTexParameteri):
27774 (WebCore::GraphicsContext3D::getTexParameteriv):
27775 (WebCore::GraphicsContext3D::getUniformf):
27776 (WebCore::GraphicsContext3D::getUniformfv):
27777 (WebCore::GraphicsContext3D::getUniformi):
27778 (WebCore::GraphicsContext3D::getUniformiv):
27779 (WebCore::GraphicsContext3D::getUniformLocation):
27780 (WebCore::GraphicsContext3D::getVertexAttribf):
27781 (WebCore::GraphicsContext3D::getVertexAttribfv):
27782 (WebCore::GraphicsContext3D::getVertexAttribi):
27783 (WebCore::GraphicsContext3D::getVertexAttribiv):
27784 (WebCore::GraphicsContext3D::getVertexAttribOffset):
27785 (WebCore::GraphicsContext3D::isBuffer):
27786 (WebCore::GraphicsContext3D::isEnabled):
27787 (WebCore::GraphicsContext3D::isFramebuffer):
27788 (WebCore::GraphicsContext3D::isProgram):
27789 (WebCore::GraphicsContext3D::isRenderbuffer):
27790 (WebCore::GraphicsContext3D::isShader):
27791 (WebCore::GraphicsContext3D::isTexture):
27792 (WebCore::GraphicsContext3D::pixelStorei):
27793 (WebCore::GraphicsContext3D::readPixels):
27794 (WebCore::GraphicsContext3D::releaseShaderCompiler):
27795 (WebCore::GraphicsContext3D::shaderSource):
27796 (WebCore::GraphicsContext3D::texImage2D):
27797 (WebCore::unmultiplyAlpha):
27798 (WebCore::texImage2DHelper):
27799 (WebCore::GraphicsContext3D::texSubImage2D):
27800 (WebCore::GraphicsContext3D::uniform1fv):
27801 (WebCore::GraphicsContext3D::uniform1iv):
27802 (WebCore::GraphicsContext3D::uniform2fv):
27803 (WebCore::GraphicsContext3D::uniform2iv):
27804 (WebCore::GraphicsContext3D::uniform3fv):
27805 (WebCore::GraphicsContext3D::uniform3iv):
27806 (WebCore::GraphicsContext3D::uniform4fv):
27807 (WebCore::GraphicsContext3D::uniform4iv):
27808 (WebCore::GraphicsContext3D::uniformMatrix2fv):
27809 (WebCore::GraphicsContext3D::uniformMatrix3fv):
27810 (WebCore::GraphicsContext3D::uniformMatrix4fv):
27811 (WebCore::GraphicsContext3D::vertexAttrib1fv):
27812 (WebCore::GraphicsContext3D::vertexAttrib2fv):
27813 (WebCore::GraphicsContext3D::vertexAttrib3fv):
27814 (WebCore::GraphicsContext3D::vertexAttrib4fv):
27815 (WebCore::GraphicsContext3D::vertexAttribPointer):
27816 (WebCore::GraphicsContext3D::viewport):
27817 * src/InspectorClientImpl.cpp: Added.
27818 (WebKit::InspectorClientImpl::InspectorClientImpl):
27819 (WebKit::InspectorClientImpl::~InspectorClientImpl):
27820 (WebKit::InspectorClientImpl::inspectorDestroyed):
27821 (WebKit::InspectorClientImpl::createPage):
27822 (WebKit::InspectorClientImpl::showWindow):
27823 (WebKit::InspectorClientImpl::closeWindow):
27824 (WebKit::InspectorClientImpl::windowVisible):
27825 (WebKit::InspectorClientImpl::attachWindow):
27826 (WebKit::InspectorClientImpl::detachWindow):
27827 (WebKit::InspectorClientImpl::setAttachedWindowHeight):
27828 (WebKit::invalidateNodeBoundingRect):
27829 (WebKit::InspectorClientImpl::highlight):
27830 (WebKit::InspectorClientImpl::hideHighlight):
27831 (WebKit::InspectorClientImpl::inspectedURLChanged):
27832 (WebKit::InspectorClientImpl::localizedStringsURL):
27833 (WebKit::InspectorClientImpl::hiddenPanels):
27834 (WebKit::InspectorClientImpl::populateSetting):
27835 (WebKit::InspectorClientImpl::storeSetting):
27836 (WebKit::InspectorClientImpl::removeSetting):
27837 (WebKit::InspectorClientImpl::inspectorWindowObjectCleared):
27838 (WebKit::InspectorClientImpl::loadSettings):
27839 (WebKit::InspectorClientImpl::saveSettings):
27840 * src/InspectorClientImpl.h: Added.
27841 * src/LocalizedStrings.cpp: Added.
27843 (WebCore::searchableIndexIntroduction):
27844 (WebCore::submitButtonDefaultLabel):
27845 (WebCore::inputElementAltText):
27846 (WebCore::resetButtonDefaultLabel):
27847 (WebCore::fileButtonChooseFileLabel):
27848 (WebCore::fileButtonNoFileSelectedLabel):
27849 (WebCore::searchMenuNoRecentSearchesText):
27850 (WebCore::searchMenuRecentSearchesText):
27851 (WebCore::searchMenuClearRecentSearchesText):
27852 (WebCore::AXWebAreaText):
27853 (WebCore::AXLinkText):
27854 (WebCore::AXListMarkerText):
27855 (WebCore::AXImageMapText):
27856 (WebCore::AXHeadingText):
27857 (WebCore::AXDefinitionListTermText):
27858 (WebCore::AXDefinitionListDefinitionText):
27859 (WebCore::AXButtonActionVerb):
27860 (WebCore::AXRadioButtonActionVerb):
27861 (WebCore::AXTextFieldActionVerb):
27862 (WebCore::AXCheckedCheckBoxActionVerb):
27863 (WebCore::AXUncheckedCheckBoxActionVerb):
27864 (WebCore::AXLinkActionVerb):
27865 (WebCore::multipleFileUploadText):
27866 (WebCore::unknownFileSizeText):
27867 (WebCore::keygenMenuHighGradeKeySize):
27868 (WebCore::keygenMenuMediumGradeKeySize):
27869 (WebCore::imageTitle):
27870 (WebCore::contextMenuItemTagOpenLinkInNewWindow):
27871 (WebCore::contextMenuItemTagDownloadLinkToDisk):
27872 (WebCore::contextMenuItemTagCopyLinkToClipboard):
27873 (WebCore::contextMenuItemTagOpenImageInNewWindow):
27874 (WebCore::contextMenuItemTagDownloadImageToDisk):
27875 (WebCore::contextMenuItemTagCopyImageToClipboard):
27876 (WebCore::contextMenuItemTagOpenFrameInNewWindow):
27877 (WebCore::contextMenuItemTagCopy):
27878 (WebCore::contextMenuItemTagGoBack):
27879 (WebCore::contextMenuItemTagGoForward):
27880 (WebCore::contextMenuItemTagStop):
27881 (WebCore::contextMenuItemTagReload):
27882 (WebCore::contextMenuItemTagCut):
27883 (WebCore::contextMenuItemTagPaste):
27884 (WebCore::contextMenuItemTagNoGuessesFound):
27885 (WebCore::contextMenuItemTagIgnoreSpelling):
27886 (WebCore::contextMenuItemTagLearnSpelling):
27887 (WebCore::contextMenuItemTagSearchWeb):
27888 (WebCore::contextMenuItemTagLookUpInDictionary):
27889 (WebCore::contextMenuItemTagOpenLink):
27890 (WebCore::contextMenuItemTagIgnoreGrammar):
27891 (WebCore::contextMenuItemTagSpellingMenu):
27892 (WebCore::contextMenuItemTagCheckSpelling):
27893 (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
27894 (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
27895 (WebCore::contextMenuItemTagFontMenu):
27896 (WebCore::contextMenuItemTagBold):
27897 (WebCore::contextMenuItemTagItalic):
27898 (WebCore::contextMenuItemTagUnderline):
27899 (WebCore::contextMenuItemTagOutline):
27900 (WebCore::contextMenuItemTagWritingDirectionMenu):
27901 (WebCore::contextMenuItemTagTextDirectionMenu):
27902 (WebCore::contextMenuItemTagDefaultDirection):
27903 (WebCore::contextMenuItemTagLeftToRight):
27904 (WebCore::contextMenuItemTagRightToLeft):
27905 (WebCore::contextMenuItemTagInspectElement):
27906 (WebCore::contextMenuItemTagShowSpellingPanel):
27907 (WebCore::mediaElementLiveBroadcastStateText):
27908 (WebCore::mediaElementLoadingStateText):
27909 (WebCore::localizedMediaControlElementString):
27910 (WebCore::localizedMediaControlElementHelpText):
27911 (WebCore::localizedMediaTimeDescription):
27912 * src/MediaPlayerPrivateChromium.cpp: Added.
27913 (WebCore::MediaPlayerPrivate::registerMediaEngine):
27915 2009-11-10 Yaar Schnitman <yaar@chromium.org>
27917 Reviewed by Dimitri Glazkov.
27919 Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl
27921 https://bugs.webkit.org/show_bug.cgi?id=31276
27923 * src/DOMUtilitiesPrivate.cpp: Added.
27924 (WebCore::toHTMLElement):
27925 (WebKit::toHTMLInputElement):
27926 (WebKit::toHTMLLinkElement):
27927 (WebKit::toHTMLMetaElement):
27928 (WebKit::toHTMLOptionElement):
27929 (WebKit::nameOfInputElement):
27930 * src/DOMUtilitiesPrivate.h: Added.
27931 * src/DragClientImpl.cpp: Added.
27932 (WebKit::DragClientImpl::willPerformDragDestinationAction):
27933 (WebKit::DragClientImpl::willPerformDragSourceAction):
27934 (WebKit::DragClientImpl::actionMaskForDrag):
27935 (WebKit::DragClientImpl::dragSourceActionMaskForPoint):
27936 (WebKit::DragClientImpl::startDrag):
27937 (WebKit::DragClientImpl::createDragImageForLink):
27938 (WebKit::DragClientImpl::dragControllerDestroyed):
27939 * src/DragClientImpl.h: Added.
27940 (WebKit::DragClientImpl::DragClientImpl):
27941 * src/EditorClientImpl.cpp: Added.
27942 (WebKit::EditorClientImpl::EditorClientImpl):
27943 (WebKit::EditorClientImpl::~EditorClientImpl):
27944 (WebKit::EditorClientImpl::pageDestroyed):
27945 (WebKit::EditorClientImpl::shouldShowDeleteInterface):
27946 (WebKit::EditorClientImpl::smartInsertDeleteEnabled):
27947 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
27948 (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
27949 (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled):
27950 (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
27951 (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
27952 (WebKit::EditorClientImpl::toggleGrammarChecking):
27953 (WebKit::EditorClientImpl::spellCheckerDocumentTag):
27954 (WebKit::EditorClientImpl::isEditable):
27955 (WebKit::EditorClientImpl::shouldBeginEditing):
27956 (WebKit::EditorClientImpl::shouldEndEditing):
27957 (WebKit::EditorClientImpl::shouldInsertNode):
27958 (WebKit::EditorClientImpl::shouldInsertText):
27959 (WebKit::EditorClientImpl::shouldDeleteRange):
27960 (WebKit::EditorClientImpl::shouldChangeSelectedRange):
27961 (WebKit::EditorClientImpl::shouldApplyStyle):
27962 (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete):
27963 (WebKit::EditorClientImpl::didBeginEditing):
27964 (WebKit::EditorClientImpl::respondToChangedSelection):
27965 (WebKit::EditorClientImpl::respondToChangedContents):
27966 (WebKit::EditorClientImpl::didEndEditing):
27967 (WebKit::EditorClientImpl::didWriteSelectionToPasteboard):
27968 (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard):
27969 (WebKit::EditorClientImpl::registerCommandForUndo):
27970 (WebKit::EditorClientImpl::registerCommandForRedo):
27971 (WebKit::EditorClientImpl::clearUndoRedoOperations):
27972 (WebKit::EditorClientImpl::canUndo):
27973 (WebKit::EditorClientImpl::canRedo):
27974 (WebKit::EditorClientImpl::undo):
27975 (WebKit::EditorClientImpl::redo):
27977 (WebKit::EditorClientImpl::interpretKeyEvent):
27978 (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
27979 (WebKit::EditorClientImpl::handleKeyboardEvent):
27980 (WebKit::EditorClientImpl::handleInputMethodKeydown):
27981 (WebKit::EditorClientImpl::textFieldDidBeginEditing):
27982 (WebKit::EditorClientImpl::textFieldDidEndEditing):
27983 (WebKit::EditorClientImpl::textDidChangeInTextField):
27984 (WebKit::EditorClientImpl::showFormAutofillForNode):
27985 (WebKit::EditorClientImpl::autofill):
27986 (WebKit::EditorClientImpl::doAutofill):
27987 (WebKit::EditorClientImpl::cancelPendingAutofill):
27988 (WebKit::EditorClientImpl::onAutofillSuggestionAccepted):
27989 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
27990 (WebKit::EditorClientImpl::textWillBeDeletedInTextField):
27991 (WebKit::EditorClientImpl::textDidChangeInTextArea):
27992 (WebKit::EditorClientImpl::ignoreWordInSpellDocument):
27993 (WebKit::EditorClientImpl::learnWord):
27994 (WebKit::EditorClientImpl::checkSpellingOfString):
27995 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
27996 (WebKit::EditorClientImpl::checkGrammarOfString):
27997 (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString):
27998 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
27999 (WebKit::EditorClientImpl::showSpellingUI):
28000 (WebKit::EditorClientImpl::spellingUIIsShowing):
28001 (WebKit::EditorClientImpl::getGuessesForWord):
28002 (WebKit::EditorClientImpl::setInputMethodState):
28003 * src/EditorClientImpl.h: Added.
28004 (WebKit::EditorClientImpl::):
28005 * src/FrameLoaderClientImpl.cpp: Added.
28007 (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
28008 (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl):
28009 (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed):
28010 (WebKit::FrameLoaderClientImpl::windowObjectCleared):
28011 (WebKit::FrameLoaderClientImpl::documentElementAvailable):
28012 (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
28013 (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
28014 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
28015 (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation):
28016 (WebKit::FrameLoaderClientImpl::registerForIconNotification):
28017 (WebKit::FrameLoaderClientImpl::didChangeScrollOffset):
28018 (WebKit::FrameLoaderClientImpl::allowJavaScript):
28019 (WebKit::FrameLoaderClientImpl::hasWebView):
28020 (WebKit::FrameLoaderClientImpl::hasFrameView):
28021 (WebKit::FrameLoaderClientImpl::makeDocumentView):
28022 (WebKit::FrameLoaderClientImpl::makeRepresentation):
28023 (WebKit::FrameLoaderClientImpl::forceLayout):
28024 (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML):
28025 (WebKit::FrameLoaderClientImpl::setCopiesOnScroll):
28026 (WebKit::FrameLoaderClientImpl::detachedFromParent2):
28027 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
28028 (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest):
28029 (WebKit::determineTargetTypeFromLoader):
28030 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
28031 (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage):
28032 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge):
28033 (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge):
28034 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse):
28035 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
28036 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading):
28037 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading):
28038 (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
28039 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache):
28040 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest):
28041 (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents):
28042 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad):
28043 (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect):
28044 (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
28045 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
28046 (WebKit::FrameLoaderClientImpl::dispatchWillClose):
28047 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon):
28048 (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad):
28049 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
28050 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
28051 (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad):
28052 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad):
28053 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad):
28054 (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
28055 (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
28056 (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
28057 (WebKit::FrameLoaderClientImpl::dispatchShow):
28058 (WebKit::shouldTreatAsAttachment):
28059 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
28060 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
28061 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
28062 (WebKit::FrameLoaderClientImpl::cancelPolicyCheck):
28063 (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy):
28064 (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm):
28065 (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource):
28066 (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
28067 (WebKit::FrameLoaderClientImpl::setMainDocumentError):
28068 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
28069 (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
28070 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
28071 (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady):
28072 (WebKit::FrameLoaderClientImpl::startDownload):
28073 (WebKit::FrameLoaderClientImpl::willChangeTitle):
28074 (WebKit::FrameLoaderClientImpl::didChangeTitle):
28075 (WebKit::FrameLoaderClientImpl::committedLoad):
28076 (WebKit::FrameLoaderClientImpl::finishedLoading):
28077 (WebKit::FrameLoaderClientImpl::updateGlobalHistory):
28078 (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks):
28079 (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem):
28080 (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent):
28081 (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
28082 (WebKit::FrameLoaderClientImpl::blockedError):
28083 (WebKit::FrameLoaderClientImpl::cancelledError):
28084 (WebKit::FrameLoaderClientImpl::cannotShowURLError):
28085 (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError):
28086 (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError):
28087 (WebKit::FrameLoaderClientImpl::fileDoesNotExistError):
28088 (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError):
28089 (WebKit::FrameLoaderClientImpl::shouldFallBack):
28090 (WebKit::FrameLoaderClientImpl::canHandleRequest):
28091 (WebKit::FrameLoaderClientImpl::canShowMIMEType):
28092 (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme):
28093 (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme):
28094 (WebKit::FrameLoaderClientImpl::frameLoadCompleted):
28095 (WebKit::FrameLoaderClientImpl::saveViewStateToItem):
28096 (WebKit::FrameLoaderClientImpl::restoreViewState):
28097 (WebKit::FrameLoaderClientImpl::provisionalLoadStarted):
28098 (WebKit::FrameLoaderClientImpl::didFinishLoad):
28099 (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement):
28100 (WebKit::FrameLoaderClientImpl::createDocumentLoader):
28101 (WebKit::FrameLoaderClientImpl::setTitle):
28102 (WebKit::FrameLoaderClientImpl::userAgent):
28103 (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame):
28104 (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame):
28105 (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage):
28106 (WebKit::FrameLoaderClientImpl::canCachePage):
28107 (WebKit::FrameLoaderClientImpl::download):
28108 (WebKit::FrameLoaderClientImpl::createFrame):
28109 (WebKit::FrameLoaderClientImpl::createPlugin):
28110 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
28111 (WebKit::FrameLoaderClientImpl::createJavaAppletWidget):
28112 (WebKit::FrameLoaderClientImpl::objectContentType):
28113 (WebKit::FrameLoaderClientImpl::overrideMediaType):
28114 (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
28115 (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation):
28116 (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
28117 * src/FrameLoaderClientImpl.h: Added.
28118 (WebKit::FrameLoaderClientImpl::webFrame):
28119 (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress):
28120 (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress):
28122 2009-11-10 Yaar Schnitman <yaar@chromium.org>
28124 Reviewed by Dimitri Glazkov.
28126 Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl
28128 https://bugs.webkit.org/show_bug.cgi?id=31276
28130 * src/ChromeClientImpl.cpp: Added.
28131 (WebKit::ChromeClientImpl::ChromeClientImpl):
28132 (WebKit::ChromeClientImpl::~ChromeClientImpl):
28133 (WebKit::ChromeClientImpl::chromeDestroyed):
28134 (WebKit::ChromeClientImpl::setWindowRect):
28135 (WebKit::ChromeClientImpl::windowRect):
28136 (WebKit::ChromeClientImpl::pageRect):
28137 (WebKit::ChromeClientImpl::scaleFactor):
28138 (WebKit::ChromeClientImpl::focus):
28139 (WebKit::ChromeClientImpl::unfocus):
28140 (WebKit::ChromeClientImpl::canTakeFocus):
28141 (WebKit::ChromeClientImpl::takeFocus):
28142 (WebKit::ChromeClientImpl::focusedNodeChanged):
28143 (WebKit::ChromeClientImpl::createWindow):
28144 (WebKit::currentEventShouldCauseBackgroundTab):
28145 (WebKit::ChromeClientImpl::show):
28146 (WebKit::ChromeClientImpl::canRunModal):
28147 (WebKit::ChromeClientImpl::runModal):
28148 (WebKit::ChromeClientImpl::setToolbarsVisible):
28149 (WebKit::ChromeClientImpl::toolbarsVisible):
28150 (WebKit::ChromeClientImpl::setStatusbarVisible):
28151 (WebKit::ChromeClientImpl::statusbarVisible):
28152 (WebKit::ChromeClientImpl::setScrollbarsVisible):
28153 (WebKit::ChromeClientImpl::scrollbarsVisible):
28154 (WebKit::ChromeClientImpl::setMenubarVisible):
28155 (WebKit::ChromeClientImpl::menubarVisible):
28156 (WebKit::ChromeClientImpl::setResizable):
28157 (WebKit::ChromeClientImpl::addMessageToConsole):
28158 (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel):
28159 (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel):
28160 (WebKit::ChromeClientImpl::closeWindowSoon):
28161 (WebKit::ChromeClientImpl::runJavaScriptAlert):
28162 (WebKit::ChromeClientImpl::runJavaScriptConfirm):
28163 (WebKit::ChromeClientImpl::runJavaScriptPrompt):
28164 (WebKit::ChromeClientImpl::setStatusbarText):
28165 (WebKit::ChromeClientImpl::shouldInterruptJavaScript):
28166 (WebKit::ChromeClientImpl::tabsToLinks):
28167 (WebKit::ChromeClientImpl::windowResizerRect):
28168 (WebKit::ChromeClientImpl::repaint):
28169 (WebKit::ChromeClientImpl::scroll):
28170 (WebKit::ChromeClientImpl::screenToWindow):
28171 (WebKit::ChromeClientImpl::windowToScreen):
28172 (WebKit::ChromeClientImpl::contentsSizeChanged):
28173 (WebKit::ChromeClientImpl::scrollbarsModeDidChange):
28174 (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
28175 (WebKit::ChromeClientImpl::setToolTip):
28176 (WebKit::ChromeClientImpl::print):
28177 (WebKit::ChromeClientImpl::exceededDatabaseQuota):
28178 (WebKit::ChromeClientImpl::reachedMaxAppCacheSize):
28179 (WebKit::ChromeClientImpl::runOpenPanel):
28180 (WebKit::ChromeClientImpl::popupOpened):
28181 (WebKit::ChromeClientImpl::setCursor):
28182 (WebKit::ChromeClientImpl::setCursorForPlugin):
28183 (WebKit::ChromeClientImpl::formStateDidChange):
28184 (WebKit::ChromeClientImpl::getPopupMenuInfo):
28185 (WebKit::ChromeClientImpl::notificationPresenter):
28186 * src/ChromeClientImpl.h: Added.
28187 (WebKit::ChromeClientImpl::webView):
28188 (WebKit::ChromeClientImpl::platformPageClient):
28189 (WebKit::ChromeClientImpl::scrollRectIntoView):
28190 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
28191 (WebKit::ChromeClientImpl::setCursor):
28192 (WebKit::ChromeClientImpl::createHTMLParserQuirks):
28193 * src/ChromiumBridge.cpp: Added.
28194 (WebCore::toChromeClientImpl):
28195 (WebCore::toWebWidgetClient):
28196 (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
28197 (WebCore::ChromiumBridge::clipboardReadPlainText):
28198 (WebCore::ChromiumBridge::clipboardReadHTML):
28199 (WebCore::ChromiumBridge::clipboardWriteSelection):
28200 (WebCore::ChromiumBridge::clipboardWritePlainText):
28201 (WebCore::ChromiumBridge::clipboardWriteURL):
28202 (WebCore::ChromiumBridge::clipboardWriteImage):
28203 (WebCore::ChromiumBridge::setCookies):
28204 (WebCore::ChromiumBridge::cookies):
28205 (WebCore::ChromiumBridge::rawCookies):
28206 (WebCore::ChromiumBridge::deleteCookie):
28207 (WebCore::ChromiumBridge::prefetchDNS):
28208 (WebCore::ChromiumBridge::fileExists):
28209 (WebCore::ChromiumBridge::deleteFile):
28210 (WebCore::ChromiumBridge::deleteEmptyDirectory):
28211 (WebCore::ChromiumBridge::getFileSize):
28212 (WebCore::ChromiumBridge::getFileModificationTime):
28213 (WebCore::ChromiumBridge::directoryName):
28214 (WebCore::ChromiumBridge::pathByAppendingComponent):
28215 (WebCore::ChromiumBridge::makeAllDirectories):
28216 (WebCore::ChromiumBridge::getAbsolutePath):
28217 (WebCore::ChromiumBridge::isDirectory):
28218 (WebCore::ChromiumBridge::filePathToURL):
28219 (WebCore::ChromiumBridge::ensureFontLoaded):
28220 (WebCore::ChromiumBridge::getFontFamilyForCharacters):
28221 (WebCore::ChromiumBridge::databaseOpenFile):
28222 (WebCore::ChromiumBridge::databaseDeleteFile):
28223 (WebCore::ChromiumBridge::databaseGetFileAttributes):
28224 (WebCore::ChromiumBridge::databaseGetFileSize):
28225 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
28226 (WebCore::ChromiumBridge::computedDefaultLanguage):
28227 (WebCore::ChromiumBridge::layoutTestMode):
28228 (WebCore::ChromiumBridge::isSupportedImageMIMEType):
28229 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
28230 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
28231 (WebCore::ChromiumBridge::mimeTypeForExtension):
28232 (WebCore::ChromiumBridge::mimeTypeFromFile):
28233 (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
28234 (WebCore::ChromiumBridge::plugins):
28235 (WebCore::ChromiumBridge::pluginScriptableObject):
28236 (WebCore::ChromiumBridge::loadPlatformImageResource):
28237 (WebCore::ChromiumBridge::sandboxEnabled):
28238 (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
28239 (WebCore::ChromiumBridge::setSharedTimerFireTime):
28240 (WebCore::ChromiumBridge::stopSharedTimer):
28241 (WebCore::ChromiumBridge::decrementStatsCounter):
28242 (WebCore::ChromiumBridge::incrementStatsCounter):
28243 (WebCore::ChromiumBridge::suddenTerminationChanged):
28244 (WebCore::ChromiumBridge::currentTime):
28245 (WebCore::ChromiumBridge::paintButton):
28246 (WebCore::ChromiumBridge::paintMenuList):
28247 (WebCore::ChromiumBridge::paintScrollbarArrow):
28248 (WebCore::ChromiumBridge::paintScrollbarThumb):
28249 (WebCore::ChromiumBridge::paintScrollbarTrack):
28250 (WebCore::ChromiumBridge::paintTextField):
28251 (WebCore::ChromiumBridge::paintTrackbar):
28252 (WebCore::ChromiumBridge::traceEventBegin):
28253 (WebCore::ChromiumBridge::traceEventEnd):
28254 (WebCore::ChromiumBridge::visitedLinkHash):
28255 (WebCore::ChromiumBridge::isLinkVisited):
28256 (WebCore::ChromiumBridge::notifyJSOutOfMemory):
28257 (WebCore::ChromiumBridge::memoryUsageMB):
28258 (WebCore::ChromiumBridge::screenDepth):
28259 (WebCore::ChromiumBridge::screenDepthPerComponent):
28260 (WebCore::ChromiumBridge::screenIsMonochrome):
28261 (WebCore::ChromiumBridge::screenRect):
28262 (WebCore::ChromiumBridge::screenAvailableRect):
28263 (WebCore::ChromiumBridge::popupsAllowed):
28264 (WebCore::ChromiumBridge::widgetSetCursor):
28265 (WebCore::ChromiumBridge::widgetSetFocus):
28266 (WebCore::WorkerContextProxy::create):
28267 * src/ChromiumCurrentTime.cpp: Added.
28268 (WTF::currentTime):
28269 * src/ChromiumThreading.cpp: Added.
28270 (WTF::ChromiumThreading::initializeMainThread):
28271 (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread):
28272 * src/ContextMenuClientImpl.cpp: Added.
28273 (WebKit::urlFromFrame):
28274 (WebKit::isASingleWord):
28275 (WebKit::selectMisspelledWord):
28276 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
28277 * src/ContextMenuClientImpl.h: Added.
28278 (WebKit::ContextMenuClientImpl::ContextMenuClientImpl):
28279 (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl):
28280 (WebKit::ContextMenuClientImpl::copyImageToClipboard):
28281 (WebKit::ContextMenuClientImpl::contextMenuDestroyed):
28282 (WebKit::ContextMenuClientImpl::contextMenuItemSelected):
28283 (WebKit::ContextMenuClientImpl::downloadURL):
28284 (WebKit::ContextMenuClientImpl::isSpeaking):
28285 (WebKit::ContextMenuClientImpl::lookUpInDictionary):
28286 (WebKit::ContextMenuClientImpl::searchWithGoogle):
28287 (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem):
28288 (WebKit::ContextMenuClientImpl::speak):
28289 (WebKit::ContextMenuClientImpl::stopSpeaking):
28291 2009-11-10 Yaar Schnitman <yaar@chromium.org>
28293 Reviewed by Dimitri Glazkov.
28295 Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl
28297 https://bugs.webkit.org/show_bug.cgi?id=31276
28299 * src/ApplicationCacheHost.cpp: Added.
28300 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
28301 (WebCore::ApplicationCacheHostInternal::notifyEventListener):
28302 (WebCore::ApplicationCacheHost::ApplicationCacheHost):
28303 (WebCore::ApplicationCacheHost::~ApplicationCacheHost):
28304 (WebCore::ApplicationCacheHost::maybeLoadMainResource):
28305 (WebCore::ApplicationCacheHost::selectCacheWithoutManifest):
28306 (WebCore::ApplicationCacheHost::selectCacheWithManifest):
28307 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
28308 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
28309 (WebCore::ApplicationCacheHost::mainResourceDataReceived):
28310 (WebCore::ApplicationCacheHost::failedLoadingMainResource):
28311 (WebCore::ApplicationCacheHost::finishedLoadingMainResource):
28312 (WebCore::ApplicationCacheHost::maybeLoadResource):
28313 (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect):
28314 (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse):
28315 (WebCore::ApplicationCacheHost::maybeLoadFallbackForError):
28316 (WebCore::ApplicationCacheHost::maybeLoadSynchronously):
28317 (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously):
28318 (WebCore::ApplicationCacheHost::canCacheInPageCache):
28319 (WebCore::ApplicationCacheHost::setDOMApplicationCache):
28320 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
28321 (WebCore::ApplicationCacheHost::status):
28322 (WebCore::ApplicationCacheHost::update):
28323 (WebCore::ApplicationCacheHost::swapCache):
28324 (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
28325 * src/AssertMatchingEnums.cpp: Added.
28326 * src/AutocompletePopupMenuClient.cpp: Added.
28327 (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient):
28328 (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient):
28329 (WebKit::AutocompletePopupMenuClient::initialize):
28330 (WebKit::AutocompletePopupMenuClient::valueChanged):
28331 (WebKit::AutocompletePopupMenuClient::itemText):
28332 (WebKit::AutocompletePopupMenuClient::itemStyle):
28333 (WebKit::AutocompletePopupMenuClient::menuStyle):
28334 (WebKit::AutocompletePopupMenuClient::clientPaddingLeft):
28335 (WebKit::AutocompletePopupMenuClient::clientPaddingRight):
28336 (WebKit::AutocompletePopupMenuClient::popupDidHide):
28337 (WebKit::AutocompletePopupMenuClient::setTextFromItem):
28338 (WebKit::AutocompletePopupMenuClient::fontSelector):
28339 (WebKit::AutocompletePopupMenuClient::hostWindow):
28340 (WebKit::AutocompletePopupMenuClient::createScrollbar):
28341 (WebKit::AutocompletePopupMenuClient::setSuggestions):
28342 (WebKit::AutocompletePopupMenuClient::removeItemAtIndex):
28343 (WebKit::AutocompletePopupMenuClient::textFieldStyle):
28344 * src/AutocompletePopupMenuClient.h: Added.
28345 (WebKit::AutocompletePopupMenuClient::textField):
28346 (WebKit::AutocompletePopupMenuClient::itemToolTip):
28347 (WebKit::AutocompletePopupMenuClient::itemIsEnabled):
28348 (WebKit::AutocompletePopupMenuClient::clientInsetLeft):
28349 (WebKit::AutocompletePopupMenuClient::clientInsetRight):
28350 (WebKit::AutocompletePopupMenuClient::listSize):
28351 (WebKit::AutocompletePopupMenuClient::selectedIndex):
28352 (WebKit::AutocompletePopupMenuClient::itemIsSeparator):
28353 (WebKit::AutocompletePopupMenuClient::itemIsLabel):
28354 (WebKit::AutocompletePopupMenuClient::itemIsSelected):
28355 (WebKit::AutocompletePopupMenuClient::shouldPopOver):
28356 (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack):
28357 * src/BackForwardListClientImpl.cpp: Added.
28358 (WebKit::BackForwardListClientImpl::BackForwardListClientImpl):
28359 (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl):
28360 (WebKit::BackForwardListClientImpl::setCurrentHistoryItem):
28361 (WebKit::BackForwardListClientImpl::previousHistoryItem):
28362 (WebKit::BackForwardListClientImpl::addItem):
28363 (WebKit::BackForwardListClientImpl::goToItem):
28364 (WebKit::BackForwardListClientImpl::currentItem):
28365 (WebKit::BackForwardListClientImpl::itemAtIndex):
28366 (WebKit::BackForwardListClientImpl::backListCount):
28367 (WebKit::BackForwardListClientImpl::forwardListCount):
28368 (WebKit::BackForwardListClientImpl::close):
28369 * src/BackForwardListClientImpl.h: Added.
28371 2009-11-10 Yaar Schnitman <yaar@chromium.org>
28373 Reviewed by Dimitri Glazkov.
28375 Up-streaming Chromium API src files: WebString...WebViewImpl
28377 https://bugs.webkit.org/show_bug.cgi?id=31276
28379 * src/WebString.cpp: Added.
28380 (WebKit::WebString::reset):
28381 (WebKit::WebString::assign):
28382 (WebKit::WebString::length):
28383 (WebKit::WebString::data):
28384 (WebKit::WebString::utf8):
28385 (WebKit::WebString::fromUTF8):
28386 (WebKit::WebString::WebString):
28387 (WebKit::WebString::operator=):
28388 (WebKit::WebString::operator WebCore::String):
28389 (WebKit::WebString::operator WebCore::AtomicString):
28390 * src/WebURL.cpp: Added.
28391 (WebKit::WebURL::WebURL):
28392 (WebKit::WebURL::operator=):
28393 (WebKit::WebURL::operator WebCore::KURL):
28394 * src/WebURLError.cpp: Added.
28395 (WebKit::WebURLError::WebURLError):
28396 (WebKit::WebURLError::operator=):
28397 (WebKit::WebURLError::operator ResourceError):
28398 * src/WebURLRequest.cpp: Added.
28399 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
28400 (WebKit::WebURLRequestPrivateImpl::dispose):
28401 (WebKit::WebURLRequest::initialize):
28402 (WebKit::WebURLRequest::reset):
28403 (WebKit::WebURLRequest::assign):
28404 (WebKit::WebURLRequest::isNull):
28405 (WebKit::WebURLRequest::url):
28406 (WebKit::WebURLRequest::setURL):
28407 (WebKit::WebURLRequest::firstPartyForCookies):
28408 (WebKit::WebURLRequest::setFirstPartyForCookies):
28409 (WebKit::WebURLRequest::allowCookies):
28410 (WebKit::WebURLRequest::setAllowCookies):
28411 (WebKit::WebURLRequest::allowStoredCredentials):
28412 (WebKit::WebURLRequest::setAllowStoredCredentials):
28413 (WebKit::WebURLRequest::cachePolicy):
28414 (WebKit::WebURLRequest::setCachePolicy):
28415 (WebKit::WebURLRequest::httpMethod):
28416 (WebKit::WebURLRequest::setHTTPMethod):
28417 (WebKit::WebURLRequest::httpHeaderField):
28418 (WebKit::WebURLRequest::setHTTPHeaderField):
28419 (WebKit::WebURLRequest::addHTTPHeaderField):
28420 (WebKit::WebURLRequest::clearHTTPHeaderField):
28421 (WebKit::WebURLRequest::visitHTTPHeaderFields):
28422 (WebKit::WebURLRequest::httpBody):
28423 (WebKit::WebURLRequest::setHTTPBody):
28424 (WebKit::WebURLRequest::reportUploadProgress):
28425 (WebKit::WebURLRequest::setReportUploadProgress):
28426 (WebKit::WebURLRequest::targetType):
28427 (WebKit::WebURLRequest::setTargetType):
28428 (WebKit::WebURLRequest::requestorID):
28429 (WebKit::WebURLRequest::setRequestorID):
28430 (WebKit::WebURLRequest::requestorProcessID):
28431 (WebKit::WebURLRequest::setRequestorProcessID):
28432 (WebKit::WebURLRequest::appCacheHostID):
28433 (WebKit::WebURLRequest::setAppCacheHostID):
28434 (WebKit::WebURLRequest::toMutableResourceRequest):
28435 (WebKit::WebURLRequest::toResourceRequest):
28436 * src/WebURLRequestPrivate.h: Added.
28437 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
28438 * src/WebURLResponse.cpp: Added.
28439 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
28440 (WebKit::WebURLResponsePrivateImpl::dispose):
28441 (WebKit::WebURLResponse::initialize):
28442 (WebKit::WebURLResponse::reset):
28443 (WebKit::WebURLResponse::assign):
28444 (WebKit::WebURLResponse::isNull):
28445 (WebKit::WebURLResponse::url):
28446 (WebKit::WebURLResponse::setURL):
28447 (WebKit::WebURLResponse::mimeType):
28448 (WebKit::WebURLResponse::setMIMEType):
28449 (WebKit::WebURLResponse::expectedContentLength):
28450 (WebKit::WebURLResponse::setExpectedContentLength):
28451 (WebKit::WebURLResponse::textEncodingName):
28452 (WebKit::WebURLResponse::setTextEncodingName):
28453 (WebKit::WebURLResponse::suggestedFileName):
28454 (WebKit::WebURLResponse::setSuggestedFileName):
28455 (WebKit::WebURLResponse::httpStatusCode):
28456 (WebKit::WebURLResponse::setHTTPStatusCode):
28457 (WebKit::WebURLResponse::httpStatusText):
28458 (WebKit::WebURLResponse::setHTTPStatusText):
28459 (WebKit::WebURLResponse::httpHeaderField):
28460 (WebKit::WebURLResponse::setHTTPHeaderField):
28461 (WebKit::WebURLResponse::addHTTPHeaderField):
28462 (WebKit::WebURLResponse::clearHTTPHeaderField):
28463 (WebKit::WebURLResponse::visitHTTPHeaderFields):
28464 (WebKit::WebURLResponse::lastModifiedDate):
28465 (WebKit::WebURLResponse::setLastModifiedDate):
28466 (WebKit::WebURLResponse::isContentFiltered):
28467 (WebKit::WebURLResponse::setIsContentFiltered):
28468 (WebKit::WebURLResponse::appCacheID):
28469 (WebKit::WebURLResponse::setAppCacheID):
28470 (WebKit::WebURLResponse::appCacheManifestURL):
28471 (WebKit::WebURLResponse::setAppCacheManifestURL):
28472 (WebKit::WebURLResponse::securityInfo):
28473 (WebKit::WebURLResponse::setSecurityInfo):
28474 (WebKit::WebURLResponse::toMutableResourceResponse):
28475 (WebKit::WebURLResponse::toResourceResponse):
28476 * src/WebURLResponsePrivate.h: Added.
28477 (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
28478 * src/WebViewImpl.cpp: Added.
28480 (WebKit::WebView::create):
28481 (WebKit::WebView::updateVisitedLinkState):
28482 (WebKit::WebView::resetVisitedLinkState):
28483 (WebKit::WebViewImpl::initializeMainFrame):
28484 (WebKit::WebViewImpl::WebViewImpl):
28485 (WebKit::WebViewImpl::~WebViewImpl):
28486 (WebKit::WebViewImpl::theme):
28487 (WebKit::WebViewImpl::mainFrameImpl):
28488 (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
28489 (WebKit::WebViewImpl::setTabKeyCyclesThroughElements):
28490 (WebKit::WebViewImpl::mouseMove):
28491 (WebKit::WebViewImpl::mouseLeave):
28492 (WebKit::WebViewImpl::mouseDown):
28493 (WebKit::WebViewImpl::mouseContextMenu):
28494 (WebKit::WebViewImpl::mouseUp):
28495 (WebKit::WebViewImpl::mouseWheel):
28496 (WebKit::WebViewImpl::keyEvent):
28497 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
28498 (WebKit::WebViewImpl::charEvent):
28499 (WebKit::WebViewImpl::sendContextMenuEvent):
28500 (WebKit::WebViewImpl::keyEventDefault):
28501 (WebKit::WebViewImpl::scrollViewWithKeyboard):
28502 (WebKit::WebViewImpl::propagateScroll):
28503 (WebKit::WebViewImpl::focusedWebCoreFrame):
28504 (WebKit::WebViewImpl::fromPage):
28505 (WebKit::WebViewImpl::close):
28506 (WebKit::WebViewImpl::resize):
28507 (WebKit::WebViewImpl::layout):
28508 (WebKit::WebViewImpl::paint):
28509 (WebKit::WebViewImpl::handleInputEvent):
28510 (WebKit::WebViewImpl::mouseCaptureLost):
28511 (WebKit::WebViewImpl::setFocus):
28512 (WebKit::WebViewImpl::handleCompositionEvent):
28513 (WebKit::WebViewImpl::queryCompositionStatus):
28514 (WebKit::WebViewImpl::setTextDirection):
28515 (WebKit::WebViewImpl::settings):
28516 (WebKit::WebViewImpl::pageEncoding):
28517 (WebKit::WebViewImpl::setPageEncoding):
28518 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
28519 (WebKit::WebViewImpl::dispatchUnloadEvent):
28520 (WebKit::WebViewImpl::mainFrame):
28521 (WebKit::WebViewImpl::findFrameByName):
28522 (WebKit::WebViewImpl::focusedFrame):
28523 (WebKit::WebViewImpl::setFocusedFrame):
28524 (WebKit::WebViewImpl::setInitialFocus):
28525 (WebKit::WebViewImpl::clearFocusedNode):
28526 (WebKit::WebViewImpl::zoomIn):
28527 (WebKit::WebViewImpl::zoomOut):
28528 (WebKit::WebViewImpl::zoomDefault):
28529 (WebKit::WebViewImpl::performMediaPlayerAction):
28530 (WebKit::WebViewImpl::copyImageAt):
28531 (WebKit::WebViewImpl::dragSourceEndedAt):
28532 (WebKit::WebViewImpl::dragSourceMovedTo):
28533 (WebKit::WebViewImpl::dragSourceSystemDragEnded):
28534 (WebKit::WebViewImpl::dragTargetDragEnter):
28535 (WebKit::WebViewImpl::dragTargetDragOver):
28536 (WebKit::WebViewImpl::dragTargetDragLeave):
28537 (WebKit::WebViewImpl::dragTargetDrop):
28538 (WebKit::WebViewImpl::dragIdentity):
28539 (WebKit::WebViewImpl::inspectElementAt):
28540 (WebKit::WebViewImpl::inspectorSettings):
28541 (WebKit::WebViewImpl::setInspectorSettings):
28542 (WebKit::WebViewImpl::devToolsAgent):
28543 (WebKit::WebViewImpl::setDevToolsAgent):
28544 (WebKit::WebViewImpl::accessibilityObject):
28545 (WebKit::WebViewImpl::applyAutofillSuggestions):
28546 (WebKit::WebViewImpl::hideAutofillPopup):
28547 (WebKit::WebViewImpl::setDropEffect):
28548 (WebKit::WebViewImpl::setIsTransparent):
28549 (WebKit::WebViewImpl::isTransparent):
28550 (WebKit::WebViewImpl::setIsActive):
28551 (WebKit::WebViewImpl::isActive):
28552 (WebKit::WebViewImpl::didCommitLoad):
28553 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
28554 (WebKit::WebViewImpl::startDragging):
28555 (WebKit::WebViewImpl::setCurrentHistoryItem):
28556 (WebKit::WebViewImpl::previousHistoryItem):
28557 (WebKit::WebViewImpl::observeNewNavigation):
28558 (WebKit::WebViewImpl::hideAutoCompletePopup):
28559 (WebKit::WebViewImpl::autoCompletePopupDidHide):
28560 (WebKit::WebViewImpl::setIgnoreInputEvents):
28561 (WebKit::WebViewImpl::notificationPresenterImpl):
28562 (WebKit::WebViewImpl::refreshAutofillPopup):
28563 (WebKit::WebViewImpl::focusedWebCoreNode):
28564 (WebKit::WebViewImpl::hitTestResultForWindowPos):
28565 (WebKit::WebViewImpl::setTabsToLinks):
28566 (WebKit::WebViewImpl::tabsToLinks):
28567 * src/WebViewImpl.h: Added.
28568 (WebKit::WebViewImpl::size):
28569 (WebKit::WebViewImpl::devToolsAgentPrivate):
28570 (WebKit::WebViewImpl::lastMouseDownPoint):
28571 (WebKit::WebViewImpl::client):
28572 (WebKit::WebViewImpl::page):
28573 (WebKit::WebViewImpl::contextMenuAllowed):
28574 (WebKit::WebViewImpl::setInitialNavigationPolicy):
28575 (WebKit::WebViewImpl::initialNavigationPolicy):
28576 (WebKit::WebViewImpl::currentInputEvent):
28577 (WebKit::WebViewImpl::):
28579 2009-11-10 Yaar Schnitman <yaar@chromium.org>
28581 Reviewed by Dimitri Glazkov.
28583 Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl
28585 https://bugs.webkit.org/show_bug.cgi?id=31276
28587 * src/WebScriptController.cpp: Added.
28588 (WebKit::WebScriptController::registerExtension):
28589 (WebKit::WebScriptController::enableV8SingleThreadMode):
28590 (WebKit::WebScriptController::flushConsoleMessages):
28591 * src/WebSearchableFormData.cpp: Added.
28592 (WebCore::GetFormEncoding):
28593 (WebCore::IsHTTPFormSubmit):
28594 (WebCore::GetButtonToActivate):
28595 (WebCore::IsSelectInDefaultState):
28596 (WebCore::IsInDefaultState):
28597 (WebCore::HasSuitableTextElement):
28598 (WebKit::WebSearchableFormData::WebSearchableFormData):
28599 * src/WebSecurityOrigin.cpp: Added.
28600 (WebKit::WebSecurityOrigin::reset):
28601 (WebKit::WebSecurityOrigin::assign):
28602 (WebKit::WebSecurityOrigin::protocol):
28603 (WebKit::WebSecurityOrigin::host):
28604 (WebKit::WebSecurityOrigin::port):
28605 (WebKit::WebSecurityOrigin::isEmpty):
28606 (WebKit::WebSecurityOrigin::toString):
28607 (WebKit::WebSecurityOrigin::databaseIdentifier):
28608 (WebKit::WebSecurityOrigin::WebSecurityOrigin):
28609 (WebKit::WebSecurityOrigin::operator=):
28610 (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>):
28611 * src/WebSecurityPolicy.cpp: Added.
28612 (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
28613 (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
28614 (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
28615 (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
28616 * src/WebSettingsImpl.cpp: Added.
28617 (WebKit::WebSettingsImpl::WebSettingsImpl):
28618 (WebKit::WebSettingsImpl::setStandardFontFamily):
28619 (WebKit::WebSettingsImpl::setFixedFontFamily):
28620 (WebKit::WebSettingsImpl::setSerifFontFamily):
28621 (WebKit::WebSettingsImpl::setSansSerifFontFamily):
28622 (WebKit::WebSettingsImpl::setCursiveFontFamily):
28623 (WebKit::WebSettingsImpl::setFantasyFontFamily):
28624 (WebKit::WebSettingsImpl::setDefaultFontSize):
28625 (WebKit::WebSettingsImpl::setDefaultFixedFontSize):
28626 (WebKit::WebSettingsImpl::setMinimumFontSize):
28627 (WebKit::WebSettingsImpl::setMinimumLogicalFontSize):
28628 (WebKit::WebSettingsImpl::setDefaultTextEncodingName):
28629 (WebKit::WebSettingsImpl::setJavaScriptEnabled):
28630 (WebKit::WebSettingsImpl::setWebSecurityEnabled):
28631 (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically):
28632 (WebKit::WebSettingsImpl::setLoadsImagesAutomatically):
28633 (WebKit::WebSettingsImpl::setPluginsEnabled):
28634 (WebKit::WebSettingsImpl::setDOMPasteAllowed):
28635 (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled):
28636 (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit):
28637 (WebKit::WebSettingsImpl::setUsesEncodingDetector):
28638 (WebKit::WebSettingsImpl::setTextAreasAreResizable):
28639 (WebKit::WebSettingsImpl::setJavaEnabled):
28640 (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows):
28641 (WebKit::WebSettingsImpl::setUserStyleSheetLocation):
28642 (WebKit::WebSettingsImpl::setUsesPageCache):
28643 (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled):
28644 (WebKit::WebSettingsImpl::setXSSAuditorEnabled):
28645 (WebKit::WebSettingsImpl::setLocalStorageEnabled):
28646 (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive):
28647 (WebKit::WebSettingsImpl::setFontRenderingModeNormal):
28648 (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
28649 (WebKit::WebSettingsImpl::setDatabasesEnabled):
28650 (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs):
28651 (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded):
28652 (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled):
28653 (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled):
28654 * src/WebSettingsImpl.h: Added.
28655 (WebKit::WebSettingsImpl::~WebSettingsImpl):
28656 * src/WebSharedWorkerImpl.cpp: Added.
28657 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
28658 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
28659 (WebKit::WebSharedWorkerImpl::isStarted):
28660 (WebKit::WebSharedWorkerImpl::connect):
28661 (WebKit::WebSharedWorkerImpl::connectTask):
28662 (WebKit::WebSharedWorkerImpl::startWorkerContext):
28663 (WebKit::WebSharedWorkerImpl::terminateWorkerContext):
28664 (WebKit::WebSharedWorkerImpl::clientDestroyed):
28665 (WebKit::WebSharedWorkerImpl::client):
28666 (WebKit::WebSharedWorker::create):
28667 * src/WebSharedWorkerImpl.h: Added.
28668 (WebKit::WebSharedWorkerImpl::commonClient):
28669 * src/WebStorageAreaImpl.cpp: Added.
28670 (WebKit::WebStorageAreaImpl::WebStorageAreaImpl):
28671 (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl):
28672 (WebKit::WebStorageAreaImpl::length):
28673 (WebKit::WebStorageAreaImpl::key):
28674 (WebKit::WebStorageAreaImpl::getItem):
28675 (WebKit::WebStorageAreaImpl::setItem):
28676 (WebKit::WebStorageAreaImpl::removeItem):
28677 (WebKit::WebStorageAreaImpl::clear):
28678 * src/WebStorageAreaImpl.h: Added.
28679 (WebKit::WebStorageAreaImpl::currentStorageEventURL):
28680 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL):
28681 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL):
28682 * src/WebStorageEventDispatcherImpl.cpp: Added.
28683 (WebKit::WebStorageEventDispatcher::create):
28684 (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
28685 (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
28686 * src/WebStorageEventDispatcherImpl.h: Added.
28687 * src/WebStorageNamespaceImpl.cpp: Added.
28688 (WebKit::WebStorageNamespace::createLocalStorageNamespace):
28689 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
28690 (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl):
28691 (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl):
28692 (WebKit::WebStorageNamespaceImpl::createStorageArea):
28693 (WebKit::WebStorageNamespaceImpl::copy):
28694 (WebKit::WebStorageNamespaceImpl::close):
28695 * src/WebStorageNamespaceImpl.h: Added.
28697 2009-11-10 Yaar Schnitman <yaar@chromium.org>
28699 Reviewed by Dimitri Glazkov.
28701 Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures
28703 https://bugs.webkit.org/show_bug.cgi?id=31276
28705 * src/WebPasswordFormData.cpp: Added.
28707 (WebKit::WebPasswordFormData::WebPasswordFormData):
28708 * src/WebPasswordFormUtils.cpp: Added.
28709 (WebKit::findPasswordFormFields):
28710 * src/WebPasswordFormUtils.h: Added.
28711 (WebKit::PasswordFormFields::PasswordFormFields):
28712 * src/WebPluginContainerImpl.cpp: Added.
28713 (WebKit::WebPluginContainerImpl::setFrameRect):
28714 (WebKit::WebPluginContainerImpl::paint):
28715 (WebKit::WebPluginContainerImpl::invalidateRect):
28716 (WebKit::WebPluginContainerImpl::setFocus):
28717 (WebKit::WebPluginContainerImpl::show):
28718 (WebKit::WebPluginContainerImpl::hide):
28719 (WebKit::WebPluginContainerImpl::handleEvent):
28720 (WebKit::WebPluginContainerImpl::frameRectsChanged):
28721 (WebKit::WebPluginContainerImpl::setParentVisible):
28722 (WebKit::WebPluginContainerImpl::setParent):
28723 (WebKit::WebPluginContainerImpl::invalidate):
28724 (WebKit::WebPluginContainerImpl::reportGeometry):
28725 (WebKit::WebPluginContainerImpl::clearScriptObjects):
28726 (WebKit::WebPluginContainerImpl::scriptableObjectForElement):
28727 (WebKit::WebPluginContainerImpl::executeScriptURL):
28728 (WebKit::WebPluginContainerImpl::loadFrameRequest):
28729 (WebKit::WebPluginContainerImpl::didReceiveResponse):
28730 (WebKit::WebPluginContainerImpl::didReceiveData):
28731 (WebKit::WebPluginContainerImpl::didFinishLoading):
28732 (WebKit::WebPluginContainerImpl::didFailLoading):
28733 (WebKit::WebPluginContainerImpl::scriptableObject):
28734 (WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver):
28735 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
28736 (WebKit::WebPluginContainerImpl::handleMouseEvent):
28737 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
28738 (WebKit::WebPluginContainerImpl::calculateGeometry):
28739 (WebKit::WebPluginContainerImpl::windowClipRect):
28740 (WebKit::getObjectStack):
28741 (WebKit::checkStackOnTop):
28742 (WebKit::WebPluginContainerImpl::windowCutOutRects):
28743 * src/WebPluginContainerImpl.h: Added.
28744 (WebKit::WebPluginContainerImpl::create):
28745 (WebKit::WebPluginContainerImpl::plugin):
28746 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
28747 * src/WebPluginListBuilderImpl.cpp: Added.
28748 (WebKit::WebPluginListBuilderImpl::addPlugin):
28749 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
28750 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
28751 * src/WebPluginListBuilderImpl.h: Added.
28752 (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
28753 * src/WebPluginLoadObserver.cpp: Added.
28754 (WebKit::WebPluginLoadObserver::~WebPluginLoadObserver):
28755 (WebKit::WebPluginLoadObserver::didFinishLoading):
28756 (WebKit::WebPluginLoadObserver::didFailLoading):
28757 * src/WebPluginLoadObserver.h: Added.
28758 (WebKit::WebPluginLoadObserver::WebPluginLoadObserver):
28759 (WebKit::WebPluginLoadObserver::url):
28760 (WebKit::WebPluginLoadObserver::clearPluginContainer):
28761 * src/WebPopupMenuImpl.cpp: Added.
28762 (WebKit::WebPopupMenu::create):
28763 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
28764 (WebKit::WebPopupMenuImpl::~WebPopupMenuImpl):
28765 (WebKit::WebPopupMenuImpl::Init):
28766 (WebKit::WebPopupMenuImpl::MouseMove):
28767 (WebKit::WebPopupMenuImpl::MouseLeave):
28768 (WebKit::WebPopupMenuImpl::MouseDown):
28769 (WebKit::WebPopupMenuImpl::MouseUp):
28770 (WebKit::WebPopupMenuImpl::MouseWheel):
28771 (WebKit::WebPopupMenuImpl::KeyEvent):
28772 (WebKit::WebPopupMenuImpl::close):
28773 (WebKit::WebPopupMenuImpl::resize):
28774 (WebKit::WebPopupMenuImpl::layout):
28775 (WebKit::WebPopupMenuImpl::paint):
28776 (WebKit::WebPopupMenuImpl::handleInputEvent):
28777 (WebKit::WebPopupMenuImpl::mouseCaptureLost):
28778 (WebKit::WebPopupMenuImpl::setFocus):
28779 (WebKit::WebPopupMenuImpl::handleCompositionEvent):
28780 (WebKit::WebPopupMenuImpl::queryCompositionStatus):
28781 (WebKit::WebPopupMenuImpl::setTextDirection):
28782 (WebKit::WebPopupMenuImpl::repaint):
28783 (WebKit::WebPopupMenuImpl::scroll):
28784 (WebKit::WebPopupMenuImpl::screenToWindow):
28785 (WebKit::WebPopupMenuImpl::windowToScreen):
28786 (WebKit::WebPopupMenuImpl::scrollRectIntoView):
28787 (WebKit::WebPopupMenuImpl::scrollbarsModeDidChange):
28788 (WebKit::WebPopupMenuImpl::popupClosed):
28789 * src/WebPopupMenuImpl.h: Added.
28790 (WebKit::WebPopupMenuImpl::size):
28791 (WebKit::WebPopupMenuImpl::client):
28792 (WebKit::WebPopupMenuImpl::platformPageClient):
28793 * src/WebRange.cpp: Added.
28794 (WebKit::WebRange::reset):
28795 (WebKit::WebRange::assign):
28796 (WebKit::WebRange::startOffset):
28797 (WebKit::WebRange::endOffset):
28798 (WebKit::WebRange::startContainer):
28799 (WebKit::WebRange::endContainer):
28800 (WebKit::WebRange::toHTMLText):
28801 (WebKit::WebRange::toPlainText):
28802 (WebKit::WebRange::WebRange):
28803 (WebKit::WebRange::operator=):
28804 (WebKit::WebRange::operator WTF::PassRefPtr<WebCore::Range>):
28805 * src/WebRuntimeFeatures.cpp: Added.
28806 (WebKit::WebRuntimeFeatures::enableDatabase):
28807 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
28808 (WebKit::WebRuntimeFeatures::enableLocalStorage):
28809 (WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
28810 (WebKit::WebRuntimeFeatures::enableSessionStorage):
28811 (WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
28812 (WebKit::WebRuntimeFeatures::enableMediaPlayer):
28813 (WebKit::WebRuntimeFeatures::isMediaPlayerEnabled):
28814 (WebKit::WebRuntimeFeatures::enableSockets):
28815 (WebKit::WebRuntimeFeatures::isSocketsEnabled):
28816 (WebKit::WebRuntimeFeatures::enableNotifications):
28817 (WebKit::WebRuntimeFeatures::isNotificationsEnabled):
28818 (WebKit::WebRuntimeFeatures::enableApplicationCache):
28819 (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
28821 2009-11-09 Yaar Schnitman <yaar@chromium.org>
28823 Reviewed by Dimitri Glazkov.
28825 Up-streaming Chromium API src files: WebFileInputElement...WebNotifications
28827 https://bugs.webkit.org/show_bug.cgi?id=31276
28829 * src/WebInputElement.cpp: Added.
28830 (WebKit::WebInputElement::WebInputElement):
28831 (WebKit::WebInputElement::operator=):
28832 (WebKit::WebInputElement::operator WTF::PassRefPtr<HTMLInputElement>):
28833 (WebKit::WebInputElement::setActivatedSubmit):
28834 (WebKit::WebInputElement::setValue):
28835 (WebKit::WebInputElement::value):
28836 (WebKit::WebInputElement::setAutofilled):
28837 (WebKit::WebInputElement::dispatchFormControlChangeEvent):
28838 (WebKit::WebInputElement::setSelectionRange):
28839 * src/WebInputEvent.cpp: Added.
28840 (WebKit::staticKeyIdentifiers):
28841 (WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode):
28842 * src/WebInputEventConversion.cpp: Added.
28843 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
28844 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
28845 (WebKit::toPlatformKeyboardEventType):
28846 (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
28847 (WebKit::PlatformKeyboardEventBuilder::setKeyType):
28848 (WebKit::PlatformKeyboardEventBuilder::isCharacterKey):
28849 (WebKit::getWebInputModifiers):
28850 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
28851 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
28852 * src/WebInputEventConversion.h: Added.
28853 * src/WebKit.cpp: Added.
28854 (WebKit::initialize):
28855 (WebKit::shutdown):
28856 (WebKit::webKitClient):
28857 (WebKit::setLayoutTestMode):
28858 (WebKit::layoutTestMode):
28859 (WebKit::resetPluginCache):
28860 * src/WebMediaPlayerClientImpl.cpp: Added.
28861 (WebKit::createWebMediaPlayer):
28862 (WebKit::WebMediaPlayerClientImpl::isEnabled):
28863 (WebKit::WebMediaPlayerClientImpl::setIsEnabled):
28864 (WebKit::WebMediaPlayerClientImpl::registerSelf):
28865 (WebKit::WebMediaPlayerClientImpl::networkStateChanged):
28866 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
28867 (WebKit::WebMediaPlayerClientImpl::volumeChanged):
28868 (WebKit::WebMediaPlayerClientImpl::timeChanged):
28869 (WebKit::WebMediaPlayerClientImpl::repaint):
28870 (WebKit::WebMediaPlayerClientImpl::durationChanged):
28871 (WebKit::WebMediaPlayerClientImpl::rateChanged):
28872 (WebKit::WebMediaPlayerClientImpl::sizeChanged):
28873 (WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks):
28874 (WebKit::WebMediaPlayerClientImpl::load):
28875 (WebKit::WebMediaPlayerClientImpl::cancelLoad):
28876 (WebKit::WebMediaPlayerClientImpl::play):
28877 (WebKit::WebMediaPlayerClientImpl::pause):
28878 (WebKit::WebMediaPlayerClientImpl::naturalSize):
28879 (WebKit::WebMediaPlayerClientImpl::hasVideo):
28880 (WebKit::WebMediaPlayerClientImpl::hasAudio):
28881 (WebKit::WebMediaPlayerClientImpl::setVisible):
28882 (WebKit::WebMediaPlayerClientImpl::duration):
28883 (WebKit::WebMediaPlayerClientImpl::currentTime):
28884 (WebKit::WebMediaPlayerClientImpl::seek):
28885 (WebKit::WebMediaPlayerClientImpl::seeking):
28886 (WebKit::WebMediaPlayerClientImpl::setEndTime):
28887 (WebKit::WebMediaPlayerClientImpl::setRate):
28888 (WebKit::WebMediaPlayerClientImpl::paused):
28889 (WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
28890 (WebKit::WebMediaPlayerClientImpl::supportsSave):
28891 (WebKit::WebMediaPlayerClientImpl::setVolume):
28892 (WebKit::WebMediaPlayerClientImpl::networkState):
28893 (WebKit::WebMediaPlayerClientImpl::readyState):
28894 (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
28895 (WebKit::WebMediaPlayerClientImpl::buffered):
28896 (WebKit::WebMediaPlayerClientImpl::dataRate):
28897 (WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
28898 (WebKit::WebMediaPlayerClientImpl::totalBytes):
28899 (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
28900 (WebKit::WebMediaPlayerClientImpl::setSize):
28901 (WebKit::WebMediaPlayerClientImpl::paint):
28902 (WebKit::WebMediaPlayerClientImpl::setAutobuffer):
28903 (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
28904 (WebKit::WebMediaPlayerClientImpl::movieLoadType):
28905 (WebKit::WebMediaPlayerClientImpl::create):
28906 (WebKit::WebMediaPlayerClientImpl::getSupportedTypes):
28907 (WebKit::WebMediaPlayerClientImpl::supportsType):
28908 (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
28909 * src/WebMediaPlayerClientImpl.h: Added.
28910 * src/WebNode.cpp: Added.
28911 (WebKit::WebNode::reset):
28912 (WebKit::WebNode::assign):
28913 (WebKit::WebNode::parentNode):
28914 (WebKit::WebNode::nodeName):
28915 (WebKit::WebNode::WebNode):
28916 (WebKit::WebNode::operator=):
28917 (WebKit::WebNode::operator WTF::PassRefPtr<WebCore::Node>):
28918 (WebKit::WebNode::frame):
28919 * src/WebNotification.cpp: Added.
28920 (WebKit::WebNotification::reset):
28921 (WebKit::WebNotification::assign):
28922 (WebKit::WebNotification::lessThan):
28923 (WebKit::WebNotification::isHTML):
28924 (WebKit::WebNotification::url):
28925 (WebKit::WebNotification::icon):
28926 (WebKit::WebNotification::title):
28927 (WebKit::WebNotification::body):
28928 (WebKit::WebNotification::dispatchDisplayEvent):
28929 (WebKit::WebNotification::dispatchErrorEvent):
28930 (WebKit::WebNotification::dispatchCloseEvent):
28931 (WebKit::WebNotification::WebNotification):
28932 (WebKit::WebNotification::operator=):
28933 (WebKit::WebNotification::operator WTF::PassRefPtr<Notification>):
28935 2009-11-09 Yaar Schnitman <yaar@chromium.org>
28937 Reviewed by Dimitri Glazkov.
28939 Up-streaming Chromium API src files: WebFileChooser...WebImageSkia
28941 https://bugs.webkit.org/show_bug.cgi?id=31276
28943 * src/WebFileChooserCompletionImpl.cpp: Added.
28944 (WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl):
28945 (WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl):
28946 (WebKit::WebFileChooserCompletionImpl::didChooseFile):
28947 * src/WebFileChooserCompletionImpl.h: Added.
28948 * src/WebFontCache.cpp: Added.
28949 (WebKit::WebFontCache::fontDataCount):
28950 (WebKit::WebFontCache::inactiveFontDataCount):
28951 (WebKit::WebFontCache::clear):
28952 * src/WebFormElement.cpp: Added.
28953 (WebKit::WebFormElement::WebFormElement):
28954 (WebKit::WebFormElement::operator=):
28955 (WebKit::WebFormElement::operator WTF::PassRefPtr<WebCore::HTMLFormElement>):
28956 (WebKit::WebFormElement::autoComplete):
28957 (WebKit::WebFormElement::action):
28958 (WebKit::WebFormElement::submit):
28959 (WebKit::WebFormElement::getNamedElements):
28960 * src/WebFrameImpl.cpp: Added.
28961 (WebKit::frameContentAsPlainText):
28962 (WebKit::ChromePrintContext::ChromePrintContext):
28963 (WebKit::ChromePrintContext::begin):
28964 (WebKit::ChromePrintContext::getPageShrink):
28965 (WebKit::ChromePrintContext::spoolPage):
28966 (WebKit::DataSourceForDocLoader):
28967 (WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches):
28968 (WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout):
28969 (WebKit::WebFrame::frameForEnteredContext):
28970 (WebKit::WebFrame::frameForCurrentContext):
28971 (WebKit::WebFrameImpl::name):
28972 (WebKit::WebFrameImpl::url):
28973 (WebKit::WebFrameImpl::favIconURL):
28974 (WebKit::WebFrameImpl::openSearchDescriptionURL):
28975 (WebKit::WebFrameImpl::scrollOffset):
28976 (WebKit::WebFrameImpl::contentsSize):
28977 (WebKit::WebFrameImpl::contentsPreferredWidth):
28978 (WebKit::WebFrameImpl::hasVisibleContent):
28979 (WebKit::WebFrameImpl::view):
28980 (WebKit::WebFrameImpl::opener):
28981 (WebKit::WebFrameImpl::parent):
28982 (WebKit::WebFrameImpl::top):
28983 (WebKit::WebFrameImpl::firstChild):
28984 (WebKit::WebFrameImpl::lastChild):
28985 (WebKit::WebFrameImpl::nextSibling):
28986 (WebKit::WebFrameImpl::previousSibling):
28987 (WebKit::WebFrameImpl::traverseNext):
28988 (WebKit::WebFrameImpl::traversePrevious):
28989 (WebKit::WebFrameImpl::findChildByName):
28990 (WebKit::WebFrameImpl::findChildByExpression):
28991 (WebKit::WebFrameImpl::forms):
28992 (WebKit::WebFrameImpl::securityOrigin):
28993 (WebKit::WebFrameImpl::grantUniversalAccess):
28994 (WebKit::WebFrameImpl::windowObject):
28995 (WebKit::WebFrameImpl::bindToWindowObject):
28996 (WebKit::WebFrameImpl::executeScript):
28997 (WebKit::WebFrameImpl::executeScriptInNewContext):
28998 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
28999 (WebKit::WebFrameImpl::addMessageToConsole):
29000 (WebKit::WebFrameImpl::collectGarbage):
29001 (WebKit::WebFrameImpl::mainWorldScriptContext):
29002 (WebKit::WebFrameImpl::insertStyleText):
29003 (WebKit::WebFrameImpl::reload):
29004 (WebKit::WebFrameImpl::loadRequest):
29005 (WebKit::WebFrameImpl::loadHistoryItem):
29006 (WebKit::WebFrameImpl::loadData):
29007 (WebKit::WebFrameImpl::loadHTMLString):
29008 (WebKit::WebFrameImpl::isLoading):
29009 (WebKit::WebFrameImpl::stopLoading):
29010 (WebKit::WebFrameImpl::provisionalDataSource):
29011 (WebKit::WebFrameImpl::dataSource):
29012 (WebKit::WebFrameImpl::previousHistoryItem):
29013 (WebKit::WebFrameImpl::currentHistoryItem):
29014 (WebKit::WebFrameImpl::enableViewSourceMode):
29015 (WebKit::WebFrameImpl::isViewSourceModeEnabled):
29016 (WebKit::WebFrameImpl::setReferrerForRequest):
29017 (WebKit::WebFrameImpl::dispatchWillSendRequest):
29018 (WebKit::WebFrameImpl::commitDocumentData):
29019 (WebKit::WebFrameImpl::unloadListenerCount):
29020 (WebKit::WebFrameImpl::isProcessingUserGesture):
29021 (WebKit::WebFrameImpl::willSuppressOpenerInNewFrame):
29022 (WebKit::WebFrameImpl::replaceSelection):
29023 (WebKit::WebFrameImpl::insertText):
29024 (WebKit::WebFrameImpl::setMarkedText):
29025 (WebKit::WebFrameImpl::unmarkText):
29026 (WebKit::WebFrameImpl::hasMarkedText):
29027 (WebKit::WebFrameImpl::markedRange):
29028 (WebKit::WebFrameImpl::executeCommand):
29029 (WebKit::WebFrameImpl::isCommandEnabled):
29030 (WebKit::WebFrameImpl::enableContinuousSpellChecking):
29031 (WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled):
29032 (WebKit::WebFrameImpl::hasSelection):
29033 (WebKit::WebFrameImpl::selectionRange):
29034 (WebKit::WebFrameImpl::selectionAsText):
29035 (WebKit::WebFrameImpl::selectionAsMarkup):
29036 (WebKit::WebFrameImpl::printBegin):
29037 (WebKit::WebFrameImpl::getPrintPageShrink):
29038 (WebKit::WebFrameImpl::printPage):
29039 (WebKit::WebFrameImpl::printEnd):
29040 (WebKit::WebFrameImpl::find):
29041 (WebKit::WebFrameImpl::stopFinding):
29042 (WebKit::WebFrameImpl::scopeStringMatches):
29043 (WebKit::WebFrameImpl::cancelPendingScopingEffort):
29044 (WebKit::WebFrameImpl::increaseMatchCount):
29045 (WebKit::WebFrameImpl::reportFindInPageSelection):
29046 (WebKit::WebFrameImpl::resetMatchCount):
29047 (WebKit::WebFrameImpl::completeURL):
29048 (WebKit::WebFrameImpl::contentAsText):
29049 (WebKit::WebFrameImpl::contentAsMarkup):
29050 (WebKit::WebFrameImpl::create):
29051 (WebKit::WebFrameImpl::WebFrameImpl):
29052 (WebKit::WebFrameImpl::~WebFrameImpl):
29053 (WebKit::WebFrameImpl::initializeAsMainFrame):
29054 (WebKit::WebFrameImpl::createChildFrame):
29055 (WebKit::WebFrameImpl::layout):
29056 (WebKit::WebFrameImpl::paint):
29057 (WebKit::WebFrameImpl::createFrameView):
29058 (WebKit::WebFrameImpl::fromFrame):
29059 (WebKit::WebFrameImpl::viewImpl):
29060 (WebKit::WebFrameImpl::dataSourceImpl):
29061 (WebKit::WebFrameImpl::provisionalDataSourceImpl):
29062 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
29063 (WebKit::WebFrameImpl::didFail):
29064 (WebKit::WebFrameImpl::setAllowsScrolling):
29065 (WebKit::WebFrameImpl::registerPasswordListener):
29066 (WebKit::WebFrameImpl::getPasswordListener):
29067 (WebKit::WebFrameImpl::closing):
29068 (WebKit::WebFrameImpl::invalidateArea):
29069 (WebKit::WebFrameImpl::addMarker):
29070 (WebKit::WebFrameImpl::setMarkerActive):
29071 (WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame):
29072 (WebKit::WebFrameImpl::shouldScopeMatches):
29073 (WebKit::WebFrameImpl::scopeStringMatchesSoon):
29074 (WebKit::WebFrameImpl::callScopeStringMatches):
29075 (WebKit::WebFrameImpl::invalidateIfNecessary):
29076 (WebKit::WebFrameImpl::clearPasswordListeners):
29077 (WebKit::WebFrameImpl::loadJavaScriptURL):
29078 * src/WebFrameImpl.h: Added.
29079 (WebKit::WebFrameImpl::liveObjectCount):
29080 (WebKit::WebFrameImpl::frame):
29081 (WebKit::WebFrameImpl::frameView):
29082 (WebKit::WebFrameImpl::activeMatchFrame):
29083 (WebKit::WebFrameImpl::client):
29084 (WebKit::WebFrameImpl::dropClient):
29085 (WebKit::WebFrameImpl::ClientHandle::create):
29086 (WebKit::WebFrameImpl::ClientHandle::client):
29087 (WebKit::WebFrameImpl::ClientHandle::dropClient):
29088 (WebKit::WebFrameImpl::ClientHandle::ClientHandle):
29089 (WebKit::WebFrameImpl::):
29090 * src/WebHTTPBody.cpp: Added.
29091 (WebKit::WebHTTPBody::initialize):
29092 (WebKit::WebHTTPBody::reset):
29093 (WebKit::WebHTTPBody::assign):
29094 (WebKit::WebHTTPBody::elementCount):
29095 (WebKit::WebHTTPBody::elementAt):
29096 (WebKit::WebHTTPBody::appendData):
29097 (WebKit::WebHTTPBody::appendFile):
29098 (WebKit::WebHTTPBody::identifier):
29099 (WebKit::WebHTTPBody::setIdentifier):
29100 (WebKit::WebHTTPBody::WebHTTPBody):
29101 (WebKit::WebHTTPBody::operator=):
29102 (WebKit::WebHTTPBody::operator PassRefPtr<FormData>):
29103 (WebKit::WebHTTPBody::ensureMutable):
29104 * src/WebHistoryItem.cpp: Added.
29105 (WebKit::WebHistoryItem::initialize):
29106 (WebKit::WebHistoryItem::reset):
29107 (WebKit::WebHistoryItem::assign):
29108 (WebKit::WebHistoryItem::urlString):
29109 (WebKit::WebHistoryItem::setURLString):
29110 (WebKit::WebHistoryItem::originalURLString):
29111 (WebKit::WebHistoryItem::setOriginalURLString):
29112 (WebKit::WebHistoryItem::referrer):
29113 (WebKit::WebHistoryItem::setReferrer):
29114 (WebKit::WebHistoryItem::target):
29115 (WebKit::WebHistoryItem::setTarget):
29116 (WebKit::WebHistoryItem::parent):
29117 (WebKit::WebHistoryItem::setParent):
29118 (WebKit::WebHistoryItem::title):
29119 (WebKit::WebHistoryItem::setTitle):
29120 (WebKit::WebHistoryItem::alternateTitle):
29121 (WebKit::WebHistoryItem::setAlternateTitle):
29122 (WebKit::WebHistoryItem::lastVisitedTime):
29123 (WebKit::WebHistoryItem::setLastVisitedTime):
29124 (WebKit::WebHistoryItem::scrollOffset):
29125 (WebKit::WebHistoryItem::setScrollOffset):
29126 (WebKit::WebHistoryItem::isTargetItem):
29127 (WebKit::WebHistoryItem::setIsTargetItem):
29128 (WebKit::WebHistoryItem::visitCount):
29129 (WebKit::WebHistoryItem::setVisitCount):
29130 (WebKit::WebHistoryItem::documentState):
29131 (WebKit::WebHistoryItem::setDocumentState):
29132 (WebKit::WebHistoryItem::httpContentType):
29133 (WebKit::WebHistoryItem::setHTTPContentType):
29134 (WebKit::WebHistoryItem::httpBody):
29135 (WebKit::WebHistoryItem::setHTTPBody):
29136 (WebKit::WebHistoryItem::children):
29137 (WebKit::WebHistoryItem::setChildren):
29138 (WebKit::WebHistoryItem::appendToChildren):
29139 (WebKit::WebHistoryItem::WebHistoryItem):
29140 (WebKit::WebHistoryItem::operator=):
29141 (WebKit::WebHistoryItem::operator PassRefPtr<HistoryItem>):
29142 (WebKit::WebHistoryItem::ensureMutable):
29143 * src/WebImageCG.cpp: Added.
29144 (WebKit::WebImage::fromData):
29145 (WebKit::WebImage::reset):
29146 (WebKit::WebImage::assign):
29147 (WebKit::WebImage::isNull):
29148 (WebKit::WebImage::size):
29149 (WebKit::WebImage::WebImage):
29150 (WebKit::WebImage::operator=):
29151 * src/WebImageSkia.cpp: Added.
29152 (WebKit::WebImage::fromData):
29153 (WebKit::WebImage::reset):
29154 (WebKit::WebImage::assign):
29155 (WebKit::WebImage::isNull):
29156 (WebKit::WebImage::size):
29157 (WebKit::WebImage::WebImage):
29158 (WebKit::WebImage::operator=):
29160 2009-11-09 Yaar Schnitman <yaar@chromium.src>
29162 Reviewed by Dimitri Glazkov.
29164 Up-streaming Chromium API src files: WebData...WebElement
29166 https://bugs.webkit.org/show_bug.cgi?id=31276
29168 * src/WebData.cpp: Added.
29169 (WebKit::WebData::reset):
29170 (WebKit::WebData::assign):
29171 (WebKit::WebData::size):
29172 (WebKit::WebData::data):
29173 (WebKit::WebData::WebData):
29174 (WebKit::WebData::operator=):
29175 (WebKit::WebData::operator PassRefPtr<SharedBuffer>):
29176 * src/WebDataSourceImpl.cpp: Added.
29177 (WebKit::WebDataSourceImpl::create):
29178 (WebKit::WebDataSourceImpl::originalRequest):
29179 (WebKit::WebDataSourceImpl::request):
29180 (WebKit::WebDataSourceImpl::response):
29181 (WebKit::WebDataSourceImpl::hasUnreachableURL):
29182 (WebKit::WebDataSourceImpl::unreachableURL):
29183 (WebKit::WebDataSourceImpl::redirectChain):
29184 (WebKit::WebDataSourceImpl::pageTitle):
29185 (WebKit::WebDataSourceImpl::navigationType):
29186 (WebKit::WebDataSourceImpl::triggeringEventTime):
29187 (WebKit::WebDataSourceImpl::extraData):
29188 (WebKit::WebDataSourceImpl::setExtraData):
29189 (WebKit::WebDataSourceImpl::toWebNavigationType):
29190 (WebKit::WebDataSourceImpl::endOfRedirectChain):
29191 (WebKit::WebDataSourceImpl::clearRedirectChain):
29192 (WebKit::WebDataSourceImpl::appendRedirect):
29193 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
29194 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
29195 (WebKit::WebDataSourceImpl::~WebDataSourceImpl):
29196 * src/WebDataSourceImpl.h: Added.
29197 (WebKit::WebDataSourceImpl::fromDocumentLoader):
29198 (WebKit::WebDataSourceImpl::hasRedirectChain):
29199 (WebKit::WebDataSourceImpl::releasePluginLoadObserver):
29200 * src/WebDatabase.cpp: Added.
29201 (WebKit::WebDatabase::reset):
29202 (WebKit::WebDatabase::assign):
29203 (WebKit::WebDatabase::name):
29204 (WebKit::WebDatabase::displayName):
29205 (WebKit::WebDatabase::estimatedSize):
29206 (WebKit::WebDatabase::securityOrigin):
29207 (WebKit::WebDatabase::setObserver):
29208 (WebKit::WebDatabase::observer):
29209 (WebKit::WebDatabase::updateDatabaseSize):
29210 (WebKit::WebDatabase::WebDatabase):
29211 (WebKit::WebDatabase::operator=):
29212 (WebKit::WebDatabase::operator WTF::PassRefPtr<Database>):
29213 * src/WebDevToolsAgentPrivate.h: Added.
29214 * src/WebDragData.cpp: Added.
29215 (WebKit::WebDragData::initialize):
29216 (WebKit::WebDragData::reset):
29217 (WebKit::WebDragData::assign):
29218 (WebKit::WebDragData::url):
29219 (WebKit::WebDragData::setURL):
29220 (WebKit::WebDragData::urlTitle):
29221 (WebKit::WebDragData::setURLTitle):
29222 (WebKit::WebDragData::fileExtension):
29223 (WebKit::WebDragData::setFileExtension):
29224 (WebKit::WebDragData::hasFileNames):
29225 (WebKit::WebDragData::fileNames):
29226 (WebKit::WebDragData::setFileNames):
29227 (WebKit::WebDragData::appendToFileNames):
29228 (WebKit::WebDragData::plainText):
29229 (WebKit::WebDragData::setPlainText):
29230 (WebKit::WebDragData::htmlText):
29231 (WebKit::WebDragData::setHTMLText):
29232 (WebKit::WebDragData::htmlBaseURL):
29233 (WebKit::WebDragData::setHTMLBaseURL):
29234 (WebKit::WebDragData::fileContentFileName):
29235 (WebKit::WebDragData::setFileContentFileName):
29236 (WebKit::WebDragData::fileContent):
29237 (WebKit::WebDragData::setFileContent):
29238 (WebKit::WebDragData::WebDragData):
29239 (WebKit::WebDragData::operator=):
29240 (WebKit::WebDragData::operator WTF::PassRefPtr<WebCore::ChromiumDataObject>):
29241 (WebKit::WebDragData::ensureMutable):
29242 * src/WebElement.cpp: Added.
29243 (WebKit::WebElement::WebElement):
29244 (WebKit::WebElement::operator=):
29245 (WebKit::WebElement::operator WTF::PassRefPtr<Element>):
29247 2009-11-09 Nate Chapin <japhet@chromium.org>
29249 Reviewed by Dimitri Glazkov.
29251 WebPo*.h and WebRunetimeFeatures.h Chromium API headers.
29253 https://bugs.webkit.org/show_bug.cgi?id=28394
29255 * public/WebPoint.h: Added.
29256 (WebKit::WebPoint::WebPoint):
29257 (WebKit::WebPoint::operator=):
29258 (WebKit::WebPoint::operator WebCore::IntPoint):
29259 (WebKit::WebPoint::operator gfx::Point):
29260 (WebKit::operator==):
29261 (WebKit::operator!=):
29262 * public/WebPopupMenu.h: Added.
29263 * public/WebPopupMenuInfo.h: Added.
29264 (WebKit::WebPopupMenuInfo::Item::):
29265 * public/WebRuntimeFeatures.h: Added.
29267 2009-11-09 Nate Chapin <japhet@chromium.org>
29269 Reviewed by Dimitri Glazkov.
29271 WebPa*.h and WebPl*.h Chromium API headers.
29273 https://bugs.webkit.org/show_bug.cgi?id=28394
29275 * public/WebPasswordAutocompleteListener.h: Added.
29276 (WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener):
29277 * public/WebPasswordFormData.h: Added.
29278 (WebKit::WebPasswordFormData::isValid):
29279 * public/WebPlugin.h: Added.
29280 (WebKit::WebPlugin::~WebPlugin):
29281 * public/WebPluginContainer.h: Added.
29282 (WebKit::WebPluginContainer::~WebPluginContainer):
29283 * public/WebPluginListBuilder.h: Added.
29284 * public/WebPluginParams.h: Added.
29286 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29288 Reviewed by Dimitri Glazkov.
29290 Up-streaming Chromium API src files: WebBindging ... WebCursorInfo
29292 https://bugs.webkit.org/show_bug.cgi?id=31276
29294 * src/WebBindings.cpp: Added.
29295 (WebKit::WebBindings::construct):
29296 (WebKit::WebBindings::createObject):
29297 (WebKit::WebBindings::enumerate):
29298 (WebKit::WebBindings::evaluate):
29299 (WebKit::WebBindings::evaluateHelper):
29300 (WebKit::WebBindings::getIntIdentifier):
29301 (WebKit::WebBindings::getProperty):
29302 (WebKit::WebBindings::getStringIdentifier):
29303 (WebKit::WebBindings::getStringIdentifiers):
29304 (WebKit::WebBindings::hasMethod):
29305 (WebKit::WebBindings::hasProperty):
29306 (WebKit::WebBindings::identifierIsString):
29307 (WebKit::WebBindings::intFromIdentifier):
29308 (WebKit::WebBindings::initializeVariantWithStringCopy):
29309 (WebKit::WebBindings::invoke):
29310 (WebKit::WebBindings::invokeDefault):
29311 (WebKit::WebBindings::releaseObject):
29312 (WebKit::WebBindings::releaseVariantValue):
29313 (WebKit::WebBindings::removeProperty):
29314 (WebKit::WebBindings::retainObject):
29315 (WebKit::WebBindings::setException):
29316 (WebKit::WebBindings::setProperty):
29317 (WebKit::WebBindings::unregisterObject):
29318 (WebKit::WebBindings::utf8FromIdentifier):
29319 (WebKit::WebBindings::extractIdentifierData):
29320 (WebKit::getEvent):
29321 (WebKit::getDragDataImpl):
29322 (WebKit::getRangeImpl):
29323 (WebKit::WebBindings::getDragData):
29324 (WebKit::WebBindings::isDragEvent):
29325 (WebKit::WebBindings::getRange):
29326 * src/WebCString.cpp: Added.
29327 (WebKit::WebCString::reset):
29328 (WebKit::WebCString::assign):
29329 (WebKit::WebCString::length):
29330 (WebKit::WebCString::data):
29331 (WebKit::WebCString::utf16):
29332 (WebKit::WebCString::fromUTF16):
29333 (WebKit::WebCString::WebCString):
29334 (WebKit::WebCString::operator=):
29335 (WebKit::WebCString::operator WebCore::CString):
29336 * src/WebCache.cpp: Added.
29337 (WebKit::ToResourceTypeStat):
29338 (WebKit::WebCache::setCapacities):
29339 (WebKit::WebCache::clear):
29340 (WebKit::WebCache::getUsageStats):
29341 (WebKit::WebCache::getResourceTypeStats):
29342 * src/WebColor.cpp: Added.
29343 (WebKit::toCSSValueKeyword):
29344 (WebKit::setNamedColors):
29345 * src/WebCrossOriginPreflightResultCache.cpp: Added.
29346 (WebKit::WebCrossOriginPreflightResultCache::clear):
29347 * src/WebCursorInfo.cpp: Added.
29348 (WebKit::WebCursorInfo::WebCursorInfo):
29350 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29352 Reviewed by Dimitri Glazkov.
29354 Up-streaming Chromium API src files: WebAccessibilty
29356 https://bugs.webkit.org/show_bug.cgi?id=31276
29358 * src/WebAccessibilityCache.cpp: Added.
29359 (WebKit::WebAccessibilityCache::enableAccessibility):
29360 * src/WebAccessibilityCacheImpl.cpp: Added.
29361 (WebKit::toAccessibilityObject):
29362 (WebKit::WebAccessibilityCache::create):
29363 (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
29364 (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
29365 (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach):
29366 (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl):
29367 (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl):
29368 (WebKit::WebAccessibilityCacheImpl::initialize):
29369 (WebKit::WebAccessibilityCacheImpl::getObjectById):
29370 (WebKit::WebAccessibilityCacheImpl::isValidId):
29371 (WebKit::WebAccessibilityCacheImpl::remove):
29372 (WebKit::WebAccessibilityCacheImpl::clear):
29373 (WebKit::WebAccessibilityCacheImpl::addOrGetId):
29374 * src/WebAccessibilityCacheImpl.h: Added.
29375 (WebKit::WebAccessibilityCacheImpl::isInitialized):
29376 * src/WebAccessibilityObject.cpp: Added.
29377 (WebKit::WebAccessibilityObject::reset):
29378 (WebKit::WebAccessibilityObject::assign):
29379 (WebKit::WebAccessibilityObject::accessibilityDescription):
29380 (WebKit::WebAccessibilityObject::actionVerb):
29381 (WebKit::WebAccessibilityObject::canSetFocusAttribute):
29382 (WebKit::WebAccessibilityObject::childCount):
29383 (WebKit::WebAccessibilityObject::childAt):
29384 (WebKit::WebAccessibilityObject::firstChild):
29385 (WebKit::WebAccessibilityObject::focusedChild):
29386 (WebKit::WebAccessibilityObject::lastChild):
29387 (WebKit::WebAccessibilityObject::nextSibling):
29388 (WebKit::WebAccessibilityObject::parentObject):
29389 (WebKit::WebAccessibilityObject::previousSibling):
29390 (WebKit::WebAccessibilityObject::isAnchor):
29391 (WebKit::WebAccessibilityObject::isChecked):
29392 (WebKit::WebAccessibilityObject::isFocused):
29393 (WebKit::WebAccessibilityObject::isEnabled):
29394 (WebKit::WebAccessibilityObject::isHovered):
29395 (WebKit::WebAccessibilityObject::isIndeterminate):
29396 (WebKit::WebAccessibilityObject::isMultiSelect):
29397 (WebKit::WebAccessibilityObject::isOffScreen):
29398 (WebKit::WebAccessibilityObject::isPasswordField):
29399 (WebKit::WebAccessibilityObject::isPressed):
29400 (WebKit::WebAccessibilityObject::isReadOnly):
29401 (WebKit::WebAccessibilityObject::isVisited):
29402 (WebKit::WebAccessibilityObject::boundingBoxRect):
29403 (WebKit::WebAccessibilityObject::helpText):
29404 (WebKit::WebAccessibilityObject::hitTest):
29405 (WebKit::WebAccessibilityObject::keyboardShortcut):
29406 (WebKit::WebAccessibilityObject::performDefaultAction):
29407 (WebKit::WebAccessibilityObject::roleValue):
29408 (WebKit::WebAccessibilityObject::stringValue):
29409 (WebKit::WebAccessibilityObject::title):
29410 (WebKit::WebAccessibilityObject::WebAccessibilityObject):
29411 (WebKit::WebAccessibilityObject::operator=):
29412 (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
29414 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29416 Reviewed by Dimitri Glazkov.
29418 Upstreaming Chromium API: Platform specific files
29420 https://bugs.webkit.org/show_bug.cgi?id=28394
29422 * public/gtk/WebFontInfo.h: Added.
29423 * public/gtk/WebInputEventFactory.h: Added.
29424 * public/gtk/WebScreenInfoFactory.h: Added.
29425 * public/linux/WebFontRendering.h: Added.
29426 * public/linux/WebSandboxSupport.h: Added.
29427 * public/mac/WebInputEventFactory.h: Added.
29428 * public/mac/WebScreenInfoFactory.h: Added.
29429 * public/win/WebInputEventFactory.h: Added.
29430 * public/win/WebSandboxSupport.h: Added.
29431 * public/win/WebScreenInfoFactory.h: Added.
29432 * public/win/WebThemeEngine.h: Added.
29433 * public/x11/WebScreenInfoFactory.h: Added.
29435 2009-11-09 David Levin <levin@chromium.org>
29437 Reviewed by Dmitry Titov.
29439 Change struct ResourceRequest to class ResourceRequest per
29440 http://trac.webkit.org/changeset/50625.
29442 * public/WebURLRequest.h:
29444 2009-11-09 Nate Chapin <japhet@chromium.org>
29446 Reviewed by Dimitri Glazkov.
29448 Upstream remaining Chromium API WebN*.h headers.
29450 https://bugs.webkit.org/show_bug.cgi?id=28394
29452 * public/WebNonCopyable.h: Added.
29453 (WebKit::WebNonCopyable::WebNonCopyable):
29454 (WebKit::WebNonCopyable::~WebNonCopyable):
29455 * public/WebNotification.h: Added.
29456 (WebKit::WebNotification::WebNotification):
29457 (WebKit::WebNotification::~WebNotification):
29458 (WebKit::WebNotification::operator=):
29459 (WebKit::WebNotification::equals):
29460 (WebKit::operator==):
29461 (WebKit::operator!=):
29462 (WebKit::operator<):
29463 * public/WebNotificationPermissionCallback.h: Added.
29464 (WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback):
29465 * public/WebNotificationPresenter.h: Added.
29466 (WebKit::WebNotificationPresenter::):
29468 2009-11-09 Nate Chapin <japhet@chromium.org>
29470 Reviewed by Dimitri Glazkov.
29472 Upstream Chromium API headers WebMessage through WebNavigation.
29474 https://bugs.webkit.org/show_bug.cgi?id=28394
29476 * public/WebMessagePortChannel.h: Added.
29477 (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
29478 * public/WebMessagePortChannelClient.h: Added.
29479 (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
29480 * public/WebMimeRegistry.h: Added.
29481 (WebKit::WebMimeRegistry::):
29482 (WebKit::WebMimeRegistry::~WebMimeRegistry):
29483 * public/WebNavigationPolicy.h: Added.
29485 * public/WebNavigationType.h: Added.
29488 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29490 Reviewed by Dimitri Glazkov.
29492 Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo.
29494 https://bugs.webkit.org/show_bug.cgi?id=28394
29496 * public/WebScreenInfo.h: Added.
29497 (WebKit::WebScreenInfo::WebScreenInfo):
29498 * public/WebScriptController.h: Added.
29499 * public/WebScriptSource.h: Added.
29500 (WebKit::WebScriptSource::WebScriptSource):
29501 * public/WebSearchableFormData.h: Added.
29502 (WebKit::WebSearchableFormData::isValid):
29503 (WebKit::WebSearchableFormData::url):
29504 (WebKit::WebSearchableFormData::encoding):
29505 * public/WebSecurityOrigin.h: Added.
29506 (WebKit::WebSecurityOrigin::~WebSecurityOrigin):
29507 (WebKit::WebSecurityOrigin::WebSecurityOrigin):
29508 (WebKit::WebSecurityOrigin::operator=):
29509 (WebKit::WebSecurityOrigin::isNull):
29510 * public/WebSecurityPolicy.h: Added.
29511 * public/WebSettings.h: Added.
29512 (WebKit::WebSettings::~WebSettings):
29513 * public/WebSharedWorker.h: Added.
29514 (WebKit::WebSharedWorker::~WebSharedWorker):
29515 * public/WebSharedWorkerRepository.h: Added.
29517 2009-11-09 Nate Chapin <japhet@chromium.org>
29519 Reviewed by Dimitri Glazkov.
29521 Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h.
29523 https://bugs.webkit.org/show_bug.cgi?id=28394
29525 * public/WebKit.h: Added.
29526 * public/WebKitClient.h: Added.
29527 (WebKit::WebKitClient::~WebKitClient):
29528 * public/WebLocalizedString.h: Added.
29529 (WebKit::WebLocalizedString::):
29530 * public/WebMediaPlayer.h: Added.
29531 (WebKit::WebTimeRange::WebTimeRange):
29532 (WebKit::WebMediaPlayer::):
29533 (WebKit::WebMediaPlayer::~WebMediaPlayer):
29534 * public/WebMediaPlayerAction.h: Added.
29535 (WebKit::WebMediaPlayerAction::):
29536 (WebKit::WebMediaPlayerAction::WebMediaPlayerAction):
29537 * public/WebMediaPlayerClient.h: Added.
29538 (WebKit::WebMediaPlayerClient::~WebMediaPlayerClient):
29540 2009-11-09 Nate Chapin <japhet@chromium.org>
29542 Reviewed by Dimitri Glazkov.
29544 Upstream rest of WebH*.h and WebI*.h Chromium API headers.
29546 https://bugs.webkit.org/show_bug.cgi?id=28394
29548 * public/WebHTTPBody.h: Added.
29549 (WebKit::WebHTTPBody::Element::):
29550 (WebKit::WebHTTPBody::~WebHTTPBody):
29551 (WebKit::WebHTTPBody::WebHTTPBody):
29552 (WebKit::WebHTTPBody::operator=):
29553 (WebKit::WebHTTPBody::isNull):
29554 * public/WebHTTPHeaderVisitor.h: Added.
29555 (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
29556 * public/WebHistoryItem.h: Added.
29557 (WebKit::WebHistoryItem::~WebHistoryItem):
29558 (WebKit::WebHistoryItem::WebHistoryItem):
29559 (WebKit::WebHistoryItem::operator=):
29560 (WebKit::WebHistoryItem::isNull):
29561 * public/WebImage.h: Added.
29562 (WebKit::WebImage::~WebImage):
29563 (WebKit::WebImage::WebImage):
29564 (WebKit::WebImage::operator=):
29565 (WebKit::WebImage::getSkBitmap):
29566 (WebKit::WebImage::init):
29567 (WebKit::WebImage::getCGImageRef):
29568 * public/WebInputEvent.h: Added.
29569 (WebKit::WebInputEvent::WebInputEvent):
29570 (WebKit::WebInputEvent::):
29571 (WebKit::WebInputEvent::isKeyboardEventType):
29572 (WebKit::WebKeyboardEvent::WebKeyboardEvent):
29573 (WebKit::WebMouseEvent::):
29574 (WebKit::WebMouseEvent::WebMouseEvent):
29575 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
29577 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29579 Reviewed by Eric Seidel.
29581 Upstreaming the Chromium WebKit API: WebSockets and WebStorage.
29583 https://bugs.webkit.org/show_bug.cgi?id=28394
29585 * public/WebSocketStreamError.h: Added.
29586 * public/WebSocketStreamHandle.h: Added.
29587 (WebKit::WebSocketStreamHandle::~WebSocketStreamHandle):
29588 * public/WebSocketStreamHandleClient.h: Added.
29589 * public/WebStorageArea.h: Added.
29590 (WebKit::WebStorageArea::~WebStorageArea):
29591 * public/WebStorageEventDispatcher.h: Added.
29592 (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
29593 * public/WebStorageNamespace.h: Added.
29594 (WebKit::WebStorageNamespace::~WebStorageNamespace):
29596 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29598 Reviewed by Dimitri Glazkov.
29600 Upstreaming the Chromium WebKit API: WebString and other basic objects.
29602 https://bugs.webkit.org/show_bug.cgi?id=28394
29604 * public/WebRange.h: Added.
29605 (WebKit::WebRange::~WebRange):
29606 (WebKit::WebRange::WebRange):
29607 (WebKit::WebRange::operator=):
29608 (WebKit::WebRange::isNull):
29609 * public/WebRect.h: Added.
29610 (WebKit::WebRect::isEmpty):
29611 (WebKit::WebRect::WebRect):
29612 (WebKit::WebRect::operator=):
29613 (WebKit::WebRect::operator WebCore::IntRect):
29614 (WebKit::WebRect::operator gfx::Rect):
29615 (WebKit::operator==):
29616 (WebKit::operator!=):
29617 * public/WebSize.h: Added.
29618 (WebKit::WebSize::isEmpty):
29619 (WebKit::WebSize::WebSize):
29620 (WebKit::WebSize::operator=):
29621 (WebKit::WebSize::operator WebCore::IntSize):
29622 (WebKit::WebSize::operator gfx::Size):
29623 (WebKit::operator==):
29624 (WebKit::operator!=):
29625 * public/WebString.h: Added.
29626 (WebKit::WebString::~WebString):
29627 (WebKit::WebString::WebString):
29628 (WebKit::WebString::operator=):
29629 (WebKit::WebString::isEmpty):
29630 (WebKit::WebString::isNull):
29631 (WebKit::WebString::operator string16):
29632 (WebKit::WebString::operator NullableString16):
29633 (WebKit::WebString::fromUTF8):
29635 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29637 Reviewed by Eric Seidel.
29639 Upstreaming the Chromium WebKit API: WebText*
29641 https://bugs.webkit.org/show_bug.cgi?id=28394
29643 * public/WebTextAffinity.h: Added.
29645 * public/WebTextDirection.h: Added.
29648 2009-11-09 Nate Chapin <japhet@chromium.org>
29650 Reviewed by Dimitri Glazkov.
29652 Upstream remainder of WebE*.h and WebF*.h Chromium API headers.
29654 https://bugs.webkit.org/show_bug.cgi?id=28394
29656 * public/WebEditingAction.h: Added.
29658 * public/WebFileChooserCompletion.h: Added.
29659 (WebKit::WebFileChooserCompletion::~WebFileChooserCompletion):
29660 * public/WebFindOptions.h: Added.
29661 (WebKit::WebFindOptions::WebFindOptions):
29662 * public/WebFontCache.h: Added.
29663 * public/WebFrame.h: Added.
29664 (WebKit::WebFrame::~WebFrame):
29665 * public/WebFrameClient.h: Added.
29666 (WebKit::WebFrameClient::createPlugin):
29667 (WebKit::WebFrameClient::createWorker):
29668 (WebKit::WebFrameClient::createSharedWorker):
29669 (WebKit::WebFrameClient::createMediaPlayer):
29670 (WebKit::WebFrameClient::willClose):
29671 (WebKit::WebFrameClient::loadURLExternally):
29672 (WebKit::WebFrameClient::decidePolicyForNavigation):
29673 (WebKit::WebFrameClient::canHandleRequest):
29674 (WebKit::WebFrameClient::cannotHandleRequestError):
29675 (WebKit::WebFrameClient::cancelledError):
29676 (WebKit::WebFrameClient::unableToImplementPolicyWithError):
29677 (WebKit::WebFrameClient::willSubmitForm):
29678 (WebKit::WebFrameClient::willPerformClientRedirect):
29679 (WebKit::WebFrameClient::didCancelClientRedirect):
29680 (WebKit::WebFrameClient::didCompleteClientRedirect):
29681 (WebKit::WebFrameClient::didCreateDataSource):
29682 (WebKit::WebFrameClient::didStartProvisionalLoad):
29683 (WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad):
29684 (WebKit::WebFrameClient::didFailProvisionalLoad):
29685 (WebKit::WebFrameClient::didReceiveDocumentData):
29686 (WebKit::WebFrameClient::didCommitProvisionalLoad):
29687 (WebKit::WebFrameClient::didClearWindowObject):
29688 (WebKit::WebFrameClient::didCreateDocumentElement):
29689 (WebKit::WebFrameClient::didReceiveTitle):
29690 (WebKit::WebFrameClient::didFinishDocumentLoad):
29691 (WebKit::WebFrameClient::didHandleOnloadEvents):
29692 (WebKit::WebFrameClient::didFailLoad):
29693 (WebKit::WebFrameClient::didFinishLoad):
29694 (WebKit::WebFrameClient::didChangeLocationWithinPage):
29695 (WebKit::WebFrameClient::didUpdateCurrentHistoryItem):
29696 (WebKit::WebFrameClient::assignIdentifierToRequest):
29697 (WebKit::WebFrameClient::willSendRequest):
29698 (WebKit::WebFrameClient::didReceiveResponse):
29699 (WebKit::WebFrameClient::didFinishResourceLoad):
29700 (WebKit::WebFrameClient::didFailResourceLoad):
29701 (WebKit::WebFrameClient::didLoadResourceFromMemoryCache):
29702 (WebKit::WebFrameClient::didDisplayInsecureContent):
29703 (WebKit::WebFrameClient::didRunInsecureContent):
29704 (WebKit::WebFrameClient::allowScript):
29705 (WebKit::WebFrameClient::didExhaustMemoryAvailableForScript):
29706 (WebKit::WebFrameClient::didCreateScriptContext):
29707 (WebKit::WebFrameClient::didDestroyScriptContext):
29708 (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
29709 (WebKit::WebFrameClient::didChangeContentsSize):
29710 (WebKit::WebFrameClient::didChangeScrollOffset):
29711 (WebKit::WebFrameClient::reportFindInPageMatchCount):
29712 (WebKit::WebFrameClient::reportFindInPageSelection):
29713 (WebKit::WebFrameClient::~WebFrameClient):
29715 2009-11-09 Nate Chapin <japhet@chromium.org>
29717 Reviewed by Dimitri Glazkov.
29719 Upstream WebDevTools*.h and WebDrag*.h Chromium API headers.
29721 https://bugs.webkit.org/show_bug.cgi?id=28394
29723 * public/WebDevToolsAgent.h: Added.
29724 (WebKit::WebDevToolsAgent::~WebDevToolsAgent):
29725 * public/WebDevToolsAgentClient.h: Added.
29726 (WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient):
29727 * public/WebDevToolsFrontend.h: Added.
29728 (WebKit::WebDevToolsFrontend::~WebDevToolsFrontend):
29729 * public/WebDevToolsFrontendClient.h: Added.
29730 (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
29731 (WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient):
29732 * public/WebDragData.h: Added.
29733 (WebKit::WebDragData::~WebDragData):
29734 (WebKit::WebDragData::WebDragData):
29735 (WebKit::WebDragData::operator=):
29736 (WebKit::WebDragData::isNull):
29737 * public/WebDragOperation.h: Added.
29740 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29742 Reviewed by Dimitri Glazkov.
29744 Upstreaming the Chromium WebKit API: WebURL and friends.
29746 https://bugs.webkit.org/show_bug.cgi?id=28394
29748 * public/WebURL.h: Added.
29749 (WebKit::WebURL::~WebURL):
29750 (WebKit::WebURL::WebURL):
29751 (WebKit::WebURL::operator=):
29752 (WebKit::WebURL::assign):
29753 (WebKit::WebURL::spec):
29754 (WebKit::WebURL::parsed):
29755 (WebKit::WebURL::isValid):
29756 (WebKit::WebURL::isEmpty):
29757 (WebKit::WebURL::isNull):
29758 (WebKit::WebURL::operator GURL):
29759 * public/WebURLError.h: Added.
29760 (WebKit::WebURLError::WebURLError):
29761 * public/WebURLLoader.h: Added.
29762 (WebKit::WebURLLoader::~WebURLLoader):
29763 * public/WebURLLoaderClient.h: Added.
29764 (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
29765 * public/WebURLRequest.h: Added.
29766 (WebKit::WebURLRequest::):
29767 (WebKit::WebURLRequest::~WebURLRequest):
29768 (WebKit::WebURLRequest::WebURLRequest):
29769 (WebKit::WebURLRequest::operator=):
29770 * public/WebURLResponse.h: Added.
29771 (WebKit::WebURLResponse::~WebURLResponse):
29772 (WebKit::WebURLResponse::WebURLResponse):
29773 (WebKit::WebURLResponse::operator=):
29775 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29777 Reviewed by Dimitri Glazkov.
29779 Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient
29781 https://bugs.webkit.org/show_bug.cgi?id=28394
29783 * public/WebVector.h: Added.
29784 (WebKit::WebVector::~WebVector):
29785 (WebKit::WebVector::WebVector):
29786 (WebKit::WebVector::operator=):
29787 (WebKit::WebVector::assign):
29788 (WebKit::WebVector::size):
29789 (WebKit::WebVector::isEmpty):
29790 (WebKit::WebVector::operator[]):
29791 (WebKit::WebVector::data):
29792 (WebKit::WebVector::swap):
29793 (WebKit::WebVector::initialize):
29794 (WebKit::WebVector::initializeFrom):
29795 (WebKit::WebVector::destroy):
29796 * public/WebView.h: Added.
29797 (WebKit::WebView::~WebView):
29798 * public/WebViewClient.h: Added.
29799 (WebKit::WebViewClient::createView):
29800 (WebKit::WebViewClient::createPopupMenu):
29801 (WebKit::WebViewClient::didAddMessageToConsole):
29802 (WebKit::WebViewClient::printPage):
29803 (WebKit::WebViewClient::notificationPresenter):
29804 (WebKit::WebViewClient::didStartLoading):
29805 (WebKit::WebViewClient::didStopLoading):
29806 (WebKit::WebViewClient::shouldBeginEditing):
29807 (WebKit::WebViewClient::shouldEndEditing):
29808 (WebKit::WebViewClient::shouldInsertNode):
29809 (WebKit::WebViewClient::shouldInsertText):
29810 (WebKit::WebViewClient::shouldChangeSelectedRange):
29811 (WebKit::WebViewClient::shouldDeleteRange):
29812 (WebKit::WebViewClient::shouldApplyStyle):
29813 (WebKit::WebViewClient::isSmartInsertDeleteEnabled):
29814 (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled):
29815 (WebKit::WebViewClient::setInputMethodEnabled):
29816 (WebKit::WebViewClient::didBeginEditing):
29817 (WebKit::WebViewClient::didChangeSelection):
29818 (WebKit::WebViewClient::didChangeContents):
29819 (WebKit::WebViewClient::didExecuteCommand):
29820 (WebKit::WebViewClient::didEndEditing):
29821 (WebKit::WebViewClient::handleCurrentKeyboardEvent):
29822 (WebKit::WebViewClient::spellCheck):
29823 (WebKit::WebViewClient::autoCorrectWord):
29824 (WebKit::WebViewClient::showSpellingUI):
29825 (WebKit::WebViewClient::isShowingSpellingUI):
29826 (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord):
29827 (WebKit::WebViewClient::runFileChooser):
29828 (WebKit::WebViewClient::runModalAlertDialog):
29829 (WebKit::WebViewClient::runModalConfirmDialog):
29830 (WebKit::WebViewClient::runModalPromptDialog):
29831 (WebKit::WebViewClient::runModalBeforeUnloadDialog):
29832 (WebKit::WebViewClient::setStatusText):
29833 (WebKit::WebViewClient::setMouseOverURL):
29834 (WebKit::WebViewClient::setKeyboardFocusURL):
29835 (WebKit::WebViewClient::setToolTipText):
29836 (WebKit::WebViewClient::showContextMenu):
29837 (WebKit::WebViewClient::startDragging):
29838 (WebKit::WebViewClient::acceptsLoadDrops):
29839 (WebKit::WebViewClient::focusNext):
29840 (WebKit::WebViewClient::focusPrevious):
29841 (WebKit::WebViewClient::navigateBackForwardSoon):
29842 (WebKit::WebViewClient::historyBackListCount):
29843 (WebKit::WebViewClient::historyForwardListCount):
29844 (WebKit::WebViewClient::didAddHistoryItem):
29845 (WebKit::WebViewClient::focusAccessibilityObject):
29846 (WebKit::WebViewClient::didUpdateInspectorSettings):
29847 (WebKit::WebViewClient::queryAutofillSuggestions):
29848 (WebKit::WebViewClient::removeAutofillSuggestions):
29849 (WebKit::WebViewClient::~WebViewClient):
29850 * public/WebWidget.h: Added.
29851 (WebKit::WebWidget::~WebWidget):
29852 * public/WebWidgetClient.h: Added.
29853 (WebKit::WebWidgetClient::didInvalidateRect):
29854 (WebKit::WebWidgetClient::didScrollRect):
29855 (WebKit::WebWidgetClient::didFocus):
29856 (WebKit::WebWidgetClient::didBlur):
29857 (WebKit::WebWidgetClient::didChangeCursor):
29858 (WebKit::WebWidgetClient::closeWidgetSoon):
29859 (WebKit::WebWidgetClient::show):
29860 (WebKit::WebWidgetClient::runModal):
29861 (WebKit::WebWidgetClient::windowRect):
29862 (WebKit::WebWidgetClient::setWindowRect):
29863 (WebKit::WebWidgetClient::windowResizerRect):
29864 (WebKit::WebWidgetClient::rootWindowRect):
29865 (WebKit::WebWidgetClient::screenInfo):
29866 (WebKit::WebWidgetClient::~WebWidgetClient):
29867 * public/WebWorker.h: Added.
29868 (WebKit::WebWorker::~WebWorker):
29869 * public/WebWorkerClient.h: Added.
29870 (WebKit::WebWorkerClient::~WebWorkerClient):
29872 2009-11-09 Nate Chapin <japhet@chromium.org>
29874 Reviewed by Dimitri Glazkov.
29876 Upstream WebData*.h Chromium API files.
29878 https://bugs.webkit.org/show_bug.cgi?id=28394
29880 * public/WebData.h: Added.
29881 (WebKit::WebData::~WebData):
29882 (WebKit::WebData::WebData):
29883 (WebKit::WebData::operator=):
29884 (WebKit::WebData::isEmpty):
29885 (WebKit::WebData::isNull):
29886 * public/WebDataSource.h: Added.
29887 (WebKit::WebDataSource::ExtraData::~ExtraData):
29888 (WebKit::WebDataSource::~WebDataSource):
29889 * public/WebDatabase.h: Added.
29890 (WebKit::WebDatabase::WebDatabase):
29891 (WebKit::WebDatabase::~WebDatabase):
29892 (WebKit::WebDatabase::operator=):
29893 (WebKit::WebDatabase::isNull):
29894 * public/WebDatabaseObserver.h: Added.
29895 (WebKit::WebDatabaseObserver::~WebDatabaseObserver):
29897 2009-11-09 Nate Chapin <japhet@chromium.org>
29899 Reviewed by Dimitri Glazkov.
29901 Upstream the last of the Chromium API WebC*.h files.
29903 https://bugs.webkit.org/show_bug.cgi?id=28394
29905 * public/WebConsoleMessage.h: Added.
29906 (WebKit::WebConsoleMessage::):
29907 (WebKit::WebConsoleMessage::WebConsoleMessage):
29908 * public/WebContextMenuData.h: Added.
29909 (WebKit::WebContextMenuData::):
29910 * public/WebCookie.h: Added.
29911 (WebKit::WebCookie::WebCookie):
29912 * public/WebCrossOriginPreflightResultCache.h: Added.
29913 * public/WebCursorInfo.h: Added.
29914 (WebKit::WebCursorInfo::):
29915 (WebKit::WebCursorInfo::WebCursorInfo):
29917 2009-11-09 Nate Chapin <japhet@chromium.org>
29919 Reviewed by Dimitri Glazkov.
29921 More WebC*.h upstreaming.
29923 https://bugs.webkit.org/show_bug.cgi?id=28394
29925 * public/WebCString.h: Added.
29926 (WebKit::WebCString::~WebCString):
29927 (WebKit::WebCString::WebCString):
29928 (WebKit::WebCString::operator=):
29929 (WebKit::WebCString::isEmpty):
29930 (WebKit::WebCString::isNull):
29931 (WebKit::WebCString::operator std::string):
29932 (WebKit::WebCString::fromUTF16):
29933 * public/WebColorName.h: Added.
29935 * public/WebCommon.h: Added.
29936 * public/WebCommonWorkerClient.h: Added.
29937 (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
29938 * public/WebCompositionCommand.h: Added.
29941 2009-11-09 Yaar Schnitman <yaar@chromium.org>
29943 Reviewed by Dimitri Glazkov.
29945 Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes
29947 https://bugs.webkit.org/show_bug.cgi?id=28394
29949 * public/WebElement.h: Added.
29950 (WebKit::WebElement::WebElement):
29951 (WebKit::WebElement::operator=):
29952 (WebKit::WebElement::assign):
29953 * public/WebFormElement.h: Added.
29954 (WebKit::WebFormElement::~WebFormElement):
29955 (WebKit::WebFormElement::WebFormElement):
29956 (WebKit::WebFormElement::operator=):
29957 (WebKit::WebFormElement::assign):
29958 * public/WebInputElement.h: Added.
29959 (WebKit::WebInputElement::WebInputElement):
29960 (WebKit::WebInputElement::operator=):
29961 (WebKit::WebInputElement::assign):
29962 * public/WebNode.h: Added.
29963 (WebKit::WebNode::~WebNode):
29964 (WebKit::WebNode::WebNode):
29965 (WebKit::WebNode::operator=):
29966 (WebKit::WebNode::isNull):
29967 (WebKit::WebNode::toElement):
29968 (WebKit::WebNode::unwrap):
29969 (WebKit::WebNode::constUnwrap):
29971 2009-11-09 Nate Chapin <japhet@chromium.org>
29973 Reviewed by Dimitri Glazkov.
29975 WebKit Chromium API upstreaming, WebBindings.h through WebColor.h.
29977 * public/WebBindings.h: Added.
29978 * public/WebCache.h: Added.
29979 * public/WebCanvas.h: Added.
29980 * public/WebClipboard.h: Added.
29981 (WebKit::WebClipboard::):
29982 (WebKit::WebClipboard::~WebClipboard):
29983 * public/WebColor.h: Added.
29985 2009-11-09 Nate Chapin <japhet@chromium.org>
29987 Reviewed by Dimitri Glazkov.
29989 Starting upstreaming the Chromium WebKit API. public/ contains header files only.
29991 https://bugs.webkit.org/show_bug.cgi?id=28394
29993 * ChangeLog: First!!
29995 * public/WebAccessibilityCache.h: Added.
29996 (WebKit::WebAccessibilityCache::WebAccessibilityCache):
29997 (WebKit::WebAccessibilityCache::~WebAccessibilityCache):
29998 * public/WebAccessibilityObject.h: Added.
29999 (WebKit::WebAccessibilityObject::~WebAccessibilityObject):
30000 (WebKit::WebAccessibilityObject::WebAccessibilityObject):
30001 (WebKit::WebAccessibilityObject::operator=):
30002 (WebKit::WebAccessibilityObject::isNull):
30003 * public/WebAccessibilityRole.h: Added.
30005 * public/WebApplicationCacheHost.h: Added.
30006 (WebKit::WebApplicationCacheHost::):
30007 (WebKit::WebApplicationCacheHost::~WebApplicationCacheHost):
30008 * public/WebApplicationCacheHostClient.h: Added.
30009 (WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient):