OSDN Git Service

Merge WebKit at r64523 : Initial merge by git.
[android-x86/external-webkit.git] / WebKit / chromium / ChangeLog
1 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
2
3         Reviewed by Darin Fisher.
4
5         PopupMenu refactoring in preparation to WebKit2
6         https://bugs.webkit.org/show_bug.cgi?id=42592
7
8         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
9         instances, concrete classes that inherit from ChromeClient needed to be changed to
10         implement the new methods.
11
12         * src/ChromeClientImpl.cpp:
13         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
14         (WebKit::ChromeClientImpl::createPopupMenu):
15         (WebKit::ChromeClientImpl::createSearchPopupMenu):
16         * src/ChromeClientImpl.h:
17
18 2010-08-02  Kent Tamura  <tkent@chromium.org>
19
20         Reviewed by Dimitri Glazkov.
21
22         [DRT/Chromium] Always initialize GTK
23         https://bugs.webkit.org/show_bug.cgi?id=43327
24
25         * WebKit.gyp: Add GTK dependency for DRT.
26
27 2010-08-02  Jeremy Orlow  <jorlow@chromium.org>
28
29         Speculative revert of 64425 due to Chromium instability
30         https://bugs.webkit.org/show_bug.cgi?id=43347
31
32         * src/ChromeClientImpl.cpp:
33         * src/ChromeClientImpl.h:
34         * tests/PopupMenuTest.cpp:
35         (WebKit::SelectPopupMenuTest::SetUp):
36
37 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
38
39         Reviewed by Darin Fisher.
40
41         PopupMenu refactoring in preparation to WebKit2
42         https://bugs.webkit.org/show_bug.cgi?id=42592
43
44         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
45         instances, concrete classes that inherit from ChromeClient needed to be changed to
46         implement the new methods.
47
48         * src/ChromeClientImpl.cpp:
49         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
50         (WebKit::ChromeClientImpl::createPopupMenu):
51         (WebKit::ChromeClientImpl::createSearchPopupMenu):
52         * src/ChromeClientImpl.h:
53
54 2010-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
55
56         Unreviewed, rolling out r64422.
57         http://trac.webkit.org/changeset/64422
58         https://bugs.webkit.org/show_bug.cgi?id=43304
59
60         Build fixes are needed for Snow Leopard and Windows.
61         (Requested by lca on #webkit).
62
63         * src/ChromeClientImpl.cpp:
64         * src/ChromeClientImpl.h:
65
66 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
67
68         Reviewed by Darin Fisher.
69
70         PopupMenu refactoring in preparation to WebKit2
71         https://bugs.webkit.org/show_bug.cgi?id=42592
72
73         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
74         instances, concrete classes that inherit from ChromeClient needed to be changed to
75         implement the new methods.
76
77         * src/ChromeClientImpl.cpp:
78         (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
79         (WebKit::ChromeClientImpl::createPopupMenu):
80         (WebKit::ChromeClientImpl::createSearchPopupMenu):
81         * src/ChromeClientImpl.h:
82
83 2010-07-30  Joseph Pecoraro  <joepeck@webkit.org>
84
85         Reviewed by David Kilzer.
86
87         Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
88         https://bugs.webkit.org/show_bug.cgi?id=40627
89
90         * src/ChromeClientImpl.cpp:
91         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
92         * src/ChromeClientImpl.h:
93
94 2010-07-30  James Robinson  <jamesr@chromium.org>
95
96         Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of
97         USE(ACCELERATED_COMPOSITING) to match WebCore.  Fixes the compile when
98         USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false.
99
100         * src/ChromeClientImpl.cpp:
101         * src/ChromeClientImpl.h:
102
103 2010-07-27  Darin Fisher  <darin@chromium.org>
104
105         Reviewed by Brady Eidson.
106
107         History.pushState() + navigation operates on top frame when called from
108         nested context
109         https://bugs.webkit.org/show_bug.cgi?id=43080
110
111         * src/FrameLoaderClientImpl.cpp:
112         (WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource
113         can be null if the Frame has already been detached from the Page.  This
114         happens if a popstate event handler removes the frame.
115
116 2010-07-29  Jeremy Orlow  <jorlow@chromium.org>
117
118         Reviewed by Steve Block.
119
120         Rename all the IDBIndex classses to match the latest conventions
121         https://bugs.webkit.org/show_bug.cgi?id=43190
122
123         Fix up stuff in WebKit layer to handle the renamings in WebCore.
124
125         * WebKit.gyp:
126         * src/IDBCallbacksProxy.cpp:
127         (WebCore::IDBCallbacksProxy::onSuccess):
128         * src/IDBCallbacksProxy.h:
129         * src/IDBIndexBackendProxy.cpp: Added.
130         (WebCore::IDBIndexBackendProxy::create):
131         (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
132         (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy):
133         (WebCore::IDBIndexBackendProxy::name):
134         (WebCore::IDBIndexBackendProxy::keyPath):
135         (WebCore::IDBIndexBackendProxy::unique):
136         * src/IDBIndexBackendProxy.h: Added.
137         * src/IDBIndexProxy.cpp: Removed.
138         * src/IDBIndexProxy.h: Removed.
139         * src/IDBObjectStoreProxy.cpp:
140         (WebCore::IDBObjectStoreProxy::index):
141         * src/IDBObjectStoreProxy.h:
142         * src/WebIDBCallbacksImpl.cpp:
143         (WebCore::WebIDBCallbacksImpl::onSuccess):
144         * src/WebIDBIndexImpl.cpp:
145         (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
146         (WebKit::WebIDBIndexImpl::name):
147         (WebKit::WebIDBIndexImpl::keyPath):
148         (WebKit::WebIDBIndexImpl::unique):
149         * src/WebIDBIndexImpl.h:
150         * src/WebIDBObjectStoreImpl.cpp:
151         (WebKit::WebIDBObjectStoreImpl::index):
152
153 2010-07-30  Satish Sampath  <satish@chromium.org>
154
155         Reviewed by Jeremy Orlow.
156
157         Add a check for WebViewClient being null.
158         https://bugs.webkit.org/show_bug.cgi?id=43240
159
160         * src/SpeechInputClientImpl.cpp:
161         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
162
163 2010-07-30  Hans Wennborg  <hans@chromium.org>
164
165         Reviewed by Steve Block.
166
167         Disable runtime switch for device orientation in chromium
168         https://bugs.webkit.org/show_bug.cgi?id=43237
169
170         Explicitly set the runtime switch for device orientation
171         in WebView::create until we implement the feature.
172         If the flag is accidentally on while no DeviceOrientationClient
173         is provided, the program will crash.
174
175         * src/WebViewImpl.cpp:
176         (WebKit::WebView::create):
177
178 2010-07-26  Andrei Popescu  <andreip@google.com>
179
180         Reviewed by Jeremy Orlow.
181
182         [IndexedDB] IndexedDatabase should be called IDBFactory.
183         https://bugs.webkit.org/show_bug.cgi?id=42967
184
185         * WebKit.gyp:
186         * public/WebIDBFactory.h: Added.
187         (WebKit::WebIDBFactory::~WebIDBFactory):
188         (WebKit::WebIDBFactory::databases):
189         (WebKit::WebIDBFactory::open):
190         * public/WebIndexedDatabase.h: Removed.
191         * public/WebKitClient.h:
192         (WebKit::WebKitClient::idbFactory):
193         * src/ChromiumBridge.cpp:
194         (WebCore::ChromiumBridge::idbFactory):
195         * src/IDBFactoryBackendProxy.cpp: Added.
196         (WebCore::IDBFactoryBackendProxy::create):
197         (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
198         (WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy):
199         (WebCore::IDBFactoryBackendProxy::open):
200         * src/IDBFactoryBackendProxy.h: Added.
201         * src/IndexedDatabaseProxy.cpp: Removed.
202         * src/IndexedDatabaseProxy.h: Removed.
203         * src/WebIDBFactoryImpl.cpp: Added.
204         (WebKit::WebIDBFactory::create):
205         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
206         (WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl):
207         (WebKit::WebIDBFactoryImpl::open):
208         * src/WebIDBFactoryImpl.h: Added.
209         * src/WebIndexedDatabaseImpl.cpp: Removed.
210         * src/WebIndexedDatabaseImpl.h: Removed.
211
212 2010-07-29  Andrei Popescu  <andreip@google.com>
213
214         Reviewed by Jeremy Orlow.
215
216         [IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build
217         https://bugs.webkit.org/show_bug.cgi?id=43186
218
219         Add WEBKIT_API to WebDOMStringList default ctor.
220
221         * public/WebDOMStringList.h:
222
223 2010-07-29  Satish Sampath  <satish@chromium.org>
224
225         Reviewed by Steve Block.
226
227         Runtime feature switch for speech input
228         https://bugs.webkit.org/show_bug.cgi?id=43146
229
230         Add a runtime feature switch that decides whether speech input attributes are available or not.
231         Defaults to true.
232
233         * public/WebRuntimeFeatures.h:
234         * src/SpeechInputClientImpl.cpp:
235         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
236         * src/WebRuntimeFeatures.cpp:
237         (WebKit::WebRuntimeFeatures::enableSpeechInput):
238         (WebKit::WebRuntimeFeatures::isSpeechInputEnabled):
239
240 2010-07-28  Kavita Kanetkar  <kkanetkar@chromium.org>
241
242         Reviewed by Pavel Feldman.
243
244         Web Inspector: Enable UI for chromium's appcache inspection.
245         https://bugs.webkit.org/show_bug.cgi?id=43098
246
247         * src/js/DevTools.js:
248         (WebInspector.loaded):
249
250 2010-07-28  Dominic Mazzoni  <dmazzoni@google.com>
251
252         Reviewed by Dimitri Glazkov.
253
254         Add access to the computed style display to WebAccessibilityObject.
255         https://bugs.webkit.org/show_bug.cgi?id=43044
256
257         * public/WebAccessibilityObject.h:
258         * src/WebAccessibilityObject.cpp:
259         (WebKit::WebAccessibilityObject::hasComputedStyle):
260         (WebKit::WebAccessibilityObject::computedStyleDisplay):
261
262 2010-07-28  Hans Wennborg  <hans@chromium.org>
263
264         Reviewed by Jeremy Orlow.
265
266         Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium
267         https://bugs.webkit.org/show_bug.cgi?id=43122
268
269         Enable the compile-time switch for device orientation.
270         The switch was already enabled in features_override.gypi in the Chromium
271         repository (in revision 53317), and should be set here as well.
272
273         The feature is being implemented behind a run-time flag which
274         defaults to off in Chromium.
275
276         * features.gypi: Set ENABLE_DEVICE_ORIENTATION=1.
277
278 2010-07-28  Gene Gutnik  <gene@google.com>
279
280         Reviewed by Darin Fisher.
281
282         Fix mouse coordinate conversion. WindowX,Y is an absolute
283         mouse coordinates within browser window, x,y - are coordinates
284         relative to the plugin.
285         https://bugs.webkit.org/show_bug.cgi?id=42987
286
287         * src/WebInputEventConversion.cpp:
288         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
289         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
290         * src/WebInputEventConversion.h:
291         * src/WebPluginContainerImpl.cpp:
292         (WebKit::WebPluginContainerImpl::handleMouseEvent):
293         (WebKit::WebPluginContainerImpl::handleWheelEvent):
294
295 2010-07-28  James Robinson  <jamesr@chromium.org>
296
297         Reviewed by Darin Fisher.
298
299         [chromium] Add a bool to Settings to control accelerated 2d canvas
300         https://bugs.webkit.org/show_bug.cgi?id=43094
301
302         * public/WebSettings.h:
303         * src/WebSettingsImpl.cpp:
304         (WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled):
305         * src/WebSettingsImpl.h:
306
307 2010-07-28  Brett Wilson  <brettw@chromium.org>
308
309         Reviewed by Darin Fisher.
310
311         Fix forward declares to be struct instead of class.
312         https://bugs.webkit.org/show_bug.cgi?id=43127
313
314         * public/WebFont.h:
315
316 2010-07-28  Pavel Feldman  <pfeldman@chromium.org>
317
318         Reviewed by Dimitri Glazkov.
319
320         Chromium DevTools: [REGRESSION] sourceURL is not respected.
321
322         https://bugs.webkit.org/show_bug.cgi?id=43124
323
324         * src/js/DebuggerScript.js:
325
326 2010-07-28  Andrei Popescu  <andreip@google.com>
327
328         Reviewed by Jeremy Orlow.
329
330         [IndexedDB] WebDOMStringList default ctor does not initialize its m_private member
331         variable so any attempt to append strings to a WebDOMStringList instance results in a crash.
332         https://bugs.webkit.org/show_bug.cgi?id=43120
333
334         Makes the default WebKit::WebDOMStringList ctor actually create its wrapped
335         WebCore::DOMStringList instance.
336
337         * public/WebDOMStringList.h:
338         * src/WebDOMStringList.cpp:
339         (WebKit::WebDOMStringList::WebDOMStringList):
340
341 2010-07-26  Steve Block  <steveblock@google.com>
342
343         Reviewed by Jeremy Orlow.
344
345         Page clients should be passed to Page constructor via structure of pointers
346         https://bugs.webkit.org/show_bug.cgi?id=42834
347
348         * src/WebViewImpl.cpp:
349         (WebKit::WebViewImpl::WebViewImpl):
350
351 2010-07-28  Pavel Feldman  <pfeldman@chromium.org>
352
353         Not reviewed: chromium tests fix.
354         Chromium Dev Tools: [REGRESSION] Pause is not working.
355
356         https://bugs.webkit.org/show_bug.cgi?id=43118
357
358         * src/js/DevTools.js:
359         (InspectorBackend.pause):
360
361 2010-07-27  Kinuko Yasuda  <kinuko@chromium.org>
362
363         Reviewed by Ojan Vafai.
364
365         Add FILE_SYSTEM build flag for FileSystem API
366         https://bugs.webkit.org/show_bug.cgi?id=42915
367
368         * features.gypi:
369
370 2010-07-27  James Hawkins  <jhawkins@chromium.org>
371
372         Unreviewed Build Fix. 
373
374         Add a missing itemIcon() method to TestPopupMenuClient.
375
376         * tests/PopupMenuTest.cpp:
377         (WebKit::TestPopupMenuClient::itemIcon):
378
379 2010-07-27  James Hawkins  <jhawkins@chromium.org>
380
381         Reviewed by Darin Fisher.
382
383         [Chromium] Add the ability to show right-aligned icons in the AutoFill popup.
384         https://bugs.webkit.org/show_bug.cgi?id=43076
385
386         * public/WebView.h:
387         * src/AutoFillPopupMenuClient.cpp:
388         (WebKit::AutoFillPopupMenuClient::getIcon):
389         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
390         (WebKit::AutoFillPopupMenuClient::itemIcon):
391         (WebKit::AutoFillPopupMenuClient::initialize):
392         (WebKit::AutoFillPopupMenuClient::setSuggestions):
393         * src/AutoFillPopupMenuClient.h:
394         * src/WebViewImpl.cpp:
395         (WebKit::WebViewImpl::applyAutoFillSuggestions):
396         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
397         * src/WebViewImpl.h:
398
399 2010-07-27  Brett Wilson  <brettw@chromium.org>
400
401         Reviewed by Darin Fisher.
402
403         Add the ability to select fonts and do basic text drawing to the
404         Chromium WebKit API.
405         https://bugs.webkit.org/show_bug.cgi?id=42999
406
407         * WebKit.gyp:
408         * public/WebFloatPoint.h: Added.
409         (WebKit::WebFloatPoint::WebFloatPoint):
410         (WebKit::WebFloatPoint::operator=):
411         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
412         (WebKit::operator==):
413         (WebKit::operator!=):
414         * public/WebFloatRect.h: Added.
415         (WebKit::WebFloatRect::isEmpty):
416         (WebKit::WebFloatRect::WebFloatRect):
417         (WebKit::WebFloatRect::operator=):
418         (WebKit::WebFloatRect::operator WebCore::FloatRect):
419         (WebKit::operator==):
420         (WebKit::operator!=):
421         * public/WebFont.h: Added.
422         * public/WebFontDescription.h: Added.
423         (WebKit::WebFontDescription::):
424         (WebKit::WebFontDescription::WebFontDescription):
425         * public/WebTextRun.h: Added.
426         (WebKit::WebTextRun::WebTextRun):
427         * src/AssertMatchingEnums.cpp:
428         * src/WebFontDescription.cpp: Added.
429         (WebKit::WebFontDescription::WebFontDescription):
430         (WebKit::WebFontDescription::operator WebCore::FontDescription):
431         * src/WebFontImpl.cpp: Added.
432         (WebKit::WebFont::Create):
433         (WebKit::WebFontImpl::WebFontImpl):
434         (WebKit::WebFontImpl::fontDescription):
435         (WebKit::WebFontImpl::ascent):
436         (WebKit::WebFontImpl::descent):
437         (WebKit::WebFontImpl::height):
438         (WebKit::WebFontImpl::lineSpacing):
439         (WebKit::WebFontImpl::xHeight):
440         (WebKit::WebFontImpl::drawText):
441         (WebKit::WebFontImpl::width):
442         (WebKit::WebFontImpl::offsetForPosition):
443         (WebKit::WebFontImpl::selectionRectForText):
444         * src/WebFontImpl.h: Added.
445         * src/WebTextRun.cpp: Added.
446         (WebKit::WebTextRun::operator WebCore::TextRun):
447
448 2010-07-27  Dumitru Daniliuc  <dumi@chromium.org>
449
450         Reviewed by David Levin.
451
452         Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE).
453         https://bugs.webkit.org/show_bug.cgi?id=43035
454
455         Make Chromium compile with ENABLE_DATABASE=0.
456
457         * src/ChromiumBridge.cpp:
458         (WebCore::ChromiumBridge::databaseGetFileSize):
459         * src/DatabaseObserver.cpp:
460         * src/WebDatabase.cpp:
461         (WebCore::AbstractDatabase::stringIdentifier):
462         (WebCore::AbstractDatabase::displayName):
463         (WebCore::AbstractDatabase::estimatedSize):
464         (WebCore::AbstractDatabase::securityOrigin):
465         (WebKit::WebDatabase::updateDatabaseSize):
466         (WebKit::WebDatabase::closeDatabaseImmediately):
467
468 2010-07-27  Pavel Podivilov  <podivilov@chromium.org>
469
470         Reviewed by Pavel Feldman.
471
472         Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
473         https://bugs.webkit.org/show_bug.cgi?id=41461
474
475         * src/js/DebuggerScript.js:
476         ():
477
478 2010-07-27  Ilya Tikhonovsky  <loislo@chromium.org>
479
480         Reviewed by Pavel Feldman.
481
482         WebInspector: Current implementation of message based inspector
483         transport generated by CodeGeneratorInspector should be upstreamed
484         from WebKit/chromium to WebCore.
485         https://bugs.webkit.org/show_bug.cgi?id=42983
486
487         * WebKit.gypi:
488         * src/InspectorFrontendClientImpl.cpp:
489         (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
490         * src/InspectorFrontendClientImpl.h:
491         * src/ToolsAgent.h:
492         * src/WebDevToolsAgentImpl.cpp:
493         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
494         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
495         * src/WebDevToolsAgentImpl.h:
496         * src/js/InspectorControllerImpl.js: Removed.
497
498 2010-07-27  Dominic Mazzoni  <dmazzoni@google.com>
499
500         Reviewed by Chris Fleizach.
501
502         Add accessors for node and document to WebAccessibilityObject,
503         needed to support some Windows screenreader functionality.
504
505         https://bugs.webkit.org/show_bug.cgi?id=43001
506         
507         * public/WebAccessibilityObject.h:
508         * src/WebAccessibilityObject.cpp:
509         (WebKit::WebAccessibilityObject::node):
510         (WebKit::WebAccessibilityObject::document):
511
512 2010-07-27  Dominic Mazzoni  <dmazzoni@google.com>
513
514         Reviewed by Chris Fleizach.
515
516         For Windows accessibility, have WebElement provide access
517         to its attributes.
518
519         https://bugs.webkit.org/show_bug.cgi?id=43004
520
521         * WebKit.gyp:
522         * public/WebAttribute.h: Added.
523         (WebKit::WebAttribute::~WebAttribute):
524         (WebKit::WebAttribute::WebAttribute):
525         (WebKit::WebAttribute::operator=):
526         * public/WebElement.h:
527         * public/WebNamedNodeMap.h: Added.
528         (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
529         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
530         (WebKit::WebNamedNodeMap::operator=):
531         * src/WebAttribute.cpp: Added.
532         (WebKit::WebAttribute::reset):
533         (WebKit::WebAttribute::assign):
534         (WebKit::WebAttribute::WebAttribute):
535         (WebKit::WebAttribute::localName):
536         (WebKit::WebAttribute::value):
537         * src/WebElement.cpp:
538         (WebKit::WebElement::attributes):
539         * src/WebNamedNodeMap.cpp: Added.
540         (WebKit::WebNamedNodeMap::reset):
541         (WebKit::WebNamedNodeMap::assign):
542         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
543         (WebKit::WebNamedNodeMap::length):
544         (WebKit::WebNamedNodeMap::attributeItem):
545
546 2010-07-27  Satish Sampath  <satish@chromium.org>
547
548         Reviewed by Kent Tamura.
549
550         Simplify speech input plumbing in webcore and webkit
551         https://bugs.webkit.org/show_bug.cgi?id=43008
552
553         * src/SpeechInputClientImpl.cpp: Move functionality to WebCore::SpeechInput and make this a dummy proxy.
554         (WebKit::SpeechInputClientImpl::startRecognition):
555         (WebKit::SpeechInputClientImpl::cancelRecognition):
556         (WebKit::SpeechInputClientImpl::didCompleteRecording):
557         (WebKit::SpeechInputClientImpl::didCompleteRecognition):
558         (WebKit::SpeechInputClientImpl::setRecognitionResult):
559         * src/SpeechInputClientImpl.h:
560
561 2010-07-26  Dominic Mazzoni  <dmazzoni@google.com>
562
563         Reviewed by Chris Fleizach.
564
565         Add accessor to get the doctype of a WebDocument, needed to
566         implement Windows accessibility.
567
568         https://bugs.webkit.org/show_bug.cgi?id=43003
569         
570         * WebKit.gyp:
571         * public/WebDocument.h:
572         * public/WebDocumentType.h: Added.
573         (WebKit::WebDocumentType::WebDocumentType):
574         (WebKit::WebDocumentType::operator=):
575         (WebKit::WebDocumentType::assign):
576         * src/WebDocument.cpp:
577         (WebKit::WebDocument::doctype):
578         * src/WebDocumentType.cpp: Added.
579         (WebKit::WebDocumentType::name):
580         (WebKit::WebDocumentType::WebDocumentType):
581         (WebKit::WebDocumentType::operator=):
582         (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
583
584 2010-07-26  Satish Sampath  <satish@chromium.org>
585
586         Reviewed by Steve Block.
587
588         Add WebKit plumbing to connect speech requests and callbacks between WebCore and the embedder.
589         https://bugs.webkit.org/show_bug.cgi?id=42367
590
591         No new tests, the relevant LayoutTestController bindings and tests will be added in the next patch.
592
593         * public/WebSpeechInputController.h: Added new interface, implemented by embedder and called by WebKit
594         (WebKit::WebSpeechInputController::~WebSpeechInputController):
595         * public/WebSpeechInputListener.h: Added new interface, implemented by WebKit and called by embedder.
596         (WebKit::WebSpeechInputListener::~WebSpeechInputListener):
597         * public/WebViewClient.h:
598         (WebKit::WebViewClient::createSpeechInputClient): New method to get the embedder's speech input client interface.
599         * src/SpeechInputClientImpl.cpp: Added new class, implementation of a two way connector between WebCore
600         and the embedder for requests and responses.
601         (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
602         (WebKit::SpeechInputClientImpl::~SpeechInputClientImpl):
603         (WebKit::SpeechInputClientImpl::startRecognition):
604         (WebKit::SpeechInputClientImpl::stopRecording):
605         (WebKit::SpeechInputClientImpl::didCompleteRecording):
606         (WebKit::SpeechInputClientImpl::setRecognitionResult):
607         (WebKit::SpeechInputClientImpl::didCompleteRecognition):
608         * src/SpeechInputClientImpl.h: Added.
609         * src/WebViewImpl.cpp:
610         (WebKit::WebViewImpl::WebViewImpl): Pass on the above mentioned speech input connector to WebCore.
611         * src/WebViewImpl.h:
612
613 2010-07-26  Ilya Tikhonovsky  <loislo@chromium.org>
614
615         Reviewed by Pavel Feldman.
616
617         Chromium DevTools: refactor query params, add basic
618         support for WebSocket-based backend.
619
620         https://bugs.webkit.org/show_bug.cgi?id=42893
621
622         * src/js/DevTools.js:
623         (devtools.ToolsAgent.prototype.dispatchOnClient_):
624         (WebInspector.loaded):
625         (WebInspector.doLoadedDone):
626         (devtools.domContentLoaded):
627         * src/js/InspectorControllerImpl.js:
628
629 2010-07-24  Pavel Feldman  <pfeldman@chromium.org>
630
631         Not reviewed: chromium build fix.
632
633         * src/ApplicationCacheHost.cpp:
634         (WebCore::ApplicationCacheHost::fillResourceList):
635
636 2010-07-23  Kavita Kanetkar  <kkanetkar@chromium.org>
637
638         Reviewed by Joseph Pecoraro.
639
640         Implement remaining Inspector support for chrome's appcache
641         https://bugs.webkit.org/show_bug.cgi?id=42426
642
643         * src/ApplicationCacheHost.cpp: Plugging in chrome's appcache info.
644         (WebCore::ApplicationCacheHost::applicationCacheInfo):
645         (WebCore::ApplicationCacheHost::fillResourceList):
646         * src/js/InspectorControllerImpl.js:
647         (devtools.InspectorBackendImpl):
648
649 2010-07-23  Pavel Feldman  <pfeldman@chromium.org>
650
651         Reviewed by Reviewed by Yury Semikhatsky.
652
653         Chromium DevTools: migrate from utility context-based injected
654         script dispatch to upstream schema.
655
656         https://bugs.webkit.org/show_bug.cgi?id=42883
657
658         * src/ToolsAgent.h:
659         * src/WebDevToolsAgentImpl.cpp:
660         * src/WebDevToolsAgentImpl.h:
661         * src/js/DevToolsHostStub.js:
662         * src/js/InspectorControllerImpl.js:
663         (devtools.InspectorBackendImpl):
664
665 2010-07-23  Pavel Feldman  <pfeldman@chromium.org>
666
667         Not reviewed: rolling out r63963.
668
669         * src/ToolsAgent.h:
670         * src/WebDevToolsAgentImpl.cpp:
671         (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
672         * src/WebDevToolsAgentImpl.h:
673         * src/js/DevToolsHostStub.js:
674         (.window.dispatchOnInjectedScript):
675         * src/js/InspectorControllerImpl.js:
676         (devtools.InspectorBackendImpl):
677         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
678
679 2010-07-23  Pavel Feldman  <pfeldman@chromium.org>
680
681         Reviewed by Reviewed by Yury Semikhatsky.
682
683         Chromium DevTools: migrate from utility context-based injected
684         script dispatch to upstream schema.
685
686         https://bugs.webkit.org/show_bug.cgi?id=42883
687
688         * src/ToolsAgent.h:
689         * src/WebDevToolsAgentImpl.cpp:
690         * src/WebDevToolsAgentImpl.h:
691         * src/js/DevToolsHostStub.js:
692         * src/js/InspectorControllerImpl.js:
693         (devtools.InspectorBackendImpl):
694
695 2010-07-23  Kent Tamura  <tkent@chromium.org>
696
697         Reviewed by Shinichiro Hamaji.
698
699         Roll Chromium revision
700         https://bugs.webkit.org/show_bug.cgi?id=42876
701
702         * DEPS: Roll Chromium revision to r53434 in order to have the
703         logger initialization change (r53303)
704
705 2010-07-22  Ilya Tikhonovsky  <loislo@chromium.org>
706
707         Reviewed by Yury Semikhatsky.
708
709         WebInspector: CodeGeneratorInspector was extended and now it can
710         generate InspectorBackedDispatcher's code. This dispatcher will
711         validate and dispatch incoming inspector commands only by native
712         code without using javaScript. That is necessary step for
713         RemoteDebugging support.
714         https://bugs.webkit.org/show_bug.cgi?id=42588
715
716         * src/ToolsAgent.h:
717         * src/WebDevToolsAgentImpl.cpp:
718         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
719         * src/WebDevToolsAgentImpl.h:
720         * src/js/InspectorControllerImpl.js:
721         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
722
723 2010-07-22  Darin Fisher  <darin@chromium.org>
724
725         Reviewed by David Levin.
726
727         [Chromium] Propagate return value of EventHandler::handleMouseWheelEvent
728         to caller of WebViewImpl::handleInputEvent.
729
730         https://bugs.webkit.org/show_bug.cgi?id=42835
731
732         * src/WebViewImpl.cpp:
733         (WebKit::WebViewImpl::mouseWheel):
734         (WebKit::WebViewImpl::handleInputEvent):
735         * src/WebViewImpl.h:
736
737 2010-07-22  Darin Fisher  <darin@chromium.org>
738
739         Reviewed by Kent Tamura.
740
741         https://bugs.webkit.org/show_bug.cgi?id=42808
742         Pass context menu events through WebInputEvent to WebPlugin::handleInputEvent.
743
744         The DOM treats a context menu event as a type of mouse event.  We therefore
745         do the same here, and reuse the WebMouseEvent subclass.  This makes sense
746         since a context menu event has (x,y)-coordinates.
747
748         * public/WebInputEvent.h:
749         (WebKit::WebInputEvent::):
750         (WebKit::WebInputEvent::isMouseEventType):
751         * src/WebInputEventConversion.cpp:
752         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
753
754 2010-07-22  Andrey Kosyakov  <caseq@chromium.org>
755
756         Reviewed by Yury Semikhatsky.
757
758         Web Inspector: Stop granting universal access to inspector front-end page.
759         https://bugs.webkit.org/show_bug.cgi?id=42817
760
761         * src/WebDevToolsFrontendImpl.cpp:
762         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
763
764 2010-07-22  Alexander Pavlov  <apavlov@chromium.org>
765
766         Reviewed by Pavel Feldman.
767
768         Web Inspector: Rename method for CSS rule source range retrieval and fix return object format
769         https://bugs.webkit.org/show_bug.cgi?id=42379
770
771         * src/js/InspectorControllerImpl.js:
772         (devtools.InspectorBackendImpl):
773
774 2010-07-21  Pavel Feldman  <pfeldman@chromium.org>
775
776         Reviewed by Yury Semikhatsky.
777
778         Chromium Dev Tools: Separators are missing in the context menu.
779
780         https://bugs.webkit.org/show_bug.cgi?id=42761
781
782         * src/ContextMenuClientImpl.cpp:
783         (WebKit::ContextMenuClientImpl::populateCustomMenuItems):
784
785 2010-07-21  Kent Tamura  <tkent@chromium.org>
786
787         Reviewed by Dimitri Glazkov.
788
789         [DRT/Chromium] Copy the test plugin into DumpRenderTree.app/
790         https://bugs.webkit.org/show_bug.cgi?id=42733
791
792         This was dropped in plugin copy refactoring.
793
794         * WebKit.gyp:
795
796 2010-07-21  Brady Eidson  <beidson@apple.com>
797
798         Reviewed by Geoffrey Garen.
799
800         Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
801         https://bugs.webkit.org/show_bug.cgi?id=42783
802
803         * src/WebSecurityPolicy.cpp:
804         (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
805         (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
806         (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
807
808 2010-07-21  Bo Liu  <boliu@chromium.org>
809
810         Reviewed by Darin Fisher.
811
812         [Chromium] Add chromium WebMediaPlayer to PlatformMedia
813         https://bugs.webkit.org/show_bug.cgi?id=41295
814
815         * WebKit.gyp:
816         * public/WebMediaElement.h: Added.
817         * src/WebMediaElement.cpp: Added.
818         (WebKit::WebMediaElement::player):
819         (WebKit::WebMediaElement::WebMediaElement):
820         (WebKit::WebMediaElement::operator=):
821         (WebKit::WebMediaElement::operator PassRefPtr<HTMLMediaElement>):
822         * src/WebMediaPlayerClientImpl.cpp:
823         (WebKit::WebMediaPlayerClientImpl::fromMediaElement):
824         (WebKit::WebMediaPlayerClientImpl::mediaPlayer):
825         (WebKit::WebMediaPlayerClientImpl::platformLayer):
826         (WebKit::WebMediaPlayerClientImpl::platformMedia):
827         * src/WebMediaPlayerClientImpl.h:
828
829 2010-07-21  Finnur Thorarinsson  <finnur.webkit@gmail.com>
830
831         Reviewed by Dimitri Glazkov.
832
833         Avoid crashing during find-in-page when |view| is NULL.
834         https://bugs.webkit.org/show_bug.cgi?id=42760
835         
836         There are no layout tests because we don't have a repro case
837         to work with, so this is a speculative fix based on crash dump
838         diagnosis. See bug for details.
839
840         * src/WebFrameImpl.cpp:
841         (WebKit::WebFrameImpl::shouldScopeMatches):
842
843 2010-07-21  Hans Wennborg  <hans@chromium.org>
844
845         Reviewed by Steve Block.
846
847         Runtime feature switch for device orientation
848         https://bugs.webkit.org/show_bug.cgi?id=42265
849
850         Add a runtime feature switch that decides whether device orientation
851         events are available or not. Defaults to true.
852
853         * public/WebRuntimeFeatures.h:
854         * src/WebRuntimeFeatures.cpp:
855         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
856         (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
857
858 2010-07-21  Yury Semikhatsky  <yurys@chromium.org>
859
860         Reviewed by Pavel Feldman.
861
862         Web Inspector: should be possible to debug inspector
863         https://bugs.webkit.org/show_bug.cgi?id=42730
864
865         * src/WebDevToolsFrontendImpl.cpp:
866         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
867
868 2010-07-16  James Hawkins  <jhawkins@chromium.org>
869
870         Reviewed by Darin Fisher.
871
872         [Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to
873         verify that the user submitted the form instead of JS when saving form
874         data in AutoFill.
875         https://bugs.webkit.org/show_bug.cgi?id=42479
876
877         * public/WebFormElement.h:
878         * src/WebFormElement.cpp:
879         (WebKit::WebFormElement::wasUserSubmitted):
880
881 2010-07-20  Daniel Erat  <derat@chromium.org>
882
883         Reviewed by Ojan Vafai.
884
885         Subpixel rendering always disabled for Chromium Linux
886         https://bugs.webkit.org/show_bug.cgi?id=42220
887
888         Honor Fontconfig subpixel rendering setting on Chromium Linux.
889
890         * src/gtk/WebFontInfo.cpp:
891         (WebKit::WebFontInfo::renderStyleForStrike):
892
893 2010-07-20  Darin Fisher  <darin@chromium.org>
894
895         Fix Chromium build bustage.
896
897         * src/ResourceHandle.cpp:
898         (WebCore::ResourceHandle::hasAuthenticationChallenge): Add
899         implementation of this method that always returns false.
900
901 2010-07-20  Darin Fisher  <darin@chromium.org>
902
903         Reviewed by Jian Li.
904
905         [Chromium] Add interface for downloading to a file.  This can be used
906         in the future to support XMLHttpRequest.responseBlob, but it also
907         serves a use case in Chromium.
908
909         https://bugs.webkit.org/show_bug.cgi?id=42657
910
911         * public/WebURLLoaderClient.h:
912         (WebKit::WebURLLoaderClient::willSendRequest):
913         (WebKit::WebURLLoaderClient::didSendData):
914         (WebKit::WebURLLoaderClient::didReceiveResponse):
915         (WebKit::WebURLLoaderClient::didDownloadData):
916         (WebKit::WebURLLoaderClient::didReceiveData):
917         (WebKit::WebURLLoaderClient::didFinishLoading):
918         (WebKit::WebURLLoaderClient::didFail):
919         * public/WebURLRequest.h:
920         * public/WebURLResponse.h:
921         * src/WebURLRequest.cpp:
922         (WebKit::WebURLRequest::downloadToFile):
923         (WebKit::WebURLRequest::setDownloadToFile):
924         * src/WebURLRequestPrivate.h:
925         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
926         * src/WebURLResponse.cpp:
927         (WebKit::WebURLResponse::downloadFilePath):
928         (WebKit::WebURLResponse::setDownloadFilePath):
929         * src/WebURLResponsePrivate.h:
930
931 2010-07-20  Sheriff Bot  <webkit.review.bot@gmail.com>
932
933         Unreviewed, rolling out r63750.
934         http://trac.webkit.org/changeset/63750
935         https://bugs.webkit.org/show_bug.cgi?id=42648
936
937         This revision breaks the windows builds (Requested by
938         hwennborg on #webkit).
939
940         * public/WebRuntimeFeatures.h:
941         * src/WebRuntimeFeatures.cpp:
942
943 2010-07-19  Victor Wang  <victorw@chromium.org>
944
945         Reviewed by Darin Fisher.
946
947         [Chromium] Add webkit api reset to WebIDBDatabaseError and WebIDBKey
948         and refactor their destructors for chromium multi dll build.
949
950         https://bugs.webkit.org/show_bug.cgi?id=42574
951
952         * public/WebIDBDatabaseError.h:
953         (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
954         * public/WebIDBKey.h:
955         (WebKit::WebIDBKey::~WebIDBKey):
956         * src/WebIDBDatabaseError.cpp:
957         (WebKit::WebIDBDatabaseError::reset):
958         * src/WebIDBKey.cpp:
959         (WebKit::WebIDBKey::reset):
960
961 2010-07-20  Hans Wennborg  <hans@chromium.org>
962
963         Reviewed by Steve Block.
964
965         Runtime feature switch for device orientation
966         https://bugs.webkit.org/show_bug.cgi?id=42265
967
968         Add a runtime feature switch that decides whether device orientation
969         events are available or not. Defaults to true.
970
971         * public/WebRuntimeFeatures.h:
972         * src/WebRuntimeFeatures.cpp:
973         (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
974         (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
975
976 2010-07-19  Victoria Kirst  <vrk@google.com>
977
978         Reviewed by David Levin.
979
980         Updated WebMediaPlayer to support accelerated rendering and to
981         create and return a VideoChromiumLayer as its platform layer.
982         https://bugs.webkit.org/show_bug.cgi?id=42234
983
984         * src/WebMediaPlayerClientImpl.cpp:
985         (WebKit::WebMediaPlayerClientImpl::platformLayer):
986         (WebKit::WebMediaPlayerClientImpl::create):
987         * src/WebMediaPlayerClientImpl.h:
988         (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
989
990 2010-07-19  Kenneth Russell  <kbr@google.com>
991
992         Reviewed by Nate Chapin.
993
994         WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
995         https://bugs.webkit.org/show_bug.cgi?id=34719
996
997         Fixed compiler warning introduced by original patch.
998
999         * src/WebGraphicsContext3DDefaultImpl.cpp:
1000         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
1001
1002 2010-07-19  Tony Chang  <tony@chromium.org>
1003
1004         Reviewed by Kent Tamura.
1005
1006         [chromium] refactor npapi plugin copy step
1007         https://bugs.webkit.org/show_bug.cgi?id=42493
1008
1009         This is to avoid duplicate copy rules in the Linux make build.
1010
1011         * WebKit.gyp:
1012         * DEPS: 52483:52869
1013
1014 2010-07-19  Ilya Tikhonovsky  <loislo@chromium.org>
1015
1016         Reviewed by Pavel Feldman.
1017
1018         Web Inspector: Live edit is not working in chromium.
1019         https://bugs.webkit.org/show_bug.cgi?id=42572
1020
1021         * src/js/DebuggerScript.js:
1022
1023 2010-07-16  Pavel Podivilov  <podivilov@chromium.org>
1024
1025         Reviewed by Pavel Feldman.
1026
1027         [V8] Web Inspector: get actual breakpoint location from v8 and pass it
1028         to ScripDebugServer.
1029         https://bugs.webkit.org/show_bug.cgi?id=42452
1030
1031         * src/js/DebuggerScript.js:
1032
1033 2010-07-17  John Gregg  <johnnyg@google.com>
1034
1035         Reviewed by Kent Tamura.
1036
1037         [chromium] directory upload: pass the attribute up to the chrome client        
1038         https://bugs.webkit.org/show_bug.cgi?id=42475
1039
1040         This allows chromium to display the native system directory picker when
1041         the directory attribute is present on the input element.
1042
1043         * public/WebFileChooserParams.h:
1044         * src/ChromeClientImpl.cpp:
1045         (WebKit::ChromeClientImpl::runOpenPanel):
1046
1047 2010-07-16  Zhe Su  <suzhe@chromium.org>
1048
1049         Reviewed by Darin Adler.
1050
1051         REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
1052         https://bugs.webkit.org/show_bug.cgi?id=42253
1053
1054         Implement EditorClient::willSetInputMethodState which replaces
1055         setInputMethodState method.
1056
1057         * src/EditorClientImpl.cpp:
1058         (WebKit::EditorClientImpl::willSetInputMethodState):
1059         (WebKit::EditorClientImpl::setInputMethodState):
1060         * src/EditorClientImpl.h:
1061
1062 2010-07-16  Kent Tamura  <tkent@chromium.org>
1063
1064         Reviewed by Darin Fisher.
1065
1066         [Chromium] <input type=number> UI implementation for Windows
1067         https://bugs.webkit.org/show_bug.cgi?id=42259
1068
1069         * public/WebThemeEngine.h:
1070         (WebKit::WebThemeEngine::paintSpinButton): Added.
1071         * src/ChromiumBridge.cpp:
1072         (WebCore::ChromiumBridge::paintSpinButton):
1073           Added. It calls WebThemeEngine::paintSpinButton().
1074
1075 2010-07-16  James Robinson  <jamesr@chromium.org>
1076
1077         Reviewed by Darin Fisher.
1078
1079         [chromium] Avoid crashing if offscreen GLES2 context creation fails
1080         https://bugs.webkit.org/show_bug.cgi?id=42469
1081
1082         If creating or initializing an offscreen GLES2Context fails we should return null
1083         rather than crashing or returning an invalid context.
1084
1085         * src/WebViewImpl.cpp:
1086         (WebKit::WebViewImpl::getOffscreenGLES2Context):
1087
1088 2010-07-15  Tony Gentilcore  <tonyg@chromium.org>
1089
1090         Reviewed by Darin Fisher.
1091
1092         Enable window.webkitPerformance (Web Timing) for chromium
1093         https://bugs.webkit.org/show_bug.cgi?id=42313
1094
1095         * features.gypi:
1096
1097 2010-07-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1098
1099         Unreviewed, rolling out r63551.
1100         http://trac.webkit.org/changeset/63551
1101         https://bugs.webkit.org/show_bug.cgi?id=42460
1102
1103         "Problems with gyp" (Requested by yurys on #webkit).
1104
1105         * DEPS:
1106
1107 2010-07-16  Yury Semikhatsky  <yurys@chromium.org>
1108
1109         Unreviewed. Bump up Chromium revision.
1110
1111         * DEPS:
1112
1113 2010-07-16  Pavel Feldman  <pfeldman@chromium.org>
1114
1115         Reviewed by Yury Semikhatsky.
1116
1117         Web Inspector: disable AppCache in chromium.
1118
1119         https://bugs.webkit.org/show_bug.cgi?id=41858
1120
1121         * src/js/DevTools.js:
1122         (WebInspector.loaded):
1123
1124 2010-07-16  Alexander Pavlov  <apavlov@chromium.org>
1125
1126         Reviewed by Yury Semikhatsky.
1127
1128         Web Inspector: [Chromium] A non-existent resource is referenced from devTools.css
1129
1130         The erroneous rule has been removed.
1131         https://bugs.webkit.org/show_bug.cgi?id=42454
1132
1133         * src/js/devTools.css:
1134
1135 2010-07-16  Andrey Kosyakov  <caseq@chromium.org>
1136
1137         Reviewed by Pavel Feldman.
1138
1139         Check that end node of a range has a valid renderer in WebViewImpl::caretOrSelectionBounds()
1140         to avoid crash in Position::getInlineBoxAndOffset() when start node has renderer but end one doesn't.
1141         https://bugs.webkit.org/show_bug.cgi?id=42449
1142
1143         * src/WebViewImpl.cpp:
1144         (WebKit::WebViewImpl::caretOrSelectionBounds):
1145
1146 2010-07-16  Mikhail Naganov  <mnaganov@chromium.org>
1147
1148         Reviewed by Pavel Feldman.
1149
1150         Make JS memory stats available via 'Performance' object (Web Timing).
1151         This statistics is populated only if 'WebKitMemoryInfoEnabled'
1152         preference is set.
1153
1154         'console.memory' is kept until Web Timing object becomes visible by
1155         default (currently it is hidden under compile-time flag).  These stats
1156         are guarded with the same preference.
1157
1158         https://bugs.webkit.org/show_bug.cgi?id=41617
1159
1160         * public/WebSettings.h:
1161         * src/WebSettingsImpl.cpp:
1162         (WebKit::WebSettingsImpl::setMemoryInfoEnabled):
1163         * src/WebSettingsImpl.h:
1164
1165 2010-07-15  Victor Wang  <victorw@chromium.org>
1166
1167         Reviewed by David Levin.
1168
1169        [Chromium] Chromium webkit dll updates:
1170         -. Fix WEBKIT_IMPLEMENTATION in WebCommon so
1171            dllimport works as expected.
1172         -. Update webkit.gyp so targets that depend on webkit
1173            has correct macros defined.
1174
1175         https://bugs.webkit.org/show_bug.cgi?id=42177
1176
1177         * WebKit.gyp:
1178         * public/WebCommon.h:
1179
1180 2010-07-13  Zhenyao Mo  <zmo@google.com>
1181
1182         Reviewed by Nate Chapin.
1183
1184         WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage
1185         https://bugs.webkit.org/show_bug.cgi?id=34719
1186
1187         * src/GraphicsContext3D.cpp:
1188         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): Implement paintRenderingResultsToCanvas().
1189         (WebCore::GraphicsContext3DInternal::beginPaint): Just use paintRenderingResultsToCanvas().
1190
1191 2010-07-15  Victor Wang  <victorw@chromium.org>
1192
1193         Reviewed by David Levin.
1194
1195         Roll Chromium DEPS forward to r52483.
1196         https://bugs.webkit.org/show_bug.cgi?id=42386
1197
1198         * DEPS:
1199
1200 2010-07-15  Scott Violet  <sky@chromium.org>
1201
1202         Reviewed by David Levin.
1203
1204         [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name
1205         https://bugs.webkit.org/show_bug.cgi?id=42385
1206
1207         * src/WebViewImpl.cpp:
1208         (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name.
1209
1210 2010-07-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1211
1212         Unreviewed, rolling out r63446.
1213         http://trac.webkit.org/changeset/63446
1214         https://bugs.webkit.org/show_bug.cgi?id=42412
1215
1216         It broke the Chromium Windows bot due to missing dependencies
1217         there. (Requested by dave_levin on #webkit).
1218
1219         * DEPS:
1220
1221 2010-07-15  Victor Wang  <victorw@chromium.org>
1222
1223         Reviewed by David Levin.
1224
1225         Roll Chromium DEPS forward to r52483.
1226         https://bugs.webkit.org/show_bug.cgi?id=42386
1227
1228         * DEPS:
1229
1230 2010-07-15  Michael Nordman  <michaeln@google.com>
1231
1232         Reviewed by Darin Fisher.
1233
1234         WebKitAPI additions to support inspecting application caches.
1235         https://bugs.webkit.org/show_bug.cgi?id=41993
1236
1237         * public/WebApplicationCacheHost.h:
1238         (WebKit::WebApplicationCacheHost::CacheInfo::CacheInfo):
1239         (WebKit::WebApplicationCacheHost::ResourceInfo::ResourceInfo):
1240         (WebKit::WebApplicationCacheHost::getAssociatedCacheInfo):
1241         (WebKit::WebApplicationCacheHost::getResourceList):
1242         (WebKit::WebApplicationCacheHost::deleteAssociatedCacheGroup):
1243         * public/WebApplicationCacheHostClient.h:
1244         (WebKit::WebApplicationCacheHostClient::didChangeCacheAssociation):
1245         * src/ApplicationCacheHostInternal.h:
1246         (WebCore::ApplicationCacheHostInternal::didChangeCacheAssociation):
1247
1248 2010-07-15  Pavel Feldman  <pfeldman@chromium.org>
1249
1250         Reviewed by Yury Semikhatsky.
1251
1252         Web Inspector: differentiate between blocking and connecting timers.
1253
1254         https://bugs.webkit.org/show_bug.cgi?id=42372
1255
1256         * public/WebURLResponse.h:
1257         * src/WebURLResponse.cpp:
1258         (WebKit::WebURLResponse::connectionReused):
1259         (WebKit::WebURLResponse::setConnectionReused):
1260
1261 2010-07-15  Pavel Podivilov  <podivilov@chromium.org>
1262
1263         Reviewed by Yury Semikhatsky.
1264
1265         Fix mac compilation failure
1266         https://bugs.webkit.org/show_bug.cgi?id=42344
1267
1268         * src/AutoFillPopupMenuClient.cpp:
1269         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
1270         (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
1271
1272 2010-07-14  George Yakovlev  <georgey@chromium.org>
1273
1274         Reviewed by Darin Fisher.
1275
1276         Allow Chromium access to Select control choices
1277         https://bugs.webkit.org/show_bug.cgi?id=41384
1278
1279         * WebKit.gyp:
1280         * public/WebOptionElement.h: Added.
1281         (WebKit::WebOptionElement::WebOptionElement):
1282         (WebKit::WebOptionElement::operator=):
1283         (WebKit::WebOptionElement::assign):
1284         * public/WebSelectElement.h:
1285         * src/WebOptionElement.cpp: Added.
1286         (WebKit::WebOptionElement::setValue):
1287         (WebKit::WebOptionElement::value):
1288         (WebKit::WebOptionElement::index):
1289         (WebKit::WebOptionElement::text):
1290         (WebKit::WebOptionElement::defaultSelected):
1291         (WebKit::WebOptionElement::setDefaultSelected):
1292         (WebKit::WebOptionElement::label):
1293         (WebKit::WebOptionElement::disabled):
1294         (WebKit::WebOptionElement::WebOptionElement):
1295         (WebKit::WebOptionElement::operator=):
1296         (WebKit::WebOptionElement::operator PassRefPtr<HTMLOptionElement>):
1297         * src/WebSelectElement.cpp:
1298         (WebKit::WebSelectElement::listItems):
1299
1300 2010-07-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1301
1302         Unreviewed, rolling out r63389.
1303         http://trac.webkit.org/changeset/63389
1304         https://bugs.webkit.org/show_bug.cgi?id=42311
1305
1306         It broke the Chromium Linux build. (Requested by dave_levin on
1307         #webkit).
1308
1309         * DEPS:
1310         * WebKit.gyp:
1311         * public/WebCommon.h:
1312
1313 2010-07-14  Scott Violet  <sky@chromium.org>
1314
1315         Reviewed by David Levin.
1316
1317         [chromium] Autofill menu shows seperator at the wrong place when an entry is deleted
1318         https://bugs.webkit.org/show_bug.cgi?id=42210
1319
1320         * src/AutoFillPopupMenuClient.cpp:
1321         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): Updates internal data appropriately.
1322         (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Now called before removal to see if can remove.
1323         * src/AutoFillPopupMenuClient.h: Fixed whitespace and added method.
1324         * src/WebViewImpl.cpp:
1325         (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Added call to canRemoveSuggestionAtIndex.
1326
1327 2010-07-14  James Robinson  <jamesr@chromium.org>
1328
1329         Unreviewed. Compile fix, initialization/declaration order mismatch.
1330
1331         * src/GLES2ContextInternal.h:
1332
1333 2010-07-14  Jay Civelli  <jcivelli@chromium.org>
1334
1335         Reviewed by David Levin.
1336
1337         [chromium] don't restrict the width of the autofill popup.
1338         https://bugs.webkit.org/show_bug.cgi?id=42206
1339
1340         * src/WebViewImpl.cpp:
1341
1342 2010-07-14  Victor Wang  <victorw@chromium.org>
1343
1344         Reviewed by Darin Fisher.
1345
1346         [Chromium] Chromium webkit dll updates:
1347         -. Fix WEBKIT_IMPLEMENTATION in WebCommon so
1348            dllimport works as expected.
1349         -. Update webkit.gyp so targets that depend on webkit
1350            has correct macros defined.
1351         -. Roll forward chromium deps to r52273.
1352
1353         https://bugs.webkit.org/show_bug.cgi?id=42177
1354
1355         * DEPS:
1356         * WebKit.gyp:
1357         * public/WebCommon.h:
1358
1359 2010-07-14  James Hawkins  <jhawkins@chromium.org>
1360
1361         UNREVIEWED Build Fix.
1362
1363         Fix a typo.
1364
1365         * src/WebViewImpl.cpp:
1366         (WebKit::WebViewImpl::applyAutoFillSuggestions):
1367
1368 2010-07-14  James Robinson  <jamesr@chromium.org>
1369
1370         Reviewed by Darin Fisher.
1371
1372         Breaks all dependencies on Page from platform/ and cleans up GLES2Context lifetime
1373         https://bugs.webkit.org/show_bug.cgi?id=42203
1374
1375         Rather than constructing a GLES2Context from a Page, pass the LayerRendererChromium
1376         a GLES2Context in from the constructor.  This way the platform/ directory can remain
1377         ignorant of Page and friends.  Also adds functions on ChromeClientChromium to request
1378         onscreen and offscreen GLES2Contexts for callers in WebCore that need them. 
1379
1380         * WebKit.gyp:
1381         * src/ChromeClientImpl.cpp:
1382         (WebKit::ChromeClientImpl::getOnscreenGLES2Context):
1383         (WebKit::ChromeClientImpl::getOffscreenGLES2Context):
1384         * src/ChromeClientImpl.h:
1385         * src/GLES2Context.cpp:
1386         (WebCore::GLES2ContextInternal::create):
1387         (WebCore::GLES2Context::create):
1388         (WebCore::GLES2Context::GLES2Context):
1389         * src/GLES2ContextInternal.cpp: Added.
1390         (WebCore::GLES2ContextInternal::~GLES2ContextInternal):
1391         * src/GLES2ContextInternal.h: Added.
1392         (WebCore::GLES2ContextInternal::getWebGLES2Context):
1393         (WebCore::GLES2ContextInternal::GLES2ContextInternal):
1394         * src/WebViewImpl.cpp:
1395         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1396         (WebKit::WebViewImpl::getOnscreenGLES2Context):
1397         (WebKit::WebViewImpl::getOffscreenGLES2Context):
1398         * src/WebViewImpl.h:
1399
1400 2010-07-14  James Hawkins  <jhawkins@chromium.org>
1401
1402         Reviewed by Darin Fisher.
1403
1404         [Chromium] Use the unique ID instead of the profile label to identify
1405         the accepted AutoFill suggestion.
1406         https://bugs.webkit.org/show_bug.cgi?id=42301
1407
1408         * public/WebView.h:
1409         * public/WebViewClient.h:
1410         (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
1411         (WebKit::WebViewClient::didSelectAutoFillSuggestion):
1412         * src/AutoFillPopupMenuClient.cpp:
1413         (WebKit::AutoFillPopupMenuClient::valueChanged):
1414         (WebKit::AutoFillPopupMenuClient::selectionChanged):
1415         (WebKit::AutoFillPopupMenuClient::initialize):
1416         (WebKit::AutoFillPopupMenuClient::setSuggestions):
1417         (WebKit::AutoFillPopupMenuClient::textFieldStyle):
1418         * src/AutoFillPopupMenuClient.h:
1419         * src/WebViewImpl.cpp:
1420         (WebKit::WebViewImpl::applyAutoFillSuggestions):
1421         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
1422         * src/WebViewImpl.h:
1423
1424 2010-07-14  Jay Civelli  <jcivelli@chromium.org>
1425
1426         Reviewed by David Levin.
1427
1428         Don't notify the WebView that the popup has been closed when the
1429         selection is cleared, as the popup is not gone and would linger
1430         as a ghost popup.
1431         https://bugs.webkit.org/show_bug.cgi?id=42180
1432
1433         * src/AutoFillPopupMenuClient.cpp:
1434         (WebKit::AutoFillPopupMenuClient::selectionCleared):
1435
1436 2010-07-14  Sam Weinig  <sam@webkit.org>
1437
1438         Fix the chromium mac build.
1439
1440         * src/WebPopupMenuImpl.cpp:
1441         (WebKit::WebPopupMenuImpl::setCursor):
1442
1443 2010-07-14  Sam Weinig  <sam@webkit.org>
1444
1445         Reviewed by Darin Adler.
1446
1447         Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
1448         Make changing Cursors work in WebKit2.
1449
1450         * src/ChromeClientImpl.h:
1451         (WebKit::ChromeClientImpl::setCursor):
1452         Change prototype to match new one.
1453
1454         * src/WebPopupMenuImpl.cpp:
1455         (WebKit::WebPopupMenuImpl::setCursor):
1456         * src/WebPopupMenuImpl.h:
1457         Add empty setCursor function to satisfy the HostWindow interface.
1458
1459 2010-07-13  Alexey Proskuryakov  <ap@apple.com>
1460
1461         Reviewed by Darin Adler.
1462
1463         https://bugs.webkit.org/show_bug.cgi?id=42201
1464         Use ResourceHandle object for synchronous loading
1465
1466         * src/ResourceHandle.cpp:
1467         (WebCore::ResourceHandle::request):
1468         This method is no longer const in cross-platform code, and is called firstRequest.
1469
1470 2010-07-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1471
1472         Unreviewed, rolling out r63305.
1473         http://trac.webkit.org/changeset/63305
1474         https://bugs.webkit.org/show_bug.cgi?id=42256
1475
1476         "debugger-breakpoints-not-activated-on-reload.html fails on
1477         GTK" (Requested by yurys on #webkit).
1478
1479         * src/js/DebuggerScript.js:
1480         ():
1481
1482 2010-07-14  Yury Semikhatsky  <yurys@chromium.org>
1483
1484         Reviewed by Pavel Feldman.
1485
1486         Web Inspector: remove v8 debugger code that doesn't use ScriptDebugServer
1487         https://bugs.webkit.org/show_bug.cgi?id=42164
1488
1489         * WebKit.gypi:
1490         * src/DebuggerAgentManager.cpp:
1491         (WebKit::DebuggerAgentManager::debugAttach):
1492         (WebKit::DebuggerAgentManager::debugDetach):
1493         * src/InspectorFrontendClientImpl.cpp:
1494         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
1495         * src/WebDevToolsAgentImpl.cpp:
1496         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
1497         (WebKit::WebDevToolsAgentImpl::attach):
1498         (WebKit::WebDevToolsAgentImpl::didNavigate):
1499         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
1500         * src/js/DebuggerAgent.js: Removed.
1501         * src/js/DevTools.js:
1502         (devtools.ToolsAgent):
1503         (WebInspector.loaded):
1504         * src/js/DevToolsHostStub.js:
1505         * src/js/InspectorControllerImpl.js:
1506         (devtools.InspectorBackendImpl):
1507         * src/js/Tests.js:
1508         (.TestSuite.prototype.testAutoContinueOnSyntaxError):
1509         (.TestSuite.prototype.testExpandScope.examineScopes):
1510         (.TestSuite.prototype.testExpandScope):
1511         (.TestSuite.prototype.testDebugIntrinsicProperties):
1512
1513 2010-07-14  Ilya Tikhonovsky  <loislo@chromium.org>
1514
1515         Reviewed by Yury Semikhatsky.
1516
1517         WebInspector: Clean-up InspectorBackend code. In the next changes
1518         InspectorBackend content will be generated by scripts. As far as
1519         generator is very simple thing all nontrivial function should be
1520         moved to InspectorController and DOMAgent.
1521         https://bugs.webkit.org/show_bug.cgi?id=42171
1522
1523         * src/js/InspectorControllerImpl.js:
1524         (devtools.InspectorBackendImpl):
1525         (.devtools.InspectorBackendImpl.prototype.pause):
1526         (.devtools.InspectorBackendImpl.prototype.resume):
1527         (.devtools.InspectorBackendImpl.prototype.stepIntoStatement):
1528         (.devtools.InspectorBackendImpl.prototype.stepOutOfFunction):
1529         (.devtools.InspectorBackendImpl.prototype.stepOverStatement):
1530         (else.devtools.InspectorBackendImpl.prototype.pause):
1531
1532 2010-07-14  Pavel Podivilov  <podivilov@chromium.org>
1533
1534         Reviewed by Yury Semikhatsky.
1535
1536         Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
1537         https://bugs.webkit.org/show_bug.cgi?id=41461
1538
1539         * src/js/DebuggerScript.js:
1540         ():
1541
1542 2010-07-14  Kent Tamura  <tkent@chromium.org>
1543
1544         Unreviewed, 2nd attempt to fix build on 'Webkit.org Reliability Builder'.
1545
1546         * WebKit.gyp:
1547
1548 2010-07-14  Kent Tamura  <tkent@chromium.org>
1549
1550         Unreviewed, attempt to fix build on 'Webkit.org Reliability Builder'.
1551
1552         * WebKit.gyp:
1553
1554 2010-07-14  Kent Tamura  <tkent@chromium.org>
1555
1556         Reviewed by David Levin.
1557
1558         [Chromium] Upstreaming inspector_resources target
1559         https://bugs.webkit.org/show_bug.cgi?id=41669
1560
1561         'inspector_resource' is currently in src/webkit/webkit.gyp of
1562         Chromium tree. We move it to WebKit tree because:
1563         - DumpRenderTree in WebKit tree needs it, and
1564         - It's hard to refer to WebKit.gypi and WebCore.gypi from
1565           webkit_support in both cases of Chromium-tree build and
1566           WebKit-tree build.
1567
1568         * WebKit.gyp:
1569
1570 2010-07-13  Kent Tamura  <tkent@chromium.org>
1571
1572         Reviewed by Darin Fisher.
1573
1574         [Chromium] Linux implementation of <input type=number> UI
1575         https://bugs.webkit.org/show_bug.cgi?id=41925
1576
1577         * src/WebViewImpl.cpp:
1578         (WebKit::WebViewImpl::setScrollbarColors):
1579          Call PlatformThemeChromiumGtk::setScrollbarColors() instead of
1580          RenderThemeChromiumLinux::setScrollbarColors().
1581
1582 2010-07-13  Chris Guillory  <chris.guillory@google.com>
1583
1584         Reviewed by David Levin.
1585
1586         Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp.
1587         https://bugs.webkit.org/show_bug.cgi?id=42092
1588
1589         * src/WebAccessibilityCacheImpl.cpp:
1590         (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
1591         (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
1592
1593 2010-07-13  Albert J. Wong  <ajwong@chromium.org>
1594
1595         Unreviewed, build fix.
1596
1597         [chromium] The comparision between signed/unsigned breaks the chromium
1598         mac build.
1599
1600         * src/AutoFillPopupMenuClient.cpp:
1601         (WebKit::AutoFillPopupMenuClient::getSuggestion):
1602         (WebKit::AutoFillPopupMenuClient::getLabel):
1603
1604 2010-07-10  Zhenyao Mo  <zmo@google.com>
1605
1606         Reviewed by Darin Fisher.
1607
1608         Implement bufferData and bufferSubData with ArrayBuffer as input
1609         https://bugs.webkit.org/show_bug.cgi?id=41884
1610
1611         * src/GraphicsContext3D.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input.
1612         (WebCore::GraphicsContext3DInternal::bufferData):
1613         (WebCore::GraphicsContext3DInternal::bufferSubData):
1614
1615 2010-07-10  Zhenyao Mo  <zmo@google.com>
1616
1617         Reviewed by Darin Fisher.
1618
1619         Need to emulate MAX_VARYING_VECTORS/MAX_FRAGMENT_UNIFORM_VECTORs/MAX_VERTEX_UNIFORM_VECTORS for glGet
1620         https://bugs.webkit.org/show_bug.cgi?id=42032
1621
1622         * src/WebGraphicsContext3DDefaultImpl.cpp:
1623         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate the enums.
1624
1625 2010-07-13  Andrey Kosyakov  <caseq@chromium.org>
1626
1627         Reviewed by Yury Semikhatsky.
1628
1629         Web Inspector: catch and log JS exceptions resulting from executing a 
1630         script on inspector front-end to prevent renderer from crashing.
1631         https://bugs.webkit.org/show_bug.cgi?id=42157
1632
1633         * src/WebDevToolsFrontendImpl.cpp:
1634         (WebKit::WebDevToolsFrontendImpl::executeScript):
1635
1636 2010-07-13  Kent Tamura  <tkent@chromium.org>
1637
1638         Unreviewed, build fix.
1639
1640         Fix a build error by r63179 for Chromium.
1641
1642         * tests/PopupMenuTest.cpp:
1643         (WebKit::TestPopupMenuClient::itemLabel): Added.
1644
1645 2010-07-12  Jay Civelli  <jcivelli@chromium.org>
1646
1647         Reviewed by Kent Tamura.
1648
1649         Making the autofill popup use labels to show the label
1650         associated with an item.
1651         https://bugs.webkit.org/show_bug.cgi?id=41964
1652
1653         * src/AutoFillPopupMenuClient.cpp:
1654         (WebKit::AutoFillPopupMenuClient::getSuggestion):
1655         (WebKit::AutoFillPopupMenuClient::getLabel):
1656         (WebKit::AutoFillPopupMenuClient::itemLabel):
1657         (WebKit::AutoFillPopupMenuClient::setSuggestions):
1658         (WebKit::AutoFillPopupMenuClient::convertListIndexToInternalIndex):
1659         * src/AutoFillPopupMenuClient.h:
1660
1661 2010-07-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1662
1663         Unreviewed, rolling out r63171.
1664         http://trac.webkit.org/changeset/63171
1665         https://bugs.webkit.org/show_bug.cgi?id=42144
1666
1667         Broke Chromium canary (Requested by tkent on #webkit).
1668
1669         * WebKit.gyp:
1670
1671 2010-07-12  Kent Tamura  <tkent@chromium.org>
1672
1673         Reviewed by David Levin.
1674
1675         [Chromium] Upstreaming inspector_resources target
1676         https://bugs.webkit.org/show_bug.cgi?id=41669
1677
1678         'inspector_resource' is currently in src/webkit/webkit.gyp of
1679         Chromium tree. We move it to WebKit tree because:
1680         - DumpRenderTree in WebKit tree needs it, and
1681         - It's hard to refer to WebKit.gypi and WebCore.gypi from
1682           webkit_support in both cases of Chromium-tree build and
1683           WebKit-tree build.
1684
1685         * WebKit.gyp:
1686
1687 2010-07-12  Viet-Trung Luu  <viettrungluu@chromium.org>
1688
1689         Reviewed by Darin Fisher.
1690
1691         [Chromium] Pass key down events on to plugins.
1692         https://bugs.webkit.org/show_bug.cgi?id=42113
1693
1694         * src/WebPluginContainerImpl.cpp:
1695         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1696
1697 2010-07-12  Pavel Feldman  <pfeldman@chromium.org>
1698
1699         Reviewed by Joseph Pecoraro.
1700
1701         Web Inspector: provide starts and ends for network phases instead of duration.
1702
1703         https://bugs.webkit.org/show_bug.cgi?id=42091
1704
1705         * public/WebURLLoadTiming.h:
1706         * public/WebURLResponse.h:
1707         * src/WebURLLoadTiming.cpp:
1708         (WebKit::WebURLLoadTiming::proxyStart):
1709         (WebKit::WebURLLoadTiming::setProxyStart):
1710         (WebKit::WebURLLoadTiming::proxyEnd):
1711         (WebKit::WebURLLoadTiming::setProxyEnd):
1712         (WebKit::WebURLLoadTiming::dnsStart):
1713         (WebKit::WebURLLoadTiming::setDNSStart):
1714         (WebKit::WebURLLoadTiming::dnsEnd):
1715         (WebKit::WebURLLoadTiming::setDNSEnd):
1716         (WebKit::WebURLLoadTiming::connectStart):
1717         (WebKit::WebURLLoadTiming::setConnectStart):
1718         (WebKit::WebURLLoadTiming::connectEnd):
1719         (WebKit::WebURLLoadTiming::setConnectEnd):
1720         (WebKit::WebURLLoadTiming::sendStart):
1721         (WebKit::WebURLLoadTiming::setSendStart):
1722         (WebKit::WebURLLoadTiming::sendEnd):
1723         (WebKit::WebURLLoadTiming::setSendEnd):
1724         (WebKit::WebURLLoadTiming::receiveHeadersStart):
1725         (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
1726         (WebKit::WebURLLoadTiming::receiveHeadersEnd):
1727         (WebKit::WebURLLoadTiming::setReceiveHeadersEnd):
1728         (WebKit::WebURLLoadTiming::sslStart):
1729         (WebKit::WebURLLoadTiming::setSSLStart):
1730         (WebKit::WebURLLoadTiming::sslEnd):
1731         (WebKit::WebURLLoadTiming::setSSLEnd):
1732         * src/WebURLResponse.cpp:
1733         (WebKit::WebURLResponse::wasCached):
1734         (WebKit::WebURLResponse::setWasCached):
1735
1736 2010-07-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1737
1738         Unreviewed, rolling out r63156.
1739         http://trac.webkit.org/changeset/63156
1740         https://bugs.webkit.org/show_bug.cgi?id=42129
1741
1742         broke chromium compile (Requested by jamesr on #webkit).
1743
1744         * WebKit.gyp:
1745         * public/WebAccessibilityObject.h:
1746         * public/WebAttribute.h: Removed.
1747         * public/WebDocumentType.h: Removed.
1748         * public/WebElement.h:
1749         * public/WebNamedNodeMap.h: Removed.
1750         * public/WebNode.h:
1751         * public/WebRenderStyle.h: Removed.
1752         * src/WebAccessibilityObject.cpp:
1753         * src/WebAttribute.cpp: Removed.
1754         * src/WebDocumentType.cpp: Removed.
1755         * src/WebElement.cpp:
1756         * src/WebNamedNodeMap.cpp: Removed.
1757         * src/WebNode.cpp:
1758         * src/WebRenderStyle.cpp: Removed.
1759
1760 2010-07-12  Dominic Mazzoni  <dmazzoni@google.com>
1761
1762         Reviewed by Darin Fisher.
1763
1764         Add methods to WebAccessibilityObject to access the Node and
1765         Document, and then add methods to access some document, node,
1766         and element properties needed for Windows accessibility.
1767
1768         https://bugs.webkit.org/show_bug.cgi?id=41569
1769
1770         * WebKit.gyp:
1771         * public/WebAccessibilityObject.h:
1772         * public/WebAttribute.h: Added.
1773         (WebKit::WebAttribute::~WebAttribute):
1774         (WebKit::WebAttribute::WebAttribute):
1775         (WebKit::WebAttribute::operator=):
1776         * public/WebDocumentType.h: Added.
1777         (WebKit::WebDocumentType::WebDocumentType):
1778         (WebKit::WebDocumentType::operator=):
1779         (WebKit::WebDocumentType::assign):
1780         * public/WebElement.h:
1781         * public/WebNamedNodeMap.h: Added.
1782         (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
1783         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
1784         (WebKit::WebNamedNodeMap::operator=):
1785         * public/WebNode.h:
1786         * public/WebRenderStyle.h: Added.
1787         (WebKit::WebRenderStyle::~WebRenderStyle):
1788         (WebKit::WebRenderStyle::WebRenderStyle):
1789         (WebKit::WebRenderStyle::operator=):
1790         * src/WebAccessibilityObject.cpp:
1791         (WebKit::WebAccessibilityObject::node):
1792         (WebKit::WebAccessibilityObject::document):
1793         * src/WebAttribute.cpp: Added.
1794         (WebKit::WebAttribute::reset):
1795         (WebKit::WebAttribute::assign):
1796         (WebKit::WebAttribute::WebAttribute):
1797         (WebKit::WebAttribute::localName):
1798         (WebKit::WebAttribute::value):
1799         * src/WebDocumentType.cpp: Added.
1800         (WebKit::WebDocumentType::name):
1801         (WebKit::WebDocumentType::WebDocumentType):
1802         (WebKit::WebDocumentType::operator=):
1803         (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
1804         * src/WebElement.cpp:
1805         (WebKit::WebElement::attributes):
1806         * src/WebNamedNodeMap.cpp: Added.
1807         (WebKit::WebNamedNodeMap::reset):
1808         (WebKit::WebNamedNodeMap::assign):
1809         (WebKit::WebNamedNodeMap::WebNamedNodeMap):
1810         (WebKit::WebNamedNodeMap::length):
1811         (WebKit::WebNamedNodeMap::attributeItem):
1812         * src/WebNode.cpp:
1813         (WebKit::WebNode::element):
1814         (WebKit::WebNode::hasComputedStyle):
1815         (WebKit::WebNode::computedStyle):
1816         * src/WebRenderStyle.cpp: Added.
1817         (WebKit::WebRenderStyle::reset):
1818         (WebKit::WebRenderStyle::assign):
1819         (WebKit::WebRenderStyle::WebRenderStyle):
1820         (WebKit::WebRenderStyle::display):
1821
1822 2010-07-12  Alexander Pavlov  <apavlov@chromium.org>
1823
1824         Reviewed by Yury Semikhatsky.
1825
1826         [Chromium] Crash when stepping on a breakpoint while debugging Web Inspector
1827         https://bugs.webkit.org/show_bug.cgi?id=41958
1828
1829         * src/WebViewImpl.cpp:
1830         (WebKit::WebView::willEnterModalLoop):
1831         (WebKit::WebView::didExitModalLoop):
1832
1833 2010-07-12  Jeremy Orlow  <jorlow@chromium.org>
1834
1835         Speculative fix for visual studio retardedness.
1836
1837         * public/WebCommon.h:
1838
1839 2010-07-12  Jeremy Orlow  <jorlow@chromium.org>
1840
1841         Build fix.  Add an include.
1842
1843         * public/WebCommon.h:
1844
1845 2010-06-27  Jeremy Orlow  <jorlow@chromium.org>
1846
1847         Reviewed by Dumitru Daniliuc.
1848
1849         Implement IDBObjectStore.get/set/remove
1850         https://bugs.webkit.org/show_bug.cgi?id=41250
1851
1852         Plumbing for new features, IDBKey, and added support
1853         for both invalid (i.e. not serializable) and null
1854         (i.e. the RefPtr was 0) to SerializedScriptValue.
1855
1856         * WebKit.gyp:
1857         * public/WebIDBCallbacks.h:
1858         (WebKit::WebIDBCallbacks::onSuccess):
1859         * public/WebIDBKey.h: Added.
1860         (WebKit::WebIDBKey::WebIDBKey):
1861         (WebKit::WebIDBKey::operator=):
1862         (WebKit::WebIDBKey::):
1863         * public/WebIDBObjectStore.h:
1864         (WebKit::WebIDBObjectStore::get):
1865         (WebKit::WebIDBObjectStore::set):
1866         (WebKit::WebIDBObjectStore::remove):
1867         (WebKit::WebIDBObjectStore::createIndex):
1868         (WebKit::WebIDBObjectStore::index):
1869         (WebKit::WebIDBObjectStore::removeIndex):
1870         * public/WebSerializedScriptValue.h:
1871         * src/IDBCallbacksProxy.cpp:
1872         (WebCore::IDBCallbacksProxy::onSuccess):
1873         * src/IDBCallbacksProxy.h:
1874         * src/IDBObjectStoreProxy.cpp:
1875         (WebCore::IDBObjectStoreProxy::get):
1876         (WebCore::IDBObjectStoreProxy::set):
1877         (WebCore::IDBObjectStoreProxy::remove):
1878         * src/IDBObjectStoreProxy.h:
1879         * src/WebIDBCallbacksImpl.cpp:
1880         (WebCore::WebIDBCallbacksImpl::onSuccess):
1881         * src/WebIDBCallbacksImpl.h:
1882         * src/WebIDBKey.cpp: Added.
1883         (WebKit::WebIDBKey::~WebIDBKey):
1884         (WebKit::WebIDBKey::createNull):
1885         (WebKit::WebIDBKey::createInvalid):
1886         (WebKit::WebIDBKey::assign):
1887         (WebKit::WebIDBKey::assignNull):
1888         (WebKit::WebIDBKey::assignInvalid):
1889         (WebKit::WebIDBKey::type):
1890         (WebKit::WebIDBKey::string):
1891         (WebKit::WebIDBKey::number):
1892         (WebKit::WebIDBKey::WebIDBKey):
1893         (WebKit::WebIDBKey::operator=):
1894         (WebKit::WebIDBKey::operator PassRefPtr<IDBKey>):
1895         * src/WebIDBObjectStoreImpl.cpp:
1896         (WebKit::WebIDBObjectStoreImpl::get):
1897         (WebKit::WebIDBObjectStoreImpl::set):
1898         (WebKit::WebIDBObjectStoreImpl::remove):
1899         * src/WebIDBObjectStoreImpl.h:
1900         * src/WebSerializedScriptValue.cpp:
1901         (WebKit::WebSerializedScriptValue::createInvalid):
1902
1903 2010-07-09  John Abd-El-Malek  <jam@chromium.org>
1904
1905         Reviewed by Darin Fisher.
1906
1907         [chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind
1908         https://bugs.webkit.org/show_bug.cgi?id=42011
1909
1910         * public/WebPlugin.h:
1911         (WebKit::WebPlugin::startFind):
1912
1913 2010-07-09  Leon Clarke  <leonclarke@google.com>
1914
1915         Reviewed by Adam Barth.
1916
1917         add support for link prefetching
1918         https://bugs.webkit.org/show_bug.cgi?id=3652
1919
1920         * public/WebURLRequest.h:
1921         (WebKit::WebURLRequest::):
1922
1923 2010-07-09  Michael Nordman  <michaeln@google.com>
1924
1925         Reviewed by Dumitru Daniliuc.
1926
1927         Use class ProgressEvent when raising appcache related progress events and
1928         set the 'total', 'loaded', and 'lengthComputable' attributes.
1929         Also raise the final progress event with the 'total' and 'loaded' attribute
1930         values are equal to one another to keep pace with the spec for this feature.
1931         https://bugs.webkit.org/show_bug.cgi?id=37602
1932
1933         * src/ApplicationCacheHost.cpp:
1934         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
1935         (WebCore::ApplicationCacheHost::stopDeferringEvents):
1936         (WebCore::ApplicationCacheHost::dispatchDOMEvent):
1937         * src/ApplicationCacheHostInternal.h:
1938         (WebCore::ApplicationCacheHostInternal::notifyEventListener):
1939         (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
1940
1941 2010-07-09  David Holloway  <dhollowa@chromium.org>
1942
1943         Reviewed by Dimitri Glazkov.
1944
1945         Roll Chromium DEPS forward to r51736.
1946         https://bugs.webkit.org/show_bug.cgi?id=41867
1947
1948         * DEPS:
1949
1950 2010-07-09  Pavel Feldman  <pfeldman@chromium.org>
1951
1952         Not reviewed: chromium build fix.
1953
1954         * public/WebGLES2Context.h:
1955
1956 2010-07-09  Yael Aharon  <yael.aharon@nokia.com>
1957
1958         Reviewed by Laszlo Gombos.
1959
1960         NotificationPresenter needs a cancelRequestPermission API
1961         https://bugs.webkit.org/show_bug.cgi?id=41783
1962
1963         Updated the NotificationPresenter API.
1964
1965         * src/NotificationPresenterImpl.cpp:
1966         (WebKit::NotificationPresenterImpl::checkPermission):
1967         (WebKit::NotificationPresenterImpl::requestPermission):
1968         * src/NotificationPresenterImpl.h:
1969         (WebKit::NotificationPresenterImpl::cancelRequestsForPermission):
1970
1971 2010-07-08  Pavel Feldman  <pfeldman@chromium.org>
1972
1973         Reviewed by Yury Semikhatsky.
1974
1975         Web Inspector: Provide detailed network info in the resources panel.
1976
1977         https://bugs.webkit.org/show_bug.cgi?id=40227
1978
1979         * WebKit.gyp:
1980         * public/WebDevToolsAgent.h:
1981         * public/WebURLLoadTiming.h: Added.
1982         (WebKit::WebURLLoadTiming::~WebURLLoadTiming):
1983         (WebKit::WebURLLoadTiming::WebURLLoadTiming):
1984         (WebKit::WebURLLoadTiming::operator=):
1985         (WebKit::WebURLLoadTiming::isNull):
1986         * public/WebURLRequest.h:
1987         * public/WebURLResponse.h:
1988         * src/WebDevToolsAgentImpl.cpp:
1989         (WebKit::WebDevToolsAgentImpl::willSendRequest):
1990         * src/WebDevToolsAgentImpl.h:
1991         * src/WebURLLoadTiming.cpp: Added.
1992         (WebKit::WebURLLoadTiming::initialize):
1993         (WebKit::WebURLLoadTiming::reset):
1994         (WebKit::WebURLLoadTiming::assign):
1995         (WebKit::WebURLLoadTiming::setDomainLookupTimes):
1996         (WebKit::WebURLLoadTiming::setConnectStartTime):
1997         (WebKit::WebURLLoadTiming::setRequestTimes):
1998         (WebKit::WebURLLoadTiming::setHeadersAvailableTime):
1999         (WebKit::WebURLLoadTiming::WebURLLoadTiming):
2000         (WebKit::WebURLLoadTiming::operator=):
2001         (WebKit::WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>):
2002         * src/WebURLRequest.cpp:
2003         (WebKit::WebURLRequest::reportLoadTiming):
2004         (WebKit::WebURLRequest::setReportLoadTiming):
2005         * src/WebURLResponse.cpp:
2006         (WebKit::WebURLResponse::setConnectionID):
2007         (WebKit::WebURLResponse::setLoadTiming):
2008
2009 2010-07-08  Jay Civelli  <jcivelli@chromium.org>
2010
2011         Reviewed by Darin Fisher.
2012
2013         [chromium] Exposing the EditorClient text field related methods
2014         to the WebViewClient. Also adding some more accessors methods
2015         to the WebNode and WebInputElement.
2016         This is needed to move the password autocomplete out of the
2017         Chromium WebKit API to the Chromium code.
2018         https://bugs.webkit.org/show_bug.cgi?id=41286
2019
2020         * public/WebInputElement.h:
2021         * public/WebNode.h:
2022         (WebKit::operator!=):
2023         (WebKit::operator<):
2024         * public/WebViewClient.h:
2025         (WebKit::WebViewClient::textFieldDidBeginEditing):
2026         (WebKit::WebViewClient::textFieldDidEndEditing):
2027         (WebKit::WebViewClient::textDidChangeInTextField):
2028         (WebKit::WebViewClient::textFieldHandlingKeyDown):
2029         (WebKit::WebViewClient::didAcceptAutocompleteSuggestion):
2030         * src/EditorClientImpl.cpp:
2031         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
2032         (WebKit::EditorClientImpl::textFieldDidEndEditing):
2033         (WebKit::EditorClientImpl::textDidChangeInTextField):
2034         (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
2035         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2036         * src/WebInputElement.cpp:
2037         (WebKit::WebInputElement::readOnly):
2038         (WebKit::WebInputElement::setSelectionRange):
2039         (WebKit::WebInputElement::selectionStart):
2040         (WebKit::WebInputElement::selectionEnd):
2041         * src/WebNode.cpp:
2042         (WebKit::WebNode::lessThan):
2043
2044 2010-07-08  Aaron Boodman  <aa@chromium.org>
2045
2046         Reviewed by Timothy Hatcher.
2047
2048         Add the ability for user scripts and user styles to affect just the top frame.
2049
2050         https://bugs.webkit.org/show_bug.cgi?id=41529
2051
2052         * public/WebView.h:
2053         (WebKit::WebView::):
2054         (WebKit::WebView::addUserScript):
2055         (WebKit::WebView::addUserStyleSheet):
2056         * src/AssertMatchingEnums.cpp:
2057         * src/WebViewImpl.cpp:
2058         (WebKit::WebView::addUserScript):
2059         (WebKit::WebView::addUserStyleSheet):
2060
2061 2010-07-08  James Robinson  <jamesr@google.com>
2062
2063         Reviewed by Darin Fisher.
2064
2065         Allow resizing and getting the texture ID from an offscreen GLES2Context
2066         https://bugs.webkit.org/show_bug.cgi?id=41828
2067
2068         When using an offscreen GLES2Context the caller needs to be able to resize the backing store
2069         managed by the embedder and get access to a texture id to pass to the compositor.  WebGL
2070         does these actions in an indirect way, it will be refactored to use this path.
2071
2072         * public/WebGLES2Context.h:
2073         * src/GLES2Context.cpp:
2074         (WebCore::GLES2Context::resizeOffscreenContent):
2075         (WebCore::GLES2Context::getOffscreenContentParentTextureId):
2076
2077 2010-07-08  Vitaly Repeshko  <vitalyr@chromium.org>
2078
2079         Reviewed by Pavel Feldman.
2080
2081         [chromium] Fix deletion has begun assert in TestWebPopupMenuImpl.
2082         https://bugs.webkit.org/show_bug.cgi?id=41899
2083
2084         * tests/PopupMenuTest.cpp:
2085         (WebKit::TestWebPopupMenuImpl::create):
2086         (WebKit::TestWebViewClient::TestWebViewClient):
2087         (WebKit::TestWebViewClient::createPopupMenu):
2088
2089 2010-07-08  Vitaly Repeshko  <vitalyr@chromium.org>
2090
2091         Reviewed by Pavel Feldman.
2092
2093         [chromium] Fix deletion has begun assertion in TestImage destructor.
2094         https://bugs.webkit.org/show_bug.cgi?id=41883
2095
2096         * tests/DragImageTest.cpp:
2097         (WebCore::TestImage::create):
2098         (WebCore::TEST):
2099
2100 2010-07-08  Vitaly Repeshko  <vitalyr@chromium.org>
2101
2102         Reviewed by Pavel Feldman.
2103
2104         Fix adoptRef usage violations (mostly in chromium)
2105         https://bugs.webkit.org/show_bug.cgi?id=41863
2106
2107         * src/IDBCallbacksProxy.cpp:
2108         (WebCore::IDBCallbacksProxy::create):
2109         * src/WebPopupMenuImpl.cpp:
2110         (WebKit::WebPopupMenu::create):
2111         * src/WebViewImpl.cpp:
2112         (WebKit::WebView::create):
2113
2114 2010-07-07  Alexander Pavlov  <apavlov@chromium.org>
2115
2116         Reviewed by Darin Fisher.
2117
2118         [Chromium] Crash when re-entering message loop
2119
2120         Allow re-entrancy of the message loop by tracking all suspended pages
2121         through a PageGroupLoadDeferrer stack.
2122         https://bugs.webkit.org/show_bug.cgi?id=41697
2123
2124         * src/WebViewImpl.cpp:
2125         (WebKit::WebView::willEnterModalLoop):
2126         (WebKit::WebView::didExitModalLoop):
2127         * src/js/Tests.js:
2128         (.TestSuite.prototype.evaluateInConsole_):
2129         (.TestSuite.prototype.testCompletionOnPause):
2130         (.TestSuite.prototype.testMessageLoopReentrant.this):
2131
2132 2010-07-08  David Holloway  <dhollowa@chromium.org>
2133
2134         Reviewed by Darin Fisher.
2135
2136         [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for 
2137         use by other code in WebKit/chromium/src.
2138
2139         Specific use of these methods is made in WebFrameImpl.cpp.  This is
2140         preferred to the cast operator call that was happening prior to this
2141         change.
2142
2143         https://bugs.webkit.org/show_bug.cgi?id=41477
2144
2145         * public/WebNode.h:
2146         * src/WebFrameImpl.cpp:
2147         (WebKit::WebFrameImpl::registerPasswordListener):
2148         (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2149         (WebKit::WebFrameImpl::getPasswordListener):
2150         * src/WebFrameImpl.h:
2151
2152 2010-07-07  Pavel Podivilov  <podivilov@chromium.org>
2153
2154         Reviewed by Yury Semikhatsky.
2155
2156         Web Inspector: convert script offset to webkit format
2157         https://bugs.webkit.org/show_bug.cgi?id=41755
2158
2159         * src/js/DebuggerScript.js:
2160         ():
2161
2162 2010-07-07  Kent Tamura  <tkent@chromium.org>
2163
2164         Reviewed by Adam Barth.
2165
2166         [DRT/Chromium] DumpRenderTree should depend on ImageDiff
2167         https://bugs.webkit.org/show_bug.cgi?id=41749
2168
2169         We usually use DumpRenderTree with ImageDiff.  So ImageDiff should
2170         be built with DumpRenderTree. Without this change, ImageDiff is not
2171         built in a case of Chromium tree build.
2172         test_shell in Chromium tree also depends on image_diff.
2173
2174         * WebKit.gyp:
2175
2176 2010-07-07  John Abd-El-Malek  <jam@chromium.org>
2177
2178         Reviewed by Darin Fisher.
2179
2180         [chromium] Add a few more methods to WebPlugin so that Pepper v2 plugins can support copy/zoom/find
2181         https://bugs.webkit.org/show_bug.cgi?id=41649
2182
2183         * public/WebPlugin.h:
2184         (WebKit::WebPlugin::hasSelection):
2185         (WebKit::WebPlugin::selectionAsText):
2186         (WebKit::WebPlugin::selectionAsMarkup):
2187         (WebKit::WebPlugin::setZoomFactor):
2188         (WebKit::WebPlugin::supportsFind):
2189         (WebKit::WebPlugin::startFind):
2190         (WebKit::WebPlugin::selectFindResult):
2191         (WebKit::WebPlugin::stopFind):
2192         * src/ContextMenuClientImpl.cpp:
2193         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2194         * src/WebFrameImpl.cpp:
2195         (WebKit::WebFrameImpl::pluginContainerFromFrame):
2196         (WebKit::ChromePluginPrintContext::end):
2197         (WebKit::ChromePluginPrintContext::computePageRects):
2198         (WebKit::ChromePluginPrintContext::spoolPage):
2199         (WebKit::WebFrameImpl::executeCommand):
2200         * src/WebFrameImpl.h:
2201         * src/WebPluginContainerImpl.cpp:
2202         (WebKit::WebPluginContainerImpl::copy):
2203         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2204         * src/WebPluginContainerImpl.h:
2205         * src/WebViewImpl.cpp:
2206         (WebKit::WebViewImpl::setZoomLevel):
2207
2208 2010-07-07  James Hawkins  <jhawkins@chromium.org>
2209
2210         Reviewed by Dimitri Glazkov.
2211
2212         [Chromium] Add setSuggestedValue to WebInputElement
2213         https://bugs.webkit.org/show_bug.cgi?id=41785
2214
2215         * public/WebInputElement.h:
2216         * src/WebInputElement.cpp:
2217         (WebKit::WebInputElement::setSuggestedValue):
2218         (WebKit::WebInputElement::suggestedValue):
2219
2220 2010-07-07  James Robinson  <jamesr@chromium.org> and Vincent Scheib <schieb@chromium.org>
2221
2222         Reviewed by Dimitri Glazkov.
2223
2224         WebCore::GLES2Context should allow creating onscreen and offscreen contexts
2225         https://bugs.webkit.org/show_bug.cgi?id=41492
2226
2227         You should be able to create a GLES2Context for rendering both on screen
2228         and off screen (to a texture).  Currently WebGL does the latter by side
2229         stepping the WebCore::GLES2Context API completely.  Longer term it should
2230         move over to using this.
2231
2232         * src/GLES2Context.cpp:
2233         (WebCore::GLES2ContextInternal::initializeOnscreen):
2234         (WebCore::GLES2ContextInternal::initializeOffscreen):
2235         (WebCore::GLES2Context::createOnscreen):
2236         (WebCore::GLES2Context::createOffscreen):
2237
2238 2010-07-07  Sam Weinig  <sam@webkit.org>
2239
2240         Reviewed by Anders Carlsson.
2241
2242         Patch for https://bugs.webkit.org/show_bug.cgi?id=41772
2243         Add basic piping for BackForwardControllerClient.
2244
2245         * src/WebViewImpl.cpp:
2246         (WebKit::WebViewImpl::WebViewImpl):
2247
2248 2010-07-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2249
2250         Unreviewed, rolling out r62645.
2251         http://trac.webkit.org/changeset/62645
2252         https://bugs.webkit.org/show_bug.cgi?id=41757
2253
2254         "Broken inspector tests on several platforms" (Requested by
2255         eseidel on #webkit).
2256
2257         * src/js/DebuggerScript.js:
2258         ():
2259
2260 2010-07-07  Pavel Podivilov  <podivilov@chromium.org>
2261
2262         Reviewed by Yury Semikhatsky.
2263
2264         Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled.
2265         https://bugs.webkit.org/show_bug.cgi?id=41461
2266
2267         * src/js/DebuggerScript.js:
2268         ():
2269
2270 2010-07-06  Darin Adler  <darin@apple.com>
2271
2272         Try to fix build.
2273
2274         Why do the Chromium bots stop after the first error they encounter?
2275
2276         * src/WebWorkerImpl.cpp:
2277         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): Removed
2278         unneeded release called on a PassOwnPtr to pass it as an argument of
2279         type PassOwnPtr.
2280
2281 2010-07-06  Darin Adler  <darin@apple.com>
2282
2283         Try to fix build.
2284
2285         * src/WebWorkerBase.cpp:
2286         (WebKit::WebWorkerBase::dispatchTaskToMainThread): Use leakPtr instead
2287         of release.
2288         * src/WebWorkerClientImpl.cpp:
2289         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): Removed
2290         unneeded release called on a PassOwnPtr to pass it as an argument of
2291         type PassOwnPtr.
2292
2293 2010-07-06  Darin Adler  <darin@apple.com>
2294
2295         Try to fix build.
2296
2297         * src/WebSharedWorkerImpl.cpp:
2298         (WebKit::WebSharedWorkerImpl::connectTask): Removed unneeded release
2299         called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
2300
2301 2010-07-06  Darin Adler  <darin@apple.com>
2302
2303         Try to fix build.
2304
2305         * src/WebDataSourceImpl.cpp:
2306         (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): Call leakPtr
2307         here instead of release. Comment makes it really unclear why it's OK!
2308
2309 2010-07-06  Darin Adler  <darin@apple.com>
2310
2311         Try to fix build.
2312
2313         * src/SharedWorkerRepository.cpp:
2314         (WebCore::SharedWorkerRepository::connect): Removed unneeded release
2315         called on a PassOwnPtr to pass it as an argument of type PassOwnPtr.
2316
2317 2010-07-05  Yury Semikhatsky  <yurys@chromium.org>
2318
2319         Reviewed by Pavel Feldman.
2320
2321         [v8] Web Inspector: remove v8-specific code dealing with getOwnPropertyNames from InjectedScript.js
2322         https://bugs.webkit.org/show_bug.cgi?id=41595
2323
2324         * src/js/DebuggerScript.js:
2325
2326 2010-07-03  Erik Arvidsson  <arv@chromium.org>
2327
2328         Reviewed by Ojan Vafai.
2329
2330         Fix issue where a contextmenu event was reporting the wrong target
2331         if the context menu was shown due to pressing the context menu key
2332         (or Shift+F10).
2333
2334         https://bugs.webkit.org/show_bug.cgi?id=38129
2335
2336         * src/WebViewImpl.cpp:
2337         (WebKit::WebViewImpl::sendContextMenuEvent):
2338
2339 2010-07-02  Yury Semikhatsky  <yurys@chromium.org>
2340
2341         Reviewed by Pavel Feldman.
2342
2343         [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
2344         https://bugs.webkit.org/show_bug.cgi?id=41511
2345
2346         * src/WebBindings.cpp:
2347         (WebKit::getEvent):
2348
2349 2010-07-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2350
2351         Unreviewed, rolling out r62349.
2352         http://trac.webkit.org/changeset/62349
2353         https://bugs.webkit.org/show_bug.cgi?id=41499
2354
2355         It broke the chromium Linux build. (Requested by dave_levin on
2356         #webkit).
2357
2358         * public/WebNode.h:
2359         * src/WebFrameImpl.cpp:
2360         (WebKit::WebFrameImpl::registerPasswordListener):
2361         (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2362
2363 2010-07-01  David Holloway  <dhollowa@chromium.org>
2364
2365         Reviewed by Darin Fisher.
2366
2367         [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for 
2368         use by other code in WebKit/chromium/src.
2369
2370         Specific use of these methods is made in WebFrameImpl.cpp.  This is
2371         preferred to the cast operator call that was happening prior to this
2372         change.
2373
2374         https://bugs.webkit.org/show_bug.cgi?id=41477
2375
2376         * public/WebNode.h:
2377         * src/WebFrameImpl.cpp:
2378         (WebKit::WebFrameImpl::registerPasswordListener):
2379         (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2380
2381 2010-07-01  Kenneth Russell  <kbr@google.com>
2382
2383         Reviewed by Dimitri Glazkov.
2384
2385         Stop linking against opengl32.lib in Windows Chromium port
2386         https://bugs.webkit.org/show_bug.cgi?id=41424
2387
2388         * WebKit.gyp:
2389         * src/WebGraphicsContext3DDefaultImpl.cpp:
2390         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
2391         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2392         (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
2393         * src/WebGraphicsContext3DDefaultImpl.h:
2394
2395 2010-07-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2396
2397         Unreviewed, rolling out r62246.
2398         http://trac.webkit.org/changeset/62246
2399         https://bugs.webkit.org/show_bug.cgi?id=41470
2400
2401         "Worker tests are broken in Chromium" (Requested by yurys on
2402         #webkit).
2403
2404         * src/WebBindings.cpp:
2405         (WebKit::getEvent):
2406
2407 2010-07-01  David Holloway  <dhollowa@chromium.org>
2408
2409         Reviewed by Darin Fisher.
2410
2411         [chromium] Consolidates AutoFill and Autocomplete popup menus into a single popup menu.
2412
2413         This change combines SuggestionsPopupMenuClient, AutoFillPopupMenuClient, and 
2414         AutocompletePopupMenuClient classes into a single consolidated AutoFillPopupMenuClient class.
2415         Prior to this change the contents of the AutoFill popup menu only included AutoFill
2416         suggestions and similarly the Autocomplete popup menu only included Autocomplete
2417         suggestions.  With this consolidation, both AutoFill and Autocomplete suggestions can
2418         now be displayed in a single menu.
2419
2420         https://bugs.webkit.org/show_bug.cgi?id=41236
2421
2422         * WebKit.gyp:
2423         * public/WebFrame.h:
2424         * public/WebView.h:
2425         * src/AutoFillPopupMenuClient.cpp:
2426         (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
2427         (WebKit::AutoFillPopupMenuClient::~AutoFillPopupMenuClient):
2428         (WebKit::AutoFillPopupMenuClient::valueChanged):
2429         (WebKit::AutoFillPopupMenuClient::selectionCleared):
2430         (WebKit::AutoFillPopupMenuClient::itemText):
2431         (WebKit::AutoFillPopupMenuClient::itemStyle):
2432         (WebKit::AutoFillPopupMenuClient::menuStyle):
2433         (WebKit::AutoFillPopupMenuClient::clientPaddingLeft):
2434         (WebKit::AutoFillPopupMenuClient::clientPaddingRight):
2435         (WebKit::AutoFillPopupMenuClient::popupDidHide):
2436         (WebKit::AutoFillPopupMenuClient::setTextFromItem):
2437         (WebKit::AutoFillPopupMenuClient::fontSelector):
2438         (WebKit::AutoFillPopupMenuClient::hostWindow):
2439         (WebKit::AutoFillPopupMenuClient::createScrollbar):
2440         (WebKit::AutoFillPopupMenuClient::initialize):
2441         (WebKit::AutoFillPopupMenuClient::getWebView):
2442         (WebKit::AutoFillPopupMenuClient::textFieldStyle):
2443         * src/AutoFillPopupMenuClient.h:
2444         (WebKit::AutoFillPopupMenuClient::itemToolTip):
2445         (WebKit::AutoFillPopupMenuClient::itemAccessibilityText):
2446         (WebKit::AutoFillPopupMenuClient::itemIsEnabled):
2447         (WebKit::AutoFillPopupMenuClient::clientInsetLeft):
2448         (WebKit::AutoFillPopupMenuClient::clientInsetRight):
2449         (WebKit::AutoFillPopupMenuClient::listSize):
2450         (WebKit::AutoFillPopupMenuClient::selectedIndex):
2451         (WebKit::AutoFillPopupMenuClient::itemIsLabel):
2452         (WebKit::AutoFillPopupMenuClient::itemIsSelected):
2453         (WebKit::AutoFillPopupMenuClient::shouldPopOver):
2454         (WebKit::AutoFillPopupMenuClient::valueShouldChangeOnHotTrack):
2455         (WebKit::AutoFillPopupMenuClient::setAutocompleteMode):
2456         (WebKit::AutoFillPopupMenuClient::getTextField):
2457         (WebKit::AutoFillPopupMenuClient::getSelectedIndex):
2458         (WebKit::AutoFillPopupMenuClient::setSelectedIndex):
2459         * src/AutocompletePopupMenuClient.cpp: Removed.
2460         * src/AutocompletePopupMenuClient.h: Removed.
2461         * src/EditorClientImpl.cpp:
2462         (WebKit::EditorClientImpl::textFieldDidEndEditing):
2463         (WebKit::EditorClientImpl::doAutofill):
2464         (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
2465         * src/SuggestionsPopupMenuClient.cpp: Removed.
2466         * src/SuggestionsPopupMenuClient.h: Removed.
2467         * src/WebFrameImpl.cpp:
2468         (WebKit::WebFrameImpl::currentHistoryItem):
2469         (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete):
2470         * src/WebFrameImpl.h:
2471         * src/WebViewImpl.cpp:
2472         (WebKit::):
2473         (WebKit::WebViewImpl::WebViewImpl):
2474         (WebKit::WebViewImpl::mouseDown):
2475         (WebKit::WebViewImpl::mouseUp):
2476         (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
2477         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
2478         (WebKit::WebViewImpl::hideAutoFillPopup):
2479         (WebKit::WebViewImpl::setFocus):
2480         (WebKit::WebViewImpl::applyAutoFillSuggestions):
2481         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
2482         (WebKit::WebViewImpl::hidePopups):
2483         (WebKit::WebViewImpl::refreshAutoFillPopup):
2484         * src/WebViewImpl.h:
2485         (WebKit::WebViewImpl::autoFillPopupDidHide):
2486
2487 2010-07-01  Yury Semikhatsky  <yurys@chromium.org>
2488
2489         Reviewed by Adam Barth.
2490
2491         [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute
2492         https://bugs.webkit.org/show_bug.cgi?id=41350
2493
2494         * src/WebBindings.cpp:
2495         (WebKit::getEvent):
2496
2497 2010-07-01  Aaron Boodman  <aa@chromium.org>
2498
2499         Reviewed by Darin Fisher.
2500
2501         Make the user script API static. This makes it more convenient to use
2502         if you don't have a WebView instance yet.
2503
2504         Added static versions of the three methods and re-route current ones
2505         temporarily through the static versions. Will remove the non-static
2506         versions once Chromium has been updated.
2507
2508         Also, expose the URLPattern configuration for user stylesheets, since
2509         they were not before.
2510
2511         https://bugs.webkit.org/show_bug.cgi?id=41385
2512
2513         * public/WebView.h:
2514         (WebKit::WebView::addUserScript):
2515         (WebKit::WebView::addUserStyleSheet):
2516         * src/WebViewImpl.cpp:
2517         (WebKit::WebView::addUserScript):
2518         (WebKit::WebView::addUserStyleSheet):
2519         (WebKit::WebView::removeAllUserContent):
2520
2521 2010-06-30  Kenneth Russell  <kbr@google.com>
2522
2523         Reviewed by Dimitri Glazkov.
2524
2525         Roll forward Chromium DEPS to r51287
2526         https://bugs.webkit.org/show_bug.cgi?id=41430
2527
2528         * DEPS:
2529
2530 2010-06-25  Pavel Feldman  <pfeldman@chromium.org>
2531
2532         Reviewed by Yury Semikhatsky.
2533
2534         Chrome DevTools: Finalize migration to new WebView constructor
2535         (devtools agent is now created within WebViewImpl only).
2536
2537         https://bugs.webkit.org/show_bug.cgi?id=41212
2538
2539         * public/WebDevToolsAgent.h:
2540         * public/WebView.h:
2541         * src/WebDevToolsAgentImpl.cpp:
2542         * src/WebViewImpl.cpp:
2543         (WebKit::WebViewImpl::WebViewImpl):
2544         * src/WebViewImpl.h:
2545         * src/WebWorkerBase.cpp:
2546         (WebKit::WebWorkerBase::initializeLoader):
2547         * tests/PopupMenuTest.cpp:
2548         (WebKit::SelectPopupMenuTest::SetUp):
2549
2550 2010-06-29  Zhenyao Mo  <zmo@google.com>
2551
2552         Reviewed by Dimitri Glazkov.
2553
2554         Implement getAttachedShaders
2555         https://bugs.webkit.org/show_bug.cgi?id=31172
2556
2557         * public/WebGraphicsContext3D.h: Declaration of getAttachedShaders().
2558         * src/GraphicsContext3D.cpp: Implementation of getAttachedShaders().
2559         * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
2560         * src/WebGraphicsContext3DDefaultImpl.h: Declaration of getAttachedShaders().
2561
2562 2010-06-29  Dumitru Daniliuc  <dumi@chromium.org>
2563
2564         Reviewed by Darin Fisher.
2565
2566         Simplify the WebDatabase interface.
2567         https://bugs.webkit.org/show_bug.cgi?id=40607
2568
2569         Do not ref()/deref() the private AbstractDatabase member. This
2570         allows us to use WebDatabase in the destructors of the DB
2571         classes.
2572
2573         * public/WebDatabase.h:
2574         (WebKit::WebDatabase::WebDatabase):
2575         * src/WebDatabase.cpp:
2576         (WebKit::WebDatabase::name):
2577         (WebKit::WebDatabase::displayName):
2578         (WebKit::WebDatabase::estimatedSize):
2579         (WebKit::WebDatabase::securityOrigin):
2580         (WebKit::WebDatabase::WebDatabase):
2581
2582 2010-06-29  Zhe Su  <suzhe@chromium.org>
2583
2584         Reviewed by Darin Fisher.
2585
2586         A crash caused by the patch of bug 40608.
2587         https://bugs.webkit.org/show_bug.cgi?id=41334
2588
2589         * src/WebViewImpl.cpp:
2590         (WebKit::WebViewImpl::caretOrSelectionBounds):
2591
2592 2010-06-29  Victor Wang  <victorw@chromium.org>
2593
2594         Reviewed by Darin Fisher.
2595
2596         [chromium]: Update webkit for chromium multi dll build.
2597
2598         1. Export more webkit APIs for chromium multi dll build.
2599         2. Update DumpRenderTree sources so it can build with webkit.dll
2600         3. Temp disable webkit unit tests for chromium multi dll build.
2601
2602         https://bugs.webkit.org/show_bug.cgi?id=41231
2603
2604         * WebKit.gyp:
2605         * public/WebAccessibilityCache.h:
2606         * public/WebAccessibilityObject.h:
2607         * public/WebEventListener.h:
2608         * public/WebGeolocationServiceMock.h:
2609         * public/WebGraphicsContext3D.h:
2610         * public/WebIDBDatabaseError.h:
2611         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
2612         (WebKit::WebIDBDatabaseError::operator=):
2613         * public/WebNotification.h:
2614         * public/WebPasswordFormData.h:
2615         * public/WebSearchableFormData.h:
2616         * public/WebStorageEventDispatcher.h:
2617         * public/WebString.h:
2618         (WebKit::WebString::WebString):
2619         (WebKit::WebString::operator=):
2620
2621 2010-06-29  Vangelis Kokkevis  <vangelis@chromium.org>
2622
2623         Reviewed by Darin Fisher.
2624
2625         [Chromium] Hooking up GraphicsContext3D to the gpu compositor.
2626         GraphicsContext3DInternal is now initialized with a pointer to the HostWindow
2627         that corresponds to the WebView containing the context. The initializer
2628         forces a WebGLES2Context to be created for the WebView (if one doesn't already
2629         exist) and uses the view's GL context as a parent to the GL context created
2630         for WebGL. This allows the compositor to read the texture associated with 
2631         WebGL's frame buffer. We also plumb though GraphicsContext3D's prepareTexture
2632         and platformLayer methods which are required by the compositor code.
2633         https://bugs.webkit.org/show_bug.cgi?id=41243
2634
2635         * public/WebGraphicsContext3D.h:
2636         * public/WebView.h:
2637             Made gles2Context() a virtual method on WebView instead of WebViewImpl
2638             to allow access to it from GraphicsContext3DInternal::initialize().
2639         * src/GraphicsContext3D.cpp:
2640         (WebCore::GraphicsContext3DInternal::initialize):
2641         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
2642         (WebCore::GraphicsContext3DInternal::platformTexture):
2643         (WebCore::GraphicsContext3DInternal::prepareTexture):
2644         (WebCore::GraphicsContext3DInternal::platformLayer):
2645         (WebCore::GraphicsContext3D::create):
2646         (WebCore::GraphicsContext3D::prepareTexture):
2647         (WebCore::GraphicsContext3D::platformLayer):
2648         * src/WebGraphicsContext3DDefaultImpl.cpp:
2649         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2650         (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId):
2651         (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
2652         * src/WebGraphicsContext3DDefaultImpl.h:
2653         * src/WebViewImpl.h:
2654
2655 2010-06-29  Pavel Podivilov  <podivilov@chromium.org>
2656
2657         Reviewed by Yury Semikhatsky.
2658
2659         Web Inspector: return line number where breakpoint was actually set by v8 from setBreakpoint function.
2660         https://bugs.webkit.org/show_bug.cgi?id=40781
2661
2662         * src/js/DebuggerScript.js:
2663         ():
2664
2665 2010-06-23  John Gregg  <johnnyg@google.com>
2666
2667         Reviewed by Kent Tamura.
2668
2669         add ENABLE_DIRECTORY_UPLOAD build support
2670         https://bugs.webkit.org/show_bug.cgi?id=41100
2671
2672         * features.gypi:
2673
2674 2010-06-28  Zhe Su  <suzhe@chromium.org>
2675
2676         Reviewed by Jian Li.
2677
2678         [chromium]Remove deprecated code related to input method.
2679         https://bugs.webkit.org/show_bug.cgi?id=41244
2680
2681         Also update TestWebWidget in tests/PopupMenuTest.cpp to add missing implementations.
2682
2683         * WebKit.gyp:
2684         * public/WebCompositionCommand.h: Removed.
2685         * public/WebViewClient.h:
2686         * public/WebWidget.h:
2687         * src/EditorClientImpl.cpp:
2688         (WebKit::EditorClientImpl::setInputMethodState):
2689         * src/WebPopupMenuImpl.cpp:
2690         * src/WebPopupMenuImpl.h:
2691         * src/WebViewImpl.cpp:
2692         * src/WebViewImpl.h:
2693         * tests/PopupMenuTest.cpp:
2694         (WebKit::TestWebWidget::setComposition):
2695         (WebKit::TestWebWidget::confirmComposition):
2696         (WebKit::TestWebWidget::textInputType):
2697         (WebKit::TestWebWidget::caretOrSelectionBounds):
2698
2699 2010-06-27  John Abd-El-Malek  <jam@chromium.org>
2700
2701         Reviewed by Darin Fisher.
2702
2703         [chromium] Get the selected text from plugins for right click menu
2704         https://bugs.webkit.org/show_bug.cgi?id=41242
2705
2706         * public/WebContextMenuData.h:
2707         (WebKit::WebContextMenuData::):
2708         * public/WebPlugin.h:
2709         (WebKit::WebPlugin::selectedText):
2710         * src/ContextMenuClientImpl.cpp:
2711         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2712         * src/WebPluginContainerImpl.cpp:
2713         (WebKit::WebPluginContainerImpl::selectedText):
2714         * src/WebPluginContainerImpl.h:
2715
2716 2010-06-28  Yury Semikhatsky  <yurys@chromium.org>
2717
2718         Unreviewed. Fix Chromium debugger tests.
2719
2720         * src/js/Tests.js:
2721         (.TestSuite.prototype.testDebugIntrinsicProperties):
2722
2723 2010-06-25  Yuzo Fujishima  <yuzo@google.com>
2724
2725         Reviewed by Shinichiro Hamaji.
2726
2727         Improve default value handling for page format properties.
2728         https://bugs.webkit.org/show_bug.cgi?id=41150
2729
2730         * public/WebFrame.h:
2731         * src/WebFrameImpl.cpp:
2732         (WebKit::WebFrameImpl::pageSizeAndMarginsInPixels):
2733         * src/WebFrameImpl.h:
2734
2735 2010-06-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2736
2737         Unreviewed, rolling out r61943.
2738         http://trac.webkit.org/changeset/61943
2739         https://bugs.webkit.org/show_bug.cgi?id=41251
2740
2741         Totally breaks webkit_unit_tests on Chromium linux and mac
2742         (Requested by mnaganov on #webkit).
2743
2744         * WebKit.gyp:
2745         * src/WebFrameImpl.cpp:
2746         (WebKit::frameContentAsPlainText):
2747         * tests/RunAllTests.cpp:
2748         (main):
2749         * tests/WebFrameTest.cpp: Removed.
2750         * tests/data/iframes_test.html: Removed.
2751         * tests/data/invisible_iframe.html: Removed.
2752         * tests/data/visible_iframe.html: Removed.
2753         * tests/data/zero_sized_iframe.html: Removed.
2754
2755 2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
2756
2757         Reviewed by Dimitri Glazkov.
2758
2759         Disable Web Timing support by default for chromium port.
2760         https://bugs.webkit.org/show_bug.cgi?id=38924
2761
2762         * features.gypi:
2763
2764 2010-06-25  Jay Civelli  <jcivelli@chromium.org>
2765
2766         Reviewed by Darin Fisher.
2767
2768         [chromium] Made WebFrame not report the text from hidden frames.
2769         (some pages contain hidden frames with garbage text that
2770         should not be indexed or used to detect the page's language).
2771         https://bugs.webkit.org/show_bug.cgi?id=39456
2772
2773         * DEPS:
2774         * WebKit.gyp:
2775         * src/WebFrameImpl.cpp:
2776         (WebKit::frameContentAsPlainText):
2777         * tests/RunAllTests.cpp:
2778         (main):
2779         * tests/WebFrameTest.cpp: Added.
2780         * tests/data: Added.
2781         * tests/data/iframes_test.html: Added.
2782         * tests/data/invisible_iframe.html: Added.
2783         * tests/data/visible_iframe.html: Added.
2784         * tests/data/zero_sized_iframe.html: Added.
2785
2786 2010-06-25  Bernhard Bauer  <bauerb@chromium.org>
2787
2788         Reviewed by Darin Fisher.
2789
2790         Add plugin accessors to WebPluginContainer.
2791         https://bugs.webkit.org/show_bug.cgi?id=41145
2792
2793         * public/WebPluginContainer.h:
2794         * src/WebPluginContainerImpl.h:
2795         (WebKit::WebPluginContainerImpl::setPlugin):
2796
2797 2010-06-25  Sterling Swigart  <sswigart@google.com>
2798
2799         Reviewed by David Levin.
2800
2801         Resetting ENABLE_IMAGE_RESIZER to 0. Image.webkitGetImage needs to be developed under
2802         a 0 value, at least until both the JSC and V8 bindings are in place.
2803         https://bugs.webkit.org/show_bug.cgi?id=41116
2804
2805         * features.gypi: ENABLE_IMAGE_RESIZER=0
2806
2807 2010-06-25  Victor Wang  <victorw@chromium.org>
2808
2809         Reviewed by Darin Fisher.
2810
2811         [Chromium] Update chromium webkit gyp so it has
2812         option to be built as DLL.
2813
2814         Chromium webkit is built as webkit.dll on windows
2815         if it is inside chromium build and variable component
2816         is set to shared_library.
2817
2818         https://bugs.webkit.org/show_bug.cgi?id=41161
2819
2820         * WebKit.gyp:
2821
2822 2010-06-25  John Abd-El-Malek  <jam@chromium.org>
2823
2824         Reviewed by David Levin.
2825
2826         [chromium] Send unhandled events to Node's default handler
2827         https://bugs.webkit.org/show_bug.cgi?id=41223
2828
2829         * src/WebPluginContainerImpl.cpp:
2830         (WebKit::WebPluginContainerImpl::handleEvent):
2831
2832 2010-06-25  Daniel Cheng  <dcheng@chromium.org>
2833
2834         Reviewed by Darin Fisher.
2835
2836         [chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data.
2837
2838         This change adds new stubs for querying for data in a clipboard or drag operation. This is
2839         so adding support for more data types in clipboard/drag operations doesn't become
2840         increasingly expensive, since we currently copy all the drag data we need every time a new
2841         web drop target is entered. It also adds a new mechanism to write back to the system
2842         clipboard that isn't tied to one data type.
2843
2844         https://bugs.webkit.org/show_bug.cgi?id=40540
2845
2846         * public/WebClipboard.h:
2847         (WebKit::WebClipboard::):
2848         (WebKit::WebClipboard::isFormatAvailable):
2849         (WebKit::WebClipboard::readPlainText):
2850         (WebKit::WebClipboard::readHTML):
2851         (WebKit::WebClipboard::writePlainText):
2852         (WebKit::WebClipboard::writeHTML):
2853         (WebKit::WebClipboard::writeURL):
2854         (WebKit::WebClipboard::writeImage):
2855         (WebKit::WebClipboard::writeData):
2856         (WebKit::WebClipboard::readAvailableTypes):
2857         (WebKit::WebClipboard::readData):
2858         (WebKit::WebClipboard::readFilenames):
2859         * public/WebKitClient.h:
2860         * src/AssertMatchingEnums.cpp:
2861         * src/ChromiumBridge.cpp:
2862         (WebCore::ChromiumBridge::clipboardWriteData):
2863         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
2864         (WebCore::ChromiumBridge::clipboardReadData):
2865         (WebCore::ChromiumBridge::clipboardReadFilenames):
2866
2867 2010-06-25  Lei Zheng  <lzheng@chromium.org>
2868
2869         Reviewed by Dimitri Glazkov.
2870
2871         [Chromium] Add a flag to the ResourceResponse for tracking if a request was fetched
2872         when Alternate-Protocol is available.
2873
2874         https://bugs.webkit.org/show_bug.cgi?id=41001
2875
2876         * public/WebURLResponse.h:
2877         * src/WebURLResponse.cpp:
2878         (WebKit::WebURLResponse::wasAlternateProtocolAvailable):
2879         (WebKit::WebURLResponse::setWasAlternateProtocolAvailable):
2880
2881 2010-06-25  Michael Nordman  <michaeln@google.com>
2882
2883         Reviewed by Dumitru Daniliuc.
2884
2885         Additional API to pass additional info needed for AppCache progress events.
2886         https://bugs.webkit.org/show_bug.cgi?id=37602
2887
2888         Also, delete an obsolete method from the worker API.
2889
2890         * public/WebApplicationCacheHostClient.h: define a new method
2891         * public/WebSharedWorker.h: remove an obsolte method
2892         * src/ApplicationCacheHostInternal.h: implement the new method
2893         (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
2894
2895 2010-06-25  John Gregg  <johnnyg@google.com>
2896
2897         Reviewed by Darin Fisher.
2898
2899         Notification should expose ltr/rtl as TextDirection, not String
2900         https://bugs.webkit.org/show_bug.cgi?id=40871
2901
2902         * public/WebNotification.h:
2903         * src/WebNotification.cpp:
2904         (WebKit::WebNotification::direction):
2905
2906 2010-06-24  Eric Seidel  <eric@webkit.org>
2907
2908         Reviewed by Adam Barth.
2909
2910         Clean up and document DocumentWriter::replaceDocument code path
2911         https://bugs.webkit.org/show_bug.cgi?id=41182
2912
2913         * src/WebFrameImpl.cpp:
2914         (WebKit::WebFrameImpl::loadJavaScriptURL):
2915          - Make Chromium use DocumentWriter like it should.
2916
2917 2010-06-24  Vangelis Kokkevis  <vangelis@chromium.org>
2918
2919         Reviewed by Darin Fisher.
2920
2921         [Chromium] A WebView can now own a GLES2Context which gets created on
2922         demand. This context will typically be created for the gpu compositor
2923         and used as a parent context for any elements on the page that use the
2924         gpu for rendering (e.g. WebGL) and need to pass their backbuffer directly
2925         to the compositor.
2926         https://bugs.webkit.org/show_bug.cgi?id=41010
2927
2928         * public/WebGLES2Context.h:
2929         * src/GLES2Context.cpp:
2930         (WebCore::GLES2ContextInternal::getWebGLES2Context):
2931         (WebCore::GLES2ContextInternal::initialize):
2932         * src/WebViewImpl.cpp:
2933         (WebKit::WebViewImpl::WebViewImpl):
2934         (WebKit::WebViewImpl::gles2Context):
2935         * src/WebViewImpl.h:
2936
2937 2010-06-24  Pavel Feldman  <pfeldman@chromium.org>
2938
2939         Reviewed by Yury Semikhatsky.
2940  
2941         Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
2942
2943         https://bugs.webkit.org/show_bug.cgi?id=41094
2944
2945         - Merged InspectorClient implementation into WebDevToolsAgent
2946         - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
2947         - Removed a lot of legacy code from WebDevToolsAgentImpl
2948         - Removed a lot of overrides from DevTools.js
2949         - Simplified devtools stubs
2950         - Got rid of all logic from within InjectDispatch.js
2951
2952         * public/WebView.h:
2953         * src/FrameLoaderClientImpl.cpp:
2954         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
2955         * src/InspectorClientImpl.cpp:
2956         (WebKit::InspectorClientImpl::inspectorDestroyed):
2957         (WebKit::InspectorClientImpl::openInspectorFrontend):
2958         (WebKit::InspectorClientImpl::highlight):
2959         (WebKit::InspectorClientImpl::hideHighlight):
2960         (WebKit::InspectorClientImpl::populateSetting):
2961         (WebKit::InspectorClientImpl::storeSetting):
2962         (WebKit::InspectorClientImpl::sendMessageToFrontend):
2963         (WebKit::InspectorClientImpl::resourceTrackingWasEnabled):
2964         (WebKit::InspectorClientImpl::resourceTrackingWasDisabled):
2965         (WebKit::InspectorClientImpl::timelineProfilerWasStarted):
2966         (WebKit::InspectorClientImpl::timelineProfilerWasStopped):
2967         (WebKit::InspectorClientImpl::devToolsAgent):
2968         * src/InspectorClientImpl.h:
2969         * src/InspectorFrontendClientImpl.cpp:
2970         (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
2971         * src/ToolsAgent.h:
2972         * src/WebDevToolsAgentImpl.cpp:
2973         (WebKit::):
2974         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
2975         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
2976         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
2977         (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
2978         (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
2979         (WebKit::WebDevToolsAgentImpl::highlight):
2980         (WebKit::WebDevToolsAgentImpl::hideHighlight):
2981         (WebKit::WebDevToolsAgentImpl::populateSetting):
2982         (WebKit::WebDevToolsAgentImpl::storeSetting):
2983         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
2984         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
2985         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
2986         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
2987         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
2988         * src/WebDevToolsAgentImpl.h:
2989         * src/WebDevToolsAgentPrivate.h:
2990         * src/WebViewImpl.cpp:
2991         (WebKit::WebView::create):
2992         (WebKit::WebViewImpl::WebViewImpl):
2993         * src/WebViewImpl.h:
2994         * src/js/DevTools.js:
2995         (devtools.ToolsAgent):
2996         ():
2997         (devtools):
2998         * src/js/DevToolsHostStub.js:
2999         (.window.setDebuggerScriptSource):
3000         (.window.dispatchOnInjectedScript):
3001         * src/js/InjectDispatch.js:
3002         (dispatch):
3003         * src/js/InspectorControllerImpl.js:
3004
3005 2010-06-24  Pavel Feldman  <pfeldman@chromium.org>
3006
3007         Not reviewed: revert 61766.
3008
3009         * WebKit.gyp:
3010         * public/WebView.h:
3011         * src/FrameLoaderClientImpl.cpp:
3012         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
3013         * src/InspectorClientImpl.cpp: Added.
3014         (WebKit::InspectorClientImpl::InspectorClientImpl):
3015         (WebKit::InspectorClientImpl::~InspectorClientImpl):
3016         (WebKit::InspectorClientImpl::inspectorDestroyed):
3017         (WebKit::InspectorClientImpl::openInspectorFrontend):
3018         (WebKit::invalidateNodeBoundingRect):
3019         (WebKit::InspectorClientImpl::highlight):
3020         (WebKit::InspectorClientImpl::hideHighlight):
3021         (WebKit::InspectorClientImpl::populateSetting):
3022         (WebKit::InspectorClientImpl::storeSetting):
3023         (WebKit::InspectorClientImpl::sendMessageToFrontend):
3024         * src/InspectorClientImpl.h: Added.
3025         * src/InspectorFrontendClientImpl.cpp:
3026         (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
3027         * src/ToolsAgent.h:
3028         * src/WebDevToolsAgentImpl.cpp:
3029         (WebKit::):
3030         (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
3031         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
3032         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
3033         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
3034         (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
3035         (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
3036         (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
3037         * src/WebDevToolsAgentImpl.h:
3038         * src/WebDevToolsAgentPrivate.h:
3039         * src/WebViewImpl.cpp:
3040         (WebKit::WebView::create):
3041         (WebKit::WebViewImpl::WebViewImpl):
3042         (WebKit::WebViewImpl::setDevToolsAgent):
3043         * src/WebViewImpl.h:
3044         * src/WebWorkerBase.cpp:
3045         (WebKit::WebWorkerBase::initializeLoader):
3046         * src/js/DevTools.js:
3047         (devtools.ToolsAgent):
3048         (devtools.ToolsAgent.prototype.frameNavigate_):
3049         ():
3050         * src/js/DevToolsHostStub.js:
3051         (.RemoteDebuggerAgentStub):
3052         (.RemoteDebuggerAgentStub.prototype.getContextId):
3053         (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
3054         (.RemoteProfilerAgentStub):
3055         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
3056         (.RemoteProfilerAgentStub.prototype.getLogLines):
3057         (.RemoteToolsAgentStub):
3058         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
3059         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
3060         (.ProfilerStubHelper):
3061         (.ProfilerStubHelper.GetInstance):
3062         (.ProfilerStubHelper.prototype.StopProfiling):
3063         (.ProfilerStubHelper.prototype.StartProfiling):
3064         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
3065         (.ProfilerStubHelper.prototype.getLogLines):
3066         (.RemoteDebuggerCommandExecutorStub):
3067         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
3068         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
3069         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
3070         (.DevToolsHostStub):
3071         (.DevToolsHostStub.prototype.reset):
3072         (.DevToolsHostStub.prototype.setting):
3073         (.DevToolsHostStub.prototype.setSetting):
3074         * src/js/InjectDispatch.js:
3075         (ApuAgentDispatcher.dispatchToApu):
3076         (dispatch):
3077         * src/js/InspectorControllerImpl.js:
3078         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
3079         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
3080
3081 2010-06-23  Pavel Feldman  <pfeldman@chromium.org>
3082
3083         Reviewed by Yury Semikhatsky.
3084
3085         Web Inspector: Inspector cleanup + better DevTools alignment with Inspector.
3086         
3087         https://bugs.webkit.org/show_bug.cgi?id=41094
3088
3089         - Merged InspectorClient implementation into WebDevToolsAgent
3090         - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing)
3091         - Removed a lot of legacy code from WebDevToolsAgentImpl
3092         - Removed a lot of overrides from DevTools.js
3093         - Simplified devtools stubs
3094         - Got rid of all logic from within InjectDispatch.js
3095
3096         * WebKit.gyp:
3097         * public/WebDevToolsAgent.h:
3098         * public/WebView.h:
3099         * src/FrameLoaderClientImpl.cpp:
3100         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
3101         * src/InspectorFrontendClientImpl.cpp:
3102         (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
3103         * src/ToolsAgent.h:
3104         * src/WebDevToolsAgentImpl.cpp:
3105         (WebKit::):
3106         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
3107         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
3108         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
3109         (WebKit::WebDevToolsAgentImpl::inspectorDestroyed):
3110         (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
3111         (WebKit::WebDevToolsAgentImpl::highlight):
3112         (WebKit::WebDevToolsAgentImpl::hideHighlight):
3113         (WebKit::WebDevToolsAgentImpl::populateSetting):
3114         (WebKit::WebDevToolsAgentImpl::storeSetting):
3115         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
3116         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled):
3117         (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled):
3118         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted):
3119         (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped):
3120         * src/WebDevToolsAgentImpl.h:
3121         * src/WebDevToolsAgentPrivate.h:
3122         * src/WebViewImpl.cpp:
3123         (WebKit::WebView::create):
3124         (WebKit::WebViewImpl::WebViewImpl):
3125         * src/WebViewImpl.h:
3126         * src/WebWorkerBase.cpp:
3127         (WebKit::WebWorkerBase::initializeLoader):
3128         * src/js/DevTools.js:
3129         (devtools.ToolsAgent):
3130         ():
3131         (devtools):
3132         * src/js/DevToolsHostStub.js:
3133         (.window.setDebuggerScriptSource):
3134         (.window.dispatchOnInjectedScript):
3135         * src/js/InjectDispatch.js:
3136         (dispatch):
3137         * src/js/InspectorControllerImpl.js:
3138
3139 2010-06-24  Yury Semikhatsky  <yurys@chromium.org>
3140
3141         Reviewed by Pavel Feldman.
3142
3143         Web Inspector: implement layout tests for debugger
3144         https://bugs.webkit.org/show_bug.cgi?id=40774
3145
3146         * src/WebDevToolsFrontendImpl.cpp:
3147         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
3148
3149 2010-06-23  Tony Chang  <tony@chromium.org>
3150
3151         Reviewed by Darin Fisher.
3152
3153         layout test for a crash in chromium multipart request handling
3154         https://bugs.webkit.org/show_bug.cgi?id=41050
3155
3156         Also roll DEPS to pick up the crash fix.
3157
3158         * DEPS:
3159
3160 2010-06-23  Yuzo Fujishima  <yuzo@google.com>
3161
3162         Reviewed by Shinichiro Hamaji.
3163
3164         Make page format data methods accessible from Chromium
3165         https://bugs.webkit.org/show_bug.cgi?id=41056
3166
3167         * public/WebFrame.h:
3168         * src/WebFrameImpl.cpp:
3169         (WebKit::WebFrameImpl::isPageBoxVisible):
3170         (WebKit::WebFrameImpl::pageAreaRectInPixels):
3171         (WebKit::WebFrameImpl::preferredPageSizeInPixels):
3172         * src/WebFrameImpl.h:
3173
3174 2010-06-22  Adam Barth  <abarth@webkit.org>
3175
3176         Reviewed by Eric Seidel.
3177
3178         Rename HTMLDocumentParser to LegacyHTMLDocumentParser
3179         https://bugs.webkit.org/show_bug.cgi?id=41043
3180
3181         * src/WebEntities.cpp:
3182
3183 2010-06-22  Pavel Feldman  <pfeldman@chromium.org>
3184
3185         Not reviewed: follow up to r61655 to make Chromium tests happy.
3186
3187         * src/js/InspectorControllerImpl.js:
3188         (devtools.InspectorBackendImpl):
3189
3190 2010-06-22  Mikhail Naganov  <mnaganov@chromium.org>
3191
3192         Reviewed by Pavel Feldman.
3193
3194         [Chromium] Clean up after removal of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
3195
3196         https://bugs.webkit.org/show_bug.cgi?id=40914
3197
3198         * public/WebDevToolsAgentClient.h:
3199
3200 2010-06-22  Mikhail Naganov  <mnaganov@chromium.org>
3201
3202         Reviewed by Pavel Feldman.
3203
3204         [Chromium] Add a sanity test for heap profiler.
3205
3206         https://bugs.webkit.org/show_bug.cgi?id=40917
3207
3208         * src/js/Tests.js:
3209         (.TestSuite.prototype.testHeapProfiler.findDisplayedNode):
3210         (.TestSuite.prototype.testHeapProfiler.findVisibleView):
3211         (.TestSuite.prototype.testHeapProfiler):
3212
3213 2010-06-21  MORITA Hajime  <morrita@google.com>
3214
3215         Reviewed by Darin Fisher.
3216
3217         [Chromium] Dragging outside the frame immediately causes page to scroll
3218         http://webkit.org/b/40461
3219
3220         This is regression that was introduced at http://webkit.org/b/39725.
3221         
3222         There are 2 problems:
3223         1. It starts auto-scrolling immediately. We should have some delay.
3224         2. The scroll continues even after a mouse cursor goes outside a frame.
3225            The scroll should be stopped when the curosr has left.
3226         
3227         This change introduced DragScrollTimer to handle 1. 
3228         At the same time, it fixed DragScrollTimer::scrollDistanceFor() to
3229         handle 2, We now stop scrolling when the cursor gone.
3230         
3231         * WebKit.gyp:
3232         * src/DragScrollTimer.cpp: Added.
3233         (WebKit::distanceToRect):
3234         (WebKit::DragScrollTimer::DragScrollTimer):
3235         (WebKit::DragScrollTimer::~DragScrollTimer):
3236         (WebKit::DragScrollTimer::stop):
3237         (WebKit::DragScrollTimer::scroll):
3238         (WebKit::DragScrollTimer::update):
3239         (WebKit::DragScrollTimer::triggerScroll):
3240         (WebKit::DragScrollTimer::scrollDistanceFor):
3241         * src/DragScrollTimer.h: Added.
3242         (WebKit::DragScrollTimer::fired):
3243         (WebKit::DragScrollTimer::shouldScroll):
3244         * src/WebViewImpl.cpp:
3245         (WebKit::WebViewImpl::WebViewImpl):
3246         (WebKit::WebViewImpl::dragSourceEndedAt):
3247         (WebKit::WebViewImpl::dragSourceMovedTo):
3248         (WebKit::WebViewImpl::dragTargetDrop):
3249         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
3250         * src/WebViewImpl.h:
3251
3252 2010-06-21  Kent Tamura  <tkent@chromium.org>
3253
3254         Reviewed by Dimitri Glazkov.
3255
3256         [Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER
3257         https://bugs.webkit.org/show_bug.cgi?id=40905
3258
3259         EVENTSOURCE: It is already enabled in Chromium browser. This fixes
3260         some tests with Chromium DRT.
3261
3262         FILE_WRITER and IMAGE_RESIZER: Enable experimental features in
3263         order to test them before enabling them in Chromium browser.
3264
3265         * features.gypi:
3266
3267 2010-06-21  Satish Sampath  <satish@chromium.org>
3268
3269         Reviewed by Steve Block.
3270
3271         Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
3272         https://bugs.webkit.org/show_bug.cgi?id=40878
3273
3274         * features.gypi:
3275
3276 2010-06-21  Mikhail Naganov  <mnaganov@chromium.org>
3277
3278         Reviewed by Yury Semikhatsky.
3279
3280         [Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.
3281
3282         Also, move WebDevToolsMessageTransport to its own header file.
3283
3284         https://bugs.webkit.org/show_bug.cgi?id=40913
3285
3286         * DEPS:
3287         * WebKit.gyp:
3288         * public/WebDevToolsAgent.h:
3289         * public/WebDevToolsAgentClient.h:
3290         * public/WebDevToolsMessageTransport.h: Added.
3291         (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
3292         * src/WebDevToolsAgentImpl.cpp:
3293         (WebKit::):
3294
3295 2010-06-20  Yury Semikhatsky  <yurys@chromium.org>
3296
3297         Reviewed by Pavel Feldman.
3298
3299         [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
3300         v8 debugging protocol.
3301
3302         * src/DebuggerAgentManager.cpp:
3303         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
3304
3305 2010-06-19  Jay Civelli  <jcivelli@chromium.org>
3306
3307         Reviewed by David Levin.
3308
3309         Adding a < operator to WebURLs so they can be used in std::maps.
3310         https://bugs.webkit.org/show_bug.cgi?id=40632
3311
3312         * public/WebCString.h:
3313         (WebKit::operator<):
3314         * public/WebURL.h:
3315         (WebKit::operator<):
3316         * src/WebCString.cpp:
3317         (WebKit::WebCString::compare):
3318
3319 2010-06-19  Kent Tamura  <tkent@chromium.org>
3320
3321         Unreviewed. Build fix for r61488.
3322
3323         * features.gypi: Define use_accelerated_compositing.
3324
3325 2010-06-19  Thomas Van Lenten  <thomasvl@chromium.org>
3326
3327         Reviewed by David Levin.
3328
3329         Warnings from -Wextra in a Chromium Mac build
3330         1. checks of unsigned >= 0
3331         2. enumeral and non-enumeral type in conditional expression
3332         3. copy ctors that don't call the super copy ctor or ctor
3333
3334         https://bugs.webkit.org/show_bug.cgi?id=40791
3335
3336         * src/AutoFillPopupMenuClient.cpp:
3337         (WebKit::AutoFillPopupMenuClient::getSuggestion):
3338         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
3339         (WebKit::AutoFillPopupMenuClient::valueChanged):
3340         (WebKit::AutoFillPopupMenuClient::selectionChanged):
3341         * src/AutocompletePopupMenuClient.cpp:
3342         (WebKit::AutocompletePopupMenuClient::getSuggestion):
3343         (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
3344
3345 2010-06-19  Zhe Su  <suzhe@chromium.org>
3346
3347         Reviewed by Darin Fisher.
3348
3349         [chromium]Refactor input method related APIs.
3350         https://bugs.webkit.org/show_bug.cgi?id=40608
3351
3352         * WebKit.gyp:
3353         * public/WebCompositionCommand.h:
3354         * public/WebCompositionUnderline.h: Added.
3355         (WebKit::WebCompositionUnderline::WebCompositionUnderline):
3356         * public/WebTextInputType.h: Added.
3357         (WebKit::):
3358         * public/WebViewClient.h:
3359         * public/WebWidget.h:
3360         * public/WebWidgetClient.h:
3361         (WebKit::WebWidgetClient::resetInputMethod):
3362         * src/CompositionUnderlineBuilder.h: Added.
3363         (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
3364         * src/CompositionUnderlineVectorBuilder.cpp: Added.
3365         (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
3366         * src/CompositionUnderlineVectorBuilder.h: Added.
3367         * src/EditorClientImpl.cpp:
3368         (WebKit::EditorClientImpl::setInputMethodState):
3369         * src/WebPopupMenuImpl.cpp:
3370         (WebKit::WebPopupMenuImpl::setComposition):
3371         (WebKit::WebPopupMenuImpl::confirmComposition):
3372         (WebKit::WebPopupMenuImpl::textInputType):
3373         (WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
3374         * src/WebPopupMenuImpl.h:
3375         * src/WebViewImpl.cpp:
3376         (WebKit::WebViewImpl::handleCompositionEvent):
3377         (WebKit::WebViewImpl::setComposition):
3378         (WebKit::WebViewImpl::confirmComposition):
3379         (WebKit::WebViewImpl::textInputType):
3380         (WebKit::WebViewImpl::caretOrSelectionBounds):
3381         * src/WebViewImpl.h:
3382
3383 2010-06-19  Victoria Kirst  <vrk@google.com>
3384
3385         Reviewed by David Levin.
3386
3387         Modifying the WebMediaPlayer interface to be compatible with
3388         a change in chrome.
3389         This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
3390         has been updated, so this commit should NOT break chromium anymore,
3391         nor should it cause any test failures.
3392         https://bugs.webkit.org/show_bug.cgi?id=39445
3393
3394         * public/WebMediaPlayer.h: Changed buffered() to be non-const.
3395
3396 2010-06-19  Zhenyao Mo  <zmo@google.com>
3397
3398         Reviewed by Dimitri Glazkov.
3399
3400         fast/canvas/webgl/get-active-test.html failed in Chrome Mac
3401         https://bugs.webkit.org/show_bug.cgi?id=40496
3402
3403         * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent().
3404         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
3405         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
3406         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
3407
3408 2010-06-18  Aaron Boodman  <aa@chromium.org>
3409
3410         Remove WebKit::WebDocument::isXHTMLDocument.
3411         https://bugs.webkit.org/show_bug.cgi?id=40815
3412
3413         * public/WebDocument.h: Remove isXHTMLDocument().
3414         * src/WebDocument.cpp: Ditto.
3415
3416 2010-06-19  Aaron Boodman  <aa@chromium.org>
3417
3418         Unreviewed, rolling out r61466.
3419         http://trac.webkit.org/changeset/61466
3420         https://bugs.webkit.org/show_bug.cgi?id=40816
3421
3422         Landed wrong change
3423
3424         * src/WebKit.cpp:
3425         (WebKit::shutdown):
3426
3427 2010-06-18  Aaron Boodman  <aa@chromium.org>
3428
3429         WebKit API: Undo static hooks into V8 when WebKit is shut downm
3430         https://bugs.webkit.org/show_bug.cgi?id=40816
3431
3432         * src/WebKit.cpp:
3433         (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded().
3434
3435 2010-06-18  Drew Wilson  <atwilson@chromium.org>
3436
3437         Reviewed by Darin Fisher.
3438
3439         [Chromium] Plumbing for top-level frame names
3440         https://bugs.webkit.org/show_bug.cgi?id=40430
3441
3442         * public/WebFrame.h:
3443         Removed obsolete clearName() API and added better documentation for
3444         setName().
3445         * src/WebFrameImpl.cpp:
3446         Removed clearName() API.
3447         * src/WebFrameImpl.h:
3448         Removed clearName() API.
3449
3450 2010-06-18  Drew Wilson  <atwilson@chromium.org>
3451
3452         Reviewed by Dumitru Daniliuc.
3453
3454         Roll chromium DEPS 50089:50171
3455         https://bugs.webkit.org/show_bug.cgi?id=40842
3456
3457         * DEPS:
3458         Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName().
3459
3460 2010-06-18  Mikhail Naganov  <mnaganov@chromium.org>
3461
3462         Reviewed by Yury Semikhatsky.
3463
3464         Implement 'takeHeapSnapshot' in InspectorController.
3465
3466         https://bugs.webkit.org/show_bug.cgi?id=40834
3467
3468         * src/js/HeapProfilerPanel.js:
3469         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
3470         * src/js/InspectorControllerImpl.js:
3471         (devtools.InspectorBackendImpl):
3472         * src/js/ProfilerAgent.js:
3473         (devtools.ProfilerAgent.prototype.startProfiling):
3474
3475 2010-06-18  Anton Muhin  <antonm@chromium.org>
3476
3477         Reviewed by Dimitri Glazkov.
3478
3479         [v8] Finish migration to new named property query API
3480         https://bugs.webkit.org/show_bug.cgi?id=40771
3481         Remove definition which allowed gradual transition to new API.
3482         See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase.
3483         Requires V8 roll.
3484
3485         * DEPS:
3486
3487 2010-06-17  Pavel Feldman  <pfeldman@chromium.org>
3488
3489         Reviewed by Yury Semikhatsky.
3490
3491         Web Inspector: bring XHR console records back.
3492         - adds "Enable XHR Monitor" / "Disable XHR Monitor" actions to the console's context menu
3493         - make the chosen option persist in the settings.
3494
3495         https://bugs.webkit.org/show_bug.cgi?id=40799
3496
3497         * src/js/InspectorControllerImpl.js:
3498         (devtools.InspectorBackendImpl):
3499
3500 2010-06-15  Dumitru Daniliuc  <dumi@chromium.org>
3501
3502         Reviewed by Adam Barth.
3503
3504         Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
3505         https://bugs.webkit.org/show_bug.cgi?id=39041
3506
3507         * src/WebRuntimeFeatures.cpp:
3508         (WebKit::WebRuntimeFeatures::enableDatabase):
3509         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
3510
3511 2010-06-17  Tony Chang  <tony@chromium.org>
3512
3513         Reviewed by Kent Tamura.
3514
3515         [chromium] cleanup redundant DEPS value and remove buildbot cleanup code
3516         https://bugs.webkit.org/show_bug.cgi?id=40615
3517
3518         * DEPS: tools/data_pack was listed twice for linux (harmless, but unnecessary)
3519
3520 2010-06-17  Jeremy Moskovich  <jeremy@chromium.org>
3521
3522         Reviewed by Darin Fisher.
3523
3524         [Chromium API] Implement WebSandboxSupport on OS X and add stubs to allow
3525         OOP loading of fonts.
3526
3527         https://bugs.webkit.org/show_bug.cgi?id=40544
3528
3529         * WebKit.gyp: Add mac WebSandboxSupport.h
3530         * public/mac/WebSandboxSupport.h: Added.
3531         * src/ChromiumBridge.cpp:
3532         (WebCore::ChromiumBridge::loadFont):
3533
3534 2010-06-17  Pavel Feldman  <pfeldman@chromium.org>
3535
3536         Unreviewed: chromium tests fix. Added InspectorBackend delegates for new inspector methods.
3537
3538         * src/js/InspectorControllerImpl.js:
3539         (devtools.InspectorBackendImpl):
3540
3541 2010-06-17  Mikhail Naganov  <mnaganov@chromium.org>
3542
3543         Reviewed by Pavel Feldman.
3544
3545         [Chromium] Prepare to making WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual
3546
3547         https://bugs.webkit.org/show_bug.cgi?id=39302
3548
3549         * public/WebDevToolsAgent.h:
3550         * public/WebDevToolsAgentClient.h:
3551         (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
3552         * src/WebDevToolsAgentImpl.cpp:
3553         (WebKit::):
3554         (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
3555
3556 2010-06-17  John Gregg  <johnnyg@google.com>
3557
3558         Reviewed by David Levin.
3559
3560         Undo the build fix with the correct patch: Chromium NotificationPresenter
3561         is now informed of the destruction before it actually happens, so this
3562         use of the Notification object is correct. 
3563         https://bugs.webkit.org/show_bug.cgi?id=40097
3564
3565         * src/NotificationPresenterImpl.cpp:
3566         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
3567
3568 2010-06-16  Kent Tamura  <tkent@chromium.org>
3569
3570         Reviewed by Dimitri Glazkov.
3571
3572         [DRT/Chromium] Set current working directory for each of tests
3573         https://bugs.webkit.org/show_bug.cgi?id=40668
3574
3575         * DEPS: Update Chromium to r49915 to have
3576           webkit_support::SetCurrentDirectoryForFileURL().
3577
3578 2010-06-16  Drew Wilson  <atwilson@chromium.org>
3579
3580         Reviewed by Kent Tamura.
3581
3582         Added plumbing to Chromium WebKit API to allow setting/getting the name
3583         of top level frames.
3584
3585         https://bugs.webkit.org/show_bug.cgi?id=40430
3586         * public/WebFrame.h:
3587         Added setName() API.
3588         * public/WebViewClient.h:
3589         (WebKit::WebViewClient::createView):
3590         Now takes a "name" parameter.
3591         * src/ChromeClientImpl.cpp:
3592         (WebKit::ChromeClientImpl::createWindow):
3593         Passes a name parameter.
3594         * src/WebFrameImpl.cpp:
3595         (WebKit::WebFrameImpl::setName):
3596         Allows setting the frame name by calling through to the WebCore API.
3597         * src/WebFrameImpl.h:
3598
3599 2010-06-15  Darin Adler  <darin@apple.com>
3600
3601         Reviewed by Adam Barth.
3602
3603         Move functions out of Frame class that were marked "move to Chrome"
3604         https://bugs.webkit.org/show_bug.cgi?id=39636
3605
3606         * src/WebViewImpl.cpp:
3607         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose
3608         on FrameLoader instead of going through Frame.
3609
3610 2010-06-11  Darin Fisher  <darin@chromium.org>
3611
3612         Reviewed by Brady Eidson.
3613
3614         Expose WebHistoryItem::itemSequenceNumber.
3615
3616         https://bugs.webkit.org/show_bug.cgi?id=40451
3617
3618         * public/WebHistoryItem.h:
3619         * src/WebHistoryItem.cpp:
3620         (WebKit::WebHistoryItem::itemSequenceNumber):
3621         (WebKit::WebHistoryItem::setItemSequenceNumber):
3622
3623 2010-06-15  Yury Semikhatsky  <yurys@chromium.org>
3624
3625         Reviewed by Pavel Feldman.
3626
3627         [v8] Web Inspector: make ui tests pass when ScriptDebugServer is used
3628         https://bugs.webkit.org/show_bug.cgi?id=40623
3629
3630         * src/js/DebuggerAgent.js:
3631         (devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions.
3632         * src/js/DebuggerScript.js:
3633         * src/js/Tests.js:
3634         (.TestSuite.prototype.testProfilerTab.findVisibleView):
3635         (.TestSuite.prototype.testProfilerTab):
3636         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
3637         (.TestSuite.prototype.testSetBreakpoint.this):
3638         (.TestSuite.prototype.testSetBreakpoint):
3639         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
3640         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
3641         (.TestSuite.prototype.testExpandScope.examineScopes):
3642         (.TestSuite.prototype.testExpandScope):
3643         (.TestSuite.prototype.testDebugIntrinsicProperties):
3644
3645 2010-06-14  Anders Carlsson  <andersca@apple.com>
3646
3647         Fix Chromium build.
3648
3649         * src/WebPluginListBuilderImpl.cpp:
3650         (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
3651
3652 2010-06-14  Dumitru Daniliuc  <dumi@chromium.org>
3653
3654         Reviewed by Adam Barth.
3655
3656         Get DatabaseTracker ready for sync DBs.
3657         https://bugs.webkit.org/show_bug.cgi?id=39041
3658
3659         * public/WebDatabase.h:
3660         * src/DatabaseObserver.cpp:
3661         (WebCore::DatabaseObserver::databaseOpened):
3662         (WebCore::DatabaseObserver::databaseModified):
3663         (WebCore::DatabaseObserver::databaseClosed):
3664         * src/WebDatabase.cpp:
3665         (WebKit::WebDatabase::closeDatabaseImmediately):
3666         (WebKit::WebDatabase::WebDatabase):
3667         (WebKit::WebDatabase::operator=):
3668         (WebKit::WebDatabase::operator WTF::PassRefPtr<AbstractDatabase>):
3669
3670 2010-06-14  Chris Fleizach  <cfleizach@apple.com>
3671
3672         Reviewed by Darin Adler.
3673
3674         AX: need ListItemRole and PresentationalRole
3675         https://bugs.webkit.org/show_bug.cgi?id=40133
3676
3677         * public/WebAccessibilityRole.h:
3678         * src/AssertMatchingEnums.cpp:
3679
3680 2010-06-14  Anders Carlsson  <andersca@apple.com>
3681
3682         Reviewed by Sam Weinig.
3683
3684         Remove pluginIndex from MimeClassInfo
3685         https://bugs.webkit.org/show_bug.cgi?id=40588
3686
3687         * src/WebPluginListBuilderImpl.cpp:
3688         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
3689
3690 2010-06-14  Jeremy Orlow  <jorlow@chromium.org>
3691
3692         Build fix.
3693
3694         * src/IDBCallbacksProxy.h:
3695
3696 2010-06-14  Ilya Tikhonovsky  <loislo@chromium.org>
3697
3698         Reviewed by Pavel Feldman.
3699
3700         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
3701         data from inspected page to WebInspector as JSON string via http. The native
3702         serialization to JSON string is supported by InspectorValue's classes. This patch
3703         has the implementation of sendMessageToFrontend function. WebKit version of it still
3704         uses ScriptFunctionCall and will be switched to another transport a little bit later.
3705         https://bugs.webkit.org/show_bug.cgi?id=40134
3706
3707         * src/InspectorClientImpl.cpp:
3708         (WebKit::InspectorClientImpl::sendMessageToFrontend):
3709         * src/InspectorClientImpl.h:
3710         * src/WebDevToolsAgentImpl.cpp:
3711         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
3712
3713 2010-06-13  Tony Chang  <tony@chromium.org>
3714
3715         Reviewed by Darin Fisher.
3716
3717         [chromium] checkout chromium third_party directly
3718         https://bugs.webkit.org/show_bug.cgi?id=40556
3719
3720         * DEPS:
3721
3722 2010-06-13  Tony Chang  <tony@chromium.org>
3723
3724         Build fix, not reviewed.
3725
3726         fix chromium compile after r61094 (id attribute refactor)
3727         https://bugs.webkit.org/show_bug.cgi?id=40553
3728
3729         * src/ChromeClientImpl.cpp:
3730         * src/WebFormControlElement.cpp:
3731         (WebKit::WebFormControlElement::nameForAutofill):
3732
3733 2010-06-13  Andras Becsi  <abecsi@inf.u-szeged.hu>
3734
3735         Reviewed by Darin Adler.
3736
3737         Centralize the gperf code generation commands into make-hash-tools.pl
3738         to avoid redundancy across multiple build systems.
3739         Do this in preparation of refactoring the usage of these generated
3740         sources to fix the debug linking error on Linux with gcc >= 4.4.0.
3741
3742         webkit.org/b/29244
3743
3744         * src/WebEntities.cpp:
3745
3746 2010-06-11  Eric Seidel  <eric@webkit.org>
3747
3748         Reviewed by Adam Barth.
3749
3750         Rename the rest of the *Tokenizer classes to *DocumentParser
3751         https://bugs.webkit.org/show_bug.cgi?id=40507
3752
3753         * src/WebEntities.cpp:
3754          - Fix a comment to match new class names.
3755
3756 2010-06-12  Evan Stade  <estade@chromium.org>
3757
3758         Reviewed by Eric Seidel.
3759
3760         [chromium] Menu key should act on current selection even if it is not editable
3761         https://bugs.webkit.org/show_bug.cgi?id=40348
3762
3763         Allow the menu key to act on non-editable selections.
3764
3765         * src/WebViewImpl.cpp:
3766         (WebKit::WebViewImpl::sendContextMenuEvent):
3767
3768 2010-06-11  James Hawkins  <jhawkins@chromium.org>
3769
3770         Reviewed by Darin Fisher.
3771
3772         [Chromium] Notify the WebView when the AutoFill popup hides.
3773
3774         https://bugs.webkit.org/show_bug.cgi?id=40459
3775
3776         * src/AutoFillPopupMenuClient.cpp:
3777         (WebKit::AutoFillPopupMenuClient::selectionCleared):
3778
3779 2010-06-11  Tony Gentilcore  <tonyg@chromium.org>
3780
3781         Reviewed by Dimitri Glazkov.
3782
3783         Roll chromium DEPS 49376:49521
3784         https://bugs.webkit.org/show_bug.cgi?id=40488
3785
3786         * DEPS:
3787
3788 2010-06-10  Jeremy Orlow  <jorlow@chromium.org>
3789
3790         Reviewed by Steve Block.
3791
3792         Implement more of IndexedDB's Indexes and ObjectStores
3793         https://bugs.webkit.org/show_bug.cgi?id=40424
3794
3795         Add plumbing for both of these classes.
3796
3797         * public/WebIDBDatabase.h:
3798         (WebKit::WebIDBDatabase::name):
3799         (WebKit::WebIDBDatabase::description):
3800         (WebKit::WebIDBDatabase::version):
3801         (WebKit::WebIDBDatabase::objectStores):
3802         (WebKit::WebIDBDatabase::objectStore):
3803         (WebKit::WebIDBDatabase::removeObjectStore):
3804         * public/WebIDBObjectStore.h:
3805         (WebKit::WebIDBObjectStore::indexNames):
3806         (WebKit::WebIDBObjectStore::createIndex):
3807         (WebKit::WebIDBObjectStore::index):
3808         (WebKit::WebIDBObjectStore::removeIndex):
3809         * src/IDBDatabaseProxy.cpp:
3810         (WebCore::IDBDatabaseProxy::name):
3811         (WebCore::IDBDatabaseProxy::description):
3812         (WebCore::IDBDatabaseProxy::version):
3813         (WebCore::IDBDatabaseProxy::objectStores):
3814         (WebCore::IDBDatabaseProxy::objectStore):
3815         (WebCore::IDBDatabaseProxy::removeObjectStore):
3816         * src/IDBDatabaseProxy.h:
3817         * src/IDBObjectStoreProxy.cpp:
3818         (WebCore::IDBObjectStoreProxy::indexNames):
3819         (WebCore::IDBObjectStoreProxy::createIndex):
3820         (WebCore::IDBObjectStoreProxy::index):
3821         (WebCore::IDBObjectStoreProxy::removeIndex):
3822         * src/IDBObjectStoreProxy.h:
3823         * src/WebIDBDatabaseImpl.cpp:
3824         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
3825         (WebKit::WebIDBDatabaseImpl::name):
3826         (WebKit::WebIDBDatabaseImpl::description):
3827         (WebKit::WebIDBDatabaseImpl::version):
3828         (WebKit::WebIDBDatabaseImpl::objectStores):
3829         (WebKit::WebIDBDatabaseImpl::createObjectStore):
3830         (WebKit::WebIDBDatabaseImpl::objectStore):
3831         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
3832         * src/WebIDBDatabaseImpl.h:
3833         * src/WebIDBObjectStoreImpl.cpp:
3834         (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
3835         (WebKit::WebIDBObjectStoreImpl::name):
3836         (WebKit::WebIDBObjectStoreImpl::keyPath):
3837         (WebKit::WebIDBObjectStoreImpl::indexNames):
3838         (WebKit::WebIDBObjectStoreImpl::createIndex):
3839         (WebKit::WebIDBObjectStoreImpl::index):
3840         (WebKit::WebIDBObjectStoreImpl::removeIndex):
3841         * src/WebIDBObjectStoreImpl.h:
3842
3843 2010-06-11  Alexander Pavlov  <apavlov@chromium.org>
3844
3845         Reviewed by Pavel Feldman.
3846
3847         Web Inspector: Enable serialization/deserialization of the frontend state
3848         https://bugs.webkit.org/show_bug.cgi?id=40228
3849
3850         * src/js/InspectorControllerImpl.js:
3851         (devtools.InspectorBackendImpl):
3852
3853 2010-06-10  Søren Gjesse  <sgjesse@chromium.org>
3854
3855         Reviewed by Pavel Feldman.
3856
3857         V8: Chromium test expectations not matching improved V8 JavaScript stepping
3858         https://bugs.webkit.org/show_bug.cgi?id=40419
3859
3860         Update test expetations to match chaged V8 break locations.
3861
3862         * src/js/Tests.js:
3863
3864 2010-06-10  Pavel Feldman  <pfeldman@chromium.org>
3865
3866         Reviewed by Yury Semikhatsky.
3867
3868         Web Inspector: Port performSearch from InjectedScript to InspectorDOMAgent.
3869
3870         https://bugs.webkit.org/show_bug.cgi?id=40422
3871
3872         * src/js/InspectorControllerImpl.js:
3873         (devtools.InspectorBackendImpl):
3874
3875 2010-06-11  Vangelis Kokkevis  <vangelis@chromium.org>
3876
3877         Reviewed by David Levin.
3878
3879         [chromium] Adding a build dependency to the gles2 C library to the webkit_unit_tests
3880         project to allow it to link when WebCore is compiled with the ACCELERATED_COMPOSITING
3881         flag.
3882         https://bugs.webkit.org/show_bug.cgi?id=40341
3883
3884         * WebKit.gyp:
3885
3886 2010-06-10  Kent Tamura  <tkent@chromium.org>
3887
3888         Reviewed by Dimitri Glazkov.
3889
3890         [DRT/Chromium] Support plugin tests
3891         https://bugs.webkit.org/show_bug.cgi?id=40413
3892
3893         * DEPS:
3894          Bump the Chromium revision to r49376 to have a npapi_layout_test_plugin
3895          change and Linux <progress> resources.
3896          Add third_party/mesa because app/ depends on them
3897          since r49332.
3898         * WebKit.gyp:
3899           Copy a plugin binary for DRT to recognize it.
3900
3901 2010-06-10  James Hawkins  <jhawkins@chromium.org>
3902
3903         Not reviwed.
3904
3905         Build fix for Chromium Mac Release.
3906
3907         * src/AutoFillPopupMenuClient.cpp:
3908         (WebKit::AutoFillPopupMenuClient::getSuggestion):
3909         (WebKit::AutoFillPopupMenuClient::valueChanged):
3910         (WebKit::AutoFillPopupMenuClient::selectionChanged):
3911         (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
3912
3913 2010-06-09  James Hawkins  <jhawkins@chromium.org>
3914
3915         Reviewed by Darin Fisher.
3916
3917         [Chromium] Add the ability to specify a separator in
3918         AutoFillPopupMenuClient.
3919
3920         https://bugs.webkit.org/show_bug.cgi?id=40397
3921
3922         * public/WebViewClient.h:
3923         (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
3924         * src/AutoFillPopupMenuClient.cpp:
3925         (WebKit::AutoFillPopupMenuClient::getSuggestionsCount):
3926         (WebKit::AutoFillPopupMenuClient::getSuggestion):
3927         (WebKit::AutoFillPopupMenuClient::valueChanged):
3928         (WebKit::AutoFillPopupMenuClient::selectionChanged):
3929         (WebKit::AutoFillPopupMenuClient::itemIsSeparator):
3930         (WebKit::AutoFillPopupMenuClient::initialize):
3931         (WebKit::AutoFillPopupMenuClient::setSuggestions):
3932         * src/AutoFillPopupMenuClient.h:
3933         * src/WebViewImpl.cpp:
3934         (WebKit::WebViewImpl::applyAutoFillSuggestions):
3935         * src/WebViewImpl.h:
3936
3937 2010-06-10  Dmitry Titov  <dimich@chromium.org>
3938
3939         Not reviewed, Chromium build fix from Abhishek Arya.
3940
3941         * src/WebImageCG.cpp:
3942         (WebKit::WebImage::WebImage):
3943         (WebKit::WebImage::operator=):
3944
3945 2010-06-10  Abhishek Arya  <inferno@chromium.org>
3946
3947         Reviewed by Dimitri Glazkov.
3948
3949         Add null pointer checks for nativeImageForCurrentFrame
3950         function calls.
3951         https://bugs.webkit.org/show_bug.cgi?id=39797
3952
3953         * src/WebImageCG.cpp:
3954         (WebKit::WebImage::WebImage):
3955         (WebKit::WebImage::operator=):
3956
3957 2010-06-10  Yury Semikhatsky  <yurys@chromium.org>
3958
3959         Reviewed by Pavel Feldman.
3960
3961         Web Inspector: to reduce the front end start up time don't push script
3962         sources to frontend if debugger is always enabled, instead request
3963         script content lazily at the moment it should be displyed. It is critical for
3964         always enabled debugger because in that case lots of script may have
3965         already been parsed when the front end is opening and pushing all
3966         of them at once may slow things down(even though the script sources will never
3967         be used if scripts panel isn't open).
3968         https://bugs.webkit.org/show_bug.cgi?id=40364
3969
3970         * src/js/DevTools.js:
3971         * src/js/InspectorControllerImpl.js:
3972         (devtools.InspectorBackendImpl):
3973         (.devtools.InspectorBackendImpl.prototype.getScriptSource):
3974
3975 2010-06-10  Mike Belshe  <mbelshe@google.com>
3976
3977         Reviewed by David Levin
3978
3979         Track whether a resource is loaded via a proxy.
3980
3981         https://bugs.webkit.org/show_bug.cgi?id=40312
3982
3983         * public/WebURLResponse.h:
3984         * src/WebURLResponse.cpp:
3985         (WebKit::WebURLResponse::wasFetchedViaProxy):
3986         (WebKit::WebURLResponse::setWasFetchedViaProxy):
3987
3988 2010-06-10  Vangelis Kokkevis  <vangelis@chromium.org>
3989
3990         Reviewed by Dimitri Glazkov.
3991
3992         [chromium] Adding the ANGLE project to the DEPS file as it's required
3993         by the gpu-accelerated compositor.
3994         https://bugs.webkit.org/show_bug.cgi?id=40379
3995
3996         * DEPS:
3997
3998 2010-06-09  Bo Liu  <boliu@chromium.org>
3999
4000         Reviewed by David Levin.
4001
4002         [Chromium] Pass <video> full screen calls to Chromium port client
4003         https://bugs.webkit.org/show_bug.cgi?id=40317
4004
4005         * public/WebViewClient.h:
4006         (WebKit::WebViewClient::supportsFullscreen):
4007         (WebKit::WebViewClient::enterFullscreenForNode):
4008         (WebKit::WebViewClient::exitFullscreenForNode):
4009         * src/ChromeClientImpl.cpp:
4010         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
4011         (WebKit::ChromeClientImpl::enterFullscreenForNode):
4012         (WebKit::ChromeClientImpl::exitFullscreenForNode):
4013         * src/ChromeClientImpl.h:
4014
4015 2010-06-09  Kenneth Russell  <kbr@google.com>
4016
4017         Reviewed by Dimitri Glazkov.
4018
4019         Rename FloatArray to Float32Array
4020         https://bugs.webkit.org/show_bug.cgi?id=40323
4021
4022         Used do-webcore-rename to perform renaming. Manually undid
4023         incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp,
4024         WebCore/manual-tests/resources/ArrayParameterTestApplet.java and
4025         ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran
4026         all layout tests on Safari; built Chromium and ran selected WebGL
4027         tests.
4028
4029         * src/GraphicsContext3D.cpp:
4030
4031 2010-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
4032
4033         Unreviewed, rolling out r60889.
4034         http://trac.webkit.org/changeset/60889
4035         https://bugs.webkit.org/show_bug.cgi?id=40365
4036
4037         gtk bot has some kind of memory corruption (Requested by
4038         loislo on #webkit).
4039
4040         * src/InspectorClientImpl.cpp:
4041         * src/InspectorClientImpl.h:
4042         * src/WebDevToolsAgentImpl.cpp:
4043         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
4044
4045 2010-06-09  Pavel Podivilov  <podivilov@chromium.org>
4046
4047         Reviewed by Yury Semikhatsky.
4048
4049         Web Inspector: retreive debugger script source synchronously when
4050         frontend is attached. We need this to be able to stop on top-level
4051         breakpoints.
4052         https://bugs.webkit.org/show_bug.cgi?id=40289
4053
4054         * WebKit.gypi:
4055         * src/DebuggerAgent.h:
4056         * src/DebuggerAgentImpl.cpp:
4057         * src/DebuggerAgentImpl.h:
4058         * src/WebDevToolsAgentImpl.cpp:
4059         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
4060         * src/js/DebuggerScript.js:
4061         * src/js/DevTools.js:
4062         (WebInspector.loaded):
4063         * src/js/DevToolsHostStub.js:
4064
4065 2010-06-07  Ilya Tikhonovsky  <loislo@chromium.org>
4066
4067         Reviewed by Pavel Feldman.
4068
4069         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
4070         data from inspected page to WebInspector as JSON string via http. The native
4071         serialization to JSON string is supported by InspectorValue's classes. This patch
4072         has the implementation of sendMessageToFrontend function. WebKit version of it still
4073         uses ScriptFunctionCall and will be switched to another transport a little bit later.
4074         https://bugs.webkit.org/show_bug.cgi?id=40134
4075
4076         * src/InspectorClientImpl.cpp:
4077         (WebKit::InspectorClientImpl::sendMessageToFrontend):
4078         * src/InspectorClientImpl.h:
4079         * src/WebDevToolsAgentImpl.cpp:
4080         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
4081
4082 2010-06-09  Yury Semikhatsky  <yurys@chromium.org>
4083
4084         Reviewed by Pavel Feldman.
4085
4086         Web Inspector: update stack trace after script source editing
4087         https://bugs.webkit.org/show_bug.cgi?id=40357
4088
4089         * src/js/DebuggerAgent.js:
4090         (devtools.DebuggerAgent.prototype.editScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
4091         (devtools.DebuggerAgent.prototype.editScriptSource.requestBacktrace):
4092         (devtools.DebuggerAgent.prototype.editScriptSource.handleBacktraceResponse):
4093         (devtools.DebuggerAgent.prototype.editScriptSource.reportDidCommitEditing):
4094         (devtools.DebuggerAgent.prototype.editScriptSource):
4095         (devtools.DebuggerAgent.prototype.requestBacktrace_):
4096         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
4097         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
4098         (devtools.DebuggerAgent.prototype.updateCallFramesFromBacktraceResponse_):
4099         * src/js/InspectorControllerImpl.js:
4100         (.devtools.InspectorBackendImpl.prototype.editScriptSource):
4101
4102 2010-06-08  Tony Chang  <tony@chromium.org>
4103
4104         Reviewed by David Levin.
4105
4106         [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
4107         https://bugs.webkit.org/show_bug.cgi?id=40285
4108
4109         Take 2 at landing this patch, this time rolling DEPS just a bit
4110         further to pick up some chromium fixes.
4111
4112         * DEPS
4113         * gyp_webkit:
4114
4115 2010-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
4116
4117         Unreviewed, rolling out r60878.
4118         http://trac.webkit.org/changeset/60878
4119         https://bugs.webkit.org/show_bug.cgi?id=40349
4120
4121         broke linux build (Requested by tony^work on #webkit).
4122
4123         * DEPS:
4124         * gyp_webkit:
4125
4126 2010-06-08  Tony Chang  <tony@chromium.org>
4127
4128         Reviewed by David Levin.
4129
4130         [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
4131         https://bugs.webkit.org/show_bug.cgi?id=40285
4132
4133         * gyp_webkit:
4134
4135 2010-06-08  Tony Chang  <tony@chromium.org>
4136
4137         Not reviewed, build fix.
4138
4139         [chromium] fix linux compile
4140         https://bugs.webkit.org/show_bug.cgi?id=40343
4141
4142         * DEPS:
4143
4144 2010-06-08  Yury Semikhatsky  <yurys@chromium.org>
4145
4146         Reviewed by Pavel Feldman.
4147
4148         Web Inspector: extend ScriptDebugServer to support script source editing
4149         https://bugs.webkit.org/show_bug.cgi?id=40297
4150
4151         * src/js/DebuggerAgent.js:
4152         (devtools.ScriptInfo.prototype.worldType):
4153         * src/js/DebuggerScript.js:
4154         (debuggerScriptConstructor.DebuggerScript.editScriptSource):
4155         * src/js/DevTools.js:
4156         (WebInspector.loaded):
4157         * src/js/InspectorControllerImpl.js:
4158         (devtools.InspectorBackendImpl):
4159
4160 2010-06-08  Antonio Gomes  <tonikitoo@webkit.org>
4161
4162         Reviewed by Ojan Vafai and Darin Adler.
4163
4164         Refactor platform dependent editing behavior code out of Settings
4165         https://bugs.webkit.org/show_bug.cgi?id=39854
4166
4167         EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
4168         EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
4169
4170         * src/WebSettingsImpl.cpp:
4171         (WebKit::WebSettingsImpl::setEditingBehavior):
4172 2010-06-07  Tony Chang  <tony@chromium.org>
4173
4174         Reviewed by Kent Tamura.
4175
4176         [chromium] roll chromium DEPS
4177         https://bugs.webkit.org/show_bug.cgi?id=40277
4178
4179         * DEPS:
4180
4181 2010-06-07  Kinuko Yasuda  <kinuko@chromium.org>
4182
4183         Reviewed by Jian Li.
4184
4185         Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder.
4186         https://bugs.webkit.org/show_bug.cgi?id=39083
4187
4188         Replace FormDataList::Item list with BlobItemList to get it compiled
4189         with the refactoring in FormDataList.
4190
4191         * src/WebSearchableFormData.cpp:
4192         (WebCore::HasSuitableTextElement):
4193
4194 2010-06-07  Andrei Popescu  <andreip@google.com>
4195
4196         Reviewed by Jeremy Orlow.
4197
4198         [indexedDB] It is impossible to create object stores
4199         https://bugs.webkit.org/show_bug.cgi?id=40054
4200
4201         * WebKit.gyp:
4202         * public/WebIDBCallbacks.h:
4203         (WebKit::WebIDBCallbacks::onSuccess):
4204         * public/WebIDBDatabase.h:
4205         (WebKit::WebIDBDatabase::createObjectStore):
4206         * public/WebIDBObjectStore.h: Added.
4207         (WebKit::WebIDBObjectStore::~WebIDBObjectStore):
4208         (WebKit::WebIDBObjectStore::name):
4209         (WebKit::WebIDBObjectStore::keyPath):
4210         * src/IDBCallbacksProxy.cpp:
4211         (WebCore::IDBCallbacksProxy::onSuccess):
4212         * src/IDBCallbacksProxy.h:
4213         * src/IDBDatabaseProxy.cpp:
4214         (WebCore::IDBDatabaseProxy::createObjectStore):
4215         * src/IDBDatabaseProxy.h:
4216         * src/IDBObjectStoreProxy.cpp: Added.
4217         (WebCore::IDBObjectStoreProxy::create):
4218         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
4219         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
4220         (WebCore::IDBObjectStoreProxy::name):
4221         (WebCore::IDBObjectStoreProxy::keyPath):
4222         (WebCore::IDBObjectStoreProxy::indexNames):
4223         (WebCore::IDBObjectStoreProxy::createIndex):
4224         (WebCore::IDBObjectStoreProxy::index):
4225         (WebCore::IDBObjectStoreProxy::removeIndex):
4226         * src/IDBObjectStoreProxy.h: Added.
4227         * src/IndexedDatabaseProxy.cpp:
4228         (WebCore::IndexedDatabaseProxy::open):
4229         * src/WebIDBCallbacksImpl.cpp:
4230         (WebCore::WebIDBCallbacksImpl::onSuccess):
4231         * src/WebIDBCallbacksImpl.h:
4232         * src/WebIDBDatabaseImpl.cpp:
4233         (WebKit::WebIDBDatabaseImpl::createObjectStore):
4234         * src/WebIDBDatabaseImpl.h:
4235         * src/WebIDBObjectStoreImpl.cpp: Added.
4236         (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
4237         (WebKit::WebIDBObjectStoreImpl::~WebIDBObjectStoreImpl):
4238         (WebKit::WebIDBObjectStoreImpl::name):
4239         (WebKit::WebIDBObjectStoreImpl::keyPath):
4240         * src/WebIDBObjectStoreImpl.h: Added.
4241         * src/WebIndexedDatabaseImpl.cpp:
4242         (WebKit::WebIndexedDatabaseImpl::open):
4243
4244 2010-06-07  Yury Semikhatsky  <yurys@chromium.org>
4245
4246         Reviewed by Pavel Feldman.
4247
4248         Web Inspector: should be possible to distinguish extension scripts from main world scripts
4249         https://bugs.webkit.org/show_bug.cgi?id=40220
4250
4251         * src/js/DebuggerAgent.js:
4252         (devtools.DebuggerAgent.prototype.initUI):
4253         (devtools.DebuggerAgent.prototype.addScriptInfo_):
4254         (devtools.DebuggerAgent.prototype.formatCallFrame_):
4255         (devtools.ScriptInfo.prototype.worldType):
4256         * src/js/DebuggerScript.js:
4257         (debuggerScriptConstructor.DebuggerScript.getScripts): use only context id without context type
4258         when filtering scripts so that extension scripts are also included.
4259         (debuggerScriptConstructor.DebuggerScript._formatScript):
4260         * src/js/devTools.css:
4261
4262 2010-06-04  Jay Civelli  <jcivelli@chromium.org>
4263
4264         Reviewed by Dimitri Glazkov.
4265
4266         Accessibility focus change notifications are now sent from
4267         ChromeClientImpl::focusedNodeChanged().
4268         https://bugs.webkit.org/show_bug.cgi?id=39792
4269
4270         * src/ChromeClientImpl.cpp:
4271         (WebKit::ChromeClientImpl::focus):
4272         (WebKit::ChromeClientImpl::focusedNodeChanged):
4273
4274 2010-06-04  Jay Civelli  <jcivelli@chromium.org>
4275
4276         Reviewed by David Levin.
4277
4278         [chromium] Adding support for the left and right Windows keys to the
4279                    NativeWebKeyboardEvent.
4280         https://bugs.webkit.org/show_bug.cgi?id=39752
4281
4282         * src/gtk/WebInputEventFactory.cpp:
4283         (WebKit::gdkEventToWindowsKeyCode):
4284
4285 2010-06-04  Pavel Podivilov  <podivilov@chromium.org>
4286
4287         Reviewed by Yury Semikhatsky.
4288
4289         Web Inspector: Create resource for DebuggerScript.js.
4290         https://bugs.webkit.org/show_bug.cgi?id=40122
4291
4292         * WebKit.grd:
4293         * public/WebDevToolsAgentClient.h:
4294         (WebKit::WebDevToolsAgentClient::debuggerScriptSource):
4295
4296 2010-05-26  MORITA Hajime  <morrita@google.com>
4297
4298         Reviewed by Jian Li.
4299
4300         [Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges
4301         https://bugs.webkit.org/show_bug.cgi?id=39725
4302
4303         Added WebViewImpl::scrollForDragging() to handle scroll-on-drag.
4304         Note that this change handes both source and destination cases.
4305         
4306         * public/WebView.h:
4307         * src/WebViewImpl.cpp:
4308         (WebKit::WebViewImpl::dragSourceMovedTo):
4309         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
4310         (WebKit::WebViewImpl::scrollForDragging):
4311         * src/WebViewImpl.h:
4312
4313 2010-06-03  Yury Semikhatsky  <yurys@chromium.org>
4314
4315         Reviewed by Pavel Feldman.
4316
4317         [v8] Web Inspector: show "Object" as description for values with anonymous constructor
4318         https://bugs.webkit.org/show_bug.cgi?id=40121
4319
4320         * src/js/DevTools.js: don't call DebuggerAgent methods if ScriptDebugServer is used.
4321
4322 2010-06-03  Kent Tamura  <tkent@chromium.org>
4323
4324         Reviewed by Dimitri Glazkov.
4325
4326         [DRT/Chromium] Checking out lighttpd
4327         https://bugs.webkit.org/show_bug.cgi?id=39948
4328
4329         - Add lighttpd only on Windows. It is used by new-run-webkit-tests.
4330         - Add libvpx.
4331         - Remove pthreads-win32 from DEPS.
4332           It has not been used since Chromium r28642.
4333         - Update Chromium revision to use Windows resource query code and
4334           webkit_glue dependency fix.
4335
4336         * DEPS:
4337
4338 2010-06-02  Tony Chang  <tony@chromium.org>
4339
4340         Reviewed by Kent Tamura.
4341
4342         [chromium] refactor WebKit.gyp's DRT section so the conditions are less messy
4343         https://bugs.webkit.org/show_bug.cgi?id=40104
4344
4345         * WebKit.gyp:
4346
4347 2010-06-02  Tony Chang  <tony@chromium.org>
4348
4349         Not reviewed, build fix in downstream chromium.
4350
4351         Fix the path to repack.py so it works in a chromium checkout too.
4352
4353         * WebKit.gyp:
4354
4355 2010-06-02  Tony Chang  <tony@chromium.org>
4356
4357         Reviewed by Kent Tamura.
4358
4359         [chromium] generate DumpRenderTree.pak on DRT linux
4360         https://bugs.webkit.org/show_bug.cgi?id=40098
4361
4362         * WebKit.gyp:
4363
4364 2010-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>
4365
4366         Unreviewed, rolling out r60592.
4367         http://trac.webkit.org/changeset/60592
4368         https://bugs.webkit.org/show_bug.cgi?id=40099
4369
4370         broke the build, need to coordiate updating DEPS (Requested by
4371         tony^work on #webkit).
4372
4373         * DEPS:
4374         * public/WebMediaPlayer.h:
4375
4376 2010-06-02  Victoria Kirst  <vrk@google.com>
4377
4378         Reviewed by David Levin.
4379
4380         Modifying the WebMediaPlayer interface to be compatible with
4381         a change in chrome.
4382         This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
4383         has been updated, so this commit should NOT break chromium anymore.
4384         https://bugs.webkit.org/show_bug.cgi?id=39445
4385
4386         * DEPS: Updated to a newer chrome revision number.
4387         * public/WebMediaPlayer.h: Changed buffered() to be non-const.
4388
4389 2010-06-02  Peter Kasting  <pkasting@google.com>
4390
4391         Unreviewed, emergency fix for test crashes (verbal r+ beforehand from
4392         John Gregg).
4393
4394         Temporarily make notificationObjectDestroyed() a no-op to avoid an
4395         ASSERT failure.
4396
4397         https://bugs.webkit.org/show_bug.cgi?id=40097
4398
4399         * src/NotificationPresenterImpl.cpp:
4400         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
4401
4402 2010-06-02  Sterling Swigart  <sswigart@google.com>
4403
4404         Reviewed by David Levin.
4405
4406         Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches.
4407         https://bugs.webkit.org/show_bug.cgi?id=39906
4408
4409         * features.gypi:
4410
4411 2010-06-01  James Hawkins  <jhawkins@chromium.org>
4412
4413         UNREVIEWED: build fix.
4414
4415         Implement the added virtual methods from PopupMenuClient to
4416         TestPopupMenuClient.
4417
4418         * tests/PopupMenuTest.cpp:
4419         (WebKit::TestPopupMenuClient::selectionChanged):
4420         (WebKit::TestPopupMenuClient::selectionCleared):
4421
4422 2010-05-24  James Hawkins  <jhawkins@chromium.org>
4423
4424         Reviewed by Darin Fisher.
4425
4426         [Chromium] Implement new PopupMenuClient methods selectionChanged()
4427         and selectionCleared().  Expose placeHolder methods and isAutoFilled()
4428         in WebInputElement.
4429
4430         https://bugs.webkit.org/show_bug.cgi?id=39639
4431
4432         * public/WebInputElement.h:
4433         * public/WebViewClient.h:
4434         (WebKit::WebViewClient::didSelectAutoFillSuggestion):
4435         (WebKit::WebViewClient::didClearAutoFillSelection):
4436         * src/AutoFillPopupMenuClient.cpp:
4437         (WebKit::AutoFillPopupMenuClient::selectionChanged):
4438         (WebKit::AutoFillPopupMenuClient::selectionCleared):
4439         (WebKit::AutoFillPopupMenuClient::popupDidHide):
4440         * src/AutoFillPopupMenuClient.h:
4441         * src/SuggestionsPopupMenuClient.h:
4442         (WebKit::SuggestionsPopupMenuClient::selectionChanged):
4443         (WebKit::SuggestionsPopupMenuClient::selectionCleared):
4444         * src/WebInputElement.cpp:
4445         (WebKit::WebInputElement::setPlaceholder):
4446         (WebKit::WebInputElement::placeholder):
4447         (WebKit::WebInputElement::isAutofilled):
4448
4449 2010-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
4450
4451         Unreviewed, rolling out r60483.
4452         http://trac.webkit.org/changeset/60483
4453         https://bugs.webkit.org/show_bug.cgi?id=40013
4454
4455         Breaks Mac and Linux builds (Requested by antonm on #webkit).
4456
4457         * DEPS:
4458
4459 2010-06-01  Jeremy Orlow  <jorlow@chromium.org>
4460
4461         Reviewed by Darin Fisher.
4462
4463         IndexedDB cleanup
4464         https://bugs.webkit.org/show_bug.cgi?id=40007
4465
4466         Remove the exception code paramter (that hasn't been used for a while).
4467         Add asserts to default implementations.
4468
4469         * public/WebIDBDatabase.h:
4470         (WebKit::WebIDBDatabase::name):
4471         (WebKit::WebIDBDatabase::description):
4472         (WebKit::WebIDBDatabase::version):
4473         (WebKit::WebIDBDatabase::objectStores):
4474         * public/WebIndexedDatabase.h:
4475         (WebKit::WebIndexedDatabase::open):
4476         * src/WebIndexedDatabaseImpl.cpp:
4477         (WebKit::WebIndexedDatabaseImpl::open):
4478         * src/WebIndexedDatabaseImpl.h:
4479
4480 2010-06-01  Anton Muhin  <antonm@chromium.org>
4481
4482         Reviewed by Dimitri Glazkov.
4483
4484         Rolling Chromium revision to bring recent changes to V8.
4485
4486         * DEPS:
4487
4488 2010-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
4489
4490         Unreviewed, rolling out r60470.
4491         http://trac.webkit.org/changeset/60470
4492         https://bugs.webkit.org/show_bug.cgi?id=39990
4493
4494         Need to rollout until bot can be updated (Requested by jorlow
4495         on #webkit).
4496
4497         * DEPS:
4498
4499 2010-05-31  Pavel Podivilov  <podivilov@chromium.org>
4500
4501         Reviewed by Pavel Feldman.
4502
4503         Chromium: save inspector settings as dictionary, not as string.
4504         https://bugs.webkit.org/show_bug.cgi?id=32118
4505
4506         * public/WebView.h:
4507         * public/WebViewClient.h:
4508         (WebKit::WebViewClient::didUpdateInspectorSetting):
4509         * src/InspectorClientImpl.cpp:
4510         (WebKit::InspectorClientImpl::populateSetting):
4511         (WebKit::InspectorClientImpl::storeSetting):
4512         * src/InspectorClientImpl.h:
4513         * src/WebViewImpl.cpp:
4514         (WebKit::WebViewImpl::WebViewImpl):
4515         (WebKit::WebViewImpl::inspectorSetting):
4516         (WebKit::WebViewImpl::setInspectorSetting):
4517         * src/WebViewImpl.h:
4518
4519 2010-05-31  James Robinson  <jamesr@chromium.org>
4520
4521         Reviewed by Darin Fisher.
4522
4523         Expose html5 parser enabled flag in WebSettings
4524         https://bugs.webkit.org/show_bug.cgi?id=39913
4525
4526         * public/WebSettings.h:
4527         * src/WebSettingsImpl.cpp:
4528         (WebKit::WebSettingsImpl::setHTML5ParserEnabled):
4529         * src/WebSettingsImpl.h:
4530
4531 2010-05-31  Lyon Chen  <liachen@rim.com>
4532
4533         Reviewed by Kent Tamura.
4534
4535         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
4536         https://bugs.webkit.org/show_bug.cgi?id=35530
4537
4538         Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance.
4539
4540         * src/WebFrameImpl.cpp:
4541         (WebKit::WebFrameImpl::executeCommand):
4542
4543 2010-05-31  Roland Steiner  <rolandsteiner@chromium.org>
4544
4545         Bug 39977 - Missing Chromium bindings for InspectorController methods introduced in r60443
4546         https://bugs.webkit.org/show_bug.cgi?id=39977
4547         
4548         add missing InspectorController JS bindings:
4549         - getStyleSheet
4550         - getRuleRangesForStyleSheetId
4551         
4552         Tests: inspector/styles-source-offsets.html
4553
4554         * src/js/InspectorControllerImpl.js:
4555         (devtools.InspectorBackendImpl):
4556
4557 2010-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
4558
4559         Unreviewed, rolling out r60456.
4560         http://trac.webkit.org/changeset/60456
4561         https://bugs.webkit.org/show_bug.cgi?id=39974
4562
4563         Broke Chromium Linux/Max build (Requested by tkent on
4564         #webkit).
4565
4566         * DEPS:
4567
4568 2010-05-31  Kent Tamura  <tkent@chromium.org>
4569
4570         Reviewed by Dimitri Glazkov.
4571
4572         [DRT/Chromium] Checking out lighttpd
4573         https://bugs.webkit.org/show_bug.cgi?id=39948
4574
4575         - Checking out lighttpd only on Windows. It is used by new-run-webkit-tests.
4576         - Update Chromium revision to use Windows resource query code
4577
4578         * DEPS:
4579
4580 2010-05-31  Yury Semikhatsky  <yurys@chromium.org>
4581
4582         Reviewed by Pavel Feldman.
4583
4584         Web Inspector: allow hiding Scripts panel from Chromium code. This
4585         is needed to support v8 debugging protocol which has an implementation
4586         that conflicts with debugger provided by the inspector.
4587         https://bugs.webkit.org/show_bug.cgi?id=39952
4588
4589         * public/WebDevToolsAgentClient.h:
4590         (WebKit::WebDevToolsAgentClient::exposeV8DebuggerProtocol):
4591         * public/WebDevToolsFrontendClient.h:
4592         (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
4593         (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
4594         (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
4595         (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
4596         (WebKit::WebDevToolsFrontendClient::activateWindow):
4597         (WebKit::WebDevToolsFrontendClient::closeWindow):
4598         (WebKit::WebDevToolsFrontendClient::requestDockWindow):
4599         (WebKit::WebDevToolsFrontendClient::requestUndockWindow):
4600         (WebKit::WebDevToolsFrontendClient::hideScriptsPanel):
4601         * src/DebuggerAgentManager.cpp:
4602         (WebKit::DebuggerAgentManager::debugAttach):
4603         (WebKit::DebuggerAgentManager::debugDetach):
4604         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
4605         * src/DebuggerAgentManager.h:
4606         * src/InspectorFrontendClientImpl.cpp:
4607         (WebKit::InspectorFrontendClientImpl::hiddenPanels):
4608         * src/WebDevToolsAgentImpl.cpp:
4609         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
4610         (WebKit::WebDevToolsAgentImpl::attach):
4611
4612 2010-05-30  Lyon Chen  <liachen@rim.com>
4613
4614         Reviewed by Kent Tamura.
4615
4616         This is a coding style cleanup before fixing to bug 35530.
4617
4618         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
4619         https://bugs.webkit.org/show_bug.cgi?id=35530
4620
4621         * src/WebFrameImpl.cpp:
4622         (WebKit::WebFrameImpl::find):
4623         (WebKit::WebFrameImpl::scopeStringMatches):
4624         (WebKit::WebFrameImpl::createChildFrame):
4625         (WebKit::WebFrameImpl::shouldScopeMatches):
4626
4627 2010-05-30  Daniel Bates  <dbates@rim.com>
4628
4629         Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
4630
4631         I missed a few call sites in the Chromium source when I
4632         landed http://trac.webkit.org/changeset/60419.
4633
4634         Credit to Chris Jerdonek for looking over both this patch and the patch
4635         committed in r60419.
4636
4637         * src/WebSearchableFormData.cpp:
4638         (WebCore::GetButtonToActivate):
4639         (WebCore::HasSuitableTextElement):
4640
4641 2010-05-30  Daniel Bates  <dbates@rim.com>
4642
4643         Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
4644
4645         * src/EditorClientImpl.cpp:
4646         (WebKit::EditorClientImpl::autofill):
4647         * src/WebFormControlElement.cpp:
4648         (WebKit::WebFormControlElement::formControlName):
4649         (WebKit::WebFormControlElement::formControlType):
4650         * src/WebFormElement.cpp:
4651         (WebKit::WebFormElement::getFormControlElements):
4652         * src/WebPasswordFormUtils.cpp:
4653         (WebKit::findPasswordFormFields):
4654
4655 2010-05-30  Jessie Berlin  <jberlin@webkit.org>
4656
4657         Reviewed by Pavel Feldman.
4658
4659         https://bugs.webkit.org/show_bug.cgi?id=39224
4660         Bug 39224 - Web Inspector: There should be a way to clean up profiles
4661
4662         * src/js/InspectorControllerImpl.js:
4663         (devtools.InspectorBackendImpl):
4664
4665 2010-05-29  Vangelis Kokkevis  <vangelis@chromium.org>
4666
4667         Reviewed by Darin Fisher.
4668
4669         Adding support for a runtime flag to enable accelerated
4670         compositing in chromium.
4671         https://bugs.webkit.org/show_bug.cgi?id=39917
4672
4673         * public/WebSettings.h:
4674         * src/WebSettingsImpl.cpp:
4675         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
4676         * src/WebSettingsImpl.h:
4677
4678 2010-05-28  Aaron Boodman  <aa@chromium.org>
4679
4680         Reviewed by Darin Fisher.
4681
4682         Add isXHTMLDocument() to WebDocument.
4683
4684         https://bugs.webkit.org/show_bug.cgi?id=39887
4685
4686         * public/WebDocument.h: Add isXHTMLDocument().
4687         * src/WebDocument.cpp: ditto.
4688         (WebKit::WebDocument::isXHTMLDocument): dittorama.
4689
4690 2010-05-27  Jeremy Orlow  <jorlow@chromium.org>
4691
4692         Reviewed by Steve Block.
4693
4694         Add IndexedDB's IDBIndex
4695         https://bugs.webkit.org/show_bug.cgi?id=39850
4696
4697         Add WebKit layer for IDBIndex.
4698
4699         * WebKit.gyp:
4700         * public/WebCommon.h:
4701         * public/WebIDBCallbacks.h:
4702         (WebKit::WebIDBCallbacks::onError):
4703         (WebKit::WebIDBCallbacks::onSuccess):
4704         * public/WebIDBDatabase.h:
4705         * public/WebIDBIndex.h: Added.
4706         (WebKit::WebIDBIndex::~WebIDBIndex):
4707         (WebKit::WebIDBIndex::name):
4708         (WebKit::WebIDBIndex::keyPath):
4709         (WebKit::WebIDBIndex::unique):
4710         * src/IDBCallbacksProxy.cpp:
4711         (WebCore::IDBCallbacksProxy::onSuccess):
4712         * src/IDBCallbacksProxy.h:
4713         * src/IDBDatabaseProxy.cpp:
4714         * src/IDBDatabaseProxy.h:
4715         * src/IDBIndexProxy.cpp: Added.
4716         (WebCore::IDBIndexProxy::create):
4717         (WebCore::IDBIndexProxy::IDBIndexProxy):
4718         (WebCore::IDBIndexProxy::~IDBIndexProxy):
4719         (WebCore::IDBIndexProxy::name):
4720         (WebCore::IDBIndexProxy::keyPath):
4721         (WebCore::IDBIndexProxy::unique):
4722         * src/IDBIndexProxy.h: Added.
4723         * src/WebIDBCallbacksImpl.cpp:
4724         (WebCore::WebIDBCallbacksImpl::onSuccess):
4725         * src/WebIDBCallbacksImpl.h:
4726         * src/WebIDBDatabaseImpl.cpp:
4727         * src/WebIDBDatabaseImpl.h:
4728         * src/WebIDBIndexImpl.cpp: Added.
4729         (WebKit::WebIDBIndexImpl::WebIDBIndexImpl):
4730         (WebKit::WebIDBIndexImpl::~WebIDBIndexImpl):
4731         (WebKit::WebIDBIndexImpl::name):
4732         (WebKit::WebIDBIndexImpl::keyPath):
4733         (WebKit::WebIDBIndexImpl::unique):
4734         * src/WebIDBIndexImpl.h: Added.
4735
4736 2010-05-28  Yury Semikhatsky  <yurys@chromium.org>
4737
4738         Reviewed by Pavel Feldman.
4739
4740         Web Inspector: check that ClientMessageLoopAdapter is not 0 before
4741         accessing its fileds from inspectedViewClosed method. It may be 0
4742         if inspector frontend has not been open.
4743         https://bugs.webkit.org/show_bug.cgi?id=39876
4744
4745         * src/WebDevToolsAgentImpl.cpp:
4746         (WebKit::):
4747
4748 2010-05-27  Eric Uhrhane  <ericu@chromium.org>
4749
4750         Reviewed by Adam Barth.
4751
4752         Add v8 bindings for async DB API in workers
4753         https://bugs.webkit.org/show_bug.cgi?id=39145
4754         
4755         * src/DatabaseObserver.cpp:
4756         We should check that we're on the context thread now, not the main
4757         thread.
4758         (WebCore::DatabaseObserver::databaseOpened):
4759         (WebCore::DatabaseObserver::databaseModified):
4760         (WebCore::DatabaseObserver::databaseClosed):
4761
4762 2010-05-27  Yury Semikhatsky  <yurys@chromium.org>
4763
4764         Reviewed by Pavel Feldman.
4765
4766         Resume script execution if user tries to navigate to another URL
4767         https://bugs.webkit.org/show_bug.cgi?id=39842
4768
4769         * src/WebDevToolsAgentImpl.cpp:
4770         (WebKit::):
4771         (WebKit::WebDevToolsAgentImpl::didNavigate):
4772
4773 2010-05-27  Zhenyao Mo  <zmo@google.com>
4774
4775         Reviewed by Dimitri Glazkov.
4776
4777         Implement lazy clearing of renderbuffers
4778         https://bugs.webkit.org/show_bug.cgi?id=36248
4779
4780         * src/WebGraphicsContext3DDefaultImpl.cpp:
4781         (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Clear WebGL internal buffers.
4782
4783 2010-05-26  Roland Steiner  <rolandsteiner@chromium.org>
4784
4785         Reviewed by NOBODY (layout test crashing fix).
4786
4787         Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
4788         https://bugs.webkit.org/show_bug.cgi?id=39811
4789
4790         Initialize the pluginIndex field (quick fix).
4791
4792         Tests: covered by fast/dom/prototype-inheritance-2.html
4793         (crashed under Chromium Linux and Windows)
4794
4795         * src/WebPluginListBuilderImpl.cpp:
4796         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
4797
4798 2010-05-26  Anders Carlsson  <andersca@apple.com>
4799
4800         Reviewed by Darin Adler.
4801
4802         Clean up MimeClassInfo and PluginInfo
4803         https://bugs.webkit.org/show_bug.cgi?id=39700
4804
4805         Update for WebCore changes.
4806
4807         * src/WebPluginListBuilderImpl.cpp:
4808         (WebKit::WebPluginListBuilderImpl::addPlugin):
4809         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
4810         (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
4811         * src/WebPluginListBuilderImpl.h:
4812         (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
4813
4814 2010-05-26  Jeremy Orlow  <jorlow@chromium.org>
4815
4816         Unreviewed chromium build fix
4817         https://bugs.webkit.org/show_bug.cgi?id=39739
4818
4819         The backwards compat function needs to take in a WebSecurityOrigin
4820         instead of a WebString.
4821
4822         * public/WebIndexedDatabase.h:
4823         (WebKit::WebIndexedDatabase::open):
4824
4825 2010-05-26  Jeremy Orlow  <jorlow@chromium.org>
4826
4827         Reviewed by Darin Fisher.
4828
4829         Implement WebDOMStorageList and make WebIDBDatabase use it
4830         https://bugs.webkit.org/show_bug.cgi?id=39731
4831
4832         * WebKit.gyp:
4833         * public/WebDOMStringList.h: Added.
4834         (WebKit::WebDOMStringList::~WebDOMStringList):
4835         (WebKit::WebDOMStringList::WebDOMStringList):
4836         (WebKit::WebDOMStringList::operator=):
4837         * public/WebIDBDatabase.h:
4838         (WebKit::WebIDBDatabase::objectStores):
4839         * src/IDBDatabaseProxy.cpp:
4840         (WebCore::IDBDatabaseProxy::objectStores):
4841         * src/WebDOMStringList.cpp: Added.
4842         (WebKit::WebDOMStringList::reset):
4843         (WebKit::WebDOMStringList::assign):
4844         (WebKit::WebDOMStringList::append):
4845         (WebKit::WebDOMStringList::length):
4846         (WebKit::WebDOMStringList::item):
4847         (WebKit::WebDOMStringList::WebDOMStringList):
4848         (WebKit::WebDOMStringList::operator=):
4849         (WebKit::WebDOMStringList::operator WTF::PassRefPtr<WebCore::DOMStringList>):
4850         * src/WebIDBDatabaseImpl.cpp:
4851         (WebKit::WebIDBDatabaseImpl::objectStores):
4852         * src/WebIDBDatabaseImpl.h:
4853
4854 2010-05-24  Jeremy Orlow  <jorlow@chromium.org>
4855
4856         Reviewed by Steve Block.
4857
4858         Add IDBDatabase's attributes
4859         https://bugs.webkit.org/show_bug.cgi?id=39602
4860
4861         Plumbing to hook up the synchronous attribute requests
4862         on IDBDatabase.
4863
4864         * public/WebIDBDatabase.h:
4865         (WebKit::WebIDBDatabase::name):
4866         (WebKit::WebIDBDatabase::description):
4867         (WebKit::WebIDBDatabase::version):
4868         (WebKit::WebIDBDatabase::objectStores):
4869         * src/IDBDatabaseProxy.cpp:
4870         (WebCore::IDBDatabaseProxy::name):
4871         (WebCore::IDBDatabaseProxy::description):
4872         (WebCore::IDBDatabaseProxy::version):
4873         (WebCore::IDBDatabaseProxy::objectStores):
4874         * src/IDBDatabaseProxy.h:
4875         * src/WebIDBDatabaseImpl.cpp:
4876         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
4877         (WebKit::WebIDBDatabaseImpl::name):
4878         (WebKit::WebIDBDatabaseImpl::description):
4879         (WebKit::WebIDBDatabaseImpl::version):
4880         (WebKit::WebIDBDatabaseImpl::objectStores):
4881         * src/WebIDBDatabaseImpl.h:
4882
4883 2010-05-24  Dirk Pranke  <dpranke@chromium.org>
4884
4885         Reviewed by Dimitri Glazkov.
4886
4887         Re-commit r58765 - it had been rolled out to see if it was causing
4888         a perf regression (in r59787 and r59789), but that does not seem to
4889         have been the case.
4890
4891         * public/WebNotification.h:
4892         * src/WebNotification.cpp:
4893         (WebKit::WebNotification::dir):
4894         (WebKit::WebNotification::replaceId):
4895
4896 2010-05-25  Brett Wilson  <brettw@chromium.org>
4897
4898         Reviewed by Darin Fisher.
4899
4900         Remove obsolete code for Mac & Windows plugin creation in the Chromium
4901         port. This non-Windows code was to prevent a crash which we no longer
4902         seem to have, and it is preventing other types of plugins from working.
4903         https://bugs.webkit.org/show_bug.cgi?id=39684
4904
4905         * src/FrameLoaderClientImpl.cpp:
4906         (WebKit::FrameLoaderClientImpl::createPlugin):
4907
4908 2010-05-25  Kent Tamura  <tkent@chromium.org>
4909
4910         Reviewed by Dimitri Glazkov.
4911
4912         [DRT/Chromium] Enable 3D_CANVAS, FILTERS, METER_TAG and PROGRESS_TAG
4913         https://bugs.webkit.org/show_bug.cgi?id=39652
4914
4915         3D_CANVAS and FILTERS have been enabled for Chromium tree
4916         build. They fix dozens of unexpected test results in a case of
4917         upstreaming build.
4918         Enable METER_TAG and PROGRESS_TAG too because they will be enabled
4919         in Chromium tree in the near future.
4920
4921         * features.gypi:
4922
4923 2010-05-25  Vangelis Kokkevis  <vangelis@chromium.org>
4924
4925         Reviewed by Darin Fisher.
4926
4927         The GraphicsContext that serves as a backing store for the root layer
4928         updates when doing accelerated compositing is now stored in LayerRendererChromium
4929         instead of the Layer itself. Updating code in WebViewImpl to reflect
4930         that change.
4931         https://bugs.webkit.org/show_bug.cgi?id=39640
4932
4933         * src/WebViewImpl.cpp:
4934         (WebKit::WebViewImpl::updateRootLayerContents):
4935
4936 2010-05-24  Yury Semikhatsky  <yurys@chromium.org>
4937
4938         Reviewed by Pavel Feldman.
4939
4940         ScriptDebugServer is now implemented as DebugEventListener which means it doesn't
4941         depend on v8 debugging protocol, instead it uses ExecState to collect debugging
4942         info and pass it to the listeners.
4943
4944         New implementation of ScriptDebugServer uses methods provided by client to dispatch
4945         its messages while JS is paused(previously the messages was dispatched in a callback
4946         passed to v8 along with DebugEventHandler).
4947
4948         Pause command is dispatched on IO thread.
4949
4950         https://bugs.webkit.org/show_bug.cgi?id=39594
4951
4952         * public/WebDevToolsAgentClient.h:
4953         (WebKit::WebDevToolsAgentClient::ClientMessageLoop::~ClientMessageLoop):
4954         (WebKit::WebDevToolsAgentClient::createClientMessageLoop): Returns an object that allows to run
4955         nested client message loop while script execution is paused on a breakpoint.
4956         * src/DebuggerAgentManager.cpp:
4957         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
4958         * src/DebuggerAgentManager.h:
4959         * src/WebDevToolsAgentImpl.cpp:
4960         (WebKit::):
4961         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
4962         (WebKit::WebDevToolsAgentImpl::attach):
4963         * src/js/DebuggerScript.js:
4964         (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
4965         (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
4966         (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
4967         (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
4968         * src/js/InspectorControllerImpl.js:
4969         (devtools.InspectorBackendImpl):
4970         (else.devtools.InspectorBackendImpl.prototype.pauseInDebugger): Pause command should be handled on IO
4971         thread so that script can be paused even if it's in an infinite loop.
4972
4973 2010-05-25  Yury Semikhatsky  <yurys@chromium.org>
4974
4975         Reviewed by Pavel Feldman.
4976
4977         Add memory graph to Timeline overview pane.
4978
4979         https://bugs.webkit.org/show_bug.cgi?id=37879
4980
4981         * src/js/devTools.css:
4982         (.timeline-category-statusbar-item input):
4983
4984 2010-05-24  Tony Chang  <tony@chromium.org>
4985
4986         Reviewed by David Levin.
4987
4988         [chromium] Fix zoom tests after r60104
4989         https://bugs.webkit.org/show_bug.cgi?id=39645
4990         
4991         m_zoomFactor moved from Frame to FrameView.  FrameView has separate
4992         notions of page zoom and text zoom.  In my hurried compile fix, I
4993         assumed that m_zoomFactor was for page zoom, but it's not always.
4994
4995         * src/WebViewImpl.cpp:
4996         (WebKit::WebViewImpl::setZoomLevel):
4997
4998 2010-05-24  Kent Tamura  <tkent@chromium.org>
4999
5000         Unreviewed. Sort features.
5001
5002         * features.gypi:
5003
5004 2010-05-24  Kent Tamura  <tkent@chromium.org>
5005
5006         Reviewed by Dimitri Glazkov.
5007
5008         [DRT/Chromium] Import layout_test_helper for Windows
5009         https://bugs.webkit.org/show_bug.cgi?id=39581
5010
5011         * WebKit.gyp: Add a build rule for LayoutTestHelper.exe for Windows.
5012
5013 2010-05-24  Marcus Bulach  <bulach@chromium.org>
5014
5015         Reviewed by Kent Tamura.
5016
5017         [chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
5018         https://bugs.webkit.org/show_bug.cgi?id=39587
5019
5020         * public/WebGeolocationServiceMock.h:
5021         * src/WebGeolocationServiceMock.cpp:
5022         (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
5023         (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
5024         (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
5025         (WebKit::WebGeolocationServiceMockImpl::attachBridge):
5026         (WebKit::WebGeolocationServiceMockImpl::detachBridge):
5027
5028 2010-05-24  Tony Chang  <tony@chromium.org>
5029
5030         Reviewed by Kent Tamura.
5031
5032         [chromium] setup fonts on chromium linux DRT
5033         https://bugs.webkit.org/show_bug.cgi?id=39644
5034
5035         * WebKit.gyp:
5036
5037 2010-05-24  Tony Chang  <tony@chromium.org>
5038
5039         Not reviewed, build fix.
5040
5041         Fix the chromium compile due to pageZoomFactor refactoring.
5042
5043         * src/WebViewImpl.cpp:
5044         (WebKit::WebViewImpl::setZoomLevel):
5045
5046 2010-05-24  Darin Adler  <darin@apple.com>
5047
5048         Reviewed by Eric Seidel.
5049
5050         Move view-related functions from Frame to FrameView
5051         https://bugs.webkit.org/show_bug.cgi?id=39366
5052
5053         * src/WebViewImpl.cpp:
5054         (WebKit::WebViewImpl::setZoomLevel): Call setZoomLevel on FrameView.
5055
5056 2010-05-24  Anders Carlsson  <andersca@apple.com>
5057
5058         Attempt to fix the Chromium build.
5059
5060         * src/WebViewImpl.cpp:
5061
5062 2010-05-21  Tony Chang  <tony@chromium.org>
5063
5064         Reviewed by Ojan Vafai.
5065
5066         [chromium] if keydown is prevented, don't update the IME and clear the IME state
5067         https://bugs.webkit.org/show_bug.cgi?id=39475
5068
5069         * src/WebViewImpl.cpp:
5070         (WebKit::WebViewImpl::handleCompositionEvent):
5071
5072 2010-05-23  Roman Gershman  <romange@google.com>
5073
5074         Reviewed by Darin Fisher.
5075
5076         [Chromium] Suggestion popup is not closed when the view is scrolled.
5077         https://bugs.webkit.org/show_bug.cgi?id=38640
5078
5079         This bug appears on both Windows and Linux platforms.
5080         Mac OS, however handles window messages differently and
5081         closes popup menu in RenderWidgetHostViewMac::Destroy().
5082
5083         No tests were added because test_shell does not support suggestion
5084         popup.
5085
5086         * src/ChromeClientImpl.cpp:
5087         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
5088         (WebKit::ChromeClientImpl::scroll):
5089
5090 2010-05-23  Marcus Bulach  <bulach@chromium.org>
5091
5092         Reviewed by Kent Tamura.
5093
5094         [chromium] Adds Geolocation support to DumpRenderTree.
5095         https://bugs.webkit.org/show_bug.cgi?id=39440
5096
5097         Existing LayoutTests/fast/dom/Geolocation/* should pass.
5098
5099         * public/WebGeolocationServiceMock.h:
5100         * src/WebGeolocationServiceMock.cpp:
5101         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
5102         (WebKit::WebGeolocationServiceMock::requestPermissionForFrame):
5103         (WebKit::WebGeolocationServiceMock::attachBridge):
5104         (WebKit::WebGeolocationServiceMock::detachBridge):
5105
5106 2010-05-22  Kent Tamura  <tkent@chromium.org>
5107
5108         Reviewed by Dimitri Glazkov.
5109
5110         [DRT/Chromium] Link resources and load Ahem font for Windows
5111         https://bugs.webkit.org/show_bug.cgi?id=39473
5112
5113         * WebKit.gyp:
5114           Add net and webkit resources for Windows.
5115           Copy AHEM____.TTF to DumpRenderTree.exe directory.
5116
5117 2010-05-21  Steve Block  <steveblock@google.com>
5118
5119         Reviewed by Jeremy Orlow.
5120
5121         Add DeviceOrientation and DeviceOrientationClient
5122         https://bugs.webkit.org/show_bug.cgi?id=39479
5123
5124         * src/WebViewImpl.cpp:
5125         (WebKit::WebViewImpl::WebViewImpl):
5126
5127 2010-05-20  Viet-Trung Luu  <viettrungluu@chromium.org>
5128
5129         Reviewed by Darin Fisher.
5130
5131         [Chromium] Don't rely on focused node to route mouse events to plugins.
5132         https://bugs.webkit.org/show_bug.cgi?id=39375
5133         http://crbug.com/43935
5134
5135         On mouse down, do a hit test and check if a plugin was hit. If so, then
5136         save the node for future mouse events (until mouse up or capture lost).
5137
5138         * src/WebViewImpl.cpp:
5139         (WebKit::WebViewImpl::WebViewImpl):
5140         (WebKit::WebViewImpl::mouseDown):
5141         (WebKit::WebViewImpl::handleInputEvent):
5142         (WebKit::WebViewImpl::mouseCaptureLost):
5143         * src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode.
5144
5145 2010-05-20  Dominic Mazzoni  <dmazzoni@chromium.org>
5146
5147         Reviewed by Darin Fisher.
5148
5149         Add headingLevel and setFocused methods.
5150
5151         https://bugs.webkit.org/show_bug.cgi?id=39238
5152
5153         * public/WebAccessibilityObject.h:
5154         * src/WebAccessibilityObject.cpp:
5155         (WebKit::WebAccessibilityObject::headingLevel):
5156         (WebKit::WebAccessibilityObject::setFocused):
5157
5158 2010-05-20  Zhenyao Mo  <zmo@google.com>
5159
5160         Reviewed by Dimitri Glazkov.
5161
5162         Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
5163         https://bugs.webkit.org/show_bug.cgi?id=39077
5164
5165         * src/WebGraphicsContext3DDefaultImpl.cpp:
5166         (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums.
5167
5168 2010-05-20  Abhishek Arya  <inferno@chromium.org>
5169
5170         Reviewed by Adam Barth.
5171
5172         Added method to WebSecurityOrigin for invoking
5173         SecurityOrigin::canAccessPasswordManager.
5174         https://bugs.webkit.org/show_bug.cgi?id=38916
5175
5176         * public/WebSecurityOrigin.h:
5177         * src/WebSecurityOrigin.cpp:
5178         (WebKit::WebSecurityOrigin::canAccessPasswordManager):
5179
5180 2010-05-20  Darin Fisher  <darin@chromium.org>
5181
5182         Reviewed by Nate Chapin.
5183
5184         [chromium] Provide a way to catch exceptions thrown while interacting
5185         with a NPObject via WebBindings methods.
5186         https://bugs.webkit.org/show_bug.cgi?id=39378
5187
5188         * public/WebBindings.h:
5189         * src/WebBindings.cpp:
5190         (WebKit::WebBindings::pushExceptionHandler):
5191         (WebKit::WebBindings::popExceptionHandler):
5192
5193 2010-05-20  Jian Li  <jianli@chromium.org>
5194
5195         Reviewed by David Levin.
5196
5197         Rename GenericWorkerTask.h to CrossThreadTask.h and move it to dom directory.
5198         https://bugs.webkit.org/show_bug.cgi?id=39135
5199
5200         * src/WebSharedWorkerImpl.cpp:
5201         * src/WebWorkerBase.cpp:
5202         * src/WebWorkerClientImpl.cpp:
5203         * src/WebWorkerImpl.cpp:
5204
5205 2010-05-20  Martin Robinson  <mrobinson@webkit.org>
5206
5207         Reviewed by Ojan Vafai.
5208
5209         Expose the editing behavior setting in DRT to test all editing code paths
5210         https://bugs.webkit.org/show_bug.cgi?id=38603
5211
5212         * public/WebSettings.h:
5213         (WebKit::WebSettings::): Added an enum for EditingBehavior types.
5214         * src/WebSettingsImpl.cpp: 
5215         (WebKit::WebSettingsImpl::setEditingBehavior): Added.
5216         * src/WebSettingsImpl.h:
5217
5218 2010-05-19  Vangelis Kokkevis  <vangelis@chromium.org>
5219
5220         Reviewed by Darin Fisher.
5221
5222         Modifying WebViewImpl to support new hardware compositing for
5223         LayerChromium layers.
5224         https://bugs.webkit.org/show_bug.cgi?id=38783
5225
5226         * src/WebViewImpl.cpp:
5227         (WebKit::WebViewImpl::paint):
5228         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5229         (WebKit::WebViewImpl::updateRootLayerContents):
5230         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
5231
5232 2010-05-19  Tony Chang  <tony@chromium.org>
5233
5234         Reviewed by Kent Tamura.
5235
5236         [chromium] disable spelling suggestions if spellcheck=false
5237         https://bugs.webkit.org/show_bug.cgi?id=39402
5238         
5239         This is the Chromium fix for bug 25639 that was fixed in the
5240         other ports in r59585.
5241
5242         * src/ContextMenuClientImpl.cpp:
5243         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5244
5245 2010-05-19  Darin Fisher  <darin@chromium.org>
5246
5247         Revert r59790 due to failing Chromium npruntime tests.
5248
5249         * public/WebBindings.h:
5250         * src/WebBindings.cpp:
5251
5252 2010-05-19  Darin Fisher  <darin@chromium.org>
5253
5254         Reviewed by Nate Chapin.
5255
5256         [chromium] Provide a way to catch exceptions thrown while interacting
5257         with a NPObject via WebBindings methods.
5258         https://bugs.webkit.org/show_bug.cgi?id=39378
5259
5260         * public/WebBindings.h:
5261         * src/WebBindings.cpp:
5262         (WebKit::WebBindings::pushExceptionHandler):
5263         (WebKit::WebBindings::popExceptionHandler):
5264
5265 2010-05-19  Dirk Pranke  <dpranke@chromium.org>
5266
5267         Try again to roll out r58765.
5268
5269         * public/WebNotification.h:
5270         * src/WebNotification.cpp:
5271
5272 2010-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
5273
5274         Unreviewed, rolling out r59782.
5275         http://trac.webkit.org/changeset/59782
5276         https://bugs.webkit.org/show_bug.cgi?id=39379
5277
5278         broke DRT build (Requested by dpranke on #webkit).
5279
5280         * public/WebNotification.h:
5281         * src/WebNotification.cpp:
5282         (WebKit::WebNotification::dir):
5283         (WebKit::WebNotification::replaceId):
5284
5285 2010-05-19  Jian Li  <jianli@chromium.org>
5286
5287         Reviewed by Darin Fisher.
5288
5289         Remove obsolete ChromiumBridge code that routes FileSystem calls to WebKitClient.
5290         https://bugs.webkit.org/show_bug.cgi?id=39332
5291
5292         * public/WebKitClient.h:
5293         * src/ChromiumBridge.cpp:
5294         (WebCore::ChromiumBridge::fileExists):
5295         (WebCore::ChromiumBridge::deleteFile):
5296         (WebCore::ChromiumBridge::deleteEmptyDirectory):
5297         (WebCore::ChromiumBridge::getFileSize):
5298         (WebCore::ChromiumBridge::getFileModificationTime):
5299         (WebCore::ChromiumBridge::directoryName):
5300         (WebCore::ChromiumBridge::pathByAppendingComponent):
5301         (WebCore::ChromiumBridge::makeAllDirectories):
5302         (WebCore::ChromiumBridge::getAbsolutePath):
5303         (WebCore::ChromiumBridge::isDirectory):
5304         (WebCore::ChromiumBridge::filePathToURL):
5305
5306 2010-05-19  Marcus Bulach  <bulach@chromium.org>
5307
5308         Reviewed by Steve Block.
5309
5310         [chromium] Adds supports for layout tests using GeolocationServiceMock.
5311         https://bugs.webkit.org/show_bug.cgi?id=39081
5312
5313         Allows injection of GeolocationServiceMock factory.
5314         Tests: existing fast/dom/Geolocation/*
5315
5316         * WebKit.gyp:
5317         * public/WebGeolocationServiceMock.h: Added.
5318         * src/WebGeolocationServiceMock.cpp: Added.
5319         (WebCore::GeolocationServiceChromiumMock::create):
5320         (WebCore::GeolocationServiceChromiumMock::GeolocationServiceChromiumMock):
5321         (WebCore::GeolocationServiceChromiumMock::startUpdating):
5322         (WebCore::GeolocationServiceChromiumMock::stopUpdating):
5323         (WebCore::GeolocationServiceChromiumMock::lastPosition):
5324         (WebCore::GeolocationServiceChromiumMock::lastError):
5325         (WebCore::GeolocationServiceChromiumMock::geolocationServicePositionChanged):
5326         (WebCore::GeolocationServiceChromiumMock::geolocationServiceErrorOccurred):
5327         (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
5328         (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
5329
5330 2010-05-17  Jeremy Orlow  <jorlow@chromium.org>
5331
5332         Reviewed by Darin Fisher.
5333
5334         Hook Chromium's WebIndexedDatabaseImpl up to IndexedDatabaseImpl
5335         https://bugs.webkit.org/show_bug.cgi?id=39216
5336
5337         Web____Impl is for re-entering the WebKit layer from the browser layer.
5338         Thus the previous IDBCallbacksProxy was mis-named (and should have been
5339         WebIDBCallbacksImpl).  This patch renames it and then implements the
5340         proper proxy (which is for going from WebCore to WebKit).
5341
5342         Also change using security origin strings to using WebSecurityOrigin
5343         objects.
5344
5345         This patch also implements the glue between WebIndexedDatabaseImpl and
5346         IndexedDatabaseImpl.
5347
5348         * WebKit.gyp:
5349         * src/IDBCallbacksProxy.cpp:
5350         (WebCore::IDBCallbacksProxy::create):
5351         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
5352         (WebCore::IDBCallbacksProxy::onError):
5353         (WebCore::IDBCallbacksProxy::onSuccess):
5354         * src/IDBCallbacksProxy.h:
5355         * src/IndexedDatabaseProxy.cpp:
5356         (WebCore::IndexedDatabaseProxy::open):
5357         * src/IndexedDatabaseProxy.h:
5358         * src/WebIDBCallbacksImpl.cpp: Added.
5359         (WebCore::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
5360         (WebCore::WebIDBCallbacksImpl::~WebIDBCallbacksImpl):
5361         (WebCore::WebIDBCallbacksImpl::onError):
5362         (WebCore::WebIDBCallbacksImpl::onSuccess):
5363         * src/WebIDBCallbacksImpl.h: Added.
5364         * src/WebIDBDatabaseImpl.cpp: Added.
5365         (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
5366         (WebKit::WebIDBDatabaseImpl::~WebIDBDatabaseImpl):
5367         * src/WebIDBDatabaseImpl.h: Added.
5368         * src/WebIndexedDatabaseImpl.cpp:
5369         (WebKit::WebIndexedDatabaseImpl::WebIndexedDatabaseImpl):
5370         (WebKit::WebIndexedDatabaseImpl::open):
5371         * src/WebIndexedDatabaseImpl.h:
5372
5373 2010-05-18  Kent Tamura  <tkent@chromium.org>
5374
5375         Reviewed by Dimitri Glazkov.
5376
5377         [DRT/Chromium] Fix a repaint issue and textarea tests
5378         https://bugs.webkit.org/show_bug.cgi?id=39054
5379
5380         * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
5381           and textAreaResizeCorner.png
5382         * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
5383
5384 2010-05-18  Tony Chang  <tony@chromium.org>
5385
5386         Reviewed by Ojan Vafai.
5387
5388         [chromium] ignore IME events if the keydown event was prevented
5389         https://bugs.webkit.org/show_bug.cgi?id=37692
5390
5391         * src/WebViewImpl.cpp:
5392         (WebKit::WebViewImpl::handleCompositionEvent):
5393
5394 2010-05-18  MORITA Hajime  <morrita@google.com>
5395
5396         Reviewed by Kent Tamura.
5397
5398         [Chromium] Windows: Determinate progress bar should have glossy overlay
5399         https://bugs.webkit.org/show_bug.cgi?id=39269
5400
5401         Changed WebThemeEngine::drawProgressBar() signature to delegate
5402         theme implementation detail to the engine.
5403         Chromium side will come to http://crbug.com/44430.
5404         
5405         No new tests, animation effect can be confirmed only manually.        
5406
5407         * public/WebThemeEngine.h:
5408         (WebKit::WebThemeEngine::paintProgressBar):
5409         * src/ChromiumBridge.cpp:
5410         (WebCore::ChromiumBridge::paintProgressBar):
5411
5412 2010-05-16  Mike Belshe  <mbelshe@chromium.org>
5413
5414         Reviewed by Dimitri Glazkov.
5415
5416         Add a flag to the ResourceResponse for tracking if a request was
5417         fetched via the TLS/Next-Protocol-Negotiation mechanism.
5418
5419         Also cleaned up the style in ResourceResponse to group the flags
5420         together (and alphabetically) and hopefully improve readability of
5421         the file.
5422
5423         https://bugs.webkit.org/show_bug.cgi?id=39078
5424
5425         * public/WebURLResponse.h:
5426         * src/WebURLResponse.cpp:
5427         (WebKit::WebURLResponse::wasNpnNegotiated):
5428         (WebKit::WebURLResponse::setWasNpnNegotiated):
5429
5430 2010-05-16  Eric Seidel  <eric@webkit.org>
5431
5432         Unreviewed, rolling out r59571.
5433         http://trac.webkit.org/changeset/59571
5434         https://bugs.webkit.org/show_bug.cgi?id=39054
5435
5436         Broke Cr Win, but we didn't notice immediately due to
5437         https://bugs.webkit.org/show_bug.cgi?id=38926.  It's possible
5438         that this didn't actually break Cr Win, but rather that bug
5439         38926 necessitates a clean compile after this and sucessive
5440         checkins only produced a partial recompile and thus failed to
5441         build.
5442
5443         * DEPS:
5444         * WebKit.gyp:
5445         * features.gypi:
5446
5447 2010-05-16  Sheriff Bot  <webkit.review.bot@gmail.com>
5448
5449         Unreviewed, rolling out r59574.
5450         http://trac.webkit.org/changeset/59574
5451         https://bugs.webkit.org/show_bug.cgi?id=39176
5452
5453         Supposedly broke cr-win, but the errors seems somewhat
5454         unrelated (Requested by abarth on #webkit).
5455
5456         * public/WebURLResponse.h:
5457         * src/WebURLResponse.cpp:
5458
5459 2010-05-16  Mike Belshe  <mbelshe@chromium.org>
5460
5461         Reviewed by Dimitri Glazkov.
5462
5463         Add a flag to the ResourceResponse for tracking if a request was
5464         fetched via the TLS/Next-Protocol-Negotiation mechanism.
5465
5466         Also cleaned up the style in ResourceResponse to group the flags
5467         together (and alphabetically) and hopefully improve readability of
5468         the file.
5469
5470         https://bugs.webkit.org/show_bug.cgi?id=39078
5471
5472         * public/WebURLResponse.h:
5473         * src/WebURLResponse.cpp:
5474         (WebKit::WebURLResponse::wasNpnNegotiated):
5475         (WebKit::WebURLResponse::setWasNpnNegotiated):
5476
5477 2010-05-16  Kent Tamura  <tkent@chromium.org>
5478
5479         Reviewed by Dimitri Glazkov.
5480
5481         [DRT/Chromium] Fix repaint, WebGL, textarea tests
5482         https://bugs.webkit.org/show_bug.cgi?id=39054
5483
5484         * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion
5485           and textAreaResizeCorner.png
5486         * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource
5487         * features.gypi: Enable ENABLE_3D_CANVAS.
5488
5489 2010-05-15  Darin Fisher  <darin@chromium.org>
5490
5491         Reviewed by Adam Barth.
5492
5493         [chromium] Expose element accessor on WebPluginContainer
5494         https://bugs.webkit.org/show_bug.cgi?id=39152
5495
5496         * public/WebPluginContainer.h:
5497         * src/WebPluginContainerImpl.cpp:
5498         (WebKit::WebPluginContainerImpl::element):
5499         * src/WebPluginContainerImpl.h:
5500
5501 2010-05-15  Jochen Eisinger  <jochen@chromium.org>
5502
5503         Reviewed by Dmitry Titov.
5504
5505         Implement canEstablishDatabase call for workers.
5506         https://bugs.webkit.org/show_bug.cgi?id=38742
5507
5508         * public/WebCommonWorkerClient.h:
5509         * src/DatabaseObserver.cpp:
5510         (WebCore::DatabaseObserver::canEstablishDatabase):
5511         * src/WebWorkerBase.cpp:
5512         (WebKit::WebWorkerBase::allowDatabase):
5513         (WebKit::WebWorkerBase::allowDatabaseTask):
5514         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
5515         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::cancel):
5516         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::result):
5517         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::signalCompleted):
5518         (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::didComplete):
5519         * src/WebWorkerBase.h:
5520         * src/WebWorkerClientImpl.h:
5521         (WebKit::WebWorkerClientImpl::allowDatabase):
5522
5523 2010-05-15  Jay Civelli  <jcivelli@chromium.org>
5524
5525         Reviewed by Darin Fisher.
5526
5527         [chromium] Adding a notification on WebViewClient when a new 
5528         node gets focused.
5529         https://bugs.webkit.org/show_bug.cgi?id=38508
5530
5531         * public/WebViewClient.h:
5532         (WebKit::WebViewClient::focusedNodeChanged):
5533         * src/ChromeClientImpl.cpp:
5534         (WebKit::ChromeClientImpl::focusedNodeChanged):
5535
5536 2010-05-15  Evan Stade  <estade@chromium.org>
5537
5538         Reviewed by Adam Barth.
5539
5540         [chromium] "Check spelling in this field" context menu item always checked
5541         https://bugs.webkit.org/show_bug.cgi?id=39018
5542
5543         Initialize all POD members of WebContextMenuData in a default
5544         constructor.
5545
5546         No tests because this code would need some major refactoring to unit
5547         test, and AFAICT it's not testable via layout tests. See note at top
5548         of getCustomMenuFromDefaultItems.
5549
5550         * public/WebContextMenuData.h:
5551         (WebKit::WebContextMenuData::WebContextMenuData):
5552         * src/ContextMenuClientImpl.cpp:
5553         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
5554
5555 2010-05-14  Darin Fisher  <darin@chromium.org>
5556
5557         Reviewed by Dimitri Glazkov.
5558
5559         [chromium] Remove temporary relative include paths
5560         https://bugs.webkit.org/show_bug.cgi?id=38776
5561
5562         * public/WebPasswordAutocompleteListener.h:
5563         * src/FrameLoaderClientImpl.h:
5564         * src/PlatformMessagePortChannel.h:
5565         * src/WebAnimationControllerImpl.h:
5566         * src/WebBindings.cpp:
5567         * src/WebDataSourceImpl.h:
5568         * src/WebDevToolsAgentPrivate.h:
5569         * src/WebFileChooserCompletionImpl.h:
5570         * src/WebFrameImpl.h:
5571         * src/WebInputEventConversion.h:
5572         * src/WebPluginContainerImpl.h:
5573         * src/WebPluginLoadObserver.h:
5574         * src/WebPopupMenuImpl.h:
5575         * src/WebSettingsImpl.h:
5576         * src/WebViewImpl.h:
5577         * src/WebWorkerClientImpl.h:
5578         * src/WrappedResourceRequest.h:
5579         * src/WrappedResourceResponse.h:
5580
5581 2010-05-14  Anton Muhin  <antonm@chromium.org>
5582
5583         Reviewed by Darin Fisher.
5584
5585         [Chromium] Consider implementing addOriginAccessWhitelistEntry method
5586         https://bugs.webkit.org/show_bug.cgi?id=37578
5587
5588         Remove deprecated methods.
5589
5590         * public/WebSecurityPolicy.h:
5591         * src/WebSecurityPolicy.cpp:
5592
5593 2010-05-14  Kenneth Russell  <kbr@google.com>
5594
5595         Reviewed by Darin Adler.
5596
5597         Rename WebGLArray types to TypedArray types
5598         https://bugs.webkit.org/show_bug.cgi?id=39091
5599
5600         Extended functionality of do-webcore-rename script and used it to
5601         rename the WebGLArray types to the TypedArray naming convention.
5602         The only source files which were touched by hand, and which are
5603         being manually reviewed, are:
5604             WebCore/page/DOMWindow.idl
5605             WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
5606             WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
5607             WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
5608         These only needed to be touched to update the aliases between the
5609         WebGLArray and TypedArray names introduced in bug 39036. (It was
5610         not feasible to have do-webcore-rename handle this as it would
5611         introduce circular renamings.) These aliases will be removed in
5612         roughly a month once existing WebGL content has been updated.
5613
5614         No new tests; covered under existing WebGL tests. Updated
5615         constructed-objects-prototypes and prototype-inheritance-2 tests.
5616         Ran all layout tests in Safari and all WebGL tests in Chromium.
5617
5618         * src/GraphicsContext3D.cpp:
5619         (WebCore::GraphicsContext3DInternal::bufferData):
5620         (WebCore::GraphicsContext3DInternal::bufferSubData):
5621
5622 2010-05-14  Jochen Eisinger  <jochen@chromium.org>
5623
5624         Reviewed by Eric Seidel.
5625
5626         Make ImageDiff depend on webkit (again).
5627         https://bugs.webkit.org/show_bug.cgi?id=39000
5628
5629         * WebKit.gyp:
5630
5631 2010-05-14  James Simonsen  <simonjam+webkit@google.com>
5632
5633         Reviewed by Darin Fisher.
5634
5635         [chromium] Expose volume through WebMediaPlayerClient
5636         https://bugs.webkit.org/show_bug.cgi?id=38947
5637
5638         * public/WebMediaPlayerClient.h:
5639         * src/WebMediaPlayerClientImpl.cpp:
5640         (WebKit::WebMediaPlayerClientImpl::volume):
5641         * src/WebMediaPlayerClientImpl.h:
5642
5643 2010-05-14  Tony Gentilcore  <tonyg@chromium.org>
5644
5645         Reviewed by Darin Fisher.
5646
5647         [chromium] Update chromium port to send/receive cached metadata
5648         https://bugs.webkit.org/show_bug.cgi?id=38665
5649
5650         * public/WebKitClient.h:
5651         (WebKit::WebKitClient::cacheMetadata):
5652         * public/WebURLLoaderClient.h:
5653         (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
5654         * public/WebURLResponse.h:
5655         * src/ChromiumBridge.cpp:
5656         (WebCore::ChromiumBridge::cacheMetadata):
5657         * src/ResourceHandle.cpp:
5658         (WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
5659         (WebCore::ResourceHandle::cacheMetadata):
5660         * src/WebURLResponse.cpp:
5661         (WebKit::WebURLResponse::responseTime):
5662         (WebKit::WebURLResponse::setResponseTime):
5663
5664 2010-05-13  Tony Chang  <tony@chromium.org>
5665
5666         Reviewed by Kent Tamura.
5667
5668         [chromium] enable DRT build in chromium (for the last time)
5669         https://bugs.webkit.org/show_bug.cgi?id=39109
5670
5671         * WebKit.gyp:
5672
5673 2010-05-13  Pavel Feldman  <pfeldman@chromium.org>
5674
5675         Reviewed by Yury Semikhatsky.
5676
5677         Web Inspector: main inspector toolbar takes noticeable time to expand.
5678
5679         https://bugs.webkit.org/show_bug.cgi?id=39013
5680
5681         * src/js/DevTools.js:
5682         (devtools.domContentLoaded):
5683
5684 2010-05-12  Hans Wennborg  <hans@chromium.org>
5685
5686         Reviewed by Jeremy Orlow.
5687
5688         [Chromium] Remove transitional functions from WebStorageNamespace and WebViewClient.
5689         https://bugs.webkit.org/show_bug.cgi?id=38985
5690
5691         These functions are no longer called as of Chromium revision 47020.
5692         This is part of resolving http://crbug.com/42740
5693
5694         * public/WebStorageNamespace.h:
5695         * public/WebViewClient.h:
5696         (WebKit::WebViewClient::createSessionStorageNamespace):
5697
5698 2010-05-12  Tony Chang  <tony@chromium.org>
5699
5700         Reviewed by Kent Tamura.
5701
5702         [chromium] disable DRT in chromium again
5703         https://bugs.webkit.org/show_bug.cgi?id=39049
5704
5705         * WebKit.gyp:
5706
5707 2010-05-12  John Abd-El-Malek  <jam@chromium.org>
5708
5709         Reviewed by Darin Fisher.
5710
5711         [chromium] Disable WebScrollbarImpl's scrollbar if it's not needed
5712         https://bugs.webkit.org/show_bug.cgi?id=39025
5713
5714         * src/WebScrollbarImpl.cpp:
5715         (WebKit::WebScrollbarImpl::setLocation):
5716         (WebKit::WebScrollbarImpl::setDocumentSize):
5717
5718 2010-05-12  Dumitru Daniliuc  <dumi@chromium.org>
5719
5720         Reviewed by Dimitri Glazkov.
5721
5722         Removing the unnecessary dirfd parameter.
5723         https://bugs.webkit.org/show_bug.cgi?id=38869
5724
5725         * public/WebKitClient.h:
5726         (WebKit::WebKitClient::databaseOpenFile):
5727         * src/ChromiumBridge.cpp:
5728         (WebCore::ChromiumBridge::databaseOpenFile):
5729
5730 2010-05-12  Jeremy Orlow  <jorlow@chromium.org>
5731
5732         Reviewed by Steve Block.
5733
5734         [Chromium] Pass the origin parameter for WebIndexedDatabase::open
5735         https://bugs.webkit.org/show_bug.cgi?id=38983
5736
5737         * public/WebIndexedDatabase.h:
5738         * src/IndexedDatabaseProxy.cpp:
5739         (WebCore::IndexedDatabaseProxy::open):
5740         * src/WebIndexedDatabaseImpl.cpp:
5741         (WebKit::WebIndexedDatabaseImpl::open):
5742         * src/WebIndexedDatabaseImpl.h:
5743
5744 2010-05-10  yael aharon  <yael.aharon@nokia.com>
5745
5746         Reviewed by Darin Adler.
5747
5748         Support control attribute of HTMLLabelElement
5749         https://bugs.webkit.org/show_bug.cgi?id=38688
5750
5751         Renamed HTMLLabelElement::correspondingControl to HTMLLabelElement::control
5752
5753         * src/WebLabelElement.cpp:
5754         (WebKit::WebLabelElement::correspondingControl):
5755
5756 2010-05-12  MORITA Hajime  <morrita@google.com>
5757
5758         Reviewed by Kent Tamura.
5759         
5760         [Chromium] Support HTML5 <progress> element on Windows.
5761         https://bugs.webkit.org/show_bug.cgi?id=37308
5762
5763         Extended ChromiumBridge to handle progress bar painting,
5764         and added delegations to it.
5765         
5766         No new tests. Test cases should be shared with existing ones for
5767         progress element.  Expectaions will be added after PROGRESS_TAG is
5768         enabled on Chromium tree.
5769
5770         * public/WebThemeEngine.h:
5771         (WebKit::WebThemeEngine::paintProgressBar):
5772         * src/ChromiumBridge.cpp:
5773         (WebCore::ChromiumBridge::paintProgressBar):
5774
5775 2010-05-12  Marcus Bulach  <bulach@chromium.org>
5776
5777         Reviewed by Steve Block.
5778
5779         Attaches the geolocation bridge later on startUpdating().
5780         This prevents a page requesting permission when it has just accessed navigator.geolocation (without calling navigator.geolocation.getCurrentPosition/watchPosition).
5781         Note: when Geolocation::haveSuitableCachedPosition(), WebGeolocationServiceBridgeImpl::startUpdating() is not called,
5782         so we attach the bridge if needed at requestGeolocationPermissionForFrame().
5783         https://bugs.webkit.org/show_bug.cgi?id=38323
5784         http://crbug.com/42789
5785
5786         * src/ChromeClientImpl.cpp:
5787         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
5788         * src/WebGeolocationServiceBridgeImpl.cpp:
5789         (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
5790         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
5791
5792 2010-05-12  Tony Chang  <tony@chromium.org>
5793
5794         Reviewed by Kent Tamura.
5795
5796         [chromium] add DRT back to the chromium build
5797         https://bugs.webkit.org/show_bug.cgi?id=38978
5798
5799         * WebKit.gyp:
5800
5801 2010-05-11  Kent Tamura  <tkent@chromium.org>
5802
5803         Reviewed by Dimitri Glazkov.
5804
5805         [DRT/Chromium] Apply recent changes of test_shell to DRT
5806         https://bugs.webkit.org/show_bug.cgi?id=38895
5807
5808         * DEPS: Update Chromium revision to use the recent webkit_support change.
5809         * WebKit.gyp: Add JavaScriptCore/wtf to 'include' section.
5810         * src/WebGraphicsContext3D.cpp:
5811           Remove ENABLE(3D_CANVAS) to provide an empty implementation of
5812           WebGraphicsContext3D::createDefault().
5813
5814 2010-05-11  Avi Drissman  <avi@chromium.org>
5815
5816         Reviewed by Darin Fisher.
5817
5818         [Chromium] Pipe RTL info into WebPopupMenuInfo
5819         https://bugs.webkit.org/show_bug.cgi?id=38749
5820
5821         * public/WebPopupMenuInfo.h:
5822         * src/ChromeClientImpl.cpp:
5823         (WebKit::ChromeClientImpl::getPopupMenuInfo):
5824
5825 2010-05-11  David Holloway  <dhollowa@chromium.org>
5826
5827         Reviewed by Darin Fisher.
5828
5829         [chromium] Add size method to WebInputElement class, providing same data
5830         as HTMLInputElement::size().  During form AutoFill Chromium needs to
5831         access the input element's size attribute in aid of form matching and
5832         filling heuristics.
5833         
5834         https://bugs.webkit.org/show_bug.cgi?id=38825
5835
5836         * public/WebInputElement.h:
5837         * src/WebInputElement.cpp:
5838         (WebKit::WebInputElement::size):
5839
5840 2010-05-11  Nate Chapin  <japhet@chromium.org>
5841
5842         Reviewed by Adam Barth.
5843
5844         Crash fix in WebPageSerializerImpl::serialize().
5845
5846         https://bugs.webkit.org/show_bug.cgi?id=38543
5847
5848         The relevant test is a test_shell_test in src.chromium.org, because neither
5849         DRT nor the Chromium webkit unit tests can currently cover the serializer
5850         functionality.
5851
5852         * src/WebPageSerializerImpl.cpp:
5853         (WebKit::WebPageSerializerImpl::serialize): Check each frame's url before using it,
5854             since they are not guaranteed to be valid (e.g., if the frame was treated as a download).
5855
5856 2010-05-11  Jian Li  <jianli@chromium.org>
5857
5858         Reviewed by Dmitry Titov.
5859
5860         Expose FileReader interface.
5861         https://bugs.webkit.org/show_bug.cgi?id=38609
5862
5863         * features.gypi: turn on building FileReader for Chromium.
5864
5865 2010-05-10  Tony Chang  <tony@chromium.org>
5866
5867         Reviewed by Kent Tamura.
5868
5869         [chromium] don't build DRT in chromium checkouts due to a circular gyp dependency
5870         https://bugs.webkit.org/show_bug.cgi?id=38889
5871
5872         * WebKit.gyp:
5873
5874 2010-05-10  John Abd-El-Malek  <jam@chromium.org>
5875
5876         Reviewed by Darin Fisher.
5877
5878         [chromium] Add WebKitScrollbar interface to allow Chromium code to reuse the scrollbar code
5879         https://bugs.webkit.org/show_bug.cgi?id=38854
5880
5881         * public/WebScrollbar.h: Added.
5882         (WebKit::WebScrollbar::):
5883         (WebKit::WebScrollbar::~WebScrollbar):
5884         * public/WebScrollbarClient.h: Added.
5885         * public/WebThemeEngine.h:
5886         * src/AssertMatchingEnums.cpp:
5887         * src/WebScrollbarImpl.cpp: Added.
5888         (WebKit::WebScrollbar::create):
5889         (WebKit::WebScrollbar::defaultThickness):
5890         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
5891         (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
5892         (WebKit::WebScrollbarImpl::setLocation):
5893         (WebKit::WebScrollbarImpl::value):
5894         (WebKit::WebScrollbarImpl::setValue):
5895         (WebKit::WebScrollbarImpl::setDocumentSize):
5896         (WebKit::WebScrollbarImpl::scroll):
5897         (WebKit::WebScrollbarImpl::paint):
5898         (WebKit::WebScrollbarImpl::handleInputEvent):
5899         (WebKit::WebScrollbarImpl::onMouseDown):
5900         (WebKit::WebScrollbarImpl::onMouseUp):
5901         (WebKit::WebScrollbarImpl::onMouseMove):
5902         (WebKit::WebScrollbarImpl::onMouseLeave):
5903         (WebKit::WebScrollbarImpl::onMouseWheel):
5904         (WebKit::WebScrollbarImpl::onKeyDown):
5905         (WebKit::WebScrollbarImpl::valueChanged):
5906         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
5907         (WebKit::WebScrollbarImpl::isActive):
5908         (WebKit::WebScrollbarImpl::scrollbarCornerPresent):
5909         (WebKit::WebScrollbarImpl::getTickmarks):
5910         * src/WebScrollbarImpl.h: Added.
5911         * src/WebViewImpl.cpp:
5912         (WebKit::WebViewImpl::scrollViewWithKeyboard):
5913         (WebKit::WebViewImpl::mapKeyCodeForScroll):
5914         * src/WebViewImpl.h:
5915
5916 2010-05-10  Tony Gentilcore  <tonyg@chromium.org>
5917
5918         Reviewed by Adam Barth.
5919
5920         Provide mechanism to cache metadata for a resource
5921         https://bugs.webkit.org/show_bug.cgi?id=37874
5922
5923         * src/ResourceHandle.cpp:
5924         (WebCore::ResourceHandle::cacheMetadata):
5925
5926 2010-05-10  Hans Wennborg  <hans@chromium.org>
5927
5928         Reviewed by Jeremy Orlow.
5929
5930         [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace()
5931         https://bugs.webkit.org/show_bug.cgi?id=38750
5932
5933         Put a per-origin quota on session storage since it is using memory in
5934         the browser process, and should not be allowed to grow arbitrarily
5935         large. See also http://trac.webkit.org/changeset/58828.
5936
5937         * public/WebStorageNamespace.h:
5938         * public/WebViewClient.h:
5939         (WebKit::WebViewClient::createSessionStorageNamespace):
5940         * src/StorageNamespaceProxy.cpp:
5941         (WebCore::StorageNamespace::sessionStorageNamespace):
5942
5943
5944 2010-05-10  Jeremy Orlow  <jorlow@chromium.org>
5945
5946         Reviewed by Nate Chapin.
5947
5948         Change IndexedDB to use events instead of callbacks
5949         https://bugs.webkit.org/show_bug.cgi?id=38594
5950
5951         Change the glue here to match the changes I made in WebCore.
5952
5953         * WebKit.gyp:
5954         * public/WebIDBCallbacks.h:
5955         * public/WebIndexedDatabase.h:
5956         * src/IDBCallbacksProxy.cpp: Added.
5957         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
5958         (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
5959         (WebCore::IDBCallbacksProxy::onError):
5960         (WebCore::IDBCallbacksProxy::onSuccess):
5961         * src/IDBCallbacksProxy.h:
5962         * src/IndexedDatabaseProxy.cpp:
5963         (WebCore::IndexedDatabaseProxy::open):
5964         * src/IndexedDatabaseProxy.h:
5965         * src/WebIndexedDatabaseImpl.cpp:
5966         (WebKit::WebIndexedDatabaseImpl::open):
5967         * src/WebIndexedDatabaseImpl.h:
5968
5969 2010-05-08  Jens Alfke  <snej@chromium.org>
5970
5971         Reviewed by Darin Fisher.
5972
5973         [chromium] WebFrame::registerPasswordListener shouldn't assert on duplicate listener.
5974         https://bugs.webkit.org/show_bug.cgi?id=38765
5975
5976         * public/WebFrame.h:
5977         (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. Updated comment.
5978         * src/WebFrameImpl.cpp:
5979         (WebKit::WebFrameImpl::registerPasswordListener): Return false instead of asserting.
5980         * src/WebFrameImpl.h:
5981         (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool.
5982
5983 2010-05-08  Michael Nordman  <michaeln@google.com>
5984
5985         Reviewed by Dmitry Titov.
5986
5987         Add an additional parameter to the WebSharedWorker::startWorkerContext method
5988         to indicate which appcache the shared worker script resource was loaded from,
5989         and provide that value when calling out to chrome via this interface.
5990         https://bugs.webkit.org/show_bug.cgi?id=38605
5991
5992         I'm keeping the old method around until patches can land in both repositories
5993         that make the old method obsolete and unneeded. There's a FIXME for that.
5994
5995         Also somewhat related but independent change to propagate the runtime enabled 
5996         flag thru to the page settings instance used by the 'shadow page'.
5997  
5998         * public/WebSharedWorker.h: Add the new param (but keep the old interface around for now too)
5999         (WebKit::WebSharedWorker::startWorkerContext):
6000         * src/SharedWorkerRepository.cpp: Provide the value when calling out to chrome.
6001         (WebCore::SharedWorkerScriptLoader::notifyFinished):
6002         * src/WebSharedWorkerImpl.cpp:
6003         (WebKit::WebSharedWorkerImpl::startWorkerContext):
6004         * src/WebSharedWorkerImpl.h:
6005         * src/WebWorkerBase.cpp: Propagate runtime enabled flag thru to the page settings.
6006         (WebKit::WebWorkerBase::initializeLoader):
6007
6008 2010-05-07  Darin Fisher  <darin@chromium.org>
6009
6010         Fix build bustage.  Update to Chromium code that avoids a bad
6011         dependency from net/ on chrome/.
6012
6013         * DEPS:
6014
6015 2010-05-07  Darin Fisher  <darin@chromium.org>
6016
6017         Fix build bustage.  Update to Chromium code that no longer uses
6018         deprecated methods.
6019
6020         * DEPS:
6021
6022 2010-05-07  Darin Fisher  <darin@chromium.org>
6023
6024         Reviewed by Dimitri Glazkov.
6025
6026         [chromium] clear out more deprecated methods that are no longer used
6027         https://bugs.webkit.org/show_bug.cgi?id=38702
6028
6029         * public/WebFrame.h:
6030         * public/WebNode.h:
6031         * src/WebFrameImpl.cpp:
6032         * src/WebFrameImpl.h:
6033         * src/WebNode.cpp:
6034
6035 2010-05-07  Finnur Thorarinsson  <finnur.webkit@gmail.com>
6036
6037         Reviewed by Dimitri Glazkov.
6038
6039         [chromium]: Fixing Find in page crash on sites.google.com
6040         https://bugs.webkit.org/show_bug.cgi?id=38591
6041         
6042         setMarkerActive should not try to set a collapsed marker as
6043         active. This can happen when you Edit a Sites page after doing
6044         a Find operation and then you press FindNext.
6045         
6046         * src/WebFrameImpl.cpp:
6047         (WebKit::WebFrameImpl::setMarkerActive):
6048
6049 2010-05-06  Kent Tamura  <tkent@chromium.org>
6050
6051         Reviewed by Dimitri Glazkov.
6052
6053         [DRT/Chromium] Add support for resources on Mac
6054         https://bugs.webkit.org/show_bug.cgi?id=38637
6055
6056         * DEPS: Check out tools/data_pack.
6057
6058 2010-05-06  Pavel Feldman  <pfeldman@chromium.org>
6059
6060         Reviewed by Timothy Hatcher.
6061
6062         Chromium Dev Tools: Large toolbar icons flash when dev
6063         tools is opened in docked mode.
6064
6065         https://bugs.webkit.org/show_bug.cgi?id=38631
6066
6067         * src/js/DevTools.js:
6068         (devtools.domContentLoaded):
6069
6070 2010-05-06  Adam Barth  <abarth@webkit.org>
6071
6072         Reviewed by Eric Seidel.
6073
6074         drop support for sessionStorage in sandbox iframes
6075         https://bugs.webkit.org/show_bug.cgi?id=38151
6076
6077         Update client of sessionStorage to handle exceptions.
6078
6079         * src/StorageAreaProxy.cpp:
6080         (WebCore::StorageAreaProxy::storageEvent):
6081
6082 2010-05-05  Darin Fisher  <darin@chromium.org>
6083
6084         Reviewed by Dimitri Glazkov.
6085
6086         [chromium] clear out deprecated methods that are no longer used
6087         https://bugs.webkit.org/show_bug.cgi?id=38610
6088
6089         * public/WebFormElement.h:
6090         * public/WebInputElement.h:
6091         * public/WebKitClient.h:
6092         * public/WebView.h:
6093         * public/WebViewClient.h:
6094         (WebKit::WebViewClient::createPopupMenu):
6095         * src/ChromeClientImpl.cpp:
6096         (WebKit::ChromeClientImpl::popupOpened):
6097         * src/WebFormElement.cpp:
6098         * src/WebInputElement.cpp:
6099         (WebKit::WebInputElement::setSelectionRange):
6100         * src/WebViewImpl.cpp:
6101         (WebKit::WebViewImpl::hideSuggestionsPopup):
6102         * src/WebViewImpl.h:
6103
6104 2010-05-05  Hans Wennborg  <hans@chromium.org>
6105
6106         Reviewed by Jeremy Orlow.
6107
6108         [chromium] Add quota parameter to  WebStorageNamespace::createSessionStorageNamespace
6109         https://bugs.webkit.org/show_bug.cgi?id=38589
6110
6111         * public/WebStorageNamespace.h:
6112         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
6113         * src/WebStorageNamespaceImpl.cpp:
6114         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
6115
6116 2010-05-05  Stuart Morgan  <stuartmorgan@chromium.org>
6117
6118         Reviewed by Darin Fisher.
6119
6120         Update the plugin container's setFocus implementation to pass the new
6121         boolean argument to the next layer.
6122
6123         https://bugs.webkit.org/show_bug.cgi?id=37961
6124
6125         * src/WebPluginContainerImpl.cpp:
6126         (WebKit::WebPluginContainerImpl::setFocus):
6127         * src/WebPluginContainerImpl.h:
6128
6129 2010-05-04  Vangelis Kokkevis  <vangelis@chromium.org>
6130
6131         Reviewed by Darin Fisher.
6132
6133         Provide an API for querying whether a WebWidget is using gpu accelerated compositing.
6134         Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive.
6135         https://bugs.webkit.org/show_bug.cgi?id=38220
6136
6137         * public/WebWidget.h:
6138         * src/WebPopupMenuImpl.h:
6139         (WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive):
6140         * src/WebViewImpl.cpp:
6141         (WebKit::WebViewImpl::WebViewImpl):
6142         (WebKit::WebViewImpl::paint):
6143         (WebKit::WebViewImpl::isAcceleratedCompositingActive):
6144         (WebKit::WebViewImpl::setRootGraphicsLayer):
6145         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6146         (WebKit::WebViewImpl::updateRootLayerContents):
6147         * src/WebViewImpl.h:
6148
6149 2010-04-29  John Gregg  <johnnyg@google.com>
6150
6151         Reviewed by Dmitry Titov.
6152
6153         notifications should have dir and replaceId attributes
6154         https://bugs.webkit.org/show_bug.cgi?id=38336
6155
6156         * public/WebNotification.h:
6157         * src/WebNotification.cpp:
6158         (WebKit::WebNotification::dir):
6159         (WebKit::WebNotification::replaceId):
6160
6161 2010-05-04  Jay Civelli  <jcivelli@chromium.org>
6162
6163         Reviewed by David Levin.
6164
6165         [chromium] Make the select popup not close on right/middle clicks.
6166         https://bugs.webkit.org/show_bug.cgi?id=38473
6167
6168         * src/WebViewImpl.cpp:
6169         (WebKit::WebViewImpl::mouseDown):
6170
6171 2010-05-03  Abhishek Arya  <inferno@chromium.org>
6172
6173         Reviewed by Adam Barth.
6174
6175         Add support for controlling clipboard access from javascript.
6176         Clipboard access from javascript is disabled by default.
6177         https://bugs.webkit.org/show_bug.cgi?id=27751
6178
6179         * public/WebSettings.h:
6180         * src/WebSettingsImpl.cpp:
6181         (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
6182         * src/WebSettingsImpl.h:
6183
6184 2010-05-03  Jens Alfke  <snej@chromium.org>
6185
6186         Reviewed by Darin Fisher.
6187
6188         [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
6189         https://bugs.webkit.org/show_bug.cgi?id=38397
6190
6191         No tests (functionality is exposed only through native WebKit API.)
6192
6193         * public/WebFrameClient.h:
6194         (WebKit::WebFrameClient::willSendSubmitEvent): New empty method
6195         * src/FrameLoaderClientImpl.cpp:
6196         (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Delegate to client
6197         * src/FrameLoaderClientImpl.h:
6198
6199 2010-05-02  Michael Nordman  <michaeln@google.com>
6200
6201         Reviewed by Dmitry Titov.
6202
6203         Define two new ResourceRequestBase TargetTypes for worker and shared worker
6204         main resources. Use the new target types where appropiate. Add logic to marshal
6205         the target type specified by requests initiated on a background worker thread.
6206
6207         https://bugs.webkit.org/show_bug.cgi?id=38295
6208
6209         * src/SharedWorkerRepository.cpp:  use TargetIsSharedWorker
6210         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
6211
6212 2010-05-02  Rafael Weinstein  <rafaelw@chromium.org>
6213
6214         Reviewed by Darin Fisher.
6215
6216         Include WebWindowFeatures in call to WebViewClient::createView.
6217         https://bugs.webkit.org/show_bug.cgi?id=38301
6218
6219         * public/WebViewClient.h:
6220         (WebKit::WebViewClient::createView):
6221         * public/WebWindowFeatures.h:
6222         * src/ChromeClientImpl.cpp:
6223         (WebKit::ChromeClientImpl::createWindow):
6224
6225 2010-05-01  Evan Stade  <estade@chromium.org>
6226
6227         Reviewed by David Levin
6228
6229         [chromium] Skia needs to fade DragImages
6230         https://bugs.webkit.org/show_bug.cgi?id=38008
6231
6232         * tests/DragImageTest.cpp:
6233         (DragImageTest.CreateDragImage): test that the drag image is a deep copy
6234
6235 2010-04-30  Jian Li  <jianli@chromium.org>
6236
6237         Reviewed by Darin Fisher.
6238
6239         [chromium] Add WebFileSystem interface and hook up with all FileSystem methods.
6240         https://bugs.webkit.org/show_bug.cgi?id=38228
6241
6242         * WebKit.gyp:
6243         * public/WebFileSystem.h: Added.
6244         * public/WebKitClient.h:
6245         (WebKit::WebKitClient::fileSystem):
6246         * src/ChromiumBridge.cpp:
6247         (WebCore::ChromiumBridge::fileExists):
6248         (WebCore::ChromiumBridge::deleteFile):
6249         (WebCore::ChromiumBridge::deleteEmptyDirectory):
6250         (WebCore::ChromiumBridge::getFileSize):
6251         (WebCore::ChromiumBridge::getFileModificationTime):
6252         (WebCore::ChromiumBridge::directoryName):
6253         (WebCore::ChromiumBridge::pathByAppendingComponent):
6254         (WebCore::ChromiumBridge::makeAllDirectories):
6255         (WebCore::ChromiumBridge::getAbsolutePath):
6256         (WebCore::ChromiumBridge::isDirectory):
6257         (WebCore::ChromiumBridge::filePathToURL):
6258         (WebCore::ChromiumBridge::openFile):
6259         (WebCore::ChromiumBridge::closeFile):
6260         (WebCore::ChromiumBridge::seekFile):
6261         (WebCore::ChromiumBridge::truncateFile):
6262         (WebCore::ChromiumBridge::readFromFile):
6263         (WebCore::ChromiumBridge::writeToFile):
6264
6265 2010-04-29  Jeremy Orlow  <jorlow@chromium.org>
6266
6267         Reviewed by Darin Fisher.
6268
6269         Change StorageEvent.uri to StorageEvent.url to match the spec
6270         https://bugs.webkit.org/show_bug.cgi?id=38331
6271
6272         Get rid of a stale FIXME and combine 2 lines that needn't be split.
6273
6274         * src/StorageEventDispatcherImpl.cpp:
6275         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
6276
6277 2010-04-29  Anton Muhin  <antonm@chromium.org>
6278
6279         Reviewed by Darin Fisher.
6280
6281         [Chromium] Consider implementing addOriginAccessWhitelistEntry method
6282         http://trac.webkit.org/changeset/57537 introduced a new method
6283         to manage whitelisting of origins.
6284         Expose this method in Chromium's bridge.
6285         https://bugs.webkit.org/show_bug.cgi?id=37578
6286
6287         * public/WebSecurityPolicy.h: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
6288         * src/WebSecurityPolicy.cpp: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method
6289
6290 2010-04-29  Sheriff Bot  <webkit.review.bot@gmail.com>
6291
6292         Unreviewed, rolling out r58498.
6293         http://trac.webkit.org/changeset/58498
6294         https://bugs.webkit.org/show_bug.cgi?id=38332
6295
6296         "Broke a bunch of tests on Chromium canaries" (Requested by
6297         dglazkov on #webkit).
6298
6299         * public/WebViewClient.h:
6300         (WebKit::WebViewClient::createView):
6301         * public/WebWindowFeatures.h:
6302         * src/ChromeClientImpl.cpp:
6303         (WebKit::ChromeClientImpl::createWindow):
6304
6305 2010-04-29  Adam Langley  <agl@chromium.org>
6306
6307         Unreviewed, DEPS roll.
6308
6309         WebKit's r58517 needs OTS's r30 which was rolled into Chromium in
6310         r45932.
6311
6312         * DEPS:
6313           Use Chromium r45932.
6314
6315 2010-04-29  Rafael Weinstein  <rafaelw@chromium.org>
6316
6317         Reviewed by Darin Fisher.
6318
6319         Include WindowFeatures in call to WebViewClient::createView.
6320
6321         https://bugs.webkit.org/show_bug.cgi?id=38301
6322
6323         * public/WebViewClient.h:
6324         (WebKit::WebViewClient::createView):
6325         * public/WebWindowFeatures.h:
6326         * src/ChromeClientImpl.cpp:
6327         (WebKit::ChromeClientImpl::createWindow):
6328
6329 2010-04-29  Garret Kelly  <gdk@chromium.org>
6330
6331         Reviewed by Darin Fisher.
6332
6333         Expose the RuntimeFeature for touch events through the
6334         WebRuntimeFeatures mechanism.
6335         https://bugs.webkit.org/show_bug.cgi?id=37486
6336
6337         * public/WebRuntimeFeatures.h:
6338         * src/WebRuntimeFeatures.cpp:
6339         (WebKit::WebRuntimeFeatures::enableTouch):
6340         (WebKit::WebRuntimeFeatures::isTouchEnabled):
6341
6342 2010-04-29  Zhenyao Mo  <zmo@google.com>
6343
6344         Reviewed by Dimitri Glazkov.
6345
6346         Remove the unnecessary texImage2D function with Image as input in GraphicsContext3D
6347         https://bugs.webkit.org/show_bug.cgi?id=38235
6348
6349         * src/GraphicsContext3D.cpp: Remove tex*image implementation with Image input.
6350
6351 2010-04-28  Pavel Feldman  <pfeldman@chromium.org>
6352
6353         Reviewed by Yury Semikhatsky.
6354
6355         Web Inspector: Allow editing script resources when resource tracking is enabled.
6356
6357         http://bugs.webkit.org/show_bug.cgi?id=38269
6358  
6359         * src/js/DebuggerAgent.js:
6360         * src/js/InspectorControllerImpl.js:
6361         (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
6362         (.devtools.InspectorBackendImpl.prototype.editScriptSource):
6363
6364 2010-04-28  Darin Fisher  <darin@chromium.org>
6365
6366         Reviewed by David Levin.
6367
6368         [Chromium] callOnMainThread should equate to MessageLoop::PostTask
6369         https://bugs.webkit.org/show_bug.cgi?id=38276
6370
6371         * public/WebKitClient.h:
6372         (WebKit::WebKitClient::callOnMainThread):
6373         * src/ChromiumThreading.cpp:
6374         (WTF::ChromiumThreading::callOnMainThread):
6375
6376 2010-04-27  John Abd-El-Malek  <jam@chromium.org>
6377
6378         Reviewed by Darin Fisher.
6379
6380         Make WebThemeEngine::paint take a const ref of ExtraParams
6381         https://bugs.webkit.org/show_bug.cgi?id=38242
6382
6383         * public/WebThemeEngine.h:
6384         (WebKit::WebThemeEngine::paint):
6385
6386 2010-04-28  Andrey Kosyakov  <caseq@chromium.org>
6387
6388         Reviewed by Pavel Feldman.
6389
6390         Fixed passing breakpoints to V8. 
6391         https://bugs.webkit.org/show_bug.cgi?id=38266
6392
6393         * src/js/InspectorControllerImpl.js:
6394         (.devtools.InspectorBackendImpl.prototype.setBreakpoint):
6395
6396 2010-04-28  Yury Semikhatsky  <yurys@chromium.org>
6397
6398         Reviewed by Pavel Feldman.
6399
6400         Support pause on exceptions in v8 implementation of ScriptDebugServer.
6401
6402         https://bugs.webkit.org/show_bug.cgi?id=38205        
6403
6404         * src/js/DebuggerScript.js:
6405         (debuggerScriptConstructor.DebuggerScript.getScripts):
6406         (debuggerScriptConstructor.DebuggerScript.pauseOnExceptionsState):
6407         (debuggerScriptConstructor.DebuggerScript.setPauseOnExceptionsState):
6408         (debuggerScriptConstructor.DebuggerScript._v8ToWebkitLineNumber):
6409         (debuggerScriptConstructor):
6410
6411 2010-04-27  Jens Alfke  <snej@chromium.org>
6412
6413         Reviewed by Eric Seidel.
6414
6415         [chromium] Fix bug that prevents autosave of forms without action attribute
6416         https://bugs.webkit.org/show_bug.cgi?id=38014
6417         Change is in the Chromium WebKit API so it can't be tested with a JS-based layout test.
6418         It needs a native unit test, which would go in the Chromium repo, not WebKit.
6419
6420         * src/WebPasswordFormData.cpp:
6421         (WebKit::WebPasswordFormData::WebPasswordFormData): Set correct URL if action is NULL
6422
6423 2010-04-27  Michael Nordman  <michaeln@google.com>
6424
6425         Reviewed by Dmitry Titov.
6426
6427         [Chromium] Add two things to the webkit API to support appcaches in workers.
6428         1) WebURLRequest TargetTypes for worker and shared worker main resources.
6429         2) Factory method on class WebCommonWorkerClient to
6430            createApplicationCacheHost() for the associated worker.
6431
6432         https://bugs.webkit.org/show_bug.cgi?id=38147
6433
6434         * public/WebCommonWorkerClient.h: add the factory method
6435         * public/WebURLRequest.h: add the TargetTypes
6436         * src/WebWorkerBase.cpp: call the embedder's factory when needed
6437         (WebKit::WebWorkerBase::didCreateDataSource)
6438         (WebKit::WebWorkerBase::createApplicationCacheHost)
6439         * src/WebWorkerBase.h: ditto
6440         * src/WebWorkerClientImpl.h: add a stub impl of the factory method 
6441         (WebKit::WebWorkerClientImpl::createApplicationCacheHost):
6442
6443 2010-04-27  Kent Tamura  <tkent@chromium.org>
6444
6445         Reviewed by Shinichiro Hamaji.
6446
6447         [DRT/Chromium] Enable Windows project generation
6448         https://bugs.webkit.org/show_bug.cgi?id=38103
6449
6450         - Avoid platform.system(), which causes a crash with python.exe in
6451           depot_tools. Use sys.platform instead.
6452         - Process DumpRenderTree.gyp on all platforms.
6453
6454         * gyp_webkit:
6455
6456 2010-04-27  Jay Civelli  <jcivelli@chromium.org>
6457
6458         Reviewed by Darin Fisher.
6459
6460         Makes clicking a select element close its associated popup if
6461         it is open.
6462         https://bugs.webkit.org/show_bug.cgi?id=38105
6463
6464         * src/WebViewImpl.cpp:
6465         (WebKit::WebViewImpl::mouseDown):
6466
6467 2010-04-27  Jay Civelli  <jcivelli@chromium.org>
6468
6469         Reviewed by Darin Fisher.
6470
6471         [chromium] Merged the WebView public method to close suggestion popups
6472         into a single method to close all popups (select and suggestions).
6473         That ensures select popups are closed when the browser window is moved
6474         or resized.
6475         https://bugs.webkit.org/show_bug.cgi?id=37837
6476
6477         * public/WebView.h:
6478         * src/WebViewImpl.cpp:
6479         (WebKit::WebViewImpl::hidePopups):
6480         (WebKit::WebViewImpl::hideSuggestionsPopup):
6481         * src/WebViewImpl.h:
6482
6483 2010-04-27  John Abd-El-Malek  <jam@chromium.org>
6484
6485         Reviewed by Darin Adler.
6486
6487         Remove unnecessary header now that Chrome is updated
6488         https://bugs.webkit.org/show_bug.cgi?id=38211
6489
6490         * public/win/WebThemeEngine.h: Removed.
6491
6492 2010-04-27  Jens Alfke  <snej@chromium.org>
6493
6494         Reviewed by Darin Fisher.
6495
6496         [Chromium] Add some notifications and an accessor to WebKit API
6497         https://bugs.webkit.org/show_bug.cgi?id=37625
6498
6499         * public/WebFrameClient.h:
6500         (WebKit::WebFrameClient::didFirstLayout):
6501         (WebKit::WebFrameClient::didFirstVisuallyNonEmptyLayout):
6502         * public/WebNode.h:
6503         * src/FrameLoaderClientImpl.cpp:
6504         (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
6505         (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
6506         * src/WebElement.cpp:
6507         * src/WebNode.cpp:
6508         (WebKit::WebNode::hasNonEmptyBoundingBox):
6509
6510 2010-04-27  Darin Fisher  <darin@chromium.org>
6511
6512         Reviewed by Dimitri Glazkov.
6513
6514         [Chromium] Remove deprecated form of didChangeLocationWithinPage
6515         https://bugs.webkit.org/show_bug.cgi?id=38178
6516
6517         * public/WebFrameClient.h:
6518         * src/FrameLoaderClientImpl.cpp:
6519         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
6520
6521 2010-04-27  Evan Martin  <evan@chromium.org>
6522
6523         Reviewed by David Levin.
6524
6525         [chromium] bold bengali text not rendered properly on Linux
6526         Roll forward Chrome DEPS so we get new Skia API.
6527
6528         * DEPS: update Chrome to r45696.
6529
6530 2010-04-27  Andrey Kosyakov  <caseq@chromium.org>
6531
6532         Reviewed by Pavel Feldman.
6533
6534         Restore breakpoints associated with script's URL once
6535         script is parsed.
6536         https://bugs.webkit.org/show_bug.cgi?id=38132
6537
6538         * src/js/DebuggerAgent.js:
6539         (devtools.DebuggerAgent.prototype.initUI):
6540         (devtools.DebuggerAgent.prototype.addBreakpoint):
6541         (devtools.DebuggerAgent.prototype.addScriptInfo_):
6542         (devtools.DebuggerAgent.prototype.restoreBreakpoints_):
6543         (devtools.BreakpointInfo):
6544         (devtools.BreakpointInfo.prototype.enabled):
6545         (devtools.BreakpointInfo.prototype.condition):
6546
6547 2010-04-27  Pavel Feldman  <pfeldman@chromium.org>
6548
6549         Reviewed by Yury Semikhatsky.
6550
6551         Chrome Dev Tools: Further beautify themes.
6552
6553         https://bugs.webkit.org/show_bug.cgi?id=38187
6554
6555         * src/js/DevTools.js:
6556         (WebInspector.setToolbarColors):
6557         * src/js/devTools.css:
6558         (body.platform-windows #toolbar, body.platform-windows.inactive #toolbar):
6559
6560 2010-04-26  John Abd-El-Malek  <jam@chromium.org>
6561
6562         Reviewed by Darin Fisher.
6563
6564         [chromium] Prepare to making WebThemeEngine cross-platform
6565         https://bugs.webkit.org/show_bug.cgi?id=38077
6566
6567         * WebKit.gyp:
6568         * public/WebThemeEngine.h: Added.
6569         * public/win/WebThemeEngine.h:
6570
6571 2010-04-26  Darin Fisher  <darin@chromium.org>
6572
6573         Reviewed by Adam Barth.
6574
6575         [Chromium] Crash after calling window.print() on a window object that has been closed.
6576         https://bugs.webkit.org/show_bug.cgi?id=38148
6577
6578         It is unfortunately not possible to write a layout test for this as the
6579         crash occurs in an API that is only called by Chrome while showing a
6580         print dialog.
6581
6582         * src/WebViewImpl.cpp:
6583         (WebKit::WebView::willEnterModalLoop):
6584         (WebKit::WebView::didExitModalLoop):
6585
6586 2010-04-25  Sam Weinig  <sam@webkit.org>
6587
6588         Reviewed by Maciej Stachowiak.
6589
6590         Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
6591         Disentangle initializing the main thread from initializing threading
6592
6593         * src/WebKit.cpp:
6594         (WebKit::initialize): Add call to initializeMainThread.
6595         * src/WebViewImpl.cpp:
6596         (WebKit::WebViewImpl::WebViewImpl): Ditto.
6597
6598 2010-04-26  Roman Gershman  <romange@google.com>
6599
6600         Reviewed by Adam Barth.
6601
6602         [Chromium] Font size in suggestions popup menu should be correlated with the font size of its text field.
6603
6604         https://bugs.webkit.org/show_bug.cgi?id=37977
6605
6606         * src/SuggestionsPopupMenuClient.cpp:
6607         (WebKit::SuggestionsPopupMenuClient::initialize):
6608
6609 2010-04-26  Pavel Feldman  <pfeldman@chromium.org>
6610
6611         Reviewed by Yury Semikhatsky.
6612
6613         Chromium Dev Tools: brush up images.
6614
6615         https://bugs.webkit.org/show_bug.cgi?id=38124
6616
6617         * WebKit.gypi:
6618         * src/js/DevTools.js:
6619         (WebInspector.setToolbarColors):
6620         * src/js/Images/segmentChromium.png:
6621         * src/js/Images/segmentChromium2.png: Removed.
6622         * src/js/Images/segmentHoverChromium2.png: Removed.
6623         * src/js/Images/segmentSelectedChromium2.png: Removed.
6624         * src/js/Images/statusbarBackgroundChromium.png:
6625         * src/js/Images/statusbarBackgroundChromium2.png: Removed.
6626         * src/js/Images/statusbarBottomBackgroundChromium.png:
6627         * src/js/Images/statusbarButtonsChromium.png:
6628         * src/js/Images/statusbarMenuButtonChromium.png:
6629         * src/js/Images/statusbarMenuButtonChromium2.png: Removed.
6630         * src/js/devTools.css:
6631         (.section > .header):
6632         (.console-group-messages .section > .header):
6633         (#resources-filter):
6634         (.crumbs .crumb):
6635         (.crumbs .crumb.end):
6636         (.crumbs .crumb.selected):
6637         (.crumbs .crumb.selected:hover):
6638         (.crumbs .crumb.selected.end, .crumbs .crumb.selected.end:hover):
6639         (.crumbs .crumb:hover):
6640         (.crumbs .crumb.dimmed:hover):
6641         (.crumbs .crumb.end:hover):
6642         (body.drawer-visible #main-status-bar):
6643         (.status-bar):
6644         (button.status-bar-item):
6645         (select.status-bar-item:active):
6646         (#drawer):
6647         (select.status-bar-item):
6648
6649 2010-04-23  Zhenyao Mo  <zmo@google.com>
6650
6651         Reviewed by Darin Fisher.
6652
6653         Add isGLES2Compliant to GraphicsContext3D: make the method const.
6654         https://bugs.webkit.org/show_bug.cgi?id=37872
6655
6656         * src/GraphicsContext3D.cpp: Make isGLES2Compliant() const.
6657         (WebCore::GraphicsContext3DInternal::isGLES2Compliant):
6658         (WebCore::GraphicsContext3D::isGLES2Compliant):
6659
6660 2010-04-23  Rafael Weinstein  <rafaelw@grafaelw.sfo.corp.google.com>
6661
6662         Reviewed by Darin Fisher.
6663
6664         This patch adds a WebWindowFeatures binding struct for the
6665         chromium client in anticipation of a follow-on patch which will
6666         pass it to WebViewClient::createWindow.
6667
6668         https://bugs.webkit.org/show_bug.cgi?id=38013
6669
6670         * public/WebViewClient.h:
6671         (WebKit::WebViewClient::createView):
6672         * public/WebWindowFeatures.h: Added.
6673         (WebKit::WebWindowFeatures::WebWindowFeatures):
6674         * src/ChromeClientImpl.cpp:
6675         (WebKit::ChromeClientImpl::createWindow):
6676
6677 2010-04-22  Zhenyao Mo  <zmo@google.com>
6678
6679         Reviewed by Darin Fisher.
6680
6681         Add isGLES2Compliant to GraphicsContext3D
6682         https://bugs.webkit.org/show_bug.cgi?id=37872
6683
6684         * public/WebGraphicsContext3D.h: Add isGLES2Compliant().
6685         * src/GraphicsContext3D.cpp: Ditto.
6686         * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
6687         (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
6688         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
6689
6690 2010-04-22  Dave Moore  <davemoore@chromium.org>
6691
6692         Reviewed by Dimitri Glazkov.
6693
6694         Added notification when the favicons for a page are changed
6695         from a script.
6696         The Document object will notify the frame loader, which will
6697         notify the client. Implementations of FrameLoaderClient will
6698         have to add one method; dispatchDidChangeIcons().
6699
6700         https://bugs.webkit.org/show_bug.cgi?id=33812
6701
6702         * public/WebFrameClient.h:
6703         (WebKit::WebFrameClient::didChangeIcons):
6704         * src/FrameLoaderClientImpl.cpp:
6705         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
6706         * src/FrameLoaderClientImpl.h:
6707
6708 2010-04-22  Zhenyao Mo  <zmo@google.com>
6709
6710         Reviewed by Dimitri Glazkov.
6711
6712         Emulate GL_IMPLEMENTATION_COLOR_READ_FORMAT/TYPE for glGet
6713         https://bugs.webkit.org/show_bug.cgi?id=37281
6714
6715         * src/WebGraphicsContext3DDefaultImpl.cpp:
6716         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate two  enums.
6717
6718 2010-04-22  Adam Barth  <abarth@webkit.org>
6719
6720         Unreviewed, rolling out r58069.
6721         http://trac.webkit.org/changeset/58069
6722         https://bugs.webkit.org/show_bug.cgi?id=27751
6723
6724         Broke compile on Windows.
6725
6726         * public/WebSettings.h:
6727         * src/WebSettingsImpl.cpp:
6728         * src/WebSettingsImpl.h:
6729
6730 2010-04-22  Tony Chang  <tony@chromium.org>
6731
6732         Reviewed by Shinichiro Hamaji.
6733
6734         [chromium] roll chromium deps to pick up some windows build fixes
6735         https://bugs.webkit.org/show_bug.cgi?id=37972
6736
6737         * DEPS:
6738
6739 2010-04-22  Abhishek Arya  <inferno@chromium.org>
6740
6741         Reviewed by Adam Barth.
6742
6743         Add support for controlling clipboard access from javascript.
6744         Clipboard access from javascript is disabled by default.
6745         https://bugs.webkit.org/show_bug.cgi?id=27751
6746
6747         * public/WebSettings.h:
6748         * src/WebSettingsImpl.cpp:
6749         (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
6750         * src/WebSettingsImpl.h:
6751
6752 2010-04-21  Tony Chang  <tony@chromium.org>
6753
6754         Reviewed by Shinichiro Hamaji.
6755
6756         [chromium] gyp_webkit should be executable
6757         https://bugs.webkit.org/show_bug.cgi?id=37971
6758
6759         * gyp_webkit: Added property svn:executable.
6760
6761 2010-04-21  Jay Civelli  <jcivelli@chromium.org>
6762
6763         Reviewed by Darin Fisher.
6764
6765         [Chromium] Don't notify the WebView that a popup was
6766         opened when the popup is handled externally, as the popup
6767         is in that case transparent to the WebView.
6768         The notification was causing an ASSERT on Mac (where
6769         the popup is handled externally) as there would be no
6770         notification that the popup was closed.
6771         https://bugs.webkit.org/show_bug.cgi?id=37825
6772
6773         * src/ChromeClientImpl.cpp:
6774         (WebKit::ChromeClientImpl::popupOpened):
6775
6776 2010-04-21  Sheriff Bot  <webkit.review.bot@gmail.com>
6777
6778         Unreviewed, rolling out r58028.
6779         http://trac.webkit.org/changeset/58028
6780         https://bugs.webkit.org/show_bug.cgi?id=37962
6781
6782         broke the chromium build (Requested by tony^work on #webkit).
6783
6784         * DEPS:
6785
6786 2010-04-21  Evan Martin  <evan@chromium.org>
6787
6788         Unreviewed, just a dependency change.
6789
6790         [chromium] roll skia forward to r538
6791         https://bugs.webkit.org/show_bug.cgi?id=37960
6792
6793         This will cause a bunch of pixel tests to fail due to bulleted
6794         lists rendering slightly differently.  I will grab new baselines
6795         from the bots and check them in in a followup.
6796
6797         * DEPS:
6798
6799 2010-04-21  Evan Stade  <estade@chromium.org>
6800
6801         Reviewed by Darin Fisher.
6802
6803         [chromium] Web page serializer saves tag names in upper case
6804         https://bugs.webkit.org/show_bug.cgi?id=37940
6805
6806         Simply convert all tags to lower case.
6807
6808         This is tested by chrome tests:
6809          - save page browser tests
6810          - encoding ui tests
6811          - web page serializer test shell tests
6812
6813         * src/WebPageSerializer.cpp:
6814         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
6815         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
6816         * src/WebPageSerializerImpl.cpp:
6817         (WebKit::WebPageSerializerImpl::openTagToString):
6818         (WebKit::WebPageSerializerImpl::endTagToString):
6819
6820 2010-04-20  Adam Barth  <abarth@webkit.org>
6821
6822         Reviewed by Eric Seidel.
6823
6824         Factor DocumentWriter out of FrameLoader
6825         https://bugs.webkit.org/show_bug.cgi?id=37175
6826
6827         Update these callsites because the method moved to DocumentWriter.
6828
6829         * src/ContextMenuClientImpl.cpp:
6830         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
6831         * src/FrameLoaderClientImpl.cpp:
6832         (WebKit::FrameLoaderClientImpl::finishedLoading):
6833         * src/WebFrameImpl.cpp:
6834         (WebKit::WebFrameImpl::encoding):
6835         (WebKit::WebFrameImpl::commitDocumentData):
6836         * src/WebPageSerializerImpl.cpp:
6837         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
6838         (WebKit::WebPageSerializerImpl::serialize):
6839         * src/WebSearchableFormData.cpp:
6840         (WebCore::GetFormEncoding):
6841         * src/WebViewImpl.cpp:
6842         (WebKit::WebViewImpl::pageEncoding):
6843
6844 2010-04-20  Pavel Feldman  <pfeldman@chromium.org>
6845
6846         Reviewed by Timothy Hatcher.
6847
6848         Web Inspector: add basic script editing capabilities to the front-end.
6849
6850         https://bugs.webkit.org/show_bug.cgi?id=37875
6851
6852         * src/js/DebuggerAgent.js:
6853         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
6854         (devtools.DebuggerAgent.prototype.resolveScriptSource):
6855         (devtools.DebuggerAgent.prototype.editScriptLine.this.requestSeqToCallback_.cmd.getSequenceNumber):
6856         (devtools.DebuggerAgent.prototype.editScriptLine):
6857         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
6858         * src/js/DevTools.js:
6859         * src/js/InspectorControllerImpl.js:
6860         (.devtools.InspectorBackendImpl.prototype.editScriptLine):
6861
6862 2010-04-20  Kent Tamura  <tkent@chromium.org>
6863
6864         Reviewed by Darin Adler.
6865
6866         Change a parameter type of chooseIconForFiles()
6867         https://bugs.webkit.org/show_bug.cgi?id=37504
6868
6869         * src/ChromeClientImpl.cpp:
6870         (WebKit::ChromeClientImpl::chooseIconForFiles):
6871         * src/ChromeClientImpl.h:
6872
6873 2010-04-20  Jay Civelli  <jcivelli@chromium.org>
6874
6875         Reviewed by Dimitri Glazkov.
6876
6877         [chromium] Tests that pressing tab now closes the select popup.
6878         https://bugs.webkit.org/show_bug.cgi?id=37721
6879
6880         * tests/PopupMenuTest.cpp:
6881         (WebKit::TEST_F):
6882
6883 2010-04-20  Evan Stade  <estade@chromium.org>
6884
6885         Reviewed by David Levin.
6886
6887         [chromium] crash when dragging images
6888         https://bugs.webkit.org/show_bug.cgi?id=37715
6889
6890         Added unit tests for DragImageChromiumSkia.
6891
6892         * WebKit.gyp:
6893         * tests/DragImageTest.cpp: Added.
6894         (WebCore::TestImage::TestImage):
6895         (WebCore::TestImage::~TestImage):
6896         (WebCore::TestImage::size):
6897         (WebCore::TestImage::nativeImageForCurrentFrame):
6898         (WebCore::TestImage::destroyDecodedData):
6899         (WebCore::TestImage::decodedSize):
6900         (WebCore::TestImage::draw):
6901         (WebCore::TEST):
6902
6903 2010-04-20  Stuart Morgan  <stuartmorgan@chromium.org>
6904
6905         Reviewed by David Levin.
6906
6907         Remove a workaround in plugin cursor setting that was obsoleted by
6908         the change in https://bugs.webkit.org/show_bug.cgi?id=35132
6909         https://bugs.webkit.org/show_bug.cgi?id=37811
6910
6911         * src/ChromeClientImpl.cpp:
6912         (WebKit::ChromeClientImpl::ChromeClientImpl):
6913         (WebKit::ChromeClientImpl::setCursor):
6914         (WebKit::ChromeClientImpl::setCursorForPlugin):
6915         * src/ChromeClientImpl.h:
6916
6917 2010-04-19  Ada Chan  <adachan@apple.com>
6918
6919         Reviewed by Jeremy Orlow.
6920
6921         https://bugs.webkit.org/show_bug.cgi?id=37717
6922         Changes needed now that StorageNamespaceImpl::sessionStorageNamespace() and
6923         StorageNamespace::sessionStorageNamespace() take in a quota parameter.
6924
6925         * src/StorageNamespaceProxy.cpp:
6926         (WebCore::StorageNamespace::sessionStorageNamespace):
6927         * src/WebStorageNamespaceImpl.cpp:
6928         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
6929
6930 2010-04-17  Vangelis Kokkevis  <vangelis@chromium.org>
6931
6932         Reviewed by Dimitri Glazkov.
6933
6934         Adding the implementation of GLES2Context class which provides WebCore access to a GL ES context.
6935         https://bugs.webkit.org/show_bug.cgi?id=37541
6936
6937         * WebKit.gyp:
6938         * public/WebGLES2Context.h: Added.
6939         (WebKit::WebGLES2Context::~WebGLES2Context):
6940         * src/GLES2Context.cpp: Added.
6941         (WebCore::GLES2ContextInternal::GLES2ContextInternal):
6942         (WebCore::GLES2ContextInternal::~GLES2ContextInternal):
6943         (WebCore::GLES2ContextInternal::getWebGLES2Context):
6944         (WebCore::GLES2ContextInternal::initialize):
6945         (WebCore::GLES2Context::create):
6946         (WebCore::GLES2Context::~GLES2Context):
6947         (WebCore::GLES2Context::initialize):
6948         (WebCore::GLES2Context::makeCurrent):
6949         (WebCore::GLES2Context::destroy):
6950         (WebCore::GLES2Context::swapBuffers):
6951
6952 2010-04-16  Dumitru Daniliuc  <dumi@chromium.org>
6953
6954         Reviewed by Eric Seidel.
6955
6956         Get rid of the UNUSED_PARAM macro in GraphicsContext3D.cpp.
6957         https://bugs.webkit.org/show_bug.cgi?id=37733
6958
6959         * src/GraphicsContext3D.cpp:
6960         (WebCore::GraphicsContext3D::GraphicsContext3D):
6961
6962 2010-04-16  Dumitru Daniliuc  <dumi@chromium.org>
6963
6964         Reviewed by Jeremy Orlow.
6965
6966         Changing the return type of WebSecurityOrigin::createFromDatabaseIdentifier().
6967         https://bugs.webkit.org/show_bug.cgi?id=34466
6968
6969         Changing the return type of
6970         WebSecurityOrigin::createFromDatabaseIdentifier() from
6971         WebSecurityOrigin* to WebSecurityOrigin, to make it more
6972         consistent with the other WebSecurityOrigin methods.
6973
6974         * public/WebSecurityOrigin.h:
6975         * src/WebDatabase.cpp:
6976         (WebKit::WebDatabase::closeDatabaseImmediately):
6977         * src/WebSecurityOrigin.cpp:
6978         (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
6979
6980 2010-04-16  Dmitry Titov  <dimich@chromium.org>
6981
6982         Reviewed by Yury Semikhatsky.
6983
6984         [v8] In Workers, script errors right after close() are not delivered to the Worker.onerror
6985         https://bugs.webkit.org/show_bug.cgi?id=37691
6986
6987         * src/WebWorkerClientImpl.cpp:
6988         (WebKit::WebWorkerClientImpl::createWorkerContextProxy): Don't need to pull V8 proxy to retrieve current WorkerContext.
6989
6990 2010-04-16  Albert J. Wong  <ajwong@chromium.org>
6991
6992         Not reviewed. Build fix.
6993
6994         [chromium] Compile fix. Missing include header, and missing type conversion.
6995
6996         * src/GraphicsContext3D.cpp:
6997         (WebCore::GraphicsContext3DInternal::beginPaint):
6998
6999 2010-04-16  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
7000  
7001         Reviewed by Simon Hausmann.
7002  
7003         [Qt] WebGL is not visible when QGLWidget viewport is used
7004         https://bugs.webkit.org/show_bug.cgi?id=37070
7005  
7006         Added HostWindow parameter to the constructor of GraphicsContext3D.
7007         Shared OpenGL context is initialized with parent QGLWidget.
7008  
7009         * src/GraphicsContext3D.cpp:
7010         (WebCore::GraphicsContext3D::GraphicsContext3D):
7011
7012 2010-04-16  Fumitoshi Ukai  <ukai@chromium.org>
7013
7014         Reviewed by Jian Li.
7015
7016         [chromium] WebKit::WebURLResponse::addHTTPHeaderField will crash if response is invalid UTF-8
7017         https://bugs.webkit.org/show_bug.cgi?id=37687
7018
7019         * src/WebURLResponse.cpp:
7020         (WebKit::WebURLResponse::addHTTPHeaderField): ignore if name or value is null string.
7021
7022 2010-04-16  Jay Civelli  <jcivelli@chromium.org>
7023
7024         Reviewed by Dimitri Glazkov.
7025
7026         [chromium] Select popups would assert when destroyed.
7027         Also adding unit-tests for the select popup code.
7028         https://bugs.webkit.org/show_bug.cgi?id=37436
7029
7030         * WebKit.gyp:
7031         * src/WebViewImpl.h:
7032         (WebKit::WebViewImpl::selectPopup):
7033         * tests/PopupMenuTest.cpp: Added.
7034
7035 2010-04-16  Tony Chang  <tony@chromium.org>
7036
7037         Reviewed by Dimitri Glazkov.
7038
7039         [chromium] build DRT on Linux
7040         https://bugs.webkit.org/show_bug.cgi?id=37690
7041
7042         * DEPS: Need to roll deps to remove a dependency on src/chrome
7043         * gyp_webkit: generate makefiles for DRT.gyp on Linux
7044
7045 2010-04-15  Tony Chang  <tony@chromium.org>
7046
7047         Reviewed by Dimitri Glazkov.
7048
7049         build DRT on chromium mac
7050         https://bugs.webkit.org/show_bug.cgi?id=37639
7051
7052         * gyp_webkit: generate build files for DRT on mac
7053
7054 2010-04-15  Yury Semikhatsky  <yurys@google.com>
7055
7056         Reviewed by Pavel Feldman.
7057
7058         Support basic debugging capabilities including step in/over/out in v8
7059         implementation of ScriptDebugServer.
7060
7061         https://bugs.webkit.org/show_bug.cgi?id=37604
7062
7063         * WebKit.gypi:
7064         * src/DebuggerAgent.h:
7065         * src/DebuggerAgentImpl.cpp:
7066         (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
7067         * src/DebuggerAgentImpl.h:
7068         * src/DebuggerAgentManager.cpp:
7069         (WebKit::DebuggerAgentManager::hostDispatchHandler):
7070         (WebKit::DebuggerAgentManager::debugAttach):
7071         (WebKit::DebuggerAgentManager::debugDetach):
7072         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
7073         * src/DebuggerAgentManager.h:
7074         * src/InspectorFrontendClientImpl.cpp:
7075         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7076         * src/js/DebuggerScript.js: Added.
7077         (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
7078         (debuggerScriptConstructor.DebuggerScript.getScripts):
7079         (debuggerScriptConstructor.DebuggerScript._formatScript):
7080         (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
7081         (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
7082         (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
7083         (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
7084         (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
7085         (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
7086         (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
7087         (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
7088         (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
7089         (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
7090         (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
7091         (debuggerScriptConstructor):
7092         * src/js/DevTools.js:
7093         (WebInspector.loaded):
7094         (.):
7095         ():
7096         * src/js/DevToolsHostStub.js:
7097         (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
7098         * src/js/InspectorControllerImpl.js:
7099         (devtools.InspectorBackendImpl):
7100
7101 2010-04-15  Matt Perry  <mpcomplete@chromium.org>
7102
7103         Reviewed by Dimitri Glazkov.
7104
7105         Implement layoutTestController's addUserStyleSheet and
7106         setAuthorAndUserStylesEnabled on Chromium port.
7107         https://bugs.webkit.org/show_bug.cgi?id=37595
7108
7109         * public/WebSettings.h:
7110         * public/WebView.h:
7111         * src/WebSettingsImpl.cpp:
7112         (WebKit::WebSettingsImpl::setAuthorAndUserStylesEnabled):
7113         * src/WebSettingsImpl.h:
7114         * src/WebViewImpl.cpp:
7115         (WebKit::WebViewImpl::addUserStyleSheet):
7116         * src/WebViewImpl.h:
7117
7118 2010-04-15  Zhenyao Mo  <zmo@google.com>
7119
7120         Reviewed by Dimitri Glazkov.
7121
7122         Must enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization
7123         https://bugs.webkit.org/show_bug.cgi?id=37178
7124
7125         * src/WebGraphicsContext3DDefaultImpl.cpp: Enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization.
7126         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
7127
7128 2010-04-15  Albert J. Wong  <ajwong@chromium.org>
7129
7130         Unreviewed, rolling out r57660.
7131         http://trac.webkit.org/changeset/57660
7132         https://bugs.webkit.org/show_bug.cgi?id=37604
7133
7134         Broke a large number of inspector layout tests in chromium.
7135
7136         * WebKit.gypi:
7137         * src/DebuggerAgent.h:
7138         * src/DebuggerAgentImpl.cpp:
7139         * src/DebuggerAgentImpl.h:
7140         * src/DebuggerAgentManager.cpp:
7141         (WebKit::DebuggerAgentManager::debugAttach):
7142         (WebKit::DebuggerAgentManager::debugDetach):
7143         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
7144         * src/DebuggerAgentManager.h:
7145         * src/InspectorFrontendClientImpl.cpp:
7146         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7147         * src/js/DebuggerScript.js: Removed.
7148         * src/js/DevTools.js:
7149         (WebInspector.loaded):
7150         (WebInspector.UnresolvedPropertyValue):
7151         ():
7152         * src/js/DevToolsHostStub.js:
7153         * src/js/InspectorControllerImpl.js:
7154         (devtools.InspectorBackendImpl):
7155
7156 2010-04-15  Yury Semikhatsky  <yurys@google.com>
7157
7158         Reviewed by Pavel Feldman.
7159
7160         Support basic debugging capabilities including step in/over/out in v8
7161         implementation of ScriptDebugServer.
7162
7163         https://bugs.webkit.org/show_bug.cgi?id=37604
7164
7165         * WebKit.gypi:
7166         * src/DebuggerAgent.h:
7167         * src/DebuggerAgentImpl.cpp:
7168         (WebKit::DebuggerAgentImpl::setDebuggerScriptSource):
7169         * src/DebuggerAgentImpl.h:
7170         * src/DebuggerAgentManager.cpp:
7171         (WebKit::DebuggerAgentManager::hostDispatchHandler):
7172         (WebKit::DebuggerAgentManager::debugAttach):
7173         (WebKit::DebuggerAgentManager::debugDetach):
7174         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
7175         * src/DebuggerAgentManager.h:
7176         * src/InspectorFrontendClientImpl.cpp:
7177         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7178         * src/js/DebuggerScript.js: Added.
7179         (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript):
7180         (debuggerScriptConstructor.DebuggerScript.getScripts):
7181         (debuggerScriptConstructor.DebuggerScript._formatScript):
7182         (debuggerScriptConstructor.DebuggerScript.setBreakpoint):
7183         (debuggerScriptConstructor.DebuggerScript.removeBreakpoint):
7184         (debuggerScriptConstructor.DebuggerScript.currentCallFrame):
7185         (debuggerScriptConstructor.DebuggerScript.stepIntoStatement):
7186         (debuggerScriptConstructor.DebuggerScript.stepOverStatement):
7187         (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction):
7188         (debuggerScriptConstructor.DebuggerScript.clearBreakpoints):
7189         (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated):
7190         (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame):
7191         (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber):
7192         (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber):
7193         (debuggerScriptConstructor):
7194         * src/js/DevTools.js:
7195         (WebInspector.loaded):
7196         (.):
7197         ():
7198         * src/js/DevToolsHostStub.js:
7199         (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource):
7200         * src/js/InspectorControllerImpl.js:
7201         (devtools.InspectorBackendImpl):
7202
7203 2010-04-15  Ben Murdoch  <benm@google.com>
7204
7205         Unreviewed, rolling out r57652.
7206         http://trac.webkit.org/changeset/57652
7207         https://bugs.webkit.org/show_bug.cgi?id=37609
7208
7209         Caused a build break on Chromium Mac and Layout Test fail on
7210         Qt
7211
7212         * src/WebInputEventConversion.cpp:
7213         (WebKit::toPlatformTouchPointState):
7214
7215 2010-04-14  Ben Murdoch  <benm@google.com>
7216
7217         Reviewed by Kenneth Rohde Christiansen.
7218
7219         The TouchStationary state of WebCore::PlatformTouchPoint is not
7220         handled inside the touch event handler.
7221         https://bugs.webkit.org/show_bug.cgi?id=37609
7222
7223         After discussions at the WebKit contributors meeting, we decided that
7224         this is a currently unused state without a good future use case in the
7225         Touch API and thus decided to remove it. This patch actions that decision.
7226
7227         * src/WebInputEventConversion.cpp:
7228         (WebKit::toPlatformTouchPointState): Remove TouchStationary.
7229
7230 2010-04-12  Tony Chang  <tony@chromium.org>
7231
7232         Reviewed by Darin Fisher.
7233
7234         [chromium] update chromium DEPS for upstream compile
7235         https://bugs.webkit.org/show_bug.cgi?id=36578
7236
7237         * DEPS: Pull sub deps from chromium's DEPS file
7238
7239 2010-04-14  Sheriff Bot  <webkit.review.bot@gmail.com>
7240
7241         Unreviewed, rolling out r57599.
7242         http://trac.webkit.org/changeset/57599
7243         https://bugs.webkit.org/show_bug.cgi?id=37605
7244
7245         "Broke Chromium build" (Requested by dglazkov on #webkit).
7246
7247         * WebKit.gyp:
7248         * src/WebViewImpl.h:
7249         * tests/PopupMenuTest.cpp: Removed.
7250
7251 2010-04-14  Aaron Boodman  <aa@chromium.org>
7252
7253         Reviewed by David Levin.
7254
7255         Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting
7256         the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are
7257         unsupported. Fixed by resolving the relative URL first.
7258
7259         https://bugs.webkit.org/show_bug.cgi?id=36623
7260
7261         Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows.
7262
7263         * public/WebNotification.h: Remove deprecated icon() method.
7264         * src/WebNotification.cpp: Ditto.
7265
7266 2010-04-14  Jay Civelli  <jcivelli@chromium.org>
7267
7268         Reviewed by Dimitri Glazkov.
7269
7270         [chromium] Select popups would assert when destroyed.
7271         Also adding unit-tests for the select popup code.
7272         https://bugs.webkit.org/show_bug.cgi?id=37436
7273
7274         * WebKit.gyp:
7275         * src/WebViewImpl.h:
7276         (WebKit::WebViewImpl::selectPopup):
7277         * tests/PopupMenuTest.cpp: Added.
7278
7279 2010-04-14  Zhenyao Mo  <zmo@google.com>
7280
7281         Reviewed by Dimitri Glazkov.
7282
7283         readPixels must take PACK_ALIGNMENT into account
7284         https://bugs.webkit.org/show_bug.cgi?id=34718
7285
7286         * src/GraphicsContext3D.cpp: Refactor readPixels.
7287         * src/WebGraphicsContext3DDefaultImpl.cpp:
7288         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): Temporarily disable pack alignment for glReadPixels.
7289         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Move array allocation and alpha fix to WebGLRenderingContext; flush before read pixels.
7290
7291 2010-04-14  Mikhail Naganov  <mnaganov@chromium.org>
7292
7293         Reviewed by Pavel Feldman.
7294
7295         Re-write testProfilerTab to match the new implementation.
7296
7297         https://bugs.webkit.org/show_bug.cgi?id=37516
7298
7299         * src/js/Tests.js:
7300         (.TestSuite.prototype.testProfilerTab.findDisplayedNode):
7301         (.TestSuite.prototype.testProfilerTab.findVisibleView):
7302         (.TestSuite.prototype.testProfilerTab):
7303
7304 2010-04-13  Timothy Hatcher  <timothy@apple.com>
7305
7306         Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
7307         And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
7308
7309         SecurityOrigin needs a way to remove individual OriginAccessEntries
7310         https://bugs.webkit.org/show_bug.cgi?id=37449
7311
7312         Reviewed by Dave Hyatt.
7313
7314         * src/WebSecurityPolicy.cpp:
7315         (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
7316         (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
7317
7318 2010-04-13  Mikhail Naganov  <mnaganov@chromium.org>
7319
7320         Reviewed by Pavel Feldman.
7321
7322         Fix search behavior in Heap profiles.
7323
7324         https://bugs.webkit.org/show_bug.cgi?id=37498
7325
7326         * src/js/HeapProfilerPanel.js:
7327
7328 2010-04-13  Jeremy Moskovich  <jeremy@chromium.org>
7329
7330         Reviewed by David Levin.
7331
7332         Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
7333
7334         https://bugs.webkit.org/show_bug.cgi?id=36426
7335
7336         * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
7337         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
7338         (WebCore::ResourceHandleInternal::):
7339         (WebCore::ResourceHandleInternal::start):
7340         (WebCore::ResourceHandleInternal::cancel):
7341         (WebCore::ResourceHandleInternal::didReceiveResponse):
7342         (WebCore::ResourceHandleInternal::didReceiveData):
7343         (WebCore::ResourceHandleInternal::didFinishLoading):
7344         (WebCore::ResourceHandleInternal::didFail):
7345
7346 2010-04-13  Mikhail Naganov  <mnaganov@chromium.org>
7347
7348         Unreviewed Chromium build fix: pin to a newer V8 revision (4386).
7349
7350         * DEPS:
7351
7352 2010-04-12  Mikhail Naganov  <mnaganov@chromium.org>
7353
7354         Reviewed by Yury Semikhatsky.
7355
7356         Replace hand-written JavaScriptProfile* bindings with idl-based, and
7357         in Chromium port, bind them to the new V8's profiler API that is
7358         aligned with JSC.
7359
7360         https://bugs.webkit.org/show_bug.cgi?id=37448
7361
7362         * src/js/InspectorControllerImpl.js:
7363         (devtools.InspectorBackendImpl):
7364         * src/js/ProfilerAgent.js:
7365         (devtools.ProfilerAgent):
7366         (devtools.ProfilerAgent.prototype.initializeProfiling):
7367         (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
7368         (devtools.ProfilerAgent.prototype._didGetLogLines):
7369         * src/js/Tests.js:
7370
7371 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
7372
7373         Unreviewed, rolling out r57468.
7374         http://trac.webkit.org/changeset/57468
7375         https://bugs.webkit.org/show_bug.cgi?id=37433
7376
7377         Broke the world...  Must have applied the patch wrong
7378         (Requested by abarth on #webkit).
7379
7380         * src/ContextMenuClientImpl.cpp:
7381         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
7382         * src/FrameLoaderClientImpl.cpp:
7383         (WebKit::FrameLoaderClientImpl::finishedLoading):
7384         * src/WebFrameImpl.cpp:
7385         (WebKit::WebFrameImpl::encoding):
7386         (WebKit::WebFrameImpl::commitDocumentData):
7387         * src/WebPageSerializerImpl.cpp:
7388         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
7389         (WebKit::WebPageSerializerImpl::serialize):
7390         * src/WebSearchableFormData.cpp:
7391         (WebCore::GetFormEncoding):
7392         * src/WebViewImpl.cpp:
7393         (WebKit::WebViewImpl::pageEncoding):
7394
7395 2010-04-11  Adam Barth  <abarth@webkit.org>
7396
7397         Reviewed by Eric Seidel.
7398
7399         Factor DocumentWriter out of FrameLoader
7400         https://bugs.webkit.org/show_bug.cgi?id=37175
7401
7402         Update these callsites because the method moved to DocumentWriter.
7403
7404         * src/ContextMenuClientImpl.cpp:
7405         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
7406         * src/FrameLoaderClientImpl.cpp:
7407         (WebKit::FrameLoaderClientImpl::finishedLoading):
7408         * src/WebFrameImpl.cpp:
7409         (WebKit::WebFrameImpl::encoding):
7410         (WebKit::WebFrameImpl::commitDocumentData):
7411         * src/WebPageSerializerImpl.cpp:
7412         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
7413         (WebKit::WebPageSerializerImpl::serialize):
7414         * src/WebSearchableFormData.cpp:
7415         (WebCore::GetFormEncoding):
7416         * src/WebViewImpl.cpp:
7417         (WebKit::WebViewImpl::pageEncoding):
7418
7419 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
7420
7421         Unreviewed, rolling out r57460.
7422         http://trac.webkit.org/changeset/57460
7423         https://bugs.webkit.org/show_bug.cgi?id=37424
7424
7425         broke chromium builders (Requested by tony^work on #webkit).
7426
7427         * DEPS:
7428         * gyp_webkit:
7429
7430 2010-04-11  Tony Chang  <tony@chromium.org>
7431
7432         Reviewed by Darin Fisher.
7433
7434         [chromium] update chromium DEPS for upstream compile
7435         https://bugs.webkit.org/show_bug.cgi?id=36578
7436
7437         * DEPS:
7438         * gyp_webkit: Add DumpRenderTree.gyp so we generate xcode projects for DRT.
7439
7440 2010-04-10  Vangelis Kokkevis  <vangelis@chromium.org>
7441
7442         Reviewed by Dimitri Glazkov.
7443
7444         Include file change as a result of renaming LayerRenderSkia.h to LayerRenderChromium.h
7445         https://bugs.webkit.org/show_bug.cgi?id=37231
7446
7447         * src/WebViewImpl.h:
7448
7449 2010-04-10  Rafael Weinstein  <rafaelw@chromium.org>
7450
7451         Reviewed by Eric Seidel.
7452
7453         Cleanup after chromium breakage. All interface methods are
7454         returned to being abstract.
7455
7456         * public/WebNotificationPresenter.h:
7457
7458 2010-04-09  Evan Stade  <estade@chromium.org>
7459
7460         Reviewed by Eric Seidel.
7461
7462         [chromium] Linux: respect the scale factor during printing
7463         https://bugs.webkit.org/show_bug.cgi?id=37168
7464
7465         Chromium doesn't support testing .pdfs from printing at the moment, so
7466         this change is not covered by any tests.
7467
7468         * src/WebFrameImpl.cpp:
7469         (WebKit::ChromePrintContext::spoolPage):
7470
7471 2010-04-09  Aaron Boodman  <aa@chromium.org>
7472
7473         Reviewed by Eric Seidel.
7474
7475         Remove applicationID() from WebDocument as it is Chromium-specific.
7476         https://bugs.webkit.org/show_bug.cgi?id=37350
7477
7478         * public/WebDocument.h:
7479         * src/WebDocument.cpp:
7480
7481 2010-04-09  Jeremy Orlow  <jorlow@chromium.org>
7482
7483         Reviewed by Darin Adler.
7484
7485         Move the IDB::open ExceptionCode paramter to be last
7486         https://bugs.webkit.org/show_bug.cgi?id=37277
7487
7488         Move the ExceptionCode paramter to the last position in 
7489         IndexedDatabaseRequest::open and friends.  It should definitely
7490         go after the callbacks to keep the parameters that come directly
7491         from javascript together.  And having output parameters appear
7492         last is done often in the code base, so it makes sense to push
7493         it past the Frame* param as well.
7494
7495         * public/WebIndexedDatabase.h:
7496         * src/IndexedDatabaseProxy.cpp:
7497         (WebCore::IndexedDatabaseProxy::open):
7498         * src/IndexedDatabaseProxy.h:
7499         * src/WebIndexedDatabaseImpl.cpp:
7500         (WebKit::WebIndexedDatabaseImpl::open):
7501         * src/WebIndexedDatabaseImpl.h:
7502
7503 2010-04-09  Jochen Eisinger  <jochen@chromium.org>
7504
7505         Reviewed by Darin Fisher.
7506
7507         Complete move of createApplicationCacheHost from WebKitClient to WebFrameClient.
7508         https://bugs.webkit.org/show_bug.cgi?id=37330
7509
7510         * public/WebApplicationCacheHost.h:
7511         * public/WebKitClient.h:
7512         * src/ApplicationCacheHostInternal.h:
7513         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
7514
7515 2010-04-09  Marcus Bulach  <bulach@chromium.org>
7516
7517         Reviewed by Jeremy Orlow.
7518
7519         Crash on WebKit::WebGeolocationServiceBridgeImpl::stopUpdating() during frame disconnection
7520         Should not try to access WebViewClient if the frame has already been disconnected.
7521         https://bugs.webkit.org/show_bug.cgi?id=37318
7522
7523         * src/WebGeolocationServiceBridgeImpl.cpp:
7524         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
7525
7526 2010-04-09  Jochen Eisinger  <jochen@chromium.org>
7527
7528         Reviewed by Adam Barth.
7529
7530         Expose SecurityOrigin::canRequest in WebSecurityOrigin.
7531         https://bugs.webkit.org/show_bug.cgi?id=37271
7532
7533         * public/WebSecurityOrigin.h:
7534         * src/WebSecurityOrigin.cpp:
7535         (WebKit::WebSecurityOrigin::canRequest):
7536
7537 2010-04-09  Zhenyao Mo  <zmo@google.com>
7538
7539         Reviewed by Dimitri Glazkov.
7540
7541         Must resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D
7542         https://bugs.webkit.org/show_bug.cgi?id=37174
7543
7544         Test: fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html
7545
7546         * src/WebGraphicsContext3DDefaultImpl.cpp: Resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D.
7547         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
7548         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
7549
7550 2010-04-07  Pavel Feldman  <pfeldman@chromium.org>
7551
7552         Reviewed by Yury Semikhatsky.
7553
7554         Chromium: support themes in devtools window.
7555
7556         https://bugs.webkit.org/attachment.cgi?bugid=37216
7557
7558         * WebKit.gypi:
7559         * src/js/DevTools.js:
7560         (WebInspector.setToolbarColors):
7561         (WebInspector.resetToolbarColors):
7562         * src/js/Images/segmentChromium2.png: Added.
7563         * src/js/Images/segmentHoverChromium2.png: Added.
7564         * src/js/Images/segmentSelectedChromium2.png: Added.
7565         * src/js/Images/statusbarBackgroundChromium2.png: Added.
7566         * src/js/Images/statusbarMenuButtonChromium2.png: Added.
7567
7568 2010-04-07  Andrey Kosyakov  <caseq@chromium.org>
7569
7570         Reviewed by Yury Semikhatsky.
7571
7572         Removed inspector methods from ScriptExecutionContext and derived classes.
7573         Removed MessageDestination parameter from console-related calls (we now always
7574         log to the same destination(s)).
7575         Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
7576         https://bugs.webkit.org/show_bug.cgi?id=36949
7577
7578         * public/WebCommonWorkerClient.h:
7579         (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
7580         * src/FrameLoaderClientImpl.cpp:
7581         * src/FrameLoaderClientImpl.h:
7582         * src/WebWorkerBase.cpp:
7583         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
7584         (WebKit::WebWorkerBase::postConsoleMessageTask):
7585         * src/WebWorkerBase.h:
7586         * src/WebWorkerClientImpl.cpp:
7587         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
7588         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
7589         * src/WebWorkerClientImpl.h:
7590
7591 2010-04-07  Jeremy Orlow  <jorlow@chromium.org>
7592
7593         Reviewed by Darin Fisher.
7594
7595         [Chromium] WebIDBDatabaseError::assign doesn't work correctly
7596         https://bugs.webkit.org/show_bug.cgi?id=37209
7597
7598         * src/WebIDBDatabaseError.cpp:
7599         (WebKit::WebIDBDatabaseError::assign):
7600
7601 2010-04-07  Dawit Alemayehu  <adawit@kde.org>
7602
7603         Reviewed by Simon Hausmann.
7604
7605         https://bugs.webkit.org/show_bug.cgi?id=36827
7606
7607         Updated the WebCore::shouldTreatAsAttachement function call with the
7608         new more generic replacement WebCore::contentDispositionType.
7609
7610         See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395
7611
7612         * src/FrameLoaderClientImpl.cpp:
7613         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
7614
7615 2010-04-07  Jochen Eisinger  <jochen@chromium.org>
7616
7617         Reviewed by Darin Fisher.
7618
7619         Add createApplicationCacheHost to WebFrameClient so
7620         the ApplicationCacheHost has access to its frame.
7621
7622         https://bugs.webkit.org/show_bug.cgi?id=36882
7623
7624         * public/WebFrameClient.h:
7625         (WebKit::WebFrameClient::createApplicationCacheHost):
7626         * src/ApplicationCacheHostInternal.h:
7627         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
7628
7629 2010-04-06  Nicolas Weber  <thakis@chromium.org>
7630
7631         Reviewed by Dimitri Glazkov.
7632
7633         Use drag images on OS X as well.
7634         https://bugs.webkit.org/show_bug.cgi?id=37069
7635
7636         * src/DragClientImpl.cpp:
7637         (WebKit::DragClientImpl::startDrag):
7638
7639 2010-04-06  Vangelis Kokkevis  <vangelis@chromium.org>
7640
7641         Reviewed by Dimitri Glazkov.
7642
7643         Changing references to Graphics Layer related classes from *Skia to *Chromium.
7644         https://bugs.webkit.org/show_bug.cgi?id=37116
7645
7646         * src/WebViewImpl.cpp:
7647         (WebKit::WebViewImpl::paint):
7648         (WebKit::WebViewImpl::setAcceleratedCompositing):
7649         (WebKit::WebViewImpl::updateRootLayerContents):
7650         * src/WebViewImpl.h:
7651
7652 2010-04-06  James Hawkins  <jhawkins@chromium.org>
7653
7654         Reviewed by Adam Barth.
7655
7656         [Chromium] Implement WebInputElement::maxLength.
7657         https://bugs.webkit.org/show_bug.cgi?id=37172
7658
7659         * public/WebInputElement.h:
7660         * src/WebInputElement.cpp:
7661         (WebKit::WebInputElement::maxLength):
7662
7663 2010-04-06  Evan Stade  <estade@chromium.org>
7664
7665         Reviewed by Dimitri Glazkov.
7666
7667         [chromium] need DragImage implementation
7668         https://bugs.webkit.org/show_bug.cgi?id=35811
7669
7670         Basic implementation using SkBitmap. Transformations are not supported
7671         yet. No implementation for mac.
7672
7673         This was previously committed but rolled back for breaking layout
7674         tests.
7675
7676         * public/WebViewClient.h:
7677         (WebKit::WebViewClient::startDragging):
7678         * src/DragClientImpl.cpp:
7679         (WebKit::DragClientImpl::startDrag): new: check for null dragImage.
7680         * src/WebViewImpl.cpp:
7681         (WebKit::WebViewImpl::startDragging):
7682         * src/WebViewImpl.h:
7683
7684 2010-04-06  James Hawkins  <jhawkins@chromium.org>
7685
7686         Reviewed by Dimitri Glazkov.
7687
7688         [Chromium] Move the getElementsByTagName from WebDocument to WebNode.
7689         https://bugs.webkit.org/show_bug.cgi?id=37161
7690
7691         * public/WebDocument.h:
7692         * public/WebNode.h:
7693         * src/WebDocument.cpp:
7694         * src/WebNode.cpp:
7695         (WebKit::WebNode::getElementsByTagName):
7696
7697 2010-04-06  Ilya Tikhonovsky  <loislo@chromium.org>
7698
7699         Unreviewed build fix for Chromium DEPS.
7700
7701         * DEPS:
7702
7703 2010-04-06  Ilya Tikhonovsky  <loislo@chromium.org>
7704
7705         Unreviewed: build fix.
7706
7707         * DEPS:
7708
7709 2010-04-06  Mattias Nissler  <mnissler@chromium.org>
7710
7711         Reviewed by Pavel Feldman.
7712
7713         Handle docking requests from the developer tools and forward them to
7714         WebDevToolsFrontendClient.
7715         https://bugs.webkit.org/show_bug.cgi?id=36944
7716
7717         * public/WebDevToolsFrontendClient.h:
7718         (WebKit::WebDevToolsFrontendClient::requestDockWindow):
7719         * src/WebDevToolsFrontendImpl.cpp:
7720         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
7721         (WebKit::WebDevToolsFrontendImpl::jsRequestAttachWindow):
7722         * src/WebDevToolsFrontendImpl.h:
7723
7724 2010-04-06  Andrey Kosyakov  <caseq@chromium.org>
7725
7726         Reviewed by Yury Semikhatsky.
7727
7728         Fixed logging of unhndled worker exceptions.
7729         https://bugs.webkit.org/show_bug.cgi?id=37143
7730
7731         * src/WebWorkerClientImpl.cpp:
7732         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
7733
7734 2010-04-05  Alexey Proskuryakov  <ap@apple.com>
7735
7736         Reviewed by Darin Adler.
7737
7738         https://bugs.webkit.org/show_bug.cgi?id=37111
7739         <rdar://problem/7790327> Draw replacement text when plug-in host crashes
7740
7741         * src/LocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in
7742         failure.
7743
7744 2010-04-04  Pavel Feldman  <pfeldman@chromium.org>
7745
7746         Not reviewed. Rolling out chromium changes r57028 and r57032 
7747         for breaking chromium layout tests.
7748
7749         * public/WebViewClient.h:
7750         (WebKit::WebViewClient::startDragging):
7751         * src/DragClientImpl.cpp:
7752         (WebKit::DragClientImpl::startDrag):
7753         * src/WebViewImpl.cpp:
7754         (WebKit::WebViewImpl::startDragging):
7755         * src/WebViewImpl.h:
7756
7757 2010-04-03  Darin Fisher  <darin@chromium.org>
7758
7759         Add default implementations of WebNotificationPresenter methods to
7760         repair the downstream Chromium build.
7761
7762         * public/WebNotificationPresenter.h:
7763         (WebKit::WebNotificationPresenter::show):
7764         (WebKit::WebNotificationPresenter::cancel):
7765         (WebKit::WebNotificationPresenter::objectDestroyed):
7766         (WebKit::WebNotificationPresenter::checkPermission):
7767         (WebKit::WebNotificationPresenter::requestPermission):
7768
7769 2010-04-02  Michael Nordman  <michaeln@google.com>
7770
7771         Reviewed by Nate Chapin.
7772
7773         Set the close policy used by the DatabaseCloseTask at this callsite to
7774         RemoveDatabaseFromContext. This restores its behavior to what it was prior to
7775         r56293.
7776         https://bugs.webkit.org/show_bug.cgi?id=37037
7777
7778         * src/WebDatabase.cpp:
7779         (WebKit::WebDatabase::closeDatabaseImmediately):
7780
7781 2010-04-02  Evan Stade  <estade@chromium.org>
7782
7783         Reviewed by Eric Seidel.
7784
7785         [chromium] need DragImage implementation
7786         https://bugs.webkit.org/show_bug.cgi?id=35811
7787
7788         Use the DragImageRef that the DragController passes to us.
7789
7790         * public/WebViewClient.h:
7791         (WebKit::WebViewClient::startDragging):
7792         * src/DragClientImpl.cpp:
7793         (WebKit::DragClientImpl::startDrag):
7794         * src/WebViewImpl.cpp:
7795         (WebKit::WebViewImpl::startDragging):
7796         * src/WebViewImpl.h:
7797
7798 2010-04-02  Rafael Weinstein  <rafaelw@chromium.org>
7799
7800         Reviewed by Adam Barth.
7801
7802         Clean up unused calls after changes to checkPermission and requestPermission argument lists.
7803
7804         * public/WebNotificationPresenter.h:
7805         * src/NotificationPresenterImpl.cpp:
7806         (WebKit::NotificationPresenterImpl::checkPermission):
7807         (WebKit::NotificationPresenterImpl::requestPermission):
7808
7809 2010-04-02  Zhenyao Mo  <zmo@google.com>
7810
7811         Reviewed by Eric Seidel.
7812
7813         Implement and test new framebuffer object attachment behavior.
7814         https://bugs.webkit.org/show_bug.cgi?id=35611
7815
7816         Test: fast/canvas/webgl/framebuffer-object-attachment.html
7817
7818         * src/WebGraphicsContext3DDefaultImpl.cpp: Map to correct DEPTH_STENCIL format.
7819         (WebKit::WebGraphicsContext3DDefaultImpl::framebufferRenderbuffer):
7820         (WebKit::WebGraphicsContext3DDefaultImpl::getFramebufferAttachmentParameteriv):
7821         (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage):
7822
7823 2010-04-02  Jay Civelli  <jcivelli@chromium.org>
7824
7825         Reviewed by Darin Fisher.
7826
7827         The popup type (select or suggestion) is now passed to the
7828         WebClient::createPopupMenu() method. This is required for
7829         Chromium on Linux to make the select popups work correctly.
7830         https://bugs.webkit.org/show_bug.cgi?id=37013
7831
7832         * WebKit.gyp:
7833         * public/WebPopupType.h: Added.
7834         (WebKit::):
7835         * public/WebViewClient.h:
7836         (WebKit::WebViewClient::createPopupMenu):
7837         * src/ChromeClientImpl.cpp:
7838         (WebCore::convertPopupType):
7839         (WebKit::ChromeClientImpl::popupOpened):
7840
7841 2010-04-02  Yury Semikhatsky  <yurys@chromium.org>
7842
7843         Reviewed by Pavel Feldman.
7844
7845         Implement InspectorFrontendClient in Chromium and remove all custom bindings for the host methods from WebDevToolsFrontendImpl. 
7846
7847         https://bugs.webkit.org/show_bug.cgi?id=36817
7848
7849         * WebKit.gyp:
7850         * src/InspectorFrontendClientImpl.cpp: Added.
7851         (WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
7852         (WebKit::InspectorFrontendClientImpl::~InspectorFrontendClientImpl):
7853         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
7854         (WebKit::InspectorFrontendClientImpl::frontendLoaded):
7855         (WebKit::InspectorFrontendClientImpl::moveWindowBy):
7856         (WebKit::InspectorFrontendClientImpl::localizedStringsURL):
7857         (WebKit::InspectorFrontendClientImpl::hiddenPanels):
7858         (WebKit::InspectorFrontendClientImpl::bringToFront):
7859         (WebKit::InspectorFrontendClientImpl::closeWindow):
7860         (WebKit::InspectorFrontendClientImpl::canAttachWindow):
7861         (WebKit::InspectorFrontendClientImpl::attachWindow):
7862         (WebKit::InspectorFrontendClientImpl::detachWindow):
7863         (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
7864         (WebKit::InspectorFrontendClientImpl::inspectedURLChanged):
7865         * src/InspectorFrontendClientImpl.h: Added.
7866         * src/WebDevToolsFrontendImpl.cpp:
7867         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
7868         (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
7869         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
7870         * src/WebDevToolsFrontendImpl.h:
7871         * src/js/DebuggerAgent.js:
7872         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
7873         * src/js/DevTools.js:
7874         ():
7875
7876 2010-04-01  Jay Civelli  <jcivelli@google.com>
7877
7878         Reviewed by David Levin.
7879
7880         Adds a method to WebFrame to execute JavaScript and get the value
7881         it evaluates to.
7882         https://bugs.webkit.org/show_bug.cgi?id=36907
7883
7884         * public/WebFrame.h:
7885         * src/WebFrameImpl.cpp:
7886         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
7887         * src/WebFrameImpl.h:
7888
7889 2010-04-01  Kinuko Yasuda  <kinuko@chromium.org>
7890
7891         Reviewed by Dmitry Titov.
7892
7893         Add FileThread for async file operation support in FileReader and FileWriter
7894         https://bugs.webkit.org/show_bug.cgi?id=36896
7895
7896         Add ENABLE_FILE_READER and ENABLE_FILE_WRITER flags.
7897
7898         * features.gypi:
7899
7900 2010-04-01  Finnur Thorarinsson  <finnur.webkit@gmail.com>
7901
7902         Reviewed by Eric Seidel.
7903
7904         [chromium] FindInPage on multi-frame pages wasn't always updating
7905         tickmarks on scrollbars for the subframes. It was calling invalidateRect
7906         on the View and specifying a rect that's in window coordinates, whereas
7907         the invalidateRect expects frame coordinates.
7908
7909         https://bugs.webkit.org/show_bug.cgi?id=36982
7910         
7911         * src/WebFrameImpl.cpp:
7912         (WebKit::WebFrameImpl::invalidateArea):
7913
7914 2010-04-01  Finnur Thorarinsson  <finnur.webkit@gmail.com>
7915
7916         Reviewed by Dimitri Glazkov.
7917
7918         [chromium] FindInPage should clear the focused node when a match has
7919         been found. This is because WebFrameImpl::setFocus will try to refocus
7920         editable elements if it thinks they have focus, causing the page to
7921         scroll.
7922
7923         https://bugs.webkit.org/show_bug.cgi?id=36923
7924
7925         * src/WebFrameImpl.cpp:
7926         (WebKit::WebFrameImpl::find):
7927
7928 2010-04-01  Marcus Bulach  <bulach@chromium.org>
7929
7930         Reviewed by Jeremy Orlow.
7931
7932         As a follow up on https://bugs.webkit.org/show_bug.cgi?id=36535, remove:
7933         GeolocationServiceBridgeChromium.h
7934         dettachBridge()
7935         getGeolocationService()
7936         https://bugs.webkit.org/show_bug.cgi?id=36895
7937
7938         * WebKit.gyp:
7939         * public/GeolocationServiceBridgeChromium.h: Removed.
7940         * public/WebGeolocationService.h:
7941         (WebKit::WebGeolocationService::detachBridge):
7942         * public/WebViewClient.h:
7943         (WebKit::WebViewClient::geolocationService):
7944
7945 2010-03-31  Jeremy Orlow  <jorlow@chromium.org>
7946
7947         Reviewed by Nate Chapin.
7948
7949         Misc IndexedDatabase cleanup
7950         https://bugs.webkit.org/show_bug.cgi?id=36889
7951
7952         Plumb the Frame* so Chromium knows where the request originated from.
7953
7954         * public/WebIndexedDatabase.h:
7955         * src/IndexedDatabaseProxy.cpp:
7956         (WebCore::IndexedDatabaseProxy::open):
7957         * src/IndexedDatabaseProxy.h:
7958         * src/WebIndexedDatabaseImpl.cpp:
7959         (WebKit::WebIndexedDatabaseImpl::open):
7960         * src/WebIndexedDatabaseImpl.h:
7961
7962 2010-03-31  Alpha Lam  <hclam@chromium.org>
7963
7964         Not reviewed. Build fix.
7965
7966         Fixing a build break caused by 56872. One of the Chromium bots doesn't
7967         like std::strstr(). Includes string.h and use strstr() instead.
7968
7969         * src/WebGraphicsContext3DDefaultImpl.cpp:
7970         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
7971         Includes string.h and use strstr().
7972
7973 2010-03-31  Zhenyao Mo  <zmo@google.com>
7974
7975         Reviewed by Darin Fisher.
7976
7977         Hook up WebGLContextAttributes to OpenGL context creation code
7978         https://bugs.webkit.org/show_bug.cgi?id=33416
7979
7980         * src/WebGraphicsContext3DDefaultImpl.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Chrome.
7981         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
7982         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
7983         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
7984         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
7985         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
7986         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
7987         (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
7988         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Deal with wrong returned alpha values in Mac.
7989         * src/WebGraphicsContext3DDefaultImpl.h: Add a function.
7990
7991 2010-03-31  Darin Fisher  <darin@chromium.org>
7992
7993         Reviewed by David Levin.
7994
7995         [chromium] including WebKit.gyp:webkit should automatically add Skia
7996         and NPAPI include paths
7997
7998         https://bugs.webkit.org/show_bug.cgi?id=36887
7999
8000         * WebKit.gyp:
8001
8002 2010-03-31  Marcus Bulach  <bulach@chromium.org>
8003
8004         Reviewed by Jeremy Orlow.
8005
8006         Implements cancelGeolocationPermissionRequestForFrame.
8007         https://bugs.webkit.org/show_bug.cgi?id=35031
8008
8009         * public/WebGeolocationService.h:
8010         (WebKit::WebGeolocationService::cancelPermissionRequestForFrame):
8011         * src/ChromeClientImpl.cpp:
8012         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
8013         * src/ChromeClientImpl.h:
8014
8015 2010-03-31  Pavel Feldman  <pfeldman@chromium.org>
8016
8017         Not reviewed. Rolling out r56829 since it broke chromium layout tests.
8018
8019         [REGRESSION] Inspector tests started crashing since r56829
8020         https://bugs.webkit.org/show_bug.cgi?id=36888
8021
8022         * public/WebFrameClient.h:
8023         * src/FrameLoaderClientImpl.cpp:
8024         * src/FrameLoaderClientImpl.h:
8025
8026 2010-03-31  Yury Semikhatsky  <yurys@chromium.org>
8027
8028         Reviewed by Pavel Feldman.
8029
8030         Add stubs for moveWindowBy and setAttachedWindowHeight.
8031
8032         https://bugs.webkit.org/show_bug.cgi?id=36842
8033
8034         * src/WebDevToolsFrontendImpl.cpp:
8035         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
8036         (WebKit::WebDevToolsFrontendImpl::jsSetAttachedWindowHeight):
8037         (WebKit::WebDevToolsFrontendImpl::jsMoveWindowBy):
8038         * src/WebDevToolsFrontendImpl.h:
8039
8040 2010-03-31  John Gregg  <johnnyg@google.com>
8041
8042         Reviewed by Darin Fisher.
8043
8044         [chromium] add logging of cross-frame property accesses for site isolation
8045         https://bugs.webkit.org/show_bug.cgi?id=35773
8046
8047         * public/WebFrameClient.h:
8048         (WebKit::WebFrameClient::logCrossFramePropertyAccess):
8049         * src/FrameLoaderClientImpl.cpp:
8050         (WebKit::FrameLoaderClientImpl::logCrossFramePropertyAccess):
8051         * src/FrameLoaderClientImpl.h:
8052
8053 2010-03-30  Gavin Barraclough  <barraclough@apple.com>
8054
8055         Rubber stamped by Sam Weinig.
8056
8057         https://bugs.webkit.org/show_bug.cgi?id=36866
8058         Move CString to WTF
8059
8060         * public/WebCString.h:
8061         * src/FrameLoaderClientImpl.cpp:
8062         * src/GraphicsContext3D.cpp:
8063         * src/WebCString.cpp:
8064         (WebKit::WebCString::assign):
8065         (WebKit::WebCString::WebCString):
8066         (WebKit::WebCString::operator=):
8067         (WebKit::WebCString::operator WTF::CString):
8068         * src/WebMediaPlayerClientImpl.cpp:
8069         * src/WebString.cpp:
8070         * src/WebURLError.cpp:
8071
8072 2010-03-30  Marcus Bulach  <bulach@chromium.org>
8073
8074         Reviewed by Darin Fisher.
8075
8076         Rename / tidy up Geolocation bridge:
8077         Rename GeolocationServiceBridgeChromium.cpp to WebGeolocationServiceBridgeImpl.cpp            
8078         Uses a temporary compatibility layer in GeolocationServiceBridgeChromium.h.
8079
8080         https://bugs.webkit.org/show_bug.cgi?id=36535
8081
8082         * WebKit.gyp:
8083         * public/GeolocationServiceBridgeChromium.h:
8084         * public/WebGeolocationService.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
8085         (WebKit::WebGeolocationService::detachBridge):
8086         * public/WebGeolocationServiceBridge.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
8087         * public/WebViewClient.h:
8088         (WebKit::WebViewClient::geolocationService):
8089         * src/ChromeClientImpl.cpp:
8090         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
8091         * src/ChromiumBridge.cpp:
8092         * src/GeolocationServiceBridgeChromium.cpp: Removed.
8093         * src/WebGeolocationServiceBridgeImpl.cpp: Copied from WebKit/chromium/src/GeolocationServiceBridgeChromium.cpp.
8094         (WebKit::createGeolocationServiceBridgeImpl):
8095         (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
8096         (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
8097         (WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
8098         (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
8099         (WebKit::WebGeolocationServiceBridgeImpl::suspend):
8100         (WebKit::WebGeolocationServiceBridgeImpl::resume):
8101         (WebKit::WebGeolocationServiceBridgeImpl::getBridgeId):
8102         (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
8103         (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
8104         (WebKit::WebGeolocationServiceBridgeImpl::setLastError):
8105         (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient):
8106         * src/WebGeolocationServiceBridgeImpl.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h.
8107
8108 2010-03-30  Jochen Eisinger  <jochen@chromium.org>
8109
8110         Reviewed by Jeremy Orlow.
8111
8112         Remove dysfunctional implementation of canEstablishDatabase for
8113         Workers. I postpone this implementation until Workers can actually
8114         access Web Databases.
8115
8116         https://bugs.webkit.org/show_bug.cgi?id=36795
8117
8118         * src/DatabaseObserver.cpp:
8119         (WebCore::DatabaseObserver::canEstablishDatabase):
8120         * src/WebWorkerBase.h:
8121
8122 2010-03-29  Jeremy Orlow  <jorlow@chromium.org>
8123
8124         Reviewed by Darin Fisher.
8125
8126         More IndexedDB work
8127         https://bugs.webkit.org/show_bug.cgi?id=36770
8128
8129         Start the implementation of WebIndexedDatabase (for entrance back into WebKit).
8130
8131         * WebKit.gyp:
8132         * public/WebIndexedDatabase.h:
8133         * src/WebIndexedDatabaseImpl.cpp: Added.
8134         (WebKit::WebIndexedDatabase::create):
8135         (WebKit::WebIndexedDatabaseImpl::~WebIndexedDatabaseImpl):
8136         (WebKit::WebIndexedDatabaseImpl::open):
8137         * src/WebIndexedDatabaseImpl.h: Added.
8138
8139 2010-03-29  Rafael Weinstein  <rafaelw@chromium.org>
8140
8141         Reviewed by Adam Barth.
8142
8143         Change NotificationPresenter::checkPermission() to take the source frames full KURL,
8144         rather than its SecurityOrigin. This will aid chromium in having more fine grained
8145         permissions to control notification spam.
8146
8147         * public/WebNotificationPresenter.h:
8148         (WebKit::WebNotificationPresenter::checkPermission):
8149         * src/NotificationPresenterImpl.cpp:
8150         (WebKit::NotificationPresenterImpl::checkPermission):
8151         * src/NotificationPresenterImpl.h:
8152
8153 2010-03-29  Dawit Alemayehu  <adawit@kde.org>
8154
8155         Reviewed by Simon Hausmann.
8156
8157         Factored out the 'ShouldTreatAsAttachment' function to HTTPParsers.*
8158         and replacted local version with the factored out version.
8159
8160         The code was factored out to make possible its use in other implementations
8161         such as QtWebKit.
8162
8163         * src/FrameLoaderClientImpl.cpp:
8164         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
8165
8166 2010-03-29  Jochen Eisinger  <jochen@chromium.org>
8167
8168         Reviewed by Darin Fisher.
8169
8170         Pass a WebFrame to WebFrameClient::allowDatabase instead of a WebSecurityOrigin
8171         https://bugs.webkit.org/show_bug.cgi?id=36743
8172
8173         * public/WebFrameClient.h:
8174         (WebKit::WebFrameClient::allowDatabase):
8175         * src/DatabaseObserver.cpp:
8176         (WebCore::DatabaseObserver::canEstablishDatabase):
8177
8178 2010-03-24  Jeremy Orlow  <jorlow@chromium.org>
8179
8180         Reviewed by Darin Fisher.
8181
8182         More IndexedDB plumbing
8183         https://bugs.webkit.org/show_bug.cgi?id=36546
8184
8185         Plumbing work towards the goal of making IndexedDatabase::open work.
8186
8187         * WebKit.gyp:
8188         * public/WebIDBCallbacks.h: Added.
8189         (WebKit::WebIDBCallbacks::~WebIDBCallbacks):
8190         * public/WebIDBDatabase.h: Added.
8191         (WebKit::WebIDBDatabase::~WebIDBDatabase):
8192         * public/WebIDBDatabaseError.h: Added.
8193         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
8194         (WebKit::WebIDBDatabaseError::operator=):
8195         * public/WebIndexedDatabase.h:
8196         * public/WebKitClient.h:
8197         (WebKit::WebKitClient::indexedDatabase):
8198         * public/WebSerializedScriptValue.h:
8199         * src/IDBCallbacksProxy.h: Added.
8200         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
8201         (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy):
8202         (WebCore::IDBCallbacksProxy::onSuccess):
8203         (WebCore::IDBCallbacksProxy::onError):
8204         * src/IDBDatabaseProxy.cpp: Added.
8205         (WebCore::IDBDatabaseProxy::create):
8206         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
8207         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
8208         * src/IDBDatabaseProxy.h: Added.
8209         * src/IndexedDatabaseProxy.cpp:
8210         (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
8211         (WebCore::IndexedDatabaseProxy::open):
8212         * src/IndexedDatabaseProxy.h:
8213         * src/WebIDBDatabaseError.cpp: Added.
8214         (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError):
8215         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
8216         (WebKit::WebIDBDatabaseError::assign):
8217         (WebKit::WebIDBDatabaseError::code):
8218         (WebKit::WebIDBDatabaseError::message):
8219         (WebKit::WebIDBDatabaseError::operator=):
8220         (WebKit::WebIDBDatabaseError::operator PassRefPtr<IDBDatabaseError>):
8221
8222 2010-03-29  Mikhail Naganov  <mnaganov@chromium.org>
8223
8224         Reviewed by Pavel Feldman.
8225
8226         Remove a possibility of confusion from Profiles panel Welcome screen
8227         by turning buttons into non-clickable glyphs. Also, span instructions
8228         alongside panel width.
8229
8230         https://bugs.webkit.org/show_bug.cgi?id=34319
8231
8232         * src/js/HeapProfilerPanel.js:
8233         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
8234
8235 2010-03-28  Alexey Proskuryakov  <ap@apple.com>
8236
8237         Build fix. Removed extraneous includes of KeyboardCodesWin.h and KeyboardCodesPosix.h -
8238         these no longer exist, but they weren't needed even before reshuffling KeyboardCodes headers.
8239
8240         * src/WebViewImpl.cpp:
8241
8242 2010-03-27  Kenneth Russell  <kbr@google.com>
8243
8244         Reviewed by Darin Fisher.
8245
8246         Use WebKitClient to instantiate WebGraphicsContext3D
8247         https://bugs.webkit.org/show_bug.cgi?id=36669
8248
8249         * src/GraphicsContext3D.cpp:
8250         (WebCore::GraphicsContext3DInternal::initialize):
8251
8252 2010-03-24  James Hawkins  <jhawkins@chromium.org>
8253
8254         Reviewed by Darin Fisher.
8255
8256         [Chromium] Implement WebFormControlElement and WebSelectElement.  Add
8257         a getFormControlElements method to WebFormElement.
8258
8259         https://bugs.webkit.org/show_bug.cgi?id=36562
8260
8261         * WebKit.gyp:
8262         * public/WebElement.h:
8263         * public/WebFormControlElement.h: Added.
8264         * public/WebFormElement.h:
8265         * public/WebInputElement.h:
8266         (WebKit::WebInputElement::WebInputElement):
8267         (WebKit::WebInputElement::operator=):
8268         (WebKit::WebInputElement::assign):
8269         * public/WebSelectElement.h: Added.
8270         * src/WebElement.cpp:
8271         (WebKit::WebElement::isFormControlElement):
8272         * src/WebFormControlElement.cpp: Added.
8273         * src/WebFormElement.cpp:
8274         (WebKit::WebFormElement::getFormControlElements):
8275         * src/WebInputElement.cpp:
8276         (WebKit::WebInputElement::WebInputElement):
8277         * src/WebSelectElement.cpp: Added.
8278
8279 2010-03-26  Andrey Kosyakov  <caseq@chromium.org>
8280
8281         Reviewed by Pavel Feldman.
8282
8283         Send worker resource content to inspector to enable display of web
8284         workers in inspector's resource tab.
8285         https://bugs.webkit.org/show_bug.cgi?id=36658
8286
8287         * src/SharedWorkerRepository.cpp:
8288         (WebCore::SharedWorkerScriptLoader::notifyFinished):
8289
8290 2010-03-25  Tony Chang  <tony@chromium.org>
8291
8292         Reviewed by David Levin.
8293
8294         [chromium] correctly handle move drag operations
8295         https://bugs.webkit.org/show_bug.cgi?id=36484
8296
8297         * src/WebViewImpl.cpp:
8298         (WebKit::WebViewImpl::dragTargetDragEnter):
8299         (WebKit::WebViewImpl::dragTargetDragOver):
8300         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): Combine common code into a helper method
8301             and properly mask against the drag effect.
8302         (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
8303         * src/WebViewImpl.h:
8304
8305 2010-03-25  Drew Wilson  <atwilson@chromium.org>
8306
8307         Reviewed by Nate Chapin.
8308
8309         [v8] Error in getScriptExecutionContext() when worker context is terminating
8310         https://bugs.webkit.org/show_bug.cgi?id=36565
8311
8312         Test: Existing worker tests suffice.
8313
8314         * src/WebWorkerClientImpl.cpp:
8315         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
8316         Changed to use WorkerScriptController::controllerForContext() instead of WorkerScriptExecutionProxy::retrieve().
8317
8318 2010-03-25  Jeremy Orlow  <jorlow@chromium.org>
8319
8320         Reviewed by Darin Fisher.
8321
8322         [Chromium] Add an ASSERT macro to the Chromium WebKit API
8323         https://bugs.webkit.org/show_bug.cgi?id=36545
8324
8325         * WebKit.gyp:  Add WebCommon.cpp
8326         * public/WebCommon.h:  Add the Macro.
8327         * public/WebPrivatePtr.h:
8328         (WebKit::WebPrivatePtr::~WebPrivatePtr):  Verify the pointer is now 0.
8329         * src/WebCommon.cpp: Added.
8330         (WebKit::failedAssertion): Calls the WTF assert function and then crashes.
8331
8332 2010-03-25  Jochen Eisinger  <jochen@chromium.org>
8333
8334         Reviewed by Jeremy Orlow.
8335
8336         Remove ASSERT(isMainThread()) which is violated for workers and not necessary at this point.
8337         https://bugs.webkit.org/show_bug.cgi?id=36614
8338
8339         * src/DatabaseObserver.cpp:
8340         (WebCore::DatabaseObserver::canEstablishDatabase):
8341
8342 2010-03-25  Jochen Eisinger  <jochen@chromium.org>
8343
8344         Reviewed by Jeremy Orlow.
8345
8346         Forward DatabaseTracker::canEstablishDatabase to chromium layer.
8347         https://bugs.webkit.org/show_bug.cgi?id=36595
8348
8349         * public/WebFrameClient.h:
8350         (WebKit::WebFrameClient::allowDatabase):
8351         * src/DatabaseObserver.cpp:
8352         (WebCore::DatabaseObserver::canEstablishDatabase):
8353         * src/WebWorkerBase.h:
8354         (WebKit::WebWorkerBase::allowDatabase):
8355
8356 2010-03-10  John Abd-El-Malek  <jam@chromium.org>
8357
8358         Reviewed by Darin Fisher.
8359
8360         [chromium] Fix up WebMouseWheelEventBuilder to properly calculate the units
8361         https://bugs.webkit.org/show_bug.cgi?id=35989
8362
8363         * src/WebInputEventConversion.cpp:
8364
8365 2010-03-24  Vangelis Kokkevis  <vangelis@chromium.org>
8366
8367         Reviewed by Dimitri Glazkov.
8368
8369         Eliminate unecessary redraws of GraphicsLayer contents when doing accelerated compositing:
8370         https://bugs.webkit.org/show_bug.cgi?id=36470
8371
8372         * src/WebViewImpl.cpp:
8373         (WebKit::WebViewImpl::paint):
8374         Remove call that forced redrawing the contents of the entire layer hierarchy.
8375
8376 2010-03-24  Dmitry Titov  <dimich@chromium.org>
8377
8378         No review, rolling out r56453.
8379         http://trac.webkit.org/changeset/56453
8380         https://bugs.webkit.org/show_bug.cgi?id=36426
8381
8382         In Chromium port, it broke invalid-image-data-standalone.html
8383         invalid-image-data.html multipart-wait-before-boundary.html
8384         stop-crash.html win-boundary-crash.html
8385
8386         * src/ResourceHandle.cpp:
8387         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
8388         (WebCore::ResourceHandleInternal::start):
8389         (WebCore::ResourceHandleInternal::cancel):
8390         (WebCore::ResourceHandleInternal::didReceiveResponse):
8391         (WebCore::ResourceHandleInternal::didReceiveData):
8392         (WebCore::ResourceHandleInternal::didFinishLoading):
8393         (WebCore::ResourceHandleInternal::didFail):
8394
8395 2010-03-24  John Abd-El-Malek  <jam@chromium.org>
8396
8397         Reviewed by Darin Fisher.
8398
8399         [chromium]WebKit side of adding search support to Pepper.
8400         https://bugs.webkit.org/show_bug.cgi?id=36434
8401
8402         * WebKit.gyp:
8403         * public/WebDocument.h:
8404         * public/WebNode.h:
8405         (WebKit::WebNode::to):
8406         (WebKit::WebNode::toConst):
8407         * public/WebPluginDocument.h: Added.
8408         (WebKit::WebPluginDocument::WebPluginDocument):
8409         (WebKit::WebPluginDocument::operator=):
8410         (WebKit::WebPluginDocument::assign):
8411         * src/WebDocument.cpp:
8412         (WebKit::WebDocument::isPluginDocument):
8413         * src/WebPluginDocument.cpp: Added.
8414         (WebKit::WebPluginDocument::plugin):
8415         (WebKit::WebPluginDocument::WebPluginDocument):
8416         (WebKit::WebPluginDocument::operator=):
8417         (WebKit::WebPluginDocument::operator PassRefPtr<PluginDocument>):
8418
8419 2010-03-24  Jeremy Moskovich  <jeremy@chromium.org>
8420
8421         Reviewed by Jeremy Orlow.
8422
8423         Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType().
8424
8425         https://bugs.webkit.org/show_bug.cgi?id=36426
8426
8427         * src/ResourceHandle.cpp: Track state across ResourceHandle invocations.
8428         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
8429         (WebCore::ResourceHandleInternal::):
8430         (WebCore::ResourceHandleInternal::start):
8431         (WebCore::ResourceHandleInternal::cancel):
8432         (WebCore::ResourceHandleInternal::didReceiveResponse):
8433         (WebCore::ResourceHandleInternal::didReceiveData):
8434         (WebCore::ResourceHandleInternal::didFinishLoading):
8435         (WebCore::ResourceHandleInternal::didFail):
8436
8437 2010-03-24  Jay Campan  <jcampan@google.com>
8438
8439         Reviewed by Darin Fisher.
8440
8441         Making Chromium select popups not steal activation from the browser.
8442         Select popups are now like autocomplete popups, shown in non-activated
8443         windows.
8444         https://bugs.webkit.org/show_bug.cgi?id=36062
8445
8446         * public/WebViewClient.h:
8447         (WebKit::WebViewClient::createPopupMenu):
8448         * src/ChromeClientImpl.cpp:
8449         (WebKit::ChromeClientImpl::popupOpened):
8450         (WebKit::ChromeClientImpl::popupClosed):
8451         * src/ChromeClientImpl.h:
8452         * src/WebViewImpl.cpp:
8453         (WebKit::):
8454         (WebKit::WebViewImpl::mouseDown):
8455         (WebKit::WebViewImpl::keyEvent):
8456         (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
8457         (WebKit::WebViewImpl::hideSelectPopup):
8458         (WebKit::WebViewImpl::popupOpened):
8459         (WebKit::WebViewImpl::popupClosed):
8460         (WebKit::WebViewImpl::setFocus):
8461         (WebKit::WebViewImpl::applyAutoFillSuggestions):
8462         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
8463         * src/WebViewImpl.h:
8464
8465 2010-03-24  Alexander Pavlov  <apavlov@chromium.org>
8466
8467         Reviewed by Pavel Feldman.
8468
8469         Web Inspector: [Chromium] Audits never complete
8470         https://bugs.webkit.org/show_bug.cgi?id=36544
8471
8472         * src/js/InspectorControllerImpl.js:
8473         (devtools.InspectorBackendImpl):
8474
8475 2010-03-24  Alexander Pavlov  <apavlov@chromium.org>
8476
8477         Reviewed by Pavel Feldman.
8478
8479         [Chromium] Fix VKEY_F10, VKEY_F11 translation in WebInputEvent.cpp
8480         https://bugs.webkit.org/show_bug.cgi?id=36524
8481
8482         * src/WebInputEvent.cpp:
8483         (WebKit::staticKeyIdentifiers):
8484
8485 2010-03-24  Kent Tamura  <tkent@chromium.org>
8486
8487         Reviewed by Darin Adler.
8488
8489         Make Icon::createIconForFiles() optional.
8490         https://bugs.webkit.org/show_bug.cgi?id=35072
8491
8492         - Rename iconForFiles() to chooseIconForFiles().
8493         - Call Icon::createIconForFiles() from chooseIconForFiles().
8494
8495         * src/ChromeClientImpl.cpp:
8496         (WebKit::ChromeClientImpl::chooseIconForFiles):
8497         * src/ChromeClientImpl.h:
8498
8499 2010-03-23  Kenneth Russell  <kbr@google.com>
8500
8501         Unreviewed build fix.
8502
8503         Add #include <stdio.h> to fix Chromium Linux build.
8504
8505         * src/WebGraphicsContext3DDefaultImpl.cpp:
8506
8507 2010-03-23  Nate Chapin  <japhet@chromium.org>
8508
8509         Unreviewed, revert r56376.
8510
8511         This revision introduced a crash in a couple of layout tests
8512         on Chromium Linux.
8513
8514         * public/WebViewClient.h:
8515         (WebKit::WebViewClient::createPopupMenu):
8516         * src/ChromeClientImpl.cpp:
8517         (WebKit::ChromeClientImpl::popupOpened):
8518         * src/ChromeClientImpl.h:
8519         * src/WebViewImpl.cpp:
8520         (WebKit::):
8521         (WebKit::WebViewImpl::mouseDown):
8522         (WebKit::WebViewImpl::keyEvent):
8523         (WebKit::WebViewImpl::setFocus):
8524         (WebKit::WebViewImpl::applyAutoFillSuggestions):
8525         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
8526         * src/WebViewImpl.h:
8527
8528 2010-03-23  Sergey Ulanov  <sergeyu@chromium.org>
8529
8530         Reviewed by Dmitry Titov.
8531
8532         Changes needed to implement Show/Hide Controls command for <video> in
8533         chrome: (1) added Controls action in WebMediaPlayerAction that toggles
8534         controls for media player, (2) added MediaHasVideo in
8535         WebContextMenuData so that controls can be made toggleable only for
8536         video player but not for audio.
8537         https://bugs.webkit.org/show_bug.cgi?id=36460
8538
8539         * public/WebContextMenuData.h:
8540         (WebKit::WebContextMenuData::):
8541         * public/WebMediaPlayerAction.h:
8542         (WebKit::WebMediaPlayerAction::):
8543         * src/ContextMenuClientImpl.cpp:
8544         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
8545         * src/WebViewImpl.cpp:
8546         (WebKit::WebViewImpl::performMediaPlayerAction):
8547
8548 2010-03-23  Yury Semikhatsky  <yurys@chromium.org>
8549
8550         Reviewed by Pavel Feldman.
8551
8552         When uncaught exception happens reveal Scripts panel only if reporting uncaught exceptions is on.
8553
8554         https://bugs.webkit.org/show_bug.cgi?id=36498
8555
8556         * src/js/DebuggerAgent.js:
8557         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
8558
8559 2010-03-23  Ilya Tikhonovsky  <loislo@chromium.org>
8560
8561         Reviewed by Pavel Feldman.
8562
8563         Web Inspector: TimelinePanel stays in the recording state after reopening WebInspector.
8564         https://bugs.webkit.org/show_bug.cgi?id=36503
8565
8566         * src/WebDevToolsAgentImpl.cpp:
8567         (WebKit::WebDevToolsAgentImpl::detach):
8568
8569 2010-03-22  Kenneth Russell  <kbr@google.com>
8570
8571         Reviewed by Darin Fisher.
8572
8573         Add GraphicsContext3D abstraction to WebKit API
8574         https://bugs.webkit.org/show_bug.cgi?id=36262
8575
8576         Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
8577         GraphicsContext3D implementation to use it. All of the OpenGL calls have
8578         been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
8579         WebGraphicsContext3D implementation. GraphicsContext3D is still
8580         responsible for the transfer of rendered output from the
8581         WebGraphicsContext3D to the HTMLCanvasElement.
8582
8583         The GraphicsContext3DInternal class, which is a data member of
8584         GraphicsContext3D for the Chromium port, remains. It is possible to
8585         eliminate this class and thereby one level of delegation, but this is
8586         being deferred.
8587
8588         The needed entry point for a Chrome implementation of
8589         WebGraphicsContext3D has been added to WebKitClient, but it is not being
8590         called yet by GraphicsContext3D. It will be once this patch lands and
8591         Chromium is rolled forward to support this entry point.
8592
8593         This is a large patch, but the transformation is almost entirely
8594         mechanical and there is no change in functionality. Nearly all of
8595         GraphicsContext3D and GraphicsContext3DInternal has been moved to
8596         WebGraphicsContext3DDefaultImpl. The only area where the splitting of
8597         logic is less than mechanical is GraphicsContext3D::beginPaint() and its
8598         callees.
8599
8600         Ran all WebGL layout tests and demos from Khronos site in Chromium
8601         on Mac and Windows.
8602
8603         * WebKit.gyp:
8604         * public/WebGraphicsContext3D.h: Added.
8605         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
8606         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
8607         * public/WebKitClient.h:
8608         (WebKit::WebKitClient::createGraphicsContext3D):
8609         * src/GraphicsContext3D.cpp:
8610         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
8611         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
8612         (WebCore::GraphicsContext3DInternal::initialize):
8613         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
8614         (WebCore::GraphicsContext3DInternal::platformTexture):
8615         (WebCore::GraphicsContext3DInternal::beginPaint):
8616         (WebCore::GraphicsContext3DInternal::endPaint):
8617         (WebCore::GraphicsContext3DInternal::reshape):
8618         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
8619         (WebCore::GraphicsContext3DInternal::bindTexture):
8620         (WebCore::GraphicsContext3DInternal::bufferData):
8621         (WebCore::GraphicsContext3DInternal::bufferSubData):
8622         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
8623         (WebCore::GraphicsContext3DInternal::getActiveUniform):
8624         (WebCore::GraphicsContext3DInternal::getAttribLocation):
8625         (WebCore::GraphicsContext3DInternal::getContextAttributes):
8626         (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
8627         (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
8628         (WebCore::GraphicsContext3DInternal::getShaderSource):
8629         (WebCore::GraphicsContext3DInternal::getString):
8630         (WebCore::GraphicsContext3DInternal::getUniformLocation):
8631         (WebCore::GraphicsContext3DInternal::readPixels):
8632         (WebCore::GraphicsContext3DInternal::shaderSource):
8633         (WebCore::GraphicsContext3DInternal::texImage2D):
8634         (WebCore::GraphicsContext3DInternal::texSubImage2D):
8635         (WebCore::GraphicsContext3DInternal::uniform1fv):
8636         (WebCore::GraphicsContext3DInternal::uniform1iv):
8637         (WebCore::GraphicsContext3DInternal::uniform2fv):
8638         (WebCore::GraphicsContext3DInternal::uniform2iv):
8639         (WebCore::GraphicsContext3DInternal::uniform3fv):
8640         (WebCore::GraphicsContext3DInternal::uniform3iv):
8641         (WebCore::GraphicsContext3DInternal::uniform4fv):
8642         (WebCore::GraphicsContext3DInternal::uniform4iv):
8643         (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
8644         (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
8645         (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
8646         (WebCore::GraphicsContext3D::GraphicsContext3D):
8647         (WebCore::GraphicsContext3D::~GraphicsContext3D):
8648         (WebCore::GraphicsContext3D::create):
8649         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
8650         (WebCore::GraphicsContext3D::platformTexture):
8651         (WebCore::GraphicsContext3D::texImage2D):
8652         (WebCore::GraphicsContext3D::texSubImage2D):
8653         * src/WebGraphicsContext3D.cpp: Added.
8654         (WebKit::WebGraphicsContext3D::createDefault):
8655         * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
8656         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
8657         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
8658         (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
8659         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
8660         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
8661         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
8662         (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
8663         (WebKit::WebGraphicsContext3DDefaultImpl::width):
8664         (WebKit::WebGraphicsContext3DDefaultImpl::height):
8665         (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
8666         (WebKit::createTextureObject):
8667         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
8668         (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
8669         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
8670         (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
8671         (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
8672         (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
8673         (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
8674         (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
8675         (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
8676         (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
8677         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
8678         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
8679         (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
8680         (WebKit::WebGraphicsContext3DDefaultImpl::getError):
8681         (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
8682         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
8683         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
8684         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
8685         (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
8686         (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
8687         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
8688         (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
8689         (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
8690         (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
8691         (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
8692         (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
8693         (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
8694         (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
8695         (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
8696         (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
8697         (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
8698         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
8699         (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
8700         (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
8701         * src/WebGraphicsContext3DDefaultImpl.h: Added.
8702         (WebKit::WebGraphicsContext3DDefaultImpl::):
8703         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
8704         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
8705         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
8706         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
8707         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
8708         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
8709         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
8710         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
8711
8712 2010-03-22  Jay Campan  <jcampan@google.com>
8713
8714         Reviewed by Darin Fisher.
8715
8716         Making Chromium select popups not steal activation from the browser.
8717         Select popups are now like autocomplete popups, shown in non-activated
8718         windows.
8719         https://bugs.webkit.org/show_bug.cgi?id=36062
8720
8721         * public/WebViewClient.h:
8722         (WebKit::WebViewClient::createPopupMenu):
8723         * src/ChromeClientImpl.cpp:
8724         (WebKit::ChromeClientImpl::popupOpened):
8725         (WebKit::ChromeClientImpl::popupClosed):
8726         * src/ChromeClientImpl.h:
8727         * src/WebViewImpl.cpp:
8728         (WebKit::):
8729         (WebKit::WebViewImpl::mouseDown):
8730         (WebKit::WebViewImpl::keyEvent):
8731         (WebKit::WebViewImpl::selectPopupHandleKeyEvent):
8732         (WebKit::WebViewImpl::hideSelectPopup):
8733         (WebKit::WebViewImpl::popupOpened):
8734         (WebKit::WebViewImpl::popupClosed):
8735         (WebKit::WebViewImpl::setFocus):
8736         (WebKit::WebViewImpl::applyAutoFillSuggestions):
8737         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
8738         * src/WebViewImpl.h:
8739
8740 2010-03-22  Darin Fisher  <darin@chromium.org>
8741
8742         Reviewed by Nate Chapin.
8743
8744         [chromium] Renderer crashes when navigating to a reference fragment in
8745         a frame that has no current HistoryItem.
8746
8747         https://bugs.webkit.org/show_bug.cgi?id=36443
8748
8749         Test: fast/loader/crash-replacing-location-before-load.html
8750
8751         * src/FrameLoaderClientImpl.cpp:
8752         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
8753
8754 2010-03-22  Kevin Decker  <kdecker@apple.com>
8755
8756         Reviewed by John Sullivan.
8757
8758         https://bugs.webkit.org/show_bug.cgi?id=36328
8759
8760         * src/LocalizedStrings.cpp:
8761         (WebCore::missingPluginText): Added
8762
8763 2010-03-22  Yury Semikhatsky  <yurys@chromium.org>
8764
8765         Reviewed by Pavel Feldman.
8766
8767         Fix inspected Page crash in destructor when Web Inspector is open.
8768
8769         https://bugs.webkit.org/show_bug.cgi?id=36441
8770
8771         * src/js/InjectDispatch.js:
8772         (inspectedPageDestroyed): Added stub for missing method.
8773
8774 2010-03-22  Jochen Eisinger  <jochen@chromium.org>
8775
8776         Reviewed by Jeremy Orlow.
8777
8778         Added methods to WebSecurityOrigin for invoking
8779         SecurityOrigin::canAccess and SecurityOrigin::Create
8780         https://bugs.webkit.org/show_bug.cgi?id=36356
8781
8782         * public/WebSecurityOrigin.h:
8783         * src/WebSecurityOrigin.cpp:
8784         (WebKit::WebSecurityOrigin::create):
8785         (WebKit::WebSecurityOrigin::canAccess):
8786
8787 2010-03-20  Dimitri Glazkov  <dglazkov@chromium.org>
8788
8789         No review, rolling out r56294.
8790         http://trac.webkit.org/changeset/56294
8791         https://bugs.webkit.org/show_bug.cgi?id=36262
8792
8793         Broke compile on Chromium canaries.
8794
8795         * WebKit.gyp:
8796         * public/WebGraphicsContext3D.h: Removed.
8797         * public/WebKitClient.h:
8798         * src/GraphicsContext3D.cpp:
8799         (WebCore::GraphicsContext3DInternal::):
8800         (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
8801         (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
8802         (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
8803         (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
8804         (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
8805         (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
8806         (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
8807         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
8808         (WebCore::GraphicsContext3DInternal::GLConnection::create):
8809         (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
8810         (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
8811         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
8812         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
8813         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
8814         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
8815         (WebCore::GraphicsContext3DInternal::platformTexture):
8816         (WebCore::createTextureObject):
8817         (WebCore::GraphicsContext3DInternal::reshape):
8818         (WebCore::GraphicsContext3DInternal::flipVertically):
8819         (WebCore::GraphicsContext3DInternal::beginPaint):
8820         (WebCore::GraphicsContext3DInternal::activeTexture):
8821         (WebCore::GraphicsContext3DInternal::bindBuffer):
8822         (WebCore::GraphicsContext3DInternal::bindFramebuffer):
8823         (WebCore::GraphicsContext3DInternal::bindTexture):
8824         (WebCore::GraphicsContext3DInternal::bufferDataImpl):
8825         (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
8826         (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
8827         (WebCore::GraphicsContext3DInternal::getError):
8828         (WebCore::GraphicsContext3DInternal::getContextAttributes):
8829         (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
8830         (WebCore::GraphicsContext3DInternal::viewportImpl):
8831         (WebCore::GraphicsContext3DInternal::synthesizeGLError):
8832         (WebCore::GraphicsContext3D::create):
8833         (WebCore::GraphicsContext3D::GraphicsContext3D):
8834         (WebCore::GraphicsContext3D::~GraphicsContext3D):
8835         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
8836         (WebCore::GraphicsContext3D::platformTexture):
8837         (WebCore::GraphicsContext3D::makeContextCurrent):
8838         (WebCore::GraphicsContext3D::reshape):
8839         (WebCore::GraphicsContext3D::beginPaint):
8840         (WebCore::GraphicsContext3D::endPaint):
8841         (WebCore::GraphicsContext3D::sizeInBytes):
8842         (WebCore::GraphicsContext3D::createBuffer):
8843         (WebCore::GraphicsContext3D::createFramebuffer):
8844         (WebCore::GraphicsContext3D::createProgram):
8845         (WebCore::GraphicsContext3D::createRenderbuffer):
8846         (WebCore::GraphicsContext3D::createShader):
8847         (WebCore::GraphicsContext3D::createTexture):
8848         (WebCore::GraphicsContext3D::deleteBuffer):
8849         (WebCore::GraphicsContext3D::deleteFramebuffer):
8850         (WebCore::GraphicsContext3D::deleteProgram):
8851         (WebCore::GraphicsContext3D::deleteRenderbuffer):
8852         (WebCore::GraphicsContext3D::deleteShader):
8853         (WebCore::GraphicsContext3D::deleteTexture):
8854         (WebCore::GraphicsContext3D::activeTexture):
8855         (WebCore::GraphicsContext3D::bindAttribLocation):
8856         (WebCore::GraphicsContext3D::bindBuffer):
8857         (WebCore::GraphicsContext3D::bindFramebuffer):
8858         (WebCore::GraphicsContext3D::bindTexture):
8859         (WebCore::GraphicsContext3D::bufferData):
8860         (WebCore::GraphicsContext3D::bufferSubData):
8861         (WebCore::GraphicsContext3D::checkFramebufferStatus):
8862         (WebCore::GraphicsContext3D::detachShader):
8863         (WebCore::GraphicsContext3D::disableVertexAttribArray):
8864         (WebCore::GraphicsContext3D::drawArrays):
8865         (WebCore::GraphicsContext3D::drawElements):
8866         (WebCore::GraphicsContext3D::enableVertexAttribArray):
8867         (WebCore::GraphicsContext3D::generateMipmap):
8868         (WebCore::GraphicsContext3D::getActiveAttrib):
8869         (WebCore::GraphicsContext3D::getActiveUniform):
8870         (WebCore::GraphicsContext3D::getAttribLocation):
8871         (WebCore::GraphicsContext3D::getBooleanv):
8872         (WebCore::GraphicsContext3D::getBufferParameteriv):
8873         (WebCore::GraphicsContext3D::getContextAttributes):
8874         (WebCore::GraphicsContext3D::getError):
8875         (WebCore::GraphicsContext3D::getFloatv):
8876         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
8877         (WebCore::GraphicsContext3D::getIntegerv):
8878         (WebCore::GraphicsContext3D::getProgramiv):
8879         (WebCore::GraphicsContext3D::getProgramInfoLog):
8880         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
8881         (WebCore::GraphicsContext3D::getShaderiv):
8882         (WebCore::GraphicsContext3D::getShaderInfoLog):
8883         (WebCore::GraphicsContext3D::getShaderSource):
8884         (WebCore::GraphicsContext3D::getString):
8885         (WebCore::GraphicsContext3D::getTexParameterfv):
8886         (WebCore::GraphicsContext3D::getTexParameteriv):
8887         (WebCore::GraphicsContext3D::getUniformfv):
8888         (WebCore::GraphicsContext3D::getUniformiv):
8889         (WebCore::GraphicsContext3D::getUniformLocation):
8890         (WebCore::GraphicsContext3D::getVertexAttribfv):
8891         (WebCore::GraphicsContext3D::getVertexAttribiv):
8892         (WebCore::GraphicsContext3D::getVertexAttribOffset):
8893         (WebCore::GraphicsContext3D::isBuffer):
8894         (WebCore::GraphicsContext3D::isEnabled):
8895         (WebCore::GraphicsContext3D::isFramebuffer):
8896         (WebCore::GraphicsContext3D::isProgram):
8897         (WebCore::GraphicsContext3D::isRenderbuffer):
8898         (WebCore::GraphicsContext3D::isShader):
8899         (WebCore::GraphicsContext3D::isTexture):
8900         (WebCore::GraphicsContext3D::pixelStorei):
8901         (WebCore::GraphicsContext3D::readPixels):
8902         (WebCore::GraphicsContext3D::releaseShaderCompiler):
8903         (WebCore::GraphicsContext3D::shaderSource):
8904         (WebCore::GraphicsContext3D::synthesizeGLError):
8905         (WebCore::GraphicsContext3D::texImage2D):
8906         (WebCore::GraphicsContext3D::texSubImage2D):
8907         (WebCore::GraphicsContext3D::uniform1fv):
8908         (WebCore::GraphicsContext3D::uniform1iv):
8909         (WebCore::GraphicsContext3D::uniform2fv):
8910         (WebCore::GraphicsContext3D::uniform2iv):
8911         (WebCore::GraphicsContext3D::uniform3fv):
8912         (WebCore::GraphicsContext3D::uniform3iv):
8913         (WebCore::GraphicsContext3D::uniform4fv):
8914         (WebCore::GraphicsContext3D::uniform4iv):
8915         (WebCore::GraphicsContext3D::uniformMatrix2fv):
8916         (WebCore::GraphicsContext3D::uniformMatrix3fv):
8917         (WebCore::GraphicsContext3D::uniformMatrix4fv):
8918         (WebCore::GraphicsContext3D::vertexAttrib1fv):
8919         (WebCore::GraphicsContext3D::vertexAttrib2fv):
8920         (WebCore::GraphicsContext3D::vertexAttrib3fv):
8921         (WebCore::GraphicsContext3D::vertexAttrib4fv):
8922         (WebCore::GraphicsContext3D::vertexAttribPointer):
8923         (WebCore::GraphicsContext3D::viewport):
8924         * src/WebGraphicsContext3D.cpp: Removed.
8925         * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
8926         * src/WebGraphicsContext3DDefaultImpl.h: Removed.
8927
8928 2010-03-19  Kenneth Russell  <kbr@google.com>
8929
8930         Reviewed by Darin Fisher.
8931
8932         Add GraphicsContext3D abstraction to WebKit API
8933         https://bugs.webkit.org/show_bug.cgi?id=36262
8934
8935         Added WebGraphicsContext3D to the WebKit API and refactored Chromium's
8936         GraphicsContext3D implementation to use it. All of the OpenGL calls have
8937         been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the
8938         WebGraphicsContext3D implementation. GraphicsContext3D is still
8939         responsible for the transfer of rendered output from the
8940         WebGraphicsContext3D to the HTMLCanvasElement.
8941
8942         The GraphicsContext3DInternal class, which is a data member of
8943         GraphicsContext3D for the Chromium port, remains. It is possible to
8944         eliminate this class and thereby one level of delegation, but this is
8945         being deferred.
8946
8947         The needed entry point for a Chrome implementation of
8948         WebGraphicsContext3D has been added to WebKitClient, but it is not being
8949         called yet by GraphicsContext3D. It will be once this patch lands and
8950         Chromium is rolled forward to support this entry point.
8951
8952         This is a large patch, but the transformation is almost entirely
8953         mechanical and there is no change in functionality. Nearly all of
8954         GraphicsContext3D and GraphicsContext3DInternal has been moved to
8955         WebGraphicsContext3DDefaultImpl. The only area where the splitting of
8956         logic is less than mechanical is GraphicsContext3D::beginPaint() and its
8957         callees.
8958
8959         Ran all WebGL layout tests and demos from Khronos site in Chromium.
8960
8961         * WebKit.gyp:
8962         * public/WebGraphicsContext3D.h: Added.
8963         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
8964         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
8965         * public/WebKitClient.h:
8966         (WebKit::WebKitClient::createGraphicsContext3D):
8967         * src/GraphicsContext3D.cpp:
8968         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
8969         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
8970         (WebCore::GraphicsContext3DInternal::initialize):
8971         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
8972         (WebCore::GraphicsContext3DInternal::platformTexture):
8973         (WebCore::GraphicsContext3DInternal::beginPaint):
8974         (WebCore::GraphicsContext3DInternal::endPaint):
8975         (WebCore::GraphicsContext3DInternal::reshape):
8976         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
8977         (WebCore::GraphicsContext3DInternal::bindTexture):
8978         (WebCore::GraphicsContext3DInternal::bufferData):
8979         (WebCore::GraphicsContext3DInternal::bufferSubData):
8980         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
8981         (WebCore::GraphicsContext3DInternal::getActiveUniform):
8982         (WebCore::GraphicsContext3DInternal::getAttribLocation):
8983         (WebCore::GraphicsContext3DInternal::getContextAttributes):
8984         (WebCore::GraphicsContext3DInternal::getProgramInfoLog):
8985         (WebCore::GraphicsContext3DInternal::getShaderInfoLog):
8986         (WebCore::GraphicsContext3DInternal::getShaderSource):
8987         (WebCore::GraphicsContext3DInternal::getString):
8988         (WebCore::GraphicsContext3DInternal::getUniformLocation):
8989         (WebCore::GraphicsContext3DInternal::readPixels):
8990         (WebCore::GraphicsContext3DInternal::shaderSource):
8991         (WebCore::GraphicsContext3DInternal::texImage2D):
8992         (WebCore::GraphicsContext3DInternal::texSubImage2D):
8993         (WebCore::GraphicsContext3DInternal::uniform1fv):
8994         (WebCore::GraphicsContext3DInternal::uniform1iv):
8995         (WebCore::GraphicsContext3DInternal::uniform2fv):
8996         (WebCore::GraphicsContext3DInternal::uniform2iv):
8997         (WebCore::GraphicsContext3DInternal::uniform3fv):
8998         (WebCore::GraphicsContext3DInternal::uniform3iv):
8999         (WebCore::GraphicsContext3DInternal::uniform4fv):
9000         (WebCore::GraphicsContext3DInternal::uniform4iv):
9001         (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
9002         (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
9003         (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
9004         (WebCore::GraphicsContext3D::GraphicsContext3D):
9005         (WebCore::GraphicsContext3D::~GraphicsContext3D):
9006         (WebCore::GraphicsContext3D::create):
9007         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
9008         (WebCore::GraphicsContext3D::platformTexture):
9009         (WebCore::GraphicsContext3D::texImage2D):
9010         (WebCore::GraphicsContext3D::texSubImage2D):
9011         * src/WebGraphicsContext3D.cpp: Added.
9012         (WebKit::WebGraphicsContext3D::createDefault):
9013         * src/WebGraphicsContext3DDefaultImpl.cpp: Added.
9014         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create):
9015         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection):
9016         (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState):
9017         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
9018         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
9019         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
9020         (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
9021         (WebKit::WebGraphicsContext3DDefaultImpl::width):
9022         (WebKit::WebGraphicsContext3DDefaultImpl::height):
9023         (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes):
9024         (WebKit::createTextureObject):
9025         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
9026         (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically):
9027         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
9028         (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture):
9029         (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer):
9030         (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer):
9031         (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray):
9032         (WebKit::WebGraphicsContext3DDefaultImpl::drawElements):
9033         (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray):
9034         (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
9035         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
9036         (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
9037         (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes):
9038         (WebKit::WebGraphicsContext3DDefaultImpl::getError):
9039         (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog):
9040         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
9041         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
9042         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
9043         (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset):
9044         (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler):
9045         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
9046         (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer):
9047         (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
9048         (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer):
9049         (WebKit::WebGraphicsContext3DDefaultImpl::createProgram):
9050         (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer):
9051         (WebKit::WebGraphicsContext3DDefaultImpl::createTexture):
9052         (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
9053         (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer):
9054         (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram):
9055         (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer):
9056         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
9057         (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture):
9058         (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError):
9059         * src/WebGraphicsContext3DDefaultImpl.h: Added.
9060         (WebKit::WebGraphicsContext3DDefaultImpl::):
9061         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig):
9062         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext):
9063         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer):
9064         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer):
9065         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent):
9066         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext):
9067         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext):
9068         (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection):
9069
9070 2010-03-19  Dimitri Glazkov  <dglazkov@chromium.org>
9071
9072         Unreviewed, build fix.
9073
9074         Rename enqueueStorageEvent to enqueueEvent to match changes in
9075         http://trac.webkit.org/changeset/56249.
9076
9077         * src/StorageAreaProxy.cpp:
9078         (WebCore::StorageAreaProxy::storageEvent): Renamed.
9079
9080 2010-03-19  Darin Fisher  <darin@chromium.org>
9081
9082         Reviewed by Dimitri Glazkov.
9083
9084         [chromium] querying the current history item during a back/forward
9085         navigation should not clobber the scroll offset, etc.
9086         https://bugs.webkit.org/show_bug.cgi?id=36347
9087
9088         We should only allow the current history item to be modified if we are
9089         no longer loading or if the load is a new navigation (i.e., not a
9090         back/forward/reload variant).
9091
9092         * src/WebFrameImpl.cpp:
9093         (WebKit::WebFrameImpl::currentHistoryItem):
9094
9095 2010-03-18  Vangelis Kokkevis  <vangelis@chromium.org>
9096
9097         Reviewed by Adam Barth.
9098
9099         Adding support for the ACCELERATED_COMPOSITING render path to Chromium.
9100         https://bugs.webkit.org/show_bug.cgi?id=35557
9101         Currently compositing of layers is performed via s/w compositor which relies on Skia. This is an initial check-in
9102         and it's only been tested on Windows. Compiling the code requires seting "use_accelerated_compositing=1"
9103         to GYP_DEFINES. The update of layer contents and compositing is fairly inefficient but this will be fixed in
9104         subsequent check-ins.
9105
9106         * src/ChromeClientImpl.cpp:
9107         (WebKit::ChromeClientImpl::attachRootGraphicsLayer):
9108         (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
9109         * src/ChromeClientImpl.h:
9110         (WebKit::ChromeClientImpl::setNeedsOneShotDrawingSynchronization):
9111          Added methods required by the RenderLayerCompositor
9112
9113         * src/WebFrameImpl.cpp:
9114         (WebKit::WebFrameImpl::paintWithContext):
9115         (WebKit::WebFrameImpl::paint):
9116         * src/WebFrameImpl.h:
9117         Split WebFrameImpl::paint() into two methods to make it possible to call the paint
9118         routine with an existing GraphicsContext, which is necessary for painting the root layer into
9119         its own backing surface.
9120
9121         * src/WebViewImpl.cpp:
9122         (WebKit::WebViewImpl::WebViewImpl):
9123         (WebKit::WebViewImpl::paint):
9124         Modified method to handle the accelerated compositing path. Now, when doing accelerated compositing,
9125         paint() results in repainting the contents of the root layer and then doing a composite operation.
9126         (WebKit::WebViewImpl::setRootGraphicsLayer):
9127         (WebKit::WebViewImpl::setAcceleratedCompositing):
9128         (WebKit::WebViewImpl::updateRootLayerContents):
9129         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
9130         * src/WebViewImpl.h:
9131         (WebKit::WebViewImpl::isAcceleratedCompositing):
9132
9133 2010-03-18  Jian Li  <jianli@chromium.org>
9134
9135         Reviewed by Darin Fisher.
9136
9137         Chromium interface change to support Blob.slice.
9138         https://bugs.webkit.org/show_bug.cgi?id=35318
9139
9140         * features.gypi:
9141         * public/WebHTTPBody.h:
9142         * public/WebKitClient.h:
9143         (WebKit::WebKitClient::getFileModificationTime):
9144         * src/ChromiumBridge.cpp:
9145         (WebCore::ChromiumBridge::getFileModificationTime):
9146         * src/WebHTTPBody.cpp:
9147         (WebKit::WebHTTPBody::elementAt):
9148         (WebKit::WebHTTPBody::appendFile):
9149         (WebKit::WebHTTPBody::appendFileRange):
9150
9151 2010-03-12  Ojan Vafai  <ojan@chromium.org>
9152
9153         Reviewed by David Levin.
9154
9155         smartdelete should only occur after double-click
9156         https://bugs.webkit.org/show_bug.cgi?id=35314
9157
9158         * src/WebFrameImpl.cpp:
9159         (WebKit::WebFrameImpl::selectWordAroundPosition):
9160
9161 2010-03-18  Nate Chapin  <japhet@chromium.org>
9162
9163         Unreviewed, build fix.
9164
9165         Left a parentheses unclosed somehow.
9166
9167         * src/WebDevToolsFrontendImpl.cpp:
9168         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
9169
9170 2010-03-18  Nate Chapin  <japhet@chromium.org>
9171
9172         Reviewed by Dimitri Glazkov.
9173         
9174         Remove all references to V8Index.h and V8ClassIndex.
9175         
9176         https://bugs.webkit.org/show_bug.cgi?id=33477
9177
9178         * src/WebBindings.cpp:
9179         (WebKit::getRangeImpl):
9180         * src/WebDevToolsAgentImpl.cpp:
9181         * src/WebDevToolsFrontendImpl.cpp:
9182         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
9183
9184 2010-03-17  Garret Kelly  <gdk@chromium.org>
9185
9186         Reviewed by Darin Fisher.
9187
9188         PlatformTouchEventBuilder should not be resizing the touch point
9189         array before appending touch points to it.
9190         https://bugs.webkit.org/show_bug.cgi?id=36231
9191
9192         * src/WebInputEventConversion.cpp:
9193         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
9194
9195 2010-03-17  Dmitry Titov  <dimich@chromium.org>
9196
9197         Reviewed by Dimitri Glazkov.
9198
9199         [chromium] Roll Chromium builder's DEPS to current revs.
9200         https://bugs.webkit.org/show_bug.cgi?id=36241
9201
9202         * DEPS:
9203
9204 2010-03-17  Kenneth Russell  <kbr@google.com>
9205
9206         Reviewed by Darin Fisher.
9207
9208         Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
9209         https://bugs.webkit.org/show_bug.cgi?id=36233
9210
9211         The patch for bug 33416, which added multisampling support to the
9212         WebGL back buffer, uncovered some OpenGL driver bugs on the build
9213         bots which need further investigation to determine the appropriate
9214         workaround. Reverting this change, the minor build fix in 36189,
9215         and the skipping of the affected tests in bug 36200.
9216
9217         Built and tested WebKit and Chromium and ran all WebGL layout
9218         tests in both.
9219
9220         * src/GraphicsContext3D.cpp:
9221         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
9222         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
9223         (WebCore::GraphicsContext3DInternal::reshape):
9224         (WebCore::GraphicsContext3DInternal::beginPaint):
9225         (WebCore::GraphicsContext3DInternal::bindFramebuffer):
9226         (WebCore::GraphicsContext3D::readPixels):
9227
9228 2010-03-16  James Hawkins  <jhawkins@chromium.org>
9229
9230         Reviewed by David Levin.
9231
9232         [Chromium] Size the WebVector of forms after determining how many
9233         forms are valid and will be returned.
9234
9235         https://bugs.webkit.org/show_bug.cgi?id=36204
9236
9237         No new tests, as this is only triggered by Chromium's use of the
9238         WebFormElement API.
9239
9240         * src/WebFrameImpl.cpp:
9241         (WebKit::WebFrameImpl::forms):
9242
9243 2010-03-16  Kenneth Russell  <kbr@google.com>
9244
9245         Reviewed by Darin Fisher.
9246
9247         Build breakage from 33416
9248         https://bugs.webkit.org/show_bug.cgi?id=36189
9249
9250         No new tests. Built release Chromium.
9251
9252         * src/GraphicsContext3D.cpp:
9253         (WebCore::GraphicsContext3DInternal::reshape):
9254
9255 2010-03-16  Zhenyao Mo  <zmo@google.com>
9256
9257         Reviewed by Darin Fisher.
9258
9259         Hook up WebGLContextAttributes to OpenGL context creation code
9260         https://bugs.webkit.org/show_bug.cgi?id=33416
9261
9262         Test: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html
9263
9264         * src/GraphicsContext3D.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Windows.
9265
9266 2010-03-16  Yury Semikhatsky  <yurys@chromium.org>
9267
9268         Unreviewed.
9269
9270         Fix Chromium Mac build: remove unused code.
9271
9272         * src/WebDevToolsAgentImpl.cpp:
9273         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
9274
9275 2010-03-16  Yury Semikhatsky <yurys@chromium.org>
9276
9277         Reviewed by Pavel Feldman.
9278
9279         Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
9280
9281         Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
9282         https://bugs.webkit.org/show_bug.cgi?id=35036
9283
9284         * src/InspectorClientImpl.cpp:
9285         (WebKit::InspectorClientImpl::openInspectorFrontend):
9286         * src/InspectorClientImpl.h:
9287         * src/WebDevToolsAgentImpl.cpp:
9288         (WebKit::WebDevToolsAgentImpl::attach):
9289         (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
9290         (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy):
9291         (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController):
9292         * src/WebDevToolsAgentImpl.h:
9293         * src/WebDevToolsFrontendImpl.cpp:
9294         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
9295         (WebKit::WebDevToolsFrontendImpl::jsBringToFront):
9296         (WebKit::WebDevToolsFrontendImpl::jsInspectedURLChanged):
9297         * src/WebDevToolsFrontendImpl.h:
9298         * src/js/InjectDispatch.js:
9299         (close):
9300
9301 2010-03-16  Pavel Feldman  <pfeldman@chromium.org>
9302
9303         Not reviewed: chromium tests fix.
9304
9305         * src/js/InspectorControllerImpl.js:
9306         (devtools.InspectorBackendImpl):
9307
9308 2010-03-16  Pavel Feldman  <pfeldman@chromium.org>
9309
9310         Reviewed by Timothy Hatcher.
9311
9312         Web Inspector: migrate to native styles inspector in order to inspect styles from foreighn domains.
9313
9314         https://bugs.webkit.org/show_bug.cgi?id=36117
9315
9316         * src/js/InspectorControllerImpl.js:
9317         (devtools.InspectorBackendImpl):
9318
9319 2010-03-15  John Gregg  <johnnyg@google.com>
9320
9321         Reviewed by David Levin.
9322
9323         Notification object should expose absolute URL of icon
9324         https://bugs.webkit.org/show_bug.cgi?id=35800
9325
9326         * public/WebNotification.h:
9327         * src/WebNotification.cpp:
9328         (WebKit::WebNotification::iconURL):
9329
9330 2010-03-15  Darin Fisher  <darin@chromium.org>
9331
9332         Reviewed by Adam Barth.
9333
9334         https://bugs.webkit.org/show_bug.cgi?id=36152
9335         [chromium] Add support for history.pushState and history.replaceState
9336
9337         * public/WebFrameClient.h:
9338         (WebKit::WebFrameClient::didNavigateWithinPage): Move implementation of
9339         didChangeLocationWithinPage to here.  Only add to the redirect chain if
9340         we are performing a simple hash change (i.e., no state object on the
9341         history item).  Call the old didChangeLocationWithinPage for backwards
9342         compat with Chromium.  This will be removed in a subsequent patch.
9343
9344         (WebKit::WebFrameClient::didChangeLocationWithinPage):
9345         * src/FrameLoaderClientImpl.cpp:
9346         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
9347         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
9348         Call the new version of didChangeLocationWithinPage without the
9349         parameter to indicate whether this is a new navigation or not.  We only
9350         need this method on WebFrameClient to support TestShell / DRT.
9351
9352         (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
9353         Call dispatchDidNavigateWithinPage since pushState is just a type of
9354         in-page navigation.  This is an in-page navigation that adds another
9355         entry to session history.
9356
9357         (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
9358         Call dispatchDidNavigateWithinPage since replaceState is just a type of
9359         in-page navigation.   This is an in-page navigation that replaces the
9360         current session history entry.
9361
9362         (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): Do
9363         nothing since dispatchDidNavigateWithinPage is called in this case by
9364         the FrameLoader.
9365
9366         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
9367         (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): Move the code
9368         for handling the dummy chrome-back-forward://go/ URLs from
9369         dispatchDecidePolicyForNavigationAction to shouldGoToHistoryItem, which
9370         prevents the URLs from leaking into session history.
9371         shouldGoToHistoryItem is called before any work is done by history
9372         traversal, so this is a better place for this hack.  Ultimately, this
9373         code should be eliminatd in favor of better integration with
9374         FrameLoader or HistoryController.
9375
9376         * src/FrameLoaderClientImpl.h:
9377
9378 2010-03-15  Darin Fisher  <darin@chromium.org>
9379
9380         Fix build bustage.  We also need to pull down "third_party/tcmalloc"
9381
9382         * DEPS:
9383
9384 2010-03-15  Darin Fisher  <darin@chromium.org>
9385
9386         Fix build bustage.  We also need to pull down "gfx"
9387
9388         * DEPS:
9389
9390 2010-03-15  Darin Fisher  <darin@chromium.org>
9391
9392         Reviewed by David Levin.
9393
9394         https://bugs.webkit.org/show_bug.cgi?id=36131
9395         Update include paths for chromium Rect, Point, and Size types.
9396
9397         Update DEPS to pull latest chromium code that reflects the
9398         new location of these headers.
9399
9400         * DEPS:
9401         * public/WebPoint.h:
9402         * public/WebRect.h:
9403         * public/WebSize.h:
9404
9405 2010-03-15  Marcus Bulach  <bulach@chromium.org>
9406
9407         Reviewed by Jeremy Orlow.
9408
9409         Send the frame URL on GeolocationServiceBridgeImpl::startUpdating.
9410         https://bugs.webkit.org/show_bug.cgi?id=36012
9411
9412         * public/GeolocationServiceBridgeChromium.h:
9413         * src/GeolocationServiceBridgeChromium.cpp:
9414         (WebKit::GeolocationServiceBridgeImpl::startUpdating):
9415
9416 2010-03-15  Patrik Persson  <patrik.j.persson@ericsson.com>
9417
9418         Reviewed by Darin Adler.
9419
9420         https://bugs.webkit.org/show_bug.cgi?id=32369
9421
9422         Revise iframe sandbox behavior to match the updated HTML5 spec.
9423
9424         - Enables window.sessionStorage in sandboxed iframes.
9425
9426         - Raises SECURITY_ERR exceptions when window.localStorage or
9427           window.openDatabase() is blocked by iframe sandboxing.
9428
9429           Note: window.sessionStorage does not raise exceptions.
9430
9431         WebKit would previously return null references in these cases.  The
9432         new behavior is in accordance with HTML5:
9433
9434           http://dev.w3.org/html5/webstorage/   (sections 4.2 and 4.3)
9435           http://dev.w3.org/html5/webdatabase/  (section 4.1)
9436           http://www.mail-archive.com/whatwg@lists.whatwg.org/msg19786.html
9437
9438         * src/StorageAreaProxy.cpp:
9439         (WebCore::StorageAreaProxy::storageEvent): exception handling
9440         * src/StorageEventDispatcherImpl.cpp:
9441         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): exception handling
9442
9443 2010-03-15  Tony Chang  <tony@chromium.org>
9444
9445         Reviewed by Darin Adler.
9446
9447         option-pageup/down should move cursor on chromium mac
9448         https://bugs.webkit.org/show_bug.cgi?id=36108
9449
9450         * src/EditorClientImpl.cpp:
9451         (WebKit::):
9452
9453 2010-03-13  Eric Roman  <eroman@chromium.org>
9454
9455         Reviewed by Adam Barth.
9456
9457         Add a firstPartyForCookies() property to WebDocument.
9458         https://bugs.webkit.org/show_bug.cgi?id=35592
9459
9460         * public/WebDocument.h:
9461         * src/WebDocument.cpp:
9462         (WebKit::WebDocument::firstPartyForCookies):
9463
9464 2010-03-12  Garret Kelly  <gdk@chromium.org>
9465
9466         Unreiviewed.
9467
9468         Fix Chromium Mac build. Last patch did not apply properly.
9469         (Garret assures me this patch will actually work.)
9470
9471         * src/WebInputEventConversion.cpp:
9472         (WebKit::toPlatformTouchEventType):
9473         (WebKit::toPlatformTouchPointState):
9474
9475 2010-03-12  Garret Kelly  <gdk@chromium.org>
9476
9477         Unreviewed.
9478
9479         Fix Chromium Mac build. This time, with actual fixing goodness.
9480
9481         * src/WebInputEventConversion.cpp:
9482         (WebKit::toPlatformTouchEventType):
9483         (WebKit::toPlatformTouchPointState):
9484
9485 2010-03-12  Garret Kelly  <gdk@chromium.org>
9486
9487         Unreviewed.
9488
9489         Fix Chromium Mac build.
9490
9491         * src/WebInputEventConversion.cpp:
9492         (WebKit::toPlatformTouchEventType):
9493         (WebKit::toPlatformTouchPointState):
9494
9495 2010-03-12  Garret Kelly  <gdk@chromium.org>
9496
9497         Reviewed by Eric Seidel.
9498
9499         Enable touch events in Chromium features gypi file.
9500         https://bugs.webkit.org/show_bug.cgi?id=35994
9501
9502         * features.gypi:
9503
9504 2010-03-12  Darin Fisher  <darin@chromium.org>
9505
9506         Fix Chromium build bustage.
9507
9508         Wrap usage of WebPrivatePtr from WebNode.h in a #if
9509         WEBKIT_IMPLEMENTATION guard.
9510
9511         * public/WebNode.h:
9512
9513 2010-03-12  Nicolas Weber  <thakis@chromium.org>
9514
9515         Reviewed by David Levin.
9516
9517         [Chromium] Cmd-clicking submit buttons should submit in new tab 
9518         https://bugs.webkit.org/show_bug.cgi?id=36023
9519
9520         Take modifiers into account when clicking form buttons. E.g.
9521         cmd-clicking a submit button will submit in a new background tab,
9522         cmd-shift-clicking in a new foreground tab, shift-clicking in a new
9523         window. (On windows/linux, it's ctrl instead of cmd.)
9524
9525         * src/FrameLoaderClientImpl.cpp:
9526         (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
9527
9528 2010-03-12  Kavita Kanetkar  <kkanetkar@chromium.org>
9529
9530         Reviewed by Darin Fisher.
9531
9532         [chromium] Fix memory leak in WebImageDecoder API
9533         https://bugs.webkit.org/show_bug.cgi?id=35946
9534
9535         * src/WebImageDecoder.cpp:
9536         (WebKit::WebImageDecoder::setData):
9537         (WebKit::WebImageDecoder::getFrameAtIndex):
9538
9539 2010-03-11  Aaron Boodman  <aa@chromium.org>
9540
9541         Kill WebDocument::applicationID() (part 1).
9542
9543         Modify interface to WebCore::NotificationPresenter::checkPermission()
9544         and remove implementation of WebDocument::applicationID(). Breaking
9545         API changes will be in a subsequent change.
9546         https://bugs.webkit.org/show_bug.cgi?id=35846
9547
9548         * public/WebNotificationPresenter.h:
9549         * src/NotificationPresenterImpl.cpp:
9550         (WebKit::NotificationPresenterImpl::checkPermission):
9551         * src/NotificationPresenterImpl.h:
9552         * src/WebDocument.cpp:
9553         (WebKit::WebDocument::applicationID):
9554
9555 2010-03-11  Stuart Morgan  <stuartmorgan@chromium.org>
9556
9557         Reviewed by Darin Fisher.
9558
9559         Fix the screen coordinate conversion of Chromium Mac mouse events for
9560         multiple-moniter setups. Also changes the global coordinate values
9561         to be computed from the event, rather than the instantaneous mouse
9562         location, and reduces code duplication for location conversion.
9563
9564         Dual-sided patch with http://codereview.chromium.org/751002
9565
9566         https://bugs.webkit.org/show_bug.cgi?id=35950
9567
9568         * src/mac/WebInputEventFactory.mm:
9569         (WebKit::setWebEventLocationFromEventInView):
9570         (WebKit::WebInputEventFactory::mouseEvent):
9571         (WebKit::WebInputEventFactory::mouseWheelEvent):
9572
9573 2010-03-11  Anders Carlsson  <andersca@apple.com>
9574
9575         Reviewed by David Hyatt.
9576
9577         Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
9578
9579         * src/ChromeClientImpl.cpp:
9580         * src/ChromeClientImpl.h:
9581
9582 2010-03-10  Darin Fisher  <darin@chromium.org>
9583
9584         Reviewed by Jeremy Orlow.
9585
9586         Use WebPrivatePtr for WebNode
9587         https://bugs.webkit.org/show_bug.cgi?id=36005
9588
9589         * public/WebElement.h:
9590         * public/WebFormElement.h:
9591         * public/WebInputElement.h:
9592         * public/WebLabelElement.h:
9593         * public/WebNode.h:
9594         (WebKit::WebNode::WebNode):
9595         (WebKit::WebNode::isNull):
9596         (WebKit::WebNode::unwrap):
9597         (WebKit::WebNode::constUnwrap):
9598         * public/WebPrivatePtr.h:
9599         (WebKit::WebPrivatePtr::assign):
9600         * src/WebDocument.cpp:
9601         (WebKit::WebDocument::WebDocument):
9602         (WebKit::WebDocument::operator=):
9603         (WebKit::WebDocument::operator PassRefPtr<Document>):
9604         * src/WebElement.cpp:
9605         (WebKit::WebElement::hasTagName):
9606         (WebKit::WebElement::WebElement):
9607         (WebKit::WebElement::operator=):
9608         (WebKit::WebElement::operator PassRefPtr<Element>):
9609         * src/WebFormElement.cpp:
9610         (WebKit::WebFormElement::WebFormElement):
9611         (WebKit::WebFormElement::operator=):
9612         (WebKit::WebFormElement::operator PassRefPtr<HTMLFormElement>):
9613         * src/WebInputElement.cpp:
9614         (WebKit::WebInputElement::WebInputElement):
9615         (WebKit::WebInputElement::operator=):
9616         (WebKit::WebInputElement::operator PassRefPtr<HTMLInputElement>):
9617         * src/WebLabelElement.cpp:
9618         (WebKit::WebLabelElement::correspondingControl):
9619         (WebKit::WebLabelElement::operator=):
9620         (WebKit::WebLabelElement::operator PassRefPtr<HTMLLabelElement>):
9621         * src/WebNode.cpp:
9622         (WebKit::WebNode::reset):
9623         (WebKit::WebNode::assign):
9624         (WebKit::WebNode::equals):
9625         (WebKit::WebNode::parentNode):
9626         (WebKit::WebNode::createMarkup):
9627         (WebKit::WebNode::addEventListener):
9628         (WebKit::WebNode::removeEventListener):
9629         (WebKit::WebNode::simulateClick):
9630         (WebKit::WebNode::WebNode):
9631         (WebKit::WebNode::operator=):
9632         (WebKit::WebNode::operator PassRefPtr<Node>):
9633
9634 2010-03-10  Darin Fisher  <darin@chromium.org>
9635
9636         Reviewed by Jeremy Orlow.
9637
9638         Add API wrapper for WebCore::SerializedScriptValue
9639         https://bugs.webkit.org/show_bug.cgi?id=35988
9640
9641         WebSerializedScriptValue is a wrapper around SerializedScriptValue.
9642
9643         WebPrivatePtr is used to simplify wrapping reference counted WebCore
9644         types.  This class is used to cleanup WebHistoryItem, and will be used
9645         to clean up other classes in the WebKit API in a follow-up patch.
9646
9647         * WebKit.gyp:
9648         * public/WebHistoryItem.h:
9649         * public/WebPrivatePtr.h: Added.
9650         * public/WebSerializedScriptValue.h: Added.
9651         * src/WebHistoryItem.cpp:
9652         * src/WebSerializedScriptValue.cpp: Added.
9653
9654 2010-03-10  Sanjeev Radhakrishnan  <sanjeevr@chromium.org>
9655
9656         Reviewed by Darin Fisher.
9657
9658         Allow a plugin to participate in the browser's print workflow.
9659         https://bugs.webkit.org/show_bug.cgi?id=35550
9660
9661         * public/WebFrame.h:
9662         * public/WebPlugin.h:
9663         * src/WebFrameImpl.cpp:
9664         * src/WebFrameImpl.h:
9665         * src/WebPluginContainerImpl.cpp:
9666         * src/WebPluginContainerImpl.h:
9667
9668 2010-03-10  John Abd-El-Malek  <jam@chromium.org>
9669
9670         Reviewed by Nate Chapin.
9671
9672         [chromium]: Fix regression in mouse capture on Mac/Linux
9673         https://bugs.webkit.org/show_bug.cgi?id=35987
9674
9675         * src/WebViewImpl.cpp:
9676
9677 2010-03-10  Evan Stade  <estade@chromium.org>
9678
9679         Reviewed by David Levin.
9680
9681         [chromium] add functionality to activate the focused node in a WebView
9682         https://bugs.webkit.org/show_bug.cgi?id=35407
9683
9684         * public/WebDocument.h:
9685         * public/WebNode.h:
9686         * src/WebDocument.cpp:
9687         (WebKit::WebDocument::focusedNode): Added
9688         * src/WebNode.cpp:
9689         (WebKit::WebNode::simulateClick): Added
9690
9691 2010-03-10  John Abd-El-Malek  <jam@chromium.org>
9692
9693         Reviewed by Darin Fisher.
9694
9695         https://bugs.webkit.org/show_bug.cgi?id=35952
9696         Propagate mouse wheel events to Pepper plugins.
9697
9698         * src/WebInputEventConversion.cpp:
9699         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
9700         * src/WebInputEventConversion.h:
9701         * src/WebPluginContainerImpl.cpp:
9702         (WebKit::WebPluginContainerImpl::handleEvent):
9703         (WebKit::WebPluginContainerImpl::handleMouseEvent):
9704         (WebKit::WebPluginContainerImpl::handleWheelEvent):
9705         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
9706         * src/WebPluginContainerImpl.h:
9707
9708 2010-03-10  Garret Kelly  <gdk@chromium.org>
9709
9710         Reviewed by Darin Fisher.
9711
9712         Add support for converting WebTouchEvents to PlatformTouchEvents and
9713         routing them into the EventHandler for the frame in which they
9714         originate.
9715         https://bugs.webkit.org/show_bug.cgi?id=35874
9716
9717         * src/ChromeClientImpl.h:
9718         (WebKit::ChromeClientImpl::needTouchEvents):
9719         * src/WebViewImpl.cpp:
9720         (WebKit::WebViewImpl::touchEvent): Handle incoming WebTouchEvents,
9721         converting them to PlatformTouchEvents and sending them to the
9722         EventHandler.
9723         (WebKit::WebViewImpl::handleInputEvent): Now routes WebTouchEvents to
9724         the touchEvent handler.
9725         * src/WebViewImpl.h:
9726
9727 2010-03-10  Nate Chapin  <japhet@chromium.org>
9728
9729         Reviewed by Dimitri Glazkov.
9730
9731         Wrap and unwrap v8 objects with WrapperTypeInfo instead of V8ClassIndex::V8WrapperType.
9732
9733         https://bugs.webkit.org/show_bug.cgi?id=35941
9734
9735         * src/WebBindings.cpp:
9736         (WebKit::getRangeImpl):
9737         * src/WebDevToolsAgentImpl.cpp:
9738         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
9739         * src/WebDevToolsFrontendImpl.cpp:
9740         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
9741
9742 2010-03-10  Garret Kelly  <gdk@chromium.org>
9743
9744         Reviewed by Darin Fisher.
9745
9746         Fixing build warning caused by using 0 instead of NULL as the sentiel
9747         in a varargs call.
9748         https://bugs.webkit.org/show_bug.cgi?id=35898
9749
9750         * src/gtk/WebInputEventFactory.cpp:
9751
9752 2010-03-10  Jeremy Orlow  <jorlow@chromium.org>
9753
9754         Reviewed by Darin Fisher.
9755
9756         Add IndexedDatabase class and hook it up.
9757         https://bugs.webkit.org/show_bug.cgi?id=35927
9758
9759         This change is mostly just adding the plumbing necessary for
9760         the IndexedDatabaseRequest and IndexedDatabaseSync (not written
9761         yet).
9762
9763         * WebKit.gyp:
9764         * public/WebIndexedDatabase.h: Added.
9765         (WebKit::WebIndexedDatabase::~WebIndexedDatabase):
9766         * public/WebKitClient.h:
9767         (WebKit::WebKitClient::getIndexedDatabase):
9768         * src/ChromiumBridge.cpp:
9769         (WebCore::ChromiumBridge::getIndexedDatabase):
9770         * src/IndexedDatabaseProxy.cpp: Added.
9771         (WebCore::IndexedDatabaseProxy::create):
9772         (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
9773         (WebCore::IndexedDatabaseProxy::~IndexedDatabaseProxy):
9774         (WebCore::IndexedDatabaseProxy::open):
9775         * src/IndexedDatabaseProxy.h: Added.
9776
9777 2010-03-10  Andrey Kosyakov  <caseq@chromium.org>
9778
9779         Reviewed by Pavel Feldman.
9780
9781         Web Inspector: display list of active workers & support debugging
9782         with fake workers
9783         https://bugs.webkit.org/show_bug.cgi?id=35568
9784
9785         * src/js/InspectorControllerImpl.js:
9786         (devtools.InspectorBackendImpl):
9787
9788 2010-03-10  Tony Chang  <tony@chromium.org>
9789
9790         Reviewed by Darin Fisher.
9791
9792         https://bugs.webkit.org/show_bug.cgi?id=35956
9793         Create a grd file upstream for resources that chromium uses
9794         that are pulled directly from the upstream repository.
9795
9796         * WebKit.grd: Added.
9797
9798 2010-03-10  Roland Steiner  <rolandsteiner@chromium.org>
9799
9800         Reviewed by David Levin.
9801
9802         Bug 28293 -  [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL")
9803         https://bugs.webkit.org/show_bug.cgi?id=28293
9804         
9805         Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
9806         correctly for event.dataTransfer.getData/setData. Currently both are treated
9807         as synonyms, but for "URL", getData is supposed to only return the first valid URL
9808         contained within the data for "text/uri-list" (see HTML5 spec).
9809
9810         Tests: editing/pasteboard/dataTransfer-setData-getData.html
9811
9812         * src/WebDragData.cpp:
9813         (WebKit::WebDragData::url):
9814         (WebKit::WebDragData::setURL):
9815
9816 2010-03-08  John Abd-El-Malek  <jam@chromium.org>
9817
9818         Reviewed by Darin Fisher.
9819
9820         Need to send mouse events to plugin when it has mouse capture
9821         https://bugs.webkit.org/show_bug.cgi?id=35900
9822
9823         * public/WebInputEvent.h:
9824         (WebKit::WebInputEvent::isMouseEventType):
9825         * src/WebViewImpl.cpp:
9826         (WebKit::WebViewImpl::WebViewImpl):
9827         (WebKit::WebViewImpl::mouseDown):
9828         (WebKit::WebViewImpl::mouseUp):
9829         (WebKit::WebViewImpl::handleInputEvent):
9830         * src/WebViewImpl.h:
9831
9832 2010-03-09  Anton Muhin  <antonm@chromium.org>
9833
9834         Reviewed by Darin Fisher.
9835
9836         Accept and bailout NULL widgets in ChromiumBridge
9837         https://bugs.webkit.org/show_bug.cgi?id=35796
9838
9839         * src/ChromiumBridge.cpp:
9840         (WebCore::toChromeClientImpl):
9841
9842 2010-03-09  Yury Semikhatsky  <yurys@chromium.org>
9843
9844         Reviewed by Pavel Feldman.
9845
9846         Use clean global object for devtools utility context instead of
9847         trying to simulate inspected context. 
9848     
9849         https://bugs.webkit.org/show_bug.cgi?id=35923
9850
9851         * src/DebuggerAgentImpl.cpp:
9852         * src/DebuggerAgentImpl.h:
9853         * src/WebDevToolsAgentImpl.cpp:
9854         (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
9855
9856 2010-03-08  Alexey Proskuryakov  <ap@apple.com>
9857
9858         Chromium build fix.
9859
9860         Updated for the removal of "mightDownloadFromHandle".
9861
9862         * src/ResourceHandle.cpp:
9863         (WebCore::ResourceHandle::ResourceHandle):
9864         (WebCore::ResourceHandle::create):
9865
9866 2010-03-08  Dimitri Glazkov  <dglazkov@chromium.org>
9867
9868         Reviewed by Darin Fisher.
9869
9870         [Chromium] Reset multiple form submission protection on mouse events.
9871         https://bugs.webkit.org/show_bug.cgi?id=35128
9872
9873         * src/WebViewImpl.cpp:
9874         (WebKit::WebViewImpl::mouseDown):
9875
9876 2010-03-08  Michael Nordman  <michaeln@google.com>
9877
9878         Reviewed by Darin Fisher.
9879
9880         Quick fix for a chromium unit test failures around r55675 (repaint refactoring).
9881         This change restores the tests for empty rects that were deleted.
9882
9883         https://bugs.webkit.org/show_bug.cgi?id=35878
9884
9885         * src/ChromeClientImpl.cpp:
9886         (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
9887         * src/WebPopupMenuImpl.cpp:
9888         (WebKit::WebPopupMenuImpl::invalidateContentsAndWindow):
9889
9890 2010-03-02  Adam Treat  <atreat@rim.com>
9891
9892         Reviewed by Dave Hyatt.
9893
9894         Adapt the chromium port to the refactoring of repaint methods.
9895
9896         https://bugs.webkit.org/show_bug.cgi?id=34214
9897
9898         * src/ChromeClientImpl.cpp:
9899         (WebKit::ChromeClientImpl::invalidateContents):
9900         (WebKit::ChromeClientImpl::invalidateWindow):
9901         (WebKit::ChromeClientImpl::invalidateContentsAndWindow):
9902         (WebKit::ChromeClient::invalidateContentsForSlowScroll):
9903         * src/ChromeClientImpl.h:
9904
9905 2010-03-08  Jian Li  <jianli@chromium.org>
9906
9907         Reviewed by Dmitry Titov.
9908
9909         Blob.slice support.
9910         https://bugs.webkit.org/show_bug.cgi?id=32993
9911
9912         Add ENABLE_BLOB_SLICE feature define.
9913
9914         * features.gypi:
9915
9916 2010-03-08  Eric Uhrhane  <ericu@chromium.org>
9917
9918         Reviewed by David Levin.
9919
9920         Remove the now-redundant Settings fields for the Database
9921         https://bugs.webkit.org/show_bug.cgi?id=35763
9922
9923         No new tests; this code isn't called.
9924
9925         * public/WebSettings.h:
9926         * src/WebSettingsImpl.cpp:
9927         * src/WebSettingsImpl.h:
9928
9929 2010-03-08  Jeremy Orlow  <jorlow@chromium.org>
9930
9931         Reviewed by Darin Fisher.
9932
9933         Pass the WebFrame into WebStorageArea::setItem so we can figure out the routing ID
9934         https://bugs.webkit.org/show_bug.cgi?id=35758
9935
9936         This is necessary since setItem is sometimes blocked and the embedder might need
9937         to display some piece of UI associated with such an event.
9938
9939         * public/WebStorageArea.h:
9940         (WebKit::WebStorageArea::setItem):
9941         * src/StorageAreaProxy.cpp:
9942         (WebCore::StorageAreaProxy::setItem):
9943         * src/WebStorageAreaImpl.cpp:
9944         (WebKit::WebStorageAreaImpl::setItem):
9945         * src/WebStorageAreaImpl.h:
9946
9947 2010-03-07  Mark Rowe  <mrowe@apple.com>
9948
9949         Chromium build fix.
9950
9951         * src/ChromiumBridge.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
9952
9953 2010-03-07  Mark Rowe  <mrowe@apple.com>
9954
9955         Chromium build fix.
9956
9957         * src/ResourceHandle.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used.
9958
9959 2010-03-06  Pavel Feldman  <pfeldman@chromium.org>
9960
9961         Reviewed by Timothy Hatcher.
9962
9963         Chromium: Restore devtools window activate upon node search complete.
9964
9965         https://bugs.webkit.org/show_bug.cgi?id=35832
9966
9967         * src/js/DevTools.js:
9968
9969 2010-03-06  Darin Fisher  <darin@chromium.org>
9970
9971         Reviewed by David Levin.
9972
9973         [Chromium] Embedder initiated loads should not always stop existing loads
9974         https://bugs.webkit.org/show_bug.cgi?id=33862
9975
9976         * src/WebFrameImpl.cpp:
9977         (WebKit::WebFrameImpl::reload):
9978         (WebKit::WebFrameImpl::loadRequest):
9979         (WebKit::WebFrameImpl::loadHistoryItem):
9980         (WebKit::WebFrameImpl::loadData):
9981
9982 2010-03-06  Darin Fisher  <darin@chromium.org>
9983
9984         Reviewed by David Levin.
9985
9986         [Chromium] spurious WebViewClient::didStopLoading if changing
9987         location.hash while a subframe is still loading
9988
9989         https://bugs.webkit.org/show_bug.cgi?id=33884
9990
9991         * src/FrameLoaderClientImpl.cpp:
9992         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
9993         Call isLoadingInAPISense, which checks subframes.
9994
9995 2010-03-06  Hironori Bono  <hbono@chromium.org>
9996
9997         Reviewed by Eric Seidel.
9998
9999         [Chromium] Typing into Flash with wmode = opaque|transparent and
10000         non-latin language active outputs as if US keyboard layout active
10001
10002         https://bugs.webkit.org/show_bug.cgi?id=34936
10003
10004         This change is a WebKit-side change for this issue. It dispatches
10005         Char events to plug-ins so plug-ins can receive non-ASCII characters
10006         as well as ASCII characters.
10007
10008         * src/WebViewImpl.cpp:
10009         (WebKit::WebViewImpl::keyEvent):
10010
10011 2010-03-06  Kavita Kanetkar  <kkanetkar@chromium.org>
10012
10013         Reviewed by Darin Fisher.
10014
10015         Create WebKit API for  WebCore::ImageDecoder
10016         https://bugs.webkit.org/show_bug.cgi?id=35415
10017
10018         * WebKit.gyp:
10019         * public/WebImageDecoder.h: Added.
10020         * src/WebImageDecoder.cpp: Added.
10021
10022 2010-03-05  John Abd-El-Malek  <jam@chromium.org>
10023
10024         Reviewed by Darin Fisher.
10025
10026         Take out code hack that flips the result of NPP_HandleEvent.  This needs to move to
10027         the NPAPI code so that Pepper plugins don't hit it.
10028         https://bugs.webkit.org/show_bug.cgi?id=35779
10029
10030         * public/WebPluginContainer.h:
10031         * src/WebPluginContainerImpl.cpp:
10032         (WebKit::WebPluginContainerImpl::handleMouseEvent):
10033         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
10034
10035 2010-03-05  Ilya Tikhonovsky  <loislo@chromium.org>
10036
10037         Reviewed by Pavel Feldman.
10038
10039         Web Inspector: Do not show link helper in popovers and/or for external resources.
10040
10041         https://bugs.webkit.org/show_bug.cgi?id=35785
10042
10043         * src/js/DebuggerAgent.js:
10044         (devtools.DebuggerAgent.prototype.initUI):
10045         (devtools.DebuggerAgent.prototype.addScriptInfo_):
10046
10047 2010-03-04  Garret Kelly  <gdk@chromium.org>
10048
10049         Reviewed by Darin Fisher.
10050
10051         Adding PlatformTouchEventBuilder and PlatformTouchPointBuilder for
10052         converting Chromium WebTouchEvent and WebTouchPoint types to
10053         corresponding WebCore types.
10054         https://bugs.webkit.org/show_bug.cgi?id=35760
10055
10056         * src/WebInputEventConversion.cpp:
10057         (WebKit::toPlatformTouchEventType):
10058         (WebKit::toPlatformTouchPointState):
10059         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
10060         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
10061         * src/WebInputEventConversion.h:
10062
10063 2010-03-04  John Gregg  <johnnyg@google.com>
10064
10065         Reviewed by Darin Fisher.
10066
10067         [chromium] WebDocument:applicationID() crashes on <meta> tag with no http-equiv attribute
10068         https://bugs.webkit.org/show_bug.cgi?id=35771
10069
10070         * src/WebDocument.cpp:
10071         (WebKit::WebDocument::applicationID):
10072         check for presence of http-equiv attribute before lower()ing it.
10073
10074 2010-03-04  Darin Fisher  <darin@chromium.org>
10075
10076         Reviewed by Dmitry Titov.
10077
10078         [chromium] make history.{push,replace}State enabled at runtime
10079         https://bugs.webkit.org/show_bug.cgi?id=35753
10080
10081         * public/WebRuntimeFeatures.h:
10082         * src/WebRuntimeFeatures.cpp:
10083         (WebKit::WebRuntimeFeatures::enablePushState):
10084         (WebKit::WebRuntimeFeatures::isPushStateEnabled):
10085
10086 2010-03-04  Pavel Feldman  <pfeldman@chromium.org>
10087
10088         Not reviewed: chromium tests fix.
10089
10090         * src/js/Tests.js:
10091
10092 2010-03-03  Pavel Feldman  <pfeldman@chromium.org>
10093
10094         Reviewed by Timothy Hatcher.
10095
10096         Web Inspector: Remove two last synchronous calls from front-end to InspectorBackend.
10097         
10098         https://bugs.webkit.org/show_bug.cgi?id=35720
10099
10100         * src/js/InspectorControllerImpl.js:
10101         (devtools.InspectorBackendImpl):
10102         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
10103
10104 2010-03-03  Pavel Feldman  <pfeldman@chromium.org>
10105
10106         Reviewed by Timothy Hatcher.
10107
10108         Web Inspector: Remove sync access to resourceTrackingEnabled.
10109
10110         https://bugs.webkit.org/show_bug.cgi?id=35693
10111
10112         * src/js/DevTools.js:
10113
10114 2010-03-04  Darin Fisher  <darin@chromium.org>
10115
10116         Reviewed by Pavel Feldman.
10117
10118         Fix failing DevToolsSanityTest.TestResourceContentLength
10119         https://bugs.webkit.org/show_bug.cgi?id=35725
10120
10121         http://trac.webkit.org/changeset/55466 missed one more spot
10122         where contentLength needed to be renamed resourceSize.
10123
10124         * src/js/Tests.js:
10125
10126 2010-03-03  Garret Kelly  <gdk@chromium.org>
10127
10128         Reviewed by Darin Fisher.
10129
10130         Adding touch event type and point type. Tested against the try bots.
10131         https://bugs.webkit.org/show_bug.cgi?id=35691
10132
10133         * public/WebInputEvent.h:
10134         (WebKit::WebInputEvent::):
10135         (WebKit::WebInputEvent::isTouchEventType):
10136         (WebKit::WebTouchEvent::WebTouchEvent):
10137         * public/WebTouchPoint.h: Added.
10138         (WebKit::WebTouchPoint::WebTouchPoint):
10139         (WebKit::WebTouchPoint::):
10140
10141 2010-03-02  Tony Chang  <tony@chromium.org>
10142
10143         Reviewed by Darin Fisher.
10144
10145         add a flag to WebURLResponse so we can identify multipart content
10146         https://bugs.webkit.org/show_bug.cgi?id=35628
10147
10148         * public/WebURLResponse.h:
10149         * src/WebURLResponse.cpp:
10150         (WebKit::WebURLResponse::isMultipartPayload):
10151         (WebKit::WebURLResponse::setIsMultipartPayload):
10152
10153 2010-03-02  Adam Barth  <abarth@webkit.org>
10154
10155         Reviewed by Darin Fisher.
10156
10157         Google Analytics triggers "blocked plugin" UI
10158         https://bugs.webkit.org/show_bug.cgi?id=35565
10159
10160         Plumb didNotAllowPlugins to the client.
10161
10162         * public/WebFrameClient.h:
10163         (WebKit::WebFrameClient::didNotAllowPlugins):
10164         * src/FrameLoaderClientImpl.cpp:
10165         (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
10166         * src/FrameLoaderClientImpl.h:
10167
10168 2010-03-02  Chris Fleizach  <cfleizach@apple.com>
10169
10170         Reviewed by Beth Dakin.
10171
10172         aria-label isn't respected on option elements
10173         https://bugs.webkit.org/show_bug.cgi?id=35400
10174
10175         * src/SuggestionsPopupMenuClient.h:
10176         (WebKit::SuggestionsPopupMenuClient::itemAccessibilityText):
10177
10178 2010-03-02  Mads Ager  <ager@chromium.org>
10179
10180         Reviewed by Adam Barth.
10181
10182         [V8] V8 should be notified of context disposals
10183         https://bugs.webkit.org/show_bug.cgi?id=35526
10184
10185         Update V8 DEPS in order to get V8 API changes needed for context
10186         disposal notifications.
10187
10188         * DEPS:
10189
10190 2010-03-02  Kenneth Russell  <kbr@google.com>
10191
10192         Reviewed by Darin Fisher.
10193
10194         Add EnabledAtRuntime attribute to WebGLArray constructors
10195         https://bugs.webkit.org/show_bug.cgi?id=35558
10196
10197         * public/WebRuntimeFeatures.h:
10198         * src/WebRuntimeFeatures.cpp:
10199         (WebKit::WebRuntimeFeatures::enableWebGL):
10200         (WebKit::WebRuntimeFeatures::isWebGLEnabled):
10201
10202 2010-03-02  James Hawkins  <jhawkins@chromium.org>
10203
10204         Reviewed by Darin Fisher.
10205
10206         [Chromium] Implement WebNode::equals and add inline operators for ==
10207         and !=.
10208
10209         https://bugs.webkit.org/show_bug.cgi?id=35543
10210
10211         * public/WebNode.h:
10212         (WebKit::operator==):
10213         (WebKit::operator!=):
10214         * src/WebNode.cpp:
10215         (WebKit::WebNode::equals):
10216
10217 2010-03-01  Jakob Petsovits  <jpetsovits@rim.com>
10218
10219         Reviewed by Adam Barth.
10220
10221         Adapt to the new ZoomMode enum.
10222         https://bugs.webkit.org/show_bug.cgi?id=35347
10223
10224         * src/WebViewImpl.cpp:
10225         (WebKit::WebViewImpl::setZoomLevel):
10226
10227 2010-03-01  Thatcher Ulrich  <tulrich@google.com>
10228
10229         Reviewed by Darin Fisher.
10230
10231         Fix chromium iframe shims.  Add another test case to the
10232         iframes-shims test.  After r53637, the plugin widget doesn't get
10233         moved every paint.  This used to hide the bug that if an iframe
10234         gets added, the plugin's cutout rectangles don't get updated until
10235         a layout happens.
10236         https://bugs.webkit.org/show_bug.cgi?id=35184
10237
10238         * src/WebPluginContainerImpl.cpp:
10239         (WebKit::WebPluginContainerImpl::widgetPositionsUpdated): do reportGeometry() to ensure that
10240             the plugin is aware of the positions of cutouts on the page (for iframe shim behavior).
10241         * src/WebPluginContainerImpl.h:
10242
10243 2010-02-27  Pavel Feldman  <pfeldman@chromium.org>
10244
10245         Reviewed by Timothy Hatcher.
10246
10247         Chromium: remove DevTools part that has been upstreamed.
10248
10249         * src/js/DevTools.js:
10250
10251 2010-02-26  Pavel Feldman  <pfeldman@chromium.org>
10252
10253         Reviewed by Timothy Hatcher.
10254
10255         Web Inspector: reload inspected page on Cmd+R / Ctrl+R / F5 key event in inspector.
10256
10257         * src/WebDevToolsFrontendImpl.cpp:
10258         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
10259         (WebKit::WebDevToolsFrontendImpl::jsCanAttachWindow):
10260         * src/WebDevToolsFrontendImpl.h:
10261         * src/js/InspectorControllerImpl.js:
10262         (devtools.InspectorBackendImpl):
10263         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
10264
10265 2010-02-26  James Hawkins  <jhawkins@chromium.org>
10266
10267         Reviewed by Darin Fisher.
10268
10269         [Chromium] Verify that the Nodes being enumerated are HTML elements.
10270
10271         https://bugs.webkit.org/show_bug.cgi?id=35463
10272
10273         * src/WebFrameImpl.cpp:
10274         (WebKit::WebFrameImpl::forms):
10275
10276 2010-02-26  Adam Barth  <abarth@webkit.org>
10277
10278         Reviewed by Darin Fisher.
10279
10280         Expose an API for ports to add schemes to the mixed content whitelist
10281         https://bugs.webkit.org/show_bug.cgi?id=35438
10282
10283         Expose registerURLSchemeAsSecure via the WebKit API.
10284
10285         * public/WebSecurityPolicy.h:
10286         * src/WebSecurityPolicy.cpp:
10287         (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure):
10288
10289 2010-02-26  Brett Wilson  <brettw@chromium.org>
10290
10291         Fix chromium build. This test's expectation became obsolete with
10292         recent changes to KURL which my previous change brings Chromium's
10293         port in compliance with.
10294
10295         * tests/KURLTest.cpp:
10296         (ComponentCase::TEST):
10297
10298 2010-02-26  Yaar Schnitman  <yaar@chromium.org>
10299
10300         Chromium build fix.
10301
10302         * features.gypi: Added missing new variable enable_svg.
10303
10304 2010-02-26  Yaar Schnitman  <yaar@chromium.org>
10305
10306         Reviewed by Dimitri Glazkov.
10307
10308         [V8] Auto-generate and split DerivedSourcesAllInOne.cpp
10309         https://bugs.webkit.org/show_bug.cgi?id=33048
10310
10311         * DEPS: Incremented gyp revision.
10312
10313 2010-02-26  Darin Fisher  <darin@chromium.org>
10314
10315         Fix mac warning (that gets treated as an error in the chromium build).
10316
10317         * src/ChromiumBridge.cpp:
10318         (WebCore::ChromiumBridge::cookiesEnabled):
10319
10320 2010-02-25  Darin Fisher  <darin@chromium.org>
10321
10322         Reviewed by David Levin.
10323
10324         Remove deprecated cookie methods.
10325         https://bugs.webkit.org/show_bug.cgi?id=35420
10326
10327         * public/WebFrameClient.h:
10328         * public/WebKitClient.h:
10329         * src/ChromiumBridge.cpp:
10330         (WebCore::ChromiumBridge::setCookies):
10331         (WebCore::ChromiumBridge::cookies):
10332         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
10333         (WebCore::ChromiumBridge::rawCookies):
10334         (WebCore::ChromiumBridge::deleteCookie):
10335         (WebCore::ChromiumBridge::cookiesEnabled):
10336
10337 2010-02-25  James Hawkins  <jhawkins@chromium.org>
10338
10339         Reviewed by Darin Fisher.
10340
10341         [Chromium] Implement WebLabelElement.
10342
10343         https://bugs.webkit.org/show_bug.cgi?id=35317
10344
10345         * WebKit.gyp:
10346         * public/WebLabelElement.h: Added.
10347         * src/WebLabelElement.cpp: Added.
10348
10349 2010-02-25  Pavel Feldman  <pfeldman@chromium.org>
10350
10351         Reviewed by Dimitri Glazkov.
10352
10353         Web Inspector: make script lines count calculation lazy.
10354
10355         https://bugs.webkit.org/show_bug.cgi?id=35392
10356
10357         * src/js/Tests.js:
10358         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
10359         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
10360         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
10361         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
10362         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
10363         (.TestSuite.prototype._executeFunctionForStepTest):
10364
10365 2010-02-24  Darin Fisher  <darin@chromium.org>
10366
10367         Reviewed by David Levin.
10368
10369         Add a missing WebString.h include.
10370         https://bugs.webkit.org/show_bug.cgi?id=35360
10371
10372         This is required since some of the methods have implementations that
10373         return a WebString.
10374
10375         * public/WebCookieJar.h:
10376
10377 2010-02-24  Jay Campan  <jcampan@google.com>
10378
10379         Reviewed by David Levin.
10380
10381         Don't show the autofill popup when the input text is disabled or read only.
10382
10383         https://bugs.webkit.org/show_bug.cgi?id=35129
10384
10385         * src/EditorClientImpl.cpp:
10386         (WebKit::EditorClientImpl::autofill):
10387
10388 2010-02-24  Adam Barth  <abarth@webkit.org>
10389
10390         Reviewed by Darin Fisher.
10391
10392         [Chromium API] Disambiguate allowJavaScript from didNotAllowScript
10393         https://bugs.webkit.org/show_bug.cgi?id=35205
10394
10395         Plumb didNotAllowScript through Chromium's WebKit API.
10396
10397         * public/WebFrameClient.h:
10398         (WebKit::WebFrameClient::didNotAllowScript):
10399         * src/DebuggerAgentImpl.cpp:
10400         (WebKit::DebuggerAgentImpl::createUtilityContext):
10401         * src/FrameLoaderClientImpl.cpp:
10402         (WebKit::FrameLoaderClientImpl::didNotAllowScript):
10403         * src/FrameLoaderClientImpl.h:
10404         * src/WebFrameImpl.cpp:
10405         (WebKit::WebFrameImpl::bindToWindowObject):
10406
10407 2010-02-23  James Hawkins  <jhawkins@chromium.org>
10408
10409         Reviewed by Darin Fisher.
10410
10411         [Chromium] Implement WebDocument::getElementsByTagName.
10412
10413         https://bugs.webkit.org/show_bug.cgi?id=35272
10414
10415         * public/WebDocument.h:
10416         * src/WebDocument.cpp:
10417         (WebKit::WebDocument::getElementsByTagName):
10418
10419 2010-02-23  Steve Block  <steveblock@google.com>
10420
10421         Reviewed by Jeremy Orlow.
10422
10423         Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled
10424         https://bugs.webkit.org/show_bug.cgi?id=35242
10425
10426         This removes Chromium's WebSettings::setGeolocationEnabled
10427
10428         * public/WebSettings.h:
10429         * src/WebSettingsImpl.cpp:
10430         * src/WebSettingsImpl.h:
10431
10432 2010-02-23  Dmitriy Belenko  <dbelenko@google.com>
10433
10434         Reviewed by Darin Fisher.
10435
10436         Chromium: Need to be able to get the bounds of selection
10437         rectangle(s)
10438         https://bugs.webkit.org/show_bug.cgi?id=34915
10439
10440         This change will enable about 30 test cases to pass in Chromium.
10441         All of these test cases are related to selection rect boundaries.
10442         This change will enable the test cases to retrieve the selection
10443         rect boundary rectangle for the current selection.
10444
10445         * public/WebFrame.h:
10446         * src/WebFrameImpl.cpp:
10447         (WebKit::WebFrameImpl::selectionBoundsRect):
10448         * src/WebFrameImpl.h:
10449
10450 2010-02-23  Steve Block  <steveblock@google.com>
10451
10452         Reviewed by Darin Adler.
10453
10454         Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
10455         https://bugs.webkit.org/show_bug.cgi?id=34962
10456
10457         This method is required so that a Geolocation object can cancel an
10458         asynchronous permission request. This allows the chrome client to cancel
10459         any UI it is showing for the permission request.
10460
10461         * src/ChromeClientImpl.h:
10462         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
10463
10464 2009-02-22  Adam Langley  <agl@google.com>
10465
10466         Reviewed by Darin Fisher.
10467
10468         fontconfig on Linux can change the render preferences on a per strike
10469         basis (a strike a combination of face and size). Because of this, we
10470         need to query fontconfig each time a new FontPlatformData is created
10471         for a new size.
10472
10473         This patch adds support for querying this via ChromiumBridge.
10474
10475         https://bugs.webkit.org/show_bug.cgi?id=33065
10476
10477         * WebKit.gyp:
10478         * public/gtk/WebFontInfo.h:
10479         * public/linux/WebSandboxSupport.h:
10480         * src/ChromiumBridge.cpp:
10481         (WebCore::ChromiumBridge::getRenderStyleForStrike):
10482         * src/gtk/WebFontInfo.cpp:
10483         (WebKit::WebFontInfo::renderStyleForStrike):
10484
10485 2010-02-22  Alexander Pavlov  <apavlov@chromium.org>
10486
10487         Reviewed by Pavel Feldman.
10488
10489         Web Inspector: there should be a way to "deactivate" or "skip" all breakpoints while debugging.
10490         https://bugs.webkit.org/show_bug.cgi?id=33217
10491
10492         * src/js/DebuggerAgent.js:
10493         (devtools.DebuggerAgent):
10494         (devtools.DebuggerAgent.prototype.setBreakpointsActivated):
10495         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
10496         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
10497         * src/js/InspectorControllerImpl.js:
10498         (devtools.InspectorBackendImpl.prototype.activateBreakpoints):
10499         (devtools.InspectorBackendImpl.prototype.deactivateBreakpoints):
10500
10501 2010-02-21  Pavel Feldman  <pfeldman@chromium.org>
10502
10503         Reviewed by Timothy Hatcher.
10504
10505         Chromium DevTools: kepp debugger API in sync with inspector.
10506
10507         https://bugs.webkit.org/show_bug.cgi?id=28799
10508
10509         * src/js/DebuggerAgent.js:
10510         * src/js/InspectorControllerImpl.js:
10511         (devtools.InspectorBackendImpl.prototype.setBreakpoint):
10512
10513 2010-02-19  Maciej Stachowiak  <mjs@apple.com>
10514
10515         Reviewed by David Levin.
10516
10517         Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
10518         https://bugs.webkit.org/show_bug.cgi?id=35147
10519
10520         * features.gypi:
10521
10522 2010-02-19  James Hawkins  <jhawkins@chromium.org>
10523
10524         Reviewed by Darin Fisher.
10525
10526         [Chromium] Call WebViewClient::didAcceptAutoFillSuggestion when the
10527         user selects a suggestion from the AutoFill suggestions popup.
10528
10529         https://bugs.webkit.org/show_bug.cgi?id=35174
10530
10531         * public/WebViewClient.h:
10532         (WebKit::WebViewClient::didAcceptAutoFillSuggestion):
10533         * src/AutoFillPopupMenuClient.cpp:
10534         (WebKit::AutoFillPopupMenuClient::valueChanged):
10535         * src/AutoFillPopupMenuClient.h:
10536
10537 2010-02-19  James Hawkins  <jhawkins@chromium.org>
10538
10539         Reviewed by Eric Seidel.
10540
10541         [Chromium] Use the m_suggestionsPopupClient pointer to refer to the
10542         popup client, as the Autocomplete popup might not be the current
10543         popup.
10544
10545         https://bugs.webkit.org/show_bug.cgi?id=35172
10546
10547         * src/WebViewImpl.cpp:
10548         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
10549         (WebKit::WebViewImpl::refreshSuggestionsPopup):
10550
10551 2010-02-19  James Hawkins  <jhawkins@chromium.org>
10552
10553         Reviewed by Eric Seidel.
10554
10555         [Chromium] Rename EditorClientImpl::onAutofillSuggestionAccepted to
10556         onAutocompleteSuggestionAccepted to better match the purpose of the
10557         function.
10558
10559         https://bugs.webkit.org/show_bug.cgi?id=35171
10560
10561         * src/EditorClientImpl.cpp:
10562         (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
10563         * src/EditorClientImpl.h:
10564         * src/SuggestionsPopupMenuClient.cpp:
10565         (WebKit::SuggestionsPopupMenuClient::valueChanged):
10566
10567 2010-02-18  Peter Kasting  <pkasting@google.com>
10568
10569         Reviewed by Darin Fisher.
10570
10571         Add an isImageBlocked bool to the WebContextMenuData struct.
10572         https://bugs.webkit.org/show_bug.cgi?id=35136
10573         
10574         This lets us properly enable/disable the "Copy Image" context menu entry
10575         (and, in the future, maybe add a "Load Image" function).
10576
10577         * public/WebContextMenuData.h:
10578         * src/ContextMenuClientImpl.cpp:
10579         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
10580
10581 2010-02-19  Marcus Bulach  <bulach@chromium.org>
10582
10583         Reviewed by Jeremy Orlow.
10584
10585         Fixes GeolocationServiceBridgeImpl::stopUpdating (it can be called multiple times).
10586
10587         * src/GeolocationServiceBridgeChromium.cpp:
10588         (WebKit::GeolocationServiceBridgeImpl::stopUpdating):
10589
10590 2010-02-19  Pavel Feldman  <pfeldman@chromium.org>
10591
10592         Not reviewed. Chromium build fix: reverting r54997 and r54998.
10593
10594         * DEPS:
10595
10596 2010-02-19  Pavel Feldman  <pfeldman@chromium.org>
10597
10598         Not reviewed. Chromium tests fix: update devtools code to match new
10599         web inspector object proxy format.
10600
10601         * src/js/DebuggerAgent.js:
10602         (devtools.DebuggerAgent.prototype.formatCallFrame_):
10603         (devtools.DebuggerAgent.formatObjectProxy_):
10604
10605 2010-02-12  Kent Tamura  <tkent@chromium.org>
10606
10607         Unreviewed. Fix Chromium build.
10608
10609         * DEPS: Bump Google URL revision to 123.
10610
10611 2010-02-18  Yury Semikhatsky  <yurys@chromium.org>
10612
10613         Reviewed by Pavel Feldman.
10614
10615         Don't truncate long lines when evaluating expressions on a breakpoint.
10616
10617         https://bugs.webkit.org/show_bug.cgi?id=35102
10618
10619         * src/js/DebuggerAgent.js:
10620
10621 2010-02-18  Jay Campan  <jcampan@google.com>
10622
10623         Reviewed by Adam Barth.
10624
10625         Exposing the title in WebDocument.
10626         
10627         https://bugs.webkit.org/show_bug.cgi?id=35058
10628
10629         * public/WebDocument.h:
10630         * src/WebDocument.cpp:
10631         (WebKit::WebDocument::title):
10632
10633 2010-02-17  Dmitry Titov  <dimich@chromium.org>
10634
10635         Reviewed by David Levin, Darin Fisher, Simon Hausmann.
10636
10637         When a live iframe element is moved between pages, it still depends on the old page.
10638         https://bugs.webkit.org/show_bug.cgi?id=34382
10639
10640         * src/FrameLoaderClientImpl.cpp:
10641         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
10642         (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
10643         Since Chromium's WebFrameClient is destroyed once a window is closed,
10644         if Frame moves between Pages, the client of corresponding WebFrame
10645         should be replaced as well.
10646
10647         * src/FrameLoaderClientImpl.h:
10648         * src/WebFrameImpl.h:
10649         (WebKit::WebFrameImpl::setClient):
10650
10651 2010-02-17  Evan Martin  <evan@chromium.org>
10652
10653         Reviewed by Eric Seidel.
10654
10655         [chromium] expose cache-bypass flag in reload() API
10656         https://bugs.webkit.org/show_bug.cgi?id=34969
10657
10658         This flag is used to force a reload to ignore caches.
10659         (Aka "shift-reload".)
10660
10661         * public/WebFrame.h:
10662         * src/WebFrameImpl.cpp:
10663         (WebKit::WebFrameImpl::reload):
10664         * src/WebFrameImpl.h:
10665
10666 2010-02-17  Kent Tamura  <tkent@chromium.org>
10667
10668         Reviewed by Eric Seidel.
10669
10670         Introduces new Icon loading interface in order to support
10671         asynchronous loading.
10672         https://bugs.webkit.org/show_bug.cgi?id=32054
10673
10674         Add an empty implementation of ChromeClient::iconForFiles().
10675
10676         * src/ChromeClientImpl.cpp:
10677         (WebKit::ChromeClientImpl::iconForFiles):
10678         * src/ChromeClientImpl.h:
10679
10680 2010-02-17  Kenneth Russell  <kbr@google.com>
10681
10682         Reviewed by Oliver Hunt.
10683
10684         Refactor texImage2D and texSubImage2D taking Image to use common code
10685         https://bugs.webkit.org/show_bug.cgi?id=34458
10686
10687         Merged the Safari and Chromium code which extracts the data from
10688         Image objects into common entry points on GraphicsContext3D. This
10689         immediately fixes the following three problems:
10690           - Chromium not implementing texSubImage2D taking Image.
10691           - Safari not obeying the flipY parameter to texImage2D or
10692             texSubImage2D taking Image.
10693           - Safari not obeying the premultipyAlpha parameter to texImage2D
10694             or texSubImage2D taking Image.
10695         Added new test verifying the behavior of texImage2D and
10696         texSubImage2D and the flipY parameter. The premultiplyAlpha
10697         parameter can not be tested yet as the implementation is not yet
10698         spec compliant. This will be fixed in a follow-on bug.
10699
10700         Ran all WebGL demos in demo repository on Safari and Chromium;
10701         textures are now the right way up in both browsers, and
10702         transparent textures in Particles demo now look correct in Safari.
10703
10704         * src/GraphicsContext3D.cpp:
10705         (WebCore::GraphicsContext3D::texImage2D):
10706         (WebCore::GraphicsContext3D::texSubImage2D):
10707
10708 2010-02-17  Alok Priyadarshi  <alokp@chromium.org>
10709
10710         Reviewed by Ariya Hidayat.
10711
10712         Bug 34900: Implement accelerated compositing for chromium.
10713         https://bugs.webkit.org/show_bug.cgi?id=34900
10714
10715         * features.gypi: Added WTF_USE_ACCELERATED_COMPOSITING flag.
10716
10717 2010-02-17  Jian Li  <jianli@chromium.org>
10718
10719         Reviewed by Darin Fisher.
10720
10721         [chromium] Remove the obsolete chromium interface for handling DownloadURL.
10722         https://bugs.webkit.org/show_bug.cgi?id=34982
10723
10724         * public/WebDragData.h:
10725         * src/WebDragData.cpp:
10726
10727 2010-02-16  James Hawkins  <jhawkins@chromium.org>
10728
10729         Reviewed by Eric Seidel.
10730
10731         [Chromium] Remove calls to releaseRef when passing PassRefPtrs to base
10732         classes.  releaseRef releases the original pointer without decreasing
10733         the reference count, and the base class constructor increases the
10734         reference count, leading to a leak.
10735
10736         https://bugs.webkit.org/show_bug.cgi?id=35000
10737
10738         * src/WebDocument.cpp:
10739         (WebKit::WebDocument::WebDocument):
10740         * src/WebElement.cpp:
10741         (WebKit::WebElement::WebElement):
10742         * src/WebFormElement.cpp:
10743         (WebKit::WebFormElement::WebFormElement):
10744         * src/WebInputElement.cpp:
10745         (WebKit::WebInputElement::WebInputElement):
10746
10747 2010-02-15  Jeremy Orlow  <jorlow@chromium.org>
10748
10749         Reviewed by Darin Fisher.
10750
10751         [Chromium] Fix StorageNamespaceProxy::copy() for test shell
10752         https://bugs.webkit.org/show_bug.cgi?id=34949
10753
10754         Chromium passes back NULL when you call WebStorageNamespace::proxy()
10755         but TestShell returns a valid object.  Both need to work via
10756         the WebStorageNamespace.
10757
10758         * src/StorageNamespaceProxy.cpp:
10759         (WebCore::StorageNamespaceProxy::copy):
10760
10761 2010-02-14  Vangelis Kokkevis  <vangelis@chromium.org>
10762
10763         Reviewed by Darin Fisher.
10764
10765         [Chromium] Add support for the showDebugBorders setting to Chromium.
10766
10767         https://bugs.webkit.org/show_bug.cgi?id=34906
10768
10769         * public/WebSettings.h: Add declaration for setShowDebugBorders
10770         * src/WebSettingsImpl.cpp:
10771         (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
10772         * src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
10773
10774 2010-02-11  Darin Fisher  <darin@chromium.org>
10775
10776         Reviewed by Jeremy Orlow.
10777
10778         Introduce WebCookieJar, and provide for a frame specific cookie jar.
10779
10780         https://bugs.webkit.org/show_bug.cgi?id=34878
10781
10782         * WebKit.gyp:
10783         * public/WebCookieJar.h: Added.
10784         * public/WebFrameClient.h:
10785         (WebKit::WebFrameClient::cookieJar):
10786         * public/WebKitClient.h:
10787         (WebKit::WebKitClient::cookieJar):
10788         (WebKit::WebKitClient::setCookies):
10789         (WebKit::WebKitClient::cookies):
10790         (WebKit::WebKitClient::rawCookies):
10791         (WebKit::WebKitClient::deleteCookie):
10792         (WebKit::WebKitClient::cookiesEnabled):
10793         * src/ChromiumBridge.cpp:
10794         (WebCore::getCookieJar):
10795         (WebCore::ChromiumBridge::setCookies):
10796         (WebCore::ChromiumBridge::cookies):
10797         (WebCore::ChromiumBridge::rawCookies):
10798         (WebCore::ChromiumBridge::deleteCookie):
10799         (WebCore::ChromiumBridge::cookiesEnabled):
10800
10801 2010-02-12  Pavel Feldman  <pfeldman@chromium.org>
10802
10803         Reviewed by David Levin.
10804
10805         Chromium: provide theme overrides for Chromium devtools on Mac.
10806
10807         https://bugs.webkit.org/show_bug.cgi?id=34856
10808
10809         * src/js/devTools.css:
10810
10811 2010-02-12  Jeremy Orlow  <jorlow@chromium.org>
10812
10813         Reviewed by Darin Fisher.
10814
10815         [Chromium] Add a blockedByPolicy output to WebStorageArea::setItem.
10816         https://bugs.webkit.org/show_bug.cgi?id=34897
10817
10818         * public/WebStorageArea.h:
10819         (WebKit::WebStorageArea::setItem):
10820         * src/WebStorageAreaImpl.cpp:
10821         (WebKit::WebStorageAreaImpl::setItem):
10822         * src/WebStorageAreaImpl.h:
10823
10824 2010-02-11  Jeremy Orlow  <jorlow@chromium.org>
10825
10826         Reviewed by David Levin.
10827
10828         [Chromium] Add ENABLE_RUBY to the feature defines gypi
10829         https://bugs.webkit.org/show_bug.cgi?id=34841
10830
10831         * features.gypi:
10832
10833 2010-02-12  Yury Semikhatsky  <yurys@chromium.org>
10834
10835         Reviewed by Pavel Feldman.
10836
10837         Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer
10838
10839         https://bugs.webkit.org/show_bug.cgi?id=34890
10840
10841         * src/DebuggerAgentImpl.cpp:
10842         (WebKit::DebuggerAgentImpl::createUtilityContext):
10843
10844 2010-02-11  Mikhail Naganov  <mnaganov@chromium.org>
10845
10846         Reviewed by Pavel Feldman.
10847
10848         [Chromium] Ignore subsequent requests of the same profiler log
10849         chunks. This eliminates emission of several instances for the same
10850         heap snapshot.
10851
10852         https://bugs.webkit.org/show_bug.cgi?id=34833
10853
10854         * src/js/ProfilerAgent.js:
10855         (devtools.ProfilerAgent):
10856         (devtools.ProfilerAgent.prototype.initializeProfiling):
10857         (devtools.ProfilerAgent.prototype._getNextLogLines):
10858         (devtools.ProfilerAgent.prototype.startProfiling):
10859         (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
10860         (devtools.ProfilerAgent.prototype._didGetLogLines):
10861
10862 2010-02-10  James Hawkins  <jhawkins@chromium.org>
10863
10864         Reviewed by Eric Seidel.
10865
10866         [Chromium] Remove code from SuggestionsPopup that was removed in a
10867         previous revision of AutocompletePopup and accidentally added back in
10868         the refactoring.
10869
10870         https://bugs.webkit.org/show_bug.cgi?id=34818
10871
10872         * src/AutoFillPopupMenuClient.cpp:
10873         * src/AutoFillPopupMenuClient.h: Added property svn:eol-style.
10874         * src/SuggestionsPopupMenuClient.cpp:
10875         (WebKit::SuggestionsPopupMenuClient::popupDidHide):
10876         (WebKit::SuggestionsPopupMenuClient::setTextFromItem):
10877         (WebKit::SuggestionsPopupMenuClient::initialize):
10878         * src/SuggestionsPopupMenuClient.h:
10879
10880 2010-02-10  Nate Chapin  <japhet@chromium.org>
10881
10882         Reviewed by Adam Barth.
10883
10884         Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters.
10885
10886         https://bugs.webkit.org/show_bug.cgi?id=34768
10887
10888         * src/DebuggerAgentImpl.cpp:
10889         (WebKit::DebuggerAgentImpl::createUtilityContext):
10890
10891 2010-02-10  Kenneth Russell  <kbr@google.com>
10892
10893         Reviewed by Oliver Hunt.
10894
10895         Remove automatic viewport resizing
10896         https://bugs.webkit.org/show_bug.cgi?id=34766
10897
10898         Removed automatic viewport resizing per conclusions on the WebGL
10899         mailing list. Added test verifying new behavior and updated a
10900         couple of previous tests failing after this change.
10901
10902         * src/GraphicsContext3D.cpp:
10903         (WebCore::GraphicsContext3DInternal::reshape):
10904
10905 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
10906
10907         Reviewed by Pavel Feldman.
10908
10909         Chromium Win build fix. Add third_party/nss to the dependencies list on Windows.
10910
10911         https://bugs.webkit.org/show_bug.cgi?id=34789
10912
10913         * DEPS:
10914
10915 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
10916
10917         Reviewed by Pavel Feldman.
10918
10919         Rolling Chromium dependencies to match Chromium revision 38580.
10920
10921         https://bugs.webkit.org/show_bug.cgi?id=34789
10922
10923         * DEPS:
10924
10925 2010-02-10  Yury Semikhatsky  <yurys@chromium.org>
10926
10927         Reviewed by Pavel Feldman.
10928
10929         Use v8::Debug::ProcessDebugMessages instead of executing an empty function
10930
10931         https://bugs.webkit.org/show_bug.cgi?id=34704
10932
10933         * src/DebuggerAgent.h:
10934         * src/DebuggerAgentImpl.cpp:
10935         (WebKit::DebuggerAgentImpl::processDebugCommands):
10936         * src/DebuggerAgentImpl.h:
10937         * src/ToolsAgent.h:
10938         * src/WebDevToolsAgentImpl.cpp:
10939         * src/WebDevToolsAgentImpl.h:
10940         * src/js/DebuggerAgent.js:
10941         (devtools.DebuggerAgent.prototype.addBreakpoint):
10942         * src/js/DevToolsHostStub.js:
10943         (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
10944         * src/js/InjectDispatch.js:
10945         (dispatch):
10946         * src/js/ProfilerAgent.js:
10947         (devtools.ProfilerAgent.prototype.startProfiling):
10948         (devtools.ProfilerAgent.prototype.stopProfiling):
10949         * src/js/Tests.js:
10950
10951 2010-02-10  Tony Chang  <tony@chromium.org>
10952
10953         Unreviewed, build fix for Chromium Mac take 2.
10954
10955         * src/AutoFillPopupMenuClient.cpp:
10956         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
10957
10958 2010-02-10  Tony Chang  <tony@chromium.org>
10959
10960         Unreviewed, build fix for Chromium Mac.
10961
10962         * src/AutoFillPopupMenuClient.cpp:
10963         (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
10964
10965 2010-02-09  James Hawkins  <jhawkins@chromium.org>
10966
10967         Reviewed by Darin Fisher.
10968
10969         [Chromium] Refactor AutocompletePopupMenuClient into a base class,
10970         SuggestionsPopupMenuClient, and two derived classes,
10971         AutocompletePopupMenuClient and AutoFillPopupMenuClient.  Currently
10972         the behavior of suggestions popups has not changed.
10973
10974         https://bugs.webkit.org/show_bug.cgi?id=34721
10975
10976         * WebKit.gyp:
10977         * public/WebView.h:
10978         * src/AutoFillPopupMenuClient.cpp: Added.
10979         * src/AutoFillPopupMenuClient.h: Added.
10980         * src/AutocompletePopupMenuClient.cpp:
10981         (WebKit::AutocompletePopupMenuClient::getSuggestionsCount):
10982         (WebKit::AutocompletePopupMenuClient::getSuggestion):
10983         (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
10984         (WebKit::AutocompletePopupMenuClient::initialize):
10985         (WebKit::AutocompletePopupMenuClient::setSuggestions):
10986         * src/AutocompletePopupMenuClient.h:
10987         * src/SuggestionsPopupMenuClient.cpp: Added.
10988         * src/SuggestionsPopupMenuClient.h: Added.
10989         * src/WebViewImpl.cpp:
10990         (WebKit::WebViewImpl::WebViewImpl):
10991         (WebKit::WebViewImpl::keyEvent):
10992         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
10993         (WebKit::WebViewImpl::applyAutofillSuggestions):
10994         (WebKit::WebViewImpl::applyAutoFillSuggestions):
10995         (WebKit::WebViewImpl::applyAutocompleteSuggestions):
10996         * src/WebViewImpl.h:
10997
10998 2010-02-09  Chris Guillory  <ctguil@google.com>
10999
11000         Reviewed by Darin Fisher.
11001
11002         [Chromium] Add function for accessibility object state change notifications.
11003         
11004         https://bugs.webkit.org/show_bug.cgi?id=34464
11005
11006         * gyp_webkit:
11007         * public/WebViewClient.h:
11008         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
11009         * src/ChromeClientImpl.cpp:
11010         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
11011         * src/ChromeClientImpl.h:
11012
11013 2010-02-09  Mikhail Naganov  <mnaganov@chromium.org>
11014
11015         Reviewed by Pavel Feldman.
11016
11017         Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
11018         Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
11019         for really enabling it in V8 bindings generation.
11020
11021         https://bugs.webkit.org/show_bug.cgi?id=34706
11022
11023         * features.gypi:
11024
11025 2010-02-09  Jian Li  <jianli@chromium.org>
11026
11027         Reviewed by Darin Fisher.
11028
11029         [chromium] Add the chromium interface to support Blob.slice.
11030         https://bugs.webkit.org/show_bug.cgi?id=34652
11031
11032         * WebKit.gyp:
11033         * public/WebFileInfo.h: Added.
11034         * public/WebHTTPBody.h:
11035         * src/WebHTTPBody.cpp:
11036         (WebKit::WebHTTPBody::elementAt):
11037         (WebKit::WebHTTPBody::appendFile):
11038
11039 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
11040
11041         Unreviewed. Follow-up fix.
11042
11043         Add missing devTools.css file.
11044
11045         https://bugs.webkit.org/show_bug.cgi?id=34756
11046
11047         * src/js/devTools.css: Added.
11048
11049 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
11050
11051         Reviewed by Pavel Feldman.
11052
11053         Upstream DevTools Images and .css files.
11054
11055         https://bugs.webkit.org/show_bug.cgi?id=34756
11056
11057         * WebKit.gypi:
11058         * src/js/DevTools.css: Added.
11059         * src/js/Images/segmentChromium.png: Added.
11060         * src/js/Images/segmentHoverChromium.png: Added.
11061         * src/js/Images/segmentHoverEndChromium.png: Added.
11062         * src/js/Images/segmentSelectedChromium.png: Added.
11063         * src/js/Images/segmentSelectedEndChromium.png: Added.
11064         * src/js/Images/statusbarBackgroundChromium.png: Added.
11065         * src/js/Images/statusbarBottomBackgroundChromium.png: Added.
11066         * src/js/Images/statusbarButtonsChromium.png: Added.
11067         * src/js/Images/statusbarMenuButtonChromium.png: Added.
11068         * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added.
11069
11070 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
11071
11072         Reviewed by Pavel Feldman.
11073
11074         Upstream JavaScript part of DevTools WebKit API implementation(now
11075         with the added files).
11076
11077         https://bugs.webkit.org/show_bug.cgi?id=34744
11078
11079         * WebKit.gypi: Added.
11080         * src/js/DebuggerAgent.js: Added.
11081         (devtools.DebuggerAgent):
11082         (devtools.DebuggerAgent.prototype.reset):
11083         (devtools.DebuggerAgent.prototype.initUI):
11084         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
11085         (devtools.DebuggerAgent.prototype.resolveScriptSource):
11086         (devtools.DebuggerAgent.prototype.pauseExecution):
11087         (devtools.DebuggerAgent.prototype.addBreakpoint):
11088         (devtools.DebuggerAgent.prototype.removeBreakpoint):
11089         (devtools.DebuggerAgent.prototype.updateBreakpoint):
11090         (devtools.DebuggerAgent.prototype.stepIntoStatement):
11091         (devtools.DebuggerAgent.prototype.stepOutOfFunction):
11092         (devtools.DebuggerAgent.prototype.stepOverStatement):
11093         (devtools.DebuggerAgent.prototype.resumeExecution):
11094         (devtools.DebuggerAgent.prototype.createExceptionMessage_):
11095         (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
11096         (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
11097         (devtools.DebuggerAgent.prototype.pauseOnExceptions):
11098         (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
11099         (devtools.DebuggerAgent.prototype.requestEvaluate):
11100         (devtools.DebuggerAgent.prototype.resolveChildren):
11101         (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
11102         (devtools.DebuggerAgent.prototype.resolveScope):
11103         (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
11104         (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
11105         (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
11106         (devtools.DebuggerAgent.prototype.getScriptContextType):
11107         (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
11108         (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
11109         (devtools.DebuggerAgent.prototype.requestBacktrace_):
11110         (devtools.DebuggerAgent.sendCommand_):
11111         (devtools.DebuggerAgent.prototype.stepCommand_):
11112         (devtools.DebuggerAgent.prototype.requestLookup_):
11113         (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
11114         (devtools.DebuggerAgent.prototype.setContextId_):
11115         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
11116         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
11117         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
11118         (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
11119         (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
11120         (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
11121         (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
11122         (devtools.DebuggerAgent.prototype.addScriptInfo_):
11123         (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
11124         (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
11125         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
11126         (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
11127         (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
11128         (devtools.DebuggerAgent.prototype.formatCallFrame_):
11129         (devtools.DebuggerAgent.formatObjectProperties_):
11130         (devtools.DebuggerAgent.propertiesToProxies_):
11131         (devtools.DebuggerAgent.formatObjectProxy_):
11132         (devtools.DebuggerAgent.webkitToV8LineNumber_):
11133         (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
11134         (devtools.ScriptInfo):
11135         (devtools.ScriptInfo.prototype.getLineOffset):
11136         (devtools.ScriptInfo.prototype.getContextType):
11137         (devtools.ScriptInfo.prototype.getUrl):
11138         (devtools.ScriptInfo.prototype.isUnresolved):
11139         (devtools.ScriptInfo.prototype.getBreakpointInfo):
11140         (devtools.ScriptInfo.prototype.addBreakpointInfo):
11141         (devtools.ScriptInfo.prototype.removeBreakpointInfo):
11142         (devtools.BreakpointInfo):
11143         (devtools.BreakpointInfo.prototype.getLine):
11144         (devtools.BreakpointInfo.prototype.getV8Id):
11145         (devtools.BreakpointInfo.prototype.setV8Id):
11146         (devtools.BreakpointInfo.prototype.markAsRemoved):
11147         (devtools.BreakpointInfo.prototype.isRemoved):
11148         (devtools.CallFrame):
11149         (devtools.CallFrame.prototype.evaluate_):
11150         (devtools.DebugCommand):
11151         (devtools.DebugCommand.prototype.getSequenceNumber):
11152         (devtools.DebugCommand.prototype.toJSONProtocol):
11153         (devtools.DebuggerMessage):
11154         (devtools.DebuggerMessage.prototype.getType):
11155         (devtools.DebuggerMessage.prototype.getEvent):
11156         (devtools.DebuggerMessage.prototype.getCommand):
11157         (devtools.DebuggerMessage.prototype.getRequestSeq):
11158         (devtools.DebuggerMessage.prototype.isRunning):
11159         (devtools.DebuggerMessage.prototype.isSuccess):
11160         (devtools.DebuggerMessage.prototype.getMessage):
11161         (devtools.DebuggerMessage.prototype.getBody):
11162         (devtools.DebuggerMessage.prototype.lookup):
11163         * src/js/DevTools.js: Added.
11164         (devtools.dispatch):
11165         (devtools.ToolsAgent):
11166         (devtools.ToolsAgent.prototype.reset):
11167         (devtools.ToolsAgent.prototype.evaluateJavaScript):
11168         (devtools.ToolsAgent.prototype.getDebuggerAgent):
11169         (devtools.ToolsAgent.prototype.getProfilerAgent):
11170         (devtools.ToolsAgent.prototype.frameNavigate_):
11171         (devtools.ToolsAgent.prototype.dispatchOnClient_):
11172         (devtools.ToolsAgent.prototype.evaluate):
11173         (WebInspector.setResourcesPanelEnabled):
11174         (debugPrint):
11175         (devtools):
11176         (WebInspector.loaded):
11177         ():
11178         (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
11179         (WebInspector.ScriptView.prototype.didResolveScriptSource_):
11180         (WebInspector.UnresolvedPropertyValue):
11181         (WebInspector.UIString):
11182         (WebInspector.resourceTrackingWasEnabled):
11183         (WebInspector.resourceTrackingWasDisabled):
11184         (WebInspector.TestController.prototype.runAfterPendingDispatches):
11185         (WebInspector.queuesAreEmpty):
11186         (WebInspector.pausedScript):
11187         * src/js/DevToolsHostStub.js: Added.
11188         (.RemoteDebuggerAgentStub):
11189         (.RemoteDebuggerAgentStub.prototype.getContextId):
11190         (.RemoteProfilerAgentStub):
11191         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
11192         (.RemoteProfilerAgentStub.prototype.getLogLines):
11193         (.RemoteToolsAgentStub):
11194         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
11195         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
11196         (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
11197         (.ProfilerStubHelper):
11198         (.ProfilerStubHelper.GetInstance):
11199         (.ProfilerStubHelper.prototype.StopProfiling):
11200         (.ProfilerStubHelper.prototype.StartProfiling):
11201         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
11202         (.ProfilerStubHelper.prototype.getLogLines):
11203         (.RemoteDebuggerCommandExecutorStub):
11204         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
11205         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
11206         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
11207         (.DevToolsHostStub):
11208         (.DevToolsHostStub.prototype.reset):
11209         (.DevToolsHostStub.prototype.setting):
11210         (.DevToolsHostStub.prototype.setSetting):
11211         * src/js/HeapProfilerPanel.js: Added.
11212         (WebInspector.ProfilesPanel.prototype.addSnapshot):
11213         (WebInspector.HeapSnapshotView):
11214         (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
11215         (WebInspector.HeapSnapshotView.prototype.get profile):
11216         (WebInspector.HeapSnapshotView.prototype.set profile):
11217         (WebInspector.HeapSnapshotView.prototype.show):
11218         (WebInspector.HeapSnapshotView.prototype.hide):
11219         (WebInspector.HeapSnapshotView.prototype.resize):
11220         (WebInspector.HeapSnapshotView.prototype.refresh):
11221         (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
11222         (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
11223         (WebInspector.HeapSnapshotView.prototype.searchCanceled):
11224         (WebInspector.HeapSnapshotView.prototype.performSearch):
11225         (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
11226         (WebInspector.HeapSnapshotView.prototype._changeBase):
11227         (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
11228         (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
11229         (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
11230         (WebInspector.HeapSnapshotView.prototype._percentClicked):
11231         (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
11232         (WebInspector.HeapSnapshotView.prototype._sortData):
11233         (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
11234         (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
11235         (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
11236         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
11237         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
11238         (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
11239         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
11240         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
11241         (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
11242         (WebInspector.HeapSummaryCalculator):
11243         (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
11244         (WebInspector.HeapSummaryCalculator.prototype.formatValue):
11245         (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
11246         (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
11247         (WebInspector.HeapSummaryCountCalculator):
11248         (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
11249         (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
11250         (WebInspector.HeapSummarySizeCalculator):
11251         (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
11252         (WebInspector.HeapSnapshotSidebarTreeElement):
11253         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
11254         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
11255         (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
11256         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
11257         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
11258         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
11259         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
11260         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
11261         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
11262         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
11263         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
11264         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
11265         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
11266         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
11267         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
11268         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
11269         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
11270         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
11271         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
11272         (WebInspector.HeapSnapshotDataGridNode):
11273         (WebInspector.HeapSnapshotDataGridList):
11274         (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
11275         (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
11276         (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
11277         (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
11278         (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
11279         (WebInspector.HeapSnapshotDataGridList.propertyComparator):
11280         (WebInspector.HeapSnapshotDataGridRetainerNode):
11281         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
11282         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
11283         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
11284         (WebInspector.HeapSnapshotProfileType):
11285         (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
11286         (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
11287         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
11288         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
11289         (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
11290         (WebInspector.HeapSnapshotProfileType.prototype.createView):
11291         ():
11292         * src/js/InjectDispatch.js: Added.
11293         (InspectorControllerDispatcher.dispatch):
11294         (ApuAgentDispatcher.dispatchToApu):
11295         (dispatch):
11296         (devtools):
11297         * src/js/InspectorControllerImpl.js: Added.
11298         (devtools.InspectorBackendImpl):
11299         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
11300         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
11301         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
11302         (devtools.InspectorBackendImpl.prototype.addBreakpoint):
11303         (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
11304         (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
11305         (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
11306         (devtools.InspectorBackendImpl.prototype.resumeDebugger):
11307         (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
11308         (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
11309         (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
11310         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
11311         (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
11312         (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
11313         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
11314         (devtools.InspectorBackendImpl.prototype.startProfiling):
11315         (devtools.InspectorBackendImpl.prototype.stopProfiling):
11316         (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
11317         (devtools.InspectorBackendImpl.prototype.addFullProfile):
11318         (devtools.InspectorBackendImpl.prototype.getProfile):
11319         (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
11320         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
11321         (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
11322         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
11323         * src/js/ProfilerAgent.js: Added.
11324         (devtools.ProfilerAgent):
11325         (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
11326         (devtools.ProfilerAgent.prototype.initializeProfiling):
11327         (devtools.ProfilerAgent.prototype.startProfiling):
11328         (devtools.ProfilerAgent.prototype.stopProfiling):
11329         (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
11330         (devtools.ProfilerAgent.prototype.didGetLogLines_):
11331         * src/js/ProfilerProcessor.js: Added.
11332         (devtools.profiler.WebKitViewBuilder):
11333         (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
11334         (devtools.profiler.WebKitViewNode):
11335         (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
11336         (devtools.profiler.JsProfile):
11337         (devtools.profiler.JsProfile.prototype.skipThisFunction):
11338         (devtools.profiler.Processor):
11339         (devtools.profiler.Processor.prototype.printError):
11340         (devtools.profiler.Processor.prototype.skipDispatch):
11341         (devtools.profiler.Processor.prototype.setCallbacks):
11342         (devtools.profiler.Processor.prototype.setNewProfileCallback):
11343         (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
11344         (devtools.profiler.Processor.prototype.processProfiler_):
11345         (devtools.profiler.Processor.prototype.processCodeCreation_):
11346         (devtools.profiler.Processor.prototype.processCodeMove_):
11347         (devtools.profiler.Processor.prototype.processCodeDelete_):
11348         (devtools.profiler.Processor.prototype.processFunctionCreation_):
11349         (devtools.profiler.Processor.prototype.processFunctionMove_):
11350         (devtools.profiler.Processor.prototype.processFunctionDelete_):
11351         (devtools.profiler.Processor.prototype.processTick_):
11352         (devtools.profiler.Processor.prototype.processTickV2_):
11353         (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
11354         (devtools.profiler.Processor.prototype.processHeapSampleStats_):
11355         (devtools.profiler.Processor.prototype.processHeapSampleItem_):
11356         (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
11357         (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
11358         (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
11359         (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
11360         (devtools.profiler.Processor.prototype.createProfileForView):
11361         * src/js/Tests.js: Added.
11362         (.TestSuite):
11363         (.TestSuite.prototype.fail):
11364         (.TestSuite.prototype.assertEquals):
11365         (.TestSuite.prototype.assertTrue):
11366         (.TestSuite.prototype.assertContains):
11367         (.TestSuite.prototype.takeControl):
11368         (.TestSuite.prototype.releaseControl):
11369         (.TestSuite.prototype.reportOk_):
11370         (.TestSuite.prototype.reportFailure_):
11371         (.TestSuite.prototype.runTest):
11372         (.TestSuite.prototype.showPanel):
11373         (.TestSuite.prototype.addSniffer.receiver.methodName):
11374         (.TestSuite.prototype.addSniffer):
11375         (.TestSuite.prototype.testHostIsPresent):
11376         (.TestSuite.prototype.testElementsTreeRoot):
11377         (.TestSuite.prototype.testMainResource):
11378         (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
11379         (.TestSuite.prototype.testResourceHeaders):
11380         (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
11381         (.TestSuite.prototype.testCachedResourceMimeType):
11382         (.TestSuite.prototype.testProfilerTab):
11383         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
11384         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
11385         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
11386         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
11387         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
11388         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
11389         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
11390         (.TestSuite.prototype.testPauseOnException):
11391         (.TestSuite.prototype.testPauseWhenLoadingDevTools):
11392         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
11393         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
11394         (.TestSuite.prototype.testPauseWhenScriptIsRunning):
11395         (.TestSuite.prototype.optionsToString_):
11396         (.TestSuite.prototype.evaluateInConsole_):
11397         (.TestSuite.prototype.waitForSetBreakpointResponse_):
11398         (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
11399         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
11400         (.TestSuite.prototype.testCompletionOnPause):
11401         (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
11402         (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
11403         (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
11404         (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
11405         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
11406         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
11407         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
11408         (.TestSuite.prototype._checkExecutionLine):
11409         (.TestSuite.prototype._scriptsAreParsed):
11410         (.TestSuite.prototype._waitForScriptPause):
11411         (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
11412         (.TestSuite.prototype._checkSourceFrameWhenLoaded):
11413         (.TestSuite.prototype._performSteps.doNextAction):
11414         (.TestSuite.prototype._performSteps):
11415         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
11416         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
11417         (.TestSuite.prototype._waitUntilScriptsAreParsed):
11418         (.TestSuite.prototype._executeFunctionForStepTest):
11419         (.TestSuite.prototype.testStepOver):
11420         (.TestSuite.prototype.testStepOut):
11421         (.TestSuite.prototype.testStepIn):
11422         (.TestSuite.prototype._evaluateXpath):
11423         (.TestSuite.prototype._findNode):
11424         (.TestSuite.prototype._findText):
11425         (.TestSuite.prototype._nodeIterator):
11426         (.TestSuite.prototype._checkScopeSectionDiv):
11427         (.TestSuite.prototype._expandScopeSections.updateListener):
11428         (.TestSuite.prototype._expandScopeSections):
11429         (.TestSuite.prototype.testExpandScope):
11430         (.TestSuite.prototype.testExpandScope.examineScopes):
11431         (.TestSuite.prototype._findChildProperty):
11432         (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
11433         (.TestSuite.prototype._hookGetPropertiesCallback.try):
11434         (.TestSuite.prototype._hookGetPropertiesCallback):
11435         (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
11436         (.TestSuite.prototype.testDebugIntrinsicProperties):
11437         (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
11438         (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
11439         (.TestSuite.createKeyEvent):
11440         (.TestSuite.prototype.testConsoleLog.assertNext):
11441         (.TestSuite.prototype.testConsoleLog):
11442         (.TestSuite.prototype.testEvalGlobal.initEval):
11443         (.TestSuite.prototype.testEvalGlobal):
11444         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
11445         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
11446         (.uiTests.runAllTests):
11447         (.uiTests.runTest):
11448
11449 2010-02-09  Yury Semikhatsky  <yurys@chromium.org>
11450
11451         Reviewed by Pavel Feldman.
11452
11453         Upstream JavaScript part of DevTools WebKit API implementation
11454
11455         https://bugs.webkit.org/show_bug.cgi?id=34744
11456
11457         * WebKit.gypi: Added.
11458         * src/js/DebuggerAgent.js: Added.
11459         (devtools.DebuggerAgent):
11460         (devtools.DebuggerAgent.prototype.reset):
11461         (devtools.DebuggerAgent.prototype.initUI):
11462         (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
11463         (devtools.DebuggerAgent.prototype.resolveScriptSource):
11464         (devtools.DebuggerAgent.prototype.pauseExecution):
11465         (devtools.DebuggerAgent.prototype.addBreakpoint):
11466         (devtools.DebuggerAgent.prototype.removeBreakpoint):
11467         (devtools.DebuggerAgent.prototype.updateBreakpoint):
11468         (devtools.DebuggerAgent.prototype.stepIntoStatement):
11469         (devtools.DebuggerAgent.prototype.stepOutOfFunction):
11470         (devtools.DebuggerAgent.prototype.stepOverStatement):
11471         (devtools.DebuggerAgent.prototype.resumeExecution):
11472         (devtools.DebuggerAgent.prototype.createExceptionMessage_):
11473         (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
11474         (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
11475         (devtools.DebuggerAgent.prototype.pauseOnExceptions):
11476         (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
11477         (devtools.DebuggerAgent.prototype.requestEvaluate):
11478         (devtools.DebuggerAgent.prototype.resolveChildren):
11479         (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
11480         (devtools.DebuggerAgent.prototype.resolveScope):
11481         (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
11482         (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
11483         (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
11484         (devtools.DebuggerAgent.prototype.getScriptContextType):
11485         (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
11486         (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
11487         (devtools.DebuggerAgent.prototype.requestBacktrace_):
11488         (devtools.DebuggerAgent.sendCommand_):
11489         (devtools.DebuggerAgent.prototype.stepCommand_):
11490         (devtools.DebuggerAgent.prototype.requestLookup_):
11491         (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
11492         (devtools.DebuggerAgent.prototype.setContextId_):
11493         (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
11494         (devtools.DebuggerAgent.prototype.handleBreakEvent_):
11495         (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
11496         (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
11497         (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
11498         (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
11499         (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
11500         (devtools.DebuggerAgent.prototype.addScriptInfo_):
11501         (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
11502         (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
11503         (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
11504         (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
11505         (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
11506         (devtools.DebuggerAgent.prototype.formatCallFrame_):
11507         (devtools.DebuggerAgent.formatObjectProperties_):
11508         (devtools.DebuggerAgent.propertiesToProxies_):
11509         (devtools.DebuggerAgent.formatObjectProxy_):
11510         (devtools.DebuggerAgent.webkitToV8LineNumber_):
11511         (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
11512         (devtools.ScriptInfo):
11513         (devtools.ScriptInfo.prototype.getLineOffset):
11514         (devtools.ScriptInfo.prototype.getContextType):
11515         (devtools.ScriptInfo.prototype.getUrl):
11516         (devtools.ScriptInfo.prototype.isUnresolved):
11517         (devtools.ScriptInfo.prototype.getBreakpointInfo):
11518         (devtools.ScriptInfo.prototype.addBreakpointInfo):
11519         (devtools.ScriptInfo.prototype.removeBreakpointInfo):
11520         (devtools.BreakpointInfo):
11521         (devtools.BreakpointInfo.prototype.getLine):
11522         (devtools.BreakpointInfo.prototype.getV8Id):
11523         (devtools.BreakpointInfo.prototype.setV8Id):
11524         (devtools.BreakpointInfo.prototype.markAsRemoved):
11525         (devtools.BreakpointInfo.prototype.isRemoved):
11526         (devtools.CallFrame):
11527         (devtools.CallFrame.prototype.evaluate_):
11528         (devtools.DebugCommand):
11529         (devtools.DebugCommand.prototype.getSequenceNumber):
11530         (devtools.DebugCommand.prototype.toJSONProtocol):
11531         (devtools.DebuggerMessage):
11532         (devtools.DebuggerMessage.prototype.getType):
11533         (devtools.DebuggerMessage.prototype.getEvent):
11534         (devtools.DebuggerMessage.prototype.getCommand):
11535         (devtools.DebuggerMessage.prototype.getRequestSeq):
11536         (devtools.DebuggerMessage.prototype.isRunning):
11537         (devtools.DebuggerMessage.prototype.isSuccess):
11538         (devtools.DebuggerMessage.prototype.getMessage):
11539         (devtools.DebuggerMessage.prototype.getBody):
11540         (devtools.DebuggerMessage.prototype.lookup):
11541         * src/js/DevTools.js: Added.
11542         (devtools.dispatch):
11543         (devtools.ToolsAgent):
11544         (devtools.ToolsAgent.prototype.reset):
11545         (devtools.ToolsAgent.prototype.evaluateJavaScript):
11546         (devtools.ToolsAgent.prototype.getDebuggerAgent):
11547         (devtools.ToolsAgent.prototype.getProfilerAgent):
11548         (devtools.ToolsAgent.prototype.frameNavigate_):
11549         (devtools.ToolsAgent.prototype.dispatchOnClient_):
11550         (devtools.ToolsAgent.prototype.evaluate):
11551         (WebInspector.setResourcesPanelEnabled):
11552         (debugPrint):
11553         (devtools):
11554         (WebInspector.loaded):
11555         ():
11556         (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
11557         (WebInspector.ScriptView.prototype.didResolveScriptSource_):
11558         (WebInspector.UnresolvedPropertyValue):
11559         (WebInspector.UIString):
11560         (WebInspector.resourceTrackingWasEnabled):
11561         (WebInspector.resourceTrackingWasDisabled):
11562         (WebInspector.TestController.prototype.runAfterPendingDispatches):
11563         (WebInspector.queuesAreEmpty):
11564         (WebInspector.pausedScript):
11565         * src/js/DevToolsHostStub.js: Added.
11566         (.RemoteDebuggerAgentStub):
11567         (.RemoteDebuggerAgentStub.prototype.getContextId):
11568         (.RemoteProfilerAgentStub):
11569         (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
11570         (.RemoteProfilerAgentStub.prototype.getLogLines):
11571         (.RemoteToolsAgentStub):
11572         (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
11573         (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
11574         (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
11575         (.ProfilerStubHelper):
11576         (.ProfilerStubHelper.GetInstance):
11577         (.ProfilerStubHelper.prototype.StopProfiling):
11578         (.ProfilerStubHelper.prototype.StartProfiling):
11579         (.ProfilerStubHelper.prototype.getActiveProfilerModules):
11580         (.ProfilerStubHelper.prototype.getLogLines):
11581         (.RemoteDebuggerCommandExecutorStub):
11582         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
11583         (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
11584         (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
11585         (.DevToolsHostStub):
11586         (.DevToolsHostStub.prototype.reset):
11587         (.DevToolsHostStub.prototype.setting):
11588         (.DevToolsHostStub.prototype.setSetting):
11589         * src/js/HeapProfilerPanel.js: Added.
11590         (WebInspector.ProfilesPanel.prototype.addSnapshot):
11591         (WebInspector.HeapSnapshotView):
11592         (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
11593         (WebInspector.HeapSnapshotView.prototype.get profile):
11594         (WebInspector.HeapSnapshotView.prototype.set profile):
11595         (WebInspector.HeapSnapshotView.prototype.show):
11596         (WebInspector.HeapSnapshotView.prototype.hide):
11597         (WebInspector.HeapSnapshotView.prototype.resize):
11598         (WebInspector.HeapSnapshotView.prototype.refresh):
11599         (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
11600         (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
11601         (WebInspector.HeapSnapshotView.prototype.searchCanceled):
11602         (WebInspector.HeapSnapshotView.prototype.performSearch):
11603         (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
11604         (WebInspector.HeapSnapshotView.prototype._changeBase):
11605         (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
11606         (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
11607         (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
11608         (WebInspector.HeapSnapshotView.prototype._percentClicked):
11609         (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
11610         (WebInspector.HeapSnapshotView.prototype._sortData):
11611         (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
11612         (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
11613         (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
11614         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
11615         (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
11616         (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
11617         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
11618         (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
11619         (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
11620         (WebInspector.HeapSummaryCalculator):
11621         (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
11622         (WebInspector.HeapSummaryCalculator.prototype.formatValue):
11623         (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
11624         (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
11625         (WebInspector.HeapSummaryCountCalculator):
11626         (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
11627         (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
11628         (WebInspector.HeapSummarySizeCalculator):
11629         (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
11630         (WebInspector.HeapSnapshotSidebarTreeElement):
11631         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
11632         (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
11633         (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
11634         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
11635         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
11636         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
11637         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
11638         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
11639         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
11640         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
11641         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
11642         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
11643         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
11644         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
11645         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
11646         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
11647         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
11648         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
11649         (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
11650         (WebInspector.HeapSnapshotDataGridNode):
11651         (WebInspector.HeapSnapshotDataGridList):
11652         (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
11653         (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
11654         (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
11655         (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
11656         (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
11657         (WebInspector.HeapSnapshotDataGridList.propertyComparator):
11658         (WebInspector.HeapSnapshotDataGridRetainerNode):
11659         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
11660         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
11661         (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
11662         (WebInspector.HeapSnapshotProfileType):
11663         (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
11664         (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
11665         (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
11666         (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
11667         (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
11668         (WebInspector.HeapSnapshotProfileType.prototype.createView):
11669         ():
11670         * src/js/InjectDispatch.js: Added.
11671         (InspectorControllerDispatcher.dispatch):
11672         (ApuAgentDispatcher.dispatchToApu):
11673         (dispatch):
11674         (devtools):
11675         * src/js/InspectorControllerImpl.js: Added.
11676         (devtools.InspectorBackendImpl):
11677         (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
11678         (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
11679         (devtools.InspectorBackendImpl.prototype.profilerEnabled):
11680         (devtools.InspectorBackendImpl.prototype.addBreakpoint):
11681         (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
11682         (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
11683         (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
11684         (devtools.InspectorBackendImpl.prototype.resumeDebugger):
11685         (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
11686         (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
11687         (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
11688         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
11689         (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
11690         (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
11691         (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
11692         (devtools.InspectorBackendImpl.prototype.startProfiling):
11693         (devtools.InspectorBackendImpl.prototype.stopProfiling):
11694         (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
11695         (devtools.InspectorBackendImpl.prototype.addFullProfile):
11696         (devtools.InspectorBackendImpl.prototype.getProfile):
11697         (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
11698         (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
11699         (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
11700         (devtools.InspectorBackendImpl.prototype.callInspectorController_):
11701         * src/js/ProfilerAgent.js: Added.
11702         (devtools.ProfilerAgent):
11703         (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
11704         (devtools.ProfilerAgent.prototype.initializeProfiling):
11705         (devtools.ProfilerAgent.prototype.startProfiling):
11706         (devtools.ProfilerAgent.prototype.stopProfiling):
11707         (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
11708         (devtools.ProfilerAgent.prototype.didGetLogLines_):
11709         * src/js/ProfilerProcessor.js: Added.
11710         (devtools.profiler.WebKitViewBuilder):
11711         (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
11712         (devtools.profiler.WebKitViewNode):
11713         (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
11714         (devtools.profiler.JsProfile):
11715         (devtools.profiler.JsProfile.prototype.skipThisFunction):
11716         (devtools.profiler.Processor):
11717         (devtools.profiler.Processor.prototype.printError):
11718         (devtools.profiler.Processor.prototype.skipDispatch):
11719         (devtools.profiler.Processor.prototype.setCallbacks):
11720         (devtools.profiler.Processor.prototype.setNewProfileCallback):
11721         (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
11722         (devtools.profiler.Processor.prototype.processProfiler_):
11723         (devtools.profiler.Processor.prototype.processCodeCreation_):
11724         (devtools.profiler.Processor.prototype.processCodeMove_):
11725         (devtools.profiler.Processor.prototype.processCodeDelete_):
11726         (devtools.profiler.Processor.prototype.processFunctionCreation_):
11727         (devtools.profiler.Processor.prototype.processFunctionMove_):
11728         (devtools.profiler.Processor.prototype.processFunctionDelete_):
11729         (devtools.profiler.Processor.prototype.processTick_):
11730         (devtools.profiler.Processor.prototype.processTickV2_):
11731         (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
11732         (devtools.profiler.Processor.prototype.processHeapSampleStats_):
11733         (devtools.profiler.Processor.prototype.processHeapSampleItem_):
11734         (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
11735         (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
11736         (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
11737         (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
11738         (devtools.profiler.Processor.prototype.createProfileForView):
11739         * src/js/Tests.js: Added.
11740         (.TestSuite):
11741         (.TestSuite.prototype.fail):
11742         (.TestSuite.prototype.assertEquals):
11743         (.TestSuite.prototype.assertTrue):
11744         (.TestSuite.prototype.assertContains):
11745         (.TestSuite.prototype.takeControl):
11746         (.TestSuite.prototype.releaseControl):
11747         (.TestSuite.prototype.reportOk_):
11748         (.TestSuite.prototype.reportFailure_):
11749         (.TestSuite.prototype.runTest):
11750         (.TestSuite.prototype.showPanel):
11751         (.TestSuite.prototype.addSniffer.receiver.methodName):
11752         (.TestSuite.prototype.addSniffer):
11753         (.TestSuite.prototype.testHostIsPresent):
11754         (.TestSuite.prototype.testElementsTreeRoot):
11755         (.TestSuite.prototype.testMainResource):
11756         (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
11757         (.TestSuite.prototype.testResourceHeaders):
11758         (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
11759         (.TestSuite.prototype.testCachedResourceMimeType):
11760         (.TestSuite.prototype.testProfilerTab):
11761         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
11762         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
11763         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
11764         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
11765         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
11766         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
11767         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
11768         (.TestSuite.prototype.testPauseOnException):
11769         (.TestSuite.prototype.testPauseWhenLoadingDevTools):
11770         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
11771         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
11772         (.TestSuite.prototype.testPauseWhenScriptIsRunning):
11773         (.TestSuite.prototype.optionsToString_):
11774         (.TestSuite.prototype.evaluateInConsole_):
11775         (.TestSuite.prototype.waitForSetBreakpointResponse_):
11776         (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
11777         (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
11778         (.TestSuite.prototype.testCompletionOnPause):
11779         (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
11780         (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
11781         (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
11782         (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
11783         (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
11784         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
11785         (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
11786         (.TestSuite.prototype._checkExecutionLine):
11787         (.TestSuite.prototype._scriptsAreParsed):
11788         (.TestSuite.prototype._waitForScriptPause):
11789         (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
11790         (.TestSuite.prototype._checkSourceFrameWhenLoaded):
11791         (.TestSuite.prototype._performSteps.doNextAction):
11792         (.TestSuite.prototype._performSteps):
11793         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
11794         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
11795         (.TestSuite.prototype._waitUntilScriptsAreParsed):
11796         (.TestSuite.prototype._executeFunctionForStepTest):
11797         (.TestSuite.prototype.testStepOver):
11798         (.TestSuite.prototype.testStepOut):
11799         (.TestSuite.prototype.testStepIn):
11800         (.TestSuite.prototype._evaluateXpath):
11801         (.TestSuite.prototype._findNode):
11802         (.TestSuite.prototype._findText):
11803         (.TestSuite.prototype._nodeIterator):
11804         (.TestSuite.prototype._checkScopeSectionDiv):
11805         (.TestSuite.prototype._expandScopeSections.updateListener):
11806         (.TestSuite.prototype._expandScopeSections):
11807         (.TestSuite.prototype.testExpandScope):
11808         (.TestSuite.prototype.testExpandScope.examineScopes):
11809         (.TestSuite.prototype._findChildProperty):
11810         (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
11811         (.TestSuite.prototype._hookGetPropertiesCallback.try):
11812         (.TestSuite.prototype._hookGetPropertiesCallback):
11813         (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
11814         (.TestSuite.prototype.testDebugIntrinsicProperties):
11815         (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
11816         (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
11817         (.TestSuite.createKeyEvent):
11818         (.TestSuite.prototype.testConsoleLog.assertNext):
11819         (.TestSuite.prototype.testConsoleLog):
11820         (.TestSuite.prototype.testEvalGlobal.initEval):
11821         (.TestSuite.prototype.testEvalGlobal):
11822         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
11823         (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
11824         (.uiTests.runAllTests):
11825         (.uiTests.runTest):
11826
11827 2010-02-09  Avi Drissman  <avi@chromium.org>
11828
11829         Reviewed by David Levin.
11830
11831         Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy
11832         https://bugs.webkit.org/show_bug.cgi?id=34615
11833
11834         * src/WebViewImpl.cpp:
11835         (WebKit::WebViewImpl::keyEventDefault):
11836
11837 2010-02-08  Evan Martin  <evan@chromium.org>
11838
11839         dlopen() knows how to search the library search path, so just rely on
11840         it.  While I'm at it, print out the dlerror() error message on failure.
11841
11842         [chromium] webgl shouldn't hard code library search path
11843         https://bugs.webkit.org/show_bug.cgi?id=34659
11844
11845         * src/GraphicsContext3D.cpp:
11846         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
11847         (WebCore::GraphicsContext3DInternal::GLConnection::create):
11848
11849 2010-02-08  Charlie Reis  <creis@chromium.org>
11850
11851         Reviewed by Darin Adler.
11852
11853         onbeforeunload not called at window close + frame or iframe focused
11854         https://bugs.webkit.org/show_bug.cgi?id=27481
11855         http://code.google.com/p/chromium/issues/detail?id=32615
11856         http://code.google.com/p/chromium/issues/detail?id=17157
11857
11858         Chromium and WebKit on Windows will now fire beforeunload handlers
11859         even if an inner frame is focused.
11860
11861         Layout tests aren't able to test this bug, since it requires closing
11862         the actual browser window, not calling window.close().  Instead,
11863         test with WebCore/manual-tests/onbeforeunload-focused-iframe.html.
11864
11865         * src/WebViewImpl.cpp:
11866         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
11867
11868 2010-02-08  Pavel Feldman  <pfeldman@chromium.org>
11869
11870         Reviewed by David Levin.
11871
11872         WebKit/chromium: Custom context menu does not work in inspector.
11873         https://bugs.webkit.org/show_bug.cgi?id=34711
11874
11875         * src/WebDevToolsFrontendImpl.cpp:
11876         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
11877
11878 2010-02-08  Nate Chapin  <japhet@chromium.org>
11879
11880         Reviewed by Darin Fisher.
11881
11882         Check that the index passed into BackForwardListClientImpl::itemAtIndex()
11883         is valid, and return null if it isn't.
11884
11885         https://bugs.webkit.org/show_bug.cgi?id=34722
11886
11887         * src/BackForwardListClientImpl.cpp:
11888         (WebKit::BackForwardListClientImpl::itemAtIndex):
11889
11890 2010-02-05  Dumitru Daniliuc  <dumi@chromium.org>
11891
11892         Reviewed by Jeremy Orlow.
11893
11894         Adding a way to close all database handles pointing to a certain
11895         database as soon as possible.
11896         https://bugs.webkit.org/show_bug.cgi?id=34619
11897
11898         * public/WebDatabase.h:
11899         * src/WebDatabase.cpp:
11900         (WebKit::WebDatabase::closeDatabaseImmediately):
11901
11902 2010-02-08  Dirk Schulze  <krit@webkit.org>
11903
11904         Reviewed by Nikolas Zimmermann.
11905
11906         Add back an AffineTransform class for use by SVG
11907         https://bugs.webkit.org/show_bug.cgi?id=33750
11908
11909         Use AffineTransform instead of TransformationMatrix here.
11910
11911         * tests/TransparencyWinTest.cpp:
11912         (WebCore::TEST):
11913
11914 2010-02-07  Jian Li  <jianli@chromium.org>
11915
11916         Reviewed by Darin Fisher.
11917
11918         [chromium] Change chromium interface to handle DownloadURL format.
11919         https://bugs.webkit.org/show_bug.cgi?id=34655
11920
11921         * public/WebDragData.h:
11922         * src/WebDragData.cpp:
11923         (WebKit::WebDragData::downloadMetadata):
11924         (WebKit::WebDragData::setDownloadMetadata):
11925
11926 2010-02-06  Dimitri Glazkov  <dglazkov@chromium.org>
11927
11928         No review, rolling out r54364.
11929         http://trac.webkit.org/changeset/54364
11930         https://bugs.webkit.org/show_bug.cgi?id=34464
11931
11932         Introduced asserts in layout tests, needs more testing
11933         locally.
11934
11935         * public/WebViewClient.h:
11936         * src/ChromeClientImpl.cpp:
11937         * src/ChromeClientImpl.h:
11938
11939 2010-02-05  James Hawkins  <jhawkins@chromium.org>
11940
11941         Reviewed by David Levin.
11942
11943         [Chromium] Rename autocomplete* to suggestions* to prepare for the
11944         refactoring of AutocompletePopupMenuClient.
11945
11946         https://bugs.webkit.org/show_bug.cgi?id=34664
11947
11948         * public/WebView.h:
11949         * src/AutocompletePopupMenuClient.cpp:
11950         (WebKit::AutocompletePopupMenuClient::popupDidHide):
11951         * src/EditorClientImpl.cpp:
11952         (WebKit::EditorClientImpl::textFieldDidEndEditing):
11953         (WebKit::EditorClientImpl::doAutofill):
11954         * src/WebViewImpl.cpp:
11955         (WebKit::):
11956         (WebKit::WebViewImpl::WebViewImpl):
11957         (WebKit::WebViewImpl::mouseDown):
11958         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
11959         (WebKit::WebViewImpl::setFocus):
11960         (WebKit::WebViewImpl::applyAutofillSuggestions):
11961         (WebKit::WebViewImpl::hideAutofillPopup):
11962         (WebKit::WebViewImpl::hideSuggestionsPopup):
11963         (WebKit::WebViewImpl::refreshSuggestionsPopup):
11964         * src/WebViewImpl.h:
11965         (WebKit::WebViewImpl::suggestionsPopupDidHide):
11966
11967 2010-02-05  James Hawkins  <jhawkins@chromium.org>
11968
11969         Reviewed by David Levin.
11970
11971         [Chromium] Remove an unused forward declaration in WebKitClient.h.
11972
11973         https://bugs.webkit.org/show_bug.cgi?id=34622
11974
11975         * public/WebKitClient.h:
11976
11977 2010-02-05  James Hawkins  <jhawkins@chromium.org>
11978
11979         Reviewed by Darin Fisher.
11980
11981         Implement WebInputElement::isActivatedSubmit().
11982
11983         https://bugs.webkit.org/show_bug.cgi?id=34623
11984
11985         * public/WebInputElement.h:
11986         * src/WebInputElement.cpp:
11987         (WebKit::WebInputElement::isActivatedSubmit):
11988
11989 2010-02-05  Nate Chapin  <japhet@chromium.org>
11990
11991         Reviewed by Dimitri Glazkov.
11992
11993         Update code for getting a v8::FunctionTemplate.
11994
11995         https://bugs.webkit.org/show_bug.cgi?id=34606
11996
11997         * src/WebDevToolsAgentImpl.cpp:
11998         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
11999
12000 2010-02-05  Mikhail Naganov  <mnaganov@chromium.org>
12001
12002         Reviewed by Pavel Feldman.
12003
12004         Enable JAVASCRIPT_DEBUGGER in chromium port.
12005
12006         https://bugs.webkit.org/show_bug.cgi?id=34638
12007
12008         * features.gypi:
12009
12010 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
12011
12012         Reviewed by Darin Fisher.
12013
12014         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin
12015         https://bugs.webkit.org/show_bug.cgi?id=34509
12016
12017         Resubmit: The previous commit (r54333) was rolled back.
12018
12019         * WebKit.gyp:
12020         * tests/TransparencyWinTest.cpp: Added.
12021         (WebCore::RECTToFloatRect):
12022         (WebCore::drawNativeRect):
12023         (WebCore::getPixelAt):
12024         (WebCore::clearTopLayerAlphaChannel):
12025         (WebCore::clearTopLayerAlphaPixel):
12026         (WebCore::operator<<):
12027         (WebCore::TEST):
12028         * tests/UniscribeHelperTest.cpp: Added.
12029         (WebCore::UniscribeTest::UniscribeTest):
12030         (WebCore::UniscribeTest::MakeFont):
12031         (WebCore::UniscribeTest::SetUp):
12032         (WebCore::UniscribeTest::TearDown):
12033         (TEST_F):
12034
12035 2010-02-04  Drew Wilson  <atwilson@chromium.org>
12036
12037         Reviewed by David Levin.
12038
12039         WorkerContext.close() does not work in the chromium port
12040         https://bugs.webkit.org/show_bug.cgi?id=34551
12041
12042         Test: Adding new downstream test.
12043
12044         * src/WebWorkerBase.cpp:
12045         (WebKit::WebWorkerBase::workerContextClosedTask):
12046         Now shuts down the worker thread when WorkerContext::close() is invoked.
12047
12048 2010-02-04  Chris Guillory  <chris.guillory@google.com>
12049
12050         Reviewed by Darin Fisher.
12051
12052         [Chromium] Add function for AccessibilityObject state change notifications.
12053         
12054         https://bugs.webkit.org/show_bug.cgi?id=34464
12055
12056         * public/WebViewClient.h:
12057         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
12058         * src/ChromeClientImpl.cpp:
12059         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
12060         * src/ChromeClientImpl.h:
12061
12062 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
12063
12064         Reviewed by Darin Fisher.
12065
12066         Update comments to better document the possible values of the
12067         writing direction menu state variables.
12068
12069         * public/WebContextMenuData.h:
12070
12071 2010-02-04  Nate Chapin  <japhet@chromium.org>
12072
12073         Reviewed by Dimitri Glazkov.
12074
12075         Remove references to V8Custom.
12076
12077         https://bugs.webkit.org/show_bug.cgi?id=32638
12078
12079         * src/DebuggerAgentImpl.cpp:
12080         * src/WebDevToolsFrontendImpl.cpp:
12081
12082 2010-02-04  Yury Semikhatsky  <yurys@chromium.org>
12083
12084         Unreviewed. Revert 54333 which broke Chromium build.
12085
12086         * WebKit.gyp:
12087         * tests/TransparencyWinTest.cpp: Removed.
12088         * tests/UniscribeHelperTest.cpp: Removed.
12089
12090 2010-02-04  Yaar Schnitman  <yaar@chromium.org>
12091
12092         Reviewed by Darin Fisher.
12093
12094         Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
12095         https://bugs.webkit.org/show_bug.cgi?id=34509
12096
12097         * WebKit.gyp:
12098         * tests/TransparencyWinTest.cpp: Added.
12099         (WebCore::RECTToFloatRect):
12100         (WebCore::drawNativeRect):
12101         (WebCore::getPixelAt):
12102         (WebCore::clearTopLayerAlphaChannel):
12103         (WebCore::clearTopLayerAlphaPixel):
12104         (WebCore::operator<<):
12105         (WebCore::TEST):
12106         * tests/UniscribeHelperTest.cpp: Added.
12107         (WebCore::UniscribeTest::UniscribeTest):
12108         (WebCore::UniscribeTest::MakeFont):
12109         (WebCore::UniscribeTest::SetUp):
12110         (WebCore::UniscribeTest::TearDown):
12111         (WebCore::TEST_F):
12112
12113 2010-02-04  Jeremy Moskovich  <jeremy@chromium.org>
12114
12115         Reviewed by David Levin.
12116
12117         [Chromium] WebKit side of "Writing direction" context menu on OS X.
12118         https://bugs.webkit.org/show_bug.cgi?id=34524
12119
12120         * public/WebContextMenuData.h:
12121         (WebKit::WebContextMenuData::):
12122         * src/ContextMenuClientImpl.cpp:
12123         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
12124
12125 2010-02-03  Drew Wilson  <atwilson@chromium.org>
12126
12127         Reviewed by Alexey Proskuryakov.
12128
12129         SharedWorkerScriptLoader should not be an ActiveDOMObject
12130         https://bugs.webkit.org/show_bug.cgi?id=34513
12131
12132         * src/SharedWorkerRepository.cpp:
12133         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
12134         Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
12135         (WebCore::SharedWorkerScriptLoader::parentContext):
12136         (WebCore::pendingLoaders):
12137         Now we manually track pending loads so we can shut them down when the parent context shuts down.
12138         (WebCore::SharedWorkerScriptLoader::contextDetached):
12139         Shuts down/frees any pending worker loads.
12140         (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
12141         Marks the SharedWorker object as not having pending activity if there was a load active (handles case where load was pending when parent document exits).
12142         (WebCore::SharedWorkerScriptLoader::load):
12143         (WebCore::SharedWorkerRepository::documentDetached):
12144         Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
12145
12146 2010-02-03  Alexander Pavlov  <apavlov@chromium.org>
12147
12148         Reviewed by Timothy Hatcher.
12149
12150         [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
12151         https://bugs.webkit.org/show_bug.cgi?id=34523
12152
12153         * src/WebDevToolsFrontendImpl.cpp:
12154         (WebKit::WebDevToolsFrontendImpl::jsPlatform):
12155
12156 2010-02-02  Joel Stanley  <joel@jms.id.au>
12157
12158         Reviewed by David Levin.
12159
12160         [Chromium] Add API method for setting caret blink frequency.
12161         https://bugs.webkit.org/show_bug.cgi?id=31704
12162
12163         This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
12164         to be called Chromium's API.  The API is linux-only as it is currently
12165         the only port to implement RenderTheme::setCaretBlinkInterval.
12166
12167         * WebKit.gyp:  Add WebRenderTheme.{h,cpp}
12168         * public/linux/WebRenderTheme.h: Added.
12169         * src/linux/WebRenderTheme.cpp: Added.
12170         (WebKit::setCaretBlinkInterval): Exposed API
12171
12172 2010-02-02  Shinichiro Hamaji  <hamaji@chromium.org>
12173
12174         Reviewed by Dimitri Glazkov.
12175
12176         [Chromium] Implement WebFrameImpl::pageNumberForElementById
12177         https://bugs.webkit.org/show_bug.cgi?id=34471
12178
12179         * public/WebFrame.h:
12180         * src/WebFrameImpl.cpp:
12181         (WebKit::WebFrameImpl::pageNumberForElementById):
12182         * src/WebFrameImpl.h:
12183
12184 2010-02-02  Yury Semikhatsky  <yurys@chromium.org>
12185
12186         Reviewed by Pavel Feldman.
12187
12188         Upstream DevTools code.
12189
12190         https://bugs.webkit.org/show_bug.cgi?id=34326
12191
12192         * WebKit.gyp:
12193         * src/APUAgentDelegate.h: Added.
12194         * src/BoundObject.cpp: Added.
12195         (WebKit::BoundObject::BoundObject):
12196         (WebKit::BoundObject::~BoundObject):
12197         (WebKit::BoundObject::addProtoFunction):
12198         (WebKit::BoundObject::build):
12199         * src/BoundObject.h: Added.
12200         * src/DebuggerAgent.h: Added.
12201         * src/DebuggerAgentImpl.cpp: Added.
12202         (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
12203         (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl):
12204         (WebKit::DebuggerAgentImpl::getContextId):
12205         (WebKit::DebuggerAgentImpl::debuggerOutput):
12206         (WebKit::DebuggerAgentImpl::createUtilityContext):
12207         (WebKit::DebuggerAgentImpl::executeUtilityFunction):
12208         (WebKit::DebuggerAgentImpl::executeVoidJavaScript):
12209         (WebKit::DebuggerAgentImpl::page):
12210         * src/DebuggerAgentImpl.h: Added.
12211         (WebKit::DebuggerAgentImpl::setAutoContinueOnException):
12212         (WebKit::DebuggerAgentImpl::autoContinueOnException):
12213         (WebKit::DebuggerAgentImpl::webdevtoolsAgent):
12214         (WebKit::DebuggerAgentImpl::webView):
12215         * src/DebuggerAgentManager.cpp: Added.
12216         (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
12217         (WebKit::DebuggerAgentManager::debugAttach):
12218         (WebKit::DebuggerAgentManager::debugDetach):
12219         (WebKit::DebuggerAgentManager::onV8DebugMessage):
12220         (WebKit::DebuggerAgentManager::pauseScript):
12221         (WebKit::DebuggerAgentManager::executeDebuggerCommand):
12222         (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler):
12223         (WebKit::DebuggerAgentManager::setHostId):
12224         (WebKit::DebuggerAgentManager::onWebViewClosed):
12225         (WebKit::DebuggerAgentManager::onNavigate):
12226         (WebKit::DebuggerAgentManager::sendCommandToV8):
12227         (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
12228         (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context):
12229         (WebKit::DebuggerAgentManager::debuggerAgentForHostId):
12230         * src/DebuggerAgentManager.h: Added.
12231         (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope):
12232         (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope):
12233         * src/DevToolsRPC.h: Added.
12234         (WebKit::):
12235         (WebKit::DevToolsRPC::Delegate::Delegate):
12236         (WebKit::DevToolsRPC::Delegate::~Delegate):
12237         (WebKit::DevToolsRPC::DevToolsRPC):
12238         (WebKit::DevToolsRPC::~DevToolsRPC):
12239         (WebKit::DevToolsRPC::sendRpcMessage):
12240         * src/DevToolsRPCJS.h: Added.
12241         * src/ProfilerAgent.h: Added.
12242         * src/ProfilerAgentImpl.cpp: Added.
12243         (WebKit::ProfilerAgentImpl::getActiveProfilerModules):
12244         (WebKit::ProfilerAgentImpl::getLogLines):
12245         * src/ProfilerAgentImpl.h: Added.
12246         (WebKit::ProfilerAgentImpl::ProfilerAgentImpl):
12247         (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl):
12248         * src/ToolsAgent.h: Added.
12249         * src/WebDevToolsAgentImpl.cpp: Added.
12250         (WebKit::):
12251         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
12252         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
12253         (WebKit::WebDevToolsAgentImpl::disposeUtilityContext):
12254         (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary):
12255         (WebKit::WebDevToolsAgentImpl::attach):
12256         (WebKit::WebDevToolsAgentImpl::detach):
12257         (WebKit::WebDevToolsAgentImpl::didNavigate):
12258         (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad):
12259         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
12260         (WebKit::WebDevToolsAgentImpl::forceRepaint):
12261         (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController):
12262         (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript):
12263         (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript):
12264         (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend):
12265         (WebKit::WebDevToolsAgentImpl::inspectElementAt):
12266         (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
12267         (WebKit::WebDevToolsAgentImpl::sendRpcMessage):
12268         (WebKit::WebDevToolsAgentImpl::compileUtilityScripts):
12269         (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost):
12270         (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper):
12271         (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy):
12272         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
12273         (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
12274         (WebKit::WebDevToolsAgentImpl::jsDispatchToApu):
12275         (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf):
12276         (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged):
12277         (WebKit::WebDevToolsAgentImpl::inspectorController):
12278         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
12279         (WebKit::WebDevToolsAgentImpl::willSendRequest):
12280         (WebKit::WebDevToolsAgentImpl::didReceiveData):
12281         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
12282         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
12283         (WebKit::WebDevToolsAgentImpl::didFailLoading):
12284         (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector):
12285         (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled):
12286         (WebKit::WebDevToolsAgent::create):
12287         (WebKit::WebDevToolsAgent::executeDebuggerCommand):
12288         (WebKit::WebDevToolsAgent::debuggerPauseScript):
12289         (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler):
12290         (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread):
12291         * src/WebDevToolsAgentImpl.h: Added.
12292         (WebKit::WebDevToolsAgentImpl::hostId):
12293         * src/WebDevToolsFrontendImpl.cpp: Added.
12294         (WebKit::ToV8String):
12295         (WebKit::WebDevToolsFrontend::create):
12296         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
12297         (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl):
12298         (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent):
12299         (WebKit::WebDevToolsFrontendImpl::executeScript):
12300         (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector):
12301         (WebKit::WebDevToolsFrontendImpl::sendRpcMessage):
12302         (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected):
12303         (WebKit::WebDevToolsFrontendImpl::contextMenuCleared):
12304         (WebKit::WebDevToolsFrontendImpl::jsLoaded):
12305         (WebKit::WebDevToolsFrontendImpl::jsPlatform):
12306         (WebKit::WebDevToolsFrontendImpl::jsPort):
12307         (WebKit::WebDevToolsFrontendImpl::jsCopyText):
12308         (WebKit::WebDevToolsFrontendImpl::jsActivateWindow):
12309         (WebKit::WebDevToolsFrontendImpl::jsCloseWindow):
12310         (WebKit::WebDevToolsFrontendImpl::jsDockWindow):
12311         (WebKit::WebDevToolsFrontendImpl::jsUndockWindow):
12312         (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL):
12313         (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels):
12314         (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand):
12315         (WebKit::WebDevToolsFrontendImpl::jsSetting):
12316         (WebKit::WebDevToolsFrontendImpl::jsSetSetting):
12317         (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript):
12318         (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading):
12319         (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu):
12320         * src/WebDevToolsFrontendImpl.h: Added.
12321         (WebKit::WebDevToolsFrontendImpl::MenuProvider::create):
12322         (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider):
12323         (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect):
12324         (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu):
12325         (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected):
12326         (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared):
12327         (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider):
12328
12329 2010-02-01  Jeremy Orlow  <jorlow@chromium.org>
12330
12331         Reviewed by Darin Fisher.
12332
12333         [Chromium] Add WebSecurityOrigin::createFromString factory
12334         https://bugs.webkit.org/show_bug.cgi?id=34460
12335
12336         * public/WebSecurityOrigin.h:
12337         * src/WebSecurityOrigin.cpp:
12338         (WebKit::WebSecurityOrigin::createFromString):
12339
12340 2010-02-02  Kent Tamura  <tkent@chromium.org>
12341
12342         Reviewed by Darin Fisher.
12343
12344         [Chromium] Should not select a word on right-click.
12345         https://bugs.webkit.org/show_bug.cgi?id=33364
12346
12347         For non-Mac platforms, do not select a word around the caret when
12348         a context menu is opening. This behavior is not common in non-Mac
12349         platforms, and it prevents pasting with a context menu.
12350
12351         In order that the spell checker works without the selection, we
12352         introduce WebFrame::selectWordAroundCaret(). We can replace a word
12353         around the caret with selectWordAroundCaret() + replaceSelection().
12354
12355         * public/WebFrame.h: Add pure selectWordAroundCaret() declaration.
12356         * src/ContextMenuClientImpl.cpp:
12357         (WebKit::selectMisspelledWord): Move word-selection code to
12358         WebFrameImpl::selectWordAroundPosition(), and clear the selection
12359         on non-Mac.
12360         * src/WebFrameImpl.cpp:
12361         (WebKit::WebFrameImpl::selectWordAroundPosition):
12362         (WebKit::WebFrameImpl::selectWordAroundCaret):
12363         * src/WebFrameImpl.h: Add selectWordAroundCaret() declaration.
12364
12365 2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
12366
12367         Unreviewed attempt to fix the broken build.
12368
12369         This was introduced in http://trac.webkit.org/changeset/54182
12370
12371         * src/WebViewImpl.cpp:
12372         (WebKit::WebViewImpl::performMediaPlayerAction):
12373
12374 2010-01-27  Matt Perry  <mpcomplete@chromium.org>
12375
12376         Reviewed by Eric Seidel.
12377
12378         Add support for addUserScript to chromium port.
12379
12380         * public/WebView.h:
12381         * src/WebViewImpl.cpp:
12382         (WebKit::WebViewImpl::addUserScript):
12383         (WebKit::WebViewImpl::removeAllUserContent):
12384         * src/WebViewImpl.h:
12385
12386 2010-01-29  Philippe Normand  <pnormand@igalia.com>
12387
12388         Reviewed by Eric Carlson.
12389
12390         [GTK] set playbin mute property depending on volume value
12391         https://bugs.webkit.org/show_bug.cgi?id=31586
12392
12393         New API in MediaPlayer for mute control
12394
12395         * public/WebMediaPlayerClient.h:
12396         * src/WebMediaPlayerClientImpl.cpp:
12397         (WebKit::WebMediaPlayerClientImpl::volumeChanged):
12398         (WebKit::WebMediaPlayerClientImpl::muteChanged):
12399         * src/WebMediaPlayerClientImpl.h:
12400
12401 2010-01-31  Kent Tamura  <tkent@chromium.org>
12402
12403         Reviewed by Jeremy Orlow.
12404
12405         [Chromium] Fix a bug that a selected word is not recognized as a
12406         spell-check source.
12407         https://bugs.webkit.org/show_bug.cgi?id=33660
12408
12409         * src/ContextMenuClientImpl.cpp:
12410         (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check
12411         the return value of textBreakNext().
12412
12413 2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
12414
12415         Reviewed by Eric Seidel.
12416
12417         [Chromium] Clean up WebStorageArea
12418         https://bugs.webkit.org/show_bug.cgi?id=34353
12419
12420         Get rid of legacy glue code and fix a typo.
12421
12422         * public/WebStorageArea.h:
12423
12424 2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
12425
12426         Reviewed by Dimitri Glazkov.
12427
12428         A first step towards the Indexed Database API
12429         https://bugs.webkit.org/show_bug.cgi?id=34342
12430
12431         Add runtime enable support for Indexed Database API.
12432
12433         * features.gypi:
12434         * public/WebRuntimeFeatures.h:
12435         * src/WebRuntimeFeatures.cpp:
12436         (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
12437         (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
12438
12439 2010-01-29  Yury Semikhatsky  <yurys@chromium.org>
12440
12441         Reviewed by Pavel Feldman.
12442
12443         Add API methods for loading inspector utility scripts.
12444
12445         https://bugs.webkit.org/show_bug.cgi?id=34326
12446
12447         * public/WebDevToolsAgentClient.h:
12448         (WebKit::WebDevToolsAgentClient::injectedScriptSource):
12449         (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource):
12450
12451 2010-01-29  Darin Fisher  <darin@chromium.org>
12452
12453         Reviewed by Adam Barth.
12454
12455         Add FrameLoaderClient::allowImages method to allow the client to
12456         overrule image loading policy on a per frame basis.
12457
12458         https://bugs.webkit.org/show_bug.cgi?id=34225
12459
12460         * public/WebFrameClient.h:
12461         (WebKit::WebFrameClient::allowImages):
12462         * public/WebSettings.h:
12463         * src/FrameLoaderClientImpl.cpp:
12464         (WebKit::FrameLoaderClientImpl::allowImages):
12465         * src/FrameLoaderClientImpl.h:
12466         * src/WebSettingsImpl.cpp:
12467         (WebKit::WebSettingsImpl::setImagesEnabled):
12468         * src/WebSettingsImpl.h:
12469
12470 2010-01-28  Jeremy Orlow  <jorlow@chromium.org>
12471
12472         Reviewed by Darin Fisher.
12473
12474         StorageNamespaceProxy::copy() should be a no-op
12475         https://bugs.webkit.org/show_bug.cgi?id=34298
12476
12477         The comment in the code should make clear why.
12478
12479         * public/WebViewClient.h:
12480         * src/StorageNamespaceProxy.cpp:
12481         (WebCore::StorageNamespaceProxy::copy):
12482
12483 2010-01-28  Michael Nordman  <michaeln@google.com>
12484
12485         Reviewed by Alexey Proskuryakov.
12486
12487         ApplicationCache events should be deferred until after Document onload has fired.
12488         https://bugs.webkit.org/show_bug.cgi?id=29690
12489
12490         * src/ApplicationCacheHost.cpp:
12491         (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
12492         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
12493         (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
12494
12495 2010-01-27  Aaron Boodman  <aa@chromium.org>
12496
12497         Reviewed by Darin Adler.
12498
12499         Send full URL and application id of requesting context to Chromium
12500         when checking notification permissions.
12501
12502         https://bugs.webkit.org/show_bug.cgi?id=34238
12503
12504         * public/WebDocument.h:
12505         * src/WebDocument.cpp:
12506         (WebKit::WebDocument::applicationID):
12507         Implement applicationID() method.
12508
12509         * public/WebNotificationPresenter.h:
12510         * src/NotificationPresenterImpl.cpp:
12511         (WebKit::NotificationPresenterImpl::checkPermission):
12512         * src/NotificationPresenterImpl.h:
12513         Send applicationID and full URL through to Chromium.
12514
12515 2010-01-27  Darin Fisher  <darin@chromium.org>
12516
12517         Reviewed by Pavel Feldman.
12518
12519         Expose HistoryItem::documentSequenceNumber
12520         https://bugs.webkit.org/show_bug.cgi?id=34243
12521
12522         * public/WebHistoryItem.h:
12523         * src/WebHistoryItem.cpp:
12524         (WebKit::WebHistoryItem::documentSequenceNumber):
12525         (WebKit::WebHistoryItem::setDocumentSequenceNumber):
12526
12527 2010-01-26  Darin Fisher  <darin@chromium.org>
12528
12529         Reviewed by David Levin.
12530
12531         Add methods to support running a nested modal loop outside of WebKit.
12532         https://bugs.webkit.org/show_bug.cgi?id=34199
12533
12534         * public/WebView.h:
12535         * src/WebViewImpl.cpp:
12536         (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer
12537         (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer
12538
12539 2010-01-27  Darin Fisher  <darin@chromium.org>
12540
12541         Reviewed by Dimitri Glazkov.
12542
12543         Adding missing WebMutationEvent.cpp file to fix build bustage. 
12544         https://bugs.webkit.org/show_bug.cgi?id=33882
12545
12546         * public/WebMutationEvent.h: Remove unnecessary constructor.
12547         * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h.
12548         * src/WebMutationEvent.cpp: Added.
12549
12550 2010-01-27  Jay Campan  <jcampan@google.com>
12551
12552         Reviewed by Darin Fisher.
12553
12554         Adding EventListeners to the chromium API.
12555
12556         https://bugs.webkit.org/show_bug.cgi?id=33882
12557
12558         * WebKit.gyp:
12559         * public/WebEvent.h: Added.
12560         * public/WebEventListener.h: Added.
12561         * public/WebMutationEvent.h: Added.
12562         * public/WebNode.h:
12563         * public/WebString.h:
12564         (WebKit::operator==):
12565         (WebKit::operator!=):
12566         * src/EventListenerWrapper.cpp: Added.
12567         * src/EventListenerWrapper.h: Added.
12568         * src/WebEvent.cpp: Added.
12569         * src/WebEventListener.cpp: Added.
12570         * src/WebEventListenerPrivate.cpp: Added.
12571         * src/WebEventListenerPrivate.h: Added.
12572         * src/WebNode.cpp:
12573         (WebKit::WebNode::addEventListener):
12574         (WebKit::WebNode::removeEventListener):
12575         * src/WebString.cpp:
12576         (WebKit::WebString::equals):
12577
12578 2010-01-26  Yaar Schnitman  <yaar@chromium.org>
12579
12580         Reviewed by Darin Fisher.
12581
12582         Add KeyboardTest to WebKit API tests
12583         https://bugs.webkit.org/show_bug.cgi?id=34178
12584
12585         * WebKit.gyp:
12586         * tests/KeyboardTest.cpp: Added.
12587
12588 2010-01-22  Jeremy Orlow  <jorlow@chromium.org>
12589
12590         Reviewed by Darin Adler.
12591
12592         Make storage events match the spec.
12593         https://bugs.webkit.org/show_bug.cgi?id=30546
12594
12595         Update the storageEvent algorithm to match the change in WebCore.
12596
12597         * src/StorageAreaProxy.cpp:
12598         (WebCore::StorageAreaProxy::storageEvent):
12599
12600 2010-01-22  Elliot Glaysher  <erg@chromium.org>
12601
12602         Reviewed by David Levin.
12603
12604         Chromium: theme selection colors to match gtk theme
12605         Add functions to RenderThemeChromiumLinux to change the selection color
12606         according to the current GTK+ theme.
12607
12608         Since the change is to the Chromium WebKit API layer, testing is done
12609         in Chromium's test shell (see Chromium side of this patch:
12610         http://codereview.chromium.org/554004)
12611
12612         https://bugs.webkit.org/show_bug.cgi?id=33921
12613
12614         * public/WebView.h: Adds interface to change the selection colors
12615         * src/WebViewImpl.cpp:
12616         (WebKit::WebViewImpl::setSelectionColors): Implements new interface.
12617         * src/WebViewImpl.h:
12618
12619 2010-01-22  Steve VanDeBogart  <vandebo@chromium.org>
12620
12621         Reviewed by David Levin.
12622
12623         Middle clicking the main scroll bars should not trigger a paste event
12624         in Linux chromium.
12625         https://bugs.webkit.org/show_bug.cgi?id=33062
12626
12627         * src/WebViewImpl.cpp:
12628         (WebKit::WebViewImpl::mouseUp):
12629
12630 2010-01-22  Albert J. Wong  <ajwong@chromium.org>
12631
12632         Not reviewed.  backout.
12633
12634         Backout r53705.
12635         Causes ui_tests to timeout, and browser_tests to fail with
12636         TestConnectToBadPort and WindowOpenInvalidExtension.
12637
12638         * src/FrameLoaderClientImpl.cpp:
12639         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
12640         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
12641         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
12642         * src/WebViewImpl.cpp:
12643         (WebKit::WebViewImpl::WebViewImpl):
12644         * src/WebViewImpl.h:
12645
12646 2010-01-22  Peter Kasting  <pkasting@google.com>
12647
12648         Not reviewed, backout.
12649
12650         Back out r52673, which caused several regressions.
12651         https://bugs.webkit.org/show_bug.cgi?id=32533
12652
12653         * src/AutocompletePopupMenuClient.cpp:
12654         (WebKit::AutocompletePopupMenuClient::initialize):
12655         (WebKit::AutocompletePopupMenuClient::popupDidHide):
12656         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
12657         * src/AutocompletePopupMenuClient.h:
12658
12659 2010-01-21  Jeremy Orlow  <jorlow@chromium.org>
12660
12661         Reviewed by Darin Fisher.
12662
12663         The Chromium WebKit API needs to expose storage event related data
12664         https://bugs.webkit.org/show_bug.cgi?id=33985
12665
12666         setItem and removeItem on WebStorageArea need to expose what the previous
12667         value was for the key being modified.  Clear needs to return whether it
12668         actually cleared anything.
12669
12670         * public/WebStorageArea.h:
12671         (WebKit::WebStorageArea::setItem):
12672         (WebKit::WebStorageArea::removeItem):
12673         (WebKit::WebStorageArea::clear):
12674         * src/StorageAreaProxy.cpp:
12675         (WebCore::StorageAreaProxy::StorageAreaProxy):
12676         (WebCore::StorageAreaProxy::setItem):
12677         (WebCore::StorageAreaProxy::removeItem):
12678         (WebCore::StorageAreaProxy::clear):
12679         (WebCore::StorageAreaProxy::storageEvent):
12680         * src/StorageAreaProxy.h:
12681         * src/StorageNamespaceProxy.cpp:
12682         (WebCore::StorageNamespace::localStorageNamespace):
12683         (WebCore::StorageNamespace::sessionStorageNamespace):
12684         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
12685         (WebCore::StorageNamespaceProxy::copy):
12686         (WebCore::StorageNamespaceProxy::storageArea):
12687         * src/StorageNamespaceProxy.h:
12688         * src/WebStorageAreaImpl.cpp:
12689         (WebKit::WebStorageAreaImpl::setItem):
12690         (WebKit::WebStorageAreaImpl::removeItem):
12691         (WebKit::WebStorageAreaImpl::clear):
12692         * src/WebStorageAreaImpl.h:
12693
12694 2010-01-21  Darin Fisher  <darin@chromium.org>
12695
12696         Reviewed by David Levin.
12697
12698         [Chromium] spurious WebViewClient::didStopLoading if changing
12699         location.hash while a subframe is still loading
12700
12701         https://bugs.webkit.org/show_bug.cgi?id=33884
12702
12703         This is a refinement of http://trac.webkit.org/changeset/51548
12704
12705         * src/FrameLoaderClientImpl.cpp:
12706         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
12707         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
12708         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
12709         * src/WebViewImpl.cpp:
12710         (WebKit::WebViewImpl::WebViewImpl):
12711         (WebKit::WebViewImpl::didStartLoading):
12712         (WebKit::WebViewImpl::didStopLoading):
12713         * src/WebViewImpl.h:
12714
12715 2010-01-21  Adam Barth  <abarth@webkit.org>
12716
12717         Unreviewed.  Added a blank line requested by the great an powerful
12718         fishd.
12719
12720         * public/WebFrameClient.h:
12721
12722 2010-01-21  Adam Barth  <abarth@webkit.org>
12723
12724         Reviewed by Eric Seidel.
12725
12726         [chromium] Add allowPlugins callback to allow per-site enabling of plugins
12727         https://bugs.webkit.org/show_bug.cgi?id=33974
12728
12729         Forward the new allowPlugins callback to WebKitClient so that it can
12730         make the policy decision.
12731
12732         * public/WebFrameClient.h:
12733         (WebKit::WebFrameClient::allowPlugins):
12734         * src/FrameLoaderClientImpl.cpp:
12735         (WebKit::FrameLoaderClientImpl::allowJavaScript):
12736         (WebKit::FrameLoaderClientImpl::allowPlugins):
12737         * src/FrameLoaderClientImpl.h:
12738
12739 2010-01-21  James Robinson  <jamesr@chromium.org>
12740
12741         Reviewed by Darin Fisher.
12742
12743         Bumps the refcount when WebNode::toElement/toConstElement are called.
12744         https://bugs.webkit.org/show_bug.cgi?id=33977
12745         
12746         Ensures that when a wrapper around a WebNode is create via the
12747         toElement() or toConstElement() calls that the refcount on the WebNode
12748         is increased, by forcing a call to WebNode::assign().  This is needed
12749         so that the following code:
12750         {
12751           WebNode n = someNode();
12752           WebElement e = n.toElement<WebElement>();
12753         }
12754         does not decrease the overall refcount on the Node that someNode()
12755         returns.
12756
12757         This caused crashes in the 'Save page as..' feature.
12758
12759         * public/WebNode.h:
12760         (WebKit::WebNode::toElement):
12761         (WebKit::WebNode::toConstElement):
12762
12763 2010-01-21  Michael Nordman  <michaeln@google.com>
12764
12765         Reviewed by Darin Fisher.
12766
12767         Adds WebKit::WebDataSource::applicationCacheHost() to the API.
12768         https://bugs.webkit.org/show_bug.cgi?id=33880
12769
12770         * WebKit.gyp:
12771         * public/WebDataSource.h:
12772         * src/ApplicationCacheHost.cpp:
12773         * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp.
12774         (WebCore::ApplicationCacheHostInternal::notifyEventListener):
12775         (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
12776         * src/WebDataSourceImpl.cpp:
12777         (WebKit::WebDataSourceImpl::applicationCacheHost):
12778         * src/WebDataSourceImpl.h:
12779
12780 2010-01-21  Eric Uhrhane  <ericu@chromium.org>
12781
12782         Reviewed by Dmitry Titov.
12783
12784         Add changes missing from r53595, without which Chromium has no database.
12785
12786         https://bugs.webkit.org/show_bug.cgi?id=33966
12787
12788         No new tests - fixes database layout tests in Chromium.
12789
12790         * src/WebRuntimeFeatures.cpp:
12791         (WebKit::WebRuntimeFeatures::enableDatabase):
12792         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
12793
12794 2010-01-21  Kenneth Russell  <kbr@google.com>
12795
12796         Reviewed by Oliver Hunt.
12797
12798         [Chromium] Implement texSubImage2D taking WebGLArray
12799         https://bugs.webkit.org/show_bug.cgi?id=33932
12800
12801         * src/GraphicsContext3D.cpp:
12802         (WebCore::GraphicsContext3D::texSubImage2D):
12803
12804 2010-01-20  Vitaly Repeshko  <vitalyr@chromium.org>
12805
12806         Reviewed by Pavel Feldman.
12807
12808         [V8] Support SerializedScriptValue.
12809         https://bugs.webkit.org/show_bug.cgi?id=32920
12810         http://crbug.com/30620
12811
12812         Updated uses of SerializedScriptValue:
12813         * src/PlatformMessagePortChannel.cpp:
12814         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
12815         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
12816         * src/WebWorkerBase.cpp:
12817         (WebKit::WebWorkerBase::postMessageToWorkerObject):
12818         * src/WebWorkerClientImpl.cpp:
12819         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
12820         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
12821         * src/WebWorkerImpl.cpp:
12822         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
12823
12824 2010-01-20  Shinichiro Hamaji  <hamaji@chromium.org>
12825
12826         Reviewed by Darin Fisher.
12827
12828         [Chromium] computePageRectsForFrame seems to be unnecessary
12829         https://bugs.webkit.org/show_bug.cgi?id=33881
12830
12831         * src/WebFrameImpl.cpp: Stop including FrameChromium.h
12832
12833 2010-01-19  Jon Honeycutt  <jhoneycutt@apple.com>
12834
12835         Chromium build fix.
12836
12837         * public/WebAccessibilityRole.h:
12838         (WebKit::):
12839         Correct enum names.
12840
12841         * src/LocalizedStrings.cpp:
12842         (WebCore::AXMenuListPopupActionVerb):
12843         Stubbed.
12844         (WebCore::AXMenuListActionVerb):
12845         Stubbed.
12846
12847 2010-01-19  Jon Honeycutt  <jhoneycutt@apple.com>
12848
12849         Chromium build fix.
12850
12851         * public/WebAccessibilityRole.h:
12852         (WebKit::):
12853
12854         * src/AssertMatchingEnums.cpp:
12855
12856 2010-01-18  Jonathan Dixon  <joth@chromium.org>
12857
12858         Reviewed by Adam Barth.
12859
12860         Add support for enabling navigator.geolocation at runtime in the V8 bindings.
12861         Adds the [EnabledAtRuntime] modifier to the navigator IDL.
12862         https://bugs.webkit.org/show_bug.cgi?id=33467
12863
12864         * public/WebRuntimeFeatures.h:
12865         * src/WebRuntimeFeatures.cpp:
12866         (WebKit::WebRuntimeFeatures::enableGeolocation):
12867         (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
12868
12869 2010-01-17  Kent Tamura  <tkent@chromium.org>
12870
12871         Reviewed by Shinichiro Hamaji.
12872
12873         [Chromium] Remove an old runFileChooser() method.
12874         https://bugs.webkit.org/show_bug.cgi?id=33778
12875         
12876         Chromium code switched to new runFileChooser() introduced by
12877         r53269. The old one is not needed anymore.
12878
12879         * public/WebViewClient.h:
12880         * src/ChromeClientImpl.cpp:
12881         (WebKit::ChromeClientImpl::runOpenPanel):
12882
12883 2010-01-15  Eric Seidel  <eric@webkit.org>
12884
12885         No review, rolling out r53344.
12886         http://trac.webkit.org/changeset/53344
12887         https://bugs.webkit.org/show_bug.cgi?id=32920
12888
12889         Broke the Chromium Mac builder.
12890
12891         * src/PlatformMessagePortChannel.cpp:
12892         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
12893         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
12894         * src/WebWorkerBase.cpp:
12895         (WebKit::WebWorkerBase::postMessageToWorkerObject):
12896         * src/WebWorkerClientImpl.cpp:
12897         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
12898         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
12899         * src/WebWorkerImpl.cpp:
12900         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
12901
12902 2010-01-15  Vitaly Repeshko  <vitalyr@chromium.org>
12903
12904         Reviewed by David Levin.
12905
12906         [V8] Support SerializedScriptValue.
12907         https://bugs.webkit.org/show_bug.cgi?id=32920
12908         http://crbug.com/30620
12909
12910         Updated uses of SerializedScriptValue:
12911         * src/PlatformMessagePortChannel.cpp:
12912         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
12913         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
12914         * src/WebWorkerBase.cpp:
12915         (WebKit::WebWorkerBase::postMessageToWorkerObject):
12916         * src/WebWorkerClientImpl.cpp:
12917         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
12918         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
12919         * src/WebWorkerImpl.cpp:
12920         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
12921
12922 2010-01-14  Jeremy Orlow  <jorlow@chromium.org>
12923
12924         Reviewed by Oliver Hunt.
12925
12926         [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
12927         https://bugs.webkit.org/show_bug.cgi?id=33704
12928
12929         * src/StorageNamespaceProxy.cpp:
12930         (WebCore::StorageNamespace::localStorageNamespace):
12931         (WebCore::StorageNamespace::sessionStorageNamespace):
12932
12933 2010-01-14  Marcus Bulach  <bulach@chromium.org>
12934
12935         Reviewed by Dimitri Glazkov.
12936
12937         Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier.
12938         https://bugs.webkit.org/show_bug.cgi?id=33648
12939
12940         * public/WebSecurityOrigin.h:
12941         * src/WebSecurityOrigin.cpp:
12942         (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier):
12943
12944 2010-01-14  Brian Weinstein  <bweinstein@apple.com>
12945
12946         Reviewed by Adam Roben.
12947
12948         Drag and Drop source/destination code needs cleanup.
12949         <https://bugs.webkit.org/show_bug.cgi?id=33691>.
12950         
12951         Update to new way of calling sourceOperation.
12952
12953         * src/DragClientImpl.cpp:
12954         (WebKit::DragClientImpl::startDrag):
12955
12956 2010-01-14  Nate Chapin  <japhet@chromium.org>
12957
12958         Reviewed by Dimitri Glazkov.
12959
12960         Remove references to V8DOMWrapper::convertToNative*().
12961
12962         https://bugs.webkit.org/show_bug.cgi?id=33677
12963
12964         * src/WebBindings.cpp:
12965         (WebKit::getDragDataImpl):
12966         (WebKit::getRangeImpl):
12967
12968 2010-01-14  Kent Tamura  <tkent@chromium.org>
12969
12970         Reviewed by Darin Fisher.
12971
12972         Introduce WebFileChooserParams to convey parameters for
12973         WebViewClient::runFileChooser(), and add new parameters to it.
12974         https://bugs.webkit.org/show_bug.cgi?id=32473
12975
12976         The new parameters are
12977          - selected file names
12978          - "accept" attribute value
12979
12980         * WebKit.gyp: Add WebFileChooserParams.h
12981         * public/WebFileChooserParams.h: Added.
12982         * public/WebViewClient.h:
12983         (WebKit::WebViewClient::runFileChooser):
12984           Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated.
12985         * src/ChromeClientImpl.cpp:
12986         (WebKit::ChromeClientImpl::runOpenPanel):
12987           Call the new runFileChooser() first, then call the old
12988           runFileChooser() if the new one failed.
12989
12990 2010-01-13  Kenneth Russell  <kbr@google.com>
12991
12992         Reviewed by Oliver Hunt.
12993
12994         Need to implement WebGLContextAttributes
12995         https://bugs.webkit.org/show_bug.cgi?id=31169
12996
12997         Added the WebGLContextAttributes class and custom JavaScript
12998         bindings to accept a native object as the second argument to
12999         getContext("experimental-webgl") per the WebGL specification.
13000         Added GraphicsContext3D::Attributes struct to isolate DOM and
13001         graphics layers. Added getContextAttributes() to
13002         WebGLRenderingContext. Added test case ensuring that context
13003         attributes can be passed down and returned. Tested in Safari and
13004         Chromium. The attributes will be hooked up to the creation of the
13005         OpenGL context in bug 33416.
13006
13007         * src/GraphicsContext3D.cpp:
13008         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13009         (WebCore::GraphicsContext3DInternal::getContextAttributes):
13010         (WebCore::GraphicsContext3D::create):
13011         (WebCore::GraphicsContext3D::GraphicsContext3D):
13012         (WebCore::GraphicsContext3D::getContextAttributes):
13013
13014 2010-01-13  Jon Honeycutt  <jhoneycutt@apple.com>
13015
13016         MSAA: selected, selectable, extended selectable, and multiple
13017         selectable states are not reported
13018
13019         https://bugs.webkit.org/show_bug.cgi?id=33574
13020         <rdar://problem/7536826>
13021
13022         Reviewed by Darin Adler.
13023
13024         * public/WebAccessibilityObject.h:
13025         Update for WebCore::AccessibilityObject function rename.
13026
13027         * src/WebAccessibilityObject.cpp:
13028         (WebKit::WebAccessibilityObject::isMultiSelectable):
13029         Ditto.
13030
13031 2010-01-13  Jeremy Orlow  <jorlow@chromium.org>
13032
13033         Reviewed by Darin Fisher.
13034
13035         [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
13036         https://bugs.webkit.org/show_bug.cgi?id=33492
13037
13038         * public/WebKitClient.h:
13039         * public/WebViewClient.h:
13040         (WebKit::WebViewClient::createSessionStorageNamespace):
13041         * src/StorageNamespaceProxy.cpp:
13042         (WebCore::StorageNamespace::sessionStorageNamespace):
13043
13044 2010-01-13  Jeremy Orlow  <jorlow@chromium.org>
13045
13046         No reviewer.  More or less a build fix.  My 53180 broke some 
13047         stuff on the Chromium port so I'm reverting.
13048
13049         * public/WebKitClient.h:
13050         * public/WebViewClient.h:
13051         * src/StorageNamespaceProxy.cpp:
13052         (WebCore::StorageNamespace::sessionStorageNamespace):
13053
13054 2010-01-11  Jeremy Orlow  <jorlow@chromium.org>
13055
13056         Reviewed by Darin Fisher.
13057
13058         [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
13059         https://bugs.webkit.org/show_bug.cgi?id=33492
13060
13061         * public/WebKitClient.h:
13062         * public/WebViewClient.h:
13063         (WebKit::WebViewClient::getSessionStorageNamespace):
13064         * src/StorageNamespaceProxy.cpp:
13065         (WebCore::StorageNamespace::sessionStorageNamespace):
13066
13067 2010-01-11  Darin Fisher  <darin@chromium.org>
13068
13069         Reviewed by Dimitri Glazkov.
13070
13071         [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once
13072         https://bugs.webkit.org/show_bug.cgi?id=33504
13073
13074         * WebKit.gyp:
13075         * tests/KURLTest.cpp:
13076         (ComponentCase::TEST):
13077         * tests/RunAllTests.cpp: Added.
13078         (main):
13079         * tests/WebKitTest.h: Removed.
13080
13081 2010-01-09  Adam Barth  <abarth@webkit.org>
13082
13083         Reviewed by Darin Adler.
13084
13085         ScriptController::isEnabled needs to be renamed
13086         https://bugs.webkit.org/show_bug.cgi?id=32063
13087
13088         Rename ScriptController::isEnabled to
13089         ScriptController::canExecuteScripts.
13090
13091         * src/WebFrameImpl.cpp:
13092         (WebKit::WebFrameImpl::bindToWindowObject):
13093
13094 2010-01-08  Daniel Bates  <dbates@webkit.org>
13095
13096         Reviewed by Adam Barth.
13097
13098         https://bugs.webkit.org/show_bug.cgi?id=33417
13099
13100         Cleans up style errors exposed by the patch for bug #33198.
13101
13102         No functionality was changed. So, no new tests.
13103
13104         * src/GraphicsContext3D.cpp:
13105
13106 2010-01-08  Darin Fisher  <darin@chromium.org>
13107
13108         Reviewed by Dimitri Glazkov.
13109
13110         [Chromium] Upstream webkit unit tests from the chromium repository
13111         https://bugs.webkit.org/show_bug.cgi?id=33351
13112
13113         This adds one such test (for KURL) and sets up the test framework.
13114
13115         Switch WebKit to build a static library on all platforms.  Add a
13116         webkit_unit_tests executable target that runs the unit tests and also
13117         ensures that we don't have any missing symbols (a function that WebKit
13118         as a shared library used to serve).
13119
13120         Changes chromium_src_dir to ../../WebKit/chromium to match how
13121         WebCore.gyp defines that variable.
13122
13123         * WebKit.gyp:
13124         * public/WebKitClient.h:
13125         (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon.
13126         (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon.
13127         (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon.
13128         (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon.
13129         (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon.
13130         (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon.
13131         * tests: Added.
13132         * tests/KURLTest.cpp: Added.
13133         * tests/WebKitTest.h: Added.
13134
13135 2010-01-07  Mike Belshe  <mbelshe@chromium.org>
13136
13137         Reviewed by Darin Adler.
13138
13139         Fix Spdy casing to match style guide.
13140
13141         https://bugs.webkit.org/show_bug.cgi?id=33326
13142
13143         * public/WebURLResponse.h:
13144         * src/WebURLResponse.cpp:
13145         (WebKit::WebURLResponse::wasFetchedViaSPDY):
13146         (WebKit::WebURLResponse::setWasFetchedViaSPDY):
13147
13148 2010-01-07  Daniel Bates  <dbates@rim.com>
13149
13150         Reviewed by Eric Seidel.
13151
13152         https://bugs.webkit.org/show_bug.cgi?id=32987
13153
13154         Added ENABLE_XHTMLMP flag. Disabled by default.
13155
13156         * features.gypi:
13157
13158 2010-01-07  Adam Barth  <abarth@webkit.org>
13159
13160         No review, rolling out r52847.
13161         http://trac.webkit.org/changeset/52847
13162         https://bugs.webkit.org/show_bug.cgi?id=33232
13163
13164         Might have caused a perf regression.
13165
13166         * src/FrameLoaderClientImpl.cpp:
13167         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
13168
13169 2010-01-06  Mike Belshe  <mike@belshe.com>
13170
13171         Add a flag to the ResourceResponse for tracking if a request was
13172         fetched via SPDY.  This is plumbed through so that we can inform
13173         a webpage via JavaScript if it was fecthed via the experimental
13174         SPDY protocol.
13175
13176         https://bugs.webkit.org/show_bug.cgi?id=33186
13177
13178         * public/WebURLResponse.h:
13179         * src/WebURLResponse.cpp:
13180         (WebKit::WebURLResponse::wasFetchedViaSpdy):
13181         (WebKit::WebURLResponse::setWasFetchedViaSpdy):
13182
13183 2010-01-06  Darin Fisher  <darin@chromium.org>
13184
13185         Fix release build bustage.
13186
13187         * src/WebKit.cpp: Need to include Logging.h
13188
13189 2010-01-05  Darin Fisher  <darin@chromium.org>
13190
13191         Reviewed by Adam Barth.
13192
13193         [Chromium] Expose more APIs to eliminate WebCore usage in Chromium.
13194         https://bugs.webkit.org/show_bug.cgi?id=33249
13195
13196         * WebKit.gyp:
13197         * public/WebFrame.h:
13198         * public/WebGlyphCache.h: Added.
13199         * public/WebKit.h:
13200         * src/WebFrameImpl.cpp:
13201         (WebKit::WebFrame::instanceCount):
13202         (WebKit::WebFrameImpl::WebFrameImpl):
13203         (WebKit::WebFrameImpl::~WebFrameImpl):
13204         * src/WebFrameImpl.h:
13205         * src/WebGlyphCache.cpp: Added.
13206         (WebKit::WebGlyphCache::pageCount):
13207         * src/WebKit.cpp:
13208         (WebKit::enableLogChannel):
13209
13210 2010-01-05  Adam Barth  <abarth@webkit.org>
13211
13212         Reviewed by Dimitri Glazkov.
13213
13214         [v8] Move V8DOMWindowShell to ScriptController
13215         https://bugs.webkit.org/show_bug.cgi?id=33232
13216
13217         Update FrameLoaderClientImpl.cpp to call clearForClose on
13218         ScriptController instead of on V8Proxy.
13219
13220         * src/FrameLoaderClientImpl.cpp:
13221         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
13222
13223 2010-01-05  Rachel Petterson  <rlp@google.com>
13224
13225         Reviewed by Adam Barth.
13226
13227         Matches the texImage2D and texSubImage2D functions to their
13228         declarations. Elminates uncessary versions of those functions.
13229         https://bugs.webkit.org/show_bug.cgi?id=31562
13230         Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493
13231
13232         * src/GraphicsContext3D.cpp:
13233         (WebCore::GraphicsContext3D::texImage2D):
13234         (WebCore::GraphicsContext3D::texSubImage2D):
13235
13236 2010-01-04  Maciej Stachowiak  <mjs@apple.com>
13237
13238         Reviewed by Darin Fisher.
13239
13240         Reorganize, document and rename OS() platform macros.
13241         https://bugs.webkit.org/show_bug.cgi?id=33198
13242
13243         Adapt to name changes.
13244
13245         * src/ChromiumBridge.cpp:
13246         * src/EditorClientImpl.cpp:
13247         (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
13248         (WebKit::):
13249         (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
13250         * src/FrameLoaderClientImpl.cpp:
13251         (WebKit::FrameLoaderClientImpl::createPlugin):
13252         * src/GraphicsContext3D.cpp:
13253         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13254         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
13255         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
13256         * src/WebFrameImpl.cpp:
13257         (WebKit::WebFrameImpl::selectionAsText):
13258         (WebKit::WebFrameImpl::printPage):
13259         * src/WebPluginContainerImpl.cpp:
13260         (WebKit::WebPluginContainerImpl::handleMouseEvent):
13261         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
13262         * src/WebViewImpl.cpp:
13263         (WebKit::WebViewImpl::mouseDown):
13264         (WebKit::WebViewImpl::mouseContextMenu):
13265         (WebKit::WebViewImpl::mouseUp):
13266         (WebKit::WebViewImpl::keyEvent):
13267         (WebKit::WebViewImpl::sendContextMenuEvent):
13268         (WebKit::WebViewImpl::setScrollbarColors):
13269         (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
13270
13271 2010-01-04  Darin Fisher  <darin@chromium.org>
13272
13273         Reviewed by Eric Seidel.
13274
13275         [Chromium] Expose more DOM methods to support LayoutTests
13276         https://bugs.webkit.org/show_bug.cgi?id=33185
13277
13278         * public/WebDocument.h: Adds documentElement method.
13279         * public/WebElement.h: Adds innerText method.
13280         * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById
13281         methods, and fixes a few whitespace issues.
13282         * src/WebDocument.cpp:
13283         (WebKit::WebDocument::documentElement):
13284         * src/WebElement.cpp:
13285         (WebKit::WebElement::innerText):
13286         * src/WebFrameImpl.cpp:
13287         (WebKit::WebFrameImpl::clearName):
13288         (WebKit::WebFrameImpl::renderTreeAsText):
13289         (WebKit::WebFrameImpl::counterValueForElementById):
13290         * src/WebFrameImpl.h:
13291
13292 2010-01-04  Darin Fisher  <darin@chromium.org>
13293
13294         Fix Chromium build bustage.
13295
13296         * src/WebAnimationControllerImpl.h:
13297
13298 2010-01-04  Yaar Schnitman  <yaar@chromium.org>
13299
13300         Reviewed by Darin Fisher.
13301
13302         Adding WebAnimationController to chromium's WebKit API.
13303
13304         https://bugs.webkit.org/show_bug.cgi?id=32870
13305
13306         * WebKit.gyp:
13307         * public/WebAnimationController.h: Added.
13308         (WebKit::WebAnimationController::~WebAnimationController):
13309         * public/WebFrame.h:
13310         * src/WebAnimationControllerImpl.cpp: Added.
13311         (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl):
13312         (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime):
13313         (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime):
13314         (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
13315         * src/WebAnimationControllerImpl.h: Added.
13316         (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl):
13317         * src/WebFrameImpl.cpp:
13318         (WebKit::WebFrameImpl::animationController):
13319         (WebKit::WebFrameImpl::WebFrameImpl):
13320         * src/WebFrameImpl.h:
13321
13322 2010-01-04  Jay Campan  <jcampan@google.com>
13323
13324         Reviewed by Darin Fisher
13325
13326         Adding  more DOM API methods. They are needed for the upcoming
13327         translate feature.
13328
13329         * public/WebElement.h:
13330         * public/WebNode.h:
13331         * src/WebElement.cpp:
13332         (WebKit::WebElement::tagName):
13333         (WebKit::WebElement::setAttribute):
13334         * src/WebNode.cpp:
13335         (WebKit::WebNode::setNodeValue):
13336
13337 2010-01-03  Adam Barth  <abarth@webkit.org>
13338
13339         Reviewed by Eric Seidel.
13340
13341         [Chromium] Implement CookieJarChromium::cookiesEnabled
13342         https://bugs.webkit.org/show_bug.cgi?id=33123
13343
13344         Call out to the webKitClient() to see if cookies are enabled.  Also
13345         remove some straggling references to policyURL!
13346
13347         * public/WebKitClient.h:
13348         (WebKit::WebKitClient::setCookies):
13349         (WebKit::WebKitClient::cookies):
13350         (WebKit::WebKitClient::rawCookies):
13351         (WebKit::WebKitClient::cookiesEnabled):
13352         * src/ChromiumBridge.cpp:
13353         (WebCore::ChromiumBridge::cookiesEnabled):
13354
13355 2010-01-03  Adam Barth  <abarth@webkit.org>
13356
13357         Reviewed by Eric Seidel.
13358
13359         [Chromium] Remove evaluateInNewContext (it's useless)
13360         https://bugs.webkit.org/show_bug.cgi?id=33068
13361
13362         This function has no clients and makes life complicated.  Isolated
13363         worlds won out over NewContext and there's not really any going back
13364         now.
13365
13366         * public/WebFrame.h:
13367         * src/FrameLoaderClientImpl.h:
13368         * src/WebFrameImpl.cpp:
13369         * src/WebFrameImpl.h:
13370
13371 2009-12-30  Darin Fisher  <darin@chromium.org>
13372
13373         Reviewed by David Levin.
13374
13375         [Chromium] Delete ResourceRequest::securityInfo
13376         https://bugs.webkit.org/show_bug.cgi?id=26847
13377
13378         * src/WebWorkerBase.cpp:
13379         (WebKit::WebWorkerBase::initializeLoader):
13380
13381 2009-12-30  Albert J. Wong  <ajwong@chromium.org>
13382
13383         Not reviewed.  Trivial Chromium build fix.
13384
13385         Add static_cast<unsigned>() to fix signed/unsigned comparison warning.
13386
13387         * src/AutocompletePopupMenuClient.cpp:
13388         (WebKit::AutocompletePopupMenuClient::selectionChanged):
13389
13390 2009-12-30  Zelidrag Hornung  <zelidrag@chromium.org>
13391
13392         Reviewed by Dimitri Glazkov.
13393
13394         Autocomplete in Chromium now offers suggestions within the input element as a user
13395         a) types text that produces some autocomplete suggestions, and
13396         b) scrolls through suggested values in the menu
13397         The suggested value is rendered but not exposed through JS unti the
13398         user makes the final selection.
13399
13400         No new tests since this new functionality (autocomplete suggestions)
13401         is intentionally hidden from everything else than renderer.
13402
13403         * src/AutocompletePopupMenuClient.cpp:
13404         (WebKit::AutocompletePopupMenuClient::initialize):
13405         (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue):
13406         (WebKit::AutocompletePopupMenuClient::selectionChanged):
13407         (WebKit::AutocompletePopupMenuClient::popupDidHide):
13408         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
13409         (WebKit::AutocompletePopupMenuClient::resetLastFieldValue):
13410         * src/AutocompletePopupMenuClient.h:
13411
13412 2009-12-28  Kinuko Yasuda  <kinuko@chromium.org>
13413
13414         Reviewed by Maciej Stachowiak.
13415
13416         Fixed isKeypadEvent behavior for chromium/Mac to correctly report
13417         keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events.
13418         https://bugs.webkit.org/show_bug.cgi?id=28247
13419
13420         Test: fast/events/keydown-numpad-keys.html
13421
13422         * src/mac/WebInputEventFactory.mm:
13423         (WebKit::isKeypadEvent):
13424
13425 2009-12-22  Kenneth Russell  <kbr@google.com>
13426
13427         Reviewed by Eric Seidel.
13428
13429         [Chromium] Garbage in transparent regions of images uploaded as textures
13430         https://bugs.webkit.org/show_bug.cgi?id=32888
13431
13432         Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)
13433
13434         * src/GraphicsContext3D.cpp:
13435         (WebCore::GraphicsContext3D::texImage2D):
13436
13437 2009-12-22  Adam Langley  <agl@google.com>
13438
13439         Build fix: not reviewed.
13440
13441         r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the
13442         Chromium build on Windows and Mac due to a misplaced #endif. The
13443         buildbot didn't find the problem because it runs on Linux.
13444
13445         Have verified this patch with the author of the above.
13446
13447         * src/GraphicsContext3D.cpp:
13448
13449 2009-12-22  Kenneth Russell  <kbr@google.com>
13450
13451         Reviewed by Eric Seidel.
13452
13453         [Chromium] WebGL crashes intermittently on Linux
13454         https://bugs.webkit.org/show_bug.cgi?id=32845
13455         
13456         The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a
13457         GraphicsContext3D was created was occasionally causing it to be
13458         re-mapped at a different base address. Since GLEW is not
13459         re-initialized every time, primarily for performance reasons, its
13460         cached function pointers were pointing to garbage. Stopped closing
13461         and re-opening libGL.so.1 each time; now it is loaded lazily, when
13462         the first 3D context is created. Also reused the X display
13463         connection since the GLX routines' correctness might hinge upon it
13464         not resulting in a change of GL implementation.
13465
13466         * src/GraphicsContext3D.cpp:
13467         (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig):
13468         (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext):
13469         (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer):
13470         (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer):
13471         (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent):
13472         (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext):
13473         (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext):
13474         (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection):
13475         (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad):
13476         (WebCore::GraphicsContext3DInternal::GLConnection::create):
13477         (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection):
13478         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13479         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
13480         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
13481
13482 2009-12-22  Yaar Schnitman  <yaar@chromium.org>
13483
13484         Reviewed by Darin Fisher.
13485
13486         autoComplete and getElementById methods for WebKit API
13487
13488         https://bugs.webkit.org/show_bug.cgi?id=32866
13489
13490         * public/WebDocument.h:
13491         * public/WebInputElement.h:
13492         * src/WebDocument.cpp:
13493         (WebKit::WebDocument::getElementById):
13494         * src/WebInputElement.cpp:
13495         (WebKit::WebInputElement::autoComplete):
13496
13497 2009-12-18  Kenneth Russell  <kbr@google.com>
13498
13499         Reviewed by Darin Fisher.
13500
13501         [Chromium] Eliminate redundant data copy in GraphicsContext3D readback
13502         https://bugs.webkit.org/show_bug.cgi?id=32763
13503
13504         Eliminated useless creation of a CGBitmapContext and from there a
13505         CGImage. Now create CGImage directly from data. Also changed
13506         readPixels parameters and CGImage alpha info to try to avoid byte
13507         swapping, and disabled interpolation when drawing the GL content.
13508         Some test cases run twice as fast with these changes, though more
13509         work is needed to achieve desired performance.
13510
13511         No test case; performance optimization only. Ran WebGL demos from
13512         Khronos site to verify changes.
13513
13514         * src/GraphicsContext3D.cpp:
13515         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13516         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
13517         (WebCore::GraphicsContext3DInternal::reshape):
13518         (WebCore::GraphicsContext3DInternal::beginPaint):
13519
13520 2009-12-18  Peter Kasting  <pkasting@google.com>
13521
13522         Reviewed by Adam Barth.
13523
13524         Chromium build fix
13525         https://bugs.webkit.org/show_bug.cgi?id=32756
13526
13527         * public/WebAccessibilityRole.h:
13528         (WebKit::):
13529         * src/AssertMatchingEnums.cpp:
13530
13531 2009-12-18  Adam Roben  <aroben@apple.com>
13532
13533         Chromium build fix
13534
13535         * src/ChromiumBridge.cpp:
13536         * src/WebPluginContainerImpl.cpp:
13537         * src/WebViewImpl.cpp:
13538         Added #includes.
13539
13540 2009-12-17  Eric Seidel  <eric@webkit.org>
13541
13542         No review, rolling out r52291.
13543         http://trac.webkit.org/changeset/52291
13544         https://bugs.webkit.org/show_bug.cgi?id=32618
13545
13546         Darin Fisher points out that this will likely break
13547         the SSL security indicator in Chromium.  Rolling out for now.
13548
13549         * src/WebViewImpl.cpp:
13550         (WebKit::WebViewImpl::WebViewImpl):
13551
13552 2009-12-17  Alexander Pavlov  <apavlov@chromium.org>
13553
13554         Reviewed by Eric Seidel.
13555
13556         Disable memory cache client calls so that a new identifier isn't created
13557         for the same resource on reload.
13558
13559         With the calls enabled, duplicate entries for cached resources are created
13560         in the Web Inspector. Safari for Windows disables the calls near the point of the
13561         Frame instance creation, and we just follow this for Chromium.
13562         https://bugs.webkit.org/show_bug.cgi?id=32618
13563
13564         * src/WebViewImpl.cpp:
13565         (WebKit::WebViewImpl::WebViewImpl):
13566
13567 2009-12-17  Yaar Schnitman  <yaar@chromium.org>
13568
13569         Reviewed by Darin Fisher.
13570
13571         Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support
13572         downstream unit-testing of serialization.
13573
13574         WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding.
13575
13576         https://bugs.webkit.org/show_bug.cgi?id=31737
13577
13578         * WebKit.gyp:
13579         * public/WebDocument.h: Added.
13580         (WebKit::WebDocument::WebDocument):
13581         (WebKit::WebDocument::operator=):
13582         (WebKit::WebDocument::assign):
13583         * public/WebElement.h:
13584         * public/WebFormElement.h:
13585         (WebKit::WebFormElement::operator=):
13586         * public/WebFrame.h:
13587         * public/WebNode.h:
13588         (WebKit::WebNode::):
13589         (WebKit::WebNode::toConstElement):
13590         * public/WebNodeCollection.h: Added.
13591         (WebKit::WebNodeCollection::~WebNodeCollection):
13592         (WebKit::WebNodeCollection::WebNodeCollection):
13593         (WebKit::WebNodeCollection::operator=):
13594         * public/WebNodeList.h: Added.
13595         (WebKit::WebNodeList::~WebNodeList):
13596         (WebKit::WebNodeList::WebNodeList):
13597         (WebKit::WebNodeList::operator=):
13598         * public/WebPageSerializer.h: Added.
13599         * public/WebPageSerializerClient.h: Added.
13600         (WebKit::WebPageSerializerClient::):
13601         (WebKit::WebPageSerializerClient::WebPageSerializerClient):
13602         (WebKit::WebPageSerializerClient::~WebPageSerializerClient):
13603         * public/WebString.h:
13604         * public/WebView.h:
13605         * src/AssertMatchingEnums.cpp:
13606         * src/DOMUtilitiesPrivate.cpp:
13607         (WebKit::elementHasLegalLinkAttribute):
13608         * src/DOMUtilitiesPrivate.h:
13609         * src/WebDocument.cpp: Added.
13610         (WebKit::WebDocument::WebDocument):
13611         (WebKit::WebDocument::operator=):
13612         (WebKit::WebDocument::operator WTF::PassRefPtr<Document>):
13613         (WebKit::WebDocument::frame):
13614         (WebKit::WebDocument::isHTMLDocument):
13615         (WebKit::WebDocument::baseURL):
13616         (WebKit::WebDocument::body):
13617         (WebKit::WebDocument::head):
13618         (WebKit::WebDocument::all):
13619         (WebKit::WebDocument::completeURL):
13620         * src/WebElement.cpp:
13621         (WebKit::WebElement::hasTagName):
13622         (WebKit::WebElement::hasAttribute):
13623         (WebKit::WebElement::getAttribute):
13624         * src/WebEntities.cpp: Added.
13625         (WebKit::populateMap):
13626         (WebKit::):
13627         (WebKit::WebEntities::WebEntities):
13628         (WebKit::WebEntities::entityNameByCode):
13629         (WebKit::WebEntities::convertEntitiesInString):
13630         * src/WebEntities.h: Added.
13631         * src/WebFrameImpl.cpp:
13632         (WebKit::WebFrame::fromFrameOwnerElement):
13633         (WebKit::WebFrameImpl::encoding):
13634         (WebKit::WebFrameImpl::document):
13635         (WebKit::WebFrameImpl::fromFrameOwnerElement):
13636         * src/WebFrameImpl.h:
13637         * src/WebNode.cpp:
13638         (WebKit::WebNode::nodeType):
13639         (WebKit::WebNode::nodeValue):
13640         (WebKit::WebNode::document):
13641         (WebKit::WebNode::firstChild):
13642         (WebKit::WebNode::lastChild):
13643         (WebKit::WebNode::previousSibling):
13644         (WebKit::WebNode::nextSibling):
13645         (WebKit::WebNode::hasChildNodes):
13646         (WebKit::WebNode::childNodes):
13647         (WebKit::WebNode::createMarkup):
13648         (WebKit::WebNode::isTextNode):
13649         (WebKit::WebNode::isElementNode):
13650         * src/WebNodeCollection.cpp: Added.
13651         (WebKit::WebNodeCollection::reset):
13652         (WebKit::WebNodeCollection::assign):
13653         (WebKit::WebNodeCollection::WebNodeCollection):
13654         (WebKit::WebNodeCollection::length):
13655         (WebKit::WebNodeCollection::nextItem):
13656         (WebKit::WebNodeCollection::firstItem):
13657         * src/WebNodeList.cpp: Added.
13658         (WebKit::WebNodeList::reset):
13659         (WebKit::WebNodeList::assign):
13660         (WebKit::WebNodeList::WebNodeList):
13661         (WebKit::WebNodeList::length):
13662         (WebKit::WebNodeList::item):
13663         * src/WebPageSerializer.cpp: Added.
13664         (WebKit::WebPageSerializer::serialize):
13665         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
13666         (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration):
13667         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
13668         * src/WebPageSerializerImpl.cpp: Added.
13669         (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
13670         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
13671         (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
13672         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag):
13673         (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
13674         (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
13675         (WebKit::WebPageSerializerImpl::openTagToString):
13676         (WebKit::WebPageSerializerImpl::endTagToString):
13677         (WebKit::WebPageSerializerImpl::buildContentForNode):
13678         (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
13679         (WebKit::WebPageSerializerImpl::collectTargetFrames):
13680         (WebKit::WebPageSerializerImpl::serialize):
13681         * src/WebPageSerializerImpl.h: Added.
13682         * src/WebString.cpp:
13683         (WebKit::WebString::WebString):
13684         (WebKit::WebString::operator=):
13685         * src/WebViewImpl.cpp:
13686
13687 2009-12-17  Yury Semikhatsky  <yurys@chromium.org>
13688
13689         Reviewed by David Levin.
13690
13691         Provide explicit implementation of 'non-template' WebVector<T>::operator=
13692
13693         https://bugs.webkit.org/show_bug.cgi?id=32363
13694
13695         * public/WebVector.h:
13696
13697 2009-12-16  Fumitoshi Ukai  <ukai@chromium.org>
13698
13699         Unreviewed, build fix.
13700
13701         [Chromium] Add EditableTextRole to catch up with
13702         http://trac.webkit.org/changeset/52233
13703
13704         * public/WebAccessibilityRole.h:
13705         (WebKit::): Added WebAccessibilityRoleEditableText
13706         * src/AssertMatchingEnums.cpp: Added matching compile assert.
13707
13708 2009-12-15  Kenneth Russell  <kbr@google.com>
13709
13710         Reviewed by Darin Fisher.
13711
13712         Don't allow default framebuffer to be mutated
13713         https://bugs.webkit.org/show_bug.cgi?id=32391
13714
13715         * src/GraphicsContext3D.cpp:
13716         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
13717         (WebCore::GraphicsContext3DInternal::reshape):
13718         (WebCore::GraphicsContext3DInternal::beginPaint):
13719         (WebCore::GraphicsContext3DInternal::bindFramebuffer):
13720         (WebCore::GraphicsContext3D::bindFramebuffer):
13721
13722 2009-12-15  Dimitri Glazkov  <dglazkov@chromium.org>
13723
13724         Unreviewed, build fix.
13725
13726         [Chromium] Add TreeGridRole to catch up with
13727         http://trac.webkit.org/changeset/52159.
13728
13729         * public/WebAccessibilityRole.h:
13730         (WebKit::): Added WebAccessibilityRoleTreeGrid.
13731         * src/AssertMatchingEnums.cpp: Added matching compile assert.
13732
13733 2009-12-15  Jian Li  <jianli@chromium.org>
13734
13735         Reviewed by Dmitry Titov.
13736
13737         Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard.
13738         https://bugs.webkit.org/show_bug.cgi?id=31090
13739
13740         The proposal to whatwg can be found here:
13741         http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html
13742
13743         * public/WebDragData.h:
13744         * src/WebDragData.cpp:
13745         (WebKit::WebDragData::downloadURL):
13746         (WebKit::WebDragData::setDownloadURL):
13747
13748 2009-12-14  Evan Stade  <estade@chromium.org>
13749
13750         Reviewed by Darin Fisher.
13751
13752         https://bugs.webkit.org/show_bug.cgi?id=32347
13753         Chromium: Context menu launched by menu key has funky behavior
13754
13755         Make the context menu's position depend on the selection only when an
13756         editable field has focus. Also, don't send multiple context menu events
13757         for a single keypress.
13758
13759         * src/WebViewImpl.cpp:
13760         (WebKit::WebViewImpl::keyEvent):
13761         (WebKit::WebViewImpl::sendContextMenuEvent):
13762
13763 2009-12-13  Sam Weinig  <sam@webkit.org>
13764
13765         Reviewed by Dan Bernstein.
13766
13767         Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
13768         Add client based Geolocation provider
13769
13770         Add first cut of a client based Geolocation provider. This is guarded by
13771         ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
13772         GeolocationControllerClient interface that no-one currently implements,
13773         but will in a subsequent patch.
13774
13775         * src/WebViewImpl.cpp:
13776         (WebKit::WebViewImpl::WebViewImpl):
13777
13778 2009-12-13  Charles Reis  <creis@chromium.org>
13779
13780         Reviewed by Adam Barth.
13781
13782         Refactor some security code out of V8 bindings
13783         https://bugs.webkit.org/show_bug.cgi?id=32326
13784
13785         * src/WebBindings.cpp:
13786         (WebKit::getDragDataImpl):
13787
13788 2009-12-11  Nate Chapin  <japhet@chromium.org>
13789
13790         Reviewed by Darin Fisher.
13791
13792         Expose shouldHideReferrer() in WebSecurityPolicy.
13793
13794         https://bugs.webkit.org/show_bug.cgi?id=32398
13795
13796         * public/WebSecurityPolicy.h: Add shouldHideReferrer().
13797         * src/WebSecurityPolicy.cpp:
13798         (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added.
13799
13800 2009-12-11  Avi Drissman  <avi@chromium.org>
13801
13802         Reviewed by Darin Fisher.
13803
13804         Tickmarks in the scrollbar are not cleared for non-main frames
13805         https://bugs.webkit.org/show_bug.cgi?id=32385
13806
13807         * src/WebFrameImpl.cpp:
13808         (WebKit::WebFrameImpl::stopFinding):
13809
13810 2009-12-11  Yury Semikhatsky  <yurys@chromium.org>
13811
13812         Reviewed by Pavel Feldman.
13813
13814         Remove obsolete message handling methods from WebDevTools* interfaces
13815
13816         https://bugs.webkit.org/show_bug.cgi?id=32320
13817
13818         * public/WebDevToolsAgent.h:
13819         * public/WebDevToolsAgentClient.h:
13820         * public/WebDevToolsFrontend.h:
13821         * public/WebDevToolsFrontendClient.h:
13822
13823 2009-12-10  Mike Belshe  <mike@belshe.com>
13824
13825         Unreviewed, build fix for chromium.
13826
13827         * src/FrameLoaderClientImpl.cpp:
13828         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
13829
13830 2009-12-10  Kenneth Russell  <kbr@google.com>
13831
13832         Reviewed by Oliver Hunt.
13833
13834         Changed WebGLRenderingContext to synthesize GL errors rather than
13835         raising JavaScript exceptions. Removed internal getError() calls
13836         after each graphics call. The GraphicsContext3D maintains the
13837         synthetic exceptions because only it has complete information
13838         about certain conditions requiring them to be raised.
13839
13840         Based on idea from Ilmari Heikkinen, added create3DDebugContext()
13841         to webgl-test.js and changed the WebGL layout tests expecting
13842         error conditions to use it. Updated expected.txt files, which now
13843         implicitly test the OpenGL error as it is part of the exception's
13844         message.
13845
13846         Added new targeted test covering aspects of synthetic errors as
13847         well as regression tests for bugs uncovered during its development.
13848
13849         Test: fast/canvas/webgl/error-reporting.html
13850
13851         * src/GraphicsContext3D.cpp:
13852         (WebCore::GraphicsContext3DInternal::reshape):
13853         (WebCore::GraphicsContext3DInternal::getError):
13854         (WebCore::GraphicsContext3DInternal::synthesizeGLError):
13855         (WebCore::GraphicsContext3D::getActiveAttrib):
13856         (WebCore::GraphicsContext3D::getActiveUniform):
13857         (WebCore::GraphicsContext3D::getError):
13858         (WebCore::GraphicsContext3D::synthesizeGLError):
13859
13860 2009-12-10  Mike Belshe  <mike@belshe.com>
13861
13862         Reviewed by Darin Fisher.
13863
13864         Fix FrameLoader to use the new ResourceTypes properly.
13865
13866         https://bugs.webkit.org/show_bug.cgi?id=32336
13867
13868         * public/WebURLRequest.h:
13869         (WebKit::WebURLRequest::):
13870         * src/FrameLoaderClientImpl.cpp:
13871         (WebKit::setTargetTypeFromLoader):
13872         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
13873
13874 2009-12-10  Ilya Tikhonovsky <loislo@google.com>
13875
13876         Reviewed by Pavel Feldman.
13877
13878         Chromium: Expose devtools agent API for inspector layout tests.
13879
13880         https://bugs.webkit.org/show_bug.cgi?id=32379
13881
13882         * public/WebDevToolsAgent.h:
13883         (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled):
13884         (WebKit::WebDevToolsAgent::evaluateInWebInspector):
13885
13886 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
13887
13888         Unreviewed, build fix.
13889
13890         Change forward declaration of WebContextMenuData from class to
13891         struct to match its definition. The bug was introduced by
13892         http://trac.webkit.org/changeset/51874
13893
13894         * src/ContextMenuClientImpl.h:
13895
13896 2009-12-09  Darin Fisher  <darin@chromium.org>
13897
13898         Reviewed by Eric Seidel.
13899
13900         https://bugs.webkit.org/show_bug.cgi?id=32324
13901         [Chromium] Suppress WebFrameClient callbacks from a detached frame.
13902
13903         This change means that we no longer need the ClientHandle class.
13904         FrameLoaderClient::detachedFromParent3() is called on each frame
13905         in the frame tree from within frameDetached().
13906
13907         Test: http/tests/loading/gmail-assert-on-load.html
13908
13909         * src/FrameLoaderClientImpl.cpp:
13910         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
13911         * src/WebFrameImpl.cpp:
13912         (WebKit::WebFrameImpl::create):
13913         (WebKit::WebFrameImpl::WebFrameImpl):
13914         (WebKit::WebFrameImpl::createChildFrame):
13915         * src/WebFrameImpl.h:
13916         (WebKit::WebFrameImpl::client):
13917         (WebKit::WebFrameImpl::dropClient):
13918         * src/WebViewImpl.cpp:
13919         (WebKit::WebViewImpl::close):
13920
13921 2009-12-08  Stuart Morgan  <stuartmorgan@chromium.org>
13922
13923         Reviewed by Darin Fisher.
13924
13925         Include clickCount when doing MouseEvent -> WebMouseEvent conversion
13926         in Chromium API.
13927
13928         https://bugs.webkit.org/show_bug.cgi?id=32289
13929
13930         * src/WebInputEventConversion.cpp:
13931         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
13932
13933 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
13934
13935         Unreviewed, build fix.
13936
13937         Add return statement to default implementation of hostIdentifier method
13938         introduced in http://trac.webkit.org/changeset/51897
13939
13940         * public/WebDevToolsAgentClient.h:
13941         (WebKit::WebDevToolsAgentClient::hostIdentifier):
13942
13943 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
13944
13945         Reviewed by Pavel Feldman.
13946
13947         Add declaration of static methods that allow to dispatch
13948         DevTools messages on the IO thread and accept WebDevToolsMessageData
13949         argument.
13950
13951         https://bugs.webkit.org/show_bug.cgi?id=32314
13952
13953         * public/WebDevToolsAgent.h:
13954         * public/WebDevToolsAgentClient.h:
13955
13956 2009-12-09  Yury Semikhatsky  <yurys@chromium.org>
13957
13958         Reviewed by Pavel Feldman.
13959
13960         Introduce a class for devtools message data
13961
13962         https://bugs.webkit.org/show_bug.cgi?id=32314
13963
13964         * WebKit.gyp:
13965         * public/WebDevToolsAgent.h:
13966         * public/WebDevToolsAgentClient.h:
13967         (WebKit::WebDevToolsAgentClient::sendMessageToFrontend):
13968         (WebKit::WebDevToolsAgentClient::forceRepaint):
13969         (WebKit::WebDevToolsAgentClient::hostIdentifier):
13970         (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged):
13971         * public/WebDevToolsFrontend.h:
13972         * public/WebDevToolsFrontendClient.h:
13973         (WebKit::WebDevToolsFrontendClient::sendMessageToAgent):
13974         * public/WebDevToolsMessageData.h: Added.
13975
13976 2009-12-08  Pavel Feldman  <pfeldman@chromium.org>
13977
13978         Reviewed by Darin Fisher.
13979
13980         Chromium: support custom WebCore context menu items in Chromium port.
13981
13982         https://bugs.webkit.org/show_bug.cgi?id=32277
13983
13984         * public/WebContextMenuData.h:
13985         * public/WebPopupMenuInfo.h:
13986         (WebKit::WebPopupMenuInfo::Item::):
13987         * public/WebView.h:
13988         * src/ContextMenuClientImpl.cpp:
13989         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
13990         * src/WebViewImpl.cpp:
13991         (WebKit::WebViewImpl::executeCustomContextMenuAction):
13992         * src/WebViewImpl.h:
13993
13994 2009-12-08  Albert J. Wong  <ajwong@chromium.org>
13995
13996         Not reviewed: Chromium build fix.
13997
13998         r51859 changed the case for some of the ResourceRequest::TargetType
13999         enums.
14000
14001         * src/FrameLoaderClientImpl.cpp:
14002         (WebKit::determineTargetTypeFromLoader):
14003
14004 2009-12-07  Zhe Su  <suzhe@chromium.org>
14005
14006         Reviewed by Darin Fisher.
14007
14008         [Chromium] accesskey is not supported on Chromium Mac.
14009         https://bugs.webkit.org/show_bug.cgi?id=32213
14010
14011         This change fixes (partially) the accesskey issue by decoupling the
14012         code for handling accesskeys and system keys. Because on Mac,
14013         the modifiers of accesskeys are ctrl+alt, which are not marked as
14014         system keys.
14015         In order to fully fix this issue, some changes in Chromium code is
14016         also required.
14017
14018         * src/WebViewImpl.cpp:
14019         (WebKit::WebViewImpl::keyEvent):
14020         (WebKit::WebViewImpl::charEvent):
14021
14022 2009-12-07  Evan Martin  <evan@chromium.org>
14023
14024         Reviewed by Eric Seidel.
14025
14026         Chromium: theme scrollbars to match GTK theme.
14027         Add API to set the colors.
14028
14029         Since the change is to the Chromium WebKit API layer, testing will
14030         be in Chromium's test shell.
14031         http://bugs.webkit.org/show_bug.cgi?id=32048
14032
14033         Patch from Markus Gutschke <markus@chromium.org>.
14034
14035         * public/WebView.h:
14036         * src/WebViewImpl.cpp:
14037         (WebKit::WebViewImpl::setScrollbarColors):
14038         * src/WebViewImpl.h:
14039
14040 2009-12-07  Finnur Thorarinsson  <finnur.webkit@gmail.com>
14041
14042         Reviewed by Darin Fisher.
14043
14044         A patch for Chromium to restrict the scope of the Gmail focus fix,
14045         where we set the Selection to 0,0 for content-editable fields and
14046         also make sure we set the selection end-state for find to select the
14047         text found (when not focusing a link we found).
14048         WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248
14049
14050         * src/WebFrameImpl.cpp:
14051         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
14052         * src/WebViewImpl.cpp:
14053         (WebKit::WebViewImpl::setFocus):
14054
14055 2009-12-07  Dmitry Titov  <dimich@chromium.org>
14056
14057         Rubber-stamped by Darin Adler.
14058
14059         Remove ENABLE_SHARED_SCRIPT flags
14060         https://bugs.webkit.org/show_bug.cgi?id=32245
14061         This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
14062
14063         * features.gypi:
14064
14065 2009-12-07  Yaar Schnitman  <yaar@chromium.org>
14066
14067         Reviewed by Darin Fisher.
14068
14069         fixes to build-webkit --chromium
14070         https://bugs.webkit.org/show_bug.cgi?id=32179
14071
14072         * DEPS:
14073         * WebKit.gyp:
14074         * gyp_webkit:
14075
14076 2009-12-07  Mikhail Naganov  <mnaganov@chromium.org>
14077
14078         Reviewed by Pavel Feldman.
14079
14080         [Chromium] Add declarations for DevTools message dispatching on IO thread
14081         (see http://codereview.chromium.org/460018)
14082
14083         https://bugs.webkit.org/show_bug.cgi?id=32217
14084
14085         * public/WebDevToolsAgent.h:
14086         * public/WebDevToolsAgentClient.h:
14087
14088 2009-12-04  James Hawkins  <jhawkins@chromium.org>
14089
14090         Reviewed by Darin Fisher.
14091
14092         https://bugs.webkit.org/show_bug.cgi?id=32095
14093         Implement WebRegularExpression, a WebKit API for accessing
14094         WebCore::RegularExpression.
14095
14096         * WebKit.gyp:
14097         * public/WebRegularExpression.h: Added.
14098         * public/WebTextCaseSensitivity.h: Added.
14099         (WebKit::):
14100         * src/AssertMatchingEnums.cpp:
14101         * src/WebRegularExpression.cpp: Added.
14102         (WebKit::WebRegularExpression::WebRegularExpression):
14103         (WebKit::WebRegularExpression::~WebRegularExpression):
14104         (WebKit::WebRegularExpression::match):
14105
14106 2009-12-04  Peter Kasting  <pkasting@google.com>
14107
14108         Reviewed by Darin Fisher.
14109
14110         [Chromium] Simplify zoom-related APIs and add a zoom level getter,
14111         part two: Remove deprecated APIs.
14112         https://bugs.webkit.org/show_bug.cgi?id=31893
14113
14114         * public/WebView.h:
14115         * src/WebViewImpl.cpp:
14116         * src/WebViewImpl.h:
14117
14118 2009-12-03  Jonathan Dixon  <joth@chromium.org>
14119
14120         Reviewed by Dimitri Glazkov.
14121
14122         Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium
14123         https://bugs.webkit.org/show_bug.cgi?id=32066
14124
14125         Add the plumbing to map WebSettings through to WebCore::Settings
14126
14127         * features.gypi:
14128         * public/WebSettings.h: Add setGeolocationEnabled API to interface
14129         * src/WebSettingsImpl.cpp:
14130         (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled
14131         * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function
14132
14133 2009-12-03  Brady Eidson  <beidson@apple.com>
14134
14135         Reviewed by Sam Weinig.
14136
14137         <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
14138
14139         * src/FrameLoaderClientImpl.cpp:
14140         (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
14141         (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
14142         (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
14143         * src/FrameLoaderClientImpl.h:
14144
14145 2009-12-03  Pavel Feldman  <pfeldman@chromium.org>
14146
14147         Reviewed by Timothy Hatcher.
14148
14149         Chromium: Add support for settings containing ":"
14150
14151         https://bugs.webkit.org/show_bug.cgi?id=32118
14152
14153         * src/InspectorClientImpl.cpp:
14154         (WebKit::InspectorClientImpl::loadSettings):
14155
14156 2009-12-03  Pavel Feldman  <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
14157
14158         Reviewed by Timothy Hatcher.
14159
14160         Web Inspector: Simplify the settings support in inspector controller.
14161
14162         https://bugs.webkit.org/show_bug.cgi?id=32076
14163
14164         * src/InspectorClientImpl.cpp:
14165         (WebKit::InspectorClientImpl::hiddenPanels):
14166         (WebKit::InspectorClientImpl::populateSetting):
14167         (WebKit::InspectorClientImpl::storeSetting):
14168         (WebKit::InspectorClientImpl::loadSettings):
14169         (WebKit::InspectorClientImpl::saveSettings):
14170         * src/InspectorClientImpl.h:
14171
14172 2009-12-03  Ben Murdoch  <benm@google.com>
14173
14174         Reviewed by Brady Eidson.
14175
14176         [Android] The FrameLoaderClient is unaware of BackForwardList changes.
14177         https://bugs.webkit.org/show_bug.cgi?id=31914
14178
14179         * src/FrameLoaderClientImpl.cpp:
14180         (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
14181         (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto.
14182         (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito.
14183         * src/FrameLoaderClientImpl.h:
14184
14185 2009-12-02  Yusuke Sato  <yusukes@chromium.org>
14186
14187         Reviewed by Eric Seidel.
14188
14189         Sanitize web fonts using the OTS library 
14190         https://bugs.webkit.org/show_bug.cgi?id=31106
14191
14192         * DEPS: Added dependency to the OpenType sanitizer library.
14193         * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1.
14194
14195 2009-12-02  Evan Stade  <estade@chromium.org>
14196
14197         Reviewed by Darin Fisher.
14198
14199         https://bugs.webkit.org/show_bug.cgi?id=32029
14200         Mousewheel event delta has reversed sign on Linux Chrome.
14201
14202         No new tests (layout tests don't cover event conversion code).
14203         Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel
14204
14205         * src/gtk/WebInputEventFactory.cpp:
14206         (WebKit::WebInputEventFactory::mouseWheelEvent):
14207
14208 2009-12-02  Anton Muhin  <antonm@chromium.org>
14209
14210         Reviewed by Adam Barth.
14211
14212         Allow to skip thread checks when accessing DOMDataStore for processes
14213         which run V8 in single thread mode.
14214         https://bugs.webkit.org/show_bug.cgi?id=31877
14215
14216         * src/WebScriptController.cpp:
14217         (WebKit::WebScriptController::enableV8SingleThreadMode):
14218
14219 2009-12-01  Peter Kasting  <pkasting@google.com>
14220
14221         Reviewed by Darin Fisher.
14222
14223         [Chromium] Simplify zoom-related APIs and add a zoom level getter,
14224         part one: Add new APIs.  (Old APIs will be removed in a second pass.)
14225         https://bugs.webkit.org/show_bug.cgi?id=31893
14226
14227         * public/WebView.h:
14228         * src/WebViewImpl.cpp:
14229         (WebKit::WebViewImpl::zoomLevel):
14230         (WebKit::WebViewImpl::setZoomLevel):
14231         * src/WebViewImpl.h:
14232
14233 2009-12-01  Xiyuan Xia  <xiyuan@chromium.org>
14234
14235         Reviewed by Darin Fisher.
14236
14237         Only fire start/stop events when main frame is not loading.
14238
14239         https://bugs.webkit.org/show_bug.cgi?id=31838
14240
14241         * src/FrameLoaderClientImpl.cpp:
14242         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
14243
14244 2009-11-27  Yury Semikhatsky  <yurys@chromium.org>
14245
14246         Reviewed by Pavel Feldman.
14247
14248         Add separate method for pause command to WebDevToolsAgent
14249         and WebDevToolsFrontendClient interfaces so that pause command
14250         can be processed on the IO thread.
14251
14252         https://bugs.webkit.org/show_bug.cgi?id=31934
14253
14254         * public/WebDevToolsAgent.h:
14255         * public/WebDevToolsFrontendClient.h:
14256         (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent):
14257         (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript):
14258         (WebKit::WebDevToolsFrontendClient::activateWindow):
14259         (WebKit::WebDevToolsFrontendClient::closeWindow):
14260         (WebKit::WebDevToolsFrontendClient::dockWindow):
14261         (WebKit::WebDevToolsFrontendClient::undockWindow):
14262
14263 2009-11-27  Yury Semikhatsky  <yurys@chromium.org>
14264
14265         Reviewed by Pavel Feldman.
14266
14267         WebCore part of the fix that allows to view plugin
14268         resources loaded by plugins. Methods that for resource
14269         loading notifications are exposed through WebDevToolsAgent
14270         interface to the glue code to allow Chromium's plugin
14271         implementation to notify InspectorController about resource
14272         loading in plugins.
14273
14274         https://bugs.webkit.org/show_bug.cgi?id=31832
14275
14276         * public/WebDevToolsAgent.h:
14277         * public/WebView.h:
14278         * src/WebViewImpl.cpp:
14279         (WebKit::WebViewImpl::createUniqueIdentifierForRequest):
14280         * src/WebViewImpl.h:
14281
14282 2009-11-26  Yury Semikhatsky  <yurys@chromium.org>
14283
14284         Not reviewed. Build fix: revert r51421.
14285
14286         * public/WebDevToolsAgent.h:
14287         * public/WebView.h:
14288         * src/WebViewImpl.cpp:
14289         * src/WebViewImpl.h:
14290
14291 2009-11-25  Dimitri Glazkov  <dglazkov@chromium.org>
14292
14293         Reviewed by David Levin.
14294
14295         [Chromium] Implement canSetValueAttribute in the API.
14296         https://bugs.webkit.org/show_bug.cgi?id=31894
14297
14298         * public/WebAccessibilityObject.h: Added decl.
14299         * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include.
14300         * src/WebAccessibilityObject.cpp:
14301         (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl.
14302
14303 2009-11-25  Dimitri Glazkov  <dglazkov@chromium.org>
14304
14305         Reviewed by Darin Fisher.
14306
14307         [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API.
14308         https://bugs.webkit.org/show_bug.cgi?id=31878
14309
14310         * public/WebSettings.h: Added decl.
14311         * src/WebSettingsImpl.cpp:
14312         (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl.
14313         * src/WebSettingsImpl.h:
14314
14315 2009-11-24  Dmitry Titov  <dimich@chromium.org>
14316
14317         Reviewed by Eric Seidel.
14318
14319         Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
14320         https://bugs.webkit.org/show_bug.cgi?id=31444
14321
14322         * features.gypi:
14323
14324 2009-11-24  Evan Stade  <estade@chromium.org>
14325
14326         Reviewed by David Levin.
14327
14328         Linux Chromium sends too many click events
14329         https://bugs.webkit.org/show_bug.cgi?id=31841
14330
14331         Manually count number of clicks for double/triple click events. This
14332         makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html
14333         Chromium side of this patch is here:
14334         http://codereview.chromium.org/431031/show
14335
14336         * src/gtk/WebInputEventFactory.cpp:
14337         (WebKit::WebInputEventFactory::mouseEvent):
14338
14339 2009-11-24  Darin Fisher  <darin@chromium.org>
14340
14341         Reviewed by Adam Barth.
14342
14343         [Chromium] Renderer hang when using www.expedia.com
14344         https://bugs.webkit.org/show_bug.cgi?id=31822
14345
14346         * src/FrameLoaderClientImpl.cpp:
14347         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
14348         Assign ReturnCacheDataDontLoad cache policy at the last moment
14349         to match Safari.  This way the cache policy does not get stored
14350         in DocumentLoader's originalRequest preventing it from being
14351         inherited by subresource requests.
14352         * src/ResourceHandle.cpp:
14353         (WebCore::ResourceHandle::willLoadFromCache): Remove assignment
14354         of ReturnCacheDataDontLoad cache policy so that it doesn't end
14355         up applying to the DocumentLoader's originalRequest.
14356
14357 2009-11-23  Kenneth Russell  <kbr@google.com>
14358
14359         Reviewed by Oliver Hunt.
14360
14361         Change get... calls to latest spec
14362         https://bugs.webkit.org/show_bug.cgi?id=30091
14363
14364         Removed old versions of get calls on WebGLRenderingContext and
14365         added new ones per spec returning "any". New code simplifies
14366         GraphicsContext3D and fixes previously unimplemented routines.
14367         Added custom JS and V8 bindings. Added exhaustive test case
14368         exercising all new code paths. Updated preexisting test cases for
14369         new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL
14370         implementations.
14371
14372         Ran WebGL layout tests in WebKit (clean) and Chrome (couple of
14373         preexisting known failures) and manual WebGL tests in both
14374         browsers.
14375
14376         Test: fast/canvas/webgl/gl-object-get-calls.html
14377
14378         * src/GraphicsContext3D.cpp:
14379         (WebCore::GraphicsContext3D::createFramebuffer):
14380         (WebCore::GraphicsContext3D::createRenderbuffer):
14381         (WebCore::GraphicsContext3D::deleteFramebuffer):
14382         (WebCore::GraphicsContext3D::deleteRenderbuffer):
14383         (WebCore::GraphicsContext3D::checkFramebufferStatus):
14384         (WebCore::GraphicsContext3D::getBooleanv):
14385         (WebCore::GraphicsContext3D::getBufferParameteriv):
14386         (WebCore::GraphicsContext3D::getFloatv):
14387         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
14388         (WebCore::GraphicsContext3D::getIntegerv):
14389         (WebCore::GraphicsContext3D::getProgramiv):
14390         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
14391         (WebCore::GraphicsContext3D::getShaderiv):
14392         (WebCore::GraphicsContext3D::getTexParameterfv):
14393         (WebCore::GraphicsContext3D::getTexParameteriv):
14394         (WebCore::GraphicsContext3D::getUniformfv):
14395         (WebCore::GraphicsContext3D::getUniformiv):
14396         (WebCore::GraphicsContext3D::getVertexAttribfv):
14397         (WebCore::GraphicsContext3D::getVertexAttribiv):
14398         (WebCore::GraphicsContext3D::isFramebuffer):
14399         (WebCore::GraphicsContext3D::isRenderbuffer):
14400
14401 2009-11-24  Pavel Feldman  <pfeldman@chromium.org>
14402
14403         Reviewed by Darin Fisher.
14404
14405         Chromium: Expose method for reporting user stats
14406         to the host. Also includes drive-by default implementation.
14407
14408         https://bugs.webkit.org/show_bug.cgi?id=31830
14409
14410         * public/WebKitClient.h:
14411
14412 2009-11-24  Adam Barth  <abarth@webkit.org>
14413
14414         Reviewed by Dimitri Glazkov.
14415
14416         [Chromium] Fix DOM storage layout tests
14417         https://bugs.webkit.org/show_bug.cgi?id=31833
14418
14419         The issue is, essentially, that this code assumes that
14420         SecurityOrigin::createString can re-create a SecurityOrigin given
14421         the string produced from SecurityOrigin::toString.  This is a bogus
14422         assumption in a number of corner cases (e.g., document.domain,
14423         @sandbox).  A recent patch (http://trac.webkit.org/changeset/51294)
14424         make this assumption further invalid in the case of of file:// URLs.
14425
14426         The correct fix is for this code to use WebSecurityOrigin objects
14427         (and not strings) to represent SecurityOrigin objects.  However, the
14428         expert on this code is on vacation, and I don't want to do major
14429         surgery here without his involvement.  This patch is a temporary fix
14430         to get these tests passing again.  We'll do the right fix once
14431         jorlow gets back from vacation.
14432
14433         Tests: Covered by a number of existing DOM storage tests.
14434
14435         * src/WebStorageNamespaceImpl.cpp:
14436         (WebKit::WebStorageNamespaceImpl::createStorageArea):
14437
14438 2009-11-23  Jian Li  <jianli@chromium.org>
14439
14440         Reviewed by NOBODY (Chromium build fix).
14441
14442         * src/GraphicsContext3D.cpp:
14443         (WebCore::GraphicsContext3D::createShader):
14444
14445 2009-11-20  Jian Li  <jianli@chromium.org>
14446
14447         Not reviewed. Fix chromium build.
14448
14449         * public/WebAccessibilityRole.h:
14450         (WebKit::):
14451         * src/AssertMatchingEnums.cpp:
14452
14453 2009-11-19  Yaar Schnitman  <yaar@chromium.org>
14454
14455         Reviewed by Darin Fisher.
14456
14457         Make chromium/webkit/glue/FormFieldValues use the WebKit API
14458
14459         https://bugs.webkit.org/show_bug.cgi?id=31650
14460
14461         * public/WebElement.h:
14462         * public/WebFormElement.h:
14463         * public/WebInputElement.h:
14464         (WebKit::WebInputElement::):
14465         * public/WebNode.h:
14466         * src/AssertMatchingEnums.cpp:
14467         * src/DOMUtilitiesPrivate.cpp:
14468         (WebKit::nameOfInputElement):
14469         * src/DOMUtilitiesPrivate.h:
14470         * src/EditorClientImpl.cpp:
14471         (WebKit::EditorClientImpl::autofill):
14472         (WebKit::EditorClientImpl::doAutofill):
14473         * src/WebFormElement.cpp:
14474         (WebKit::WebFormElement::name):
14475         (WebKit::WebFormElement::method):
14476         (WebKit::WebFormElement::getNamedElements):
14477         (WebKit::WebFormElement::getInputElements):
14478         * src/WebInputElement.cpp:
14479         (WebKit::WebInputElement::isEnabledFormControl):
14480         (WebKit::WebInputElement::inputType):
14481         (WebKit::WebInputElement::formControlType):
14482         (WebKit::WebInputElement::value):
14483         (WebKit::WebInputElement::dispatchFormControlChangeEvent):
14484         (WebKit::WebInputElement::setSelectionRange):
14485         (WebKit::WebInputElement::name):
14486         (WebKit::WebInputElement::nameForAutofill):
14487         * src/WebNode.cpp:
14488         (WebKit::WebNode::frame):
14489
14490 2009-11-18  Michelangelo De Simone  <micdesim@gmail.com>
14491
14492         Reviewed by Darin Adler.
14493
14494         Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>.
14495         Support for validationMessage attribute, as per HTML5 specs.
14496
14497         * src/LocalizedStrings.cpp:
14498         (WebCore::validationMessageValueMissingText):
14499         (WebCore::validationMessageTypeMismatchText):
14500         (WebCore::validationMessagePatternMismatchText):
14501         (WebCore::validationMessageTooLongText):
14502         (WebCore::validationMessageRangeUnderflowText):
14503         (WebCore::validationMessageRangeOverflowText):
14504         (WebCore::validationMessageStepMismatchText):
14505
14506 2009-11-18  Nate Chapin  <japhet@chromium.org>
14507
14508         Reviewed by Darin Fisher.
14509
14510         Remove Chromium port's dependency on some dummy pthreads header
14511         files that live in the Chromium repository.
14512
14513         https://bugs.webkit.org/show_bug.cgi?id=31648
14514
14515         * DEPS: Remove reference to chromium svn's webkit/build/ directory.
14516
14517 2009-11-18  Evan Stade  <estade@chromium.org>
14518
14519         Reviewed by Darin Fisher.
14520
14521         Menu button shows wrong content in Chromium
14522         https://bugs.webkit.org/show_bug.cgi?id=31448
14523
14524         Make context menu button (VK_APPS) show context menu for node that has
14525         keyboard focus. This affects both the content and the positioning.
14526
14527         * src/WebViewImpl.cpp:
14528         (WebKit::WebViewImpl::sendContextMenuEvent):
14529
14530 2009-11-17  Darin Fisher  <darin@chromium.org>
14531
14532         Reviewed by Dmitry Titov.
14533
14534         Minor cleanup in WebKit API
14535         https://bugs.webkit.org/show_bug.cgi?id=31616
14536
14537         * public/WebFormElement.h: Add missing WEBKIT_API prefix.
14538         * public/WebNode.h: Add missing WEBKIT_API prefix.
14539         * src/WebFormElement.cpp:
14540         (WebKit::WebFormElement::action): Make action getter const.
14541         * src/WebNode.cpp:
14542         (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame.
14543
14544 2009-11-17  Nicolas Weber  <thakis@chromium.org>
14545
14546         Reviewed by Darin Fisher, Dmitry Titov.
14547
14548         Revert r50887, it regressed handling of cmd-left when a text box is focused.
14549         https://bugs.webkit.org/show_bug.cgi?id=31566
14550
14551         * src/mac/WebInputEventFactory.mm:
14552         (WebKit::WebInputEventFactory::keyboardEvent):
14553
14554 2009-11-16  Kenneth Russell  <kbr@google.com>
14555
14556         Reviewed by Oliver Hunt.
14557
14558         Update API of WebGLArray and friends
14559         https://bugs.webkit.org/show_bug.cgi?id=31175
14560
14561         * src/GraphicsContext3D.cpp:
14562         (WebCore::GraphicsContext3D::bufferData):
14563         (WebCore::GraphicsContext3D::bufferSubData):
14564
14565 2009-11-15  Dimitri Glazkov  <dglazkov@chromium.org>
14566
14567         Unreviewed, build fix.
14568
14569         Correct an error in the previous commit
14570
14571         * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory,
14572           not WebAccessibilityDirectoryRole.
14573
14574 2009-11-15  Dimitri Glazkov  <dglazkov@chromium.org>
14575
14576         Unreviewed, build fix.
14577
14578         Bring WebAccessibilityRole up to sync after
14579         http://trac.webkit.org/changeset/51007.
14580
14581         * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory.
14582         * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and
14583           WebAccessibilityRoleDirectory.
14584
14585 2009-11-13  Dimitri Glazkov  <dglazkov@chromium.org>
14586
14587         Unreviewed, build fix.
14588
14589         [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld
14590         to catch up http://trac.webkit.org/changeset/50973.
14591
14592         * src/FrameLoaderClientImpl.cpp:
14593         (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
14594         * src/FrameLoaderClientImpl.h:
14595
14596 2009-11-13  Yaar Schnitman  <yaar@chromium.org>
14597
14598         Reviewed by Dimitri Glazkov.
14599
14600         Chromium WebKit Port to compile as dynamic lib
14601
14602         https://bugs.webkit.org/show_bug.cgi?id=31478
14603
14604         * WebKit.gyp:
14605
14606 2009-11-13  Aaron Boodman  <aa@chromium.org>
14607
14608         Reviewed by Eric Seidel.
14609
14610         Adds a way to get the document element's scrollHeight,
14611         which is sort of the moral equivalent to
14612         RenderBox::minPrefWidth().
14613
14614         https://bugs.webkit.org/show_bug.cgi?id=31036
14615
14616         * public/WebFrame.h: Declare documentElementScrollHeight()
14617         * src/WebFrameImpl.h: Ditto
14618         * src/WebFrameImpl.cpp: Implement documentElementScrollHeight()
14619         (WebKit::WebFrameImpl::documentElementScrollHeight): Return the
14620         scroll height of the document element, or zero if there's no
14621         documentElement.
14622
14623 2009-11-12  Dumitru Daniliuc  <dumi@chromium.org>
14624
14625         Reviewed by Dimitri Glazkov.
14626
14627         Adding Chromium's DatabaseTracker implementation.
14628
14629         https://bugs.webkit.org/show_bug.cgi?id=31440
14630
14631         * WebKit.gyp:
14632         * src/ChromeClientImpl.cpp:
14633         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
14634         * src/DatabaseObserver.cpp: Added.
14635         (WebCore::DatabaseObserver::databaseOpened):
14636         (WebCore::DatabaseObserver::databaseModified):
14637         (WebCore::DatabaseObserver::databaseClosed):
14638         * src/WebDatabase.cpp:
14639         (WebKit::WebDatabase::name):
14640         (WebKit::WebDatabase::displayName):
14641         (WebKit::WebDatabase::estimatedSize):
14642         (WebKit::WebDatabase::securityOrigin):
14643         (WebKit::WebDatabase::updateDatabaseSize):
14644         * src/WebSecurityOrigin.cpp:
14645         (WebKit::WebSecurityOrigin::toString):
14646         (WebKit::WebSecurityOrigin::databaseIdentifier):
14647
14648 2009-11-13  Yaar Schnitman  <yaar@chromium.org>
14649
14650         Reviewed by Dimitri Glazkov.
14651
14652         Rolling Chromium dependencies to match Chromium revision 31834. 
14653         
14654         https://bugs.webkit.org/show_bug.cgi?id=31445
14655
14656         * DEPS:
14657
14658 2009-11-12  Dumitru Daniliuc  <dumi@chromium.org>
14659
14660         Reviewed by Dimitri Glazkov.
14661
14662         Renaming some parameters passed to DB-related methods to better
14663         indicate their purpose.
14664
14665         https://bugs.webkit.org/show_bug.cgi?id=31449
14666
14667         * public/WebKitClient.h:
14668         * src/ChromiumBridge.cpp:
14669         (WebCore::ChromiumBridge::databaseOpenFile):
14670         (WebCore::ChromiumBridge::databaseDeleteFile):
14671         (WebCore::ChromiumBridge::databaseGetFileAttributes):
14672         (WebCore::ChromiumBridge::databaseGetFileSize):
14673
14674 2009-11-12  Adam Barth  <abarth>
14675
14676         Reviewed by Dimitri Glazkov.
14677
14678         [Chromium] reload-subframe-object.html fails
14679         https://bugs.webkit.org/show_bug.cgi?id=31398
14680
14681         More closely match FrameLoaderClient.mm.  Turns out we don't want to
14682         use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish
14683         between application/octet-stream and lack of knowledge of the MIME
14684         type.
14685
14686         Covered by reload-subframe-object.html.
14687
14688         * src/FrameLoaderClientImpl.cpp:
14689         (WebKit::FrameLoaderClientImpl::objectContentType):
14690
14691 2009-11-12  Nate Chapin  <japhet@chromium.org>
14692
14693         Unreviewed, Chromium build fix.
14694
14695         Add new accessibility enum values to Chromium enums from
14696         http://trac.webkit.org/changeset/50865 and
14697         http://trac.webkit.org/changeset/50883.
14698
14699         https://bugs.webkit.org/show_bug.cgi?id=31424
14700
14701         * public/WebAccessibilityRole.h:
14702         (WebKit::):
14703         * src/AssertMatchingEnums.cpp:
14704
14705 2009-11-12  Nicolas Weber  <thakis@chromium.org>
14706
14707         Reviewed by Dimitri Glazkov.
14708
14709         Send |keypress()| events for keys with cmd down, like safari.
14710         Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a
14711         keypress() event.
14712
14713         * src/mac/WebInputEventFactory.mm:
14714         (WebKit::WebInputEventFactory::keyboardEvent):
14715
14716 2009-11-11  Jeremy Orlow  <jorlow@chromium.org>
14717
14718         Not reviewed.  Build fix.  Will be cleaned up in subsequent patch once we know exaclty what's going on.
14719
14720         * src/WebBindings.cpp:
14721
14722 2009-11-11  Drew Wilson  <atwilson@chromium.org>
14723
14724         Reviewed by Dimitri Glazkov.
14725
14726         SharedWorkerRepository.connect() does not call WebSharedWorkerRepository
14727         https://bugs.webkit.org/show_bug.cgi?id=31371
14728
14729         Test: Unit tests can be enabled downstream when this lands.
14730
14731         * src/SharedWorkerRepository.cpp:
14732         (WebCore::SharedWorkerRepository::connect):
14733         Added missing call to WebSharedWorkerRepository.addSharedWorker().
14734
14735 2009-11-11  Yaar Schnitman  <yaar@chromium.org>
14736
14737         Reviewed by Dimitri Glazkov.
14738
14739         Tiny path fixes in Chromium API includes.
14740
14741         https://bugs.webkit.org/show_bug.cgi?id=31369
14742
14743         * public/linux/WebSandboxSupport.h: Fixed path.
14744         * src/WebBindings.cpp: Fixed path.
14745
14746 2009-11-11  Nate Chapin  <japhet@chromium.org>
14747
14748         Reviewed by Dimitri Glazkov.
14749
14750         http://trac.webkit.org/changeset/50811 removed some methods from
14751         platform/network/SocketStreamHandleClient.h, so remove them
14752         here too.
14753
14754         https://bugs.webkit.org/show_bug.cgi?id=31360
14755
14756         * public/WebSocketStreamHandleClient.h:
14757         * src/SocketStreamHandle.cpp:
14758         (WebCore::SocketStreamHandleInternal::send):
14759
14760 2009-11-11  Nate Chapin  <japhet@chromium.org>
14761
14762         Reviewed by Eric Seidel.
14763
14764         Remove some additional references to dragSourceMovedTo() not
14765         needed after http://trac.webkit.org/changeset/50786.
14766
14767         https://bugs.webkit.org/show_bug.cgi?id=31354
14768
14769         * public/WebView.h:
14770         * src/WebViewImpl.h:
14771
14772 2009-11-11  Nate Chapin  <japhet@chromium.org>
14773
14774         Reviewed by Dimitri Glazkov.
14775
14776         Remove WebViewImpl::dragSourceMovedTo(), as it is no longer
14777         needed after http://trac.webkit.org/changeset/50786.
14778
14779         https://bugs.webkit.org/show_bug.cgi?id=31354
14780
14781         * src/WebViewImpl.cpp:
14782
14783 2009-11-10  Nate Chapin  <japhet@chromium.org>
14784
14785         Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760.
14786
14787         * src/WebFrameImpl.cpp:
14788         (WebKit::WebFrameImpl::paint):
14789
14790 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
14791
14792         Reviewed by Dimitri Glazkov.
14793
14794         Modified WebKit.gyp to build the webkit api.
14795
14796         https://bugs.webkit.org/show_bug.cgi?id=31320
14797
14798         * README: Added.
14799         * WebKit.gyp: Added.
14800         * webkit.gyp: Removed.
14801
14802 2009-11-10  Nate Chapin  <japhet@chromium.org>
14803
14804         Reviewed by Eric Seidel.
14805
14806         Update references to Canvas 3D classes to use the WebGL prefix
14807         introduced in http://trac.webkit.org/changeset/50725.
14808
14809         https://bugs.webkit.org/show_bug.cgi?id=31276
14810
14811         * src/GraphicsContext3D.cpp:
14812         (WebCore::GraphicsContext3DInternal::beginPaint):
14813         (WebCore::GraphicsContext3DInternal::bindBuffer):
14814         (WebCore::GraphicsContext3DInternal::bindTexture):
14815         (WebCore::GraphicsContext3D::beginPaint):
14816         (WebCore::GraphicsContext3D::bindAttribLocation):
14817         (WebCore::GraphicsContext3D::bindBuffer):
14818         (WebCore::GraphicsContext3D::bindTexture):
14819         (WebCore::GraphicsContext3D::bufferData):
14820         (WebCore::GraphicsContext3D::bufferSubData):
14821         (WebCore::GraphicsContext3D::detachShader):
14822         (WebCore::GraphicsContext3D::getActiveAttrib):
14823         (WebCore::GraphicsContext3D::getActiveUniform):
14824         (WebCore::GraphicsContext3D::getAttribLocation):
14825         (WebCore::GraphicsContext3D::getBooleanv):
14826         (WebCore::GraphicsContext3D::getBufferParameteriv):
14827         (WebCore::GraphicsContext3D::getFloatv):
14828         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
14829         (WebCore::GraphicsContext3D::getIntegerv):
14830         (WebCore::GraphicsContext3D::getProgrami):
14831         (WebCore::GraphicsContext3D::getProgramiv):
14832         (WebCore::GraphicsContext3D::getProgramInfoLog):
14833         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
14834         (WebCore::GraphicsContext3D::getShaderi):
14835         (WebCore::GraphicsContext3D::getShaderiv):
14836         (WebCore::GraphicsContext3D::getShaderInfoLog):
14837         (WebCore::GraphicsContext3D::getShaderSource):
14838         (WebCore::GraphicsContext3D::getTexParameterfv):
14839         (WebCore::GraphicsContext3D::getTexParameteriv):
14840         (WebCore::GraphicsContext3D::getUniformf):
14841         (WebCore::GraphicsContext3D::getUniformfv):
14842         (WebCore::GraphicsContext3D::getUniformi):
14843         (WebCore::GraphicsContext3D::getUniformiv):
14844         (WebCore::GraphicsContext3D::getUniformLocation):
14845         (WebCore::GraphicsContext3D::getVertexAttribfv):
14846         (WebCore::GraphicsContext3D::getVertexAttribiv):
14847         (WebCore::GraphicsContext3D::isBuffer):
14848         (WebCore::GraphicsContext3D::isFramebuffer):
14849         (WebCore::GraphicsContext3D::isProgram):
14850         (WebCore::GraphicsContext3D::isRenderbuffer):
14851         (WebCore::GraphicsContext3D::isShader):
14852         (WebCore::GraphicsContext3D::isTexture):
14853         (WebCore::GraphicsContext3D::readPixels):
14854         (WebCore::GraphicsContext3D::shaderSource):
14855         (WebCore::GraphicsContext3D::texImage2D):
14856         (WebCore::GraphicsContext3D::texSubImage2D):
14857
14858 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
14859
14860         Reviewed by Dimitri Glazkov.
14861
14862         Up-streaming Chromium API src files: WebWorker and friends.
14863
14864         https://bugs.webkit.org/show_bug.cgi?id=31276
14865
14866         * src/WebWorkerBase.cpp: Added.
14867         (WebKit::WorkerWebFrameClient::didCreateDataSource):
14868         (WebKit::WorkerWebFrameClient::sharedInstance):
14869         (WebKit::WorkerWebFrameClient::WorkerWebFrameClient):
14870         (WebKit::initializeWebKitStaticValues):
14871         (WebKit::WebWorkerBase::WebWorkerBase):
14872         (WebKit::WebWorkerBase::~WebWorkerBase):
14873         (WebKit::WebWorkerBase::stopWorkerThread):
14874         (WebKit::WebWorkerBase::initializeLoader):
14875         (WebKit::WebWorkerBase::dispatchTaskToMainThread):
14876         (WebKit::WebWorkerBase::invokeTaskMethod):
14877         (WebKit::WebWorkerBase::postMessageToWorkerObject):
14878         (WebKit::WebWorkerBase::postMessageTask):
14879         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
14880         (WebKit::WebWorkerBase::postExceptionTask):
14881         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
14882         (WebKit::WebWorkerBase::postConsoleMessageTask):
14883         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
14884         (WebKit::WebWorkerBase::confirmMessageTask):
14885         (WebKit::WebWorkerBase::reportPendingActivity):
14886         (WebKit::WebWorkerBase::reportPendingActivityTask):
14887         (WebKit::WebWorkerBase::workerContextClosed):
14888         (WebKit::WebWorkerBase::workerContextClosedTask):
14889         (WebKit::WebWorkerBase::workerContextDestroyed):
14890         (WebKit::WebWorkerBase::workerContextDestroyedTask):
14891         (WebKit::WebWorkerBase::postTaskToLoader):
14892         (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
14893         * src/WebWorkerBase.h: Added.
14894         (WebKit::WebWorkerBase::setWorkerThread):
14895         (WebKit::WebWorkerBase::workerThread):
14896         * src/WebWorkerClientImpl.cpp: Added.
14897         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
14898         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
14899         (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
14900         (WebKit::WebWorkerClientImpl::setWebWorker):
14901         (WebKit::WebWorkerClientImpl::startWorkerContext):
14902         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
14903         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
14904         (WebKit::WebWorkerClientImpl::hasPendingActivity):
14905         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
14906         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
14907         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
14908         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
14909         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
14910         (WebKit::WebWorkerClientImpl::reportPendingActivity):
14911         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
14912         (WebKit::WebWorkerClientImpl::workerContextClosed):
14913         (WebKit::WebWorkerClientImpl::startWorkerContextTask):
14914         (WebKit::WebWorkerClientImpl::terminateWorkerContextTask):
14915         (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask):
14916         (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask):
14917         (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask):
14918         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
14919         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
14920         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask):
14921         (WebKit::WebWorkerClientImpl::reportPendingActivityTask):
14922         * src/WebWorkerClientImpl.h: Added.
14923         (WebKit::WebWorkerClientImpl::createWorker):
14924         (WebKit::WebWorkerClientImpl::notificationPresenter):
14925         * src/WebWorkerImpl.cpp: Added.
14926         (WebKit::WebWorker::create):
14927         (WebKit::WebWorkerImpl::WebWorkerImpl):
14928         (WebKit::WebWorkerImpl::~WebWorkerImpl):
14929         (WebKit::WebWorkerImpl::commonClient):
14930         (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
14931         (WebKit::WebWorkerImpl::startWorkerContext):
14932         (WebKit::WebWorkerImpl::terminateWorkerContext):
14933         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
14934         (WebKit::WebWorkerImpl::workerObjectDestroyed):
14935         (WebKit::WebWorkerImpl::clientDestroyed):
14936         * src/WebWorkerImpl.h: Added.
14937         (WebKit::WebWorkerImpl::client):
14938
14939 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
14940
14941         Reviewed by Dimitri Glazkov.
14942
14943         Up-streaming Chromium API src files: Platform specific files.
14944
14945         https://bugs.webkit.org/show_bug.cgi?id=31276
14946
14947         * src/gtk/WebFontInfo.cpp: Added.
14948         (WebKit::WebFontInfo::familyForChars):
14949         * src/gtk/WebInputEventFactory.cpp: Added.
14950         (WebKit::gdkEventTimeToWebEventTime):
14951         (WebKit::gdkStateToWebEventModifiers):
14952         (WebKit::gdkEventToWindowsKeyCode):
14953         (WebKit::getControlCharacter):
14954         (WebKit::WebInputEventFactory::keyboardEvent):
14955         (WebKit::WebInputEventFactory::mouseEvent):
14956         (WebKit::WebInputEventFactory::mouseWheelEvent):
14957         * src/gtk/WebScreenInfoFactory.cpp: Added.
14958         (WebKit::WebScreenInfoFactory::screenInfo):
14959         * src/linux/WebFontRendering.cpp: Added.
14960         (WebKit::WebFontRendering::setHinting):
14961         (WebKit::WebFontRendering::setAntiAlias):
14962         (WebKit::WebFontRendering::setSubpixelGlyphs):
14963         (WebKit::WebFontRendering::setLCDOrder):
14964         (WebKit::WebFontRendering::setLCDOrientation):
14965         * src/mac/WebInputEventFactory.mm: Added.
14966         (WebKit::isKeyUpEvent):
14967         (WebKit::isKeypadEvent):
14968         (WebKit::windowsKeyCodeForKeyEvent):
14969         (WebKit::textFromEvent):
14970         (WebKit::unmodifiedTextFromEvent):
14971         (WebKit::keyIdentifierForKeyEvent):
14972         (WebKit::modifiersFromEvent):
14973         (WebKit::WebInputEventFactory::keyboardEvent):
14974         (WebKit::WebInputEventFactory::mouseEvent):
14975         (WebKit::WebInputEventFactory::mouseWheelEvent):
14976         * src/mac/WebScreenInfoFactory.mm: Added.
14977         (WebKit::screenForWindow):
14978         (WebKit::toUserSpace):
14979         (WebKit::WebScreenInfoFactory::screenInfo):
14980         * src/win/WebInputEventFactory.cpp: Added.
14981         (WebKit::isKeyPad):
14982         (WebKit::WebInputEventFactory::keyboardEvent):
14983         (WebKit::GetRelativeCursorPos):
14984         (WebKit::WebInputEventFactory::resetLastClickState):
14985         (WebKit::WebInputEventFactory::mouseEvent):
14986         (WebKit::WebInputEventFactory::mouseWheelEvent):
14987         * src/win/WebScreenInfoFactory.cpp: Added.
14988         (WebKit::toWebRect):
14989         (WebKit::WebScreenInfoFactory::screenInfo):
14990         * src/x11/WebScreenInfoFactory.cpp: Added.
14991         (WebKit::WebScreenInfoFactory::screenInfo):
14992
14993 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
14994
14995         Reviewed by Eric Seidel.
14996
14997         Up-streaming Chromium API src files: WrapperResourceRequest and Response
14998
14999         https://bugs.webkit.org/show_bug.cgi?id=31276
15000
15001         * src/WrappedResourceRequest.h: Added.
15002         (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
15003         (WebKit::WrappedResourceRequest::WrappedResourceRequest):
15004         (WebKit::WrappedResourceRequest::bind):
15005         (WebKit::WrappedResourceRequest::Handle::dispose):
15006         * src/WrappedResourceResponse.h: Added.
15007         (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
15008         (WebKit::WrappedResourceResponse::WrappedResourceResponse):
15009         (WebKit::WrappedResourceResponse::bind):
15010         (WebKit::WrappedResourceResponse::Handle::dispose):
15011
15012 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
15013
15014         Reviewed by Dimitri Glazkov.
15015
15016         Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy
15017
15018         https://bugs.webkit.org/show_bug.cgi?id=31276
15019
15020         * src/SocketStreamHandle.cpp: Added.
15021         (WebCore::SocketStreamHandleInternal::create):
15022         (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal):
15023         (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal):
15024         (WebCore::SocketStreamHandleInternal::connect):
15025         (WebCore::SocketStreamHandleInternal::send):
15026         (WebCore::SocketStreamHandleInternal::close):
15027         (WebCore::SocketStreamHandleInternal::willOpenStream):
15028         (WebCore::SocketStreamHandleInternal::didOpenStream):
15029         (WebCore::SocketStreamHandleInternal::didSendData):
15030         (WebCore::SocketStreamHandleInternal::didReceiveData):
15031         (WebCore::SocketStreamHandleInternal::didClose):
15032         (WebCore::SocketStreamHandleInternal::didFail):
15033         (WebCore::SocketStreamHandle::SocketStreamHandle):
15034         (WebCore::SocketStreamHandle::~SocketStreamHandle):
15035         (WebCore::SocketStreamHandle::platformSend):
15036         (WebCore::SocketStreamHandle::platformClose):
15037         (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
15038         (WebCore::SocketStreamHandle::receivedCredential):
15039         (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
15040         (WebCore::SocketStreamHandle::receivedCancellation):
15041         * src/StorageAreaProxy.cpp: Added.
15042         (WebCore::StorageAreaProxy::StorageAreaProxy):
15043         (WebCore::StorageAreaProxy::~StorageAreaProxy):
15044         (WebCore::StorageAreaProxy::length):
15045         (WebCore::StorageAreaProxy::key):
15046         (WebCore::StorageAreaProxy::getItem):
15047         (WebCore::StorageAreaProxy::setItem):
15048         (WebCore::StorageAreaProxy::removeItem):
15049         (WebCore::StorageAreaProxy::clear):
15050         (WebCore::StorageAreaProxy::contains):
15051         * src/StorageAreaProxy.h: Added.
15052         * src/StorageEventDispatcherChromium.cpp: Added.
15053         (WebCore::StorageEventDispatcher::dispatch):
15054         * src/StorageEventDispatcherImpl.cpp: Added.
15055         (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
15056         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
15057         * src/StorageEventDispatcherImpl.h: Added.
15058         * src/StorageNamespaceProxy.cpp: Added.
15059         (WebCore::StorageNamespace::localStorageNamespace):
15060         (WebCore::StorageNamespace::sessionStorageNamespace):
15061         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy):
15062         (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy):
15063         (WebCore::StorageNamespaceProxy::copy):
15064         (WebCore::StorageNamespaceProxy::storageArea):
15065         (WebCore::StorageNamespaceProxy::close):
15066         (WebCore::StorageNamespaceProxy::unlock):
15067         * src/StorageNamespaceProxy.h: Added.
15068
15069 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
15070
15071         Reviewed by Dimitri Glazkov.
15072
15073         Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository
15074
15075         https://bugs.webkit.org/show_bug.cgi?id=31276
15076
15077         * src/NotificationPresenterImpl.cpp: Added.
15078         (WebKit::VoidCallbackClient::VoidCallbackClient):
15079         (WebKit::VoidCallbackClient::permissionRequestComplete):
15080         (WebKit::NotificationPresenterImpl::initialize):
15081         (WebKit::NotificationPresenterImpl::isInitialized):
15082         (WebKit::NotificationPresenterImpl::show):
15083         (WebKit::NotificationPresenterImpl::cancel):
15084         (WebKit::NotificationPresenterImpl::notificationObjectDestroyed):
15085         (WebKit::NotificationPresenterImpl::checkPermission):
15086         (WebKit::NotificationPresenterImpl::requestPermission):
15087         * src/NotificationPresenterImpl.h: Added.
15088         (WebKit::NotificationPresenterImpl::NotificationPresenterImpl):
15089         * src/PlatformMessagePortChannel.cpp: Added.
15090         (WebCore::MessagePortChannel::create):
15091         (WebCore::MessagePortChannel::createChannel):
15092         (WebCore::MessagePortChannel::MessagePortChannel):
15093         (WebCore::MessagePortChannel::~MessagePortChannel):
15094         (WebCore::MessagePortChannel::entangleIfOpen):
15095         (WebCore::MessagePortChannel::disentangle):
15096         (WebCore::MessagePortChannel::postMessageToRemote):
15097         (WebCore::MessagePortChannel::tryGetMessageFromRemote):
15098         (WebCore::MessagePortChannel::close):
15099         (WebCore::MessagePortChannel::isConnectedTo):
15100         (WebCore::MessagePortChannel::hasPendingActivity):
15101         (WebCore::MessagePortChannel::locallyEntangledPort):
15102         (WebCore::PlatformMessagePortChannel::create):
15103         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
15104         (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel):
15105         (WebCore::PlatformMessagePortChannel::createChannel):
15106         (WebCore::PlatformMessagePortChannel::messageAvailable):
15107         (WebCore::PlatformMessagePortChannel::entangleIfOpen):
15108         (WebCore::PlatformMessagePortChannel::disentangle):
15109         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
15110         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
15111         (WebCore::PlatformMessagePortChannel::close):
15112         (WebCore::PlatformMessagePortChannel::isConnectedTo):
15113         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
15114         (WebCore::PlatformMessagePortChannel::setEntangledChannel):
15115         (WebCore::PlatformMessagePortChannel::webChannelRelease):
15116         * src/PlatformMessagePortChannel.h: Added.
15117         * src/ResourceHandle.cpp: Added.
15118         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
15119         (WebCore::ResourceHandleInternal::start):
15120         (WebCore::ResourceHandleInternal::cancel):
15121         (WebCore::ResourceHandleInternal::setDefersLoading):
15122         (WebCore::ResourceHandleInternal::allowStoredCredentials):
15123         (WebCore::ResourceHandleInternal::willSendRequest):
15124         (WebCore::ResourceHandleInternal::didSendData):
15125         (WebCore::ResourceHandleInternal::didReceiveResponse):
15126         (WebCore::ResourceHandleInternal::didReceiveData):
15127         (WebCore::ResourceHandleInternal::didFinishLoading):
15128         (WebCore::ResourceHandleInternal::didFail):
15129         (WebCore::ResourceHandle::ResourceHandle):
15130         (WebCore::ResourceHandle::create):
15131         (WebCore::ResourceHandle::request):
15132         (WebCore::ResourceHandle::client):
15133         (WebCore::ResourceHandle::setClient):
15134         (WebCore::ResourceHandle::setDefersLoading):
15135         (WebCore::ResourceHandle::start):
15136         (WebCore::ResourceHandle::clearAuthentication):
15137         (WebCore::ResourceHandle::cancel):
15138         (WebCore::ResourceHandle::~ResourceHandle):
15139         (WebCore::ResourceHandle::bufferedData):
15140         (WebCore::ResourceHandle::loadsBlocked):
15141         (WebCore::ResourceHandle::supportsBufferedData):
15142         (WebCore::ResourceHandle::loadResourceSynchronously):
15143         (WebCore::ResourceHandle::willLoadFromCache):
15144         * src/SharedWorkerRepository.cpp: Added.
15145         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
15146         (WebCore::SharedWorkerScriptLoader::load):
15147         (WebCore::getWebPort):
15148         (WebCore::SharedWorkerScriptLoader::notifyFinished):
15149         (WebCore::SharedWorkerScriptLoader::sendConnect):
15150         (WebCore::SharedWorkerScriptLoader::contextDestroyed):
15151         (WebCore::SharedWorkerScriptLoader::connected):
15152         (WebCore::SharedWorkerRepository::isAvailable):
15153         (WebCore::getId):
15154         (WebCore::SharedWorkerRepository::connect):
15155         (WebCore::SharedWorkerRepository::documentDetached):
15156         (WebCore::SharedWorkerRepository::hasSharedWorkers):
15157
15158 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
15159
15160         Reviewed by Dimitri Glazkov.
15161
15162         Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium
15163
15164         https://bugs.webkit.org/show_bug.cgi?id=31276
15165
15166         * src/GraphicsContext3D.cpp: Added.
15167         (WebCore::GraphicsContext3DInternal::):
15168         (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState):
15169         (WebCore::tryLoad):
15170         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
15171         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
15172         (WebCore::GraphicsContext3DInternal::checkError):
15173         (WebCore::GraphicsContext3DInternal::makeContextCurrent):
15174         (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D):
15175         (WebCore::GraphicsContext3DInternal::platformTexture):
15176         (WebCore::createTextureObject):
15177         (WebCore::GraphicsContext3DInternal::reshape):
15178         (WebCore::GraphicsContext3DInternal::flipVertically):
15179         (WebCore::GraphicsContext3DInternal::beginPaint):
15180         (WebCore::GraphicsContext3DInternal::validateTextureTarget):
15181         (WebCore::GraphicsContext3DInternal::validateTextureParameter):
15182         (WebCore::GraphicsContext3DInternal::activeTexture):
15183         (WebCore::GraphicsContext3DInternal::bindBuffer):
15184         (WebCore::GraphicsContext3DInternal::bindTexture):
15185         (WebCore::GraphicsContext3DInternal::bufferDataImpl):
15186         (WebCore::GraphicsContext3DInternal::disableVertexAttribArray):
15187         (WebCore::GraphicsContext3DInternal::enableVertexAttribArray):
15188         (WebCore::GraphicsContext3DInternal::vertexAttribPointer):
15189         (WebCore::GraphicsContext3DInternal::viewportImpl):
15190         (WebCore::GraphicsContext3D::create):
15191         (WebCore::GraphicsContext3D::GraphicsContext3D):
15192         (WebCore::GraphicsContext3D::~GraphicsContext3D):
15193         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
15194         (WebCore::GraphicsContext3D::platformTexture):
15195         (WebCore::GraphicsContext3D::checkError):
15196         (WebCore::GraphicsContext3D::makeContextCurrent):
15197         (WebCore::GraphicsContext3D::reshape):
15198         (WebCore::GraphicsContext3D::beginPaint):
15199         (WebCore::GraphicsContext3D::endPaint):
15200         (WebCore::GraphicsContext3D::sizeInBytes):
15201         (WebCore::GraphicsContext3D::createBuffer):
15202         (WebCore::GraphicsContext3D::createFramebuffer):
15203         (WebCore::GraphicsContext3D::createProgram):
15204         (WebCore::GraphicsContext3D::createRenderbuffer):
15205         (WebCore::GraphicsContext3D::createShader):
15206         (WebCore::GraphicsContext3D::createTexture):
15207         (WebCore::GraphicsContext3D::deleteBuffer):
15208         (WebCore::GraphicsContext3D::deleteFramebuffer):
15209         (WebCore::GraphicsContext3D::deleteProgram):
15210         (WebCore::GraphicsContext3D::deleteRenderbuffer):
15211         (WebCore::GraphicsContext3D::deleteShader):
15212         (WebCore::GraphicsContext3D::deleteTexture):
15213         (WebCore::GraphicsContext3D::activeTexture):
15214         (WebCore::GraphicsContext3D::bindAttribLocation):
15215         (WebCore::GraphicsContext3D::bindBuffer):
15216         (WebCore::GraphicsContext3D::bindTexture):
15217         (WebCore::GraphicsContext3D::bufferData):
15218         (WebCore::GraphicsContext3D::bufferSubData):
15219         (WebCore::GraphicsContext3D::checkFramebufferStatus):
15220         (WebCore::GraphicsContext3D::detachShader):
15221         (WebCore::GraphicsContext3D::disableVertexAttribArray):
15222         (WebCore::GraphicsContext3D::drawArrays):
15223         (WebCore::GraphicsContext3D::drawElements):
15224         (WebCore::GraphicsContext3D::enableVertexAttribArray):
15225         (WebCore::GraphicsContext3D::generateMipmap):
15226         (WebCore::GraphicsContext3D::getActiveAttrib):
15227         (WebCore::GraphicsContext3D::getActiveUniform):
15228         (WebCore::GraphicsContext3D::getAttribLocation):
15229         (WebCore::GraphicsContext3D::getBoolean):
15230         (WebCore::GraphicsContext3D::getBooleanv):
15231         (WebCore::GraphicsContext3D::getBufferParameteri):
15232         (WebCore::GraphicsContext3D::getBufferParameteriv):
15233         (WebCore::GraphicsContext3D::getError):
15234         (WebCore::GraphicsContext3D::getFloat):
15235         (WebCore::GraphicsContext3D::getFloatv):
15236         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri):
15237         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
15238         (WebCore::GraphicsContext3D::getInteger):
15239         (WebCore::GraphicsContext3D::getIntegerv):
15240         (WebCore::GraphicsContext3D::getProgrami):
15241         (WebCore::GraphicsContext3D::getProgramiv):
15242         (WebCore::GraphicsContext3D::getProgramInfoLog):
15243         (WebCore::GraphicsContext3D::getRenderbufferParameteri):
15244         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
15245         (WebCore::GraphicsContext3D::getShaderi):
15246         (WebCore::GraphicsContext3D::getShaderiv):
15247         (WebCore::GraphicsContext3D::getShaderInfoLog):
15248         (WebCore::GraphicsContext3D::getShaderSource):
15249         (WebCore::GraphicsContext3D::getString):
15250         (WebCore::GraphicsContext3D::getTexParameterf):
15251         (WebCore::GraphicsContext3D::getTexParameterfv):
15252         (WebCore::GraphicsContext3D::getTexParameteri):
15253         (WebCore::GraphicsContext3D::getTexParameteriv):
15254         (WebCore::GraphicsContext3D::getUniformf):
15255         (WebCore::GraphicsContext3D::getUniformfv):
15256         (WebCore::GraphicsContext3D::getUniformi):
15257         (WebCore::GraphicsContext3D::getUniformiv):
15258         (WebCore::GraphicsContext3D::getUniformLocation):
15259         (WebCore::GraphicsContext3D::getVertexAttribf):
15260         (WebCore::GraphicsContext3D::getVertexAttribfv):
15261         (WebCore::GraphicsContext3D::getVertexAttribi):
15262         (WebCore::GraphicsContext3D::getVertexAttribiv):
15263         (WebCore::GraphicsContext3D::getVertexAttribOffset):
15264         (WebCore::GraphicsContext3D::isBuffer):
15265         (WebCore::GraphicsContext3D::isEnabled):
15266         (WebCore::GraphicsContext3D::isFramebuffer):
15267         (WebCore::GraphicsContext3D::isProgram):
15268         (WebCore::GraphicsContext3D::isRenderbuffer):
15269         (WebCore::GraphicsContext3D::isShader):
15270         (WebCore::GraphicsContext3D::isTexture):
15271         (WebCore::GraphicsContext3D::pixelStorei):
15272         (WebCore::GraphicsContext3D::readPixels):
15273         (WebCore::GraphicsContext3D::releaseShaderCompiler):
15274         (WebCore::GraphicsContext3D::shaderSource):
15275         (WebCore::GraphicsContext3D::texImage2D):
15276         (WebCore::unmultiplyAlpha):
15277         (WebCore::texImage2DHelper):
15278         (WebCore::GraphicsContext3D::texSubImage2D):
15279         (WebCore::GraphicsContext3D::uniform1fv):
15280         (WebCore::GraphicsContext3D::uniform1iv):
15281         (WebCore::GraphicsContext3D::uniform2fv):
15282         (WebCore::GraphicsContext3D::uniform2iv):
15283         (WebCore::GraphicsContext3D::uniform3fv):
15284         (WebCore::GraphicsContext3D::uniform3iv):
15285         (WebCore::GraphicsContext3D::uniform4fv):
15286         (WebCore::GraphicsContext3D::uniform4iv):
15287         (WebCore::GraphicsContext3D::uniformMatrix2fv):
15288         (WebCore::GraphicsContext3D::uniformMatrix3fv):
15289         (WebCore::GraphicsContext3D::uniformMatrix4fv):
15290         (WebCore::GraphicsContext3D::vertexAttrib1fv):
15291         (WebCore::GraphicsContext3D::vertexAttrib2fv):
15292         (WebCore::GraphicsContext3D::vertexAttrib3fv):
15293         (WebCore::GraphicsContext3D::vertexAttrib4fv):
15294         (WebCore::GraphicsContext3D::vertexAttribPointer):
15295         (WebCore::GraphicsContext3D::viewport):
15296         * src/InspectorClientImpl.cpp: Added.
15297         (WebKit::InspectorClientImpl::InspectorClientImpl):
15298         (WebKit::InspectorClientImpl::~InspectorClientImpl):
15299         (WebKit::InspectorClientImpl::inspectorDestroyed):
15300         (WebKit::InspectorClientImpl::createPage):
15301         (WebKit::InspectorClientImpl::showWindow):
15302         (WebKit::InspectorClientImpl::closeWindow):
15303         (WebKit::InspectorClientImpl::windowVisible):
15304         (WebKit::InspectorClientImpl::attachWindow):
15305         (WebKit::InspectorClientImpl::detachWindow):
15306         (WebKit::InspectorClientImpl::setAttachedWindowHeight):
15307         (WebKit::invalidateNodeBoundingRect):
15308         (WebKit::InspectorClientImpl::highlight):
15309         (WebKit::InspectorClientImpl::hideHighlight):
15310         (WebKit::InspectorClientImpl::inspectedURLChanged):
15311         (WebKit::InspectorClientImpl::localizedStringsURL):
15312         (WebKit::InspectorClientImpl::hiddenPanels):
15313         (WebKit::InspectorClientImpl::populateSetting):
15314         (WebKit::InspectorClientImpl::storeSetting):
15315         (WebKit::InspectorClientImpl::removeSetting):
15316         (WebKit::InspectorClientImpl::inspectorWindowObjectCleared):
15317         (WebKit::InspectorClientImpl::loadSettings):
15318         (WebKit::InspectorClientImpl::saveSettings):
15319         * src/InspectorClientImpl.h: Added.
15320         * src/LocalizedStrings.cpp: Added.
15321         (WebCore::query):
15322         (WebCore::searchableIndexIntroduction):
15323         (WebCore::submitButtonDefaultLabel):
15324         (WebCore::inputElementAltText):
15325         (WebCore::resetButtonDefaultLabel):
15326         (WebCore::fileButtonChooseFileLabel):
15327         (WebCore::fileButtonNoFileSelectedLabel):
15328         (WebCore::searchMenuNoRecentSearchesText):
15329         (WebCore::searchMenuRecentSearchesText):
15330         (WebCore::searchMenuClearRecentSearchesText):
15331         (WebCore::AXWebAreaText):
15332         (WebCore::AXLinkText):
15333         (WebCore::AXListMarkerText):
15334         (WebCore::AXImageMapText):
15335         (WebCore::AXHeadingText):
15336         (WebCore::AXDefinitionListTermText):
15337         (WebCore::AXDefinitionListDefinitionText):
15338         (WebCore::AXButtonActionVerb):
15339         (WebCore::AXRadioButtonActionVerb):
15340         (WebCore::AXTextFieldActionVerb):
15341         (WebCore::AXCheckedCheckBoxActionVerb):
15342         (WebCore::AXUncheckedCheckBoxActionVerb):
15343         (WebCore::AXLinkActionVerb):
15344         (WebCore::multipleFileUploadText):
15345         (WebCore::unknownFileSizeText):
15346         (WebCore::keygenMenuHighGradeKeySize):
15347         (WebCore::keygenMenuMediumGradeKeySize):
15348         (WebCore::imageTitle):
15349         (WebCore::contextMenuItemTagOpenLinkInNewWindow):
15350         (WebCore::contextMenuItemTagDownloadLinkToDisk):
15351         (WebCore::contextMenuItemTagCopyLinkToClipboard):
15352         (WebCore::contextMenuItemTagOpenImageInNewWindow):
15353         (WebCore::contextMenuItemTagDownloadImageToDisk):
15354         (WebCore::contextMenuItemTagCopyImageToClipboard):
15355         (WebCore::contextMenuItemTagOpenFrameInNewWindow):
15356         (WebCore::contextMenuItemTagCopy):
15357         (WebCore::contextMenuItemTagGoBack):
15358         (WebCore::contextMenuItemTagGoForward):
15359         (WebCore::contextMenuItemTagStop):
15360         (WebCore::contextMenuItemTagReload):
15361         (WebCore::contextMenuItemTagCut):
15362         (WebCore::contextMenuItemTagPaste):
15363         (WebCore::contextMenuItemTagNoGuessesFound):
15364         (WebCore::contextMenuItemTagIgnoreSpelling):
15365         (WebCore::contextMenuItemTagLearnSpelling):
15366         (WebCore::contextMenuItemTagSearchWeb):
15367         (WebCore::contextMenuItemTagLookUpInDictionary):
15368         (WebCore::contextMenuItemTagOpenLink):
15369         (WebCore::contextMenuItemTagIgnoreGrammar):
15370         (WebCore::contextMenuItemTagSpellingMenu):
15371         (WebCore::contextMenuItemTagCheckSpelling):
15372         (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
15373         (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
15374         (WebCore::contextMenuItemTagFontMenu):
15375         (WebCore::contextMenuItemTagBold):
15376         (WebCore::contextMenuItemTagItalic):
15377         (WebCore::contextMenuItemTagUnderline):
15378         (WebCore::contextMenuItemTagOutline):
15379         (WebCore::contextMenuItemTagWritingDirectionMenu):
15380         (WebCore::contextMenuItemTagTextDirectionMenu):
15381         (WebCore::contextMenuItemTagDefaultDirection):
15382         (WebCore::contextMenuItemTagLeftToRight):
15383         (WebCore::contextMenuItemTagRightToLeft):
15384         (WebCore::contextMenuItemTagInspectElement):
15385         (WebCore::contextMenuItemTagShowSpellingPanel):
15386         (WebCore::mediaElementLiveBroadcastStateText):
15387         (WebCore::mediaElementLoadingStateText):
15388         (WebCore::localizedMediaControlElementString):
15389         (WebCore::localizedMediaControlElementHelpText):
15390         (WebCore::localizedMediaTimeDescription):
15391         * src/MediaPlayerPrivateChromium.cpp: Added.
15392         (WebCore::MediaPlayerPrivate::registerMediaEngine):
15393
15394 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
15395
15396         Reviewed by Dimitri Glazkov.
15397
15398         Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl
15399
15400         https://bugs.webkit.org/show_bug.cgi?id=31276
15401
15402         * src/DOMUtilitiesPrivate.cpp: Added.
15403         (WebCore::toHTMLElement):
15404         (WebKit::toHTMLInputElement):
15405         (WebKit::toHTMLLinkElement):
15406         (WebKit::toHTMLMetaElement):
15407         (WebKit::toHTMLOptionElement):
15408         (WebKit::nameOfInputElement):
15409         * src/DOMUtilitiesPrivate.h: Added.
15410         * src/DragClientImpl.cpp: Added.
15411         (WebKit::DragClientImpl::willPerformDragDestinationAction):
15412         (WebKit::DragClientImpl::willPerformDragSourceAction):
15413         (WebKit::DragClientImpl::actionMaskForDrag):
15414         (WebKit::DragClientImpl::dragSourceActionMaskForPoint):
15415         (WebKit::DragClientImpl::startDrag):
15416         (WebKit::DragClientImpl::createDragImageForLink):
15417         (WebKit::DragClientImpl::dragControllerDestroyed):
15418         * src/DragClientImpl.h: Added.
15419         (WebKit::DragClientImpl::DragClientImpl):
15420         * src/EditorClientImpl.cpp: Added.
15421         (WebKit::EditorClientImpl::EditorClientImpl):
15422         (WebKit::EditorClientImpl::~EditorClientImpl):
15423         (WebKit::EditorClientImpl::pageDestroyed):
15424         (WebKit::EditorClientImpl::shouldShowDeleteInterface):
15425         (WebKit::EditorClientImpl::smartInsertDeleteEnabled):
15426         (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled):
15427         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
15428         (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled):
15429         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
15430         (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
15431         (WebKit::EditorClientImpl::toggleGrammarChecking):
15432         (WebKit::EditorClientImpl::spellCheckerDocumentTag):
15433         (WebKit::EditorClientImpl::isEditable):
15434         (WebKit::EditorClientImpl::shouldBeginEditing):
15435         (WebKit::EditorClientImpl::shouldEndEditing):
15436         (WebKit::EditorClientImpl::shouldInsertNode):
15437         (WebKit::EditorClientImpl::shouldInsertText):
15438         (WebKit::EditorClientImpl::shouldDeleteRange):
15439         (WebKit::EditorClientImpl::shouldChangeSelectedRange):
15440         (WebKit::EditorClientImpl::shouldApplyStyle):
15441         (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete):
15442         (WebKit::EditorClientImpl::didBeginEditing):
15443         (WebKit::EditorClientImpl::respondToChangedSelection):
15444         (WebKit::EditorClientImpl::respondToChangedContents):
15445         (WebKit::EditorClientImpl::didEndEditing):
15446         (WebKit::EditorClientImpl::didWriteSelectionToPasteboard):
15447         (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard):
15448         (WebKit::EditorClientImpl::registerCommandForUndo):
15449         (WebKit::EditorClientImpl::registerCommandForRedo):
15450         (WebKit::EditorClientImpl::clearUndoRedoOperations):
15451         (WebKit::EditorClientImpl::canUndo):
15452         (WebKit::EditorClientImpl::canRedo):
15453         (WebKit::EditorClientImpl::undo):
15454         (WebKit::EditorClientImpl::redo):
15455         (WebKit::):
15456         (WebKit::EditorClientImpl::interpretKeyEvent):
15457         (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
15458         (WebKit::EditorClientImpl::handleKeyboardEvent):
15459         (WebKit::EditorClientImpl::handleInputMethodKeydown):
15460         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
15461         (WebKit::EditorClientImpl::textFieldDidEndEditing):
15462         (WebKit::EditorClientImpl::textDidChangeInTextField):
15463         (WebKit::EditorClientImpl::showFormAutofillForNode):
15464         (WebKit::EditorClientImpl::autofill):
15465         (WebKit::EditorClientImpl::doAutofill):
15466         (WebKit::EditorClientImpl::cancelPendingAutofill):
15467         (WebKit::EditorClientImpl::onAutofillSuggestionAccepted):
15468         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
15469         (WebKit::EditorClientImpl::textWillBeDeletedInTextField):
15470         (WebKit::EditorClientImpl::textDidChangeInTextArea):
15471         (WebKit::EditorClientImpl::ignoreWordInSpellDocument):
15472         (WebKit::EditorClientImpl::learnWord):
15473         (WebKit::EditorClientImpl::checkSpellingOfString):
15474         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
15475         (WebKit::EditorClientImpl::checkGrammarOfString):
15476         (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString):
15477         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
15478         (WebKit::EditorClientImpl::showSpellingUI):
15479         (WebKit::EditorClientImpl::spellingUIIsShowing):
15480         (WebKit::EditorClientImpl::getGuessesForWord):
15481         (WebKit::EditorClientImpl::setInputMethodState):
15482         * src/EditorClientImpl.h: Added.
15483         (WebKit::EditorClientImpl::):
15484         * src/FrameLoaderClientImpl.cpp: Added.
15485         (WebKit::):
15486         (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
15487         (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl):
15488         (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed):
15489         (WebKit::FrameLoaderClientImpl::windowObjectCleared):
15490         (WebKit::FrameLoaderClientImpl::documentElementAvailable):
15491         (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
15492         (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
15493         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
15494         (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation):
15495         (WebKit::FrameLoaderClientImpl::registerForIconNotification):
15496         (WebKit::FrameLoaderClientImpl::didChangeScrollOffset):
15497         (WebKit::FrameLoaderClientImpl::allowJavaScript):
15498         (WebKit::FrameLoaderClientImpl::hasWebView):
15499         (WebKit::FrameLoaderClientImpl::hasFrameView):
15500         (WebKit::FrameLoaderClientImpl::makeDocumentView):
15501         (WebKit::FrameLoaderClientImpl::makeRepresentation):
15502         (WebKit::FrameLoaderClientImpl::forceLayout):
15503         (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML):
15504         (WebKit::FrameLoaderClientImpl::setCopiesOnScroll):
15505         (WebKit::FrameLoaderClientImpl::detachedFromParent2):
15506         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
15507         (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest):
15508         (WebKit::determineTargetTypeFromLoader):
15509         (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
15510         (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage):
15511         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge):
15512         (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge):
15513         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse):
15514         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
15515         (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading):
15516         (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading):
15517         (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
15518         (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache):
15519         (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest):
15520         (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents):
15521         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad):
15522         (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect):
15523         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
15524         (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
15525         (WebKit::FrameLoaderClientImpl::dispatchWillClose):
15526         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon):
15527         (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad):
15528         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
15529         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
15530         (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad):
15531         (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad):
15532         (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad):
15533         (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout):
15534         (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout):
15535         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
15536         (WebKit::FrameLoaderClientImpl::dispatchShow):
15537         (WebKit::shouldTreatAsAttachment):
15538         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType):
15539         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
15540         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
15541         (WebKit::FrameLoaderClientImpl::cancelPolicyCheck):
15542         (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy):
15543         (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm):
15544         (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource):
15545         (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
15546         (WebKit::FrameLoaderClientImpl::setMainDocumentError):
15547         (WebKit::FrameLoaderClientImpl::postProgressStartedNotification):
15548         (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
15549         (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification):
15550         (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady):
15551         (WebKit::FrameLoaderClientImpl::startDownload):
15552         (WebKit::FrameLoaderClientImpl::willChangeTitle):
15553         (WebKit::FrameLoaderClientImpl::didChangeTitle):
15554         (WebKit::FrameLoaderClientImpl::committedLoad):
15555         (WebKit::FrameLoaderClientImpl::finishedLoading):
15556         (WebKit::FrameLoaderClientImpl::updateGlobalHistory):
15557         (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks):
15558         (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem):
15559         (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent):
15560         (WebKit::FrameLoaderClientImpl::didRunInsecureContent):
15561         (WebKit::FrameLoaderClientImpl::blockedError):
15562         (WebKit::FrameLoaderClientImpl::cancelledError):
15563         (WebKit::FrameLoaderClientImpl::cannotShowURLError):
15564         (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError):
15565         (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError):
15566         (WebKit::FrameLoaderClientImpl::fileDoesNotExistError):
15567         (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError):
15568         (WebKit::FrameLoaderClientImpl::shouldFallBack):
15569         (WebKit::FrameLoaderClientImpl::canHandleRequest):
15570         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
15571         (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme):
15572         (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme):
15573         (WebKit::FrameLoaderClientImpl::frameLoadCompleted):
15574         (WebKit::FrameLoaderClientImpl::saveViewStateToItem):
15575         (WebKit::FrameLoaderClientImpl::restoreViewState):
15576         (WebKit::FrameLoaderClientImpl::provisionalLoadStarted):
15577         (WebKit::FrameLoaderClientImpl::didFinishLoad):
15578         (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement):
15579         (WebKit::FrameLoaderClientImpl::createDocumentLoader):
15580         (WebKit::FrameLoaderClientImpl::setTitle):
15581         (WebKit::FrameLoaderClientImpl::userAgent):
15582         (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame):
15583         (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame):
15584         (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage):
15585         (WebKit::FrameLoaderClientImpl::canCachePage):
15586         (WebKit::FrameLoaderClientImpl::download):
15587         (WebKit::FrameLoaderClientImpl::createFrame):
15588         (WebKit::FrameLoaderClientImpl::createPlugin):
15589         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
15590         (WebKit::FrameLoaderClientImpl::createJavaAppletWidget):
15591         (WebKit::FrameLoaderClientImpl::objectContentType):
15592         (WebKit::FrameLoaderClientImpl::overrideMediaType):
15593         (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
15594         (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation):
15595         (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
15596         * src/FrameLoaderClientImpl.h: Added.
15597         (WebKit::FrameLoaderClientImpl::webFrame):
15598         (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress):
15599         (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress):
15600
15601 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
15602
15603         Reviewed by Dimitri Glazkov.
15604
15605         Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl
15606
15607         https://bugs.webkit.org/show_bug.cgi?id=31276
15608
15609         * src/ChromeClientImpl.cpp: Added.
15610         (WebKit::ChromeClientImpl::ChromeClientImpl):
15611         (WebKit::ChromeClientImpl::~ChromeClientImpl):
15612         (WebKit::ChromeClientImpl::chromeDestroyed):
15613         (WebKit::ChromeClientImpl::setWindowRect):
15614         (WebKit::ChromeClientImpl::windowRect):
15615         (WebKit::ChromeClientImpl::pageRect):
15616         (WebKit::ChromeClientImpl::scaleFactor):
15617         (WebKit::ChromeClientImpl::focus):
15618         (WebKit::ChromeClientImpl::unfocus):
15619         (WebKit::ChromeClientImpl::canTakeFocus):
15620         (WebKit::ChromeClientImpl::takeFocus):
15621         (WebKit::ChromeClientImpl::focusedNodeChanged):
15622         (WebKit::ChromeClientImpl::createWindow):
15623         (WebKit::currentEventShouldCauseBackgroundTab):
15624         (WebKit::ChromeClientImpl::show):
15625         (WebKit::ChromeClientImpl::canRunModal):
15626         (WebKit::ChromeClientImpl::runModal):
15627         (WebKit::ChromeClientImpl::setToolbarsVisible):
15628         (WebKit::ChromeClientImpl::toolbarsVisible):
15629         (WebKit::ChromeClientImpl::setStatusbarVisible):
15630         (WebKit::ChromeClientImpl::statusbarVisible):
15631         (WebKit::ChromeClientImpl::setScrollbarsVisible):
15632         (WebKit::ChromeClientImpl::scrollbarsVisible):
15633         (WebKit::ChromeClientImpl::setMenubarVisible):
15634         (WebKit::ChromeClientImpl::menubarVisible):
15635         (WebKit::ChromeClientImpl::setResizable):
15636         (WebKit::ChromeClientImpl::addMessageToConsole):
15637         (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel):
15638         (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel):
15639         (WebKit::ChromeClientImpl::closeWindowSoon):
15640         (WebKit::ChromeClientImpl::runJavaScriptAlert):
15641         (WebKit::ChromeClientImpl::runJavaScriptConfirm):
15642         (WebKit::ChromeClientImpl::runJavaScriptPrompt):
15643         (WebKit::ChromeClientImpl::setStatusbarText):
15644         (WebKit::ChromeClientImpl::shouldInterruptJavaScript):
15645         (WebKit::ChromeClientImpl::tabsToLinks):
15646         (WebKit::ChromeClientImpl::windowResizerRect):
15647         (WebKit::ChromeClientImpl::repaint):
15648         (WebKit::ChromeClientImpl::scroll):
15649         (WebKit::ChromeClientImpl::screenToWindow):
15650         (WebKit::ChromeClientImpl::windowToScreen):
15651         (WebKit::ChromeClientImpl::contentsSizeChanged):
15652         (WebKit::ChromeClientImpl::scrollbarsModeDidChange):
15653         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
15654         (WebKit::ChromeClientImpl::setToolTip):
15655         (WebKit::ChromeClientImpl::print):
15656         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
15657         (WebKit::ChromeClientImpl::reachedMaxAppCacheSize):
15658         (WebKit::ChromeClientImpl::runOpenPanel):
15659         (WebKit::ChromeClientImpl::popupOpened):
15660         (WebKit::ChromeClientImpl::setCursor):
15661         (WebKit::ChromeClientImpl::setCursorForPlugin):
15662         (WebKit::ChromeClientImpl::formStateDidChange):
15663         (WebKit::ChromeClientImpl::getPopupMenuInfo):
15664         (WebKit::ChromeClientImpl::notificationPresenter):
15665         * src/ChromeClientImpl.h: Added.
15666         (WebKit::ChromeClientImpl::webView):
15667         (WebKit::ChromeClientImpl::platformPageClient):
15668         (WebKit::ChromeClientImpl::scrollRectIntoView):
15669         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
15670         (WebKit::ChromeClientImpl::setCursor):
15671         (WebKit::ChromeClientImpl::createHTMLParserQuirks):
15672         * src/ChromiumBridge.cpp: Added.
15673         (WebCore::toChromeClientImpl):
15674         (WebCore::toWebWidgetClient):
15675         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
15676         (WebCore::ChromiumBridge::clipboardReadPlainText):
15677         (WebCore::ChromiumBridge::clipboardReadHTML):
15678         (WebCore::ChromiumBridge::clipboardWriteSelection):
15679         (WebCore::ChromiumBridge::clipboardWritePlainText):
15680         (WebCore::ChromiumBridge::clipboardWriteURL):
15681         (WebCore::ChromiumBridge::clipboardWriteImage):
15682         (WebCore::ChromiumBridge::setCookies):
15683         (WebCore::ChromiumBridge::cookies):
15684         (WebCore::ChromiumBridge::rawCookies):
15685         (WebCore::ChromiumBridge::deleteCookie):
15686         (WebCore::ChromiumBridge::prefetchDNS):
15687         (WebCore::ChromiumBridge::fileExists):
15688         (WebCore::ChromiumBridge::deleteFile):
15689         (WebCore::ChromiumBridge::deleteEmptyDirectory):
15690         (WebCore::ChromiumBridge::getFileSize):
15691         (WebCore::ChromiumBridge::getFileModificationTime):
15692         (WebCore::ChromiumBridge::directoryName):
15693         (WebCore::ChromiumBridge::pathByAppendingComponent):
15694         (WebCore::ChromiumBridge::makeAllDirectories):
15695         (WebCore::ChromiumBridge::getAbsolutePath):
15696         (WebCore::ChromiumBridge::isDirectory):
15697         (WebCore::ChromiumBridge::filePathToURL):
15698         (WebCore::ChromiumBridge::ensureFontLoaded):
15699         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
15700         (WebCore::ChromiumBridge::databaseOpenFile):
15701         (WebCore::ChromiumBridge::databaseDeleteFile):
15702         (WebCore::ChromiumBridge::databaseGetFileAttributes):
15703         (WebCore::ChromiumBridge::databaseGetFileSize):
15704         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
15705         (WebCore::ChromiumBridge::computedDefaultLanguage):
15706         (WebCore::ChromiumBridge::layoutTestMode):
15707         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
15708         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
15709         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
15710         (WebCore::ChromiumBridge::mimeTypeForExtension):
15711         (WebCore::ChromiumBridge::mimeTypeFromFile):
15712         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
15713         (WebCore::ChromiumBridge::plugins):
15714         (WebCore::ChromiumBridge::pluginScriptableObject):
15715         (WebCore::ChromiumBridge::loadPlatformImageResource):
15716         (WebCore::ChromiumBridge::sandboxEnabled):
15717         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
15718         (WebCore::ChromiumBridge::setSharedTimerFireTime):
15719         (WebCore::ChromiumBridge::stopSharedTimer):
15720         (WebCore::ChromiumBridge::decrementStatsCounter):
15721         (WebCore::ChromiumBridge::incrementStatsCounter):
15722         (WebCore::ChromiumBridge::suddenTerminationChanged):
15723         (WebCore::ChromiumBridge::currentTime):
15724         (WebCore::ChromiumBridge::paintButton):
15725         (WebCore::ChromiumBridge::paintMenuList):
15726         (WebCore::ChromiumBridge::paintScrollbarArrow):
15727         (WebCore::ChromiumBridge::paintScrollbarThumb):
15728         (WebCore::ChromiumBridge::paintScrollbarTrack):
15729         (WebCore::ChromiumBridge::paintTextField):
15730         (WebCore::ChromiumBridge::paintTrackbar):
15731         (WebCore::ChromiumBridge::traceEventBegin):
15732         (WebCore::ChromiumBridge::traceEventEnd):
15733         (WebCore::ChromiumBridge::visitedLinkHash):
15734         (WebCore::ChromiumBridge::isLinkVisited):
15735         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
15736         (WebCore::ChromiumBridge::memoryUsageMB):
15737         (WebCore::ChromiumBridge::screenDepth):
15738         (WebCore::ChromiumBridge::screenDepthPerComponent):
15739         (WebCore::ChromiumBridge::screenIsMonochrome):
15740         (WebCore::ChromiumBridge::screenRect):
15741         (WebCore::ChromiumBridge::screenAvailableRect):
15742         (WebCore::ChromiumBridge::popupsAllowed):
15743         (WebCore::ChromiumBridge::widgetSetCursor):
15744         (WebCore::ChromiumBridge::widgetSetFocus):
15745         (WebCore::WorkerContextProxy::create):
15746         * src/ChromiumCurrentTime.cpp: Added.
15747         (WTF::currentTime):
15748         * src/ChromiumThreading.cpp: Added.
15749         (WTF::ChromiumThreading::initializeMainThread):
15750         (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread):
15751         * src/ContextMenuClientImpl.cpp: Added.
15752         (WebKit::urlFromFrame):
15753         (WebKit::isASingleWord):
15754         (WebKit::selectMisspelledWord):
15755         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
15756         * src/ContextMenuClientImpl.h: Added.
15757         (WebKit::ContextMenuClientImpl::ContextMenuClientImpl):
15758         (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl):
15759         (WebKit::ContextMenuClientImpl::copyImageToClipboard):
15760         (WebKit::ContextMenuClientImpl::contextMenuDestroyed):
15761         (WebKit::ContextMenuClientImpl::contextMenuItemSelected):
15762         (WebKit::ContextMenuClientImpl::downloadURL):
15763         (WebKit::ContextMenuClientImpl::isSpeaking):
15764         (WebKit::ContextMenuClientImpl::lookUpInDictionary):
15765         (WebKit::ContextMenuClientImpl::searchWithGoogle):
15766         (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem):
15767         (WebKit::ContextMenuClientImpl::speak):
15768         (WebKit::ContextMenuClientImpl::stopSpeaking):
15769
15770 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
15771
15772         Reviewed by Dimitri Glazkov.
15773
15774         Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl
15775
15776         https://bugs.webkit.org/show_bug.cgi?id=31276
15777
15778         * src/ApplicationCacheHost.cpp: Added.
15779         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
15780         (WebCore::ApplicationCacheHostInternal::notifyEventListener):
15781         (WebCore::ApplicationCacheHost::ApplicationCacheHost):
15782         (WebCore::ApplicationCacheHost::~ApplicationCacheHost):
15783         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
15784         (WebCore::ApplicationCacheHost::selectCacheWithoutManifest):
15785         (WebCore::ApplicationCacheHost::selectCacheWithManifest):
15786         (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
15787         (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
15788         (WebCore::ApplicationCacheHost::mainResourceDataReceived):
15789         (WebCore::ApplicationCacheHost::failedLoadingMainResource):
15790         (WebCore::ApplicationCacheHost::finishedLoadingMainResource):
15791         (WebCore::ApplicationCacheHost::maybeLoadResource):
15792         (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect):
15793         (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse):
15794         (WebCore::ApplicationCacheHost::maybeLoadFallbackForError):
15795         (WebCore::ApplicationCacheHost::maybeLoadSynchronously):
15796         (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously):
15797         (WebCore::ApplicationCacheHost::canCacheInPageCache):
15798         (WebCore::ApplicationCacheHost::setDOMApplicationCache):
15799         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
15800         (WebCore::ApplicationCacheHost::status):
15801         (WebCore::ApplicationCacheHost::update):
15802         (WebCore::ApplicationCacheHost::swapCache):
15803         (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
15804         * src/AssertMatchingEnums.cpp: Added.
15805         * src/AutocompletePopupMenuClient.cpp: Added.
15806         (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient):
15807         (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient):
15808         (WebKit::AutocompletePopupMenuClient::initialize):
15809         (WebKit::AutocompletePopupMenuClient::valueChanged):
15810         (WebKit::AutocompletePopupMenuClient::itemText):
15811         (WebKit::AutocompletePopupMenuClient::itemStyle):
15812         (WebKit::AutocompletePopupMenuClient::menuStyle):
15813         (WebKit::AutocompletePopupMenuClient::clientPaddingLeft):
15814         (WebKit::AutocompletePopupMenuClient::clientPaddingRight):
15815         (WebKit::AutocompletePopupMenuClient::popupDidHide):
15816         (WebKit::AutocompletePopupMenuClient::setTextFromItem):
15817         (WebKit::AutocompletePopupMenuClient::fontSelector):
15818         (WebKit::AutocompletePopupMenuClient::hostWindow):
15819         (WebKit::AutocompletePopupMenuClient::createScrollbar):
15820         (WebKit::AutocompletePopupMenuClient::setSuggestions):
15821         (WebKit::AutocompletePopupMenuClient::removeItemAtIndex):
15822         (WebKit::AutocompletePopupMenuClient::textFieldStyle):
15823         * src/AutocompletePopupMenuClient.h: Added.
15824         (WebKit::AutocompletePopupMenuClient::textField):
15825         (WebKit::AutocompletePopupMenuClient::itemToolTip):
15826         (WebKit::AutocompletePopupMenuClient::itemIsEnabled):
15827         (WebKit::AutocompletePopupMenuClient::clientInsetLeft):
15828         (WebKit::AutocompletePopupMenuClient::clientInsetRight):
15829         (WebKit::AutocompletePopupMenuClient::listSize):
15830         (WebKit::AutocompletePopupMenuClient::selectedIndex):
15831         (WebKit::AutocompletePopupMenuClient::itemIsSeparator):
15832         (WebKit::AutocompletePopupMenuClient::itemIsLabel):
15833         (WebKit::AutocompletePopupMenuClient::itemIsSelected):
15834         (WebKit::AutocompletePopupMenuClient::shouldPopOver):
15835         (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack):
15836         * src/BackForwardListClientImpl.cpp: Added.
15837         (WebKit::BackForwardListClientImpl::BackForwardListClientImpl):
15838         (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl):
15839         (WebKit::BackForwardListClientImpl::setCurrentHistoryItem):
15840         (WebKit::BackForwardListClientImpl::previousHistoryItem):
15841         (WebKit::BackForwardListClientImpl::addItem):
15842         (WebKit::BackForwardListClientImpl::goToItem):
15843         (WebKit::BackForwardListClientImpl::currentItem):
15844         (WebKit::BackForwardListClientImpl::itemAtIndex):
15845         (WebKit::BackForwardListClientImpl::backListCount):
15846         (WebKit::BackForwardListClientImpl::forwardListCount):
15847         (WebKit::BackForwardListClientImpl::close):
15848         * src/BackForwardListClientImpl.h: Added.
15849
15850 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
15851
15852         Reviewed by Dimitri Glazkov.
15853
15854         Up-streaming Chromium API src files: WebString...WebViewImpl
15855
15856         https://bugs.webkit.org/show_bug.cgi?id=31276
15857
15858         * src/WebString.cpp: Added.
15859         (WebKit::WebString::reset):
15860         (WebKit::WebString::assign):
15861         (WebKit::WebString::length):
15862         (WebKit::WebString::data):
15863         (WebKit::WebString::utf8):
15864         (WebKit::WebString::fromUTF8):
15865         (WebKit::WebString::WebString):
15866         (WebKit::WebString::operator=):
15867         (WebKit::WebString::operator WebCore::String):
15868         (WebKit::WebString::operator WebCore::AtomicString):
15869         * src/WebURL.cpp: Added.
15870         (WebKit::WebURL::WebURL):
15871         (WebKit::WebURL::operator=):
15872         (WebKit::WebURL::operator WebCore::KURL):
15873         * src/WebURLError.cpp: Added.
15874         (WebKit::WebURLError::WebURLError):
15875         (WebKit::WebURLError::operator=):
15876         (WebKit::WebURLError::operator ResourceError):
15877         * src/WebURLRequest.cpp: Added.
15878         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
15879         (WebKit::WebURLRequestPrivateImpl::dispose):
15880         (WebKit::WebURLRequest::initialize):
15881         (WebKit::WebURLRequest::reset):
15882         (WebKit::WebURLRequest::assign):
15883         (WebKit::WebURLRequest::isNull):
15884         (WebKit::WebURLRequest::url):
15885         (WebKit::WebURLRequest::setURL):
15886         (WebKit::WebURLRequest::firstPartyForCookies):
15887         (WebKit::WebURLRequest::setFirstPartyForCookies):
15888         (WebKit::WebURLRequest::allowCookies):
15889         (WebKit::WebURLRequest::setAllowCookies):
15890         (WebKit::WebURLRequest::allowStoredCredentials):
15891         (WebKit::WebURLRequest::setAllowStoredCredentials):
15892         (WebKit::WebURLRequest::cachePolicy):
15893         (WebKit::WebURLRequest::setCachePolicy):
15894         (WebKit::WebURLRequest::httpMethod):
15895         (WebKit::WebURLRequest::setHTTPMethod):
15896         (WebKit::WebURLRequest::httpHeaderField):
15897         (WebKit::WebURLRequest::setHTTPHeaderField):
15898         (WebKit::WebURLRequest::addHTTPHeaderField):
15899         (WebKit::WebURLRequest::clearHTTPHeaderField):
15900         (WebKit::WebURLRequest::visitHTTPHeaderFields):
15901         (WebKit::WebURLRequest::httpBody):
15902         (WebKit::WebURLRequest::setHTTPBody):
15903         (WebKit::WebURLRequest::reportUploadProgress):
15904         (WebKit::WebURLRequest::setReportUploadProgress):
15905         (WebKit::WebURLRequest::targetType):
15906         (WebKit::WebURLRequest::setTargetType):
15907         (WebKit::WebURLRequest::requestorID):
15908         (WebKit::WebURLRequest::setRequestorID):
15909         (WebKit::WebURLRequest::requestorProcessID):
15910         (WebKit::WebURLRequest::setRequestorProcessID):
15911         (WebKit::WebURLRequest::appCacheHostID):
15912         (WebKit::WebURLRequest::setAppCacheHostID):
15913         (WebKit::WebURLRequest::toMutableResourceRequest):
15914         (WebKit::WebURLRequest::toResourceRequest):
15915         * src/WebURLRequestPrivate.h: Added.
15916         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
15917         * src/WebURLResponse.cpp: Added.
15918         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
15919         (WebKit::WebURLResponsePrivateImpl::dispose):
15920         (WebKit::WebURLResponse::initialize):
15921         (WebKit::WebURLResponse::reset):
15922         (WebKit::WebURLResponse::assign):
15923         (WebKit::WebURLResponse::isNull):
15924         (WebKit::WebURLResponse::url):
15925         (WebKit::WebURLResponse::setURL):
15926         (WebKit::WebURLResponse::mimeType):
15927         (WebKit::WebURLResponse::setMIMEType):
15928         (WebKit::WebURLResponse::expectedContentLength):
15929         (WebKit::WebURLResponse::setExpectedContentLength):
15930         (WebKit::WebURLResponse::textEncodingName):
15931         (WebKit::WebURLResponse::setTextEncodingName):
15932         (WebKit::WebURLResponse::suggestedFileName):
15933         (WebKit::WebURLResponse::setSuggestedFileName):
15934         (WebKit::WebURLResponse::httpStatusCode):
15935         (WebKit::WebURLResponse::setHTTPStatusCode):
15936         (WebKit::WebURLResponse::httpStatusText):
15937         (WebKit::WebURLResponse::setHTTPStatusText):
15938         (WebKit::WebURLResponse::httpHeaderField):
15939         (WebKit::WebURLResponse::setHTTPHeaderField):
15940         (WebKit::WebURLResponse::addHTTPHeaderField):
15941         (WebKit::WebURLResponse::clearHTTPHeaderField):
15942         (WebKit::WebURLResponse::visitHTTPHeaderFields):
15943         (WebKit::WebURLResponse::lastModifiedDate):
15944         (WebKit::WebURLResponse::setLastModifiedDate):
15945         (WebKit::WebURLResponse::isContentFiltered):
15946         (WebKit::WebURLResponse::setIsContentFiltered):
15947         (WebKit::WebURLResponse::appCacheID):
15948         (WebKit::WebURLResponse::setAppCacheID):
15949         (WebKit::WebURLResponse::appCacheManifestURL):
15950         (WebKit::WebURLResponse::setAppCacheManifestURL):
15951         (WebKit::WebURLResponse::securityInfo):
15952         (WebKit::WebURLResponse::setSecurityInfo):
15953         (WebKit::WebURLResponse::toMutableResourceResponse):
15954         (WebKit::WebURLResponse::toResourceResponse):
15955         * src/WebURLResponsePrivate.h: Added.
15956         (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
15957         * src/WebViewImpl.cpp: Added.
15958         (WebKit::):
15959         (WebKit::WebView::create):
15960         (WebKit::WebView::updateVisitedLinkState):
15961         (WebKit::WebView::resetVisitedLinkState):
15962         (WebKit::WebViewImpl::initializeMainFrame):
15963         (WebKit::WebViewImpl::WebViewImpl):
15964         (WebKit::WebViewImpl::~WebViewImpl):
15965         (WebKit::WebViewImpl::theme):
15966         (WebKit::WebViewImpl::mainFrameImpl):
15967         (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
15968         (WebKit::WebViewImpl::setTabKeyCyclesThroughElements):
15969         (WebKit::WebViewImpl::mouseMove):
15970         (WebKit::WebViewImpl::mouseLeave):
15971         (WebKit::WebViewImpl::mouseDown):
15972         (WebKit::WebViewImpl::mouseContextMenu):
15973         (WebKit::WebViewImpl::mouseUp):
15974         (WebKit::WebViewImpl::mouseWheel):
15975         (WebKit::WebViewImpl::keyEvent):
15976         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
15977         (WebKit::WebViewImpl::charEvent):
15978         (WebKit::WebViewImpl::sendContextMenuEvent):
15979         (WebKit::WebViewImpl::keyEventDefault):
15980         (WebKit::WebViewImpl::scrollViewWithKeyboard):
15981         (WebKit::WebViewImpl::propagateScroll):
15982         (WebKit::WebViewImpl::focusedWebCoreFrame):
15983         (WebKit::WebViewImpl::fromPage):
15984         (WebKit::WebViewImpl::close):
15985         (WebKit::WebViewImpl::resize):
15986         (WebKit::WebViewImpl::layout):
15987         (WebKit::WebViewImpl::paint):
15988         (WebKit::WebViewImpl::handleInputEvent):
15989         (WebKit::WebViewImpl::mouseCaptureLost):
15990         (WebKit::WebViewImpl::setFocus):
15991         (WebKit::WebViewImpl::handleCompositionEvent):
15992         (WebKit::WebViewImpl::queryCompositionStatus):
15993         (WebKit::WebViewImpl::setTextDirection):
15994         (WebKit::WebViewImpl::settings):
15995         (WebKit::WebViewImpl::pageEncoding):
15996         (WebKit::WebViewImpl::setPageEncoding):
15997         (WebKit::WebViewImpl::dispatchBeforeUnloadEvent):
15998         (WebKit::WebViewImpl::dispatchUnloadEvent):
15999         (WebKit::WebViewImpl::mainFrame):
16000         (WebKit::WebViewImpl::findFrameByName):
16001         (WebKit::WebViewImpl::focusedFrame):
16002         (WebKit::WebViewImpl::setFocusedFrame):
16003         (WebKit::WebViewImpl::setInitialFocus):
16004         (WebKit::WebViewImpl::clearFocusedNode):
16005         (WebKit::WebViewImpl::zoomIn):
16006         (WebKit::WebViewImpl::zoomOut):
16007         (WebKit::WebViewImpl::zoomDefault):
16008         (WebKit::WebViewImpl::performMediaPlayerAction):
16009         (WebKit::WebViewImpl::copyImageAt):
16010         (WebKit::WebViewImpl::dragSourceEndedAt):
16011         (WebKit::WebViewImpl::dragSourceMovedTo):
16012         (WebKit::WebViewImpl::dragSourceSystemDragEnded):
16013         (WebKit::WebViewImpl::dragTargetDragEnter):
16014         (WebKit::WebViewImpl::dragTargetDragOver):
16015         (WebKit::WebViewImpl::dragTargetDragLeave):
16016         (WebKit::WebViewImpl::dragTargetDrop):
16017         (WebKit::WebViewImpl::dragIdentity):
16018         (WebKit::WebViewImpl::inspectElementAt):
16019         (WebKit::WebViewImpl::inspectorSettings):
16020         (WebKit::WebViewImpl::setInspectorSettings):
16021         (WebKit::WebViewImpl::devToolsAgent):
16022         (WebKit::WebViewImpl::setDevToolsAgent):
16023         (WebKit::WebViewImpl::accessibilityObject):
16024         (WebKit::WebViewImpl::applyAutofillSuggestions):
16025         (WebKit::WebViewImpl::hideAutofillPopup):
16026         (WebKit::WebViewImpl::setDropEffect):
16027         (WebKit::WebViewImpl::setIsTransparent):
16028         (WebKit::WebViewImpl::isTransparent):
16029         (WebKit::WebViewImpl::setIsActive):
16030         (WebKit::WebViewImpl::isActive):
16031         (WebKit::WebViewImpl::didCommitLoad):
16032         (WebKit::WebViewImpl::navigationPolicyFromMouseEvent):
16033         (WebKit::WebViewImpl::startDragging):
16034         (WebKit::WebViewImpl::setCurrentHistoryItem):
16035         (WebKit::WebViewImpl::previousHistoryItem):
16036         (WebKit::WebViewImpl::observeNewNavigation):
16037         (WebKit::WebViewImpl::hideAutoCompletePopup):
16038         (WebKit::WebViewImpl::autoCompletePopupDidHide):
16039         (WebKit::WebViewImpl::setIgnoreInputEvents):
16040         (WebKit::WebViewImpl::notificationPresenterImpl):
16041         (WebKit::WebViewImpl::refreshAutofillPopup):
16042         (WebKit::WebViewImpl::focusedWebCoreNode):
16043         (WebKit::WebViewImpl::hitTestResultForWindowPos):
16044         (WebKit::WebViewImpl::setTabsToLinks):
16045         (WebKit::WebViewImpl::tabsToLinks):
16046         * src/WebViewImpl.h: Added.
16047         (WebKit::WebViewImpl::size):
16048         (WebKit::WebViewImpl::devToolsAgentPrivate):
16049         (WebKit::WebViewImpl::lastMouseDownPoint):
16050         (WebKit::WebViewImpl::client):
16051         (WebKit::WebViewImpl::page):
16052         (WebKit::WebViewImpl::contextMenuAllowed):
16053         (WebKit::WebViewImpl::setInitialNavigationPolicy):
16054         (WebKit::WebViewImpl::initialNavigationPolicy):
16055         (WebKit::WebViewImpl::currentInputEvent):
16056         (WebKit::WebViewImpl::):
16057
16058 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
16059
16060         Reviewed by Dimitri Glazkov.
16061
16062         Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl
16063
16064         https://bugs.webkit.org/show_bug.cgi?id=31276
16065
16066         * src/WebScriptController.cpp: Added.
16067         (WebKit::WebScriptController::registerExtension):
16068         (WebKit::WebScriptController::enableV8SingleThreadMode):
16069         (WebKit::WebScriptController::flushConsoleMessages):
16070         * src/WebSearchableFormData.cpp: Added.
16071         (WebCore::GetFormEncoding):
16072         (WebCore::IsHTTPFormSubmit):
16073         (WebCore::GetButtonToActivate):
16074         (WebCore::IsSelectInDefaultState):
16075         (WebCore::IsInDefaultState):
16076         (WebCore::HasSuitableTextElement):
16077         (WebKit::WebSearchableFormData::WebSearchableFormData):
16078         * src/WebSecurityOrigin.cpp: Added.
16079         (WebKit::WebSecurityOrigin::reset):
16080         (WebKit::WebSecurityOrigin::assign):
16081         (WebKit::WebSecurityOrigin::protocol):
16082         (WebKit::WebSecurityOrigin::host):
16083         (WebKit::WebSecurityOrigin::port):
16084         (WebKit::WebSecurityOrigin::isEmpty):
16085         (WebKit::WebSecurityOrigin::toString):
16086         (WebKit::WebSecurityOrigin::databaseIdentifier):
16087         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
16088         (WebKit::WebSecurityOrigin::operator=):
16089         (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>):
16090         * src/WebSecurityPolicy.cpp: Added.
16091         (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal):
16092         (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess):
16093         (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin):
16094         (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists):
16095         * src/WebSettingsImpl.cpp: Added.
16096         (WebKit::WebSettingsImpl::WebSettingsImpl):
16097         (WebKit::WebSettingsImpl::setStandardFontFamily):
16098         (WebKit::WebSettingsImpl::setFixedFontFamily):
16099         (WebKit::WebSettingsImpl::setSerifFontFamily):
16100         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
16101         (WebKit::WebSettingsImpl::setCursiveFontFamily):
16102         (WebKit::WebSettingsImpl::setFantasyFontFamily):
16103         (WebKit::WebSettingsImpl::setDefaultFontSize):
16104         (WebKit::WebSettingsImpl::setDefaultFixedFontSize):
16105         (WebKit::WebSettingsImpl::setMinimumFontSize):
16106         (WebKit::WebSettingsImpl::setMinimumLogicalFontSize):
16107         (WebKit::WebSettingsImpl::setDefaultTextEncodingName):
16108         (WebKit::WebSettingsImpl::setJavaScriptEnabled):
16109         (WebKit::WebSettingsImpl::setWebSecurityEnabled):
16110         (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically):
16111         (WebKit::WebSettingsImpl::setLoadsImagesAutomatically):
16112         (WebKit::WebSettingsImpl::setPluginsEnabled):
16113         (WebKit::WebSettingsImpl::setDOMPasteAllowed):
16114         (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled):
16115         (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit):
16116         (WebKit::WebSettingsImpl::setUsesEncodingDetector):
16117         (WebKit::WebSettingsImpl::setTextAreasAreResizable):
16118         (WebKit::WebSettingsImpl::setJavaEnabled):
16119         (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows):
16120         (WebKit::WebSettingsImpl::setUserStyleSheetLocation):
16121         (WebKit::WebSettingsImpl::setUsesPageCache):
16122         (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled):
16123         (WebKit::WebSettingsImpl::setXSSAuditorEnabled):
16124         (WebKit::WebSettingsImpl::setLocalStorageEnabled):
16125         (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive):
16126         (WebKit::WebSettingsImpl::setFontRenderingModeNormal):
16127         (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
16128         (WebKit::WebSettingsImpl::setDatabasesEnabled):
16129         (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs):
16130         (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded):
16131         (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled):
16132         (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled):
16133         * src/WebSettingsImpl.h: Added.
16134         (WebKit::WebSettingsImpl::~WebSettingsImpl):
16135         * src/WebSharedWorkerImpl.cpp: Added.
16136         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
16137         (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
16138         (WebKit::WebSharedWorkerImpl::isStarted):
16139         (WebKit::WebSharedWorkerImpl::connect):
16140         (WebKit::WebSharedWorkerImpl::connectTask):
16141         (WebKit::WebSharedWorkerImpl::startWorkerContext):
16142         (WebKit::WebSharedWorkerImpl::terminateWorkerContext):
16143         (WebKit::WebSharedWorkerImpl::clientDestroyed):
16144         (WebKit::WebSharedWorkerImpl::client):
16145         (WebKit::WebSharedWorker::create):
16146         * src/WebSharedWorkerImpl.h: Added.
16147         (WebKit::WebSharedWorkerImpl::commonClient):
16148         * src/WebStorageAreaImpl.cpp: Added.
16149         (WebKit::WebStorageAreaImpl::WebStorageAreaImpl):
16150         (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl):
16151         (WebKit::WebStorageAreaImpl::length):
16152         (WebKit::WebStorageAreaImpl::key):
16153         (WebKit::WebStorageAreaImpl::getItem):
16154         (WebKit::WebStorageAreaImpl::setItem):
16155         (WebKit::WebStorageAreaImpl::removeItem):
16156         (WebKit::WebStorageAreaImpl::clear):
16157         * src/WebStorageAreaImpl.h: Added.
16158         (WebKit::WebStorageAreaImpl::currentStorageEventURL):
16159         (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL):
16160         (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL):
16161         * src/WebStorageEventDispatcherImpl.cpp: Added.
16162         (WebKit::WebStorageEventDispatcher::create):
16163         (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
16164         (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
16165         * src/WebStorageEventDispatcherImpl.h: Added.
16166         * src/WebStorageNamespaceImpl.cpp: Added.
16167         (WebKit::WebStorageNamespace::createLocalStorageNamespace):
16168         (WebKit::WebStorageNamespace::createSessionStorageNamespace):
16169         (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl):
16170         (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl):
16171         (WebKit::WebStorageNamespaceImpl::createStorageArea):
16172         (WebKit::WebStorageNamespaceImpl::copy):
16173         (WebKit::WebStorageNamespaceImpl::close):
16174         * src/WebStorageNamespaceImpl.h: Added.
16175
16176 2009-11-10  Yaar Schnitman  <yaar@chromium.org>
16177
16178         Reviewed by Dimitri Glazkov.
16179
16180         Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures
16181
16182         https://bugs.webkit.org/show_bug.cgi?id=31276
16183
16184         * src/WebPasswordFormData.cpp: Added.
16185         (WebKit::):
16186         (WebKit::WebPasswordFormData::WebPasswordFormData):
16187         * src/WebPasswordFormUtils.cpp: Added.
16188         (WebKit::findPasswordFormFields):
16189         * src/WebPasswordFormUtils.h: Added.
16190         (WebKit::PasswordFormFields::PasswordFormFields):
16191         * src/WebPluginContainerImpl.cpp: Added.
16192         (WebKit::WebPluginContainerImpl::setFrameRect):
16193         (WebKit::WebPluginContainerImpl::paint):
16194         (WebKit::WebPluginContainerImpl::invalidateRect):
16195         (WebKit::WebPluginContainerImpl::setFocus):
16196         (WebKit::WebPluginContainerImpl::show):
16197         (WebKit::WebPluginContainerImpl::hide):
16198         (WebKit::WebPluginContainerImpl::handleEvent):
16199         (WebKit::WebPluginContainerImpl::frameRectsChanged):
16200         (WebKit::WebPluginContainerImpl::setParentVisible):
16201         (WebKit::WebPluginContainerImpl::setParent):
16202         (WebKit::WebPluginContainerImpl::invalidate):
16203         (WebKit::WebPluginContainerImpl::reportGeometry):
16204         (WebKit::WebPluginContainerImpl::clearScriptObjects):
16205         (WebKit::WebPluginContainerImpl::scriptableObjectForElement):
16206         (WebKit::WebPluginContainerImpl::executeScriptURL):
16207         (WebKit::WebPluginContainerImpl::loadFrameRequest):
16208         (WebKit::WebPluginContainerImpl::didReceiveResponse):
16209         (WebKit::WebPluginContainerImpl::didReceiveData):
16210         (WebKit::WebPluginContainerImpl::didFinishLoading):
16211         (WebKit::WebPluginContainerImpl::didFailLoading):
16212         (WebKit::WebPluginContainerImpl::scriptableObject):
16213         (WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver):
16214         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
16215         (WebKit::WebPluginContainerImpl::handleMouseEvent):
16216         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
16217         (WebKit::WebPluginContainerImpl::calculateGeometry):
16218         (WebKit::WebPluginContainerImpl::windowClipRect):
16219         (WebKit::getObjectStack):
16220         (WebKit::checkStackOnTop):
16221         (WebKit::WebPluginContainerImpl::windowCutOutRects):
16222         * src/WebPluginContainerImpl.h: Added.
16223         (WebKit::WebPluginContainerImpl::create):
16224         (WebKit::WebPluginContainerImpl::plugin):
16225         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
16226         * src/WebPluginListBuilderImpl.cpp: Added.
16227         (WebKit::WebPluginListBuilderImpl::addPlugin):
16228         (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin):
16229         (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType):
16230         * src/WebPluginListBuilderImpl.h: Added.
16231         (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl):
16232         * src/WebPluginLoadObserver.cpp: Added.
16233         (WebKit::WebPluginLoadObserver::~WebPluginLoadObserver):
16234         (WebKit::WebPluginLoadObserver::didFinishLoading):
16235         (WebKit::WebPluginLoadObserver::didFailLoading):
16236         * src/WebPluginLoadObserver.h: Added.
16237         (WebKit::WebPluginLoadObserver::WebPluginLoadObserver):
16238         (WebKit::WebPluginLoadObserver::url):
16239         (WebKit::WebPluginLoadObserver::clearPluginContainer):
16240         * src/WebPopupMenuImpl.cpp: Added.
16241         (WebKit::WebPopupMenu::create):
16242         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
16243         (WebKit::WebPopupMenuImpl::~WebPopupMenuImpl):
16244         (WebKit::WebPopupMenuImpl::Init):
16245         (WebKit::WebPopupMenuImpl::MouseMove):
16246         (WebKit::WebPopupMenuImpl::MouseLeave):
16247         (WebKit::WebPopupMenuImpl::MouseDown):
16248         (WebKit::WebPopupMenuImpl::MouseUp):
16249         (WebKit::WebPopupMenuImpl::MouseWheel):
16250         (WebKit::WebPopupMenuImpl::KeyEvent):
16251         (WebKit::WebPopupMenuImpl::close):
16252         (WebKit::WebPopupMenuImpl::resize):
16253         (WebKit::WebPopupMenuImpl::layout):
16254         (WebKit::WebPopupMenuImpl::paint):
16255         (WebKit::WebPopupMenuImpl::handleInputEvent):
16256         (WebKit::WebPopupMenuImpl::mouseCaptureLost):
16257         (WebKit::WebPopupMenuImpl::setFocus):
16258         (WebKit::WebPopupMenuImpl::handleCompositionEvent):
16259         (WebKit::WebPopupMenuImpl::queryCompositionStatus):
16260         (WebKit::WebPopupMenuImpl::setTextDirection):
16261         (WebKit::WebPopupMenuImpl::repaint):
16262         (WebKit::WebPopupMenuImpl::scroll):
16263         (WebKit::WebPopupMenuImpl::screenToWindow):
16264         (WebKit::WebPopupMenuImpl::windowToScreen):
16265         (WebKit::WebPopupMenuImpl::scrollRectIntoView):
16266         (WebKit::WebPopupMenuImpl::scrollbarsModeDidChange):
16267         (WebKit::WebPopupMenuImpl::popupClosed):
16268         * src/WebPopupMenuImpl.h: Added.
16269         (WebKit::WebPopupMenuImpl::size):
16270         (WebKit::WebPopupMenuImpl::client):
16271         (WebKit::WebPopupMenuImpl::platformPageClient):
16272         * src/WebRange.cpp: Added.
16273         (WebKit::WebRange::reset):
16274         (WebKit::WebRange::assign):
16275         (WebKit::WebRange::startOffset):
16276         (WebKit::WebRange::endOffset):
16277         (WebKit::WebRange::startContainer):
16278         (WebKit::WebRange::endContainer):
16279         (WebKit::WebRange::toHTMLText):
16280         (WebKit::WebRange::toPlainText):
16281         (WebKit::WebRange::WebRange):
16282         (WebKit::WebRange::operator=):
16283         (WebKit::WebRange::operator WTF::PassRefPtr<WebCore::Range>):
16284         * src/WebRuntimeFeatures.cpp: Added.
16285         (WebKit::WebRuntimeFeatures::enableDatabase):
16286         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
16287         (WebKit::WebRuntimeFeatures::enableLocalStorage):
16288         (WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
16289         (WebKit::WebRuntimeFeatures::enableSessionStorage):
16290         (WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
16291         (WebKit::WebRuntimeFeatures::enableMediaPlayer):
16292         (WebKit::WebRuntimeFeatures::isMediaPlayerEnabled):
16293         (WebKit::WebRuntimeFeatures::enableSockets):
16294         (WebKit::WebRuntimeFeatures::isSocketsEnabled):
16295         (WebKit::WebRuntimeFeatures::enableNotifications):
16296         (WebKit::WebRuntimeFeatures::isNotificationsEnabled):
16297         (WebKit::WebRuntimeFeatures::enableApplicationCache):
16298         (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
16299
16300 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
16301
16302         Reviewed by Dimitri Glazkov.
16303
16304         Up-streaming Chromium API src files: WebFileInputElement...WebNotifications
16305
16306         https://bugs.webkit.org/show_bug.cgi?id=31276
16307
16308         * src/WebInputElement.cpp: Added.
16309         (WebKit::WebInputElement::WebInputElement):
16310         (WebKit::WebInputElement::operator=):
16311         (WebKit::WebInputElement::operator WTF::PassRefPtr<HTMLInputElement>):
16312         (WebKit::WebInputElement::setActivatedSubmit):
16313         (WebKit::WebInputElement::setValue):
16314         (WebKit::WebInputElement::value):
16315         (WebKit::WebInputElement::setAutofilled):
16316         (WebKit::WebInputElement::dispatchFormControlChangeEvent):
16317         (WebKit::WebInputElement::setSelectionRange):
16318         * src/WebInputEvent.cpp: Added.
16319         (WebKit::staticKeyIdentifiers):
16320         (WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode):
16321         * src/WebInputEventConversion.cpp: Added.
16322         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
16323         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
16324         (WebKit::toPlatformKeyboardEventType):
16325         (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
16326         (WebKit::PlatformKeyboardEventBuilder::setKeyType):
16327         (WebKit::PlatformKeyboardEventBuilder::isCharacterKey):
16328         (WebKit::getWebInputModifiers):
16329         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
16330         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
16331         * src/WebInputEventConversion.h: Added.
16332         * src/WebKit.cpp: Added.
16333         (WebKit::initialize):
16334         (WebKit::shutdown):
16335         (WebKit::webKitClient):
16336         (WebKit::setLayoutTestMode):
16337         (WebKit::layoutTestMode):
16338         (WebKit::resetPluginCache):
16339         * src/WebMediaPlayerClientImpl.cpp: Added.
16340         (WebKit::createWebMediaPlayer):
16341         (WebKit::WebMediaPlayerClientImpl::isEnabled):
16342         (WebKit::WebMediaPlayerClientImpl::setIsEnabled):
16343         (WebKit::WebMediaPlayerClientImpl::registerSelf):
16344         (WebKit::WebMediaPlayerClientImpl::networkStateChanged):
16345         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
16346         (WebKit::WebMediaPlayerClientImpl::volumeChanged):
16347         (WebKit::WebMediaPlayerClientImpl::timeChanged):
16348         (WebKit::WebMediaPlayerClientImpl::repaint):
16349         (WebKit::WebMediaPlayerClientImpl::durationChanged):
16350         (WebKit::WebMediaPlayerClientImpl::rateChanged):
16351         (WebKit::WebMediaPlayerClientImpl::sizeChanged):
16352         (WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks):
16353         (WebKit::WebMediaPlayerClientImpl::load):
16354         (WebKit::WebMediaPlayerClientImpl::cancelLoad):
16355         (WebKit::WebMediaPlayerClientImpl::play):
16356         (WebKit::WebMediaPlayerClientImpl::pause):
16357         (WebKit::WebMediaPlayerClientImpl::naturalSize):
16358         (WebKit::WebMediaPlayerClientImpl::hasVideo):
16359         (WebKit::WebMediaPlayerClientImpl::hasAudio):
16360         (WebKit::WebMediaPlayerClientImpl::setVisible):
16361         (WebKit::WebMediaPlayerClientImpl::duration):
16362         (WebKit::WebMediaPlayerClientImpl::currentTime):
16363         (WebKit::WebMediaPlayerClientImpl::seek):
16364         (WebKit::WebMediaPlayerClientImpl::seeking):
16365         (WebKit::WebMediaPlayerClientImpl::setEndTime):
16366         (WebKit::WebMediaPlayerClientImpl::setRate):
16367         (WebKit::WebMediaPlayerClientImpl::paused):
16368         (WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
16369         (WebKit::WebMediaPlayerClientImpl::supportsSave):
16370         (WebKit::WebMediaPlayerClientImpl::setVolume):
16371         (WebKit::WebMediaPlayerClientImpl::networkState):
16372         (WebKit::WebMediaPlayerClientImpl::readyState):
16373         (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
16374         (WebKit::WebMediaPlayerClientImpl::buffered):
16375         (WebKit::WebMediaPlayerClientImpl::dataRate):
16376         (WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
16377         (WebKit::WebMediaPlayerClientImpl::totalBytes):
16378         (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
16379         (WebKit::WebMediaPlayerClientImpl::setSize):
16380         (WebKit::WebMediaPlayerClientImpl::paint):
16381         (WebKit::WebMediaPlayerClientImpl::setAutobuffer):
16382         (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
16383         (WebKit::WebMediaPlayerClientImpl::movieLoadType):
16384         (WebKit::WebMediaPlayerClientImpl::create):
16385         (WebKit::WebMediaPlayerClientImpl::getSupportedTypes):
16386         (WebKit::WebMediaPlayerClientImpl::supportsType):
16387         (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
16388         * src/WebMediaPlayerClientImpl.h: Added.
16389         * src/WebNode.cpp: Added.
16390         (WebKit::WebNode::reset):
16391         (WebKit::WebNode::assign):
16392         (WebKit::WebNode::parentNode):
16393         (WebKit::WebNode::nodeName):
16394         (WebKit::WebNode::WebNode):
16395         (WebKit::WebNode::operator=):
16396         (WebKit::WebNode::operator WTF::PassRefPtr<WebCore::Node>):
16397         (WebKit::WebNode::frame):
16398         * src/WebNotification.cpp: Added.
16399         (WebKit::WebNotification::reset):
16400         (WebKit::WebNotification::assign):
16401         (WebKit::WebNotification::lessThan):
16402         (WebKit::WebNotification::isHTML):
16403         (WebKit::WebNotification::url):
16404         (WebKit::WebNotification::icon):
16405         (WebKit::WebNotification::title):
16406         (WebKit::WebNotification::body):
16407         (WebKit::WebNotification::dispatchDisplayEvent):
16408         (WebKit::WebNotification::dispatchErrorEvent):
16409         (WebKit::WebNotification::dispatchCloseEvent):
16410         (WebKit::WebNotification::WebNotification):
16411         (WebKit::WebNotification::operator=):
16412         (WebKit::WebNotification::operator WTF::PassRefPtr<Notification>):
16413
16414 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
16415
16416         Reviewed by Dimitri Glazkov.
16417
16418         Up-streaming Chromium API src files: WebFileChooser...WebImageSkia
16419
16420         https://bugs.webkit.org/show_bug.cgi?id=31276
16421
16422         * src/WebFileChooserCompletionImpl.cpp: Added.
16423         (WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl):
16424         (WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl):
16425         (WebKit::WebFileChooserCompletionImpl::didChooseFile):
16426         * src/WebFileChooserCompletionImpl.h: Added.
16427         * src/WebFontCache.cpp: Added.
16428         (WebKit::WebFontCache::fontDataCount):
16429         (WebKit::WebFontCache::inactiveFontDataCount):
16430         (WebKit::WebFontCache::clear):
16431         * src/WebFormElement.cpp: Added.
16432         (WebKit::WebFormElement::WebFormElement):
16433         (WebKit::WebFormElement::operator=):
16434         (WebKit::WebFormElement::operator WTF::PassRefPtr<WebCore::HTMLFormElement>):
16435         (WebKit::WebFormElement::autoComplete):
16436         (WebKit::WebFormElement::action):
16437         (WebKit::WebFormElement::submit):
16438         (WebKit::WebFormElement::getNamedElements):
16439         * src/WebFrameImpl.cpp: Added.
16440         (WebKit::frameContentAsPlainText):
16441         (WebKit::ChromePrintContext::ChromePrintContext):
16442         (WebKit::ChromePrintContext::begin):
16443         (WebKit::ChromePrintContext::getPageShrink):
16444         (WebKit::ChromePrintContext::spoolPage):
16445         (WebKit::DataSourceForDocLoader):
16446         (WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches):
16447         (WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout):
16448         (WebKit::WebFrame::frameForEnteredContext):
16449         (WebKit::WebFrame::frameForCurrentContext):
16450         (WebKit::WebFrameImpl::name):
16451         (WebKit::WebFrameImpl::url):
16452         (WebKit::WebFrameImpl::favIconURL):
16453         (WebKit::WebFrameImpl::openSearchDescriptionURL):
16454         (WebKit::WebFrameImpl::scrollOffset):
16455         (WebKit::WebFrameImpl::contentsSize):
16456         (WebKit::WebFrameImpl::contentsPreferredWidth):
16457         (WebKit::WebFrameImpl::hasVisibleContent):
16458         (WebKit::WebFrameImpl::view):
16459         (WebKit::WebFrameImpl::opener):
16460         (WebKit::WebFrameImpl::parent):
16461         (WebKit::WebFrameImpl::top):
16462         (WebKit::WebFrameImpl::firstChild):
16463         (WebKit::WebFrameImpl::lastChild):
16464         (WebKit::WebFrameImpl::nextSibling):
16465         (WebKit::WebFrameImpl::previousSibling):
16466         (WebKit::WebFrameImpl::traverseNext):
16467         (WebKit::WebFrameImpl::traversePrevious):
16468         (WebKit::WebFrameImpl::findChildByName):
16469         (WebKit::WebFrameImpl::findChildByExpression):
16470         (WebKit::WebFrameImpl::forms):
16471         (WebKit::WebFrameImpl::securityOrigin):
16472         (WebKit::WebFrameImpl::grantUniversalAccess):
16473         (WebKit::WebFrameImpl::windowObject):
16474         (WebKit::WebFrameImpl::bindToWindowObject):
16475         (WebKit::WebFrameImpl::executeScript):
16476         (WebKit::WebFrameImpl::executeScriptInNewContext):
16477         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
16478         (WebKit::WebFrameImpl::addMessageToConsole):
16479         (WebKit::WebFrameImpl::collectGarbage):
16480         (WebKit::WebFrameImpl::mainWorldScriptContext):
16481         (WebKit::WebFrameImpl::insertStyleText):
16482         (WebKit::WebFrameImpl::reload):
16483         (WebKit::WebFrameImpl::loadRequest):
16484         (WebKit::WebFrameImpl::loadHistoryItem):
16485         (WebKit::WebFrameImpl::loadData):
16486         (WebKit::WebFrameImpl::loadHTMLString):
16487         (WebKit::WebFrameImpl::isLoading):
16488         (WebKit::WebFrameImpl::stopLoading):
16489         (WebKit::WebFrameImpl::provisionalDataSource):
16490         (WebKit::WebFrameImpl::dataSource):
16491         (WebKit::WebFrameImpl::previousHistoryItem):
16492         (WebKit::WebFrameImpl::currentHistoryItem):
16493         (WebKit::WebFrameImpl::enableViewSourceMode):
16494         (WebKit::WebFrameImpl::isViewSourceModeEnabled):
16495         (WebKit::WebFrameImpl::setReferrerForRequest):
16496         (WebKit::WebFrameImpl::dispatchWillSendRequest):
16497         (WebKit::WebFrameImpl::commitDocumentData):
16498         (WebKit::WebFrameImpl::unloadListenerCount):
16499         (WebKit::WebFrameImpl::isProcessingUserGesture):
16500         (WebKit::WebFrameImpl::willSuppressOpenerInNewFrame):
16501         (WebKit::WebFrameImpl::replaceSelection):
16502         (WebKit::WebFrameImpl::insertText):
16503         (WebKit::WebFrameImpl::setMarkedText):
16504         (WebKit::WebFrameImpl::unmarkText):
16505         (WebKit::WebFrameImpl::hasMarkedText):
16506         (WebKit::WebFrameImpl::markedRange):
16507         (WebKit::WebFrameImpl::executeCommand):
16508         (WebKit::WebFrameImpl::isCommandEnabled):
16509         (WebKit::WebFrameImpl::enableContinuousSpellChecking):
16510         (WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled):
16511         (WebKit::WebFrameImpl::hasSelection):
16512         (WebKit::WebFrameImpl::selectionRange):
16513         (WebKit::WebFrameImpl::selectionAsText):
16514         (WebKit::WebFrameImpl::selectionAsMarkup):
16515         (WebKit::WebFrameImpl::printBegin):
16516         (WebKit::WebFrameImpl::getPrintPageShrink):
16517         (WebKit::WebFrameImpl::printPage):
16518         (WebKit::WebFrameImpl::printEnd):
16519         (WebKit::WebFrameImpl::find):
16520         (WebKit::WebFrameImpl::stopFinding):
16521         (WebKit::WebFrameImpl::scopeStringMatches):
16522         (WebKit::WebFrameImpl::cancelPendingScopingEffort):
16523         (WebKit::WebFrameImpl::increaseMatchCount):
16524         (WebKit::WebFrameImpl::reportFindInPageSelection):
16525         (WebKit::WebFrameImpl::resetMatchCount):
16526         (WebKit::WebFrameImpl::completeURL):
16527         (WebKit::WebFrameImpl::contentAsText):
16528         (WebKit::WebFrameImpl::contentAsMarkup):
16529         (WebKit::WebFrameImpl::create):
16530         (WebKit::WebFrameImpl::WebFrameImpl):
16531         (WebKit::WebFrameImpl::~WebFrameImpl):
16532         (WebKit::WebFrameImpl::initializeAsMainFrame):
16533         (WebKit::WebFrameImpl::createChildFrame):
16534         (WebKit::WebFrameImpl::layout):
16535         (WebKit::WebFrameImpl::paint):
16536         (WebKit::WebFrameImpl::createFrameView):
16537         (WebKit::WebFrameImpl::fromFrame):
16538         (WebKit::WebFrameImpl::viewImpl):
16539         (WebKit::WebFrameImpl::dataSourceImpl):
16540         (WebKit::WebFrameImpl::provisionalDataSourceImpl):
16541         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
16542         (WebKit::WebFrameImpl::didFail):
16543         (WebKit::WebFrameImpl::setAllowsScrolling):
16544         (WebKit::WebFrameImpl::registerPasswordListener):
16545         (WebKit::WebFrameImpl::getPasswordListener):
16546         (WebKit::WebFrameImpl::closing):
16547         (WebKit::WebFrameImpl::invalidateArea):
16548         (WebKit::WebFrameImpl::addMarker):
16549         (WebKit::WebFrameImpl::setMarkerActive):
16550         (WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame):
16551         (WebKit::WebFrameImpl::shouldScopeMatches):
16552         (WebKit::WebFrameImpl::scopeStringMatchesSoon):
16553         (WebKit::WebFrameImpl::callScopeStringMatches):
16554         (WebKit::WebFrameImpl::invalidateIfNecessary):
16555         (WebKit::WebFrameImpl::clearPasswordListeners):
16556         (WebKit::WebFrameImpl::loadJavaScriptURL):
16557         * src/WebFrameImpl.h: Added.
16558         (WebKit::WebFrameImpl::liveObjectCount):
16559         (WebKit::WebFrameImpl::frame):
16560         (WebKit::WebFrameImpl::frameView):
16561         (WebKit::WebFrameImpl::activeMatchFrame):
16562         (WebKit::WebFrameImpl::client):
16563         (WebKit::WebFrameImpl::dropClient):
16564         (WebKit::WebFrameImpl::ClientHandle::create):
16565         (WebKit::WebFrameImpl::ClientHandle::client):
16566         (WebKit::WebFrameImpl::ClientHandle::dropClient):
16567         (WebKit::WebFrameImpl::ClientHandle::ClientHandle):
16568         (WebKit::WebFrameImpl::):
16569         * src/WebHTTPBody.cpp: Added.
16570         (WebKit::WebHTTPBody::initialize):
16571         (WebKit::WebHTTPBody::reset):
16572         (WebKit::WebHTTPBody::assign):
16573         (WebKit::WebHTTPBody::elementCount):
16574         (WebKit::WebHTTPBody::elementAt):
16575         (WebKit::WebHTTPBody::appendData):
16576         (WebKit::WebHTTPBody::appendFile):
16577         (WebKit::WebHTTPBody::identifier):
16578         (WebKit::WebHTTPBody::setIdentifier):
16579         (WebKit::WebHTTPBody::WebHTTPBody):
16580         (WebKit::WebHTTPBody::operator=):
16581         (WebKit::WebHTTPBody::operator PassRefPtr<FormData>):
16582         (WebKit::WebHTTPBody::ensureMutable):
16583         * src/WebHistoryItem.cpp: Added.
16584         (WebKit::WebHistoryItem::initialize):
16585         (WebKit::WebHistoryItem::reset):
16586         (WebKit::WebHistoryItem::assign):
16587         (WebKit::WebHistoryItem::urlString):
16588         (WebKit::WebHistoryItem::setURLString):
16589         (WebKit::WebHistoryItem::originalURLString):
16590         (WebKit::WebHistoryItem::setOriginalURLString):
16591         (WebKit::WebHistoryItem::referrer):
16592         (WebKit::WebHistoryItem::setReferrer):
16593         (WebKit::WebHistoryItem::target):
16594         (WebKit::WebHistoryItem::setTarget):
16595         (WebKit::WebHistoryItem::parent):
16596         (WebKit::WebHistoryItem::setParent):
16597         (WebKit::WebHistoryItem::title):
16598         (WebKit::WebHistoryItem::setTitle):
16599         (WebKit::WebHistoryItem::alternateTitle):
16600         (WebKit::WebHistoryItem::setAlternateTitle):
16601         (WebKit::WebHistoryItem::lastVisitedTime):
16602         (WebKit::WebHistoryItem::setLastVisitedTime):
16603         (WebKit::WebHistoryItem::scrollOffset):
16604         (WebKit::WebHistoryItem::setScrollOffset):
16605         (WebKit::WebHistoryItem::isTargetItem):
16606         (WebKit::WebHistoryItem::setIsTargetItem):
16607         (WebKit::WebHistoryItem::visitCount):
16608         (WebKit::WebHistoryItem::setVisitCount):
16609         (WebKit::WebHistoryItem::documentState):
16610         (WebKit::WebHistoryItem::setDocumentState):
16611         (WebKit::WebHistoryItem::httpContentType):
16612         (WebKit::WebHistoryItem::setHTTPContentType):
16613         (WebKit::WebHistoryItem::httpBody):
16614         (WebKit::WebHistoryItem::setHTTPBody):
16615         (WebKit::WebHistoryItem::children):
16616         (WebKit::WebHistoryItem::setChildren):
16617         (WebKit::WebHistoryItem::appendToChildren):
16618         (WebKit::WebHistoryItem::WebHistoryItem):
16619         (WebKit::WebHistoryItem::operator=):
16620         (WebKit::WebHistoryItem::operator PassRefPtr<HistoryItem>):
16621         (WebKit::WebHistoryItem::ensureMutable):
16622         * src/WebImageCG.cpp: Added.
16623         (WebKit::WebImage::fromData):
16624         (WebKit::WebImage::reset):
16625         (WebKit::WebImage::assign):
16626         (WebKit::WebImage::isNull):
16627         (WebKit::WebImage::size):
16628         (WebKit::WebImage::WebImage):
16629         (WebKit::WebImage::operator=):
16630         * src/WebImageSkia.cpp: Added.
16631         (WebKit::WebImage::fromData):
16632         (WebKit::WebImage::reset):
16633         (WebKit::WebImage::assign):
16634         (WebKit::WebImage::isNull):
16635         (WebKit::WebImage::size):
16636         (WebKit::WebImage::WebImage):
16637         (WebKit::WebImage::operator=):
16638
16639 2009-11-09  Yaar Schnitman  <yaar@chromium.src>
16640
16641         Reviewed by Dimitri Glazkov.
16642
16643         Up-streaming Chromium API src files: WebData...WebElement
16644
16645         https://bugs.webkit.org/show_bug.cgi?id=31276
16646
16647         * src/WebData.cpp: Added.
16648         (WebKit::WebData::reset):
16649         (WebKit::WebData::assign):
16650         (WebKit::WebData::size):
16651         (WebKit::WebData::data):
16652         (WebKit::WebData::WebData):
16653         (WebKit::WebData::operator=):
16654         (WebKit::WebData::operator PassRefPtr<SharedBuffer>):
16655         * src/WebDataSourceImpl.cpp: Added.
16656         (WebKit::WebDataSourceImpl::create):
16657         (WebKit::WebDataSourceImpl::originalRequest):
16658         (WebKit::WebDataSourceImpl::request):
16659         (WebKit::WebDataSourceImpl::response):
16660         (WebKit::WebDataSourceImpl::hasUnreachableURL):
16661         (WebKit::WebDataSourceImpl::unreachableURL):
16662         (WebKit::WebDataSourceImpl::redirectChain):
16663         (WebKit::WebDataSourceImpl::pageTitle):
16664         (WebKit::WebDataSourceImpl::navigationType):
16665         (WebKit::WebDataSourceImpl::triggeringEventTime):
16666         (WebKit::WebDataSourceImpl::extraData):
16667         (WebKit::WebDataSourceImpl::setExtraData):
16668         (WebKit::WebDataSourceImpl::toWebNavigationType):
16669         (WebKit::WebDataSourceImpl::endOfRedirectChain):
16670         (WebKit::WebDataSourceImpl::clearRedirectChain):
16671         (WebKit::WebDataSourceImpl::appendRedirect):
16672         (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
16673         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
16674         (WebKit::WebDataSourceImpl::~WebDataSourceImpl):
16675         * src/WebDataSourceImpl.h: Added.
16676         (WebKit::WebDataSourceImpl::fromDocumentLoader):
16677         (WebKit::WebDataSourceImpl::hasRedirectChain):
16678         (WebKit::WebDataSourceImpl::releasePluginLoadObserver):
16679         * src/WebDatabase.cpp: Added.
16680         (WebKit::WebDatabase::reset):
16681         (WebKit::WebDatabase::assign):
16682         (WebKit::WebDatabase::name):
16683         (WebKit::WebDatabase::displayName):
16684         (WebKit::WebDatabase::estimatedSize):
16685         (WebKit::WebDatabase::securityOrigin):
16686         (WebKit::WebDatabase::setObserver):
16687         (WebKit::WebDatabase::observer):
16688         (WebKit::WebDatabase::updateDatabaseSize):
16689         (WebKit::WebDatabase::WebDatabase):
16690         (WebKit::WebDatabase::operator=):
16691         (WebKit::WebDatabase::operator WTF::PassRefPtr<Database>):
16692         * src/WebDevToolsAgentPrivate.h: Added.
16693         * src/WebDragData.cpp: Added.
16694         (WebKit::WebDragData::initialize):
16695         (WebKit::WebDragData::reset):
16696         (WebKit::WebDragData::assign):
16697         (WebKit::WebDragData::url):
16698         (WebKit::WebDragData::setURL):
16699         (WebKit::WebDragData::urlTitle):
16700         (WebKit::WebDragData::setURLTitle):
16701         (WebKit::WebDragData::fileExtension):
16702         (WebKit::WebDragData::setFileExtension):
16703         (WebKit::WebDragData::hasFileNames):
16704         (WebKit::WebDragData::fileNames):
16705         (WebKit::WebDragData::setFileNames):
16706         (WebKit::WebDragData::appendToFileNames):
16707         (WebKit::WebDragData::plainText):
16708         (WebKit::WebDragData::setPlainText):
16709         (WebKit::WebDragData::htmlText):
16710         (WebKit::WebDragData::setHTMLText):
16711         (WebKit::WebDragData::htmlBaseURL):
16712         (WebKit::WebDragData::setHTMLBaseURL):
16713         (WebKit::WebDragData::fileContentFileName):
16714         (WebKit::WebDragData::setFileContentFileName):
16715         (WebKit::WebDragData::fileContent):
16716         (WebKit::WebDragData::setFileContent):
16717         (WebKit::WebDragData::WebDragData):
16718         (WebKit::WebDragData::operator=):
16719         (WebKit::WebDragData::operator WTF::PassRefPtr<WebCore::ChromiumDataObject>):
16720         (WebKit::WebDragData::ensureMutable):
16721         * src/WebElement.cpp: Added.
16722         (WebKit::WebElement::WebElement):
16723         (WebKit::WebElement::operator=):
16724         (WebKit::WebElement::operator WTF::PassRefPtr<Element>):
16725
16726 2009-11-09  Nate Chapin  <japhet@chromium.org>
16727
16728         Reviewed by Dimitri Glazkov.
16729
16730         WebPo*.h and WebRunetimeFeatures.h Chromium API headers.
16731
16732         https://bugs.webkit.org/show_bug.cgi?id=28394
16733
16734         * public/WebPoint.h: Added.
16735         (WebKit::WebPoint::WebPoint):
16736         (WebKit::WebPoint::operator=):
16737         (WebKit::WebPoint::operator WebCore::IntPoint):
16738         (WebKit::WebPoint::operator gfx::Point):
16739         (WebKit::operator==):
16740         (WebKit::operator!=):
16741         * public/WebPopupMenu.h: Added.
16742         * public/WebPopupMenuInfo.h: Added.
16743         (WebKit::WebPopupMenuInfo::Item::):
16744         * public/WebRuntimeFeatures.h: Added.
16745
16746 2009-11-09  Nate Chapin  <japhet@chromium.org>
16747
16748         Reviewed by Dimitri Glazkov.
16749
16750         WebPa*.h and WebPl*.h Chromium API headers.
16751
16752         https://bugs.webkit.org/show_bug.cgi?id=28394
16753
16754         * public/WebPasswordAutocompleteListener.h: Added.
16755         (WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener):
16756         * public/WebPasswordFormData.h: Added.
16757         (WebKit::WebPasswordFormData::isValid):
16758         * public/WebPlugin.h: Added.
16759         (WebKit::WebPlugin::~WebPlugin):
16760         * public/WebPluginContainer.h: Added.
16761         (WebKit::WebPluginContainer::~WebPluginContainer):
16762         * public/WebPluginListBuilder.h: Added.
16763         * public/WebPluginParams.h: Added.
16764
16765 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
16766
16767         Reviewed by Dimitri Glazkov.
16768
16769         Up-streaming Chromium API src files: WebBindging ... WebCursorInfo
16770
16771         https://bugs.webkit.org/show_bug.cgi?id=31276
16772
16773         * src/WebBindings.cpp: Added.
16774         (WebKit::WebBindings::construct):
16775         (WebKit::WebBindings::createObject):
16776         (WebKit::WebBindings::enumerate):
16777         (WebKit::WebBindings::evaluate):
16778         (WebKit::WebBindings::evaluateHelper):
16779         (WebKit::WebBindings::getIntIdentifier):
16780         (WebKit::WebBindings::getProperty):
16781         (WebKit::WebBindings::getStringIdentifier):
16782         (WebKit::WebBindings::getStringIdentifiers):
16783         (WebKit::WebBindings::hasMethod):
16784         (WebKit::WebBindings::hasProperty):
16785         (WebKit::WebBindings::identifierIsString):
16786         (WebKit::WebBindings::intFromIdentifier):
16787         (WebKit::WebBindings::initializeVariantWithStringCopy):
16788         (WebKit::WebBindings::invoke):
16789         (WebKit::WebBindings::invokeDefault):
16790         (WebKit::WebBindings::releaseObject):
16791         (WebKit::WebBindings::releaseVariantValue):
16792         (WebKit::WebBindings::removeProperty):
16793         (WebKit::WebBindings::retainObject):
16794         (WebKit::WebBindings::setException):
16795         (WebKit::WebBindings::setProperty):
16796         (WebKit::WebBindings::unregisterObject):
16797         (WebKit::WebBindings::utf8FromIdentifier):
16798         (WebKit::WebBindings::extractIdentifierData):
16799         (WebKit::getEvent):
16800         (WebKit::getDragDataImpl):
16801         (WebKit::getRangeImpl):
16802         (WebKit::WebBindings::getDragData):
16803         (WebKit::WebBindings::isDragEvent):
16804         (WebKit::WebBindings::getRange):
16805         * src/WebCString.cpp: Added.
16806         (WebKit::WebCString::reset):
16807         (WebKit::WebCString::assign):
16808         (WebKit::WebCString::length):
16809         (WebKit::WebCString::data):
16810         (WebKit::WebCString::utf16):
16811         (WebKit::WebCString::fromUTF16):
16812         (WebKit::WebCString::WebCString):
16813         (WebKit::WebCString::operator=):
16814         (WebKit::WebCString::operator WebCore::CString):
16815         * src/WebCache.cpp: Added.
16816         (WebKit::ToResourceTypeStat):
16817         (WebKit::WebCache::setCapacities):
16818         (WebKit::WebCache::clear):
16819         (WebKit::WebCache::getUsageStats):
16820         (WebKit::WebCache::getResourceTypeStats):
16821         * src/WebColor.cpp: Added.
16822         (WebKit::toCSSValueKeyword):
16823         (WebKit::setNamedColors):
16824         * src/WebCrossOriginPreflightResultCache.cpp: Added.
16825         (WebKit::WebCrossOriginPreflightResultCache::clear):
16826         * src/WebCursorInfo.cpp: Added.
16827         (WebKit::WebCursorInfo::WebCursorInfo):
16828
16829 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
16830
16831         Reviewed by Dimitri Glazkov.
16832
16833         Up-streaming Chromium API src files: WebAccessibilty
16834
16835         https://bugs.webkit.org/show_bug.cgi?id=31276
16836
16837         * src/WebAccessibilityCache.cpp: Added.
16838         (WebKit::WebAccessibilityCache::enableAccessibility):
16839         * src/WebAccessibilityCacheImpl.cpp: Added.
16840         (WebKit::toAccessibilityObject):
16841         (WebKit::WebAccessibilityCache::create):
16842         (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
16843         (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
16844         (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach):
16845         (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl):
16846         (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl):
16847         (WebKit::WebAccessibilityCacheImpl::initialize):
16848         (WebKit::WebAccessibilityCacheImpl::getObjectById):
16849         (WebKit::WebAccessibilityCacheImpl::isValidId):
16850         (WebKit::WebAccessibilityCacheImpl::remove):
16851         (WebKit::WebAccessibilityCacheImpl::clear):
16852         (WebKit::WebAccessibilityCacheImpl::addOrGetId):
16853         * src/WebAccessibilityCacheImpl.h: Added.
16854         (WebKit::WebAccessibilityCacheImpl::isInitialized):
16855         * src/WebAccessibilityObject.cpp: Added.
16856         (WebKit::WebAccessibilityObject::reset):
16857         (WebKit::WebAccessibilityObject::assign):
16858         (WebKit::WebAccessibilityObject::accessibilityDescription):
16859         (WebKit::WebAccessibilityObject::actionVerb):
16860         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
16861         (WebKit::WebAccessibilityObject::childCount):
16862         (WebKit::WebAccessibilityObject::childAt):
16863         (WebKit::WebAccessibilityObject::firstChild):
16864         (WebKit::WebAccessibilityObject::focusedChild):
16865         (WebKit::WebAccessibilityObject::lastChild):
16866         (WebKit::WebAccessibilityObject::nextSibling):
16867         (WebKit::WebAccessibilityObject::parentObject):
16868         (WebKit::WebAccessibilityObject::previousSibling):
16869         (WebKit::WebAccessibilityObject::isAnchor):
16870         (WebKit::WebAccessibilityObject::isChecked):
16871         (WebKit::WebAccessibilityObject::isFocused):
16872         (WebKit::WebAccessibilityObject::isEnabled):
16873         (WebKit::WebAccessibilityObject::isHovered):
16874         (WebKit::WebAccessibilityObject::isIndeterminate):
16875         (WebKit::WebAccessibilityObject::isMultiSelect):
16876         (WebKit::WebAccessibilityObject::isOffScreen):
16877         (WebKit::WebAccessibilityObject::isPasswordField):
16878         (WebKit::WebAccessibilityObject::isPressed):
16879         (WebKit::WebAccessibilityObject::isReadOnly):
16880         (WebKit::WebAccessibilityObject::isVisited):
16881         (WebKit::WebAccessibilityObject::boundingBoxRect):
16882         (WebKit::WebAccessibilityObject::helpText):
16883         (WebKit::WebAccessibilityObject::hitTest):
16884         (WebKit::WebAccessibilityObject::keyboardShortcut):
16885         (WebKit::WebAccessibilityObject::performDefaultAction):
16886         (WebKit::WebAccessibilityObject::roleValue):
16887         (WebKit::WebAccessibilityObject::stringValue):
16888         (WebKit::WebAccessibilityObject::title):
16889         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
16890         (WebKit::WebAccessibilityObject::operator=):
16891         (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
16892
16893 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
16894
16895         Reviewed by Dimitri Glazkov.
16896
16897         Upstreaming Chromium API: Platform specific files
16898
16899         https://bugs.webkit.org/show_bug.cgi?id=28394
16900
16901         * public/gtk/WebFontInfo.h: Added.
16902         * public/gtk/WebInputEventFactory.h: Added.
16903         * public/gtk/WebScreenInfoFactory.h: Added.
16904         * public/linux/WebFontRendering.h: Added.
16905         * public/linux/WebSandboxSupport.h: Added.
16906         * public/mac/WebInputEventFactory.h: Added.
16907         * public/mac/WebScreenInfoFactory.h: Added.
16908         * public/win/WebInputEventFactory.h: Added.
16909         * public/win/WebSandboxSupport.h: Added.
16910         * public/win/WebScreenInfoFactory.h: Added.
16911         * public/win/WebThemeEngine.h: Added.
16912         * public/x11/WebScreenInfoFactory.h: Added.
16913
16914 2009-11-09  David Levin  <levin@chromium.org>
16915
16916         Reviewed by Dmitry Titov.
16917
16918         Change struct ResourceRequest to class ResourceRequest per
16919         http://trac.webkit.org/changeset/50625.
16920
16921         * public/WebURLRequest.h:
16922
16923 2009-11-09  Nate Chapin  <japhet@chromium.org>
16924
16925         Reviewed by Dimitri Glazkov.
16926
16927         Upstream remaining Chromium API WebN*.h headers.
16928
16929         https://bugs.webkit.org/show_bug.cgi?id=28394
16930
16931         * public/WebNonCopyable.h: Added.
16932         (WebKit::WebNonCopyable::WebNonCopyable):
16933         (WebKit::WebNonCopyable::~WebNonCopyable):
16934         * public/WebNotification.h: Added.
16935         (WebKit::WebNotification::WebNotification):
16936         (WebKit::WebNotification::~WebNotification):
16937         (WebKit::WebNotification::operator=):
16938         (WebKit::WebNotification::equals):
16939         (WebKit::operator==):
16940         (WebKit::operator!=):
16941         (WebKit::operator<):
16942         * public/WebNotificationPermissionCallback.h: Added.
16943         (WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback):
16944         * public/WebNotificationPresenter.h: Added.
16945         (WebKit::WebNotificationPresenter::):
16946
16947 2009-11-09  Nate Chapin  <japhet@chromium.org>
16948
16949         Reviewed by Dimitri Glazkov.
16950
16951         Upstream Chromium API headers WebMessage through WebNavigation.
16952
16953         https://bugs.webkit.org/show_bug.cgi?id=28394
16954
16955         * public/WebMessagePortChannel.h: Added.
16956         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
16957         * public/WebMessagePortChannelClient.h: Added.
16958         (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
16959         * public/WebMimeRegistry.h: Added.
16960         (WebKit::WebMimeRegistry::):
16961         (WebKit::WebMimeRegistry::~WebMimeRegistry):
16962         * public/WebNavigationPolicy.h: Added.
16963         (WebKit::):
16964         * public/WebNavigationType.h: Added.
16965         (WebKit::):
16966
16967 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
16968
16969         Reviewed by Dimitri Glazkov.
16970
16971         Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo.
16972
16973         https://bugs.webkit.org/show_bug.cgi?id=28394
16974
16975         * public/WebScreenInfo.h: Added.
16976         (WebKit::WebScreenInfo::WebScreenInfo):
16977         * public/WebScriptController.h: Added.
16978         * public/WebScriptSource.h: Added.
16979         (WebKit::WebScriptSource::WebScriptSource):
16980         * public/WebSearchableFormData.h: Added.
16981         (WebKit::WebSearchableFormData::isValid):
16982         (WebKit::WebSearchableFormData::url):
16983         (WebKit::WebSearchableFormData::encoding):
16984         * public/WebSecurityOrigin.h: Added.
16985         (WebKit::WebSecurityOrigin::~WebSecurityOrigin):
16986         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
16987         (WebKit::WebSecurityOrigin::operator=):
16988         (WebKit::WebSecurityOrigin::isNull):
16989         * public/WebSecurityPolicy.h: Added.
16990         * public/WebSettings.h: Added.
16991         (WebKit::WebSettings::~WebSettings):
16992         * public/WebSharedWorker.h: Added.
16993         (WebKit::WebSharedWorker::~WebSharedWorker):
16994         * public/WebSharedWorkerRepository.h: Added.
16995
16996 2009-11-09  Nate Chapin  <japhet@chromium.org>
16997
16998         Reviewed by Dimitri Glazkov.
16999
17000         Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h.
17001
17002         https://bugs.webkit.org/show_bug.cgi?id=28394
17003
17004         * public/WebKit.h: Added.
17005         * public/WebKitClient.h: Added.
17006         (WebKit::WebKitClient::~WebKitClient):
17007         * public/WebLocalizedString.h: Added.
17008         (WebKit::WebLocalizedString::):
17009         * public/WebMediaPlayer.h: Added.
17010         (WebKit::WebTimeRange::WebTimeRange):
17011         (WebKit::WebMediaPlayer::):
17012         (WebKit::WebMediaPlayer::~WebMediaPlayer):
17013         * public/WebMediaPlayerAction.h: Added.
17014         (WebKit::WebMediaPlayerAction::):
17015         (WebKit::WebMediaPlayerAction::WebMediaPlayerAction):
17016         * public/WebMediaPlayerClient.h: Added.
17017         (WebKit::WebMediaPlayerClient::~WebMediaPlayerClient):
17018
17019 2009-11-09  Nate Chapin  <japhet@chromium.org>
17020
17021         Reviewed by Dimitri Glazkov.
17022
17023         Upstream rest of WebH*.h and WebI*.h Chromium API headers.
17024
17025         https://bugs.webkit.org/show_bug.cgi?id=28394
17026
17027         * public/WebHTTPBody.h: Added.
17028         (WebKit::WebHTTPBody::Element::):
17029         (WebKit::WebHTTPBody::~WebHTTPBody):
17030         (WebKit::WebHTTPBody::WebHTTPBody):
17031         (WebKit::WebHTTPBody::operator=):
17032         (WebKit::WebHTTPBody::isNull):
17033         * public/WebHTTPHeaderVisitor.h: Added.
17034         (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
17035         * public/WebHistoryItem.h: Added.
17036         (WebKit::WebHistoryItem::~WebHistoryItem):
17037         (WebKit::WebHistoryItem::WebHistoryItem):
17038         (WebKit::WebHistoryItem::operator=):
17039         (WebKit::WebHistoryItem::isNull):
17040         * public/WebImage.h: Added.
17041         (WebKit::WebImage::~WebImage):
17042         (WebKit::WebImage::WebImage):
17043         (WebKit::WebImage::operator=):
17044         (WebKit::WebImage::getSkBitmap):
17045         (WebKit::WebImage::init):
17046         (WebKit::WebImage::getCGImageRef):
17047         * public/WebInputEvent.h: Added.
17048         (WebKit::WebInputEvent::WebInputEvent):
17049         (WebKit::WebInputEvent::):
17050         (WebKit::WebInputEvent::isKeyboardEventType):
17051         (WebKit::WebKeyboardEvent::WebKeyboardEvent):
17052         (WebKit::WebMouseEvent::):
17053         (WebKit::WebMouseEvent::WebMouseEvent):
17054         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
17055
17056 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
17057
17058         Reviewed by Eric Seidel.
17059
17060         Upstreaming the Chromium WebKit API: WebSockets and WebStorage.
17061
17062         https://bugs.webkit.org/show_bug.cgi?id=28394
17063
17064         * public/WebSocketStreamError.h: Added.
17065         * public/WebSocketStreamHandle.h: Added.
17066         (WebKit::WebSocketStreamHandle::~WebSocketStreamHandle):
17067         * public/WebSocketStreamHandleClient.h: Added.
17068         * public/WebStorageArea.h: Added.
17069         (WebKit::WebStorageArea::~WebStorageArea):
17070         * public/WebStorageEventDispatcher.h: Added.
17071         (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
17072         * public/WebStorageNamespace.h: Added.
17073         (WebKit::WebStorageNamespace::~WebStorageNamespace):
17074
17075 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
17076
17077         Reviewed by Dimitri Glazkov.
17078
17079         Upstreaming the Chromium WebKit API: WebString and other basic objects.
17080
17081         https://bugs.webkit.org/show_bug.cgi?id=28394
17082
17083         * public/WebRange.h: Added.
17084         (WebKit::WebRange::~WebRange):
17085         (WebKit::WebRange::WebRange):
17086         (WebKit::WebRange::operator=):
17087         (WebKit::WebRange::isNull):
17088         * public/WebRect.h: Added.
17089         (WebKit::WebRect::isEmpty):
17090         (WebKit::WebRect::WebRect):
17091         (WebKit::WebRect::operator=):
17092         (WebKit::WebRect::operator WebCore::IntRect):
17093         (WebKit::WebRect::operator gfx::Rect):
17094         (WebKit::operator==):
17095         (WebKit::operator!=):
17096         * public/WebSize.h: Added.
17097         (WebKit::WebSize::isEmpty):
17098         (WebKit::WebSize::WebSize):
17099         (WebKit::WebSize::operator=):
17100         (WebKit::WebSize::operator WebCore::IntSize):
17101         (WebKit::WebSize::operator gfx::Size):
17102         (WebKit::operator==):
17103         (WebKit::operator!=):
17104         * public/WebString.h: Added.
17105         (WebKit::WebString::~WebString):
17106         (WebKit::WebString::WebString):
17107         (WebKit::WebString::operator=):
17108         (WebKit::WebString::isEmpty):
17109         (WebKit::WebString::isNull):
17110         (WebKit::WebString::operator string16):
17111         (WebKit::WebString::operator NullableString16):
17112         (WebKit::WebString::fromUTF8):
17113
17114 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
17115
17116         Reviewed by Eric Seidel.
17117
17118         Upstreaming the Chromium WebKit API: WebText*
17119
17120         https://bugs.webkit.org/show_bug.cgi?id=28394
17121
17122         * public/WebTextAffinity.h: Added.
17123         (WebKit::):
17124         * public/WebTextDirection.h: Added.
17125         (WebKit::):
17126
17127 2009-11-09  Nate Chapin  <japhet@chromium.org>
17128
17129         Reviewed by Dimitri Glazkov.
17130
17131         Upstream remainder of WebE*.h and WebF*.h Chromium API headers.
17132
17133         https://bugs.webkit.org/show_bug.cgi?id=28394
17134
17135         * public/WebEditingAction.h: Added.
17136         (WebKit::):
17137         * public/WebFileChooserCompletion.h: Added.
17138         (WebKit::WebFileChooserCompletion::~WebFileChooserCompletion):
17139         * public/WebFindOptions.h: Added.
17140         (WebKit::WebFindOptions::WebFindOptions):
17141         * public/WebFontCache.h: Added.
17142         * public/WebFrame.h: Added.
17143         (WebKit::WebFrame::~WebFrame):
17144         * public/WebFrameClient.h: Added.
17145         (WebKit::WebFrameClient::createPlugin):
17146         (WebKit::WebFrameClient::createWorker):
17147         (WebKit::WebFrameClient::createSharedWorker):
17148         (WebKit::WebFrameClient::createMediaPlayer):
17149         (WebKit::WebFrameClient::willClose):
17150         (WebKit::WebFrameClient::loadURLExternally):
17151         (WebKit::WebFrameClient::decidePolicyForNavigation):
17152         (WebKit::WebFrameClient::canHandleRequest):
17153         (WebKit::WebFrameClient::cannotHandleRequestError):
17154         (WebKit::WebFrameClient::cancelledError):
17155         (WebKit::WebFrameClient::unableToImplementPolicyWithError):
17156         (WebKit::WebFrameClient::willSubmitForm):
17157         (WebKit::WebFrameClient::willPerformClientRedirect):
17158         (WebKit::WebFrameClient::didCancelClientRedirect):
17159         (WebKit::WebFrameClient::didCompleteClientRedirect):
17160         (WebKit::WebFrameClient::didCreateDataSource):
17161         (WebKit::WebFrameClient::didStartProvisionalLoad):
17162         (WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad):
17163         (WebKit::WebFrameClient::didFailProvisionalLoad):
17164         (WebKit::WebFrameClient::didReceiveDocumentData):
17165         (WebKit::WebFrameClient::didCommitProvisionalLoad):
17166         (WebKit::WebFrameClient::didClearWindowObject):
17167         (WebKit::WebFrameClient::didCreateDocumentElement):
17168         (WebKit::WebFrameClient::didReceiveTitle):
17169         (WebKit::WebFrameClient::didFinishDocumentLoad):
17170         (WebKit::WebFrameClient::didHandleOnloadEvents):
17171         (WebKit::WebFrameClient::didFailLoad):
17172         (WebKit::WebFrameClient::didFinishLoad):
17173         (WebKit::WebFrameClient::didChangeLocationWithinPage):
17174         (WebKit::WebFrameClient::didUpdateCurrentHistoryItem):
17175         (WebKit::WebFrameClient::assignIdentifierToRequest):
17176         (WebKit::WebFrameClient::willSendRequest):
17177         (WebKit::WebFrameClient::didReceiveResponse):
17178         (WebKit::WebFrameClient::didFinishResourceLoad):
17179         (WebKit::WebFrameClient::didFailResourceLoad):
17180         (WebKit::WebFrameClient::didLoadResourceFromMemoryCache):
17181         (WebKit::WebFrameClient::didDisplayInsecureContent):
17182         (WebKit::WebFrameClient::didRunInsecureContent):
17183         (WebKit::WebFrameClient::allowScript):
17184         (WebKit::WebFrameClient::didExhaustMemoryAvailableForScript):
17185         (WebKit::WebFrameClient::didCreateScriptContext):
17186         (WebKit::WebFrameClient::didDestroyScriptContext):
17187         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
17188         (WebKit::WebFrameClient::didChangeContentsSize):
17189         (WebKit::WebFrameClient::didChangeScrollOffset):
17190         (WebKit::WebFrameClient::reportFindInPageMatchCount):
17191         (WebKit::WebFrameClient::reportFindInPageSelection):
17192         (WebKit::WebFrameClient::~WebFrameClient):
17193
17194 2009-11-09  Nate Chapin  <japhet@chromium.org>
17195
17196         Reviewed by Dimitri Glazkov.
17197
17198         Upstream WebDevTools*.h and WebDrag*.h Chromium API headers.
17199
17200         https://bugs.webkit.org/show_bug.cgi?id=28394
17201
17202         * public/WebDevToolsAgent.h: Added.
17203         (WebKit::WebDevToolsAgent::~WebDevToolsAgent):
17204         * public/WebDevToolsAgentClient.h: Added.
17205         (WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient):
17206         * public/WebDevToolsFrontend.h: Added.
17207         (WebKit::WebDevToolsFrontend::~WebDevToolsFrontend):
17208         * public/WebDevToolsFrontendClient.h: Added.
17209         (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient):
17210         (WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient):
17211         * public/WebDragData.h: Added.
17212         (WebKit::WebDragData::~WebDragData):
17213         (WebKit::WebDragData::WebDragData):
17214         (WebKit::WebDragData::operator=):
17215         (WebKit::WebDragData::isNull):
17216         * public/WebDragOperation.h: Added.
17217         (WebKit::):
17218
17219 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
17220
17221         Reviewed by Dimitri Glazkov.
17222
17223         Upstreaming the Chromium WebKit API: WebURL and friends.
17224
17225         https://bugs.webkit.org/show_bug.cgi?id=28394
17226
17227         * public/WebURL.h: Added.
17228         (WebKit::WebURL::~WebURL):
17229         (WebKit::WebURL::WebURL):
17230         (WebKit::WebURL::operator=):
17231         (WebKit::WebURL::assign):
17232         (WebKit::WebURL::spec):
17233         (WebKit::WebURL::parsed):
17234         (WebKit::WebURL::isValid):
17235         (WebKit::WebURL::isEmpty):
17236         (WebKit::WebURL::isNull):
17237         (WebKit::WebURL::operator GURL):
17238         * public/WebURLError.h: Added.
17239         (WebKit::WebURLError::WebURLError):
17240         * public/WebURLLoader.h: Added.
17241         (WebKit::WebURLLoader::~WebURLLoader):
17242         * public/WebURLLoaderClient.h: Added.
17243         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
17244         * public/WebURLRequest.h: Added.
17245         (WebKit::WebURLRequest::):
17246         (WebKit::WebURLRequest::~WebURLRequest):
17247         (WebKit::WebURLRequest::WebURLRequest):
17248         (WebKit::WebURLRequest::operator=):
17249         * public/WebURLResponse.h: Added.
17250         (WebKit::WebURLResponse::~WebURLResponse):
17251         (WebKit::WebURLResponse::WebURLResponse):
17252         (WebKit::WebURLResponse::operator=):
17253
17254 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
17255
17256         Reviewed by Dimitri Glazkov.
17257
17258         Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient
17259
17260         https://bugs.webkit.org/show_bug.cgi?id=28394
17261
17262         * public/WebVector.h: Added.
17263         (WebKit::WebVector::~WebVector):
17264         (WebKit::WebVector::WebVector):
17265         (WebKit::WebVector::operator=):
17266         (WebKit::WebVector::assign):
17267         (WebKit::WebVector::size):
17268         (WebKit::WebVector::isEmpty):
17269         (WebKit::WebVector::operator[]):
17270         (WebKit::WebVector::data):
17271         (WebKit::WebVector::swap):
17272         (WebKit::WebVector::initialize):
17273         (WebKit::WebVector::initializeFrom):
17274         (WebKit::WebVector::destroy):
17275         * public/WebView.h: Added.
17276         (WebKit::WebView::~WebView):
17277         * public/WebViewClient.h: Added.
17278         (WebKit::WebViewClient::createView):
17279         (WebKit::WebViewClient::createPopupMenu):
17280         (WebKit::WebViewClient::didAddMessageToConsole):
17281         (WebKit::WebViewClient::printPage):
17282         (WebKit::WebViewClient::notificationPresenter):
17283         (WebKit::WebViewClient::didStartLoading):
17284         (WebKit::WebViewClient::didStopLoading):
17285         (WebKit::WebViewClient::shouldBeginEditing):
17286         (WebKit::WebViewClient::shouldEndEditing):
17287         (WebKit::WebViewClient::shouldInsertNode):
17288         (WebKit::WebViewClient::shouldInsertText):
17289         (WebKit::WebViewClient::shouldChangeSelectedRange):
17290         (WebKit::WebViewClient::shouldDeleteRange):
17291         (WebKit::WebViewClient::shouldApplyStyle):
17292         (WebKit::WebViewClient::isSmartInsertDeleteEnabled):
17293         (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled):
17294         (WebKit::WebViewClient::setInputMethodEnabled):
17295         (WebKit::WebViewClient::didBeginEditing):
17296         (WebKit::WebViewClient::didChangeSelection):
17297         (WebKit::WebViewClient::didChangeContents):
17298         (WebKit::WebViewClient::didExecuteCommand):
17299         (WebKit::WebViewClient::didEndEditing):
17300         (WebKit::WebViewClient::handleCurrentKeyboardEvent):
17301         (WebKit::WebViewClient::spellCheck):
17302         (WebKit::WebViewClient::autoCorrectWord):
17303         (WebKit::WebViewClient::showSpellingUI):
17304         (WebKit::WebViewClient::isShowingSpellingUI):
17305         (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord):
17306         (WebKit::WebViewClient::runFileChooser):
17307         (WebKit::WebViewClient::runModalAlertDialog):
17308         (WebKit::WebViewClient::runModalConfirmDialog):
17309         (WebKit::WebViewClient::runModalPromptDialog):
17310         (WebKit::WebViewClient::runModalBeforeUnloadDialog):
17311         (WebKit::WebViewClient::setStatusText):
17312         (WebKit::WebViewClient::setMouseOverURL):
17313         (WebKit::WebViewClient::setKeyboardFocusURL):
17314         (WebKit::WebViewClient::setToolTipText):
17315         (WebKit::WebViewClient::showContextMenu):
17316         (WebKit::WebViewClient::startDragging):
17317         (WebKit::WebViewClient::acceptsLoadDrops):
17318         (WebKit::WebViewClient::focusNext):
17319         (WebKit::WebViewClient::focusPrevious):
17320         (WebKit::WebViewClient::navigateBackForwardSoon):
17321         (WebKit::WebViewClient::historyBackListCount):
17322         (WebKit::WebViewClient::historyForwardListCount):
17323         (WebKit::WebViewClient::didAddHistoryItem):
17324         (WebKit::WebViewClient::focusAccessibilityObject):
17325         (WebKit::WebViewClient::didUpdateInspectorSettings):
17326         (WebKit::WebViewClient::queryAutofillSuggestions):
17327         (WebKit::WebViewClient::removeAutofillSuggestions):
17328         (WebKit::WebViewClient::~WebViewClient):
17329         * public/WebWidget.h: Added.
17330         (WebKit::WebWidget::~WebWidget):
17331         * public/WebWidgetClient.h: Added.
17332         (WebKit::WebWidgetClient::didInvalidateRect):
17333         (WebKit::WebWidgetClient::didScrollRect):
17334         (WebKit::WebWidgetClient::didFocus):
17335         (WebKit::WebWidgetClient::didBlur):
17336         (WebKit::WebWidgetClient::didChangeCursor):
17337         (WebKit::WebWidgetClient::closeWidgetSoon):
17338         (WebKit::WebWidgetClient::show):
17339         (WebKit::WebWidgetClient::runModal):
17340         (WebKit::WebWidgetClient::windowRect):
17341         (WebKit::WebWidgetClient::setWindowRect):
17342         (WebKit::WebWidgetClient::windowResizerRect):
17343         (WebKit::WebWidgetClient::rootWindowRect):
17344         (WebKit::WebWidgetClient::screenInfo):
17345         (WebKit::WebWidgetClient::~WebWidgetClient):
17346         * public/WebWorker.h: Added.
17347         (WebKit::WebWorker::~WebWorker):
17348         * public/WebWorkerClient.h: Added.
17349         (WebKit::WebWorkerClient::~WebWorkerClient):
17350
17351 2009-11-09  Nate Chapin  <japhet@chromium.org>
17352
17353         Reviewed by Dimitri Glazkov.
17354
17355         Upstream WebData*.h Chromium API files.
17356
17357         https://bugs.webkit.org/show_bug.cgi?id=28394
17358
17359         * public/WebData.h: Added.
17360         (WebKit::WebData::~WebData):
17361         (WebKit::WebData::WebData):
17362         (WebKit::WebData::operator=):
17363         (WebKit::WebData::isEmpty):
17364         (WebKit::WebData::isNull):
17365         * public/WebDataSource.h: Added.
17366         (WebKit::WebDataSource::ExtraData::~ExtraData):
17367         (WebKit::WebDataSource::~WebDataSource):
17368         * public/WebDatabase.h: Added.
17369         (WebKit::WebDatabase::WebDatabase):
17370         (WebKit::WebDatabase::~WebDatabase):
17371         (WebKit::WebDatabase::operator=):
17372         (WebKit::WebDatabase::isNull):
17373         * public/WebDatabaseObserver.h: Added.
17374         (WebKit::WebDatabaseObserver::~WebDatabaseObserver):
17375
17376 2009-11-09  Nate Chapin  <japhet@chromium.org>
17377
17378         Reviewed by Dimitri Glazkov.
17379
17380         Upstream the last of the Chromium API WebC*.h files.
17381
17382         https://bugs.webkit.org/show_bug.cgi?id=28394
17383
17384         * public/WebConsoleMessage.h: Added.
17385         (WebKit::WebConsoleMessage::):
17386         (WebKit::WebConsoleMessage::WebConsoleMessage):
17387         * public/WebContextMenuData.h: Added.
17388         (WebKit::WebContextMenuData::):
17389         * public/WebCookie.h: Added.
17390         (WebKit::WebCookie::WebCookie):
17391         * public/WebCrossOriginPreflightResultCache.h: Added.
17392         * public/WebCursorInfo.h: Added.
17393         (WebKit::WebCursorInfo::):
17394         (WebKit::WebCursorInfo::WebCursorInfo):
17395
17396 2009-11-09  Nate Chapin  <japhet@chromium.org>
17397
17398         Reviewed by Dimitri Glazkov.
17399
17400         More WebC*.h upstreaming.
17401
17402         https://bugs.webkit.org/show_bug.cgi?id=28394
17403
17404         * public/WebCString.h: Added.
17405         (WebKit::WebCString::~WebCString):
17406         (WebKit::WebCString::WebCString):
17407         (WebKit::WebCString::operator=):
17408         (WebKit::WebCString::isEmpty):
17409         (WebKit::WebCString::isNull):
17410         (WebKit::WebCString::operator std::string):
17411         (WebKit::WebCString::fromUTF16):
17412         * public/WebColorName.h: Added.
17413         (WebKit::):
17414         * public/WebCommon.h: Added.
17415         * public/WebCommonWorkerClient.h: Added.
17416         (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
17417         * public/WebCompositionCommand.h: Added.
17418         (WebKit::):
17419
17420 2009-11-09  Yaar Schnitman  <yaar@chromium.org>
17421
17422         Reviewed by Dimitri Glazkov.
17423
17424         Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes
17425
17426         https://bugs.webkit.org/show_bug.cgi?id=28394
17427
17428         * public/WebElement.h: Added.
17429         (WebKit::WebElement::WebElement):
17430         (WebKit::WebElement::operator=):
17431         (WebKit::WebElement::assign):
17432         * public/WebFormElement.h: Added.
17433         (WebKit::WebFormElement::~WebFormElement):
17434         (WebKit::WebFormElement::WebFormElement):
17435         (WebKit::WebFormElement::operator=):
17436         (WebKit::WebFormElement::assign):
17437         * public/WebInputElement.h: Added.
17438         (WebKit::WebInputElement::WebInputElement):
17439         (WebKit::WebInputElement::operator=):
17440         (WebKit::WebInputElement::assign):
17441         * public/WebNode.h: Added.
17442         (WebKit::WebNode::~WebNode):
17443         (WebKit::WebNode::WebNode):
17444         (WebKit::WebNode::operator=):
17445         (WebKit::WebNode::isNull):
17446         (WebKit::WebNode::toElement):
17447         (WebKit::WebNode::unwrap):
17448         (WebKit::WebNode::constUnwrap):
17449
17450 2009-11-09  Nate Chapin  <japhet@chromium.org>
17451
17452         Reviewed by Dimitri Glazkov.
17453
17454         WebKit Chromium API upstreaming, WebBindings.h through WebColor.h.
17455
17456         * public/WebBindings.h: Added.
17457         * public/WebCache.h: Added.
17458         * public/WebCanvas.h: Added.
17459         * public/WebClipboard.h: Added.
17460         (WebKit::WebClipboard::):
17461         (WebKit::WebClipboard::~WebClipboard):
17462         * public/WebColor.h: Added.
17463
17464 2009-11-09  Nate Chapin  <japhet@chromium.org>
17465
17466         Reviewed by Dimitri Glazkov.
17467
17468         Starting upstreaming the Chromium WebKit API.  public/ contains header files only.
17469
17470         https://bugs.webkit.org/show_bug.cgi?id=28394
17471
17472         * ChangeLog: First!!
17473         * public: Added.
17474         * public/WebAccessibilityCache.h: Added.
17475         (WebKit::WebAccessibilityCache::WebAccessibilityCache):
17476         (WebKit::WebAccessibilityCache::~WebAccessibilityCache):
17477         * public/WebAccessibilityObject.h: Added.
17478         (WebKit::WebAccessibilityObject::~WebAccessibilityObject):
17479         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
17480         (WebKit::WebAccessibilityObject::operator=):
17481         (WebKit::WebAccessibilityObject::isNull):
17482         * public/WebAccessibilityRole.h: Added.
17483         (WebKit::):
17484         * public/WebApplicationCacheHost.h: Added.
17485         (WebKit::WebApplicationCacheHost::):
17486         (WebKit::WebApplicationCacheHost::~WebApplicationCacheHost):
17487         * public/WebApplicationCacheHostClient.h: Added.
17488         (WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient):