1 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
3 Reviewed by Darin Fisher.
5 PopupMenu refactoring in preparation to WebKit2
6 https://bugs.webkit.org/show_bug.cgi?id=42592
8 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
9 instances, concrete classes that inherit from ChromeClient needed to be changed to
10 implement the new methods.
12 * src/ChromeClientImpl.cpp:
13 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
14 (WebKit::ChromeClientImpl::createPopupMenu):
15 (WebKit::ChromeClientImpl::createSearchPopupMenu):
16 * src/ChromeClientImpl.h:
18 2010-08-02 Kent Tamura <tkent@chromium.org>
20 Reviewed by Dimitri Glazkov.
22 [DRT/Chromium] Always initialize GTK
23 https://bugs.webkit.org/show_bug.cgi?id=43327
25 * WebKit.gyp: Add GTK dependency for DRT.
27 2010-08-02 Jeremy Orlow <jorlow@chromium.org>
29 Speculative revert of 64425 due to Chromium instability
30 https://bugs.webkit.org/show_bug.cgi?id=43347
32 * src/ChromeClientImpl.cpp:
33 * src/ChromeClientImpl.h:
34 * tests/PopupMenuTest.cpp:
35 (WebKit::SelectPopupMenuTest::SetUp):
37 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
39 Reviewed by Darin Fisher.
41 PopupMenu refactoring in preparation to WebKit2
42 https://bugs.webkit.org/show_bug.cgi?id=42592
44 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
45 instances, concrete classes that inherit from ChromeClient needed to be changed to
46 implement the new methods.
48 * src/ChromeClientImpl.cpp:
49 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
50 (WebKit::ChromeClientImpl::createPopupMenu):
51 (WebKit::ChromeClientImpl::createSearchPopupMenu):
52 * src/ChromeClientImpl.h:
54 2010-07-31 Sheriff Bot <webkit.review.bot@gmail.com>
56 Unreviewed, rolling out r64422.
57 http://trac.webkit.org/changeset/64422
58 https://bugs.webkit.org/show_bug.cgi?id=43304
60 Build fixes are needed for Snow Leopard and Windows.
61 (Requested by lca on #webkit).
63 * src/ChromeClientImpl.cpp:
64 * src/ChromeClientImpl.h:
66 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
68 Reviewed by Darin Fisher.
70 PopupMenu refactoring in preparation to WebKit2
71 https://bugs.webkit.org/show_bug.cgi?id=42592
73 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
74 instances, concrete classes that inherit from ChromeClient needed to be changed to
75 implement the new methods.
77 * src/ChromeClientImpl.cpp:
78 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
79 (WebKit::ChromeClientImpl::createPopupMenu):
80 (WebKit::ChromeClientImpl::createSearchPopupMenu):
81 * src/ChromeClientImpl.h:
83 2010-07-30 Joseph Pecoraro <joepeck@webkit.org>
85 Reviewed by David Kilzer.
87 Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
88 https://bugs.webkit.org/show_bug.cgi?id=40627
90 * src/ChromeClientImpl.cpp:
91 (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
92 * src/ChromeClientImpl.h:
94 2010-07-30 James Robinson <jamesr@chromium.org>
96 Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of
97 USE(ACCELERATED_COMPOSITING) to match WebCore. Fixes the compile when
98 USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false.
100 * src/ChromeClientImpl.cpp:
101 * src/ChromeClientImpl.h:
103 2010-07-27 Darin Fisher <darin@chromium.org>
105 Reviewed by Brady Eidson.
107 History.pushState() + navigation operates on top frame when called from
109 https://bugs.webkit.org/show_bug.cgi?id=43080
111 * src/FrameLoaderClientImpl.cpp:
112 (WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource
113 can be null if the Frame has already been detached from the Page. This
114 happens if a popstate event handler removes the frame.
116 2010-07-29 Jeremy Orlow <jorlow@chromium.org>
118 Reviewed by Steve Block.
120 Rename all the IDBIndex classses to match the latest conventions
121 https://bugs.webkit.org/show_bug.cgi?id=43190
123 Fix up stuff in WebKit layer to handle the renamings in WebCore.
126 * src/IDBCallbacksProxy.cpp:
127 (WebCore::IDBCallbacksProxy::onSuccess):
128 * src/IDBCallbacksProxy.h:
129 * src/IDBIndexBackendProxy.cpp: Added.
130 (WebCore::IDBIndexBackendProxy::create):
131 (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
132 (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy):
133 (WebCore::IDBIndexBackendProxy::name):
134 (WebCore::IDBIndexBackendProxy::keyPath):
135 (WebCore::IDBIndexBackendProxy::unique):
136 * src/IDBIndexBackendProxy.h: Added.
137 * src/IDBIndexProxy.cpp: Removed.
138 * src/IDBIndexProxy.h: Removed.
139 * src/IDBObjectStoreProxy.cpp:
140 (WebCore::IDBObjectStoreProxy::index):
141 * src/IDBObjectStoreProxy.h:
142 * src/WebIDBCallbacksImpl.cpp:
143 (WebCore::WebIDBCallbacksImpl::onSuccess):
144 * src/WebIDBIndexImpl.cpp:
145 (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
146 (WebKit::WebIDBIndexImpl::name):
147 (WebKit::WebIDBIndexImpl::keyPath):
148 (WebKit::WebIDBIndexImpl::unique):
149 * src/WebIDBIndexImpl.h:
150 * src/WebIDBObjectStoreImpl.cpp:
151 (WebKit::WebIDBObjectStoreImpl::index):
153 2010-07-30 Satish Sampath <satish@chromium.org>
155 Reviewed by Jeremy Orlow.
157 Add a check for WebViewClient being null.
158 https://bugs.webkit.org/show_bug.cgi?id=43240
160 * src/SpeechInputClientImpl.cpp:
161 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
163 2010-07-30 Hans Wennborg <hans@chromium.org>
165 Reviewed by Steve Block.
167 Disable runtime switch for device orientation in chromium
168 https://bugs.webkit.org/show_bug.cgi?id=43237
170 Explicitly set the runtime switch for device orientation
171 in WebView::create until we implement the feature.
172 If the flag is accidentally on while no DeviceOrientationClient
173 is provided, the program will crash.
175 * src/WebViewImpl.cpp:
176 (WebKit::WebView::create):
178 2010-07-26 Andrei Popescu <andreip@google.com>
180 Reviewed by Jeremy Orlow.
182 [IndexedDB] IndexedDatabase should be called IDBFactory.
183 https://bugs.webkit.org/show_bug.cgi?id=42967
186 * public/WebIDBFactory.h: Added.
187 (WebKit::WebIDBFactory::~WebIDBFactory):
188 (WebKit::WebIDBFactory::databases):
189 (WebKit::WebIDBFactory::open):
190 * public/WebIndexedDatabase.h: Removed.
191 * public/WebKitClient.h:
192 (WebKit::WebKitClient::idbFactory):
193 * src/ChromiumBridge.cpp:
194 (WebCore::ChromiumBridge::idbFactory):
195 * src/IDBFactoryBackendProxy.cpp: Added.
196 (WebCore::IDBFactoryBackendProxy::create):
197 (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
198 (WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy):
199 (WebCore::IDBFactoryBackendProxy::open):
200 * src/IDBFactoryBackendProxy.h: Added.
201 * src/IndexedDatabaseProxy.cpp: Removed.
202 * src/IndexedDatabaseProxy.h: Removed.
203 * src/WebIDBFactoryImpl.cpp: Added.
204 (WebKit::WebIDBFactory::create):
205 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
206 (WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl):
207 (WebKit::WebIDBFactoryImpl::open):
208 * src/WebIDBFactoryImpl.h: Added.
209 * src/WebIndexedDatabaseImpl.cpp: Removed.
210 * src/WebIndexedDatabaseImpl.h: Removed.
212 2010-07-29 Andrei Popescu <andreip@google.com>
214 Reviewed by Jeremy Orlow.
216 [IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build
217 https://bugs.webkit.org/show_bug.cgi?id=43186
219 Add WEBKIT_API to WebDOMStringList default ctor.
221 * public/WebDOMStringList.h:
223 2010-07-29 Satish Sampath <satish@chromium.org>
225 Reviewed by Steve Block.
227 Runtime feature switch for speech input
228 https://bugs.webkit.org/show_bug.cgi?id=43146
230 Add a runtime feature switch that decides whether speech input attributes are available or not.
233 * public/WebRuntimeFeatures.h:
234 * src/SpeechInputClientImpl.cpp:
235 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
236 * src/WebRuntimeFeatures.cpp:
237 (WebKit::WebRuntimeFeatures::enableSpeechInput):
238 (WebKit::WebRuntimeFeatures::isSpeechInputEnabled):
240 2010-07-28 Kavita Kanetkar <kkanetkar@chromium.org>
242 Reviewed by Pavel Feldman.
244 Web Inspector: Enable UI for chromium's appcache inspection.
245 https://bugs.webkit.org/show_bug.cgi?id=43098
247 * src/js/DevTools.js:
248 (WebInspector.loaded):
250 2010-07-28 Dominic Mazzoni <dmazzoni@google.com>
252 Reviewed by Dimitri Glazkov.
254 Add access to the computed style display to WebAccessibilityObject.
255 https://bugs.webkit.org/show_bug.cgi?id=43044
257 * public/WebAccessibilityObject.h:
258 * src/WebAccessibilityObject.cpp:
259 (WebKit::WebAccessibilityObject::hasComputedStyle):
260 (WebKit::WebAccessibilityObject::computedStyleDisplay):
262 2010-07-28 Hans Wennborg <hans@chromium.org>
264 Reviewed by Jeremy Orlow.
266 Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium
267 https://bugs.webkit.org/show_bug.cgi?id=43122
269 Enable the compile-time switch for device orientation.
270 The switch was already enabled in features_override.gypi in the Chromium
271 repository (in revision 53317), and should be set here as well.
273 The feature is being implemented behind a run-time flag which
274 defaults to off in Chromium.
276 * features.gypi: Set ENABLE_DEVICE_ORIENTATION=1.
278 2010-07-28 Gene Gutnik <gene@google.com>
280 Reviewed by Darin Fisher.
282 Fix mouse coordinate conversion. WindowX,Y is an absolute
283 mouse coordinates within browser window, x,y - are coordinates
284 relative to the plugin.
285 https://bugs.webkit.org/show_bug.cgi?id=42987
287 * src/WebInputEventConversion.cpp:
288 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
289 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
290 * src/WebInputEventConversion.h:
291 * src/WebPluginContainerImpl.cpp:
292 (WebKit::WebPluginContainerImpl::handleMouseEvent):
293 (WebKit::WebPluginContainerImpl::handleWheelEvent):
295 2010-07-28 James Robinson <jamesr@chromium.org>
297 Reviewed by Darin Fisher.
299 [chromium] Add a bool to Settings to control accelerated 2d canvas
300 https://bugs.webkit.org/show_bug.cgi?id=43094
302 * public/WebSettings.h:
303 * src/WebSettingsImpl.cpp:
304 (WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled):
305 * src/WebSettingsImpl.h:
307 2010-07-28 Brett Wilson <brettw@chromium.org>
309 Reviewed by Darin Fisher.
311 Fix forward declares to be struct instead of class.
312 https://bugs.webkit.org/show_bug.cgi?id=43127
316 2010-07-28 Pavel Feldman <pfeldman@chromium.org>
318 Reviewed by Dimitri Glazkov.
320 Chromium DevTools: [REGRESSION] sourceURL is not respected.
322 https://bugs.webkit.org/show_bug.cgi?id=43124
324 * src/js/DebuggerScript.js:
326 2010-07-28 Andrei Popescu <andreip@google.com>
328 Reviewed by Jeremy Orlow.
330 [IndexedDB] WebDOMStringList default ctor does not initialize its m_private member
331 variable so any attempt to append strings to a WebDOMStringList instance results in a crash.
332 https://bugs.webkit.org/show_bug.cgi?id=43120
334 Makes the default WebKit::WebDOMStringList ctor actually create its wrapped
335 WebCore::DOMStringList instance.
337 * public/WebDOMStringList.h:
338 * src/WebDOMStringList.cpp:
339 (WebKit::WebDOMStringList::WebDOMStringList):
341 2010-07-26 Steve Block <steveblock@google.com>
343 Reviewed by Jeremy Orlow.
345 Page clients should be passed to Page constructor via structure of pointers
346 https://bugs.webkit.org/show_bug.cgi?id=42834
348 * src/WebViewImpl.cpp:
349 (WebKit::WebViewImpl::WebViewImpl):
351 2010-07-28 Pavel Feldman <pfeldman@chromium.org>
353 Not reviewed: chromium tests fix.
354 Chromium Dev Tools: [REGRESSION] Pause is not working.
356 https://bugs.webkit.org/show_bug.cgi?id=43118
358 * src/js/DevTools.js:
359 (InspectorBackend.pause):
361 2010-07-27 Kinuko Yasuda <kinuko@chromium.org>
363 Reviewed by Ojan Vafai.
365 Add FILE_SYSTEM build flag for FileSystem API
366 https://bugs.webkit.org/show_bug.cgi?id=42915
370 2010-07-27 James Hawkins <jhawkins@chromium.org>
372 Unreviewed Build Fix.
374 Add a missing itemIcon() method to TestPopupMenuClient.
376 * tests/PopupMenuTest.cpp:
377 (WebKit::TestPopupMenuClient::itemIcon):
379 2010-07-27 James Hawkins <jhawkins@chromium.org>
381 Reviewed by Darin Fisher.
383 [Chromium] Add the ability to show right-aligned icons in the AutoFill popup.
384 https://bugs.webkit.org/show_bug.cgi?id=43076
387 * src/AutoFillPopupMenuClient.cpp:
388 (WebKit::AutoFillPopupMenuClient::getIcon):
389 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
390 (WebKit::AutoFillPopupMenuClient::itemIcon):
391 (WebKit::AutoFillPopupMenuClient::initialize):
392 (WebKit::AutoFillPopupMenuClient::setSuggestions):
393 * src/AutoFillPopupMenuClient.h:
394 * src/WebViewImpl.cpp:
395 (WebKit::WebViewImpl::applyAutoFillSuggestions):
396 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
399 2010-07-27 Brett Wilson <brettw@chromium.org>
401 Reviewed by Darin Fisher.
403 Add the ability to select fonts and do basic text drawing to the
405 https://bugs.webkit.org/show_bug.cgi?id=42999
408 * public/WebFloatPoint.h: Added.
409 (WebKit::WebFloatPoint::WebFloatPoint):
410 (WebKit::WebFloatPoint::operator=):
411 (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
412 (WebKit::operator==):
413 (WebKit::operator!=):
414 * public/WebFloatRect.h: Added.
415 (WebKit::WebFloatRect::isEmpty):
416 (WebKit::WebFloatRect::WebFloatRect):
417 (WebKit::WebFloatRect::operator=):
418 (WebKit::WebFloatRect::operator WebCore::FloatRect):
419 (WebKit::operator==):
420 (WebKit::operator!=):
421 * public/WebFont.h: Added.
422 * public/WebFontDescription.h: Added.
423 (WebKit::WebFontDescription::):
424 (WebKit::WebFontDescription::WebFontDescription):
425 * public/WebTextRun.h: Added.
426 (WebKit::WebTextRun::WebTextRun):
427 * src/AssertMatchingEnums.cpp:
428 * src/WebFontDescription.cpp: Added.
429 (WebKit::WebFontDescription::WebFontDescription):
430 (WebKit::WebFontDescription::operator WebCore::FontDescription):
431 * src/WebFontImpl.cpp: Added.
432 (WebKit::WebFont::Create):
433 (WebKit::WebFontImpl::WebFontImpl):
434 (WebKit::WebFontImpl::fontDescription):
435 (WebKit::WebFontImpl::ascent):
436 (WebKit::WebFontImpl::descent):
437 (WebKit::WebFontImpl::height):
438 (WebKit::WebFontImpl::lineSpacing):
439 (WebKit::WebFontImpl::xHeight):
440 (WebKit::WebFontImpl::drawText):
441 (WebKit::WebFontImpl::width):
442 (WebKit::WebFontImpl::offsetForPosition):
443 (WebKit::WebFontImpl::selectionRectForText):
444 * src/WebFontImpl.h: Added.
445 * src/WebTextRun.cpp: Added.
446 (WebKit::WebTextRun::operator WebCore::TextRun):
448 2010-07-27 Dumitru Daniliuc <dumi@chromium.org>
450 Reviewed by David Levin.
452 Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE).
453 https://bugs.webkit.org/show_bug.cgi?id=43035
455 Make Chromium compile with ENABLE_DATABASE=0.
457 * src/ChromiumBridge.cpp:
458 (WebCore::ChromiumBridge::databaseGetFileSize):
459 * src/DatabaseObserver.cpp:
460 * src/WebDatabase.cpp:
461 (WebCore::AbstractDatabase::stringIdentifier):
462 (WebCore::AbstractDatabase::displayName):
463 (WebCore::AbstractDatabase::estimatedSize):
464 (WebCore::AbstractDatabase::securityOrigin):
465 (WebKit::WebDatabase::updateDatabaseSize):
466 (WebKit::WebDatabase::closeDatabaseImmediately):
468 2010-07-27 Pavel Podivilov <podivilov@chromium.org>
470 Reviewed by Pavel Feldman.
472 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
473 https://bugs.webkit.org/show_bug.cgi?id=41461
475 * src/js/DebuggerScript.js:
478 2010-07-27 Ilya Tikhonovsky <loislo@chromium.org>
480 Reviewed by Pavel Feldman.
482 WebInspector: Current implementation of message based inspector
483 transport generated by CodeGeneratorInspector should be upstreamed
484 from WebKit/chromium to WebCore.
485 https://bugs.webkit.org/show_bug.cgi?id=42983
488 * src/InspectorFrontendClientImpl.cpp:
489 (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
490 * src/InspectorFrontendClientImpl.h:
492 * src/WebDevToolsAgentImpl.cpp:
493 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
494 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
495 * src/WebDevToolsAgentImpl.h:
496 * src/js/InspectorControllerImpl.js: Removed.
498 2010-07-27 Dominic Mazzoni <dmazzoni@google.com>
500 Reviewed by Chris Fleizach.
502 Add accessors for node and document to WebAccessibilityObject,
503 needed to support some Windows screenreader functionality.
505 https://bugs.webkit.org/show_bug.cgi?id=43001
507 * public/WebAccessibilityObject.h:
508 * src/WebAccessibilityObject.cpp:
509 (WebKit::WebAccessibilityObject::node):
510 (WebKit::WebAccessibilityObject::document):
512 2010-07-27 Dominic Mazzoni <dmazzoni@google.com>
514 Reviewed by Chris Fleizach.
516 For Windows accessibility, have WebElement provide access
519 https://bugs.webkit.org/show_bug.cgi?id=43004
522 * public/WebAttribute.h: Added.
523 (WebKit::WebAttribute::~WebAttribute):
524 (WebKit::WebAttribute::WebAttribute):
525 (WebKit::WebAttribute::operator=):
526 * public/WebElement.h:
527 * public/WebNamedNodeMap.h: Added.
528 (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
529 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
530 (WebKit::WebNamedNodeMap::operator=):
531 * src/WebAttribute.cpp: Added.
532 (WebKit::WebAttribute::reset):
533 (WebKit::WebAttribute::assign):
534 (WebKit::WebAttribute::WebAttribute):
535 (WebKit::WebAttribute::localName):
536 (WebKit::WebAttribute::value):
537 * src/WebElement.cpp:
538 (WebKit::WebElement::attributes):
539 * src/WebNamedNodeMap.cpp: Added.
540 (WebKit::WebNamedNodeMap::reset):
541 (WebKit::WebNamedNodeMap::assign):
542 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
543 (WebKit::WebNamedNodeMap::length):
544 (WebKit::WebNamedNodeMap::attributeItem):
546 2010-07-27 Satish Sampath <satish@chromium.org>
548 Reviewed by Kent Tamura.
550 Simplify speech input plumbing in webcore and webkit
551 https://bugs.webkit.org/show_bug.cgi?id=43008
553 * src/SpeechInputClientImpl.cpp: Move functionality to WebCore::SpeechInput and make this a dummy proxy.
554 (WebKit::SpeechInputClientImpl::startRecognition):
555 (WebKit::SpeechInputClientImpl::cancelRecognition):
556 (WebKit::SpeechInputClientImpl::didCompleteRecording):
557 (WebKit::SpeechInputClientImpl::didCompleteRecognition):
558 (WebKit::SpeechInputClientImpl::setRecognitionResult):
559 * src/SpeechInputClientImpl.h:
561 2010-07-26 Dominic Mazzoni <dmazzoni@google.com>
563 Reviewed by Chris Fleizach.
565 Add accessor to get the doctype of a WebDocument, needed to
566 implement Windows accessibility.
568 https://bugs.webkit.org/show_bug.cgi?id=43003
571 * public/WebDocument.h:
572 * public/WebDocumentType.h: Added.
573 (WebKit::WebDocumentType::WebDocumentType):
574 (WebKit::WebDocumentType::operator=):
575 (WebKit::WebDocumentType::assign):
576 * src/WebDocument.cpp:
577 (WebKit::WebDocument::doctype):
578 * src/WebDocumentType.cpp: Added.
579 (WebKit::WebDocumentType::name):
580 (WebKit::WebDocumentType::WebDocumentType):
581 (WebKit::WebDocumentType::operator=):
582 (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
584 2010-07-26 Satish Sampath <satish@chromium.org>
586 Reviewed by Steve Block.
588 Add WebKit plumbing to connect speech requests and callbacks between WebCore and the embedder.
589 https://bugs.webkit.org/show_bug.cgi?id=42367
591 No new tests, the relevant LayoutTestController bindings and tests will be added in the next patch.
593 * public/WebSpeechInputController.h: Added new interface, implemented by embedder and called by WebKit
594 (WebKit::WebSpeechInputController::~WebSpeechInputController):
595 * public/WebSpeechInputListener.h: Added new interface, implemented by WebKit and called by embedder.
596 (WebKit::WebSpeechInputListener::~WebSpeechInputListener):
597 * public/WebViewClient.h:
598 (WebKit::WebViewClient::createSpeechInputClient): New method to get the embedder's speech input client interface.
599 * src/SpeechInputClientImpl.cpp: Added new class, implementation of a two way connector between WebCore
600 and the embedder for requests and responses.
601 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
602 (WebKit::SpeechInputClientImpl::~SpeechInputClientImpl):
603 (WebKit::SpeechInputClientImpl::startRecognition):
604 (WebKit::SpeechInputClientImpl::stopRecording):
605 (WebKit::SpeechInputClientImpl::didCompleteRecording):
606 (WebKit::SpeechInputClientImpl::setRecognitionResult):
607 (WebKit::SpeechInputClientImpl::didCompleteRecognition):
608 * src/SpeechInputClientImpl.h: Added.
609 * src/WebViewImpl.cpp:
610 (WebKit::WebViewImpl::WebViewImpl): Pass on the above mentioned speech input connector to WebCore.
613 2010-07-26 Ilya Tikhonovsky <loislo@chromium.org>
615 Reviewed by Pavel Feldman.
617 Chromium DevTools: refactor query params, add basic
618 support for WebSocket-based backend.
620 https://bugs.webkit.org/show_bug.cgi?id=42893
622 * src/js/DevTools.js:
623 (devtools.ToolsAgent.prototype.dispatchOnClient_):
624 (WebInspector.loaded):
625 (WebInspector.doLoadedDone):
626 (devtools.domContentLoaded):
627 * src/js/InspectorControllerImpl.js:
629 2010-07-24 Pavel Feldman <pfeldman@chromium.org>
631 Not reviewed: chromium build fix.
633 * src/ApplicationCacheHost.cpp:
634 (WebCore::ApplicationCacheHost::fillResourceList):
636 2010-07-23 Kavita Kanetkar <kkanetkar@chromium.org>
638 Reviewed by Joseph Pecoraro.
640 Implement remaining Inspector support for chrome's appcache
641 https://bugs.webkit.org/show_bug.cgi?id=42426
643 * src/ApplicationCacheHost.cpp: Plugging in chrome's appcache info.
644 (WebCore::ApplicationCacheHost::applicationCacheInfo):
645 (WebCore::ApplicationCacheHost::fillResourceList):
646 * src/js/InspectorControllerImpl.js:
647 (devtools.InspectorBackendImpl):
649 2010-07-23 Pavel Feldman <pfeldman@chromium.org>
651 Reviewed by Reviewed by Yury Semikhatsky.
653 Chromium DevTools: migrate from utility context-based injected
654 script dispatch to upstream schema.
656 https://bugs.webkit.org/show_bug.cgi?id=42883
659 * src/WebDevToolsAgentImpl.cpp:
660 * src/WebDevToolsAgentImpl.h:
661 * src/js/DevToolsHostStub.js:
662 * src/js/InspectorControllerImpl.js:
663 (devtools.InspectorBackendImpl):
665 2010-07-23 Pavel Feldman <pfeldman@chromium.org>
667 Not reviewed: rolling out r63963.
670 * src/WebDevToolsAgentImpl.cpp:
671 (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
672 * src/WebDevToolsAgentImpl.h:
673 * src/js/DevToolsHostStub.js:
674 (.window.dispatchOnInjectedScript):
675 * src/js/InspectorControllerImpl.js:
676 (devtools.InspectorBackendImpl):
677 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
679 2010-07-23 Pavel Feldman <pfeldman@chromium.org>
681 Reviewed by Reviewed by Yury Semikhatsky.
683 Chromium DevTools: migrate from utility context-based injected
684 script dispatch to upstream schema.
686 https://bugs.webkit.org/show_bug.cgi?id=42883
689 * src/WebDevToolsAgentImpl.cpp:
690 * src/WebDevToolsAgentImpl.h:
691 * src/js/DevToolsHostStub.js:
692 * src/js/InspectorControllerImpl.js:
693 (devtools.InspectorBackendImpl):
695 2010-07-23 Kent Tamura <tkent@chromium.org>
697 Reviewed by Shinichiro Hamaji.
699 Roll Chromium revision
700 https://bugs.webkit.org/show_bug.cgi?id=42876
702 * DEPS: Roll Chromium revision to r53434 in order to have the
703 logger initialization change (r53303)
705 2010-07-22 Ilya Tikhonovsky <loislo@chromium.org>
707 Reviewed by Yury Semikhatsky.
709 WebInspector: CodeGeneratorInspector was extended and now it can
710 generate InspectorBackedDispatcher's code. This dispatcher will
711 validate and dispatch incoming inspector commands only by native
712 code without using javaScript. That is necessary step for
713 RemoteDebugging support.
714 https://bugs.webkit.org/show_bug.cgi?id=42588
717 * src/WebDevToolsAgentImpl.cpp:
718 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
719 * src/WebDevToolsAgentImpl.h:
720 * src/js/InspectorControllerImpl.js:
721 (devtools.InspectorBackendImpl.prototype.callInspectorController_):
723 2010-07-22 Darin Fisher <darin@chromium.org>
725 Reviewed by David Levin.
727 [Chromium] Propagate return value of EventHandler::handleMouseWheelEvent
728 to caller of WebViewImpl::handleInputEvent.
730 https://bugs.webkit.org/show_bug.cgi?id=42835
732 * src/WebViewImpl.cpp:
733 (WebKit::WebViewImpl::mouseWheel):
734 (WebKit::WebViewImpl::handleInputEvent):
737 2010-07-22 Darin Fisher <darin@chromium.org>
739 Reviewed by Kent Tamura.
741 https://bugs.webkit.org/show_bug.cgi?id=42808
742 Pass context menu events through WebInputEvent to WebPlugin::handleInputEvent.
744 The DOM treats a context menu event as a type of mouse event. We therefore
745 do the same here, and reuse the WebMouseEvent subclass. This makes sense
746 since a context menu event has (x,y)-coordinates.
748 * public/WebInputEvent.h:
749 (WebKit::WebInputEvent::):
750 (WebKit::WebInputEvent::isMouseEventType):
751 * src/WebInputEventConversion.cpp:
752 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
754 2010-07-22 Andrey Kosyakov <caseq@chromium.org>
756 Reviewed by Yury Semikhatsky.
758 Web Inspector: Stop granting universal access to inspector front-end page.
759 https://bugs.webkit.org/show_bug.cgi?id=42817
761 * src/WebDevToolsFrontendImpl.cpp:
762 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
764 2010-07-22 Alexander Pavlov <apavlov@chromium.org>
766 Reviewed by Pavel Feldman.
768 Web Inspector: Rename method for CSS rule source range retrieval and fix return object format
769 https://bugs.webkit.org/show_bug.cgi?id=42379
771 * src/js/InspectorControllerImpl.js:
772 (devtools.InspectorBackendImpl):
774 2010-07-21 Pavel Feldman <pfeldman@chromium.org>
776 Reviewed by Yury Semikhatsky.
778 Chromium Dev Tools: Separators are missing in the context menu.
780 https://bugs.webkit.org/show_bug.cgi?id=42761
782 * src/ContextMenuClientImpl.cpp:
783 (WebKit::ContextMenuClientImpl::populateCustomMenuItems):
785 2010-07-21 Kent Tamura <tkent@chromium.org>
787 Reviewed by Dimitri Glazkov.
789 [DRT/Chromium] Copy the test plugin into DumpRenderTree.app/
790 https://bugs.webkit.org/show_bug.cgi?id=42733
792 This was dropped in plugin copy refactoring.
796 2010-07-21 Brady Eidson <beidson@apple.com>
798 Reviewed by Geoffrey Garen.
800 Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
801 https://bugs.webkit.org/show_bug.cgi?id=42783
803 * src/WebSecurityPolicy.cpp:
804 (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
805 (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
806 (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
808 2010-07-21 Bo Liu <boliu@chromium.org>
810 Reviewed by Darin Fisher.
812 [Chromium] Add chromium WebMediaPlayer to PlatformMedia
813 https://bugs.webkit.org/show_bug.cgi?id=41295
816 * public/WebMediaElement.h: Added.
817 * src/WebMediaElement.cpp: Added.
818 (WebKit::WebMediaElement::player):
819 (WebKit::WebMediaElement::WebMediaElement):
820 (WebKit::WebMediaElement::operator=):
821 (WebKit::WebMediaElement::operator PassRefPtr<HTMLMediaElement>):
822 * src/WebMediaPlayerClientImpl.cpp:
823 (WebKit::WebMediaPlayerClientImpl::fromMediaElement):
824 (WebKit::WebMediaPlayerClientImpl::mediaPlayer):
825 (WebKit::WebMediaPlayerClientImpl::platformLayer):
826 (WebKit::WebMediaPlayerClientImpl::platformMedia):
827 * src/WebMediaPlayerClientImpl.h:
829 2010-07-21 Finnur Thorarinsson <finnur.webkit@gmail.com>
831 Reviewed by Dimitri Glazkov.
833 Avoid crashing during find-in-page when |view| is NULL.
834 https://bugs.webkit.org/show_bug.cgi?id=42760
836 There are no layout tests because we don't have a repro case
837 to work with, so this is a speculative fix based on crash dump
838 diagnosis. See bug for details.
840 * src/WebFrameImpl.cpp:
841 (WebKit::WebFrameImpl::shouldScopeMatches):
843 2010-07-21 Hans Wennborg <hans@chromium.org>
845 Reviewed by Steve Block.
847 Runtime feature switch for device orientation
848 https://bugs.webkit.org/show_bug.cgi?id=42265
850 Add a runtime feature switch that decides whether device orientation
851 events are available or not. Defaults to true.
853 * public/WebRuntimeFeatures.h:
854 * src/WebRuntimeFeatures.cpp:
855 (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
856 (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
858 2010-07-21 Yury Semikhatsky <yurys@chromium.org>
860 Reviewed by Pavel Feldman.
862 Web Inspector: should be possible to debug inspector
863 https://bugs.webkit.org/show_bug.cgi?id=42730
865 * src/WebDevToolsFrontendImpl.cpp:
866 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
868 2010-07-16 James Hawkins <jhawkins@chromium.org>
870 Reviewed by Darin Fisher.
872 [Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to
873 verify that the user submitted the form instead of JS when saving form
875 https://bugs.webkit.org/show_bug.cgi?id=42479
877 * public/WebFormElement.h:
878 * src/WebFormElement.cpp:
879 (WebKit::WebFormElement::wasUserSubmitted):
881 2010-07-20 Daniel Erat <derat@chromium.org>
883 Reviewed by Ojan Vafai.
885 Subpixel rendering always disabled for Chromium Linux
886 https://bugs.webkit.org/show_bug.cgi?id=42220
888 Honor Fontconfig subpixel rendering setting on Chromium Linux.
890 * src/gtk/WebFontInfo.cpp:
891 (WebKit::WebFontInfo::renderStyleForStrike):
893 2010-07-20 Darin Fisher <darin@chromium.org>
895 Fix Chromium build bustage.
897 * src/ResourceHandle.cpp:
898 (WebCore::ResourceHandle::hasAuthenticationChallenge): Add
899 implementation of this method that always returns false.
901 2010-07-20 Darin Fisher <darin@chromium.org>
905 [Chromium] Add interface for downloading to a file. This can be used
906 in the future to support XMLHttpRequest.responseBlob, but it also
907 serves a use case in Chromium.
909 https://bugs.webkit.org/show_bug.cgi?id=42657
911 * public/WebURLLoaderClient.h:
912 (WebKit::WebURLLoaderClient::willSendRequest):
913 (WebKit::WebURLLoaderClient::didSendData):
914 (WebKit::WebURLLoaderClient::didReceiveResponse):
915 (WebKit::WebURLLoaderClient::didDownloadData):
916 (WebKit::WebURLLoaderClient::didReceiveData):
917 (WebKit::WebURLLoaderClient::didFinishLoading):
918 (WebKit::WebURLLoaderClient::didFail):
919 * public/WebURLRequest.h:
920 * public/WebURLResponse.h:
921 * src/WebURLRequest.cpp:
922 (WebKit::WebURLRequest::downloadToFile):
923 (WebKit::WebURLRequest::setDownloadToFile):
924 * src/WebURLRequestPrivate.h:
925 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
926 * src/WebURLResponse.cpp:
927 (WebKit::WebURLResponse::downloadFilePath):
928 (WebKit::WebURLResponse::setDownloadFilePath):
929 * src/WebURLResponsePrivate.h:
931 2010-07-20 Sheriff Bot <webkit.review.bot@gmail.com>
933 Unreviewed, rolling out r63750.
934 http://trac.webkit.org/changeset/63750
935 https://bugs.webkit.org/show_bug.cgi?id=42648
937 This revision breaks the windows builds (Requested by
938 hwennborg on #webkit).
940 * public/WebRuntimeFeatures.h:
941 * src/WebRuntimeFeatures.cpp:
943 2010-07-19 Victor Wang <victorw@chromium.org>
945 Reviewed by Darin Fisher.
947 [Chromium] Add webkit api reset to WebIDBDatabaseError and WebIDBKey
948 and refactor their destructors for chromium multi dll build.
950 https://bugs.webkit.org/show_bug.cgi?id=42574
952 * public/WebIDBDatabaseError.h:
953 (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
954 * public/WebIDBKey.h:
955 (WebKit::WebIDBKey::~WebIDBKey):
956 * src/WebIDBDatabaseError.cpp:
957 (WebKit::WebIDBDatabaseError::reset):
959 (WebKit::WebIDBKey::reset):
961 2010-07-20 Hans Wennborg <hans@chromium.org>
963 Reviewed by Steve Block.
965 Runtime feature switch for device orientation
966 https://bugs.webkit.org/show_bug.cgi?id=42265
968 Add a runtime feature switch that decides whether device orientation
969 events are available or not. Defaults to true.
971 * public/WebRuntimeFeatures.h:
972 * src/WebRuntimeFeatures.cpp:
973 (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
974 (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
976 2010-07-19 Victoria Kirst <vrk@google.com>
978 Reviewed by David Levin.
980 Updated WebMediaPlayer to support accelerated rendering and to
981 create and return a VideoChromiumLayer as its platform layer.
982 https://bugs.webkit.org/show_bug.cgi?id=42234
984 * src/WebMediaPlayerClientImpl.cpp:
985 (WebKit::WebMediaPlayerClientImpl::platformLayer):
986 (WebKit::WebMediaPlayerClientImpl::create):
987 * src/WebMediaPlayerClientImpl.h:
988 (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
990 2010-07-19 Kenneth Russell <kbr@google.com>
992 Reviewed by Nate Chapin.
994 WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
995 https://bugs.webkit.org/show_bug.cgi?id=34719
997 Fixed compiler warning introduced by original patch.
999 * src/WebGraphicsContext3DDefaultImpl.cpp:
1000 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
1002 2010-07-19 Tony Chang <tony@chromium.org>
1004 Reviewed by Kent Tamura.
1006 [chromium] refactor npapi plugin copy step
1007 https://bugs.webkit.org/show_bug.cgi?id=42493
1009 This is to avoid duplicate copy rules in the Linux make build.
1014 2010-07-19 Ilya Tikhonovsky <loislo@chromium.org>
1016 Reviewed by Pavel Feldman.
1018 Web Inspector: Live edit is not working in chromium.
1019 https://bugs.webkit.org/show_bug.cgi?id=42572
1021 * src/js/DebuggerScript.js:
1023 2010-07-16 Pavel Podivilov <podivilov@chromium.org>
1025 Reviewed by Pavel Feldman.
1027 [V8] Web Inspector: get actual breakpoint location from v8 and pass it
1028 to ScripDebugServer.
1029 https://bugs.webkit.org/show_bug.cgi?id=42452
1031 * src/js/DebuggerScript.js:
1033 2010-07-17 John Gregg <johnnyg@google.com>
1035 Reviewed by Kent Tamura.
1037 [chromium] directory upload: pass the attribute up to the chrome client
1038 https://bugs.webkit.org/show_bug.cgi?id=42475
1040 This allows chromium to display the native system directory picker when
1041 the directory attribute is present on the input element.
1043 * public/WebFileChooserParams.h:
1044 * src/ChromeClientImpl.cpp:
1045 (WebKit::ChromeClientImpl::runOpenPanel):
1047 2010-07-16 Zhe Su <suzhe@chromium.org>
1049 Reviewed by Darin Adler.
1051 REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
1052 https://bugs.webkit.org/show_bug.cgi?id=42253
1054 Implement EditorClient::willSetInputMethodState which replaces
1055 setInputMethodState method.
1057 * src/EditorClientImpl.cpp:
1058 (WebKit::EditorClientImpl::willSetInputMethodState):
1059 (WebKit::EditorClientImpl::setInputMethodState):
1060 * src/EditorClientImpl.h:
1062 2010-07-16 Kent Tamura <tkent@chromium.org>
1064 Reviewed by Darin Fisher.
1066 [Chromium] <input type=number> UI implementation for Windows
1067 https://bugs.webkit.org/show_bug.cgi?id=42259
1069 * public/WebThemeEngine.h:
1070 (WebKit::WebThemeEngine::paintSpinButton): Added.
1071 * src/ChromiumBridge.cpp:
1072 (WebCore::ChromiumBridge::paintSpinButton):
1073 Added. It calls WebThemeEngine::paintSpinButton().
1075 2010-07-16 James Robinson <jamesr@chromium.org>
1077 Reviewed by Darin Fisher.
1079 [chromium] Avoid crashing if offscreen GLES2 context creation fails
1080 https://bugs.webkit.org/show_bug.cgi?id=42469
1082 If creating or initializing an offscreen GLES2Context fails we should return null
1083 rather than crashing or returning an invalid context.
1085 * src/WebViewImpl.cpp:
1086 (WebKit::WebViewImpl::getOffscreenGLES2Context):
1088 2010-07-15 Tony Gentilcore <tonyg@chromium.org>
1090 Reviewed by Darin Fisher.
1092 Enable window.webkitPerformance (Web Timing) for chromium
1093 https://bugs.webkit.org/show_bug.cgi?id=42313
1097 2010-07-16 Sheriff Bot <webkit.review.bot@gmail.com>
1099 Unreviewed, rolling out r63551.
1100 http://trac.webkit.org/changeset/63551
1101 https://bugs.webkit.org/show_bug.cgi?id=42460
1103 "Problems with gyp" (Requested by yurys on #webkit).
1107 2010-07-16 Yury Semikhatsky <yurys@chromium.org>
1109 Unreviewed. Bump up Chromium revision.
1113 2010-07-16 Pavel Feldman <pfeldman@chromium.org>
1115 Reviewed by Yury Semikhatsky.
1117 Web Inspector: disable AppCache in chromium.
1119 https://bugs.webkit.org/show_bug.cgi?id=41858
1121 * src/js/DevTools.js:
1122 (WebInspector.loaded):
1124 2010-07-16 Alexander Pavlov <apavlov@chromium.org>
1126 Reviewed by Yury Semikhatsky.
1128 Web Inspector: [Chromium] A non-existent resource is referenced from devTools.css
1130 The erroneous rule has been removed.
1131 https://bugs.webkit.org/show_bug.cgi?id=42454
1133 * src/js/devTools.css:
1135 2010-07-16 Andrey Kosyakov <caseq@chromium.org>
1137 Reviewed by Pavel Feldman.
1139 Check that end node of a range has a valid renderer in WebViewImpl::caretOrSelectionBounds()
1140 to avoid crash in Position::getInlineBoxAndOffset() when start node has renderer but end one doesn't.
1141 https://bugs.webkit.org/show_bug.cgi?id=42449
1143 * src/WebViewImpl.cpp:
1144 (WebKit::WebViewImpl::caretOrSelectionBounds):
1146 2010-07-16 Mikhail Naganov <mnaganov@chromium.org>
1148 Reviewed by Pavel Feldman.
1150 Make JS memory stats available via 'Performance' object (Web Timing).
1151 This statistics is populated only if 'WebKitMemoryInfoEnabled'
1154 'console.memory' is kept until Web Timing object becomes visible by
1155 default (currently it is hidden under compile-time flag). These stats
1156 are guarded with the same preference.
1158 https://bugs.webkit.org/show_bug.cgi?id=41617
1160 * public/WebSettings.h:
1161 * src/WebSettingsImpl.cpp:
1162 (WebKit::WebSettingsImpl::setMemoryInfoEnabled):
1163 * src/WebSettingsImpl.h:
1165 2010-07-15 Victor Wang <victorw@chromium.org>
1167 Reviewed by David Levin.
1169 [Chromium] Chromium webkit dll updates:
1170 -. Fix WEBKIT_IMPLEMENTATION in WebCommon so
1171 dllimport works as expected.
1172 -. Update webkit.gyp so targets that depend on webkit
1173 has correct macros defined.
1175 https://bugs.webkit.org/show_bug.cgi?id=42177
1178 * public/WebCommon.h:
1180 2010-07-13 Zhenyao Mo <zmo@google.com>
1182 Reviewed by Nate Chapin.
1184 WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
1185 https://bugs.webkit.org/show_bug.cgi?id=34719
1187 * src/GraphicsContext3D.cpp:
1188 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): Implement paintRenderingResultsToCanvas().
1189 (WebCore::GraphicsContext3DInternal::beginPaint): Just use paintRenderingResultsToCanvas().
1191 2010-07-15 Victor Wang <victorw@chromium.org>
1193 Reviewed by David Levin.
1195 Roll Chromium DEPS forward to r52483.
1196 https://bugs.webkit.org/show_bug.cgi?id=42386
1200 2010-07-15 Scott Violet <sky@chromium.org>
1202 Reviewed by David Levin.
1204 [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name
1205 https://bugs.webkit.org/show_bug.cgi?id=42385
1207 * src/WebViewImpl.cpp:
1208 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name.
1210 2010-07-15 Sheriff Bot <webkit.review.bot@gmail.com>
1212 Unreviewed, rolling out r63446.
1213 http://trac.webkit.org/changeset/63446
1214 https://bugs.webkit.org/show_bug.cgi?id=42412
1216 It broke the Chromium Windows bot due to missing dependencies
1217 there. (Requested by dave_levin on #webkit).
1221 2010-07-15 Victor Wang <victorw@chromium.org>
1223 Reviewed by David Levin.
1225 Roll Chromium DEPS forward to r52483.
1226 https://bugs.webkit.org/show_bug.cgi?id=42386
1230 2010-07-15 Michael Nordman <michaeln@google.com>
1232 Reviewed by Darin Fisher.
1234 WebKitAPI additions to support inspecting application caches.
1235 https://bugs.webkit.org/show_bug.cgi?id=41993
1237 * public/WebApplicationCacheHost.h:
1238 (WebKit::WebApplicationCacheHost::CacheInfo::CacheInfo):
1239 (WebKit::WebApplicationCacheHost::ResourceInfo::ResourceInfo):
1240 (WebKit::WebApplicationCacheHost::getAssociatedCacheInfo):
1241 (WebKit::WebApplicationCacheHost::getResourceList):
1242 (WebKit::WebApplicationCacheHost::deleteAssociatedCacheGroup):
1243 * public/WebApplicationCacheHostClient.h:
1244 (WebKit::WebApplicationCacheHostClient::didChangeCacheAssociation):
1245 * src/ApplicationCacheHostInternal.h:
1246 (WebCore::ApplicationCacheHostInternal::didChangeCacheAssociation):
1248 2010-07-15 Pavel Feldman <pfeldman@chromium.org>
1250 Reviewed by Yury Semikhatsky.
1252 Web Inspector: differentiate between blocking and connecting timers.
1254 https://bugs.webkit.org/show_bug.cgi?id=42372
1256 * public/WebURLResponse.h:
1257 * src/WebURLResponse.cpp:
1258 (WebKit::WebURLResponse::connectionReused):
1259 (WebKit::WebURLResponse::setConnectionReused):
1261 2010-07-15 Pavel Podivilov <podivilov@chromium.org>
1263 Reviewed by Yury Semikhatsky.
1265 Fix mac compilation failure
1266 https://bugs.webkit.org/show_bug.cgi?id=42344
1268 * src/AutoFillPopupMenuClient.cpp:
1269 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
1270 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
1272 2010-07-14 George Yakovlev <georgey@chromium.org>
1274 Reviewed by Darin Fisher.
1276 Allow Chromium access to Select control choices
1277 https://bugs.webkit.org/show_bug.cgi?id=41384
1280 * public/WebOptionElement.h: Added.
1281 (WebKit::WebOptionElement::WebOptionElement):
1282 (WebKit::WebOptionElement::operator=):
1283 (WebKit::WebOptionElement::assign):
1284 * public/WebSelectElement.h:
1285 * src/WebOptionElement.cpp: Added.
1286 (WebKit::WebOptionElement::setValue):
1287 (WebKit::WebOptionElement::value):
1288 (WebKit::WebOptionElement::index):
1289 (WebKit::WebOptionElement::text):
1290 (WebKit::WebOptionElement::defaultSelected):
1291 (WebKit::WebOptionElement::setDefaultSelected):
1292 (WebKit::WebOptionElement::label):
1293 (WebKit::WebOptionElement::disabled):
1294 (WebKit::WebOptionElement::WebOptionElement):
1295 (WebKit::WebOptionElement::operator=):
1296 (WebKit::WebOptionElement::operator PassRefPtr<HTMLOptionElement>):
1297 * src/WebSelectElement.cpp:
1298 (WebKit::WebSelectElement::listItems):
1300 2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
1302 Unreviewed, rolling out r63389.
1303 http://trac.webkit.org/changeset/63389
1304 https://bugs.webkit.org/show_bug.cgi?id=42311
1306 It broke the Chromium Linux build. (Requested by dave_levin on
1311 * public/WebCommon.h:
1313 2010-07-14 Scott Violet <sky@chromium.org>
1315 Reviewed by David Levin.
1317 [chromium] Autofill menu shows seperator at the wrong place when an entry is deleted
1318 https://bugs.webkit.org/show_bug.cgi?id=42210
1320 * src/AutoFillPopupMenuClient.cpp:
1321 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): Updates internal data appropriately.
1322 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Now called before removal to see if can remove.
1323 * src/AutoFillPopupMenuClient.h: Fixed whitespace and added method.
1324 * src/WebViewImpl.cpp:
1325 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Added call to canRemoveSuggestionAtIndex.
1327 2010-07-14 James Robinson <jamesr@chromium.org>
1329 Unreviewed. Compile fix, initialization/declaration order mismatch.
1331 * src/GLES2ContextInternal.h:
1333 2010-07-14 Jay Civelli <jcivelli@chromium.org>
1335 Reviewed by David Levin.
1337 [chromium] don't restrict the width of the autofill popup.
1338 https://bugs.webkit.org/show_bug.cgi?id=42206
1340 * src/WebViewImpl.cpp:
1342 2010-07-14 Victor Wang <victorw@chromium.org>
1344 Reviewed by Darin Fisher.
1346 [Chromium] Chromium webkit dll updates:
1347 -. Fix WEBKIT_IMPLEMENTATION in WebCommon so
1348 dllimport works as expected.
1349 -. Update webkit.gyp so targets that depend on webkit
1350 has correct macros defined.
1351 -. Roll forward chromium deps to r52273.
1353 https://bugs.webkit.org/show_bug.cgi?id=42177
1357 * public/WebCommon.h:
1359 2010-07-14 James Hawkins <jhawkins@chromium.org>
1361 UNREVIEWED Build Fix.
1365 * src/WebViewImpl.cpp:
1366 (WebKit::WebViewImpl::applyAutoFillSuggestions):
1368 2010-07-14 James Robinson <jamesr@chromium.org>
1370 Reviewed by Darin Fisher.
1372 Breaks all dependencies on Page from platform/ and cleans up GLES2Context lifetime
1373 https://bugs.webkit.org/show_bug.cgi?id=42203
1375 Rather than constructing a GLES2Context from a Page, pass the LayerRendererChromium
1376 a GLES2Context in from the constructor. This way the platform/ directory can remain
1377 ignorant of Page and friends. Also adds functions on ChromeClientChromium to request
1378 onscreen and offscreen GLES2Contexts for callers in WebCore that need them.
1381 * src/ChromeClientImpl.cpp:
1382 (WebKit::ChromeClientImpl::getOnscreenGLES2Context):
1383 (WebKit::ChromeClientImpl::getOffscreenGLES2Context):
1384 * src/ChromeClientImpl.h:
1385 * src/GLES2Context.cpp:
1386 (WebCore::GLES2ContextInternal::create):
1387 (WebCore::GLES2Context::create):
1388 (WebCore::GLES2Context::GLES2Context):
1389 * src/GLES2ContextInternal.cpp: Added.
1390 (WebCore::GLES2ContextInternal::~GLES2ContextInternal):
1391 * src/GLES2ContextInternal.h: Added.
1392 (WebCore::GLES2ContextInternal::getWebGLES2Context):
1393 (WebCore::GLES2ContextInternal::GLES2ContextInternal):
1394 * src/WebViewImpl.cpp:
1395 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1396 (WebKit::WebViewImpl::getOnscreenGLES2Context):
1397 (WebKit::WebViewImpl::getOffscreenGLES2Context):
1398 * src/WebViewImpl.h:
1400 2010-07-14 James Hawkins <jhawkins@chromium.org>
1402 Reviewed by Darin Fisher.
1404 [Chromium] Use the unique ID instead of the profile label to identify
1405 the accepted AutoFill suggestion.
1406 https://bugs.webkit.org/show_bug.cgi?id=42301
1409 * public/WebViewClient.h:
1410 (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
1411 (WebKit::WebViewClient::didSelectAutoFillSuggestion):
1412 * src/AutoFillPopupMenuClient.cpp:
1413 (WebKit::AutoFillPopupMenuClient::valueChanged):
1414 (WebKit::AutoFillPopupMenuClient::selectionChanged):
1415 (WebKit::AutoFillPopupMenuClient::initialize):
1416 (WebKit::AutoFillPopupMenuClient::setSuggestions):
1417 (WebKit::AutoFillPopupMenuClient::textFieldStyle):
1418 * src/AutoFillPopupMenuClient.h:
1419 * src/WebViewImpl.cpp:
1420 (WebKit::WebViewImpl::applyAutoFillSuggestions):
1421 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
1422 * src/WebViewImpl.h:
1424 2010-07-14 Jay Civelli <jcivelli@chromium.org>
1426 Reviewed by David Levin.
1428 Don't notify the WebView that the popup has been closed when the
1429 selection is cleared, as the popup is not gone and would linger
1431 https://bugs.webkit.org/show_bug.cgi?id=42180
1433 * src/AutoFillPopupMenuClient.cpp:
1434 (WebKit::AutoFillPopupMenuClient::selectionCleared):
1436 2010-07-14 Sam Weinig <sam@webkit.org>
1438 Fix the chromium mac build.
1440 * src/WebPopupMenuImpl.cpp:
1441 (WebKit::WebPopupMenuImpl::setCursor):
1443 2010-07-14 Sam Weinig <sam@webkit.org>
1445 Reviewed by Darin Adler.
1447 Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
1448 Make changing Cursors work in WebKit2.
1450 * src/ChromeClientImpl.h:
1451 (WebKit::ChromeClientImpl::setCursor):
1452 Change prototype to match new one.
1454 * src/WebPopupMenuImpl.cpp:
1455 (WebKit::WebPopupMenuImpl::setCursor):
1456 * src/WebPopupMenuImpl.h:
1457 Add empty setCursor function to satisfy the HostWindow interface.
1459 2010-07-13 Alexey Proskuryakov <ap@apple.com>
1461 Reviewed by Darin Adler.
1463 https://bugs.webkit.org/show_bug.cgi?id=42201
1464 Use ResourceHandle object for synchronous loading
1466 * src/ResourceHandle.cpp:
1467 (WebCore::ResourceHandle::request):
1468 This method is no longer const in cross-platform code, and is called firstRequest.
1470 2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
1472 Unreviewed, rolling out r63305.
1473 http://trac.webkit.org/changeset/63305
1474 https://bugs.webkit.org/show_bug.cgi?id=42256
1476 "debugger-breakpoints-not-activated-on-reload.html fails on
1477 GTK" (Requested by yurys on #webkit).
1479 * src/js/DebuggerScript.js:
1482 2010-07-14 Yury Semikhatsky <yurys@chromium.org>
1484 Reviewed by Pavel Feldman.
1486 Web Inspector: remove v8 debugger code that doesn't use ScriptDebugServer
1487 https://bugs.webkit.org/show_bug.cgi?id=42164
1490 * src/DebuggerAgentManager.cpp:
1491 (WebKit::DebuggerAgentManager::debugAttach):
1492 (WebKit::DebuggerAgentManager::debugDetach):
1493 * src/InspectorFrontendClientImpl.cpp:
1494 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
1495 * src/WebDevToolsAgentImpl.cpp:
1496 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
1497 (WebKit::WebDevToolsAgentImpl::attach):
1498 (WebKit::WebDevToolsAgentImpl::didNavigate):
1499 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
1500 * src/js/DebuggerAgent.js: Removed.
1501 * src/js/DevTools.js:
1502 (devtools.ToolsAgent):
1503 (WebInspector.loaded):
1504 * src/js/DevToolsHostStub.js:
1505 * src/js/InspectorControllerImpl.js:
1506 (devtools.InspectorBackendImpl):
1508 (.TestSuite.prototype.testAutoContinueOnSyntaxError):
1509 (.TestSuite.prototype.testExpandScope.examineScopes):
1510 (.TestSuite.prototype.testExpandScope):
1511 (.TestSuite.prototype.testDebugIntrinsicProperties):
1513 2010-07-14 Ilya Tikhonovsky <loislo@chromium.org>
1515 Reviewed by Yury Semikhatsky.
1517 WebInspector: Clean-up InspectorBackend code. In the next changes
1518 InspectorBackend content will be generated by scripts. As far as
1519 generator is very simple thing all nontrivial function should be
1520 moved to InspectorController and DOMAgent.
1521 https://bugs.webkit.org/show_bug.cgi?id=42171
1523 * src/js/InspectorControllerImpl.js:
1524 (devtools.InspectorBackendImpl):
1525 (.devtools.InspectorBackendImpl.prototype.pause):
1526 (.devtools.InspectorBackendImpl.prototype.resume):
1527 (.devtools.InspectorBackendImpl.prototype.stepIntoStatement):
1528 (.devtools.InspectorBackendImpl.prototype.stepOutOfFunction):
1529 (.devtools.InspectorBackendImpl.prototype.stepOverStatement):
1530 (else.devtools.InspectorBackendImpl.prototype.pause):
1532 2010-07-14 Pavel Podivilov <podivilov@chromium.org>
1534 Reviewed by Yury Semikhatsky.
1536 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
1537 https://bugs.webkit.org/show_bug.cgi?id=41461
1539 * src/js/DebuggerScript.js:
1542 2010-07-14 Kent Tamura <tkent@chromium.org>
1544 Unreviewed, 2nd attempt to fix build on 'Webkit.org Reliability Builder'.
1548 2010-07-14 Kent Tamura <tkent@chromium.org>
1550 Unreviewed, attempt to fix build on 'Webkit.org Reliability Builder'.
1554 2010-07-14 Kent Tamura <tkent@chromium.org>
1556 Reviewed by David Levin.
1558 [Chromium] Upstreaming inspector_resources target
1559 https://bugs.webkit.org/show_bug.cgi?id=41669
1561 'inspector_resource' is currently in src/webkit/webkit.gyp of
1562 Chromium tree. We move it to WebKit tree because:
1563 - DumpRenderTree in WebKit tree needs it, and
1564 - It's hard to refer to WebKit.gypi and WebCore.gypi from
1565 webkit_support in both cases of Chromium-tree build and
1570 2010-07-13 Kent Tamura <tkent@chromium.org>
1572 Reviewed by Darin Fisher.
1574 [Chromium] Linux implementation of <input type=number> UI
1575 https://bugs.webkit.org/show_bug.cgi?id=41925
1577 * src/WebViewImpl.cpp:
1578 (WebKit::WebViewImpl::setScrollbarColors):
1579 Call PlatformThemeChromiumGtk::setScrollbarColors() instead of
1580 RenderThemeChromiumLinux::setScrollbarColors().
1582 2010-07-13 Chris Guillory <chris.guillory@google.com>
1584 Reviewed by David Levin.
1586 Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp.
1587 https://bugs.webkit.org/show_bug.cgi?id=42092
1589 * src/WebAccessibilityCacheImpl.cpp:
1590 (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
1591 (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
1593 2010-07-13 Albert J. Wong <ajwong@chromium.org>
1595 Unreviewed, build fix.
1597 [chromium] The comparision between signed/unsigned breaks the chromium
1600 * src/AutoFillPopupMenuClient.cpp:
1601 (WebKit::AutoFillPopupMenuClient::getSuggestion):
1602 (WebKit::AutoFillPopupMenuClient::getLabel):
1604 2010-07-10 Zhenyao Mo <zmo@google.com>
1606 Reviewed by Darin Fisher.
1608 Implement bufferData and bufferSubData with ArrayBuffer as input
1609 https://bugs.webkit.org/show_bug.cgi?id=41884
1611 * src/GraphicsContext3D.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input.
1612 (WebCore::GraphicsContext3DInternal::bufferData):
1613 (WebCore::GraphicsContext3DInternal::bufferSubData):
1615 2010-07-10 Zhenyao Mo <zmo@google.com>
1617 Reviewed by Darin Fisher.
1619 Need to emulate MAX_VARYING_VECTORS/MAX_FRAGMENT_UNIFORM_VECTORs/MAX_VERTEX_UNIFORM_VECTORS for glGet
1620 https://bugs.webkit.org/show_bug.cgi?id=42032
1622 * src/WebGraphicsContext3DDefaultImpl.cpp:
1623 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate the enums.
1625 2010-07-13 Andrey Kosyakov <caseq@chromium.org>
1627 Reviewed by Yury Semikhatsky.
1629 Web Inspector: catch and log JS exceptions resulting from executing a
1630 script on inspector front-end to prevent renderer from crashing.
1631 https://bugs.webkit.org/show_bug.cgi?id=42157
1633 * src/WebDevToolsFrontendImpl.cpp:
1634 (WebKit::WebDevToolsFrontendImpl::executeScript):
1636 2010-07-13 Kent Tamura <tkent@chromium.org>
1638 Unreviewed, build fix.
1640 Fix a build error by r63179 for Chromium.
1642 * tests/PopupMenuTest.cpp:
1643 (WebKit::TestPopupMenuClient::itemLabel): Added.
1645 2010-07-12 Jay Civelli <jcivelli@chromium.org>
1647 Reviewed by Kent Tamura.
1649 Making the autofill popup use labels to show the label
1650 associated with an item.
1651 https://bugs.webkit.org/show_bug.cgi?id=41964
1653 * src/AutoFillPopupMenuClient.cpp:
1654 (WebKit::AutoFillPopupMenuClient::getSuggestion):
1655 (WebKit::AutoFillPopupMenuClient::getLabel):
1656 (WebKit::AutoFillPopupMenuClient::itemLabel):
1657 (WebKit::AutoFillPopupMenuClient::setSuggestions):
1658 (WebKit::AutoFillPopupMenuClient::convertListIndexToInternalIndex):
1659 * src/AutoFillPopupMenuClient.h:
1661 2010-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
1663 Unreviewed, rolling out r63171.
1664 http://trac.webkit.org/changeset/63171
1665 https://bugs.webkit.org/show_bug.cgi?id=42144
1667 Broke Chromium canary (Requested by tkent on #webkit).
1671 2010-07-12 Kent Tamura <tkent@chromium.org>
1673 Reviewed by David Levin.
1675 [Chromium] Upstreaming inspector_resources target
1676 https://bugs.webkit.org/show_bug.cgi?id=41669
1678 'inspector_resource' is currently in src/webkit/webkit.gyp of
1679 Chromium tree. We move it to WebKit tree because:
1680 - DumpRenderTree in WebKit tree needs it, and
1681 - It's hard to refer to WebKit.gypi and WebCore.gypi from
1682 webkit_support in both cases of Chromium-tree build and
1687 2010-07-12 Viet-Trung Luu <viettrungluu@chromium.org>
1689 Reviewed by Darin Fisher.
1691 [Chromium] Pass key down events on to plugins.
1692 https://bugs.webkit.org/show_bug.cgi?id=42113
1694 * src/WebPluginContainerImpl.cpp:
1695 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1697 2010-07-12 Pavel Feldman <pfeldman@chromium.org>
1699 Reviewed by Joseph Pecoraro.
1701 Web Inspector: provide starts and ends for network phases instead of duration.
1703 https://bugs.webkit.org/show_bug.cgi?id=42091
1705 * public/WebURLLoadTiming.h:
1706 * public/WebURLResponse.h:
1707 * src/WebURLLoadTiming.cpp:
1708 (WebKit::WebURLLoadTiming::proxyStart):
1709 (WebKit::WebURLLoadTiming::setProxyStart):
1710 (WebKit::WebURLLoadTiming::proxyEnd):
1711 (WebKit::WebURLLoadTiming::setProxyEnd):
1712 (WebKit::WebURLLoadTiming::dnsStart):
1713 (WebKit::WebURLLoadTiming::setDNSStart):
1714 (WebKit::WebURLLoadTiming::dnsEnd):
1715 (WebKit::WebURLLoadTiming::setDNSEnd):
1716 (WebKit::WebURLLoadTiming::connectStart):
1717 (WebKit::WebURLLoadTiming::setConnectStart):
1718 (WebKit::WebURLLoadTiming::connectEnd):
1719 (WebKit::WebURLLoadTiming::setConnectEnd):
1720 (WebKit::WebURLLoadTiming::sendStart):
1721 (WebKit::WebURLLoadTiming::setSendStart):
1722 (WebKit::WebURLLoadTiming::sendEnd):
1723 (WebKit::WebURLLoadTiming::setSendEnd):
1724 (WebKit::WebURLLoadTiming::receiveHeadersStart):
1725 (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
1726 (WebKit::WebURLLoadTiming::receiveHeadersEnd):
1727 (WebKit::WebURLLoadTiming::setReceiveHeadersEnd):
1728 (WebKit::WebURLLoadTiming::sslStart):
1729 (WebKit::WebURLLoadTiming::setSSLStart):
1730 (WebKit::WebURLLoadTiming::sslEnd):
1731 (WebKit::WebURLLoadTiming::setSSLEnd):
1732 * src/WebURLResponse.cpp:
1733 (WebKit::WebURLResponse::wasCached):
1734 (WebKit::WebURLResponse::setWasCached):
1736 2010-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
1738 Unreviewed, rolling out r63156.
1739 http://trac.webkit.org/changeset/63156
1740 https://bugs.webkit.org/show_bug.cgi?id=42129
1742 broke chromium compile (Requested by jamesr on #webkit).
1745 * public/WebAccessibilityObject.h:
1746 * public/WebAttribute.h: Removed.
1747 * public/WebDocumentType.h: Removed.
1748 * public/WebElement.h:
1749 * public/WebNamedNodeMap.h: Removed.
1751 * public/WebRenderStyle.h: Removed.
1752 * src/WebAccessibilityObject.cpp:
1753 * src/WebAttribute.cpp: Removed.
1754 * src/WebDocumentType.cpp: Removed.
1755 * src/WebElement.cpp:
1756 * src/WebNamedNodeMap.cpp: Removed.
1758 * src/WebRenderStyle.cpp: Removed.
1760 2010-07-12 Dominic Mazzoni <dmazzoni@google.com>
1762 Reviewed by Darin Fisher.
1764 Add methods to WebAccessibilityObject to access the Node and
1765 Document, and then add methods to access some document, node,
1766 and element properties needed for Windows accessibility.
1768 https://bugs.webkit.org/show_bug.cgi?id=41569
1771 * public/WebAccessibilityObject.h:
1772 * public/WebAttribute.h: Added.
1773 (WebKit::WebAttribute::~WebAttribute):
1774 (WebKit::WebAttribute::WebAttribute):
1775 (WebKit::WebAttribute::operator=):
1776 * public/WebDocumentType.h: Added.
1777 (WebKit::WebDocumentType::WebDocumentType):
1778 (WebKit::WebDocumentType::operator=):
1779 (WebKit::WebDocumentType::assign):
1780 * public/WebElement.h:
1781 * public/WebNamedNodeMap.h: Added.
1782 (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
1783 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
1784 (WebKit::WebNamedNodeMap::operator=):
1786 * public/WebRenderStyle.h: Added.
1787 (WebKit::WebRenderStyle::~WebRenderStyle):
1788 (WebKit::WebRenderStyle::WebRenderStyle):
1789 (WebKit::WebRenderStyle::operator=):
1790 * src/WebAccessibilityObject.cpp:
1791 (WebKit::WebAccessibilityObject::node):
1792 (WebKit::WebAccessibilityObject::document):
1793 * src/WebAttribute.cpp: Added.
1794 (WebKit::WebAttribute::reset):
1795 (WebKit::WebAttribute::assign):
1796 (WebKit::WebAttribute::WebAttribute):
1797 (WebKit::WebAttribute::localName):
1798 (WebKit::WebAttribute::value):
1799 * src/WebDocumentType.cpp: Added.
1800 (WebKit::WebDocumentType::name):
1801 (WebKit::WebDocumentType::WebDocumentType):
1802 (WebKit::WebDocumentType::operator=):
1803 (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
1804 * src/WebElement.cpp:
1805 (WebKit::WebElement::attributes):
1806 * src/WebNamedNodeMap.cpp: Added.
1807 (WebKit::WebNamedNodeMap::reset):
1808 (WebKit::WebNamedNodeMap::assign):
1809 (WebKit::WebNamedNodeMap::WebNamedNodeMap):
1810 (WebKit::WebNamedNodeMap::length):
1811 (WebKit::WebNamedNodeMap::attributeItem):
1813 (WebKit::WebNode::element):
1814 (WebKit::WebNode::hasComputedStyle):
1815 (WebKit::WebNode::computedStyle):
1816 * src/WebRenderStyle.cpp: Added.
1817 (WebKit::WebRenderStyle::reset):
1818 (WebKit::WebRenderStyle::assign):
1819 (WebKit::WebRenderStyle::WebRenderStyle):
1820 (WebKit::WebRenderStyle::display):
1822 2010-07-12 Alexander Pavlov <apavlov@chromium.org>
1824 Reviewed by Yury Semikhatsky.
1826 [Chromium] Crash when stepping on a breakpoint while debugging Web Inspector
1827 https://bugs.webkit.org/show_bug.cgi?id=41958
1829 * src/WebViewImpl.cpp:
1830 (WebKit::WebView::willEnterModalLoop):
1831 (WebKit::WebView::didExitModalLoop):
1833 2010-07-12 Jeremy Orlow <jorlow@chromium.org>
1835 Speculative fix for visual studio retardedness.
1837 * public/WebCommon.h:
1839 2010-07-12 Jeremy Orlow <jorlow@chromium.org>
1841 Build fix. Add an include.
1843 * public/WebCommon.h:
1845 2010-06-27 Jeremy Orlow <jorlow@chromium.org>
1847 Reviewed by Dumitru Daniliuc.
1849 Implement IDBObjectStore.get/set/remove
1850 https://bugs.webkit.org/show_bug.cgi?id=41250
1852 Plumbing for new features, IDBKey, and added support
1853 for both invalid (i.e. not serializable) and null
1854 (i.e. the RefPtr was 0) to SerializedScriptValue.
1857 * public/WebIDBCallbacks.h:
1858 (WebKit::WebIDBCallbacks::onSuccess):
1859 * public/WebIDBKey.h: Added.
1860 (WebKit::WebIDBKey::WebIDBKey):
1861 (WebKit::WebIDBKey::operator=):
1862 (WebKit::WebIDBKey::):
1863 * public/WebIDBObjectStore.h:
1864 (WebKit::WebIDBObjectStore::get):
1865 (WebKit::WebIDBObjectStore::set):
1866 (WebKit::WebIDBObjectStore::remove):
1867 (WebKit::WebIDBObjectStore::createIndex):
1868 (WebKit::WebIDBObjectStore::index):
1869 (WebKit::WebIDBObjectStore::removeIndex):
1870 * public/WebSerializedScriptValue.h:
1871 * src/IDBCallbacksProxy.cpp:
1872 (WebCore::IDBCallbacksProxy::onSuccess):
1873 * src/IDBCallbacksProxy.h:
1874 * src/IDBObjectStoreProxy.cpp:
1875 (WebCore::IDBObjectStoreProxy::get):
1876 (WebCore::IDBObjectStoreProxy::set):
1877 (WebCore::IDBObjectStoreProxy::remove):
1878 * src/IDBObjectStoreProxy.h:
1879 * src/WebIDBCallbacksImpl.cpp:
1880 (WebCore::WebIDBCallbacksImpl::onSuccess):
1881 * src/WebIDBCallbacksImpl.h:
1882 * src/WebIDBKey.cpp: Added.
1883 (WebKit::WebIDBKey::~WebIDBKey):
1884 (WebKit::WebIDBKey::createNull):
1885 (WebKit::WebIDBKey::createInvalid):
1886 (WebKit::WebIDBKey::assign):
1887 (WebKit::WebIDBKey::assignNull):
1888 (WebKit::WebIDBKey::assignInvalid):
1889 (WebKit::WebIDBKey::type):
1890 (WebKit::WebIDBKey::string):
1891 (WebKit::WebIDBKey::number):
1892 (WebKit::WebIDBKey::WebIDBKey):
1893 (WebKit::WebIDBKey::operator=):
1894 (WebKit::WebIDBKey::operator PassRefPtr<IDBKey>):
1895 * src/WebIDBObjectStoreImpl.cpp:
1896 (WebKit::WebIDBObjectStoreImpl::get):
1897 (WebKit::WebIDBObjectStoreImpl::set):
1898 (WebKit::WebIDBObjectStoreImpl::remove):
1899 * src/WebIDBObjectStoreImpl.h:
1900 * src/WebSerializedScriptValue.cpp:
1901 (WebKit::WebSerializedScriptValue::createInvalid):
1903 2010-07-09 John Abd-El-Malek <jam@chromium.org>
1905 Reviewed by Darin Fisher.
1907 [chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind
1908 https://bugs.webkit.org/show_bug.cgi?id=42011
1910 * public/WebPlugin.h:
1911 (WebKit::WebPlugin::startFind):
1913 2010-07-09 Leon Clarke <leonclarke@google.com>
1915 Reviewed by Adam Barth.
1917 add support for link prefetching
1918 https://bugs.webkit.org/show_bug.cgi?id=3652
1920 * public/WebURLRequest.h:
1921 (WebKit::WebURLRequest::):
1923 2010-07-09 Michael Nordman <michaeln@google.com>
1925 Reviewed by Dumitru Daniliuc.
1927 Use class ProgressEvent when raising appcache related progress events and
1928 set the 'total', 'loaded', and 'lengthComputable' attributes.
1929 Also raise the final progress event with the 'total' and 'loaded' attribute
1930 values are equal to one another to keep pace with the spec for this feature.
1931 https://bugs.webkit.org/show_bug.cgi?id=37602
1933 * src/ApplicationCacheHost.cpp:
1934 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
1935 (WebCore::ApplicationCacheHost::stopDeferringEvents):
1936 (WebCore::ApplicationCacheHost::dispatchDOMEvent):
1937 * src/ApplicationCacheHostInternal.h:
1938 (WebCore::ApplicationCacheHostInternal::notifyEventListener):
1939 (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
1941 2010-07-09 David Holloway <dhollowa@chromium.org>
1943 Reviewed by Dimitri Glazkov.
1945 Roll Chromium DEPS forward to r51736.
1946 https://bugs.webkit.org/show_bug.cgi?id=41867
1950 2010-07-09 Pavel Feldman <pfeldman@chromium.org>
1952 Not reviewed: chromium build fix.
1954 * public/WebGLES2Context.h:
1956 2010-07-09 Yael Aharon <yael.aharon@nokia.com>
1958 Reviewed by Laszlo Gombos.
1960 NotificationPresenter needs a cancelRequestPermission API
1961 https://bugs.webkit.org/show_bug.cgi?id=41783
1963 Updated the NotificationPresenter API.
1965 * src/NotificationPresenterImpl.cpp:
1966 (WebKit::NotificationPresenterImpl::checkPermission):
1967 (WebKit::NotificationPresenterImpl::requestPermission):
1968 * src/NotificationPresenterImpl.h:
1969 (WebKit::NotificationPresenterImpl::cancelRequestsForPermission):
1971 2010-07-08 Pavel Feldman <pfeldman@chromium.org>
1973 Reviewed by Yury Semikhatsky.
1975 Web Inspector: Provide detailed network info in the resources panel.
1977 https://bugs.webkit.org/show_bug.cgi?id=40227
1980 * public/WebDevToolsAgent.h:
1981 * public/WebURLLoadTiming.h: Added.
1982 (WebKit::WebURLLoadTiming::~WebURLLoadTiming):
1983 (WebKit::WebURLLoadTiming::WebURLLoadTiming):
1984 (WebKit::WebURLLoadTiming::operator=):
1985 (WebKit::WebURLLoadTiming::isNull):
1986 * public/WebURLRequest.h:
1987 * public/WebURLResponse.h:
1988 * src/WebDevToolsAgentImpl.cpp:
1989 (WebKit::WebDevToolsAgentImpl::willSendRequest):
1990 * src/WebDevToolsAgentImpl.h:
1991 * src/WebURLLoadTiming.cpp: Added.
1992 (WebKit::WebURLLoadTiming::initialize):
1993 (WebKit::WebURLLoadTiming::reset):
1994 (WebKit::WebURLLoadTiming::assign):
1995 (WebKit::WebURLLoadTiming::setDomainLookupTimes):
1996 (WebKit::WebURLLoadTiming::setConnectStartTime):
1997 (WebKit::WebURLLoadTiming::setRequestTimes):
1998 (WebKit::WebURLLoadTiming::setHeadersAvailableTime):
1999 (WebKit::WebURLLoadTiming::WebURLLoadTiming):
2000 (WebKit::WebURLLoadTiming::operator=):
2001 (WebKit::WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>):
2002 * src/WebURLRequest.cpp:
2003 (WebKit::WebURLRequest::reportLoadTiming):
2004 (WebKit::WebURLRequest::setReportLoadTiming):
2005 * src/WebURLResponse.cpp:
2006 (WebKit::WebURLResponse::setConnectionID):
2007 (WebKit::WebURLResponse::setLoadTiming):
2009 2010-07-08 Jay Civelli <jcivelli@chromium.org>
2011 Reviewed by Darin Fisher.
2013 [chromium] Exposing the EditorClient text field related methods
2014 to the WebViewClient. Also adding some more accessors methods
2015 to the WebNode and WebInputElement.
2016 This is needed to move the password autocomplete out of the
2017 Chromium WebKit API to the Chromium code.
2018 https://bugs.webkit.org/show_bug.cgi?id=41286
2020 * public/WebInputElement.h:
2022 (WebKit::operator!=):
2023 (WebKit::operator<):
2024 * public/WebViewClient.h:
2025 (WebKit::WebViewClient::textFieldDidBeginEditing):
2026 (WebKit::WebViewClient::textFieldDidEndEditing):
2027 (WebKit::WebViewClient::textDidChangeInTextField):
2028 (WebKit::WebViewClient::textFieldHandlingKeyDown):
2029 (WebKit::WebViewClient::didAcceptAutocompleteSuggestion):
2030 * src/EditorClientImpl.cpp:
2031 (WebKit::EditorClientImpl::textFieldDidBeginEditing):
2032 (WebKit::EditorClientImpl::textFieldDidEndEditing):
2033 (WebKit::EditorClientImpl::textDidChangeInTextField):
2034 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
2035 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2036 * src/WebInputElement.cpp:
2037 (WebKit::WebInputElement::readOnly):
2038 (WebKit::WebInputElement::setSelectionRange):
2039 (WebKit::WebInputElement::selectionStart):
2040 (WebKit::WebInputElement::selectionEnd):
2042 (WebKit::WebNode::lessThan):
2044 2010-07-08 Aaron Boodman <aa@chromium.org>
2046 Reviewed by Timothy Hatcher.
2048 Add the ability for user scripts and user styles to affect just the top frame.
2050 https://bugs.webkit.org/show_bug.cgi?id=41529
2053 (WebKit::WebView::):
2054 (WebKit::WebView::addUserScript):
2055 (WebKit::WebView::addUserStyleSheet):
2056 * src/AssertMatchingEnums.cpp:
2057 * src/WebViewImpl.cpp:
2058 (WebKit::WebView::addUserScript):
2059 (WebKit::WebView::addUserStyleSheet):
2061 2010-07-08 James Robinson <jamesr@google.com>
2063 Reviewed by Darin Fisher.
2065 Allow resizing and getting the texture ID from an offscreen GLES2Context
2066 https://bugs.webkit.org/show_bug.cgi?id=41828
2068 When using an offscreen GLES2Context the caller needs to be able to resize the backing store
2069 managed by the embedder and get access to a texture id to pass to the compositor. WebGL
2070 does these actions in an indirect way, it will be refactored to use this path.
2072 * public/WebGLES2Context.h:
2073 * src/GLES2Context.cpp:
2074 (WebCore::GLES2Context::resizeOffscreenContent):
2075 (WebCore::GLES2Context::getOffscreenContentParentTextureId):
2077 2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
2079 Reviewed by Pavel Feldman.
2081 [chromium] Fix deletion has begun assert in TestWebPopupMenuImpl.
2082 https://bugs.webkit.org/show_bug.cgi?id=41899
2084 * tests/PopupMenuTest.cpp:
2085 (WebKit::TestWebPopupMenuImpl::create):
2086 (WebKit::TestWebViewClient::TestWebViewClient):
2087 (WebKit::TestWebViewClient::createPopupMenu):
2089 2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
2091 Reviewed by Pavel Feldman.
2093 [chromium] Fix deletion has begun assertion in TestImage destructor.
2094 https://bugs.webkit.org/show_bug.cgi?id=41883
2096 * tests/DragImageTest.cpp:
2097 (WebCore::TestImage::create):
2100 2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>
2102 Reviewed by Pavel Feldman.
2104 Fix adoptRef usage violations (mostly in chromium)
2105 https://bugs.webkit.org/show_bug.cgi?id=41863
2107 * src/IDBCallbacksProxy.cpp:
2108 (WebCore::IDBCallbacksProxy::create):
2109 * src/WebPopupMenuImpl.cpp:
2110 (WebKit::WebPopupMenu::create):
2111 * src/WebViewImpl.cpp:
2112 (WebKit::WebView::create):
2114 2010-07-07 Alexander Pavlov <apavlov@chromium.org>
2116 Reviewed by Darin Fisher.
2118 [Chromium] Crash when re-entering message loop
2120 Allow re-entrancy of the message loop by tracking all suspended pages
2121 through a PageGroupLoadDeferrer stack.
2122 https://bugs.webkit.org/show_bug.cgi?id=41697
2124 * src/WebViewImpl.cpp:
2125 (WebKit::WebView::willEnterModalLoop):
2126 (WebKit::WebView::didExitModalLoop):
2128 (.TestSuite.prototype.evaluateInConsole_):
2129 (.TestSuite.prototype.testCompletionOnPause):
2130 (.TestSuite.prototype.testMessageLoopReentrant.this):
2132 2010-07-08 David Holloway <dhollowa@chromium.org>
2134 Reviewed by Darin Fisher.
2136 [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for
2137 use by other code in WebKit/chromium/src.
2139 Specific use of these methods is made in WebFrameImpl.cpp. This is
2140 preferred to the cast operator call that was happening prior to this
2143 https://bugs.webkit.org/show_bug.cgi?id=41477
2146 * src/WebFrameImpl.cpp:
2147 (WebKit::WebFrameImpl::registerPasswordListener):
2148 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2149 (WebKit::WebFrameImpl::getPasswordListener):
2150 * src/WebFrameImpl.h:
2152 2010-07-07 Pavel Podivilov <podivilov@chromium.org>
2154 Reviewed by Yury Semikhatsky.
2156 Web Inspector: convert script offset to webkit format
2157 https://bugs.webkit.org/show_bug.cgi?id=41755
2159 * src/js/DebuggerScript.js:
2162 2010-07-07 Kent Tamura <tkent@chromium.org>
2164 Reviewed by Adam Barth.
2166 [DRT/Chromium] DumpRenderTree should depend on ImageDiff
2167 https://bugs.webkit.org/show_bug.cgi?id=41749
2169 We usually use DumpRenderTree with ImageDiff. So ImageDiff should
2170 be built with DumpRenderTree. Without this change, ImageDiff is not
2171 built in a case of Chromium tree build.
2172 test_shell in Chromium tree also depends on image_diff.
2176 2010-07-07 John Abd-El-Malek <jam@chromium.org>
2178 Reviewed by Darin Fisher.
2180 [chromium] Add a few more methods to WebPlugin so that Pepper v2 plugins can support copy/zoom/find
2181 https://bugs.webkit.org/show_bug.cgi?id=41649
2183 * public/WebPlugin.h:
2184 (WebKit::WebPlugin::hasSelection):
2185 (WebKit::WebPlugin::selectionAsText):
2186 (WebKit::WebPlugin::selectionAsMarkup):
2187 (WebKit::WebPlugin::setZoomFactor):
2188 (WebKit::WebPlugin::supportsFind):
2189 (WebKit::WebPlugin::startFind):
2190 (WebKit::WebPlugin::selectFindResult):
2191 (WebKit::WebPlugin::stopFind):
2192 * src/ContextMenuClientImpl.cpp:
2193 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2194 * src/WebFrameImpl.cpp:
2195 (WebKit::WebFrameImpl::pluginContainerFromFrame):
2196 (WebKit::ChromePluginPrintContext::end):
2197 (WebKit::ChromePluginPrintContext::computePageRects):
2198 (WebKit::ChromePluginPrintContext::spoolPage):
2199 (WebKit::WebFrameImpl::executeCommand):
2200 * src/WebFrameImpl.h:
2201 * src/WebPluginContainerImpl.cpp:
2202 (WebKit::WebPluginContainerImpl::copy):
2203 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2204 * src/WebPluginContainerImpl.h:
2205 * src/WebViewImpl.cpp:
2206 (WebKit::WebViewImpl::setZoomLevel):
2208 2010-07-07 James Hawkins <jhawkins@chromium.org>
2210 Reviewed by Dimitri Glazkov.
2212 [Chromium] Add setSuggestedValue to WebInputElement
2213 https://bugs.webkit.org/show_bug.cgi?id=41785
2215 * public/WebInputElement.h:
2216 * src/WebInputElement.cpp:
2217 (WebKit::WebInputElement::setSuggestedValue):
2218 (WebKit::WebInputElement::suggestedValue):
2220 2010-07-07 James Robinson <jamesr@chromium.org> and Vincent Scheib <schieb@chromium.org>
2222 Reviewed by Dimitri Glazkov.
2224 WebCore::GLES2Context should allow creating onscreen and offscreen contexts
2225 https://bugs.webkit.org/show_bug.cgi?id=41492
2227 You should be able to create a GLES2Context for rendering both on screen
2228 and off screen (to a texture). Currently WebGL does the latter by side
2229 stepping the WebCore::GLES2Context API completely. Longer term it should
2230 move over to using this.
2232 * src/GLES2Context.cpp:
2233 (WebCore::GLES2ContextInternal::initializeOnscreen):
2234 (WebCore::GLES2ContextInternal::initializeOffscreen):
2235 (WebCore::GLES2Context::createOnscreen):
2236 (WebCore::GLES2Context::createOffscreen):
2238 2010-07-07 Sam Weinig <sam@webkit.org>
2240 Reviewed by Anders Carlsson.
2242 Patch for https://bugs.webkit.org/show_bug.cgi?id=41772
2243 Add basic piping for BackForwardControllerClient.
2245 * src/WebViewImpl.cpp:
2246 (WebKit::WebViewImpl::WebViewImpl):
2248 2010-07-07 Sheriff Bot <webkit.review.bot@gmail.com>
2250 Unreviewed, rolling out r62645.
2251 http://trac.webkit.org/changeset/62645
2252 https://bugs.webkit.org/show_bug.cgi?id=41757
2254 "Broken inspector tests on several platforms" (Requested by
2255 eseidel on #webkit).
2257 * src/js/DebuggerScript.js:
2260 2010-07-07 Pavel Podivilov <podivilov@chromium.org>
2262 Reviewed by Yury Semikhatsky.
2264 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
2265 https://bugs.webkit.org/show_bug.cgi?id=41461
2267 * src/js/DebuggerScript.js:
2270 2010-07-06 Darin Adler <darin@apple.com>
2274 Why do the Chromium bots stop after the first error they encounter?
2276 * src/WebWorkerImpl.cpp:
2277 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): Removed
2278 unneeded release called on a PassOwnPtr to pass it as an argument of
2281 2010-07-06 Darin Adler <darin@apple.com>
2285 * src/WebWorkerBase.cpp:
2286 (WebKit::WebWorkerBase::dispatchTaskToMainThread): Use leakPtr instead
2288 * src/WebWorkerClientImpl.cpp:
2289 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): Removed
2290 unneeded release called on a PassOwnPtr to pass it as an argument of
2293 2010-07-06 Darin Adler <darin@apple.com>
2297 * src/WebSharedWorkerImpl.cpp:
2298 (WebKit::WebSharedWorkerImpl::connectTask): Removed unneeded release
2299 called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
2301 2010-07-06 Darin Adler <darin@apple.com>
2305 * src/WebDataSourceImpl.cpp:
2306 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): Call leakPtr
2307 here instead of release. Comment makes it really unclear why it's OK!
2309 2010-07-06 Darin Adler <darin@apple.com>
2313 * src/SharedWorkerRepository.cpp:
2314 (WebCore::SharedWorkerRepository::connect): Removed unneeded release
2315 called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
2317 2010-07-05 Yury Semikhatsky <yurys@chromium.org>
2319 Reviewed by Pavel Feldman.
2321 [v8] Web Inspector: remove v8-specific code dealing with getOwnPropertyNames from InjectedScript.js
2322 https://bugs.webkit.org/show_bug.cgi?id=41595
2324 * src/js/DebuggerScript.js:
2326 2010-07-03 Erik Arvidsson <arv@chromium.org>
2328 Reviewed by Ojan Vafai.
2330 Fix issue where a contextmenu event was reporting the wrong target
2331 if the context menu was shown due to pressing the context menu key
2334 https://bugs.webkit.org/show_bug.cgi?id=38129
2336 * src/WebViewImpl.cpp:
2337 (WebKit::WebViewImpl::sendContextMenuEvent):
2339 2010-07-02 Yury Semikhatsky <yurys@chromium.org>
2341 Reviewed by Pavel Feldman.
2343 [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
2344 https://bugs.webkit.org/show_bug.cgi?id=41511
2346 * src/WebBindings.cpp:
2349 2010-07-01 Sheriff Bot <webkit.review.bot@gmail.com>
2351 Unreviewed, rolling out r62349.
2352 http://trac.webkit.org/changeset/62349
2353 https://bugs.webkit.org/show_bug.cgi?id=41499
2355 It broke the chromium Linux build. (Requested by dave_levin on
2359 * src/WebFrameImpl.cpp:
2360 (WebKit::WebFrameImpl::registerPasswordListener):
2361 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2363 2010-07-01 David Holloway <dhollowa@chromium.org>
2365 Reviewed by Darin Fisher.
2367 [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for
2368 use by other code in WebKit/chromium/src.
2370 Specific use of these methods is made in WebFrameImpl.cpp. This is
2371 preferred to the cast operator call that was happening prior to this
2374 https://bugs.webkit.org/show_bug.cgi?id=41477
2377 * src/WebFrameImpl.cpp:
2378 (WebKit::WebFrameImpl::registerPasswordListener):
2379 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2381 2010-07-01 Kenneth Russell <kbr@google.com>
2383 Reviewed by Dimitri Glazkov.
2385 Stop linking against opengl32.lib in Windows Chromium port
2386 https://bugs.webkit.org/show_bug.cgi?id=41424
2389 * src/WebGraphicsContext3DDefaultImpl.cpp:
2390 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
2391 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2392 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
2393 * src/WebGraphicsContext3DDefaultImpl.h:
2395 2010-07-01 Sheriff Bot <webkit.review.bot@gmail.com>
2397 Unreviewed, rolling out r62246.
2398 http://trac.webkit.org/changeset/62246
2399 https://bugs.webkit.org/show_bug.cgi?id=41470
2401 "Worker tests are broken in Chromium" (Requested by yurys on
2404 * src/WebBindings.cpp:
2407 2010-07-01 David Holloway <dhollowa@chromium.org>
2409 Reviewed by Darin Fisher.
2411 [chromium] Consolidates AutoFill and Autocomplete popup menus into a single popup menu.
2413 This change combines SuggestionsPopupMenuClient, AutoFillPopupMenuClient, and
2414 AutocompletePopupMenuClient classes into a single consolidated AutoFillPopupMenuClient class.
2415 Prior to this change the contents of the AutoFill popup menu only included AutoFill
2416 suggestions and similarly the Autocomplete popup menu only included Autocomplete
2417 suggestions. With this consolidation, both AutoFill and Autocomplete suggestions can
2418 now be displayed in a single menu.
2420 https://bugs.webkit.org/show_bug.cgi?id=41236
2423 * public/WebFrame.h:
2425 * src/AutoFillPopupMenuClient.cpp:
2426 (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
2427 (WebKit::AutoFillPopupMenuClient::~AutoFillPopupMenuClient):
2428 (WebKit::AutoFillPopupMenuClient::valueChanged):
2429 (WebKit::AutoFillPopupMenuClient::selectionCleared):
2430 (WebKit::AutoFillPopupMenuClient::itemText):
2431 (WebKit::AutoFillPopupMenuClient::itemStyle):
2432 (WebKit::AutoFillPopupMenuClient::menuStyle):
2433 (WebKit::AutoFillPopupMenuClient::clientPaddingLeft):
2434 (WebKit::AutoFillPopupMenuClient::clientPaddingRight):
2435 (WebKit::AutoFillPopupMenuClient::popupDidHide):
2436 (WebKit::AutoFillPopupMenuClient::setTextFromItem):
2437 (WebKit::AutoFillPopupMenuClient::fontSelector):
2438 (WebKit::AutoFillPopupMenuClient::hostWindow):
2439 (WebKit::AutoFillPopupMenuClient::createScrollbar):
2440 (WebKit::AutoFillPopupMenuClient::initialize):
2441 (WebKit::AutoFillPopupMenuClient::getWebView):
2442 (WebKit::AutoFillPopupMenuClient::textFieldStyle):
2443 * src/AutoFillPopupMenuClient.h:
2444 (WebKit::AutoFillPopupMenuClient::itemToolTip):
2445 (WebKit::AutoFillPopupMenuClient::itemAccessibilityText):
2446 (WebKit::AutoFillPopupMenuClient::itemIsEnabled):
2447 (WebKit::AutoFillPopupMenuClient::clientInsetLeft):
2448 (WebKit::AutoFillPopupMenuClient::clientInsetRight):
2449 (WebKit::AutoFillPopupMenuClient::listSize):
2450 (WebKit::AutoFillPopupMenuClient::selectedIndex):
2451 (WebKit::AutoFillPopupMenuClient::itemIsLabel):
2452 (WebKit::AutoFillPopupMenuClient::itemIsSelected):
2453 (WebKit::AutoFillPopupMenuClient::shouldPopOver):
2454 (WebKit::AutoFillPopupMenuClient::valueShouldChangeOnHotTrack):
2455 (WebKit::AutoFillPopupMenuClient::setAutocompleteMode):
2456 (WebKit::AutoFillPopupMenuClient::getTextField):
2457 (WebKit::AutoFillPopupMenuClient::getSelectedIndex):
2458 (WebKit::AutoFillPopupMenuClient::setSelectedIndex):
2459 * src/AutocompletePopupMenuClient.cpp: Removed.
2460 * src/AutocompletePopupMenuClient.h: Removed.
2461 * src/EditorClientImpl.cpp:
2462 (WebKit::EditorClientImpl::textFieldDidEndEditing):
2463 (WebKit::EditorClientImpl::doAutofill):
2464 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
2465 * src/SuggestionsPopupMenuClient.cpp: Removed.
2466 * src/SuggestionsPopupMenuClient.h: Removed.
2467 * src/WebFrameImpl.cpp:
2468 (WebKit::WebFrameImpl::currentHistoryItem):
2469 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2470 * src/WebFrameImpl.h:
2471 * src/WebViewImpl.cpp:
2473 (WebKit::WebViewImpl::WebViewImpl):
2474 (WebKit::WebViewImpl::mouseDown):
2475 (WebKit::WebViewImpl::mouseUp):
2476 (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
2477 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
2478 (WebKit::WebViewImpl::hideAutoFillPopup):
2479 (WebKit::WebViewImpl::setFocus):
2480 (WebKit::WebViewImpl::applyAutoFillSuggestions):
2481 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
2482 (WebKit::WebViewImpl::hidePopups):
2483 (WebKit::WebViewImpl::refreshAutoFillPopup):
2484 * src/WebViewImpl.h:
2485 (WebKit::WebViewImpl::autoFillPopupDidHide):
2487 2010-07-01 Yury Semikhatsky <yurys@chromium.org>
2489 Reviewed by Adam Barth.
2491 [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
2492 https://bugs.webkit.org/show_bug.cgi?id=41350
2494 * src/WebBindings.cpp:
2497 2010-07-01 Aaron Boodman <aa@chromium.org>
2499 Reviewed by Darin Fisher.
2501 Make the user script API static. This makes it more convenient to use
2502 if you don't have a WebView instance yet.
2504 Added static versions of the three methods and re-route current ones
2505 temporarily through the static versions. Will remove the non-static
2506 versions once Chromium has been updated.
2508 Also, expose the URLPattern configuration for user stylesheets, since
2509 they were not before.
2511 https://bugs.webkit.org/show_bug.cgi?id=41385
2514 (WebKit::WebView::addUserScript):
2515 (WebKit::WebView::addUserStyleSheet):
2516 * src/WebViewImpl.cpp:
2517 (WebKit::WebView::addUserScript):
2518 (WebKit::WebView::addUserStyleSheet):
2519 (WebKit::WebView::removeAllUserContent):
2521 2010-06-30 Kenneth Russell <kbr@google.com>
2523 Reviewed by Dimitri Glazkov.
2525 Roll forward Chromium DEPS to r51287
2526 https://bugs.webkit.org/show_bug.cgi?id=41430
2530 2010-06-25 Pavel Feldman <pfeldman@chromium.org>
2532 Reviewed by Yury Semikhatsky.
2534 Chrome DevTools: Finalize migration to new WebView constructor
2535 (devtools agent is now created within WebViewImpl only).
2537 https://bugs.webkit.org/show_bug.cgi?id=41212
2539 * public/WebDevToolsAgent.h:
2541 * src/WebDevToolsAgentImpl.cpp:
2542 * src/WebViewImpl.cpp:
2543 (WebKit::WebViewImpl::WebViewImpl):
2544 * src/WebViewImpl.h:
2545 * src/WebWorkerBase.cpp:
2546 (WebKit::WebWorkerBase::initializeLoader):
2547 * tests/PopupMenuTest.cpp:
2548 (WebKit::SelectPopupMenuTest::SetUp):
2550 2010-06-29 Zhenyao Mo <zmo@google.com>
2552 Reviewed by Dimitri Glazkov.
2554 Implement getAttachedShaders
2555 https://bugs.webkit.org/show_bug.cgi?id=31172
2557 * public/WebGraphicsContext3D.h: Declaration of getAttachedShaders().
2558 * src/GraphicsContext3D.cpp: Implementation of getAttachedShaders().
2559 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
2560 * src/WebGraphicsContext3DDefaultImpl.h: Declaration of getAttachedShaders().
2562 2010-06-29 Dumitru Daniliuc <dumi@chromium.org>
2564 Reviewed by Darin Fisher.
2566 Simplify the WebDatabase interface.
2567 https://bugs.webkit.org/show_bug.cgi?id=40607
2569 Do not ref()/deref() the private AbstractDatabase member. This
2570 allows us to use WebDatabase in the destructors of the DB
2573 * public/WebDatabase.h:
2574 (WebKit::WebDatabase::WebDatabase):
2575 * src/WebDatabase.cpp:
2576 (WebKit::WebDatabase::name):
2577 (WebKit::WebDatabase::displayName):
2578 (WebKit::WebDatabase::estimatedSize):
2579 (WebKit::WebDatabase::securityOrigin):
2580 (WebKit::WebDatabase::WebDatabase):
2582 2010-06-29 Zhe Su <suzhe@chromium.org>
2584 Reviewed by Darin Fisher.
2586 A crash caused by the patch of bug 40608.
2587 https://bugs.webkit.org/show_bug.cgi?id=41334
2589 * src/WebViewImpl.cpp:
2590 (WebKit::WebViewImpl::caretOrSelectionBounds):
2592 2010-06-29 Victor Wang <victorw@chromium.org>
2594 Reviewed by Darin Fisher.
2596 [chromium]: Update webkit for chromium multi dll build.
2598 1. Export more webkit APIs for chromium multi dll build.
2599 2. Update DumpRenderTree sources so it can build with webkit.dll
2600 3. Temp disable webkit unit tests for chromium multi dll build.
2602 https://bugs.webkit.org/show_bug.cgi?id=41231
2605 * public/WebAccessibilityCache.h:
2606 * public/WebAccessibilityObject.h:
2607 * public/WebEventListener.h:
2608 * public/WebGeolocationServiceMock.h:
2609 * public/WebGraphicsContext3D.h:
2610 * public/WebIDBDatabaseError.h:
2611 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
2612 (WebKit::WebIDBDatabaseError::operator=):
2613 * public/WebNotification.h:
2614 * public/WebPasswordFormData.h:
2615 * public/WebSearchableFormData.h:
2616 * public/WebStorageEventDispatcher.h:
2617 * public/WebString.h:
2618 (WebKit::WebString::WebString):
2619 (WebKit::WebString::operator=):
2621 2010-06-29 Vangelis Kokkevis <vangelis@chromium.org>
2623 Reviewed by Darin Fisher.
2625 [Chromium] Hooking up GraphicsContext3D to the gpu compositor.
2626 GraphicsContext3DInternal is now initialized with a pointer to the HostWindow
2627 that corresponds to the WebView containing the context. The initializer
2628 forces a WebGLES2Context to be created for the WebView (if one doesn't already
2629 exist) and uses the view's GL context as a parent to the GL context created
2630 for WebGL. This allows the compositor to read the texture associated with
2631 WebGL's frame buffer. We also plumb though GraphicsContext3D's prepareTexture
2632 and platformLayer methods which are required by the compositor code.
2633 https://bugs.webkit.org/show_bug.cgi?id=41243
2635 * public/WebGraphicsContext3D.h:
2637 Made gles2Context() a virtual method on WebView instead of WebViewImpl
2638 to allow access to it from GraphicsContext3DInternal::initialize().
2639 * src/GraphicsContext3D.cpp:
2640 (WebCore::GraphicsContext3DInternal::initialize):
2641 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
2642 (WebCore::GraphicsContext3DInternal::platformTexture):
2643 (WebCore::GraphicsContext3DInternal::prepareTexture):
2644 (WebCore::GraphicsContext3DInternal::platformLayer):
2645 (WebCore::GraphicsContext3D::create):
2646 (WebCore::GraphicsContext3D::prepareTexture):
2647 (WebCore::GraphicsContext3D::platformLayer):
2648 * src/WebGraphicsContext3DDefaultImpl.cpp:
2649 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2650 (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId):
2651 (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
2652 * src/WebGraphicsContext3DDefaultImpl.h:
2653 * src/WebViewImpl.h:
2655 2010-06-29 Pavel Podivilov <podivilov@chromium.org>
2657 Reviewed by Yury Semikhatsky.
2659 Web Inspector: return line number where breakpoint was actually set by v8 from setBreakpoint function.
2660 https://bugs.webkit.org/show_bug.cgi?id=40781
2662 * src/js/DebuggerScript.js:
2665 2010-06-23 John Gregg <johnnyg@google.com>
2667 Reviewed by Kent Tamura.
2669 add ENABLE_DIRECTORY_UPLOAD build support
2670 https://bugs.webkit.org/show_bug.cgi?id=41100
2674 2010-06-28 Zhe Su <suzhe@chromium.org>
2676 Reviewed by Jian Li.
2678 [chromium]Remove deprecated code related to input method.
2679 https://bugs.webkit.org/show_bug.cgi?id=41244
2681 Also update TestWebWidget in tests/PopupMenuTest.cpp to add missing implementations.
2684 * public/WebCompositionCommand.h: Removed.
2685 * public/WebViewClient.h:
2686 * public/WebWidget.h:
2687 * src/EditorClientImpl.cpp:
2688 (WebKit::EditorClientImpl::setInputMethodState):
2689 * src/WebPopupMenuImpl.cpp:
2690 * src/WebPopupMenuImpl.h:
2691 * src/WebViewImpl.cpp:
2692 * src/WebViewImpl.h:
2693 * tests/PopupMenuTest.cpp:
2694 (WebKit::TestWebWidget::setComposition):
2695 (WebKit::TestWebWidget::confirmComposition):
2696 (WebKit::TestWebWidget::textInputType):
2697 (WebKit::TestWebWidget::caretOrSelectionBounds):
2699 2010-06-27 John Abd-El-Malek <jam@chromium.org>
2701 Reviewed by Darin Fisher.
2703 [chromium] Get the selected text from plugins for right click menu
2704 https://bugs.webkit.org/show_bug.cgi?id=41242
2706 * public/WebContextMenuData.h:
2707 (WebKit::WebContextMenuData::):
2708 * public/WebPlugin.h:
2709 (WebKit::WebPlugin::selectedText):
2710 * src/ContextMenuClientImpl.cpp:
2711 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2712 * src/WebPluginContainerImpl.cpp:
2713 (WebKit::WebPluginContainerImpl::selectedText):
2714 * src/WebPluginContainerImpl.h:
2716 2010-06-28 Yury Semikhatsky <yurys@chromium.org>
2718 Unreviewed. Fix Chromium debugger tests.
2721 (.TestSuite.prototype.testDebugIntrinsicProperties):
2723 2010-06-25 Yuzo Fujishima <yuzo@google.com>
2725 Reviewed by Shinichiro Hamaji.
2727 Improve default value handling for page format properties.
2728 https://bugs.webkit.org/show_bug.cgi?id=41150
2730 * public/WebFrame.h:
2731 * src/WebFrameImpl.cpp:
2732 (WebKit::WebFrameImpl::pageSizeAndMarginsInPixels):
2733 * src/WebFrameImpl.h:
2735 2010-06-26 Sheriff Bot <webkit.review.bot@gmail.com>
2737 Unreviewed, rolling out r61943.
2738 http://trac.webkit.org/changeset/61943
2739 https://bugs.webkit.org/show_bug.cgi?id=41251
2741 Totally breaks webkit_unit_tests on Chromium linux and mac
2742 (Requested by mnaganov on #webkit).
2745 * src/WebFrameImpl.cpp:
2746 (WebKit::frameContentAsPlainText):
2747 * tests/RunAllTests.cpp:
2749 * tests/WebFrameTest.cpp: Removed.
2750 * tests/data/iframes_test.html: Removed.
2751 * tests/data/invisible_iframe.html: Removed.
2752 * tests/data/visible_iframe.html: Removed.
2753 * tests/data/zero_sized_iframe.html: Removed.
2755 2010-06-26 Tony Gentilcore <tonyg@chromium.org>
2757 Reviewed by Dimitri Glazkov.
2759 Disable Web Timing support by default for chromium port.
2760 https://bugs.webkit.org/show_bug.cgi?id=38924
2764 2010-06-25 Jay Civelli <jcivelli@chromium.org>
2766 Reviewed by Darin Fisher.
2768 [chromium] Made WebFrame not report the text from hidden frames.
2769 (some pages contain hidden frames with garbage text that
2770 should not be indexed or used to detect the page's language).
2771 https://bugs.webkit.org/show_bug.cgi?id=39456
2775 * src/WebFrameImpl.cpp:
2776 (WebKit::frameContentAsPlainText):
2777 * tests/RunAllTests.cpp:
2779 * tests/WebFrameTest.cpp: Added.
2780 * tests/data: Added.
2781 * tests/data/iframes_test.html: Added.
2782 * tests/data/invisible_iframe.html: Added.
2783 * tests/data/visible_iframe.html: Added.
2784 * tests/data/zero_sized_iframe.html: Added.
2786 2010-06-25 Bernhard Bauer <bauerb@chromium.org>
2788 Reviewed by Darin Fisher.
2790 Add plugin accessors to WebPluginContainer.
2791 https://bugs.webkit.org/show_bug.cgi?id=41145
2793 * public/WebPluginContainer.h:
2794 * src/WebPluginContainerImpl.h:
2795 (WebKit::WebPluginContainerImpl::setPlugin):
2797 2010-06-25 Sterling Swigart <sswigart@google.com>
2799 Reviewed by David Levin.
2801 Resetting ENABLE_IMAGE_RESIZER to 0. Image.webkitGetImage needs to be developed under
2802 a 0 value, at least until both the JSC and V8 bindings are in place.
2803 https://bugs.webkit.org/show_bug.cgi?id=41116
2805 * features.gypi: ENABLE_IMAGE_RESIZER=0
2807 2010-06-25 Victor Wang <victorw@chromium.org>
2809 Reviewed by Darin Fisher.
2811 [Chromium] Update chromium webkit gyp so it has
2812 option to be built as DLL.
2814 Chromium webkit is built as webkit.dll on windows
2815 if it is inside chromium build and variable component
2816 is set to shared_library.
2818 https://bugs.webkit.org/show_bug.cgi?id=41161
2822 2010-06-25 John Abd-El-Malek <jam@chromium.org>
2824 Reviewed by David Levin.
2826 [chromium] Send unhandled events to Node's default handler
2827 https://bugs.webkit.org/show_bug.cgi?id=41223
2829 * src/WebPluginContainerImpl.cpp:
2830 (WebKit::WebPluginContainerImpl::handleEvent):
2832 2010-06-25 Daniel Cheng <dcheng@chromium.org>
2834 Reviewed by Darin Fisher.
2836 [chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data.
2838 This change adds new stubs for querying for data in a clipboard or drag operation. This is
2839 so adding support for more data types in clipboard/drag operations doesn't become
2840 increasingly expensive, since we currently copy all the drag data we need every time a new
2841 web drop target is entered. It also adds a new mechanism to write back to the system
2842 clipboard that isn't tied to one data type.
2844 https://bugs.webkit.org/show_bug.cgi?id=40540
2846 * public/WebClipboard.h:
2847 (WebKit::WebClipboard::):
2848 (WebKit::WebClipboard::isFormatAvailable):
2849 (WebKit::WebClipboard::readPlainText):
2850 (WebKit::WebClipboard::readHTML):
2851 (WebKit::WebClipboard::writePlainText):
2852 (WebKit::WebClipboard::writeHTML):
2853 (WebKit::WebClipboard::writeURL):
2854 (WebKit::WebClipboard::writeImage):
2855 (WebKit::WebClipboard::writeData):
2856 (WebKit::WebClipboard::readAvailableTypes):
2857 (WebKit::WebClipboard::readData):
2858 (WebKit::WebClipboard::readFilenames):
2859 * public/WebKitClient.h:
2860 * src/AssertMatchingEnums.cpp:
2861 * src/ChromiumBridge.cpp:
2862 (WebCore::ChromiumBridge::clipboardWriteData):
2863 (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
2864 (WebCore::ChromiumBridge::clipboardReadData):
2865 (WebCore::ChromiumBridge::clipboardReadFilenames):
2867 2010-06-25 Lei Zheng <lzheng@chromium.org>
2869 Reviewed by Dimitri Glazkov.
2871 [Chromium] Add a flag to the ResourceResponse for tracking if a request was fetched
2872 when Alternate-Protocol is available.
2874 https://bugs.webkit.org/show_bug.cgi?id=41001
2876 * public/WebURLResponse.h:
2877 * src/WebURLResponse.cpp:
2878 (WebKit::WebURLResponse::wasAlternateProtocolAvailable):
2879 (WebKit::WebURLResponse::setWasAlternateProtocolAvailable):
2881 2010-06-25 Michael Nordman <michaeln@google.com>
2883 Reviewed by Dumitru Daniliuc.
2885 Additional API to pass additional info needed for AppCache progress events.
2886 https://bugs.webkit.org/show_bug.cgi?id=37602
2888 Also, delete an obsolete method from the worker API.
2890 * public/WebApplicationCacheHostClient.h: define a new method
2891 * public/WebSharedWorker.h: remove an obsolte method
2892 * src/ApplicationCacheHostInternal.h: implement the new method
2893 (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
2895 2010-06-25 John Gregg <johnnyg@google.com>
2897 Reviewed by Darin Fisher.
2899 Notification should expose ltr/rtl as TextDirection, not String
2900 https://bugs.webkit.org/show_bug.cgi?id=40871
2902 * public/WebNotification.h:
2903 * src/WebNotification.cpp:
2904 (WebKit::WebNotification::direction):
2906 2010-06-24 Eric Seidel <eric@webkit.org>
2908 Reviewed by Adam Barth.
2910 Clean up and document DocumentWriter::replaceDocument code path
2911 https://bugs.webkit.org/show_bug.cgi?id=41182
2913 * src/WebFrameImpl.cpp:
2914 (WebKit::WebFrameImpl::loadJavaScriptURL):
2915 - Make Chromium use DocumentWriter like it should.
2917 2010-06-24 Vangelis Kokkevis <vangelis@chromium.org>
2919 Reviewed by Darin Fisher.
2921 [Chromium] A WebView can now own a GLES2Context which gets created on
2922 demand. This context will typically be created for the gpu compositor
2923 and used as a parent context for any elements on the page that use the
2924 gpu for rendering (e.g. WebGL) and need to pass their backbuffer directly
2926 https://bugs.webkit.org/show_bug.cgi?id=41010
2928 * public/WebGLES2Context.h:
2929 * src/GLES2Context.cpp:
2930 (WebCore::GLES2ContextInternal::getWebGLES2Context):
2931 (WebCore::GLES2ContextInternal::initialize):
2932 * src/WebViewImpl.cpp:
2933 (WebKit::WebViewImpl::WebViewImpl):
2934 (WebKit::WebViewImpl::gles2Context):
2935 * src/WebViewImpl.h:
2937 2010-06-24 Pavel Feldman <pfeldman@chromium.org>
2939 Reviewed by Yury Semikhatsky.
2941 Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
2943 https://bugs.webkit.org/show_bug.cgi?id=41094
2945 - Merged InspectorClient implementation into WebDevToolsAgent
2946 - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
2947 - Removed a lot of legacy code from WebDevToolsAgentImpl
2948 - Removed a lot of overrides from DevTools.js
2949 - Simplified devtools stubs
2950 - Got rid of all logic from within InjectDispatch.js
2953 * src/FrameLoaderClientImpl.cpp:
2954 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
2955 * src/InspectorClientImpl.cpp:
2956 (WebKit::InspectorClientImpl::inspectorDestroyed):
2957 (WebKit::InspectorClientImpl::openInspectorFrontend):
2958 (WebKit::InspectorClientImpl::highlight):
2959 (WebKit::InspectorClientImpl::hideHighlight):
2960 (WebKit::InspectorClientImpl::populateSetting):
2961 (WebKit::InspectorClientImpl::storeSetting):
2962 (WebKit::InspectorClientImpl::sendMessageToFrontend):
2963 (WebKit::InspectorClientImpl::resourceTrackingWasEnabled):
2964 (WebKit::InspectorClientImpl::resourceTrackingWasDisabled):
2965 (WebKit::InspectorClientImpl::timelineProfilerWasStarted):
2966 (WebKit::InspectorClientImpl::timelineProfilerWasStopped):
2967 (WebKit::InspectorClientImpl::devToolsAgent):
2968 * src/InspectorClientImpl.h:
2969 * src/InspectorFrontendClientImpl.cpp:
2970 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
2972 * src/WebDevToolsAgentImpl.cpp:
2974 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
2975 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
2976 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
2977 (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
2978 (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
2979 (WebKit::WebDevToolsAgentImpl::highlight):
2980 (WebKit::WebDevToolsAgentImpl::hideHighlight):
2981 (WebKit::WebDevToolsAgentImpl::populateSetting):
2982 (WebKit::WebDevToolsAgentImpl::storeSetting):
2983 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
2984 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
2985 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
2986 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
2987 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
2988 * src/WebDevToolsAgentImpl.h:
2989 * src/WebDevToolsAgentPrivate.h:
2990 * src/WebViewImpl.cpp:
2991 (WebKit::WebView::create):
2992 (WebKit::WebViewImpl::WebViewImpl):
2993 * src/WebViewImpl.h:
2994 * src/js/DevTools.js:
2995 (devtools.ToolsAgent):
2998 * src/js/DevToolsHostStub.js:
2999 (.window.setDebuggerScriptSource):
3000 (.window.dispatchOnInjectedScript):
3001 * src/js/InjectDispatch.js:
3003 * src/js/InspectorControllerImpl.js:
3005 2010-06-24 Pavel Feldman <pfeldman@chromium.org>
3007 Not reviewed: revert 61766.
3011 * src/FrameLoaderClientImpl.cpp:
3012 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
3013 * src/InspectorClientImpl.cpp: Added.
3014 (WebKit::InspectorClientImpl::InspectorClientImpl):
3015 (WebKit::InspectorClientImpl::~InspectorClientImpl):
3016 (WebKit::InspectorClientImpl::inspectorDestroyed):
3017 (WebKit::InspectorClientImpl::openInspectorFrontend):
3018 (WebKit::invalidateNodeBoundingRect):
3019 (WebKit::InspectorClientImpl::highlight):
3020 (WebKit::InspectorClientImpl::hideHighlight):
3021 (WebKit::InspectorClientImpl::populateSetting):
3022 (WebKit::InspectorClientImpl::storeSetting):
3023 (WebKit::InspectorClientImpl::sendMessageToFrontend):
3024 * src/InspectorClientImpl.h: Added.
3025 * src/InspectorFrontendClientImpl.cpp:
3026 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
3028 * src/WebDevToolsAgentImpl.cpp:
3030 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
3031 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
3032 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
3033 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
3034 (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
3035 (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
3036 (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
3037 * src/WebDevToolsAgentImpl.h:
3038 * src/WebDevToolsAgentPrivate.h:
3039 * src/WebViewImpl.cpp:
3040 (WebKit::WebView::create):
3041 (WebKit::WebViewImpl::WebViewImpl):
3042 (WebKit::WebViewImpl::setDevToolsAgent):
3043 * src/WebViewImpl.h:
3044 * src/WebWorkerBase.cpp:
3045 (WebKit::WebWorkerBase::initializeLoader):
3046 * src/js/DevTools.js:
3047 (devtools.ToolsAgent):
3048 (devtools.ToolsAgent.prototype.frameNavigate_):
3050 * src/js/DevToolsHostStub.js:
3051 (.RemoteDebuggerAgentStub):
3052 (.RemoteDebuggerAgentStub.prototype.getContextId):
3053 (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
3054 (.RemoteProfilerAgentStub):
3055 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
3056 (.RemoteProfilerAgentStub.prototype.getLogLines):
3057 (.RemoteToolsAgentStub):
3058 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
3059 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
3060 (.ProfilerStubHelper):
3061 (.ProfilerStubHelper.GetInstance):
3062 (.ProfilerStubHelper.prototype.StopProfiling):
3063 (.ProfilerStubHelper.prototype.StartProfiling):
3064 (.ProfilerStubHelper.prototype.getActiveProfilerModules):
3065 (.ProfilerStubHelper.prototype.getLogLines):
3066 (.RemoteDebuggerCommandExecutorStub):
3067 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
3068 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
3069 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
3070 (.DevToolsHostStub):
3071 (.DevToolsHostStub.prototype.reset):
3072 (.DevToolsHostStub.prototype.setting):
3073 (.DevToolsHostStub.prototype.setSetting):
3074 * src/js/InjectDispatch.js:
3075 (ApuAgentDispatcher.dispatchToApu):
3077 * src/js/InspectorControllerImpl.js:
3078 (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
3079 (devtools.InspectorBackendImpl.prototype.profilerEnabled):
3081 2010-06-23 Pavel Feldman <pfeldman@chromium.org>
3083 Reviewed by Yury Semikhatsky.
3085 Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
3087 https://bugs.webkit.org/show_bug.cgi?id=41094
3089 - Merged InspectorClient implementation into WebDevToolsAgent
3090 - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
3091 - Removed a lot of legacy code from WebDevToolsAgentImpl
3092 - Removed a lot of overrides from DevTools.js
3093 - Simplified devtools stubs
3094 - Got rid of all logic from within InjectDispatch.js
3097 * public/WebDevToolsAgent.h:
3099 * src/FrameLoaderClientImpl.cpp:
3100 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
3101 * src/InspectorFrontendClientImpl.cpp:
3102 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
3104 * src/WebDevToolsAgentImpl.cpp:
3106 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
3107 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
3108 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
3109 (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
3110 (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
3111 (WebKit::WebDevToolsAgentImpl::highlight):
3112 (WebKit::WebDevToolsAgentImpl::hideHighlight):
3113 (WebKit::WebDevToolsAgentImpl::populateSetting):
3114 (WebKit::WebDevToolsAgentImpl::storeSetting):
3115 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
3116 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
3117 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
3118 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
3119 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
3120 * src/WebDevToolsAgentImpl.h:
3121 * src/WebDevToolsAgentPrivate.h:
3122 * src/WebViewImpl.cpp:
3123 (WebKit::WebView::create):
3124 (WebKit::WebViewImpl::WebViewImpl):
3125 * src/WebViewImpl.h:
3126 * src/WebWorkerBase.cpp:
3127 (WebKit::WebWorkerBase::initializeLoader):
3128 * src/js/DevTools.js:
3129 (devtools.ToolsAgent):
3132 * src/js/DevToolsHostStub.js:
3133 (.window.setDebuggerScriptSource):
3134 (.window.dispatchOnInjectedScript):
3135 * src/js/InjectDispatch.js:
3137 * src/js/InspectorControllerImpl.js:
3139 2010-06-24 Yury Semikhatsky <yurys@chromium.org>
3141 Reviewed by Pavel Feldman.
3143 Web Inspector: implement layout tests for debugger
3144 https://bugs.webkit.org/show_bug.cgi?id=40774
3146 * src/WebDevToolsFrontendImpl.cpp:
3147 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
3149 2010-06-23 Tony Chang <tony@chromium.org>
3151 Reviewed by Darin Fisher.
3153 layout test for a crash in chromium multipart request handling
3154 https://bugs.webkit.org/show_bug.cgi?id=41050
3156 Also roll DEPS to pick up the crash fix.
3160 2010-06-23 Yuzo Fujishima <yuzo@google.com>
3162 Reviewed by Shinichiro Hamaji.
3164 Make page format data methods accessible from Chromium
3165 https://bugs.webkit.org/show_bug.cgi?id=41056
3167 * public/WebFrame.h:
3168 * src/WebFrameImpl.cpp:
3169 (WebKit::WebFrameImpl::isPageBoxVisible):
3170 (WebKit::WebFrameImpl::pageAreaRectInPixels):
3171 (WebKit::WebFrameImpl::preferredPageSizeInPixels):
3172 * src/WebFrameImpl.h:
3174 2010-06-22 Adam Barth <abarth@webkit.org>
3176 Reviewed by Eric Seidel.
3178 Rename HTMLDocumentParser to LegacyHTMLDocumentParser
3179 https://bugs.webkit.org/show_bug.cgi?id=41043
3181 * src/WebEntities.cpp:
3183 2010-06-22 Pavel Feldman <pfeldman@chromium.org>
3185 Not reviewed: follow up to r61655 to make Chromium tests happy.
3187 * src/js/InspectorControllerImpl.js:
3188 (devtools.InspectorBackendImpl):
3190 2010-06-22 Mikhail Naganov <mnaganov@chromium.org>
3192 Reviewed by Pavel Feldman.
3194 [Chromium] Clean up after removal of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
3196 https://bugs.webkit.org/show_bug.cgi?id=40914
3198 * public/WebDevToolsAgentClient.h:
3200 2010-06-22 Mikhail Naganov <mnaganov@chromium.org>
3202 Reviewed by Pavel Feldman.
3204 [Chromium] Add a sanity test for heap profiler.
3206 https://bugs.webkit.org/show_bug.cgi?id=40917
3209 (.TestSuite.prototype.testHeapProfiler.findDisplayedNode):
3210 (.TestSuite.prototype.testHeapProfiler.findVisibleView):
3211 (.TestSuite.prototype.testHeapProfiler):
3213 2010-06-21 MORITA Hajime <morrita@google.com>
3215 Reviewed by Darin Fisher.
3217 [Chromium] Dragging outside the frame immediately causes page to scroll
3218 http://webkit.org/b/40461
3220 This is regression that was introduced at http://webkit.org/b/39725.
3222 There are 2 problems:
3223 1. It starts auto-scrolling immediately. We should have some delay.
3224 2. The scroll continues even after a mouse cursor goes outside a frame.
3225 The scroll should be stopped when the curosr has left.
3227 This change introduced DragScrollTimer to handle 1.
3228 At the same time, it fixed DragScrollTimer::scrollDistanceFor() to
3229 handle 2, We now stop scrolling when the cursor gone.
3232 * src/DragScrollTimer.cpp: Added.
3233 (WebKit::distanceToRect):
3234 (WebKit::DragScrollTimer::DragScrollTimer):
3235 (WebKit::DragScrollTimer::~DragScrollTimer):
3236 (WebKit::DragScrollTimer::stop):
3237 (WebKit::DragScrollTimer::scroll):
3238 (WebKit::DragScrollTimer::update):
3239 (WebKit::DragScrollTimer::triggerScroll):
3240 (WebKit::DragScrollTimer::scrollDistanceFor):
3241 * src/DragScrollTimer.h: Added.
3242 (WebKit::DragScrollTimer::fired):
3243 (WebKit::DragScrollTimer::shouldScroll):
3244 * src/WebViewImpl.cpp:
3245 (WebKit::WebViewImpl::WebViewImpl):
3246 (WebKit::WebViewImpl::dragSourceEndedAt):
3247 (WebKit::WebViewImpl::dragSourceMovedTo):
3248 (WebKit::WebViewImpl::dragTargetDrop):
3249 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
3250 * src/WebViewImpl.h:
3252 2010-06-21 Kent Tamura <tkent@chromium.org>
3254 Reviewed by Dimitri Glazkov.
3256 [Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER
3257 https://bugs.webkit.org/show_bug.cgi?id=40905
3259 EVENTSOURCE: It is already enabled in Chromium browser. This fixes
3260 some tests with Chromium DRT.
3262 FILE_WRITER and IMAGE_RESIZER: Enable experimental features in
3263 order to test them before enabling them in Chromium browser.
3267 2010-06-21 Satish Sampath <satish@chromium.org>
3269 Reviewed by Steve Block.
3271 Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
3272 https://bugs.webkit.org/show_bug.cgi?id=40878
3276 2010-06-21 Mikhail Naganov <mnaganov@chromium.org>
3278 Reviewed by Yury Semikhatsky.
3280 [Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
3282 Also, move WebDevToolsMessageTransport to its own header file.
3284 https://bugs.webkit.org/show_bug.cgi?id=40913
3288 * public/WebDevToolsAgent.h:
3289 * public/WebDevToolsAgentClient.h:
3290 * public/WebDevToolsMessageTransport.h: Added.
3291 (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
3292 * src/WebDevToolsAgentImpl.cpp:
3295 2010-06-20 Yury Semikhatsky <yurys@chromium.org>
3297 Reviewed by Pavel Feldman.
3299 [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
3300 v8 debugging protocol.
3302 * src/DebuggerAgentManager.cpp:
3303 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
3305 2010-06-19 Jay Civelli <jcivelli@chromium.org>
3307 Reviewed by David Levin.
3309 Adding a < operator to WebURLs so they can be used in std::maps.
3310 https://bugs.webkit.org/show_bug.cgi?id=40632
3312 * public/WebCString.h:
3313 (WebKit::operator<):
3315 (WebKit::operator<):
3316 * src/WebCString.cpp:
3317 (WebKit::WebCString::compare):
3319 2010-06-19 Kent Tamura <tkent@chromium.org>
3321 Unreviewed. Build fix for r61488.
3323 * features.gypi: Define use_accelerated_compositing.
3325 2010-06-19 Thomas Van Lenten <thomasvl@chromium.org>
3327 Reviewed by David Levin.
3329 Warnings from -Wextra in a Chromium Mac build
3330 1. checks of unsigned >= 0
3331 2. enumeral and non-enumeral type in conditional expression
3332 3. copy ctors that don't call the super copy ctor or ctor
3334 https://bugs.webkit.org/show_bug.cgi?id=40791
3336 * src/AutoFillPopupMenuClient.cpp:
3337 (WebKit::AutoFillPopupMenuClient::getSuggestion):
3338 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
3339 (WebKit::AutoFillPopupMenuClient::valueChanged):
3340 (WebKit::AutoFillPopupMenuClient::selectionChanged):
3341 * src/AutocompletePopupMenuClient.cpp:
3342 (WebKit::AutocompletePopupMenuClient::getSuggestion):
3343 (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
3345 2010-06-19 Zhe Su <suzhe@chromium.org>
3347 Reviewed by Darin Fisher.
3349 [chromium]Refactor input method related APIs.
3350 https://bugs.webkit.org/show_bug.cgi?id=40608
3353 * public/WebCompositionCommand.h:
3354 * public/WebCompositionUnderline.h: Added.
3355 (WebKit::WebCompositionUnderline::WebCompositionUnderline):
3356 * public/WebTextInputType.h: Added.
3358 * public/WebViewClient.h:
3359 * public/WebWidget.h:
3360 * public/WebWidgetClient.h:
3361 (WebKit::WebWidgetClient::resetInputMethod):
3362 * src/CompositionUnderlineBuilder.h: Added.
3363 (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
3364 * src/CompositionUnderlineVectorBuilder.cpp: Added.
3365 (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
3366 * src/CompositionUnderlineVectorBuilder.h: Added.
3367 * src/EditorClientImpl.cpp:
3368 (WebKit::EditorClientImpl::setInputMethodState):
3369 * src/WebPopupMenuImpl.cpp:
3370 (WebKit::WebPopupMenuImpl::setComposition):
3371 (WebKit::WebPopupMenuImpl::confirmComposition):
3372 (WebKit::WebPopupMenuImpl::textInputType):
3373 (WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
3374 * src/WebPopupMenuImpl.h:
3375 * src/WebViewImpl.cpp:
3376 (WebKit::WebViewImpl::handleCompositionEvent):
3377 (WebKit::WebViewImpl::setComposition):
3378 (WebKit::WebViewImpl::confirmComposition):
3379 (WebKit::WebViewImpl::textInputType):
3380 (WebKit::WebViewImpl::caretOrSelectionBounds):
3381 * src/WebViewImpl.h:
3383 2010-06-19 Victoria Kirst <vrk@google.com>
3385 Reviewed by David Levin.
3387 Modifying the WebMediaPlayer interface to be compatible with
3389 This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
3390 has been updated, so this commit should NOT break chromium anymore,
3391 nor should it cause any test failures.
3392 https://bugs.webkit.org/show_bug.cgi?id=39445
3394 * public/WebMediaPlayer.h: Changed buffered() to be non-const.
3396 2010-06-19 Zhenyao Mo <zmo@google.com>
3398 Reviewed by Dimitri Glazkov.
3400 fast/canvas/webgl/get-active-test.html failed in Chrome Mac
3401 https://bugs.webkit.org/show_bug.cgi?id=40496
3403 * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent().
3404 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
3405 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
3406 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
3408 2010-06-18 Aaron Boodman <aa@chromium.org>
3410 Remove WebKit::WebDocument::isXHTMLDocument.
3411 https://bugs.webkit.org/show_bug.cgi?id=40815
3413 * public/WebDocument.h: Remove isXHTMLDocument().
3414 * src/WebDocument.cpp: Ditto.
3416 2010-06-19 Aaron Boodman <aa@chromium.org>
3418 Unreviewed, rolling out r61466.
3419 http://trac.webkit.org/changeset/61466
3420 https://bugs.webkit.org/show_bug.cgi?id=40816
3427 2010-06-18 Aaron Boodman <aa@chromium.org>
3429 WebKit API: Undo static hooks into V8 when WebKit is shut downm
3430 https://bugs.webkit.org/show_bug.cgi?id=40816
3433 (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded().
3435 2010-06-18 Drew Wilson <atwilson@chromium.org>
3437 Reviewed by Darin Fisher.
3439 [Chromium] Plumbing for top-level frame names
3440 https://bugs.webkit.org/show_bug.cgi?id=40430
3442 * public/WebFrame.h:
3443 Removed obsolete clearName() API and added better documentation for
3445 * src/WebFrameImpl.cpp:
3446 Removed clearName() API.
3447 * src/WebFrameImpl.h:
3448 Removed clearName() API.
3450 2010-06-18 Drew Wilson <atwilson@chromium.org>
3452 Reviewed by Dumitru Daniliuc.
3454 Roll chromium DEPS 50089:50171
3455 https://bugs.webkit.org/show_bug.cgi?id=40842
3458 Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName().
3460 2010-06-18 Mikhail Naganov <mnaganov@chromium.org>
3462 Reviewed by Yury Semikhatsky.
3464 Implement 'takeHeapSnapshot' in InspectorController.
3466 https://bugs.webkit.org/show_bug.cgi?id=40834
3468 * src/js/HeapProfilerPanel.js:
3469 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
3470 * src/js/InspectorControllerImpl.js:
3471 (devtools.InspectorBackendImpl):
3472 * src/js/ProfilerAgent.js:
3473 (devtools.ProfilerAgent.prototype.startProfiling):
3475 2010-06-18 Anton Muhin <antonm@chromium.org>
3477 Reviewed by Dimitri Glazkov.
3479 [v8] Finish migration to new named property query API
3480 https://bugs.webkit.org/show_bug.cgi?id=40771
3481 Remove definition which allowed gradual transition to new API.
3482 See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase.
3487 2010-06-17 Pavel Feldman <pfeldman@chromium.org>
3489 Reviewed by Yury Semikhatsky.
3491 Web Inspector: bring XHR console records back.
3492 - adds "Enable XHR Monitor" / "Disable XHR Monitor" actions to the console's context menu
3493 - make the chosen option persist in the settings.
3495 https://bugs.webkit.org/show_bug.cgi?id=40799
3497 * src/js/InspectorControllerImpl.js:
3498 (devtools.InspectorBackendImpl):
3500 2010-06-15 Dumitru Daniliuc <dumi@chromium.org>
3502 Reviewed by Adam Barth.
3504 Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
3505 https://bugs.webkit.org/show_bug.cgi?id=39041
3507 * src/WebRuntimeFeatures.cpp:
3508 (WebKit::WebRuntimeFeatures::enableDatabase):
3509 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
3511 2010-06-17 Tony Chang <tony@chromium.org>
3513 Reviewed by Kent Tamura.
3515 [chromium] cleanup redundant DEPS value and remove buildbot cleanup code
3516 https://bugs.webkit.org/show_bug.cgi?id=40615
3518 * DEPS: tools/data_pack was listed twice for linux (harmless, but unnecessary)
3520 2010-06-17 Jeremy Moskovich <jeremy@chromium.org>
3522 Reviewed by Darin Fisher.
3524 [Chromium API] Implement WebSandboxSupport on OS X and add stubs to allow
3525 OOP loading of fonts.
3527 https://bugs.webkit.org/show_bug.cgi?id=40544
3529 * WebKit.gyp: Add mac WebSandboxSupport.h
3530 * public/mac/WebSandboxSupport.h: Added.
3531 * src/ChromiumBridge.cpp:
3532 (WebCore::ChromiumBridge::loadFont):
3534 2010-06-17 Pavel Feldman <pfeldman@chromium.org>
3536 Unreviewed: chromium tests fix. Added InspectorBackend delegates for new inspector methods.
3538 * src/js/InspectorControllerImpl.js:
3539 (devtools.InspectorBackendImpl):
3541 2010-06-17 Mikhail Naganov <mnaganov@chromium.org>
3543 Reviewed by Pavel Feldman.
3545 [Chromium] Prepare to making WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual
3547 https://bugs.webkit.org/show_bug.cgi?id=39302
3549 * public/WebDevToolsAgent.h:
3550 * public/WebDevToolsAgentClient.h:
3551 (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
3552 * src/WebDevToolsAgentImpl.cpp:
3554 (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
3556 2010-06-17 John Gregg <johnnyg@google.com>
3558 Reviewed by David Levin.
3560 Undo the build fix with the correct patch: Chromium NotificationPresenter
3561 is now informed of the destruction before it actually happens, so this
3562 use of the Notification object is correct.
3563 https://bugs.webkit.org/show_bug.cgi?id=40097
3565 * src/NotificationPresenterImpl.cpp:
3566 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
3568 2010-06-16 Kent Tamura <tkent@chromium.org>
3570 Reviewed by Dimitri Glazkov.
3572 [DRT/Chromium] Set current working directory for each of tests
3573 https://bugs.webkit.org/show_bug.cgi?id=40668
3575 * DEPS: Update Chromium to r49915 to have
3576 webkit_support::SetCurrentDirectoryForFileURL().
3578 2010-06-16 Drew Wilson <atwilson@chromium.org>
3580 Reviewed by Kent Tamura.
3582 Added plumbing to Chromium WebKit API to allow setting/getting the name
3583 of top level frames.
3585 https://bugs.webkit.org/show_bug.cgi?id=40430
3586 * public/WebFrame.h:
3587 Added setName() API.
3588 * public/WebViewClient.h:
3589 (WebKit::WebViewClient::createView):
3590 Now takes a "name" parameter.
3591 * src/ChromeClientImpl.cpp:
3592 (WebKit::ChromeClientImpl::createWindow):
3593 Passes a name parameter.
3594 * src/WebFrameImpl.cpp:
3595 (WebKit::WebFrameImpl::setName):
3596 Allows setting the frame name by calling through to the WebCore API.
3597 * src/WebFrameImpl.h:
3599 2010-06-15 Darin Adler <darin@apple.com>
3601 Reviewed by Adam Barth.
3603 Move functions out of Frame class that were marked "move to Chrome"
3604 https://bugs.webkit.org/show_bug.cgi?id=39636
3606 * src/WebViewImpl.cpp:
3607 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose
3608 on FrameLoader instead of going through Frame.
3610 2010-06-11 Darin Fisher <darin@chromium.org>
3612 Reviewed by Brady Eidson.
3614 Expose WebHistoryItem::itemSequenceNumber.
3616 https://bugs.webkit.org/show_bug.cgi?id=40451
3618 * public/WebHistoryItem.h:
3619 * src/WebHistoryItem.cpp:
3620 (WebKit::WebHistoryItem::itemSequenceNumber):
3621 (WebKit::WebHistoryItem::setItemSequenceNumber):
3623 2010-06-15 Yury Semikhatsky <yurys@chromium.org>
3625 Reviewed by Pavel Feldman.
3627 [v8] Web Inspector: make ui tests pass when ScriptDebugServer is used
3628 https://bugs.webkit.org/show_bug.cgi?id=40623
3630 * src/js/DebuggerAgent.js:
3631 (devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions.
3632 * src/js/DebuggerScript.js:
3634 (.TestSuite.prototype.testProfilerTab.findVisibleView):
3635 (.TestSuite.prototype.testProfilerTab):
3636 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
3637 (.TestSuite.prototype.testSetBreakpoint.this):
3638 (.TestSuite.prototype.testSetBreakpoint):
3639 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
3640 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
3641 (.TestSuite.prototype.testExpandScope.examineScopes):
3642 (.TestSuite.prototype.testExpandScope):
3643 (.TestSuite.prototype.testDebugIntrinsicProperties):
3645 2010-06-14 Anders Carlsson <andersca@apple.com>
3649 * src/WebPluginListBuilderImpl.cpp:
3650 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
3652 2010-06-14 Dumitru Daniliuc <dumi@chromium.org>
3654 Reviewed by Adam Barth.
3656 Get DatabaseTracker ready for sync DBs.
3657 https://bugs.webkit.org/show_bug.cgi?id=39041
3659 * public/WebDatabase.h:
3660 * src/DatabaseObserver.cpp:
3661 (WebCore::DatabaseObserver::databaseOpened):
3662 (WebCore::DatabaseObserver::databaseModified):
3663 (WebCore::DatabaseObserver::databaseClosed):
3664 * src/WebDatabase.cpp:
3665 (WebKit::WebDatabase::closeDatabaseImmediately):
3666 (WebKit::WebDatabase::WebDatabase):
3667 (WebKit::WebDatabase::operator=):
3668 (WebKit::WebDatabase::operator WTF::PassRefPtr<AbstractDatabase>):
3670 2010-06-14 Chris Fleizach <cfleizach@apple.com>
3672 Reviewed by Darin Adler.
3674 AX: need ListItemRole and PresentationalRole
3675 https://bugs.webkit.org/show_bug.cgi?id=40133
3677 * public/WebAccessibilityRole.h:
3678 * src/AssertMatchingEnums.cpp:
3680 2010-06-14 Anders Carlsson <andersca@apple.com>
3682 Reviewed by Sam Weinig.
3684 Remove pluginIndex from MimeClassInfo
3685 https://bugs.webkit.org/show_bug.cgi?id=40588
3687 * src/WebPluginListBuilderImpl.cpp:
3688 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
3690 2010-06-14 Jeremy Orlow <jorlow@chromium.org>
3694 * src/IDBCallbacksProxy.h:
3696 2010-06-14 Ilya Tikhonovsky <loislo@chromium.org>
3698 Reviewed by Pavel Feldman.
3700 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
3701 data from inspected page to WebInspector as JSON string via http. The native
3702 serialization to JSON string is supported by InspectorValue's classes. This patch
3703 has the implementation of sendMessageToFrontend function. WebKit version of it still
3704 uses ScriptFunctionCall and will be switched to another transport a little bit later.
3705 https://bugs.webkit.org/show_bug.cgi?id=40134
3707 * src/InspectorClientImpl.cpp:
3708 (WebKit::InspectorClientImpl::sendMessageToFrontend):
3709 * src/InspectorClientImpl.h:
3710 * src/WebDevToolsAgentImpl.cpp:
3711 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
3713 2010-06-13 Tony Chang <tony@chromium.org>
3715 Reviewed by Darin Fisher.
3717 [chromium] checkout chromium third_party directly
3718 https://bugs.webkit.org/show_bug.cgi?id=40556
3722 2010-06-13 Tony Chang <tony@chromium.org>
3724 Build fix, not reviewed.
3726 fix chromium compile after r61094 (id attribute refactor)
3727 https://bugs.webkit.org/show_bug.cgi?id=40553
3729 * src/ChromeClientImpl.cpp:
3730 * src/WebFormControlElement.cpp:
3731 (WebKit::WebFormControlElement::nameForAutofill):
3733 2010-06-13 Andras Becsi <abecsi@inf.u-szeged.hu>
3735 Reviewed by Darin Adler.
3737 Centralize the gperf code generation commands into make-hash-tools.pl
3738 to avoid redundancy across multiple build systems.
3739 Do this in preparation of refactoring the usage of these generated
3740 sources to fix the debug linking error on Linux with gcc >= 4.4.0.
3744 * src/WebEntities.cpp:
3746 2010-06-11 Eric Seidel <eric@webkit.org>
3748 Reviewed by Adam Barth.
3750 Rename the rest of the *Tokenizer classes to *DocumentParser
3751 https://bugs.webkit.org/show_bug.cgi?id=40507
3753 * src/WebEntities.cpp:
3754 - Fix a comment to match new class names.
3756 2010-06-12 Evan Stade <estade@chromium.org>
3758 Reviewed by Eric Seidel.
3760 [chromium] Menu key should act on current selection even if it is not editable
3761 https://bugs.webkit.org/show_bug.cgi?id=40348
3763 Allow the menu key to act on non-editable selections.
3765 * src/WebViewImpl.cpp:
3766 (WebKit::WebViewImpl::sendContextMenuEvent):
3768 2010-06-11 James Hawkins <jhawkins@chromium.org>
3770 Reviewed by Darin Fisher.
3772 [Chromium] Notify the WebView when the AutoFill popup hides.
3774 https://bugs.webkit.org/show_bug.cgi?id=40459
3776 * src/AutoFillPopupMenuClient.cpp:
3777 (WebKit::AutoFillPopupMenuClient::selectionCleared):
3779 2010-06-11 Tony Gentilcore <tonyg@chromium.org>
3781 Reviewed by Dimitri Glazkov.
3783 Roll chromium DEPS 49376:49521
3784 https://bugs.webkit.org/show_bug.cgi?id=40488
3788 2010-06-10 Jeremy Orlow <jorlow@chromium.org>
3790 Reviewed by Steve Block.
3792 Implement more of IndexedDB's Indexes and ObjectStores
3793 https://bugs.webkit.org/show_bug.cgi?id=40424
3795 Add plumbing for both of these classes.
3797 * public/WebIDBDatabase.h:
3798 (WebKit::WebIDBDatabase::name):
3799 (WebKit::WebIDBDatabase::description):
3800 (WebKit::WebIDBDatabase::version):
3801 (WebKit::WebIDBDatabase::objectStores):
3802 (WebKit::WebIDBDatabase::objectStore):
3803 (WebKit::WebIDBDatabase::removeObjectStore):
3804 * public/WebIDBObjectStore.h:
3805 (WebKit::WebIDBObjectStore::indexNames):
3806 (WebKit::WebIDBObjectStore::createIndex):
3807 (WebKit::WebIDBObjectStore::index):
3808 (WebKit::WebIDBObjectStore::removeIndex):
3809 * src/IDBDatabaseProxy.cpp:
3810 (WebCore::IDBDatabaseProxy::name):
3811 (WebCore::IDBDatabaseProxy::description):
3812 (WebCore::IDBDatabaseProxy::version):
3813 (WebCore::IDBDatabaseProxy::objectStores):
3814 (WebCore::IDBDatabaseProxy::objectStore):
3815 (WebCore::IDBDatabaseProxy::removeObjectStore):
3816 * src/IDBDatabaseProxy.h:
3817 * src/IDBObjectStoreProxy.cpp:
3818 (WebCore::IDBObjectStoreProxy::indexNames):
3819 (WebCore::IDBObjectStoreProxy::createIndex):
3820 (WebCore::IDBObjectStoreProxy::index):
3821 (WebCore::IDBObjectStoreProxy::removeIndex):
3822 * src/IDBObjectStoreProxy.h:
3823 * src/WebIDBDatabaseImpl.cpp:
3824 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
3825 (WebKit::WebIDBDatabaseImpl::name):
3826 (WebKit::WebIDBDatabaseImpl::description):
3827 (WebKit::WebIDBDatabaseImpl::version):
3828 (WebKit::WebIDBDatabaseImpl::objectStores):
3829 (WebKit::WebIDBDatabaseImpl::createObjectStore):
3830 (WebKit::WebIDBDatabaseImpl::objectStore):
3831 (WebKit::WebIDBDatabaseImpl::removeObjectStore):
3832 * src/WebIDBDatabaseImpl.h:
3833 * src/WebIDBObjectStoreImpl.cpp:
3834 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
3835 (WebKit::WebIDBObjectStoreImpl::name):
3836 (WebKit::WebIDBObjectStoreImpl::keyPath):
3837 (WebKit::WebIDBObjectStoreImpl::indexNames):
3838 (WebKit::WebIDBObjectStoreImpl::createIndex):
3839 (WebKit::WebIDBObjectStoreImpl::index):
3840 (WebKit::WebIDBObjectStoreImpl::removeIndex):
3841 * src/WebIDBObjectStoreImpl.h:
3843 2010-06-11 Alexander Pavlov <apavlov@chromium.org>
3845 Reviewed by Pavel Feldman.
3847 Web Inspector: Enable serialization/deserialization of the frontend state
3848 https://bugs.webkit.org/show_bug.cgi?id=40228
3850 * src/js/InspectorControllerImpl.js:
3851 (devtools.InspectorBackendImpl):
3853 2010-06-10 Søren Gjesse <sgjesse@chromium.org>
3855 Reviewed by Pavel Feldman.
3857 V8: Chromium test expectations not matching improved V8 JavaScript stepping
3858 https://bugs.webkit.org/show_bug.cgi?id=40419
3860 Update test expetations to match chaged V8 break locations.
3864 2010-06-10 Pavel Feldman <pfeldman@chromium.org>
3866 Reviewed by Yury Semikhatsky.
3868 Web Inspector: Port performSearch from InjectedScript to InspectorDOMAgent.
3870 https://bugs.webkit.org/show_bug.cgi?id=40422
3872 * src/js/InspectorControllerImpl.js:
3873 (devtools.InspectorBackendImpl):
3875 2010-06-11 Vangelis Kokkevis <vangelis@chromium.org>
3877 Reviewed by David Levin.
3879 [chromium] Adding a build dependency to the gles2 C library to the webkit_unit_tests
3880 project to allow it to link when WebCore is compiled with the ACCELERATED_COMPOSITING
3882 https://bugs.webkit.org/show_bug.cgi?id=40341
3886 2010-06-10 Kent Tamura <tkent@chromium.org>
3888 Reviewed by Dimitri Glazkov.
3890 [DRT/Chromium] Support plugin tests
3891 https://bugs.webkit.org/show_bug.cgi?id=40413
3894 Bump the Chromium revision to r49376 to have a npapi_layout_test_plugin
3895 change and Linux <progress> resources.
3896 Add third_party/mesa because app/ depends on them
3899 Copy a plugin binary for DRT to recognize it.
3901 2010-06-10 James Hawkins <jhawkins@chromium.org>
3905 Build fix for Chromium Mac Release.
3907 * src/AutoFillPopupMenuClient.cpp:
3908 (WebKit::AutoFillPopupMenuClient::getSuggestion):
3909 (WebKit::AutoFillPopupMenuClient::valueChanged):
3910 (WebKit::AutoFillPopupMenuClient::selectionChanged):
3911 (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
3913 2010-06-09 James Hawkins <jhawkins@chromium.org>
3915 Reviewed by Darin Fisher.
3917 [Chromium] Add the ability to specify a separator in
3918 AutoFillPopupMenuClient.
3920 https://bugs.webkit.org/show_bug.cgi?id=40397
3922 * public/WebViewClient.h:
3923 (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
3924 * src/AutoFillPopupMenuClient.cpp:
3925 (WebKit::AutoFillPopupMenuClient::getSuggestionsCount):
3926 (WebKit::AutoFillPopupMenuClient::getSuggestion):
3927 (WebKit::AutoFillPopupMenuClient::valueChanged):
3928 (WebKit::AutoFillPopupMenuClient::selectionChanged):
3929 (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
3930 (WebKit::AutoFillPopupMenuClient::initialize):
3931 (WebKit::AutoFillPopupMenuClient::setSuggestions):
3932 * src/AutoFillPopupMenuClient.h:
3933 * src/WebViewImpl.cpp:
3934 (WebKit::WebViewImpl::applyAutoFillSuggestions):
3935 * src/WebViewImpl.h:
3937 2010-06-10 Dmitry Titov <dimich@chromium.org>
3939 Not reviewed, Chromium build fix from Abhishek Arya.
3941 * src/WebImageCG.cpp:
3942 (WebKit::WebImage::WebImage):
3943 (WebKit::WebImage::operator=):
3945 2010-06-10 Abhishek Arya <inferno@chromium.org>
3947 Reviewed by Dimitri Glazkov.
3949 Add null pointer checks for nativeImageForCurrentFrame
3951 https://bugs.webkit.org/show_bug.cgi?id=39797
3953 * src/WebImageCG.cpp:
3954 (WebKit::WebImage::WebImage):
3955 (WebKit::WebImage::operator=):
3957 2010-06-10 Yury Semikhatsky <yurys@chromium.org>
3959 Reviewed by Pavel Feldman.
3961 Web Inspector: to reduce the front end start up time don't push script
3962 sources to frontend if debugger is always enabled, instead request
3963 script content lazily at the moment it should be displyed. It is critical for
3964 always enabled debugger because in that case lots of script may have
3965 already been parsed when the front end is opening and pushing all
3966 of them at once may slow things down(even though the script sources will never
3967 be used if scripts panel isn't open).
3968 https://bugs.webkit.org/show_bug.cgi?id=40364
3970 * src/js/DevTools.js:
3971 * src/js/InspectorControllerImpl.js:
3972 (devtools.InspectorBackendImpl):
3973 (.devtools.InspectorBackendImpl.prototype.getScriptSource):
3975 2010-06-10 Mike Belshe <mbelshe@google.com>
3977 Reviewed by David Levin
3979 Track whether a resource is loaded via a proxy.
3981 https://bugs.webkit.org/show_bug.cgi?id=40312
3983 * public/WebURLResponse.h:
3984 * src/WebURLResponse.cpp:
3985 (WebKit::WebURLResponse::wasFetchedViaProxy):
3986 (WebKit::WebURLResponse::setWasFetchedViaProxy):
3988 2010-06-10 Vangelis Kokkevis <vangelis@chromium.org>
3990 Reviewed by Dimitri Glazkov.
3992 [chromium] Adding the ANGLE project to the DEPS file as it's required
3993 by the gpu-accelerated compositor.
3994 https://bugs.webkit.org/show_bug.cgi?id=40379
3998 2010-06-09 Bo Liu <boliu@chromium.org>
4000 Reviewed by David Levin.
4002 [Chromium] Pass <video> full screen calls to Chromium port client
4003 https://bugs.webkit.org/show_bug.cgi?id=40317
4005 * public/WebViewClient.h:
4006 (WebKit::WebViewClient::supportsFullscreen):
4007 (WebKit::WebViewClient::enterFullscreenForNode):
4008 (WebKit::WebViewClient::exitFullscreenForNode):
4009 * src/ChromeClientImpl.cpp:
4010 (WebKit::ChromeClientImpl::supportsFullscreenForNode):
4011 (WebKit::ChromeClientImpl::enterFullscreenForNode):
4012 (WebKit::ChromeClientImpl::exitFullscreenForNode):
4013 * src/ChromeClientImpl.h:
4015 2010-06-09 Kenneth Russell <kbr@google.com>
4017 Reviewed by Dimitri Glazkov.
4019 Rename FloatArray to Float32Array
4020 https://bugs.webkit.org/show_bug.cgi?id=40323
4022 Used do-webcore-rename to perform renaming. Manually undid
4023 incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp,
4024 WebCore/manual-tests/resources/ArrayParameterTestApplet.java and
4025 ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran
4026 all layout tests on Safari; built Chromium and ran selected WebGL
4029 * src/GraphicsContext3D.cpp:
4031 2010-06-09 Sheriff Bot <webkit.review.bot@gmail.com>
4033 Unreviewed, rolling out r60889.
4034 http://trac.webkit.org/changeset/60889
4035 https://bugs.webkit.org/show_bug.cgi?id=40365
4037 gtk bot has some kind of memory corruption (Requested by
4040 * src/InspectorClientImpl.cpp:
4041 * src/InspectorClientImpl.h:
4042 * src/WebDevToolsAgentImpl.cpp:
4043 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
4045 2010-06-09 Pavel Podivilov <podivilov@chromium.org>
4047 Reviewed by Yury Semikhatsky.
4049 Web Inspector: retreive debugger script source synchronously when
4050 frontend is attached. We need this to be able to stop on top-level
4052 https://bugs.webkit.org/show_bug.cgi?id=40289
4055 * src/DebuggerAgent.h:
4056 * src/DebuggerAgentImpl.cpp:
4057 * src/DebuggerAgentImpl.h:
4058 * src/WebDevToolsAgentImpl.cpp:
4059 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
4060 * src/js/DebuggerScript.js:
4061 * src/js/DevTools.js:
4062 (WebInspector.loaded):
4063 * src/js/DevToolsHostStub.js:
4065 2010-06-07 Ilya Tikhonovsky <loislo@chromium.org>
4067 Reviewed by Pavel Feldman.
4069 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
4070 data from inspected page to WebInspector as JSON string via http. The native
4071 serialization to JSON string is supported by InspectorValue's classes. This patch
4072 has the implementation of sendMessageToFrontend function. WebKit version of it still
4073 uses ScriptFunctionCall and will be switched to another transport a little bit later.
4074 https://bugs.webkit.org/show_bug.cgi?id=40134
4076 * src/InspectorClientImpl.cpp:
4077 (WebKit::InspectorClientImpl::sendMessageToFrontend):
4078 * src/InspectorClientImpl.h:
4079 * src/WebDevToolsAgentImpl.cpp:
4080 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
4082 2010-06-09 Yury Semikhatsky <yurys@chromium.org>
4084 Reviewed by Pavel Feldman.
4086 Web Inspector: update stack trace after script source editing
4087 https://bugs.webkit.org/show_bug.cgi?id=40357
4089 * src/js/DebuggerAgent.js:
4090 (devtools.DebuggerAgent.prototype.editScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
4091 (devtools.DebuggerAgent.prototype.editScriptSource.requestBacktrace):
4092 (devtools.DebuggerAgent.prototype.editScriptSource.handleBacktraceResponse):
4093 (devtools.DebuggerAgent.prototype.editScriptSource.reportDidCommitEditing):
4094 (devtools.DebuggerAgent.prototype.editScriptSource):
4095 (devtools.DebuggerAgent.prototype.requestBacktrace_):
4096 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
4097 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
4098 (devtools.DebuggerAgent.prototype.updateCallFramesFromBacktraceResponse_):
4099 * src/js/InspectorControllerImpl.js:
4100 (.devtools.InspectorBackendImpl.prototype.editScriptSource):
4102 2010-06-08 Tony Chang <tony@chromium.org>
4104 Reviewed by David Levin.
4106 [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
4107 https://bugs.webkit.org/show_bug.cgi?id=40285
4109 Take 2 at landing this patch, this time rolling DEPS just a bit
4110 further to pick up some chromium fixes.
4115 2010-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
4117 Unreviewed, rolling out r60878.
4118 http://trac.webkit.org/changeset/60878
4119 https://bugs.webkit.org/show_bug.cgi?id=40349
4121 broke linux build (Requested by tony^work on #webkit).
4126 2010-06-08 Tony Chang <tony@chromium.org>
4128 Reviewed by David Levin.
4130 [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
4131 https://bugs.webkit.org/show_bug.cgi?id=40285
4135 2010-06-08 Tony Chang <tony@chromium.org>
4137 Not reviewed, build fix.
4139 [chromium] fix linux compile
4140 https://bugs.webkit.org/show_bug.cgi?id=40343
4144 2010-06-08 Yury Semikhatsky <yurys@chromium.org>
4146 Reviewed by Pavel Feldman.
4148 Web Inspector: extend ScriptDebugServer to support script source editing
4149 https://bugs.webkit.org/show_bug.cgi?id=40297
4151 * src/js/DebuggerAgent.js:
4152 (devtools.ScriptInfo.prototype.worldType):
4153 * src/js/DebuggerScript.js:
4154 (debuggerScriptConstructor.DebuggerScript.editScriptSource):
4155 * src/js/DevTools.js:
4156 (WebInspector.loaded):
4157 * src/js/InspectorControllerImpl.js:
4158 (devtools.InspectorBackendImpl):
4160 2010-06-08 Antonio Gomes <tonikitoo@webkit.org>
4162 Reviewed by Ojan Vafai and Darin Adler.
4164 Refactor platform dependent editing behavior code out of Settings
4165 https://bugs.webkit.org/show_bug.cgi?id=39854
4167 EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
4168 EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
4170 * src/WebSettingsImpl.cpp:
4171 (WebKit::WebSettingsImpl::setEditingBehavior):
4172 2010-06-07 Tony Chang <tony@chromium.org>
4174 Reviewed by Kent Tamura.
4176 [chromium] roll chromium DEPS
4177 https://bugs.webkit.org/show_bug.cgi?id=40277
4181 2010-06-07 Kinuko Yasuda <kinuko@chromium.org>
4183 Reviewed by Jian Li.
4185 Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder.
4186 https://bugs.webkit.org/show_bug.cgi?id=39083
4188 Replace FormDataList::Item list with BlobItemList to get it compiled
4189 with the refactoring in FormDataList.
4191 * src/WebSearchableFormData.cpp:
4192 (WebCore::HasSuitableTextElement):
4194 2010-06-07 Andrei Popescu <andreip@google.com>
4196 Reviewed by Jeremy Orlow.
4198 [indexedDB] It is impossible to create object stores
4199 https://bugs.webkit.org/show_bug.cgi?id=40054
4202 * public/WebIDBCallbacks.h:
4203 (WebKit::WebIDBCallbacks::onSuccess):
4204 * public/WebIDBDatabase.h:
4205 (WebKit::WebIDBDatabase::createObjectStore):
4206 * public/WebIDBObjectStore.h: Added.
4207 (WebKit::WebIDBObjectStore::~WebIDBObjectStore):
4208 (WebKit::WebIDBObjectStore::name):
4209 (WebKit::WebIDBObjectStore::keyPath):
4210 * src/IDBCallbacksProxy.cpp:
4211 (WebCore::IDBCallbacksProxy::onSuccess):
4212 * src/IDBCallbacksProxy.h:
4213 * src/IDBDatabaseProxy.cpp:
4214 (WebCore::IDBDatabaseProxy::createObjectStore):
4215 * src/IDBDatabaseProxy.h:
4216 * src/IDBObjectStoreProxy.cpp: Added.
4217 (WebCore::IDBObjectStoreProxy::create):
4218 (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
4219 (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
4220 (WebCore::IDBObjectStoreProxy::name):
4221 (WebCore::IDBObjectStoreProxy::keyPath):
4222 (WebCore::IDBObjectStoreProxy::indexNames):
4223 (WebCore::IDBObjectStoreProxy::createIndex):
4224 (WebCore::IDBObjectStoreProxy::index):
4225 (WebCore::IDBObjectStoreProxy::removeIndex):
4226 * src/IDBObjectStoreProxy.h: Added.
4227 * src/IndexedDatabaseProxy.cpp:
4228 (WebCore::IndexedDatabaseProxy::open):
4229 * src/WebIDBCallbacksImpl.cpp:
4230 (WebCore::WebIDBCallbacksImpl::onSuccess):
4231 * src/WebIDBCallbacksImpl.h:
4232 * src/WebIDBDatabaseImpl.cpp:
4233 (WebKit::WebIDBDatabaseImpl::createObjectStore):
4234 * src/WebIDBDatabaseImpl.h:
4235 * src/WebIDBObjectStoreImpl.cpp: Added.
4236 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
4237 (WebKit::WebIDBObjectStoreImpl::~WebIDBObjectStoreImpl):
4238 (WebKit::WebIDBObjectStoreImpl::name):
4239 (WebKit::WebIDBObjectStoreImpl::keyPath):
4240 * src/WebIDBObjectStoreImpl.h: Added.
4241 * src/WebIndexedDatabaseImpl.cpp:
4242 (WebKit::WebIndexedDatabaseImpl::open):
4244 2010-06-07 Yury Semikhatsky <yurys@chromium.org>
4246 Reviewed by Pavel Feldman.
4248 Web Inspector: should be possible to distinguish extension scripts from main world scripts
4249 https://bugs.webkit.org/show_bug.cgi?id=40220
4251 * src/js/DebuggerAgent.js:
4252 (devtools.DebuggerAgent.prototype.initUI):
4253 (devtools.DebuggerAgent.prototype.addScriptInfo_):
4254 (devtools.DebuggerAgent.prototype.formatCallFrame_):
4255 (devtools.ScriptInfo.prototype.worldType):
4256 * src/js/DebuggerScript.js:
4257 (debuggerScriptConstructor.DebuggerScript.getScripts): use only context id without context type
4258 when filtering scripts so that extension scripts are also included.
4259 (debuggerScriptConstructor.DebuggerScript._formatScript):
4260 * src/js/devTools.css:
4262 2010-06-04 Jay Civelli <jcivelli@chromium.org>
4264 Reviewed by Dimitri Glazkov.
4266 Accessibility focus change notifications are now sent from
4267 ChromeClientImpl::focusedNodeChanged().
4268 https://bugs.webkit.org/show_bug.cgi?id=39792
4270 * src/ChromeClientImpl.cpp:
4271 (WebKit::ChromeClientImpl::focus):
4272 (WebKit::ChromeClientImpl::focusedNodeChanged):
4274 2010-06-04 Jay Civelli <jcivelli@chromium.org>
4276 Reviewed by David Levin.
4278 [chromium] Adding support for the left and right Windows keys to the
4279 NativeWebKeyboardEvent.
4280 https://bugs.webkit.org/show_bug.cgi?id=39752
4282 * src/gtk/WebInputEventFactory.cpp:
4283 (WebKit::gdkEventToWindowsKeyCode):
4285 2010-06-04 Pavel Podivilov <podivilov@chromium.org>
4287 Reviewed by Yury Semikhatsky.
4289 Web Inspector: Create resource for DebuggerScript.js.
4290 https://bugs.webkit.org/show_bug.cgi?id=40122
4293 * public/WebDevToolsAgentClient.h:
4294 (WebKit::WebDevToolsAgentClient::debuggerScriptSource):
4296 2010-05-26 MORITA Hajime <morrita@google.com>
4298 Reviewed by Jian Li.
4300 [Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges
4301 https://bugs.webkit.org/show_bug.cgi?id=39725
4303 Added WebViewImpl::scrollForDragging() to handle scroll-on-drag.
4304 Note that this change handes both source and destination cases.
4307 * src/WebViewImpl.cpp:
4308 (WebKit::WebViewImpl::dragSourceMovedTo):
4309 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
4310 (WebKit::WebViewImpl::scrollForDragging):
4311 * src/WebViewImpl.h:
4313 2010-06-03 Yury Semikhatsky <yurys@chromium.org>
4315 Reviewed by Pavel Feldman.
4317 [v8] Web Inspector: show "Object" as description for values with anonymous constructor
4318 https://bugs.webkit.org/show_bug.cgi?id=40121
4320 * src/js/DevTools.js: don't call DebuggerAgent methods if ScriptDebugServer is used.
4322 2010-06-03 Kent Tamura <tkent@chromium.org>
4324 Reviewed by Dimitri Glazkov.
4326 [DRT/Chromium] Checking out lighttpd
4327 https://bugs.webkit.org/show_bug.cgi?id=39948
4329 - Add lighttpd only on Windows. It is used by new-run-webkit-tests.
4331 - Remove pthreads-win32 from DEPS.
4332 It has not been used since Chromium r28642.
4333 - Update Chromium revision to use Windows resource query code and
4334 webkit_glue dependency fix.
4338 2010-06-02 Tony Chang <tony@chromium.org>
4340 Reviewed by Kent Tamura.
4342 [chromium] refactor WebKit.gyp's DRT section so the conditions are less messy
4343 https://bugs.webkit.org/show_bug.cgi?id=40104
4347 2010-06-02 Tony Chang <tony@chromium.org>
4349 Not reviewed, build fix in downstream chromium.
4351 Fix the path to repack.py so it works in a chromium checkout too.
4355 2010-06-02 Tony Chang <tony@chromium.org>
4357 Reviewed by Kent Tamura.
4359 [chromium] generate DumpRenderTree.pak on DRT linux
4360 https://bugs.webkit.org/show_bug.cgi?id=40098
4364 2010-06-02 Sheriff Bot <webkit.review.bot@gmail.com>
4366 Unreviewed, rolling out r60592.
4367 http://trac.webkit.org/changeset/60592
4368 https://bugs.webkit.org/show_bug.cgi?id=40099
4370 broke the build, need to coordiate updating DEPS (Requested by
4371 tony^work on #webkit).
4374 * public/WebMediaPlayer.h:
4376 2010-06-02 Victoria Kirst <vrk@google.com>
4378 Reviewed by David Levin.
4380 Modifying the WebMediaPlayer interface to be compatible with
4382 This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
4383 has been updated, so this commit should NOT break chromium anymore.
4384 https://bugs.webkit.org/show_bug.cgi?id=39445
4386 * DEPS: Updated to a newer chrome revision number.
4387 * public/WebMediaPlayer.h: Changed buffered() to be non-const.
4389 2010-06-02 Peter Kasting <pkasting@google.com>
4391 Unreviewed, emergency fix for test crashes (verbal r+ beforehand from
4394 Temporarily make notificationObjectDestroyed() a no-op to avoid an
4397 https://bugs.webkit.org/show_bug.cgi?id=40097
4399 * src/NotificationPresenterImpl.cpp:
4400 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
4402 2010-06-02 Sterling Swigart <sswigart@google.com>
4404 Reviewed by David Levin.
4406 Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches.
4407 https://bugs.webkit.org/show_bug.cgi?id=39906
4411 2010-06-01 James Hawkins <jhawkins@chromium.org>
4413 UNREVIEWED: build fix.
4415 Implement the added virtual methods from PopupMenuClient to
4416 TestPopupMenuClient.
4418 * tests/PopupMenuTest.cpp:
4419 (WebKit::TestPopupMenuClient::selectionChanged):
4420 (WebKit::TestPopupMenuClient::selectionCleared):
4422 2010-05-24 James Hawkins <jhawkins@chromium.org>
4424 Reviewed by Darin Fisher.
4426 [Chromium] Implement new PopupMenuClient methods selectionChanged()
4427 and selectionCleared(). Expose placeHolder methods and isAutoFilled()
4430 https://bugs.webkit.org/show_bug.cgi?id=39639
4432 * public/WebInputElement.h:
4433 * public/WebViewClient.h:
4434 (WebKit::WebViewClient::didSelectAutoFillSuggestion):
4435 (WebKit::WebViewClient::didClearAutoFillSelection):
4436 * src/AutoFillPopupMenuClient.cpp:
4437 (WebKit::AutoFillPopupMenuClient::selectionChanged):
4438 (WebKit::AutoFillPopupMenuClient::selectionCleared):
4439 (WebKit::AutoFillPopupMenuClient::popupDidHide):
4440 * src/AutoFillPopupMenuClient.h:
4441 * src/SuggestionsPopupMenuClient.h:
4442 (WebKit::SuggestionsPopupMenuClient::selectionChanged):
4443 (WebKit::SuggestionsPopupMenuClient::selectionCleared):
4444 * src/WebInputElement.cpp:
4445 (WebKit::WebInputElement::setPlaceholder):
4446 (WebKit::WebInputElement::placeholder):
4447 (WebKit::WebInputElement::isAutofilled):
4449 2010-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
4451 Unreviewed, rolling out r60483.
4452 http://trac.webkit.org/changeset/60483
4453 https://bugs.webkit.org/show_bug.cgi?id=40013
4455 Breaks Mac and Linux builds (Requested by antonm on #webkit).
4459 2010-06-01 Jeremy Orlow <jorlow@chromium.org>
4461 Reviewed by Darin Fisher.
4464 https://bugs.webkit.org/show_bug.cgi?id=40007
4466 Remove the exception code paramter (that hasn't been used for a while).
4467 Add asserts to default implementations.
4469 * public/WebIDBDatabase.h:
4470 (WebKit::WebIDBDatabase::name):
4471 (WebKit::WebIDBDatabase::description):
4472 (WebKit::WebIDBDatabase::version):
4473 (WebKit::WebIDBDatabase::objectStores):
4474 * public/WebIndexedDatabase.h:
4475 (WebKit::WebIndexedDatabase::open):
4476 * src/WebIndexedDatabaseImpl.cpp:
4477 (WebKit::WebIndexedDatabaseImpl::open):
4478 * src/WebIndexedDatabaseImpl.h:
4480 2010-06-01 Anton Muhin <antonm@chromium.org>
4482 Reviewed by Dimitri Glazkov.
4484 Rolling Chromium revision to bring recent changes to V8.
4488 2010-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
4490 Unreviewed, rolling out r60470.
4491 http://trac.webkit.org/changeset/60470
4492 https://bugs.webkit.org/show_bug.cgi?id=39990
4494 Need to rollout until bot can be updated (Requested by jorlow
4499 2010-05-31 Pavel Podivilov <podivilov@chromium.org>
4501 Reviewed by Pavel Feldman.
4503 Chromium: save inspector settings as dictionary, not as string.
4504 https://bugs.webkit.org/show_bug.cgi?id=32118
4507 * public/WebViewClient.h:
4508 (WebKit::WebViewClient::didUpdateInspectorSetting):
4509 * src/InspectorClientImpl.cpp:
4510 (WebKit::InspectorClientImpl::populateSetting):
4511 (WebKit::InspectorClientImpl::storeSetting):
4512 * src/InspectorClientImpl.h:
4513 * src/WebViewImpl.cpp:
4514 (WebKit::WebViewImpl::WebViewImpl):
4515 (WebKit::WebViewImpl::inspectorSetting):
4516 (WebKit::WebViewImpl::setInspectorSetting):
4517 * src/WebViewImpl.h:
4519 2010-05-31 James Robinson <jamesr@chromium.org>
4521 Reviewed by Darin Fisher.
4523 Expose html5 parser enabled flag in WebSettings
4524 https://bugs.webkit.org/show_bug.cgi?id=39913
4526 * public/WebSettings.h:
4527 * src/WebSettingsImpl.cpp:
4528 (WebKit::WebSettingsImpl::setHTML5ParserEnabled):
4529 * src/WebSettingsImpl.h:
4531 2010-05-31 Lyon Chen <liachen@rim.com>
4533 Reviewed by Kent Tamura.
4535 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
4536 https://bugs.webkit.org/show_bug.cgi?id=35530
4538 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.
4540 * src/WebFrameImpl.cpp:
4541 (WebKit::WebFrameImpl::executeCommand):
4543 2010-05-31 Roland Steiner <rolandsteiner@chromium.org>
4545 Bug 39977 - Missing Chromium bindings for InspectorController methods introduced in r60443
4546 https://bugs.webkit.org/show_bug.cgi?id=39977
4548 add missing InspectorController JS bindings:
4550 - getRuleRangesForStyleSheetId
4552 Tests: inspector/styles-source-offsets.html
4554 * src/js/InspectorControllerImpl.js:
4555 (devtools.InspectorBackendImpl):
4557 2010-05-31 Sheriff Bot <webkit.review.bot@gmail.com>
4559 Unreviewed, rolling out r60456.
4560 http://trac.webkit.org/changeset/60456
4561 https://bugs.webkit.org/show_bug.cgi?id=39974
4563 Broke Chromium Linux/Max build (Requested by tkent on
4568 2010-05-31 Kent Tamura <tkent@chromium.org>
4570 Reviewed by Dimitri Glazkov.
4572 [DRT/Chromium] Checking out lighttpd
4573 https://bugs.webkit.org/show_bug.cgi?id=39948
4575 - Checking out lighttpd only on Windows. It is used by new-run-webkit-tests.
4576 - Update Chromium revision to use Windows resource query code
4580 2010-05-31 Yury Semikhatsky <yurys@chromium.org>
4582 Reviewed by Pavel Feldman.
4584 Web Inspector: allow hiding Scripts panel from Chromium code. This
4585 is needed to support v8 debugging protocol which has an implementation
4586 that conflicts with debugger provided by the inspector.
4587 https://bugs.webkit.org/show_bug.cgi?id=39952
4589 * public/WebDevToolsAgentClient.h:
4590 (WebKit::WebDevToolsAgentClient::exposeV8DebuggerProtocol):
4591 * public/WebDevToolsFrontendClient.h:
4592 (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
4593 (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
4594 (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
4595 (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
4596 (WebKit::WebDevToolsFrontendClient::activateWindow):
4597 (WebKit::WebDevToolsFrontendClient::closeWindow):
4598 (WebKit::WebDevToolsFrontendClient::requestDockWindow):
4599 (WebKit::WebDevToolsFrontendClient::requestUndockWindow):
4600 (WebKit::WebDevToolsFrontendClient::hideScriptsPanel):
4601 * src/DebuggerAgentManager.cpp:
4602 (WebKit::DebuggerAgentManager::debugAttach):
4603 (WebKit::DebuggerAgentManager::debugDetach):
4604 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
4605 * src/DebuggerAgentManager.h:
4606 * src/InspectorFrontendClientImpl.cpp:
4607 (WebKit::InspectorFrontendClientImpl::hiddenPanels):
4608 * src/WebDevToolsAgentImpl.cpp:
4609 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
4610 (WebKit::WebDevToolsAgentImpl::attach):
4612 2010-05-30 Lyon Chen <liachen@rim.com>
4614 Reviewed by Kent Tamura.
4616 This is a coding style cleanup before fixing to bug 35530.
4618 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
4619 https://bugs.webkit.org/show_bug.cgi?id=35530
4621 * src/WebFrameImpl.cpp:
4622 (WebKit::WebFrameImpl::find):
4623 (WebKit::WebFrameImpl::scopeStringMatches):
4624 (WebKit::WebFrameImpl::createChildFrame):
4625 (WebKit::WebFrameImpl::shouldScopeMatches):
4627 2010-05-30 Daniel Bates <dbates@rim.com>
4629 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
4631 I missed a few call sites in the Chromium source when I
4632 landed http://trac.webkit.org/changeset/60419.
4634 Credit to Chris Jerdonek for looking over both this patch and the patch
4635 committed in r60419.
4637 * src/WebSearchableFormData.cpp:
4638 (WebCore::GetButtonToActivate):
4639 (WebCore::HasSuitableTextElement):
4641 2010-05-30 Daniel Bates <dbates@rim.com>
4643 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
4645 * src/EditorClientImpl.cpp:
4646 (WebKit::EditorClientImpl::autofill):
4647 * src/WebFormControlElement.cpp:
4648 (WebKit::WebFormControlElement::formControlName):
4649 (WebKit::WebFormControlElement::formControlType):
4650 * src/WebFormElement.cpp:
4651 (WebKit::WebFormElement::getFormControlElements):
4652 * src/WebPasswordFormUtils.cpp:
4653 (WebKit::findPasswordFormFields):
4655 2010-05-30 Jessie Berlin <jberlin@webkit.org>
4657 Reviewed by Pavel Feldman.
4659 https://bugs.webkit.org/show_bug.cgi?id=39224
4660 Bug 39224 - Web Inspector: There should be a way to clean up profiles
4662 * src/js/InspectorControllerImpl.js:
4663 (devtools.InspectorBackendImpl):
4665 2010-05-29 Vangelis Kokkevis <vangelis@chromium.org>
4667 Reviewed by Darin Fisher.
4669 Adding support for a runtime flag to enable accelerated
4670 compositing in chromium.
4671 https://bugs.webkit.org/show_bug.cgi?id=39917
4673 * public/WebSettings.h:
4674 * src/WebSettingsImpl.cpp:
4675 (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
4676 * src/WebSettingsImpl.h:
4678 2010-05-28 Aaron Boodman <aa@chromium.org>
4680 Reviewed by Darin Fisher.
4682 Add isXHTMLDocument() to WebDocument.
4684 https://bugs.webkit.org/show_bug.cgi?id=39887
4686 * public/WebDocument.h: Add isXHTMLDocument().
4687 * src/WebDocument.cpp: ditto.
4688 (WebKit::WebDocument::isXHTMLDocument): dittorama.
4690 2010-05-27 Jeremy Orlow <jorlow@chromium.org>
4692 Reviewed by Steve Block.
4694 Add IndexedDB's IDBIndex
4695 https://bugs.webkit.org/show_bug.cgi?id=39850
4697 Add WebKit layer for IDBIndex.
4700 * public/WebCommon.h:
4701 * public/WebIDBCallbacks.h:
4702 (WebKit::WebIDBCallbacks::onError):
4703 (WebKit::WebIDBCallbacks::onSuccess):
4704 * public/WebIDBDatabase.h:
4705 * public/WebIDBIndex.h: Added.
4706 (WebKit::WebIDBIndex::~WebIDBIndex):
4707 (WebKit::WebIDBIndex::name):
4708 (WebKit::WebIDBIndex::keyPath):
4709 (WebKit::WebIDBIndex::unique):
4710 * src/IDBCallbacksProxy.cpp:
4711 (WebCore::IDBCallbacksProxy::onSuccess):
4712 * src/IDBCallbacksProxy.h:
4713 * src/IDBDatabaseProxy.cpp:
4714 * src/IDBDatabaseProxy.h:
4715 * src/IDBIndexProxy.cpp: Added.
4716 (WebCore::IDBIndexProxy::create):
4717 (WebCore::IDBIndexProxy::IDBIndexProxy):
4718 (WebCore::IDBIndexProxy::~IDBIndexProxy):
4719 (WebCore::IDBIndexProxy::name):
4720 (WebCore::IDBIndexProxy::keyPath):
4721 (WebCore::IDBIndexProxy::unique):
4722 * src/IDBIndexProxy.h: Added.
4723 * src/WebIDBCallbacksImpl.cpp:
4724 (WebCore::WebIDBCallbacksImpl::onSuccess):
4725 * src/WebIDBCallbacksImpl.h:
4726 * src/WebIDBDatabaseImpl.cpp:
4727 * src/WebIDBDatabaseImpl.h:
4728 * src/WebIDBIndexImpl.cpp: Added.
4729 (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
4730 (WebKit::WebIDBIndexImpl::~WebIDBIndexImpl):
4731 (WebKit::WebIDBIndexImpl::name):
4732 (WebKit::WebIDBIndexImpl::keyPath):
4733 (WebKit::WebIDBIndexImpl::unique):
4734 * src/WebIDBIndexImpl.h: Added.
4736 2010-05-28 Yury Semikhatsky <yurys@chromium.org>
4738 Reviewed by Pavel Feldman.
4740 Web Inspector: check that ClientMessageLoopAdapter is not 0 before
4741 accessing its fileds from inspectedViewClosed method. It may be 0
4742 if inspector frontend has not been open.
4743 https://bugs.webkit.org/show_bug.cgi?id=39876
4745 * src/WebDevToolsAgentImpl.cpp:
4748 2010-05-27 Eric Uhrhane <ericu@chromium.org>
4750 Reviewed by Adam Barth.
4752 Add v8 bindings for async DB API in workers
4753 https://bugs.webkit.org/show_bug.cgi?id=39145
4755 * src/DatabaseObserver.cpp:
4756 We should check that we're on the context thread now, not the main
4758 (WebCore::DatabaseObserver::databaseOpened):
4759 (WebCore::DatabaseObserver::databaseModified):
4760 (WebCore::DatabaseObserver::databaseClosed):
4762 2010-05-27 Yury Semikhatsky <yurys@chromium.org>
4764 Reviewed by Pavel Feldman.
4766 Resume script execution if user tries to navigate to another URL
4767 https://bugs.webkit.org/show_bug.cgi?id=39842
4769 * src/WebDevToolsAgentImpl.cpp:
4771 (WebKit::WebDevToolsAgentImpl::didNavigate):
4773 2010-05-27 Zhenyao Mo <zmo@google.com>
4775 Reviewed by Dimitri Glazkov.
4777 Implement lazy clearing of renderbuffers
4778 https://bugs.webkit.org/show_bug.cgi?id=36248
4780 * src/WebGraphicsContext3DDefaultImpl.cpp:
4781 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Clear WebGL internal buffers.
4783 2010-05-26 Roland Steiner <rolandsteiner@chromium.org>
4785 Reviewed by NOBODY (layout test crashing fix).
4787 Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
4788 https://bugs.webkit.org/show_bug.cgi?id=39811
4790 Initialize the pluginIndex field (quick fix).
4792 Tests: covered by fast/dom/prototype-inheritance-2.html
4793 (crashed under Chromium Linux and Windows)
4795 * src/WebPluginListBuilderImpl.cpp:
4796 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
4798 2010-05-26 Anders Carlsson <andersca@apple.com>
4800 Reviewed by Darin Adler.
4802 Clean up MimeClassInfo and PluginInfo
4803 https://bugs.webkit.org/show_bug.cgi?id=39700
4805 Update for WebCore changes.
4807 * src/WebPluginListBuilderImpl.cpp:
4808 (WebKit::WebPluginListBuilderImpl::addPlugin):
4809 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
4810 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
4811 * src/WebPluginListBuilderImpl.h:
4812 (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
4814 2010-05-26 Jeremy Orlow <jorlow@chromium.org>
4816 Unreviewed chromium build fix
4817 https://bugs.webkit.org/show_bug.cgi?id=39739
4819 The backwards compat function needs to take in a WebSecurityOrigin
4820 instead of a WebString.
4822 * public/WebIndexedDatabase.h:
4823 (WebKit::WebIndexedDatabase::open):
4825 2010-05-26 Jeremy Orlow <jorlow@chromium.org>
4827 Reviewed by Darin Fisher.
4829 Implement WebDOMStorageList and make WebIDBDatabase use it
4830 https://bugs.webkit.org/show_bug.cgi?id=39731
4833 * public/WebDOMStringList.h: Added.
4834 (WebKit::WebDOMStringList::~WebDOMStringList):
4835 (WebKit::WebDOMStringList::WebDOMStringList):
4836 (WebKit::WebDOMStringList::operator=):
4837 * public/WebIDBDatabase.h:
4838 (WebKit::WebIDBDatabase::objectStores):
4839 * src/IDBDatabaseProxy.cpp:
4840 (WebCore::IDBDatabaseProxy::objectStores):
4841 * src/WebDOMStringList.cpp: Added.
4842 (WebKit::WebDOMStringList::reset):
4843 (WebKit::WebDOMStringList::assign):
4844 (WebKit::WebDOMStringList::append):
4845 (WebKit::WebDOMStringList::length):
4846 (WebKit::WebDOMStringList::item):
4847 (WebKit::WebDOMStringList::WebDOMStringList):
4848 (WebKit::WebDOMStringList::operator=):
4849 (WebKit::WebDOMStringList::operator WTF::PassRefPtr<WebCore::DOMStringList>):
4850 * src/WebIDBDatabaseImpl.cpp:
4851 (WebKit::WebIDBDatabaseImpl::objectStores):
4852 * src/WebIDBDatabaseImpl.h:
4854 2010-05-24 Jeremy Orlow <jorlow@chromium.org>
4856 Reviewed by Steve Block.
4858 Add IDBDatabase's attributes
4859 https://bugs.webkit.org/show_bug.cgi?id=39602
4861 Plumbing to hook up the synchronous attribute requests
4864 * public/WebIDBDatabase.h:
4865 (WebKit::WebIDBDatabase::name):
4866 (WebKit::WebIDBDatabase::description):
4867 (WebKit::WebIDBDatabase::version):
4868 (WebKit::WebIDBDatabase::objectStores):
4869 * src/IDBDatabaseProxy.cpp:
4870 (WebCore::IDBDatabaseProxy::name):
4871 (WebCore::IDBDatabaseProxy::description):
4872 (WebCore::IDBDatabaseProxy::version):
4873 (WebCore::IDBDatabaseProxy::objectStores):
4874 * src/IDBDatabaseProxy.h:
4875 * src/WebIDBDatabaseImpl.cpp:
4876 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
4877 (WebKit::WebIDBDatabaseImpl::name):
4878 (WebKit::WebIDBDatabaseImpl::description):
4879 (WebKit::WebIDBDatabaseImpl::version):
4880 (WebKit::WebIDBDatabaseImpl::objectStores):
4881 * src/WebIDBDatabaseImpl.h:
4883 2010-05-24 Dirk Pranke <dpranke@chromium.org>
4885 Reviewed by Dimitri Glazkov.
4887 Re-commit r58765 - it had been rolled out to see if it was causing
4888 a perf regression (in r59787 and r59789), but that does not seem to
4891 * public/WebNotification.h:
4892 * src/WebNotification.cpp:
4893 (WebKit::WebNotification::dir):
4894 (WebKit::WebNotification::replaceId):
4896 2010-05-25 Brett Wilson <brettw@chromium.org>
4898 Reviewed by Darin Fisher.
4900 Remove obsolete code for Mac & Windows plugin creation in the Chromium
4901 port. This non-Windows code was to prevent a crash which we no longer
4902 seem to have, and it is preventing other types of plugins from working.
4903 https://bugs.webkit.org/show_bug.cgi?id=39684
4905 * src/FrameLoaderClientImpl.cpp:
4906 (WebKit::FrameLoaderClientImpl::createPlugin):
4908 2010-05-25 Kent Tamura <tkent@chromium.org>
4910 Reviewed by Dimitri Glazkov.
4912 [DRT/Chromium] Enable 3D_CANVAS, FILTERS, METER_TAG and PROGRESS_TAG
4913 https://bugs.webkit.org/show_bug.cgi?id=39652
4915 3D_CANVAS and FILTERS have been enabled for Chromium tree
4916 build. They fix dozens of unexpected test results in a case of
4918 Enable METER_TAG and PROGRESS_TAG too because they will be enabled
4919 in Chromium tree in the near future.
4923 2010-05-25 Vangelis Kokkevis <vangelis@chromium.org>
4925 Reviewed by Darin Fisher.
4927 The GraphicsContext that serves as a backing store for the root layer
4928 updates when doing accelerated compositing is now stored in LayerRendererChromium
4929 instead of the Layer itself. Updating code in WebViewImpl to reflect
4931 https://bugs.webkit.org/show_bug.cgi?id=39640
4933 * src/WebViewImpl.cpp:
4934 (WebKit::WebViewImpl::updateRootLayerContents):
4936 2010-05-24 Yury Semikhatsky <yurys@chromium.org>
4938 Reviewed by Pavel Feldman.
4940 ScriptDebugServer is now implemented as DebugEventListener which means it doesn't
4941 depend on v8 debugging protocol, instead it uses ExecState to collect debugging
4942 info and pass it to the listeners.
4944 New implementation of ScriptDebugServer uses methods provided by client to dispatch
4945 its messages while JS is paused(previously the messages was dispatched in a callback
4946 passed to v8 along with DebugEventHandler).
4948 Pause command is dispatched on IO thread.
4950 https://bugs.webkit.org/show_bug.cgi?id=39594
4952 * public/WebDevToolsAgentClient.h:
4953 (WebKit::WebDevToolsAgentClient::ClientMessageLoop::~ClientMessageLoop):
4954 (WebKit::WebDevToolsAgentClient::createClientMessageLoop): Returns an object that allows to run
4955 nested client message loop while script execution is paused on a breakpoint.
4956 * src/DebuggerAgentManager.cpp:
4957 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
4958 * src/DebuggerAgentManager.h:
4959 * src/WebDevToolsAgentImpl.cpp:
4961 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
4962 (WebKit::WebDevToolsAgentImpl::attach):
4963 * src/js/DebuggerScript.js:
4964 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
4965 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
4966 (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
4967 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
4968 * src/js/InspectorControllerImpl.js:
4969 (devtools.InspectorBackendImpl):
4970 (else.devtools.InspectorBackendImpl.prototype.pauseInDebugger): Pause command should be handled on IO
4971 thread so that script can be paused even if it's in an infinite loop.
4973 2010-05-25 Yury Semikhatsky <yurys@chromium.org>
4975 Reviewed by Pavel Feldman.
4977 Add memory graph to Timeline overview pane.
4979 https://bugs.webkit.org/show_bug.cgi?id=37879
4981 * src/js/devTools.css:
4982 (.timeline-category-statusbar-item input):
4984 2010-05-24 Tony Chang <tony@chromium.org>
4986 Reviewed by David Levin.
4988 [chromium] Fix zoom tests after r60104
4989 https://bugs.webkit.org/show_bug.cgi?id=39645
4991 m_zoomFactor moved from Frame to FrameView. FrameView has separate
4992 notions of page zoom and text zoom. In my hurried compile fix, I
4993 assumed that m_zoomFactor was for page zoom, but it's not always.
4995 * src/WebViewImpl.cpp:
4996 (WebKit::WebViewImpl::setZoomLevel):
4998 2010-05-24 Kent Tamura <tkent@chromium.org>
5000 Unreviewed. Sort features.
5004 2010-05-24 Kent Tamura <tkent@chromium.org>
5006 Reviewed by Dimitri Glazkov.
5008 [DRT/Chromium] Import layout_test_helper for Windows
5009 https://bugs.webkit.org/show_bug.cgi?id=39581
5011 * WebKit.gyp: Add a build rule for LayoutTestHelper.exe for Windows.
5013 2010-05-24 Marcus Bulach <bulach@chromium.org>
5015 Reviewed by Kent Tamura.
5017 [chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
5018 https://bugs.webkit.org/show_bug.cgi?id=39587
5020 * public/WebGeolocationServiceMock.h:
5021 * src/WebGeolocationServiceMock.cpp:
5022 (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
5023 (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
5024 (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
5025 (WebKit::WebGeolocationServiceMockImpl::attachBridge):
5026 (WebKit::WebGeolocationServiceMockImpl::detachBridge):
5028 2010-05-24 Tony Chang <tony@chromium.org>
5030 Reviewed by Kent Tamura.
5032 [chromium] setup fonts on chromium linux DRT
5033 https://bugs.webkit.org/show_bug.cgi?id=39644
5037 2010-05-24 Tony Chang <tony@chromium.org>
5039 Not reviewed, build fix.
5041 Fix the chromium compile due to pageZoomFactor refactoring.
5043 * src/WebViewImpl.cpp:
5044 (WebKit::WebViewImpl::setZoomLevel):
5046 2010-05-24 Darin Adler <darin@apple.com>
5048 Reviewed by Eric Seidel.
5050 Move view-related functions from Frame to FrameView
5051 https://bugs.webkit.org/show_bug.cgi?id=39366
5053 * src/WebViewImpl.cpp:
5054 (WebKit::WebViewImpl::setZoomLevel): Call setZoomLevel on FrameView.
5056 2010-05-24 Anders Carlsson <andersca@apple.com>
5058 Attempt to fix the Chromium build.
5060 * src/WebViewImpl.cpp:
5062 2010-05-21 Tony Chang <tony@chromium.org>
5064 Reviewed by Ojan Vafai.
5066 [chromium] if keydown is prevented, don't update the IME and clear the IME state
5067 https://bugs.webkit.org/show_bug.cgi?id=39475
5069 * src/WebViewImpl.cpp:
5070 (WebKit::WebViewImpl::handleCompositionEvent):
5072 2010-05-23 Roman Gershman <romange@google.com>
5074 Reviewed by Darin Fisher.
5076 [Chromium] Suggestion popup is not closed when the view is scrolled.
5077 https://bugs.webkit.org/show_bug.cgi?id=38640
5079 This bug appears on both Windows and Linux platforms.
5080 Mac OS, however handles window messages differently and
5081 closes popup menu in RenderWidgetHostViewMac::Destroy().
5083 No tests were added because test_shell does not support suggestion
5086 * src/ChromeClientImpl.cpp:
5087 (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
5088 (WebKit::ChromeClientImpl::scroll):
5090 2010-05-23 Marcus Bulach <bulach@chromium.org>
5092 Reviewed by Kent Tamura.
5094 [chromium] Adds Geolocation support to DumpRenderTree.
5095 https://bugs.webkit.org/show_bug.cgi?id=39440
5097 Existing LayoutTests/fast/dom/Geolocation/* should pass.
5099 * public/WebGeolocationServiceMock.h:
5100 * src/WebGeolocationServiceMock.cpp:
5101 (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
5102 (WebKit::WebGeolocationServiceMock::requestPermissionForFrame):
5103 (WebKit::WebGeolocationServiceMock::attachBridge):
5104 (WebKit::WebGeolocationServiceMock::detachBridge):
5106 2010-05-22 Kent Tamura <tkent@chromium.org>
5108 Reviewed by Dimitri Glazkov.
5110 [DRT/Chromium] Link resources and load Ahem font for Windows
5111 https://bugs.webkit.org/show_bug.cgi?id=39473
5114 Add net and webkit resources for Windows.
5115 Copy AHEM____.TTF to DumpRenderTree.exe directory.
5117 2010-05-21 Steve Block <steveblock@google.com>
5119 Reviewed by Jeremy Orlow.
5121 Add DeviceOrientation and DeviceOrientationClient
5122 https://bugs.webkit.org/show_bug.cgi?id=39479
5124 * src/WebViewImpl.cpp:
5125 (WebKit::WebViewImpl::WebViewImpl):
5127 2010-05-20 Viet-Trung Luu <viettrungluu@chromium.org>
5129 Reviewed by Darin Fisher.
5131 [Chromium] Don't rely on focused node to route mouse events to plugins.
5132 https://bugs.webkit.org/show_bug.cgi?id=39375
5133 http://crbug.com/43935
5135 On mouse down, do a hit test and check if a plugin was hit. If so, then
5136 save the node for future mouse events (until mouse up or capture lost).
5138 * src/WebViewImpl.cpp:
5139 (WebKit::WebViewImpl::WebViewImpl):
5140 (WebKit::WebViewImpl::mouseDown):
5141 (WebKit::WebViewImpl::handleInputEvent):
5142 (WebKit::WebViewImpl::mouseCaptureLost):
5143 * src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode.
5145 2010-05-20 Dominic Mazzoni <dmazzoni@chromium.org>
5147 Reviewed by Darin Fisher.
5149 Add headingLevel and setFocused methods.
5151 https://bugs.webkit.org/show_bug.cgi?id=39238
5153 * public/WebAccessibilityObject.h:
5154 * src/WebAccessibilityObject.cpp:
5155 (WebKit::WebAccessibilityObject::headingLevel):
5156 (WebKit::WebAccessibilityObject::setFocused):
5158 2010-05-20 Zhenyao Mo <zmo@google.com>
5160 Reviewed by Dimitri Glazkov.
5162 Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
5163 https://bugs.webkit.org/show_bug.cgi?id=39077
5165 * src/WebGraphicsContext3DDefaultImpl.cpp:
5166 (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums.
5168 2010-05-20 Abhishek Arya <inferno@chromium.org>
5170 Reviewed by Adam Barth.
5172 Added method to WebSecurityOrigin for invoking
5173 SecurityOrigin::canAccessPasswordManager.
5174 https://bugs.webkit.org/show_bug.cgi?id=38916
5176 * public/WebSecurityOrigin.h:
5177 * src/WebSecurityOrigin.cpp:
5178 (WebKit::WebSecurityOrigin::canAccessPasswordManager):
5180 2010-05-20 Darin Fisher <darin@chromium.org>
5182 Reviewed by Nate Chapin.
5184 [chromium] Provide a way to catch exceptions thrown while interacting
5185 with a NPObject via WebBindings methods.
5186 https://bugs.webkit.org/show_bug.cgi?id=39378
5188 * public/WebBindings.h:
5189 * src/WebBindings.cpp:
5190 (WebKit::WebBindings::pushExceptionHandler):
5191 (WebKit::WebBindings::popExceptionHandler):
5193 2010-05-20 Jian Li <jianli@chromium.org>
5195 Reviewed by David Levin.
5197 Rename GenericWorkerTask.h to CrossThreadTask.h and move it to dom directory.
5198 https://bugs.webkit.org/show_bug.cgi?id=39135
5200 * src/WebSharedWorkerImpl.cpp:
5201 * src/WebWorkerBase.cpp:
5202 * src/WebWorkerClientImpl.cpp:
5203 * src/WebWorkerImpl.cpp:
5205 2010-05-20 Martin Robinson <mrobinson@webkit.org>
5207 Reviewed by Ojan Vafai.
5209 Expose the editing behavior setting in DRT to test all editing code paths
5210 https://bugs.webkit.org/show_bug.cgi?id=38603
5212 * public/WebSettings.h:
5213 (WebKit::WebSettings::): Added an enum for EditingBehavior types.
5214 * src/WebSettingsImpl.cpp:
5215 (WebKit::WebSettingsImpl::setEditingBehavior): Added.
5216 * src/WebSettingsImpl.h:
5218 2010-05-19 Vangelis Kokkevis <vangelis@chromium.org>
5220 Reviewed by Darin Fisher.
5222 Modifying WebViewImpl to support new hardware compositing for
5223 LayerChromium layers.
5224 https://bugs.webkit.org/show_bug.cgi?id=38783
5226 * src/WebViewImpl.cpp:
5227 (WebKit::WebViewImpl::paint):
5228 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5229 (WebKit::WebViewImpl::updateRootLayerContents):
5230 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
5232 2010-05-19 Tony Chang <tony@chromium.org>
5234 Reviewed by Kent Tamura.
5236 [chromium] disable spelling suggestions if spellcheck=false
5237 https://bugs.webkit.org/show_bug.cgi?id=39402
5239 This is the Chromium fix for bug 25639 that was fixed in the
5240 other ports in r59585.
5242 * src/ContextMenuClientImpl.cpp:
5243 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5245 2010-05-19 Darin Fisher <darin@chromium.org>
5247 Revert r59790 due to failing Chromium npruntime tests.
5249 * public/WebBindings.h:
5250 * src/WebBindings.cpp:
5252 2010-05-19 Darin Fisher <darin@chromium.org>
5254 Reviewed by Nate Chapin.
5256 [chromium] Provide a way to catch exceptions thrown while interacting
5257 with a NPObject via WebBindings methods.
5258 https://bugs.webkit.org/show_bug.cgi?id=39378
5260 * public/WebBindings.h:
5261 * src/WebBindings.cpp:
5262 (WebKit::WebBindings::pushExceptionHandler):
5263 (WebKit::WebBindings::popExceptionHandler):
5265 2010-05-19 Dirk Pranke <dpranke@chromium.org>
5267 Try again to roll out r58765.
5269 * public/WebNotification.h:
5270 * src/WebNotification.cpp:
5272 2010-05-19 Sheriff Bot <webkit.review.bot@gmail.com>
5274 Unreviewed, rolling out r59782.
5275 http://trac.webkit.org/changeset/59782
5276 https://bugs.webkit.org/show_bug.cgi?id=39379
5278 broke DRT build (Requested by dpranke on #webkit).
5280 * public/WebNotification.h:
5281 * src/WebNotification.cpp:
5282 (WebKit::WebNotification::dir):
5283 (WebKit::WebNotification::replaceId):
5285 2010-05-19 Jian Li <jianli@chromium.org>
5287 Reviewed by Darin Fisher.
5289 Remove obsolete ChromiumBridge code that routes FileSystem calls to WebKitClient.
5290 https://bugs.webkit.org/show_bug.cgi?id=39332
5292 * public/WebKitClient.h:
5293 * src/ChromiumBridge.cpp:
5294 (WebCore::ChromiumBridge::fileExists):
5295 (WebCore::ChromiumBridge::deleteFile):
5296 (WebCore::ChromiumBridge::deleteEmptyDirectory):
5297 (WebCore::ChromiumBridge::getFileSize):
5298 (WebCore::ChromiumBridge::getFileModificationTime):
5299 (WebCore::ChromiumBridge::directoryName):
5300 (WebCore::ChromiumBridge::pathByAppendingComponent):
5301 (WebCore::ChromiumBridge::makeAllDirectories):
5302 (WebCore::ChromiumBridge::getAbsolutePath):
5303 (WebCore::ChromiumBridge::isDirectory):
5304 (WebCore::ChromiumBridge::filePathToURL):
5306 2010-05-19 Marcus Bulach <bulach@chromium.org>
5308 Reviewed by Steve Block.
5310 [chromium] Adds supports for layout tests using GeolocationServiceMock.
5311 https://bugs.webkit.org/show_bug.cgi?id=39081
5313 Allows injection of GeolocationServiceMock factory.
5314 Tests: existing fast/dom/Geolocation/*
5317 * public/WebGeolocationServiceMock.h: Added.
5318 * src/WebGeolocationServiceMock.cpp: Added.
5319 (WebCore::GeolocationServiceChromiumMock::create):
5320 (WebCore::GeolocationServiceChromiumMock::GeolocationServiceChromiumMock):
5321 (WebCore::GeolocationServiceChromiumMock::startUpdating):
5322 (WebCore::GeolocationServiceChromiumMock::stopUpdating):
5323 (WebCore::GeolocationServiceChromiumMock::lastPosition):
5324 (WebCore::GeolocationServiceChromiumMock::lastError):
5325 (WebCore::GeolocationServiceChromiumMock::geolocationServicePositionChanged):
5326 (WebCore::GeolocationServiceChromiumMock::geolocationServiceErrorOccurred):
5327 (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
5328 (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
5330 2010-05-17 Jeremy Orlow <jorlow@chromium.org>
5332 Reviewed by Darin Fisher.
5334 Hook Chromium's WebIndexedDatabaseImpl up to IndexedDatabaseImpl
5335 https://bugs.webkit.org/show_bug.cgi?id=39216
5337 Web____Impl is for re-entering the WebKit layer from the browser layer.
5338 Thus the previous IDBCallbacksProxy was mis-named (and should have been
5339 WebIDBCallbacksImpl). This patch renames it and then implements the
5340 proper proxy (which is for going from WebCore to WebKit).
5342 Also change using security origin strings to using WebSecurityOrigin
5345 This patch also implements the glue between WebIndexedDatabaseImpl and
5346 IndexedDatabaseImpl.
5349 * src/IDBCallbacksProxy.cpp:
5350 (WebCore::IDBCallbacksProxy::create):
5351 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
5352 (WebCore::IDBCallbacksProxy::onError):
5353 (WebCore::IDBCallbacksProxy::onSuccess):
5354 * src/IDBCallbacksProxy.h:
5355 * src/IndexedDatabaseProxy.cpp:
5356 (WebCore::IndexedDatabaseProxy::open):
5357 * src/IndexedDatabaseProxy.h:
5358 * src/WebIDBCallbacksImpl.cpp: Added.
5359 (WebCore::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
5360 (WebCore::WebIDBCallbacksImpl::~WebIDBCallbacksImpl):
5361 (WebCore::WebIDBCallbacksImpl::onError):
5362 (WebCore::WebIDBCallbacksImpl::onSuccess):
5363 * src/WebIDBCallbacksImpl.h: Added.
5364 * src/WebIDBDatabaseImpl.cpp: Added.
5365 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
5366 (WebKit::WebIDBDatabaseImpl::~WebIDBDatabaseImpl):
5367 * src/WebIDBDatabaseImpl.h: Added.
5368 * src/WebIndexedDatabaseImpl.cpp:
5369 (WebKit::WebIndexedDatabaseImpl::WebIndexedDatabaseImpl):
5370 (WebKit::WebIndexedDatabaseImpl::open):
5371 * src/WebIndexedDatabaseImpl.h:
5373 2010-05-18 Kent Tamura <tkent@chromium.org>
5375 Reviewed by Dimitri Glazkov.
5377 [DRT/Chromium] Fix a repaint issue and textarea tests
5378 https://bugs.webkit.org/show_bug.cgi?id=39054
5380 * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
5381 and textAreaResizeCorner.png
5382 * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
5384 2010-05-18 Tony Chang <tony@chromium.org>
5386 Reviewed by Ojan Vafai.
5388 [chromium] ignore IME events if the keydown event was prevented
5389 https://bugs.webkit.org/show_bug.cgi?id=37692
5391 * src/WebViewImpl.cpp:
5392 (WebKit::WebViewImpl::handleCompositionEvent):
5394 2010-05-18 MORITA Hajime <morrita@google.com>
5396 Reviewed by Kent Tamura.
5398 [Chromium] Windows: Determinate progress bar should have glossy overlay
5399 https://bugs.webkit.org/show_bug.cgi?id=39269
5401 Changed WebThemeEngine::drawProgressBar() signature to delegate
5402 theme implementation detail to the engine.
5403 Chromium side will come to http://crbug.com/44430.
5405 No new tests, animation effect can be confirmed only manually.
5407 * public/WebThemeEngine.h:
5408 (WebKit::WebThemeEngine::paintProgressBar):
5409 * src/ChromiumBridge.cpp:
5410 (WebCore::ChromiumBridge::paintProgressBar):
5412 2010-05-16 Mike Belshe <mbelshe@chromium.org>
5414 Reviewed by Dimitri Glazkov.
5416 Add a flag to the ResourceResponse for tracking if a request was
5417 fetched via the TLS/Next-Protocol-Negotiation mechanism.
5419 Also cleaned up the style in ResourceResponse to group the flags
5420 together (and alphabetically) and hopefully improve readability of
5423 https://bugs.webkit.org/show_bug.cgi?id=39078
5425 * public/WebURLResponse.h:
5426 * src/WebURLResponse.cpp:
5427 (WebKit::WebURLResponse::wasNpnNegotiated):
5428 (WebKit::WebURLResponse::setWasNpnNegotiated):
5430 2010-05-16 Eric Seidel <eric@webkit.org>
5432 Unreviewed, rolling out r59571.
5433 http://trac.webkit.org/changeset/59571
5434 https://bugs.webkit.org/show_bug.cgi?id=39054
5436 Broke Cr Win, but we didn't notice immediately due to
5437 https://bugs.webkit.org/show_bug.cgi?id=38926. It's possible
5438 that this didn't actually break Cr Win, but rather that bug
5439 38926 necessitates a clean compile after this and sucessive
5440 checkins only produced a partial recompile and thus failed to
5447 2010-05-16 Sheriff Bot <webkit.review.bot@gmail.com>
5449 Unreviewed, rolling out r59574.
5450 http://trac.webkit.org/changeset/59574
5451 https://bugs.webkit.org/show_bug.cgi?id=39176
5453 Supposedly broke cr-win, but the errors seems somewhat
5454 unrelated (Requested by abarth on #webkit).
5456 * public/WebURLResponse.h:
5457 * src/WebURLResponse.cpp:
5459 2010-05-16 Mike Belshe <mbelshe@chromium.org>
5461 Reviewed by Dimitri Glazkov.
5463 Add a flag to the ResourceResponse for tracking if a request was
5464 fetched via the TLS/Next-Protocol-Negotiation mechanism.
5466 Also cleaned up the style in ResourceResponse to group the flags
5467 together (and alphabetically) and hopefully improve readability of
5470 https://bugs.webkit.org/show_bug.cgi?id=39078
5472 * public/WebURLResponse.h:
5473 * src/WebURLResponse.cpp:
5474 (WebKit::WebURLResponse::wasNpnNegotiated):
5475 (WebKit::WebURLResponse::setWasNpnNegotiated):
5477 2010-05-16 Kent Tamura <tkent@chromium.org>
5479 Reviewed by Dimitri Glazkov.
5481 [DRT/Chromium] Fix repaint, WebGL, textarea tests
5482 https://bugs.webkit.org/show_bug.cgi?id=39054
5484 * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
5485 and textAreaResizeCorner.png
5486 * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
5487 * features.gypi: Enable ENABLE_3D_CANVAS.
5489 2010-05-15 Darin Fisher <darin@chromium.org>
5491 Reviewed by Adam Barth.
5493 [chromium] Expose element accessor on WebPluginContainer
5494 https://bugs.webkit.org/show_bug.cgi?id=39152
5496 * public/WebPluginContainer.h:
5497 * src/WebPluginContainerImpl.cpp:
5498 (WebKit::WebPluginContainerImpl::element):
5499 * src/WebPluginContainerImpl.h:
5501 2010-05-15 Jochen Eisinger <jochen@chromium.org>
5503 Reviewed by Dmitry Titov.
5505 Implement canEstablishDatabase call for workers.
5506 https://bugs.webkit.org/show_bug.cgi?id=38742
5508 * public/WebCommonWorkerClient.h:
5509 * src/DatabaseObserver.cpp:
5510 (WebCore::DatabaseObserver::canEstablishDatabase):
5511 * src/WebWorkerBase.cpp:
5512 (WebKit::WebWorkerBase::allowDatabase):
5513 (WebKit::WebWorkerBase::allowDatabaseTask):
5514 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
5515 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::cancel):
5516 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::result):
5517 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::signalCompleted):
5518 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::didComplete):
5519 * src/WebWorkerBase.h:
5520 * src/WebWorkerClientImpl.h:
5521 (WebKit::WebWorkerClientImpl::allowDatabase):
5523 2010-05-15 Jay Civelli <jcivelli@chromium.org>
5525 Reviewed by Darin Fisher.
5527 [chromium] Adding a notification on WebViewClient when a new
5529 https://bugs.webkit.org/show_bug.cgi?id=38508
5531 * public/WebViewClient.h:
5532 (WebKit::WebViewClient::focusedNodeChanged):
5533 * src/ChromeClientImpl.cpp:
5534 (WebKit::ChromeClientImpl::focusedNodeChanged):
5536 2010-05-15 Evan Stade <estade@chromium.org>
5538 Reviewed by Adam Barth.
5540 [chromium] "Check spelling in this field" context menu item always checked
5541 https://bugs.webkit.org/show_bug.cgi?id=39018
5543 Initialize all POD members of WebContextMenuData in a default
5546 No tests because this code would need some major refactoring to unit
5547 test, and AFAICT it's not testable via layout tests. See note at top
5548 of getCustomMenuFromDefaultItems.
5550 * public/WebContextMenuData.h:
5551 (WebKit::WebContextMenuData::WebContextMenuData):
5552 * src/ContextMenuClientImpl.cpp:
5553 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5555 2010-05-14 Darin Fisher <darin@chromium.org>
5557 Reviewed by Dimitri Glazkov.
5559 [chromium] Remove temporary relative include paths
5560 https://bugs.webkit.org/show_bug.cgi?id=38776
5562 * public/WebPasswordAutocompleteListener.h:
5563 * src/FrameLoaderClientImpl.h:
5564 * src/PlatformMessagePortChannel.h:
5565 * src/WebAnimationControllerImpl.h:
5566 * src/WebBindings.cpp:
5567 * src/WebDataSourceImpl.h:
5568 * src/WebDevToolsAgentPrivate.h:
5569 * src/WebFileChooserCompletionImpl.h:
5570 * src/WebFrameImpl.h:
5571 * src/WebInputEventConversion.h:
5572 * src/WebPluginContainerImpl.h:
5573 * src/WebPluginLoadObserver.h:
5574 * src/WebPopupMenuImpl.h:
5575 * src/WebSettingsImpl.h:
5576 * src/WebViewImpl.h:
5577 * src/WebWorkerClientImpl.h:
5578 * src/WrappedResourceRequest.h:
5579 * src/WrappedResourceResponse.h:
5581 2010-05-14 Anton Muhin <antonm@chromium.org>
5583 Reviewed by Darin Fisher.
5585 [Chromium] Consider implementing addOriginAccessWhitelistEntry method
5586 https://bugs.webkit.org/show_bug.cgi?id=37578
5588 Remove deprecated methods.
5590 * public/WebSecurityPolicy.h:
5591 * src/WebSecurityPolicy.cpp:
5593 2010-05-14 Kenneth Russell <kbr@google.com>
5595 Reviewed by Darin Adler.
5597 Rename WebGLArray types to TypedArray types
5598 https://bugs.webkit.org/show_bug.cgi?id=39091
5600 Extended functionality of do-webcore-rename script and used it to
5601 rename the WebGLArray types to the TypedArray naming convention.
5602 The only source files which were touched by hand, and which are
5603 being manually reviewed, are:
5604 WebCore/page/DOMWindow.idl
5605 WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
5606 WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
5607 WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
5608 These only needed to be touched to update the aliases between the
5609 WebGLArray and TypedArray names introduced in bug 39036. (It was
5610 not feasible to have do-webcore-rename handle this as it would
5611 introduce circular renamings.) These aliases will be removed in
5612 roughly a month once existing WebGL content has been updated.
5614 No new tests; covered under existing WebGL tests. Updated
5615 constructed-objects-prototypes and prototype-inheritance-2 tests.
5616 Ran all layout tests in Safari and all WebGL tests in Chromium.
5618 * src/GraphicsContext3D.cpp:
5619 (WebCore::GraphicsContext3DInternal::bufferData):
5620 (WebCore::GraphicsContext3DInternal::bufferSubData):
5622 2010-05-14 Jochen Eisinger <jochen@chromium.org>
5624 Reviewed by Eric Seidel.
5626 Make ImageDiff depend on webkit (again).
5627 https://bugs.webkit.org/show_bug.cgi?id=39000
5631 2010-05-14 James Simonsen <simonjam+webkit@google.com>
5633 Reviewed by Darin Fisher.
5635 [chromium] Expose volume through WebMediaPlayerClient
5636 https://bugs.webkit.org/show_bug.cgi?id=38947
5638 * public/WebMediaPlayerClient.h:
5639 * src/WebMediaPlayerClientImpl.cpp:
5640 (WebKit::WebMediaPlayerClientImpl::volume):
5641 * src/WebMediaPlayerClientImpl.h:
5643 2010-05-14 Tony Gentilcore <tonyg@chromium.org>
5645 Reviewed by Darin Fisher.
5647 [chromium] Update chromium port to send/receive cached metadata
5648 https://bugs.webkit.org/show_bug.cgi?id=38665
5650 * public/WebKitClient.h:
5651 (WebKit::WebKitClient::cacheMetadata):
5652 * public/WebURLLoaderClient.h:
5653 (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
5654 * public/WebURLResponse.h:
5655 * src/ChromiumBridge.cpp:
5656 (WebCore::ChromiumBridge::cacheMetadata):
5657 * src/ResourceHandle.cpp:
5658 (WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
5659 (WebCore::ResourceHandle::cacheMetadata):
5660 * src/WebURLResponse.cpp:
5661 (WebKit::WebURLResponse::responseTime):
5662 (WebKit::WebURLResponse::setResponseTime):
5664 2010-05-13 Tony Chang <tony@chromium.org>
5666 Reviewed by Kent Tamura.
5668 [chromium] enable DRT build in chromium (for the last time)
5669 https://bugs.webkit.org/show_bug.cgi?id=39109
5673 2010-05-13 Pavel Feldman <pfeldman@chromium.org>
5675 Reviewed by Yury Semikhatsky.
5677 Web Inspector: main inspector toolbar takes noticeable time to expand.
5679 https://bugs.webkit.org/show_bug.cgi?id=39013
5681 * src/js/DevTools.js:
5682 (devtools.domContentLoaded):
5684 2010-05-12 Hans Wennborg <hans@chromium.org>
5686 Reviewed by Jeremy Orlow.
5688 [Chromium] Remove transitional functions from WebStorageNamespace and WebViewClient.
5689 https://bugs.webkit.org/show_bug.cgi?id=38985
5691 These functions are no longer called as of Chromium revision 47020.
5692 This is part of resolving http://crbug.com/42740
5694 * public/WebStorageNamespace.h:
5695 * public/WebViewClient.h:
5696 (WebKit::WebViewClient::createSessionStorageNamespace):
5698 2010-05-12 Tony Chang <tony@chromium.org>
5700 Reviewed by Kent Tamura.
5702 [chromium] disable DRT in chromium again
5703 https://bugs.webkit.org/show_bug.cgi?id=39049
5707 2010-05-12 John Abd-El-Malek <jam@chromium.org>
5709 Reviewed by Darin Fisher.
5711 [chromium] Disable WebScrollbarImpl's scrollbar if it's not needed
5712 https://bugs.webkit.org/show_bug.cgi?id=39025
5714 * src/WebScrollbarImpl.cpp:
5715 (WebKit::WebScrollbarImpl::setLocation):
5716 (WebKit::WebScrollbarImpl::setDocumentSize):
5718 2010-05-12 Dumitru Daniliuc <dumi@chromium.org>
5720 Reviewed by Dimitri Glazkov.
5722 Removing the unnecessary dirfd parameter.
5723 https://bugs.webkit.org/show_bug.cgi?id=38869
5725 * public/WebKitClient.h:
5726 (WebKit::WebKitClient::databaseOpenFile):
5727 * src/ChromiumBridge.cpp:
5728 (WebCore::ChromiumBridge::databaseOpenFile):
5730 2010-05-12 Jeremy Orlow <jorlow@chromium.org>
5732 Reviewed by Steve Block.
5734 [Chromium] Pass the origin parameter for WebIndexedDatabase::open
5735 https://bugs.webkit.org/show_bug.cgi?id=38983
5737 * public/WebIndexedDatabase.h:
5738 * src/IndexedDatabaseProxy.cpp:
5739 (WebCore::IndexedDatabaseProxy::open):
5740 * src/WebIndexedDatabaseImpl.cpp:
5741 (WebKit::WebIndexedDatabaseImpl::open):
5742 * src/WebIndexedDatabaseImpl.h:
5744 2010-05-10 yael aharon <yael.aharon@nokia.com>
5746 Reviewed by Darin Adler.
5748 Support control attribute of HTMLLabelElement
5749 https://bugs.webkit.org/show_bug.cgi?id=38688
5751 Renamed HTMLLabelElement::correspondingControl to HTMLLabelElement::control
5753 * src/WebLabelElement.cpp:
5754 (WebKit::WebLabelElement::correspondingControl):
5756 2010-05-12 MORITA Hajime <morrita@google.com>
5758 Reviewed by Kent Tamura.
5760 [Chromium] Support HTML5 <progress> element on Windows.
5761 https://bugs.webkit.org/show_bug.cgi?id=37308
5763 Extended ChromiumBridge to handle progress bar painting,
5764 and added delegations to it.
5766 No new tests. Test cases should be shared with existing ones for
5767 progress element. Expectaions will be added after PROGRESS_TAG is
5768 enabled on Chromium tree.
5770 * public/WebThemeEngine.h:
5771 (WebKit::WebThemeEngine::paintProgressBar):
5772 * src/ChromiumBridge.cpp:
5773 (WebCore::ChromiumBridge::paintProgressBar):
5775 2010-05-12 Marcus Bulach <bulach@chromium.org>
5777 Reviewed by Steve Block.
5779 Attaches the geolocation bridge later on startUpdating().
5780 This prevents a page requesting permission when it has just accessed navigator.geolocation (without calling navigator.geolocation.getCurrentPosition/watchPosition).
5781 Note: when Geolocation::haveSuitableCachedPosition(), WebGeolocationServiceBridgeImpl::startUpdating() is not called,
5782 so we attach the bridge if needed at requestGeolocationPermissionForFrame().
5783 https://bugs.webkit.org/show_bug.cgi?id=38323
5784 http://crbug.com/42789
5786 * src/ChromeClientImpl.cpp:
5787 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
5788 * src/WebGeolocationServiceBridgeImpl.cpp:
5789 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
5790 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
5792 2010-05-12 Tony Chang <tony@chromium.org>
5794 Reviewed by Kent Tamura.
5796 [chromium] add DRT back to the chromium build
5797 https://bugs.webkit.org/show_bug.cgi?id=38978
5801 2010-05-11 Kent Tamura <tkent@chromium.org>
5803 Reviewed by Dimitri Glazkov.
5805 [DRT/Chromium] Apply recent changes of test_shell to DRT
5806 https://bugs.webkit.org/show_bug.cgi?id=38895
5808 * DEPS: Update Chromium revision to use the recent webkit_support change.
5809 * WebKit.gyp: Add JavaScriptCore/wtf to 'include' section.
5810 * src/WebGraphicsContext3D.cpp:
5811 Remove ENABLE(3D_CANVAS) to provide an empty implementation of
5812 WebGraphicsContext3D::createDefault().
5814 2010-05-11 Avi Drissman <avi@chromium.org>
5816 Reviewed by Darin Fisher.
5818 [Chromium] Pipe RTL info into WebPopupMenuInfo
5819 https://bugs.webkit.org/show_bug.cgi?id=38749
5821 * public/WebPopupMenuInfo.h:
5822 * src/ChromeClientImpl.cpp:
5823 (WebKit::ChromeClientImpl::getPopupMenuInfo):
5825 2010-05-11 David Holloway <dhollowa@chromium.org>
5827 Reviewed by Darin Fisher.
5829 [chromium] Add size method to WebInputElement class, providing same data
5830 as HTMLInputElement::size(). During form AutoFill Chromium needs to
5831 access the input element's size attribute in aid of form matching and
5834 https://bugs.webkit.org/show_bug.cgi?id=38825
5836 * public/WebInputElement.h:
5837 * src/WebInputElement.cpp:
5838 (WebKit::WebInputElement::size):
5840 2010-05-11 Nate Chapin <japhet@chromium.org>
5842 Reviewed by Adam Barth.
5844 Crash fix in WebPageSerializerImpl::serialize().
5846 https://bugs.webkit.org/show_bug.cgi?id=38543
5848 The relevant test is a test_shell_test in src.chromium.org, because neither
5849 DRT nor the Chromium webkit unit tests can currently cover the serializer
5852 * src/WebPageSerializerImpl.cpp:
5853 (WebKit::WebPageSerializerImpl::serialize): Check each frame's url before using it,
5854 since they are not guaranteed to be valid (e.g., if the frame was treated as a download).
5856 2010-05-11 Jian Li <jianli@chromium.org>
5858 Reviewed by Dmitry Titov.
5860 Expose FileReader interface.
5861 https://bugs.webkit.org/show_bug.cgi?id=38609
5863 * features.gypi: turn on building FileReader for Chromium.
5865 2010-05-10 Tony Chang <tony@chromium.org>
5867 Reviewed by Kent Tamura.
5869 [chromium] don't build DRT in chromium checkouts due to a circular gyp dependency
5870 https://bugs.webkit.org/show_bug.cgi?id=38889
5874 2010-05-10 John Abd-El-Malek <jam@chromium.org>
5876 Reviewed by Darin Fisher.
5878 [chromium] Add WebKitScrollbar interface to allow Chromium code to reuse the scrollbar code
5879 https://bugs.webkit.org/show_bug.cgi?id=38854
5881 * public/WebScrollbar.h: Added.
5882 (WebKit::WebScrollbar::):
5883 (WebKit::WebScrollbar::~WebScrollbar):
5884 * public/WebScrollbarClient.h: Added.
5885 * public/WebThemeEngine.h:
5886 * src/AssertMatchingEnums.cpp:
5887 * src/WebScrollbarImpl.cpp: Added.
5888 (WebKit::WebScrollbar::create):
5889 (WebKit::WebScrollbar::defaultThickness):
5890 (WebKit::WebScrollbarImpl::WebScrollbarImpl):
5891 (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
5892 (WebKit::WebScrollbarImpl::setLocation):
5893 (WebKit::WebScrollbarImpl::value):
5894 (WebKit::WebScrollbarImpl::setValue):
5895 (WebKit::WebScrollbarImpl::setDocumentSize):
5896 (WebKit::WebScrollbarImpl::scroll):
5897 (WebKit::WebScrollbarImpl::paint):
5898 (WebKit::WebScrollbarImpl::handleInputEvent):
5899 (WebKit::WebScrollbarImpl::onMouseDown):
5900 (WebKit::WebScrollbarImpl::onMouseUp):
5901 (WebKit::WebScrollbarImpl::onMouseMove):
5902 (WebKit::WebScrollbarImpl::onMouseLeave):
5903 (WebKit::WebScrollbarImpl::onMouseWheel):
5904 (WebKit::WebScrollbarImpl::onKeyDown):
5905 (WebKit::WebScrollbarImpl::valueChanged):
5906 (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
5907 (WebKit::WebScrollbarImpl::isActive):
5908 (WebKit::WebScrollbarImpl::scrollbarCornerPresent):
5909 (WebKit::WebScrollbarImpl::getTickmarks):
5910 * src/WebScrollbarImpl.h: Added.
5911 * src/WebViewImpl.cpp:
5912 (WebKit::WebViewImpl::scrollViewWithKeyboard):
5913 (WebKit::WebViewImpl::mapKeyCodeForScroll):
5914 * src/WebViewImpl.h:
5916 2010-05-10 Tony Gentilcore <tonyg@chromium.org>
5918 Reviewed by Adam Barth.
5920 Provide mechanism to cache metadata for a resource
5921 https://bugs.webkit.org/show_bug.cgi?id=37874
5923 * src/ResourceHandle.cpp:
5924 (WebCore::ResourceHandle::cacheMetadata):
5926 2010-05-10 Hans Wennborg <hans@chromium.org>
5928 Reviewed by Jeremy Orlow.
5930 [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace()
5931 https://bugs.webkit.org/show_bug.cgi?id=38750
5933 Put a per-origin quota on session storage since it is using memory in
5934 the browser process, and should not be allowed to grow arbitrarily
5935 large. See also http://trac.webkit.org/changeset/58828.
5937 * public/WebStorageNamespace.h:
5938 * public/WebViewClient.h:
5939 (WebKit::WebViewClient::createSessionStorageNamespace):
5940 * src/StorageNamespaceProxy.cpp:
5941 (WebCore::StorageNamespace::sessionStorageNamespace):
5944 2010-05-10 Jeremy Orlow <jorlow@chromium.org>
5946 Reviewed by Nate Chapin.
5948 Change IndexedDB to use events instead of callbacks
5949 https://bugs.webkit.org/show_bug.cgi?id=38594
5951 Change the glue here to match the changes I made in WebCore.
5954 * public/WebIDBCallbacks.h:
5955 * public/WebIndexedDatabase.h:
5956 * src/IDBCallbacksProxy.cpp: Added.
5957 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
5958 (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
5959 (WebCore::IDBCallbacksProxy::onError):
5960 (WebCore::IDBCallbacksProxy::onSuccess):
5961 * src/IDBCallbacksProxy.h:
5962 * src/IndexedDatabaseProxy.cpp:
5963 (WebCore::IndexedDatabaseProxy::open):
5964 * src/IndexedDatabaseProxy.h:
5965 * src/WebIndexedDatabaseImpl.cpp:
5966 (WebKit::WebIndexedDatabaseImpl::open):
5967 * src/WebIndexedDatabaseImpl.h:
5969 2010-05-08 Jens Alfke <snej@chromium.org>
5971 Reviewed by Darin Fisher.
5973 [chromium] WebFrame::registerPasswordListener shouldn't assert on duplicate listener.
5974 https://bugs.webkit.org/show_bug.cgi?id=38765
5976 * public/WebFrame.h:
5977 (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. Updated comment.
5978 * src/WebFrameImpl.cpp:
5979 (WebKit::WebFrameImpl::registerPasswordListener): Return false instead of asserting.
5980 * src/WebFrameImpl.h:
5981 (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool.
5983 2010-05-08 Michael Nordman <michaeln@google.com>
5985 Reviewed by Dmitry Titov.
5987 Add an additional parameter to the WebSharedWorker::startWorkerContext method
5988 to indicate which appcache the shared worker script resource was loaded from,
5989 and provide that value when calling out to chrome via this interface.
5990 https://bugs.webkit.org/show_bug.cgi?id=38605
5992 I'm keeping the old method around until patches can land in both repositories
5993 that make the old method obsolete and unneeded. There's a FIXME for that.
5995 Also somewhat related but independent change to propagate the runtime enabled
5996 flag thru to the page settings instance used by the 'shadow page'.
5998 * public/WebSharedWorker.h: Add the new param (but keep the old interface around for now too)
5999 (WebKit::WebSharedWorker::startWorkerContext):
6000 * src/SharedWorkerRepository.cpp: Provide the value when calling out to chrome.
6001 (WebCore::SharedWorkerScriptLoader::notifyFinished):
6002 * src/WebSharedWorkerImpl.cpp:
6003 (WebKit::WebSharedWorkerImpl::startWorkerContext):
6004 * src/WebSharedWorkerImpl.h:
6005 * src/WebWorkerBase.cpp: Propagate runtime enabled flag thru to the page settings.
6006 (WebKit::WebWorkerBase::initializeLoader):
6008 2010-05-07 Darin Fisher <darin@chromium.org>
6010 Fix build bustage. Update to Chromium code that avoids a bad
6011 dependency from net/ on chrome/.
6015 2010-05-07 Darin Fisher <darin@chromium.org>
6017 Fix build bustage. Update to Chromium code that no longer uses
6022 2010-05-07 Darin Fisher <darin@chromium.org>
6024 Reviewed by Dimitri Glazkov.
6026 [chromium] clear out more deprecated methods that are no longer used
6027 https://bugs.webkit.org/show_bug.cgi?id=38702
6029 * public/WebFrame.h:
6031 * src/WebFrameImpl.cpp:
6032 * src/WebFrameImpl.h:
6035 2010-05-07 Finnur Thorarinsson <finnur.webkit@gmail.com>
6037 Reviewed by Dimitri Glazkov.
6039 [chromium]: Fixing Find in page crash on sites.google.com
6040 https://bugs.webkit.org/show_bug.cgi?id=38591
6042 setMarkerActive should not try to set a collapsed marker as
6043 active. This can happen when you Edit a Sites page after doing
6044 a Find operation and then you press FindNext.
6046 * src/WebFrameImpl.cpp:
6047 (WebKit::WebFrameImpl::setMarkerActive):
6049 2010-05-06 Kent Tamura <tkent@chromium.org>
6051 Reviewed by Dimitri Glazkov.
6053 [DRT/Chromium] Add support for resources on Mac
6054 https://bugs.webkit.org/show_bug.cgi?id=38637
6056 * DEPS: Check out tools/data_pack.
6058 2010-05-06 Pavel Feldman <pfeldman@chromium.org>
6060 Reviewed by Timothy Hatcher.
6062 Chromium Dev Tools: Large toolbar icons flash when dev
6063 tools is opened in docked mode.
6065 https://bugs.webkit.org/show_bug.cgi?id=38631
6067 * src/js/DevTools.js:
6068 (devtools.domContentLoaded):
6070 2010-05-06 Adam Barth <abarth@webkit.org>
6072 Reviewed by Eric Seidel.
6074 drop support for sessionStorage in sandbox iframes
6075 https://bugs.webkit.org/show_bug.cgi?id=38151
6077 Update client of sessionStorage to handle exceptions.
6079 * src/StorageAreaProxy.cpp:
6080 (WebCore::StorageAreaProxy::storageEvent):
6082 2010-05-05 Darin Fisher <darin@chromium.org>
6084 Reviewed by Dimitri Glazkov.
6086 [chromium] clear out deprecated methods that are no longer used
6087 https://bugs.webkit.org/show_bug.cgi?id=38610
6089 * public/WebFormElement.h:
6090 * public/WebInputElement.h:
6091 * public/WebKitClient.h:
6093 * public/WebViewClient.h:
6094 (WebKit::WebViewClient::createPopupMenu):
6095 * src/ChromeClientImpl.cpp:
6096 (WebKit::ChromeClientImpl::popupOpened):
6097 * src/WebFormElement.cpp:
6098 * src/WebInputElement.cpp:
6099 (WebKit::WebInputElement::setSelectionRange):
6100 * src/WebViewImpl.cpp:
6101 (WebKit::WebViewImpl::hideSuggestionsPopup):
6102 * src/WebViewImpl.h:
6104 2010-05-05 Hans Wennborg <hans@chromium.org>
6106 Reviewed by Jeremy Orlow.
6108 [chromium] Add quota parameter to WebStorageNamespace::createSessionStorageNamespace
6109 https://bugs.webkit.org/show_bug.cgi?id=38589
6111 * public/WebStorageNamespace.h:
6112 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
6113 * src/WebStorageNamespaceImpl.cpp:
6114 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
6116 2010-05-05 Stuart Morgan <stuartmorgan@chromium.org>
6118 Reviewed by Darin Fisher.
6120 Update the plugin container's setFocus implementation to pass the new
6121 boolean argument to the next layer.
6123 https://bugs.webkit.org/show_bug.cgi?id=37961
6125 * src/WebPluginContainerImpl.cpp:
6126 (WebKit::WebPluginContainerImpl::setFocus):
6127 * src/WebPluginContainerImpl.h:
6129 2010-05-04 Vangelis Kokkevis <vangelis@chromium.org>
6131 Reviewed by Darin Fisher.
6133 Provide an API for querying whether a WebWidget is using gpu accelerated compositing.
6134 Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive.
6135 https://bugs.webkit.org/show_bug.cgi?id=38220
6137 * public/WebWidget.h:
6138 * src/WebPopupMenuImpl.h:
6139 (WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive):
6140 * src/WebViewImpl.cpp:
6141 (WebKit::WebViewImpl::WebViewImpl):
6142 (WebKit::WebViewImpl::paint):
6143 (WebKit::WebViewImpl::isAcceleratedCompositingActive):
6144 (WebKit::WebViewImpl::setRootGraphicsLayer):
6145 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6146 (WebKit::WebViewImpl::updateRootLayerContents):
6147 * src/WebViewImpl.h:
6149 2010-04-29 John Gregg <johnnyg@google.com>
6151 Reviewed by Dmitry Titov.
6153 notifications should have dir and replaceId attributes
6154 https://bugs.webkit.org/show_bug.cgi?id=38336
6156 * public/WebNotification.h:
6157 * src/WebNotification.cpp:
6158 (WebKit::WebNotification::dir):
6159 (WebKit::WebNotification::replaceId):
6161 2010-05-04 Jay Civelli <jcivelli@chromium.org>
6163 Reviewed by David Levin.
6165 [chromium] Make the select popup not close on right/middle clicks.
6166 https://bugs.webkit.org/show_bug.cgi?id=38473
6168 * src/WebViewImpl.cpp:
6169 (WebKit::WebViewImpl::mouseDown):
6171 2010-05-03 Abhishek Arya <inferno@chromium.org>
6173 Reviewed by Adam Barth.
6175 Add support for controlling clipboard access from javascript.
6176 Clipboard access from javascript is disabled by default.
6177 https://bugs.webkit.org/show_bug.cgi?id=27751
6179 * public/WebSettings.h:
6180 * src/WebSettingsImpl.cpp:
6181 (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
6182 * src/WebSettingsImpl.h:
6184 2010-05-03 Jens Alfke <snej@chromium.org>
6186 Reviewed by Darin Fisher.
6188 [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
6189 https://bugs.webkit.org/show_bug.cgi?id=38397
6191 No tests (functionality is exposed only through native WebKit API.)
6193 * public/WebFrameClient.h:
6194 (WebKit::WebFrameClient::willSendSubmitEvent): New empty method
6195 * src/FrameLoaderClientImpl.cpp:
6196 (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Delegate to client
6197 * src/FrameLoaderClientImpl.h:
6199 2010-05-02 Michael Nordman <michaeln@google.com>
6201 Reviewed by Dmitry Titov.
6203 Define two new ResourceRequestBase TargetTypes for worker and shared worker
6204 main resources. Use the new target types where appropiate. Add logic to marshal
6205 the target type specified by requests initiated on a background worker thread.
6207 https://bugs.webkit.org/show_bug.cgi?id=38295
6209 * src/SharedWorkerRepository.cpp: use TargetIsSharedWorker
6210 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
6212 2010-05-02 Rafael Weinstein <rafaelw@chromium.org>
6214 Reviewed by Darin Fisher.
6216 Include WebWindowFeatures in call to WebViewClient::createView.
6217 https://bugs.webkit.org/show_bug.cgi?id=38301
6219 * public/WebViewClient.h:
6220 (WebKit::WebViewClient::createView):
6221 * public/WebWindowFeatures.h:
6222 * src/ChromeClientImpl.cpp:
6223 (WebKit::ChromeClientImpl::createWindow):
6225 2010-05-01 Evan Stade <estade@chromium.org>
6227 Reviewed by David Levin
6229 [chromium] Skia needs to fade DragImages
6230 https://bugs.webkit.org/show_bug.cgi?id=38008
6232 * tests/DragImageTest.cpp:
6233 (DragImageTest.CreateDragImage): test that the drag image is a deep copy
6235 2010-04-30 Jian Li <jianli@chromium.org>
6237 Reviewed by Darin Fisher.
6239 [chromium] Add WebFileSystem interface and hook up with all FileSystem methods.
6240 https://bugs.webkit.org/show_bug.cgi?id=38228
6243 * public/WebFileSystem.h: Added.
6244 * public/WebKitClient.h:
6245 (WebKit::WebKitClient::fileSystem):
6246 * src/ChromiumBridge.cpp:
6247 (WebCore::ChromiumBridge::fileExists):
6248 (WebCore::ChromiumBridge::deleteFile):
6249 (WebCore::ChromiumBridge::deleteEmptyDirectory):
6250 (WebCore::ChromiumBridge::getFileSize):
6251 (WebCore::ChromiumBridge::getFileModificationTime):
6252 (WebCore::ChromiumBridge::directoryName):
6253 (WebCore::ChromiumBridge::pathByAppendingComponent):
6254 (WebCore::ChromiumBridge::makeAllDirectories):
6255 (WebCore::ChromiumBridge::getAbsolutePath):
6256 (WebCore::ChromiumBridge::isDirectory):
6257 (WebCore::ChromiumBridge::filePathToURL):
6258 (WebCore::ChromiumBridge::openFile):
6259 (WebCore::ChromiumBridge::closeFile):
6260 (WebCore::ChromiumBridge::seekFile):
6261 (WebCore::ChromiumBridge::truncateFile):
6262 (WebCore::ChromiumBridge::readFromFile):
6263 (WebCore::ChromiumBridge::writeToFile):
6265 2010-04-29 Jeremy Orlow <jorlow@chromium.org>
6267 Reviewed by Darin Fisher.
6269 Change StorageEvent.uri to StorageEvent.url to match the spec
6270 https://bugs.webkit.org/show_bug.cgi?id=38331
6272 Get rid of a stale FIXME and combine 2 lines that needn't be split.
6274 * src/StorageEventDispatcherImpl.cpp:
6275 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
6277 2010-04-29 Anton Muhin <antonm@chromium.org>
6279 Reviewed by Darin Fisher.
6281 [Chromium] Consider implementing addOriginAccessWhitelistEntry method
6282 http://trac.webkit.org/changeset/57537 introduced a new method
6283 to manage whitelisting of origins.
6284 Expose this method in Chromium's bridge.
6285 https://bugs.webkit.org/show_bug.cgi?id=37578
6287 * public/WebSecurityPolicy.h: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
6288 * src/WebSecurityPolicy.cpp: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
6290 2010-04-29 Sheriff Bot <webkit.review.bot@gmail.com>
6292 Unreviewed, rolling out r58498.
6293 http://trac.webkit.org/changeset/58498
6294 https://bugs.webkit.org/show_bug.cgi?id=38332
6296 "Broke a bunch of tests on Chromium canaries" (Requested by
6297 dglazkov on #webkit).
6299 * public/WebViewClient.h:
6300 (WebKit::WebViewClient::createView):
6301 * public/WebWindowFeatures.h:
6302 * src/ChromeClientImpl.cpp:
6303 (WebKit::ChromeClientImpl::createWindow):
6305 2010-04-29 Adam Langley <agl@chromium.org>
6307 Unreviewed, DEPS roll.
6309 WebKit's r58517 needs OTS's r30 which was rolled into Chromium in
6313 Use Chromium r45932.
6315 2010-04-29 Rafael Weinstein <rafaelw@chromium.org>
6317 Reviewed by Darin Fisher.
6319 Include WindowFeatures in call to WebViewClient::createView.
6321 https://bugs.webkit.org/show_bug.cgi?id=38301
6323 * public/WebViewClient.h:
6324 (WebKit::WebViewClient::createView):
6325 * public/WebWindowFeatures.h:
6326 * src/ChromeClientImpl.cpp:
6327 (WebKit::ChromeClientImpl::createWindow):
6329 2010-04-29 Garret Kelly <gdk@chromium.org>
6331 Reviewed by Darin Fisher.
6333 Expose the RuntimeFeature for touch events through the
6334 WebRuntimeFeatures mechanism.
6335 https://bugs.webkit.org/show_bug.cgi?id=37486
6337 * public/WebRuntimeFeatures.h:
6338 * src/WebRuntimeFeatures.cpp:
6339 (WebKit::WebRuntimeFeatures::enableTouch):
6340 (WebKit::WebRuntimeFeatures::isTouchEnabled):
6342 2010-04-29 Zhenyao Mo <zmo@google.com>
6344 Reviewed by Dimitri Glazkov.
6346 Remove the unnecessary texImage2D function with Image as input in GraphicsContext3D
6347 https://bugs.webkit.org/show_bug.cgi?id=38235
6349 * src/GraphicsContext3D.cpp: Remove tex*image implementation with Image input.
6351 2010-04-28 Pavel Feldman <pfeldman@chromium.org>
6353 Reviewed by Yury Semikhatsky.
6355 Web Inspector: Allow editing script resources when resource tracking is enabled.
6357 http://bugs.webkit.org/show_bug.cgi?id=38269
6359 * src/js/DebuggerAgent.js:
6360 * src/js/InspectorControllerImpl.js:
6361 (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
6362 (.devtools.InspectorBackendImpl.prototype.editScriptSource):
6364 2010-04-28 Darin Fisher <darin@chromium.org>
6366 Reviewed by David Levin.
6368 [Chromium] callOnMainThread should equate to MessageLoop::PostTask
6369 https://bugs.webkit.org/show_bug.cgi?id=38276
6371 * public/WebKitClient.h:
6372 (WebKit::WebKitClient::callOnMainThread):
6373 * src/ChromiumThreading.cpp:
6374 (WTF::ChromiumThreading::callOnMainThread):
6376 2010-04-27 John Abd-El-Malek <jam@chromium.org>
6378 Reviewed by Darin Fisher.
6380 Make WebThemeEngine::paint take a const ref of ExtraParams
6381 https://bugs.webkit.org/show_bug.cgi?id=38242
6383 * public/WebThemeEngine.h:
6384 (WebKit::WebThemeEngine::paint):
6386 2010-04-28 Andrey Kosyakov <caseq@chromium.org>
6388 Reviewed by Pavel Feldman.
6390 Fixed passing breakpoints to V8.
6391 https://bugs.webkit.org/show_bug.cgi?id=38266
6393 * src/js/InspectorControllerImpl.js:
6394 (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
6396 2010-04-28 Yury Semikhatsky <yurys@chromium.org>
6398 Reviewed by Pavel Feldman.
6400 Support pause on exceptions in v8 implementation of ScriptDebugServer.
6402 https://bugs.webkit.org/show_bug.cgi?id=38205
6404 * src/js/DebuggerScript.js:
6405 (debuggerScriptConstructor.DebuggerScript.getScripts):
6406 (debuggerScriptConstructor.DebuggerScript.pauseOnExceptionsState):
6407 (debuggerScriptConstructor.DebuggerScript.setPauseOnExceptionsState):
6408 (debuggerScriptConstructor.DebuggerScript._v8ToWebkitLineNumber):
6409 (debuggerScriptConstructor):
6411 2010-04-27 Jens Alfke <snej@chromium.org>
6413 Reviewed by Eric Seidel.
6415 [chromium] Fix bug that prevents autosave of forms without action attribute
6416 https://bugs.webkit.org/show_bug.cgi?id=38014
6417 Change is in the Chromium WebKit API so it can't be tested with a JS-based layout test.
6418 It needs a native unit test, which would go in the Chromium repo, not WebKit.
6420 * src/WebPasswordFormData.cpp:
6421 (WebKit::WebPasswordFormData::WebPasswordFormData): Set correct URL if action is NULL
6423 2010-04-27 Michael Nordman <michaeln@google.com>
6425 Reviewed by Dmitry Titov.
6427 [Chromium] Add two things to the webkit API to support appcaches in workers.
6428 1) WebURLRequest TargetTypes for worker and shared worker main resources.
6429 2) Factory method on class WebCommonWorkerClient to
6430 createApplicationCacheHost() for the associated worker.
6432 https://bugs.webkit.org/show_bug.cgi?id=38147
6434 * public/WebCommonWorkerClient.h: add the factory method
6435 * public/WebURLRequest.h: add the TargetTypes
6436 * src/WebWorkerBase.cpp: call the embedder's factory when needed
6437 (WebKit::WebWorkerBase::didCreateDataSource)
6438 (WebKit::WebWorkerBase::createApplicationCacheHost)
6439 * src/WebWorkerBase.h: ditto
6440 * src/WebWorkerClientImpl.h: add a stub impl of the factory method
6441 (WebKit::WebWorkerClientImpl::createApplicationCacheHost):
6443 2010-04-27 Kent Tamura <tkent@chromium.org>
6445 Reviewed by Shinichiro Hamaji.
6447 [DRT/Chromium] Enable Windows project generation
6448 https://bugs.webkit.org/show_bug.cgi?id=38103
6450 - Avoid platform.system(), which causes a crash with python.exe in
6451 depot_tools. Use sys.platform instead.
6452 - Process DumpRenderTree.gyp on all platforms.
6456 2010-04-27 Jay Civelli <jcivelli@chromium.org>
6458 Reviewed by Darin Fisher.
6460 Makes clicking a select element close its associated popup if
6462 https://bugs.webkit.org/show_bug.cgi?id=38105
6464 * src/WebViewImpl.cpp:
6465 (WebKit::WebViewImpl::mouseDown):
6467 2010-04-27 Jay Civelli <jcivelli@chromium.org>
6469 Reviewed by Darin Fisher.
6471 [chromium] Merged the WebView public method to close suggestion popups
6472 into a single method to close all popups (select and suggestions).
6473 That ensures select popups are closed when the browser window is moved
6475 https://bugs.webkit.org/show_bug.cgi?id=37837
6478 * src/WebViewImpl.cpp:
6479 (WebKit::WebViewImpl::hidePopups):
6480 (WebKit::WebViewImpl::hideSuggestionsPopup):
6481 * src/WebViewImpl.h:
6483 2010-04-27 John Abd-El-Malek <jam@chromium.org>
6485 Reviewed by Darin Adler.
6487 Remove unnecessary header now that Chrome is updated
6488 https://bugs.webkit.org/show_bug.cgi?id=38211
6490 * public/win/WebThemeEngine.h: Removed.
6492 2010-04-27 Jens Alfke <snej@chromium.org>
6494 Reviewed by Darin Fisher.
6496 [Chromium] Add some notifications and an accessor to WebKit API
6497 https://bugs.webkit.org/show_bug.cgi?id=37625
6499 * public/WebFrameClient.h:
6500 (WebKit::WebFrameClient::didFirstLayout):
6501 (WebKit::WebFrameClient::didFirstVisuallyNonEmptyLayout):
6503 * src/FrameLoaderClientImpl.cpp:
6504 (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
6505 (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
6506 * src/WebElement.cpp:
6508 (WebKit::WebNode::hasNonEmptyBoundingBox):
6510 2010-04-27 Darin Fisher <darin@chromium.org>
6512 Reviewed by Dimitri Glazkov.
6514 [Chromium] Remove deprecated form of didChangeLocationWithinPage
6515 https://bugs.webkit.org/show_bug.cgi?id=38178
6517 * public/WebFrameClient.h:
6518 * src/FrameLoaderClientImpl.cpp:
6519 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
6521 2010-04-27 Evan Martin <evan@chromium.org>
6523 Reviewed by David Levin.
6525 [chromium] bold bengali text not rendered properly on Linux
6526 Roll forward Chrome DEPS so we get new Skia API.
6528 * DEPS: update Chrome to r45696.
6530 2010-04-27 Andrey Kosyakov <caseq@chromium.org>
6532 Reviewed by Pavel Feldman.
6534 Restore breakpoints associated with script's URL once
6536 https://bugs.webkit.org/show_bug.cgi?id=38132
6538 * src/js/DebuggerAgent.js:
6539 (devtools.DebuggerAgent.prototype.initUI):
6540 (devtools.DebuggerAgent.prototype.addBreakpoint):
6541 (devtools.DebuggerAgent.prototype.addScriptInfo_):
6542 (devtools.DebuggerAgent.prototype.restoreBreakpoints_):
6543 (devtools.BreakpointInfo):
6544 (devtools.BreakpointInfo.prototype.enabled):
6545 (devtools.BreakpointInfo.prototype.condition):
6547 2010-04-27 Pavel Feldman <pfeldman@chromium.org>
6549 Reviewed by Yury Semikhatsky.
6551 Chrome Dev Tools: Further beautify themes.
6553 https://bugs.webkit.org/show_bug.cgi?id=38187
6555 * src/js/DevTools.js:
6556 (WebInspector.setToolbarColors):
6557 * src/js/devTools.css:
6558 (body.platform-windows #toolbar, body.platform-windows.inactive #toolbar):
6560 2010-04-26 John Abd-El-Malek <jam@chromium.org>
6562 Reviewed by Darin Fisher.
6564 [chromium] Prepare to making WebThemeEngine cross-platform
6565 https://bugs.webkit.org/show_bug.cgi?id=38077
6568 * public/WebThemeEngine.h: Added.
6569 * public/win/WebThemeEngine.h:
6571 2010-04-26 Darin Fisher <darin@chromium.org>
6573 Reviewed by Adam Barth.
6575 [Chromium] Crash after calling window.print() on a window object that has been closed.
6576 https://bugs.webkit.org/show_bug.cgi?id=38148
6578 It is unfortunately not possible to write a layout test for this as the
6579 crash occurs in an API that is only called by Chrome while showing a
6582 * src/WebViewImpl.cpp:
6583 (WebKit::WebView::willEnterModalLoop):
6584 (WebKit::WebView::didExitModalLoop):
6586 2010-04-25 Sam Weinig <sam@webkit.org>
6588 Reviewed by Maciej Stachowiak.
6590 Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
6591 Disentangle initializing the main thread from initializing threading
6594 (WebKit::initialize): Add call to initializeMainThread.
6595 * src/WebViewImpl.cpp:
6596 (WebKit::WebViewImpl::WebViewImpl): Ditto.
6598 2010-04-26 Roman Gershman <romange@google.com>
6600 Reviewed by Adam Barth.
6602 [Chromium] Font size in suggestions popup menu should be correlated with the font size of its text field.
6604 https://bugs.webkit.org/show_bug.cgi?id=37977
6606 * src/SuggestionsPopupMenuClient.cpp:
6607 (WebKit::SuggestionsPopupMenuClient::initialize):
6609 2010-04-26 Pavel Feldman <pfeldman@chromium.org>
6611 Reviewed by Yury Semikhatsky.
6613 Chromium Dev Tools: brush up images.
6615 https://bugs.webkit.org/show_bug.cgi?id=38124
6618 * src/js/DevTools.js:
6619 (WebInspector.setToolbarColors):
6620 * src/js/Images/segmentChromium.png:
6621 * src/js/Images/segmentChromium2.png: Removed.
6622 * src/js/Images/segmentHoverChromium2.png: Removed.
6623 * src/js/Images/segmentSelectedChromium2.png: Removed.
6624 * src/js/Images/statusbarBackgroundChromium.png:
6625 * src/js/Images/statusbarBackgroundChromium2.png: Removed.
6626 * src/js/Images/statusbarBottomBackgroundChromium.png:
6627 * src/js/Images/statusbarButtonsChromium.png:
6628 * src/js/Images/statusbarMenuButtonChromium.png:
6629 * src/js/Images/statusbarMenuButtonChromium2.png: Removed.
6630 * src/js/devTools.css:
6631 (.section > .header):
6632 (.console-group-messages .section > .header):
6633 (#resources-filter):
6635 (.crumbs .crumb.end):
6636 (.crumbs .crumb.selected):
6637 (.crumbs .crumb.selected:hover):
6638 (.crumbs .crumb.selected.end, .crumbs .crumb.selected.end:hover):
6639 (.crumbs .crumb:hover):
6640 (.crumbs .crumb.dimmed:hover):
6641 (.crumbs .crumb.end:hover):
6642 (body.drawer-visible #main-status-bar):
6644 (button.status-bar-item):
6645 (select.status-bar-item:active):
6647 (select.status-bar-item):
6649 2010-04-23 Zhenyao Mo <zmo@google.com>
6651 Reviewed by Darin Fisher.
6653 Add isGLES2Compliant to GraphicsContext3D: make the method const.
6654 https://bugs.webkit.org/show_bug.cgi?id=37872
6656 * src/GraphicsContext3D.cpp: Make isGLES2Compliant() const.
6657 (WebCore::GraphicsContext3DInternal::isGLES2Compliant):
6658 (WebCore::GraphicsContext3D::isGLES2Compliant):
6660 2010-04-23 Rafael Weinstein <rafaelw@grafaelw.sfo.corp.google.com>
6662 Reviewed by Darin Fisher.
6664 This patch adds a WebWindowFeatures binding struct for the
6665 chromium client in anticipation of a follow-on patch which will
6666 pass it to WebViewClient::createWindow.
6668 https://bugs.webkit.org/show_bug.cgi?id=38013
6670 * public/WebViewClient.h:
6671 (WebKit::WebViewClient::createView):
6672 * public/WebWindowFeatures.h: Added.
6673 (WebKit::WebWindowFeatures::WebWindowFeatures):
6674 * src/ChromeClientImpl.cpp:
6675 (WebKit::ChromeClientImpl::createWindow):
6677 2010-04-22 Zhenyao Mo <zmo@google.com>
6679 Reviewed by Darin Fisher.
6681 Add isGLES2Compliant to GraphicsContext3D
6682 https://bugs.webkit.org/show_bug.cgi?id=37872
6684 * public/WebGraphicsContext3D.h: Add isGLES2Compliant().
6685 * src/GraphicsContext3D.cpp: Ditto.
6686 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
6687 (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
6688 * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
6690 2010-04-22 Dave Moore <davemoore@chromium.org>
6692 Reviewed by Dimitri Glazkov.
6694 Added notification when the favicons for a page are changed
6696 The Document object will notify the frame loader, which will
6697 notify the client. Implementations of FrameLoaderClient will
6698 have to add one method; dispatchDidChangeIcons().
6700 https://bugs.webkit.org/show_bug.cgi?id=33812
6702 * public/WebFrameClient.h:
6703 (WebKit::WebFrameClient::didChangeIcons):
6704 * src/FrameLoaderClientImpl.cpp:
6705 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
6706 * src/FrameLoaderClientImpl.h:
6708 2010-04-22 Zhenyao Mo <zmo@google.com>
6710 Reviewed by Dimitri Glazkov.
6712 Emulate GL_IMPLEMENTATION_COLOR_READ_FORMAT/TYPE for glGet
6713 https://bugs.webkit.org/show_bug.cgi?id=37281
6715 * src/WebGraphicsContext3DDefaultImpl.cpp:
6716 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate two enums.
6718 2010-04-22 Adam Barth <abarth@webkit.org>
6720 Unreviewed, rolling out r58069.
6721 http://trac.webkit.org/changeset/58069
6722 https://bugs.webkit.org/show_bug.cgi?id=27751
6724 Broke compile on Windows.
6726 * public/WebSettings.h:
6727 * src/WebSettingsImpl.cpp:
6728 * src/WebSettingsImpl.h:
6730 2010-04-22 Tony Chang <tony@chromium.org>
6732 Reviewed by Shinichiro Hamaji.
6734 [chromium] roll chromium deps to pick up some windows build fixes
6735 https://bugs.webkit.org/show_bug.cgi?id=37972
6739 2010-04-22 Abhishek Arya <inferno@chromium.org>
6741 Reviewed by Adam Barth.
6743 Add support for controlling clipboard access from javascript.
6744 Clipboard access from javascript is disabled by default.
6745 https://bugs.webkit.org/show_bug.cgi?id=27751
6747 * public/WebSettings.h:
6748 * src/WebSettingsImpl.cpp:
6749 (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
6750 * src/WebSettingsImpl.h:
6752 2010-04-21 Tony Chang <tony@chromium.org>
6754 Reviewed by Shinichiro Hamaji.
6756 [chromium] gyp_webkit should be executable
6757 https://bugs.webkit.org/show_bug.cgi?id=37971
6759 * gyp_webkit: Added property svn:executable.
6761 2010-04-21 Jay Civelli <jcivelli@chromium.org>
6763 Reviewed by Darin Fisher.
6765 [Chromium] Don't notify the WebView that a popup was
6766 opened when the popup is handled externally, as the popup
6767 is in that case transparent to the WebView.
6768 The notification was causing an ASSERT on Mac (where
6769 the popup is handled externally) as there would be no
6770 notification that the popup was closed.
6771 https://bugs.webkit.org/show_bug.cgi?id=37825
6773 * src/ChromeClientImpl.cpp:
6774 (WebKit::ChromeClientImpl::popupOpened):
6776 2010-04-21 Sheriff Bot <webkit.review.bot@gmail.com>
6778 Unreviewed, rolling out r58028.
6779 http://trac.webkit.org/changeset/58028
6780 https://bugs.webkit.org/show_bug.cgi?id=37962
6782 broke the chromium build (Requested by tony^work on #webkit).
6786 2010-04-21 Evan Martin <evan@chromium.org>
6788 Unreviewed, just a dependency change.
6790 [chromium] roll skia forward to r538
6791 https://bugs.webkit.org/show_bug.cgi?id=37960
6793 This will cause a bunch of pixel tests to fail due to bulleted
6794 lists rendering slightly differently. I will grab new baselines
6795 from the bots and check them in in a followup.
6799 2010-04-21 Evan Stade <estade@chromium.org>
6801 Reviewed by Darin Fisher.
6803 [chromium] Web page serializer saves tag names in upper case
6804 https://bugs.webkit.org/show_bug.cgi?id=37940
6806 Simply convert all tags to lower case.
6808 This is tested by chrome tests:
6809 - save page browser tests
6811 - web page serializer test shell tests
6813 * src/WebPageSerializer.cpp:
6814 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
6815 (WebKit::WebPageSerializer::generateBaseTagDeclaration):
6816 * src/WebPageSerializerImpl.cpp:
6817 (WebKit::WebPageSerializerImpl::openTagToString):
6818 (WebKit::WebPageSerializerImpl::endTagToString):
6820 2010-04-20 Adam Barth <abarth@webkit.org>
6822 Reviewed by Eric Seidel.
6824 Factor DocumentWriter out of FrameLoader
6825 https://bugs.webkit.org/show_bug.cgi?id=37175
6827 Update these callsites because the method moved to DocumentWriter.
6829 * src/ContextMenuClientImpl.cpp:
6830 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
6831 * src/FrameLoaderClientImpl.cpp:
6832 (WebKit::FrameLoaderClientImpl::finishedLoading):
6833 * src/WebFrameImpl.cpp:
6834 (WebKit::WebFrameImpl::encoding):
6835 (WebKit::WebFrameImpl::commitDocumentData):
6836 * src/WebPageSerializerImpl.cpp:
6837 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
6838 (WebKit::WebPageSerializerImpl::serialize):
6839 * src/WebSearchableFormData.cpp:
6840 (WebCore::GetFormEncoding):
6841 * src/WebViewImpl.cpp:
6842 (WebKit::WebViewImpl::pageEncoding):
6844 2010-04-20 Pavel Feldman <pfeldman@chromium.org>
6846 Reviewed by Timothy Hatcher.
6848 Web Inspector: add basic script editing capabilities to the front-end.
6850 https://bugs.webkit.org/show_bug.cgi?id=37875
6852 * src/js/DebuggerAgent.js:
6853 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
6854 (devtools.DebuggerAgent.prototype.resolveScriptSource):
6855 (devtools.DebuggerAgent.prototype.editScriptLine.this.requestSeqToCallback_.cmd.getSequenceNumber):
6856 (devtools.DebuggerAgent.prototype.editScriptLine):
6857 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
6858 * src/js/DevTools.js:
6859 * src/js/InspectorControllerImpl.js:
6860 (.devtools.InspectorBackendImpl.prototype.editScriptLine):
6862 2010-04-20 Kent Tamura <tkent@chromium.org>
6864 Reviewed by Darin Adler.
6866 Change a parameter type of chooseIconForFiles()
6867 https://bugs.webkit.org/show_bug.cgi?id=37504
6869 * src/ChromeClientImpl.cpp:
6870 (WebKit::ChromeClientImpl::chooseIconForFiles):
6871 * src/ChromeClientImpl.h:
6873 2010-04-20 Jay Civelli <jcivelli@chromium.org>
6875 Reviewed by Dimitri Glazkov.
6877 [chromium] Tests that pressing tab now closes the select popup.
6878 https://bugs.webkit.org/show_bug.cgi?id=37721
6880 * tests/PopupMenuTest.cpp:
6883 2010-04-20 Evan Stade <estade@chromium.org>
6885 Reviewed by David Levin.
6887 [chromium] crash when dragging images
6888 https://bugs.webkit.org/show_bug.cgi?id=37715
6890 Added unit tests for DragImageChromiumSkia.
6893 * tests/DragImageTest.cpp: Added.
6894 (WebCore::TestImage::TestImage):
6895 (WebCore::TestImage::~TestImage):
6896 (WebCore::TestImage::size):
6897 (WebCore::TestImage::nativeImageForCurrentFrame):
6898 (WebCore::TestImage::destroyDecodedData):
6899 (WebCore::TestImage::decodedSize):
6900 (WebCore::TestImage::draw):
6903 2010-04-20 Stuart Morgan <stuartmorgan@chromium.org>
6905 Reviewed by David Levin.
6907 Remove a workaround in plugin cursor setting that was obsoleted by
6908 the change in https://bugs.webkit.org/show_bug.cgi?id=35132
6909 https://bugs.webkit.org/show_bug.cgi?id=37811
6911 * src/ChromeClientImpl.cpp:
6912 (WebKit::ChromeClientImpl::ChromeClientImpl):
6913 (WebKit::ChromeClientImpl::setCursor):
6914 (WebKit::ChromeClientImpl::setCursorForPlugin):
6915 * src/ChromeClientImpl.h:
6917 2010-04-19 Ada Chan <adachan@apple.com>
6919 Reviewed by Jeremy Orlow.
6921 https://bugs.webkit.org/show_bug.cgi?id=37717
6922 Changes needed now that StorageNamespaceImpl::sessionStorageNamespace() and
6923 StorageNamespace::sessionStorageNamespace() take in a quota parameter.
6925 * src/StorageNamespaceProxy.cpp:
6926 (WebCore::StorageNamespace::sessionStorageNamespace):
6927 * src/WebStorageNamespaceImpl.cpp:
6928 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
6930 2010-04-17 Vangelis Kokkevis <vangelis@chromium.org>
6932 Reviewed by Dimitri Glazkov.
6934 Adding the implementation of GLES2Context class which provides WebCore access to a GL ES context.
6935 https://bugs.webkit.org/show_bug.cgi?id=37541
6938 * public/WebGLES2Context.h: Added.
6939 (WebKit::WebGLES2Context::~WebGLES2Context):
6940 * src/GLES2Context.cpp: Added.
6941 (WebCore::GLES2ContextInternal::GLES2ContextInternal):
6942 (WebCore::GLES2ContextInternal::~GLES2ContextInternal):
6943 (WebCore::GLES2ContextInternal::getWebGLES2Context):
6944 (WebCore::GLES2ContextInternal::initialize):
6945 (WebCore::GLES2Context::create):
6946 (WebCore::GLES2Context::~GLES2Context):
6947 (WebCore::GLES2Context::initialize):
6948 (WebCore::GLES2Context::makeCurrent):
6949 (WebCore::GLES2Context::destroy):
6950 (WebCore::GLES2Context::swapBuffers):
6952 2010-04-16 Dumitru Daniliuc <dumi@chromium.org>
6954 Reviewed by Eric Seidel.
6956 Get rid of the UNUSED_PARAM macro in GraphicsContext3D.cpp.
6957 https://bugs.webkit.org/show_bug.cgi?id=37733
6959 * src/GraphicsContext3D.cpp:
6960 (WebCore::GraphicsContext3D::GraphicsContext3D):
6962 2010-04-16 Dumitru Daniliuc <dumi@chromium.org>
6964 Reviewed by Jeremy Orlow.
6966 Changing the return type of WebSecurityOrigin::createFromDatabaseIdentifier().
6967 https://bugs.webkit.org/show_bug.cgi?id=34466
6969 Changing the return type of
6970 WebSecurityOrigin::createFromDatabaseIdentifier() from
6971 WebSecurityOrigin* to WebSecurityOrigin, to make it more
6972 consistent with the other WebSecurityOrigin methods.
6974 * public/WebSecurityOrigin.h:
6975 * src/WebDatabase.cpp:
6976 (WebKit::WebDatabase::closeDatabaseImmediately):
6977 * src/WebSecurityOrigin.cpp:
6978 (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
6980 2010-04-16 Dmitry Titov <dimich@chromium.org>
6982 Reviewed by Yury Semikhatsky.
6984 [v8] In Workers, script errors right after close() are not delivered to the Worker.onerror
6985 https://bugs.webkit.org/show_bug.cgi?id=37691
6987 * src/WebWorkerClientImpl.cpp:
6988 (WebKit::WebWorkerClientImpl::createWorkerContextProxy): Don't need to pull V8 proxy to retrieve current WorkerContext.
6990 2010-04-16 Albert J. Wong <ajwong@chromium.org>
6992 Not reviewed. Build fix.
6994 [chromium] Compile fix. Missing include header, and missing type conversion.
6996 * src/GraphicsContext3D.cpp:
6997 (WebCore::GraphicsContext3DInternal::beginPaint):
6999 2010-04-16 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
7001 Reviewed by Simon Hausmann.
7003 [Qt] WebGL is not visible when QGLWidget viewport is used
7004 https://bugs.webkit.org/show_bug.cgi?id=37070
7006 Added HostWindow parameter to the constructor of GraphicsContext3D.
7007 Shared OpenGL context is initialized with parent QGLWidget.
7009 * src/GraphicsContext3D.cpp:
7010 (WebCore::GraphicsContext3D::GraphicsContext3D):
7012 2010-04-16 Fumitoshi Ukai <ukai@chromium.org>
7014 Reviewed by Jian Li.
7016 [chromium] WebKit::WebURLResponse::addHTTPHeaderField will crash if response is invalid UTF-8
7017 https://bugs.webkit.org/show_bug.cgi?id=37687
7019 * src/WebURLResponse.cpp:
7020 (WebKit::WebURLResponse::addHTTPHeaderField): ignore if name or value is null string.
7022 2010-04-16 Jay Civelli <jcivelli@chromium.org>
7024 Reviewed by Dimitri Glazkov.
7026 [chromium] Select popups would assert when destroyed.
7027 Also adding unit-tests for the select popup code.
7028 https://bugs.webkit.org/show_bug.cgi?id=37436
7031 * src/WebViewImpl.h:
7032 (WebKit::WebViewImpl::selectPopup):
7033 * tests/PopupMenuTest.cpp: Added.
7035 2010-04-16 Tony Chang <tony@chromium.org>
7037 Reviewed by Dimitri Glazkov.
7039 [chromium] build DRT on Linux
7040 https://bugs.webkit.org/show_bug.cgi?id=37690
7042 * DEPS: Need to roll deps to remove a dependency on src/chrome
7043 * gyp_webkit: generate makefiles for DRT.gyp on Linux
7045 2010-04-15 Tony Chang <tony@chromium.org>
7047 Reviewed by Dimitri Glazkov.
7049 build DRT on chromium mac
7050 https://bugs.webkit.org/show_bug.cgi?id=37639
7052 * gyp_webkit: generate build files for DRT on mac
7054 2010-04-15 Yury Semikhatsky <yurys@google.com>
7056 Reviewed by Pavel Feldman.
7058 Support basic debugging capabilities including step in/over/out in v8
7059 implementation of ScriptDebugServer.
7061 https://bugs.webkit.org/show_bug.cgi?id=37604
7064 * src/DebuggerAgent.h:
7065 * src/DebuggerAgentImpl.cpp:
7066 (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
7067 * src/DebuggerAgentImpl.h:
7068 * src/DebuggerAgentManager.cpp:
7069 (WebKit::DebuggerAgentManager::hostDispatchHandler):
7070 (WebKit::DebuggerAgentManager::debugAttach):
7071 (WebKit::DebuggerAgentManager::debugDetach):
7072 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
7073 * src/DebuggerAgentManager.h:
7074 * src/InspectorFrontendClientImpl.cpp:
7075 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7076 * src/js/DebuggerScript.js: Added.
7077 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
7078 (debuggerScriptConstructor.DebuggerScript.getScripts):
7079 (debuggerScriptConstructor.DebuggerScript._formatScript):
7080 (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
7081 (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
7082 (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
7083 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
7084 (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
7085 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
7086 (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
7087 (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
7088 (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
7089 (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
7090 (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
7091 (debuggerScriptConstructor):
7092 * src/js/DevTools.js:
7093 (WebInspector.loaded):
7096 * src/js/DevToolsHostStub.js:
7097 (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
7098 * src/js/InspectorControllerImpl.js:
7099 (devtools.InspectorBackendImpl):
7101 2010-04-15 Matt Perry <mpcomplete@chromium.org>
7103 Reviewed by Dimitri Glazkov.
7105 Implement layoutTestController's addUserStyleSheet and
7106 setAuthorAndUserStylesEnabled on Chromium port.
7107 https://bugs.webkit.org/show_bug.cgi?id=37595
7109 * public/WebSettings.h:
7111 * src/WebSettingsImpl.cpp:
7112 (WebKit::WebSettingsImpl::setAuthorAndUserStylesEnabled):
7113 * src/WebSettingsImpl.h:
7114 * src/WebViewImpl.cpp:
7115 (WebKit::WebViewImpl::addUserStyleSheet):
7116 * src/WebViewImpl.h:
7118 2010-04-15 Zhenyao Mo <zmo@google.com>
7120 Reviewed by Dimitri Glazkov.
7122 Must enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization
7123 https://bugs.webkit.org/show_bug.cgi?id=37178
7125 * src/WebGraphicsContext3DDefaultImpl.cpp: Enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization.
7126 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
7128 2010-04-15 Albert J. Wong <ajwong@chromium.org>
7130 Unreviewed, rolling out r57660.
7131 http://trac.webkit.org/changeset/57660
7132 https://bugs.webkit.org/show_bug.cgi?id=37604
7134 Broke a large number of inspector layout tests in chromium.
7137 * src/DebuggerAgent.h:
7138 * src/DebuggerAgentImpl.cpp:
7139 * src/DebuggerAgentImpl.h:
7140 * src/DebuggerAgentManager.cpp:
7141 (WebKit::DebuggerAgentManager::debugAttach):
7142 (WebKit::DebuggerAgentManager::debugDetach):
7143 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
7144 * src/DebuggerAgentManager.h:
7145 * src/InspectorFrontendClientImpl.cpp:
7146 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7147 * src/js/DebuggerScript.js: Removed.
7148 * src/js/DevTools.js:
7149 (WebInspector.loaded):
7150 (WebInspector.UnresolvedPropertyValue):
7152 * src/js/DevToolsHostStub.js:
7153 * src/js/InspectorControllerImpl.js:
7154 (devtools.InspectorBackendImpl):
7156 2010-04-15 Yury Semikhatsky <yurys@google.com>
7158 Reviewed by Pavel Feldman.
7160 Support basic debugging capabilities including step in/over/out in v8
7161 implementation of ScriptDebugServer.
7163 https://bugs.webkit.org/show_bug.cgi?id=37604
7166 * src/DebuggerAgent.h:
7167 * src/DebuggerAgentImpl.cpp:
7168 (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
7169 * src/DebuggerAgentImpl.h:
7170 * src/DebuggerAgentManager.cpp:
7171 (WebKit::DebuggerAgentManager::hostDispatchHandler):
7172 (WebKit::DebuggerAgentManager::debugAttach):
7173 (WebKit::DebuggerAgentManager::debugDetach):
7174 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
7175 * src/DebuggerAgentManager.h:
7176 * src/InspectorFrontendClientImpl.cpp:
7177 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7178 * src/js/DebuggerScript.js: Added.
7179 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
7180 (debuggerScriptConstructor.DebuggerScript.getScripts):
7181 (debuggerScriptConstructor.DebuggerScript._formatScript):
7182 (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
7183 (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
7184 (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
7185 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
7186 (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
7187 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
7188 (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
7189 (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
7190 (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
7191 (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
7192 (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
7193 (debuggerScriptConstructor):
7194 * src/js/DevTools.js:
7195 (WebInspector.loaded):
7198 * src/js/DevToolsHostStub.js:
7199 (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
7200 * src/js/InspectorControllerImpl.js:
7201 (devtools.InspectorBackendImpl):
7203 2010-04-15 Ben Murdoch <benm@google.com>
7205 Unreviewed, rolling out r57652.
7206 http://trac.webkit.org/changeset/57652
7207 https://bugs.webkit.org/show_bug.cgi?id=37609
7209 Caused a build break on Chromium Mac and Layout Test fail on
7212 * src/WebInputEventConversion.cpp:
7213 (WebKit::toPlatformTouchPointState):
7215 2010-04-14 Ben Murdoch <benm@google.com>
7217 Reviewed by Kenneth Rohde Christiansen.
7219 The TouchStationary state of WebCore::PlatformTouchPoint is not
7220 handled inside the touch event handler.
7221 https://bugs.webkit.org/show_bug.cgi?id=37609
7223 After discussions at the WebKit contributors meeting, we decided that
7224 this is a currently unused state without a good future use case in the
7225 Touch API and thus decided to remove it. This patch actions that decision.
7227 * src/WebInputEventConversion.cpp:
7228 (WebKit::toPlatformTouchPointState): Remove TouchStationary.
7230 2010-04-12 Tony Chang <tony@chromium.org>
7232 Reviewed by Darin Fisher.
7234 [chromium] update chromium DEPS for upstream compile
7235 https://bugs.webkit.org/show_bug.cgi?id=36578
7237 * DEPS: Pull sub deps from chromium's DEPS file
7239 2010-04-14 Sheriff Bot <webkit.review.bot@gmail.com>
7241 Unreviewed, rolling out r57599.
7242 http://trac.webkit.org/changeset/57599
7243 https://bugs.webkit.org/show_bug.cgi?id=37605
7245 "Broke Chromium build" (Requested by dglazkov on #webkit).
7248 * src/WebViewImpl.h:
7249 * tests/PopupMenuTest.cpp: Removed.
7251 2010-04-14 Aaron Boodman <aa@chromium.org>
7253 Reviewed by David Levin.
7255 Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting
7256 the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are
7257 unsupported. Fixed by resolving the relative URL first.
7259 https://bugs.webkit.org/show_bug.cgi?id=36623
7261 Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows.
7263 * public/WebNotification.h: Remove deprecated icon() method.
7264 * src/WebNotification.cpp: Ditto.
7266 2010-04-14 Jay Civelli <jcivelli@chromium.org>
7268 Reviewed by Dimitri Glazkov.
7270 [chromium] Select popups would assert when destroyed.
7271 Also adding unit-tests for the select popup code.
7272 https://bugs.webkit.org/show_bug.cgi?id=37436
7275 * src/WebViewImpl.h:
7276 (WebKit::WebViewImpl::selectPopup):
7277 * tests/PopupMenuTest.cpp: Added.
7279 2010-04-14 Zhenyao Mo <zmo@google.com>
7281 Reviewed by Dimitri Glazkov.
7283 readPixels must take PACK_ALIGNMENT into account
7284 https://bugs.webkit.org/show_bug.cgi?id=34718
7286 * src/GraphicsContext3D.cpp: Refactor readPixels.
7287 * src/WebGraphicsContext3DDefaultImpl.cpp:
7288 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): Temporarily disable pack alignment for glReadPixels.
7289 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Move array allocation and alpha fix to WebGLRenderingContext; flush before read pixels.
7291 2010-04-14 Mikhail Naganov <mnaganov@chromium.org>
7293 Reviewed by Pavel Feldman.
7295 Re-write testProfilerTab to match the new implementation.
7297 https://bugs.webkit.org/show_bug.cgi?id=37516
7300 (.TestSuite.prototype.testProfilerTab.findDisplayedNode):
7301 (.TestSuite.prototype.testProfilerTab.findVisibleView):
7302 (.TestSuite.prototype.testProfilerTab):
7304 2010-04-13 Timothy Hatcher <timothy@apple.com>
7306 Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
7307 And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
7309 SecurityOrigin needs a way to remove individual OriginAccessEntries
7310 https://bugs.webkit.org/show_bug.cgi?id=37449
7312 Reviewed by Dave Hyatt.
7314 * src/WebSecurityPolicy.cpp:
7315 (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
7316 (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
7318 2010-04-13 Mikhail Naganov <mnaganov@chromium.org>
7320 Reviewed by Pavel Feldman.
7322 Fix search behavior in Heap profiles.
7324 https://bugs.webkit.org/show_bug.cgi?id=37498
7326 * src/js/HeapProfilerPanel.js:
7328 2010-04-13 Jeremy Moskovich <jeremy@chromium.org>
7330 Reviewed by David Levin.
7332 Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
7334 https://bugs.webkit.org/show_bug.cgi?id=36426
7336 * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
7337 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
7338 (WebCore::ResourceHandleInternal::):
7339 (WebCore::ResourceHandleInternal::start):
7340 (WebCore::ResourceHandleInternal::cancel):
7341 (WebCore::ResourceHandleInternal::didReceiveResponse):
7342 (WebCore::ResourceHandleInternal::didReceiveData):
7343 (WebCore::ResourceHandleInternal::didFinishLoading):
7344 (WebCore::ResourceHandleInternal::didFail):
7346 2010-04-13 Mikhail Naganov <mnaganov@chromium.org>
7348 Unreviewed Chromium build fix: pin to a newer V8 revision (4386).
7352 2010-04-12 Mikhail Naganov <mnaganov@chromium.org>
7354 Reviewed by Yury Semikhatsky.
7356 Replace hand-written JavaScriptProfile* bindings with idl-based, and
7357 in Chromium port, bind them to the new V8's profiler API that is
7360 https://bugs.webkit.org/show_bug.cgi?id=37448
7362 * src/js/InspectorControllerImpl.js:
7363 (devtools.InspectorBackendImpl):
7364 * src/js/ProfilerAgent.js:
7365 (devtools.ProfilerAgent):
7366 (devtools.ProfilerAgent.prototype.initializeProfiling):
7367 (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
7368 (devtools.ProfilerAgent.prototype._didGetLogLines):
7371 2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
7373 Unreviewed, rolling out r57468.
7374 http://trac.webkit.org/changeset/57468
7375 https://bugs.webkit.org/show_bug.cgi?id=37433
7377 Broke the world... Must have applied the patch wrong
7378 (Requested by abarth on #webkit).
7380 * src/ContextMenuClientImpl.cpp:
7381 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
7382 * src/FrameLoaderClientImpl.cpp:
7383 (WebKit::FrameLoaderClientImpl::finishedLoading):
7384 * src/WebFrameImpl.cpp:
7385 (WebKit::WebFrameImpl::encoding):
7386 (WebKit::WebFrameImpl::commitDocumentData):
7387 * src/WebPageSerializerImpl.cpp:
7388 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
7389 (WebKit::WebPageSerializerImpl::serialize):
7390 * src/WebSearchableFormData.cpp:
7391 (WebCore::GetFormEncoding):
7392 * src/WebViewImpl.cpp:
7393 (WebKit::WebViewImpl::pageEncoding):
7395 2010-04-11 Adam Barth <abarth@webkit.org>
7397 Reviewed by Eric Seidel.
7399 Factor DocumentWriter out of FrameLoader
7400 https://bugs.webkit.org/show_bug.cgi?id=37175
7402 Update these callsites because the method moved to DocumentWriter.
7404 * src/ContextMenuClientImpl.cpp:
7405 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
7406 * src/FrameLoaderClientImpl.cpp:
7407 (WebKit::FrameLoaderClientImpl::finishedLoading):
7408 * src/WebFrameImpl.cpp:
7409 (WebKit::WebFrameImpl::encoding):
7410 (WebKit::WebFrameImpl::commitDocumentData):
7411 * src/WebPageSerializerImpl.cpp:
7412 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
7413 (WebKit::WebPageSerializerImpl::serialize):
7414 * src/WebSearchableFormData.cpp:
7415 (WebCore::GetFormEncoding):
7416 * src/WebViewImpl.cpp:
7417 (WebKit::WebViewImpl::pageEncoding):
7419 2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
7421 Unreviewed, rolling out r57460.
7422 http://trac.webkit.org/changeset/57460
7423 https://bugs.webkit.org/show_bug.cgi?id=37424
7425 broke chromium builders (Requested by tony^work on #webkit).
7430 2010-04-11 Tony Chang <tony@chromium.org>
7432 Reviewed by Darin Fisher.
7434 [chromium] update chromium DEPS for upstream compile
7435 https://bugs.webkit.org/show_bug.cgi?id=36578
7438 * gyp_webkit: Add DumpRenderTree.gyp so we generate xcode projects for DRT.
7440 2010-04-10 Vangelis Kokkevis <vangelis@chromium.org>
7442 Reviewed by Dimitri Glazkov.
7444 Include file change as a result of renaming LayerRenderSkia.h to LayerRenderChromium.h
7445 https://bugs.webkit.org/show_bug.cgi?id=37231
7447 * src/WebViewImpl.h:
7449 2010-04-10 Rafael Weinstein <rafaelw@chromium.org>
7451 Reviewed by Eric Seidel.
7453 Cleanup after chromium breakage. All interface methods are
7454 returned to being abstract.
7456 * public/WebNotificationPresenter.h:
7458 2010-04-09 Evan Stade <estade@chromium.org>
7460 Reviewed by Eric Seidel.
7462 [chromium] Linux: respect the scale factor during printing
7463 https://bugs.webkit.org/show_bug.cgi?id=37168
7465 Chromium doesn't support testing .pdfs from printing at the moment, so
7466 this change is not covered by any tests.
7468 * src/WebFrameImpl.cpp:
7469 (WebKit::ChromePrintContext::spoolPage):
7471 2010-04-09 Aaron Boodman <aa@chromium.org>
7473 Reviewed by Eric Seidel.
7475 Remove applicationID() from WebDocument as it is Chromium-specific.
7476 https://bugs.webkit.org/show_bug.cgi?id=37350
7478 * public/WebDocument.h:
7479 * src/WebDocument.cpp:
7481 2010-04-09 Jeremy Orlow <jorlow@chromium.org>
7483 Reviewed by Darin Adler.
7485 Move the IDB::open ExceptionCode paramter to be last
7486 https://bugs.webkit.org/show_bug.cgi?id=37277
7488 Move the ExceptionCode paramter to the last position in
7489 IndexedDatabaseRequest::open and friends. It should definitely
7490 go after the callbacks to keep the parameters that come directly
7491 from javascript together. And having output parameters appear
7492 last is done often in the code base, so it makes sense to push
7493 it past the Frame* param as well.
7495 * public/WebIndexedDatabase.h:
7496 * src/IndexedDatabaseProxy.cpp:
7497 (WebCore::IndexedDatabaseProxy::open):
7498 * src/IndexedDatabaseProxy.h:
7499 * src/WebIndexedDatabaseImpl.cpp:
7500 (WebKit::WebIndexedDatabaseImpl::open):
7501 * src/WebIndexedDatabaseImpl.h:
7503 2010-04-09 Jochen Eisinger <jochen@chromium.org>
7505 Reviewed by Darin Fisher.
7507 Complete move of createApplicationCacheHost from WebKitClient to WebFrameClient.
7508 https://bugs.webkit.org/show_bug.cgi?id=37330
7510 * public/WebApplicationCacheHost.h:
7511 * public/WebKitClient.h:
7512 * src/ApplicationCacheHostInternal.h:
7513 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
7515 2010-04-09 Marcus Bulach <bulach@chromium.org>
7517 Reviewed by Jeremy Orlow.
7519 Crash on WebKit::WebGeolocationServiceBridgeImpl::stopUpdating() during frame disconnection
7520 Should not try to access WebViewClient if the frame has already been disconnected.
7521 https://bugs.webkit.org/show_bug.cgi?id=37318
7523 * src/WebGeolocationServiceBridgeImpl.cpp:
7524 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
7526 2010-04-09 Jochen Eisinger <jochen@chromium.org>
7528 Reviewed by Adam Barth.
7530 Expose SecurityOrigin::canRequest in WebSecurityOrigin.
7531 https://bugs.webkit.org/show_bug.cgi?id=37271
7533 * public/WebSecurityOrigin.h:
7534 * src/WebSecurityOrigin.cpp:
7535 (WebKit::WebSecurityOrigin::canRequest):
7537 2010-04-09 Zhenyao Mo <zmo@google.com>
7539 Reviewed by Dimitri Glazkov.
7541 Must resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D
7542 https://bugs.webkit.org/show_bug.cgi?id=37174
7544 Test: fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html
7546 * src/WebGraphicsContext3DDefaultImpl.cpp: Resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D.
7547 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
7548 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
7550 2010-04-07 Pavel Feldman <pfeldman@chromium.org>
7552 Reviewed by Yury Semikhatsky.
7554 Chromium: support themes in devtools window.
7556 https://bugs.webkit.org/attachment.cgi?bugid=37216
7559 * src/js/DevTools.js:
7560 (WebInspector.setToolbarColors):
7561 (WebInspector.resetToolbarColors):
7562 * src/js/Images/segmentChromium2.png: Added.
7563 * src/js/Images/segmentHoverChromium2.png: Added.
7564 * src/js/Images/segmentSelectedChromium2.png: Added.
7565 * src/js/Images/statusbarBackgroundChromium2.png: Added.
7566 * src/js/Images/statusbarMenuButtonChromium2.png: Added.
7568 2010-04-07 Andrey Kosyakov <caseq@chromium.org>
7570 Reviewed by Yury Semikhatsky.
7572 Removed inspector methods from ScriptExecutionContext and derived classes.
7573 Removed MessageDestination parameter from console-related calls (we now always
7574 log to the same destination(s)).
7575 Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
7576 https://bugs.webkit.org/show_bug.cgi?id=36949
7578 * public/WebCommonWorkerClient.h:
7579 (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
7580 * src/FrameLoaderClientImpl.cpp:
7581 * src/FrameLoaderClientImpl.h:
7582 * src/WebWorkerBase.cpp:
7583 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
7584 (WebKit::WebWorkerBase::postConsoleMessageTask):
7585 * src/WebWorkerBase.h:
7586 * src/WebWorkerClientImpl.cpp:
7587 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
7588 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
7589 * src/WebWorkerClientImpl.h:
7591 2010-04-07 Jeremy Orlow <jorlow@chromium.org>
7593 Reviewed by Darin Fisher.
7595 [Chromium] WebIDBDatabaseError::assign doesn't work correctly
7596 https://bugs.webkit.org/show_bug.cgi?id=37209
7598 * src/WebIDBDatabaseError.cpp:
7599 (WebKit::WebIDBDatabaseError::assign):
7601 2010-04-07 Dawit Alemayehu <adawit@kde.org>
7603 Reviewed by Simon Hausmann.
7605 https://bugs.webkit.org/show_bug.cgi?id=36827
7607 Updated the WebCore::shouldTreatAsAttachement function call with the
7608 new more generic replacement WebCore::contentDispositionType.
7610 See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395
7612 * src/FrameLoaderClientImpl.cpp:
7613 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
7615 2010-04-07 Jochen Eisinger <jochen@chromium.org>
7617 Reviewed by Darin Fisher.
7619 Add createApplicationCacheHost to WebFrameClient so
7620 the ApplicationCacheHost has access to its frame.
7622 https://bugs.webkit.org/show_bug.cgi?id=36882
7624 * public/WebFrameClient.h:
7625 (WebKit::WebFrameClient::createApplicationCacheHost):
7626 * src/ApplicationCacheHostInternal.h:
7627 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
7629 2010-04-06 Nicolas Weber <thakis@chromium.org>
7631 Reviewed by Dimitri Glazkov.
7633 Use drag images on OS X as well.
7634 https://bugs.webkit.org/show_bug.cgi?id=37069
7636 * src/DragClientImpl.cpp:
7637 (WebKit::DragClientImpl::startDrag):
7639 2010-04-06 Vangelis Kokkevis <vangelis@chromium.org>
7641 Reviewed by Dimitri Glazkov.
7643 Changing references to Graphics Layer related classes from *Skia to *Chromium.
7644 https://bugs.webkit.org/show_bug.cgi?id=37116
7646 * src/WebViewImpl.cpp:
7647 (WebKit::WebViewImpl::paint):
7648 (WebKit::WebViewImpl::setAcceleratedCompositing):
7649 (WebKit::WebViewImpl::updateRootLayerContents):
7650 * src/WebViewImpl.h:
7652 2010-04-06 James Hawkins <jhawkins@chromium.org>
7654 Reviewed by Adam Barth.
7656 [Chromium] Implement WebInputElement::maxLength.
7657 https://bugs.webkit.org/show_bug.cgi?id=37172
7659 * public/WebInputElement.h:
7660 * src/WebInputElement.cpp:
7661 (WebKit::WebInputElement::maxLength):
7663 2010-04-06 Evan Stade <estade@chromium.org>
7665 Reviewed by Dimitri Glazkov.
7667 [chromium] need DragImage implementation
7668 https://bugs.webkit.org/show_bug.cgi?id=35811
7670 Basic implementation using SkBitmap. Transformations are not supported
7671 yet. No implementation for mac.
7673 This was previously committed but rolled back for breaking layout
7676 * public/WebViewClient.h:
7677 (WebKit::WebViewClient::startDragging):
7678 * src/DragClientImpl.cpp:
7679 (WebKit::DragClientImpl::startDrag): new: check for null dragImage.
7680 * src/WebViewImpl.cpp:
7681 (WebKit::WebViewImpl::startDragging):
7682 * src/WebViewImpl.h:
7684 2010-04-06 James Hawkins <jhawkins@chromium.org>
7686 Reviewed by Dimitri Glazkov.
7688 [Chromium] Move the getElementsByTagName from WebDocument to WebNode.
7689 https://bugs.webkit.org/show_bug.cgi?id=37161
7691 * public/WebDocument.h:
7693 * src/WebDocument.cpp:
7695 (WebKit::WebNode::getElementsByTagName):
7697 2010-04-06 Ilya Tikhonovsky <loislo@chromium.org>
7699 Unreviewed build fix for Chromium DEPS.
7703 2010-04-06 Ilya Tikhonovsky <loislo@chromium.org>
7705 Unreviewed: build fix.
7709 2010-04-06 Mattias Nissler <mnissler@chromium.org>
7711 Reviewed by Pavel Feldman.
7713 Handle docking requests from the developer tools and forward them to
7714 WebDevToolsFrontendClient.
7715 https://bugs.webkit.org/show_bug.cgi?id=36944
7717 * public/WebDevToolsFrontendClient.h:
7718 (WebKit::WebDevToolsFrontendClient::requestDockWindow):
7719 * src/WebDevToolsFrontendImpl.cpp:
7720 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
7721 (WebKit::WebDevToolsFrontendImpl::jsRequestAttachWindow):
7722 * src/WebDevToolsFrontendImpl.h:
7724 2010-04-06 Andrey Kosyakov <caseq@chromium.org>
7726 Reviewed by Yury Semikhatsky.
7728 Fixed logging of unhndled worker exceptions.
7729 https://bugs.webkit.org/show_bug.cgi?id=37143
7731 * src/WebWorkerClientImpl.cpp:
7732 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
7734 2010-04-05 Alexey Proskuryakov <ap@apple.com>
7736 Reviewed by Darin Adler.
7738 https://bugs.webkit.org/show_bug.cgi?id=37111
7739 <rdar://problem/7790327> Draw replacement text when plug-in host crashes
7741 * src/LocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in
7744 2010-04-04 Pavel Feldman <pfeldman@chromium.org>
7746 Not reviewed. Rolling out chromium changes r57028 and r57032
7747 for breaking chromium layout tests.
7749 * public/WebViewClient.h:
7750 (WebKit::WebViewClient::startDragging):
7751 * src/DragClientImpl.cpp:
7752 (WebKit::DragClientImpl::startDrag):
7753 * src/WebViewImpl.cpp:
7754 (WebKit::WebViewImpl::startDragging):
7755 * src/WebViewImpl.h:
7757 2010-04-03 Darin Fisher <darin@chromium.org>
7759 Add default implementations of WebNotificationPresenter methods to
7760 repair the downstream Chromium build.
7762 * public/WebNotificationPresenter.h:
7763 (WebKit::WebNotificationPresenter::show):
7764 (WebKit::WebNotificationPresenter::cancel):
7765 (WebKit::WebNotificationPresenter::objectDestroyed):
7766 (WebKit::WebNotificationPresenter::checkPermission):
7767 (WebKit::WebNotificationPresenter::requestPermission):
7769 2010-04-02 Michael Nordman <michaeln@google.com>
7771 Reviewed by Nate Chapin.
7773 Set the close policy used by the DatabaseCloseTask at this callsite to
7774 RemoveDatabaseFromContext. This restores its behavior to what it was prior to
7776 https://bugs.webkit.org/show_bug.cgi?id=37037
7778 * src/WebDatabase.cpp:
7779 (WebKit::WebDatabase::closeDatabaseImmediately):
7781 2010-04-02 Evan Stade <estade@chromium.org>
7783 Reviewed by Eric Seidel.
7785 [chromium] need DragImage implementation
7786 https://bugs.webkit.org/show_bug.cgi?id=35811
7788 Use the DragImageRef that the DragController passes to us.
7790 * public/WebViewClient.h:
7791 (WebKit::WebViewClient::startDragging):
7792 * src/DragClientImpl.cpp:
7793 (WebKit::DragClientImpl::startDrag):
7794 * src/WebViewImpl.cpp:
7795 (WebKit::WebViewImpl::startDragging):
7796 * src/WebViewImpl.h:
7798 2010-04-02 Rafael Weinstein <rafaelw@chromium.org>
7800 Reviewed by Adam Barth.
7802 Clean up unused calls after changes to checkPermission and requestPermission argument lists.
7804 * public/WebNotificationPresenter.h:
7805 * src/NotificationPresenterImpl.cpp:
7806 (WebKit::NotificationPresenterImpl::checkPermission):
7807 (WebKit::NotificationPresenterImpl::requestPermission):
7809 2010-04-02 Zhenyao Mo <zmo@google.com>
7811 Reviewed by Eric Seidel.
7813 Implement and test new framebuffer object attachment behavior.
7814 https://bugs.webkit.org/show_bug.cgi?id=35611
7816 Test: fast/canvas/webgl/framebuffer-object-attachment.html
7818 * src/WebGraphicsContext3DDefaultImpl.cpp: Map to correct DEPTH_STENCIL format.
7819 (WebKit::WebGraphicsContext3DDefaultImpl::framebufferRenderbuffer):
7820 (WebKit::WebGraphicsContext3DDefaultImpl::getFramebufferAttachmentParameteriv):
7821 (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage):
7823 2010-04-02 Jay Civelli <jcivelli@chromium.org>
7825 Reviewed by Darin Fisher.
7827 The popup type (select or suggestion) is now passed to the
7828 WebClient::createPopupMenu() method. This is required for
7829 Chromium on Linux to make the select popups work correctly.
7830 https://bugs.webkit.org/show_bug.cgi?id=37013
7833 * public/WebPopupType.h: Added.
7835 * public/WebViewClient.h:
7836 (WebKit::WebViewClient::createPopupMenu):
7837 * src/ChromeClientImpl.cpp:
7838 (WebCore::convertPopupType):
7839 (WebKit::ChromeClientImpl::popupOpened):
7841 2010-04-02 Yury Semikhatsky <yurys@chromium.org>
7843 Reviewed by Pavel Feldman.
7845 Implement InspectorFrontendClient in Chromium and remove all custom bindings for the host methods from WebDevToolsFrontendImpl.
7847 https://bugs.webkit.org/show_bug.cgi?id=36817
7850 * src/InspectorFrontendClientImpl.cpp: Added.
7851 (WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
7852 (WebKit::InspectorFrontendClientImpl::~InspectorFrontendClientImpl):
7853 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7854 (WebKit::InspectorFrontendClientImpl::frontendLoaded):
7855 (WebKit::InspectorFrontendClientImpl::moveWindowBy):
7856 (WebKit::InspectorFrontendClientImpl::localizedStringsURL):
7857 (WebKit::InspectorFrontendClientImpl::hiddenPanels):
7858 (WebKit::InspectorFrontendClientImpl::bringToFront):
7859 (WebKit::InspectorFrontendClientImpl::closeWindow):
7860 (WebKit::InspectorFrontendClientImpl::canAttachWindow):
7861 (WebKit::InspectorFrontendClientImpl::attachWindow):
7862 (WebKit::InspectorFrontendClientImpl::detachWindow):
7863 (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
7864 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
7865 * src/InspectorFrontendClientImpl.h: Added.
7866 * src/WebDevToolsFrontendImpl.cpp:
7867 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
7868 (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
7869 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
7870 * src/WebDevToolsFrontendImpl.h:
7871 * src/js/DebuggerAgent.js:
7872 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
7873 * src/js/DevTools.js:
7876 2010-04-01 Jay Civelli <jcivelli@google.com>
7878 Reviewed by David Levin.
7880 Adds a method to WebFrame to execute JavaScript and get the value
7882 https://bugs.webkit.org/show_bug.cgi?id=36907
7884 * public/WebFrame.h:
7885 * src/WebFrameImpl.cpp:
7886 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
7887 * src/WebFrameImpl.h:
7889 2010-04-01 Kinuko Yasuda <kinuko@chromium.org>
7891 Reviewed by Dmitry Titov.
7893 Add FileThread for async file operation support in FileReader and FileWriter
7894 https://bugs.webkit.org/show_bug.cgi?id=36896
7896 Add ENABLE_FILE_READER and ENABLE_FILE_WRITER flags.
7900 2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>
7902 Reviewed by Eric Seidel.
7904 [chromium] FindInPage on multi-frame pages wasn't always updating
7905 tickmarks on scrollbars for the subframes. It was calling invalidateRect
7906 on the View and specifying a rect that's in window coordinates, whereas
7907 the invalidateRect expects frame coordinates.
7909 https://bugs.webkit.org/show_bug.cgi?id=36982
7911 * src/WebFrameImpl.cpp:
7912 (WebKit::WebFrameImpl::invalidateArea):
7914 2010-04-01 Finnur Thorarinsson <finnur.webkit@gmail.com>
7916 Reviewed by Dimitri Glazkov.
7918 [chromium] FindInPage should clear the focused node when a match has
7919 been found. This is because WebFrameImpl::setFocus will try to refocus
7920 editable elements if it thinks they have focus, causing the page to
7923 https://bugs.webkit.org/show_bug.cgi?id=36923
7925 * src/WebFrameImpl.cpp:
7926 (WebKit::WebFrameImpl::find):
7928 2010-04-01 Marcus Bulach <bulach@chromium.org>
7930 Reviewed by Jeremy Orlow.
7932 As a follow up on https://bugs.webkit.org/show_bug.cgi?id=36535, remove:
7933 GeolocationServiceBridgeChromium.h
7935 getGeolocationService()
7936 https://bugs.webkit.org/show_bug.cgi?id=36895
7939 * public/GeolocationServiceBridgeChromium.h: Removed.
7940 * public/WebGeolocationService.h:
7941 (WebKit::WebGeolocationService::detachBridge):
7942 * public/WebViewClient.h:
7943 (WebKit::WebViewClient::geolocationService):
7945 2010-03-31 Jeremy Orlow <jorlow@chromium.org>
7947 Reviewed by Nate Chapin.
7949 Misc IndexedDatabase cleanup
7950 https://bugs.webkit.org/show_bug.cgi?id=36889
7952 Plumb the Frame* so Chromium knows where the request originated from.
7954 * public/WebIndexedDatabase.h:
7955 * src/IndexedDatabaseProxy.cpp:
7956 (WebCore::IndexedDatabaseProxy::open):
7957 * src/IndexedDatabaseProxy.h:
7958 * src/WebIndexedDatabaseImpl.cpp:
7959 (WebKit::WebIndexedDatabaseImpl::open):
7960 * src/WebIndexedDatabaseImpl.h:
7962 2010-03-31 Alpha Lam <hclam@chromium.org>
7964 Not reviewed. Build fix.
7966 Fixing a build break caused by 56872. One of the Chromium bots doesn't
7967 like std::strstr(). Includes string.h and use strstr() instead.
7969 * src/WebGraphicsContext3DDefaultImpl.cpp:
7970 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
7971 Includes string.h and use strstr().
7973 2010-03-31 Zhenyao Mo <zmo@google.com>
7975 Reviewed by Darin Fisher.
7977 Hook up WebGLContextAttributes to OpenGL context creation code
7978 https://bugs.webkit.org/show_bug.cgi?id=33416
7980 * src/WebGraphicsContext3DDefaultImpl.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Chrome.
7981 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
7982 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
7983 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
7984 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
7985 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
7986 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
7987 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
7988 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Deal with wrong returned alpha values in Mac.
7989 * src/WebGraphicsContext3DDefaultImpl.h: Add a function.
7991 2010-03-31 Darin Fisher <darin@chromium.org>
7993 Reviewed by David Levin.
7995 [chromium] including WebKit.gyp:webkit should automatically add Skia
7996 and NPAPI include paths
7998 https://bugs.webkit.org/show_bug.cgi?id=36887
8002 2010-03-31 Marcus Bulach <bulach@chromium.org>
8004 Reviewed by Jeremy Orlow.
8006 Implements cancelGeolocationPermissionRequestForFrame.
8007 https://bugs.webkit.org/show_bug.cgi?id=35031
8009 * public/WebGeolocationService.h:
8010 (WebKit::WebGeolocationService::cancelPermissionRequestForFrame):
8011 * src/ChromeClientImpl.cpp:
8012 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
8013 * src/ChromeClientImpl.h:
8015 2010-03-31 Pavel Feldman <pfeldman@chromium.org>
8017 Not reviewed. Rolling out r56829 since it broke chromium layout tests.
8019 [REGRESSION] Inspector tests started crashing since r56829
8020 https://bugs.webkit.org/show_bug.cgi?id=36888
8022 * public/WebFrameClient.h:
8023 * src/FrameLoaderClientImpl.cpp:
8024 * src/FrameLoaderClientImpl.h:
8026 2010-03-31 Yury Semikhatsky <yurys@chromium.org>
8028 Reviewed by Pavel Feldman.
8030 Add stubs for moveWindowBy and setAttachedWindowHeight.
8032 https://bugs.webkit.org/show_bug.cgi?id=36842
8034 * src/WebDevToolsFrontendImpl.cpp:
8035 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
8036 (WebKit::WebDevToolsFrontendImpl::jsSetAttachedWindowHeight):
8037 (WebKit::WebDevToolsFrontendImpl::jsMoveWindowBy):
8038 * src/WebDevToolsFrontendImpl.h:
8040 2010-03-31 John Gregg <johnnyg@google.com>
8042 Reviewed by Darin Fisher.
8044 [chromium] add logging of cross-frame property accesses for site isolation
8045 https://bugs.webkit.org/show_bug.cgi?id=35773
8047 * public/WebFrameClient.h:
8048 (WebKit::WebFrameClient::logCrossFramePropertyAccess):
8049 * src/FrameLoaderClientImpl.cpp:
8050 (WebKit::FrameLoaderClientImpl::logCrossFramePropertyAccess):
8051 * src/FrameLoaderClientImpl.h:
8053 2010-03-30 Gavin Barraclough <barraclough@apple.com>
8055 Rubber stamped by Sam Weinig.
8057 https://bugs.webkit.org/show_bug.cgi?id=36866
8060 * public/WebCString.h:
8061 * src/FrameLoaderClientImpl.cpp:
8062 * src/GraphicsContext3D.cpp:
8063 * src/WebCString.cpp:
8064 (WebKit::WebCString::assign):
8065 (WebKit::WebCString::WebCString):
8066 (WebKit::WebCString::operator=):
8067 (WebKit::WebCString::operator WTF::CString):
8068 * src/WebMediaPlayerClientImpl.cpp:
8069 * src/WebString.cpp:
8070 * src/WebURLError.cpp:
8072 2010-03-30 Marcus Bulach <bulach@chromium.org>
8074 Reviewed by Darin Fisher.
8076 Rename / tidy up Geolocation bridge:
8077 Rename GeolocationServiceBridgeChromium.cpp to WebGeolocationServiceBridgeImpl.cpp
8078 Uses a temporary compatibility layer in GeolocationServiceBridgeChromium.h.
8080 https://bugs.webkit.org/show_bug.cgi?id=36535
8083 * public/GeolocationServiceBridgeChromium.h:
8084 * public/WebGeolocationService.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
8085 (WebKit::WebGeolocationService::detachBridge):
8086 * public/WebGeolocationServiceBridge.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
8087 * public/WebViewClient.h:
8088 (WebKit::WebViewClient::geolocationService):
8089 * src/ChromeClientImpl.cpp:
8090 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
8091 * src/ChromiumBridge.cpp:
8092 * src/GeolocationServiceBridgeChromium.cpp: Removed.
8093 * src/WebGeolocationServiceBridgeImpl.cpp: Copied from WebKit/chromium/src/GeolocationServiceBridgeChromium.cpp.
8094 (WebKit::createGeolocationServiceBridgeImpl):
8095 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
8096 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
8097 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
8098 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
8099 (WebKit::WebGeolocationServiceBridgeImpl::suspend):
8100 (WebKit::WebGeolocationServiceBridgeImpl::resume):
8101 (WebKit::WebGeolocationServiceBridgeImpl::getBridgeId):
8102 (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
8103 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
8104 (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
8105 (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
8106 * src/WebGeolocationServiceBridgeImpl.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
8108 2010-03-30 Jochen Eisinger <jochen@chromium.org>
8110 Reviewed by Jeremy Orlow.
8112 Remove dysfunctional implementation of canEstablishDatabase for
8113 Workers. I postpone this implementation until Workers can actually
8114 access Web Databases.
8116 https://bugs.webkit.org/show_bug.cgi?id=36795
8118 * src/DatabaseObserver.cpp:
8119 (WebCore::DatabaseObserver::canEstablishDatabase):
8120 * src/WebWorkerBase.h:
8122 2010-03-29 Jeremy Orlow <jorlow@chromium.org>
8124 Reviewed by Darin Fisher.
8127 https://bugs.webkit.org/show_bug.cgi?id=36770
8129 Start the implementation of WebIndexedDatabase (for entrance back into WebKit).
8132 * public/WebIndexedDatabase.h:
8133 * src/WebIndexedDatabaseImpl.cpp: Added.
8134 (WebKit::WebIndexedDatabase::create):
8135 (WebKit::WebIndexedDatabaseImpl::~WebIndexedDatabaseImpl):
8136 (WebKit::WebIndexedDatabaseImpl::open):
8137 * src/WebIndexedDatabaseImpl.h: Added.
8139 2010-03-29 Rafael Weinstein <rafaelw@chromium.org>
8141 Reviewed by Adam Barth.
8143 Change NotificationPresenter::checkPermission() to take the source frames full KURL,
8144 rather than its SecurityOrigin. This will aid chromium in having more fine grained
8145 permissions to control notification spam.
8147 * public/WebNotificationPresenter.h:
8148 (WebKit::WebNotificationPresenter::checkPermission):
8149 * src/NotificationPresenterImpl.cpp:
8150 (WebKit::NotificationPresenterImpl::checkPermission):
8151 * src/NotificationPresenterImpl.h:
8153 2010-03-29 Dawit Alemayehu <adawit@kde.org>
8155 Reviewed by Simon Hausmann.
8157 Factored out the 'ShouldTreatAsAttachment' function to HTTPParsers.*
8158 and replacted local version with the factored out version.
8160 The code was factored out to make possible its use in other implementations
8163 * src/FrameLoaderClientImpl.cpp:
8164 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
8166 2010-03-29 Jochen Eisinger <jochen@chromium.org>
8168 Reviewed by Darin Fisher.
8170 Pass a WebFrame to WebFrameClient::allowDatabase instead of a WebSecurityOrigin
8171 https://bugs.webkit.org/show_bug.cgi?id=36743
8173 * public/WebFrameClient.h:
8174 (WebKit::WebFrameClient::allowDatabase):
8175 * src/DatabaseObserver.cpp:
8176 (WebCore::DatabaseObserver::canEstablishDatabase):
8178 2010-03-24 Jeremy Orlow <jorlow@chromium.org>
8180 Reviewed by Darin Fisher.
8182 More IndexedDB plumbing
8183 https://bugs.webkit.org/show_bug.cgi?id=36546
8185 Plumbing work towards the goal of making IndexedDatabase::open work.
8188 * public/WebIDBCallbacks.h: Added.
8189 (WebKit::WebIDBCallbacks::~WebIDBCallbacks):
8190 * public/WebIDBDatabase.h: Added.
8191 (WebKit::WebIDBDatabase::~WebIDBDatabase):
8192 * public/WebIDBDatabaseError.h: Added.
8193 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
8194 (WebKit::WebIDBDatabaseError::operator=):
8195 * public/WebIndexedDatabase.h:
8196 * public/WebKitClient.h:
8197 (WebKit::WebKitClient::indexedDatabase):
8198 * public/WebSerializedScriptValue.h:
8199 * src/IDBCallbacksProxy.h: Added.
8200 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
8201 (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
8202 (WebCore::IDBCallbacksProxy::onSuccess):
8203 (WebCore::IDBCallbacksProxy::onError):
8204 * src/IDBDatabaseProxy.cpp: Added.
8205 (WebCore::IDBDatabaseProxy::create):
8206 (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
8207 (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
8208 * src/IDBDatabaseProxy.h: Added.
8209 * src/IndexedDatabaseProxy.cpp:
8210 (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
8211 (WebCore::IndexedDatabaseProxy::open):
8212 * src/IndexedDatabaseProxy.h:
8213 * src/WebIDBDatabaseError.cpp: Added.
8214 (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
8215 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
8216 (WebKit::WebIDBDatabaseError::assign):
8217 (WebKit::WebIDBDatabaseError::code):
8218 (WebKit::WebIDBDatabaseError::message):
8219 (WebKit::WebIDBDatabaseError::operator=):
8220 (WebKit::WebIDBDatabaseError::operator PassRefPtr<IDBDatabaseError>):
8222 2010-03-29 Mikhail Naganov <mnaganov@chromium.org>
8224 Reviewed by Pavel Feldman.
8226 Remove a possibility of confusion from Profiles panel Welcome screen
8227 by turning buttons into non-clickable glyphs. Also, span instructions
8228 alongside panel width.
8230 https://bugs.webkit.org/show_bug.cgi?id=34319
8232 * src/js/HeapProfilerPanel.js:
8233 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
8235 2010-03-28 Alexey Proskuryakov <ap@apple.com>
8237 Build fix. Removed extraneous includes of KeyboardCodesWin.h and KeyboardCodesPosix.h -
8238 these no longer exist, but they weren't needed even before reshuffling KeyboardCodes headers.
8240 * src/WebViewImpl.cpp:
8242 2010-03-27 Kenneth Russell <kbr@google.com>
8244 Reviewed by Darin Fisher.
8246 Use WebKitClient to instantiate WebGraphicsContext3D
8247 https://bugs.webkit.org/show_bug.cgi?id=36669
8249 * src/GraphicsContext3D.cpp:
8250 (WebCore::GraphicsContext3DInternal::initialize):
8252 2010-03-24 James Hawkins <jhawkins@chromium.org>
8254 Reviewed by Darin Fisher.
8256 [Chromium] Implement WebFormControlElement and WebSelectElement. Add
8257 a getFormControlElements method to WebFormElement.
8259 https://bugs.webkit.org/show_bug.cgi?id=36562
8262 * public/WebElement.h:
8263 * public/WebFormControlElement.h: Added.
8264 * public/WebFormElement.h:
8265 * public/WebInputElement.h:
8266 (WebKit::WebInputElement::WebInputElement):
8267 (WebKit::WebInputElement::operator=):
8268 (WebKit::WebInputElement::assign):
8269 * public/WebSelectElement.h: Added.
8270 * src/WebElement.cpp:
8271 (WebKit::WebElement::isFormControlElement):
8272 * src/WebFormControlElement.cpp: Added.
8273 * src/WebFormElement.cpp:
8274 (WebKit::WebFormElement::getFormControlElements):
8275 * src/WebInputElement.cpp:
8276 (WebKit::WebInputElement::WebInputElement):
8277 * src/WebSelectElement.cpp: Added.
8279 2010-03-26 Andrey Kosyakov <caseq@chromium.org>
8281 Reviewed by Pavel Feldman.
8283 Send worker resource content to inspector to enable display of web
8284 workers in inspector's resource tab.
8285 https://bugs.webkit.org/show_bug.cgi?id=36658
8287 * src/SharedWorkerRepository.cpp:
8288 (WebCore::SharedWorkerScriptLoader::notifyFinished):
8290 2010-03-25 Tony Chang <tony@chromium.org>
8292 Reviewed by David Levin.
8294 [chromium] correctly handle move drag operations
8295 https://bugs.webkit.org/show_bug.cgi?id=36484
8297 * src/WebViewImpl.cpp:
8298 (WebKit::WebViewImpl::dragTargetDragEnter):
8299 (WebKit::WebViewImpl::dragTargetDragOver):
8300 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): Combine common code into a helper method
8301 and properly mask against the drag effect.
8302 (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
8303 * src/WebViewImpl.h:
8305 2010-03-25 Drew Wilson <atwilson@chromium.org>
8307 Reviewed by Nate Chapin.
8309 [v8] Error in getScriptExecutionContext() when worker context is terminating
8310 https://bugs.webkit.org/show_bug.cgi?id=36565
8312 Test: Existing worker tests suffice.
8314 * src/WebWorkerClientImpl.cpp:
8315 (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
8316 Changed to use WorkerScriptController::controllerForContext() instead of WorkerScriptExecutionProxy::retrieve().
8318 2010-03-25 Jeremy Orlow <jorlow@chromium.org>
8320 Reviewed by Darin Fisher.
8322 [Chromium] Add an ASSERT macro to the Chromium WebKit API
8323 https://bugs.webkit.org/show_bug.cgi?id=36545
8325 * WebKit.gyp: Add WebCommon.cpp
8326 * public/WebCommon.h: Add the Macro.
8327 * public/WebPrivatePtr.h:
8328 (WebKit::WebPrivatePtr::~WebPrivatePtr): Verify the pointer is now 0.
8329 * src/WebCommon.cpp: Added.
8330 (WebKit::failedAssertion): Calls the WTF assert function and then crashes.
8332 2010-03-25 Jochen Eisinger <jochen@chromium.org>
8334 Reviewed by Jeremy Orlow.
8336 Remove ASSERT(isMainThread()) which is violated for workers and not necessary at this point.
8337 https://bugs.webkit.org/show_bug.cgi?id=36614
8339 * src/DatabaseObserver.cpp:
8340 (WebCore::DatabaseObserver::canEstablishDatabase):
8342 2010-03-25 Jochen Eisinger <jochen@chromium.org>
8344 Reviewed by Jeremy Orlow.
8346 Forward DatabaseTracker::canEstablishDatabase to chromium layer.
8347 https://bugs.webkit.org/show_bug.cgi?id=36595
8349 * public/WebFrameClient.h:
8350 (WebKit::WebFrameClient::allowDatabase):
8351 * src/DatabaseObserver.cpp:
8352 (WebCore::DatabaseObserver::canEstablishDatabase):
8353 * src/WebWorkerBase.h:
8354 (WebKit::WebWorkerBase::allowDatabase):
8356 2010-03-10 John Abd-El-Malek <jam@chromium.org>
8358 Reviewed by Darin Fisher.
8360 [chromium] Fix up WebMouseWheelEventBuilder to properly calculate the units
8361 https://bugs.webkit.org/show_bug.cgi?id=35989
8363 * src/WebInputEventConversion.cpp:
8365 2010-03-24 Vangelis Kokkevis <vangelis@chromium.org>
8367 Reviewed by Dimitri Glazkov.
8369 Eliminate unecessary redraws of GraphicsLayer contents when doing accelerated compositing:
8370 https://bugs.webkit.org/show_bug.cgi?id=36470
8372 * src/WebViewImpl.cpp:
8373 (WebKit::WebViewImpl::paint):
8374 Remove call that forced redrawing the contents of the entire layer hierarchy.
8376 2010-03-24 Dmitry Titov <dimich@chromium.org>
8378 No review, rolling out r56453.
8379 http://trac.webkit.org/changeset/56453
8380 https://bugs.webkit.org/show_bug.cgi?id=36426
8382 In Chromium port, it broke invalid-image-data-standalone.html
8383 invalid-image-data.html multipart-wait-before-boundary.html
8384 stop-crash.html win-boundary-crash.html
8386 * src/ResourceHandle.cpp:
8387 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
8388 (WebCore::ResourceHandleInternal::start):
8389 (WebCore::ResourceHandleInternal::cancel):
8390 (WebCore::ResourceHandleInternal::didReceiveResponse):
8391 (WebCore::ResourceHandleInternal::didReceiveData):
8392 (WebCore::ResourceHandleInternal::didFinishLoading):
8393 (WebCore::ResourceHandleInternal::didFail):
8395 2010-03-24 John Abd-El-Malek <jam@chromium.org>
8397 Reviewed by Darin Fisher.
8399 [chromium]WebKit side of adding search support to Pepper.
8400 https://bugs.webkit.org/show_bug.cgi?id=36434
8403 * public/WebDocument.h:
8405 (WebKit::WebNode::to):
8406 (WebKit::WebNode::toConst):
8407 * public/WebPluginDocument.h: Added.
8408 (WebKit::WebPluginDocument::WebPluginDocument):
8409 (WebKit::WebPluginDocument::operator=):
8410 (WebKit::WebPluginDocument::assign):
8411 * src/WebDocument.cpp:
8412 (WebKit::WebDocument::isPluginDocument):
8413 * src/WebPluginDocument.cpp: Added.
8414 (WebKit::WebPluginDocument::plugin):
8415 (WebKit::WebPluginDocument::WebPluginDocument):
8416 (WebKit::WebPluginDocument::operator=):
8417 (WebKit::WebPluginDocument::operator PassRefPtr<PluginDocument>):
8419 2010-03-24 Jeremy Moskovich <jeremy@chromium.org>
8421 Reviewed by Jeremy Orlow.
8423 Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
8425 https://bugs.webkit.org/show_bug.cgi?id=36426
8427 * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
8428 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
8429 (WebCore::ResourceHandleInternal::):
8430 (WebCore::ResourceHandleInternal::start):
8431 (WebCore::ResourceHandleInternal::cancel):
8432 (WebCore::ResourceHandleInternal::didReceiveResponse):
8433 (WebCore::ResourceHandleInternal::didReceiveData):
8434 (WebCore::ResourceHandleInternal::didFinishLoading):
8435 (WebCore::ResourceHandleInternal::didFail):
8437 2010-03-24 Jay Campan <jcampan@google.com>
8439 Reviewed by Darin Fisher.
8441 Making Chromium select popups not steal activation from the browser.
8442 Select popups are now like autocomplete popups, shown in non-activated
8444 https://bugs.webkit.org/show_bug.cgi?id=36062
8446 * public/WebViewClient.h:
8447 (WebKit::WebViewClient::createPopupMenu):
8448 * src/ChromeClientImpl.cpp:
8449 (WebKit::ChromeClientImpl::popupOpened):
8450 (WebKit::ChromeClientImpl::popupClosed):
8451 * src/ChromeClientImpl.h:
8452 * src/WebViewImpl.cpp:
8454 (WebKit::WebViewImpl::mouseDown):
8455 (WebKit::WebViewImpl::keyEvent):
8456 (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
8457 (WebKit::WebViewImpl::hideSelectPopup):
8458 (WebKit::WebViewImpl::popupOpened):
8459 (WebKit::WebViewImpl::popupClosed):
8460 (WebKit::WebViewImpl::setFocus):
8461 (WebKit::WebViewImpl::applyAutoFillSuggestions):
8462 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
8463 * src/WebViewImpl.h:
8465 2010-03-24 Alexander Pavlov <apavlov@chromium.org>
8467 Reviewed by Pavel Feldman.
8469 Web Inspector: [Chromium] Audits never complete
8470 https://bugs.webkit.org/show_bug.cgi?id=36544
8472 * src/js/InspectorControllerImpl.js:
8473 (devtools.InspectorBackendImpl):
8475 2010-03-24 Alexander Pavlov <apavlov@chromium.org>
8477 Reviewed by Pavel Feldman.
8479 [Chromium] Fix VKEY_F10, VKEY_F11 translation in WebInputEvent.cpp
8480 https://bugs.webkit.org/show_bug.cgi?id=36524
8482 * src/WebInputEvent.cpp:
8483 (WebKit::staticKeyIdentifiers):
8485 2010-03-24 Kent Tamura <tkent@chromium.org>
8487 Reviewed by Darin Adler.
8489 Make Icon::createIconForFiles() optional.
8490 https://bugs.webkit.org/show_bug.cgi?id=35072
8492 - Rename iconForFiles() to chooseIconForFiles().
8493 - Call Icon::createIconForFiles() from chooseIconForFiles().
8495 * src/ChromeClientImpl.cpp:
8496 (WebKit::ChromeClientImpl::chooseIconForFiles):
8497 * src/ChromeClientImpl.h:
8499 2010-03-23 Kenneth Russell <kbr@google.com>
8501 Unreviewed build fix.
8503 Add #include <stdio.h> to fix Chromium Linux build.
8505 * src/WebGraphicsContext3DDefaultImpl.cpp:
8507 2010-03-23 Nate Chapin <japhet@chromium.org>
8509 Unreviewed, revert r56376.
8511 This revision introduced a crash in a couple of layout tests
8514 * public/WebViewClient.h:
8515 (WebKit::WebViewClient::createPopupMenu):
8516 * src/ChromeClientImpl.cpp:
8517 (WebKit::ChromeClientImpl::popupOpened):
8518 * src/ChromeClientImpl.h:
8519 * src/WebViewImpl.cpp:
8521 (WebKit::WebViewImpl::mouseDown):
8522 (WebKit::WebViewImpl::keyEvent):
8523 (WebKit::WebViewImpl::setFocus):
8524 (WebKit::WebViewImpl::applyAutoFillSuggestions):
8525 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
8526 * src/WebViewImpl.h:
8528 2010-03-23 Sergey Ulanov <sergeyu@chromium.org>
8530 Reviewed by Dmitry Titov.
8532 Changes needed to implement Show/Hide Controls command for <video> in
8533 chrome: (1) added Controls action in WebMediaPlayerAction that toggles
8534 controls for media player, (2) added MediaHasVideo in
8535 WebContextMenuData so that controls can be made toggleable only for
8536 video player but not for audio.
8537 https://bugs.webkit.org/show_bug.cgi?id=36460
8539 * public/WebContextMenuData.h:
8540 (WebKit::WebContextMenuData::):
8541 * public/WebMediaPlayerAction.h:
8542 (WebKit::WebMediaPlayerAction::):
8543 * src/ContextMenuClientImpl.cpp:
8544 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
8545 * src/WebViewImpl.cpp:
8546 (WebKit::WebViewImpl::performMediaPlayerAction):
8548 2010-03-23 Yury Semikhatsky <yurys@chromium.org>
8550 Reviewed by Pavel Feldman.
8552 When uncaught exception happens reveal Scripts panel only if reporting uncaught exceptions is on.
8554 https://bugs.webkit.org/show_bug.cgi?id=36498
8556 * src/js/DebuggerAgent.js:
8557 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
8559 2010-03-23 Ilya Tikhonovsky <loislo@chromium.org>
8561 Reviewed by Pavel Feldman.
8563 Web Inspector: TimelinePanel stays in the recording state after reopening WebInspector.
8564 https://bugs.webkit.org/show_bug.cgi?id=36503
8566 * src/WebDevToolsAgentImpl.cpp:
8567 (WebKit::WebDevToolsAgentImpl::detach):
8569 2010-03-22 Kenneth Russell <kbr@google.com>
8571 Reviewed by Darin Fisher.
8573 Add GraphicsContext3D abstraction to WebKit API
8574 https://bugs.webkit.org/show_bug.cgi?id=36262
8576 Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
8577 GraphicsContext3D implementation to use it. All of the OpenGL calls have
8578 been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
8579 WebGraphicsContext3D implementation. GraphicsContext3D is still
8580 responsible for the transfer of rendered output from the
8581 WebGraphicsContext3D to the HTMLCanvasElement.
8583 The GraphicsContext3DInternal class, which is a data member of
8584 GraphicsContext3D for the Chromium port, remains. It is possible to
8585 eliminate this class and thereby one level of delegation, but this is
8588 The needed entry point for a Chrome implementation of
8589 WebGraphicsContext3D has been added to WebKitClient, but it is not being
8590 called yet by GraphicsContext3D. It will be once this patch lands and
8591 Chromium is rolled forward to support this entry point.
8593 This is a large patch, but the transformation is almost entirely
8594 mechanical and there is no change in functionality. Nearly all of
8595 GraphicsContext3D and GraphicsContext3DInternal has been moved to
8596 WebGraphicsContext3DDefaultImpl. The only area where the splitting of
8597 logic is less than mechanical is GraphicsContext3D::beginPaint() and its
8600 Ran all WebGL layout tests and demos from Khronos site in Chromium
8604 * public/WebGraphicsContext3D.h: Added.
8605 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
8606 (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
8607 * public/WebKitClient.h:
8608 (WebKit::WebKitClient::createGraphicsContext3D):
8609 * src/GraphicsContext3D.cpp:
8610 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
8611 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
8612 (WebCore::GraphicsContext3DInternal::initialize):
8613 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
8614 (WebCore::GraphicsContext3DInternal::platformTexture):
8615 (WebCore::GraphicsContext3DInternal::beginPaint):
8616 (WebCore::GraphicsContext3DInternal::endPaint):
8617 (WebCore::GraphicsContext3DInternal::reshape):
8618 (WebCore::GraphicsContext3DInternal::bindAttribLocation):
8619 (WebCore::GraphicsContext3DInternal::bindTexture):
8620 (WebCore::GraphicsContext3DInternal::bufferData):
8621 (WebCore::GraphicsContext3DInternal::bufferSubData):
8622 (WebCore::GraphicsContext3DInternal::getActiveAttrib):
8623 (WebCore::GraphicsContext3DInternal::getActiveUniform):
8624 (WebCore::GraphicsContext3DInternal::getAttribLocation):
8625 (WebCore::GraphicsContext3DInternal::getContextAttributes):
8626 (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
8627 (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
8628 (WebCore::GraphicsContext3DInternal::getShaderSource):
8629 (WebCore::GraphicsContext3DInternal::getString):
8630 (WebCore::GraphicsContext3DInternal::getUniformLocation):
8631 (WebCore::GraphicsContext3DInternal::readPixels):
8632 (WebCore::GraphicsContext3DInternal::shaderSource):
8633 (WebCore::GraphicsContext3DInternal::texImage2D):
8634 (WebCore::GraphicsContext3DInternal::texSubImage2D):
8635 (WebCore::GraphicsContext3DInternal::uniform1fv):
8636 (WebCore::GraphicsContext3DInternal::uniform1iv):
8637 (WebCore::GraphicsContext3DInternal::uniform2fv):
8638 (WebCore::GraphicsContext3DInternal::uniform2iv):
8639 (WebCore::GraphicsContext3DInternal::uniform3fv):
8640 (WebCore::GraphicsContext3DInternal::uniform3iv):
8641 (WebCore::GraphicsContext3DInternal::uniform4fv):
8642 (WebCore::GraphicsContext3DInternal::uniform4iv):
8643 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
8644 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
8645 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
8646 (WebCore::GraphicsContext3D::GraphicsContext3D):
8647 (WebCore::GraphicsContext3D::~GraphicsContext3D):
8648 (WebCore::GraphicsContext3D::create):
8649 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
8650 (WebCore::GraphicsContext3D::platformTexture):
8651 (WebCore::GraphicsContext3D::texImage2D):
8652 (WebCore::GraphicsContext3D::texSubImage2D):
8653 * src/WebGraphicsContext3D.cpp: Added.
8654 (WebKit::WebGraphicsContext3D::createDefault):
8655 * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
8656 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
8657 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
8658 (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
8659 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
8660 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
8661 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
8662 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
8663 (WebKit::WebGraphicsContext3DDefaultImpl::width):
8664 (WebKit::WebGraphicsContext3DDefaultImpl::height):
8665 (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
8666 (WebKit::createTextureObject):
8667 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
8668 (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
8669 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
8670 (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
8671 (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
8672 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
8673 (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
8674 (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
8675 (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
8676 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
8677 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
8678 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
8679 (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
8680 (WebKit::WebGraphicsContext3DDefaultImpl::getError):
8681 (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
8682 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
8683 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
8684 (WebKit::WebGraphicsContext3DDefaultImpl::getString):
8685 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
8686 (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
8687 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
8688 (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
8689 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
8690 (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
8691 (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
8692 (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
8693 (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
8694 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
8695 (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
8696 (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
8697 (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
8698 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
8699 (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
8700 (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
8701 * src/WebGraphicsContext3DDefaultImpl.h: Added.
8702 (WebKit::WebGraphicsContext3DDefaultImpl::):
8703 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
8704 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
8705 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
8706 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
8707 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
8708 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
8709 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
8710 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
8712 2010-03-22 Jay Campan <jcampan@google.com>
8714 Reviewed by Darin Fisher.
8716 Making Chromium select popups not steal activation from the browser.
8717 Select popups are now like autocomplete popups, shown in non-activated
8719 https://bugs.webkit.org/show_bug.cgi?id=36062
8721 * public/WebViewClient.h:
8722 (WebKit::WebViewClient::createPopupMenu):
8723 * src/ChromeClientImpl.cpp:
8724 (WebKit::ChromeClientImpl::popupOpened):
8725 (WebKit::ChromeClientImpl::popupClosed):
8726 * src/ChromeClientImpl.h:
8727 * src/WebViewImpl.cpp:
8729 (WebKit::WebViewImpl::mouseDown):
8730 (WebKit::WebViewImpl::keyEvent):
8731 (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
8732 (WebKit::WebViewImpl::hideSelectPopup):
8733 (WebKit::WebViewImpl::popupOpened):
8734 (WebKit::WebViewImpl::popupClosed):
8735 (WebKit::WebViewImpl::setFocus):
8736 (WebKit::WebViewImpl::applyAutoFillSuggestions):
8737 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
8738 * src/WebViewImpl.h:
8740 2010-03-22 Darin Fisher <darin@chromium.org>
8742 Reviewed by Nate Chapin.
8744 [chromium] Renderer crashes when navigating to a reference fragment in
8745 a frame that has no current HistoryItem.
8747 https://bugs.webkit.org/show_bug.cgi?id=36443
8749 Test: fast/loader/crash-replacing-location-before-load.html
8751 * src/FrameLoaderClientImpl.cpp:
8752 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
8754 2010-03-22 Kevin Decker <kdecker@apple.com>
8756 Reviewed by John Sullivan.
8758 https://bugs.webkit.org/show_bug.cgi?id=36328
8760 * src/LocalizedStrings.cpp:
8761 (WebCore::missingPluginText): Added
8763 2010-03-22 Yury Semikhatsky <yurys@chromium.org>
8765 Reviewed by Pavel Feldman.
8767 Fix inspected Page crash in destructor when Web Inspector is open.
8769 https://bugs.webkit.org/show_bug.cgi?id=36441
8771 * src/js/InjectDispatch.js:
8772 (inspectedPageDestroyed): Added stub for missing method.
8774 2010-03-22 Jochen Eisinger <jochen@chromium.org>
8776 Reviewed by Jeremy Orlow.
8778 Added methods to WebSecurityOrigin for invoking
8779 SecurityOrigin::canAccess and SecurityOrigin::Create
8780 https://bugs.webkit.org/show_bug.cgi?id=36356
8782 * public/WebSecurityOrigin.h:
8783 * src/WebSecurityOrigin.cpp:
8784 (WebKit::WebSecurityOrigin::create):
8785 (WebKit::WebSecurityOrigin::canAccess):
8787 2010-03-20 Dimitri Glazkov <dglazkov@chromium.org>
8789 No review, rolling out r56294.
8790 http://trac.webkit.org/changeset/56294
8791 https://bugs.webkit.org/show_bug.cgi?id=36262
8793 Broke compile on Chromium canaries.
8796 * public/WebGraphicsContext3D.h: Removed.
8797 * public/WebKitClient.h:
8798 * src/GraphicsContext3D.cpp:
8799 (WebCore::GraphicsContext3DInternal::):
8800 (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
8801 (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
8802 (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
8803 (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
8804 (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
8805 (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
8806 (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
8807 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
8808 (WebCore::GraphicsContext3DInternal::GLConnection::create):
8809 (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
8810 (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
8811 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
8812 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
8813 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
8814 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
8815 (WebCore::GraphicsContext3DInternal::platformTexture):
8816 (WebCore::createTextureObject):
8817 (WebCore::GraphicsContext3DInternal::reshape):
8818 (WebCore::GraphicsContext3DInternal::flipVertically):
8819 (WebCore::GraphicsContext3DInternal::beginPaint):
8820 (WebCore::GraphicsContext3DInternal::activeTexture):
8821 (WebCore::GraphicsContext3DInternal::bindBuffer):
8822 (WebCore::GraphicsContext3DInternal::bindFramebuffer):
8823 (WebCore::GraphicsContext3DInternal::bindTexture):
8824 (WebCore::GraphicsContext3DInternal::bufferDataImpl):
8825 (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
8826 (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
8827 (WebCore::GraphicsContext3DInternal::getError):
8828 (WebCore::GraphicsContext3DInternal::getContextAttributes):
8829 (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
8830 (WebCore::GraphicsContext3DInternal::viewportImpl):
8831 (WebCore::GraphicsContext3DInternal::synthesizeGLError):
8832 (WebCore::GraphicsContext3D::create):
8833 (WebCore::GraphicsContext3D::GraphicsContext3D):
8834 (WebCore::GraphicsContext3D::~GraphicsContext3D):
8835 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
8836 (WebCore::GraphicsContext3D::platformTexture):
8837 (WebCore::GraphicsContext3D::makeContextCurrent):
8838 (WebCore::GraphicsContext3D::reshape):
8839 (WebCore::GraphicsContext3D::beginPaint):
8840 (WebCore::GraphicsContext3D::endPaint):
8841 (WebCore::GraphicsContext3D::sizeInBytes):
8842 (WebCore::GraphicsContext3D::createBuffer):
8843 (WebCore::GraphicsContext3D::createFramebuffer):
8844 (WebCore::GraphicsContext3D::createProgram):
8845 (WebCore::GraphicsContext3D::createRenderbuffer):
8846 (WebCore::GraphicsContext3D::createShader):
8847 (WebCore::GraphicsContext3D::createTexture):
8848 (WebCore::GraphicsContext3D::deleteBuffer):
8849 (WebCore::GraphicsContext3D::deleteFramebuffer):
8850 (WebCore::GraphicsContext3D::deleteProgram):
8851 (WebCore::GraphicsContext3D::deleteRenderbuffer):
8852 (WebCore::GraphicsContext3D::deleteShader):
8853 (WebCore::GraphicsContext3D::deleteTexture):
8854 (WebCore::GraphicsContext3D::activeTexture):
8855 (WebCore::GraphicsContext3D::bindAttribLocation):
8856 (WebCore::GraphicsContext3D::bindBuffer):
8857 (WebCore::GraphicsContext3D::bindFramebuffer):
8858 (WebCore::GraphicsContext3D::bindTexture):
8859 (WebCore::GraphicsContext3D::bufferData):
8860 (WebCore::GraphicsContext3D::bufferSubData):
8861 (WebCore::GraphicsContext3D::checkFramebufferStatus):
8862 (WebCore::GraphicsContext3D::detachShader):
8863 (WebCore::GraphicsContext3D::disableVertexAttribArray):
8864 (WebCore::GraphicsContext3D::drawArrays):
8865 (WebCore::GraphicsContext3D::drawElements):
8866 (WebCore::GraphicsContext3D::enableVertexAttribArray):
8867 (WebCore::GraphicsContext3D::generateMipmap):
8868 (WebCore::GraphicsContext3D::getActiveAttrib):
8869 (WebCore::GraphicsContext3D::getActiveUniform):
8870 (WebCore::GraphicsContext3D::getAttribLocation):
8871 (WebCore::GraphicsContext3D::getBooleanv):
8872 (WebCore::GraphicsContext3D::getBufferParameteriv):
8873 (WebCore::GraphicsContext3D::getContextAttributes):
8874 (WebCore::GraphicsContext3D::getError):
8875 (WebCore::GraphicsContext3D::getFloatv):
8876 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
8877 (WebCore::GraphicsContext3D::getIntegerv):
8878 (WebCore::GraphicsContext3D::getProgramiv):
8879 (WebCore::GraphicsContext3D::getProgramInfoLog):
8880 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
8881 (WebCore::GraphicsContext3D::getShaderiv):
8882 (WebCore::GraphicsContext3D::getShaderInfoLog):
8883 (WebCore::GraphicsContext3D::getShaderSource):
8884 (WebCore::GraphicsContext3D::getString):
8885 (WebCore::GraphicsContext3D::getTexParameterfv):
8886 (WebCore::GraphicsContext3D::getTexParameteriv):
8887 (WebCore::GraphicsContext3D::getUniformfv):
8888 (WebCore::GraphicsContext3D::getUniformiv):
8889 (WebCore::GraphicsContext3D::getUniformLocation):
8890 (WebCore::GraphicsContext3D::getVertexAttribfv):
8891 (WebCore::GraphicsContext3D::getVertexAttribiv):
8892 (WebCore::GraphicsContext3D::getVertexAttribOffset):
8893 (WebCore::GraphicsContext3D::isBuffer):
8894 (WebCore::GraphicsContext3D::isEnabled):
8895 (WebCore::GraphicsContext3D::isFramebuffer):
8896 (WebCore::GraphicsContext3D::isProgram):
8897 (WebCore::GraphicsContext3D::isRenderbuffer):
8898 (WebCore::GraphicsContext3D::isShader):
8899 (WebCore::GraphicsContext3D::isTexture):
8900 (WebCore::GraphicsContext3D::pixelStorei):
8901 (WebCore::GraphicsContext3D::readPixels):
8902 (WebCore::GraphicsContext3D::releaseShaderCompiler):
8903 (WebCore::GraphicsContext3D::shaderSource):
8904 (WebCore::GraphicsContext3D::synthesizeGLError):
8905 (WebCore::GraphicsContext3D::texImage2D):
8906 (WebCore::GraphicsContext3D::texSubImage2D):
8907 (WebCore::GraphicsContext3D::uniform1fv):
8908 (WebCore::GraphicsContext3D::uniform1iv):
8909 (WebCore::GraphicsContext3D::uniform2fv):
8910 (WebCore::GraphicsContext3D::uniform2iv):
8911 (WebCore::GraphicsContext3D::uniform3fv):
8912 (WebCore::GraphicsContext3D::uniform3iv):
8913 (WebCore::GraphicsContext3D::uniform4fv):
8914 (WebCore::GraphicsContext3D::uniform4iv):
8915 (WebCore::GraphicsContext3D::uniformMatrix2fv):
8916 (WebCore::GraphicsContext3D::uniformMatrix3fv):
8917 (WebCore::GraphicsContext3D::uniformMatrix4fv):
8918 (WebCore::GraphicsContext3D::vertexAttrib1fv):
8919 (WebCore::GraphicsContext3D::vertexAttrib2fv):
8920 (WebCore::GraphicsContext3D::vertexAttrib3fv):
8921 (WebCore::GraphicsContext3D::vertexAttrib4fv):
8922 (WebCore::GraphicsContext3D::vertexAttribPointer):
8923 (WebCore::GraphicsContext3D::viewport):
8924 * src/WebGraphicsContext3D.cpp: Removed.
8925 * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
8926 * src/WebGraphicsContext3DDefaultImpl.h: Removed.
8928 2010-03-19 Kenneth Russell <kbr@google.com>
8930 Reviewed by Darin Fisher.
8932 Add GraphicsContext3D abstraction to WebKit API
8933 https://bugs.webkit.org/show_bug.cgi?id=36262
8935 Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
8936 GraphicsContext3D implementation to use it. All of the OpenGL calls have
8937 been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
8938 WebGraphicsContext3D implementation. GraphicsContext3D is still
8939 responsible for the transfer of rendered output from the
8940 WebGraphicsContext3D to the HTMLCanvasElement.
8942 The GraphicsContext3DInternal class, which is a data member of
8943 GraphicsContext3D for the Chromium port, remains. It is possible to
8944 eliminate this class and thereby one level of delegation, but this is
8947 The needed entry point for a Chrome implementation of
8948 WebGraphicsContext3D has been added to WebKitClient, but it is not being
8949 called yet by GraphicsContext3D. It will be once this patch lands and
8950 Chromium is rolled forward to support this entry point.
8952 This is a large patch, but the transformation is almost entirely
8953 mechanical and there is no change in functionality. Nearly all of
8954 GraphicsContext3D and GraphicsContext3DInternal has been moved to
8955 WebGraphicsContext3DDefaultImpl. The only area where the splitting of
8956 logic is less than mechanical is GraphicsContext3D::beginPaint() and its
8959 Ran all WebGL layout tests and demos from Khronos site in Chromium.
8962 * public/WebGraphicsContext3D.h: Added.
8963 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
8964 (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
8965 * public/WebKitClient.h:
8966 (WebKit::WebKitClient::createGraphicsContext3D):
8967 * src/GraphicsContext3D.cpp:
8968 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
8969 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
8970 (WebCore::GraphicsContext3DInternal::initialize):
8971 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
8972 (WebCore::GraphicsContext3DInternal::platformTexture):
8973 (WebCore::GraphicsContext3DInternal::beginPaint):
8974 (WebCore::GraphicsContext3DInternal::endPaint):
8975 (WebCore::GraphicsContext3DInternal::reshape):
8976 (WebCore::GraphicsContext3DInternal::bindAttribLocation):
8977 (WebCore::GraphicsContext3DInternal::bindTexture):
8978 (WebCore::GraphicsContext3DInternal::bufferData):
8979 (WebCore::GraphicsContext3DInternal::bufferSubData):
8980 (WebCore::GraphicsContext3DInternal::getActiveAttrib):
8981 (WebCore::GraphicsContext3DInternal::getActiveUniform):
8982 (WebCore::GraphicsContext3DInternal::getAttribLocation):
8983 (WebCore::GraphicsContext3DInternal::getContextAttributes):
8984 (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
8985 (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
8986 (WebCore::GraphicsContext3DInternal::getShaderSource):
8987 (WebCore::GraphicsContext3DInternal::getString):
8988 (WebCore::GraphicsContext3DInternal::getUniformLocation):
8989 (WebCore::GraphicsContext3DInternal::readPixels):
8990 (WebCore::GraphicsContext3DInternal::shaderSource):
8991 (WebCore::GraphicsContext3DInternal::texImage2D):
8992 (WebCore::GraphicsContext3DInternal::texSubImage2D):
8993 (WebCore::GraphicsContext3DInternal::uniform1fv):
8994 (WebCore::GraphicsContext3DInternal::uniform1iv):
8995 (WebCore::GraphicsContext3DInternal::uniform2fv):
8996 (WebCore::GraphicsContext3DInternal::uniform2iv):
8997 (WebCore::GraphicsContext3DInternal::uniform3fv):
8998 (WebCore::GraphicsContext3DInternal::uniform3iv):
8999 (WebCore::GraphicsContext3DInternal::uniform4fv):
9000 (WebCore::GraphicsContext3DInternal::uniform4iv):
9001 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
9002 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
9003 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
9004 (WebCore::GraphicsContext3D::GraphicsContext3D):
9005 (WebCore::GraphicsContext3D::~GraphicsContext3D):
9006 (WebCore::GraphicsContext3D::create):
9007 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
9008 (WebCore::GraphicsContext3D::platformTexture):
9009 (WebCore::GraphicsContext3D::texImage2D):
9010 (WebCore::GraphicsContext3D::texSubImage2D):
9011 * src/WebGraphicsContext3D.cpp: Added.
9012 (WebKit::WebGraphicsContext3D::createDefault):
9013 * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
9014 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
9015 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
9016 (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
9017 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
9018 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
9019 (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
9020 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
9021 (WebKit::WebGraphicsContext3DDefaultImpl::width):
9022 (WebKit::WebGraphicsContext3DDefaultImpl::height):
9023 (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
9024 (WebKit::createTextureObject):
9025 (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
9026 (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
9027 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
9028 (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
9029 (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
9030 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
9031 (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
9032 (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
9033 (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
9034 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
9035 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
9036 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
9037 (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
9038 (WebKit::WebGraphicsContext3DDefaultImpl::getError):
9039 (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
9040 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
9041 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
9042 (WebKit::WebGraphicsContext3DDefaultImpl::getString):
9043 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
9044 (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
9045 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
9046 (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
9047 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
9048 (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
9049 (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
9050 (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
9051 (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
9052 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
9053 (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
9054 (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
9055 (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
9056 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
9057 (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
9058 (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
9059 * src/WebGraphicsContext3DDefaultImpl.h: Added.
9060 (WebKit::WebGraphicsContext3DDefaultImpl::):
9061 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
9062 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
9063 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
9064 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
9065 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
9066 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
9067 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
9068 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
9070 2010-03-19 Dimitri Glazkov <dglazkov@chromium.org>
9072 Unreviewed, build fix.
9074 Rename enqueueStorageEvent to enqueueEvent to match changes in
9075 http://trac.webkit.org/changeset/56249.
9077 * src/StorageAreaProxy.cpp:
9078 (WebCore::StorageAreaProxy::storageEvent): Renamed.
9080 2010-03-19 Darin Fisher <darin@chromium.org>
9082 Reviewed by Dimitri Glazkov.
9084 [chromium] querying the current history item during a back/forward
9085 navigation should not clobber the scroll offset, etc.
9086 https://bugs.webkit.org/show_bug.cgi?id=36347
9088 We should only allow the current history item to be modified if we are
9089 no longer loading or if the load is a new navigation (i.e., not a
9090 back/forward/reload variant).
9092 * src/WebFrameImpl.cpp:
9093 (WebKit::WebFrameImpl::currentHistoryItem):
9095 2010-03-18 Vangelis Kokkevis <vangelis@chromium.org>
9097 Reviewed by Adam Barth.
9099 Adding support for the ACCELERATED_COMPOSITING render path to Chromium.
9100 https://bugs.webkit.org/show_bug.cgi?id=35557
9101 Currently compositing of layers is performed via s/w compositor which relies on Skia. This is an initial check-in
9102 and it's only been tested on Windows. Compiling the code requires seting "use_accelerated_compositing=1"
9103 to GYP_DEFINES. The update of layer contents and compositing is fairly inefficient but this will be fixed in
9104 subsequent check-ins.
9106 * src/ChromeClientImpl.cpp:
9107 (WebKit::ChromeClientImpl::attachRootGraphicsLayer):
9108 (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
9109 * src/ChromeClientImpl.h:
9110 (WebKit::ChromeClientImpl::setNeedsOneShotDrawingSynchronization):
9111 Added methods required by the RenderLayerCompositor
9113 * src/WebFrameImpl.cpp:
9114 (WebKit::WebFrameImpl::paintWithContext):
9115 (WebKit::WebFrameImpl::paint):
9116 * src/WebFrameImpl.h:
9117 Split WebFrameImpl::paint() into two methods to make it possible to call the paint
9118 routine with an existing GraphicsContext, which is necessary for painting the root layer into
9119 its own backing surface.
9121 * src/WebViewImpl.cpp:
9122 (WebKit::WebViewImpl::WebViewImpl):
9123 (WebKit::WebViewImpl::paint):
9124 Modified method to handle the accelerated compositing path. Now, when doing accelerated compositing,
9125 paint() results in repainting the contents of the root layer and then doing a composite operation.
9126 (WebKit::WebViewImpl::setRootGraphicsLayer):
9127 (WebKit::WebViewImpl::setAcceleratedCompositing):
9128 (WebKit::WebViewImpl::updateRootLayerContents):
9129 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
9130 * src/WebViewImpl.h:
9131 (WebKit::WebViewImpl::isAcceleratedCompositing):
9133 2010-03-18 Jian Li <jianli@chromium.org>
9135 Reviewed by Darin Fisher.
9137 Chromium interface change to support Blob.slice.
9138 https://bugs.webkit.org/show_bug.cgi?id=35318
9141 * public/WebHTTPBody.h:
9142 * public/WebKitClient.h:
9143 (WebKit::WebKitClient::getFileModificationTime):
9144 * src/ChromiumBridge.cpp:
9145 (WebCore::ChromiumBridge::getFileModificationTime):
9146 * src/WebHTTPBody.cpp:
9147 (WebKit::WebHTTPBody::elementAt):
9148 (WebKit::WebHTTPBody::appendFile):
9149 (WebKit::WebHTTPBody::appendFileRange):
9151 2010-03-12 Ojan Vafai <ojan@chromium.org>
9153 Reviewed by David Levin.
9155 smartdelete should only occur after double-click
9156 https://bugs.webkit.org/show_bug.cgi?id=35314
9158 * src/WebFrameImpl.cpp:
9159 (WebKit::WebFrameImpl::selectWordAroundPosition):
9161 2010-03-18 Nate Chapin <japhet@chromium.org>
9163 Unreviewed, build fix.
9165 Left a parentheses unclosed somehow.
9167 * src/WebDevToolsFrontendImpl.cpp:
9168 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
9170 2010-03-18 Nate Chapin <japhet@chromium.org>
9172 Reviewed by Dimitri Glazkov.
9174 Remove all references to V8Index.h and V8ClassIndex.
9176 https://bugs.webkit.org/show_bug.cgi?id=33477
9178 * src/WebBindings.cpp:
9179 (WebKit::getRangeImpl):
9180 * src/WebDevToolsAgentImpl.cpp:
9181 * src/WebDevToolsFrontendImpl.cpp:
9182 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
9184 2010-03-17 Garret Kelly <gdk@chromium.org>
9186 Reviewed by Darin Fisher.
9188 PlatformTouchEventBuilder should not be resizing the touch point
9189 array before appending touch points to it.
9190 https://bugs.webkit.org/show_bug.cgi?id=36231
9192 * src/WebInputEventConversion.cpp:
9193 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
9195 2010-03-17 Dmitry Titov <dimich@chromium.org>
9197 Reviewed by Dimitri Glazkov.
9199 [chromium] Roll Chromium builder's DEPS to current revs.
9200 https://bugs.webkit.org/show_bug.cgi?id=36241
9204 2010-03-17 Kenneth Russell <kbr@google.com>
9206 Reviewed by Darin Fisher.
9208 Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
9209 https://bugs.webkit.org/show_bug.cgi?id=36233
9211 The patch for bug 33416, which added multisampling support to the
9212 WebGL back buffer, uncovered some OpenGL driver bugs on the build
9213 bots which need further investigation to determine the appropriate
9214 workaround. Reverting this change, the minor build fix in 36189,
9215 and the skipping of the affected tests in bug 36200.
9217 Built and tested WebKit and Chromium and ran all WebGL layout
9220 * src/GraphicsContext3D.cpp:
9221 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
9222 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
9223 (WebCore::GraphicsContext3DInternal::reshape):
9224 (WebCore::GraphicsContext3DInternal::beginPaint):
9225 (WebCore::GraphicsContext3DInternal::bindFramebuffer):
9226 (WebCore::GraphicsContext3D::readPixels):
9228 2010-03-16 James Hawkins <jhawkins@chromium.org>
9230 Reviewed by David Levin.
9232 [Chromium] Size the WebVector of forms after determining how many
9233 forms are valid and will be returned.
9235 https://bugs.webkit.org/show_bug.cgi?id=36204
9237 No new tests, as this is only triggered by Chromium's use of the
9240 * src/WebFrameImpl.cpp:
9241 (WebKit::WebFrameImpl::forms):
9243 2010-03-16 Kenneth Russell <kbr@google.com>
9245 Reviewed by Darin Fisher.
9247 Build breakage from 33416
9248 https://bugs.webkit.org/show_bug.cgi?id=36189
9250 No new tests. Built release Chromium.
9252 * src/GraphicsContext3D.cpp:
9253 (WebCore::GraphicsContext3DInternal::reshape):
9255 2010-03-16 Zhenyao Mo <zmo@google.com>
9257 Reviewed by Darin Fisher.
9259 Hook up WebGLContextAttributes to OpenGL context creation code
9260 https://bugs.webkit.org/show_bug.cgi?id=33416
9262 Test: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html
9264 * src/GraphicsContext3D.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Windows.
9266 2010-03-16 Yury Semikhatsky <yurys@chromium.org>
9270 Fix Chromium Mac build: remove unused code.
9272 * src/WebDevToolsAgentImpl.cpp:
9273 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
9275 2010-03-16 Yury Semikhatsky <yurys@chromium.org>
9277 Reviewed by Pavel Feldman.
9279 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.
9281 Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
9282 https://bugs.webkit.org/show_bug.cgi?id=35036
9284 * src/InspectorClientImpl.cpp:
9285 (WebKit::InspectorClientImpl::openInspectorFrontend):
9286 * src/InspectorClientImpl.h:
9287 * src/WebDevToolsAgentImpl.cpp:
9288 (WebKit::WebDevToolsAgentImpl::attach):
9289 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
9290 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
9291 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
9292 * src/WebDevToolsAgentImpl.h:
9293 * src/WebDevToolsFrontendImpl.cpp:
9294 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
9295 (WebKit::WebDevToolsFrontendImpl::jsBringToFront):
9296 (WebKit::WebDevToolsFrontendImpl::jsInspectedURLChanged):
9297 * src/WebDevToolsFrontendImpl.h:
9298 * src/js/InjectDispatch.js:
9301 2010-03-16 Pavel Feldman <pfeldman@chromium.org>
9303 Not reviewed: chromium tests fix.
9305 * src/js/InspectorControllerImpl.js:
9306 (devtools.InspectorBackendImpl):
9308 2010-03-16 Pavel Feldman <pfeldman@chromium.org>
9310 Reviewed by Timothy Hatcher.
9312 Web Inspector: migrate to native styles inspector in order to inspect styles from foreighn domains.
9314 https://bugs.webkit.org/show_bug.cgi?id=36117
9316 * src/js/InspectorControllerImpl.js:
9317 (devtools.InspectorBackendImpl):
9319 2010-03-15 John Gregg <johnnyg@google.com>
9321 Reviewed by David Levin.
9323 Notification object should expose absolute URL of icon
9324 https://bugs.webkit.org/show_bug.cgi?id=35800
9326 * public/WebNotification.h:
9327 * src/WebNotification.cpp:
9328 (WebKit::WebNotification::iconURL):
9330 2010-03-15 Darin Fisher <darin@chromium.org>
9332 Reviewed by Adam Barth.
9334 https://bugs.webkit.org/show_bug.cgi?id=36152
9335 [chromium] Add support for history.pushState and history.replaceState
9337 * public/WebFrameClient.h:
9338 (WebKit::WebFrameClient::didNavigateWithinPage): Move implementation of
9339 didChangeLocationWithinPage to here. Only add to the redirect chain if
9340 we are performing a simple hash change (i.e., no state object on the
9341 history item). Call the old didChangeLocationWithinPage for backwards
9342 compat with Chromium. This will be removed in a subsequent patch.
9344 (WebKit::WebFrameClient::didChangeLocationWithinPage):
9345 * src/FrameLoaderClientImpl.cpp:
9346 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
9347 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
9348 Call the new version of didChangeLocationWithinPage without the
9349 parameter to indicate whether this is a new navigation or not. We only
9350 need this method on WebFrameClient to support TestShell / DRT.
9352 (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
9353 Call dispatchDidNavigateWithinPage since pushState is just a type of
9354 in-page navigation. This is an in-page navigation that adds another
9355 entry to session history.
9357 (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
9358 Call dispatchDidNavigateWithinPage since replaceState is just a type of
9359 in-page navigation. This is an in-page navigation that replaces the
9360 current session history entry.
9362 (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): Do
9363 nothing since dispatchDidNavigateWithinPage is called in this case by
9366 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
9367 (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): Move the code
9368 for handling the dummy chrome-back-forward://go/ URLs from
9369 dispatchDecidePolicyForNavigationAction to shouldGoToHistoryItem, which
9370 prevents the URLs from leaking into session history.
9371 shouldGoToHistoryItem is called before any work is done by history
9372 traversal, so this is a better place for this hack. Ultimately, this
9373 code should be eliminatd in favor of better integration with
9374 FrameLoader or HistoryController.
9376 * src/FrameLoaderClientImpl.h:
9378 2010-03-15 Darin Fisher <darin@chromium.org>
9380 Fix build bustage. We also need to pull down "third_party/tcmalloc"
9384 2010-03-15 Darin Fisher <darin@chromium.org>
9386 Fix build bustage. We also need to pull down "gfx"
9390 2010-03-15 Darin Fisher <darin@chromium.org>
9392 Reviewed by David Levin.
9394 https://bugs.webkit.org/show_bug.cgi?id=36131
9395 Update include paths for chromium Rect, Point, and Size types.
9397 Update DEPS to pull latest chromium code that reflects the
9398 new location of these headers.
9401 * public/WebPoint.h:
9405 2010-03-15 Marcus Bulach <bulach@chromium.org>
9407 Reviewed by Jeremy Orlow.
9409 Send the frame URL on GeolocationServiceBridgeImpl::startUpdating.
9410 https://bugs.webkit.org/show_bug.cgi?id=36012
9412 * public/GeolocationServiceBridgeChromium.h:
9413 * src/GeolocationServiceBridgeChromium.cpp:
9414 (WebKit::GeolocationServiceBridgeImpl::startUpdating):
9416 2010-03-15 Patrik Persson <patrik.j.persson@ericsson.com>
9418 Reviewed by Darin Adler.
9420 https://bugs.webkit.org/show_bug.cgi?id=32369
9422 Revise iframe sandbox behavior to match the updated HTML5 spec.
9424 - Enables window.sessionStorage in sandboxed iframes.
9426 - Raises SECURITY_ERR exceptions when window.localStorage or
9427 window.openDatabase() is blocked by iframe sandboxing.
9429 Note: window.sessionStorage does not raise exceptions.
9431 WebKit would previously return null references in these cases. The
9432 new behavior is in accordance with HTML5:
9434 http://dev.w3.org/html5/webstorage/ (sections 4.2 and 4.3)
9435 http://dev.w3.org/html5/webdatabase/ (section 4.1)
9436 http://www.mail-archive.com/whatwg@lists.whatwg.org/msg19786.html
9438 * src/StorageAreaProxy.cpp:
9439 (WebCore::StorageAreaProxy::storageEvent): exception handling
9440 * src/StorageEventDispatcherImpl.cpp:
9441 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): exception handling
9443 2010-03-15 Tony Chang <tony@chromium.org>
9445 Reviewed by Darin Adler.
9447 option-pageup/down should move cursor on chromium mac
9448 https://bugs.webkit.org/show_bug.cgi?id=36108
9450 * src/EditorClientImpl.cpp:
9453 2010-03-13 Eric Roman <eroman@chromium.org>
9455 Reviewed by Adam Barth.
9457 Add a firstPartyForCookies() property to WebDocument.
9458 https://bugs.webkit.org/show_bug.cgi?id=35592
9460 * public/WebDocument.h:
9461 * src/WebDocument.cpp:
9462 (WebKit::WebDocument::firstPartyForCookies):
9464 2010-03-12 Garret Kelly <gdk@chromium.org>
9468 Fix Chromium Mac build. Last patch did not apply properly.
9469 (Garret assures me this patch will actually work.)
9471 * src/WebInputEventConversion.cpp:
9472 (WebKit::toPlatformTouchEventType):
9473 (WebKit::toPlatformTouchPointState):
9475 2010-03-12 Garret Kelly <gdk@chromium.org>
9479 Fix Chromium Mac build. This time, with actual fixing goodness.
9481 * src/WebInputEventConversion.cpp:
9482 (WebKit::toPlatformTouchEventType):
9483 (WebKit::toPlatformTouchPointState):
9485 2010-03-12 Garret Kelly <gdk@chromium.org>
9489 Fix Chromium Mac build.
9491 * src/WebInputEventConversion.cpp:
9492 (WebKit::toPlatformTouchEventType):
9493 (WebKit::toPlatformTouchPointState):
9495 2010-03-12 Garret Kelly <gdk@chromium.org>
9497 Reviewed by Eric Seidel.
9499 Enable touch events in Chromium features gypi file.
9500 https://bugs.webkit.org/show_bug.cgi?id=35994
9504 2010-03-12 Darin Fisher <darin@chromium.org>
9506 Fix Chromium build bustage.
9508 Wrap usage of WebPrivatePtr from WebNode.h in a #if
9509 WEBKIT_IMPLEMENTATION guard.
9513 2010-03-12 Nicolas Weber <thakis@chromium.org>
9515 Reviewed by David Levin.
9517 [Chromium] Cmd-clicking submit buttons should submit in new tab
9518 https://bugs.webkit.org/show_bug.cgi?id=36023
9520 Take modifiers into account when clicking form buttons. E.g.
9521 cmd-clicking a submit button will submit in a new background tab,
9522 cmd-shift-clicking in a new foreground tab, shift-clicking in a new
9523 window. (On windows/linux, it's ctrl instead of cmd.)
9525 * src/FrameLoaderClientImpl.cpp:
9526 (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
9528 2010-03-12 Kavita Kanetkar <kkanetkar@chromium.org>
9530 Reviewed by Darin Fisher.
9532 [chromium] Fix memory leak in WebImageDecoder API
9533 https://bugs.webkit.org/show_bug.cgi?id=35946
9535 * src/WebImageDecoder.cpp:
9536 (WebKit::WebImageDecoder::setData):
9537 (WebKit::WebImageDecoder::getFrameAtIndex):
9539 2010-03-11 Aaron Boodman <aa@chromium.org>
9541 Kill WebDocument::applicationID() (part 1).
9543 Modify interface to WebCore::NotificationPresenter::checkPermission()
9544 and remove implementation of WebDocument::applicationID(). Breaking
9545 API changes will be in a subsequent change.
9546 https://bugs.webkit.org/show_bug.cgi?id=35846
9548 * public/WebNotificationPresenter.h:
9549 * src/NotificationPresenterImpl.cpp:
9550 (WebKit::NotificationPresenterImpl::checkPermission):
9551 * src/NotificationPresenterImpl.h:
9552 * src/WebDocument.cpp:
9553 (WebKit::WebDocument::applicationID):
9555 2010-03-11 Stuart Morgan <stuartmorgan@chromium.org>
9557 Reviewed by Darin Fisher.
9559 Fix the screen coordinate conversion of Chromium Mac mouse events for
9560 multiple-moniter setups. Also changes the global coordinate values
9561 to be computed from the event, rather than the instantaneous mouse
9562 location, and reduces code duplication for location conversion.
9564 Dual-sided patch with http://codereview.chromium.org/751002
9566 https://bugs.webkit.org/show_bug.cgi?id=35950
9568 * src/mac/WebInputEventFactory.mm:
9569 (WebKit::setWebEventLocationFromEventInView):
9570 (WebKit::WebInputEventFactory::mouseEvent):
9571 (WebKit::WebInputEventFactory::mouseWheelEvent):
9573 2010-03-11 Anders Carlsson <andersca@apple.com>
9575 Reviewed by David Hyatt.
9577 Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
9579 * src/ChromeClientImpl.cpp:
9580 * src/ChromeClientImpl.h:
9582 2010-03-10 Darin Fisher <darin@chromium.org>
9584 Reviewed by Jeremy Orlow.
9586 Use WebPrivatePtr for WebNode
9587 https://bugs.webkit.org/show_bug.cgi?id=36005
9589 * public/WebElement.h:
9590 * public/WebFormElement.h:
9591 * public/WebInputElement.h:
9592 * public/WebLabelElement.h:
9594 (WebKit::WebNode::WebNode):
9595 (WebKit::WebNode::isNull):
9596 (WebKit::WebNode::unwrap):
9597 (WebKit::WebNode::constUnwrap):
9598 * public/WebPrivatePtr.h:
9599 (WebKit::WebPrivatePtr::assign):
9600 * src/WebDocument.cpp:
9601 (WebKit::WebDocument::WebDocument):
9602 (WebKit::WebDocument::operator=):
9603 (WebKit::WebDocument::operator PassRefPtr<Document>):
9604 * src/WebElement.cpp:
9605 (WebKit::WebElement::hasTagName):
9606 (WebKit::WebElement::WebElement):
9607 (WebKit::WebElement::operator=):
9608 (WebKit::WebElement::operator PassRefPtr<Element>):
9609 * src/WebFormElement.cpp:
9610 (WebKit::WebFormElement::WebFormElement):
9611 (WebKit::WebFormElement::operator=):
9612 (WebKit::WebFormElement::operator PassRefPtr<HTMLFormElement>):
9613 * src/WebInputElement.cpp:
9614 (WebKit::WebInputElement::WebInputElement):
9615 (WebKit::WebInputElement::operator=):
9616 (WebKit::WebInputElement::operator PassRefPtr<HTMLInputElement>):
9617 * src/WebLabelElement.cpp:
9618 (WebKit::WebLabelElement::correspondingControl):
9619 (WebKit::WebLabelElement::operator=):
9620 (WebKit::WebLabelElement::operator PassRefPtr<HTMLLabelElement>):
9622 (WebKit::WebNode::reset):
9623 (WebKit::WebNode::assign):
9624 (WebKit::WebNode::equals):
9625 (WebKit::WebNode::parentNode):
9626 (WebKit::WebNode::createMarkup):
9627 (WebKit::WebNode::addEventListener):
9628 (WebKit::WebNode::removeEventListener):
9629 (WebKit::WebNode::simulateClick):
9630 (WebKit::WebNode::WebNode):
9631 (WebKit::WebNode::operator=):
9632 (WebKit::WebNode::operator PassRefPtr<Node>):
9634 2010-03-10 Darin Fisher <darin@chromium.org>
9636 Reviewed by Jeremy Orlow.
9638 Add API wrapper for WebCore::SerializedScriptValue
9639 https://bugs.webkit.org/show_bug.cgi?id=35988
9641 WebSerializedScriptValue is a wrapper around SerializedScriptValue.
9643 WebPrivatePtr is used to simplify wrapping reference counted WebCore
9644 types. This class is used to cleanup WebHistoryItem, and will be used
9645 to clean up other classes in the WebKit API in a follow-up patch.
9648 * public/WebHistoryItem.h:
9649 * public/WebPrivatePtr.h: Added.
9650 * public/WebSerializedScriptValue.h: Added.
9651 * src/WebHistoryItem.cpp:
9652 * src/WebSerializedScriptValue.cpp: Added.
9654 2010-03-10 Sanjeev Radhakrishnan <sanjeevr@chromium.org>
9656 Reviewed by Darin Fisher.
9658 Allow a plugin to participate in the browser's print workflow.
9659 https://bugs.webkit.org/show_bug.cgi?id=35550
9661 * public/WebFrame.h:
9662 * public/WebPlugin.h:
9663 * src/WebFrameImpl.cpp:
9664 * src/WebFrameImpl.h:
9665 * src/WebPluginContainerImpl.cpp:
9666 * src/WebPluginContainerImpl.h:
9668 2010-03-10 John Abd-El-Malek <jam@chromium.org>
9670 Reviewed by Nate Chapin.
9672 [chromium]: Fix regression in mouse capture on Mac/Linux
9673 https://bugs.webkit.org/show_bug.cgi?id=35987
9675 * src/WebViewImpl.cpp:
9677 2010-03-10 Evan Stade <estade@chromium.org>
9679 Reviewed by David Levin.
9681 [chromium] add functionality to activate the focused node in a WebView
9682 https://bugs.webkit.org/show_bug.cgi?id=35407
9684 * public/WebDocument.h:
9686 * src/WebDocument.cpp:
9687 (WebKit::WebDocument::focusedNode): Added
9689 (WebKit::WebNode::simulateClick): Added
9691 2010-03-10 John Abd-El-Malek <jam@chromium.org>
9693 Reviewed by Darin Fisher.
9695 https://bugs.webkit.org/show_bug.cgi?id=35952
9696 Propagate mouse wheel events to Pepper plugins.
9698 * src/WebInputEventConversion.cpp:
9699 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
9700 * src/WebInputEventConversion.h:
9701 * src/WebPluginContainerImpl.cpp:
9702 (WebKit::WebPluginContainerImpl::handleEvent):
9703 (WebKit::WebPluginContainerImpl::handleMouseEvent):
9704 (WebKit::WebPluginContainerImpl::handleWheelEvent):
9705 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
9706 * src/WebPluginContainerImpl.h:
9708 2010-03-10 Garret Kelly <gdk@chromium.org>
9710 Reviewed by Darin Fisher.
9712 Add support for converting WebTouchEvents to PlatformTouchEvents and
9713 routing them into the EventHandler for the frame in which they
9715 https://bugs.webkit.org/show_bug.cgi?id=35874
9717 * src/ChromeClientImpl.h:
9718 (WebKit::ChromeClientImpl::needTouchEvents):
9719 * src/WebViewImpl.cpp:
9720 (WebKit::WebViewImpl::touchEvent): Handle incoming WebTouchEvents,
9721 converting them to PlatformTouchEvents and sending them to the
9723 (WebKit::WebViewImpl::handleInputEvent): Now routes WebTouchEvents to
9724 the touchEvent handler.
9725 * src/WebViewImpl.h:
9727 2010-03-10 Nate Chapin <japhet@chromium.org>
9729 Reviewed by Dimitri Glazkov.
9731 Wrap and unwrap v8 objects with WrapperTypeInfo instead of V8ClassIndex::V8WrapperType.
9733 https://bugs.webkit.org/show_bug.cgi?id=35941
9735 * src/WebBindings.cpp:
9736 (WebKit::getRangeImpl):
9737 * src/WebDevToolsAgentImpl.cpp:
9738 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
9739 * src/WebDevToolsFrontendImpl.cpp:
9740 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
9742 2010-03-10 Garret Kelly <gdk@chromium.org>
9744 Reviewed by Darin Fisher.
9746 Fixing build warning caused by using 0 instead of NULL as the sentiel
9748 https://bugs.webkit.org/show_bug.cgi?id=35898
9750 * src/gtk/WebInputEventFactory.cpp:
9752 2010-03-10 Jeremy Orlow <jorlow@chromium.org>
9754 Reviewed by Darin Fisher.
9756 Add IndexedDatabase class and hook it up.
9757 https://bugs.webkit.org/show_bug.cgi?id=35927
9759 This change is mostly just adding the plumbing necessary for
9760 the IndexedDatabaseRequest and IndexedDatabaseSync (not written
9764 * public/WebIndexedDatabase.h: Added.
9765 (WebKit::WebIndexedDatabase::~WebIndexedDatabase):
9766 * public/WebKitClient.h:
9767 (WebKit::WebKitClient::getIndexedDatabase):
9768 * src/ChromiumBridge.cpp:
9769 (WebCore::ChromiumBridge::getIndexedDatabase):
9770 * src/IndexedDatabaseProxy.cpp: Added.
9771 (WebCore::IndexedDatabaseProxy::create):
9772 (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
9773 (WebCore::IndexedDatabaseProxy::~IndexedDatabaseProxy):
9774 (WebCore::IndexedDatabaseProxy::open):
9775 * src/IndexedDatabaseProxy.h: Added.
9777 2010-03-10 Andrey Kosyakov <caseq@chromium.org>
9779 Reviewed by Pavel Feldman.
9781 Web Inspector: display list of active workers & support debugging
9783 https://bugs.webkit.org/show_bug.cgi?id=35568
9785 * src/js/InspectorControllerImpl.js:
9786 (devtools.InspectorBackendImpl):
9788 2010-03-10 Tony Chang <tony@chromium.org>
9790 Reviewed by Darin Fisher.
9792 https://bugs.webkit.org/show_bug.cgi?id=35956
9793 Create a grd file upstream for resources that chromium uses
9794 that are pulled directly from the upstream repository.
9796 * WebKit.grd: Added.
9798 2010-03-10 Roland Steiner <rolandsteiner@chromium.org>
9800 Reviewed by David Levin.
9802 Bug 28293 - [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL")
9803 https://bugs.webkit.org/show_bug.cgi?id=28293
9805 Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
9806 correctly for event.dataTransfer.getData/setData. Currently both are treated
9807 as synonyms, but for "URL", getData is supposed to only return the first valid URL
9808 contained within the data for "text/uri-list" (see HTML5 spec).
9810 Tests: editing/pasteboard/dataTransfer-setData-getData.html
9812 * src/WebDragData.cpp:
9813 (WebKit::WebDragData::url):
9814 (WebKit::WebDragData::setURL):
9816 2010-03-08 John Abd-El-Malek <jam@chromium.org>
9818 Reviewed by Darin Fisher.
9820 Need to send mouse events to plugin when it has mouse capture
9821 https://bugs.webkit.org/show_bug.cgi?id=35900
9823 * public/WebInputEvent.h:
9824 (WebKit::WebInputEvent::isMouseEventType):
9825 * src/WebViewImpl.cpp:
9826 (WebKit::WebViewImpl::WebViewImpl):
9827 (WebKit::WebViewImpl::mouseDown):
9828 (WebKit::WebViewImpl::mouseUp):
9829 (WebKit::WebViewImpl::handleInputEvent):
9830 * src/WebViewImpl.h:
9832 2010-03-09 Anton Muhin <antonm@chromium.org>
9834 Reviewed by Darin Fisher.
9836 Accept and bailout NULL widgets in ChromiumBridge
9837 https://bugs.webkit.org/show_bug.cgi?id=35796
9839 * src/ChromiumBridge.cpp:
9840 (WebCore::toChromeClientImpl):
9842 2010-03-09 Yury Semikhatsky <yurys@chromium.org>
9844 Reviewed by Pavel Feldman.
9846 Use clean global object for devtools utility context instead of
9847 trying to simulate inspected context.
9849 https://bugs.webkit.org/show_bug.cgi?id=35923
9851 * src/DebuggerAgentImpl.cpp:
9852 * src/DebuggerAgentImpl.h:
9853 * src/WebDevToolsAgentImpl.cpp:
9854 (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
9856 2010-03-08 Alexey Proskuryakov <ap@apple.com>
9860 Updated for the removal of "mightDownloadFromHandle".
9862 * src/ResourceHandle.cpp:
9863 (WebCore::ResourceHandle::ResourceHandle):
9864 (WebCore::ResourceHandle::create):
9866 2010-03-08 Dimitri Glazkov <dglazkov@chromium.org>
9868 Reviewed by Darin Fisher.
9870 [Chromium] Reset multiple form submission protection on mouse events.
9871 https://bugs.webkit.org/show_bug.cgi?id=35128
9873 * src/WebViewImpl.cpp:
9874 (WebKit::WebViewImpl::mouseDown):
9876 2010-03-08 Michael Nordman <michaeln@google.com>
9878 Reviewed by Darin Fisher.
9880 Quick fix for a chromium unit test failures around r55675 (repaint refactoring).
9881 This change restores the tests for empty rects that were deleted.
9883 https://bugs.webkit.org/show_bug.cgi?id=35878
9885 * src/ChromeClientImpl.cpp:
9886 (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
9887 * src/WebPopupMenuImpl.cpp:
9888 (WebKit::WebPopupMenuImpl::invalidateContentsAndWindow):
9890 2010-03-02 Adam Treat <atreat@rim.com>
9892 Reviewed by Dave Hyatt.
9894 Adapt the chromium port to the refactoring of repaint methods.
9896 https://bugs.webkit.org/show_bug.cgi?id=34214
9898 * src/ChromeClientImpl.cpp:
9899 (WebKit::ChromeClientImpl::invalidateContents):
9900 (WebKit::ChromeClientImpl::invalidateWindow):
9901 (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
9902 (WebKit::ChromeClient::invalidateContentsForSlowScroll):
9903 * src/ChromeClientImpl.h:
9905 2010-03-08 Jian Li <jianli@chromium.org>
9907 Reviewed by Dmitry Titov.
9910 https://bugs.webkit.org/show_bug.cgi?id=32993
9912 Add ENABLE_BLOB_SLICE feature define.
9916 2010-03-08 Eric Uhrhane <ericu@chromium.org>
9918 Reviewed by David Levin.
9920 Remove the now-redundant Settings fields for the Database
9921 https://bugs.webkit.org/show_bug.cgi?id=35763
9923 No new tests; this code isn't called.
9925 * public/WebSettings.h:
9926 * src/WebSettingsImpl.cpp:
9927 * src/WebSettingsImpl.h:
9929 2010-03-08 Jeremy Orlow <jorlow@chromium.org>
9931 Reviewed by Darin Fisher.
9933 Pass the WebFrame into WebStorageArea::setItem so we can figure out the routing ID
9934 https://bugs.webkit.org/show_bug.cgi?id=35758
9936 This is necessary since setItem is sometimes blocked and the embedder might need
9937 to display some piece of UI associated with such an event.
9939 * public/WebStorageArea.h:
9940 (WebKit::WebStorageArea::setItem):
9941 * src/StorageAreaProxy.cpp:
9942 (WebCore::StorageAreaProxy::setItem):
9943 * src/WebStorageAreaImpl.cpp:
9944 (WebKit::WebStorageAreaImpl::setItem):
9945 * src/WebStorageAreaImpl.h:
9947 2010-03-07 Mark Rowe <mrowe@apple.com>
9951 * src/ChromiumBridge.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
9953 2010-03-07 Mark Rowe <mrowe@apple.com>
9957 * src/ResourceHandle.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
9959 2010-03-06 Pavel Feldman <pfeldman@chromium.org>
9961 Reviewed by Timothy Hatcher.
9963 Chromium: Restore devtools window activate upon node search complete.
9965 https://bugs.webkit.org/show_bug.cgi?id=35832
9967 * src/js/DevTools.js:
9969 2010-03-06 Darin Fisher <darin@chromium.org>
9971 Reviewed by David Levin.
9973 [Chromium] Embedder initiated loads should not always stop existing loads
9974 https://bugs.webkit.org/show_bug.cgi?id=33862
9976 * src/WebFrameImpl.cpp:
9977 (WebKit::WebFrameImpl::reload):
9978 (WebKit::WebFrameImpl::loadRequest):
9979 (WebKit::WebFrameImpl::loadHistoryItem):
9980 (WebKit::WebFrameImpl::loadData):
9982 2010-03-06 Darin Fisher <darin@chromium.org>
9984 Reviewed by David Levin.
9986 [Chromium] spurious WebViewClient::didStopLoading if changing
9987 location.hash while a subframe is still loading
9989 https://bugs.webkit.org/show_bug.cgi?id=33884
9991 * src/FrameLoaderClientImpl.cpp:
9992 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
9993 Call isLoadingInAPISense, which checks subframes.
9995 2010-03-06 Hironori Bono <hbono@chromium.org>
9997 Reviewed by Eric Seidel.
9999 [Chromium] Typing into Flash with wmode = opaque|transparent and
10000 non-latin language active outputs as if US keyboard layout active
10002 https://bugs.webkit.org/show_bug.cgi?id=34936
10004 This change is a WebKit-side change for this issue. It dispatches
10005 Char events to plug-ins so plug-ins can receive non-ASCII characters
10006 as well as ASCII characters.
10008 * src/WebViewImpl.cpp:
10009 (WebKit::WebViewImpl::keyEvent):
10011 2010-03-06 Kavita Kanetkar <kkanetkar@chromium.org>
10013 Reviewed by Darin Fisher.
10015 Create WebKit API for WebCore::ImageDecoder
10016 https://bugs.webkit.org/show_bug.cgi?id=35415
10019 * public/WebImageDecoder.h: Added.
10020 * src/WebImageDecoder.cpp: Added.
10022 2010-03-05 John Abd-El-Malek <jam@chromium.org>
10024 Reviewed by Darin Fisher.
10026 Take out code hack that flips the result of NPP_HandleEvent. This needs to move to
10027 the NPAPI code so that Pepper plugins don't hit it.
10028 https://bugs.webkit.org/show_bug.cgi?id=35779
10030 * public/WebPluginContainer.h:
10031 * src/WebPluginContainerImpl.cpp:
10032 (WebKit::WebPluginContainerImpl::handleMouseEvent):
10033 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
10035 2010-03-05 Ilya Tikhonovsky <loislo@chromium.org>
10037 Reviewed by Pavel Feldman.
10039 Web Inspector: Do not show link helper in popovers and/or for external resources.
10041 https://bugs.webkit.org/show_bug.cgi?id=35785
10043 * src/js/DebuggerAgent.js:
10044 (devtools.DebuggerAgent.prototype.initUI):
10045 (devtools.DebuggerAgent.prototype.addScriptInfo_):
10047 2010-03-04 Garret Kelly <gdk@chromium.org>
10049 Reviewed by Darin Fisher.
10051 Adding PlatformTouchEventBuilder and PlatformTouchPointBuilder for
10052 converting Chromium WebTouchEvent and WebTouchPoint types to
10053 corresponding WebCore types.
10054 https://bugs.webkit.org/show_bug.cgi?id=35760
10056 * src/WebInputEventConversion.cpp:
10057 (WebKit::toPlatformTouchEventType):
10058 (WebKit::toPlatformTouchPointState):
10059 (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
10060 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
10061 * src/WebInputEventConversion.h:
10063 2010-03-04 John Gregg <johnnyg@google.com>
10065 Reviewed by Darin Fisher.
10067 [chromium] WebDocument:applicationID() crashes on <meta> tag with no http-equiv attribute
10068 https://bugs.webkit.org/show_bug.cgi?id=35771
10070 * src/WebDocument.cpp:
10071 (WebKit::WebDocument::applicationID):
10072 check for presence of http-equiv attribute before lower()ing it.
10074 2010-03-04 Darin Fisher <darin@chromium.org>
10076 Reviewed by Dmitry Titov.
10078 [chromium] make history.{push,replace}State enabled at runtime
10079 https://bugs.webkit.org/show_bug.cgi?id=35753
10081 * public/WebRuntimeFeatures.h:
10082 * src/WebRuntimeFeatures.cpp:
10083 (WebKit::WebRuntimeFeatures::enablePushState):
10084 (WebKit::WebRuntimeFeatures::isPushStateEnabled):
10086 2010-03-04 Pavel Feldman <pfeldman@chromium.org>
10088 Not reviewed: chromium tests fix.
10092 2010-03-03 Pavel Feldman <pfeldman@chromium.org>
10094 Reviewed by Timothy Hatcher.
10096 Web Inspector: Remove two last synchronous calls from front-end to InspectorBackend.
10098 https://bugs.webkit.org/show_bug.cgi?id=35720
10100 * src/js/InspectorControllerImpl.js:
10101 (devtools.InspectorBackendImpl):
10102 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
10104 2010-03-03 Pavel Feldman <pfeldman@chromium.org>
10106 Reviewed by Timothy Hatcher.
10108 Web Inspector: Remove sync access to resourceTrackingEnabled.
10110 https://bugs.webkit.org/show_bug.cgi?id=35693
10112 * src/js/DevTools.js:
10114 2010-03-04 Darin Fisher <darin@chromium.org>
10116 Reviewed by Pavel Feldman.
10118 Fix failing DevToolsSanityTest.TestResourceContentLength
10119 https://bugs.webkit.org/show_bug.cgi?id=35725
10121 http://trac.webkit.org/changeset/55466 missed one more spot
10122 where contentLength needed to be renamed resourceSize.
10126 2010-03-03 Garret Kelly <gdk@chromium.org>
10128 Reviewed by Darin Fisher.
10130 Adding touch event type and point type. Tested against the try bots.
10131 https://bugs.webkit.org/show_bug.cgi?id=35691
10133 * public/WebInputEvent.h:
10134 (WebKit::WebInputEvent::):
10135 (WebKit::WebInputEvent::isTouchEventType):
10136 (WebKit::WebTouchEvent::WebTouchEvent):
10137 * public/WebTouchPoint.h: Added.
10138 (WebKit::WebTouchPoint::WebTouchPoint):
10139 (WebKit::WebTouchPoint::):
10141 2010-03-02 Tony Chang <tony@chromium.org>
10143 Reviewed by Darin Fisher.
10145 add a flag to WebURLResponse so we can identify multipart content
10146 https://bugs.webkit.org/show_bug.cgi?id=35628
10148 * public/WebURLResponse.h:
10149 * src/WebURLResponse.cpp:
10150 (WebKit::WebURLResponse::isMultipartPayload):
10151 (WebKit::WebURLResponse::setIsMultipartPayload):
10153 2010-03-02 Adam Barth <abarth@webkit.org>
10155 Reviewed by Darin Fisher.
10157 Google Analytics triggers "blocked plugin" UI
10158 https://bugs.webkit.org/show_bug.cgi?id=35565
10160 Plumb didNotAllowPlugins to the client.
10162 * public/WebFrameClient.h:
10163 (WebKit::WebFrameClient::didNotAllowPlugins):
10164 * src/FrameLoaderClientImpl.cpp:
10165 (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
10166 * src/FrameLoaderClientImpl.h:
10168 2010-03-02 Chris Fleizach <cfleizach@apple.com>
10170 Reviewed by Beth Dakin.
10172 aria-label isn't respected on option elements
10173 https://bugs.webkit.org/show_bug.cgi?id=35400
10175 * src/SuggestionsPopupMenuClient.h:
10176 (WebKit::SuggestionsPopupMenuClient::itemAccessibilityText):
10178 2010-03-02 Mads Ager <ager@chromium.org>
10180 Reviewed by Adam Barth.
10182 [V8] V8 should be notified of context disposals
10183 https://bugs.webkit.org/show_bug.cgi?id=35526
10185 Update V8 DEPS in order to get V8 API changes needed for context
10186 disposal notifications.
10190 2010-03-02 Kenneth Russell <kbr@google.com>
10192 Reviewed by Darin Fisher.
10194 Add EnabledAtRuntime attribute to WebGLArray constructors
10195 https://bugs.webkit.org/show_bug.cgi?id=35558
10197 * public/WebRuntimeFeatures.h:
10198 * src/WebRuntimeFeatures.cpp:
10199 (WebKit::WebRuntimeFeatures::enableWebGL):
10200 (WebKit::WebRuntimeFeatures::isWebGLEnabled):
10202 2010-03-02 James Hawkins <jhawkins@chromium.org>
10204 Reviewed by Darin Fisher.
10206 [Chromium] Implement WebNode::equals and add inline operators for ==
10209 https://bugs.webkit.org/show_bug.cgi?id=35543
10211 * public/WebNode.h:
10212 (WebKit::operator==):
10213 (WebKit::operator!=):
10215 (WebKit::WebNode::equals):
10217 2010-03-01 Jakob Petsovits <jpetsovits@rim.com>
10219 Reviewed by Adam Barth.
10221 Adapt to the new ZoomMode enum.
10222 https://bugs.webkit.org/show_bug.cgi?id=35347
10224 * src/WebViewImpl.cpp:
10225 (WebKit::WebViewImpl::setZoomLevel):
10227 2010-03-01 Thatcher Ulrich <tulrich@google.com>
10229 Reviewed by Darin Fisher.
10231 Fix chromium iframe shims. Add another test case to the
10232 iframes-shims test. After r53637, the plugin widget doesn't get
10233 moved every paint. This used to hide the bug that if an iframe
10234 gets added, the plugin's cutout rectangles don't get updated until
10236 https://bugs.webkit.org/show_bug.cgi?id=35184
10238 * src/WebPluginContainerImpl.cpp:
10239 (WebKit::WebPluginContainerImpl::widgetPositionsUpdated): do reportGeometry() to ensure that
10240 the plugin is aware of the positions of cutouts on the page (for iframe shim behavior).
10241 * src/WebPluginContainerImpl.h:
10243 2010-02-27 Pavel Feldman <pfeldman@chromium.org>
10245 Reviewed by Timothy Hatcher.
10247 Chromium: remove DevTools part that has been upstreamed.
10249 * src/js/DevTools.js:
10251 2010-02-26 Pavel Feldman <pfeldman@chromium.org>
10253 Reviewed by Timothy Hatcher.
10255 Web Inspector: reload inspected page on Cmd+R / Ctrl+R / F5 key event in inspector.
10257 * src/WebDevToolsFrontendImpl.cpp:
10258 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
10259 (WebKit::WebDevToolsFrontendImpl::jsCanAttachWindow):
10260 * src/WebDevToolsFrontendImpl.h:
10261 * src/js/InspectorControllerImpl.js:
10262 (devtools.InspectorBackendImpl):
10263 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
10265 2010-02-26 James Hawkins <jhawkins@chromium.org>
10267 Reviewed by Darin Fisher.
10269 [Chromium] Verify that the Nodes being enumerated are HTML elements.
10271 https://bugs.webkit.org/show_bug.cgi?id=35463
10273 * src/WebFrameImpl.cpp:
10274 (WebKit::WebFrameImpl::forms):
10276 2010-02-26 Adam Barth <abarth@webkit.org>
10278 Reviewed by Darin Fisher.
10280 Expose an API for ports to add schemes to the mixed content whitelist
10281 https://bugs.webkit.org/show_bug.cgi?id=35438
10283 Expose registerURLSchemeAsSecure via the WebKit API.
10285 * public/WebSecurityPolicy.h:
10286 * src/WebSecurityPolicy.cpp:
10287 (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
10289 2010-02-26 Brett Wilson <brettw@chromium.org>
10291 Fix chromium build. This test's expectation became obsolete with
10292 recent changes to KURL which my previous change brings Chromium's
10293 port in compliance with.
10295 * tests/KURLTest.cpp:
10296 (ComponentCase::TEST):
10298 2010-02-26 Yaar Schnitman <yaar@chromium.org>
10300 Chromium build fix.
10302 * features.gypi: Added missing new variable enable_svg.
10304 2010-02-26 Yaar Schnitman <yaar@chromium.org>
10306 Reviewed by Dimitri Glazkov.
10308 [V8] Auto-generate and split DerivedSourcesAllInOne.cpp
10309 https://bugs.webkit.org/show_bug.cgi?id=33048
10311 * DEPS: Incremented gyp revision.
10313 2010-02-26 Darin Fisher <darin@chromium.org>
10315 Fix mac warning (that gets treated as an error in the chromium build).
10317 * src/ChromiumBridge.cpp:
10318 (WebCore::ChromiumBridge::cookiesEnabled):
10320 2010-02-25 Darin Fisher <darin@chromium.org>
10322 Reviewed by David Levin.
10324 Remove deprecated cookie methods.
10325 https://bugs.webkit.org/show_bug.cgi?id=35420
10327 * public/WebFrameClient.h:
10328 * public/WebKitClient.h:
10329 * src/ChromiumBridge.cpp:
10330 (WebCore::ChromiumBridge::setCookies):
10331 (WebCore::ChromiumBridge::cookies):
10332 (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
10333 (WebCore::ChromiumBridge::rawCookies):
10334 (WebCore::ChromiumBridge::deleteCookie):
10335 (WebCore::ChromiumBridge::cookiesEnabled):
10337 2010-02-25 James Hawkins <jhawkins@chromium.org>
10339 Reviewed by Darin Fisher.
10341 [Chromium] Implement WebLabelElement.
10343 https://bugs.webkit.org/show_bug.cgi?id=35317
10346 * public/WebLabelElement.h: Added.
10347 * src/WebLabelElement.cpp: Added.
10349 2010-02-25 Pavel Feldman <pfeldman@chromium.org>
10351 Reviewed by Dimitri Glazkov.
10353 Web Inspector: make script lines count calculation lazy.
10355 https://bugs.webkit.org/show_bug.cgi?id=35392
10358 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
10359 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
10360 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
10361 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
10362 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
10363 (.TestSuite.prototype._executeFunctionForStepTest):
10365 2010-02-24 Darin Fisher <darin@chromium.org>
10367 Reviewed by David Levin.
10369 Add a missing WebString.h include.
10370 https://bugs.webkit.org/show_bug.cgi?id=35360
10372 This is required since some of the methods have implementations that
10373 return a WebString.
10375 * public/WebCookieJar.h:
10377 2010-02-24 Jay Campan <jcampan@google.com>
10379 Reviewed by David Levin.
10381 Don't show the autofill popup when the input text is disabled or read only.
10383 https://bugs.webkit.org/show_bug.cgi?id=35129
10385 * src/EditorClientImpl.cpp:
10386 (WebKit::EditorClientImpl::autofill):
10388 2010-02-24 Adam Barth <abarth@webkit.org>
10390 Reviewed by Darin Fisher.
10392 [Chromium API] Disambiguate allowJavaScript from didNotAllowScript
10393 https://bugs.webkit.org/show_bug.cgi?id=35205
10395 Plumb didNotAllowScript through Chromium's WebKit API.
10397 * public/WebFrameClient.h:
10398 (WebKit::WebFrameClient::didNotAllowScript):
10399 * src/DebuggerAgentImpl.cpp:
10400 (WebKit::DebuggerAgentImpl::createUtilityContext):
10401 * src/FrameLoaderClientImpl.cpp:
10402 (WebKit::FrameLoaderClientImpl::didNotAllowScript):
10403 * src/FrameLoaderClientImpl.h:
10404 * src/WebFrameImpl.cpp:
10405 (WebKit::WebFrameImpl::bindToWindowObject):
10407 2010-02-23 James Hawkins <jhawkins@chromium.org>
10409 Reviewed by Darin Fisher.
10411 [Chromium] Implement WebDocument::getElementsByTagName.
10413 https://bugs.webkit.org/show_bug.cgi?id=35272
10415 * public/WebDocument.h:
10416 * src/WebDocument.cpp:
10417 (WebKit::WebDocument::getElementsByTagName):
10419 2010-02-23 Steve Block <steveblock@google.com>
10421 Reviewed by Jeremy Orlow.
10423 Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled
10424 https://bugs.webkit.org/show_bug.cgi?id=35242
10426 This removes Chromium's WebSettings::setGeolocationEnabled
10428 * public/WebSettings.h:
10429 * src/WebSettingsImpl.cpp:
10430 * src/WebSettingsImpl.h:
10432 2010-02-23 Dmitriy Belenko <dbelenko@google.com>
10434 Reviewed by Darin Fisher.
10436 Chromium: Need to be able to get the bounds of selection
10438 https://bugs.webkit.org/show_bug.cgi?id=34915
10440 This change will enable about 30 test cases to pass in Chromium.
10441 All of these test cases are related to selection rect boundaries.
10442 This change will enable the test cases to retrieve the selection
10443 rect boundary rectangle for the current selection.
10445 * public/WebFrame.h:
10446 * src/WebFrameImpl.cpp:
10447 (WebKit::WebFrameImpl::selectionBoundsRect):
10448 * src/WebFrameImpl.h:
10450 2010-02-23 Steve Block <steveblock@google.com>
10452 Reviewed by Darin Adler.
10454 Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
10455 https://bugs.webkit.org/show_bug.cgi?id=34962
10457 This method is required so that a Geolocation object can cancel an
10458 asynchronous permission request. This allows the chrome client to cancel
10459 any UI it is showing for the permission request.
10461 * src/ChromeClientImpl.h:
10462 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
10464 2009-02-22 Adam Langley <agl@google.com>
10466 Reviewed by Darin Fisher.
10468 fontconfig on Linux can change the render preferences on a per strike
10469 basis (a strike a combination of face and size). Because of this, we
10470 need to query fontconfig each time a new FontPlatformData is created
10473 This patch adds support for querying this via ChromiumBridge.
10475 https://bugs.webkit.org/show_bug.cgi?id=33065
10478 * public/gtk/WebFontInfo.h:
10479 * public/linux/WebSandboxSupport.h:
10480 * src/ChromiumBridge.cpp:
10481 (WebCore::ChromiumBridge::getRenderStyleForStrike):
10482 * src/gtk/WebFontInfo.cpp:
10483 (WebKit::WebFontInfo::renderStyleForStrike):
10485 2010-02-22 Alexander Pavlov <apavlov@chromium.org>
10487 Reviewed by Pavel Feldman.
10489 Web Inspector: there should be a way to "deactivate" or "skip" all breakpoints while debugging.
10490 https://bugs.webkit.org/show_bug.cgi?id=33217
10492 * src/js/DebuggerAgent.js:
10493 (devtools.DebuggerAgent):
10494 (devtools.DebuggerAgent.prototype.setBreakpointsActivated):
10495 (devtools.DebuggerAgent.prototype.handleBreakEvent_):
10496 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
10497 * src/js/InspectorControllerImpl.js:
10498 (devtools.InspectorBackendImpl.prototype.activateBreakpoints):
10499 (devtools.InspectorBackendImpl.prototype.deactivateBreakpoints):
10501 2010-02-21 Pavel Feldman <pfeldman@chromium.org>
10503 Reviewed by Timothy Hatcher.
10505 Chromium DevTools: kepp debugger API in sync with inspector.
10507 https://bugs.webkit.org/show_bug.cgi?id=28799
10509 * src/js/DebuggerAgent.js:
10510 * src/js/InspectorControllerImpl.js:
10511 (devtools.InspectorBackendImpl.prototype.setBreakpoint):
10513 2010-02-19 Maciej Stachowiak <mjs@apple.com>
10515 Reviewed by David Levin.
10517 Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
10518 https://bugs.webkit.org/show_bug.cgi?id=35147
10522 2010-02-19 James Hawkins <jhawkins@chromium.org>
10524 Reviewed by Darin Fisher.
10526 [Chromium] Call WebViewClient::didAcceptAutoFillSuggestion when the
10527 user selects a suggestion from the AutoFill suggestions popup.
10529 https://bugs.webkit.org/show_bug.cgi?id=35174
10531 * public/WebViewClient.h:
10532 (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
10533 * src/AutoFillPopupMenuClient.cpp:
10534 (WebKit::AutoFillPopupMenuClient::valueChanged):
10535 * src/AutoFillPopupMenuClient.h:
10537 2010-02-19 James Hawkins <jhawkins@chromium.org>
10539 Reviewed by Eric Seidel.
10541 [Chromium] Use the m_suggestionsPopupClient pointer to refer to the
10542 popup client, as the Autocomplete popup might not be the current
10545 https://bugs.webkit.org/show_bug.cgi?id=35172
10547 * src/WebViewImpl.cpp:
10548 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
10549 (WebKit::WebViewImpl::refreshSuggestionsPopup):
10551 2010-02-19 James Hawkins <jhawkins@chromium.org>
10553 Reviewed by Eric Seidel.
10555 [Chromium] Rename EditorClientImpl::onAutofillSuggestionAccepted to
10556 onAutocompleteSuggestionAccepted to better match the purpose of the
10559 https://bugs.webkit.org/show_bug.cgi?id=35171
10561 * src/EditorClientImpl.cpp:
10562 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
10563 * src/EditorClientImpl.h:
10564 * src/SuggestionsPopupMenuClient.cpp:
10565 (WebKit::SuggestionsPopupMenuClient::valueChanged):
10567 2010-02-18 Peter Kasting <pkasting@google.com>
10569 Reviewed by Darin Fisher.
10571 Add an isImageBlocked bool to the WebContextMenuData struct.
10572 https://bugs.webkit.org/show_bug.cgi?id=35136
10574 This lets us properly enable/disable the "Copy Image" context menu entry
10575 (and, in the future, maybe add a "Load Image" function).
10577 * public/WebContextMenuData.h:
10578 * src/ContextMenuClientImpl.cpp:
10579 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
10581 2010-02-19 Marcus Bulach <bulach@chromium.org>
10583 Reviewed by Jeremy Orlow.
10585 Fixes GeolocationServiceBridgeImpl::stopUpdating (it can be called multiple times).
10587 * src/GeolocationServiceBridgeChromium.cpp:
10588 (WebKit::GeolocationServiceBridgeImpl::stopUpdating):
10590 2010-02-19 Pavel Feldman <pfeldman@chromium.org>
10592 Not reviewed. Chromium build fix: reverting r54997 and r54998.
10596 2010-02-19 Pavel Feldman <pfeldman@chromium.org>
10598 Not reviewed. Chromium tests fix: update devtools code to match new
10599 web inspector object proxy format.
10601 * src/js/DebuggerAgent.js:
10602 (devtools.DebuggerAgent.prototype.formatCallFrame_):
10603 (devtools.DebuggerAgent.formatObjectProxy_):
10605 2010-02-12 Kent Tamura <tkent@chromium.org>
10607 Unreviewed. Fix Chromium build.
10609 * DEPS: Bump Google URL revision to 123.
10611 2010-02-18 Yury Semikhatsky <yurys@chromium.org>
10613 Reviewed by Pavel Feldman.
10615 Don't truncate long lines when evaluating expressions on a breakpoint.
10617 https://bugs.webkit.org/show_bug.cgi?id=35102
10619 * src/js/DebuggerAgent.js:
10621 2010-02-18 Jay Campan <jcampan@google.com>
10623 Reviewed by Adam Barth.
10625 Exposing the title in WebDocument.
10627 https://bugs.webkit.org/show_bug.cgi?id=35058
10629 * public/WebDocument.h:
10630 * src/WebDocument.cpp:
10631 (WebKit::WebDocument::title):
10633 2010-02-17 Dmitry Titov <dimich@chromium.org>
10635 Reviewed by David Levin, Darin Fisher, Simon Hausmann.
10637 When a live iframe element is moved between pages, it still depends on the old page.
10638 https://bugs.webkit.org/show_bug.cgi?id=34382
10640 * src/FrameLoaderClientImpl.cpp:
10641 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
10642 (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
10643 Since Chromium's WebFrameClient is destroyed once a window is closed,
10644 if Frame moves between Pages, the client of corresponding WebFrame
10645 should be replaced as well.
10647 * src/FrameLoaderClientImpl.h:
10648 * src/WebFrameImpl.h:
10649 (WebKit::WebFrameImpl::setClient):
10651 2010-02-17 Evan Martin <evan@chromium.org>
10653 Reviewed by Eric Seidel.
10655 [chromium] expose cache-bypass flag in reload() API
10656 https://bugs.webkit.org/show_bug.cgi?id=34969
10658 This flag is used to force a reload to ignore caches.
10659 (Aka "shift-reload".)
10661 * public/WebFrame.h:
10662 * src/WebFrameImpl.cpp:
10663 (WebKit::WebFrameImpl::reload):
10664 * src/WebFrameImpl.h:
10666 2010-02-17 Kent Tamura <tkent@chromium.org>
10668 Reviewed by Eric Seidel.
10670 Introduces new Icon loading interface in order to support
10671 asynchronous loading.
10672 https://bugs.webkit.org/show_bug.cgi?id=32054
10674 Add an empty implementation of ChromeClient::iconForFiles().
10676 * src/ChromeClientImpl.cpp:
10677 (WebKit::ChromeClientImpl::iconForFiles):
10678 * src/ChromeClientImpl.h:
10680 2010-02-17 Kenneth Russell <kbr@google.com>
10682 Reviewed by Oliver Hunt.
10684 Refactor texImage2D and texSubImage2D taking Image to use common code
10685 https://bugs.webkit.org/show_bug.cgi?id=34458
10687 Merged the Safari and Chromium code which extracts the data from
10688 Image objects into common entry points on GraphicsContext3D. This
10689 immediately fixes the following three problems:
10690 - Chromium not implementing texSubImage2D taking Image.
10691 - Safari not obeying the flipY parameter to texImage2D or
10692 texSubImage2D taking Image.
10693 - Safari not obeying the premultipyAlpha parameter to texImage2D
10694 or texSubImage2D taking Image.
10695 Added new test verifying the behavior of texImage2D and
10696 texSubImage2D and the flipY parameter. The premultiplyAlpha
10697 parameter can not be tested yet as the implementation is not yet
10698 spec compliant. This will be fixed in a follow-on bug.
10700 Ran all WebGL demos in demo repository on Safari and Chromium;
10701 textures are now the right way up in both browsers, and
10702 transparent textures in Particles demo now look correct in Safari.
10704 * src/GraphicsContext3D.cpp:
10705 (WebCore::GraphicsContext3D::texImage2D):
10706 (WebCore::GraphicsContext3D::texSubImage2D):
10708 2010-02-17 Alok Priyadarshi <alokp@chromium.org>
10710 Reviewed by Ariya Hidayat.
10712 Bug 34900: Implement accelerated compositing for chromium.
10713 https://bugs.webkit.org/show_bug.cgi?id=34900
10715 * features.gypi: Added WTF_USE_ACCELERATED_COMPOSITING flag.
10717 2010-02-17 Jian Li <jianli@chromium.org>
10719 Reviewed by Darin Fisher.
10721 [chromium] Remove the obsolete chromium interface for handling DownloadURL.
10722 https://bugs.webkit.org/show_bug.cgi?id=34982
10724 * public/WebDragData.h:
10725 * src/WebDragData.cpp:
10727 2010-02-16 James Hawkins <jhawkins@chromium.org>
10729 Reviewed by Eric Seidel.
10731 [Chromium] Remove calls to releaseRef when passing PassRefPtrs to base
10732 classes. releaseRef releases the original pointer without decreasing
10733 the reference count, and the base class constructor increases the
10734 reference count, leading to a leak.
10736 https://bugs.webkit.org/show_bug.cgi?id=35000
10738 * src/WebDocument.cpp:
10739 (WebKit::WebDocument::WebDocument):
10740 * src/WebElement.cpp:
10741 (WebKit::WebElement::WebElement):
10742 * src/WebFormElement.cpp:
10743 (WebKit::WebFormElement::WebFormElement):
10744 * src/WebInputElement.cpp:
10745 (WebKit::WebInputElement::WebInputElement):
10747 2010-02-15 Jeremy Orlow <jorlow@chromium.org>
10749 Reviewed by Darin Fisher.
10751 [Chromium] Fix StorageNamespaceProxy::copy() for test shell
10752 https://bugs.webkit.org/show_bug.cgi?id=34949
10754 Chromium passes back NULL when you call WebStorageNamespace::proxy()
10755 but TestShell returns a valid object. Both need to work via
10756 the WebStorageNamespace.
10758 * src/StorageNamespaceProxy.cpp:
10759 (WebCore::StorageNamespaceProxy::copy):
10761 2010-02-14 Vangelis Kokkevis <vangelis@chromium.org>
10763 Reviewed by Darin Fisher.
10765 [Chromium] Add support for the showDebugBorders setting to Chromium.
10767 https://bugs.webkit.org/show_bug.cgi?id=34906
10769 * public/WebSettings.h: Add declaration for setShowDebugBorders
10770 * src/WebSettingsImpl.cpp:
10771 (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
10772 * src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
10774 2010-02-11 Darin Fisher <darin@chromium.org>
10776 Reviewed by Jeremy Orlow.
10778 Introduce WebCookieJar, and provide for a frame specific cookie jar.
10780 https://bugs.webkit.org/show_bug.cgi?id=34878
10783 * public/WebCookieJar.h: Added.
10784 * public/WebFrameClient.h:
10785 (WebKit::WebFrameClient::cookieJar):
10786 * public/WebKitClient.h:
10787 (WebKit::WebKitClient::cookieJar):
10788 (WebKit::WebKitClient::setCookies):
10789 (WebKit::WebKitClient::cookies):
10790 (WebKit::WebKitClient::rawCookies):
10791 (WebKit::WebKitClient::deleteCookie):
10792 (WebKit::WebKitClient::cookiesEnabled):
10793 * src/ChromiumBridge.cpp:
10794 (WebCore::getCookieJar):
10795 (WebCore::ChromiumBridge::setCookies):
10796 (WebCore::ChromiumBridge::cookies):
10797 (WebCore::ChromiumBridge::rawCookies):
10798 (WebCore::ChromiumBridge::deleteCookie):
10799 (WebCore::ChromiumBridge::cookiesEnabled):
10801 2010-02-12 Pavel Feldman <pfeldman@chromium.org>
10803 Reviewed by David Levin.
10805 Chromium: provide theme overrides for Chromium devtools on Mac.
10807 https://bugs.webkit.org/show_bug.cgi?id=34856
10809 * src/js/devTools.css:
10811 2010-02-12 Jeremy Orlow <jorlow@chromium.org>
10813 Reviewed by Darin Fisher.
10815 [Chromium] Add a blockedByPolicy output to WebStorageArea::setItem.
10816 https://bugs.webkit.org/show_bug.cgi?id=34897
10818 * public/WebStorageArea.h:
10819 (WebKit::WebStorageArea::setItem):
10820 * src/WebStorageAreaImpl.cpp:
10821 (WebKit::WebStorageAreaImpl::setItem):
10822 * src/WebStorageAreaImpl.h:
10824 2010-02-11 Jeremy Orlow <jorlow@chromium.org>
10826 Reviewed by David Levin.
10828 [Chromium] Add ENABLE_RUBY to the feature defines gypi
10829 https://bugs.webkit.org/show_bug.cgi?id=34841
10833 2010-02-12 Yury Semikhatsky <yurys@chromium.org>
10835 Reviewed by Pavel Feldman.
10837 Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer
10839 https://bugs.webkit.org/show_bug.cgi?id=34890
10841 * src/DebuggerAgentImpl.cpp:
10842 (WebKit::DebuggerAgentImpl::createUtilityContext):
10844 2010-02-11 Mikhail Naganov <mnaganov@chromium.org>
10846 Reviewed by Pavel Feldman.
10848 [Chromium] Ignore subsequent requests of the same profiler log
10849 chunks. This eliminates emission of several instances for the same
10852 https://bugs.webkit.org/show_bug.cgi?id=34833
10854 * src/js/ProfilerAgent.js:
10855 (devtools.ProfilerAgent):
10856 (devtools.ProfilerAgent.prototype.initializeProfiling):
10857 (devtools.ProfilerAgent.prototype._getNextLogLines):
10858 (devtools.ProfilerAgent.prototype.startProfiling):
10859 (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
10860 (devtools.ProfilerAgent.prototype._didGetLogLines):
10862 2010-02-10 James Hawkins <jhawkins@chromium.org>
10864 Reviewed by Eric Seidel.
10866 [Chromium] Remove code from SuggestionsPopup that was removed in a
10867 previous revision of AutocompletePopup and accidentally added back in
10870 https://bugs.webkit.org/show_bug.cgi?id=34818
10872 * src/AutoFillPopupMenuClient.cpp:
10873 * src/AutoFillPopupMenuClient.h: Added property svn:eol-style.
10874 * src/SuggestionsPopupMenuClient.cpp:
10875 (WebKit::SuggestionsPopupMenuClient::popupDidHide):
10876 (WebKit::SuggestionsPopupMenuClient::setTextFromItem):
10877 (WebKit::SuggestionsPopupMenuClient::initialize):
10878 * src/SuggestionsPopupMenuClient.h:
10880 2010-02-10 Nate Chapin <japhet@chromium.org>
10882 Reviewed by Adam Barth.
10884 Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters.
10886 https://bugs.webkit.org/show_bug.cgi?id=34768
10888 * src/DebuggerAgentImpl.cpp:
10889 (WebKit::DebuggerAgentImpl::createUtilityContext):
10891 2010-02-10 Kenneth Russell <kbr@google.com>
10893 Reviewed by Oliver Hunt.
10895 Remove automatic viewport resizing
10896 https://bugs.webkit.org/show_bug.cgi?id=34766
10898 Removed automatic viewport resizing per conclusions on the WebGL
10899 mailing list. Added test verifying new behavior and updated a
10900 couple of previous tests failing after this change.
10902 * src/GraphicsContext3D.cpp:
10903 (WebCore::GraphicsContext3DInternal::reshape):
10905 2010-02-10 Yury Semikhatsky <yurys@chromium.org>
10907 Reviewed by Pavel Feldman.
10909 Chromium Win build fix. Add third_party/nss to the dependencies list on Windows.
10911 https://bugs.webkit.org/show_bug.cgi?id=34789
10915 2010-02-10 Yury Semikhatsky <yurys@chromium.org>
10917 Reviewed by Pavel Feldman.
10919 Rolling Chromium dependencies to match Chromium revision 38580.
10921 https://bugs.webkit.org/show_bug.cgi?id=34789
10925 2010-02-10 Yury Semikhatsky <yurys@chromium.org>
10927 Reviewed by Pavel Feldman.
10929 Use v8::Debug::ProcessDebugMessages instead of executing an empty function
10931 https://bugs.webkit.org/show_bug.cgi?id=34704
10933 * src/DebuggerAgent.h:
10934 * src/DebuggerAgentImpl.cpp:
10935 (WebKit::DebuggerAgentImpl::processDebugCommands):
10936 * src/DebuggerAgentImpl.h:
10937 * src/ToolsAgent.h:
10938 * src/WebDevToolsAgentImpl.cpp:
10939 * src/WebDevToolsAgentImpl.h:
10940 * src/js/DebuggerAgent.js:
10941 (devtools.DebuggerAgent.prototype.addBreakpoint):
10942 * src/js/DevToolsHostStub.js:
10943 (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
10944 * src/js/InjectDispatch.js:
10946 * src/js/ProfilerAgent.js:
10947 (devtools.ProfilerAgent.prototype.startProfiling):
10948 (devtools.ProfilerAgent.prototype.stopProfiling):
10951 2010-02-10 Tony Chang <tony@chromium.org>
10953 Unreviewed, build fix for Chromium Mac take 2.
10955 * src/AutoFillPopupMenuClient.cpp:
10956 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
10958 2010-02-10 Tony Chang <tony@chromium.org>
10960 Unreviewed, build fix for Chromium Mac.
10962 * src/AutoFillPopupMenuClient.cpp:
10963 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
10965 2010-02-09 James Hawkins <jhawkins@chromium.org>
10967 Reviewed by Darin Fisher.
10969 [Chromium] Refactor AutocompletePopupMenuClient into a base class,
10970 SuggestionsPopupMenuClient, and two derived classes,
10971 AutocompletePopupMenuClient and AutoFillPopupMenuClient. Currently
10972 the behavior of suggestions popups has not changed.
10974 https://bugs.webkit.org/show_bug.cgi?id=34721
10977 * public/WebView.h:
10978 * src/AutoFillPopupMenuClient.cpp: Added.
10979 * src/AutoFillPopupMenuClient.h: Added.
10980 * src/AutocompletePopupMenuClient.cpp:
10981 (WebKit::AutocompletePopupMenuClient::getSuggestionsCount):
10982 (WebKit::AutocompletePopupMenuClient::getSuggestion):
10983 (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
10984 (WebKit::AutocompletePopupMenuClient::initialize):
10985 (WebKit::AutocompletePopupMenuClient::setSuggestions):
10986 * src/AutocompletePopupMenuClient.h:
10987 * src/SuggestionsPopupMenuClient.cpp: Added.
10988 * src/SuggestionsPopupMenuClient.h: Added.
10989 * src/WebViewImpl.cpp:
10990 (WebKit::WebViewImpl::WebViewImpl):
10991 (WebKit::WebViewImpl::keyEvent):
10992 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
10993 (WebKit::WebViewImpl::applyAutofillSuggestions):
10994 (WebKit::WebViewImpl::applyAutoFillSuggestions):
10995 (WebKit::WebViewImpl::applyAutocompleteSuggestions):
10996 * src/WebViewImpl.h:
10998 2010-02-09 Chris Guillory <ctguil@google.com>
11000 Reviewed by Darin Fisher.
11002 [Chromium] Add function for accessibility object state change notifications.
11004 https://bugs.webkit.org/show_bug.cgi?id=34464
11007 * public/WebViewClient.h:
11008 (WebKit::WebViewClient::didChangeAccessibilityObjectState):
11009 * src/ChromeClientImpl.cpp:
11010 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
11011 * src/ChromeClientImpl.h:
11013 2010-02-09 Mikhail Naganov <mnaganov@chromium.org>
11015 Reviewed by Pavel Feldman.
11017 Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
11018 Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
11019 for really enabling it in V8 bindings generation.
11021 https://bugs.webkit.org/show_bug.cgi?id=34706
11025 2010-02-09 Jian Li <jianli@chromium.org>
11027 Reviewed by Darin Fisher.
11029 [chromium] Add the chromium interface to support Blob.slice.
11030 https://bugs.webkit.org/show_bug.cgi?id=34652
11033 * public/WebFileInfo.h: Added.
11034 * public/WebHTTPBody.h:
11035 * src/WebHTTPBody.cpp:
11036 (WebKit::WebHTTPBody::elementAt):
11037 (WebKit::WebHTTPBody::appendFile):
11039 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
11041 Unreviewed. Follow-up fix.
11043 Add missing devTools.css file.
11045 https://bugs.webkit.org/show_bug.cgi?id=34756
11047 * src/js/devTools.css: Added.
11049 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
11051 Reviewed by Pavel Feldman.
11053 Upstream DevTools Images and .css files.
11055 https://bugs.webkit.org/show_bug.cgi?id=34756
11058 * src/js/DevTools.css: Added.
11059 * src/js/Images/segmentChromium.png: Added.
11060 * src/js/Images/segmentHoverChromium.png: Added.
11061 * src/js/Images/segmentHoverEndChromium.png: Added.
11062 * src/js/Images/segmentSelectedChromium.png: Added.
11063 * src/js/Images/segmentSelectedEndChromium.png: Added.
11064 * src/js/Images/statusbarBackgroundChromium.png: Added.
11065 * src/js/Images/statusbarBottomBackgroundChromium.png: Added.
11066 * src/js/Images/statusbarButtonsChromium.png: Added.
11067 * src/js/Images/statusbarMenuButtonChromium.png: Added.
11068 * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added.
11070 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
11072 Reviewed by Pavel Feldman.
11074 Upstream JavaScript part of DevTools WebKit API implementation(now
11075 with the added files).
11077 https://bugs.webkit.org/show_bug.cgi?id=34744
11079 * WebKit.gypi: Added.
11080 * src/js/DebuggerAgent.js: Added.
11081 (devtools.DebuggerAgent):
11082 (devtools.DebuggerAgent.prototype.reset):
11083 (devtools.DebuggerAgent.prototype.initUI):
11084 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
11085 (devtools.DebuggerAgent.prototype.resolveScriptSource):
11086 (devtools.DebuggerAgent.prototype.pauseExecution):
11087 (devtools.DebuggerAgent.prototype.addBreakpoint):
11088 (devtools.DebuggerAgent.prototype.removeBreakpoint):
11089 (devtools.DebuggerAgent.prototype.updateBreakpoint):
11090 (devtools.DebuggerAgent.prototype.stepIntoStatement):
11091 (devtools.DebuggerAgent.prototype.stepOutOfFunction):
11092 (devtools.DebuggerAgent.prototype.stepOverStatement):
11093 (devtools.DebuggerAgent.prototype.resumeExecution):
11094 (devtools.DebuggerAgent.prototype.createExceptionMessage_):
11095 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
11096 (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
11097 (devtools.DebuggerAgent.prototype.pauseOnExceptions):
11098 (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
11099 (devtools.DebuggerAgent.prototype.requestEvaluate):
11100 (devtools.DebuggerAgent.prototype.resolveChildren):
11101 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
11102 (devtools.DebuggerAgent.prototype.resolveScope):
11103 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
11104 (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
11105 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
11106 (devtools.DebuggerAgent.prototype.getScriptContextType):
11107 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
11108 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
11109 (devtools.DebuggerAgent.prototype.requestBacktrace_):
11110 (devtools.DebuggerAgent.sendCommand_):
11111 (devtools.DebuggerAgent.prototype.stepCommand_):
11112 (devtools.DebuggerAgent.prototype.requestLookup_):
11113 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
11114 (devtools.DebuggerAgent.prototype.setContextId_):
11115 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
11116 (devtools.DebuggerAgent.prototype.handleBreakEvent_):
11117 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
11118 (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
11119 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
11120 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
11121 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
11122 (devtools.DebuggerAgent.prototype.addScriptInfo_):
11123 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
11124 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
11125 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
11126 (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
11127 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
11128 (devtools.DebuggerAgent.prototype.formatCallFrame_):
11129 (devtools.DebuggerAgent.formatObjectProperties_):
11130 (devtools.DebuggerAgent.propertiesToProxies_):
11131 (devtools.DebuggerAgent.formatObjectProxy_):
11132 (devtools.DebuggerAgent.webkitToV8LineNumber_):
11133 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
11134 (devtools.ScriptInfo):
11135 (devtools.ScriptInfo.prototype.getLineOffset):
11136 (devtools.ScriptInfo.prototype.getContextType):
11137 (devtools.ScriptInfo.prototype.getUrl):
11138 (devtools.ScriptInfo.prototype.isUnresolved):
11139 (devtools.ScriptInfo.prototype.getBreakpointInfo):
11140 (devtools.ScriptInfo.prototype.addBreakpointInfo):
11141 (devtools.ScriptInfo.prototype.removeBreakpointInfo):
11142 (devtools.BreakpointInfo):
11143 (devtools.BreakpointInfo.prototype.getLine):
11144 (devtools.BreakpointInfo.prototype.getV8Id):
11145 (devtools.BreakpointInfo.prototype.setV8Id):
11146 (devtools.BreakpointInfo.prototype.markAsRemoved):
11147 (devtools.BreakpointInfo.prototype.isRemoved):
11148 (devtools.CallFrame):
11149 (devtools.CallFrame.prototype.evaluate_):
11150 (devtools.DebugCommand):
11151 (devtools.DebugCommand.prototype.getSequenceNumber):
11152 (devtools.DebugCommand.prototype.toJSONProtocol):
11153 (devtools.DebuggerMessage):
11154 (devtools.DebuggerMessage.prototype.getType):
11155 (devtools.DebuggerMessage.prototype.getEvent):
11156 (devtools.DebuggerMessage.prototype.getCommand):
11157 (devtools.DebuggerMessage.prototype.getRequestSeq):
11158 (devtools.DebuggerMessage.prototype.isRunning):
11159 (devtools.DebuggerMessage.prototype.isSuccess):
11160 (devtools.DebuggerMessage.prototype.getMessage):
11161 (devtools.DebuggerMessage.prototype.getBody):
11162 (devtools.DebuggerMessage.prototype.lookup):
11163 * src/js/DevTools.js: Added.
11164 (devtools.dispatch):
11165 (devtools.ToolsAgent):
11166 (devtools.ToolsAgent.prototype.reset):
11167 (devtools.ToolsAgent.prototype.evaluateJavaScript):
11168 (devtools.ToolsAgent.prototype.getDebuggerAgent):
11169 (devtools.ToolsAgent.prototype.getProfilerAgent):
11170 (devtools.ToolsAgent.prototype.frameNavigate_):
11171 (devtools.ToolsAgent.prototype.dispatchOnClient_):
11172 (devtools.ToolsAgent.prototype.evaluate):
11173 (WebInspector.setResourcesPanelEnabled):
11176 (WebInspector.loaded):
11178 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
11179 (WebInspector.ScriptView.prototype.didResolveScriptSource_):
11180 (WebInspector.UnresolvedPropertyValue):
11181 (WebInspector.UIString):
11182 (WebInspector.resourceTrackingWasEnabled):
11183 (WebInspector.resourceTrackingWasDisabled):
11184 (WebInspector.TestController.prototype.runAfterPendingDispatches):
11185 (WebInspector.queuesAreEmpty):
11186 (WebInspector.pausedScript):
11187 * src/js/DevToolsHostStub.js: Added.
11188 (.RemoteDebuggerAgentStub):
11189 (.RemoteDebuggerAgentStub.prototype.getContextId):
11190 (.RemoteProfilerAgentStub):
11191 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
11192 (.RemoteProfilerAgentStub.prototype.getLogLines):
11193 (.RemoteToolsAgentStub):
11194 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
11195 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
11196 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
11197 (.ProfilerStubHelper):
11198 (.ProfilerStubHelper.GetInstance):
11199 (.ProfilerStubHelper.prototype.StopProfiling):
11200 (.ProfilerStubHelper.prototype.StartProfiling):
11201 (.ProfilerStubHelper.prototype.getActiveProfilerModules):
11202 (.ProfilerStubHelper.prototype.getLogLines):
11203 (.RemoteDebuggerCommandExecutorStub):
11204 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
11205 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
11206 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
11207 (.DevToolsHostStub):
11208 (.DevToolsHostStub.prototype.reset):
11209 (.DevToolsHostStub.prototype.setting):
11210 (.DevToolsHostStub.prototype.setSetting):
11211 * src/js/HeapProfilerPanel.js: Added.
11212 (WebInspector.ProfilesPanel.prototype.addSnapshot):
11213 (WebInspector.HeapSnapshotView):
11214 (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
11215 (WebInspector.HeapSnapshotView.prototype.get profile):
11216 (WebInspector.HeapSnapshotView.prototype.set profile):
11217 (WebInspector.HeapSnapshotView.prototype.show):
11218 (WebInspector.HeapSnapshotView.prototype.hide):
11219 (WebInspector.HeapSnapshotView.prototype.resize):
11220 (WebInspector.HeapSnapshotView.prototype.refresh):
11221 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
11222 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
11223 (WebInspector.HeapSnapshotView.prototype.searchCanceled):
11224 (WebInspector.HeapSnapshotView.prototype.performSearch):
11225 (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):
11226 (WebInspector.HeapSnapshotView.prototype._changeBase):
11227 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
11228 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
11229 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
11230 (WebInspector.HeapSnapshotView.prototype._percentClicked):
11231 (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
11232 (WebInspector.HeapSnapshotView.prototype._sortData):
11233 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
11234 (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
11235 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
11236 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
11237 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
11238 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
11239 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
11240 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
11241 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
11242 (WebInspector.HeapSummaryCalculator):
11243 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
11244 (WebInspector.HeapSummaryCalculator.prototype.formatValue):
11245 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
11246 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
11247 (WebInspector.HeapSummaryCountCalculator):
11248 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
11249 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
11250 (WebInspector.HeapSummarySizeCalculator):
11251 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
11252 (WebInspector.HeapSnapshotSidebarTreeElement):
11253 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
11254 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
11255 (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
11256 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
11257 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
11258 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
11259 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
11260 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
11261 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
11262 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
11263 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
11264 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
11265 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
11266 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
11267 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
11268 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
11269 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
11270 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
11271 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
11272 (WebInspector.HeapSnapshotDataGridNode):
11273 (WebInspector.HeapSnapshotDataGridList):
11274 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
11275 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
11276 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
11277 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
11278 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
11279 (WebInspector.HeapSnapshotDataGridList.propertyComparator):
11280 (WebInspector.HeapSnapshotDataGridRetainerNode):
11281 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
11282 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
11283 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
11284 (WebInspector.HeapSnapshotProfileType):
11285 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
11286 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
11287 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
11288 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
11289 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
11290 (WebInspector.HeapSnapshotProfileType.prototype.createView):
11292 * src/js/InjectDispatch.js: Added.
11293 (InspectorControllerDispatcher.dispatch):
11294 (ApuAgentDispatcher.dispatchToApu):
11297 * src/js/InspectorControllerImpl.js: Added.
11298 (devtools.InspectorBackendImpl):
11299 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
11300 (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
11301 (devtools.InspectorBackendImpl.prototype.profilerEnabled):
11302 (devtools.InspectorBackendImpl.prototype.addBreakpoint):
11303 (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
11304 (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
11305 (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
11306 (devtools.InspectorBackendImpl.prototype.resumeDebugger):
11307 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
11308 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
11309 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
11310 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
11311 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
11312 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
11313 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
11314 (devtools.InspectorBackendImpl.prototype.startProfiling):
11315 (devtools.InspectorBackendImpl.prototype.stopProfiling):
11316 (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
11317 (devtools.InspectorBackendImpl.prototype.addFullProfile):
11318 (devtools.InspectorBackendImpl.prototype.getProfile):
11319 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
11320 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
11321 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
11322 (devtools.InspectorBackendImpl.prototype.callInspectorController_):
11323 * src/js/ProfilerAgent.js: Added.
11324 (devtools.ProfilerAgent):
11325 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
11326 (devtools.ProfilerAgent.prototype.initializeProfiling):
11327 (devtools.ProfilerAgent.prototype.startProfiling):
11328 (devtools.ProfilerAgent.prototype.stopProfiling):
11329 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
11330 (devtools.ProfilerAgent.prototype.didGetLogLines_):
11331 * src/js/ProfilerProcessor.js: Added.
11332 (devtools.profiler.WebKitViewBuilder):
11333 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
11334 (devtools.profiler.WebKitViewNode):
11335 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
11336 (devtools.profiler.JsProfile):
11337 (devtools.profiler.JsProfile.prototype.skipThisFunction):
11338 (devtools.profiler.Processor):
11339 (devtools.profiler.Processor.prototype.printError):
11340 (devtools.profiler.Processor.prototype.skipDispatch):
11341 (devtools.profiler.Processor.prototype.setCallbacks):
11342 (devtools.profiler.Processor.prototype.setNewProfileCallback):
11343 (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
11344 (devtools.profiler.Processor.prototype.processProfiler_):
11345 (devtools.profiler.Processor.prototype.processCodeCreation_):
11346 (devtools.profiler.Processor.prototype.processCodeMove_):
11347 (devtools.profiler.Processor.prototype.processCodeDelete_):
11348 (devtools.profiler.Processor.prototype.processFunctionCreation_):
11349 (devtools.profiler.Processor.prototype.processFunctionMove_):
11350 (devtools.profiler.Processor.prototype.processFunctionDelete_):
11351 (devtools.profiler.Processor.prototype.processTick_):
11352 (devtools.profiler.Processor.prototype.processTickV2_):
11353 (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
11354 (devtools.profiler.Processor.prototype.processHeapSampleStats_):
11355 (devtools.profiler.Processor.prototype.processHeapSampleItem_):
11356 (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
11357 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
11358 (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
11359 (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
11360 (devtools.profiler.Processor.prototype.createProfileForView):
11361 * src/js/Tests.js: Added.
11363 (.TestSuite.prototype.fail):
11364 (.TestSuite.prototype.assertEquals):
11365 (.TestSuite.prototype.assertTrue):
11366 (.TestSuite.prototype.assertContains):
11367 (.TestSuite.prototype.takeControl):
11368 (.TestSuite.prototype.releaseControl):
11369 (.TestSuite.prototype.reportOk_):
11370 (.TestSuite.prototype.reportFailure_):
11371 (.TestSuite.prototype.runTest):
11372 (.TestSuite.prototype.showPanel):
11373 (.TestSuite.prototype.addSniffer.receiver.methodName):
11374 (.TestSuite.prototype.addSniffer):
11375 (.TestSuite.prototype.testHostIsPresent):
11376 (.TestSuite.prototype.testElementsTreeRoot):
11377 (.TestSuite.prototype.testMainResource):
11378 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
11379 (.TestSuite.prototype.testResourceHeaders):
11380 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
11381 (.TestSuite.prototype.testCachedResourceMimeType):
11382 (.TestSuite.prototype.testProfilerTab):
11383 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
11384 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
11385 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
11386 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
11387 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
11388 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
11389 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
11390 (.TestSuite.prototype.testPauseOnException):
11391 (.TestSuite.prototype.testPauseWhenLoadingDevTools):
11392 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
11393 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
11394 (.TestSuite.prototype.testPauseWhenScriptIsRunning):
11395 (.TestSuite.prototype.optionsToString_):
11396 (.TestSuite.prototype.evaluateInConsole_):
11397 (.TestSuite.prototype.waitForSetBreakpointResponse_):
11398 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
11399 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
11400 (.TestSuite.prototype.testCompletionOnPause):
11401 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
11402 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
11403 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
11404 (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
11405 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
11406 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
11407 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
11408 (.TestSuite.prototype._checkExecutionLine):
11409 (.TestSuite.prototype._scriptsAreParsed):
11410 (.TestSuite.prototype._waitForScriptPause):
11411 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
11412 (.TestSuite.prototype._checkSourceFrameWhenLoaded):
11413 (.TestSuite.prototype._performSteps.doNextAction):
11414 (.TestSuite.prototype._performSteps):
11415 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
11416 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
11417 (.TestSuite.prototype._waitUntilScriptsAreParsed):
11418 (.TestSuite.prototype._executeFunctionForStepTest):
11419 (.TestSuite.prototype.testStepOver):
11420 (.TestSuite.prototype.testStepOut):
11421 (.TestSuite.prototype.testStepIn):
11422 (.TestSuite.prototype._evaluateXpath):
11423 (.TestSuite.prototype._findNode):
11424 (.TestSuite.prototype._findText):
11425 (.TestSuite.prototype._nodeIterator):
11426 (.TestSuite.prototype._checkScopeSectionDiv):
11427 (.TestSuite.prototype._expandScopeSections.updateListener):
11428 (.TestSuite.prototype._expandScopeSections):
11429 (.TestSuite.prototype.testExpandScope):
11430 (.TestSuite.prototype.testExpandScope.examineScopes):
11431 (.TestSuite.prototype._findChildProperty):
11432 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
11433 (.TestSuite.prototype._hookGetPropertiesCallback.try):
11434 (.TestSuite.prototype._hookGetPropertiesCallback):
11435 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
11436 (.TestSuite.prototype.testDebugIntrinsicProperties):
11437 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
11438 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
11439 (.TestSuite.createKeyEvent):
11440 (.TestSuite.prototype.testConsoleLog.assertNext):
11441 (.TestSuite.prototype.testConsoleLog):
11442 (.TestSuite.prototype.testEvalGlobal.initEval):
11443 (.TestSuite.prototype.testEvalGlobal):
11444 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
11445 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
11446 (.uiTests.runAllTests):
11447 (.uiTests.runTest):
11449 2010-02-09 Yury Semikhatsky <yurys@chromium.org>
11451 Reviewed by Pavel Feldman.
11453 Upstream JavaScript part of DevTools WebKit API implementation
11455 https://bugs.webkit.org/show_bug.cgi?id=34744
11457 * WebKit.gypi: Added.
11458 * src/js/DebuggerAgent.js: Added.
11459 (devtools.DebuggerAgent):
11460 (devtools.DebuggerAgent.prototype.reset):
11461 (devtools.DebuggerAgent.prototype.initUI):
11462 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
11463 (devtools.DebuggerAgent.prototype.resolveScriptSource):
11464 (devtools.DebuggerAgent.prototype.pauseExecution):
11465 (devtools.DebuggerAgent.prototype.addBreakpoint):
11466 (devtools.DebuggerAgent.prototype.removeBreakpoint):
11467 (devtools.DebuggerAgent.prototype.updateBreakpoint):
11468 (devtools.DebuggerAgent.prototype.stepIntoStatement):
11469 (devtools.DebuggerAgent.prototype.stepOutOfFunction):
11470 (devtools.DebuggerAgent.prototype.stepOverStatement):
11471 (devtools.DebuggerAgent.prototype.resumeExecution):
11472 (devtools.DebuggerAgent.prototype.createExceptionMessage_):
11473 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
11474 (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
11475 (devtools.DebuggerAgent.prototype.pauseOnExceptions):
11476 (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
11477 (devtools.DebuggerAgent.prototype.requestEvaluate):
11478 (devtools.DebuggerAgent.prototype.resolveChildren):
11479 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
11480 (devtools.DebuggerAgent.prototype.resolveScope):
11481 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
11482 (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
11483 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
11484 (devtools.DebuggerAgent.prototype.getScriptContextType):
11485 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
11486 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
11487 (devtools.DebuggerAgent.prototype.requestBacktrace_):
11488 (devtools.DebuggerAgent.sendCommand_):
11489 (devtools.DebuggerAgent.prototype.stepCommand_):
11490 (devtools.DebuggerAgent.prototype.requestLookup_):
11491 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
11492 (devtools.DebuggerAgent.prototype.setContextId_):
11493 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
11494 (devtools.DebuggerAgent.prototype.handleBreakEvent_):
11495 (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
11496 (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
11497 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
11498 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
11499 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
11500 (devtools.DebuggerAgent.prototype.addScriptInfo_):
11501 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
11502 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
11503 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
11504 (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
11505 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
11506 (devtools.DebuggerAgent.prototype.formatCallFrame_):
11507 (devtools.DebuggerAgent.formatObjectProperties_):
11508 (devtools.DebuggerAgent.propertiesToProxies_):
11509 (devtools.DebuggerAgent.formatObjectProxy_):
11510 (devtools.DebuggerAgent.webkitToV8LineNumber_):
11511 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
11512 (devtools.ScriptInfo):
11513 (devtools.ScriptInfo.prototype.getLineOffset):
11514 (devtools.ScriptInfo.prototype.getContextType):
11515 (devtools.ScriptInfo.prototype.getUrl):
11516 (devtools.ScriptInfo.prototype.isUnresolved):
11517 (devtools.ScriptInfo.prototype.getBreakpointInfo):
11518 (devtools.ScriptInfo.prototype.addBreakpointInfo):
11519 (devtools.ScriptInfo.prototype.removeBreakpointInfo):
11520 (devtools.BreakpointInfo):
11521 (devtools.BreakpointInfo.prototype.getLine):
11522 (devtools.BreakpointInfo.prototype.getV8Id):
11523 (devtools.BreakpointInfo.prototype.setV8Id):
11524 (devtools.BreakpointInfo.prototype.markAsRemoved):
11525 (devtools.BreakpointInfo.prototype.isRemoved):
11526 (devtools.CallFrame):
11527 (devtools.CallFrame.prototype.evaluate_):
11528 (devtools.DebugCommand):
11529 (devtools.DebugCommand.prototype.getSequenceNumber):
11530 (devtools.DebugCommand.prototype.toJSONProtocol):
11531 (devtools.DebuggerMessage):
11532 (devtools.DebuggerMessage.prototype.getType):
11533 (devtools.DebuggerMessage.prototype.getEvent):
11534 (devtools.DebuggerMessage.prototype.getCommand):
11535 (devtools.DebuggerMessage.prototype.getRequestSeq):
11536 (devtools.DebuggerMessage.prototype.isRunning):
11537 (devtools.DebuggerMessage.prototype.isSuccess):
11538 (devtools.DebuggerMessage.prototype.getMessage):
11539 (devtools.DebuggerMessage.prototype.getBody):
11540 (devtools.DebuggerMessage.prototype.lookup):
11541 * src/js/DevTools.js: Added.
11542 (devtools.dispatch):
11543 (devtools.ToolsAgent):
11544 (devtools.ToolsAgent.prototype.reset):
11545 (devtools.ToolsAgent.prototype.evaluateJavaScript):
11546 (devtools.ToolsAgent.prototype.getDebuggerAgent):
11547 (devtools.ToolsAgent.prototype.getProfilerAgent):
11548 (devtools.ToolsAgent.prototype.frameNavigate_):
11549 (devtools.ToolsAgent.prototype.dispatchOnClient_):
11550 (devtools.ToolsAgent.prototype.evaluate):
11551 (WebInspector.setResourcesPanelEnabled):
11554 (WebInspector.loaded):
11556 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
11557 (WebInspector.ScriptView.prototype.didResolveScriptSource_):
11558 (WebInspector.UnresolvedPropertyValue):
11559 (WebInspector.UIString):
11560 (WebInspector.resourceTrackingWasEnabled):
11561 (WebInspector.resourceTrackingWasDisabled):
11562 (WebInspector.TestController.prototype.runAfterPendingDispatches):
11563 (WebInspector.queuesAreEmpty):
11564 (WebInspector.pausedScript):
11565 * src/js/DevToolsHostStub.js: Added.
11566 (.RemoteDebuggerAgentStub):
11567 (.RemoteDebuggerAgentStub.prototype.getContextId):
11568 (.RemoteProfilerAgentStub):
11569 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
11570 (.RemoteProfilerAgentStub.prototype.getLogLines):
11571 (.RemoteToolsAgentStub):
11572 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
11573 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
11574 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
11575 (.ProfilerStubHelper):
11576 (.ProfilerStubHelper.GetInstance):
11577 (.ProfilerStubHelper.prototype.StopProfiling):
11578 (.ProfilerStubHelper.prototype.StartProfiling):
11579 (.ProfilerStubHelper.prototype.getActiveProfilerModules):
11580 (.ProfilerStubHelper.prototype.getLogLines):
11581 (.RemoteDebuggerCommandExecutorStub):
11582 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
11583 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
11584 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
11585 (.DevToolsHostStub):
11586 (.DevToolsHostStub.prototype.reset):
11587 (.DevToolsHostStub.prototype.setting):
11588 (.DevToolsHostStub.prototype.setSetting):
11589 * src/js/HeapProfilerPanel.js: Added.
11590 (WebInspector.ProfilesPanel.prototype.addSnapshot):
11591 (WebInspector.HeapSnapshotView):
11592 (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
11593 (WebInspector.HeapSnapshotView.prototype.get profile):
11594 (WebInspector.HeapSnapshotView.prototype.set profile):
11595 (WebInspector.HeapSnapshotView.prototype.show):
11596 (WebInspector.HeapSnapshotView.prototype.hide):
11597 (WebInspector.HeapSnapshotView.prototype.resize):
11598 (WebInspector.HeapSnapshotView.prototype.refresh):
11599 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
11600 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
11601 (WebInspector.HeapSnapshotView.prototype.searchCanceled):
11602 (WebInspector.HeapSnapshotView.prototype.performSearch):
11603 (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):
11604 (WebInspector.HeapSnapshotView.prototype._changeBase):
11605 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
11606 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
11607 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
11608 (WebInspector.HeapSnapshotView.prototype._percentClicked):
11609 (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
11610 (WebInspector.HeapSnapshotView.prototype._sortData):
11611 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
11612 (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
11613 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
11614 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
11615 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
11616 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
11617 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
11618 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
11619 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
11620 (WebInspector.HeapSummaryCalculator):
11621 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
11622 (WebInspector.HeapSummaryCalculator.prototype.formatValue):
11623 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
11624 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
11625 (WebInspector.HeapSummaryCountCalculator):
11626 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
11627 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
11628 (WebInspector.HeapSummarySizeCalculator):
11629 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
11630 (WebInspector.HeapSnapshotSidebarTreeElement):
11631 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
11632 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
11633 (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
11634 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
11635 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
11636 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
11637 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
11638 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
11639 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
11640 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
11641 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
11642 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
11643 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
11644 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
11645 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
11646 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
11647 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
11648 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
11649 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
11650 (WebInspector.HeapSnapshotDataGridNode):
11651 (WebInspector.HeapSnapshotDataGridList):
11652 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
11653 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
11654 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
11655 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
11656 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
11657 (WebInspector.HeapSnapshotDataGridList.propertyComparator):
11658 (WebInspector.HeapSnapshotDataGridRetainerNode):
11659 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
11660 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
11661 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
11662 (WebInspector.HeapSnapshotProfileType):
11663 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
11664 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
11665 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
11666 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
11667 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
11668 (WebInspector.HeapSnapshotProfileType.prototype.createView):
11670 * src/js/InjectDispatch.js: Added.
11671 (InspectorControllerDispatcher.dispatch):
11672 (ApuAgentDispatcher.dispatchToApu):
11675 * src/js/InspectorControllerImpl.js: Added.
11676 (devtools.InspectorBackendImpl):
11677 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
11678 (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
11679 (devtools.InspectorBackendImpl.prototype.profilerEnabled):
11680 (devtools.InspectorBackendImpl.prototype.addBreakpoint):
11681 (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
11682 (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
11683 (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
11684 (devtools.InspectorBackendImpl.prototype.resumeDebugger):
11685 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
11686 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
11687 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
11688 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
11689 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
11690 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
11691 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
11692 (devtools.InspectorBackendImpl.prototype.startProfiling):
11693 (devtools.InspectorBackendImpl.prototype.stopProfiling):
11694 (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
11695 (devtools.InspectorBackendImpl.prototype.addFullProfile):
11696 (devtools.InspectorBackendImpl.prototype.getProfile):
11697 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
11698 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
11699 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
11700 (devtools.InspectorBackendImpl.prototype.callInspectorController_):
11701 * src/js/ProfilerAgent.js: Added.
11702 (devtools.ProfilerAgent):
11703 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
11704 (devtools.ProfilerAgent.prototype.initializeProfiling):
11705 (devtools.ProfilerAgent.prototype.startProfiling):
11706 (devtools.ProfilerAgent.prototype.stopProfiling):
11707 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
11708 (devtools.ProfilerAgent.prototype.didGetLogLines_):
11709 * src/js/ProfilerProcessor.js: Added.
11710 (devtools.profiler.WebKitViewBuilder):
11711 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
11712 (devtools.profiler.WebKitViewNode):
11713 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
11714 (devtools.profiler.JsProfile):
11715 (devtools.profiler.JsProfile.prototype.skipThisFunction):
11716 (devtools.profiler.Processor):
11717 (devtools.profiler.Processor.prototype.printError):
11718 (devtools.profiler.Processor.prototype.skipDispatch):
11719 (devtools.profiler.Processor.prototype.setCallbacks):
11720 (devtools.profiler.Processor.prototype.setNewProfileCallback):
11721 (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
11722 (devtools.profiler.Processor.prototype.processProfiler_):
11723 (devtools.profiler.Processor.prototype.processCodeCreation_):
11724 (devtools.profiler.Processor.prototype.processCodeMove_):
11725 (devtools.profiler.Processor.prototype.processCodeDelete_):
11726 (devtools.profiler.Processor.prototype.processFunctionCreation_):
11727 (devtools.profiler.Processor.prototype.processFunctionMove_):
11728 (devtools.profiler.Processor.prototype.processFunctionDelete_):
11729 (devtools.profiler.Processor.prototype.processTick_):
11730 (devtools.profiler.Processor.prototype.processTickV2_):
11731 (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
11732 (devtools.profiler.Processor.prototype.processHeapSampleStats_):
11733 (devtools.profiler.Processor.prototype.processHeapSampleItem_):
11734 (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
11735 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
11736 (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
11737 (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
11738 (devtools.profiler.Processor.prototype.createProfileForView):
11739 * src/js/Tests.js: Added.
11741 (.TestSuite.prototype.fail):
11742 (.TestSuite.prototype.assertEquals):
11743 (.TestSuite.prototype.assertTrue):
11744 (.TestSuite.prototype.assertContains):
11745 (.TestSuite.prototype.takeControl):
11746 (.TestSuite.prototype.releaseControl):
11747 (.TestSuite.prototype.reportOk_):
11748 (.TestSuite.prototype.reportFailure_):
11749 (.TestSuite.prototype.runTest):
11750 (.TestSuite.prototype.showPanel):
11751 (.TestSuite.prototype.addSniffer.receiver.methodName):
11752 (.TestSuite.prototype.addSniffer):
11753 (.TestSuite.prototype.testHostIsPresent):
11754 (.TestSuite.prototype.testElementsTreeRoot):
11755 (.TestSuite.prototype.testMainResource):
11756 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
11757 (.TestSuite.prototype.testResourceHeaders):
11758 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
11759 (.TestSuite.prototype.testCachedResourceMimeType):
11760 (.TestSuite.prototype.testProfilerTab):
11761 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
11762 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
11763 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
11764 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
11765 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
11766 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
11767 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
11768 (.TestSuite.prototype.testPauseOnException):
11769 (.TestSuite.prototype.testPauseWhenLoadingDevTools):
11770 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
11771 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
11772 (.TestSuite.prototype.testPauseWhenScriptIsRunning):
11773 (.TestSuite.prototype.optionsToString_):
11774 (.TestSuite.prototype.evaluateInConsole_):
11775 (.TestSuite.prototype.waitForSetBreakpointResponse_):
11776 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
11777 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
11778 (.TestSuite.prototype.testCompletionOnPause):
11779 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
11780 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
11781 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
11782 (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
11783 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
11784 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
11785 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
11786 (.TestSuite.prototype._checkExecutionLine):
11787 (.TestSuite.prototype._scriptsAreParsed):
11788 (.TestSuite.prototype._waitForScriptPause):
11789 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
11790 (.TestSuite.prototype._checkSourceFrameWhenLoaded):
11791 (.TestSuite.prototype._performSteps.doNextAction):
11792 (.TestSuite.prototype._performSteps):
11793 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
11794 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
11795 (.TestSuite.prototype._waitUntilScriptsAreParsed):
11796 (.TestSuite.prototype._executeFunctionForStepTest):
11797 (.TestSuite.prototype.testStepOver):
11798 (.TestSuite.prototype.testStepOut):
11799 (.TestSuite.prototype.testStepIn):
11800 (.TestSuite.prototype._evaluateXpath):
11801 (.TestSuite.prototype._findNode):
11802 (.TestSuite.prototype._findText):
11803 (.TestSuite.prototype._nodeIterator):
11804 (.TestSuite.prototype._checkScopeSectionDiv):
11805 (.TestSuite.prototype._expandScopeSections.updateListener):
11806 (.TestSuite.prototype._expandScopeSections):
11807 (.TestSuite.prototype.testExpandScope):
11808 (.TestSuite.prototype.testExpandScope.examineScopes):
11809 (.TestSuite.prototype._findChildProperty):
11810 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
11811 (.TestSuite.prototype._hookGetPropertiesCallback.try):
11812 (.TestSuite.prototype._hookGetPropertiesCallback):
11813 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
11814 (.TestSuite.prototype.testDebugIntrinsicProperties):
11815 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
11816 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
11817 (.TestSuite.createKeyEvent):
11818 (.TestSuite.prototype.testConsoleLog.assertNext):
11819 (.TestSuite.prototype.testConsoleLog):
11820 (.TestSuite.prototype.testEvalGlobal.initEval):
11821 (.TestSuite.prototype.testEvalGlobal):
11822 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
11823 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
11824 (.uiTests.runAllTests):
11825 (.uiTests.runTest):
11827 2010-02-09 Avi Drissman <avi@chromium.org>
11829 Reviewed by David Levin.
11831 Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy
11832 https://bugs.webkit.org/show_bug.cgi?id=34615
11834 * src/WebViewImpl.cpp:
11835 (WebKit::WebViewImpl::keyEventDefault):
11837 2010-02-08 Evan Martin <evan@chromium.org>
11839 dlopen() knows how to search the library search path, so just rely on
11840 it. While I'm at it, print out the dlerror() error message on failure.
11842 [chromium] webgl shouldn't hard code library search path
11843 https://bugs.webkit.org/show_bug.cgi?id=34659
11845 * src/GraphicsContext3D.cpp:
11846 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
11847 (WebCore::GraphicsContext3DInternal::GLConnection::create):
11849 2010-02-08 Charlie Reis <creis@chromium.org>
11851 Reviewed by Darin Adler.
11853 onbeforeunload not called at window close + frame or iframe focused
11854 https://bugs.webkit.org/show_bug.cgi?id=27481
11855 http://code.google.com/p/chromium/issues/detail?id=32615
11856 http://code.google.com/p/chromium/issues/detail?id=17157
11858 Chromium and WebKit on Windows will now fire beforeunload handlers
11859 even if an inner frame is focused.
11861 Layout tests aren't able to test this bug, since it requires closing
11862 the actual browser window, not calling window.close(). Instead,
11863 test with WebCore/manual-tests/onbeforeunload-focused-iframe.html.
11865 * src/WebViewImpl.cpp:
11866 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
11868 2010-02-08 Pavel Feldman <pfeldman@chromium.org>
11870 Reviewed by David Levin.
11872 WebKit/chromium: Custom context menu does not work in inspector.
11873 https://bugs.webkit.org/show_bug.cgi?id=34711
11875 * src/WebDevToolsFrontendImpl.cpp:
11876 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
11878 2010-02-08 Nate Chapin <japhet@chromium.org>
11880 Reviewed by Darin Fisher.
11882 Check that the index passed into BackForwardListClientImpl::itemAtIndex()
11883 is valid, and return null if it isn't.
11885 https://bugs.webkit.org/show_bug.cgi?id=34722
11887 * src/BackForwardListClientImpl.cpp:
11888 (WebKit::BackForwardListClientImpl::itemAtIndex):
11890 2010-02-05 Dumitru Daniliuc <dumi@chromium.org>
11892 Reviewed by Jeremy Orlow.
11894 Adding a way to close all database handles pointing to a certain
11895 database as soon as possible.
11896 https://bugs.webkit.org/show_bug.cgi?id=34619
11898 * public/WebDatabase.h:
11899 * src/WebDatabase.cpp:
11900 (WebKit::WebDatabase::closeDatabaseImmediately):
11902 2010-02-08 Dirk Schulze <krit@webkit.org>
11904 Reviewed by Nikolas Zimmermann.
11906 Add back an AffineTransform class for use by SVG
11907 https://bugs.webkit.org/show_bug.cgi?id=33750
11909 Use AffineTransform instead of TransformationMatrix here.
11911 * tests/TransparencyWinTest.cpp:
11914 2010-02-07 Jian Li <jianli@chromium.org>
11916 Reviewed by Darin Fisher.
11918 [chromium] Change chromium interface to handle DownloadURL format.
11919 https://bugs.webkit.org/show_bug.cgi?id=34655
11921 * public/WebDragData.h:
11922 * src/WebDragData.cpp:
11923 (WebKit::WebDragData::downloadMetadata):
11924 (WebKit::WebDragData::setDownloadMetadata):
11926 2010-02-06 Dimitri Glazkov <dglazkov@chromium.org>
11928 No review, rolling out r54364.
11929 http://trac.webkit.org/changeset/54364
11930 https://bugs.webkit.org/show_bug.cgi?id=34464
11932 Introduced asserts in layout tests, needs more testing
11935 * public/WebViewClient.h:
11936 * src/ChromeClientImpl.cpp:
11937 * src/ChromeClientImpl.h:
11939 2010-02-05 James Hawkins <jhawkins@chromium.org>
11941 Reviewed by David Levin.
11943 [Chromium] Rename autocomplete* to suggestions* to prepare for the
11944 refactoring of AutocompletePopupMenuClient.
11946 https://bugs.webkit.org/show_bug.cgi?id=34664
11948 * public/WebView.h:
11949 * src/AutocompletePopupMenuClient.cpp:
11950 (WebKit::AutocompletePopupMenuClient::popupDidHide):
11951 * src/EditorClientImpl.cpp:
11952 (WebKit::EditorClientImpl::textFieldDidEndEditing):
11953 (WebKit::EditorClientImpl::doAutofill):
11954 * src/WebViewImpl.cpp:
11956 (WebKit::WebViewImpl::WebViewImpl):
11957 (WebKit::WebViewImpl::mouseDown):
11958 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
11959 (WebKit::WebViewImpl::setFocus):
11960 (WebKit::WebViewImpl::applyAutofillSuggestions):
11961 (WebKit::WebViewImpl::hideAutofillPopup):
11962 (WebKit::WebViewImpl::hideSuggestionsPopup):
11963 (WebKit::WebViewImpl::refreshSuggestionsPopup):
11964 * src/WebViewImpl.h:
11965 (WebKit::WebViewImpl::suggestionsPopupDidHide):
11967 2010-02-05 James Hawkins <jhawkins@chromium.org>
11969 Reviewed by David Levin.
11971 [Chromium] Remove an unused forward declaration in WebKitClient.h.
11973 https://bugs.webkit.org/show_bug.cgi?id=34622
11975 * public/WebKitClient.h:
11977 2010-02-05 James Hawkins <jhawkins@chromium.org>
11979 Reviewed by Darin Fisher.
11981 Implement WebInputElement::isActivatedSubmit().
11983 https://bugs.webkit.org/show_bug.cgi?id=34623
11985 * public/WebInputElement.h:
11986 * src/WebInputElement.cpp:
11987 (WebKit::WebInputElement::isActivatedSubmit):
11989 2010-02-05 Nate Chapin <japhet@chromium.org>
11991 Reviewed by Dimitri Glazkov.
11993 Update code for getting a v8::FunctionTemplate.
11995 https://bugs.webkit.org/show_bug.cgi?id=34606
11997 * src/WebDevToolsAgentImpl.cpp:
11998 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
12000 2010-02-05 Mikhail Naganov <mnaganov@chromium.org>
12002 Reviewed by Pavel Feldman.
12004 Enable JAVASCRIPT_DEBUGGER in chromium port.
12006 https://bugs.webkit.org/show_bug.cgi?id=34638
12010 2010-02-04 Yaar Schnitman <yaar@chromium.org>
12012 Reviewed by Darin Fisher.
12014 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin
12015 https://bugs.webkit.org/show_bug.cgi?id=34509
12017 Resubmit: The previous commit (r54333) was rolled back.
12020 * tests/TransparencyWinTest.cpp: Added.
12021 (WebCore::RECTToFloatRect):
12022 (WebCore::drawNativeRect):
12023 (WebCore::getPixelAt):
12024 (WebCore::clearTopLayerAlphaChannel):
12025 (WebCore::clearTopLayerAlphaPixel):
12026 (WebCore::operator<<):
12028 * tests/UniscribeHelperTest.cpp: Added.
12029 (WebCore::UniscribeTest::UniscribeTest):
12030 (WebCore::UniscribeTest::MakeFont):
12031 (WebCore::UniscribeTest::SetUp):
12032 (WebCore::UniscribeTest::TearDown):
12035 2010-02-04 Drew Wilson <atwilson@chromium.org>
12037 Reviewed by David Levin.
12039 WorkerContext.close() does not work in the chromium port
12040 https://bugs.webkit.org/show_bug.cgi?id=34551
12042 Test: Adding new downstream test.
12044 * src/WebWorkerBase.cpp:
12045 (WebKit::WebWorkerBase::workerContextClosedTask):
12046 Now shuts down the worker thread when WorkerContext::close() is invoked.
12048 2010-02-04 Chris Guillory <chris.guillory@google.com>
12050 Reviewed by Darin Fisher.
12052 [Chromium] Add function for AccessibilityObject state change notifications.
12054 https://bugs.webkit.org/show_bug.cgi?id=34464
12056 * public/WebViewClient.h:
12057 (WebKit::WebViewClient::didChangeAccessibilityObjectState):
12058 * src/ChromeClientImpl.cpp:
12059 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
12060 * src/ChromeClientImpl.h:
12062 2010-02-04 Jeremy Moskovich <jeremy@chromium.org>
12064 Reviewed by Darin Fisher.
12066 Update comments to better document the possible values of the
12067 writing direction menu state variables.
12069 * public/WebContextMenuData.h:
12071 2010-02-04 Nate Chapin <japhet@chromium.org>
12073 Reviewed by Dimitri Glazkov.
12075 Remove references to V8Custom.
12077 https://bugs.webkit.org/show_bug.cgi?id=32638
12079 * src/DebuggerAgentImpl.cpp:
12080 * src/WebDevToolsFrontendImpl.cpp:
12082 2010-02-04 Yury Semikhatsky <yurys@chromium.org>
12084 Unreviewed. Revert 54333 which broke Chromium build.
12087 * tests/TransparencyWinTest.cpp: Removed.
12088 * tests/UniscribeHelperTest.cpp: Removed.
12090 2010-02-04 Yaar Schnitman <yaar@chromium.org>
12092 Reviewed by Darin Fisher.
12094 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
12095 https://bugs.webkit.org/show_bug.cgi?id=34509
12098 * tests/TransparencyWinTest.cpp: Added.
12099 (WebCore::RECTToFloatRect):
12100 (WebCore::drawNativeRect):
12101 (WebCore::getPixelAt):
12102 (WebCore::clearTopLayerAlphaChannel):
12103 (WebCore::clearTopLayerAlphaPixel):
12104 (WebCore::operator<<):
12106 * tests/UniscribeHelperTest.cpp: Added.
12107 (WebCore::UniscribeTest::UniscribeTest):
12108 (WebCore::UniscribeTest::MakeFont):
12109 (WebCore::UniscribeTest::SetUp):
12110 (WebCore::UniscribeTest::TearDown):
12113 2010-02-04 Jeremy Moskovich <jeremy@chromium.org>
12115 Reviewed by David Levin.
12117 [Chromium] WebKit side of "Writing direction" context menu on OS X.
12118 https://bugs.webkit.org/show_bug.cgi?id=34524
12120 * public/WebContextMenuData.h:
12121 (WebKit::WebContextMenuData::):
12122 * src/ContextMenuClientImpl.cpp:
12123 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
12125 2010-02-03 Drew Wilson <atwilson@chromium.org>
12127 Reviewed by Alexey Proskuryakov.
12129 SharedWorkerScriptLoader should not be an ActiveDOMObject
12130 https://bugs.webkit.org/show_bug.cgi?id=34513
12132 * src/SharedWorkerRepository.cpp:
12133 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
12134 Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
12135 (WebCore::SharedWorkerScriptLoader::parentContext):
12136 (WebCore::pendingLoaders):
12137 Now we manually track pending loads so we can shut them down when the parent context shuts down.
12138 (WebCore::SharedWorkerScriptLoader::contextDetached):
12139 Shuts down/frees any pending worker loads.
12140 (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
12141 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).
12142 (WebCore::SharedWorkerScriptLoader::load):
12143 (WebCore::SharedWorkerRepository::documentDetached):
12144 Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
12146 2010-02-03 Alexander Pavlov <apavlov@chromium.org>
12148 Reviewed by Timothy Hatcher.
12150 [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
12151 https://bugs.webkit.org/show_bug.cgi?id=34523
12153 * src/WebDevToolsFrontendImpl.cpp:
12154 (WebKit::WebDevToolsFrontendImpl::jsPlatform):
12156 2010-02-02 Joel Stanley <joel@jms.id.au>
12158 Reviewed by David Levin.
12160 [Chromium] Add API method for setting caret blink frequency.
12161 https://bugs.webkit.org/show_bug.cgi?id=31704
12163 This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
12164 to be called Chromium's API. The API is linux-only as it is currently
12165 the only port to implement RenderTheme::setCaretBlinkInterval.
12167 * WebKit.gyp: Add WebRenderTheme.{h,cpp}
12168 * public/linux/WebRenderTheme.h: Added.
12169 * src/linux/WebRenderTheme.cpp: Added.
12170 (WebKit::setCaretBlinkInterval): Exposed API
12172 2010-02-02 Shinichiro Hamaji <hamaji@chromium.org>
12174 Reviewed by Dimitri Glazkov.
12176 [Chromium] Implement WebFrameImpl::pageNumberForElementById
12177 https://bugs.webkit.org/show_bug.cgi?id=34471
12179 * public/WebFrame.h:
12180 * src/WebFrameImpl.cpp:
12181 (WebKit::WebFrameImpl::pageNumberForElementById):
12182 * src/WebFrameImpl.h:
12184 2010-02-02 Yury Semikhatsky <yurys@chromium.org>
12186 Reviewed by Pavel Feldman.
12188 Upstream DevTools code.
12190 https://bugs.webkit.org/show_bug.cgi?id=34326
12193 * src/APUAgentDelegate.h: Added.
12194 * src/BoundObject.cpp: Added.
12195 (WebKit::BoundObject::BoundObject):
12196 (WebKit::BoundObject::~BoundObject):
12197 (WebKit::BoundObject::addProtoFunction):
12198 (WebKit::BoundObject::build):
12199 * src/BoundObject.h: Added.
12200 * src/DebuggerAgent.h: Added.
12201 * src/DebuggerAgentImpl.cpp: Added.
12202 (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
12203 (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl):
12204 (WebKit::DebuggerAgentImpl::getContextId):
12205 (WebKit::DebuggerAgentImpl::debuggerOutput):
12206 (WebKit::DebuggerAgentImpl::createUtilityContext):
12207 (WebKit::DebuggerAgentImpl::executeUtilityFunction):
12208 (WebKit::DebuggerAgentImpl::executeVoidJavaScript):
12209 (WebKit::DebuggerAgentImpl::page):
12210 * src/DebuggerAgentImpl.h: Added.
12211 (WebKit::DebuggerAgentImpl::setAutoContinueOnException):
12212 (WebKit::DebuggerAgentImpl::autoContinueOnException):
12213 (WebKit::DebuggerAgentImpl::webdevtoolsAgent):
12214 (WebKit::DebuggerAgentImpl::webView):
12215 * src/DebuggerAgentManager.cpp: Added.
12216 (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
12217 (WebKit::DebuggerAgentManager::debugAttach):
12218 (WebKit::DebuggerAgentManager::debugDetach):
12219 (WebKit::DebuggerAgentManager::onV8DebugMessage):
12220 (WebKit::DebuggerAgentManager::pauseScript):
12221 (WebKit::DebuggerAgentManager::executeDebuggerCommand):
12222 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
12223 (WebKit::DebuggerAgentManager::setHostId):
12224 (WebKit::DebuggerAgentManager::onWebViewClosed):
12225 (WebKit::DebuggerAgentManager::onNavigate):
12226 (WebKit::DebuggerAgentManager::sendCommandToV8):
12227 (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
12228 (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context):
12229 (WebKit::DebuggerAgentManager::debuggerAgentForHostId):
12230 * src/DebuggerAgentManager.h: Added.
12231 (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope):
12232 (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope):
12233 * src/DevToolsRPC.h: Added.
12235 (WebKit::DevToolsRPC::Delegate::Delegate):
12236 (WebKit::DevToolsRPC::Delegate::~Delegate):
12237 (WebKit::DevToolsRPC::DevToolsRPC):
12238 (WebKit::DevToolsRPC::~DevToolsRPC):
12239 (WebKit::DevToolsRPC::sendRpcMessage):
12240 * src/DevToolsRPCJS.h: Added.
12241 * src/ProfilerAgent.h: Added.
12242 * src/ProfilerAgentImpl.cpp: Added.
12243 (WebKit::ProfilerAgentImpl::getActiveProfilerModules):
12244 (WebKit::ProfilerAgentImpl::getLogLines):
12245 * src/ProfilerAgentImpl.h: Added.
12246 (WebKit::ProfilerAgentImpl::ProfilerAgentImpl):
12247 (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl):
12248 * src/ToolsAgent.h: Added.
12249 * src/WebDevToolsAgentImpl.cpp: Added.
12251 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
12252 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
12253 (WebKit::WebDevToolsAgentImpl::disposeUtilityContext):
12254 (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary):
12255 (WebKit::WebDevToolsAgentImpl::attach):
12256 (WebKit::WebDevToolsAgentImpl::detach):
12257 (WebKit::WebDevToolsAgentImpl::didNavigate):
12258 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
12259 (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
12260 (WebKit::WebDevToolsAgentImpl::forceRepaint):
12261 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
12262 (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
12263 (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript):
12264 (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend):
12265 (WebKit::WebDevToolsAgentImpl::inspectElementAt):
12266 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
12267 (WebKit::WebDevToolsAgentImpl::sendRpcMessage):
12268 (WebKit::WebDevToolsAgentImpl::compileUtilityScripts):
12269 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
12270 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
12271 (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
12272 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
12273 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
12274 (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
12275 (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
12276 (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
12277 (WebKit::WebDevToolsAgentImpl::inspectorController):
12278 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
12279 (WebKit::WebDevToolsAgentImpl::willSendRequest):
12280 (WebKit::WebDevToolsAgentImpl::didReceiveData):
12281 (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
12282 (WebKit::WebDevToolsAgentImpl::didFinishLoading):
12283 (WebKit::WebDevToolsAgentImpl::didFailLoading):
12284 (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector):
12285 (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled):
12286 (WebKit::WebDevToolsAgent::create):
12287 (WebKit::WebDevToolsAgent::executeDebuggerCommand):
12288 (WebKit::WebDevToolsAgent::debuggerPauseScript):
12289 (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler):
12290 (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
12291 * src/WebDevToolsAgentImpl.h: Added.
12292 (WebKit::WebDevToolsAgentImpl::hostId):
12293 * src/WebDevToolsFrontendImpl.cpp: Added.
12294 (WebKit::ToV8String):
12295 (WebKit::WebDevToolsFrontend::create):
12296 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
12297 (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
12298 (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent):
12299 (WebKit::WebDevToolsFrontendImpl::executeScript):
12300 (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector):
12301 (WebKit::WebDevToolsFrontendImpl::sendRpcMessage):
12302 (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected):
12303 (WebKit::WebDevToolsFrontendImpl::contextMenuCleared):
12304 (WebKit::WebDevToolsFrontendImpl::jsLoaded):
12305 (WebKit::WebDevToolsFrontendImpl::jsPlatform):
12306 (WebKit::WebDevToolsFrontendImpl::jsPort):
12307 (WebKit::WebDevToolsFrontendImpl::jsCopyText):
12308 (WebKit::WebDevToolsFrontendImpl::jsActivateWindow):
12309 (WebKit::WebDevToolsFrontendImpl::jsCloseWindow):
12310 (WebKit::WebDevToolsFrontendImpl::jsDockWindow):
12311 (WebKit::WebDevToolsFrontendImpl::jsUndockWindow):
12312 (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL):
12313 (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels):
12314 (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand):
12315 (WebKit::WebDevToolsFrontendImpl::jsSetting):
12316 (WebKit::WebDevToolsFrontendImpl::jsSetSetting):
12317 (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript):
12318 (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading):
12319 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
12320 * src/WebDevToolsFrontendImpl.h: Added.
12321 (WebKit::WebDevToolsFrontendImpl::MenuProvider::create):
12322 (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider):
12323 (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect):
12324 (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu):
12325 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected):
12326 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared):
12327 (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider):
12329 2010-02-01 Jeremy Orlow <jorlow@chromium.org>
12331 Reviewed by Darin Fisher.
12333 [Chromium] Add WebSecurityOrigin::createFromString factory
12334 https://bugs.webkit.org/show_bug.cgi?id=34460
12336 * public/WebSecurityOrigin.h:
12337 * src/WebSecurityOrigin.cpp:
12338 (WebKit::WebSecurityOrigin::createFromString):
12340 2010-02-02 Kent Tamura <tkent@chromium.org>
12342 Reviewed by Darin Fisher.
12344 [Chromium] Should not select a word on right-click.
12345 https://bugs.webkit.org/show_bug.cgi?id=33364
12347 For non-Mac platforms, do not select a word around the caret when
12348 a context menu is opening. This behavior is not common in non-Mac
12349 platforms, and it prevents pasting with a context menu.
12351 In order that the spell checker works without the selection, we
12352 introduce WebFrame::selectWordAroundCaret(). We can replace a word
12353 around the caret with selectWordAroundCaret() + replaceSelection().
12355 * public/WebFrame.h: Add pure selectWordAroundCaret() declaration.
12356 * src/ContextMenuClientImpl.cpp:
12357 (WebKit::selectMisspelledWord): Move word-selection code to
12358 WebFrameImpl::selectWordAroundPosition(), and clear the selection
12360 * src/WebFrameImpl.cpp:
12361 (WebKit::WebFrameImpl::selectWordAroundPosition):
12362 (WebKit::WebFrameImpl::selectWordAroundCaret):
12363 * src/WebFrameImpl.h: Add selectWordAroundCaret() declaration.
12365 2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>
12367 Unreviewed attempt to fix the broken build.
12369 This was introduced in http://trac.webkit.org/changeset/54182
12371 * src/WebViewImpl.cpp:
12372 (WebKit::WebViewImpl::performMediaPlayerAction):
12374 2010-01-27 Matt Perry <mpcomplete@chromium.org>
12376 Reviewed by Eric Seidel.
12378 Add support for addUserScript to chromium port.
12380 * public/WebView.h:
12381 * src/WebViewImpl.cpp:
12382 (WebKit::WebViewImpl::addUserScript):
12383 (WebKit::WebViewImpl::removeAllUserContent):
12384 * src/WebViewImpl.h:
12386 2010-01-29 Philippe Normand <pnormand@igalia.com>
12388 Reviewed by Eric Carlson.
12390 [GTK] set playbin mute property depending on volume value
12391 https://bugs.webkit.org/show_bug.cgi?id=31586
12393 New API in MediaPlayer for mute control
12395 * public/WebMediaPlayerClient.h:
12396 * src/WebMediaPlayerClientImpl.cpp:
12397 (WebKit::WebMediaPlayerClientImpl::volumeChanged):
12398 (WebKit::WebMediaPlayerClientImpl::muteChanged):
12399 * src/WebMediaPlayerClientImpl.h:
12401 2010-01-31 Kent Tamura <tkent@chromium.org>
12403 Reviewed by Jeremy Orlow.
12405 [Chromium] Fix a bug that a selected word is not recognized as a
12406 spell-check source.
12407 https://bugs.webkit.org/show_bug.cgi?id=33660
12409 * src/ContextMenuClientImpl.cpp:
12410 (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check
12411 the return value of textBreakNext().
12413 2010-01-29 Jeremy Orlow <jorlow@chromium.org>
12415 Reviewed by Eric Seidel.
12417 [Chromium] Clean up WebStorageArea
12418 https://bugs.webkit.org/show_bug.cgi?id=34353
12420 Get rid of legacy glue code and fix a typo.
12422 * public/WebStorageArea.h:
12424 2010-01-29 Jeremy Orlow <jorlow@chromium.org>
12426 Reviewed by Dimitri Glazkov.
12428 A first step towards the Indexed Database API
12429 https://bugs.webkit.org/show_bug.cgi?id=34342
12431 Add runtime enable support for Indexed Database API.
12434 * public/WebRuntimeFeatures.h:
12435 * src/WebRuntimeFeatures.cpp:
12436 (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
12437 (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
12439 2010-01-29 Yury Semikhatsky <yurys@chromium.org>
12441 Reviewed by Pavel Feldman.
12443 Add API methods for loading inspector utility scripts.
12445 https://bugs.webkit.org/show_bug.cgi?id=34326
12447 * public/WebDevToolsAgentClient.h:
12448 (WebKit::WebDevToolsAgentClient::injectedScriptSource):
12449 (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource):
12451 2010-01-29 Darin Fisher <darin@chromium.org>
12453 Reviewed by Adam Barth.
12455 Add FrameLoaderClient::allowImages method to allow the client to
12456 overrule image loading policy on a per frame basis.
12458 https://bugs.webkit.org/show_bug.cgi?id=34225
12460 * public/WebFrameClient.h:
12461 (WebKit::WebFrameClient::allowImages):
12462 * public/WebSettings.h:
12463 * src/FrameLoaderClientImpl.cpp:
12464 (WebKit::FrameLoaderClientImpl::allowImages):
12465 * src/FrameLoaderClientImpl.h:
12466 * src/WebSettingsImpl.cpp:
12467 (WebKit::WebSettingsImpl::setImagesEnabled):
12468 * src/WebSettingsImpl.h:
12470 2010-01-28 Jeremy Orlow <jorlow@chromium.org>
12472 Reviewed by Darin Fisher.
12474 StorageNamespaceProxy::copy() should be a no-op
12475 https://bugs.webkit.org/show_bug.cgi?id=34298
12477 The comment in the code should make clear why.
12479 * public/WebViewClient.h:
12480 * src/StorageNamespaceProxy.cpp:
12481 (WebCore::StorageNamespaceProxy::copy):
12483 2010-01-28 Michael Nordman <michaeln@google.com>
12485 Reviewed by Alexey Proskuryakov.
12487 ApplicationCache events should be deferred until after Document onload has fired.
12488 https://bugs.webkit.org/show_bug.cgi?id=29690
12490 * src/ApplicationCacheHost.cpp:
12491 (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
12492 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
12493 (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
12495 2010-01-27 Aaron Boodman <aa@chromium.org>
12497 Reviewed by Darin Adler.
12499 Send full URL and application id of requesting context to Chromium
12500 when checking notification permissions.
12502 https://bugs.webkit.org/show_bug.cgi?id=34238
12504 * public/WebDocument.h:
12505 * src/WebDocument.cpp:
12506 (WebKit::WebDocument::applicationID):
12507 Implement applicationID() method.
12509 * public/WebNotificationPresenter.h:
12510 * src/NotificationPresenterImpl.cpp:
12511 (WebKit::NotificationPresenterImpl::checkPermission):
12512 * src/NotificationPresenterImpl.h:
12513 Send applicationID and full URL through to Chromium.
12515 2010-01-27 Darin Fisher <darin@chromium.org>
12517 Reviewed by Pavel Feldman.
12519 Expose HistoryItem::documentSequenceNumber
12520 https://bugs.webkit.org/show_bug.cgi?id=34243
12522 * public/WebHistoryItem.h:
12523 * src/WebHistoryItem.cpp:
12524 (WebKit::WebHistoryItem::documentSequenceNumber):
12525 (WebKit::WebHistoryItem::setDocumentSequenceNumber):
12527 2010-01-26 Darin Fisher <darin@chromium.org>
12529 Reviewed by David Levin.
12531 Add methods to support running a nested modal loop outside of WebKit.
12532 https://bugs.webkit.org/show_bug.cgi?id=34199
12534 * public/WebView.h:
12535 * src/WebViewImpl.cpp:
12536 (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer
12537 (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer
12539 2010-01-27 Darin Fisher <darin@chromium.org>
12541 Reviewed by Dimitri Glazkov.
12543 Adding missing WebMutationEvent.cpp file to fix build bustage.
12544 https://bugs.webkit.org/show_bug.cgi?id=33882
12546 * public/WebMutationEvent.h: Remove unnecessary constructor.
12547 * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h.
12548 * src/WebMutationEvent.cpp: Added.
12550 2010-01-27 Jay Campan <jcampan@google.com>
12552 Reviewed by Darin Fisher.
12554 Adding EventListeners to the chromium API.
12556 https://bugs.webkit.org/show_bug.cgi?id=33882
12559 * public/WebEvent.h: Added.
12560 * public/WebEventListener.h: Added.
12561 * public/WebMutationEvent.h: Added.
12562 * public/WebNode.h:
12563 * public/WebString.h:
12564 (WebKit::operator==):
12565 (WebKit::operator!=):
12566 * src/EventListenerWrapper.cpp: Added.
12567 * src/EventListenerWrapper.h: Added.
12568 * src/WebEvent.cpp: Added.
12569 * src/WebEventListener.cpp: Added.
12570 * src/WebEventListenerPrivate.cpp: Added.
12571 * src/WebEventListenerPrivate.h: Added.
12573 (WebKit::WebNode::addEventListener):
12574 (WebKit::WebNode::removeEventListener):
12575 * src/WebString.cpp:
12576 (WebKit::WebString::equals):
12578 2010-01-26 Yaar Schnitman <yaar@chromium.org>
12580 Reviewed by Darin Fisher.
12582 Add KeyboardTest to WebKit API tests
12583 https://bugs.webkit.org/show_bug.cgi?id=34178
12586 * tests/KeyboardTest.cpp: Added.
12588 2010-01-22 Jeremy Orlow <jorlow@chromium.org>
12590 Reviewed by Darin Adler.
12592 Make storage events match the spec.
12593 https://bugs.webkit.org/show_bug.cgi?id=30546
12595 Update the storageEvent algorithm to match the change in WebCore.
12597 * src/StorageAreaProxy.cpp:
12598 (WebCore::StorageAreaProxy::storageEvent):
12600 2010-01-22 Elliot Glaysher <erg@chromium.org>
12602 Reviewed by David Levin.
12604 Chromium: theme selection colors to match gtk theme
12605 Add functions to RenderThemeChromiumLinux to change the selection color
12606 according to the current GTK+ theme.
12608 Since the change is to the Chromium WebKit API layer, testing is done
12609 in Chromium's test shell (see Chromium side of this patch:
12610 http://codereview.chromium.org/554004)
12612 https://bugs.webkit.org/show_bug.cgi?id=33921
12614 * public/WebView.h: Adds interface to change the selection colors
12615 * src/WebViewImpl.cpp:
12616 (WebKit::WebViewImpl::setSelectionColors): Implements new interface.
12617 * src/WebViewImpl.h:
12619 2010-01-22 Steve VanDeBogart <vandebo@chromium.org>
12621 Reviewed by David Levin.
12623 Middle clicking the main scroll bars should not trigger a paste event
12625 https://bugs.webkit.org/show_bug.cgi?id=33062
12627 * src/WebViewImpl.cpp:
12628 (WebKit::WebViewImpl::mouseUp):
12630 2010-01-22 Albert J. Wong <ajwong@chromium.org>
12632 Not reviewed. backout.
12635 Causes ui_tests to timeout, and browser_tests to fail with
12636 TestConnectToBadPort and WindowOpenInvalidExtension.
12638 * src/FrameLoaderClientImpl.cpp:
12639 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
12640 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
12641 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
12642 * src/WebViewImpl.cpp:
12643 (WebKit::WebViewImpl::WebViewImpl):
12644 * src/WebViewImpl.h:
12646 2010-01-22 Peter Kasting <pkasting@google.com>
12648 Not reviewed, backout.
12650 Back out r52673, which caused several regressions.
12651 https://bugs.webkit.org/show_bug.cgi?id=32533
12653 * src/AutocompletePopupMenuClient.cpp:
12654 (WebKit::AutocompletePopupMenuClient::initialize):
12655 (WebKit::AutocompletePopupMenuClient::popupDidHide):
12656 (WebKit::AutocompletePopupMenuClient::setTextFromItem):
12657 * src/AutocompletePopupMenuClient.h:
12659 2010-01-21 Jeremy Orlow <jorlow@chromium.org>
12661 Reviewed by Darin Fisher.
12663 The Chromium WebKit API needs to expose storage event related data
12664 https://bugs.webkit.org/show_bug.cgi?id=33985
12666 setItem and removeItem on WebStorageArea need to expose what the previous
12667 value was for the key being modified. Clear needs to return whether it
12668 actually cleared anything.
12670 * public/WebStorageArea.h:
12671 (WebKit::WebStorageArea::setItem):
12672 (WebKit::WebStorageArea::removeItem):
12673 (WebKit::WebStorageArea::clear):
12674 * src/StorageAreaProxy.cpp:
12675 (WebCore::StorageAreaProxy::StorageAreaProxy):
12676 (WebCore::StorageAreaProxy::setItem):
12677 (WebCore::StorageAreaProxy::removeItem):
12678 (WebCore::StorageAreaProxy::clear):
12679 (WebCore::StorageAreaProxy::storageEvent):
12680 * src/StorageAreaProxy.h:
12681 * src/StorageNamespaceProxy.cpp:
12682 (WebCore::StorageNamespace::localStorageNamespace):
12683 (WebCore::StorageNamespace::sessionStorageNamespace):
12684 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
12685 (WebCore::StorageNamespaceProxy::copy):
12686 (WebCore::StorageNamespaceProxy::storageArea):
12687 * src/StorageNamespaceProxy.h:
12688 * src/WebStorageAreaImpl.cpp:
12689 (WebKit::WebStorageAreaImpl::setItem):
12690 (WebKit::WebStorageAreaImpl::removeItem):
12691 (WebKit::WebStorageAreaImpl::clear):
12692 * src/WebStorageAreaImpl.h:
12694 2010-01-21 Darin Fisher <darin@chromium.org>
12696 Reviewed by David Levin.
12698 [Chromium] spurious WebViewClient::didStopLoading if changing
12699 location.hash while a subframe is still loading
12701 https://bugs.webkit.org/show_bug.cgi?id=33884
12703 This is a refinement of http://trac.webkit.org/changeset/51548
12705 * src/FrameLoaderClientImpl.cpp:
12706 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
12707 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
12708 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
12709 * src/WebViewImpl.cpp:
12710 (WebKit::WebViewImpl::WebViewImpl):
12711 (WebKit::WebViewImpl::didStartLoading):
12712 (WebKit::WebViewImpl::didStopLoading):
12713 * src/WebViewImpl.h:
12715 2010-01-21 Adam Barth <abarth@webkit.org>
12717 Unreviewed. Added a blank line requested by the great an powerful
12720 * public/WebFrameClient.h:
12722 2010-01-21 Adam Barth <abarth@webkit.org>
12724 Reviewed by Eric Seidel.
12726 [chromium] Add allowPlugins callback to allow per-site enabling of plugins
12727 https://bugs.webkit.org/show_bug.cgi?id=33974
12729 Forward the new allowPlugins callback to WebKitClient so that it can
12730 make the policy decision.
12732 * public/WebFrameClient.h:
12733 (WebKit::WebFrameClient::allowPlugins):
12734 * src/FrameLoaderClientImpl.cpp:
12735 (WebKit::FrameLoaderClientImpl::allowJavaScript):
12736 (WebKit::FrameLoaderClientImpl::allowPlugins):
12737 * src/FrameLoaderClientImpl.h:
12739 2010-01-21 James Robinson <jamesr@chromium.org>
12741 Reviewed by Darin Fisher.
12743 Bumps the refcount when WebNode::toElement/toConstElement are called.
12744 https://bugs.webkit.org/show_bug.cgi?id=33977
12746 Ensures that when a wrapper around a WebNode is create via the
12747 toElement() or toConstElement() calls that the refcount on the WebNode
12748 is increased, by forcing a call to WebNode::assign(). This is needed
12749 so that the following code:
12751 WebNode n = someNode();
12752 WebElement e = n.toElement<WebElement>();
12754 does not decrease the overall refcount on the Node that someNode()
12757 This caused crashes in the 'Save page as..' feature.
12759 * public/WebNode.h:
12760 (WebKit::WebNode::toElement):
12761 (WebKit::WebNode::toConstElement):
12763 2010-01-21 Michael Nordman <michaeln@google.com>
12765 Reviewed by Darin Fisher.
12767 Adds WebKit::WebDataSource::applicationCacheHost() to the API.
12768 https://bugs.webkit.org/show_bug.cgi?id=33880
12771 * public/WebDataSource.h:
12772 * src/ApplicationCacheHost.cpp:
12773 * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp.
12774 (WebCore::ApplicationCacheHostInternal::notifyEventListener):
12775 (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
12776 * src/WebDataSourceImpl.cpp:
12777 (WebKit::WebDataSourceImpl::applicationCacheHost):
12778 * src/WebDataSourceImpl.h:
12780 2010-01-21 Eric Uhrhane <ericu@chromium.org>
12782 Reviewed by Dmitry Titov.
12784 Add changes missing from r53595, without which Chromium has no database.
12786 https://bugs.webkit.org/show_bug.cgi?id=33966
12788 No new tests - fixes database layout tests in Chromium.
12790 * src/WebRuntimeFeatures.cpp:
12791 (WebKit::WebRuntimeFeatures::enableDatabase):
12792 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
12794 2010-01-21 Kenneth Russell <kbr@google.com>
12796 Reviewed by Oliver Hunt.
12798 [Chromium] Implement texSubImage2D taking WebGLArray
12799 https://bugs.webkit.org/show_bug.cgi?id=33932
12801 * src/GraphicsContext3D.cpp:
12802 (WebCore::GraphicsContext3D::texSubImage2D):
12804 2010-01-20 Vitaly Repeshko <vitalyr@chromium.org>
12806 Reviewed by Pavel Feldman.
12808 [V8] Support SerializedScriptValue.
12809 https://bugs.webkit.org/show_bug.cgi?id=32920
12810 http://crbug.com/30620
12812 Updated uses of SerializedScriptValue:
12813 * src/PlatformMessagePortChannel.cpp:
12814 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
12815 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
12816 * src/WebWorkerBase.cpp:
12817 (WebKit::WebWorkerBase::postMessageToWorkerObject):
12818 * src/WebWorkerClientImpl.cpp:
12819 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
12820 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
12821 * src/WebWorkerImpl.cpp:
12822 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
12824 2010-01-20 Shinichiro Hamaji <hamaji@chromium.org>
12826 Reviewed by Darin Fisher.
12828 [Chromium] computePageRectsForFrame seems to be unnecessary
12829 https://bugs.webkit.org/show_bug.cgi?id=33881
12831 * src/WebFrameImpl.cpp: Stop including FrameChromium.h
12833 2010-01-19 Jon Honeycutt <jhoneycutt@apple.com>
12835 Chromium build fix.
12837 * public/WebAccessibilityRole.h:
12839 Correct enum names.
12841 * src/LocalizedStrings.cpp:
12842 (WebCore::AXMenuListPopupActionVerb):
12844 (WebCore::AXMenuListActionVerb):
12847 2010-01-19 Jon Honeycutt <jhoneycutt@apple.com>
12849 Chromium build fix.
12851 * public/WebAccessibilityRole.h:
12854 * src/AssertMatchingEnums.cpp:
12856 2010-01-18 Jonathan Dixon <joth@chromium.org>
12858 Reviewed by Adam Barth.
12860 Add support for enabling navigator.geolocation at runtime in the V8 bindings.
12861 Adds the [EnabledAtRuntime] modifier to the navigator IDL.
12862 https://bugs.webkit.org/show_bug.cgi?id=33467
12864 * public/WebRuntimeFeatures.h:
12865 * src/WebRuntimeFeatures.cpp:
12866 (WebKit::WebRuntimeFeatures::enableGeolocation):
12867 (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
12869 2010-01-17 Kent Tamura <tkent@chromium.org>
12871 Reviewed by Shinichiro Hamaji.
12873 [Chromium] Remove an old runFileChooser() method.
12874 https://bugs.webkit.org/show_bug.cgi?id=33778
12876 Chromium code switched to new runFileChooser() introduced by
12877 r53269. The old one is not needed anymore.
12879 * public/WebViewClient.h:
12880 * src/ChromeClientImpl.cpp:
12881 (WebKit::ChromeClientImpl::runOpenPanel):
12883 2010-01-15 Eric Seidel <eric@webkit.org>
12885 No review, rolling out r53344.
12886 http://trac.webkit.org/changeset/53344
12887 https://bugs.webkit.org/show_bug.cgi?id=32920
12889 Broke the Chromium Mac builder.
12891 * src/PlatformMessagePortChannel.cpp:
12892 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
12893 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
12894 * src/WebWorkerBase.cpp:
12895 (WebKit::WebWorkerBase::postMessageToWorkerObject):
12896 * src/WebWorkerClientImpl.cpp:
12897 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
12898 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
12899 * src/WebWorkerImpl.cpp:
12900 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
12902 2010-01-15 Vitaly Repeshko <vitalyr@chromium.org>
12904 Reviewed by David Levin.
12906 [V8] Support SerializedScriptValue.
12907 https://bugs.webkit.org/show_bug.cgi?id=32920
12908 http://crbug.com/30620
12910 Updated uses of SerializedScriptValue:
12911 * src/PlatformMessagePortChannel.cpp:
12912 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
12913 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
12914 * src/WebWorkerBase.cpp:
12915 (WebKit::WebWorkerBase::postMessageToWorkerObject):
12916 * src/WebWorkerClientImpl.cpp:
12917 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
12918 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
12919 * src/WebWorkerImpl.cpp:
12920 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
12922 2010-01-14 Jeremy Orlow <jorlow@chromium.org>
12924 Reviewed by Oliver Hunt.
12926 [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
12927 https://bugs.webkit.org/show_bug.cgi?id=33704
12929 * src/StorageNamespaceProxy.cpp:
12930 (WebCore::StorageNamespace::localStorageNamespace):
12931 (WebCore::StorageNamespace::sessionStorageNamespace):
12933 2010-01-14 Marcus Bulach <bulach@chromium.org>
12935 Reviewed by Dimitri Glazkov.
12937 Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
12938 https://bugs.webkit.org/show_bug.cgi?id=33648
12940 * public/WebSecurityOrigin.h:
12941 * src/WebSecurityOrigin.cpp:
12942 (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
12944 2010-01-14 Brian Weinstein <bweinstein@apple.com>
12946 Reviewed by Adam Roben.
12948 Drag and Drop source/destination code needs cleanup.
12949 <https://bugs.webkit.org/show_bug.cgi?id=33691>.
12951 Update to new way of calling sourceOperation.
12953 * src/DragClientImpl.cpp:
12954 (WebKit::DragClientImpl::startDrag):
12956 2010-01-14 Nate Chapin <japhet@chromium.org>
12958 Reviewed by Dimitri Glazkov.
12960 Remove references to V8DOMWrapper::convertToNative*().
12962 https://bugs.webkit.org/show_bug.cgi?id=33677
12964 * src/WebBindings.cpp:
12965 (WebKit::getDragDataImpl):
12966 (WebKit::getRangeImpl):
12968 2010-01-14 Kent Tamura <tkent@chromium.org>
12970 Reviewed by Darin Fisher.
12972 Introduce WebFileChooserParams to convey parameters for
12973 WebViewClient::runFileChooser(), and add new parameters to it.
12974 https://bugs.webkit.org/show_bug.cgi?id=32473
12976 The new parameters are
12977 - selected file names
12978 - "accept" attribute value
12980 * WebKit.gyp: Add WebFileChooserParams.h
12981 * public/WebFileChooserParams.h: Added.
12982 * public/WebViewClient.h:
12983 (WebKit::WebViewClient::runFileChooser):
12984 Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated.
12985 * src/ChromeClientImpl.cpp:
12986 (WebKit::ChromeClientImpl::runOpenPanel):
12987 Call the new runFileChooser() first, then call the old
12988 runFileChooser() if the new one failed.
12990 2010-01-13 Kenneth Russell <kbr@google.com>
12992 Reviewed by Oliver Hunt.
12994 Need to implement WebGLContextAttributes
12995 https://bugs.webkit.org/show_bug.cgi?id=31169
12997 Added the WebGLContextAttributes class and custom JavaScript
12998 bindings to accept a native object as the second argument to
12999 getContext("experimental-webgl") per the WebGL specification.
13000 Added GraphicsContext3D::Attributes struct to isolate DOM and
13001 graphics layers. Added getContextAttributes() to
13002 WebGLRenderingContext. Added test case ensuring that context
13003 attributes can be passed down and returned. Tested in Safari and
13004 Chromium. The attributes will be hooked up to the creation of the
13005 OpenGL context in bug 33416.
13007 * src/GraphicsContext3D.cpp:
13008 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13009 (WebCore::GraphicsContext3DInternal::getContextAttributes):
13010 (WebCore::GraphicsContext3D::create):
13011 (WebCore::GraphicsContext3D::GraphicsContext3D):
13012 (WebCore::GraphicsContext3D::getContextAttributes):
13014 2010-01-13 Jon Honeycutt <jhoneycutt@apple.com>
13016 MSAA: selected, selectable, extended selectable, and multiple
13017 selectable states are not reported
13019 https://bugs.webkit.org/show_bug.cgi?id=33574
13020 <rdar://problem/7536826>
13022 Reviewed by Darin Adler.
13024 * public/WebAccessibilityObject.h:
13025 Update for WebCore::AccessibilityObject function rename.
13027 * src/WebAccessibilityObject.cpp:
13028 (WebKit::WebAccessibilityObject::isMultiSelectable):
13031 2010-01-13 Jeremy Orlow <jorlow@chromium.org>
13033 Reviewed by Darin Fisher.
13035 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
13036 https://bugs.webkit.org/show_bug.cgi?id=33492
13038 * public/WebKitClient.h:
13039 * public/WebViewClient.h:
13040 (WebKit::WebViewClient::createSessionStorageNamespace):
13041 * src/StorageNamespaceProxy.cpp:
13042 (WebCore::StorageNamespace::sessionStorageNamespace):
13044 2010-01-13 Jeremy Orlow <jorlow@chromium.org>
13046 No reviewer. More or less a build fix. My 53180 broke some
13047 stuff on the Chromium port so I'm reverting.
13049 * public/WebKitClient.h:
13050 * public/WebViewClient.h:
13051 * src/StorageNamespaceProxy.cpp:
13052 (WebCore::StorageNamespace::sessionStorageNamespace):
13054 2010-01-11 Jeremy Orlow <jorlow@chromium.org>
13056 Reviewed by Darin Fisher.
13058 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
13059 https://bugs.webkit.org/show_bug.cgi?id=33492
13061 * public/WebKitClient.h:
13062 * public/WebViewClient.h:
13063 (WebKit::WebViewClient::getSessionStorageNamespace):
13064 * src/StorageNamespaceProxy.cpp:
13065 (WebCore::StorageNamespace::sessionStorageNamespace):
13067 2010-01-11 Darin Fisher <darin@chromium.org>
13069 Reviewed by Dimitri Glazkov.
13071 [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once
13072 https://bugs.webkit.org/show_bug.cgi?id=33504
13075 * tests/KURLTest.cpp:
13076 (ComponentCase::TEST):
13077 * tests/RunAllTests.cpp: Added.
13079 * tests/WebKitTest.h: Removed.
13081 2010-01-09 Adam Barth <abarth@webkit.org>
13083 Reviewed by Darin Adler.
13085 ScriptController::isEnabled needs to be renamed
13086 https://bugs.webkit.org/show_bug.cgi?id=32063
13088 Rename ScriptController::isEnabled to
13089 ScriptController::canExecuteScripts.
13091 * src/WebFrameImpl.cpp:
13092 (WebKit::WebFrameImpl::bindToWindowObject):
13094 2010-01-08 Daniel Bates <dbates@webkit.org>
13096 Reviewed by Adam Barth.
13098 https://bugs.webkit.org/show_bug.cgi?id=33417
13100 Cleans up style errors exposed by the patch for bug #33198.
13102 No functionality was changed. So, no new tests.
13104 * src/GraphicsContext3D.cpp:
13106 2010-01-08 Darin Fisher <darin@chromium.org>
13108 Reviewed by Dimitri Glazkov.
13110 [Chromium] Upstream webkit unit tests from the chromium repository
13111 https://bugs.webkit.org/show_bug.cgi?id=33351
13113 This adds one such test (for KURL) and sets up the test framework.
13115 Switch WebKit to build a static library on all platforms. Add a
13116 webkit_unit_tests executable target that runs the unit tests and also
13117 ensures that we don't have any missing symbols (a function that WebKit
13118 as a shared library used to serve).
13120 Changes chromium_src_dir to ../../WebKit/chromium to match how
13121 WebCore.gyp defines that variable.
13124 * public/WebKitClient.h:
13125 (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon.
13126 (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon.
13127 (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon.
13128 (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon.
13129 (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon.
13130 (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon.
13132 * tests/KURLTest.cpp: Added.
13133 * tests/WebKitTest.h: Added.
13135 2010-01-07 Mike Belshe <mbelshe@chromium.org>
13137 Reviewed by Darin Adler.
13139 Fix Spdy casing to match style guide.
13141 https://bugs.webkit.org/show_bug.cgi?id=33326
13143 * public/WebURLResponse.h:
13144 * src/WebURLResponse.cpp:
13145 (WebKit::WebURLResponse::wasFetchedViaSPDY):
13146 (WebKit::WebURLResponse::setWasFetchedViaSPDY):
13148 2010-01-07 Daniel Bates <dbates@rim.com>
13150 Reviewed by Eric Seidel.
13152 https://bugs.webkit.org/show_bug.cgi?id=32987
13154 Added ENABLE_XHTMLMP flag. Disabled by default.
13158 2010-01-07 Adam Barth <abarth@webkit.org>
13160 No review, rolling out r52847.
13161 http://trac.webkit.org/changeset/52847
13162 https://bugs.webkit.org/show_bug.cgi?id=33232
13164 Might have caused a perf regression.
13166 * src/FrameLoaderClientImpl.cpp:
13167 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
13169 2010-01-06 Mike Belshe <mike@belshe.com>
13171 Add a flag to the ResourceResponse for tracking if a request was
13172 fetched via SPDY. This is plumbed through so that we can inform
13173 a webpage via JavaScript if it was fecthed via the experimental
13176 https://bugs.webkit.org/show_bug.cgi?id=33186
13178 * public/WebURLResponse.h:
13179 * src/WebURLResponse.cpp:
13180 (WebKit::WebURLResponse::wasFetchedViaSpdy):
13181 (WebKit::WebURLResponse::setWasFetchedViaSpdy):
13183 2010-01-06 Darin Fisher <darin@chromium.org>
13185 Fix release build bustage.
13187 * src/WebKit.cpp: Need to include Logging.h
13189 2010-01-05 Darin Fisher <darin@chromium.org>
13191 Reviewed by Adam Barth.
13193 [Chromium] Expose more APIs to eliminate WebCore usage in Chromium.
13194 https://bugs.webkit.org/show_bug.cgi?id=33249
13197 * public/WebFrame.h:
13198 * public/WebGlyphCache.h: Added.
13200 * src/WebFrameImpl.cpp:
13201 (WebKit::WebFrame::instanceCount):
13202 (WebKit::WebFrameImpl::WebFrameImpl):
13203 (WebKit::WebFrameImpl::~WebFrameImpl):
13204 * src/WebFrameImpl.h:
13205 * src/WebGlyphCache.cpp: Added.
13206 (WebKit::WebGlyphCache::pageCount):
13208 (WebKit::enableLogChannel):
13210 2010-01-05 Adam Barth <abarth@webkit.org>
13212 Reviewed by Dimitri Glazkov.
13214 [v8] Move V8DOMWindowShell to ScriptController
13215 https://bugs.webkit.org/show_bug.cgi?id=33232
13217 Update FrameLoaderClientImpl.cpp to call clearForClose on
13218 ScriptController instead of on V8Proxy.
13220 * src/FrameLoaderClientImpl.cpp:
13221 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
13223 2010-01-05 Rachel Petterson <rlp@google.com>
13225 Reviewed by Adam Barth.
13227 Matches the texImage2D and texSubImage2D functions to their
13228 declarations. Elminates uncessary versions of those functions.
13229 https://bugs.webkit.org/show_bug.cgi?id=31562
13230 Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493
13232 * src/GraphicsContext3D.cpp:
13233 (WebCore::GraphicsContext3D::texImage2D):
13234 (WebCore::GraphicsContext3D::texSubImage2D):
13236 2010-01-04 Maciej Stachowiak <mjs@apple.com>
13238 Reviewed by Darin Fisher.
13240 Reorganize, document and rename OS() platform macros.
13241 https://bugs.webkit.org/show_bug.cgi?id=33198
13243 Adapt to name changes.
13245 * src/ChromiumBridge.cpp:
13246 * src/EditorClientImpl.cpp:
13247 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
13249 (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
13250 * src/FrameLoaderClientImpl.cpp:
13251 (WebKit::FrameLoaderClientImpl::createPlugin):
13252 * src/GraphicsContext3D.cpp:
13253 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13254 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
13255 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
13256 * src/WebFrameImpl.cpp:
13257 (WebKit::WebFrameImpl::selectionAsText):
13258 (WebKit::WebFrameImpl::printPage):
13259 * src/WebPluginContainerImpl.cpp:
13260 (WebKit::WebPluginContainerImpl::handleMouseEvent):
13261 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
13262 * src/WebViewImpl.cpp:
13263 (WebKit::WebViewImpl::mouseDown):
13264 (WebKit::WebViewImpl::mouseContextMenu):
13265 (WebKit::WebViewImpl::mouseUp):
13266 (WebKit::WebViewImpl::keyEvent):
13267 (WebKit::WebViewImpl::sendContextMenuEvent):
13268 (WebKit::WebViewImpl::setScrollbarColors):
13269 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
13271 2010-01-04 Darin Fisher <darin@chromium.org>
13273 Reviewed by Eric Seidel.
13275 [Chromium] Expose more DOM methods to support LayoutTests
13276 https://bugs.webkit.org/show_bug.cgi?id=33185
13278 * public/WebDocument.h: Adds documentElement method.
13279 * public/WebElement.h: Adds innerText method.
13280 * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById
13281 methods, and fixes a few whitespace issues.
13282 * src/WebDocument.cpp:
13283 (WebKit::WebDocument::documentElement):
13284 * src/WebElement.cpp:
13285 (WebKit::WebElement::innerText):
13286 * src/WebFrameImpl.cpp:
13287 (WebKit::WebFrameImpl::clearName):
13288 (WebKit::WebFrameImpl::renderTreeAsText):
13289 (WebKit::WebFrameImpl::counterValueForElementById):
13290 * src/WebFrameImpl.h:
13292 2010-01-04 Darin Fisher <darin@chromium.org>
13294 Fix Chromium build bustage.
13296 * src/WebAnimationControllerImpl.h:
13298 2010-01-04 Yaar Schnitman <yaar@chromium.org>
13300 Reviewed by Darin Fisher.
13302 Adding WebAnimationController to chromium's WebKit API.
13304 https://bugs.webkit.org/show_bug.cgi?id=32870
13307 * public/WebAnimationController.h: Added.
13308 (WebKit::WebAnimationController::~WebAnimationController):
13309 * public/WebFrame.h:
13310 * src/WebAnimationControllerImpl.cpp: Added.
13311 (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl):
13312 (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime):
13313 (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime):
13314 (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
13315 * src/WebAnimationControllerImpl.h: Added.
13316 (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl):
13317 * src/WebFrameImpl.cpp:
13318 (WebKit::WebFrameImpl::animationController):
13319 (WebKit::WebFrameImpl::WebFrameImpl):
13320 * src/WebFrameImpl.h:
13322 2010-01-04 Jay Campan <jcampan@google.com>
13324 Reviewed by Darin Fisher
13326 Adding more DOM API methods. They are needed for the upcoming
13329 * public/WebElement.h:
13330 * public/WebNode.h:
13331 * src/WebElement.cpp:
13332 (WebKit::WebElement::tagName):
13333 (WebKit::WebElement::setAttribute):
13335 (WebKit::WebNode::setNodeValue):
13337 2010-01-03 Adam Barth <abarth@webkit.org>
13339 Reviewed by Eric Seidel.
13341 [Chromium] Implement CookieJarChromium::cookiesEnabled
13342 https://bugs.webkit.org/show_bug.cgi?id=33123
13344 Call out to the webKitClient() to see if cookies are enabled. Also
13345 remove some straggling references to policyURL!
13347 * public/WebKitClient.h:
13348 (WebKit::WebKitClient::setCookies):
13349 (WebKit::WebKitClient::cookies):
13350 (WebKit::WebKitClient::rawCookies):
13351 (WebKit::WebKitClient::cookiesEnabled):
13352 * src/ChromiumBridge.cpp:
13353 (WebCore::ChromiumBridge::cookiesEnabled):
13355 2010-01-03 Adam Barth <abarth@webkit.org>
13357 Reviewed by Eric Seidel.
13359 [Chromium] Remove evaluateInNewContext (it's useless)
13360 https://bugs.webkit.org/show_bug.cgi?id=33068
13362 This function has no clients and makes life complicated. Isolated
13363 worlds won out over NewContext and there's not really any going back
13366 * public/WebFrame.h:
13367 * src/FrameLoaderClientImpl.h:
13368 * src/WebFrameImpl.cpp:
13369 * src/WebFrameImpl.h:
13371 2009-12-30 Darin Fisher <darin@chromium.org>
13373 Reviewed by David Levin.
13375 [Chromium] Delete ResourceRequest::securityInfo
13376 https://bugs.webkit.org/show_bug.cgi?id=26847
13378 * src/WebWorkerBase.cpp:
13379 (WebKit::WebWorkerBase::initializeLoader):
13381 2009-12-30 Albert J. Wong <ajwong@chromium.org>
13383 Not reviewed. Trivial Chromium build fix.
13385 Add static_cast<unsigned>() to fix signed/unsigned comparison warning.
13387 * src/AutocompletePopupMenuClient.cpp:
13388 (WebKit::AutocompletePopupMenuClient::selectionChanged):
13390 2009-12-30 Zelidrag Hornung <zelidrag@chromium.org>
13392 Reviewed by Dimitri Glazkov.
13394 Autocomplete in Chromium now offers suggestions within the input element as a user
13395 a) types text that produces some autocomplete suggestions, and
13396 b) scrolls through suggested values in the menu
13397 The suggested value is rendered but not exposed through JS unti the
13398 user makes the final selection.
13400 No new tests since this new functionality (autocomplete suggestions)
13401 is intentionally hidden from everything else than renderer.
13403 * src/AutocompletePopupMenuClient.cpp:
13404 (WebKit::AutocompletePopupMenuClient::initialize):
13405 (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue):
13406 (WebKit::AutocompletePopupMenuClient::selectionChanged):
13407 (WebKit::AutocompletePopupMenuClient::popupDidHide):
13408 (WebKit::AutocompletePopupMenuClient::setTextFromItem):
13409 (WebKit::AutocompletePopupMenuClient::resetLastFieldValue):
13410 * src/AutocompletePopupMenuClient.h:
13412 2009-12-28 Kinuko Yasuda <kinuko@chromium.org>
13414 Reviewed by Maciej Stachowiak.
13416 Fixed isKeypadEvent behavior for chromium/Mac to correctly report
13417 keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events.
13418 https://bugs.webkit.org/show_bug.cgi?id=28247
13420 Test: fast/events/keydown-numpad-keys.html
13422 * src/mac/WebInputEventFactory.mm:
13423 (WebKit::isKeypadEvent):
13425 2009-12-22 Kenneth Russell <kbr@google.com>
13427 Reviewed by Eric Seidel.
13429 [Chromium] Garbage in transparent regions of images uploaded as textures
13430 https://bugs.webkit.org/show_bug.cgi?id=32888
13432 Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)
13434 * src/GraphicsContext3D.cpp:
13435 (WebCore::GraphicsContext3D::texImage2D):
13437 2009-12-22 Adam Langley <agl@google.com>
13439 Build fix: not reviewed.
13441 r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the
13442 Chromium build on Windows and Mac due to a misplaced #endif. The
13443 buildbot didn't find the problem because it runs on Linux.
13445 Have verified this patch with the author of the above.
13447 * src/GraphicsContext3D.cpp:
13449 2009-12-22 Kenneth Russell <kbr@google.com>
13451 Reviewed by Eric Seidel.
13453 [Chromium] WebGL crashes intermittently on Linux
13454 https://bugs.webkit.org/show_bug.cgi?id=32845
13456 The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a
13457 GraphicsContext3D was created was occasionally causing it to be
13458 re-mapped at a different base address. Since GLEW is not
13459 re-initialized every time, primarily for performance reasons, its
13460 cached function pointers were pointing to garbage. Stopped closing
13461 and re-opening libGL.so.1 each time; now it is loaded lazily, when
13462 the first 3D context is created. Also reused the X display
13463 connection since the GLX routines' correctness might hinge upon it
13464 not resulting in a change of GL implementation.
13466 * src/GraphicsContext3D.cpp:
13467 (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
13468 (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
13469 (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
13470 (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
13471 (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
13472 (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
13473 (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
13474 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
13475 (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad):
13476 (WebCore::GraphicsContext3DInternal::GLConnection::create):
13477 (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
13478 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13479 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
13480 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
13482 2009-12-22 Yaar Schnitman <yaar@chromium.org>
13484 Reviewed by Darin Fisher.
13486 autoComplete and getElementById methods for WebKit API
13488 https://bugs.webkit.org/show_bug.cgi?id=32866
13490 * public/WebDocument.h:
13491 * public/WebInputElement.h:
13492 * src/WebDocument.cpp:
13493 (WebKit::WebDocument::getElementById):
13494 * src/WebInputElement.cpp:
13495 (WebKit::WebInputElement::autoComplete):
13497 2009-12-18 Kenneth Russell <kbr@google.com>
13499 Reviewed by Darin Fisher.
13501 [Chromium] Eliminate redundant data copy in GraphicsContext3D readback
13502 https://bugs.webkit.org/show_bug.cgi?id=32763
13504 Eliminated useless creation of a CGBitmapContext and from there a
13505 CGImage. Now create CGImage directly from data. Also changed
13506 readPixels parameters and CGImage alpha info to try to avoid byte
13507 swapping, and disabled interpolation when drawing the GL content.
13508 Some test cases run twice as fast with these changes, though more
13509 work is needed to achieve desired performance.
13511 No test case; performance optimization only. Ran WebGL demos from
13512 Khronos site to verify changes.
13514 * src/GraphicsContext3D.cpp:
13515 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13516 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
13517 (WebCore::GraphicsContext3DInternal::reshape):
13518 (WebCore::GraphicsContext3DInternal::beginPaint):
13520 2009-12-18 Peter Kasting <pkasting@google.com>
13522 Reviewed by Adam Barth.
13525 https://bugs.webkit.org/show_bug.cgi?id=32756
13527 * public/WebAccessibilityRole.h:
13529 * src/AssertMatchingEnums.cpp:
13531 2009-12-18 Adam Roben <aroben@apple.com>
13535 * src/ChromiumBridge.cpp:
13536 * src/WebPluginContainerImpl.cpp:
13537 * src/WebViewImpl.cpp:
13540 2009-12-17 Eric Seidel <eric@webkit.org>
13542 No review, rolling out r52291.
13543 http://trac.webkit.org/changeset/52291
13544 https://bugs.webkit.org/show_bug.cgi?id=32618
13546 Darin Fisher points out that this will likely break
13547 the SSL security indicator in Chromium. Rolling out for now.
13549 * src/WebViewImpl.cpp:
13550 (WebKit::WebViewImpl::WebViewImpl):
13552 2009-12-17 Alexander Pavlov <apavlov@chromium.org>
13554 Reviewed by Eric Seidel.
13556 Disable memory cache client calls so that a new identifier isn't created
13557 for the same resource on reload.
13559 With the calls enabled, duplicate entries for cached resources are created
13560 in the Web Inspector. Safari for Windows disables the calls near the point of the
13561 Frame instance creation, and we just follow this for Chromium.
13562 https://bugs.webkit.org/show_bug.cgi?id=32618
13564 * src/WebViewImpl.cpp:
13565 (WebKit::WebViewImpl::WebViewImpl):
13567 2009-12-17 Yaar Schnitman <yaar@chromium.org>
13569 Reviewed by Darin Fisher.
13571 Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support
13572 downstream unit-testing of serialization.
13574 WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding.
13576 https://bugs.webkit.org/show_bug.cgi?id=31737
13579 * public/WebDocument.h: Added.
13580 (WebKit::WebDocument::WebDocument):
13581 (WebKit::WebDocument::operator=):
13582 (WebKit::WebDocument::assign):
13583 * public/WebElement.h:
13584 * public/WebFormElement.h:
13585 (WebKit::WebFormElement::operator=):
13586 * public/WebFrame.h:
13587 * public/WebNode.h:
13588 (WebKit::WebNode::):
13589 (WebKit::WebNode::toConstElement):
13590 * public/WebNodeCollection.h: Added.
13591 (WebKit::WebNodeCollection::~WebNodeCollection):
13592 (WebKit::WebNodeCollection::WebNodeCollection):
13593 (WebKit::WebNodeCollection::operator=):
13594 * public/WebNodeList.h: Added.
13595 (WebKit::WebNodeList::~WebNodeList):
13596 (WebKit::WebNodeList::WebNodeList):
13597 (WebKit::WebNodeList::operator=):
13598 * public/WebPageSerializer.h: Added.
13599 * public/WebPageSerializerClient.h: Added.
13600 (WebKit::WebPageSerializerClient::):
13601 (WebKit::WebPageSerializerClient::WebPageSerializerClient):
13602 (WebKit::WebPageSerializerClient::~WebPageSerializerClient):
13603 * public/WebString.h:
13604 * public/WebView.h:
13605 * src/AssertMatchingEnums.cpp:
13606 * src/DOMUtilitiesPrivate.cpp:
13607 (WebKit::elementHasLegalLinkAttribute):
13608 * src/DOMUtilitiesPrivate.h:
13609 * src/WebDocument.cpp: Added.
13610 (WebKit::WebDocument::WebDocument):
13611 (WebKit::WebDocument::operator=):
13612 (WebKit::WebDocument::operator WTF::PassRefPtr<Document>):
13613 (WebKit::WebDocument::frame):
13614 (WebKit::WebDocument::isHTMLDocument):
13615 (WebKit::WebDocument::baseURL):
13616 (WebKit::WebDocument::body):
13617 (WebKit::WebDocument::head):
13618 (WebKit::WebDocument::all):
13619 (WebKit::WebDocument::completeURL):
13620 * src/WebElement.cpp:
13621 (WebKit::WebElement::hasTagName):
13622 (WebKit::WebElement::hasAttribute):
13623 (WebKit::WebElement::getAttribute):
13624 * src/WebEntities.cpp: Added.
13625 (WebKit::populateMap):
13627 (WebKit::WebEntities::WebEntities):
13628 (WebKit::WebEntities::entityNameByCode):
13629 (WebKit::WebEntities::convertEntitiesInString):
13630 * src/WebEntities.h: Added.
13631 * src/WebFrameImpl.cpp:
13632 (WebKit::WebFrame::fromFrameOwnerElement):
13633 (WebKit::WebFrameImpl::encoding):
13634 (WebKit::WebFrameImpl::document):
13635 (WebKit::WebFrameImpl::fromFrameOwnerElement):
13636 * src/WebFrameImpl.h:
13638 (WebKit::WebNode::nodeType):
13639 (WebKit::WebNode::nodeValue):
13640 (WebKit::WebNode::document):
13641 (WebKit::WebNode::firstChild):
13642 (WebKit::WebNode::lastChild):
13643 (WebKit::WebNode::previousSibling):
13644 (WebKit::WebNode::nextSibling):
13645 (WebKit::WebNode::hasChildNodes):
13646 (WebKit::WebNode::childNodes):
13647 (WebKit::WebNode::createMarkup):
13648 (WebKit::WebNode::isTextNode):
13649 (WebKit::WebNode::isElementNode):
13650 * src/WebNodeCollection.cpp: Added.
13651 (WebKit::WebNodeCollection::reset):
13652 (WebKit::WebNodeCollection::assign):
13653 (WebKit::WebNodeCollection::WebNodeCollection):
13654 (WebKit::WebNodeCollection::length):
13655 (WebKit::WebNodeCollection::nextItem):
13656 (WebKit::WebNodeCollection::firstItem):
13657 * src/WebNodeList.cpp: Added.
13658 (WebKit::WebNodeList::reset):
13659 (WebKit::WebNodeList::assign):
13660 (WebKit::WebNodeList::WebNodeList):
13661 (WebKit::WebNodeList::length):
13662 (WebKit::WebNodeList::item):
13663 * src/WebPageSerializer.cpp: Added.
13664 (WebKit::WebPageSerializer::serialize):
13665 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
13666 (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration):
13667 (WebKit::WebPageSerializer::generateBaseTagDeclaration):
13668 * src/WebPageSerializerImpl.cpp: Added.
13669 (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
13670 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
13671 (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
13672 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag):
13673 (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
13674 (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
13675 (WebKit::WebPageSerializerImpl::openTagToString):
13676 (WebKit::WebPageSerializerImpl::endTagToString):
13677 (WebKit::WebPageSerializerImpl::buildContentForNode):
13678 (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
13679 (WebKit::WebPageSerializerImpl::collectTargetFrames):
13680 (WebKit::WebPageSerializerImpl::serialize):
13681 * src/WebPageSerializerImpl.h: Added.
13682 * src/WebString.cpp:
13683 (WebKit::WebString::WebString):
13684 (WebKit::WebString::operator=):
13685 * src/WebViewImpl.cpp:
13687 2009-12-17 Yury Semikhatsky <yurys@chromium.org>
13689 Reviewed by David Levin.
13691 Provide explicit implementation of 'non-template' WebVector<T>::operator=
13693 https://bugs.webkit.org/show_bug.cgi?id=32363
13695 * public/WebVector.h:
13697 2009-12-16 Fumitoshi Ukai <ukai@chromium.org>
13699 Unreviewed, build fix.
13701 [Chromium] Add EditableTextRole to catch up with
13702 http://trac.webkit.org/changeset/52233
13704 * public/WebAccessibilityRole.h:
13705 (WebKit::): Added WebAccessibilityRoleEditableText
13706 * src/AssertMatchingEnums.cpp: Added matching compile assert.
13708 2009-12-15 Kenneth Russell <kbr@google.com>
13710 Reviewed by Darin Fisher.
13712 Don't allow default framebuffer to be mutated
13713 https://bugs.webkit.org/show_bug.cgi?id=32391
13715 * src/GraphicsContext3D.cpp:
13716 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13717 (WebCore::GraphicsContext3DInternal::reshape):
13718 (WebCore::GraphicsContext3DInternal::beginPaint):
13719 (WebCore::GraphicsContext3DInternal::bindFramebuffer):
13720 (WebCore::GraphicsContext3D::bindFramebuffer):
13722 2009-12-15 Dimitri Glazkov <dglazkov@chromium.org>
13724 Unreviewed, build fix.
13726 [Chromium] Add TreeGridRole to catch up with
13727 http://trac.webkit.org/changeset/52159.
13729 * public/WebAccessibilityRole.h:
13730 (WebKit::): Added WebAccessibilityRoleTreeGrid.
13731 * src/AssertMatchingEnums.cpp: Added matching compile assert.
13733 2009-12-15 Jian Li <jianli@chromium.org>
13735 Reviewed by Dmitry Titov.
13737 Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard.
13738 https://bugs.webkit.org/show_bug.cgi?id=31090
13740 The proposal to whatwg can be found here:
13741 http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html
13743 * public/WebDragData.h:
13744 * src/WebDragData.cpp:
13745 (WebKit::WebDragData::downloadURL):
13746 (WebKit::WebDragData::setDownloadURL):
13748 2009-12-14 Evan Stade <estade@chromium.org>
13750 Reviewed by Darin Fisher.
13752 https://bugs.webkit.org/show_bug.cgi?id=32347
13753 Chromium: Context menu launched by menu key has funky behavior
13755 Make the context menu's position depend on the selection only when an
13756 editable field has focus. Also, don't send multiple context menu events
13757 for a single keypress.
13759 * src/WebViewImpl.cpp:
13760 (WebKit::WebViewImpl::keyEvent):
13761 (WebKit::WebViewImpl::sendContextMenuEvent):
13763 2009-12-13 Sam Weinig <sam@webkit.org>
13765 Reviewed by Dan Bernstein.
13767 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
13768 Add client based Geolocation provider
13770 Add first cut of a client based Geolocation provider. This is guarded by
13771 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
13772 GeolocationControllerClient interface that no-one currently implements,
13773 but will in a subsequent patch.
13775 * src/WebViewImpl.cpp:
13776 (WebKit::WebViewImpl::WebViewImpl):
13778 2009-12-13 Charles Reis <creis@chromium.org>
13780 Reviewed by Adam Barth.
13782 Refactor some security code out of V8 bindings
13783 https://bugs.webkit.org/show_bug.cgi?id=32326
13785 * src/WebBindings.cpp:
13786 (WebKit::getDragDataImpl):
13788 2009-12-11 Nate Chapin <japhet@chromium.org>
13790 Reviewed by Darin Fisher.
13792 Expose shouldHideReferrer() in WebSecurityPolicy.
13794 https://bugs.webkit.org/show_bug.cgi?id=32398
13796 * public/WebSecurityPolicy.h: Add shouldHideReferrer().
13797 * src/WebSecurityPolicy.cpp:
13798 (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added.
13800 2009-12-11 Avi Drissman <avi@chromium.org>
13802 Reviewed by Darin Fisher.
13804 Tickmarks in the scrollbar are not cleared for non-main frames
13805 https://bugs.webkit.org/show_bug.cgi?id=32385
13807 * src/WebFrameImpl.cpp:
13808 (WebKit::WebFrameImpl::stopFinding):
13810 2009-12-11 Yury Semikhatsky <yurys@chromium.org>
13812 Reviewed by Pavel Feldman.
13814 Remove obsolete message handling methods from WebDevTools* interfaces
13816 https://bugs.webkit.org/show_bug.cgi?id=32320
13818 * public/WebDevToolsAgent.h:
13819 * public/WebDevToolsAgentClient.h:
13820 * public/WebDevToolsFrontend.h:
13821 * public/WebDevToolsFrontendClient.h:
13823 2009-12-10 Mike Belshe <mike@belshe.com>
13825 Unreviewed, build fix for chromium.
13827 * src/FrameLoaderClientImpl.cpp:
13828 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
13830 2009-12-10 Kenneth Russell <kbr@google.com>
13832 Reviewed by Oliver Hunt.
13834 Changed WebGLRenderingContext to synthesize GL errors rather than
13835 raising JavaScript exceptions. Removed internal getError() calls
13836 after each graphics call. The GraphicsContext3D maintains the
13837 synthetic exceptions because only it has complete information
13838 about certain conditions requiring them to be raised.
13840 Based on idea from Ilmari Heikkinen, added create3DDebugContext()
13841 to webgl-test.js and changed the WebGL layout tests expecting
13842 error conditions to use it. Updated expected.txt files, which now
13843 implicitly test the OpenGL error as it is part of the exception's
13846 Added new targeted test covering aspects of synthetic errors as
13847 well as regression tests for bugs uncovered during its development.
13849 Test: fast/canvas/webgl/error-reporting.html
13851 * src/GraphicsContext3D.cpp:
13852 (WebCore::GraphicsContext3DInternal::reshape):
13853 (WebCore::GraphicsContext3DInternal::getError):
13854 (WebCore::GraphicsContext3DInternal::synthesizeGLError):
13855 (WebCore::GraphicsContext3D::getActiveAttrib):
13856 (WebCore::GraphicsContext3D::getActiveUniform):
13857 (WebCore::GraphicsContext3D::getError):
13858 (WebCore::GraphicsContext3D::synthesizeGLError):
13860 2009-12-10 Mike Belshe <mike@belshe.com>
13862 Reviewed by Darin Fisher.
13864 Fix FrameLoader to use the new ResourceTypes properly.
13866 https://bugs.webkit.org/show_bug.cgi?id=32336
13868 * public/WebURLRequest.h:
13869 (WebKit::WebURLRequest::):
13870 * src/FrameLoaderClientImpl.cpp:
13871 (WebKit::setTargetTypeFromLoader):
13872 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
13874 2009-12-10 Ilya Tikhonovsky <loislo@google.com>
13876 Reviewed by Pavel Feldman.
13878 Chromium: Expose devtools agent API for inspector layout tests.
13880 https://bugs.webkit.org/show_bug.cgi?id=32379
13882 * public/WebDevToolsAgent.h:
13883 (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled):
13884 (WebKit::WebDevToolsAgent::evaluateInWebInspector):
13886 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
13888 Unreviewed, build fix.
13890 Change forward declaration of WebContextMenuData from class to
13891 struct to match its definition. The bug was introduced by
13892 http://trac.webkit.org/changeset/51874
13894 * src/ContextMenuClientImpl.h:
13896 2009-12-09 Darin Fisher <darin@chromium.org>
13898 Reviewed by Eric Seidel.
13900 https://bugs.webkit.org/show_bug.cgi?id=32324
13901 [Chromium] Suppress WebFrameClient callbacks from a detached frame.
13903 This change means that we no longer need the ClientHandle class.
13904 FrameLoaderClient::detachedFromParent3() is called on each frame
13905 in the frame tree from within frameDetached().
13907 Test: http/tests/loading/gmail-assert-on-load.html
13909 * src/FrameLoaderClientImpl.cpp:
13910 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
13911 * src/WebFrameImpl.cpp:
13912 (WebKit::WebFrameImpl::create):
13913 (WebKit::WebFrameImpl::WebFrameImpl):
13914 (WebKit::WebFrameImpl::createChildFrame):
13915 * src/WebFrameImpl.h:
13916 (WebKit::WebFrameImpl::client):
13917 (WebKit::WebFrameImpl::dropClient):
13918 * src/WebViewImpl.cpp:
13919 (WebKit::WebViewImpl::close):
13921 2009-12-08 Stuart Morgan <stuartmorgan@chromium.org>
13923 Reviewed by Darin Fisher.
13925 Include clickCount when doing MouseEvent -> WebMouseEvent conversion
13928 https://bugs.webkit.org/show_bug.cgi?id=32289
13930 * src/WebInputEventConversion.cpp:
13931 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
13933 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
13935 Unreviewed, build fix.
13937 Add return statement to default implementation of hostIdentifier method
13938 introduced in http://trac.webkit.org/changeset/51897
13940 * public/WebDevToolsAgentClient.h:
13941 (WebKit::WebDevToolsAgentClient::hostIdentifier):
13943 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
13945 Reviewed by Pavel Feldman.
13947 Add declaration of static methods that allow to dispatch
13948 DevTools messages on the IO thread and accept WebDevToolsMessageData
13951 https://bugs.webkit.org/show_bug.cgi?id=32314
13953 * public/WebDevToolsAgent.h:
13954 * public/WebDevToolsAgentClient.h:
13956 2009-12-09 Yury Semikhatsky <yurys@chromium.org>
13958 Reviewed by Pavel Feldman.
13960 Introduce a class for devtools message data
13962 https://bugs.webkit.org/show_bug.cgi?id=32314
13965 * public/WebDevToolsAgent.h:
13966 * public/WebDevToolsAgentClient.h:
13967 (WebKit::WebDevToolsAgentClient::sendMessageToFrontend):
13968 (WebKit::WebDevToolsAgentClient::forceRepaint):
13969 (WebKit::WebDevToolsAgentClient::hostIdentifier):
13970 (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged):
13971 * public/WebDevToolsFrontend.h:
13972 * public/WebDevToolsFrontendClient.h:
13973 (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
13974 * public/WebDevToolsMessageData.h: Added.
13976 2009-12-08 Pavel Feldman <pfeldman@chromium.org>
13978 Reviewed by Darin Fisher.
13980 Chromium: support custom WebCore context menu items in Chromium port.
13982 https://bugs.webkit.org/show_bug.cgi?id=32277
13984 * public/WebContextMenuData.h:
13985 * public/WebPopupMenuInfo.h:
13986 (WebKit::WebPopupMenuInfo::Item::):
13987 * public/WebView.h:
13988 * src/ContextMenuClientImpl.cpp:
13989 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
13990 * src/WebViewImpl.cpp:
13991 (WebKit::WebViewImpl::executeCustomContextMenuAction):
13992 * src/WebViewImpl.h:
13994 2009-12-08 Albert J. Wong <ajwong@chromium.org>
13996 Not reviewed: Chromium build fix.
13998 r51859 changed the case for some of the ResourceRequest::TargetType
14001 * src/FrameLoaderClientImpl.cpp:
14002 (WebKit::determineTargetTypeFromLoader):
14004 2009-12-07 Zhe Su <suzhe@chromium.org>
14006 Reviewed by Darin Fisher.
14008 [Chromium] accesskey is not supported on Chromium Mac.
14009 https://bugs.webkit.org/show_bug.cgi?id=32213
14011 This change fixes (partially) the accesskey issue by decoupling the
14012 code for handling accesskeys and system keys. Because on Mac,
14013 the modifiers of accesskeys are ctrl+alt, which are not marked as
14015 In order to fully fix this issue, some changes in Chromium code is
14018 * src/WebViewImpl.cpp:
14019 (WebKit::WebViewImpl::keyEvent):
14020 (WebKit::WebViewImpl::charEvent):
14022 2009-12-07 Evan Martin <evan@chromium.org>
14024 Reviewed by Eric Seidel.
14026 Chromium: theme scrollbars to match GTK theme.
14027 Add API to set the colors.
14029 Since the change is to the Chromium WebKit API layer, testing will
14030 be in Chromium's test shell.
14031 http://bugs.webkit.org/show_bug.cgi?id=32048
14033 Patch from Markus Gutschke <markus@chromium.org>.
14035 * public/WebView.h:
14036 * src/WebViewImpl.cpp:
14037 (WebKit::WebViewImpl::setScrollbarColors):
14038 * src/WebViewImpl.h:
14040 2009-12-07 Finnur Thorarinsson <finnur.webkit@gmail.com>
14042 Reviewed by Darin Fisher.
14044 A patch for Chromium to restrict the scope of the Gmail focus fix,
14045 where we set the Selection to 0,0 for content-editable fields and
14046 also make sure we set the selection end-state for find to select the
14047 text found (when not focusing a link we found).
14048 WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248
14050 * src/WebFrameImpl.cpp:
14051 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
14052 * src/WebViewImpl.cpp:
14053 (WebKit::WebViewImpl::setFocus):
14055 2009-12-07 Dmitry Titov <dimich@chromium.org>
14057 Rubber-stamped by Darin Adler.
14059 Remove ENABLE_SHARED_SCRIPT flags
14060 https://bugs.webkit.org/show_bug.cgi?id=32245
14061 This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
14065 2009-12-07 Yaar Schnitman <yaar@chromium.org>
14067 Reviewed by Darin Fisher.
14069 fixes to build-webkit --chromium
14070 https://bugs.webkit.org/show_bug.cgi?id=32179
14076 2009-12-07 Mikhail Naganov <mnaganov@chromium.org>
14078 Reviewed by Pavel Feldman.
14080 [Chromium] Add declarations for DevTools message dispatching on IO thread
14081 (see http://codereview.chromium.org/460018)
14083 https://bugs.webkit.org/show_bug.cgi?id=32217
14085 * public/WebDevToolsAgent.h:
14086 * public/WebDevToolsAgentClient.h:
14088 2009-12-04 James Hawkins <jhawkins@chromium.org>
14090 Reviewed by Darin Fisher.
14092 https://bugs.webkit.org/show_bug.cgi?id=32095
14093 Implement WebRegularExpression, a WebKit API for accessing
14094 WebCore::RegularExpression.
14097 * public/WebRegularExpression.h: Added.
14098 * public/WebTextCaseSensitivity.h: Added.
14100 * src/AssertMatchingEnums.cpp:
14101 * src/WebRegularExpression.cpp: Added.
14102 (WebKit::WebRegularExpression::WebRegularExpression):
14103 (WebKit::WebRegularExpression::~WebRegularExpression):
14104 (WebKit::WebRegularExpression::match):
14106 2009-12-04 Peter Kasting <pkasting@google.com>
14108 Reviewed by Darin Fisher.
14110 [Chromium] Simplify zoom-related APIs and add a zoom level getter,
14111 part two: Remove deprecated APIs.
14112 https://bugs.webkit.org/show_bug.cgi?id=31893
14114 * public/WebView.h:
14115 * src/WebViewImpl.cpp:
14116 * src/WebViewImpl.h:
14118 2009-12-03 Jonathan Dixon <joth@chromium.org>
14120 Reviewed by Dimitri Glazkov.
14122 Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
14123 https://bugs.webkit.org/show_bug.cgi?id=32066
14125 Add the plumbing to map WebSettings through to WebCore::Settings
14128 * public/WebSettings.h: Add setGeolocationEnabled API to interface
14129 * src/WebSettingsImpl.cpp:
14130 (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled
14131 * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function
14133 2009-12-03 Brady Eidson <beidson@apple.com>
14135 Reviewed by Sam Weinig.
14137 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
14139 * src/FrameLoaderClientImpl.cpp:
14140 (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
14141 (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
14142 (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
14143 * src/FrameLoaderClientImpl.h:
14145 2009-12-03 Pavel Feldman <pfeldman@chromium.org>
14147 Reviewed by Timothy Hatcher.
14149 Chromium: Add support for settings containing ":"
14151 https://bugs.webkit.org/show_bug.cgi?id=32118
14153 * src/InspectorClientImpl.cpp:
14154 (WebKit::InspectorClientImpl::loadSettings):
14156 2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
14158 Reviewed by Timothy Hatcher.
14160 Web Inspector: Simplify the settings support in inspector controller.
14162 https://bugs.webkit.org/show_bug.cgi?id=32076
14164 * src/InspectorClientImpl.cpp:
14165 (WebKit::InspectorClientImpl::hiddenPanels):
14166 (WebKit::InspectorClientImpl::populateSetting):
14167 (WebKit::InspectorClientImpl::storeSetting):
14168 (WebKit::InspectorClientImpl::loadSettings):
14169 (WebKit::InspectorClientImpl::saveSettings):
14170 * src/InspectorClientImpl.h:
14172 2009-12-03 Ben Murdoch <benm@google.com>
14174 Reviewed by Brady Eidson.
14176 [Android] The FrameLoaderClient is unaware of BackForwardList changes.
14177 https://bugs.webkit.org/show_bug.cgi?id=31914
14179 * src/FrameLoaderClientImpl.cpp:
14180 (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
14181 (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto.
14182 (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito.
14183 * src/FrameLoaderClientImpl.h:
14185 2009-12-02 Yusuke Sato <yusukes@chromium.org>
14187 Reviewed by Eric Seidel.
14189 Sanitize web fonts using the OTS library
14190 https://bugs.webkit.org/show_bug.cgi?id=31106
14192 * DEPS: Added dependency to the OpenType sanitizer library.
14193 * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1.
14195 2009-12-02 Evan Stade <estade@chromium.org>
14197 Reviewed by Darin Fisher.
14199 https://bugs.webkit.org/show_bug.cgi?id=32029
14200 Mousewheel event delta has reversed sign on Linux Chrome.
14202 No new tests (layout tests don't cover event conversion code).
14203 Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel
14205 * src/gtk/WebInputEventFactory.cpp:
14206 (WebKit::WebInputEventFactory::mouseWheelEvent):
14208 2009-12-02 Anton Muhin <antonm@chromium.org>
14210 Reviewed by Adam Barth.
14212 Allow to skip thread checks when accessing DOMDataStore for processes
14213 which run V8 in single thread mode.
14214 https://bugs.webkit.org/show_bug.cgi?id=31877
14216 * src/WebScriptController.cpp:
14217 (WebKit::WebScriptController::enableV8SingleThreadMode):
14219 2009-12-01 Peter Kasting <pkasting@google.com>
14221 Reviewed by Darin Fisher.
14223 [Chromium] Simplify zoom-related APIs and add a zoom level getter,
14224 part one: Add new APIs. (Old APIs will be removed in a second pass.)
14225 https://bugs.webkit.org/show_bug.cgi?id=31893
14227 * public/WebView.h:
14228 * src/WebViewImpl.cpp:
14229 (WebKit::WebViewImpl::zoomLevel):
14230 (WebKit::WebViewImpl::setZoomLevel):
14231 * src/WebViewImpl.h:
14233 2009-12-01 Xiyuan Xia <xiyuan@chromium.org>
14235 Reviewed by Darin Fisher.
14237 Only fire start/stop events when main frame is not loading.
14239 https://bugs.webkit.org/show_bug.cgi?id=31838
14241 * src/FrameLoaderClientImpl.cpp:
14242 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
14244 2009-11-27 Yury Semikhatsky <yurys@chromium.org>
14246 Reviewed by Pavel Feldman.
14248 Add separate method for pause command to WebDevToolsAgent
14249 and WebDevToolsFrontendClient interfaces so that pause command
14250 can be processed on the IO thread.
14252 https://bugs.webkit.org/show_bug.cgi?id=31934
14254 * public/WebDevToolsAgent.h:
14255 * public/WebDevToolsFrontendClient.h:
14256 (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
14257 (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
14258 (WebKit::WebDevToolsFrontendClient::activateWindow):
14259 (WebKit::WebDevToolsFrontendClient::closeWindow):
14260 (WebKit::WebDevToolsFrontendClient::dockWindow):
14261 (WebKit::WebDevToolsFrontendClient::undockWindow):
14263 2009-11-27 Yury Semikhatsky <yurys@chromium.org>
14265 Reviewed by Pavel Feldman.
14267 WebCore part of the fix that allows to view plugin
14268 resources loaded by plugins. Methods that for resource
14269 loading notifications are exposed through WebDevToolsAgent
14270 interface to the glue code to allow Chromium's plugin
14271 implementation to notify InspectorController about resource
14272 loading in plugins.
14274 https://bugs.webkit.org/show_bug.cgi?id=31832
14276 * public/WebDevToolsAgent.h:
14277 * public/WebView.h:
14278 * src/WebViewImpl.cpp:
14279 (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
14280 * src/WebViewImpl.h:
14282 2009-11-26 Yury Semikhatsky <yurys@chromium.org>
14284 Not reviewed. Build fix: revert r51421.
14286 * public/WebDevToolsAgent.h:
14287 * public/WebView.h:
14288 * src/WebViewImpl.cpp:
14289 * src/WebViewImpl.h:
14291 2009-11-25 Dimitri Glazkov <dglazkov@chromium.org>
14293 Reviewed by David Levin.
14295 [Chromium] Implement canSetValueAttribute in the API.
14296 https://bugs.webkit.org/show_bug.cgi?id=31894
14298 * public/WebAccessibilityObject.h: Added decl.
14299 * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include.
14300 * src/WebAccessibilityObject.cpp:
14301 (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl.
14303 2009-11-25 Dimitri Glazkov <dglazkov@chromium.org>
14305 Reviewed by Darin Fisher.
14307 [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API.
14308 https://bugs.webkit.org/show_bug.cgi?id=31878
14310 * public/WebSettings.h: Added decl.
14311 * src/WebSettingsImpl.cpp:
14312 (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl.
14313 * src/WebSettingsImpl.h:
14315 2009-11-24 Dmitry Titov <dimich@chromium.org>
14317 Reviewed by Eric Seidel.
14319 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
14320 https://bugs.webkit.org/show_bug.cgi?id=31444
14324 2009-11-24 Evan Stade <estade@chromium.org>
14326 Reviewed by David Levin.
14328 Linux Chromium sends too many click events
14329 https://bugs.webkit.org/show_bug.cgi?id=31841
14331 Manually count number of clicks for double/triple click events. This
14332 makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html
14333 Chromium side of this patch is here:
14334 http://codereview.chromium.org/431031/show
14336 * src/gtk/WebInputEventFactory.cpp:
14337 (WebKit::WebInputEventFactory::mouseEvent):
14339 2009-11-24 Darin Fisher <darin@chromium.org>
14341 Reviewed by Adam Barth.
14343 [Chromium] Renderer hang when using www.expedia.com
14344 https://bugs.webkit.org/show_bug.cgi?id=31822
14346 * src/FrameLoaderClientImpl.cpp:
14347 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
14348 Assign ReturnCacheDataDontLoad cache policy at the last moment
14349 to match Safari. This way the cache policy does not get stored
14350 in DocumentLoader's originalRequest preventing it from being
14351 inherited by subresource requests.
14352 * src/ResourceHandle.cpp:
14353 (WebCore::ResourceHandle::willLoadFromCache): Remove assignment
14354 of ReturnCacheDataDontLoad cache policy so that it doesn't end
14355 up applying to the DocumentLoader's originalRequest.
14357 2009-11-23 Kenneth Russell <kbr@google.com>
14359 Reviewed by Oliver Hunt.
14361 Change get... calls to latest spec
14362 https://bugs.webkit.org/show_bug.cgi?id=30091
14364 Removed old versions of get calls on WebGLRenderingContext and
14365 added new ones per spec returning "any". New code simplifies
14366 GraphicsContext3D and fixes previously unimplemented routines.
14367 Added custom JS and V8 bindings. Added exhaustive test case
14368 exercising all new code paths. Updated preexisting test cases for
14369 new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL
14372 Ran WebGL layout tests in WebKit (clean) and Chrome (couple of
14373 preexisting known failures) and manual WebGL tests in both
14376 Test: fast/canvas/webgl/gl-object-get-calls.html
14378 * src/GraphicsContext3D.cpp:
14379 (WebCore::GraphicsContext3D::createFramebuffer):
14380 (WebCore::GraphicsContext3D::createRenderbuffer):
14381 (WebCore::GraphicsContext3D::deleteFramebuffer):
14382 (WebCore::GraphicsContext3D::deleteRenderbuffer):
14383 (WebCore::GraphicsContext3D::checkFramebufferStatus):
14384 (WebCore::GraphicsContext3D::getBooleanv):
14385 (WebCore::GraphicsContext3D::getBufferParameteriv):
14386 (WebCore::GraphicsContext3D::getFloatv):
14387 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
14388 (WebCore::GraphicsContext3D::getIntegerv):
14389 (WebCore::GraphicsContext3D::getProgramiv):
14390 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
14391 (WebCore::GraphicsContext3D::getShaderiv):
14392 (WebCore::GraphicsContext3D::getTexParameterfv):
14393 (WebCore::GraphicsContext3D::getTexParameteriv):
14394 (WebCore::GraphicsContext3D::getUniformfv):
14395 (WebCore::GraphicsContext3D::getUniformiv):
14396 (WebCore::GraphicsContext3D::getVertexAttribfv):
14397 (WebCore::GraphicsContext3D::getVertexAttribiv):
14398 (WebCore::GraphicsContext3D::isFramebuffer):
14399 (WebCore::GraphicsContext3D::isRenderbuffer):
14401 2009-11-24 Pavel Feldman <pfeldman@chromium.org>
14403 Reviewed by Darin Fisher.
14405 Chromium: Expose method for reporting user stats
14406 to the host. Also includes drive-by default implementation.
14408 https://bugs.webkit.org/show_bug.cgi?id=31830
14410 * public/WebKitClient.h:
14412 2009-11-24 Adam Barth <abarth@webkit.org>
14414 Reviewed by Dimitri Glazkov.
14416 [Chromium] Fix DOM storage layout tests
14417 https://bugs.webkit.org/show_bug.cgi?id=31833
14419 The issue is, essentially, that this code assumes that
14420 SecurityOrigin::createString can re-create a SecurityOrigin given
14421 the string produced from SecurityOrigin::toString. This is a bogus
14422 assumption in a number of corner cases (e.g., document.domain,
14423 @sandbox). A recent patch (http://trac.webkit.org/changeset/51294)
14424 make this assumption further invalid in the case of of file:// URLs.
14426 The correct fix is for this code to use WebSecurityOrigin objects
14427 (and not strings) to represent SecurityOrigin objects. However, the
14428 expert on this code is on vacation, and I don't want to do major
14429 surgery here without his involvement. This patch is a temporary fix
14430 to get these tests passing again. We'll do the right fix once
14431 jorlow gets back from vacation.
14433 Tests: Covered by a number of existing DOM storage tests.
14435 * src/WebStorageNamespaceImpl.cpp:
14436 (WebKit::WebStorageNamespaceImpl::createStorageArea):
14438 2009-11-23 Jian Li <jianli@chromium.org>
14440 Reviewed by NOBODY (Chromium build fix).
14442 * src/GraphicsContext3D.cpp:
14443 (WebCore::GraphicsContext3D::createShader):
14445 2009-11-20 Jian Li <jianli@chromium.org>
14447 Not reviewed. Fix chromium build.
14449 * public/WebAccessibilityRole.h:
14451 * src/AssertMatchingEnums.cpp:
14453 2009-11-19 Yaar Schnitman <yaar@chromium.org>
14455 Reviewed by Darin Fisher.
14457 Make chromium/webkit/glue/FormFieldValues use the WebKit API
14459 https://bugs.webkit.org/show_bug.cgi?id=31650
14461 * public/WebElement.h:
14462 * public/WebFormElement.h:
14463 * public/WebInputElement.h:
14464 (WebKit::WebInputElement::):
14465 * public/WebNode.h:
14466 * src/AssertMatchingEnums.cpp:
14467 * src/DOMUtilitiesPrivate.cpp:
14468 (WebKit::nameOfInputElement):
14469 * src/DOMUtilitiesPrivate.h:
14470 * src/EditorClientImpl.cpp:
14471 (WebKit::EditorClientImpl::autofill):
14472 (WebKit::EditorClientImpl::doAutofill):
14473 * src/WebFormElement.cpp:
14474 (WebKit::WebFormElement::name):
14475 (WebKit::WebFormElement::method):
14476 (WebKit::WebFormElement::getNamedElements):
14477 (WebKit::WebFormElement::getInputElements):
14478 * src/WebInputElement.cpp:
14479 (WebKit::WebInputElement::isEnabledFormControl):
14480 (WebKit::WebInputElement::inputType):
14481 (WebKit::WebInputElement::formControlType):
14482 (WebKit::WebInputElement::value):
14483 (WebKit::WebInputElement::dispatchFormControlChangeEvent):
14484 (WebKit::WebInputElement::setSelectionRange):
14485 (WebKit::WebInputElement::name):
14486 (WebKit::WebInputElement::nameForAutofill):
14488 (WebKit::WebNode::frame):
14490 2009-11-18 Michelangelo De Simone <micdesim@gmail.com>
14492 Reviewed by Darin Adler.
14494 Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>.
14495 Support for validationMessage attribute, as per HTML5 specs.
14497 * src/LocalizedStrings.cpp:
14498 (WebCore::validationMessageValueMissingText):
14499 (WebCore::validationMessageTypeMismatchText):
14500 (WebCore::validationMessagePatternMismatchText):
14501 (WebCore::validationMessageTooLongText):
14502 (WebCore::validationMessageRangeUnderflowText):
14503 (WebCore::validationMessageRangeOverflowText):
14504 (WebCore::validationMessageStepMismatchText):
14506 2009-11-18 Nate Chapin <japhet@chromium.org>
14508 Reviewed by Darin Fisher.
14510 Remove Chromium port's dependency on some dummy pthreads header
14511 files that live in the Chromium repository.
14513 https://bugs.webkit.org/show_bug.cgi?id=31648
14515 * DEPS: Remove reference to chromium svn's webkit/build/ directory.
14517 2009-11-18 Evan Stade <estade@chromium.org>
14519 Reviewed by Darin Fisher.
14521 Menu button shows wrong content in Chromium
14522 https://bugs.webkit.org/show_bug.cgi?id=31448
14524 Make context menu button (VK_APPS) show context menu for node that has
14525 keyboard focus. This affects both the content and the positioning.
14527 * src/WebViewImpl.cpp:
14528 (WebKit::WebViewImpl::sendContextMenuEvent):
14530 2009-11-17 Darin Fisher <darin@chromium.org>
14532 Reviewed by Dmitry Titov.
14534 Minor cleanup in WebKit API
14535 https://bugs.webkit.org/show_bug.cgi?id=31616
14537 * public/WebFormElement.h: Add missing WEBKIT_API prefix.
14538 * public/WebNode.h: Add missing WEBKIT_API prefix.
14539 * src/WebFormElement.cpp:
14540 (WebKit::WebFormElement::action): Make action getter const.
14542 (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame.
14544 2009-11-17 Nicolas Weber <thakis@chromium.org>
14546 Reviewed by Darin Fisher, Dmitry Titov.
14548 Revert r50887, it regressed handling of cmd-left when a text box is focused.
14549 https://bugs.webkit.org/show_bug.cgi?id=31566
14551 * src/mac/WebInputEventFactory.mm:
14552 (WebKit::WebInputEventFactory::keyboardEvent):
14554 2009-11-16 Kenneth Russell <kbr@google.com>
14556 Reviewed by Oliver Hunt.
14558 Update API of WebGLArray and friends
14559 https://bugs.webkit.org/show_bug.cgi?id=31175
14561 * src/GraphicsContext3D.cpp:
14562 (WebCore::GraphicsContext3D::bufferData):
14563 (WebCore::GraphicsContext3D::bufferSubData):
14565 2009-11-15 Dimitri Glazkov <dglazkov@chromium.org>
14567 Unreviewed, build fix.
14569 Correct an error in the previous commit
14571 * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory,
14572 not WebAccessibilityDirectoryRole.
14574 2009-11-15 Dimitri Glazkov <dglazkov@chromium.org>
14576 Unreviewed, build fix.
14578 Bring WebAccessibilityRole up to sync after
14579 http://trac.webkit.org/changeset/51007.
14581 * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory.
14582 * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and
14583 WebAccessibilityRoleDirectory.
14585 2009-11-13 Dimitri Glazkov <dglazkov@chromium.org>
14587 Unreviewed, build fix.
14589 [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld
14590 to catch up http://trac.webkit.org/changeset/50973.
14592 * src/FrameLoaderClientImpl.cpp:
14593 (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
14594 * src/FrameLoaderClientImpl.h:
14596 2009-11-13 Yaar Schnitman <yaar@chromium.org>
14598 Reviewed by Dimitri Glazkov.
14600 Chromium WebKit Port to compile as dynamic lib
14602 https://bugs.webkit.org/show_bug.cgi?id=31478
14606 2009-11-13 Aaron Boodman <aa@chromium.org>
14608 Reviewed by Eric Seidel.
14610 Adds a way to get the document element's scrollHeight,
14611 which is sort of the moral equivalent to
14612 RenderBox::minPrefWidth().
14614 https://bugs.webkit.org/show_bug.cgi?id=31036
14616 * public/WebFrame.h: Declare documentElementScrollHeight()
14617 * src/WebFrameImpl.h: Ditto
14618 * src/WebFrameImpl.cpp: Implement documentElementScrollHeight()
14619 (WebKit::WebFrameImpl::documentElementScrollHeight): Return the
14620 scroll height of the document element, or zero if there's no
14623 2009-11-12 Dumitru Daniliuc <dumi@chromium.org>
14625 Reviewed by Dimitri Glazkov.
14627 Adding Chromium's DatabaseTracker implementation.
14629 https://bugs.webkit.org/show_bug.cgi?id=31440
14632 * src/ChromeClientImpl.cpp:
14633 (WebKit::ChromeClientImpl::exceededDatabaseQuota):
14634 * src/DatabaseObserver.cpp: Added.
14635 (WebCore::DatabaseObserver::databaseOpened):
14636 (WebCore::DatabaseObserver::databaseModified):
14637 (WebCore::DatabaseObserver::databaseClosed):
14638 * src/WebDatabase.cpp:
14639 (WebKit::WebDatabase::name):
14640 (WebKit::WebDatabase::displayName):
14641 (WebKit::WebDatabase::estimatedSize):
14642 (WebKit::WebDatabase::securityOrigin):
14643 (WebKit::WebDatabase::updateDatabaseSize):
14644 * src/WebSecurityOrigin.cpp:
14645 (WebKit::WebSecurityOrigin::toString):
14646 (WebKit::WebSecurityOrigin::databaseIdentifier):
14648 2009-11-13 Yaar Schnitman <yaar@chromium.org>
14650 Reviewed by Dimitri Glazkov.
14652 Rolling Chromium dependencies to match Chromium revision 31834.
14654 https://bugs.webkit.org/show_bug.cgi?id=31445
14658 2009-11-12 Dumitru Daniliuc <dumi@chromium.org>
14660 Reviewed by Dimitri Glazkov.
14662 Renaming some parameters passed to DB-related methods to better
14663 indicate their purpose.
14665 https://bugs.webkit.org/show_bug.cgi?id=31449
14667 * public/WebKitClient.h:
14668 * src/ChromiumBridge.cpp:
14669 (WebCore::ChromiumBridge::databaseOpenFile):
14670 (WebCore::ChromiumBridge::databaseDeleteFile):
14671 (WebCore::ChromiumBridge::databaseGetFileAttributes):
14672 (WebCore::ChromiumBridge::databaseGetFileSize):
14674 2009-11-12 Adam Barth <abarth>
14676 Reviewed by Dimitri Glazkov.
14678 [Chromium] reload-subframe-object.html fails
14679 https://bugs.webkit.org/show_bug.cgi?id=31398
14681 More closely match FrameLoaderClient.mm. Turns out we don't want to
14682 use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish
14683 between application/octet-stream and lack of knowledge of the MIME
14686 Covered by reload-subframe-object.html.
14688 * src/FrameLoaderClientImpl.cpp:
14689 (WebKit::FrameLoaderClientImpl::objectContentType):
14691 2009-11-12 Nate Chapin <japhet@chromium.org>
14693 Unreviewed, Chromium build fix.
14695 Add new accessibility enum values to Chromium enums from
14696 http://trac.webkit.org/changeset/50865 and
14697 http://trac.webkit.org/changeset/50883.
14699 https://bugs.webkit.org/show_bug.cgi?id=31424
14701 * public/WebAccessibilityRole.h:
14703 * src/AssertMatchingEnums.cpp:
14705 2009-11-12 Nicolas Weber <thakis@chromium.org>
14707 Reviewed by Dimitri Glazkov.
14709 Send |keypress()| events for keys with cmd down, like safari.
14710 Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a
14713 * src/mac/WebInputEventFactory.mm:
14714 (WebKit::WebInputEventFactory::keyboardEvent):
14716 2009-11-11 Jeremy Orlow <jorlow@chromium.org>
14718 Not reviewed. Build fix. Will be cleaned up in subsequent patch once we know exaclty what's going on.
14720 * src/WebBindings.cpp:
14722 2009-11-11 Drew Wilson <atwilson@chromium.org>
14724 Reviewed by Dimitri Glazkov.
14726 SharedWorkerRepository.connect() does not call WebSharedWorkerRepository
14727 https://bugs.webkit.org/show_bug.cgi?id=31371
14729 Test: Unit tests can be enabled downstream when this lands.
14731 * src/SharedWorkerRepository.cpp:
14732 (WebCore::SharedWorkerRepository::connect):
14733 Added missing call to WebSharedWorkerRepository.addSharedWorker().
14735 2009-11-11 Yaar Schnitman <yaar@chromium.org>
14737 Reviewed by Dimitri Glazkov.
14739 Tiny path fixes in Chromium API includes.
14741 https://bugs.webkit.org/show_bug.cgi?id=31369
14743 * public/linux/WebSandboxSupport.h: Fixed path.
14744 * src/WebBindings.cpp: Fixed path.
14746 2009-11-11 Nate Chapin <japhet@chromium.org>
14748 Reviewed by Dimitri Glazkov.
14750 http://trac.webkit.org/changeset/50811 removed some methods from
14751 platform/network/SocketStreamHandleClient.h, so remove them
14754 https://bugs.webkit.org/show_bug.cgi?id=31360
14756 * public/WebSocketStreamHandleClient.h:
14757 * src/SocketStreamHandle.cpp:
14758 (WebCore::SocketStreamHandleInternal::send):
14760 2009-11-11 Nate Chapin <japhet@chromium.org>
14762 Reviewed by Eric Seidel.
14764 Remove some additional references to dragSourceMovedTo() not
14765 needed after http://trac.webkit.org/changeset/50786.
14767 https://bugs.webkit.org/show_bug.cgi?id=31354
14769 * public/WebView.h:
14770 * src/WebViewImpl.h:
14772 2009-11-11 Nate Chapin <japhet@chromium.org>
14774 Reviewed by Dimitri Glazkov.
14776 Remove WebViewImpl::dragSourceMovedTo(), as it is no longer
14777 needed after http://trac.webkit.org/changeset/50786.
14779 https://bugs.webkit.org/show_bug.cgi?id=31354
14781 * src/WebViewImpl.cpp:
14783 2009-11-10 Nate Chapin <japhet@chromium.org>
14785 Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760.
14787 * src/WebFrameImpl.cpp:
14788 (WebKit::WebFrameImpl::paint):
14790 2009-11-10 Yaar Schnitman <yaar@chromium.org>
14792 Reviewed by Dimitri Glazkov.
14794 Modified WebKit.gyp to build the webkit api.
14796 https://bugs.webkit.org/show_bug.cgi?id=31320
14799 * WebKit.gyp: Added.
14800 * webkit.gyp: Removed.
14802 2009-11-10 Nate Chapin <japhet@chromium.org>
14804 Reviewed by Eric Seidel.
14806 Update references to Canvas 3D classes to use the WebGL prefix
14807 introduced in http://trac.webkit.org/changeset/50725.
14809 https://bugs.webkit.org/show_bug.cgi?id=31276
14811 * src/GraphicsContext3D.cpp:
14812 (WebCore::GraphicsContext3DInternal::beginPaint):
14813 (WebCore::GraphicsContext3DInternal::bindBuffer):
14814 (WebCore::GraphicsContext3DInternal::bindTexture):
14815 (WebCore::GraphicsContext3D::beginPaint):
14816 (WebCore::GraphicsContext3D::bindAttribLocation):
14817 (WebCore::GraphicsContext3D::bindBuffer):
14818 (WebCore::GraphicsContext3D::bindTexture):
14819 (WebCore::GraphicsContext3D::bufferData):
14820 (WebCore::GraphicsContext3D::bufferSubData):
14821 (WebCore::GraphicsContext3D::detachShader):
14822 (WebCore::GraphicsContext3D::getActiveAttrib):
14823 (WebCore::GraphicsContext3D::getActiveUniform):
14824 (WebCore::GraphicsContext3D::getAttribLocation):
14825 (WebCore::GraphicsContext3D::getBooleanv):
14826 (WebCore::GraphicsContext3D::getBufferParameteriv):
14827 (WebCore::GraphicsContext3D::getFloatv):
14828 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
14829 (WebCore::GraphicsContext3D::getIntegerv):
14830 (WebCore::GraphicsContext3D::getProgrami):
14831 (WebCore::GraphicsContext3D::getProgramiv):
14832 (WebCore::GraphicsContext3D::getProgramInfoLog):
14833 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
14834 (WebCore::GraphicsContext3D::getShaderi):
14835 (WebCore::GraphicsContext3D::getShaderiv):
14836 (WebCore::GraphicsContext3D::getShaderInfoLog):
14837 (WebCore::GraphicsContext3D::getShaderSource):
14838 (WebCore::GraphicsContext3D::getTexParameterfv):
14839 (WebCore::GraphicsContext3D::getTexParameteriv):
14840 (WebCore::GraphicsContext3D::getUniformf):
14841 (WebCore::GraphicsContext3D::getUniformfv):
14842 (WebCore::GraphicsContext3D::getUniformi):
14843 (WebCore::GraphicsContext3D::getUniformiv):
14844 (WebCore::GraphicsContext3D::getUniformLocation):
14845 (WebCore::GraphicsContext3D::getVertexAttribfv):
14846 (WebCore::GraphicsContext3D::getVertexAttribiv):
14847 (WebCore::GraphicsContext3D::isBuffer):
14848 (WebCore::GraphicsContext3D::isFramebuffer):
14849 (WebCore::GraphicsContext3D::isProgram):
14850 (WebCore::GraphicsContext3D::isRenderbuffer):
14851 (WebCore::GraphicsContext3D::isShader):
14852 (WebCore::GraphicsContext3D::isTexture):
14853 (WebCore::GraphicsContext3D::readPixels):
14854 (WebCore::GraphicsContext3D::shaderSource):
14855 (WebCore::GraphicsContext3D::texImage2D):
14856 (WebCore::GraphicsContext3D::texSubImage2D):
14858 2009-11-10 Yaar Schnitman <yaar@chromium.org>
14860 Reviewed by Dimitri Glazkov.
14862 Up-streaming Chromium API src files: WebWorker and friends.
14864 https://bugs.webkit.org/show_bug.cgi?id=31276
14866 * src/WebWorkerBase.cpp: Added.
14867 (WebKit::WorkerWebFrameClient::didCreateDataSource):
14868 (WebKit::WorkerWebFrameClient::sharedInstance):
14869 (WebKit::WorkerWebFrameClient::WorkerWebFrameClient):
14870 (WebKit::initializeWebKitStaticValues):
14871 (WebKit::WebWorkerBase::WebWorkerBase):
14872 (WebKit::WebWorkerBase::~WebWorkerBase):
14873 (WebKit::WebWorkerBase::stopWorkerThread):
14874 (WebKit::WebWorkerBase::initializeLoader):
14875 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
14876 (WebKit::WebWorkerBase::invokeTaskMethod):
14877 (WebKit::WebWorkerBase::postMessageToWorkerObject):
14878 (WebKit::WebWorkerBase::postMessageTask):
14879 (WebKit::WebWorkerBase::postExceptionToWorkerObject):
14880 (WebKit::WebWorkerBase::postExceptionTask):
14881 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
14882 (WebKit::WebWorkerBase::postConsoleMessageTask):
14883 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
14884 (WebKit::WebWorkerBase::confirmMessageTask):
14885 (WebKit::WebWorkerBase::reportPendingActivity):
14886 (WebKit::WebWorkerBase::reportPendingActivityTask):
14887 (WebKit::WebWorkerBase::workerContextClosed):
14888 (WebKit::WebWorkerBase::workerContextClosedTask):
14889 (WebKit::WebWorkerBase::workerContextDestroyed):
14890 (WebKit::WebWorkerBase::workerContextDestroyedTask):
14891 (WebKit::WebWorkerBase::postTaskToLoader):
14892 (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
14893 * src/WebWorkerBase.h: Added.
14894 (WebKit::WebWorkerBase::setWorkerThread):
14895 (WebKit::WebWorkerBase::workerThread):
14896 * src/WebWorkerClientImpl.cpp: Added.
14897 (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
14898 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
14899 (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
14900 (WebKit::WebWorkerClientImpl::setWebWorker):
14901 (WebKit::WebWorkerClientImpl::startWorkerContext):
14902 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
14903 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
14904 (WebKit::WebWorkerClientImpl::hasPendingActivity):
14905 (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
14906 (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
14907 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
14908 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
14909 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
14910 (WebKit::WebWorkerClientImpl::reportPendingActivity):
14911 (WebKit::WebWorkerClientImpl::workerContextDestroyed):
14912 (WebKit::WebWorkerClientImpl::workerContextClosed):
14913 (WebKit::WebWorkerClientImpl::startWorkerContextTask):
14914 (WebKit::WebWorkerClientImpl::terminateWorkerContextTask):
14915 (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask):
14916 (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask):
14917 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
14918 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
14919 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
14920 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask):
14921 (WebKit::WebWorkerClientImpl::reportPendingActivityTask):
14922 * src/WebWorkerClientImpl.h: Added.
14923 (WebKit::WebWorkerClientImpl::createWorker):
14924 (WebKit::WebWorkerClientImpl::notificationPresenter):
14925 * src/WebWorkerImpl.cpp: Added.
14926 (WebKit::WebWorker::create):
14927 (WebKit::WebWorkerImpl::WebWorkerImpl):
14928 (WebKit::WebWorkerImpl::~WebWorkerImpl):
14929 (WebKit::WebWorkerImpl::commonClient):
14930 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
14931 (WebKit::WebWorkerImpl::startWorkerContext):
14932 (WebKit::WebWorkerImpl::terminateWorkerContext):
14933 (WebKit::WebWorkerImpl::postMessageToWorkerContext):
14934 (WebKit::WebWorkerImpl::workerObjectDestroyed):
14935 (WebKit::WebWorkerImpl::clientDestroyed):
14936 * src/WebWorkerImpl.h: Added.
14937 (WebKit::WebWorkerImpl::client):
14939 2009-11-10 Yaar Schnitman <yaar@chromium.org>
14941 Reviewed by Dimitri Glazkov.
14943 Up-streaming Chromium API src files: Platform specific files.
14945 https://bugs.webkit.org/show_bug.cgi?id=31276
14947 * src/gtk/WebFontInfo.cpp: Added.
14948 (WebKit::WebFontInfo::familyForChars):
14949 * src/gtk/WebInputEventFactory.cpp: Added.
14950 (WebKit::gdkEventTimeToWebEventTime):
14951 (WebKit::gdkStateToWebEventModifiers):
14952 (WebKit::gdkEventToWindowsKeyCode):
14953 (WebKit::getControlCharacter):
14954 (WebKit::WebInputEventFactory::keyboardEvent):
14955 (WebKit::WebInputEventFactory::mouseEvent):
14956 (WebKit::WebInputEventFactory::mouseWheelEvent):
14957 * src/gtk/WebScreenInfoFactory.cpp: Added.
14958 (WebKit::WebScreenInfoFactory::screenInfo):
14959 * src/linux/WebFontRendering.cpp: Added.
14960 (WebKit::WebFontRendering::setHinting):
14961 (WebKit::WebFontRendering::setAntiAlias):
14962 (WebKit::WebFontRendering::setSubpixelGlyphs):
14963 (WebKit::WebFontRendering::setLCDOrder):
14964 (WebKit::WebFontRendering::setLCDOrientation):
14965 * src/mac/WebInputEventFactory.mm: Added.
14966 (WebKit::isKeyUpEvent):
14967 (WebKit::isKeypadEvent):
14968 (WebKit::windowsKeyCodeForKeyEvent):
14969 (WebKit::textFromEvent):
14970 (WebKit::unmodifiedTextFromEvent):
14971 (WebKit::keyIdentifierForKeyEvent):
14972 (WebKit::modifiersFromEvent):
14973 (WebKit::WebInputEventFactory::keyboardEvent):
14974 (WebKit::WebInputEventFactory::mouseEvent):
14975 (WebKit::WebInputEventFactory::mouseWheelEvent):
14976 * src/mac/WebScreenInfoFactory.mm: Added.
14977 (WebKit::screenForWindow):
14978 (WebKit::toUserSpace):
14979 (WebKit::WebScreenInfoFactory::screenInfo):
14980 * src/win/WebInputEventFactory.cpp: Added.
14981 (WebKit::isKeyPad):
14982 (WebKit::WebInputEventFactory::keyboardEvent):
14983 (WebKit::GetRelativeCursorPos):
14984 (WebKit::WebInputEventFactory::resetLastClickState):
14985 (WebKit::WebInputEventFactory::mouseEvent):
14986 (WebKit::WebInputEventFactory::mouseWheelEvent):
14987 * src/win/WebScreenInfoFactory.cpp: Added.
14988 (WebKit::toWebRect):
14989 (WebKit::WebScreenInfoFactory::screenInfo):
14990 * src/x11/WebScreenInfoFactory.cpp: Added.
14991 (WebKit::WebScreenInfoFactory::screenInfo):
14993 2009-11-10 Yaar Schnitman <yaar@chromium.org>
14995 Reviewed by Eric Seidel.
14997 Up-streaming Chromium API src files: WrapperResourceRequest and Response
14999 https://bugs.webkit.org/show_bug.cgi?id=31276
15001 * src/WrappedResourceRequest.h: Added.
15002 (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
15003 (WebKit::WrappedResourceRequest::WrappedResourceRequest):
15004 (WebKit::WrappedResourceRequest::bind):
15005 (WebKit::WrappedResourceRequest::Handle::dispose):
15006 * src/WrappedResourceResponse.h: Added.
15007 (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
15008 (WebKit::WrappedResourceResponse::WrappedResourceResponse):
15009 (WebKit::WrappedResourceResponse::bind):
15010 (WebKit::WrappedResourceResponse::Handle::dispose):
15012 2009-11-10 Yaar Schnitman <yaar@chromium.org>
15014 Reviewed by Dimitri Glazkov.
15016 Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy
15018 https://bugs.webkit.org/show_bug.cgi?id=31276
15020 * src/SocketStreamHandle.cpp: Added.
15021 (WebCore::SocketStreamHandleInternal::create):
15022 (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal):
15023 (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal):
15024 (WebCore::SocketStreamHandleInternal::connect):
15025 (WebCore::SocketStreamHandleInternal::send):
15026 (WebCore::SocketStreamHandleInternal::close):
15027 (WebCore::SocketStreamHandleInternal::willOpenStream):
15028 (WebCore::SocketStreamHandleInternal::didOpenStream):
15029 (WebCore::SocketStreamHandleInternal::didSendData):
15030 (WebCore::SocketStreamHandleInternal::didReceiveData):
15031 (WebCore::SocketStreamHandleInternal::didClose):
15032 (WebCore::SocketStreamHandleInternal::didFail):
15033 (WebCore::SocketStreamHandle::SocketStreamHandle):
15034 (WebCore::SocketStreamHandle::~SocketStreamHandle):
15035 (WebCore::SocketStreamHandle::platformSend):
15036 (WebCore::SocketStreamHandle::platformClose):
15037 (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
15038 (WebCore::SocketStreamHandle::receivedCredential):
15039 (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
15040 (WebCore::SocketStreamHandle::receivedCancellation):
15041 * src/StorageAreaProxy.cpp: Added.
15042 (WebCore::StorageAreaProxy::StorageAreaProxy):
15043 (WebCore::StorageAreaProxy::~StorageAreaProxy):
15044 (WebCore::StorageAreaProxy::length):
15045 (WebCore::StorageAreaProxy::key):
15046 (WebCore::StorageAreaProxy::getItem):
15047 (WebCore::StorageAreaProxy::setItem):
15048 (WebCore::StorageAreaProxy::removeItem):
15049 (WebCore::StorageAreaProxy::clear):
15050 (WebCore::StorageAreaProxy::contains):
15051 * src/StorageAreaProxy.h: Added.
15052 * src/StorageEventDispatcherChromium.cpp: Added.
15053 (WebCore::StorageEventDispatcher::dispatch):
15054 * src/StorageEventDispatcherImpl.cpp: Added.
15055 (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
15056 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
15057 * src/StorageEventDispatcherImpl.h: Added.
15058 * src/StorageNamespaceProxy.cpp: Added.
15059 (WebCore::StorageNamespace::localStorageNamespace):
15060 (WebCore::StorageNamespace::sessionStorageNamespace):
15061 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
15062 (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy):
15063 (WebCore::StorageNamespaceProxy::copy):
15064 (WebCore::StorageNamespaceProxy::storageArea):
15065 (WebCore::StorageNamespaceProxy::close):
15066 (WebCore::StorageNamespaceProxy::unlock):
15067 * src/StorageNamespaceProxy.h: Added.
15069 2009-11-10 Yaar Schnitman <yaar@chromium.org>
15071 Reviewed by Dimitri Glazkov.
15073 Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository
15075 https://bugs.webkit.org/show_bug.cgi?id=31276
15077 * src/NotificationPresenterImpl.cpp: Added.
15078 (WebKit::VoidCallbackClient::VoidCallbackClient):
15079 (WebKit::VoidCallbackClient::permissionRequestComplete):
15080 (WebKit::NotificationPresenterImpl::initialize):
15081 (WebKit::NotificationPresenterImpl::isInitialized):
15082 (WebKit::NotificationPresenterImpl::show):
15083 (WebKit::NotificationPresenterImpl::cancel):
15084 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
15085 (WebKit::NotificationPresenterImpl::checkPermission):
15086 (WebKit::NotificationPresenterImpl::requestPermission):
15087 * src/NotificationPresenterImpl.h: Added.
15088 (WebKit::NotificationPresenterImpl::NotificationPresenterImpl):
15089 * src/PlatformMessagePortChannel.cpp: Added.
15090 (WebCore::MessagePortChannel::create):
15091 (WebCore::MessagePortChannel::createChannel):
15092 (WebCore::MessagePortChannel::MessagePortChannel):
15093 (WebCore::MessagePortChannel::~MessagePortChannel):
15094 (WebCore::MessagePortChannel::entangleIfOpen):
15095 (WebCore::MessagePortChannel::disentangle):
15096 (WebCore::MessagePortChannel::postMessageToRemote):
15097 (WebCore::MessagePortChannel::tryGetMessageFromRemote):
15098 (WebCore::MessagePortChannel::close):
15099 (WebCore::MessagePortChannel::isConnectedTo):
15100 (WebCore::MessagePortChannel::hasPendingActivity):
15101 (WebCore::MessagePortChannel::locallyEntangledPort):
15102 (WebCore::PlatformMessagePortChannel::create):
15103 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
15104 (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel):
15105 (WebCore::PlatformMessagePortChannel::createChannel):
15106 (WebCore::PlatformMessagePortChannel::messageAvailable):
15107 (WebCore::PlatformMessagePortChannel::entangleIfOpen):
15108 (WebCore::PlatformMessagePortChannel::disentangle):
15109 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
15110 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
15111 (WebCore::PlatformMessagePortChannel::close):
15112 (WebCore::PlatformMessagePortChannel::isConnectedTo):
15113 (WebCore::PlatformMessagePortChannel::hasPendingActivity):
15114 (WebCore::PlatformMessagePortChannel::setEntangledChannel):
15115 (WebCore::PlatformMessagePortChannel::webChannelRelease):
15116 * src/PlatformMessagePortChannel.h: Added.
15117 * src/ResourceHandle.cpp: Added.
15118 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
15119 (WebCore::ResourceHandleInternal::start):
15120 (WebCore::ResourceHandleInternal::cancel):
15121 (WebCore::ResourceHandleInternal::setDefersLoading):
15122 (WebCore::ResourceHandleInternal::allowStoredCredentials):
15123 (WebCore::ResourceHandleInternal::willSendRequest):
15124 (WebCore::ResourceHandleInternal::didSendData):
15125 (WebCore::ResourceHandleInternal::didReceiveResponse):
15126 (WebCore::ResourceHandleInternal::didReceiveData):
15127 (WebCore::ResourceHandleInternal::didFinishLoading):
15128 (WebCore::ResourceHandleInternal::didFail):
15129 (WebCore::ResourceHandle::ResourceHandle):
15130 (WebCore::ResourceHandle::create):
15131 (WebCore::ResourceHandle::request):
15132 (WebCore::ResourceHandle::client):
15133 (WebCore::ResourceHandle::setClient):
15134 (WebCore::ResourceHandle::setDefersLoading):
15135 (WebCore::ResourceHandle::start):
15136 (WebCore::ResourceHandle::clearAuthentication):
15137 (WebCore::ResourceHandle::cancel):
15138 (WebCore::ResourceHandle::~ResourceHandle):
15139 (WebCore::ResourceHandle::bufferedData):
15140 (WebCore::ResourceHandle::loadsBlocked):
15141 (WebCore::ResourceHandle::supportsBufferedData):
15142 (WebCore::ResourceHandle::loadResourceSynchronously):
15143 (WebCore::ResourceHandle::willLoadFromCache):
15144 * src/SharedWorkerRepository.cpp: Added.
15145 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
15146 (WebCore::SharedWorkerScriptLoader::load):
15147 (WebCore::getWebPort):
15148 (WebCore::SharedWorkerScriptLoader::notifyFinished):
15149 (WebCore::SharedWorkerScriptLoader::sendConnect):
15150 (WebCore::SharedWorkerScriptLoader::contextDestroyed):
15151 (WebCore::SharedWorkerScriptLoader::connected):
15152 (WebCore::SharedWorkerRepository::isAvailable):
15154 (WebCore::SharedWorkerRepository::connect):
15155 (WebCore::SharedWorkerRepository::documentDetached):
15156 (WebCore::SharedWorkerRepository::hasSharedWorkers):
15158 2009-11-10 Yaar Schnitman <yaar@chromium.org>
15160 Reviewed by Dimitri Glazkov.
15162 Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium
15164 https://bugs.webkit.org/show_bug.cgi?id=31276
15166 * src/GraphicsContext3D.cpp: Added.
15167 (WebCore::GraphicsContext3DInternal::):
15168 (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
15169 (WebCore::tryLoad):
15170 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
15171 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
15172 (WebCore::GraphicsContext3DInternal::checkError):
15173 (WebCore::GraphicsContext3DInternal::makeContextCurrent):
15174 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
15175 (WebCore::GraphicsContext3DInternal::platformTexture):
15176 (WebCore::createTextureObject):
15177 (WebCore::GraphicsContext3DInternal::reshape):
15178 (WebCore::GraphicsContext3DInternal::flipVertically):
15179 (WebCore::GraphicsContext3DInternal::beginPaint):
15180 (WebCore::GraphicsContext3DInternal::validateTextureTarget):
15181 (WebCore::GraphicsContext3DInternal::validateTextureParameter):
15182 (WebCore::GraphicsContext3DInternal::activeTexture):
15183 (WebCore::GraphicsContext3DInternal::bindBuffer):
15184 (WebCore::GraphicsContext3DInternal::bindTexture):
15185 (WebCore::GraphicsContext3DInternal::bufferDataImpl):
15186 (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
15187 (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
15188 (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
15189 (WebCore::GraphicsContext3DInternal::viewportImpl):
15190 (WebCore::GraphicsContext3D::create):
15191 (WebCore::GraphicsContext3D::GraphicsContext3D):
15192 (WebCore::GraphicsContext3D::~GraphicsContext3D):
15193 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
15194 (WebCore::GraphicsContext3D::platformTexture):
15195 (WebCore::GraphicsContext3D::checkError):
15196 (WebCore::GraphicsContext3D::makeContextCurrent):
15197 (WebCore::GraphicsContext3D::reshape):
15198 (WebCore::GraphicsContext3D::beginPaint):
15199 (WebCore::GraphicsContext3D::endPaint):
15200 (WebCore::GraphicsContext3D::sizeInBytes):
15201 (WebCore::GraphicsContext3D::createBuffer):
15202 (WebCore::GraphicsContext3D::createFramebuffer):
15203 (WebCore::GraphicsContext3D::createProgram):
15204 (WebCore::GraphicsContext3D::createRenderbuffer):
15205 (WebCore::GraphicsContext3D::createShader):
15206 (WebCore::GraphicsContext3D::createTexture):
15207 (WebCore::GraphicsContext3D::deleteBuffer):
15208 (WebCore::GraphicsContext3D::deleteFramebuffer):
15209 (WebCore::GraphicsContext3D::deleteProgram):
15210 (WebCore::GraphicsContext3D::deleteRenderbuffer):
15211 (WebCore::GraphicsContext3D::deleteShader):
15212 (WebCore::GraphicsContext3D::deleteTexture):
15213 (WebCore::GraphicsContext3D::activeTexture):
15214 (WebCore::GraphicsContext3D::bindAttribLocation):
15215 (WebCore::GraphicsContext3D::bindBuffer):
15216 (WebCore::GraphicsContext3D::bindTexture):
15217 (WebCore::GraphicsContext3D::bufferData):
15218 (WebCore::GraphicsContext3D::bufferSubData):
15219 (WebCore::GraphicsContext3D::checkFramebufferStatus):
15220 (WebCore::GraphicsContext3D::detachShader):
15221 (WebCore::GraphicsContext3D::disableVertexAttribArray):
15222 (WebCore::GraphicsContext3D::drawArrays):
15223 (WebCore::GraphicsContext3D::drawElements):
15224 (WebCore::GraphicsContext3D::enableVertexAttribArray):
15225 (WebCore::GraphicsContext3D::generateMipmap):
15226 (WebCore::GraphicsContext3D::getActiveAttrib):
15227 (WebCore::GraphicsContext3D::getActiveUniform):
15228 (WebCore::GraphicsContext3D::getAttribLocation):
15229 (WebCore::GraphicsContext3D::getBoolean):
15230 (WebCore::GraphicsContext3D::getBooleanv):
15231 (WebCore::GraphicsContext3D::getBufferParameteri):
15232 (WebCore::GraphicsContext3D::getBufferParameteriv):
15233 (WebCore::GraphicsContext3D::getError):
15234 (WebCore::GraphicsContext3D::getFloat):
15235 (WebCore::GraphicsContext3D::getFloatv):
15236 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri):
15237 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
15238 (WebCore::GraphicsContext3D::getInteger):
15239 (WebCore::GraphicsContext3D::getIntegerv):
15240 (WebCore::GraphicsContext3D::getProgrami):
15241 (WebCore::GraphicsContext3D::getProgramiv):
15242 (WebCore::GraphicsContext3D::getProgramInfoLog):
15243 (WebCore::GraphicsContext3D::getRenderbufferParameteri):
15244 (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
15245 (WebCore::GraphicsContext3D::getShaderi):
15246 (WebCore::GraphicsContext3D::getShaderiv):
15247 (WebCore::GraphicsContext3D::getShaderInfoLog):
15248 (WebCore::GraphicsContext3D::getShaderSource):
15249 (WebCore::GraphicsContext3D::getString):
15250 (WebCore::GraphicsContext3D::getTexParameterf):
15251 (WebCore::GraphicsContext3D::getTexParameterfv):
15252 (WebCore::GraphicsContext3D::getTexParameteri):
15253 (WebCore::GraphicsContext3D::getTexParameteriv):
15254 (WebCore::GraphicsContext3D::getUniformf):
15255 (WebCore::GraphicsContext3D::getUniformfv):
15256 (WebCore::GraphicsContext3D::getUniformi):
15257 (WebCore::GraphicsContext3D::getUniformiv):
15258 (WebCore::GraphicsContext3D::getUniformLocation):
15259 (WebCore::GraphicsContext3D::getVertexAttribf):
15260 (WebCore::GraphicsContext3D::getVertexAttribfv):
15261 (WebCore::GraphicsContext3D::getVertexAttribi):
15262 (WebCore::GraphicsContext3D::getVertexAttribiv):
15263 (WebCore::GraphicsContext3D::getVertexAttribOffset):
15264 (WebCore::GraphicsContext3D::isBuffer):
15265 (WebCore::GraphicsContext3D::isEnabled):
15266 (WebCore::GraphicsContext3D::isFramebuffer):
15267 (WebCore::GraphicsContext3D::isProgram):
15268 (WebCore::GraphicsContext3D::isRenderbuffer):
15269 (WebCore::GraphicsContext3D::isShader):
15270 (WebCore::GraphicsContext3D::isTexture):
15271 (WebCore::GraphicsContext3D::pixelStorei):
15272 (WebCore::GraphicsContext3D::readPixels):
15273 (WebCore::GraphicsContext3D::releaseShaderCompiler):
15274 (WebCore::GraphicsContext3D::shaderSource):
15275 (WebCore::GraphicsContext3D::texImage2D):
15276 (WebCore::unmultiplyAlpha):
15277 (WebCore::texImage2DHelper):
15278 (WebCore::GraphicsContext3D::texSubImage2D):
15279 (WebCore::GraphicsContext3D::uniform1fv):
15280 (WebCore::GraphicsContext3D::uniform1iv):
15281 (WebCore::GraphicsContext3D::uniform2fv):
15282 (WebCore::GraphicsContext3D::uniform2iv):
15283 (WebCore::GraphicsContext3D::uniform3fv):
15284 (WebCore::GraphicsContext3D::uniform3iv):
15285 (WebCore::GraphicsContext3D::uniform4fv):
15286 (WebCore::GraphicsContext3D::uniform4iv):
15287 (WebCore::GraphicsContext3D::uniformMatrix2fv):
15288 (WebCore::GraphicsContext3D::uniformMatrix3fv):
15289 (WebCore::GraphicsContext3D::uniformMatrix4fv):
15290 (WebCore::GraphicsContext3D::vertexAttrib1fv):
15291 (WebCore::GraphicsContext3D::vertexAttrib2fv):
15292 (WebCore::GraphicsContext3D::vertexAttrib3fv):
15293 (WebCore::GraphicsContext3D::vertexAttrib4fv):
15294 (WebCore::GraphicsContext3D::vertexAttribPointer):
15295 (WebCore::GraphicsContext3D::viewport):
15296 * src/InspectorClientImpl.cpp: Added.
15297 (WebKit::InspectorClientImpl::InspectorClientImpl):
15298 (WebKit::InspectorClientImpl::~InspectorClientImpl):
15299 (WebKit::InspectorClientImpl::inspectorDestroyed):
15300 (WebKit::InspectorClientImpl::createPage):
15301 (WebKit::InspectorClientImpl::showWindow):
15302 (WebKit::InspectorClientImpl::closeWindow):
15303 (WebKit::InspectorClientImpl::windowVisible):
15304 (WebKit::InspectorClientImpl::attachWindow):
15305 (WebKit::InspectorClientImpl::detachWindow):
15306 (WebKit::InspectorClientImpl::setAttachedWindowHeight):
15307 (WebKit::invalidateNodeBoundingRect):
15308 (WebKit::InspectorClientImpl::highlight):
15309 (WebKit::InspectorClientImpl::hideHighlight):
15310 (WebKit::InspectorClientImpl::inspectedURLChanged):
15311 (WebKit::InspectorClientImpl::localizedStringsURL):
15312 (WebKit::InspectorClientImpl::hiddenPanels):
15313 (WebKit::InspectorClientImpl::populateSetting):
15314 (WebKit::InspectorClientImpl::storeSetting):
15315 (WebKit::InspectorClientImpl::removeSetting):
15316 (WebKit::InspectorClientImpl::inspectorWindowObjectCleared):
15317 (WebKit::InspectorClientImpl::loadSettings):
15318 (WebKit::InspectorClientImpl::saveSettings):
15319 * src/InspectorClientImpl.h: Added.
15320 * src/LocalizedStrings.cpp: Added.
15322 (WebCore::searchableIndexIntroduction):
15323 (WebCore::submitButtonDefaultLabel):
15324 (WebCore::inputElementAltText):
15325 (WebCore::resetButtonDefaultLabel):
15326 (WebCore::fileButtonChooseFileLabel):
15327 (WebCore::fileButtonNoFileSelectedLabel):
15328 (WebCore::searchMenuNoRecentSearchesText):
15329 (WebCore::searchMenuRecentSearchesText):
15330 (WebCore::searchMenuClearRecentSearchesText):
15331 (WebCore::AXWebAreaText):
15332 (WebCore::AXLinkText):
15333 (WebCore::AXListMarkerText):
15334 (WebCore::AXImageMapText):
15335 (WebCore::AXHeadingText):
15336 (WebCore::AXDefinitionListTermText):
15337 (WebCore::AXDefinitionListDefinitionText):
15338 (WebCore::AXButtonActionVerb):
15339 (WebCore::AXRadioButtonActionVerb):
15340 (WebCore::AXTextFieldActionVerb):
15341 (WebCore::AXCheckedCheckBoxActionVerb):
15342 (WebCore::AXUncheckedCheckBoxActionVerb):
15343 (WebCore::AXLinkActionVerb):
15344 (WebCore::multipleFileUploadText):
15345 (WebCore::unknownFileSizeText):
15346 (WebCore::keygenMenuHighGradeKeySize):
15347 (WebCore::keygenMenuMediumGradeKeySize):
15348 (WebCore::imageTitle):
15349 (WebCore::contextMenuItemTagOpenLinkInNewWindow):
15350 (WebCore::contextMenuItemTagDownloadLinkToDisk):
15351 (WebCore::contextMenuItemTagCopyLinkToClipboard):
15352 (WebCore::contextMenuItemTagOpenImageInNewWindow):
15353 (WebCore::contextMenuItemTagDownloadImageToDisk):
15354 (WebCore::contextMenuItemTagCopyImageToClipboard):
15355 (WebCore::contextMenuItemTagOpenFrameInNewWindow):
15356 (WebCore::contextMenuItemTagCopy):
15357 (WebCore::contextMenuItemTagGoBack):
15358 (WebCore::contextMenuItemTagGoForward):
15359 (WebCore::contextMenuItemTagStop):
15360 (WebCore::contextMenuItemTagReload):
15361 (WebCore::contextMenuItemTagCut):
15362 (WebCore::contextMenuItemTagPaste):
15363 (WebCore::contextMenuItemTagNoGuessesFound):
15364 (WebCore::contextMenuItemTagIgnoreSpelling):
15365 (WebCore::contextMenuItemTagLearnSpelling):
15366 (WebCore::contextMenuItemTagSearchWeb):
15367 (WebCore::contextMenuItemTagLookUpInDictionary):
15368 (WebCore::contextMenuItemTagOpenLink):
15369 (WebCore::contextMenuItemTagIgnoreGrammar):
15370 (WebCore::contextMenuItemTagSpellingMenu):
15371 (WebCore::contextMenuItemTagCheckSpelling):
15372 (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
15373 (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
15374 (WebCore::contextMenuItemTagFontMenu):
15375 (WebCore::contextMenuItemTagBold):
15376 (WebCore::contextMenuItemTagItalic):
15377 (WebCore::contextMenuItemTagUnderline):
15378 (WebCore::contextMenuItemTagOutline):
15379 (WebCore::contextMenuItemTagWritingDirectionMenu):
15380 (WebCore::contextMenuItemTagTextDirectionMenu):
15381 (WebCore::contextMenuItemTagDefaultDirection):
15382 (WebCore::contextMenuItemTagLeftToRight):
15383 (WebCore::contextMenuItemTagRightToLeft):
15384 (WebCore::contextMenuItemTagInspectElement):
15385 (WebCore::contextMenuItemTagShowSpellingPanel):
15386 (WebCore::mediaElementLiveBroadcastStateText):
15387 (WebCore::mediaElementLoadingStateText):
15388 (WebCore::localizedMediaControlElementString):
15389 (WebCore::localizedMediaControlElementHelpText):
15390 (WebCore::localizedMediaTimeDescription):
15391 * src/MediaPlayerPrivateChromium.cpp: Added.
15392 (WebCore::MediaPlayerPrivate::registerMediaEngine):
15394 2009-11-10 Yaar Schnitman <yaar@chromium.org>
15396 Reviewed by Dimitri Glazkov.
15398 Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl
15400 https://bugs.webkit.org/show_bug.cgi?id=31276
15402 * src/DOMUtilitiesPrivate.cpp: Added.
15403 (WebCore::toHTMLElement):
15404 (WebKit::toHTMLInputElement):
15405 (WebKit::toHTMLLinkElement):
15406 (WebKit::toHTMLMetaElement):
15407 (WebKit::toHTMLOptionElement):
15408 (WebKit::nameOfInputElement):
15409 * src/DOMUtilitiesPrivate.h: Added.
15410 * src/DragClientImpl.cpp: Added.
15411 (WebKit::DragClientImpl::willPerformDragDestinationAction):
15412 (WebKit::DragClientImpl::willPerformDragSourceAction):
15413 (WebKit::DragClientImpl::actionMaskForDrag):
15414 (WebKit::DragClientImpl::dragSourceActionMaskForPoint):
15415 (WebKit::DragClientImpl::startDrag):
15416 (WebKit::DragClientImpl::createDragImageForLink):
15417 (WebKit::DragClientImpl::dragControllerDestroyed):
15418 * src/DragClientImpl.h: Added.
15419 (WebKit::DragClientImpl::DragClientImpl):
15420 * src/EditorClientImpl.cpp: Added.
15421 (WebKit::EditorClientImpl::EditorClientImpl):
15422 (WebKit::EditorClientImpl::~EditorClientImpl):
15423 (WebKit::EditorClientImpl::pageDestroyed):
15424 (WebKit::EditorClientImpl::shouldShowDeleteInterface):
15425 (WebKit::EditorClientImpl::smartInsertDeleteEnabled):
15426 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
15427 (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
15428 (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled):
15429 (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
15430 (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
15431 (WebKit::EditorClientImpl::toggleGrammarChecking):
15432 (WebKit::EditorClientImpl::spellCheckerDocumentTag):
15433 (WebKit::EditorClientImpl::isEditable):
15434 (WebKit::EditorClientImpl::shouldBeginEditing):
15435 (WebKit::EditorClientImpl::shouldEndEditing):
15436 (WebKit::EditorClientImpl::shouldInsertNode):
15437 (WebKit::EditorClientImpl::shouldInsertText):
15438 (WebKit::EditorClientImpl::shouldDeleteRange):
15439 (WebKit::EditorClientImpl::shouldChangeSelectedRange):
15440 (WebKit::EditorClientImpl::shouldApplyStyle):
15441 (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete):
15442 (WebKit::EditorClientImpl::didBeginEditing):
15443 (WebKit::EditorClientImpl::respondToChangedSelection):
15444 (WebKit::EditorClientImpl::respondToChangedContents):
15445 (WebKit::EditorClientImpl::didEndEditing):
15446 (WebKit::EditorClientImpl::didWriteSelectionToPasteboard):
15447 (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard):
15448 (WebKit::EditorClientImpl::registerCommandForUndo):
15449 (WebKit::EditorClientImpl::registerCommandForRedo):
15450 (WebKit::EditorClientImpl::clearUndoRedoOperations):
15451 (WebKit::EditorClientImpl::canUndo):
15452 (WebKit::EditorClientImpl::canRedo):
15453 (WebKit::EditorClientImpl::undo):
15454 (WebKit::EditorClientImpl::redo):
15456 (WebKit::EditorClientImpl::interpretKeyEvent):
15457 (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
15458 (WebKit::EditorClientImpl::handleKeyboardEvent):
15459 (WebKit::EditorClientImpl::handleInputMethodKeydown):
15460 (WebKit::EditorClientImpl::textFieldDidBeginEditing):
15461 (WebKit::EditorClientImpl::textFieldDidEndEditing):
15462 (WebKit::EditorClientImpl::textDidChangeInTextField):
15463 (WebKit::EditorClientImpl::showFormAutofillForNode):
15464 (WebKit::EditorClientImpl::autofill):
15465 (WebKit::EditorClientImpl::doAutofill):
15466 (WebKit::EditorClientImpl::cancelPendingAutofill):
15467 (WebKit::EditorClientImpl::onAutofillSuggestionAccepted):
15468 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
15469 (WebKit::EditorClientImpl::textWillBeDeletedInTextField):
15470 (WebKit::EditorClientImpl::textDidChangeInTextArea):
15471 (WebKit::EditorClientImpl::ignoreWordInSpellDocument):
15472 (WebKit::EditorClientImpl::learnWord):
15473 (WebKit::EditorClientImpl::checkSpellingOfString):
15474 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
15475 (WebKit::EditorClientImpl::checkGrammarOfString):
15476 (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString):
15477 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
15478 (WebKit::EditorClientImpl::showSpellingUI):
15479 (WebKit::EditorClientImpl::spellingUIIsShowing):
15480 (WebKit::EditorClientImpl::getGuessesForWord):
15481 (WebKit::EditorClientImpl::setInputMethodState):
15482 * src/EditorClientImpl.h: Added.
15483 (WebKit::EditorClientImpl::):
15484 * src/FrameLoaderClientImpl.cpp: Added.
15486 (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
15487 (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl):
15488 (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed):
15489 (WebKit::FrameLoaderClientImpl::windowObjectCleared):
15490 (WebKit::FrameLoaderClientImpl::documentElementAvailable):
15491 (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
15492 (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
15493 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
15494 (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation):
15495 (WebKit::FrameLoaderClientImpl::registerForIconNotification):
15496 (WebKit::FrameLoaderClientImpl::didChangeScrollOffset):
15497 (WebKit::FrameLoaderClientImpl::allowJavaScript):
15498 (WebKit::FrameLoaderClientImpl::hasWebView):
15499 (WebKit::FrameLoaderClientImpl::hasFrameView):
15500 (WebKit::FrameLoaderClientImpl::makeDocumentView):
15501 (WebKit::FrameLoaderClientImpl::makeRepresentation):
15502 (WebKit::FrameLoaderClientImpl::forceLayout):
15503 (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML):
15504 (WebKit::FrameLoaderClientImpl::setCopiesOnScroll):
15505 (WebKit::FrameLoaderClientImpl::detachedFromParent2):
15506 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
15507 (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest):
15508 (WebKit::determineTargetTypeFromLoader):
15509 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
15510 (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage):
15511 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge):
15512 (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge):
15513 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse):
15514 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
15515 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading):
15516 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading):
15517 (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
15518 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache):
15519 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest):
15520 (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents):
15521 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad):
15522 (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect):
15523 (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
15524 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
15525 (WebKit::FrameLoaderClientImpl::dispatchWillClose):
15526 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon):
15527 (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad):
15528 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
15529 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
15530 (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad):
15531 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad):
15532 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad):
15533 (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
15534 (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
15535 (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
15536 (WebKit::FrameLoaderClientImpl::dispatchShow):
15537 (WebKit::shouldTreatAsAttachment):
15538 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
15539 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
15540 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
15541 (WebKit::FrameLoaderClientImpl::cancelPolicyCheck):
15542 (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy):
15543 (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm):
15544 (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource):
15545 (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
15546 (WebKit::FrameLoaderClientImpl::setMainDocumentError):
15547 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
15548 (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
15549 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
15550 (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady):
15551 (WebKit::FrameLoaderClientImpl::startDownload):
15552 (WebKit::FrameLoaderClientImpl::willChangeTitle):
15553 (WebKit::FrameLoaderClientImpl::didChangeTitle):
15554 (WebKit::FrameLoaderClientImpl::committedLoad):
15555 (WebKit::FrameLoaderClientImpl::finishedLoading):
15556 (WebKit::FrameLoaderClientImpl::updateGlobalHistory):
15557 (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks):
15558 (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem):
15559 (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent):
15560 (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
15561 (WebKit::FrameLoaderClientImpl::blockedError):
15562 (WebKit::FrameLoaderClientImpl::cancelledError):
15563 (WebKit::FrameLoaderClientImpl::cannotShowURLError):
15564 (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError):
15565 (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError):
15566 (WebKit::FrameLoaderClientImpl::fileDoesNotExistError):
15567 (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError):
15568 (WebKit::FrameLoaderClientImpl::shouldFallBack):
15569 (WebKit::FrameLoaderClientImpl::canHandleRequest):
15570 (WebKit::FrameLoaderClientImpl::canShowMIMEType):
15571 (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme):
15572 (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme):
15573 (WebKit::FrameLoaderClientImpl::frameLoadCompleted):
15574 (WebKit::FrameLoaderClientImpl::saveViewStateToItem):
15575 (WebKit::FrameLoaderClientImpl::restoreViewState):
15576 (WebKit::FrameLoaderClientImpl::provisionalLoadStarted):
15577 (WebKit::FrameLoaderClientImpl::didFinishLoad):
15578 (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement):
15579 (WebKit::FrameLoaderClientImpl::createDocumentLoader):
15580 (WebKit::FrameLoaderClientImpl::setTitle):
15581 (WebKit::FrameLoaderClientImpl::userAgent):
15582 (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame):
15583 (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame):
15584 (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage):
15585 (WebKit::FrameLoaderClientImpl::canCachePage):
15586 (WebKit::FrameLoaderClientImpl::download):
15587 (WebKit::FrameLoaderClientImpl::createFrame):
15588 (WebKit::FrameLoaderClientImpl::createPlugin):
15589 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
15590 (WebKit::FrameLoaderClientImpl::createJavaAppletWidget):
15591 (WebKit::FrameLoaderClientImpl::objectContentType):
15592 (WebKit::FrameLoaderClientImpl::overrideMediaType):
15593 (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
15594 (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation):
15595 (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
15596 * src/FrameLoaderClientImpl.h: Added.
15597 (WebKit::FrameLoaderClientImpl::webFrame):
15598 (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress):
15599 (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress):
15601 2009-11-10 Yaar Schnitman <yaar@chromium.org>
15603 Reviewed by Dimitri Glazkov.
15605 Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl
15607 https://bugs.webkit.org/show_bug.cgi?id=31276
15609 * src/ChromeClientImpl.cpp: Added.
15610 (WebKit::ChromeClientImpl::ChromeClientImpl):
15611 (WebKit::ChromeClientImpl::~ChromeClientImpl):
15612 (WebKit::ChromeClientImpl::chromeDestroyed):
15613 (WebKit::ChromeClientImpl::setWindowRect):
15614 (WebKit::ChromeClientImpl::windowRect):
15615 (WebKit::ChromeClientImpl::pageRect):
15616 (WebKit::ChromeClientImpl::scaleFactor):
15617 (WebKit::ChromeClientImpl::focus):
15618 (WebKit::ChromeClientImpl::unfocus):
15619 (WebKit::ChromeClientImpl::canTakeFocus):
15620 (WebKit::ChromeClientImpl::takeFocus):
15621 (WebKit::ChromeClientImpl::focusedNodeChanged):
15622 (WebKit::ChromeClientImpl::createWindow):
15623 (WebKit::currentEventShouldCauseBackgroundTab):
15624 (WebKit::ChromeClientImpl::show):
15625 (WebKit::ChromeClientImpl::canRunModal):
15626 (WebKit::ChromeClientImpl::runModal):
15627 (WebKit::ChromeClientImpl::setToolbarsVisible):
15628 (WebKit::ChromeClientImpl::toolbarsVisible):
15629 (WebKit::ChromeClientImpl::setStatusbarVisible):
15630 (WebKit::ChromeClientImpl::statusbarVisible):
15631 (WebKit::ChromeClientImpl::setScrollbarsVisible):
15632 (WebKit::ChromeClientImpl::scrollbarsVisible):
15633 (WebKit::ChromeClientImpl::setMenubarVisible):
15634 (WebKit::ChromeClientImpl::menubarVisible):
15635 (WebKit::ChromeClientImpl::setResizable):
15636 (WebKit::ChromeClientImpl::addMessageToConsole):
15637 (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel):
15638 (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel):
15639 (WebKit::ChromeClientImpl::closeWindowSoon):
15640 (WebKit::ChromeClientImpl::runJavaScriptAlert):
15641 (WebKit::ChromeClientImpl::runJavaScriptConfirm):
15642 (WebKit::ChromeClientImpl::runJavaScriptPrompt):
15643 (WebKit::ChromeClientImpl::setStatusbarText):
15644 (WebKit::ChromeClientImpl::shouldInterruptJavaScript):
15645 (WebKit::ChromeClientImpl::tabsToLinks):
15646 (WebKit::ChromeClientImpl::windowResizerRect):
15647 (WebKit::ChromeClientImpl::repaint):
15648 (WebKit::ChromeClientImpl::scroll):
15649 (WebKit::ChromeClientImpl::screenToWindow):
15650 (WebKit::ChromeClientImpl::windowToScreen):
15651 (WebKit::ChromeClientImpl::contentsSizeChanged):
15652 (WebKit::ChromeClientImpl::scrollbarsModeDidChange):
15653 (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
15654 (WebKit::ChromeClientImpl::setToolTip):
15655 (WebKit::ChromeClientImpl::print):
15656 (WebKit::ChromeClientImpl::exceededDatabaseQuota):
15657 (WebKit::ChromeClientImpl::reachedMaxAppCacheSize):
15658 (WebKit::ChromeClientImpl::runOpenPanel):
15659 (WebKit::ChromeClientImpl::popupOpened):
15660 (WebKit::ChromeClientImpl::setCursor):
15661 (WebKit::ChromeClientImpl::setCursorForPlugin):
15662 (WebKit::ChromeClientImpl::formStateDidChange):
15663 (WebKit::ChromeClientImpl::getPopupMenuInfo):
15664 (WebKit::ChromeClientImpl::notificationPresenter):
15665 * src/ChromeClientImpl.h: Added.
15666 (WebKit::ChromeClientImpl::webView):
15667 (WebKit::ChromeClientImpl::platformPageClient):
15668 (WebKit::ChromeClientImpl::scrollRectIntoView):
15669 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
15670 (WebKit::ChromeClientImpl::setCursor):
15671 (WebKit::ChromeClientImpl::createHTMLParserQuirks):
15672 * src/ChromiumBridge.cpp: Added.
15673 (WebCore::toChromeClientImpl):
15674 (WebCore::toWebWidgetClient):
15675 (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
15676 (WebCore::ChromiumBridge::clipboardReadPlainText):
15677 (WebCore::ChromiumBridge::clipboardReadHTML):
15678 (WebCore::ChromiumBridge::clipboardWriteSelection):
15679 (WebCore::ChromiumBridge::clipboardWritePlainText):
15680 (WebCore::ChromiumBridge::clipboardWriteURL):
15681 (WebCore::ChromiumBridge::clipboardWriteImage):
15682 (WebCore::ChromiumBridge::setCookies):
15683 (WebCore::ChromiumBridge::cookies):
15684 (WebCore::ChromiumBridge::rawCookies):
15685 (WebCore::ChromiumBridge::deleteCookie):
15686 (WebCore::ChromiumBridge::prefetchDNS):
15687 (WebCore::ChromiumBridge::fileExists):
15688 (WebCore::ChromiumBridge::deleteFile):
15689 (WebCore::ChromiumBridge::deleteEmptyDirectory):
15690 (WebCore::ChromiumBridge::getFileSize):
15691 (WebCore::ChromiumBridge::getFileModificationTime):
15692 (WebCore::ChromiumBridge::directoryName):
15693 (WebCore::ChromiumBridge::pathByAppendingComponent):
15694 (WebCore::ChromiumBridge::makeAllDirectories):
15695 (WebCore::ChromiumBridge::getAbsolutePath):
15696 (WebCore::ChromiumBridge::isDirectory):
15697 (WebCore::ChromiumBridge::filePathToURL):
15698 (WebCore::ChromiumBridge::ensureFontLoaded):
15699 (WebCore::ChromiumBridge::getFontFamilyForCharacters):
15700 (WebCore::ChromiumBridge::databaseOpenFile):
15701 (WebCore::ChromiumBridge::databaseDeleteFile):
15702 (WebCore::ChromiumBridge::databaseGetFileAttributes):
15703 (WebCore::ChromiumBridge::databaseGetFileSize):
15704 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
15705 (WebCore::ChromiumBridge::computedDefaultLanguage):
15706 (WebCore::ChromiumBridge::layoutTestMode):
15707 (WebCore::ChromiumBridge::isSupportedImageMIMEType):
15708 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
15709 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
15710 (WebCore::ChromiumBridge::mimeTypeForExtension):
15711 (WebCore::ChromiumBridge::mimeTypeFromFile):
15712 (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
15713 (WebCore::ChromiumBridge::plugins):
15714 (WebCore::ChromiumBridge::pluginScriptableObject):
15715 (WebCore::ChromiumBridge::loadPlatformImageResource):
15716 (WebCore::ChromiumBridge::sandboxEnabled):
15717 (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
15718 (WebCore::ChromiumBridge::setSharedTimerFireTime):
15719 (WebCore::ChromiumBridge::stopSharedTimer):
15720 (WebCore::ChromiumBridge::decrementStatsCounter):
15721 (WebCore::ChromiumBridge::incrementStatsCounter):
15722 (WebCore::ChromiumBridge::suddenTerminationChanged):
15723 (WebCore::ChromiumBridge::currentTime):
15724 (WebCore::ChromiumBridge::paintButton):
15725 (WebCore::ChromiumBridge::paintMenuList):
15726 (WebCore::ChromiumBridge::paintScrollbarArrow):
15727 (WebCore::ChromiumBridge::paintScrollbarThumb):
15728 (WebCore::ChromiumBridge::paintScrollbarTrack):
15729 (WebCore::ChromiumBridge::paintTextField):
15730 (WebCore::ChromiumBridge::paintTrackbar):
15731 (WebCore::ChromiumBridge::traceEventBegin):
15732 (WebCore::ChromiumBridge::traceEventEnd):
15733 (WebCore::ChromiumBridge::visitedLinkHash):
15734 (WebCore::ChromiumBridge::isLinkVisited):
15735 (WebCore::ChromiumBridge::notifyJSOutOfMemory):
15736 (WebCore::ChromiumBridge::memoryUsageMB):
15737 (WebCore::ChromiumBridge::screenDepth):
15738 (WebCore::ChromiumBridge::screenDepthPerComponent):
15739 (WebCore::ChromiumBridge::screenIsMonochrome):
15740 (WebCore::ChromiumBridge::screenRect):
15741 (WebCore::ChromiumBridge::screenAvailableRect):
15742 (WebCore::ChromiumBridge::popupsAllowed):
15743 (WebCore::ChromiumBridge::widgetSetCursor):
15744 (WebCore::ChromiumBridge::widgetSetFocus):
15745 (WebCore::WorkerContextProxy::create):
15746 * src/ChromiumCurrentTime.cpp: Added.
15747 (WTF::currentTime):
15748 * src/ChromiumThreading.cpp: Added.
15749 (WTF::ChromiumThreading::initializeMainThread):
15750 (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread):
15751 * src/ContextMenuClientImpl.cpp: Added.
15752 (WebKit::urlFromFrame):
15753 (WebKit::isASingleWord):
15754 (WebKit::selectMisspelledWord):
15755 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
15756 * src/ContextMenuClientImpl.h: Added.
15757 (WebKit::ContextMenuClientImpl::ContextMenuClientImpl):
15758 (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl):
15759 (WebKit::ContextMenuClientImpl::copyImageToClipboard):
15760 (WebKit::ContextMenuClientImpl::contextMenuDestroyed):
15761 (WebKit::ContextMenuClientImpl::contextMenuItemSelected):
15762 (WebKit::ContextMenuClientImpl::downloadURL):
15763 (WebKit::ContextMenuClientImpl::isSpeaking):
15764 (WebKit::ContextMenuClientImpl::lookUpInDictionary):
15765 (WebKit::ContextMenuClientImpl::searchWithGoogle):
15766 (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem):
15767 (WebKit::ContextMenuClientImpl::speak):
15768 (WebKit::ContextMenuClientImpl::stopSpeaking):
15770 2009-11-10 Yaar Schnitman <yaar@chromium.org>
15772 Reviewed by Dimitri Glazkov.
15774 Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl
15776 https://bugs.webkit.org/show_bug.cgi?id=31276
15778 * src/ApplicationCacheHost.cpp: Added.
15779 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
15780 (WebCore::ApplicationCacheHostInternal::notifyEventListener):
15781 (WebCore::ApplicationCacheHost::ApplicationCacheHost):
15782 (WebCore::ApplicationCacheHost::~ApplicationCacheHost):
15783 (WebCore::ApplicationCacheHost::maybeLoadMainResource):
15784 (WebCore::ApplicationCacheHost::selectCacheWithoutManifest):
15785 (WebCore::ApplicationCacheHost::selectCacheWithManifest):
15786 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
15787 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
15788 (WebCore::ApplicationCacheHost::mainResourceDataReceived):
15789 (WebCore::ApplicationCacheHost::failedLoadingMainResource):
15790 (WebCore::ApplicationCacheHost::finishedLoadingMainResource):
15791 (WebCore::ApplicationCacheHost::maybeLoadResource):
15792 (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect):
15793 (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse):
15794 (WebCore::ApplicationCacheHost::maybeLoadFallbackForError):
15795 (WebCore::ApplicationCacheHost::maybeLoadSynchronously):
15796 (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously):
15797 (WebCore::ApplicationCacheHost::canCacheInPageCache):
15798 (WebCore::ApplicationCacheHost::setDOMApplicationCache):
15799 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
15800 (WebCore::ApplicationCacheHost::status):
15801 (WebCore::ApplicationCacheHost::update):
15802 (WebCore::ApplicationCacheHost::swapCache):
15803 (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
15804 * src/AssertMatchingEnums.cpp: Added.
15805 * src/AutocompletePopupMenuClient.cpp: Added.
15806 (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient):
15807 (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient):
15808 (WebKit::AutocompletePopupMenuClient::initialize):
15809 (WebKit::AutocompletePopupMenuClient::valueChanged):
15810 (WebKit::AutocompletePopupMenuClient::itemText):
15811 (WebKit::AutocompletePopupMenuClient::itemStyle):
15812 (WebKit::AutocompletePopupMenuClient::menuStyle):
15813 (WebKit::AutocompletePopupMenuClient::clientPaddingLeft):
15814 (WebKit::AutocompletePopupMenuClient::clientPaddingRight):
15815 (WebKit::AutocompletePopupMenuClient::popupDidHide):
15816 (WebKit::AutocompletePopupMenuClient::setTextFromItem):
15817 (WebKit::AutocompletePopupMenuClient::fontSelector):
15818 (WebKit::AutocompletePopupMenuClient::hostWindow):
15819 (WebKit::AutocompletePopupMenuClient::createScrollbar):
15820 (WebKit::AutocompletePopupMenuClient::setSuggestions):
15821 (WebKit::AutocompletePopupMenuClient::removeItemAtIndex):
15822 (WebKit::AutocompletePopupMenuClient::textFieldStyle):
15823 * src/AutocompletePopupMenuClient.h: Added.
15824 (WebKit::AutocompletePopupMenuClient::textField):
15825 (WebKit::AutocompletePopupMenuClient::itemToolTip):
15826 (WebKit::AutocompletePopupMenuClient::itemIsEnabled):
15827 (WebKit::AutocompletePopupMenuClient::clientInsetLeft):
15828 (WebKit::AutocompletePopupMenuClient::clientInsetRight):
15829 (WebKit::AutocompletePopupMenuClient::listSize):
15830 (WebKit::AutocompletePopupMenuClient::selectedIndex):
15831 (WebKit::AutocompletePopupMenuClient::itemIsSeparator):
15832 (WebKit::AutocompletePopupMenuClient::itemIsLabel):
15833 (WebKit::AutocompletePopupMenuClient::itemIsSelected):
15834 (WebKit::AutocompletePopupMenuClient::shouldPopOver):
15835 (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack):
15836 * src/BackForwardListClientImpl.cpp: Added.
15837 (WebKit::BackForwardListClientImpl::BackForwardListClientImpl):
15838 (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl):
15839 (WebKit::BackForwardListClientImpl::setCurrentHistoryItem):
15840 (WebKit::BackForwardListClientImpl::previousHistoryItem):
15841 (WebKit::BackForwardListClientImpl::addItem):
15842 (WebKit::BackForwardListClientImpl::goToItem):
15843 (WebKit::BackForwardListClientImpl::currentItem):
15844 (WebKit::BackForwardListClientImpl::itemAtIndex):
15845 (WebKit::BackForwardListClientImpl::backListCount):
15846 (WebKit::BackForwardListClientImpl::forwardListCount):
15847 (WebKit::BackForwardListClientImpl::close):
15848 * src/BackForwardListClientImpl.h: Added.
15850 2009-11-10 Yaar Schnitman <yaar@chromium.org>
15852 Reviewed by Dimitri Glazkov.
15854 Up-streaming Chromium API src files: WebString...WebViewImpl
15856 https://bugs.webkit.org/show_bug.cgi?id=31276
15858 * src/WebString.cpp: Added.
15859 (WebKit::WebString::reset):
15860 (WebKit::WebString::assign):
15861 (WebKit::WebString::length):
15862 (WebKit::WebString::data):
15863 (WebKit::WebString::utf8):
15864 (WebKit::WebString::fromUTF8):
15865 (WebKit::WebString::WebString):
15866 (WebKit::WebString::operator=):
15867 (WebKit::WebString::operator WebCore::String):
15868 (WebKit::WebString::operator WebCore::AtomicString):
15869 * src/WebURL.cpp: Added.
15870 (WebKit::WebURL::WebURL):
15871 (WebKit::WebURL::operator=):
15872 (WebKit::WebURL::operator WebCore::KURL):
15873 * src/WebURLError.cpp: Added.
15874 (WebKit::WebURLError::WebURLError):
15875 (WebKit::WebURLError::operator=):
15876 (WebKit::WebURLError::operator ResourceError):
15877 * src/WebURLRequest.cpp: Added.
15878 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
15879 (WebKit::WebURLRequestPrivateImpl::dispose):
15880 (WebKit::WebURLRequest::initialize):
15881 (WebKit::WebURLRequest::reset):
15882 (WebKit::WebURLRequest::assign):
15883 (WebKit::WebURLRequest::isNull):
15884 (WebKit::WebURLRequest::url):
15885 (WebKit::WebURLRequest::setURL):
15886 (WebKit::WebURLRequest::firstPartyForCookies):
15887 (WebKit::WebURLRequest::setFirstPartyForCookies):
15888 (WebKit::WebURLRequest::allowCookies):
15889 (WebKit::WebURLRequest::setAllowCookies):
15890 (WebKit::WebURLRequest::allowStoredCredentials):
15891 (WebKit::WebURLRequest::setAllowStoredCredentials):
15892 (WebKit::WebURLRequest::cachePolicy):
15893 (WebKit::WebURLRequest::setCachePolicy):
15894 (WebKit::WebURLRequest::httpMethod):
15895 (WebKit::WebURLRequest::setHTTPMethod):
15896 (WebKit::WebURLRequest::httpHeaderField):
15897 (WebKit::WebURLRequest::setHTTPHeaderField):
15898 (WebKit::WebURLRequest::addHTTPHeaderField):
15899 (WebKit::WebURLRequest::clearHTTPHeaderField):
15900 (WebKit::WebURLRequest::visitHTTPHeaderFields):
15901 (WebKit::WebURLRequest::httpBody):
15902 (WebKit::WebURLRequest::setHTTPBody):
15903 (WebKit::WebURLRequest::reportUploadProgress):
15904 (WebKit::WebURLRequest::setReportUploadProgress):
15905 (WebKit::WebURLRequest::targetType):
15906 (WebKit::WebURLRequest::setTargetType):
15907 (WebKit::WebURLRequest::requestorID):
15908 (WebKit::WebURLRequest::setRequestorID):
15909 (WebKit::WebURLRequest::requestorProcessID):
15910 (WebKit::WebURLRequest::setRequestorProcessID):
15911 (WebKit::WebURLRequest::appCacheHostID):
15912 (WebKit::WebURLRequest::setAppCacheHostID):
15913 (WebKit::WebURLRequest::toMutableResourceRequest):
15914 (WebKit::WebURLRequest::toResourceRequest):
15915 * src/WebURLRequestPrivate.h: Added.
15916 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
15917 * src/WebURLResponse.cpp: Added.
15918 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
15919 (WebKit::WebURLResponsePrivateImpl::dispose):
15920 (WebKit::WebURLResponse::initialize):
15921 (WebKit::WebURLResponse::reset):
15922 (WebKit::WebURLResponse::assign):
15923 (WebKit::WebURLResponse::isNull):
15924 (WebKit::WebURLResponse::url):
15925 (WebKit::WebURLResponse::setURL):
15926 (WebKit::WebURLResponse::mimeType):
15927 (WebKit::WebURLResponse::setMIMEType):
15928 (WebKit::WebURLResponse::expectedContentLength):
15929 (WebKit::WebURLResponse::setExpectedContentLength):
15930 (WebKit::WebURLResponse::textEncodingName):
15931 (WebKit::WebURLResponse::setTextEncodingName):
15932 (WebKit::WebURLResponse::suggestedFileName):
15933 (WebKit::WebURLResponse::setSuggestedFileName):
15934 (WebKit::WebURLResponse::httpStatusCode):
15935 (WebKit::WebURLResponse::setHTTPStatusCode):
15936 (WebKit::WebURLResponse::httpStatusText):
15937 (WebKit::WebURLResponse::setHTTPStatusText):
15938 (WebKit::WebURLResponse::httpHeaderField):
15939 (WebKit::WebURLResponse::setHTTPHeaderField):
15940 (WebKit::WebURLResponse::addHTTPHeaderField):
15941 (WebKit::WebURLResponse::clearHTTPHeaderField):
15942 (WebKit::WebURLResponse::visitHTTPHeaderFields):
15943 (WebKit::WebURLResponse::lastModifiedDate):
15944 (WebKit::WebURLResponse::setLastModifiedDate):
15945 (WebKit::WebURLResponse::isContentFiltered):
15946 (WebKit::WebURLResponse::setIsContentFiltered):
15947 (WebKit::WebURLResponse::appCacheID):
15948 (WebKit::WebURLResponse::setAppCacheID):
15949 (WebKit::WebURLResponse::appCacheManifestURL):
15950 (WebKit::WebURLResponse::setAppCacheManifestURL):
15951 (WebKit::WebURLResponse::securityInfo):
15952 (WebKit::WebURLResponse::setSecurityInfo):
15953 (WebKit::WebURLResponse::toMutableResourceResponse):
15954 (WebKit::WebURLResponse::toResourceResponse):
15955 * src/WebURLResponsePrivate.h: Added.
15956 (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
15957 * src/WebViewImpl.cpp: Added.
15959 (WebKit::WebView::create):
15960 (WebKit::WebView::updateVisitedLinkState):
15961 (WebKit::WebView::resetVisitedLinkState):
15962 (WebKit::WebViewImpl::initializeMainFrame):
15963 (WebKit::WebViewImpl::WebViewImpl):
15964 (WebKit::WebViewImpl::~WebViewImpl):
15965 (WebKit::WebViewImpl::theme):
15966 (WebKit::WebViewImpl::mainFrameImpl):
15967 (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
15968 (WebKit::WebViewImpl::setTabKeyCyclesThroughElements):
15969 (WebKit::WebViewImpl::mouseMove):
15970 (WebKit::WebViewImpl::mouseLeave):
15971 (WebKit::WebViewImpl::mouseDown):
15972 (WebKit::WebViewImpl::mouseContextMenu):
15973 (WebKit::WebViewImpl::mouseUp):
15974 (WebKit::WebViewImpl::mouseWheel):
15975 (WebKit::WebViewImpl::keyEvent):
15976 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
15977 (WebKit::WebViewImpl::charEvent):
15978 (WebKit::WebViewImpl::sendContextMenuEvent):
15979 (WebKit::WebViewImpl::keyEventDefault):
15980 (WebKit::WebViewImpl::scrollViewWithKeyboard):
15981 (WebKit::WebViewImpl::propagateScroll):
15982 (WebKit::WebViewImpl::focusedWebCoreFrame):
15983 (WebKit::WebViewImpl::fromPage):
15984 (WebKit::WebViewImpl::close):
15985 (WebKit::WebViewImpl::resize):
15986 (WebKit::WebViewImpl::layout):
15987 (WebKit::WebViewImpl::paint):
15988 (WebKit::WebViewImpl::handleInputEvent):
15989 (WebKit::WebViewImpl::mouseCaptureLost):
15990 (WebKit::WebViewImpl::setFocus):
15991 (WebKit::WebViewImpl::handleCompositionEvent):
15992 (WebKit::WebViewImpl::queryCompositionStatus):
15993 (WebKit::WebViewImpl::setTextDirection):
15994 (WebKit::WebViewImpl::settings):
15995 (WebKit::WebViewImpl::pageEncoding):
15996 (WebKit::WebViewImpl::setPageEncoding):
15997 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
15998 (WebKit::WebViewImpl::dispatchUnloadEvent):
15999 (WebKit::WebViewImpl::mainFrame):
16000 (WebKit::WebViewImpl::findFrameByName):
16001 (WebKit::WebViewImpl::focusedFrame):
16002 (WebKit::WebViewImpl::setFocusedFrame):
16003 (WebKit::WebViewImpl::setInitialFocus):
16004 (WebKit::WebViewImpl::clearFocusedNode):
16005 (WebKit::WebViewImpl::zoomIn):
16006 (WebKit::WebViewImpl::zoomOut):
16007 (WebKit::WebViewImpl::zoomDefault):
16008 (WebKit::WebViewImpl::performMediaPlayerAction):
16009 (WebKit::WebViewImpl::copyImageAt):
16010 (WebKit::WebViewImpl::dragSourceEndedAt):
16011 (WebKit::WebViewImpl::dragSourceMovedTo):
16012 (WebKit::WebViewImpl::dragSourceSystemDragEnded):
16013 (WebKit::WebViewImpl::dragTargetDragEnter):
16014 (WebKit::WebViewImpl::dragTargetDragOver):
16015 (WebKit::WebViewImpl::dragTargetDragLeave):
16016 (WebKit::WebViewImpl::dragTargetDrop):
16017 (WebKit::WebViewImpl::dragIdentity):
16018 (WebKit::WebViewImpl::inspectElementAt):
16019 (WebKit::WebViewImpl::inspectorSettings):
16020 (WebKit::WebViewImpl::setInspectorSettings):
16021 (WebKit::WebViewImpl::devToolsAgent):
16022 (WebKit::WebViewImpl::setDevToolsAgent):
16023 (WebKit::WebViewImpl::accessibilityObject):
16024 (WebKit::WebViewImpl::applyAutofillSuggestions):
16025 (WebKit::WebViewImpl::hideAutofillPopup):
16026 (WebKit::WebViewImpl::setDropEffect):
16027 (WebKit::WebViewImpl::setIsTransparent):
16028 (WebKit::WebViewImpl::isTransparent):
16029 (WebKit::WebViewImpl::setIsActive):
16030 (WebKit::WebViewImpl::isActive):
16031 (WebKit::WebViewImpl::didCommitLoad):
16032 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
16033 (WebKit::WebViewImpl::startDragging):
16034 (WebKit::WebViewImpl::setCurrentHistoryItem):
16035 (WebKit::WebViewImpl::previousHistoryItem):
16036 (WebKit::WebViewImpl::observeNewNavigation):
16037 (WebKit::WebViewImpl::hideAutoCompletePopup):
16038 (WebKit::WebViewImpl::autoCompletePopupDidHide):
16039 (WebKit::WebViewImpl::setIgnoreInputEvents):
16040 (WebKit::WebViewImpl::notificationPresenterImpl):
16041 (WebKit::WebViewImpl::refreshAutofillPopup):
16042 (WebKit::WebViewImpl::focusedWebCoreNode):
16043 (WebKit::WebViewImpl::hitTestResultForWindowPos):
16044 (WebKit::WebViewImpl::setTabsToLinks):
16045 (WebKit::WebViewImpl::tabsToLinks):
16046 * src/WebViewImpl.h: Added.
16047 (WebKit::WebViewImpl::size):
16048 (WebKit::WebViewImpl::devToolsAgentPrivate):
16049 (WebKit::WebViewImpl::lastMouseDownPoint):
16050 (WebKit::WebViewImpl::client):
16051 (WebKit::WebViewImpl::page):
16052 (WebKit::WebViewImpl::contextMenuAllowed):
16053 (WebKit::WebViewImpl::setInitialNavigationPolicy):
16054 (WebKit::WebViewImpl::initialNavigationPolicy):
16055 (WebKit::WebViewImpl::currentInputEvent):
16056 (WebKit::WebViewImpl::):
16058 2009-11-10 Yaar Schnitman <yaar@chromium.org>
16060 Reviewed by Dimitri Glazkov.
16062 Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl
16064 https://bugs.webkit.org/show_bug.cgi?id=31276
16066 * src/WebScriptController.cpp: Added.
16067 (WebKit::WebScriptController::registerExtension):
16068 (WebKit::WebScriptController::enableV8SingleThreadMode):
16069 (WebKit::WebScriptController::flushConsoleMessages):
16070 * src/WebSearchableFormData.cpp: Added.
16071 (WebCore::GetFormEncoding):
16072 (WebCore::IsHTTPFormSubmit):
16073 (WebCore::GetButtonToActivate):
16074 (WebCore::IsSelectInDefaultState):
16075 (WebCore::IsInDefaultState):
16076 (WebCore::HasSuitableTextElement):
16077 (WebKit::WebSearchableFormData::WebSearchableFormData):
16078 * src/WebSecurityOrigin.cpp: Added.
16079 (WebKit::WebSecurityOrigin::reset):
16080 (WebKit::WebSecurityOrigin::assign):
16081 (WebKit::WebSecurityOrigin::protocol):
16082 (WebKit::WebSecurityOrigin::host):
16083 (WebKit::WebSecurityOrigin::port):
16084 (WebKit::WebSecurityOrigin::isEmpty):
16085 (WebKit::WebSecurityOrigin::toString):
16086 (WebKit::WebSecurityOrigin::databaseIdentifier):
16087 (WebKit::WebSecurityOrigin::WebSecurityOrigin):
16088 (WebKit::WebSecurityOrigin::operator=):
16089 (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>):
16090 * src/WebSecurityPolicy.cpp: Added.
16091 (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
16092 (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
16093 (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
16094 (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
16095 * src/WebSettingsImpl.cpp: Added.
16096 (WebKit::WebSettingsImpl::WebSettingsImpl):
16097 (WebKit::WebSettingsImpl::setStandardFontFamily):
16098 (WebKit::WebSettingsImpl::setFixedFontFamily):
16099 (WebKit::WebSettingsImpl::setSerifFontFamily):
16100 (WebKit::WebSettingsImpl::setSansSerifFontFamily):
16101 (WebKit::WebSettingsImpl::setCursiveFontFamily):
16102 (WebKit::WebSettingsImpl::setFantasyFontFamily):
16103 (WebKit::WebSettingsImpl::setDefaultFontSize):
16104 (WebKit::WebSettingsImpl::setDefaultFixedFontSize):
16105 (WebKit::WebSettingsImpl::setMinimumFontSize):
16106 (WebKit::WebSettingsImpl::setMinimumLogicalFontSize):
16107 (WebKit::WebSettingsImpl::setDefaultTextEncodingName):
16108 (WebKit::WebSettingsImpl::setJavaScriptEnabled):
16109 (WebKit::WebSettingsImpl::setWebSecurityEnabled):
16110 (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically):
16111 (WebKit::WebSettingsImpl::setLoadsImagesAutomatically):
16112 (WebKit::WebSettingsImpl::setPluginsEnabled):
16113 (WebKit::WebSettingsImpl::setDOMPasteAllowed):
16114 (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled):
16115 (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit):
16116 (WebKit::WebSettingsImpl::setUsesEncodingDetector):
16117 (WebKit::WebSettingsImpl::setTextAreasAreResizable):
16118 (WebKit::WebSettingsImpl::setJavaEnabled):
16119 (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows):
16120 (WebKit::WebSettingsImpl::setUserStyleSheetLocation):
16121 (WebKit::WebSettingsImpl::setUsesPageCache):
16122 (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled):
16123 (WebKit::WebSettingsImpl::setXSSAuditorEnabled):
16124 (WebKit::WebSettingsImpl::setLocalStorageEnabled):
16125 (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive):
16126 (WebKit::WebSettingsImpl::setFontRenderingModeNormal):
16127 (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
16128 (WebKit::WebSettingsImpl::setDatabasesEnabled):
16129 (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs):
16130 (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded):
16131 (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled):
16132 (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled):
16133 * src/WebSettingsImpl.h: Added.
16134 (WebKit::WebSettingsImpl::~WebSettingsImpl):
16135 * src/WebSharedWorkerImpl.cpp: Added.
16136 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
16137 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
16138 (WebKit::WebSharedWorkerImpl::isStarted):
16139 (WebKit::WebSharedWorkerImpl::connect):
16140 (WebKit::WebSharedWorkerImpl::connectTask):
16141 (WebKit::WebSharedWorkerImpl::startWorkerContext):
16142 (WebKit::WebSharedWorkerImpl::terminateWorkerContext):
16143 (WebKit::WebSharedWorkerImpl::clientDestroyed):
16144 (WebKit::WebSharedWorkerImpl::client):
16145 (WebKit::WebSharedWorker::create):
16146 * src/WebSharedWorkerImpl.h: Added.
16147 (WebKit::WebSharedWorkerImpl::commonClient):
16148 * src/WebStorageAreaImpl.cpp: Added.
16149 (WebKit::WebStorageAreaImpl::WebStorageAreaImpl):
16150 (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl):
16151 (WebKit::WebStorageAreaImpl::length):
16152 (WebKit::WebStorageAreaImpl::key):
16153 (WebKit::WebStorageAreaImpl::getItem):
16154 (WebKit::WebStorageAreaImpl::setItem):
16155 (WebKit::WebStorageAreaImpl::removeItem):
16156 (WebKit::WebStorageAreaImpl::clear):
16157 * src/WebStorageAreaImpl.h: Added.
16158 (WebKit::WebStorageAreaImpl::currentStorageEventURL):
16159 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL):
16160 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL):
16161 * src/WebStorageEventDispatcherImpl.cpp: Added.
16162 (WebKit::WebStorageEventDispatcher::create):
16163 (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
16164 (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
16165 * src/WebStorageEventDispatcherImpl.h: Added.
16166 * src/WebStorageNamespaceImpl.cpp: Added.
16167 (WebKit::WebStorageNamespace::createLocalStorageNamespace):
16168 (WebKit::WebStorageNamespace::createSessionStorageNamespace):
16169 (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl):
16170 (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl):
16171 (WebKit::WebStorageNamespaceImpl::createStorageArea):
16172 (WebKit::WebStorageNamespaceImpl::copy):
16173 (WebKit::WebStorageNamespaceImpl::close):
16174 * src/WebStorageNamespaceImpl.h: Added.
16176 2009-11-10 Yaar Schnitman <yaar@chromium.org>
16178 Reviewed by Dimitri Glazkov.
16180 Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures
16182 https://bugs.webkit.org/show_bug.cgi?id=31276
16184 * src/WebPasswordFormData.cpp: Added.
16186 (WebKit::WebPasswordFormData::WebPasswordFormData):
16187 * src/WebPasswordFormUtils.cpp: Added.
16188 (WebKit::findPasswordFormFields):
16189 * src/WebPasswordFormUtils.h: Added.
16190 (WebKit::PasswordFormFields::PasswordFormFields):
16191 * src/WebPluginContainerImpl.cpp: Added.
16192 (WebKit::WebPluginContainerImpl::setFrameRect):
16193 (WebKit::WebPluginContainerImpl::paint):
16194 (WebKit::WebPluginContainerImpl::invalidateRect):
16195 (WebKit::WebPluginContainerImpl::setFocus):
16196 (WebKit::WebPluginContainerImpl::show):
16197 (WebKit::WebPluginContainerImpl::hide):
16198 (WebKit::WebPluginContainerImpl::handleEvent):
16199 (WebKit::WebPluginContainerImpl::frameRectsChanged):
16200 (WebKit::WebPluginContainerImpl::setParentVisible):
16201 (WebKit::WebPluginContainerImpl::setParent):
16202 (WebKit::WebPluginContainerImpl::invalidate):
16203 (WebKit::WebPluginContainerImpl::reportGeometry):
16204 (WebKit::WebPluginContainerImpl::clearScriptObjects):
16205 (WebKit::WebPluginContainerImpl::scriptableObjectForElement):
16206 (WebKit::WebPluginContainerImpl::executeScriptURL):
16207 (WebKit::WebPluginContainerImpl::loadFrameRequest):
16208 (WebKit::WebPluginContainerImpl::didReceiveResponse):
16209 (WebKit::WebPluginContainerImpl::didReceiveData):
16210 (WebKit::WebPluginContainerImpl::didFinishLoading):
16211 (WebKit::WebPluginContainerImpl::didFailLoading):
16212 (WebKit::WebPluginContainerImpl::scriptableObject):
16213 (WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver):
16214 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
16215 (WebKit::WebPluginContainerImpl::handleMouseEvent):
16216 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
16217 (WebKit::WebPluginContainerImpl::calculateGeometry):
16218 (WebKit::WebPluginContainerImpl::windowClipRect):
16219 (WebKit::getObjectStack):
16220 (WebKit::checkStackOnTop):
16221 (WebKit::WebPluginContainerImpl::windowCutOutRects):
16222 * src/WebPluginContainerImpl.h: Added.
16223 (WebKit::WebPluginContainerImpl::create):
16224 (WebKit::WebPluginContainerImpl::plugin):
16225 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
16226 * src/WebPluginListBuilderImpl.cpp: Added.
16227 (WebKit::WebPluginListBuilderImpl::addPlugin):
16228 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
16229 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
16230 * src/WebPluginListBuilderImpl.h: Added.
16231 (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
16232 * src/WebPluginLoadObserver.cpp: Added.
16233 (WebKit::WebPluginLoadObserver::~WebPluginLoadObserver):
16234 (WebKit::WebPluginLoadObserver::didFinishLoading):
16235 (WebKit::WebPluginLoadObserver::didFailLoading):
16236 * src/WebPluginLoadObserver.h: Added.
16237 (WebKit::WebPluginLoadObserver::WebPluginLoadObserver):
16238 (WebKit::WebPluginLoadObserver::url):
16239 (WebKit::WebPluginLoadObserver::clearPluginContainer):
16240 * src/WebPopupMenuImpl.cpp: Added.
16241 (WebKit::WebPopupMenu::create):
16242 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
16243 (WebKit::WebPopupMenuImpl::~WebPopupMenuImpl):
16244 (WebKit::WebPopupMenuImpl::Init):
16245 (WebKit::WebPopupMenuImpl::MouseMove):
16246 (WebKit::WebPopupMenuImpl::MouseLeave):
16247 (WebKit::WebPopupMenuImpl::MouseDown):
16248 (WebKit::WebPopupMenuImpl::MouseUp):
16249 (WebKit::WebPopupMenuImpl::MouseWheel):
16250 (WebKit::WebPopupMenuImpl::KeyEvent):
16251 (WebKit::WebPopupMenuImpl::close):
16252 (WebKit::WebPopupMenuImpl::resize):
16253 (WebKit::WebPopupMenuImpl::layout):
16254 (WebKit::WebPopupMenuImpl::paint):
16255 (WebKit::WebPopupMenuImpl::handleInputEvent):
16256 (WebKit::WebPopupMenuImpl::mouseCaptureLost):
16257 (WebKit::WebPopupMenuImpl::setFocus):
16258 (WebKit::WebPopupMenuImpl::handleCompositionEvent):
16259 (WebKit::WebPopupMenuImpl::queryCompositionStatus):
16260 (WebKit::WebPopupMenuImpl::setTextDirection):
16261 (WebKit::WebPopupMenuImpl::repaint):
16262 (WebKit::WebPopupMenuImpl::scroll):
16263 (WebKit::WebPopupMenuImpl::screenToWindow):
16264 (WebKit::WebPopupMenuImpl::windowToScreen):
16265 (WebKit::WebPopupMenuImpl::scrollRectIntoView):
16266 (WebKit::WebPopupMenuImpl::scrollbarsModeDidChange):
16267 (WebKit::WebPopupMenuImpl::popupClosed):
16268 * src/WebPopupMenuImpl.h: Added.
16269 (WebKit::WebPopupMenuImpl::size):
16270 (WebKit::WebPopupMenuImpl::client):
16271 (WebKit::WebPopupMenuImpl::platformPageClient):
16272 * src/WebRange.cpp: Added.
16273 (WebKit::WebRange::reset):
16274 (WebKit::WebRange::assign):
16275 (WebKit::WebRange::startOffset):
16276 (WebKit::WebRange::endOffset):
16277 (WebKit::WebRange::startContainer):
16278 (WebKit::WebRange::endContainer):
16279 (WebKit::WebRange::toHTMLText):
16280 (WebKit::WebRange::toPlainText):
16281 (WebKit::WebRange::WebRange):
16282 (WebKit::WebRange::operator=):
16283 (WebKit::WebRange::operator WTF::PassRefPtr<WebCore::Range>):
16284 * src/WebRuntimeFeatures.cpp: Added.
16285 (WebKit::WebRuntimeFeatures::enableDatabase):
16286 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
16287 (WebKit::WebRuntimeFeatures::enableLocalStorage):
16288 (WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
16289 (WebKit::WebRuntimeFeatures::enableSessionStorage):
16290 (WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
16291 (WebKit::WebRuntimeFeatures::enableMediaPlayer):
16292 (WebKit::WebRuntimeFeatures::isMediaPlayerEnabled):
16293 (WebKit::WebRuntimeFeatures::enableSockets):
16294 (WebKit::WebRuntimeFeatures::isSocketsEnabled):
16295 (WebKit::WebRuntimeFeatures::enableNotifications):
16296 (WebKit::WebRuntimeFeatures::isNotificationsEnabled):
16297 (WebKit::WebRuntimeFeatures::enableApplicationCache):
16298 (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
16300 2009-11-09 Yaar Schnitman <yaar@chromium.org>
16302 Reviewed by Dimitri Glazkov.
16304 Up-streaming Chromium API src files: WebFileInputElement...WebNotifications
16306 https://bugs.webkit.org/show_bug.cgi?id=31276
16308 * src/WebInputElement.cpp: Added.
16309 (WebKit::WebInputElement::WebInputElement):
16310 (WebKit::WebInputElement::operator=):
16311 (WebKit::WebInputElement::operator WTF::PassRefPtr<HTMLInputElement>):
16312 (WebKit::WebInputElement::setActivatedSubmit):
16313 (WebKit::WebInputElement::setValue):
16314 (WebKit::WebInputElement::value):
16315 (WebKit::WebInputElement::setAutofilled):
16316 (WebKit::WebInputElement::dispatchFormControlChangeEvent):
16317 (WebKit::WebInputElement::setSelectionRange):
16318 * src/WebInputEvent.cpp: Added.
16319 (WebKit::staticKeyIdentifiers):
16320 (WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode):
16321 * src/WebInputEventConversion.cpp: Added.
16322 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
16323 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
16324 (WebKit::toPlatformKeyboardEventType):
16325 (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
16326 (WebKit::PlatformKeyboardEventBuilder::setKeyType):
16327 (WebKit::PlatformKeyboardEventBuilder::isCharacterKey):
16328 (WebKit::getWebInputModifiers):
16329 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
16330 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
16331 * src/WebInputEventConversion.h: Added.
16332 * src/WebKit.cpp: Added.
16333 (WebKit::initialize):
16334 (WebKit::shutdown):
16335 (WebKit::webKitClient):
16336 (WebKit::setLayoutTestMode):
16337 (WebKit::layoutTestMode):
16338 (WebKit::resetPluginCache):
16339 * src/WebMediaPlayerClientImpl.cpp: Added.
16340 (WebKit::createWebMediaPlayer):
16341 (WebKit::WebMediaPlayerClientImpl::isEnabled):
16342 (WebKit::WebMediaPlayerClientImpl::setIsEnabled):
16343 (WebKit::WebMediaPlayerClientImpl::registerSelf):
16344 (WebKit::WebMediaPlayerClientImpl::networkStateChanged):
16345 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
16346 (WebKit::WebMediaPlayerClientImpl::volumeChanged):
16347 (WebKit::WebMediaPlayerClientImpl::timeChanged):
16348 (WebKit::WebMediaPlayerClientImpl::repaint):
16349 (WebKit::WebMediaPlayerClientImpl::durationChanged):
16350 (WebKit::WebMediaPlayerClientImpl::rateChanged):
16351 (WebKit::WebMediaPlayerClientImpl::sizeChanged):
16352 (WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks):
16353 (WebKit::WebMediaPlayerClientImpl::load):
16354 (WebKit::WebMediaPlayerClientImpl::cancelLoad):
16355 (WebKit::WebMediaPlayerClientImpl::play):
16356 (WebKit::WebMediaPlayerClientImpl::pause):
16357 (WebKit::WebMediaPlayerClientImpl::naturalSize):
16358 (WebKit::WebMediaPlayerClientImpl::hasVideo):
16359 (WebKit::WebMediaPlayerClientImpl::hasAudio):
16360 (WebKit::WebMediaPlayerClientImpl::setVisible):
16361 (WebKit::WebMediaPlayerClientImpl::duration):
16362 (WebKit::WebMediaPlayerClientImpl::currentTime):
16363 (WebKit::WebMediaPlayerClientImpl::seek):
16364 (WebKit::WebMediaPlayerClientImpl::seeking):
16365 (WebKit::WebMediaPlayerClientImpl::setEndTime):
16366 (WebKit::WebMediaPlayerClientImpl::setRate):
16367 (WebKit::WebMediaPlayerClientImpl::paused):
16368 (WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
16369 (WebKit::WebMediaPlayerClientImpl::supportsSave):
16370 (WebKit::WebMediaPlayerClientImpl::setVolume):
16371 (WebKit::WebMediaPlayerClientImpl::networkState):
16372 (WebKit::WebMediaPlayerClientImpl::readyState):
16373 (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
16374 (WebKit::WebMediaPlayerClientImpl::buffered):
16375 (WebKit::WebMediaPlayerClientImpl::dataRate):
16376 (WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
16377 (WebKit::WebMediaPlayerClientImpl::totalBytes):
16378 (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
16379 (WebKit::WebMediaPlayerClientImpl::setSize):
16380 (WebKit::WebMediaPlayerClientImpl::paint):
16381 (WebKit::WebMediaPlayerClientImpl::setAutobuffer):
16382 (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
16383 (WebKit::WebMediaPlayerClientImpl::movieLoadType):
16384 (WebKit::WebMediaPlayerClientImpl::create):
16385 (WebKit::WebMediaPlayerClientImpl::getSupportedTypes):
16386 (WebKit::WebMediaPlayerClientImpl::supportsType):
16387 (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
16388 * src/WebMediaPlayerClientImpl.h: Added.
16389 * src/WebNode.cpp: Added.
16390 (WebKit::WebNode::reset):
16391 (WebKit::WebNode::assign):
16392 (WebKit::WebNode::parentNode):
16393 (WebKit::WebNode::nodeName):
16394 (WebKit::WebNode::WebNode):
16395 (WebKit::WebNode::operator=):
16396 (WebKit::WebNode::operator WTF::PassRefPtr<WebCore::Node>):
16397 (WebKit::WebNode::frame):
16398 * src/WebNotification.cpp: Added.
16399 (WebKit::WebNotification::reset):
16400 (WebKit::WebNotification::assign):
16401 (WebKit::WebNotification::lessThan):
16402 (WebKit::WebNotification::isHTML):
16403 (WebKit::WebNotification::url):
16404 (WebKit::WebNotification::icon):
16405 (WebKit::WebNotification::title):
16406 (WebKit::WebNotification::body):
16407 (WebKit::WebNotification::dispatchDisplayEvent):
16408 (WebKit::WebNotification::dispatchErrorEvent):
16409 (WebKit::WebNotification::dispatchCloseEvent):
16410 (WebKit::WebNotification::WebNotification):
16411 (WebKit::WebNotification::operator=):
16412 (WebKit::WebNotification::operator WTF::PassRefPtr<Notification>):
16414 2009-11-09 Yaar Schnitman <yaar@chromium.org>
16416 Reviewed by Dimitri Glazkov.
16418 Up-streaming Chromium API src files: WebFileChooser...WebImageSkia
16420 https://bugs.webkit.org/show_bug.cgi?id=31276
16422 * src/WebFileChooserCompletionImpl.cpp: Added.
16423 (WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl):
16424 (WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl):
16425 (WebKit::WebFileChooserCompletionImpl::didChooseFile):
16426 * src/WebFileChooserCompletionImpl.h: Added.
16427 * src/WebFontCache.cpp: Added.
16428 (WebKit::WebFontCache::fontDataCount):
16429 (WebKit::WebFontCache::inactiveFontDataCount):
16430 (WebKit::WebFontCache::clear):
16431 * src/WebFormElement.cpp: Added.
16432 (WebKit::WebFormElement::WebFormElement):
16433 (WebKit::WebFormElement::operator=):
16434 (WebKit::WebFormElement::operator WTF::PassRefPtr<WebCore::HTMLFormElement>):
16435 (WebKit::WebFormElement::autoComplete):
16436 (WebKit::WebFormElement::action):
16437 (WebKit::WebFormElement::submit):
16438 (WebKit::WebFormElement::getNamedElements):
16439 * src/WebFrameImpl.cpp: Added.
16440 (WebKit::frameContentAsPlainText):
16441 (WebKit::ChromePrintContext::ChromePrintContext):
16442 (WebKit::ChromePrintContext::begin):
16443 (WebKit::ChromePrintContext::getPageShrink):
16444 (WebKit::ChromePrintContext::spoolPage):
16445 (WebKit::DataSourceForDocLoader):
16446 (WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches):
16447 (WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout):
16448 (WebKit::WebFrame::frameForEnteredContext):
16449 (WebKit::WebFrame::frameForCurrentContext):
16450 (WebKit::WebFrameImpl::name):
16451 (WebKit::WebFrameImpl::url):
16452 (WebKit::WebFrameImpl::favIconURL):
16453 (WebKit::WebFrameImpl::openSearchDescriptionURL):
16454 (WebKit::WebFrameImpl::scrollOffset):
16455 (WebKit::WebFrameImpl::contentsSize):
16456 (WebKit::WebFrameImpl::contentsPreferredWidth):
16457 (WebKit::WebFrameImpl::hasVisibleContent):
16458 (WebKit::WebFrameImpl::view):
16459 (WebKit::WebFrameImpl::opener):
16460 (WebKit::WebFrameImpl::parent):
16461 (WebKit::WebFrameImpl::top):
16462 (WebKit::WebFrameImpl::firstChild):
16463 (WebKit::WebFrameImpl::lastChild):
16464 (WebKit::WebFrameImpl::nextSibling):
16465 (WebKit::WebFrameImpl::previousSibling):
16466 (WebKit::WebFrameImpl::traverseNext):
16467 (WebKit::WebFrameImpl::traversePrevious):
16468 (WebKit::WebFrameImpl::findChildByName):
16469 (WebKit::WebFrameImpl::findChildByExpression):
16470 (WebKit::WebFrameImpl::forms):
16471 (WebKit::WebFrameImpl::securityOrigin):
16472 (WebKit::WebFrameImpl::grantUniversalAccess):
16473 (WebKit::WebFrameImpl::windowObject):
16474 (WebKit::WebFrameImpl::bindToWindowObject):
16475 (WebKit::WebFrameImpl::executeScript):
16476 (WebKit::WebFrameImpl::executeScriptInNewContext):
16477 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
16478 (WebKit::WebFrameImpl::addMessageToConsole):
16479 (WebKit::WebFrameImpl::collectGarbage):
16480 (WebKit::WebFrameImpl::mainWorldScriptContext):
16481 (WebKit::WebFrameImpl::insertStyleText):
16482 (WebKit::WebFrameImpl::reload):
16483 (WebKit::WebFrameImpl::loadRequest):
16484 (WebKit::WebFrameImpl::loadHistoryItem):
16485 (WebKit::WebFrameImpl::loadData):
16486 (WebKit::WebFrameImpl::loadHTMLString):
16487 (WebKit::WebFrameImpl::isLoading):
16488 (WebKit::WebFrameImpl::stopLoading):
16489 (WebKit::WebFrameImpl::provisionalDataSource):
16490 (WebKit::WebFrameImpl::dataSource):
16491 (WebKit::WebFrameImpl::previousHistoryItem):
16492 (WebKit::WebFrameImpl::currentHistoryItem):
16493 (WebKit::WebFrameImpl::enableViewSourceMode):
16494 (WebKit::WebFrameImpl::isViewSourceModeEnabled):
16495 (WebKit::WebFrameImpl::setReferrerForRequest):
16496 (WebKit::WebFrameImpl::dispatchWillSendRequest):
16497 (WebKit::WebFrameImpl::commitDocumentData):
16498 (WebKit::WebFrameImpl::unloadListenerCount):
16499 (WebKit::WebFrameImpl::isProcessingUserGesture):
16500 (WebKit::WebFrameImpl::willSuppressOpenerInNewFrame):
16501 (WebKit::WebFrameImpl::replaceSelection):
16502 (WebKit::WebFrameImpl::insertText):
16503 (WebKit::WebFrameImpl::setMarkedText):
16504 (WebKit::WebFrameImpl::unmarkText):
16505 (WebKit::WebFrameImpl::hasMarkedText):
16506 (WebKit::WebFrameImpl::markedRange):
16507 (WebKit::WebFrameImpl::executeCommand):
16508 (WebKit::WebFrameImpl::isCommandEnabled):
16509 (WebKit::WebFrameImpl::enableContinuousSpellChecking):
16510 (WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled):
16511 (WebKit::WebFrameImpl::hasSelection):
16512 (WebKit::WebFrameImpl::selectionRange):
16513 (WebKit::WebFrameImpl::selectionAsText):
16514 (WebKit::WebFrameImpl::selectionAsMarkup):
16515 (WebKit::WebFrameImpl::printBegin):
16516 (WebKit::WebFrameImpl::getPrintPageShrink):
16517 (WebKit::WebFrameImpl::printPage):
16518 (WebKit::WebFrameImpl::printEnd):
16519 (WebKit::WebFrameImpl::find):
16520 (WebKit::WebFrameImpl::stopFinding):
16521 (WebKit::WebFrameImpl::scopeStringMatches):
16522 (WebKit::WebFrameImpl::cancelPendingScopingEffort):
16523 (WebKit::WebFrameImpl::increaseMatchCount):
16524 (WebKit::WebFrameImpl::reportFindInPageSelection):
16525 (WebKit::WebFrameImpl::resetMatchCount):
16526 (WebKit::WebFrameImpl::completeURL):
16527 (WebKit::WebFrameImpl::contentAsText):
16528 (WebKit::WebFrameImpl::contentAsMarkup):
16529 (WebKit::WebFrameImpl::create):
16530 (WebKit::WebFrameImpl::WebFrameImpl):
16531 (WebKit::WebFrameImpl::~WebFrameImpl):
16532 (WebKit::WebFrameImpl::initializeAsMainFrame):
16533 (WebKit::WebFrameImpl::createChildFrame):
16534 (WebKit::WebFrameImpl::layout):
16535 (WebKit::WebFrameImpl::paint):
16536 (WebKit::WebFrameImpl::createFrameView):
16537 (WebKit::WebFrameImpl::fromFrame):
16538 (WebKit::WebFrameImpl::viewImpl):
16539 (WebKit::WebFrameImpl::dataSourceImpl):
16540 (WebKit::WebFrameImpl::provisionalDataSourceImpl):
16541 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
16542 (WebKit::WebFrameImpl::didFail):
16543 (WebKit::WebFrameImpl::setAllowsScrolling):
16544 (WebKit::WebFrameImpl::registerPasswordListener):
16545 (WebKit::WebFrameImpl::getPasswordListener):
16546 (WebKit::WebFrameImpl::closing):
16547 (WebKit::WebFrameImpl::invalidateArea):
16548 (WebKit::WebFrameImpl::addMarker):
16549 (WebKit::WebFrameImpl::setMarkerActive):
16550 (WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame):
16551 (WebKit::WebFrameImpl::shouldScopeMatches):
16552 (WebKit::WebFrameImpl::scopeStringMatchesSoon):
16553 (WebKit::WebFrameImpl::callScopeStringMatches):
16554 (WebKit::WebFrameImpl::invalidateIfNecessary):
16555 (WebKit::WebFrameImpl::clearPasswordListeners):
16556 (WebKit::WebFrameImpl::loadJavaScriptURL):
16557 * src/WebFrameImpl.h: Added.
16558 (WebKit::WebFrameImpl::liveObjectCount):
16559 (WebKit::WebFrameImpl::frame):
16560 (WebKit::WebFrameImpl::frameView):
16561 (WebKit::WebFrameImpl::activeMatchFrame):
16562 (WebKit::WebFrameImpl::client):
16563 (WebKit::WebFrameImpl::dropClient):
16564 (WebKit::WebFrameImpl::ClientHandle::create):
16565 (WebKit::WebFrameImpl::ClientHandle::client):
16566 (WebKit::WebFrameImpl::ClientHandle::dropClient):
16567 (WebKit::WebFrameImpl::ClientHandle::ClientHandle):
16568 (WebKit::WebFrameImpl::):
16569 * src/WebHTTPBody.cpp: Added.
16570 (WebKit::WebHTTPBody::initialize):
16571 (WebKit::WebHTTPBody::reset):
16572 (WebKit::WebHTTPBody::assign):
16573 (WebKit::WebHTTPBody::elementCount):
16574 (WebKit::WebHTTPBody::elementAt):
16575 (WebKit::WebHTTPBody::appendData):
16576 (WebKit::WebHTTPBody::appendFile):
16577 (WebKit::WebHTTPBody::identifier):
16578 (WebKit::WebHTTPBody::setIdentifier):
16579 (WebKit::WebHTTPBody::WebHTTPBody):
16580 (WebKit::WebHTTPBody::operator=):
16581 (WebKit::WebHTTPBody::operator PassRefPtr<FormData>):
16582 (WebKit::WebHTTPBody::ensureMutable):
16583 * src/WebHistoryItem.cpp: Added.
16584 (WebKit::WebHistoryItem::initialize):
16585 (WebKit::WebHistoryItem::reset):
16586 (WebKit::WebHistoryItem::assign):
16587 (WebKit::WebHistoryItem::urlString):
16588 (WebKit::WebHistoryItem::setURLString):
16589 (WebKit::WebHistoryItem::originalURLString):
16590 (WebKit::WebHistoryItem::setOriginalURLString):
16591 (WebKit::WebHistoryItem::referrer):
16592 (WebKit::WebHistoryItem::setReferrer):
16593 (WebKit::WebHistoryItem::target):
16594 (WebKit::WebHistoryItem::setTarget):
16595 (WebKit::WebHistoryItem::parent):
16596 (WebKit::WebHistoryItem::setParent):
16597 (WebKit::WebHistoryItem::title):
16598 (WebKit::WebHistoryItem::setTitle):
16599 (WebKit::WebHistoryItem::alternateTitle):
16600 (WebKit::WebHistoryItem::setAlternateTitle):
16601 (WebKit::WebHistoryItem::lastVisitedTime):
16602 (WebKit::WebHistoryItem::setLastVisitedTime):
16603 (WebKit::WebHistoryItem::scrollOffset):
16604 (WebKit::WebHistoryItem::setScrollOffset):
16605 (WebKit::WebHistoryItem::isTargetItem):
16606 (WebKit::WebHistoryItem::setIsTargetItem):
16607 (WebKit::WebHistoryItem::visitCount):
16608 (WebKit::WebHistoryItem::setVisitCount):
16609 (WebKit::WebHistoryItem::documentState):
16610 (WebKit::WebHistoryItem::setDocumentState):
16611 (WebKit::WebHistoryItem::httpContentType):
16612 (WebKit::WebHistoryItem::setHTTPContentType):
16613 (WebKit::WebHistoryItem::httpBody):
16614 (WebKit::WebHistoryItem::setHTTPBody):
16615 (WebKit::WebHistoryItem::children):
16616 (WebKit::WebHistoryItem::setChildren):
16617 (WebKit::WebHistoryItem::appendToChildren):
16618 (WebKit::WebHistoryItem::WebHistoryItem):
16619 (WebKit::WebHistoryItem::operator=):
16620 (WebKit::WebHistoryItem::operator PassRefPtr<HistoryItem>):
16621 (WebKit::WebHistoryItem::ensureMutable):
16622 * src/WebImageCG.cpp: Added.
16623 (WebKit::WebImage::fromData):
16624 (WebKit::WebImage::reset):
16625 (WebKit::WebImage::assign):
16626 (WebKit::WebImage::isNull):
16627 (WebKit::WebImage::size):
16628 (WebKit::WebImage::WebImage):
16629 (WebKit::WebImage::operator=):
16630 * src/WebImageSkia.cpp: Added.
16631 (WebKit::WebImage::fromData):
16632 (WebKit::WebImage::reset):
16633 (WebKit::WebImage::assign):
16634 (WebKit::WebImage::isNull):
16635 (WebKit::WebImage::size):
16636 (WebKit::WebImage::WebImage):
16637 (WebKit::WebImage::operator=):
16639 2009-11-09 Yaar Schnitman <yaar@chromium.src>
16641 Reviewed by Dimitri Glazkov.
16643 Up-streaming Chromium API src files: WebData...WebElement
16645 https://bugs.webkit.org/show_bug.cgi?id=31276
16647 * src/WebData.cpp: Added.
16648 (WebKit::WebData::reset):
16649 (WebKit::WebData::assign):
16650 (WebKit::WebData::size):
16651 (WebKit::WebData::data):
16652 (WebKit::WebData::WebData):
16653 (WebKit::WebData::operator=):
16654 (WebKit::WebData::operator PassRefPtr<SharedBuffer>):
16655 * src/WebDataSourceImpl.cpp: Added.
16656 (WebKit::WebDataSourceImpl::create):
16657 (WebKit::WebDataSourceImpl::originalRequest):
16658 (WebKit::WebDataSourceImpl::request):
16659 (WebKit::WebDataSourceImpl::response):
16660 (WebKit::WebDataSourceImpl::hasUnreachableURL):
16661 (WebKit::WebDataSourceImpl::unreachableURL):
16662 (WebKit::WebDataSourceImpl::redirectChain):
16663 (WebKit::WebDataSourceImpl::pageTitle):
16664 (WebKit::WebDataSourceImpl::navigationType):
16665 (WebKit::WebDataSourceImpl::triggeringEventTime):
16666 (WebKit::WebDataSourceImpl::extraData):
16667 (WebKit::WebDataSourceImpl::setExtraData):
16668 (WebKit::WebDataSourceImpl::toWebNavigationType):
16669 (WebKit::WebDataSourceImpl::endOfRedirectChain):
16670 (WebKit::WebDataSourceImpl::clearRedirectChain):
16671 (WebKit::WebDataSourceImpl::appendRedirect):
16672 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
16673 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
16674 (WebKit::WebDataSourceImpl::~WebDataSourceImpl):
16675 * src/WebDataSourceImpl.h: Added.
16676 (WebKit::WebDataSourceImpl::fromDocumentLoader):
16677 (WebKit::WebDataSourceImpl::hasRedirectChain):
16678 (WebKit::WebDataSourceImpl::releasePluginLoadObserver):
16679 * src/WebDatabase.cpp: Added.
16680 (WebKit::WebDatabase::reset):
16681 (WebKit::WebDatabase::assign):
16682 (WebKit::WebDatabase::name):
16683 (WebKit::WebDatabase::displayName):
16684 (WebKit::WebDatabase::estimatedSize):
16685 (WebKit::WebDatabase::securityOrigin):
16686 (WebKit::WebDatabase::setObserver):
16687 (WebKit::WebDatabase::observer):
16688 (WebKit::WebDatabase::updateDatabaseSize):
16689 (WebKit::WebDatabase::WebDatabase):
16690 (WebKit::WebDatabase::operator=):
16691 (WebKit::WebDatabase::operator WTF::PassRefPtr<Database>):
16692 * src/WebDevToolsAgentPrivate.h: Added.
16693 * src/WebDragData.cpp: Added.
16694 (WebKit::WebDragData::initialize):
16695 (WebKit::WebDragData::reset):
16696 (WebKit::WebDragData::assign):
16697 (WebKit::WebDragData::url):
16698 (WebKit::WebDragData::setURL):
16699 (WebKit::WebDragData::urlTitle):
16700 (WebKit::WebDragData::setURLTitle):
16701 (WebKit::WebDragData::fileExtension):
16702 (WebKit::WebDragData::setFileExtension):
16703 (WebKit::WebDragData::hasFileNames):
16704 (WebKit::WebDragData::fileNames):
16705 (WebKit::WebDragData::setFileNames):
16706 (WebKit::WebDragData::appendToFileNames):
16707 (WebKit::WebDragData::plainText):
16708 (WebKit::WebDragData::setPlainText):
16709 (WebKit::WebDragData::htmlText):
16710 (WebKit::WebDragData::setHTMLText):
16711 (WebKit::WebDragData::htmlBaseURL):
16712 (WebKit::WebDragData::setHTMLBaseURL):
16713 (WebKit::WebDragData::fileContentFileName):
16714 (WebKit::WebDragData::setFileContentFileName):
16715 (WebKit::WebDragData::fileContent):
16716 (WebKit::WebDragData::setFileContent):
16717 (WebKit::WebDragData::WebDragData):
16718 (WebKit::WebDragData::operator=):
16719 (WebKit::WebDragData::operator WTF::PassRefPtr<WebCore::ChromiumDataObject>):
16720 (WebKit::WebDragData::ensureMutable):
16721 * src/WebElement.cpp: Added.
16722 (WebKit::WebElement::WebElement):
16723 (WebKit::WebElement::operator=):
16724 (WebKit::WebElement::operator WTF::PassRefPtr<Element>):
16726 2009-11-09 Nate Chapin <japhet@chromium.org>
16728 Reviewed by Dimitri Glazkov.
16730 WebPo*.h and WebRunetimeFeatures.h Chromium API headers.
16732 https://bugs.webkit.org/show_bug.cgi?id=28394
16734 * public/WebPoint.h: Added.
16735 (WebKit::WebPoint::WebPoint):
16736 (WebKit::WebPoint::operator=):
16737 (WebKit::WebPoint::operator WebCore::IntPoint):
16738 (WebKit::WebPoint::operator gfx::Point):
16739 (WebKit::operator==):
16740 (WebKit::operator!=):
16741 * public/WebPopupMenu.h: Added.
16742 * public/WebPopupMenuInfo.h: Added.
16743 (WebKit::WebPopupMenuInfo::Item::):
16744 * public/WebRuntimeFeatures.h: Added.
16746 2009-11-09 Nate Chapin <japhet@chromium.org>
16748 Reviewed by Dimitri Glazkov.
16750 WebPa*.h and WebPl*.h Chromium API headers.
16752 https://bugs.webkit.org/show_bug.cgi?id=28394
16754 * public/WebPasswordAutocompleteListener.h: Added.
16755 (WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener):
16756 * public/WebPasswordFormData.h: Added.
16757 (WebKit::WebPasswordFormData::isValid):
16758 * public/WebPlugin.h: Added.
16759 (WebKit::WebPlugin::~WebPlugin):
16760 * public/WebPluginContainer.h: Added.
16761 (WebKit::WebPluginContainer::~WebPluginContainer):
16762 * public/WebPluginListBuilder.h: Added.
16763 * public/WebPluginParams.h: Added.
16765 2009-11-09 Yaar Schnitman <yaar@chromium.org>
16767 Reviewed by Dimitri Glazkov.
16769 Up-streaming Chromium API src files: WebBindging ... WebCursorInfo
16771 https://bugs.webkit.org/show_bug.cgi?id=31276
16773 * src/WebBindings.cpp: Added.
16774 (WebKit::WebBindings::construct):
16775 (WebKit::WebBindings::createObject):
16776 (WebKit::WebBindings::enumerate):
16777 (WebKit::WebBindings::evaluate):
16778 (WebKit::WebBindings::evaluateHelper):
16779 (WebKit::WebBindings::getIntIdentifier):
16780 (WebKit::WebBindings::getProperty):
16781 (WebKit::WebBindings::getStringIdentifier):
16782 (WebKit::WebBindings::getStringIdentifiers):
16783 (WebKit::WebBindings::hasMethod):
16784 (WebKit::WebBindings::hasProperty):
16785 (WebKit::WebBindings::identifierIsString):
16786 (WebKit::WebBindings::intFromIdentifier):
16787 (WebKit::WebBindings::initializeVariantWithStringCopy):
16788 (WebKit::WebBindings::invoke):
16789 (WebKit::WebBindings::invokeDefault):
16790 (WebKit::WebBindings::releaseObject):
16791 (WebKit::WebBindings::releaseVariantValue):
16792 (WebKit::WebBindings::removeProperty):
16793 (WebKit::WebBindings::retainObject):
16794 (WebKit::WebBindings::setException):
16795 (WebKit::WebBindings::setProperty):
16796 (WebKit::WebBindings::unregisterObject):
16797 (WebKit::WebBindings::utf8FromIdentifier):
16798 (WebKit::WebBindings::extractIdentifierData):
16799 (WebKit::getEvent):
16800 (WebKit::getDragDataImpl):
16801 (WebKit::getRangeImpl):
16802 (WebKit::WebBindings::getDragData):
16803 (WebKit::WebBindings::isDragEvent):
16804 (WebKit::WebBindings::getRange):
16805 * src/WebCString.cpp: Added.
16806 (WebKit::WebCString::reset):
16807 (WebKit::WebCString::assign):
16808 (WebKit::WebCString::length):
16809 (WebKit::WebCString::data):
16810 (WebKit::WebCString::utf16):
16811 (WebKit::WebCString::fromUTF16):
16812 (WebKit::WebCString::WebCString):
16813 (WebKit::WebCString::operator=):
16814 (WebKit::WebCString::operator WebCore::CString):
16815 * src/WebCache.cpp: Added.
16816 (WebKit::ToResourceTypeStat):
16817 (WebKit::WebCache::setCapacities):
16818 (WebKit::WebCache::clear):
16819 (WebKit::WebCache::getUsageStats):
16820 (WebKit::WebCache::getResourceTypeStats):
16821 * src/WebColor.cpp: Added.
16822 (WebKit::toCSSValueKeyword):
16823 (WebKit::setNamedColors):
16824 * src/WebCrossOriginPreflightResultCache.cpp: Added.
16825 (WebKit::WebCrossOriginPreflightResultCache::clear):
16826 * src/WebCursorInfo.cpp: Added.
16827 (WebKit::WebCursorInfo::WebCursorInfo):
16829 2009-11-09 Yaar Schnitman <yaar@chromium.org>
16831 Reviewed by Dimitri Glazkov.
16833 Up-streaming Chromium API src files: WebAccessibilty
16835 https://bugs.webkit.org/show_bug.cgi?id=31276
16837 * src/WebAccessibilityCache.cpp: Added.
16838 (WebKit::WebAccessibilityCache::enableAccessibility):
16839 * src/WebAccessibilityCacheImpl.cpp: Added.
16840 (WebKit::toAccessibilityObject):
16841 (WebKit::WebAccessibilityCache::create):
16842 (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
16843 (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
16844 (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach):
16845 (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl):
16846 (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl):
16847 (WebKit::WebAccessibilityCacheImpl::initialize):
16848 (WebKit::WebAccessibilityCacheImpl::getObjectById):
16849 (WebKit::WebAccessibilityCacheImpl::isValidId):
16850 (WebKit::WebAccessibilityCacheImpl::remove):
16851 (WebKit::WebAccessibilityCacheImpl::clear):
16852 (WebKit::WebAccessibilityCacheImpl::addOrGetId):
16853 * src/WebAccessibilityCacheImpl.h: Added.
16854 (WebKit::WebAccessibilityCacheImpl::isInitialized):
16855 * src/WebAccessibilityObject.cpp: Added.
16856 (WebKit::WebAccessibilityObject::reset):
16857 (WebKit::WebAccessibilityObject::assign):
16858 (WebKit::WebAccessibilityObject::accessibilityDescription):
16859 (WebKit::WebAccessibilityObject::actionVerb):
16860 (WebKit::WebAccessibilityObject::canSetFocusAttribute):
16861 (WebKit::WebAccessibilityObject::childCount):
16862 (WebKit::WebAccessibilityObject::childAt):
16863 (WebKit::WebAccessibilityObject::firstChild):
16864 (WebKit::WebAccessibilityObject::focusedChild):
16865 (WebKit::WebAccessibilityObject::lastChild):
16866 (WebKit::WebAccessibilityObject::nextSibling):
16867 (WebKit::WebAccessibilityObject::parentObject):
16868 (WebKit::WebAccessibilityObject::previousSibling):
16869 (WebKit::WebAccessibilityObject::isAnchor):
16870 (WebKit::WebAccessibilityObject::isChecked):
16871 (WebKit::WebAccessibilityObject::isFocused):
16872 (WebKit::WebAccessibilityObject::isEnabled):
16873 (WebKit::WebAccessibilityObject::isHovered):
16874 (WebKit::WebAccessibilityObject::isIndeterminate):
16875 (WebKit::WebAccessibilityObject::isMultiSelect):
16876 (WebKit::WebAccessibilityObject::isOffScreen):
16877 (WebKit::WebAccessibilityObject::isPasswordField):
16878 (WebKit::WebAccessibilityObject::isPressed):
16879 (WebKit::WebAccessibilityObject::isReadOnly):
16880 (WebKit::WebAccessibilityObject::isVisited):
16881 (WebKit::WebAccessibilityObject::boundingBoxRect):
16882 (WebKit::WebAccessibilityObject::helpText):
16883 (WebKit::WebAccessibilityObject::hitTest):
16884 (WebKit::WebAccessibilityObject::keyboardShortcut):
16885 (WebKit::WebAccessibilityObject::performDefaultAction):
16886 (WebKit::WebAccessibilityObject::roleValue):
16887 (WebKit::WebAccessibilityObject::stringValue):
16888 (WebKit::WebAccessibilityObject::title):
16889 (WebKit::WebAccessibilityObject::WebAccessibilityObject):
16890 (WebKit::WebAccessibilityObject::operator=):
16891 (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
16893 2009-11-09 Yaar Schnitman <yaar@chromium.org>
16895 Reviewed by Dimitri Glazkov.
16897 Upstreaming Chromium API: Platform specific files
16899 https://bugs.webkit.org/show_bug.cgi?id=28394
16901 * public/gtk/WebFontInfo.h: Added.
16902 * public/gtk/WebInputEventFactory.h: Added.
16903 * public/gtk/WebScreenInfoFactory.h: Added.
16904 * public/linux/WebFontRendering.h: Added.
16905 * public/linux/WebSandboxSupport.h: Added.
16906 * public/mac/WebInputEventFactory.h: Added.
16907 * public/mac/WebScreenInfoFactory.h: Added.
16908 * public/win/WebInputEventFactory.h: Added.
16909 * public/win/WebSandboxSupport.h: Added.
16910 * public/win/WebScreenInfoFactory.h: Added.
16911 * public/win/WebThemeEngine.h: Added.
16912 * public/x11/WebScreenInfoFactory.h: Added.
16914 2009-11-09 David Levin <levin@chromium.org>
16916 Reviewed by Dmitry Titov.
16918 Change struct ResourceRequest to class ResourceRequest per
16919 http://trac.webkit.org/changeset/50625.
16921 * public/WebURLRequest.h:
16923 2009-11-09 Nate Chapin <japhet@chromium.org>
16925 Reviewed by Dimitri Glazkov.
16927 Upstream remaining Chromium API WebN*.h headers.
16929 https://bugs.webkit.org/show_bug.cgi?id=28394
16931 * public/WebNonCopyable.h: Added.
16932 (WebKit::WebNonCopyable::WebNonCopyable):
16933 (WebKit::WebNonCopyable::~WebNonCopyable):
16934 * public/WebNotification.h: Added.
16935 (WebKit::WebNotification::WebNotification):
16936 (WebKit::WebNotification::~WebNotification):
16937 (WebKit::WebNotification::operator=):
16938 (WebKit::WebNotification::equals):
16939 (WebKit::operator==):
16940 (WebKit::operator!=):
16941 (WebKit::operator<):
16942 * public/WebNotificationPermissionCallback.h: Added.
16943 (WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback):
16944 * public/WebNotificationPresenter.h: Added.
16945 (WebKit::WebNotificationPresenter::):
16947 2009-11-09 Nate Chapin <japhet@chromium.org>
16949 Reviewed by Dimitri Glazkov.
16951 Upstream Chromium API headers WebMessage through WebNavigation.
16953 https://bugs.webkit.org/show_bug.cgi?id=28394
16955 * public/WebMessagePortChannel.h: Added.
16956 (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
16957 * public/WebMessagePortChannelClient.h: Added.
16958 (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
16959 * public/WebMimeRegistry.h: Added.
16960 (WebKit::WebMimeRegistry::):
16961 (WebKit::WebMimeRegistry::~WebMimeRegistry):
16962 * public/WebNavigationPolicy.h: Added.
16964 * public/WebNavigationType.h: Added.
16967 2009-11-09 Yaar Schnitman <yaar@chromium.org>
16969 Reviewed by Dimitri Glazkov.
16971 Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo.
16973 https://bugs.webkit.org/show_bug.cgi?id=28394
16975 * public/WebScreenInfo.h: Added.
16976 (WebKit::WebScreenInfo::WebScreenInfo):
16977 * public/WebScriptController.h: Added.
16978 * public/WebScriptSource.h: Added.
16979 (WebKit::WebScriptSource::WebScriptSource):
16980 * public/WebSearchableFormData.h: Added.
16981 (WebKit::WebSearchableFormData::isValid):
16982 (WebKit::WebSearchableFormData::url):
16983 (WebKit::WebSearchableFormData::encoding):
16984 * public/WebSecurityOrigin.h: Added.
16985 (WebKit::WebSecurityOrigin::~WebSecurityOrigin):
16986 (WebKit::WebSecurityOrigin::WebSecurityOrigin):
16987 (WebKit::WebSecurityOrigin::operator=):
16988 (WebKit::WebSecurityOrigin::isNull):
16989 * public/WebSecurityPolicy.h: Added.
16990 * public/WebSettings.h: Added.
16991 (WebKit::WebSettings::~WebSettings):
16992 * public/WebSharedWorker.h: Added.
16993 (WebKit::WebSharedWorker::~WebSharedWorker):
16994 * public/WebSharedWorkerRepository.h: Added.
16996 2009-11-09 Nate Chapin <japhet@chromium.org>
16998 Reviewed by Dimitri Glazkov.
17000 Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h.
17002 https://bugs.webkit.org/show_bug.cgi?id=28394
17004 * public/WebKit.h: Added.
17005 * public/WebKitClient.h: Added.
17006 (WebKit::WebKitClient::~WebKitClient):
17007 * public/WebLocalizedString.h: Added.
17008 (WebKit::WebLocalizedString::):
17009 * public/WebMediaPlayer.h: Added.
17010 (WebKit::WebTimeRange::WebTimeRange):
17011 (WebKit::WebMediaPlayer::):
17012 (WebKit::WebMediaPlayer::~WebMediaPlayer):
17013 * public/WebMediaPlayerAction.h: Added.
17014 (WebKit::WebMediaPlayerAction::):
17015 (WebKit::WebMediaPlayerAction::WebMediaPlayerAction):
17016 * public/WebMediaPlayerClient.h: Added.
17017 (WebKit::WebMediaPlayerClient::~WebMediaPlayerClient):
17019 2009-11-09 Nate Chapin <japhet@chromium.org>
17021 Reviewed by Dimitri Glazkov.
17023 Upstream rest of WebH*.h and WebI*.h Chromium API headers.
17025 https://bugs.webkit.org/show_bug.cgi?id=28394
17027 * public/WebHTTPBody.h: Added.
17028 (WebKit::WebHTTPBody::Element::):
17029 (WebKit::WebHTTPBody::~WebHTTPBody):
17030 (WebKit::WebHTTPBody::WebHTTPBody):
17031 (WebKit::WebHTTPBody::operator=):
17032 (WebKit::WebHTTPBody::isNull):
17033 * public/WebHTTPHeaderVisitor.h: Added.
17034 (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
17035 * public/WebHistoryItem.h: Added.
17036 (WebKit::WebHistoryItem::~WebHistoryItem):
17037 (WebKit::WebHistoryItem::WebHistoryItem):
17038 (WebKit::WebHistoryItem::operator=):
17039 (WebKit::WebHistoryItem::isNull):
17040 * public/WebImage.h: Added.
17041 (WebKit::WebImage::~WebImage):
17042 (WebKit::WebImage::WebImage):
17043 (WebKit::WebImage::operator=):
17044 (WebKit::WebImage::getSkBitmap):
17045 (WebKit::WebImage::init):
17046 (WebKit::WebImage::getCGImageRef):
17047 * public/WebInputEvent.h: Added.
17048 (WebKit::WebInputEvent::WebInputEvent):
17049 (WebKit::WebInputEvent::):
17050 (WebKit::WebInputEvent::isKeyboardEventType):
17051 (WebKit::WebKeyboardEvent::WebKeyboardEvent):
17052 (WebKit::WebMouseEvent::):
17053 (WebKit::WebMouseEvent::WebMouseEvent):
17054 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
17056 2009-11-09 Yaar Schnitman <yaar@chromium.org>
17058 Reviewed by Eric Seidel.
17060 Upstreaming the Chromium WebKit API: WebSockets and WebStorage.
17062 https://bugs.webkit.org/show_bug.cgi?id=28394
17064 * public/WebSocketStreamError.h: Added.
17065 * public/WebSocketStreamHandle.h: Added.
17066 (WebKit::WebSocketStreamHandle::~WebSocketStreamHandle):
17067 * public/WebSocketStreamHandleClient.h: Added.
17068 * public/WebStorageArea.h: Added.
17069 (WebKit::WebStorageArea::~WebStorageArea):
17070 * public/WebStorageEventDispatcher.h: Added.
17071 (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
17072 * public/WebStorageNamespace.h: Added.
17073 (WebKit::WebStorageNamespace::~WebStorageNamespace):
17075 2009-11-09 Yaar Schnitman <yaar@chromium.org>
17077 Reviewed by Dimitri Glazkov.
17079 Upstreaming the Chromium WebKit API: WebString and other basic objects.
17081 https://bugs.webkit.org/show_bug.cgi?id=28394
17083 * public/WebRange.h: Added.
17084 (WebKit::WebRange::~WebRange):
17085 (WebKit::WebRange::WebRange):
17086 (WebKit::WebRange::operator=):
17087 (WebKit::WebRange::isNull):
17088 * public/WebRect.h: Added.
17089 (WebKit::WebRect::isEmpty):
17090 (WebKit::WebRect::WebRect):
17091 (WebKit::WebRect::operator=):
17092 (WebKit::WebRect::operator WebCore::IntRect):
17093 (WebKit::WebRect::operator gfx::Rect):
17094 (WebKit::operator==):
17095 (WebKit::operator!=):
17096 * public/WebSize.h: Added.
17097 (WebKit::WebSize::isEmpty):
17098 (WebKit::WebSize::WebSize):
17099 (WebKit::WebSize::operator=):
17100 (WebKit::WebSize::operator WebCore::IntSize):
17101 (WebKit::WebSize::operator gfx::Size):
17102 (WebKit::operator==):
17103 (WebKit::operator!=):
17104 * public/WebString.h: Added.
17105 (WebKit::WebString::~WebString):
17106 (WebKit::WebString::WebString):
17107 (WebKit::WebString::operator=):
17108 (WebKit::WebString::isEmpty):
17109 (WebKit::WebString::isNull):
17110 (WebKit::WebString::operator string16):
17111 (WebKit::WebString::operator NullableString16):
17112 (WebKit::WebString::fromUTF8):
17114 2009-11-09 Yaar Schnitman <yaar@chromium.org>
17116 Reviewed by Eric Seidel.
17118 Upstreaming the Chromium WebKit API: WebText*
17120 https://bugs.webkit.org/show_bug.cgi?id=28394
17122 * public/WebTextAffinity.h: Added.
17124 * public/WebTextDirection.h: Added.
17127 2009-11-09 Nate Chapin <japhet@chromium.org>
17129 Reviewed by Dimitri Glazkov.
17131 Upstream remainder of WebE*.h and WebF*.h Chromium API headers.
17133 https://bugs.webkit.org/show_bug.cgi?id=28394
17135 * public/WebEditingAction.h: Added.
17137 * public/WebFileChooserCompletion.h: Added.
17138 (WebKit::WebFileChooserCompletion::~WebFileChooserCompletion):
17139 * public/WebFindOptions.h: Added.
17140 (WebKit::WebFindOptions::WebFindOptions):
17141 * public/WebFontCache.h: Added.
17142 * public/WebFrame.h: Added.
17143 (WebKit::WebFrame::~WebFrame):
17144 * public/WebFrameClient.h: Added.
17145 (WebKit::WebFrameClient::createPlugin):
17146 (WebKit::WebFrameClient::createWorker):
17147 (WebKit::WebFrameClient::createSharedWorker):
17148 (WebKit::WebFrameClient::createMediaPlayer):
17149 (WebKit::WebFrameClient::willClose):
17150 (WebKit::WebFrameClient::loadURLExternally):
17151 (WebKit::WebFrameClient::decidePolicyForNavigation):
17152 (WebKit::WebFrameClient::canHandleRequest):
17153 (WebKit::WebFrameClient::cannotHandleRequestError):
17154 (WebKit::WebFrameClient::cancelledError):
17155 (WebKit::WebFrameClient::unableToImplementPolicyWithError):
17156 (WebKit::WebFrameClient::willSubmitForm):
17157 (WebKit::WebFrameClient::willPerformClientRedirect):
17158 (WebKit::WebFrameClient::didCancelClientRedirect):
17159 (WebKit::WebFrameClient::didCompleteClientRedirect):
17160 (WebKit::WebFrameClient::didCreateDataSource):
17161 (WebKit::WebFrameClient::didStartProvisionalLoad):
17162 (WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad):
17163 (WebKit::WebFrameClient::didFailProvisionalLoad):
17164 (WebKit::WebFrameClient::didReceiveDocumentData):
17165 (WebKit::WebFrameClient::didCommitProvisionalLoad):
17166 (WebKit::WebFrameClient::didClearWindowObject):
17167 (WebKit::WebFrameClient::didCreateDocumentElement):
17168 (WebKit::WebFrameClient::didReceiveTitle):
17169 (WebKit::WebFrameClient::didFinishDocumentLoad):
17170 (WebKit::WebFrameClient::didHandleOnloadEvents):
17171 (WebKit::WebFrameClient::didFailLoad):
17172 (WebKit::WebFrameClient::didFinishLoad):
17173 (WebKit::WebFrameClient::didChangeLocationWithinPage):
17174 (WebKit::WebFrameClient::didUpdateCurrentHistoryItem):
17175 (WebKit::WebFrameClient::assignIdentifierToRequest):
17176 (WebKit::WebFrameClient::willSendRequest):
17177 (WebKit::WebFrameClient::didReceiveResponse):
17178 (WebKit::WebFrameClient::didFinishResourceLoad):
17179 (WebKit::WebFrameClient::didFailResourceLoad):
17180 (WebKit::WebFrameClient::didLoadResourceFromMemoryCache):
17181 (WebKit::WebFrameClient::didDisplayInsecureContent):
17182 (WebKit::WebFrameClient::didRunInsecureContent):
17183 (WebKit::WebFrameClient::allowScript):
17184 (WebKit::WebFrameClient::didExhaustMemoryAvailableForScript):
17185 (WebKit::WebFrameClient::didCreateScriptContext):
17186 (WebKit::WebFrameClient::didDestroyScriptContext):
17187 (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
17188 (WebKit::WebFrameClient::didChangeContentsSize):
17189 (WebKit::WebFrameClient::didChangeScrollOffset):
17190 (WebKit::WebFrameClient::reportFindInPageMatchCount):
17191 (WebKit::WebFrameClient::reportFindInPageSelection):
17192 (WebKit::WebFrameClient::~WebFrameClient):
17194 2009-11-09 Nate Chapin <japhet@chromium.org>
17196 Reviewed by Dimitri Glazkov.
17198 Upstream WebDevTools*.h and WebDrag*.h Chromium API headers.
17200 https://bugs.webkit.org/show_bug.cgi?id=28394
17202 * public/WebDevToolsAgent.h: Added.
17203 (WebKit::WebDevToolsAgent::~WebDevToolsAgent):
17204 * public/WebDevToolsAgentClient.h: Added.
17205 (WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient):
17206 * public/WebDevToolsFrontend.h: Added.
17207 (WebKit::WebDevToolsFrontend::~WebDevToolsFrontend):
17208 * public/WebDevToolsFrontendClient.h: Added.
17209 (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
17210 (WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient):
17211 * public/WebDragData.h: Added.
17212 (WebKit::WebDragData::~WebDragData):
17213 (WebKit::WebDragData::WebDragData):
17214 (WebKit::WebDragData::operator=):
17215 (WebKit::WebDragData::isNull):
17216 * public/WebDragOperation.h: Added.
17219 2009-11-09 Yaar Schnitman <yaar@chromium.org>
17221 Reviewed by Dimitri Glazkov.
17223 Upstreaming the Chromium WebKit API: WebURL and friends.
17225 https://bugs.webkit.org/show_bug.cgi?id=28394
17227 * public/WebURL.h: Added.
17228 (WebKit::WebURL::~WebURL):
17229 (WebKit::WebURL::WebURL):
17230 (WebKit::WebURL::operator=):
17231 (WebKit::WebURL::assign):
17232 (WebKit::WebURL::spec):
17233 (WebKit::WebURL::parsed):
17234 (WebKit::WebURL::isValid):
17235 (WebKit::WebURL::isEmpty):
17236 (WebKit::WebURL::isNull):
17237 (WebKit::WebURL::operator GURL):
17238 * public/WebURLError.h: Added.
17239 (WebKit::WebURLError::WebURLError):
17240 * public/WebURLLoader.h: Added.
17241 (WebKit::WebURLLoader::~WebURLLoader):
17242 * public/WebURLLoaderClient.h: Added.
17243 (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
17244 * public/WebURLRequest.h: Added.
17245 (WebKit::WebURLRequest::):
17246 (WebKit::WebURLRequest::~WebURLRequest):
17247 (WebKit::WebURLRequest::WebURLRequest):
17248 (WebKit::WebURLRequest::operator=):
17249 * public/WebURLResponse.h: Added.
17250 (WebKit::WebURLResponse::~WebURLResponse):
17251 (WebKit::WebURLResponse::WebURLResponse):
17252 (WebKit::WebURLResponse::operator=):
17254 2009-11-09 Yaar Schnitman <yaar@chromium.org>
17256 Reviewed by Dimitri Glazkov.
17258 Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient
17260 https://bugs.webkit.org/show_bug.cgi?id=28394
17262 * public/WebVector.h: Added.
17263 (WebKit::WebVector::~WebVector):
17264 (WebKit::WebVector::WebVector):
17265 (WebKit::WebVector::operator=):
17266 (WebKit::WebVector::assign):
17267 (WebKit::WebVector::size):
17268 (WebKit::WebVector::isEmpty):
17269 (WebKit::WebVector::operator[]):
17270 (WebKit::WebVector::data):
17271 (WebKit::WebVector::swap):
17272 (WebKit::WebVector::initialize):
17273 (WebKit::WebVector::initializeFrom):
17274 (WebKit::WebVector::destroy):
17275 * public/WebView.h: Added.
17276 (WebKit::WebView::~WebView):
17277 * public/WebViewClient.h: Added.
17278 (WebKit::WebViewClient::createView):
17279 (WebKit::WebViewClient::createPopupMenu):
17280 (WebKit::WebViewClient::didAddMessageToConsole):
17281 (WebKit::WebViewClient::printPage):
17282 (WebKit::WebViewClient::notificationPresenter):
17283 (WebKit::WebViewClient::didStartLoading):
17284 (WebKit::WebViewClient::didStopLoading):
17285 (WebKit::WebViewClient::shouldBeginEditing):
17286 (WebKit::WebViewClient::shouldEndEditing):
17287 (WebKit::WebViewClient::shouldInsertNode):
17288 (WebKit::WebViewClient::shouldInsertText):
17289 (WebKit::WebViewClient::shouldChangeSelectedRange):
17290 (WebKit::WebViewClient::shouldDeleteRange):
17291 (WebKit::WebViewClient::shouldApplyStyle):
17292 (WebKit::WebViewClient::isSmartInsertDeleteEnabled):
17293 (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled):
17294 (WebKit::WebViewClient::setInputMethodEnabled):
17295 (WebKit::WebViewClient::didBeginEditing):
17296 (WebKit::WebViewClient::didChangeSelection):
17297 (WebKit::WebViewClient::didChangeContents):
17298 (WebKit::WebViewClient::didExecuteCommand):
17299 (WebKit::WebViewClient::didEndEditing):
17300 (WebKit::WebViewClient::handleCurrentKeyboardEvent):
17301 (WebKit::WebViewClient::spellCheck):
17302 (WebKit::WebViewClient::autoCorrectWord):
17303 (WebKit::WebViewClient::showSpellingUI):
17304 (WebKit::WebViewClient::isShowingSpellingUI):
17305 (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord):
17306 (WebKit::WebViewClient::runFileChooser):
17307 (WebKit::WebViewClient::runModalAlertDialog):
17308 (WebKit::WebViewClient::runModalConfirmDialog):
17309 (WebKit::WebViewClient::runModalPromptDialog):
17310 (WebKit::WebViewClient::runModalBeforeUnloadDialog):
17311 (WebKit::WebViewClient::setStatusText):
17312 (WebKit::WebViewClient::setMouseOverURL):
17313 (WebKit::WebViewClient::setKeyboardFocusURL):
17314 (WebKit::WebViewClient::setToolTipText):
17315 (WebKit::WebViewClient::showContextMenu):
17316 (WebKit::WebViewClient::startDragging):
17317 (WebKit::WebViewClient::acceptsLoadDrops):
17318 (WebKit::WebViewClient::focusNext):
17319 (WebKit::WebViewClient::focusPrevious):
17320 (WebKit::WebViewClient::navigateBackForwardSoon):
17321 (WebKit::WebViewClient::historyBackListCount):
17322 (WebKit::WebViewClient::historyForwardListCount):
17323 (WebKit::WebViewClient::didAddHistoryItem):
17324 (WebKit::WebViewClient::focusAccessibilityObject):
17325 (WebKit::WebViewClient::didUpdateInspectorSettings):
17326 (WebKit::WebViewClient::queryAutofillSuggestions):
17327 (WebKit::WebViewClient::removeAutofillSuggestions):
17328 (WebKit::WebViewClient::~WebViewClient):
17329 * public/WebWidget.h: Added.
17330 (WebKit::WebWidget::~WebWidget):
17331 * public/WebWidgetClient.h: Added.
17332 (WebKit::WebWidgetClient::didInvalidateRect):
17333 (WebKit::WebWidgetClient::didScrollRect):
17334 (WebKit::WebWidgetClient::didFocus):
17335 (WebKit::WebWidgetClient::didBlur):
17336 (WebKit::WebWidgetClient::didChangeCursor):
17337 (WebKit::WebWidgetClient::closeWidgetSoon):
17338 (WebKit::WebWidgetClient::show):
17339 (WebKit::WebWidgetClient::runModal):
17340 (WebKit::WebWidgetClient::windowRect):
17341 (WebKit::WebWidgetClient::setWindowRect):
17342 (WebKit::WebWidgetClient::windowResizerRect):
17343 (WebKit::WebWidgetClient::rootWindowRect):
17344 (WebKit::WebWidgetClient::screenInfo):
17345 (WebKit::WebWidgetClient::~WebWidgetClient):
17346 * public/WebWorker.h: Added.
17347 (WebKit::WebWorker::~WebWorker):
17348 * public/WebWorkerClient.h: Added.
17349 (WebKit::WebWorkerClient::~WebWorkerClient):
17351 2009-11-09 Nate Chapin <japhet@chromium.org>
17353 Reviewed by Dimitri Glazkov.
17355 Upstream WebData*.h Chromium API files.
17357 https://bugs.webkit.org/show_bug.cgi?id=28394
17359 * public/WebData.h: Added.
17360 (WebKit::WebData::~WebData):
17361 (WebKit::WebData::WebData):
17362 (WebKit::WebData::operator=):
17363 (WebKit::WebData::isEmpty):
17364 (WebKit::WebData::isNull):
17365 * public/WebDataSource.h: Added.
17366 (WebKit::WebDataSource::ExtraData::~ExtraData):
17367 (WebKit::WebDataSource::~WebDataSource):
17368 * public/WebDatabase.h: Added.
17369 (WebKit::WebDatabase::WebDatabase):
17370 (WebKit::WebDatabase::~WebDatabase):
17371 (WebKit::WebDatabase::operator=):
17372 (WebKit::WebDatabase::isNull):
17373 * public/WebDatabaseObserver.h: Added.
17374 (WebKit::WebDatabaseObserver::~WebDatabaseObserver):
17376 2009-11-09 Nate Chapin <japhet@chromium.org>
17378 Reviewed by Dimitri Glazkov.
17380 Upstream the last of the Chromium API WebC*.h files.
17382 https://bugs.webkit.org/show_bug.cgi?id=28394
17384 * public/WebConsoleMessage.h: Added.
17385 (WebKit::WebConsoleMessage::):
17386 (WebKit::WebConsoleMessage::WebConsoleMessage):
17387 * public/WebContextMenuData.h: Added.
17388 (WebKit::WebContextMenuData::):
17389 * public/WebCookie.h: Added.
17390 (WebKit::WebCookie::WebCookie):
17391 * public/WebCrossOriginPreflightResultCache.h: Added.
17392 * public/WebCursorInfo.h: Added.
17393 (WebKit::WebCursorInfo::):
17394 (WebKit::WebCursorInfo::WebCursorInfo):
17396 2009-11-09 Nate Chapin <japhet@chromium.org>
17398 Reviewed by Dimitri Glazkov.
17400 More WebC*.h upstreaming.
17402 https://bugs.webkit.org/show_bug.cgi?id=28394
17404 * public/WebCString.h: Added.
17405 (WebKit::WebCString::~WebCString):
17406 (WebKit::WebCString::WebCString):
17407 (WebKit::WebCString::operator=):
17408 (WebKit::WebCString::isEmpty):
17409 (WebKit::WebCString::isNull):
17410 (WebKit::WebCString::operator std::string):
17411 (WebKit::WebCString::fromUTF16):
17412 * public/WebColorName.h: Added.
17414 * public/WebCommon.h: Added.
17415 * public/WebCommonWorkerClient.h: Added.
17416 (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
17417 * public/WebCompositionCommand.h: Added.
17420 2009-11-09 Yaar Schnitman <yaar@chromium.org>
17422 Reviewed by Dimitri Glazkov.
17424 Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes
17426 https://bugs.webkit.org/show_bug.cgi?id=28394
17428 * public/WebElement.h: Added.
17429 (WebKit::WebElement::WebElement):
17430 (WebKit::WebElement::operator=):
17431 (WebKit::WebElement::assign):
17432 * public/WebFormElement.h: Added.
17433 (WebKit::WebFormElement::~WebFormElement):
17434 (WebKit::WebFormElement::WebFormElement):
17435 (WebKit::WebFormElement::operator=):
17436 (WebKit::WebFormElement::assign):
17437 * public/WebInputElement.h: Added.
17438 (WebKit::WebInputElement::WebInputElement):
17439 (WebKit::WebInputElement::operator=):
17440 (WebKit::WebInputElement::assign):
17441 * public/WebNode.h: Added.
17442 (WebKit::WebNode::~WebNode):
17443 (WebKit::WebNode::WebNode):
17444 (WebKit::WebNode::operator=):
17445 (WebKit::WebNode::isNull):
17446 (WebKit::WebNode::toElement):
17447 (WebKit::WebNode::unwrap):
17448 (WebKit::WebNode::constUnwrap):
17450 2009-11-09 Nate Chapin <japhet@chromium.org>
17452 Reviewed by Dimitri Glazkov.
17454 WebKit Chromium API upstreaming, WebBindings.h through WebColor.h.
17456 * public/WebBindings.h: Added.
17457 * public/WebCache.h: Added.
17458 * public/WebCanvas.h: Added.
17459 * public/WebClipboard.h: Added.
17460 (WebKit::WebClipboard::):
17461 (WebKit::WebClipboard::~WebClipboard):
17462 * public/WebColor.h: Added.
17464 2009-11-09 Nate Chapin <japhet@chromium.org>
17466 Reviewed by Dimitri Glazkov.
17468 Starting upstreaming the Chromium WebKit API. public/ contains header files only.
17470 https://bugs.webkit.org/show_bug.cgi?id=28394
17472 * ChangeLog: First!!
17474 * public/WebAccessibilityCache.h: Added.
17475 (WebKit::WebAccessibilityCache::WebAccessibilityCache):
17476 (WebKit::WebAccessibilityCache::~WebAccessibilityCache):
17477 * public/WebAccessibilityObject.h: Added.
17478 (WebKit::WebAccessibilityObject::~WebAccessibilityObject):
17479 (WebKit::WebAccessibilityObject::WebAccessibilityObject):
17480 (WebKit::WebAccessibilityObject::operator=):
17481 (WebKit::WebAccessibilityObject::isNull):
17482 * public/WebAccessibilityRole.h: Added.
17484 * public/WebApplicationCacheHost.h: Added.
17485 (WebKit::WebApplicationCacheHost::):
17486 (WebKit::WebApplicationCacheHost::~WebApplicationCacheHost):
17487 * public/WebApplicationCacheHostClient.h: Added.
17488 (WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient):