bb8094fc487b79e64444ff69e1045b3d134add10
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-03-31  Pavel Feldman  <pfeldman@chromium.org>
2
3         Not reviewed. Rolling out r56829 since it broke chromium layout tests.
4
5         [REGRESSION] Inspector tests started crashing since r56829
6         https://bugs.webkit.org/show_bug.cgi?id=36888
7
8         * public/WebFrameClient.h:
9         * src/FrameLoaderClientImpl.cpp:
10         * src/FrameLoaderClientImpl.h:
11
12 2010-03-31  Yury Semikhatsky  <yurys@chromium.org>
13
14         Reviewed by Pavel Feldman.
15
16         Add stubs for moveWindowBy and setAttachedWindowHeight.
17
18         https://bugs.webkit.org/show_bug.cgi?id=36842
19
20         * src/WebDevToolsFrontendImpl.cpp:
21         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
22         (WebKit::WebDevToolsFrontendImpl::jsSetAttachedWindowHeight):
23         (WebKit::WebDevToolsFrontendImpl::jsMoveWindowBy):
24         * src/WebDevToolsFrontendImpl.h:
25
26 2010-03-31  John Gregg  <johnnyg@google.com>
27
28         Reviewed by Darin Fisher.
29
30         [chromium] add logging of cross-frame property accesses for site isolation
31         https://bugs.webkit.org/show_bug.cgi?id=35773
32
33         * public/WebFrameClient.h:
34         (WebKit::WebFrameClient::logCrossFramePropertyAccess):
35         * src/FrameLoaderClientImpl.cpp:
36         (WebKit::FrameLoaderClientImpl::logCrossFramePropertyAccess):
37         * src/FrameLoaderClientImpl.h:
38
39 2010-03-30  Gavin Barraclough  <barraclough@apple.com>
40
41         Rubber stamped by Sam Weinig.
42
43         https://bugs.webkit.org/show_bug.cgi?id=36866
44         Move CString to WTF
45
46         * public/WebCString.h:
47         * src/FrameLoaderClientImpl.cpp:
48         * src/GraphicsContext3D.cpp:
49         * src/WebCString.cpp:
50         (WebKit::WebCString::assign):
51         (WebKit::WebCString::WebCString):
52         (WebKit::WebCString::operator=):
53         (WebKit::WebCString::operator WTF::CString):
54         * src/WebMediaPlayerClientImpl.cpp:
55         * src/WebString.cpp:
56         * src/WebURLError.cpp:
57
58 2010-03-30  Marcus Bulach  <bulach@chromium.org>
59
60         Reviewed by Darin Fisher.
61
62         Rename / tidy up Geolocation bridge:
63         Rename GeolocationServiceBridgeChromium.cpp to WebGeolocationServiceBridgeImpl.cpp            
64         Uses a temporary compatibility layer in GeolocationServiceBridgeChromium.h.
65
66         https://bugs.webkit.org/show_bug.cgi?id=36535
67
68         * WebKit.gyp:
69         * public/GeolocationServiceBridgeChromium.h:
70         * public/WebGeolocationService.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
71         (WebKit::WebGeolocationService::detachBridge):
72         * public/WebGeolocationServiceBridge.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
73         * public/WebViewClient.h:
74         (WebKit::WebViewClient::geolocationService):
75         * src/ChromeClientImpl.cpp:
76         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
77         * src/ChromiumBridge.cpp:
78         * src/GeolocationServiceBridgeChromium.cpp: Removed.
79         * src/WebGeolocationServiceBridgeImpl.cpp: Copied from WebKit/chromium/src/GeolocationServiceBridgeChromium.cpp.
80         (WebKit::createGeolocationServiceBridgeImpl):
81         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
82         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
83         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
84         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
85         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
86         (WebKit::WebGeolocationServiceBridgeImpl::resume):
87         (WebKit::WebGeolocationServiceBridgeImpl::getBridgeId):
88         (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
89         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
90         (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
91         (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
92         * src/WebGeolocationServiceBridgeImpl.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
93
94 2010-03-30  Jochen Eisinger  <jochen@chromium.org>
95
96         Reviewed by Jeremy Orlow.
97
98         Remove dysfunctional implementation of canEstablishDatabase for
99         Workers. I postpone this implementation until Workers can actually
100         access Web Databases.
101
102         https://bugs.webkit.org/show_bug.cgi?id=36795
103
104         * src/DatabaseObserver.cpp:
105         (WebCore::DatabaseObserver::canEstablishDatabase):
106         * src/WebWorkerBase.h:
107
108 2010-03-29  Jeremy Orlow  <jorlow@chromium.org>
109
110         Reviewed by Darin Fisher.
111
112         More IndexedDB work
113         https://bugs.webkit.org/show_bug.cgi?id=36770
114
115         Start the implementation of WebIndexedDatabase (for entrance back into WebKit).
116
117         * WebKit.gyp:
118         * public/WebIndexedDatabase.h:
119         * src/WebIndexedDatabaseImpl.cpp: Added.
120         (WebKit::WebIndexedDatabase::create):
121         (WebKit::WebIndexedDatabaseImpl::~WebIndexedDatabaseImpl):
122         (WebKit::WebIndexedDatabaseImpl::open):
123         * src/WebIndexedDatabaseImpl.h: Added.
124
125 2010-03-29  Rafael Weinstein  <rafaelw@chromium.org>
126
127         Reviewed by Adam Barth.
128
129         Change NotificationPresenter::checkPermission() to take the source frames full KURL,
130         rather than its SecurityOrigin. This will aid chromium in having more fine grained
131         permissions to control notification spam.
132
133         * public/WebNotificationPresenter.h:
134         (WebKit::WebNotificationPresenter::checkPermission):
135         * src/NotificationPresenterImpl.cpp:
136         (WebKit::NotificationPresenterImpl::checkPermission):
137         * src/NotificationPresenterImpl.h:
138
139 2010-03-29  Dawit Alemayehu  <adawit@kde.org>
140
141         Reviewed by Simon Hausmann.
142
143         Factored out the 'ShouldTreatAsAttachment' function to HTTPParsers.*
144         and replacted local version with the factored out version.
145
146         The code was factored out to make possible its use in other implementations
147         such as QtWebKit.
148
149         * src/FrameLoaderClientImpl.cpp:
150         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
151
152 2010-03-29  Jochen Eisinger  <jochen@chromium.org>
153
154         Reviewed by Darin Fisher.
155
156         Pass a WebFrame to WebFrameClient::allowDatabase instead of a WebSecurityOrigin
157         https://bugs.webkit.org/show_bug.cgi?id=36743
158
159         * public/WebFrameClient.h:
160         (WebKit::WebFrameClient::allowDatabase):
161         * src/DatabaseObserver.cpp:
162         (WebCore::DatabaseObserver::canEstablishDatabase):
163
164 2010-03-24  Jeremy Orlow  <jorlow@chromium.org>
165
166         Reviewed by Darin Fisher.
167
168         More IndexedDB plumbing
169         https://bugs.webkit.org/show_bug.cgi?id=36546
170
171         Plumbing work towards the goal of making IndexedDatabase::open work.
172
173         * WebKit.gyp:
174         * public/WebIDBCallbacks.h: Added.
175         (WebKit::WebIDBCallbacks::~WebIDBCallbacks):
176         * public/WebIDBDatabase.h: Added.
177         (WebKit::WebIDBDatabase::~WebIDBDatabase):
178         * public/WebIDBDatabaseError.h: Added.
179         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
180         (WebKit::WebIDBDatabaseError::operator=):
181         * public/WebIndexedDatabase.h:
182         * public/WebKitClient.h:
183         (WebKit::WebKitClient::indexedDatabase):
184         * public/WebSerializedScriptValue.h:
185         * src/IDBCallbacksProxy.h: Added.
186         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
187         (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
188         (WebCore::IDBCallbacksProxy::onSuccess):
189         (WebCore::IDBCallbacksProxy::onError):
190         * src/IDBDatabaseProxy.cpp: Added.
191         (WebCore::IDBDatabaseProxy::create):
192         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
193         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
194         * src/IDBDatabaseProxy.h: Added.
195         * src/IndexedDatabaseProxy.cpp:
196         (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
197         (WebCore::IndexedDatabaseProxy::open):
198         * src/IndexedDatabaseProxy.h:
199         * src/WebIDBDatabaseError.cpp: Added.
200         (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
201         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
202         (WebKit::WebIDBDatabaseError::assign):
203         (WebKit::WebIDBDatabaseError::code):
204         (WebKit::WebIDBDatabaseError::message):
205         (WebKit::WebIDBDatabaseError::operator=):
206         (WebKit::WebIDBDatabaseError::operator PassRefPtr<IDBDatabaseError>):
207
208 2010-03-29  Mikhail Naganov  <mnaganov@chromium.org>
209
210         Reviewed by Pavel Feldman.
211
212         Remove a possibility of confusion from Profiles panel Welcome screen
213         by turning buttons into non-clickable glyphs. Also, span instructions
214         alongside panel width.
215
216         https://bugs.webkit.org/show_bug.cgi?id=34319
217
218         * src/js/HeapProfilerPanel.js:
219         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
220
221 2010-03-28  Alexey Proskuryakov  <ap@apple.com>
222
223         Build fix. Removed extraneous includes of KeyboardCodesWin.h and KeyboardCodesPosix.h -
224         these no longer exist, but they weren't needed even before reshuffling KeyboardCodes headers.
225
226         * src/WebViewImpl.cpp:
227
228 2010-03-27  Kenneth Russell  <kbr@google.com>
229
230         Reviewed by Darin Fisher.
231
232         Use WebKitClient to instantiate WebGraphicsContext3D
233         https://bugs.webkit.org/show_bug.cgi?id=36669
234
235         * src/GraphicsContext3D.cpp:
236         (WebCore::GraphicsContext3DInternal::initialize):
237
238 2010-03-24  James Hawkins  <jhawkins@chromium.org>
239
240         Reviewed by Darin Fisher.
241
242         [Chromium] Implement WebFormControlElement and WebSelectElement.  Add
243         a getFormControlElements method to WebFormElement.
244
245         https://bugs.webkit.org/show_bug.cgi?id=36562
246
247         * WebKit.gyp:
248         * public/WebElement.h:
249         * public/WebFormControlElement.h: Added.
250         * public/WebFormElement.h:
251         * public/WebInputElement.h:
252         (WebKit::WebInputElement::WebInputElement):
253         (WebKit::WebInputElement::operator=):
254         (WebKit::WebInputElement::assign):
255         * public/WebSelectElement.h: Added.
256         * src/WebElement.cpp:
257         (WebKit::WebElement::isFormControlElement):
258         * src/WebFormControlElement.cpp: Added.
259         * src/WebFormElement.cpp:
260         (WebKit::WebFormElement::getFormControlElements):
261         * src/WebInputElement.cpp:
262         (WebKit::WebInputElement::WebInputElement):
263         * src/WebSelectElement.cpp: Added.
264
265 2010-03-26  Andrey Kosyakov  <caseq@chromium.org>
266
267         Reviewed by Pavel Feldman.
268
269         Send worker resource content to inspector to enable display of web
270         workers in inspector's resource tab.
271         https://bugs.webkit.org/show_bug.cgi?id=36658
272
273         * src/SharedWorkerRepository.cpp:
274         (WebCore::SharedWorkerScriptLoader::notifyFinished):
275
276 2010-03-25  Tony Chang  <tony@chromium.org>
277
278         Reviewed by David Levin.
279
280         [chromium] correctly handle move drag operations
281         https://bugs.webkit.org/show_bug.cgi?id=36484
282
283         * src/WebViewImpl.cpp:
284         (WebKit::WebViewImpl::dragTargetDragEnter):
285         (WebKit::WebViewImpl::dragTargetDragOver):
286         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): Combine common code into a helper method
287             and properly mask against the drag effect.
288         (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
289         * src/WebViewImpl.h:
290
291 2010-03-25  Drew Wilson  <atwilson@chromium.org>
292
293         Reviewed by Nate Chapin.
294
295         [v8] Error in getScriptExecutionContext() when worker context is terminating
296         https://bugs.webkit.org/show_bug.cgi?id=36565
297
298         Test: Existing worker tests suffice.
299
300         * src/WebWorkerClientImpl.cpp:
301         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
302         Changed to use WorkerScriptController::controllerForContext() instead of WorkerScriptExecutionProxy::retrieve().
303
304 2010-03-25  Jeremy Orlow  <jorlow@chromium.org>
305
306         Reviewed by Darin Fisher.
307
308         [Chromium] Add an ASSERT macro to the Chromium WebKit API
309         https://bugs.webkit.org/show_bug.cgi?id=36545
310
311         * WebKit.gyp:  Add WebCommon.cpp
312         * public/WebCommon.h:  Add the Macro.
313         * public/WebPrivatePtr.h:
314         (WebKit::WebPrivatePtr::~WebPrivatePtr):  Verify the pointer is now 0.
315         * src/WebCommon.cpp: Added.
316         (WebKit::failedAssertion): Calls the WTF assert function and then crashes.
317
318 2010-03-25  Jochen Eisinger  <jochen@chromium.org>
319
320         Reviewed by Jeremy Orlow.
321
322         Remove ASSERT(isMainThread()) which is violated for workers and not necessary at this point.
323         https://bugs.webkit.org/show_bug.cgi?id=36614
324
325         * src/DatabaseObserver.cpp:
326         (WebCore::DatabaseObserver::canEstablishDatabase):
327
328 2010-03-25  Jochen Eisinger  <jochen@chromium.org>
329
330         Reviewed by Jeremy Orlow.
331
332         Forward DatabaseTracker::canEstablishDatabase to chromium layer.
333         https://bugs.webkit.org/show_bug.cgi?id=36595
334
335         * public/WebFrameClient.h:
336         (WebKit::WebFrameClient::allowDatabase):
337         * src/DatabaseObserver.cpp:
338         (WebCore::DatabaseObserver::canEstablishDatabase):
339         * src/WebWorkerBase.h:
340         (WebKit::WebWorkerBase::allowDatabase):
341
342 2010-03-10  John Abd-El-Malek  <jam@chromium.org>
343
344         Reviewed by Darin Fisher.
345
346         [chromium] Fix up WebMouseWheelEventBuilder to properly calculate the units
347         https://bugs.webkit.org/show_bug.cgi?id=35989
348
349         * src/WebInputEventConversion.cpp:
350
351 2010-03-24  Vangelis Kokkevis  <vangelis@chromium.org>
352
353         Reviewed by Dimitri Glazkov.
354
355         Eliminate unecessary redraws of GraphicsLayer contents when doing accelerated compositing:
356         https://bugs.webkit.org/show_bug.cgi?id=36470
357
358         * src/WebViewImpl.cpp:
359         (WebKit::WebViewImpl::paint):
360         Remove call that forced redrawing the contents of the entire layer hierarchy.
361
362 2010-03-24  Dmitry Titov  <dimich@chromium.org>
363
364         No review, rolling out r56453.
365         http://trac.webkit.org/changeset/56453
366         https://bugs.webkit.org/show_bug.cgi?id=36426
367
368         In Chromium port, it broke invalid-image-data-standalone.html
369         invalid-image-data.html multipart-wait-before-boundary.html
370         stop-crash.html win-boundary-crash.html
371
372         * src/ResourceHandle.cpp:
373         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
374         (WebCore::ResourceHandleInternal::start):
375         (WebCore::ResourceHandleInternal::cancel):
376         (WebCore::ResourceHandleInternal::didReceiveResponse):
377         (WebCore::ResourceHandleInternal::didReceiveData):
378         (WebCore::ResourceHandleInternal::didFinishLoading):
379         (WebCore::ResourceHandleInternal::didFail):
380
381 2010-03-24  John Abd-El-Malek  <jam@chromium.org>
382
383         Reviewed by Darin Fisher.
384
385         [chromium]WebKit side of adding search support to Pepper.
386         https://bugs.webkit.org/show_bug.cgi?id=36434
387
388         * WebKit.gyp:
389         * public/WebDocument.h:
390         * public/WebNode.h:
391         (WebKit::WebNode::to):
392         (WebKit::WebNode::toConst):
393         * public/WebPluginDocument.h: Added.
394         (WebKit::WebPluginDocument::WebPluginDocument):
395         (WebKit::WebPluginDocument::operator=):
396         (WebKit::WebPluginDocument::assign):
397         * src/WebDocument.cpp:
398         (WebKit::WebDocument::isPluginDocument):
399         * src/WebPluginDocument.cpp: Added.
400         (WebKit::WebPluginDocument::plugin):
401         (WebKit::WebPluginDocument::WebPluginDocument):
402         (WebKit::WebPluginDocument::operator=):
403         (WebKit::WebPluginDocument::operator PassRefPtr<PluginDocument>):
404
405 2010-03-24  Jeremy Moskovich  <jeremy@chromium.org>
406
407         Reviewed by Jeremy Orlow.
408
409         Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
410
411         https://bugs.webkit.org/show_bug.cgi?id=36426
412
413         * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
414         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
415         (WebCore::ResourceHandleInternal::):
416         (WebCore::ResourceHandleInternal::start):
417         (WebCore::ResourceHandleInternal::cancel):
418         (WebCore::ResourceHandleInternal::didReceiveResponse):
419         (WebCore::ResourceHandleInternal::didReceiveData):
420         (WebCore::ResourceHandleInternal::didFinishLoading):
421         (WebCore::ResourceHandleInternal::didFail):
422
423 2010-03-24  Jay Campan  <jcampan@google.com>
424
425         Reviewed by Darin Fisher.
426
427         Making Chromium select popups not steal activation from the browser.
428         Select popups are now like autocomplete popups, shown in non-activated
429         windows.
430         https://bugs.webkit.org/show_bug.cgi?id=36062
431
432         * public/WebViewClient.h:
433         (WebKit::WebViewClient::createPopupMenu):
434         * src/ChromeClientImpl.cpp:
435         (WebKit::ChromeClientImpl::popupOpened):
436         (WebKit::ChromeClientImpl::popupClosed):
437         * src/ChromeClientImpl.h:
438         * src/WebViewImpl.cpp:
439         (WebKit::):
440         (WebKit::WebViewImpl::mouseDown):
441         (WebKit::WebViewImpl::keyEvent):
442         (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
443         (WebKit::WebViewImpl::hideSelectPopup):
444         (WebKit::WebViewImpl::popupOpened):
445         (WebKit::WebViewImpl::popupClosed):
446         (WebKit::WebViewImpl::setFocus):
447         (WebKit::WebViewImpl::applyAutoFillSuggestions):
448         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
449         * src/WebViewImpl.h:
450
451 2010-03-24  Alexander Pavlov  <apavlov@chromium.org>
452
453         Reviewed by Pavel Feldman.
454
455         Web Inspector: [Chromium] Audits never complete
456         https://bugs.webkit.org/show_bug.cgi?id=36544
457
458         * src/js/InspectorControllerImpl.js:
459         (devtools.InspectorBackendImpl):
460
461 2010-03-24  Alexander Pavlov  <apavlov@chromium.org>
462
463         Reviewed by Pavel Feldman.
464
465         [Chromium] Fix VKEY_F10, VKEY_F11 translation in WebInputEvent.cpp
466         https://bugs.webkit.org/show_bug.cgi?id=36524
467
468         * src/WebInputEvent.cpp:
469         (WebKit::staticKeyIdentifiers):
470
471 2010-03-24  Kent Tamura  <tkent@chromium.org>
472
473         Reviewed by Darin Adler.
474
475         Make Icon::createIconForFiles() optional.
476         https://bugs.webkit.org/show_bug.cgi?id=35072
477
478         - Rename iconForFiles() to chooseIconForFiles().
479         - Call Icon::createIconForFiles() from chooseIconForFiles().
480
481         * src/ChromeClientImpl.cpp:
482         (WebKit::ChromeClientImpl::chooseIconForFiles):
483         * src/ChromeClientImpl.h:
484
485 2010-03-23  Kenneth Russell  <kbr@google.com>
486
487         Unreviewed build fix.
488
489         Add #include <stdio.h> to fix Chromium Linux build.
490
491         * src/WebGraphicsContext3DDefaultImpl.cpp:
492
493 2010-03-23  Nate Chapin  <japhet@chromium.org>
494
495         Unreviewed, revert r56376.
496
497         This revision introduced a crash in a couple of layout tests
498         on Chromium Linux.
499
500         * public/WebViewClient.h:
501         (WebKit::WebViewClient::createPopupMenu):
502         * src/ChromeClientImpl.cpp:
503         (WebKit::ChromeClientImpl::popupOpened):
504         * src/ChromeClientImpl.h:
505         * src/WebViewImpl.cpp:
506         (WebKit::):
507         (WebKit::WebViewImpl::mouseDown):
508         (WebKit::WebViewImpl::keyEvent):
509         (WebKit::WebViewImpl::setFocus):
510         (WebKit::WebViewImpl::applyAutoFillSuggestions):
511         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
512         * src/WebViewImpl.h:
513
514 2010-03-23  Sergey Ulanov  <sergeyu@chromium.org>
515
516         Reviewed by Dmitry Titov.
517
518         Changes needed to implement Show/Hide Controls command for <video> in
519         chrome: (1) added Controls action in WebMediaPlayerAction that toggles
520         controls for media player, (2) added MediaHasVideo in
521         WebContextMenuData so that controls can be made toggleable only for
522         video player but not for audio.
523         https://bugs.webkit.org/show_bug.cgi?id=36460
524
525         * public/WebContextMenuData.h:
526         (WebKit::WebContextMenuData::):
527         * public/WebMediaPlayerAction.h:
528         (WebKit::WebMediaPlayerAction::):
529         * src/ContextMenuClientImpl.cpp:
530         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
531         * src/WebViewImpl.cpp:
532         (WebKit::WebViewImpl::performMediaPlayerAction):
533
534 2010-03-23  Yury Semikhatsky  <yurys@chromium.org>
535
536         Reviewed by Pavel Feldman.
537
538         When uncaught exception happens reveal Scripts panel only if reporting uncaught exceptions is on.
539
540         https://bugs.webkit.org/show_bug.cgi?id=36498
541
542         * src/js/DebuggerAgent.js:
543         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
544
545 2010-03-23  Ilya Tikhonovsky  <loislo@chromium.org>
546
547         Reviewed by Pavel Feldman.
548
549         Web Inspector: TimelinePanel stays in the recording state after reopening WebInspector.
550         https://bugs.webkit.org/show_bug.cgi?id=36503
551
552         * src/WebDevToolsAgentImpl.cpp:
553         (WebKit::WebDevToolsAgentImpl::detach):
554
555 2010-03-22  Kenneth Russell  <kbr@google.com>
556
557         Reviewed by Darin Fisher.
558
559         Add GraphicsContext3D abstraction to WebKit API
560         https://bugs.webkit.org/show_bug.cgi?id=36262
561
562         Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
563         GraphicsContext3D implementation to use it. All of the OpenGL calls have
564         been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
565         WebGraphicsContext3D implementation. GraphicsContext3D is still
566         responsible for the transfer of rendered output from the
567         WebGraphicsContext3D to the HTMLCanvasElement.
568
569         The GraphicsContext3DInternal class, which is a data member of
570         GraphicsContext3D for the Chromium port, remains. It is possible to
571         eliminate this class and thereby one level of delegation, but this is
572         being deferred.
573
574         The needed entry point for a Chrome implementation of
575         WebGraphicsContext3D has been added to WebKitClient, but it is not being
576         called yet by GraphicsContext3D. It will be once this patch lands and
577         Chromium is rolled forward to support this entry point.
578
579         This is a large patch, but the transformation is almost entirely
580         mechanical and there is no change in functionality. Nearly all of
581         GraphicsContext3D and GraphicsContext3DInternal has been moved to
582         WebGraphicsContext3DDefaultImpl. The only area where the splitting of
583         logic is less than mechanical is GraphicsContext3D::beginPaint() and its
584         callees.
585
586         Ran all WebGL layout tests and demos from Khronos site in Chromium
587         on Mac and Windows.
588
589         * WebKit.gyp:
590         * public/WebGraphicsContext3D.h: Added.
591         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
592         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
593         * public/WebKitClient.h:
594         (WebKit::WebKitClient::createGraphicsContext3D):
595         * src/GraphicsContext3D.cpp:
596         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
597         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
598         (WebCore::GraphicsContext3DInternal::initialize):
599         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
600         (WebCore::GraphicsContext3DInternal::platformTexture):
601         (WebCore::GraphicsContext3DInternal::beginPaint):
602         (WebCore::GraphicsContext3DInternal::endPaint):
603         (WebCore::GraphicsContext3DInternal::reshape):
604         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
605         (WebCore::GraphicsContext3DInternal::bindTexture):
606         (WebCore::GraphicsContext3DInternal::bufferData):
607         (WebCore::GraphicsContext3DInternal::bufferSubData):
608         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
609         (WebCore::GraphicsContext3DInternal::getActiveUniform):
610         (WebCore::GraphicsContext3DInternal::getAttribLocation):
611         (WebCore::GraphicsContext3DInternal::getContextAttributes):
612         (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
613         (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
614         (WebCore::GraphicsContext3DInternal::getShaderSource):
615         (WebCore::GraphicsContext3DInternal::getString):
616         (WebCore::GraphicsContext3DInternal::getUniformLocation):
617         (WebCore::GraphicsContext3DInternal::readPixels):
618         (WebCore::GraphicsContext3DInternal::shaderSource):
619         (WebCore::GraphicsContext3DInternal::texImage2D):
620         (WebCore::GraphicsContext3DInternal::texSubImage2D):
621         (WebCore::GraphicsContext3DInternal::uniform1fv):
622         (WebCore::GraphicsContext3DInternal::uniform1iv):
623         (WebCore::GraphicsContext3DInternal::uniform2fv):
624         (WebCore::GraphicsContext3DInternal::uniform2iv):
625         (WebCore::GraphicsContext3DInternal::uniform3fv):
626         (WebCore::GraphicsContext3DInternal::uniform3iv):
627         (WebCore::GraphicsContext3DInternal::uniform4fv):
628         (WebCore::GraphicsContext3DInternal::uniform4iv):
629         (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
630         (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
631         (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
632         (WebCore::GraphicsContext3D::GraphicsContext3D):
633         (WebCore::GraphicsContext3D::~GraphicsContext3D):
634         (WebCore::GraphicsContext3D::create):
635         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
636         (WebCore::GraphicsContext3D::platformTexture):
637         (WebCore::GraphicsContext3D::texImage2D):
638         (WebCore::GraphicsContext3D::texSubImage2D):
639         * src/WebGraphicsContext3D.cpp: Added.
640         (WebKit::WebGraphicsContext3D::createDefault):
641         * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
642         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
643         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
644         (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
645         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
646         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
647         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
648         (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
649         (WebKit::WebGraphicsContext3DDefaultImpl::width):
650         (WebKit::WebGraphicsContext3DDefaultImpl::height):
651         (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
652         (WebKit::createTextureObject):
653         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
654         (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
655         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
656         (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
657         (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
658         (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
659         (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
660         (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
661         (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
662         (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
663         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
664         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
665         (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
666         (WebKit::WebGraphicsContext3DDefaultImpl::getError):
667         (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
668         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
669         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
670         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
671         (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
672         (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
673         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
674         (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
675         (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
676         (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
677         (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
678         (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
679         (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
680         (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
681         (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
682         (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
683         (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
684         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
685         (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
686         (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
687         * src/WebGraphicsContext3DDefaultImpl.h: Added.
688         (WebKit::WebGraphicsContext3DDefaultImpl::):
689         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
690         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
691         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
692         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
693         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
694         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
695         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
696         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
697
698 2010-03-22  Jay Campan  <jcampan@google.com>
699
700         Reviewed by Darin Fisher.
701
702         Making Chromium select popups not steal activation from the browser.
703         Select popups are now like autocomplete popups, shown in non-activated
704         windows.
705         https://bugs.webkit.org/show_bug.cgi?id=36062
706
707         * public/WebViewClient.h:
708         (WebKit::WebViewClient::createPopupMenu):
709         * src/ChromeClientImpl.cpp:
710         (WebKit::ChromeClientImpl::popupOpened):
711         (WebKit::ChromeClientImpl::popupClosed):
712         * src/ChromeClientImpl.h:
713         * src/WebViewImpl.cpp:
714         (WebKit::):
715         (WebKit::WebViewImpl::mouseDown):
716         (WebKit::WebViewImpl::keyEvent):
717         (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
718         (WebKit::WebViewImpl::hideSelectPopup):
719         (WebKit::WebViewImpl::popupOpened):
720         (WebKit::WebViewImpl::popupClosed):
721         (WebKit::WebViewImpl::setFocus):
722         (WebKit::WebViewImpl::applyAutoFillSuggestions):
723         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
724         * src/WebViewImpl.h:
725
726 2010-03-22  Darin Fisher  <darin@chromium.org>
727
728         Reviewed by Nate Chapin.
729
730         [chromium] Renderer crashes when navigating to a reference fragment in
731         a frame that has no current HistoryItem.
732
733         https://bugs.webkit.org/show_bug.cgi?id=36443
734
735         Test: fast/loader/crash-replacing-location-before-load.html
736
737         * src/FrameLoaderClientImpl.cpp:
738         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
739
740 2010-03-22  Kevin Decker  <kdecker@apple.com>
741
742         Reviewed by John Sullivan.
743
744         https://bugs.webkit.org/show_bug.cgi?id=36328
745
746         * src/LocalizedStrings.cpp:
747         (WebCore::missingPluginText): Added
748
749 2010-03-22  Yury Semikhatsky  <yurys@chromium.org>
750
751         Reviewed by Pavel Feldman.
752
753         Fix inspected Page crash in destructor when Web Inspector is open.
754
755         https://bugs.webkit.org/show_bug.cgi?id=36441
756
757         * src/js/InjectDispatch.js:
758         (inspectedPageDestroyed): Added stub for missing method.
759
760 2010-03-22  Jochen Eisinger  <jochen@chromium.org>
761
762         Reviewed by Jeremy Orlow.
763
764         Added methods to WebSecurityOrigin for invoking
765         SecurityOrigin::canAccess and SecurityOrigin::Create
766         https://bugs.webkit.org/show_bug.cgi?id=36356
767
768         * public/WebSecurityOrigin.h:
769         * src/WebSecurityOrigin.cpp:
770         (WebKit::WebSecurityOrigin::create):
771         (WebKit::WebSecurityOrigin::canAccess):
772
773 2010-03-20  Dimitri Glazkov  <dglazkov@chromium.org>
774
775         No review, rolling out r56294.
776         http://trac.webkit.org/changeset/56294
777         https://bugs.webkit.org/show_bug.cgi?id=36262
778
779         Broke compile on Chromium canaries.
780
781         * WebKit.gyp:
782         * public/WebGraphicsContext3D.h: Removed.
783         * public/WebKitClient.h:
784         * src/GraphicsContext3D.cpp:
785         (WebCore::GraphicsContext3DInternal::):
786         (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
787         (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
788         (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
789         (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
790         (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
791         (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
792         (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
793         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
794         (WebCore::GraphicsContext3DInternal::GLConnection::create):
795         (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
796         (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
797         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
798         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
799         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
800         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
801         (WebCore::GraphicsContext3DInternal::platformTexture):
802         (WebCore::createTextureObject):
803         (WebCore::GraphicsContext3DInternal::reshape):
804         (WebCore::GraphicsContext3DInternal::flipVertically):
805         (WebCore::GraphicsContext3DInternal::beginPaint):
806         (WebCore::GraphicsContext3DInternal::activeTexture):
807         (WebCore::GraphicsContext3DInternal::bindBuffer):
808         (WebCore::GraphicsContext3DInternal::bindFramebuffer):
809         (WebCore::GraphicsContext3DInternal::bindTexture):
810         (WebCore::GraphicsContext3DInternal::bufferDataImpl):
811         (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
812         (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
813         (WebCore::GraphicsContext3DInternal::getError):
814         (WebCore::GraphicsContext3DInternal::getContextAttributes):
815         (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
816         (WebCore::GraphicsContext3DInternal::viewportImpl):
817         (WebCore::GraphicsContext3DInternal::synthesizeGLError):
818         (WebCore::GraphicsContext3D::create):
819         (WebCore::GraphicsContext3D::GraphicsContext3D):
820         (WebCore::GraphicsContext3D::~GraphicsContext3D):
821         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
822         (WebCore::GraphicsContext3D::platformTexture):
823         (WebCore::GraphicsContext3D::makeContextCurrent):
824         (WebCore::GraphicsContext3D::reshape):
825         (WebCore::GraphicsContext3D::beginPaint):
826         (WebCore::GraphicsContext3D::endPaint):
827         (WebCore::GraphicsContext3D::sizeInBytes):
828         (WebCore::GraphicsContext3D::createBuffer):
829         (WebCore::GraphicsContext3D::createFramebuffer):
830         (WebCore::GraphicsContext3D::createProgram):
831         (WebCore::GraphicsContext3D::createRenderbuffer):
832         (WebCore::GraphicsContext3D::createShader):
833         (WebCore::GraphicsContext3D::createTexture):
834         (WebCore::GraphicsContext3D::deleteBuffer):
835         (WebCore::GraphicsContext3D::deleteFramebuffer):
836         (WebCore::GraphicsContext3D::deleteProgram):
837         (WebCore::GraphicsContext3D::deleteRenderbuffer):
838         (WebCore::GraphicsContext3D::deleteShader):
839         (WebCore::GraphicsContext3D::deleteTexture):
840         (WebCore::GraphicsContext3D::activeTexture):
841         (WebCore::GraphicsContext3D::bindAttribLocation):
842         (WebCore::GraphicsContext3D::bindBuffer):
843         (WebCore::GraphicsContext3D::bindFramebuffer):
844         (WebCore::GraphicsContext3D::bindTexture):
845         (WebCore::GraphicsContext3D::bufferData):
846         (WebCore::GraphicsContext3D::bufferSubData):
847         (WebCore::GraphicsContext3D::checkFramebufferStatus):
848         (WebCore::GraphicsContext3D::detachShader):
849         (WebCore::GraphicsContext3D::disableVertexAttribArray):
850         (WebCore::GraphicsContext3D::drawArrays):
851         (WebCore::GraphicsContext3D::drawElements):
852         (WebCore::GraphicsContext3D::enableVertexAttribArray):
853         (WebCore::GraphicsContext3D::generateMipmap):
854         (WebCore::GraphicsContext3D::getActiveAttrib):
855         (WebCore::GraphicsContext3D::getActiveUniform):
856         (WebCore::GraphicsContext3D::getAttribLocation):
857         (WebCore::GraphicsContext3D::getBooleanv):
858         (WebCore::GraphicsContext3D::getBufferParameteriv):
859         (WebCore::GraphicsContext3D::getContextAttributes):
860         (WebCore::GraphicsContext3D::getError):
861         (WebCore::GraphicsContext3D::getFloatv):
862         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
863         (WebCore::GraphicsContext3D::getIntegerv):
864         (WebCore::GraphicsContext3D::getProgramiv):
865         (WebCore::GraphicsContext3D::getProgramInfoLog):
866         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
867         (WebCore::GraphicsContext3D::getShaderiv):
868         (WebCore::GraphicsContext3D::getShaderInfoLog):
869         (WebCore::GraphicsContext3D::getShaderSource):
870         (WebCore::GraphicsContext3D::getString):
871         (WebCore::GraphicsContext3D::getTexParameterfv):
872         (WebCore::GraphicsContext3D::getTexParameteriv):
873         (WebCore::GraphicsContext3D::getUniformfv):
874         (WebCore::GraphicsContext3D::getUniformiv):
875         (WebCore::GraphicsContext3D::getUniformLocation):
876         (WebCore::GraphicsContext3D::getVertexAttribfv):
877         (WebCore::GraphicsContext3D::getVertexAttribiv):
878         (WebCore::GraphicsContext3D::getVertexAttribOffset):
879         (WebCore::GraphicsContext3D::isBuffer):
880         (WebCore::GraphicsContext3D::isEnabled):
881         (WebCore::GraphicsContext3D::isFramebuffer):
882         (WebCore::GraphicsContext3D::isProgram):
883         (WebCore::GraphicsContext3D::isRenderbuffer):
884         (WebCore::GraphicsContext3D::isShader):
885         (WebCore::GraphicsContext3D::isTexture):
886         (WebCore::GraphicsContext3D::pixelStorei):
887         (WebCore::GraphicsContext3D::readPixels):
888         (WebCore::GraphicsContext3D::releaseShaderCompiler):
889         (WebCore::GraphicsContext3D::shaderSource):
890         (WebCore::GraphicsContext3D::synthesizeGLError):
891         (WebCore::GraphicsContext3D::texImage2D):
892         (WebCore::GraphicsContext3D::texSubImage2D):
893         (WebCore::GraphicsContext3D::uniform1fv):
894         (WebCore::GraphicsContext3D::uniform1iv):
895         (WebCore::GraphicsContext3D::uniform2fv):
896         (WebCore::GraphicsContext3D::uniform2iv):
897         (WebCore::GraphicsContext3D::uniform3fv):
898         (WebCore::GraphicsContext3D::uniform3iv):
899         (WebCore::GraphicsContext3D::uniform4fv):
900         (WebCore::GraphicsContext3D::uniform4iv):
901         (WebCore::GraphicsContext3D::uniformMatrix2fv):
902         (WebCore::GraphicsContext3D::uniformMatrix3fv):
903         (WebCore::GraphicsContext3D::uniformMatrix4fv):
904         (WebCore::GraphicsContext3D::vertexAttrib1fv):
905         (WebCore::GraphicsContext3D::vertexAttrib2fv):
906         (WebCore::GraphicsContext3D::vertexAttrib3fv):
907         (WebCore::GraphicsContext3D::vertexAttrib4fv):
908         (WebCore::GraphicsContext3D::vertexAttribPointer):
909         (WebCore::GraphicsContext3D::viewport):
910         * src/WebGraphicsContext3D.cpp: Removed.
911         * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
912         * src/WebGraphicsContext3DDefaultImpl.h: Removed.
913
914 2010-03-19  Kenneth Russell  <kbr@google.com>
915
916         Reviewed by Darin Fisher.
917
918         Add GraphicsContext3D abstraction to WebKit API
919         https://bugs.webkit.org/show_bug.cgi?id=36262
920
921         Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
922         GraphicsContext3D implementation to use it. All of the OpenGL calls have
923         been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
924         WebGraphicsContext3D implementation. GraphicsContext3D is still
925         responsible for the transfer of rendered output from the
926         WebGraphicsContext3D to the HTMLCanvasElement.
927
928         The GraphicsContext3DInternal class, which is a data member of
929         GraphicsContext3D for the Chromium port, remains. It is possible to
930         eliminate this class and thereby one level of delegation, but this is
931         being deferred.
932
933         The needed entry point for a Chrome implementation of
934         WebGraphicsContext3D has been added to WebKitClient, but it is not being
935         called yet by GraphicsContext3D. It will be once this patch lands and
936         Chromium is rolled forward to support this entry point.
937
938         This is a large patch, but the transformation is almost entirely
939         mechanical and there is no change in functionality. Nearly all of
940         GraphicsContext3D and GraphicsContext3DInternal has been moved to
941         WebGraphicsContext3DDefaultImpl. The only area where the splitting of
942         logic is less than mechanical is GraphicsContext3D::beginPaint() and its
943         callees.
944
945         Ran all WebGL layout tests and demos from Khronos site in Chromium.
946
947         * WebKit.gyp:
948         * public/WebGraphicsContext3D.h: Added.
949         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
950         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
951         * public/WebKitClient.h:
952         (WebKit::WebKitClient::createGraphicsContext3D):
953         * src/GraphicsContext3D.cpp:
954         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
955         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
956         (WebCore::GraphicsContext3DInternal::initialize):
957         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
958         (WebCore::GraphicsContext3DInternal::platformTexture):
959         (WebCore::GraphicsContext3DInternal::beginPaint):
960         (WebCore::GraphicsContext3DInternal::endPaint):
961         (WebCore::GraphicsContext3DInternal::reshape):
962         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
963         (WebCore::GraphicsContext3DInternal::bindTexture):
964         (WebCore::GraphicsContext3DInternal::bufferData):
965         (WebCore::GraphicsContext3DInternal::bufferSubData):
966         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
967         (WebCore::GraphicsContext3DInternal::getActiveUniform):
968         (WebCore::GraphicsContext3DInternal::getAttribLocation):
969         (WebCore::GraphicsContext3DInternal::getContextAttributes):
970         (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
971         (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
972         (WebCore::GraphicsContext3DInternal::getShaderSource):
973         (WebCore::GraphicsContext3DInternal::getString):
974         (WebCore::GraphicsContext3DInternal::getUniformLocation):
975         (WebCore::GraphicsContext3DInternal::readPixels):
976         (WebCore::GraphicsContext3DInternal::shaderSource):
977         (WebCore::GraphicsContext3DInternal::texImage2D):
978         (WebCore::GraphicsContext3DInternal::texSubImage2D):
979         (WebCore::GraphicsContext3DInternal::uniform1fv):
980         (WebCore::GraphicsContext3DInternal::uniform1iv):
981         (WebCore::GraphicsContext3DInternal::uniform2fv):
982         (WebCore::GraphicsContext3DInternal::uniform2iv):
983         (WebCore::GraphicsContext3DInternal::uniform3fv):
984         (WebCore::GraphicsContext3DInternal::uniform3iv):
985         (WebCore::GraphicsContext3DInternal::uniform4fv):
986         (WebCore::GraphicsContext3DInternal::uniform4iv):
987         (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
988         (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
989         (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
990         (WebCore::GraphicsContext3D::GraphicsContext3D):
991         (WebCore::GraphicsContext3D::~GraphicsContext3D):
992         (WebCore::GraphicsContext3D::create):
993         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
994         (WebCore::GraphicsContext3D::platformTexture):
995         (WebCore::GraphicsContext3D::texImage2D):
996         (WebCore::GraphicsContext3D::texSubImage2D):
997         * src/WebGraphicsContext3D.cpp: Added.
998         (WebKit::WebGraphicsContext3D::createDefault):
999         * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
1000         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
1001         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
1002         (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
1003         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
1004         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
1005         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1006         (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
1007         (WebKit::WebGraphicsContext3DDefaultImpl::width):
1008         (WebKit::WebGraphicsContext3DDefaultImpl::height):
1009         (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
1010         (WebKit::createTextureObject):
1011         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
1012         (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
1013         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
1014         (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
1015         (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
1016         (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
1017         (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
1018         (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
1019         (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
1020         (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
1021         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
1022         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
1023         (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
1024         (WebKit::WebGraphicsContext3DDefaultImpl::getError):
1025         (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
1026         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
1027         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
1028         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
1029         (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
1030         (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
1031         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
1032         (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
1033         (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
1034         (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
1035         (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
1036         (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
1037         (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
1038         (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
1039         (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
1040         (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
1041         (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
1042         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
1043         (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
1044         (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
1045         * src/WebGraphicsContext3DDefaultImpl.h: Added.
1046         (WebKit::WebGraphicsContext3DDefaultImpl::):
1047         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
1048         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
1049         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
1050         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
1051         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
1052         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
1053         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
1054         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
1055
1056 2010-03-19  Dimitri Glazkov  <dglazkov@chromium.org>
1057
1058         Unreviewed, build fix.
1059
1060         Rename enqueueStorageEvent to enqueueEvent to match changes in
1061         http://trac.webkit.org/changeset/56249.
1062
1063         * src/StorageAreaProxy.cpp:
1064         (WebCore::StorageAreaProxy::storageEvent): Renamed.
1065
1066 2010-03-19  Darin Fisher  <darin@chromium.org>
1067
1068         Reviewed by Dimitri Glazkov.
1069
1070         [chromium] querying the current history item during a back/forward
1071         navigation should not clobber the scroll offset, etc.
1072         https://bugs.webkit.org/show_bug.cgi?id=36347
1073
1074         We should only allow the current history item to be modified if we are
1075         no longer loading or if the load is a new navigation (i.e., not a
1076         back/forward/reload variant).
1077
1078         * src/WebFrameImpl.cpp:
1079         (WebKit::WebFrameImpl::currentHistoryItem):
1080
1081 2010-03-18  Vangelis Kokkevis  <vangelis@chromium.org>
1082
1083         Reviewed by Adam Barth.
1084
1085         Adding support for the ACCELERATED_COMPOSITING render path to Chromium.
1086         https://bugs.webkit.org/show_bug.cgi?id=35557
1087         Currently compositing of layers is performed via s/w compositor which relies on Skia. This is an initial check-in
1088         and it's only been tested on Windows. Compiling the code requires seting "use_accelerated_compositing=1"
1089         to GYP_DEFINES. The update of layer contents and compositing is fairly inefficient but this will be fixed in
1090         subsequent check-ins.
1091
1092         * src/ChromeClientImpl.cpp:
1093         (WebKit::ChromeClientImpl::attachRootGraphicsLayer):
1094         (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
1095         * src/ChromeClientImpl.h:
1096         (WebKit::ChromeClientImpl::setNeedsOneShotDrawingSynchronization):
1097          Added methods required by the RenderLayerCompositor
1098
1099         * src/WebFrameImpl.cpp:
1100         (WebKit::WebFrameImpl::paintWithContext):
1101         (WebKit::WebFrameImpl::paint):
1102         * src/WebFrameImpl.h:
1103         Split WebFrameImpl::paint() into two methods to make it possible to call the paint
1104         routine with an existing GraphicsContext, which is necessary for painting the root layer into
1105         its own backing surface.
1106
1107         * src/WebViewImpl.cpp:
1108         (WebKit::WebViewImpl::WebViewImpl):
1109         (WebKit::WebViewImpl::paint):
1110         Modified method to handle the accelerated compositing path. Now, when doing accelerated compositing,
1111         paint() results in repainting the contents of the root layer and then doing a composite operation.
1112         (WebKit::WebViewImpl::setRootGraphicsLayer):
1113         (WebKit::WebViewImpl::setAcceleratedCompositing):
1114         (WebKit::WebViewImpl::updateRootLayerContents):
1115         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1116         * src/WebViewImpl.h:
1117         (WebKit::WebViewImpl::isAcceleratedCompositing):
1118
1119 2010-03-18  Jian Li  <jianli@chromium.org>
1120
1121         Reviewed by Darin Fisher.
1122
1123         Chromium interface change to support Blob.slice.
1124         https://bugs.webkit.org/show_bug.cgi?id=35318
1125
1126         * features.gypi:
1127         * public/WebHTTPBody.h:
1128         * public/WebKitClient.h:
1129         (WebKit::WebKitClient::getFileModificationTime):
1130         * src/ChromiumBridge.cpp:
1131         (WebCore::ChromiumBridge::getFileModificationTime):
1132         * src/WebHTTPBody.cpp:
1133         (WebKit::WebHTTPBody::elementAt):
1134         (WebKit::WebHTTPBody::appendFile):
1135         (WebKit::WebHTTPBody::appendFileRange):
1136
1137 2010-03-12  Ojan Vafai  <ojan@chromium.org>
1138
1139         Reviewed by David Levin.
1140
1141         smartdelete should only occur after double-click
1142         https://bugs.webkit.org/show_bug.cgi?id=35314
1143
1144         * src/WebFrameImpl.cpp:
1145         (WebKit::WebFrameImpl::selectWordAroundPosition):
1146
1147 2010-03-18  Nate Chapin  <japhet@chromium.org>
1148
1149         Unreviewed, build fix.
1150
1151         Left a parentheses unclosed somehow.
1152
1153         * src/WebDevToolsFrontendImpl.cpp:
1154         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
1155
1156 2010-03-18  Nate Chapin  <japhet@chromium.org>
1157
1158         Reviewed by Dimitri Glazkov.
1159         
1160         Remove all references to V8Index.h and V8ClassIndex.
1161         
1162         https://bugs.webkit.org/show_bug.cgi?id=33477
1163
1164         * src/WebBindings.cpp:
1165         (WebKit::getRangeImpl):
1166         * src/WebDevToolsAgentImpl.cpp:
1167         * src/WebDevToolsFrontendImpl.cpp:
1168         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
1169
1170 2010-03-17  Garret Kelly  <gdk@chromium.org>
1171
1172         Reviewed by Darin Fisher.
1173
1174         PlatformTouchEventBuilder should not be resizing the touch point
1175         array before appending touch points to it.
1176         https://bugs.webkit.org/show_bug.cgi?id=36231
1177
1178         * src/WebInputEventConversion.cpp:
1179         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
1180
1181 2010-03-17  Dmitry Titov  <dimich@chromium.org>
1182
1183         Reviewed by Dimitri Glazkov.
1184
1185         [chromium] Roll Chromium builder's DEPS to current revs.
1186         https://bugs.webkit.org/show_bug.cgi?id=36241
1187
1188         * DEPS:
1189
1190 2010-03-17  Kenneth Russell  <kbr@google.com>
1191
1192         Reviewed by Darin Fisher.
1193
1194         Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
1195         https://bugs.webkit.org/show_bug.cgi?id=36233
1196
1197         The patch for bug 33416, which added multisampling support to the
1198         WebGL back buffer, uncovered some OpenGL driver bugs on the build
1199         bots which need further investigation to determine the appropriate
1200         workaround. Reverting this change, the minor build fix in 36189,
1201         and the skipping of the affected tests in bug 36200.
1202
1203         Built and tested WebKit and Chromium and ran all WebGL layout
1204         tests in both.
1205
1206         * src/GraphicsContext3D.cpp:
1207         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1208         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
1209         (WebCore::GraphicsContext3DInternal::reshape):
1210         (WebCore::GraphicsContext3DInternal::beginPaint):
1211         (WebCore::GraphicsContext3DInternal::bindFramebuffer):
1212         (WebCore::GraphicsContext3D::readPixels):
1213
1214 2010-03-16  James Hawkins  <jhawkins@chromium.org>
1215
1216         Reviewed by David Levin.
1217
1218         [Chromium] Size the WebVector of forms after determining how many
1219         forms are valid and will be returned.
1220
1221         https://bugs.webkit.org/show_bug.cgi?id=36204
1222
1223         No new tests, as this is only triggered by Chromium's use of the
1224         WebFormElement API.
1225
1226         * src/WebFrameImpl.cpp:
1227         (WebKit::WebFrameImpl::forms):
1228
1229 2010-03-16  Kenneth Russell  <kbr@google.com>
1230
1231         Reviewed by Darin Fisher.
1232
1233         Build breakage from 33416
1234         https://bugs.webkit.org/show_bug.cgi?id=36189
1235
1236         No new tests. Built release Chromium.
1237
1238         * src/GraphicsContext3D.cpp:
1239         (WebCore::GraphicsContext3DInternal::reshape):
1240
1241 2010-03-16  Zhenyao Mo  <zmo@google.com>
1242
1243         Reviewed by Darin Fisher.
1244
1245         Hook up WebGLContextAttributes to OpenGL context creation code
1246         https://bugs.webkit.org/show_bug.cgi?id=33416
1247
1248         Test: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html
1249
1250         * src/GraphicsContext3D.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Windows.
1251
1252 2010-03-16  Yury Semikhatsky  <yurys@chromium.org>
1253
1254         Unreviewed.
1255
1256         Fix Chromium Mac build: remove unused code.
1257
1258         * src/WebDevToolsAgentImpl.cpp:
1259         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
1260
1261 2010-03-16  Yury Semikhatsky <yurys@chromium.org>
1262
1263         Reviewed by Pavel Feldman.
1264
1265         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.
1266
1267         Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
1268         https://bugs.webkit.org/show_bug.cgi?id=35036
1269
1270         * src/InspectorClientImpl.cpp:
1271         (WebKit::InspectorClientImpl::openInspectorFrontend):
1272         * src/InspectorClientImpl.h:
1273         * src/WebDevToolsAgentImpl.cpp:
1274         (WebKit::WebDevToolsAgentImpl::attach):
1275         (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
1276         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
1277         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
1278         * src/WebDevToolsAgentImpl.h:
1279         * src/WebDevToolsFrontendImpl.cpp:
1280         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
1281         (WebKit::WebDevToolsFrontendImpl::jsBringToFront):
1282         (WebKit::WebDevToolsFrontendImpl::jsInspectedURLChanged):
1283         * src/WebDevToolsFrontendImpl.h:
1284         * src/js/InjectDispatch.js:
1285         (close):
1286
1287 2010-03-16  Pavel Feldman  <pfeldman@chromium.org>
1288
1289         Not reviewed: chromium tests fix.
1290
1291         * src/js/InspectorControllerImpl.js:
1292         (devtools.InspectorBackendImpl):
1293
1294 2010-03-16  Pavel Feldman  <pfeldman@chromium.org>
1295
1296         Reviewed by Timothy Hatcher.
1297
1298         Web Inspector: migrate to native styles inspector in order to inspect styles from foreighn domains.
1299
1300         https://bugs.webkit.org/show_bug.cgi?id=36117
1301
1302         * src/js/InspectorControllerImpl.js:
1303         (devtools.InspectorBackendImpl):
1304
1305 2010-03-15  John Gregg  <johnnyg@google.com>
1306
1307         Reviewed by David Levin.
1308
1309         Notification object should expose absolute URL of icon
1310         https://bugs.webkit.org/show_bug.cgi?id=35800
1311
1312         * public/WebNotification.h:
1313         * src/WebNotification.cpp:
1314         (WebKit::WebNotification::iconURL):
1315
1316 2010-03-15  Darin Fisher  <darin@chromium.org>
1317
1318         Reviewed by Adam Barth.
1319
1320         https://bugs.webkit.org/show_bug.cgi?id=36152
1321         [chromium] Add support for history.pushState and history.replaceState
1322
1323         * public/WebFrameClient.h:
1324         (WebKit::WebFrameClient::didNavigateWithinPage): Move implementation of
1325         didChangeLocationWithinPage to here.  Only add to the redirect chain if
1326         we are performing a simple hash change (i.e., no state object on the
1327         history item).  Call the old didChangeLocationWithinPage for backwards
1328         compat with Chromium.  This will be removed in a subsequent patch.
1329
1330         (WebKit::WebFrameClient::didChangeLocationWithinPage):
1331         * src/FrameLoaderClientImpl.cpp:
1332         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
1333         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
1334         Call the new version of didChangeLocationWithinPage without the
1335         parameter to indicate whether this is a new navigation or not.  We only
1336         need this method on WebFrameClient to support TestShell / DRT.
1337
1338         (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
1339         Call dispatchDidNavigateWithinPage since pushState is just a type of
1340         in-page navigation.  This is an in-page navigation that adds another
1341         entry to session history.
1342
1343         (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
1344         Call dispatchDidNavigateWithinPage since replaceState is just a type of
1345         in-page navigation.   This is an in-page navigation that replaces the
1346         current session history entry.
1347
1348         (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): Do
1349         nothing since dispatchDidNavigateWithinPage is called in this case by
1350         the FrameLoader.
1351
1352         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
1353         (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): Move the code
1354         for handling the dummy chrome-back-forward://go/ URLs from
1355         dispatchDecidePolicyForNavigationAction to shouldGoToHistoryItem, which
1356         prevents the URLs from leaking into session history.
1357         shouldGoToHistoryItem is called before any work is done by history
1358         traversal, so this is a better place for this hack.  Ultimately, this
1359         code should be eliminatd in favor of better integration with
1360         FrameLoader or HistoryController.
1361
1362         * src/FrameLoaderClientImpl.h:
1363
1364 2010-03-15  Darin Fisher  <darin@chromium.org>
1365
1366         Fix build bustage.  We also need to pull down "third_party/tcmalloc"
1367
1368         * DEPS:
1369
1370 2010-03-15  Darin Fisher  <darin@chromium.org>
1371
1372         Fix build bustage.  We also need to pull down "gfx"
1373
1374         * DEPS:
1375
1376 2010-03-15  Darin Fisher  <darin@chromium.org>
1377
1378         Reviewed by David Levin.
1379
1380         https://bugs.webkit.org/show_bug.cgi?id=36131
1381         Update include paths for chromium Rect, Point, and Size types.
1382
1383         Update DEPS to pull latest chromium code that reflects the
1384         new location of these headers.
1385
1386         * DEPS:
1387         * public/WebPoint.h:
1388         * public/WebRect.h:
1389         * public/WebSize.h:
1390
1391 2010-03-15  Marcus Bulach  <bulach@chromium.org>
1392
1393         Reviewed by Jeremy Orlow.
1394
1395         Send the frame URL on GeolocationServiceBridgeImpl::startUpdating.
1396         https://bugs.webkit.org/show_bug.cgi?id=36012
1397
1398         * public/GeolocationServiceBridgeChromium.h:
1399         * src/GeolocationServiceBridgeChromium.cpp:
1400         (WebKit::GeolocationServiceBridgeImpl::startUpdating):
1401
1402 2010-03-15  Patrik Persson  <patrik.j.persson@ericsson.com>
1403
1404         Reviewed by Darin Adler.
1405
1406         https://bugs.webkit.org/show_bug.cgi?id=32369
1407
1408         Revise iframe sandbox behavior to match the updated HTML5 spec.
1409
1410         - Enables window.sessionStorage in sandboxed iframes.
1411
1412         - Raises SECURITY_ERR exceptions when window.localStorage or
1413           window.openDatabase() is blocked by iframe sandboxing.
1414
1415           Note: window.sessionStorage does not raise exceptions.
1416
1417         WebKit would previously return null references in these cases.  The
1418         new behavior is in accordance with HTML5:
1419
1420           http://dev.w3.org/html5/webstorage/   (sections 4.2 and 4.3)
1421           http://dev.w3.org/html5/webdatabase/  (section 4.1)
1422           http://www.mail-archive.com/whatwg@lists.whatwg.org/msg19786.html
1423
1424         * src/StorageAreaProxy.cpp:
1425         (WebCore::StorageAreaProxy::storageEvent): exception handling
1426         * src/StorageEventDispatcherImpl.cpp:
1427         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): exception handling
1428
1429 2010-03-15  Tony Chang  <tony@chromium.org>
1430
1431         Reviewed by Darin Adler.
1432
1433         option-pageup/down should move cursor on chromium mac
1434         https://bugs.webkit.org/show_bug.cgi?id=36108
1435
1436         * src/EditorClientImpl.cpp:
1437         (WebKit::):
1438
1439 2010-03-13  Eric Roman  <eroman@chromium.org>
1440
1441         Reviewed by Adam Barth.
1442
1443         Add a firstPartyForCookies() property to WebDocument.
1444         https://bugs.webkit.org/show_bug.cgi?id=35592
1445
1446         * public/WebDocument.h:
1447         * src/WebDocument.cpp:
1448         (WebKit::WebDocument::firstPartyForCookies):
1449
1450 2010-03-12  Garret Kelly  <gdk@chromium.org>
1451
1452         Unreiviewed.
1453
1454         Fix Chromium Mac build. Last patch did not apply properly.
1455         (Garret assures me this patch will actually work.)
1456
1457         * src/WebInputEventConversion.cpp:
1458         (WebKit::toPlatformTouchEventType):
1459         (WebKit::toPlatformTouchPointState):
1460
1461 2010-03-12  Garret Kelly  <gdk@chromium.org>
1462
1463         Unreviewed.
1464
1465         Fix Chromium Mac build. This time, with actual fixing goodness.
1466
1467         * src/WebInputEventConversion.cpp:
1468         (WebKit::toPlatformTouchEventType):
1469         (WebKit::toPlatformTouchPointState):
1470
1471 2010-03-12  Garret Kelly  <gdk@chromium.org>
1472
1473         Unreviewed.
1474
1475         Fix Chromium Mac build.
1476
1477         * src/WebInputEventConversion.cpp:
1478         (WebKit::toPlatformTouchEventType):
1479         (WebKit::toPlatformTouchPointState):
1480
1481 2010-03-12  Garret Kelly  <gdk@chromium.org>
1482
1483         Reviewed by Eric Seidel.
1484
1485         Enable touch events in Chromium features gypi file.
1486         https://bugs.webkit.org/show_bug.cgi?id=35994
1487
1488         * features.gypi:
1489
1490 2010-03-12  Darin Fisher  <darin@chromium.org>
1491
1492         Fix Chromium build bustage.
1493
1494         Wrap usage of WebPrivatePtr from WebNode.h in a #if
1495         WEBKIT_IMPLEMENTATION guard.
1496
1497         * public/WebNode.h:
1498
1499 2010-03-12  Nicolas Weber  <thakis@chromium.org>
1500
1501         Reviewed by David Levin.
1502
1503         [Chromium] Cmd-clicking submit buttons should submit in new tab 
1504         https://bugs.webkit.org/show_bug.cgi?id=36023
1505
1506         Take modifiers into account when clicking form buttons. E.g.
1507         cmd-clicking a submit button will submit in a new background tab,
1508         cmd-shift-clicking in a new foreground tab, shift-clicking in a new
1509         window. (On windows/linux, it's ctrl instead of cmd.)
1510
1511         * src/FrameLoaderClientImpl.cpp:
1512         (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
1513
1514 2010-03-12  Kavita Kanetkar  <kkanetkar@chromium.org>
1515
1516         Reviewed by Darin Fisher.
1517
1518         [chromium] Fix memory leak in WebImageDecoder API
1519         https://bugs.webkit.org/show_bug.cgi?id=35946
1520
1521         * src/WebImageDecoder.cpp:
1522         (WebKit::WebImageDecoder::setData):
1523         (WebKit::WebImageDecoder::getFrameAtIndex):
1524
1525 2010-03-11  Aaron Boodman  <aa@chromium.org>
1526
1527         Kill WebDocument::applicationID() (part 1).
1528
1529         Modify interface to WebCore::NotificationPresenter::checkPermission()
1530         and remove implementation of WebDocument::applicationID(). Breaking
1531         API changes will be in a subsequent change.
1532         https://bugs.webkit.org/show_bug.cgi?id=35846
1533
1534         * public/WebNotificationPresenter.h:
1535         * src/NotificationPresenterImpl.cpp:
1536         (WebKit::NotificationPresenterImpl::checkPermission):
1537         * src/NotificationPresenterImpl.h:
1538         * src/WebDocument.cpp:
1539         (WebKit::WebDocument::applicationID):
1540
1541 2010-03-11  Stuart Morgan  <stuartmorgan@chromium.org>
1542
1543         Reviewed by Darin Fisher.
1544
1545         Fix the screen coordinate conversion of Chromium Mac mouse events for
1546         multiple-moniter setups. Also changes the global coordinate values
1547         to be computed from the event, rather than the instantaneous mouse
1548         location, and reduces code duplication for location conversion.
1549
1550         Dual-sided patch with http://codereview.chromium.org/751002
1551
1552         https://bugs.webkit.org/show_bug.cgi?id=35950
1553
1554         * src/mac/WebInputEventFactory.mm:
1555         (WebKit::setWebEventLocationFromEventInView):
1556         (WebKit::WebInputEventFactory::mouseEvent):
1557         (WebKit::WebInputEventFactory::mouseWheelEvent):
1558
1559 2010-03-11  Anders Carlsson  <andersca@apple.com>
1560
1561         Reviewed by David Hyatt.
1562
1563         Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
1564
1565         * src/ChromeClientImpl.cpp:
1566         * src/ChromeClientImpl.h:
1567
1568 2010-03-10  Darin Fisher  <darin@chromium.org>
1569
1570         Reviewed by Jeremy Orlow.
1571
1572         Use WebPrivatePtr for WebNode
1573         https://bugs.webkit.org/show_bug.cgi?id=36005
1574
1575         * public/WebElement.h:
1576         * public/WebFormElement.h:
1577         * public/WebInputElement.h:
1578         * public/WebLabelElement.h:
1579         * public/WebNode.h:
1580         (WebKit::WebNode::WebNode):
1581         (WebKit::WebNode::isNull):
1582         (WebKit::WebNode::unwrap):
1583         (WebKit::WebNode::constUnwrap):
1584         * public/WebPrivatePtr.h:
1585         (WebKit::WebPrivatePtr::assign):
1586         * src/WebDocument.cpp:
1587         (WebKit::WebDocument::WebDocument):
1588         (WebKit::WebDocument::operator=):
1589         (WebKit::WebDocument::operator PassRefPtr<Document>):
1590         * src/WebElement.cpp:
1591         (WebKit::WebElement::hasTagName):
1592         (WebKit::WebElement::WebElement):
1593         (WebKit::WebElement::operator=):
1594         (WebKit::WebElement::operator PassRefPtr<Element>):
1595         * src/WebFormElement.cpp:
1596         (WebKit::WebFormElement::WebFormElement):
1597         (WebKit::WebFormElement::operator=):
1598         (WebKit::WebFormElement::operator PassRefPtr<HTMLFormElement>):
1599         * src/WebInputElement.cpp:
1600         (WebKit::WebInputElement::WebInputElement):
1601         (WebKit::WebInputElement::operator=):
1602         (WebKit::WebInputElement::operator PassRefPtr<HTMLInputElement>):
1603         * src/WebLabelElement.cpp:
1604         (WebKit::WebLabelElement::correspondingControl):
1605         (WebKit::WebLabelElement::operator=):
1606         (WebKit::WebLabelElement::operator PassRefPtr<HTMLLabelElement>):
1607         * src/WebNode.cpp:
1608         (WebKit::WebNode::reset):
1609         (WebKit::WebNode::assign):
1610         (WebKit::WebNode::equals):
1611         (WebKit::WebNode::parentNode):
1612         (WebKit::WebNode::createMarkup):
1613         (WebKit::WebNode::addEventListener):
1614         (WebKit::WebNode::removeEventListener):
1615         (WebKit::WebNode::simulateClick):
1616         (WebKit::WebNode::WebNode):
1617         (WebKit::WebNode::operator=):
1618         (WebKit::WebNode::operator PassRefPtr<Node>):
1619
1620 2010-03-10  Darin Fisher  <darin@chromium.org>
1621
1622         Reviewed by Jeremy Orlow.
1623
1624         Add API wrapper for WebCore::SerializedScriptValue
1625         https://bugs.webkit.org/show_bug.cgi?id=35988
1626
1627         WebSerializedScriptValue is a wrapper around SerializedScriptValue.
1628
1629         WebPrivatePtr is used to simplify wrapping reference counted WebCore
1630         types.  This class is used to cleanup WebHistoryItem, and will be used
1631         to clean up other classes in the WebKit API in a follow-up patch.
1632
1633         * WebKit.gyp:
1634         * public/WebHistoryItem.h:
1635         * public/WebPrivatePtr.h: Added.
1636         * public/WebSerializedScriptValue.h: Added.
1637         * src/WebHistoryItem.cpp:
1638         * src/WebSerializedScriptValue.cpp: Added.
1639
1640 2010-03-10  Sanjeev Radhakrishnan  <sanjeevr@chromium.org>
1641
1642         Reviewed by Darin Fisher.
1643
1644         Allow a plugin to participate in the browser's print workflow.
1645         https://bugs.webkit.org/show_bug.cgi?id=35550
1646
1647         * public/WebFrame.h:
1648         * public/WebPlugin.h:
1649         * src/WebFrameImpl.cpp:
1650         * src/WebFrameImpl.h:
1651         * src/WebPluginContainerImpl.cpp:
1652         * src/WebPluginContainerImpl.h:
1653
1654 2010-03-10  John Abd-El-Malek  <jam@chromium.org>
1655
1656         Reviewed by Nate Chapin.
1657
1658         [chromium]: Fix regression in mouse capture on Mac/Linux
1659         https://bugs.webkit.org/show_bug.cgi?id=35987
1660
1661         * src/WebViewImpl.cpp:
1662
1663 2010-03-10  Evan Stade  <estade@chromium.org>
1664
1665         Reviewed by David Levin.
1666
1667         [chromium] add functionality to activate the focused node in a WebView
1668         https://bugs.webkit.org/show_bug.cgi?id=35407
1669
1670         * public/WebDocument.h:
1671         * public/WebNode.h:
1672         * src/WebDocument.cpp:
1673         (WebKit::WebDocument::focusedNode): Added
1674         * src/WebNode.cpp:
1675         (WebKit::WebNode::simulateClick): Added
1676
1677 2010-03-10  John Abd-El-Malek  <jam@chromium.org>
1678
1679         Reviewed by Darin Fisher.
1680
1681         https://bugs.webkit.org/show_bug.cgi?id=35952
1682         Propagate mouse wheel events to Pepper plugins.
1683
1684         * src/WebInputEventConversion.cpp:
1685         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
1686         * src/WebInputEventConversion.h:
1687         * src/WebPluginContainerImpl.cpp:
1688         (WebKit::WebPluginContainerImpl::handleEvent):
1689         (WebKit::WebPluginContainerImpl::handleMouseEvent):
1690         (WebKit::WebPluginContainerImpl::handleWheelEvent):
1691         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1692         * src/WebPluginContainerImpl.h:
1693
1694 2010-03-10  Garret Kelly  <gdk@chromium.org>
1695
1696         Reviewed by Darin Fisher.
1697
1698         Add support for converting WebTouchEvents to PlatformTouchEvents and
1699         routing them into the EventHandler for the frame in which they
1700         originate.
1701         https://bugs.webkit.org/show_bug.cgi?id=35874
1702
1703         * src/ChromeClientImpl.h:
1704         (WebKit::ChromeClientImpl::needTouchEvents):
1705         * src/WebViewImpl.cpp:
1706         (WebKit::WebViewImpl::touchEvent): Handle incoming WebTouchEvents,
1707         converting them to PlatformTouchEvents and sending them to the
1708         EventHandler.
1709         (WebKit::WebViewImpl::handleInputEvent): Now routes WebTouchEvents to
1710         the touchEvent handler.
1711         * src/WebViewImpl.h:
1712
1713 2010-03-10  Nate Chapin  <japhet@chromium.org>
1714
1715         Reviewed by Dimitri Glazkov.
1716
1717         Wrap and unwrap v8 objects with WrapperTypeInfo instead of V8ClassIndex::V8WrapperType.
1718
1719         https://bugs.webkit.org/show_bug.cgi?id=35941
1720
1721         * src/WebBindings.cpp:
1722         (WebKit::getRangeImpl):
1723         * src/WebDevToolsAgentImpl.cpp:
1724         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
1725         * src/WebDevToolsFrontendImpl.cpp:
1726         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
1727
1728 2010-03-10  Garret Kelly  <gdk@chromium.org>
1729
1730         Reviewed by Darin Fisher.
1731
1732         Fixing build warning caused by using 0 instead of NULL as the sentiel
1733         in a varargs call.
1734         https://bugs.webkit.org/show_bug.cgi?id=35898
1735
1736         * src/gtk/WebInputEventFactory.cpp:
1737
1738 2010-03-10  Jeremy Orlow  <jorlow@chromium.org>
1739
1740         Reviewed by Darin Fisher.
1741
1742         Add IndexedDatabase class and hook it up.
1743         https://bugs.webkit.org/show_bug.cgi?id=35927
1744
1745         This change is mostly just adding the plumbing necessary for
1746         the IndexedDatabaseRequest and IndexedDatabaseSync (not written
1747         yet).
1748
1749         * WebKit.gyp:
1750         * public/WebIndexedDatabase.h: Added.
1751         (WebKit::WebIndexedDatabase::~WebIndexedDatabase):
1752         * public/WebKitClient.h:
1753         (WebKit::WebKitClient::getIndexedDatabase):
1754         * src/ChromiumBridge.cpp:
1755         (WebCore::ChromiumBridge::getIndexedDatabase):
1756         * src/IndexedDatabaseProxy.cpp: Added.
1757         (WebCore::IndexedDatabaseProxy::create):
1758         (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
1759         (WebCore::IndexedDatabaseProxy::~IndexedDatabaseProxy):
1760         (WebCore::IndexedDatabaseProxy::open):
1761         * src/IndexedDatabaseProxy.h: Added.
1762
1763 2010-03-10  Andrey Kosyakov  <caseq@chromium.org>
1764
1765         Reviewed by Pavel Feldman.
1766
1767         Web Inspector: display list of active workers & support debugging
1768         with fake workers
1769         https://bugs.webkit.org/show_bug.cgi?id=35568
1770
1771         * src/js/InspectorControllerImpl.js:
1772         (devtools.InspectorBackendImpl):
1773
1774 2010-03-10  Tony Chang  <tony@chromium.org>
1775
1776         Reviewed by Darin Fisher.
1777
1778         https://bugs.webkit.org/show_bug.cgi?id=35956
1779         Create a grd file upstream for resources that chromium uses
1780         that are pulled directly from the upstream repository.
1781
1782         * WebKit.grd: Added.
1783
1784 2010-03-10  Roland Steiner  <rolandsteiner@chromium.org>
1785
1786         Reviewed by David Levin.
1787
1788         Bug 28293 -  [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL")
1789         https://bugs.webkit.org/show_bug.cgi?id=28293
1790         
1791         Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
1792         correctly for event.dataTransfer.getData/setData. Currently both are treated
1793         as synonyms, but for "URL", getData is supposed to only return the first valid URL
1794         contained within the data for "text/uri-list" (see HTML5 spec).
1795
1796         Tests: editing/pasteboard/dataTransfer-setData-getData.html
1797
1798         * src/WebDragData.cpp:
1799         (WebKit::WebDragData::url):
1800         (WebKit::WebDragData::setURL):
1801
1802 2010-03-08  John Abd-El-Malek  <jam@chromium.org>
1803
1804         Reviewed by Darin Fisher.
1805
1806         Need to send mouse events to plugin when it has mouse capture
1807         https://bugs.webkit.org/show_bug.cgi?id=35900
1808
1809         * public/WebInputEvent.h:
1810         (WebKit::WebInputEvent::isMouseEventType):
1811         * src/WebViewImpl.cpp:
1812         (WebKit::WebViewImpl::WebViewImpl):
1813         (WebKit::WebViewImpl::mouseDown):
1814         (WebKit::WebViewImpl::mouseUp):
1815         (WebKit::WebViewImpl::handleInputEvent):
1816         * src/WebViewImpl.h:
1817
1818 2010-03-09  Anton Muhin  <antonm@chromium.org>
1819
1820         Reviewed by Darin Fisher.
1821
1822         Accept and bailout NULL widgets in ChromiumBridge
1823         https://bugs.webkit.org/show_bug.cgi?id=35796
1824
1825         * src/ChromiumBridge.cpp:
1826         (WebCore::toChromeClientImpl):
1827
1828 2010-03-09  Yury Semikhatsky  <yurys@chromium.org>
1829
1830         Reviewed by Pavel Feldman.
1831
1832         Use clean global object for devtools utility context instead of
1833         trying to simulate inspected context. 
1834     
1835         https://bugs.webkit.org/show_bug.cgi?id=35923
1836
1837         * src/DebuggerAgentImpl.cpp:
1838         * src/DebuggerAgentImpl.h:
1839         * src/WebDevToolsAgentImpl.cpp:
1840         (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
1841
1842 2010-03-08  Alexey Proskuryakov  <ap@apple.com>
1843
1844         Chromium build fix.
1845
1846         Updated for the removal of "mightDownloadFromHandle".
1847
1848         * src/ResourceHandle.cpp:
1849         (WebCore::ResourceHandle::ResourceHandle):
1850         (WebCore::ResourceHandle::create):
1851
1852 2010-03-08  Dimitri Glazkov  <dglazkov@chromium.org>
1853
1854         Reviewed by Darin Fisher.
1855
1856         [Chromium] Reset multiple form submission protection on mouse events.
1857         https://bugs.webkit.org/show_bug.cgi?id=35128
1858
1859         * src/WebViewImpl.cpp:
1860         (WebKit::WebViewImpl::mouseDown):
1861
1862 2010-03-08  Michael Nordman  <michaeln@google.com>
1863
1864         Reviewed by Darin Fisher.
1865
1866         Quick fix for a chromium unit test failures around r55675 (repaint refactoring).
1867         This change restores the tests for empty rects that were deleted.
1868
1869         https://bugs.webkit.org/show_bug.cgi?id=35878
1870
1871         * src/ChromeClientImpl.cpp:
1872         (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
1873         * src/WebPopupMenuImpl.cpp:
1874         (WebKit::WebPopupMenuImpl::invalidateContentsAndWindow):
1875
1876 2010-03-02  Adam Treat  <atreat@rim.com>
1877
1878         Reviewed by Dave Hyatt.
1879
1880         Adapt the chromium port to the refactoring of repaint methods.
1881
1882         https://bugs.webkit.org/show_bug.cgi?id=34214
1883
1884         * src/ChromeClientImpl.cpp:
1885         (WebKit::ChromeClientImpl::invalidateContents):
1886         (WebKit::ChromeClientImpl::invalidateWindow):
1887         (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
1888         (WebKit::ChromeClient::invalidateContentsForSlowScroll):
1889         * src/ChromeClientImpl.h:
1890
1891 2010-03-08  Jian Li  <jianli@chromium.org>
1892
1893         Reviewed by Dmitry Titov.
1894
1895         Blob.slice support.
1896         https://bugs.webkit.org/show_bug.cgi?id=32993
1897
1898         Add ENABLE_BLOB_SLICE feature define.
1899
1900         * features.gypi:
1901
1902 2010-03-08  Eric Uhrhane  <ericu@chromium.org>
1903
1904         Reviewed by David Levin.
1905
1906         Remove the now-redundant Settings fields for the Database
1907         https://bugs.webkit.org/show_bug.cgi?id=35763
1908
1909         No new tests; this code isn't called.
1910
1911         * public/WebSettings.h:
1912         * src/WebSettingsImpl.cpp:
1913         * src/WebSettingsImpl.h:
1914
1915 2010-03-08  Jeremy Orlow  <jorlow@chromium.org>
1916
1917         Reviewed by Darin Fisher.
1918
1919         Pass the WebFrame into WebStorageArea::setItem so we can figure out the routing ID
1920         https://bugs.webkit.org/show_bug.cgi?id=35758
1921
1922         This is necessary since setItem is sometimes blocked and the embedder might need
1923         to display some piece of UI associated with such an event.
1924
1925         * public/WebStorageArea.h:
1926         (WebKit::WebStorageArea::setItem):
1927         * src/StorageAreaProxy.cpp:
1928         (WebCore::StorageAreaProxy::setItem):
1929         * src/WebStorageAreaImpl.cpp:
1930         (WebKit::WebStorageAreaImpl::setItem):
1931         * src/WebStorageAreaImpl.h:
1932
1933 2010-03-07  Mark Rowe  <mrowe@apple.com>
1934
1935         Chromium build fix.
1936
1937         * src/ChromiumBridge.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
1938
1939 2010-03-07  Mark Rowe  <mrowe@apple.com>
1940
1941         Chromium build fix.
1942
1943         * src/ResourceHandle.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
1944
1945 2010-03-06  Pavel Feldman  <pfeldman@chromium.org>
1946
1947         Reviewed by Timothy Hatcher.
1948
1949         Chromium: Restore devtools window activate upon node search complete.
1950
1951         https://bugs.webkit.org/show_bug.cgi?id=35832
1952
1953         * src/js/DevTools.js:
1954
1955 2010-03-06  Darin Fisher  <darin@chromium.org>
1956
1957         Reviewed by David Levin.
1958
1959         [Chromium] Embedder initiated loads should not always stop existing loads
1960         https://bugs.webkit.org/show_bug.cgi?id=33862
1961
1962         * src/WebFrameImpl.cpp:
1963         (WebKit::WebFrameImpl::reload):
1964         (WebKit::WebFrameImpl::loadRequest):
1965         (WebKit::WebFrameImpl::loadHistoryItem):
1966         (WebKit::WebFrameImpl::loadData):
1967
1968 2010-03-06  Darin Fisher  <darin@chromium.org>
1969
1970         Reviewed by David Levin.
1971
1972         [Chromium] spurious WebViewClient::didStopLoading if changing
1973         location.hash while a subframe is still loading
1974
1975         https://bugs.webkit.org/show_bug.cgi?id=33884
1976
1977         * src/FrameLoaderClientImpl.cpp:
1978         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
1979         Call isLoadingInAPISense, which checks subframes.
1980
1981 2010-03-06  Hironori Bono  <hbono@chromium.org>
1982
1983         Reviewed by Eric Seidel.
1984
1985         [Chromium] Typing into Flash with wmode = opaque|transparent and
1986         non-latin language active outputs as if US keyboard layout active
1987
1988         https://bugs.webkit.org/show_bug.cgi?id=34936
1989
1990         This change is a WebKit-side change for this issue. It dispatches
1991         Char events to plug-ins so plug-ins can receive non-ASCII characters
1992         as well as ASCII characters.
1993
1994         * src/WebViewImpl.cpp:
1995         (WebKit::WebViewImpl::keyEvent):
1996
1997 2010-03-06  Kavita Kanetkar  <kkanetkar@chromium.org>
1998
1999         Reviewed by Darin Fisher.
2000
2001         Create WebKit API for  WebCore::ImageDecoder
2002         https://bugs.webkit.org/show_bug.cgi?id=35415
2003
2004         * WebKit.gyp:
2005         * public/WebImageDecoder.h: Added.
2006         * src/WebImageDecoder.cpp: Added.
2007
2008 2010-03-05  John Abd-El-Malek  <jam@chromium.org>
2009
2010         Reviewed by Darin Fisher.
2011
2012         Take out code hack that flips the result of NPP_HandleEvent.  This needs to move to
2013         the NPAPI code so that Pepper plugins don't hit it.
2014         https://bugs.webkit.org/show_bug.cgi?id=35779
2015
2016         * public/WebPluginContainer.h:
2017         * src/WebPluginContainerImpl.cpp:
2018         (WebKit::WebPluginContainerImpl::handleMouseEvent):
2019         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2020
2021 2010-03-05  Ilya Tikhonovsky  <loislo@chromium.org>
2022
2023         Reviewed by Pavel Feldman.
2024
2025         Web Inspector: Do not show link helper in popovers and/or for external resources.
2026
2027         https://bugs.webkit.org/show_bug.cgi?id=35785
2028
2029         * src/js/DebuggerAgent.js:
2030         (devtools.DebuggerAgent.prototype.initUI):
2031         (devtools.DebuggerAgent.prototype.addScriptInfo_):
2032
2033 2010-03-04  Garret Kelly  <gdk@chromium.org>
2034
2035         Reviewed by Darin Fisher.
2036
2037         Adding PlatformTouchEventBuilder and PlatformTouchPointBuilder for
2038         converting Chromium WebTouchEvent and WebTouchPoint types to
2039         corresponding WebCore types.
2040         https://bugs.webkit.org/show_bug.cgi?id=35760
2041
2042         * src/WebInputEventConversion.cpp:
2043         (WebKit::toPlatformTouchEventType):
2044         (WebKit::toPlatformTouchPointState):
2045         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
2046         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
2047         * src/WebInputEventConversion.h:
2048
2049 2010-03-04  John Gregg  <johnnyg@google.com>
2050
2051         Reviewed by Darin Fisher.
2052
2053         [chromium] WebDocument:applicationID() crashes on <meta> tag with no http-equiv attribute
2054         https://bugs.webkit.org/show_bug.cgi?id=35771
2055
2056         * src/WebDocument.cpp:
2057         (WebKit::WebDocument::applicationID):
2058         check for presence of http-equiv attribute before lower()ing it.
2059
2060 2010-03-04  Darin Fisher  <darin@chromium.org>
2061
2062         Reviewed by Dmitry Titov.
2063
2064         [chromium] make history.{push,replace}State enabled at runtime
2065         https://bugs.webkit.org/show_bug.cgi?id=35753
2066
2067         * public/WebRuntimeFeatures.h:
2068         * src/WebRuntimeFeatures.cpp:
2069         (WebKit::WebRuntimeFeatures::enablePushState):
2070         (WebKit::WebRuntimeFeatures::isPushStateEnabled):
2071
2072 2010-03-04  Pavel Feldman  <pfeldman@chromium.org>
2073
2074         Not reviewed: chromium tests fix.
2075
2076         * src/js/Tests.js:
2077
2078 2010-03-03  Pavel Feldman  <pfeldman@chromium.org>
2079
2080         Reviewed by Timothy Hatcher.
2081
2082         Web Inspector: Remove two last synchronous calls from front-end to InspectorBackend.
2083         
2084         https://bugs.webkit.org/show_bug.cgi?id=35720
2085
2086         * src/js/InspectorControllerImpl.js:
2087         (devtools.InspectorBackendImpl):
2088         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
2089
2090 2010-03-03  Pavel Feldman  <pfeldman@chromium.org>
2091
2092         Reviewed by Timothy Hatcher.
2093
2094         Web Inspector: Remove sync access to resourceTrackingEnabled.
2095
2096         https://bugs.webkit.org/show_bug.cgi?id=35693
2097
2098         * src/js/DevTools.js:
2099
2100 2010-03-04  Darin Fisher  <darin@chromium.org>
2101
2102         Reviewed by Pavel Feldman.
2103
2104         Fix failing DevToolsSanityTest.TestResourceContentLength
2105         https://bugs.webkit.org/show_bug.cgi?id=35725
2106
2107         http://trac.webkit.org/changeset/55466 missed one more spot
2108         where contentLength needed to be renamed resourceSize.
2109
2110         * src/js/Tests.js:
2111
2112 2010-03-03  Garret Kelly  <gdk@chromium.org>
2113
2114         Reviewed by Darin Fisher.
2115
2116         Adding touch event type and point type. Tested against the try bots.
2117         https://bugs.webkit.org/show_bug.cgi?id=35691
2118
2119         * public/WebInputEvent.h:
2120         (WebKit::WebInputEvent::):
2121         (WebKit::WebInputEvent::isTouchEventType):
2122         (WebKit::WebTouchEvent::WebTouchEvent):
2123         * public/WebTouchPoint.h: Added.
2124         (WebKit::WebTouchPoint::WebTouchPoint):
2125         (WebKit::WebTouchPoint::):
2126
2127 2010-03-02  Tony Chang  <tony@chromium.org>
2128
2129         Reviewed by Darin Fisher.
2130
2131         add a flag to WebURLResponse so we can identify multipart content
2132         https://bugs.webkit.org/show_bug.cgi?id=35628
2133
2134         * public/WebURLResponse.h:
2135         * src/WebURLResponse.cpp:
2136         (WebKit::WebURLResponse::isMultipartPayload):
2137         (WebKit::WebURLResponse::setIsMultipartPayload):
2138
2139 2010-03-02  Adam Barth  <abarth@webkit.org>
2140
2141         Reviewed by Darin Fisher.
2142
2143         Google Analytics triggers "blocked plugin" UI
2144         https://bugs.webkit.org/show_bug.cgi?id=35565
2145
2146         Plumb didNotAllowPlugins to the client.
2147
2148         * public/WebFrameClient.h:
2149         (WebKit::WebFrameClient::didNotAllowPlugins):
2150         * src/FrameLoaderClientImpl.cpp:
2151         (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
2152         * src/FrameLoaderClientImpl.h:
2153
2154 2010-03-02  Chris Fleizach  <cfleizach@apple.com>
2155
2156         Reviewed by Beth Dakin.
2157
2158         aria-label isn't respected on option elements
2159         https://bugs.webkit.org/show_bug.cgi?id=35400
2160
2161         * src/SuggestionsPopupMenuClient.h:
2162         (WebKit::SuggestionsPopupMenuClient::itemAccessibilityText):
2163
2164 2010-03-02  Mads Ager  <ager@chromium.org>
2165
2166         Reviewed by Adam Barth.
2167
2168         [V8] V8 should be notified of context disposals
2169         https://bugs.webkit.org/show_bug.cgi?id=35526
2170
2171         Update V8 DEPS in order to get V8 API changes needed for context
2172         disposal notifications.
2173
2174         * DEPS:
2175
2176 2010-03-02  Kenneth Russell  <kbr@google.com>
2177
2178         Reviewed by Darin Fisher.
2179
2180         Add EnabledAtRuntime attribute to WebGLArray constructors
2181         https://bugs.webkit.org/show_bug.cgi?id=35558
2182
2183         * public/WebRuntimeFeatures.h:
2184         * src/WebRuntimeFeatures.cpp:
2185         (WebKit::WebRuntimeFeatures::enableWebGL):
2186         (WebKit::WebRuntimeFeatures::isWebGLEnabled):
2187
2188 2010-03-02  James Hawkins  <jhawkins@chromium.org>
2189
2190         Reviewed by Darin Fisher.
2191
2192         [Chromium] Implement WebNode::equals and add inline operators for ==
2193         and !=.
2194
2195         https://bugs.webkit.org/show_bug.cgi?id=35543
2196
2197         * public/WebNode.h:
2198         (WebKit::operator==):
2199         (WebKit::operator!=):
2200         * src/WebNode.cpp:
2201         (WebKit::WebNode::equals):
2202
2203 2010-03-01  Jakob Petsovits  <jpetsovits@rim.com>
2204
2205         Reviewed by Adam Barth.
2206
2207         Adapt to the new ZoomMode enum.
2208         https://bugs.webkit.org/show_bug.cgi?id=35347
2209
2210         * src/WebViewImpl.cpp:
2211         (WebKit::WebViewImpl::setZoomLevel):
2212
2213 2010-03-01  Thatcher Ulrich  <tulrich@google.com>
2214
2215         Reviewed by Darin Fisher.
2216
2217         Fix chromium iframe shims.  Add another test case to the
2218         iframes-shims test.  After r53637, the plugin widget doesn't get
2219         moved every paint.  This used to hide the bug that if an iframe
2220         gets added, the plugin's cutout rectangles don't get updated until
2221         a layout happens.
2222         https://bugs.webkit.org/show_bug.cgi?id=35184
2223
2224         * src/WebPluginContainerImpl.cpp:
2225         (WebKit::WebPluginContainerImpl::widgetPositionsUpdated): do reportGeometry() to ensure that
2226             the plugin is aware of the positions of cutouts on the page (for iframe shim behavior).
2227         * src/WebPluginContainerImpl.h:
2228
2229 2010-02-27  Pavel Feldman  <pfeldman@chromium.org>
2230
2231         Reviewed by Timothy Hatcher.
2232
2233         Chromium: remove DevTools part that has been upstreamed.
2234
2235         * src/js/DevTools.js:
2236
2237 2010-02-26  Pavel Feldman  <pfeldman@chromium.org>
2238
2239         Reviewed by Timothy Hatcher.
2240
2241         Web Inspector: reload inspected page on Cmd+R / Ctrl+R / F5 key event in inspector.
2242
2243         * src/WebDevToolsFrontendImpl.cpp:
2244         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
2245         (WebKit::WebDevToolsFrontendImpl::jsCanAttachWindow):
2246         * src/WebDevToolsFrontendImpl.h:
2247         * src/js/InspectorControllerImpl.js:
2248         (devtools.InspectorBackendImpl):
2249         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
2250
2251 2010-02-26  James Hawkins  <jhawkins@chromium.org>
2252
2253         Reviewed by Darin Fisher.
2254
2255         [Chromium] Verify that the Nodes being enumerated are HTML elements.
2256
2257         https://bugs.webkit.org/show_bug.cgi?id=35463
2258
2259         * src/WebFrameImpl.cpp:
2260         (WebKit::WebFrameImpl::forms):
2261
2262 2010-02-26  Adam Barth  <abarth@webkit.org>
2263
2264         Reviewed by Darin Fisher.
2265
2266         Expose an API for ports to add schemes to the mixed content whitelist
2267         https://bugs.webkit.org/show_bug.cgi?id=35438
2268
2269         Expose registerURLSchemeAsSecure via the WebKit API.
2270
2271         * public/WebSecurityPolicy.h:
2272         * src/WebSecurityPolicy.cpp:
2273         (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
2274
2275 2010-02-26  Brett Wilson  <brettw@chromium.org>
2276
2277         Fix chromium build. This test's expectation became obsolete with
2278         recent changes to KURL which my previous change brings Chromium's
2279         port in compliance with.
2280
2281         * tests/KURLTest.cpp:
2282         (ComponentCase::TEST):
2283
2284 2010-02-26  Yaar Schnitman  <yaar@chromium.org>
2285
2286         Chromium build fix.
2287
2288         * features.gypi: Added missing new variable enable_svg.
2289
2290 2010-02-26  Yaar Schnitman  <yaar@chromium.org>
2291
2292         Reviewed by Dimitri Glazkov.
2293
2294         [V8] Auto-generate and split DerivedSourcesAllInOne.cpp
2295         https://bugs.webkit.org/show_bug.cgi?id=33048
2296
2297         * DEPS: Incremented gyp revision.
2298
2299 2010-02-26  Darin Fisher  <darin@chromium.org>
2300
2301         Fix mac warning (that gets treated as an error in the chromium build).
2302
2303         * src/ChromiumBridge.cpp:
2304         (WebCore::ChromiumBridge::cookiesEnabled):
2305
2306 2010-02-25  Darin Fisher  <darin@chromium.org>
2307
2308         Reviewed by David Levin.
2309
2310         Remove deprecated cookie methods.
2311         https://bugs.webkit.org/show_bug.cgi?id=35420
2312
2313         * public/WebFrameClient.h:
2314         * public/WebKitClient.h:
2315         * src/ChromiumBridge.cpp:
2316         (WebCore::ChromiumBridge::setCookies):
2317         (WebCore::ChromiumBridge::cookies):
2318         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
2319         (WebCore::ChromiumBridge::rawCookies):
2320         (WebCore::ChromiumBridge::deleteCookie):
2321         (WebCore::ChromiumBridge::cookiesEnabled):
2322
2323 2010-02-25  James Hawkins  <jhawkins@chromium.org>
2324
2325         Reviewed by Darin Fisher.
2326
2327         [Chromium] Implement WebLabelElement.
2328
2329         https://bugs.webkit.org/show_bug.cgi?id=35317
2330
2331         * WebKit.gyp:
2332         * public/WebLabelElement.h: Added.
2333         * src/WebLabelElement.cpp: Added.
2334
2335 2010-02-25  Pavel Feldman  <pfeldman@chromium.org>
2336
2337         Reviewed by Dimitri Glazkov.
2338
2339         Web Inspector: make script lines count calculation lazy.
2340
2341         https://bugs.webkit.org/show_bug.cgi?id=35392
2342
2343         * src/js/Tests.js:
2344         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
2345         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
2346         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
2347         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
2348         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
2349         (.TestSuite.prototype._executeFunctionForStepTest):
2350
2351 2010-02-24  Darin Fisher  <darin@chromium.org>
2352
2353         Reviewed by David Levin.
2354
2355         Add a missing WebString.h include.
2356         https://bugs.webkit.org/show_bug.cgi?id=35360
2357
2358         This is required since some of the methods have implementations that
2359         return a WebString.
2360
2361         * public/WebCookieJar.h:
2362
2363 2010-02-24  Jay Campan  <jcampan@google.com>
2364
2365         Reviewed by David Levin.
2366
2367         Don't show the autofill popup when the input text is disabled or read only.
2368
2369         https://bugs.webkit.org/show_bug.cgi?id=35129
2370
2371         * src/EditorClientImpl.cpp:
2372         (WebKit::EditorClientImpl::autofill):
2373
2374 2010-02-24  Adam Barth  <abarth@webkit.org>
2375
2376         Reviewed by Darin Fisher.
2377
2378         [Chromium API] Disambiguate allowJavaScript from didNotAllowScript
2379         https://bugs.webkit.org/show_bug.cgi?id=35205
2380
2381         Plumb didNotAllowScript through Chromium's WebKit API.
2382
2383         * public/WebFrameClient.h:
2384         (WebKit::WebFrameClient::didNotAllowScript):
2385         * src/DebuggerAgentImpl.cpp:
2386         (WebKit::DebuggerAgentImpl::createUtilityContext):
2387         * src/FrameLoaderClientImpl.cpp:
2388         (WebKit::FrameLoaderClientImpl::didNotAllowScript):
2389         * src/FrameLoaderClientImpl.h:
2390         * src/WebFrameImpl.cpp:
2391         (WebKit::WebFrameImpl::bindToWindowObject):
2392
2393 2010-02-23  James Hawkins  <jhawkins@chromium.org>
2394
2395         Reviewed by Darin Fisher.
2396
2397         [Chromium] Implement WebDocument::getElementsByTagName.
2398
2399         https://bugs.webkit.org/show_bug.cgi?id=35272
2400
2401         * public/WebDocument.h:
2402         * src/WebDocument.cpp:
2403         (WebKit::WebDocument::getElementsByTagName):
2404
2405 2010-02-23  Steve Block  <steveblock@google.com>
2406
2407         Reviewed by Jeremy Orlow.
2408
2409         Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled
2410         https://bugs.webkit.org/show_bug.cgi?id=35242
2411
2412         This removes Chromium's WebSettings::setGeolocationEnabled
2413
2414         * public/WebSettings.h:
2415         * src/WebSettingsImpl.cpp:
2416         * src/WebSettingsImpl.h:
2417
2418 2010-02-23  Dmitriy Belenko  <dbelenko@google.com>
2419
2420         Reviewed by Darin Fisher.
2421
2422         Chromium: Need to be able to get the bounds of selection
2423         rectangle(s)
2424         https://bugs.webkit.org/show_bug.cgi?id=34915
2425
2426         This change will enable about 30 test cases to pass in Chromium.
2427         All of these test cases are related to selection rect boundaries.
2428         This change will enable the test cases to retrieve the selection
2429         rect boundary rectangle for the current selection.
2430
2431         * public/WebFrame.h:
2432         * src/WebFrameImpl.cpp:
2433         (WebKit::WebFrameImpl::selectionBoundsRect):
2434         * src/WebFrameImpl.h:
2435
2436 2010-02-23  Steve Block  <steveblock@google.com>
2437
2438         Reviewed by Darin Adler.
2439
2440         Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
2441         https://bugs.webkit.org/show_bug.cgi?id=34962
2442
2443         This method is required so that a Geolocation object can cancel an
2444         asynchronous permission request. This allows the chrome client to cancel
2445         any UI it is showing for the permission request.
2446
2447         * src/ChromeClientImpl.h:
2448         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
2449
2450 2009-02-22  Adam Langley  <agl@google.com>
2451
2452         Reviewed by Darin Fisher.
2453
2454         fontconfig on Linux can change the render preferences on a per strike
2455         basis (a strike a combination of face and size). Because of this, we
2456         need to query fontconfig each time a new FontPlatformData is created
2457         for a new size.
2458
2459         This patch adds support for querying this via ChromiumBridge.
2460
2461         https://bugs.webkit.org/show_bug.cgi?id=33065
2462
2463         * WebKit.gyp:
2464         * public/gtk/WebFontInfo.h:
2465         * public/linux/WebSandboxSupport.h:
2466         * src/ChromiumBridge.cpp:
2467         (WebCore::ChromiumBridge::getRenderStyleForStrike):
2468         * src/gtk/WebFontInfo.cpp:
2469         (WebKit::WebFontInfo::renderStyleForStrike):
2470
2471 2010-02-22  Alexander Pavlov  <apavlov@chromium.org>
2472
2473         Reviewed by Pavel Feldman.
2474
2475         Web Inspector: there should be a way to "deactivate" or "skip" all breakpoints while debugging.
2476         https://bugs.webkit.org/show_bug.cgi?id=33217
2477
2478         * src/js/DebuggerAgent.js:
2479         (devtools.DebuggerAgent):
2480         (devtools.DebuggerAgent.prototype.setBreakpointsActivated):
2481         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
2482         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
2483         * src/js/InspectorControllerImpl.js:
2484         (devtools.InspectorBackendImpl.prototype.activateBreakpoints):
2485         (devtools.InspectorBackendImpl.prototype.deactivateBreakpoints):
2486
2487 2010-02-21  Pavel Feldman  <pfeldman@chromium.org>
2488
2489         Reviewed by Timothy Hatcher.
2490
2491         Chromium DevTools: kepp debugger API in sync with inspector.
2492
2493         https://bugs.webkit.org/show_bug.cgi?id=28799
2494
2495         * src/js/DebuggerAgent.js:
2496         * src/js/InspectorControllerImpl.js:
2497         (devtools.InspectorBackendImpl.prototype.setBreakpoint):
2498
2499 2010-02-19  Maciej Stachowiak  <mjs@apple.com>
2500
2501         Reviewed by David Levin.
2502
2503         Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
2504         https://bugs.webkit.org/show_bug.cgi?id=35147
2505
2506         * features.gypi:
2507
2508 2010-02-19  James Hawkins  <jhawkins@chromium.org>
2509
2510         Reviewed by Darin Fisher.
2511
2512         [Chromium] Call WebViewClient::didAcceptAutoFillSuggestion when the
2513         user selects a suggestion from the AutoFill suggestions popup.
2514
2515         https://bugs.webkit.org/show_bug.cgi?id=35174
2516
2517         * public/WebViewClient.h:
2518         (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
2519         * src/AutoFillPopupMenuClient.cpp:
2520         (WebKit::AutoFillPopupMenuClient::valueChanged):
2521         * src/AutoFillPopupMenuClient.h:
2522
2523 2010-02-19  James Hawkins  <jhawkins@chromium.org>
2524
2525         Reviewed by Eric Seidel.
2526
2527         [Chromium] Use the m_suggestionsPopupClient pointer to refer to the
2528         popup client, as the Autocomplete popup might not be the current
2529         popup.
2530
2531         https://bugs.webkit.org/show_bug.cgi?id=35172
2532
2533         * src/WebViewImpl.cpp:
2534         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
2535         (WebKit::WebViewImpl::refreshSuggestionsPopup):
2536
2537 2010-02-19  James Hawkins  <jhawkins@chromium.org>
2538
2539         Reviewed by Eric Seidel.
2540
2541         [Chromium] Rename EditorClientImpl::onAutofillSuggestionAccepted to
2542         onAutocompleteSuggestionAccepted to better match the purpose of the
2543         function.
2544
2545         https://bugs.webkit.org/show_bug.cgi?id=35171
2546
2547         * src/EditorClientImpl.cpp:
2548         (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
2549         * src/EditorClientImpl.h:
2550         * src/SuggestionsPopupMenuClient.cpp:
2551         (WebKit::SuggestionsPopupMenuClient::valueChanged):
2552
2553 2010-02-18  Peter Kasting  <pkasting@google.com>
2554
2555         Reviewed by Darin Fisher.
2556
2557         Add an isImageBlocked bool to the WebContextMenuData struct.
2558         https://bugs.webkit.org/show_bug.cgi?id=35136
2559         
2560         This lets us properly enable/disable the "Copy Image" context menu entry
2561         (and, in the future, maybe add a "Load Image" function).
2562
2563         * public/WebContextMenuData.h:
2564         * src/ContextMenuClientImpl.cpp:
2565         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2566
2567 2010-02-19  Marcus Bulach  <bulach@chromium.org>
2568
2569         Reviewed by Jeremy Orlow.
2570
2571         Fixes GeolocationServiceBridgeImpl::stopUpdating (it can be called multiple times).
2572
2573         * src/GeolocationServiceBridgeChromium.cpp:
2574         (WebKit::GeolocationServiceBridgeImpl::stopUpdating):
2575
2576 2010-02-19  Pavel Feldman  <pfeldman@chromium.org>
2577
2578         Not reviewed. Chromium build fix: reverting r54997 and r54998.
2579
2580         * DEPS:
2581
2582 2010-02-19  Pavel Feldman  <pfeldman@chromium.org>
2583
2584         Not reviewed. Chromium tests fix: update devtools code to match new
2585         web inspector object proxy format.
2586
2587         * src/js/DebuggerAgent.js:
2588         (devtools.DebuggerAgent.prototype.formatCallFrame_):
2589         (devtools.DebuggerAgent.formatObjectProxy_):
2590
2591 2010-02-12  Kent Tamura  <tkent@chromium.org>
2592
2593         Unreviewed. Fix Chromium build.
2594
2595         * DEPS: Bump Google URL revision to 123.
2596
2597 2010-02-18  Yury Semikhatsky  <yurys@chromium.org>
2598
2599         Reviewed by Pavel Feldman.
2600
2601         Don't truncate long lines when evaluating expressions on a breakpoint.
2602
2603         https://bugs.webkit.org/show_bug.cgi?id=35102
2604
2605         * src/js/DebuggerAgent.js:
2606
2607 2010-02-18  Jay Campan  <jcampan@google.com>
2608
2609         Reviewed by Adam Barth.
2610
2611         Exposing the title in WebDocument.
2612         
2613         https://bugs.webkit.org/show_bug.cgi?id=35058
2614
2615         * public/WebDocument.h:
2616         * src/WebDocument.cpp:
2617         (WebKit::WebDocument::title):
2618
2619 2010-02-17  Dmitry Titov  <dimich@chromium.org>
2620
2621         Reviewed by David Levin, Darin Fisher, Simon Hausmann.
2622
2623         When a live iframe element is moved between pages, it still depends on the old page.
2624         https://bugs.webkit.org/show_bug.cgi?id=34382
2625
2626         * src/FrameLoaderClientImpl.cpp:
2627         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
2628         (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
2629         Since Chromium's WebFrameClient is destroyed once a window is closed,
2630         if Frame moves between Pages, the client of corresponding WebFrame
2631         should be replaced as well.
2632
2633         * src/FrameLoaderClientImpl.h:
2634         * src/WebFrameImpl.h:
2635         (WebKit::WebFrameImpl::setClient):
2636
2637 2010-02-17  Evan Martin  <evan@chromium.org>
2638
2639         Reviewed by Eric Seidel.
2640
2641         [chromium] expose cache-bypass flag in reload() API
2642         https://bugs.webkit.org/show_bug.cgi?id=34969
2643
2644         This flag is used to force a reload to ignore caches.
2645         (Aka "shift-reload".)
2646
2647         * public/WebFrame.h:
2648         * src/WebFrameImpl.cpp:
2649         (WebKit::WebFrameImpl::reload):
2650         * src/WebFrameImpl.h:
2651
2652 2010-02-17  Kent Tamura  <tkent@chromium.org>
2653
2654         Reviewed by Eric Seidel.
2655
2656         Introduces new Icon loading interface in order to support
2657         asynchronous loading.
2658         https://bugs.webkit.org/show_bug.cgi?id=32054
2659
2660         Add an empty implementation of ChromeClient::iconForFiles().
2661
2662         * src/ChromeClientImpl.cpp:
2663         (WebKit::ChromeClientImpl::iconForFiles):
2664         * src/ChromeClientImpl.h:
2665
2666 2010-02-17  Kenneth Russell  <kbr@google.com>
2667
2668         Reviewed by Oliver Hunt.
2669
2670         Refactor texImage2D and texSubImage2D taking Image to use common code
2671         https://bugs.webkit.org/show_bug.cgi?id=34458
2672
2673         Merged the Safari and Chromium code which extracts the data from
2674         Image objects into common entry points on GraphicsContext3D. This
2675         immediately fixes the following three problems:
2676           - Chromium not implementing texSubImage2D taking Image.
2677           - Safari not obeying the flipY parameter to texImage2D or
2678             texSubImage2D taking Image.
2679           - Safari not obeying the premultipyAlpha parameter to texImage2D
2680             or texSubImage2D taking Image.
2681         Added new test verifying the behavior of texImage2D and
2682         texSubImage2D and the flipY parameter. The premultiplyAlpha
2683         parameter can not be tested yet as the implementation is not yet
2684         spec compliant. This will be fixed in a follow-on bug.
2685
2686         Ran all WebGL demos in demo repository on Safari and Chromium;
2687         textures are now the right way up in both browsers, and
2688         transparent textures in Particles demo now look correct in Safari.
2689
2690         * src/GraphicsContext3D.cpp:
2691         (WebCore::GraphicsContext3D::texImage2D):
2692         (WebCore::GraphicsContext3D::texSubImage2D):
2693
2694 2010-02-17  Alok Priyadarshi  <alokp@chromium.org>
2695
2696         Reviewed by Ariya Hidayat.
2697
2698         Bug 34900: Implement accelerated compositing for chromium.
2699         https://bugs.webkit.org/show_bug.cgi?id=34900
2700
2701         * features.gypi: Added WTF_USE_ACCELERATED_COMPOSITING flag.
2702
2703 2010-02-17  Jian Li  <jianli@chromium.org>
2704
2705         Reviewed by Darin Fisher.
2706
2707         [chromium] Remove the obsolete chromium interface for handling DownloadURL.
2708         https://bugs.webkit.org/show_bug.cgi?id=34982
2709
2710         * public/WebDragData.h:
2711         * src/WebDragData.cpp:
2712
2713 2010-02-16  James Hawkins  <jhawkins@chromium.org>
2714
2715         Reviewed by Eric Seidel.
2716
2717         [Chromium] Remove calls to releaseRef when passing PassRefPtrs to base
2718         classes.  releaseRef releases the original pointer without decreasing
2719         the reference count, and the base class constructor increases the
2720         reference count, leading to a leak.
2721
2722         https://bugs.webkit.org/show_bug.cgi?id=35000
2723
2724         * src/WebDocument.cpp:
2725         (WebKit::WebDocument::WebDocument):
2726         * src/WebElement.cpp:
2727         (WebKit::WebElement::WebElement):
2728         * src/WebFormElement.cpp:
2729         (WebKit::WebFormElement::WebFormElement):
2730         * src/WebInputElement.cpp:
2731         (WebKit::WebInputElement::WebInputElement):
2732
2733 2010-02-15  Jeremy Orlow  <jorlow@chromium.org>
2734
2735         Reviewed by Darin Fisher.
2736
2737         [Chromium] Fix StorageNamespaceProxy::copy() for test shell
2738         https://bugs.webkit.org/show_bug.cgi?id=34949
2739
2740         Chromium passes back NULL when you call WebStorageNamespace::proxy()
2741         but TestShell returns a valid object.  Both need to work via
2742         the WebStorageNamespace.
2743
2744         * src/StorageNamespaceProxy.cpp:
2745         (WebCore::StorageNamespaceProxy::copy):
2746
2747 2010-02-14  Vangelis Kokkevis  <vangelis@chromium.org>
2748
2749         Reviewed by Darin Fisher.
2750
2751         [Chromium] Add support for the showDebugBorders setting to Chromium.
2752
2753         https://bugs.webkit.org/show_bug.cgi?id=34906
2754
2755         * public/WebSettings.h: Add declaration for setShowDebugBorders
2756         * src/WebSettingsImpl.cpp:
2757         (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
2758         * src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
2759
2760 2010-02-11  Darin Fisher  <darin@chromium.org>
2761
2762         Reviewed by Jeremy Orlow.
2763
2764         Introduce WebCookieJar, and provide for a frame specific cookie jar.
2765
2766         https://bugs.webkit.org/show_bug.cgi?id=34878
2767
2768         * WebKit.gyp:
2769         * public/WebCookieJar.h: Added.
2770         * public/WebFrameClient.h:
2771         (WebKit::WebFrameClient::cookieJar):
2772         * public/WebKitClient.h:
2773         (WebKit::WebKitClient::cookieJar):
2774         (WebKit::WebKitClient::setCookies):
2775         (WebKit::WebKitClient::cookies):
2776         (WebKit::WebKitClient::rawCookies):
2777         (WebKit::WebKitClient::deleteCookie):
2778         (WebKit::WebKitClient::cookiesEnabled):
2779         * src/ChromiumBridge.cpp:
2780         (WebCore::getCookieJar):
2781         (WebCore::ChromiumBridge::setCookies):
2782         (WebCore::ChromiumBridge::cookies):
2783         (WebCore::ChromiumBridge::rawCookies):
2784         (WebCore::ChromiumBridge::deleteCookie):
2785         (WebCore::ChromiumBridge::cookiesEnabled):
2786
2787 2010-02-12  Pavel Feldman  <pfeldman@chromium.org>
2788
2789         Reviewed by David Levin.
2790
2791         Chromium: provide theme overrides for Chromium devtools on Mac.
2792
2793         https://bugs.webkit.org/show_bug.cgi?id=34856
2794
2795         * src/js/devTools.css:
2796
2797 2010-02-12  Jeremy Orlow  <jorlow@chromium.org>
2798
2799         Reviewed by Darin Fisher.
2800
2801         [Chromium] Add a blockedByPolicy output to WebStorageArea::setItem.
2802         https://bugs.webkit.org/show_bug.cgi?id=34897
2803
2804         * public/WebStorageArea.h:
2805         (WebKit::WebStorageArea::setItem):
2806         * src/WebStorageAreaImpl.cpp:
2807         (WebKit::WebStorageAreaImpl::setItem):
2808         * src/WebStorageAreaImpl.h:
2809
2810 2010-02-11  Jeremy Orlow  <jorlow@chromium.org>
2811
2812         Reviewed by David Levin.
2813
2814         [Chromium] Add ENABLE_RUBY to the feature defines gypi
2815         https://bugs.webkit.org/show_bug.cgi?id=34841
2816
2817         * features.gypi:
2818
2819 2010-02-12  Yury Semikhatsky  <yurys@chromium.org>
2820
2821         Reviewed by Pavel Feldman.
2822
2823         Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer
2824
2825         https://bugs.webkit.org/show_bug.cgi?id=34890
2826
2827         * src/DebuggerAgentImpl.cpp:
2828         (WebKit::DebuggerAgentImpl::createUtilityContext):
2829
2830 2010-02-11  Mikhail Naganov  <mnaganov@chromium.org>
2831
2832         Reviewed by Pavel Feldman.
2833
2834         [Chromium] Ignore subsequent requests of the same profiler log
2835         chunks. This eliminates emission of several instances for the same
2836         heap snapshot.
2837
2838         https://bugs.webkit.org/show_bug.cgi?id=34833
2839
2840         * src/js/ProfilerAgent.js:
2841         (devtools.ProfilerAgent):
2842         (devtools.ProfilerAgent.prototype.initializeProfiling):
2843         (devtools.ProfilerAgent.prototype._getNextLogLines):
2844         (devtools.ProfilerAgent.prototype.startProfiling):
2845         (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
2846         (devtools.ProfilerAgent.prototype._didGetLogLines):
2847
2848 2010-02-10  James Hawkins  <jhawkins@chromium.org>
2849
2850         Reviewed by Eric Seidel.
2851
2852         [Chromium] Remove code from SuggestionsPopup that was removed in a
2853         previous revision of AutocompletePopup and accidentally added back in
2854         the refactoring.
2855
2856         https://bugs.webkit.org/show_bug.cgi?id=34818
2857
2858         * src/AutoFillPopupMenuClient.cpp:
2859         * src/AutoFillPopupMenuClient.h: Added property svn:eol-style.
2860         * src/SuggestionsPopupMenuClient.cpp:
2861         (WebKit::SuggestionsPopupMenuClient::popupDidHide):
2862         (WebKit::SuggestionsPopupMenuClient::setTextFromItem):
2863         (WebKit::SuggestionsPopupMenuClient::initialize):
2864         * src/SuggestionsPopupMenuClient.h:
2865
2866 2010-02-10  Nate Chapin  <japhet@chromium.org>
2867
2868         Reviewed by Adam Barth.
2869
2870         Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters.
2871
2872         https://bugs.webkit.org/show_bug.cgi?id=34768
2873
2874         * src/DebuggerAgentImpl.cpp:
2875         (WebKit::DebuggerAgentImpl::createUtilityContext):
2876
2877 2010-02-10  Kenneth Russell  <kbr@google.com>
2878
2879         Reviewed by Oliver Hunt.
2880
2881         Remove automatic viewport resizing
2882         https://bugs.webkit.org/show_bug.cgi?id=34766
2883
2884         Removed automatic viewport resizing per conclusions on the WebGL
2885         mailing list. Added test verifying new behavior and updated a
2886         couple of previous tests failing after this change.
2887
2888         * src/GraphicsContext3D.cpp:
2889         (WebCore::GraphicsContext3DInternal::reshape):
2890
2891 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
2892
2893         Reviewed by Pavel Feldman.
2894
2895         Chromium Win build fix. Add third_party/nss to the dependencies list on Windows.
2896
2897         https://bugs.webkit.org/show_bug.cgi?id=34789
2898
2899         * DEPS:
2900
2901 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
2902
2903         Reviewed by Pavel Feldman.
2904
2905         Rolling Chromium dependencies to match Chromium revision 38580.
2906
2907         https://bugs.webkit.org/show_bug.cgi?id=34789
2908
2909         * DEPS:
2910
2911 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
2912
2913         Reviewed by Pavel Feldman.
2914
2915         Use v8::Debug::ProcessDebugMessages instead of executing an empty function
2916
2917         https://bugs.webkit.org/show_bug.cgi?id=34704
2918
2919         * src/DebuggerAgent.h:
2920         * src/DebuggerAgentImpl.cpp:
2921         (WebKit::DebuggerAgentImpl::processDebugCommands):
2922         * src/DebuggerAgentImpl.h:
2923         * src/ToolsAgent.h:
2924         * src/WebDevToolsAgentImpl.cpp:
2925         * src/WebDevToolsAgentImpl.h:
2926         * src/js/DebuggerAgent.js:
2927         (devtools.DebuggerAgent.prototype.addBreakpoint):
2928         * src/js/DevToolsHostStub.js:
2929         (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
2930         * src/js/InjectDispatch.js:
2931         (dispatch):
2932         * src/js/ProfilerAgent.js:
2933         (devtools.ProfilerAgent.prototype.startProfiling):
2934         (devtools.ProfilerAgent.prototype.stopProfiling):
2935         * src/js/Tests.js:
2936
2937 2010-02-10  Tony Chang  <tony@chromium.org>
2938
2939         Unreviewed, build fix for Chromium Mac take 2.
2940
2941         * src/AutoFillPopupMenuClient.cpp:
2942         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
2943
2944 2010-02-10  Tony Chang  <tony@chromium.org>
2945
2946         Unreviewed, build fix for Chromium Mac.
2947
2948         * src/AutoFillPopupMenuClient.cpp:
2949         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
2950
2951 2010-02-09  James Hawkins  <jhawkins@chromium.org>
2952
2953         Reviewed by Darin Fisher.
2954
2955         [Chromium] Refactor AutocompletePopupMenuClient into a base class,
2956         SuggestionsPopupMenuClient, and two derived classes,
2957         AutocompletePopupMenuClient and AutoFillPopupMenuClient.  Currently
2958         the behavior of suggestions popups has not changed.
2959
2960         https://bugs.webkit.org/show_bug.cgi?id=34721
2961
2962         * WebKit.gyp:
2963         * public/WebView.h:
2964         * src/AutoFillPopupMenuClient.cpp: Added.
2965         * src/AutoFillPopupMenuClient.h: Added.
2966         * src/AutocompletePopupMenuClient.cpp:
2967         (WebKit::AutocompletePopupMenuClient::getSuggestionsCount):
2968         (WebKit::AutocompletePopupMenuClient::getSuggestion):
2969         (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
2970         (WebKit::AutocompletePopupMenuClient::initialize):
2971         (WebKit::AutocompletePopupMenuClient::setSuggestions):
2972         * src/AutocompletePopupMenuClient.h:
2973         * src/SuggestionsPopupMenuClient.cpp: Added.
2974         * src/SuggestionsPopupMenuClient.h: Added.
2975         * src/WebViewImpl.cpp:
2976         (WebKit::WebViewImpl::WebViewImpl):
2977         (WebKit::WebViewImpl::keyEvent):
2978         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
2979         (WebKit::WebViewImpl::applyAutofillSuggestions):
2980         (WebKit::WebViewImpl::applyAutoFillSuggestions):
2981         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
2982         * src/WebViewImpl.h:
2983
2984 2010-02-09  Chris Guillory  <ctguil@google.com>
2985
2986         Reviewed by Darin Fisher.
2987
2988         [Chromium] Add function for accessibility object state change notifications.
2989         
2990         https://bugs.webkit.org/show_bug.cgi?id=34464
2991
2992         * gyp_webkit:
2993         * public/WebViewClient.h:
2994         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
2995         * src/ChromeClientImpl.cpp:
2996         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
2997         * src/ChromeClientImpl.h:
2998
2999 2010-02-09  Mikhail Naganov  <mnaganov@chromium.org>
3000
3001         Reviewed by Pavel Feldman.
3002
3003         Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
3004         Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
3005         for really enabling it in V8 bindings generation.
3006
3007         https://bugs.webkit.org/show_bug.cgi?id=34706
3008
3009         * features.gypi:
3010
3011 2010-02-09  Jian Li  <jianli@chromium.org>
3012
3013         Reviewed by Darin Fisher.
3014
3015         [chromium] Add the chromium interface to support Blob.slice.
3016         https://bugs.webkit.org/show_bug.cgi?id=34652
3017
3018         * WebKit.gyp:
3019         * public/WebFileInfo.h: Added.
3020         * public/WebHTTPBody.h:
3021         * src/WebHTTPBody.cpp:
3022         (WebKit::WebHTTPBody::elementAt):
3023         (WebKit::WebHTTPBody::appendFile):
3024
3025 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
3026
3027         Unreviewed. Follow-up fix.
3028
3029         Add missing devTools.css file.
3030
3031         https://bugs.webkit.org/show_bug.cgi?id=34756
3032
3033         * src/js/devTools.css: Added.
3034
3035 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
3036
3037         Reviewed by Pavel Feldman.
3038
3039         Upstream DevTools Images and .css files.
3040
3041         https://bugs.webkit.org/show_bug.cgi?id=34756
3042
3043         * WebKit.gypi:
3044         * src/js/DevTools.css: Added.
3045         * src/js/Images/segmentChromium.png: Added.
3046         * src/js/Images/segmentHoverChromium.png: Added.
3047         * src/js/Images/segmentHoverEndChromium.png: Added.
3048         * src/js/Images/segmentSelectedChromium.png: Added.
3049         * src/js/Images/segmentSelectedEndChromium.png: Added.
3050         * src/js/Images/statusbarBackgroundChromium.png: Added.
3051         * src/js/Images/statusbarBottomBackgroundChromium.png: Added.
3052         * src/js/Images/statusbarButtonsChromium.png: Added.
3053         * src/js/Images/statusbarMenuButtonChromium.png: Added.
3054         * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added.
3055
3056 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
3057
3058         Reviewed by Pavel Feldman.
3059
3060         Upstream JavaScript part of DevTools WebKit API implementation(now
3061         with the added files).
3062
3063         https://bugs.webkit.org/show_bug.cgi?id=34744
3064
3065         * WebKit.gypi: Added.
3066         * src/js/DebuggerAgent.js: Added.
3067         (devtools.DebuggerAgent):
3068         (devtools.DebuggerAgent.prototype.reset):
3069         (devtools.DebuggerAgent.prototype.initUI):
3070         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
3071         (devtools.DebuggerAgent.prototype.resolveScriptSource):
3072         (devtools.DebuggerAgent.prototype.pauseExecution):
3073         (devtools.DebuggerAgent.prototype.addBreakpoint):
3074         (devtools.DebuggerAgent.prototype.removeBreakpoint):
3075         (devtools.DebuggerAgent.prototype.updateBreakpoint):
3076         (devtools.DebuggerAgent.prototype.stepIntoStatement):
3077         (devtools.DebuggerAgent.prototype.stepOutOfFunction):
3078         (devtools.DebuggerAgent.prototype.stepOverStatement):
3079         (devtools.DebuggerAgent.prototype.resumeExecution):
3080         (devtools.DebuggerAgent.prototype.createExceptionMessage_):
3081         (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
3082         (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
3083         (devtools.DebuggerAgent.prototype.pauseOnExceptions):
3084         (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
3085         (devtools.DebuggerAgent.prototype.requestEvaluate):
3086         (devtools.DebuggerAgent.prototype.resolveChildren):
3087         (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
3088         (devtools.DebuggerAgent.prototype.resolveScope):
3089         (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
3090         (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
3091         (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
3092         (devtools.DebuggerAgent.prototype.getScriptContextType):
3093         (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
3094         (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
3095         (devtools.DebuggerAgent.prototype.requestBacktrace_):
3096         (devtools.DebuggerAgent.sendCommand_):
3097         (devtools.DebuggerAgent.prototype.stepCommand_):
3098         (devtools.DebuggerAgent.prototype.requestLookup_):
3099         (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
3100         (devtools.DebuggerAgent.prototype.setContextId_):
3101         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
3102         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
3103         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
3104         (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
3105         (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
3106         (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
3107         (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
3108         (devtools.DebuggerAgent.prototype.addScriptInfo_):
3109         (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
3110         (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
3111         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
3112         (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
3113         (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
3114         (devtools.DebuggerAgent.prototype.formatCallFrame_):
3115         (devtools.DebuggerAgent.formatObjectProperties_):
3116         (devtools.DebuggerAgent.propertiesToProxies_):
3117         (devtools.DebuggerAgent.formatObjectProxy_):
3118         (devtools.DebuggerAgent.webkitToV8LineNumber_):
3119         (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
3120         (devtools.ScriptInfo):
3121         (devtools.ScriptInfo.prototype.getLineOffset):
3122         (devtools.ScriptInfo.prototype.getContextType):
3123         (devtools.ScriptInfo.prototype.getUrl):
3124         (devtools.ScriptInfo.prototype.isUnresolved):
3125         (devtools.ScriptInfo.prototype.getBreakpointInfo):
3126         (devtools.ScriptInfo.prototype.addBreakpointInfo):
3127         (devtools.ScriptInfo.prototype.removeBreakpointInfo):
3128         (devtools.BreakpointInfo):
3129         (devtools.BreakpointInfo.prototype.getLine):
3130         (devtools.BreakpointInfo.prototype.getV8Id):
3131         (devtools.BreakpointInfo.prototype.setV8Id):
3132         (devtools.BreakpointInfo.prototype.markAsRemoved):
3133         (devtools.BreakpointInfo.prototype.isRemoved):
3134         (devtools.CallFrame):
3135         (devtools.CallFrame.prototype.evaluate_):
3136         (devtools.DebugCommand):
3137         (devtools.DebugCommand.prototype.getSequenceNumber):
3138         (devtools.DebugCommand.prototype.toJSONProtocol):
3139         (devtools.DebuggerMessage):
3140         (devtools.DebuggerMessage.prototype.getType):
3141         (devtools.DebuggerMessage.prototype.getEvent):
3142         (devtools.DebuggerMessage.prototype.getCommand):
3143         (devtools.DebuggerMessage.prototype.getRequestSeq):
3144         (devtools.DebuggerMessage.prototype.isRunning):
3145         (devtools.DebuggerMessage.prototype.isSuccess):
3146         (devtools.DebuggerMessage.prototype.getMessage):
3147         (devtools.DebuggerMessage.prototype.getBody):
3148         (devtools.DebuggerMessage.prototype.lookup):
3149         * src/js/DevTools.js: Added.
3150         (devtools.dispatch):
3151         (devtools.ToolsAgent):
3152         (devtools.ToolsAgent.prototype.reset):
3153         (devtools.ToolsAgent.prototype.evaluateJavaScript):
3154         (devtools.ToolsAgent.prototype.getDebuggerAgent):
3155         (devtools.ToolsAgent.prototype.getProfilerAgent):
3156         (devtools.ToolsAgent.prototype.frameNavigate_):
3157         (devtools.ToolsAgent.prototype.dispatchOnClient_):
3158         (devtools.ToolsAgent.prototype.evaluate):
3159         (WebInspector.setResourcesPanelEnabled):
3160         (debugPrint):
3161         (devtools):
3162         (WebInspector.loaded):
3163         ():
3164         (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
3165         (WebInspector.ScriptView.prototype.didResolveScriptSource_):
3166         (WebInspector.UnresolvedPropertyValue):
3167         (WebInspector.UIString):
3168         (WebInspector.resourceTrackingWasEnabled):
3169         (WebInspector.resourceTrackingWasDisabled):
3170         (WebInspector.TestController.prototype.runAfterPendingDispatches):
3171         (WebInspector.queuesAreEmpty):
3172         (WebInspector.pausedScript):
3173         * src/js/DevToolsHostStub.js: Added.
3174         (.RemoteDebuggerAgentStub):
3175         (.RemoteDebuggerAgentStub.prototype.getContextId):
3176         (.RemoteProfilerAgentStub):
3177         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
3178         (.RemoteProfilerAgentStub.prototype.getLogLines):
3179         (.RemoteToolsAgentStub):
3180         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
3181         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
3182         (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
3183         (.ProfilerStubHelper):
3184         (.ProfilerStubHelper.GetInstance):
3185         (.ProfilerStubHelper.prototype.StopProfiling):
3186         (.ProfilerStubHelper.prototype.StartProfiling):
3187         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
3188         (.ProfilerStubHelper.prototype.getLogLines):
3189         (.RemoteDebuggerCommandExecutorStub):
3190         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
3191         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
3192         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
3193         (.DevToolsHostStub):
3194         (.DevToolsHostStub.prototype.reset):
3195         (.DevToolsHostStub.prototype.setting):
3196         (.DevToolsHostStub.prototype.setSetting):
3197         * src/js/HeapProfilerPanel.js: Added.
3198         (WebInspector.ProfilesPanel.prototype.addSnapshot):
3199         (WebInspector.HeapSnapshotView):
3200         (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
3201         (WebInspector.HeapSnapshotView.prototype.get profile):
3202         (WebInspector.HeapSnapshotView.prototype.set profile):
3203         (WebInspector.HeapSnapshotView.prototype.show):
3204         (WebInspector.HeapSnapshotView.prototype.hide):
3205         (WebInspector.HeapSnapshotView.prototype.resize):
3206         (WebInspector.HeapSnapshotView.prototype.refresh):
3207         (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
3208         (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
3209         (WebInspector.HeapSnapshotView.prototype.searchCanceled):
3210         (WebInspector.HeapSnapshotView.prototype.performSearch):
3211         (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):
3212         (WebInspector.HeapSnapshotView.prototype._changeBase):
3213         (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
3214         (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
3215         (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
3216         (WebInspector.HeapSnapshotView.prototype._percentClicked):
3217         (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
3218         (WebInspector.HeapSnapshotView.prototype._sortData):
3219         (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
3220         (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
3221         (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
3222         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
3223         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
3224         (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
3225         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
3226         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
3227         (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
3228         (WebInspector.HeapSummaryCalculator):
3229         (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
3230         (WebInspector.HeapSummaryCalculator.prototype.formatValue):
3231         (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
3232         (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
3233         (WebInspector.HeapSummaryCountCalculator):
3234         (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
3235         (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
3236         (WebInspector.HeapSummarySizeCalculator):
3237         (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
3238         (WebInspector.HeapSnapshotSidebarTreeElement):
3239         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
3240         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
3241         (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
3242         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
3243         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
3244         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
3245         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
3246         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
3247         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
3248         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
3249         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
3250         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
3251         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
3252         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
3253         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
3254         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
3255         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
3256         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
3257         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
3258         (WebInspector.HeapSnapshotDataGridNode):
3259         (WebInspector.HeapSnapshotDataGridList):
3260         (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
3261         (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
3262         (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
3263         (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
3264         (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
3265         (WebInspector.HeapSnapshotDataGridList.propertyComparator):
3266         (WebInspector.HeapSnapshotDataGridRetainerNode):
3267         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
3268         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
3269         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
3270         (WebInspector.HeapSnapshotProfileType):
3271         (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
3272         (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
3273         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
3274         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
3275         (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
3276         (WebInspector.HeapSnapshotProfileType.prototype.createView):
3277         ():
3278         * src/js/InjectDispatch.js: Added.
3279         (InspectorControllerDispatcher.dispatch):
3280         (ApuAgentDispatcher.dispatchToApu):
3281         (dispatch):
3282         (devtools):
3283         * src/js/InspectorControllerImpl.js: Added.
3284         (devtools.InspectorBackendImpl):
3285         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
3286         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
3287         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
3288         (devtools.InspectorBackendImpl.prototype.addBreakpoint):
3289         (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
3290         (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
3291         (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
3292         (devtools.InspectorBackendImpl.prototype.resumeDebugger):
3293         (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
3294         (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
3295         (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
3296         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
3297         (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
3298         (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
3299         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
3300         (devtools.InspectorBackendImpl.prototype.startProfiling):
3301         (devtools.InspectorBackendImpl.prototype.stopProfiling):
3302         (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
3303         (devtools.InspectorBackendImpl.prototype.addFullProfile):
3304         (devtools.InspectorBackendImpl.prototype.getProfile):
3305         (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
3306         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
3307         (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
3308         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
3309         * src/js/ProfilerAgent.js: Added.
3310         (devtools.ProfilerAgent):
3311         (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
3312         (devtools.ProfilerAgent.prototype.initializeProfiling):
3313         (devtools.ProfilerAgent.prototype.startProfiling):
3314         (devtools.ProfilerAgent.prototype.stopProfiling):
3315         (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
3316         (devtools.ProfilerAgent.prototype.didGetLogLines_):
3317         * src/js/ProfilerProcessor.js: Added.
3318         (devtools.profiler.WebKitViewBuilder):
3319         (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
3320         (devtools.profiler.WebKitViewNode):
3321         (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
3322         (devtools.profiler.JsProfile):
3323         (devtools.profiler.JsProfile.prototype.skipThisFunction):
3324         (devtools.profiler.Processor):
3325         (devtools.profiler.Processor.prototype.printError):
3326         (devtools.profiler.Processor.prototype.skipDispatch):
3327         (devtools.profiler.Processor.prototype.setCallbacks):
3328         (devtools.profiler.Processor.prototype.setNewProfileCallback):
3329         (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
3330         (devtools.profiler.Processor.prototype.processProfiler_):
3331         (devtools.profiler.Processor.prototype.processCodeCreation_):
3332         (devtools.profiler.Processor.prototype.processCodeMove_):
3333         (devtools.profiler.Processor.prototype.processCodeDelete_):
3334         (devtools.profiler.Processor.prototype.processFunctionCreation_):
3335         (devtools.profiler.Processor.prototype.processFunctionMove_):
3336         (devtools.profiler.Processor.prototype.processFunctionDelete_):
3337         (devtools.profiler.Processor.prototype.processTick_):
3338         (devtools.profiler.Processor.prototype.processTickV2_):
3339         (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
3340         (devtools.profiler.Processor.prototype.processHeapSampleStats_):
3341         (devtools.profiler.Processor.prototype.processHeapSampleItem_):
3342         (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
3343         (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
3344         (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
3345         (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
3346         (devtools.profiler.Processor.prototype.createProfileForView):
3347         * src/js/Tests.js: Added.
3348         (.TestSuite):
3349         (.TestSuite.prototype.fail):
3350         (.TestSuite.prototype.assertEquals):
3351         (.TestSuite.prototype.assertTrue):
3352         (.TestSuite.prototype.assertContains):
3353         (.TestSuite.prototype.takeControl):
3354         (.TestSuite.prototype.releaseControl):
3355         (.TestSuite.prototype.reportOk_):
3356         (.TestSuite.prototype.reportFailure_):
3357         (.TestSuite.prototype.runTest):
3358         (.TestSuite.prototype.showPanel):
3359         (.TestSuite.prototype.addSniffer.receiver.methodName):
3360         (.TestSuite.prototype.addSniffer):
3361         (.TestSuite.prototype.testHostIsPresent):
3362         (.TestSuite.prototype.testElementsTreeRoot):
3363         (.TestSuite.prototype.testMainResource):
3364         (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
3365         (.TestSuite.prototype.testResourceHeaders):
3366         (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
3367         (.TestSuite.prototype.testCachedResourceMimeType):
3368         (.TestSuite.prototype.testProfilerTab):
3369         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
3370         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
3371         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
3372         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
3373         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
3374         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
3375         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
3376         (.TestSuite.prototype.testPauseOnException):
3377         (.TestSuite.prototype.testPauseWhenLoadingDevTools):
3378         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
3379         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
3380         (.TestSuite.prototype.testPauseWhenScriptIsRunning):
3381         (.TestSuite.prototype.optionsToString_):
3382         (.TestSuite.prototype.evaluateInConsole_):
3383         (.TestSuite.prototype.waitForSetBreakpointResponse_):
3384         (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
3385         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
3386         (.TestSuite.prototype.testCompletionOnPause):
3387         (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
3388         (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
3389         (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
3390         (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
3391         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
3392         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
3393         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
3394         (.TestSuite.prototype._checkExecutionLine):
3395         (.TestSuite.prototype._scriptsAreParsed):
3396         (.TestSuite.prototype._waitForScriptPause):
3397         (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
3398         (.TestSuite.prototype._checkSourceFrameWhenLoaded):
3399         (.TestSuite.prototype._performSteps.doNextAction):
3400         (.TestSuite.prototype._performSteps):
3401         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
3402         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
3403         (.TestSuite.prototype._waitUntilScriptsAreParsed):
3404         (.TestSuite.prototype._executeFunctionForStepTest):
3405         (.TestSuite.prototype.testStepOver):
3406         (.TestSuite.prototype.testStepOut):
3407         (.TestSuite.prototype.testStepIn):
3408         (.TestSuite.prototype._evaluateXpath):
3409         (.TestSuite.prototype._findNode):
3410         (.TestSuite.prototype._findText):
3411         (.TestSuite.prototype._nodeIterator):
3412         (.TestSuite.prototype._checkScopeSectionDiv):
3413         (.TestSuite.prototype._expandScopeSections.updateListener):
3414         (.TestSuite.prototype._expandScopeSections):
3415         (.TestSuite.prototype.testExpandScope):
3416         (.TestSuite.prototype.testExpandScope.examineScopes):
3417         (.TestSuite.prototype._findChildProperty):
3418         (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
3419         (.TestSuite.prototype._hookGetPropertiesCallback.try):
3420         (.TestSuite.prototype._hookGetPropertiesCallback):
3421         (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
3422         (.TestSuite.prototype.testDebugIntrinsicProperties):
3423         (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
3424         (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
3425         (.TestSuite.createKeyEvent):
3426         (.TestSuite.prototype.testConsoleLog.assertNext):
3427         (.TestSuite.prototype.testConsoleLog):
3428         (.TestSuite.prototype.testEvalGlobal.initEval):
3429         (.TestSuite.prototype.testEvalGlobal):
3430         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
3431         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
3432         (.uiTests.runAllTests):
3433         (.uiTests.runTest):
3434
3435 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
3436
3437         Reviewed by Pavel Feldman.
3438
3439         Upstream JavaScript part of DevTools WebKit API implementation
3440
3441         https://bugs.webkit.org/show_bug.cgi?id=34744
3442
3443         * WebKit.gypi: Added.
3444         * src/js/DebuggerAgent.js: Added.
3445         (devtools.DebuggerAgent):
3446         (devtools.DebuggerAgent.prototype.reset):
3447         (devtools.DebuggerAgent.prototype.initUI):
3448         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
3449         (devtools.DebuggerAgent.prototype.resolveScriptSource):
3450         (devtools.DebuggerAgent.prototype.pauseExecution):
3451         (devtools.DebuggerAgent.prototype.addBreakpoint):
3452         (devtools.DebuggerAgent.prototype.removeBreakpoint):
3453         (devtools.DebuggerAgent.prototype.updateBreakpoint):
3454         (devtools.DebuggerAgent.prototype.stepIntoStatement):
3455         (devtools.DebuggerAgent.prototype.stepOutOfFunction):
3456         (devtools.DebuggerAgent.prototype.stepOverStatement):
3457         (devtools.DebuggerAgent.prototype.resumeExecution):
3458         (devtools.DebuggerAgent.prototype.createExceptionMessage_):
3459         (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
3460         (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
3461         (devtools.DebuggerAgent.prototype.pauseOnExceptions):
3462         (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
3463         (devtools.DebuggerAgent.prototype.requestEvaluate):
3464         (devtools.DebuggerAgent.prototype.resolveChildren):
3465         (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
3466         (devtools.DebuggerAgent.prototype.resolveScope):
3467         (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
3468         (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
3469         (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
3470         (devtools.DebuggerAgent.prototype.getScriptContextType):
3471         (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
3472         (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
3473         (devtools.DebuggerAgent.prototype.requestBacktrace_):
3474         (devtools.DebuggerAgent.sendCommand_):
3475         (devtools.DebuggerAgent.prototype.stepCommand_):
3476         (devtools.DebuggerAgent.prototype.requestLookup_):
3477         (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
3478         (devtools.DebuggerAgent.prototype.setContextId_):
3479         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
3480         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
3481         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
3482         (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
3483         (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
3484         (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
3485         (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
3486         (devtools.DebuggerAgent.prototype.addScriptInfo_):
3487         (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
3488         (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
3489         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
3490         (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
3491         (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
3492         (devtools.DebuggerAgent.prototype.formatCallFrame_):
3493         (devtools.DebuggerAgent.formatObjectProperties_):
3494         (devtools.DebuggerAgent.propertiesToProxies_):
3495         (devtools.DebuggerAgent.formatObjectProxy_):
3496         (devtools.DebuggerAgent.webkitToV8LineNumber_):
3497         (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
3498         (devtools.ScriptInfo):
3499         (devtools.ScriptInfo.prototype.getLineOffset):
3500         (devtools.ScriptInfo.prototype.getContextType):
3501         (devtools.ScriptInfo.prototype.getUrl):
3502         (devtools.ScriptInfo.prototype.isUnresolved):
3503         (devtools.ScriptInfo.prototype.getBreakpointInfo):
3504         (devtools.ScriptInfo.prototype.addBreakpointInfo):
3505         (devtools.ScriptInfo.prototype.removeBreakpointInfo):
3506         (devtools.BreakpointInfo):
3507         (devtools.BreakpointInfo.prototype.getLine):
3508         (devtools.BreakpointInfo.prototype.getV8Id):
3509         (devtools.BreakpointInfo.prototype.setV8Id):
3510         (devtools.BreakpointInfo.prototype.markAsRemoved):
3511         (devtools.BreakpointInfo.prototype.isRemoved):
3512         (devtools.CallFrame):
3513         (devtools.CallFrame.prototype.evaluate_):
3514         (devtools.DebugCommand):
3515         (devtools.DebugCommand.prototype.getSequenceNumber):
3516         (devtools.DebugCommand.prototype.toJSONProtocol):
3517         (devtools.DebuggerMessage):
3518         (devtools.DebuggerMessage.prototype.getType):
3519         (devtools.DebuggerMessage.prototype.getEvent):
3520         (devtools.DebuggerMessage.prototype.getCommand):
3521         (devtools.DebuggerMessage.prototype.getRequestSeq):
3522         (devtools.DebuggerMessage.prototype.isRunning):
3523         (devtools.DebuggerMessage.prototype.isSuccess):
3524         (devtools.DebuggerMessage.prototype.getMessage):
3525         (devtools.DebuggerMessage.prototype.getBody):
3526         (devtools.DebuggerMessage.prototype.lookup):
3527         * src/js/DevTools.js: Added.
3528         (devtools.dispatch):
3529         (devtools.ToolsAgent):
3530         (devtools.ToolsAgent.prototype.reset):
3531         (devtools.ToolsAgent.prototype.evaluateJavaScript):
3532         (devtools.ToolsAgent.prototype.getDebuggerAgent):
3533         (devtools.ToolsAgent.prototype.getProfilerAgent):
3534         (devtools.ToolsAgent.prototype.frameNavigate_):
3535         (devtools.ToolsAgent.prototype.dispatchOnClient_):
3536         (devtools.ToolsAgent.prototype.evaluate):
3537         (WebInspector.setResourcesPanelEnabled):
3538         (debugPrint):
3539         (devtools):
3540         (WebInspector.loaded):
3541         ():
3542         (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
3543         (WebInspector.ScriptView.prototype.didResolveScriptSource_):
3544         (WebInspector.UnresolvedPropertyValue):
3545         (WebInspector.UIString):
3546         (WebInspector.resourceTrackingWasEnabled):
3547         (WebInspector.resourceTrackingWasDisabled):
3548         (WebInspector.TestController.prototype.runAfterPendingDispatches):
3549         (WebInspector.queuesAreEmpty):
3550         (WebInspector.pausedScript):
3551         * src/js/DevToolsHostStub.js: Added.
3552         (.RemoteDebuggerAgentStub):
3553         (.RemoteDebuggerAgentStub.prototype.getContextId):
3554         (.RemoteProfilerAgentStub):
3555         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
3556         (.RemoteProfilerAgentStub.prototype.getLogLines):
3557         (.RemoteToolsAgentStub):
3558         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
3559         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
3560         (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
3561         (.ProfilerStubHelper):
3562         (.ProfilerStubHelper.GetInstance):
3563         (.ProfilerStubHelper.prototype.StopProfiling):
3564         (.ProfilerStubHelper.prototype.StartProfiling):
3565         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
3566         (.ProfilerStubHelper.prototype.getLogLines):
3567         (.RemoteDebuggerCommandExecutorStub):
3568         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
3569         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
3570         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
3571         (.DevToolsHostStub):
3572         (.DevToolsHostStub.prototype.reset):
3573         (.DevToolsHostStub.prototype.setting):
3574         (.DevToolsHostStub.prototype.setSetting):
3575         * src/js/HeapProfilerPanel.js: Added.
3576         (WebInspector.ProfilesPanel.prototype.addSnapshot):
3577         (WebInspector.HeapSnapshotView):
3578         (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
3579         (WebInspector.HeapSnapshotView.prototype.get profile):
3580         (WebInspector.HeapSnapshotView.prototype.set profile):
3581         (WebInspector.HeapSnapshotView.prototype.show):
3582         (WebInspector.HeapSnapshotView.prototype.hide):
3583         (WebInspector.HeapSnapshotView.prototype.resize):
3584         (WebInspector.HeapSnapshotView.prototype.refresh):
3585         (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
3586         (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
3587         (WebInspector.HeapSnapshotView.prototype.searchCanceled):
3588         (WebInspector.HeapSnapshotView.prototype.performSearch):
3589         (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):
3590         (WebInspector.HeapSnapshotView.prototype._changeBase):
3591         (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
3592         (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
3593         (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
3594         (WebInspector.HeapSnapshotView.prototype._percentClicked):
3595         (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
3596         (WebInspector.HeapSnapshotView.prototype._sortData):
3597         (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
3598         (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
3599         (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
3600         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
3601         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
3602         (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
3603         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
3604         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
3605         (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
3606         (WebInspector.HeapSummaryCalculator):
3607         (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
3608         (WebInspector.HeapSummaryCalculator.prototype.formatValue):
3609         (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
3610         (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
3611         (WebInspector.HeapSummaryCountCalculator):
3612         (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
3613         (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
3614         (WebInspector.HeapSummarySizeCalculator):
3615         (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
3616         (WebInspector.HeapSnapshotSidebarTreeElement):
3617         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
3618         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
3619         (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
3620         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
3621         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
3622         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
3623         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
3624         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
3625         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
3626         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
3627         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
3628         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
3629         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
3630         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
3631         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
3632         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
3633         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
3634         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
3635         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
3636         (WebInspector.HeapSnapshotDataGridNode):
3637         (WebInspector.HeapSnapshotDataGridList):
3638         (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
3639         (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
3640         (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
3641         (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
3642         (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
3643         (WebInspector.HeapSnapshotDataGridList.propertyComparator):
3644         (WebInspector.HeapSnapshotDataGridRetainerNode):
3645         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
3646         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
3647         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
3648         (WebInspector.HeapSnapshotProfileType):
3649         (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
3650         (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
3651         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
3652         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
3653         (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
3654         (WebInspector.HeapSnapshotProfileType.prototype.createView):
3655         ():
3656         * src/js/InjectDispatch.js: Added.
3657         (InspectorControllerDispatcher.dispatch):
3658         (ApuAgentDispatcher.dispatchToApu):
3659         (dispatch):
3660         (devtools):
3661         * src/js/InspectorControllerImpl.js: Added.
3662         (devtools.InspectorBackendImpl):
3663         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
3664         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
3665         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
3666         (devtools.InspectorBackendImpl.prototype.addBreakpoint):
3667         (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
3668         (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
3669         (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
3670         (devtools.InspectorBackendImpl.prototype.resumeDebugger):
3671         (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
3672         (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
3673         (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
3674         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
3675         (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
3676         (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
3677         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
3678         (devtools.InspectorBackendImpl.prototype.startProfiling):
3679         (devtools.InspectorBackendImpl.prototype.stopProfiling):
3680         (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
3681         (devtools.InspectorBackendImpl.prototype.addFullProfile):
3682         (devtools.InspectorBackendImpl.prototype.getProfile):
3683         (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
3684         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
3685         (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
3686         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
3687         * src/js/ProfilerAgent.js: Added.
3688         (devtools.ProfilerAgent):
3689         (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
3690         (devtools.ProfilerAgent.prototype.initializeProfiling):
3691         (devtools.ProfilerAgent.prototype.startProfiling):
3692         (devtools.ProfilerAgent.prototype.stopProfiling):
3693         (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
3694         (devtools.ProfilerAgent.prototype.didGetLogLines_):
3695         * src/js/ProfilerProcessor.js: Added.
3696         (devtools.profiler.WebKitViewBuilder):
3697         (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
3698         (devtools.profiler.WebKitViewNode):
3699         (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
3700         (devtools.profiler.JsProfile):
3701         (devtools.profiler.JsProfile.prototype.skipThisFunction):
3702         (devtools.profiler.Processor):
3703         (devtools.profiler.Processor.prototype.printError):
3704         (devtools.profiler.Processor.prototype.skipDispatch):
3705         (devtools.profiler.Processor.prototype.setCallbacks):
3706         (devtools.profiler.Processor.prototype.setNewProfileCallback):
3707         (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
3708         (devtools.profiler.Processor.prototype.processProfiler_):
3709         (devtools.profiler.Processor.prototype.processCodeCreation_):
3710         (devtools.profiler.Processor.prototype.processCodeMove_):
3711         (devtools.profiler.Processor.prototype.processCodeDelete_):
3712         (devtools.profiler.Processor.prototype.processFunctionCreation_):
3713         (devtools.profiler.Processor.prototype.processFunctionMove_):
3714         (devtools.profiler.Processor.prototype.processFunctionDelete_):
3715         (devtools.profiler.Processor.prototype.processTick_):
3716         (devtools.profiler.Processor.prototype.processTickV2_):
3717         (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
3718         (devtools.profiler.Processor.prototype.processHeapSampleStats_):
3719         (devtools.profiler.Processor.prototype.processHeapSampleItem_):
3720         (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
3721         (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
3722         (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
3723         (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
3724         (devtools.profiler.Processor.prototype.createProfileForView):
3725         * src/js/Tests.js: Added.
3726         (.TestSuite):
3727         (.TestSuite.prototype.fail):
3728         (.TestSuite.prototype.assertEquals):
3729         (.TestSuite.prototype.assertTrue):
3730         (.TestSuite.prototype.assertContains):
3731         (.TestSuite.prototype.takeControl):
3732         (.TestSuite.prototype.releaseControl):
3733         (.TestSuite.prototype.reportOk_):
3734         (.TestSuite.prototype.reportFailure_):
3735         (.TestSuite.prototype.runTest):
3736         (.TestSuite.prototype.showPanel):
3737         (.TestSuite.prototype.addSniffer.receiver.methodName):
3738         (.TestSuite.prototype.addSniffer):
3739         (.TestSuite.prototype.testHostIsPresent):
3740         (.TestSuite.prototype.testElementsTreeRoot):
3741         (.TestSuite.prototype.testMainResource):
3742         (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
3743         (.TestSuite.prototype.testResourceHeaders):
3744         (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
3745         (.TestSuite.prototype.testCachedResourceMimeType):
3746         (.TestSuite.prototype.testProfilerTab):
3747         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
3748         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
3749         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
3750         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
3751         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
3752         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
3753         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
3754         (.TestSuite.prototype.testPauseOnException):
3755         (.TestSuite.prototype.testPauseWhenLoadingDevTools):
3756         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
3757         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
3758         (.TestSuite.prototype.testPauseWhenScriptIsRunning):
3759         (.TestSuite.prototype.optionsToString_):
3760         (.TestSuite.prototype.evaluateInConsole_):
3761         (.TestSuite.prototype.waitForSetBreakpointResponse_):
3762         (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
3763         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
3764         (.TestSuite.prototype.testCompletionOnPause):
3765         (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
3766         (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
3767         (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
3768         (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
3769         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
3770         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
3771         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
3772         (.TestSuite.prototype._checkExecutionLine):
3773         (.TestSuite.prototype._scriptsAreParsed):
3774         (.TestSuite.prototype._waitForScriptPause):
3775         (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
3776         (.TestSuite.prototype._checkSourceFrameWhenLoaded):
3777         (.TestSuite.prototype._performSteps.doNextAction):
3778         (.TestSuite.prototype._performSteps):
3779         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
3780         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
3781         (.TestSuite.prototype._waitUntilScriptsAreParsed):
3782         (.TestSuite.prototype._executeFunctionForStepTest):
3783         (.TestSuite.prototype.testStepOver):
3784         (.TestSuite.prototype.testStepOut):
3785         (.TestSuite.prototype.testStepIn):
3786         (.TestSuite.prototype._evaluateXpath):
3787         (.TestSuite.prototype._findNode):
3788         (.TestSuite.prototype._findText):
3789         (.TestSuite.prototype._nodeIterator):
3790         (.TestSuite.prototype._checkScopeSectionDiv):
3791         (.TestSuite.prototype._expandScopeSections.updateListener):
3792         (.TestSuite.prototype._expandScopeSections):
3793         (.TestSuite.prototype.testExpandScope):
3794         (.TestSuite.prototype.testExpandScope.examineScopes):
3795         (.TestSuite.prototype._findChildProperty):
3796         (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
3797         (.TestSuite.prototype._hookGetPropertiesCallback.try):
3798         (.TestSuite.prototype._hookGetPropertiesCallback):
3799         (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
3800         (.TestSuite.prototype.testDebugIntrinsicProperties):
3801         (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
3802         (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
3803         (.TestSuite.createKeyEvent):
3804         (.TestSuite.prototype.testConsoleLog.assertNext):
3805         (.TestSuite.prototype.testConsoleLog):
3806         (.TestSuite.prototype.testEvalGlobal.initEval):
3807         (.TestSuite.prototype.testEvalGlobal):
3808         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
3809         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
3810         (.uiTests.runAllTests):
3811         (.uiTests.runTest):
3812
3813 2010-02-09  Avi Drissman  <avi@chromium.org>
3814
3815         Reviewed by David Levin.
3816
3817         Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy
3818         https://bugs.webkit.org/show_bug.cgi?id=34615
3819
3820         * src/WebViewImpl.cpp:
3821         (WebKit::WebViewImpl::keyEventDefault):
3822
3823 2010-02-08  Evan Martin  <evan@chromium.org>
3824
3825         dlopen() knows how to search the library search path, so just rely on
3826         it.  While I'm at it, print out the dlerror() error message on failure.
3827
3828         [chromium] webgl shouldn't hard code library search path
3829         https://bugs.webkit.org/show_bug.cgi?id=34659
3830
3831         * src/GraphicsContext3D.cpp:
3832         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
3833         (WebCore::GraphicsContext3DInternal::GLConnection::create):
3834
3835 2010-02-08  Charlie Reis  <creis@chromium.org>
3836
3837         Reviewed by Darin Adler.
3838
3839         onbeforeunload not called at window close + frame or iframe focused
3840         https://bugs.webkit.org/show_bug.cgi?id=27481
3841         http://code.google.com/p/chromium/issues/detail?id=32615
3842         http://code.google.com/p/chromium/issues/detail?id=17157
3843
3844         Chromium and WebKit on Windows will now fire beforeunload handlers
3845         even if an inner frame is focused.
3846
3847         Layout tests aren't able to test this bug, since it requires closing
3848         the actual browser window, not calling window.close().  Instead,
3849         test with WebCore/manual-tests/onbeforeunload-focused-iframe.html.
3850
3851         * src/WebViewImpl.cpp:
3852         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
3853
3854 2010-02-08  Pavel Feldman  <pfeldman@chromium.org>
3855
3856         Reviewed by David Levin.
3857
3858         WebKit/chromium: Custom context menu does not work in inspector.
3859         https://bugs.webkit.org/show_bug.cgi?id=34711
3860
3861         * src/WebDevToolsFrontendImpl.cpp:
3862         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
3863
3864 2010-02-08  Nate Chapin  <japhet@chromium.org>
3865
3866         Reviewed by Darin Fisher.
3867
3868         Check that the index passed into BackForwardListClientImpl::itemAtIndex()
3869         is valid, and return null if it isn't.
3870
3871         https://bugs.webkit.org/show_bug.cgi?id=34722
3872
3873         * src/BackForwardListClientImpl.cpp:
3874         (WebKit::BackForwardListClientImpl::itemAtIndex):
3875
3876 2010-02-05  Dumitru Daniliuc  <dumi@chromium.org>
3877
3878         Reviewed by Jeremy Orlow.
3879
3880         Adding a way to close all database handles pointing to a certain
3881         database as soon as possible.
3882         https://bugs.webkit.org/show_bug.cgi?id=34619
3883
3884         * public/WebDatabase.h:
3885         * src/WebDatabase.cpp:
3886         (WebKit::WebDatabase::closeDatabaseImmediately):
3887
3888 2010-02-08  Dirk Schulze  <krit@webkit.org>
3889
3890         Reviewed by Nikolas Zimmermann.
3891
3892         Add back an AffineTransform class for use by SVG
3893         https://bugs.webkit.org/show_bug.cgi?id=33750
3894
3895         Use AffineTransform instead of TransformationMatrix here.
3896
3897         * tests/TransparencyWinTest.cpp:
3898         (WebCore::TEST):
3899
3900 2010-02-07  Jian Li  <jianli@chromium.org>
3901
3902         Reviewed by Darin Fisher.
3903
3904         [chromium] Change chromium interface to handle DownloadURL format.
3905         https://bugs.webkit.org/show_bug.cgi?id=34655
3906
3907         * public/WebDragData.h:
3908         * src/WebDragData.cpp:
3909         (WebKit::WebDragData::downloadMetadata):
3910         (WebKit::WebDragData::setDownloadMetadata):
3911
3912 2010-02-06  Dimitri Glazkov  <dglazkov@chromium.org>
3913
3914         No review, rolling out r54364.
3915         http://trac.webkit.org/changeset/54364
3916         https://bugs.webkit.org/show_bug.cgi?id=34464
3917
3918         Introduced asserts in layout tests, needs more testing
3919         locally.
3920
3921         * public/WebViewClient.h:
3922         * src/ChromeClientImpl.cpp:
3923         * src/ChromeClientImpl.h:
3924
3925 2010-02-05  James Hawkins  <jhawkins@chromium.org>
3926
3927         Reviewed by David Levin.
3928
3929         [Chromium] Rename autocomplete* to suggestions* to prepare for the
3930         refactoring of AutocompletePopupMenuClient.
3931
3932         https://bugs.webkit.org/show_bug.cgi?id=34664
3933
3934         * public/WebView.h:
3935         * src/AutocompletePopupMenuClient.cpp:
3936         (WebKit::AutocompletePopupMenuClient::popupDidHide):
3937         * src/EditorClientImpl.cpp:
3938         (WebKit::EditorClientImpl::textFieldDidEndEditing):
3939         (WebKit::EditorClientImpl::doAutofill):
3940         * src/WebViewImpl.cpp:
3941         (WebKit::):
3942         (WebKit::WebViewImpl::WebViewImpl):
3943         (WebKit::WebViewImpl::mouseDown):
3944         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
3945         (WebKit::WebViewImpl::setFocus):
3946         (WebKit::WebViewImpl::applyAutofillSuggestions):
3947         (WebKit::WebViewImpl::hideAutofillPopup):
3948         (WebKit::WebViewImpl::hideSuggestionsPopup):
3949         (WebKit::WebViewImpl::refreshSuggestionsPopup):
3950         * src/WebViewImpl.h:
3951         (WebKit::WebViewImpl::suggestionsPopupDidHide):
3952
3953 2010-02-05  James Hawkins  <jhawkins@chromium.org>
3954
3955         Reviewed by David Levin.
3956
3957         [Chromium] Remove an unused forward declaration in WebKitClient.h.
3958
3959         https://bugs.webkit.org/show_bug.cgi?id=34622
3960
3961         * public/WebKitClient.h:
3962
3963 2010-02-05  James Hawkins  <jhawkins@chromium.org>
3964
3965         Reviewed by Darin Fisher.
3966
3967         Implement WebInputElement::isActivatedSubmit().
3968
3969         https://bugs.webkit.org/show_bug.cgi?id=34623
3970
3971         * public/WebInputElement.h:
3972         * src/WebInputElement.cpp:
3973         (WebKit::WebInputElement::isActivatedSubmit):
3974
3975 2010-02-05  Nate Chapin  <japhet@chromium.org>
3976
3977         Reviewed by Dimitri Glazkov.
3978
3979         Update code for getting a v8::FunctionTemplate.
3980
3981         https://bugs.webkit.org/show_bug.cgi?id=34606
3982
3983         * src/WebDevToolsAgentImpl.cpp:
3984         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
3985
3986 2010-02-05  Mikhail Naganov  <mnaganov@chromium.org>
3987
3988         Reviewed by Pavel Feldman.
3989
3990         Enable JAVASCRIPT_DEBUGGER in chromium port.
3991
3992         https://bugs.webkit.org/show_bug.cgi?id=34638
3993
3994         * features.gypi:
3995
3996 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
3997
3998         Reviewed by Darin Fisher.
3999
4000         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin
4001         https://bugs.webkit.org/show_bug.cgi?id=34509
4002
4003         Resubmit: The previous commit (r54333) was rolled back.
4004
4005         * WebKit.gyp:
4006         * tests/TransparencyWinTest.cpp: Added.
4007         (WebCore::RECTToFloatRect):
4008         (WebCore::drawNativeRect):
4009         (WebCore::getPixelAt):
4010         (WebCore::clearTopLayerAlphaChannel):
4011         (WebCore::clearTopLayerAlphaPixel):
4012         (WebCore::operator<<):
4013         (WebCore::TEST):
4014         * tests/UniscribeHelperTest.cpp: Added.
4015         (WebCore::UniscribeTest::UniscribeTest):
4016         (WebCore::UniscribeTest::MakeFont):
4017         (WebCore::UniscribeTest::SetUp):
4018         (WebCore::UniscribeTest::TearDown):
4019         (TEST_F):
4020
4021 2010-02-04  Drew Wilson  <atwilson@chromium.org>
4022
4023         Reviewed by David Levin.
4024
4025         WorkerContext.close() does not work in the chromium port
4026         https://bugs.webkit.org/show_bug.cgi?id=34551
4027
4028         Test: Adding new downstream test.
4029
4030         * src/WebWorkerBase.cpp:
4031         (WebKit::WebWorkerBase::workerContextClosedTask):
4032         Now shuts down the worker thread when WorkerContext::close() is invoked.
4033
4034 2010-02-04  Chris Guillory  <chris.guillory@google.com>
4035
4036         Reviewed by Darin Fisher.
4037
4038         [Chromium] Add function for AccessibilityObject state change notifications.
4039         
4040         https://bugs.webkit.org/show_bug.cgi?id=34464
4041
4042         * public/WebViewClient.h:
4043         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
4044         * src/ChromeClientImpl.cpp:
4045         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
4046         * src/ChromeClientImpl.h:
4047
4048 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
4049
4050         Reviewed by Darin Fisher.
4051
4052         Update comments to better document the possible values of the
4053         writing direction menu state variables.
4054
4055         * public/WebContextMenuData.h:
4056
4057 2010-02-04  Nate Chapin  <japhet@chromium.org>
4058
4059         Reviewed by Dimitri Glazkov.
4060
4061         Remove references to V8Custom.
4062
4063         https://bugs.webkit.org/show_bug.cgi?id=32638
4064
4065         * src/DebuggerAgentImpl.cpp:
4066         * src/WebDevToolsFrontendImpl.cpp:
4067
4068 2010-02-04  Yury Semikhatsky  <yurys@chromium.org>
4069
4070         Unreviewed. Revert 54333 which broke Chromium build.
4071
4072         * WebKit.gyp:
4073         * tests/TransparencyWinTest.cpp: Removed.
4074         * tests/UniscribeHelperTest.cpp: Removed.
4075
4076 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
4077
4078         Reviewed by Darin Fisher.
4079
4080         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
4081         https://bugs.webkit.org/show_bug.cgi?id=34509
4082
4083         * WebKit.gyp:
4084         * tests/TransparencyWinTest.cpp: Added.
4085         (WebCore::RECTToFloatRect):
4086         (WebCore::drawNativeRect):
4087         (WebCore::getPixelAt):
4088         (WebCore::clearTopLayerAlphaChannel):
4089         (WebCore::clearTopLayerAlphaPixel):
4090         (WebCore::operator<<):
4091         (WebCore::TEST):
4092         * tests/UniscribeHelperTest.cpp: Added.
4093         (WebCore::UniscribeTest::UniscribeTest):
4094         (WebCore::UniscribeTest::MakeFont):
4095         (WebCore::UniscribeTest::SetUp):
4096         (WebCore::UniscribeTest::TearDown):
4097         (WebCore::TEST_F):
4098
4099 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
4100
4101         Reviewed by David Levin.
4102
4103         [Chromium] WebKit side of "Writing direction" context menu on OS X.
4104         https://bugs.webkit.org/show_bug.cgi?id=34524
4105
4106         * public/WebContextMenuData.h:
4107         (WebKit::WebContextMenuData::):
4108         * src/ContextMenuClientImpl.cpp:
4109         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
4110
4111 2010-02-03  Drew Wilson  <atwilson@chromium.org>
4112
4113         Reviewed by Alexey Proskuryakov.
4114
4115         SharedWorkerScriptLoader should not be an ActiveDOMObject
4116         https://bugs.webkit.org/show_bug.cgi?id=34513
4117
4118         * src/SharedWorkerRepository.cpp:
4119         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
4120         Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
4121         (WebCore::SharedWorkerScriptLoader::parentContext):
4122         (WebCore::pendingLoaders):
4123         Now we manually track pending loads so we can shut them down when the parent context shuts down.
4124         (WebCore::SharedWorkerScriptLoader::contextDetached):
4125         Shuts down/frees any pending worker loads.
4126         (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
4127         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).
4128         (WebCore::SharedWorkerScriptLoader::load):
4129         (WebCore::SharedWorkerRepository::documentDetached):
4130         Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
4131
4132 2010-02-03  Alexander Pavlov  <apavlov@chromium.org>
4133
4134         Reviewed by Timothy Hatcher.
4135
4136         [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
4137         https://bugs.webkit.org/show_bug.cgi?id=34523
4138
4139         * src/WebDevToolsFrontendImpl.cpp:
4140         (WebKit::WebDevToolsFrontendImpl::jsPlatform):
4141
4142 2010-02-02  Joel Stanley  <joel@jms.id.au>
4143
4144         Reviewed by David Levin.
4145
4146         [Chromium] Add API method for setting caret blink frequency.
4147         https://bugs.webkit.org/show_bug.cgi?id=31704
4148
4149         This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
4150         to be called Chromium's API.  The API is linux-only as it is currently
4151         the only port to implement RenderTheme::setCaretBlinkInterval.
4152
4153         * WebKit.gyp:  Add WebRenderTheme.{h,cpp}
4154         * public/linux/WebRenderTheme.h: Added.
4155         * src/linux/WebRenderTheme.cpp: Added.
4156         (WebKit::setCaretBlinkInterval): Exposed API
4157
4158 2010-02-02  Shinichiro Hamaji  <hamaji@chromium.org>
4159
4160         Reviewed by Dimitri Glazkov.
4161
4162         [Chromium] Implement WebFrameImpl::pageNumberForElementById
4163         https://bugs.webkit.org/show_bug.cgi?id=34471