Remove some dead Autofill code
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-08-24  Ilya Sherman  <isherman@chromium.org>
2
3         Remove some dead Autofill code
4         https://bugs.webkit.org/show_bug.cgi?id=66899
5         http://code.google.com/p/chromium/issues/detail?id=51644
6
7         Reviewed by James Robinson.
8
9         * WebKit.gyp:
10         * public/WebAutofillClient.h:
11         * public/WebFrame.h:
12         * public/WebPasswordAutocompleteListener.h: Removed.
13         * src/EditorClientImpl.cpp:
14         (WebKit::EditorClientImpl::EditorClientImpl):
15         (WebKit::EditorClientImpl::handleKeyboardEvent):
16         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
17         (WebKit::EditorClientImpl::textFieldDidEndEditing):
18         (WebKit::EditorClientImpl::textDidChangeInTextField):
19         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
20         * src/EditorClientImpl.h:
21         * src/FrameLoaderClientImpl.cpp:
22         (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
23         * src/WebFrameImpl.cpp:
24         (WebKit::frameContentAsPlainText):
25         (WebKit::WebFrameImpl::scopeStringMatches):
26         (WebKit::WebFrameImpl::~WebFrameImpl):
27         * src/WebFrameImpl.h:
28         * src/WebViewImpl.cpp:
29         (WebKit::WebViewImpl::mouseDown):
30
31 2011-08-24  Tom Sepez  <tsepez@chromium.org>
32
33         chromium WebFrameImpl - don't load javascript URLs against chrome internal pages.
34         https://bugs.webkit.org/show_bug.cgi?id=66720
35
36         Reviewed by Adam Barth.
37
38         * public/WebSecurityPolicy.h:
39         * src/WebFrameImpl.cpp:
40         (WebKit::WebFrameImpl::loadJavaScriptURL):
41         * src/WebSecurityPolicy.cpp:
42         (WebKit::WebSecurityPolicy::registerURLSchemeAsNotAllowingJavascriptURLs):
43         * tests/WebFrameTest.cpp:
44         (WebKit::WebFrameTest::WebFrameTest):
45         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
46         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
47         (WebKit::WebFrameTest::serveRequests):
48         (WebKit::WebFrameTest::loadHttpFrame):
49         (WebKit::WebFrameTest::loadChromeFrame):
50         (WebKit::WebFrameTest::registerMockedURLLoad):
51         (WebKit::WebFrameTest::loadFrame):
52         (WebKit::TEST_F):
53         * tests/data/history.html: Added.
54
55 2011-08-24  Jeremy Apthorp  <jeremya@google.com>
56
57         Expose fullscreen API on WebElement/WebDocument
58         https://bugs.webkit.org/show_bug.cgi?id=66746
59
60         Reviewed by Darin Fisher.
61
62         * public/WebPluginContainer.h:
63         * src/WebPluginContainerImpl.cpp:
64         (WebKit::WebPluginContainerImpl::setFullscreen):
65         * src/WebPluginContainerImpl.h:
66
67 2011-08-24  Brian Salomon  <bsalomon@google.com>
68
69         [SKIA] Allow WebKitGraphicsContext3D implementation to provide a compatible GrGLInterface
70         https://bugs.webkit.org/show_bug.cgi?id=66809
71
72         Reviewed by Stephen White.
73
74         * public/WebGraphicsContext3D.h:
75         (WebKit::WebGraphicsContext3D::grGLInterface):
76         * src/GraphicsContext3DChromium.cpp:
77         (WebCore::GraphicsContext3DInternal::grContext):
78
79 2011-08-23  Adam Barth  <abarth@webkit.org>
80
81         WebSearchableFormData crashes when given a detached HTMLFormElement
82         https://bugs.webkit.org/show_bug.cgi?id=66831
83
84         Reviewed by Dimitri Glazkov.
85
86         We need to null-check the Frame.
87
88         * src/WebSearchableFormData.cpp:
89         (HTMLNames::GetFormEncoding):
90         * tests/WebFrameTest.cpp:
91         (WebKit::TEST_F):
92         * tests/data/form.html: Added.
93
94 2011-08-23  Iain Merrick  <husky@google.com>
95
96         [chromium] Make WebGL context current before querying for extensions
97         https://bugs.webkit.org/show_bug.cgi?id=66788
98
99         We're making changes on the Chromium side for threaded compositing that
100         will require makeContextCurrent to be called on the appropriate thread
101         before any other GL calls.
102
103         In line with other GraphicsContext3D implementations, we do this
104         implicitly. This is the minimum change that makes WebGL compliant.
105
106         Reviewed by Kenneth Russell.
107
108         * src/GraphicsContext3DChromium.cpp:
109         (WebCore::GraphicsContext3DInternal::initializeExtensions):
110
111 2011-08-23  Scott Byer  <scottbyer@chromium.org>
112
113         ScrollAnimatorNone coasting implementation
114         https://bugs.webkit.org/show_bug.cgi?id=66258
115
116         Reviewed by James Robinson.
117
118         * tests/ScrollAnimatorNoneTest.cpp:
119         (MockScrollableArea::visibleHeight):
120         (MockScrollableArea::visibleWidth):
121         (ScrollAnimatorNoneTest::SavePerAxisData::SavePerAxisData):
122         (ScrollAnimatorNoneTest::SavePerAxisData::operator==):
123         (ScrollAnimatorNoneTest::SetUp):
124         (ScrollAnimatorNoneTest::updateDataFromParameters):
125         (ScrollAnimatorNoneTest::animateScroll):
126         (ScrollAnimatorNoneTest::attackArea):
127         (ScrollAnimatorNoneTest::releaseArea):
128         (ScrollAnimatorNoneTest::coastCurve):
129         (ScrollAnimatorNoneTest::curveTestInner):
130         (TEST_F):
131
132 2011-08-23  James Robinson  <jamesr@chromium.org>
133
134         [chromium] Need a way to test lost compositor context recovery
135         https://bugs.webkit.org/show_bug.cgi?id=66820
136
137         Reviewed by Kenneth Russell.
138
139         Adds a testing-only API to simulate a lost compositor context.
140
141         * public/WebView.h:
142         * src/WebViewImpl.cpp:
143         (WebKit::WebViewImpl::loseCompositorContext):
144         * src/WebViewImpl.h:
145
146 2011-08-23  Nat Duca  <nduca@chromium.org>
147
148         [chromium] Implement CCThread in terms of WebThread
149         https://bugs.webkit.org/show_bug.cgi?id=66610
150
151         Reviewed by Darin Fisher.
152
153         * WebKit.gyp:
154         * public/WebThread.h:
155         (WebKit::WebThread::~WebThread):
156         * src/CCThreadImpl.cpp: Added.
157         (WebKit::GetThreadIDTask::GetThreadIDTask):
158         (WebKit::GetThreadIDTask::~GetThreadIDTask):
159         (WebKit::GetThreadIDTask::run):
160         (WebKit::CCThreadTaskAdapter::CCThreadTaskAdapter):
161         (WebKit::CCThreadTaskAdapter::~CCThreadTaskAdapter):
162         (WebKit::CCThreadTaskAdapter::run):
163         (WebKit::CCThreadImpl::create):
164         (WebKit::CCThreadImpl::~CCThreadImpl):
165         (WebKit::CCThreadImpl::postTask):
166         (WebKit::CCThreadImpl::threadID):
167         (WebKit::CCThreadImpl::CCThreadImpl):
168         * src/CCThreadImpl.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCThread.cpp.
169         * src/WebViewImpl.cpp:
170         (WebKit::WebViewImpl::createCompositorThread):
171         * src/WebViewImpl.h:
172         * tests/CCThreadTest.cpp:
173
174 2011-08-23  Iain Merrick  <husky@google.com>
175
176         [chromium] Renderer crashes when about:gpucrash is loaded
177         https://bugs.webkit.org/show_bug.cgi?id=66814
178
179         WebViewImpl::didRecreateGraphicsContext() was calling
180         setRootLayer() on the CC layer tree, but the root layer
181         doesn't actually change and the code wasn't defensive
182         against this. This CL adds some asserts to catch tree
183         corruption and removes the unnecessary calls.
184
185         Reviewed by James Robinson.
186
187         * src/WebViewImpl.cpp:
188         (WebKit::WebViewImpl::didRecreateGraphicsContext):
189
190 2011-08-23  Dmitry Lomov  <Dmitry Lomov (dslomov@google.com)>
191
192         https://bugs.webkit.org/show_bug.cgi?id=66751 
193         [Chromium]WebWorkerClientImpl should always invoke
194         InspectorIntrumentation on main thread.
195         The fix moves calls to InspectorInstrumentation from
196         WebWorkerClientImpl to unedrlying WorkerMessagingProxy.
197
198         Reviewed by Pavel Feldman.
199
200         * src/WebWorkerClientImpl.cpp:
201         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
202         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
203
204 2011-08-23  Adam Klein  <adamk@chromium.org>
205
206         [chromium] Remove a few FIXME #defines in API headers
207         https://bugs.webkit.org/show_bug.cgi?id=66791
208
209         Reviewed by James Robinson.
210
211         * DEPS:
212         Roll chromium_rev to r97891.
213         * public/WebFileSystem.h:
214         #define made obsolete in http://crrev.com/97520.
215         * public/WebKitClient.h:
216         #define made obsolete in http://crrev.com/97524 and
217         http://crrev.com/97891.
218
219
220 2011-08-23  Al Patrick  <apatrick@chromium.org>
221
222         Add shareResources flag to 3D graphics context attributes
223         https://bugs.webkit.org/show_bug.cgi?id=66516
224
225         Reviewed by James Robinson.
226
227         * public/WebGraphicsContext3D.h:
228         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
229         * src/GraphicsContext3DChromium.cpp:
230         (WebCore::GraphicsContext3DInternal::initialize):
231         * src/WebViewImpl.cpp:
232         (std::getCompositorContextAttributes):
233
234 2011-08-23  Fady Samuel  <fsamuel@chromium.org>
235
236         New MainFrame views should inherit fixed layout settings from existing MainFrame view in Chromium.
237         https://bugs.webkit.org/show_bug.cgi?id=66780
238
239         Fixed layout mode is set from WebViewImpl, but new main FrameViews are created on loading new pages. The new page's FrameView should get its
240         fixed layout settings from the current page.
241
242         Reviewed by Darin Fisher.
243
244         * src/WebFrameImpl.cpp:
245         (WebKit::WebFrameImpl::createFrameView):
246
247 2011-08-23  Matt Falkenhagen  <falken@chromium.org>
248
249         [chromium] Update WebSettings to support per-script font settings
250         https://bugs.webkit.org/show_bug.cgi?id=66220
251
252         Reviewed by Tony Chang.
253
254         * WebKit.gyp:
255         * public/WebSettings.h:
256         * src/WebSettingsImpl.cpp:
257         (WebKit::WebSettingsImpl::setStandardFontFamily):
258         (WebKit::WebSettingsImpl::setFixedFontFamily):
259         (WebKit::WebSettingsImpl::setSerifFontFamily):
260         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
261         (WebKit::WebSettingsImpl::setCursiveFontFamily):
262         (WebKit::WebSettingsImpl::setFantasyFontFamily):
263         * src/WebSettingsImpl.h:
264
265 2011-08-23  Nat Duca  <nduca@chromium.org>
266
267         Unreviewd, roll chromium reverse DEPS 97698:97834
268         https://bugs.webkit.org/show_bug.cgi?id=66781
269
270         * DEPS:
271
272 2011-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
273
274         Unreviewed, rolling out r93575.
275         http://trac.webkit.org/changeset/93575
276         https://bugs.webkit.org/show_bug.cgi?id=66744
277
278         Does not compile on chromium canaries (Requested by jamesr on
279         #webkit).
280
281         * public/WebSettings.h:
282         * src/WebSettingsImpl.cpp:
283         (WebKit::WebSettingsImpl::setStandardFontFamily):
284         (WebKit::WebSettingsImpl::setFixedFontFamily):
285         (WebKit::WebSettingsImpl::setSerifFontFamily):
286         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
287         (WebKit::WebSettingsImpl::setCursiveFontFamily):
288         (WebKit::WebSettingsImpl::setFantasyFontFamily):
289         * src/WebSettingsImpl.h:
290
291 2011-08-22  Matt Falkenhagen  <falken@chromium.org>
292
293         [chromium] Update WebSettings to support per-script font settings
294         https://bugs.webkit.org/show_bug.cgi?id=66220
295
296         Reviewed by Tony Chang.
297
298         * public/WebSettings.h:
299         * src/WebSettingsImpl.cpp:
300         (WebKit::WebSettingsImpl::setStandardFontFamily):
301         (WebKit::WebSettingsImpl::setFixedFontFamily):
302         (WebKit::WebSettingsImpl::setSerifFontFamily):
303         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
304         (WebKit::WebSettingsImpl::setCursiveFontFamily):
305         (WebKit::WebSettingsImpl::setFantasyFontFamily):
306         * src/WebSettingsImpl.h:
307
308 2011-08-22  Iain Merrick  <husky@google.com>
309
310         [chromium] WebViewImpl should not reshape the 3D context
311         https://bugs.webkit.org/show_bug.cgi?id=66704
312
313         Reviewed by James Robinson.
314
315         * src/WebViewImpl.cpp:
316         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
317         (WebKit::WebViewImpl::graphicsContext3D):
318
319 2011-08-22  Nat Duca  <nduca@chromium.org>
320
321         Make GraphicsContext3D::isResourceSafe a function and, on Chromium, determine its value lazily
322         https://bugs.webkit.org/show_bug.cgi?id=66708
323
324         Reviewed by Kenneth Russell.
325
326         * src/GraphicsContext3DChromium.cpp:
327         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
328         (WebCore::GraphicsContext3DInternal::isResourceSafe):
329         (WebCore::GraphicsContext3D::create):
330         (WebCore::GraphicsContext3D::isResourceSafe):
331         * src/GraphicsContext3DInternal.h:
332
333 2011-08-22  Adam Klein  <adamk@chromium.org>
334
335         [chromium] Remove deprecated and unused bits of WebIDB* headers
336         https://bugs.webkit.org/show_bug.cgi?id=66711
337
338         Reviewed by Tony Chang.
339
340         The Chromium side of this patch was submitted as
341         http://crrev.com/97687.
342
343         * public/WebIDBCallbacks.h:
344         * public/WebIDBCursor.h:
345         (WebKit::WebIDBCursor::primaryKey):
346         (WebKit::WebIDBCursor::value):
347         (WebKit::WebIDBCursor::deleteFunction):
348         * public/WebIDBDatabase.h:
349         (WebKit::WebIDBDatabase::transaction):
350
351 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
352
353         Remove third_party/leveldb, because it's no longer used and doesn't exist downstream.
354
355         * DEPS: Done it.
356
357 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
358
359         Roll Chromium DEPS to 97698.
360
361         * DEPS: Rolled.
362
363 2011-08-22  Justin Novosad  <junov@chromium.org>
364
365         [Chromium] Crash when allocation of very large canvas fails
366         https://bugs.webkit.org/show_bug.cgi?id=66563
367
368         Reviewed by Stephen White.
369
370         * DEPS:
371         Bumping up the chrome DEPS to pick up 97474, which is
372         required by this patch.
373
374 2011-08-20  Nebojsa Ciric  <cira@chromium.org>
375
376         Add dependency on v8-i18n library. We used v8 repository before.
377         Chromium DEPS change was already submited (http://codereview.chromium.org/7583050).
378         https://bugs.webkit.org/show_bug.cgi?id=66573
379
380         Reviewed by Kent Tamura.
381
382         * DEPS:
383
384 2011-08-19  Adam Klein  <adamk@chromium.org>
385
386         [chromium] Remove various unreferenced bits from Chromium API headers
387         https://bugs.webkit.org/show_bug.cgi?id=66575
388
389         Reviewed by Tony Chang.
390
391         * public/WebApplicationCacheHost.h:
392         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
393         * public/WebFrame.h:
394         * public/WebFrameClient.h:
395         (WebKit::WebFrameClient::didReceiveTitle):
396         * public/WebVideoFrame.h:
397
398 2011-08-19  Fady Samuel  <fsamuel@chromium.org>
399
400         Expose Fixed Layout Size mode to Chromium's WebKit API
401         https://bugs.webkit.org/show_bug.cgi?id=66568
402
403         Reviewed by Darin Fisher.
404
405         * public/WebView.h:
406         * src/WebViewImpl.cpp:
407         (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
408         (WebKit::WebViewImpl::enableFixedLayoutMode):
409         (WebKit::WebViewImpl::fixedLayoutSize):
410         (WebKit::WebViewImpl::setFixedLayoutSize):
411         * src/WebViewImpl.h:
412
413 2011-08-17  Adrienne Walker  <enne@google.com>
414
415         [chromium] Split tiler into main thread / compositor thread versions
416         https://bugs.webkit.org/show_bug.cgi?id=66065
417
418         Reviewed by James Robinson.
419
420         Add a test for assignment and copy constructor for TilingData.
421
422         * tests/TilingDataTest.cpp:
423         (WebCore::TEST):
424
425 2011-08-19  Andrey Kosyakov  <caseq@chromium.org>
426
427         Web Inspector: [Extensions API][chromium] webInspector.resources deprecation warning is given even for extensions that don't use webInspector.resources
428         https://bugs.webkit.org/show_bug.cgi?id=66553
429
430         Reviewed by Pavel Feldman.
431
432         * src/js/DevTools.js:
433         (WebInspector.platformExtensionAPI):
434
435 2011-08-18  James Kozianski  <koz@chromium.org>
436
437         Chromium plumbing for webkitRequestFullScreen
438         https://bugs.webkit.org/show_bug.cgi?id=66031
439
440         Reviewed by Darin Fisher.
441
442         * public/WebView.h:
443         * public/WebViewClient.h:
444         (WebKit::WebViewClient::enterFullscreenForElement):
445         (WebKit::WebViewClient::exitFullscreenForElement):
446         * src/ChromeClientImpl.cpp:
447         (WebKit::ChromeClientImpl::enterFullScreenForElement):
448         (WebKit::ChromeClientImpl::exitFullScreenForElement):
449         * src/WebViewImpl.cpp:
450         (WebKit::WebViewImpl::exitFullscreen):
451         * src/WebViewImpl.h:
452
453 2011-08-18  Chris Rogers  <crogers@google.com>
454
455         Implement WebMediaPlayerClientImpl::audioSourceProvider() and interface into chromium
456         https://bugs.webkit.org/show_bug.cgi?id=66441
457
458         Reviewed by Darin Fisher.
459
460         * public/WebAudioSourceProvider.h: Added.
461         (WebKit::WebAudioSourceProvider::~WebAudioSourceProvider):
462         * public/WebMediaPlayer.h:
463         (WebKit::WebMediaPlayer::audioSourceProvider):
464         * src/WebMediaPlayerClientImpl.cpp:
465         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
466         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
467         * src/WebMediaPlayerClientImpl.h:
468         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::AudioSourceProviderImpl):
469         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::~AudioSourceProviderImpl):
470         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::initialize):
471
472 2011-08-18  Sailesh Agrawal  <sail@chromium.org>
473
474         Chromium Mac: Show scrollbar when doing search
475         https://bugs.webkit.org/show_bug.cgi?id=66209
476
477         Reviewed by James Robinson.
478
479         Fixed a bug in invalidateArea where it wouldn't properly invalidate overlay scrollbars. The problem was that it was assuming that the scrollbar was always to the right of the visible scrollbar. This isn't true for overlay scrollbars.
480
481         No tests because there are no Mac 10.7 chromium bots yet.
482
483         * src/WebFrameImpl.cpp:
484         (WebKit::WebFrameImpl::invalidateArea):
485
486 2011-08-18  James Robinson  <jamesr@chromium.org>
487
488         [chromium] Draw the root/"non-composited content" in compositor side
489         https://bugs.webkit.org/show_bug.cgi?id=58834
490
491         Reviewed by Kenneth Russell.
492
493         * src/WebViewImpl.cpp:
494         (WebKit::WebViewImpl::paint):
495         (WebKit::WebViewImpl::setRootGraphicsLayer):
496         (WebKit::WebViewImpl::didRecreateGraphicsContext):
497         (WebKit::WebViewImpl::updateLayerTreeViewport):
498         * src/WebViewImpl.h:
499
500 2011-08-18  Sadrul Habib Chowdhury  <sadrul@chromium.org>
501
502         GestureRecognizer: Update how gesture-scroll works.
503
504         Add a unit-test to make sure the correct gesture events are being
505         generated.
506         https://bugs.webkit.org/show_bug.cgi?id=66267
507
508         Reviewed by Adam Barth.
509
510         * tests/InnerGestureRecognizerTest.cpp:
511         (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
512         (WebCore::BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
513         (WebCore::TEST_F):
514
515 2011-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
516
517         Unreviewed, rolling out r93329.
518         http://trac.webkit.org/changeset/93329
519         https://bugs.webkit.org/show_bug.cgi?id=66497
520
521         Turned text on chromium win blue (Requested by jamesr_ on
522         #webkit).
523
524         * src/WebViewImpl.cpp:
525         (WebKit::WebViewImpl::paint):
526         (WebKit::WebViewImpl::setRootGraphicsLayer):
527         (WebKit::WebViewImpl::setRootPlatformLayer):
528         (WebKit::WebViewImpl::didRecreateGraphicsContext):
529         (WebKit::WebViewImpl::updateLayerTreeViewport):
530         * src/WebViewImpl.h:
531
532 2011-08-18  Dominic Mazzoni  <dmazzoni@google.com>
533
534         Add a bunch of accessors to WebAccessibilityObject to expose more of
535         AccessibilityObject to Chromium, including range control values,
536         document load state, live region attributes, and a few other
537         ARIA attributes.
538
539         https://bugs.webkit.org/show_bug.cgi?id=66411
540
541         Reviewed by Dimitri Glazkov.
542
543         * public/WebAccessibilityObject.h:
544         * src/WebAccessibilityObject.cpp:
545         (WebKit::WebAccessibilityObject::isAriaReadOnly):
546         (WebKit::WebAccessibilityObject::isButtonStateMixed):
547         (WebKit::WebAccessibilityObject::isControl):
548         (WebKit::WebAccessibilityObject::isFocused):
549         (WebKit::WebAccessibilityObject::isLoaded):
550         (WebKit::WebAccessibilityObject::isRequired):
551         (WebKit::WebAccessibilityObject::isVertical):
552         (WebKit::WebAccessibilityObject::accessKey):
553         (WebKit::WebAccessibilityObject::ariaHasPopup):
554         (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
555         (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
556         (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
557         (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
558         (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
559         (WebKit::WebAccessibilityObject::hierarchicalLevel):
560         (WebKit::WebAccessibilityObject::valueDescription):
561         (WebKit::WebAccessibilityObject::valueForRange):
562         (WebKit::WebAccessibilityObject::maxValueForRange):
563         (WebKit::WebAccessibilityObject::minValueForRange):
564
565 2011-08-15  Dmitry Lomov  <dslomov@google.com>
566
567         https://bugs.webkit.org/show_bug.cgi?id=61016
568         [WebWorkers][Chromium] Use v8 Isolates for in-process implementation of WebWorkers.
569         This adds an implementation of in-process dedicated workers to chromium port.
570         The crux of the matter is the reimplementation of WebWorkerClientImpl. WebWorkerClientImpl now 
571         implements all three of Worker{Loader,Context,Object}Proxies and delegates the implementation to 
572         WebKit's standard WorkerMessagingProxy.
573         For now, we have 3 implementations of workers in chromium WebKit:
574           - In-process dedicated workers (this checkin)
575           - Inter-process shared workers
576           - Inter-process dedicated workers (defunct after this checkin)
577         This patch extracts some new common interfaces (NewWebWorkerBase and NewWebWorkerClient) for these 
578         three implementations. 
579         Removing the remainings of inter-process dedicated workers -related classes is left for a separate patch 
580         (it will require coordinated changes on chromuium side).
581
582         Reviewed by David Levin.
583
584         * public/WebCommonWorkerClient.h:
585         * src/DatabaseObserver.cpp:
586         (WebKit::AllowDatabaseMainThreadBridge::create):
587         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
588         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
589         (WebKit::allowDatabaseForWorker):
590         (WebCore::DatabaseObserver::canEstablishDatabase):
591         * src/LocalFileSystemChromium.cpp:
592         (WebCore::openFileSystemHelper):
593         * src/WebSharedWorkerImpl.h:
594         (WebKit::WebSharedWorkerImpl::newCommonClient):
595         * src/WebWorkerBase.h:
596         (WebKit::WebWorkerBase::view):
597         * src/WebWorkerClientImpl.cpp:
598         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
599         (WebKit::WebWorkerClientImpl::startWorkerContext):
600         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
601         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
602         (WebKit::WebWorkerClientImpl::hasPendingActivity):
603         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
604         (WebKit::WebWorkerClientImpl::connectToInspector):
605         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
606         (WebKit::WebWorkerClientImpl::sendMessageToInspector):
607         (WebKit::WebWorkerClientImpl::postMessageToPageInspector):
608         (WebKit::WebWorkerClientImpl::postTaskToLoader):
609         (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
610         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
611         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
612         (WebKit::WebWorkerClientImpl::reportPendingActivity):
613         (WebKit::WebWorkerClientImpl::workerContextClosed):
614         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
615         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
616         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
617         (WebKit::WebWorkerClientImpl::allowFileSystem):
618         (WebKit::WebWorkerClientImpl::openFileSystem):
619         (WebKit::WebWorkerClientImpl::allowDatabase):
620         (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
621         (WebKit::WebWorkerClientImpl::view):
622         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
623         (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
624         * src/WebWorkerClientImpl.h:
625         (WebKit::WebWorkerClientImpl::newCommonClient):
626         * src/WebWorkerImpl.cpp:
627         (WebKit::WebWorkerImpl::newCommonClient):
628         * src/WebWorkerImpl.h:
629         * src/WorkerFileSystemCallbacksBridge.cpp:
630         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
631         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
632         * src/WorkerFileSystemCallbacksBridge.h:
633
634 2011-08-18  James Robinson  <jamesr@chromium.org>
635
636         [chromium] Draw the root/"non-composited content" in compositor side
637         https://bugs.webkit.org/show_bug.cgi?id=58834
638
639         Reviewed by Darin Fisher.
640
641         * src/WebViewImpl.cpp:
642         (WebKit::WebViewImpl::paint):
643         (WebKit::WebViewImpl::setRootGraphicsLayer):
644         (WebKit::WebViewImpl::didRecreateGraphicsContext):
645         (WebKit::WebViewImpl::updateLayerTreeViewport):
646         * src/WebViewImpl.h:
647
648 2011-08-18  Tony Chang  <tony@chromium.org>
649
650         Revert r93294, doesn't compile on Chromium Mac.
651
652         * features.gypi:
653
654 2011-08-17  Adam Roben  <aroben@apple.com>
655
656         Make WebCore keep track of the current device scale factor
657
658         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
659         device scale factor
660
661         Reviewed by Darin Adler.
662
663         * src/ChromeClientImpl.cpp:
664         * src/ChromeClientImpl.h:
665         Removed deviceScaleFactor.
666
667 2011-08-18  Steve Block  <steveblock@google.com>
668
669         Remove a superfluous 'using' from WebBindings.cpp
670         https://bugs.webkit.org/show_bug.cgi?id=66046
671
672         Reviewed by Alexey Proskuryakov.
673
674         * src/WebBindings.cpp:
675
676 2011-08-18  Gavin Peters  <gavinp@chromium.org>
677
678         Prepare frames for history navigation.
679
680         Before beginning an explicit history navigation in a newly initialized
681         frame, it's important to give a "previous" item to avoid crashes, and
682         give a state to the state machine to avoid extra validating loads.
683
684         https://bugs.webkit.org/show_bug.cgi?id=66322
685
686         Reviewed by Darin Fisher.
687
688         * src/WebFrameImpl.cpp:
689         (WebKit::WebFrameImpl::loadHistoryItem):
690
691 2011-08-18  Nico Weber  <thakis@chromium.org>
692
693         [chromium/mac] Enable smooth scrolling
694         https://bugs.webkit.org/show_bug.cgi?id=66418
695
696         Reviewed by Dimitri Glazkov.
697
698         * features.gypi:
699
700 2011-08-17  Scott Byer  <scottbyer@chromium.org>
701
702         ScrollAnimatorNone: Remove unused field
703         https://bugs.webkit.org/show_bug.cgi?id=66312
704
705         Reviewed by Adam Barth.
706
707         * tests/ScrollAnimatorNoneTest.cpp:
708         (ScrollAnimatorNoneTest::updateDataFromParameters):
709         (TEST_F):
710
711 2011-08-16  Chang Shu  <cshu@webkit.org>
712
713         Support reset in WebCore::Internals
714         https://bugs.webkit.org/show_bug.cgi?id=66307
715
716         Reviewed by Dimitri Glazkov.
717
718         Added framework code in WebKit.
719
720         * public/WebTestingSupport.h:
721         * src/WebTestingSupport.cpp:
722         (WebKit::WebTestingSupport::resetInternalsObject):
723
724 2011-08-15  Aaron Boodman  <aa@chromium.org>
725
726         Remove support for old didCreateIsolatedContext() signature
727         https://bugs.webkit.org/show_bug.cgi?id=66249
728
729         Reviewed by Darin Fisher.
730
731         * public/WebFrameClient.h:
732         * src/FrameLoaderClientImpl.cpp:
733         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
734
735 2011-08-17  Aaron Boodman  <aa@chromium.org>
736
737         Remove support for old didCreateIsolatedContext() signature
738         https://bugs.webkit.org/show_bug.cgi?id=66249
739
740         Reviewed by Darin Fisher.
741
742         * public/WebFrameClient.h:
743         * src/FrameLoaderClientImpl.cpp:
744         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
745
746 2011-08-17  David Grogan  <dgrogan@chromium.org>
747
748         Remove onTimeout from WebIDBTransactionCallbacks.h
749         https://bugs.webkit.org/show_bug.cgi?id=66326
750
751         Reviewed by Tony Chang.
752
753         * public/WebIDBTransactionCallbacks.h:
754
755 2011-08-16  Per-Erik Brodin  <per-erik.brodin@ericsson.com>
756
757         Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions
758         https://bugs.webkit.org/show_bug.cgi?id=65694
759
760         Reviewed by Alexey Proskuryakov.
761
762         * src/AssociatedURLLoader.cpp:
763         (WebKit::AssociatedURLLoader::loadAsynchronously):
764
765 2011-08-12  John Abd-El-Malek  <jam@chromium.org>
766
767         [chromium] cleanup after previous webkit change rolled into chrome
768         https://bugs.webkit.org/show_bug.cgi?id=66177
769
770         Reviewed by James Robinson.
771
772         * DEPS:
773         * WebKit.gyp:
774         * public/WebScrollbar.h:
775
776 2011-08-16  Stephen White  <senorblanco@chromium.org>
777
778         GraphicsContext3D should allow its hostWindow to be NULL
779         https://bugs.webkit.org/show_bug.cgi?id=66305
780
781         Allow the hostWindow param (and m_webViewImpl) to be NULL.  This
782         makes it much easier to enable GPU acceleration at a lower level
783         in WebKit's platform/graphics layer, without needing access to the
784         Page* or HostWindow*.  Also bump the chromium DEPS to chrome r96940,
785         which includes a similar change for the in-process GraphicsContext3D
786         implementations.
787
788         Reviewed by James Robinson.
789
790         * DEPS:
791         * src/GraphicsContext3DChromium.cpp:
792         (WebCore::GraphicsContext3DInternal::initialize):
793         (WebCore::GraphicsContext3DInternal::platformTexture):
794         (WebCore::GraphicsContext3DInternal::paintsIntoCanvasBuffer):
795
796 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
797
798         Web Inspector: [Chromium] Add deployment of NetworkPanel .css files to concatenated version
799         https://bugs.webkit.org/show_bug.cgi?id=66316
800
801         Reviewed by Pavel Feldman.
802
803         * WebKit.gyp:
804
805 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
806
807         Web Inspector: [Chromium] Fix 'inspector_resources' target to depend on 'concatenated_heap_snapshot_worker_js'
808         https://bugs.webkit.org/show_bug.cgi?id=66300
809
810         Reviewed by Pavel Feldman.
811
812         * WebKit.gyp:
813
814 2011-08-15  Dmitry Titov  <dimich@chromium.org>
815
816         [Chromium] Add WebFrameClient::didAdoptURLLoader() notification
817         https://bugs.webkit.org/show_bug.cgi?id=66167
818
819         Reviewed by Darin Fisher.
820
821         * public/WebFrameClient.h:
822         (WebKit::WebFrameClient::didAdoptURLLoader):
823         * src/FrameLoaderClientImpl.cpp:
824         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
825         * src/ResourceHandle.cpp:
826         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
827         (WebCore::ResourceHandleInternal::FromResourceHandle):
828         (WebCore::ResourceHandle::ResourceHandle):
829         (WebCore::ResourceHandle::firstRequest):
830         (WebCore::ResourceHandle::client):
831         (WebCore::ResourceHandle::setClient):
832         (WebCore::ResourceHandle::~ResourceHandle):
833         * src/ResourceHandleInternal.h: Added.
834         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
835         (WebCore::ResourceHandleInternal::setOwner):
836         (WebCore::ResourceHandleInternal::request):
837         (WebCore::ResourceHandleInternal::client):
838         (WebCore::ResourceHandleInternal::setClient):
839         (WebCore::ResourceHandleInternal::loader):
840
841 2011-08-15  Dmitry Titov  <dimich@chromium.org>
842
843         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
844         https://bugs.webkit.org/show_bug.cgi?id=66165
845
846         Reviewed by Darin Fisher.
847
848         * src/FrameLoaderClientImpl.cpp:
849         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
850         * src/FrameLoaderClientImpl.h:
851
852 2011-08-15  Sheriff Bot  <webkit.review.bot@gmail.com>
853
854         Unreviewed, rolling out r93060.
855         http://trac.webkit.org/changeset/93060
856         https://bugs.webkit.org/show_bug.cgi?id=66259
857
858         Does not compile on Chromium Windows (Requested by
859         abarth|gardener on #webkit).
860
861         * public/WebCache.h:
862         * public/WebFontCache.h:
863         * src/WebCache.cpp:
864         (WebKit::WebCache::clear):
865         * src/WebFontCache.cpp:
866
867 2011-08-15  Mikhail Naganov  <mnaganov@chromium.org>
868
869         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
870         https://bugs.webkit.org/show_bug.cgi?id=66132
871
872         Reviewed by Darin Fisher.
873
874         * public/WebCache.h:
875         * public/WebFontCache.h:
876         * src/WebCache.cpp:
877         (WebKit::WebCache::prune):
878         * src/WebFontCache.cpp:
879         (WebKit::WebFontCache::prune):
880
881 2011-08-15  Nico Weber  <thakis@chromium.org>
882
883         [chromium] Implement shouldRubberBandInDirection
884         https://bugs.webkit.org/show_bug.cgi?id=66206
885
886         Reviewed by Adam Barth.
887
888         History swiping can only start after an unhandled mouse wheel event
889         came back from the renderer, because mouse wheel javascript handlers
890         take precedence over history swiping. This means that rubberbanding
891         must not consume wheel events if they could trigger history, else
892         history swiping won't be triggered for pages without wheel handlers
893         either.
894
895         This is based on the implementation in
896         Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
897
898         * src/ChromeClientImpl.cpp:
899         (WebKit::ChromeClientImpl::shouldRubberBandInDirection):
900         * src/ChromeClientImpl.h:
901
902 2011-08-10  Aaron Boodman  <aa@chromium.org>
903
904         Pass additional details to client in didCreateIsolatedContext
905         https://bugs.webkit.org/show_bug.cgi?id=66037
906
907         Reviewed by Darin Fisher.
908
909         * public/WebFrameClient.h:
910         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
911         * src/FrameLoaderClientImpl.cpp:
912         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
913         * src/FrameLoaderClientImpl.h:
914
915 2011-08-10  Adam Roben  <aroben@apple.com>
916
917         Clear up scale factor terminology
918
919         WebKit by and large deals with two scale factors: one intrinsic to the device on which the
920         software is running, and one that is per-Page and can be controlled via API calls. This
921         patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
922         code use those names. It should introduce no behavior changes.
923
924         Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
925         device scale factor
926
927         Reviewed by Simon Fraser.
928
929         * src/ChromeClientImpl.cpp:
930         * src/ChromeClientImpl.h:
931
932 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
933
934         Refactoring of PopupMenuChromium For Readability and Maintainability
935         https://bugs.webkit.org/show_bug.cgi?id=66009
936
937         Reviewed by Darin Fisher.
938
939         * src/ChromeClientImpl.cpp:
940         * src/WebPopupMenuImpl.cpp:
941         * src/WebViewImpl.cpp:
942         * tests/PopupMenuTest.cpp:
943
944 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
945
946         Expose pageScaleFactor() to Chromium's WebViewImpl
947         https://bugs.webkit.org/show_bug.cgi?id=66067
948
949         Reviewed by Darin Fisher.
950
951         * public/WebView.h:
952         * src/WebViewImpl.cpp:
953         (WebKit::WebViewImpl::pageScaleFactor):
954         * src/WebViewImpl.h:
955
956 2011-08-12  Sadrul Habib Chowdhury  <sadrul@chromium.org>
957
958         Wire gesture tap events, add support for gesture events in the DRT and add a layout test for it.
959         https://bugs.webkit.org/show_bug.cgi?id=66105
960
961         Reviewed by Darin Fisher.
962
963         * public/WebInputEvent.h:
964         * src/WebInputEventConversion.cpp:
965         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
966         * src/WebPopupMenuImpl.cpp:
967         (WebKit::WebPopupMenuImpl::handleInputEvent):
968         * src/WebViewImpl.cpp:
969         (WebKit::WebViewImpl::handleInputEvent):
970
971 2011-08-12  Tommy Widenflycht  <tommyw@google.com>
972
973         [Chromium] Implement the embedders for the HTML5 Track List objects
974         https://bugs.webkit.org/show_bug.cgi?id=60260
975
976         Reviewed by Darin Fisher.
977
978         * WebKit.gyp:
979         * public/WebMediaStreamTrack.h: Added.
980         (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
981         (WebKit::WebMediaStreamTrack::~WebMediaStreamTrack):
982         (WebKit::WebMediaStreamTrack::isNull):
983         * public/WebMediaStreamTrackList.h: Added.
984         (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
985         (WebKit::WebMediaStreamTrackList::~WebMediaStreamTrackList):
986         (WebKit::WebMediaStreamTrackList::isNull):
987         * src/WebMediaStreamTrack.cpp: Added.
988         (WebKit::WebMediaStreamTrack::initialize):
989         (WebKit::WebMediaStreamTrack::reset):
990         (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
991         (WebKit::WebMediaStreamTrack::operator WTF::PassRefPtr<WebCore::MediaStreamTrack>):
992         * src/WebMediaStreamTrackList.cpp: Added.
993         (WebKit::WebMediaStreamTrackList::initialize):
994         (WebKit::WebMediaStreamTrackList::reset):
995         (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
996         (WebKit::WebMediaStreamTrackList::operator WTF::PassRefPtr<MediaStreamTrackList>):
997
998 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
999
1000         Unreviewed, rolling out r92976.
1001         http://trac.webkit.org/changeset/92976
1002         https://bugs.webkit.org/show_bug.cgi?id=66159
1003
1004         Does not compile on chromium-win (Requested by abarth|gardener
1005         on #webkit).
1006
1007         * src/ChromeClientImpl.cpp:
1008         * src/WebPopupMenuImpl.cpp:
1009         * src/WebViewImpl.cpp:
1010
1011 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1012
1013         Unreviewed, rolling out r92978.
1014         http://trac.webkit.org/changeset/92978
1015         https://bugs.webkit.org/show_bug.cgi?id=66155
1016
1017         This patch does not compile (Requested by abarth|gardener on
1018         #webkit).
1019
1020         * public/WebView.h:
1021         * src/WebViewImpl.cpp:
1022         (WebKit::WebViewImpl::zoomLevel):
1023         (WebKit::WebViewImpl::setZoomLevel):
1024         (WebKit::WebViewImpl::zoomLimitsChanged):
1025         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
1026         (WebKit::WebView::zoomLevelToZoomFactor):
1027         (WebKit::WebView::zoomFactorToZoomLevel):
1028         * src/WebViewImpl.h:
1029
1030 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
1031
1032         Chromium's WebKit API should use floats instead of doubles for zoom to match WebCore
1033         https://bugs.webkit.org/show_bug.cgi?id=66089
1034
1035         Reviewed by Darin Fisher.
1036
1037         * public/WebView.h:
1038         * src/WebViewImpl.cpp:
1039         (WebKit::WebViewImpl::zoomLevel):
1040         (WebKit::WebViewImpl::setZoomLevel):
1041         (WebKit::WebViewImpl::zoomLimitsChanged):
1042         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
1043         (WebKit::WebView::zoomLevelToZoomFactor):
1044         (WebKit::WebView::zoomFactorToZoomLevel):
1045         * src/WebViewImpl.h:
1046
1047 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
1048
1049         Refactoring of PopupMenuChromium
1050         https://bugs.webkit.org/show_bug.cgi?id=66009
1051
1052         Reviewed by Darin Fisher.
1053
1054         * src/ChromeClientImpl.cpp:
1055         * src/WebPopupMenuImpl.cpp:
1056         * src/WebViewImpl.cpp:
1057
1058 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
1059
1060         Expose pageScaleFactor in Chromium's WebHistoryItem
1061         https://bugs.webkit.org/show_bug.cgi?id=66139
1062
1063         Reviewed by Darin Fisher.
1064
1065         * public/WebHistoryItem.h:
1066         * src/WebHistoryItem.cpp:
1067         (WebKit::WebHistoryItem::pageScaleFactor):
1068         (WebKit::WebHistoryItem::setPageScaleFactor):
1069
1070 2011-08-10  Nat Duca  <nduca@chromium.org>
1071
1072         [chromium] Add WebThread to WebKitClient
1073         https://bugs.webkit.org/show_bug.cgi?id=66013
1074
1075         Reviewed by Darin Fisher.
1076
1077         * public/WebKitClient.h:
1078         (WebKit::WebKitClient::createThread):
1079         * public/WebThread.h: Added.
1080         (WebKit::WebThread::~WebThread):
1081
1082 2011-08-11  John Bauman  <jbauman@chromium.org>
1083
1084         Readback composited webgl results for printing
1085         https://bugs.webkit.org/show_bug.cgi?id=65658
1086
1087         Reviewed by James Robinson.
1088
1089         Add support for reading from the composited version of a canvas.
1090
1091         * public/WebGraphicsContext3D.h:
1092         * src/Extensions3DChromium.cpp:
1093         (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
1094         * src/GraphicsContext3DChromium.cpp:
1095         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1096         (WebCore::GraphicsContext3DInternal::paintFramebufferToCanvas):
1097         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
1098         (WebCore::GraphicsContext3DInternal::paintCompositedResultsToCanvas):
1099         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
1100         (WebCore::GraphicsContext3DInternal::reshape):
1101         * src/GraphicsContext3DInternal.h:
1102
1103 2011-08-05  Nat Duca  <nduca@chromium.org>
1104
1105         [chromium] Make WebViewImpl point at CCLayerTreeHost and related separation
1106         https://bugs.webkit.org/show_bug.cgi?id=65791
1107
1108         With this patch, LayerRendererChromium becomes increasingly responsible
1109         for rendering, while render scheduling and tree hosting moves into the
1110         CCLayerTreeHost.
1111
1112         Reviewed by James Robinson.
1113
1114         * src/WebViewImpl.cpp:
1115         (WebKit::WebViewImpl::WebViewImpl):
1116         (WebKit::WebViewImpl::resize):
1117         (WebKit::WebViewImpl::animate):
1118         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
1119         (WebKit::WebViewImpl::paint):
1120         (WebKit::WebViewImpl::composite):
1121         (WebKit::WebViewImpl::setRootPlatformLayer):
1122         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1123         (WebKit::WebViewImpl::scrollRootLayerRect):
1124         (WebKit::WebViewImpl::invalidateRootLayerRect):
1125         (WebKit::getCompositorSettings):
1126         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1127         (WebKit::WebViewImpl::createRootLayerPainter):
1128         (WebKit::WebViewImpl::animateAndLayout):
1129         (WebKit::WebViewImpl::didRecreateGraphicsContext):
1130         (WebKit::WebViewImpl::scheduleComposite):
1131         (WebKit::WebViewImpl::updateLayerTreeViewport):
1132         (WebKit::WebViewImpl::graphicsContext3D):
1133         (WebKit::WebViewImpl::setVisibilityState):
1134         * src/WebViewImpl.h:
1135
1136 2011-08-11  Nico Weber  <thakis@chromium.org>
1137
1138         [chromium] Expose "min/max scroll size", "has horizontal/vertical scrollbar", "number of wheel handlers" to clients
1139         https://bugs.webkit.org/show_bug.cgi?id=66094
1140
1141         Reviewed by James Robinson.
1142
1143         We want to implement two-finger-swipe for history like safari does on
1144         os x lion. The way this works is:
1145         * If a page has no horizontal scrollbars, or the page is all the way
1146           to the left, scrolling to the left will go back in history instead.
1147         * Same for right/forward.
1148
1149         This is modelled after the WebKit2 functions
1150         WKPageIsPinnedToLeftSide(), WKPageIsPinnedToRightSide(),
1151         WKPageHasHorizontalScrollbar(), and
1152         webPageProxy::willHandleHorizontalScrollEvents().
1153
1154         * public/WebFrame.h:
1155         * public/WebViewClient.h:
1156         (WebKit::WebViewClient::numWheelEventHandlersChanged):
1157         * src/ChromeClientImpl.cpp:
1158         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged):
1159         * src/ChromeClientImpl.h:
1160         * src/WebFrameImpl.cpp:
1161         (WebKit::WebFrameImpl::hasHorizontalScrollbar):
1162         (WebKit::WebFrameImpl::hasVerticalScrollbar):
1163         (WebKit::WebFrameImpl::isPinnedToLeft):
1164         (WebKit::WebFrameImpl::isPinnedToRight):
1165         * src/WebFrameImpl.h:
1166
1167 2011-08-11  Marja Hölttä  <marja@chromium.org>
1168
1169         Remove the temporary workaround added by http://trac.webkit.org/changeset/51338
1170         https://bugs.webkit.org/show_bug.cgi?id=65908
1171
1172         Reviewed by Adam Barth.
1173
1174         SecurityOrigin for a file URL returns "file://", and
1175         SecurityOrigin::createFromString("file://") creates a unique (null)
1176         security origin (because "file://" is first canonicalized to "file:///"
1177         and that is a directory). This means the conversion SecurityOrigin ->
1178         string -> SecurityOrigin doens't give back the same SecurityOrigin in
1179         case of file URLs.
1180
1181         WebStorageNamespaceImpl::createStorageArea contains a workaround which
1182         changes the string "file://" into "file:///a" before giving it to
1183         SecurityOrigin::createFromString.
1184
1185         If SecurityOrigin::m_enforceFilePathSeparation is true, then
1186         SecurityOrigin::toString() returns "null" for file URLs, and this
1187         problem does not exist, and the workaround code is not ran.
1188
1189         This patch removes the workaround.
1190
1191         * src/WebStorageNamespaceImpl.cpp:
1192         (WebKit::WebStorageNamespaceImpl::createStorageArea):
1193
1194 2011-08-10  John Abd-El-Malek  <jam@chromium.org>
1195
1196         [chromium] Update WebScrollbar so that it works with overlay scrollbars on Lion
1197         https://bugs.webkit.org/show_bug.cgi?id=66008
1198
1199         Reviewed by James Robinson.
1200
1201         * WebKit.gyp:
1202         * public/WebScrollbar.h:
1203         * public/WebScrollbarClient.h:
1204         * src/ScrollbarGroup.cpp: Added.
1205         (WebKit::ScrollbarGroup::ScrollbarGroup):
1206         (WebKit::ScrollbarGroup::~ScrollbarGroup):
1207         (WebKit::ScrollbarGroup::scrollbarCreated):
1208         (WebKit::ScrollbarGroup::scrollbarDestroyed):
1209         (WebKit::ScrollbarGroup::setLastMousePosition):
1210         (WebKit::ScrollbarGroup::scrollSize):
1211         (WebKit::ScrollbarGroup::scrollPosition):
1212         (WebKit::ScrollbarGroup::setScrollOffset):
1213         (WebKit::ScrollbarGroup::invalidateScrollbarRect):
1214         (WebKit::ScrollbarGroup::invalidateScrollCornerRect):
1215         (WebKit::ScrollbarGroup::isActive):
1216         (WebKit::ScrollbarGroup::enclosingScrollableArea):
1217         (WebKit::ScrollbarGroup::isScrollCornerVisible):
1218         (WebKit::ScrollbarGroup::getTickmarks):
1219         (WebKit::ScrollbarGroup::convertFromContainingViewToScrollbar):
1220         (WebKit::ScrollbarGroup::horizontalScrollbar):
1221         (WebKit::ScrollbarGroup::verticalScrollbar):
1222         (WebKit::ScrollbarGroup::minimumScrollPosition):
1223         (WebKit::ScrollbarGroup::maximumScrollPosition):
1224         (WebKit::ScrollbarGroup::visibleHeight):
1225         (WebKit::ScrollbarGroup::visibleWidth):
1226         (WebKit::ScrollbarGroup::contentsSize):
1227         (WebKit::ScrollbarGroup::overhangAmount):
1228         (WebKit::ScrollbarGroup::currentMousePosition):
1229         (WebKit::ScrollbarGroup::shouldSuspendScrollAnimations):
1230         (WebKit::ScrollbarGroup::scrollbarStyleChanged):
1231         (WebKit::ScrollbarGroup::isOnActivePage):
1232         (WebKit::ScrollbarGroup::disconnectFromPage):
1233         * src/ScrollbarGroup.h: Added.
1234         (WebKit::ScrollbarGroup::scrollCornerRect):
1235         * src/WebPluginContainerImpl.cpp:
1236         (WebKit::WebPluginContainerImpl::paint):
1237         (WebKit::WebPluginContainerImpl::reportGeometry):
1238         (WebKit::WebPluginContainerImpl::scrollbarGroup):
1239         (WebKit::WebPluginContainerImpl::willStartLiveResize):
1240         (WebKit::WebPluginContainerImpl::willEndLiveResize):
1241         (WebKit::WebPluginContainerImpl::handleMouseEvent):
1242         * src/WebPluginContainerImpl.h:
1243         * src/WebScrollbarImpl.cpp:
1244         (WebKit::WebScrollbar::createForPlugin):
1245         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1246         (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
1247         (WebKit::WebScrollbarImpl::setScrollOffset):
1248         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
1249         (WebKit::WebScrollbarImpl::getTickmarks):
1250         (WebKit::WebScrollbarImpl::convertFromContainingViewToScrollbar):
1251         (WebKit::WebScrollbarImpl::scrollbarStyleChanged):
1252         (WebKit::WebScrollbarImpl::isOverlay):
1253         (WebKit::WebScrollbarImpl::setValue):
1254         (WebKit::WebScrollbarImpl::scroll):
1255         (WebKit::WebScrollbarImpl::onMouseMove):
1256         (WebKit::WebScrollbarImpl::onMouseLeave):
1257         (WebKit::WebScrollbarImpl::onMouseWheel):
1258         (WebKit::WebScrollbarImpl::onKeyDown):
1259         * src/WebScrollbarImpl.h:
1260         (WebKit::WebScrollbarImpl::scrollOffset):
1261         (WebKit::WebScrollbarImpl::scrollbar):
1262         * src/WebViewImpl.cpp:
1263         (WebKit::WebViewImpl::willStartLiveResize):
1264         (WebKit::WebViewImpl::willEndLiveResize):
1265
1266 2011-08-10  Dmitry Lomov  <dslomov@google.com>
1267         
1268         [Chromium] Decouple implementation of allowFileSystem, openFileSystem and allowDatabase from WebWorkerBase.
1269         https://bugs.webkit.org/show_bug.cgi?id=65997.
1270
1271         This patch moves implementation of allowFileSystem, openFileSystem and allowDatabase from
1272         WebWorkerBase to respectively LocalFileSystemChromium and DatabaseObserver, 
1273         parameterizing them with relevant data from WebWorker.
1274
1275         Reviewed by Jian Li.
1276
1277         * src/DatabaseObserver.cpp: Move allowDatabase from WebWorkerBase and update the caller.
1278         (WebKit::AllowDatabaseMainThreadBridge::create):
1279         (WebKit::AllowDatabaseMainThreadBridge::cancel):
1280         (WebKit::AllowDatabaseMainThreadBridge::result):
1281         (WebKit::AllowDatabaseMainThreadBridge::signalCompleted):
1282         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
1283         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
1284         (WebKit::AllowDatabaseMainThreadBridge::didComplete):
1285         (WebKit::allowDatabaseForWorker):
1286         (WebCore::DatabaseObserver::canEstablishDatabase):
1287         * src/LocalFileSystemChromium.cpp: Move allowFileSystem and openFileSystem from WebWorkerBase and update the caller.
1288         (WebCore::openFileSystemHelper):
1289         * src/WebWorkerBase.cpp: Move allowFileSystem, openFileSystem and allowDatabase to LocalFileSystemChromium and DatabaseObserver resp.
1290         * src/WebWorkerBase.h:
1291         (WebKit::WebWorkerBase::webView):
1292         * src/WorkerFileSystemCallbacksBridge.cpp: Generalized WorkerFileSystemCallbacksBridge to work on WorkerLoaderProxy, not on WebWorkerBase.
1293         (WebKit::WorkerFileSystemCallbacksBridge::stop):
1294         (WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
1295         (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread):
1296         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
1297         * src/WorkerFileSystemCallbacksBridge.h:
1298         (WebKit::WorkerFileSystemCallbacksBridge::create):
1299
1300 2011-08-10  Vsevolod Vlasov  <vsevik@chromium.org>
1301
1302         Web Inspector: Remove Network.initialContentSet from protocol, store workers content on backend.
1303         https://bugs.webkit.org/show_bug.cgi?id=65929
1304
1305         Reviewed by Pavel Feldman.
1306
1307         * src/SharedWorkerRepository.cpp:
1308         (WebCore::SharedWorkerScriptLoader::didReceiveResponse):
1309
1310 2011-08-10  Andrey Kosyakov  <caseq@chromium.org>
1311
1312         Unreviewed. Rolled DEPS 95813:96009 to pick data url timing fix.
1313
1314         * DEPS:
1315
1316 2011-08-10  Peter Kasting  <pkasting@google.com>
1317
1318         [Chromium] Name an enum used in some template arguments.
1319         https://bugs.webkit.org/show_bug.cgi?id=65953
1320
1321         Reviewed by Darin Fisher.
1322
1323         * public/WebHTTPBody.h:
1324
1325 2011-08-09  Alexei Svitkine  <asvitkine@chromium.org>
1326
1327         [Chromium] Enable rubber banding when scrolling.
1328
1329         https://bugs.webkit.org/show_bug.cgi?id=65707
1330
1331         Reviewed by Dimitri Glazkov.
1332
1333         * features.gypi:
1334         * public/WebInputEvent.h:
1335         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
1336         (WebKit::WebGestureEvent::WebGestureEvent):
1337         * public/mac/WebInputEventFactory.h:
1338         * src/WebInputEventConversion.cpp:
1339         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1340         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1341         * src/WebInputEventConversion.h:
1342         * src/WebPopupMenuImpl.cpp:
1343         (WebKit::WebPopupMenuImpl::GestureEvent):
1344         (WebKit::WebPopupMenuImpl::handleInputEvent):
1345         * src/WebPopupMenuImpl.h:
1346         * src/WebViewImpl.cpp:
1347         (WebKit::WebViewImpl::gestureEvent):
1348         (WebKit::WebViewImpl::handleInputEvent):
1349         * src/WebViewImpl.h:
1350         * src/mac/WebInputEventFactory.mm:
1351         (WebKit::gestureEventTypeForEvent):
1352         (WebKit::phaseForNSEventPhase):
1353         (WebKit::phaseForEvent):
1354         (WebKit::momentumPhaseForEvent):
1355         (WebKit::WebInputEventFactory::mouseWheelEvent):
1356         (WebKit::WebInputEventFactory::gestureEvent):
1357
1358 2011-08-09  Dmitry Lomov  <dslomov@google.com>
1359
1360         https://bugs.webkit.org/show_bug.cgi?id=65778
1361         [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
1362
1363         Reviewed by Dmitry Titov.
1364
1365         * src/BoundObject.cpp:
1366
1367 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
1368
1369         [chromium] remove temporary #define from WebURLRequest.h
1370         https://bugs.webkit.org/show_bug.cgi?id=65813
1371
1372         Reviewed by Darin Fisher.
1373
1374         * public/WebURLRequest.h:
1375
1376 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
1377
1378         Unreviewed.  Rolled DEPS.
1379
1380         * DEPS:
1381
1382 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1383
1384         Unreviewed, rolling out r92619.
1385         http://trac.webkit.org/changeset/92619
1386         https://bugs.webkit.org/show_bug.cgi?id=65881
1387
1388         This patch breaks chromium canary (Requested by jianli on
1389         #webkit).
1390
1391         * src/BoundObject.cpp:
1392
1393 2011-08-08  Scott Byer  <scottbyer@chromium.org>
1394
1395         Scroll animator changes to nail the framerate
1396         https://bugs.webkit.org/show_bug.cgi?id=65645
1397
1398         Reviewed by James Robinson.
1399
1400         * tests/ScrollAnimatorNoneTest.cpp:
1401         (TEST):
1402
1403 2011-08-08  Dmitry Lomov  <dslomov@google.com>
1404
1405         https://bugs.webkit.org/show_bug.cgi?id=65778
1406         [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
1407
1408         Reviewed by David Levin.
1409
1410         * src/BoundObject.cpp: AllowAllocation moved from V8Utilities.h to V8Binding.h
1411
1412 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1413
1414         Unreviewed, rolling out r92607.
1415         http://trac.webkit.org/changeset/92607
1416         https://bugs.webkit.org/show_bug.cgi?id=65865
1417
1418         This patch breaks Chromium Mac Canary (Requested by jianli on
1419         #webkit).
1420
1421         * features.gypi:
1422         * public/WebInputEvent.h:
1423         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
1424         * public/mac/WebInputEventFactory.h:
1425         * src/WebInputEventConversion.cpp:
1426         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1427         * src/WebInputEventConversion.h:
1428         * src/WebPopupMenuImpl.cpp:
1429         (WebKit::WebPopupMenuImpl::handleInputEvent):
1430         * src/WebPopupMenuImpl.h:
1431         * src/WebViewImpl.cpp:
1432         (WebKit::WebViewImpl::handleInputEvent):
1433         * src/WebViewImpl.h:
1434         * src/mac/WebInputEventFactory.mm:
1435         (WebKit::WebInputEventFactory::mouseWheelEvent):
1436
1437 2011-08-08  Alexei Svitkine  <asvitkine@chromium.org>
1438
1439         [Chromium] Enable rubber banding when scrolling.
1440
1441         https://bugs.webkit.org/show_bug.cgi?id=65707
1442
1443         Reviewed by Dimitri Glazkov.
1444
1445         * features.gypi:
1446         * public/WebInputEvent.h:
1447         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
1448         (WebKit::WebGestureEvent::WebGestureEvent):
1449         * public/mac/WebInputEventFactory.h:
1450         * src/WebInputEventConversion.cpp:
1451         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1452         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1453         * src/WebInputEventConversion.h:
1454         * src/WebPopupMenuImpl.cpp:
1455         (WebKit::WebPopupMenuImpl::GestureEvent):
1456         (WebKit::WebPopupMenuImpl::handleInputEvent):
1457         * src/WebPopupMenuImpl.h:
1458         * src/WebViewImpl.cpp:
1459         (WebKit::WebViewImpl::gestureEvent):
1460         (WebKit::WebViewImpl::handleInputEvent):
1461         * src/WebViewImpl.h:
1462         * src/mac/WebInputEventFactory.mm:
1463         (WebKit::gestureEventTypeForEvent):
1464         (WebKit::phaseForNSEventPhase):
1465         (WebKit::phaseForEvent):
1466         (WebKit::momentumPhaseForEvent):
1467         (WebKit::WebInputEventFactory::mouseWheelEvent):
1468         (WebKit::WebInputEventFactory::gestureEvent):
1469
1470 2011-08-08  Ryosuke Niwa  <rniwa@webkit.org>
1471
1472         Unreviewed. Rolled Chromium DEPS from 95576 to 95783.
1473
1474         * DEPS:
1475
1476 2011-08-05  Pavel Feldman  <pfeldman@chromium.org>
1477
1478         Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
1479         https://bugs.webkit.org/show_bug.cgi?id=65763
1480
1481         Reviewed by Yury Semikhatsky.
1482
1483         * src/InspectorFrontendClientImpl.cpp:
1484         * src/InspectorFrontendClientImpl.h:
1485         * src/js/DevTools.js:
1486         (devtools.domContentLoaded):
1487
1488 2011-08-07  James Kozianski  <koz@chromium.org>
1489
1490         Make the fullscreen JS API enabled at runtime.
1491         https://bugs.webkit.org/show_bug.cgi?id=65501
1492
1493         Reviewed by Adam Barth.
1494
1495         * public/WebRuntimeFeatures.h:
1496         * src/WebRuntimeFeatures.cpp:
1497         (WebKit::WebRuntimeFeatures::enableFullScreenAPI):
1498         (WebKit::WebRuntimeFeatures::isFullScreenAPIEnabled):
1499
1500 2011-08-05  James Robinson  <jamesr@chromium.org>
1501
1502         [chromium] Accelerated canvas breaks when moving canvases or resources between Pages
1503         https://bugs.webkit.org/show_bug.cgi?id=65402
1504
1505         Reviewed by Stephen White.
1506
1507         Remove plumbing for copyTextureToParentTexture extension, it's no longer used or needed.
1508
1509         * public/WebGraphicsContext3D.h:
1510         * src/Extensions3DChromium.cpp:
1511         * src/GraphicsContext3DChromium.cpp:
1512         * src/GraphicsContext3DInternal.h:
1513
1514 2011-08-05  Jochen Eisinger  <jochen@chromium.org>
1515
1516         Introduce a new ResourceRequest::TargetType for XHRs
1517         https://bugs.webkit.org/show_bug.cgi?id=65544
1518
1519         Reviewed by Darin Fisher.
1520
1521         * public/WebURLRequest.h:
1522
1523 2011-08-04  James Robinson  <jamesr@chromium.org>
1524
1525         Unreviewed.  Rolled DEPS.
1526
1527         * DEPS:
1528
1529 2011-08-04  David Levin  <levin@chromium.org>
1530
1531         CStringBuffer should have thread safety checks turned on.
1532         https://bugs.webkit.org/show_bug.cgi?id=58093
1533
1534         Reviewed by Dmitry Titov.
1535
1536         * DEPS: Roll far enough to pick up the latest WebKit::initialize
1537         fix for Linux.
1538
1539 2011-08-04  Sheriff Bot  <webkit.review.bot@gmail.com>
1540
1541         Unreviewed, rolling out r92415.
1542         http://trac.webkit.org/changeset/92415
1543         https://bugs.webkit.org/show_bug.cgi?id=65728
1544
1545         Causes many DEBUG crashes (Requested by abarth on #webkit).
1546
1547         * public/WebURLRequest.h:
1548
1549 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
1550
1551         Introduce a new ResourceRequest::TargetType for XHRs
1552         https://bugs.webkit.org/show_bug.cgi?id=65544
1553
1554         Reviewed by Darin Fisher.
1555
1556         * public/WebURLRequest.h:
1557
1558 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
1559
1560         Get rid of ResourceRequestBase::m_targetType. Move it to chromium's ResourceRequest.
1561         https://bugs.webkit.org/show_bug.cgi?id=48483
1562
1563         Reviewed by Alexey Proskuryakov.
1564
1565         * src/SharedWorkerRepository.cpp:
1566         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
1567
1568 2011-08-04  Brian Weinstein  <bweinstein@apple.com>
1569
1570         WebKit2: Web Inspector always starts in undocked mode
1571         https://bugs.webkit.org/show_bug.cgi?id=65493
1572         <rdar://problem/9353114>
1573
1574         Reviewed by Adam Roben.
1575         
1576         Add a stub method for Chromium.
1577
1578         * src/InspectorFrontendClientImpl.cpp:
1579         (WebKit::InspectorFrontendClientImpl::canAttachWindow):
1580         * src/InspectorFrontendClientImpl.h:
1581
1582 2011-08-03  Kentaro Hara  <haraken@google.com>
1583
1584         Implement EventSender.scalePageBy()
1585         https://bugs.webkit.org/show_bug.cgi?id=58013
1586
1587         Reviewed by Darin Fisher.
1588
1589         Implemented EventSender.scalePageBy(f, x, y), which scales a page by a factor of f
1590         and then sets a scroll position to (x, y). Enabled the tests that had been waiting
1591         for the implementation of EventSender.scalePageBy(f, x, y).
1592
1593         Tests: compositing/scaling/tiled-layer-recursion.html
1594                fast/repaint/scale-page-shrink.html
1595                fast/dom/Element/scale-page-client-rects.html
1596                fast/dom/Range/scale-page-client-rects.html
1597                fast/events/scroll-in-scaled-page-with-overflow-hidden.html
1598                fast/dom/Element/scale-page-bounding-client-rect.html
1599                fast/dom/Range/scale-page-bounding-client-rect.html
1600
1601         * public/WebView.h:
1602         * src/WebViewImpl.cpp:
1603         (WebKit::WebViewImpl::scalePage): A wrapper method for scalePage() in WebCore.
1604         * src/WebViewImpl.h:
1605
1606 2011-08-03  Darin Fisher  <darin@chromium.org>
1607
1608         [Chromium] Rename WEBKIT_API to WEBKIT_EXPORT.
1609         https://bugs.webkit.org/show_bug.cgi?id=65649
1610
1611         Reviewed by Adam Barth.
1612
1613         * README:
1614         * public/WebAccessibilityCache.h:
1615         * public/WebAccessibilityObject.h:
1616         * public/WebArrayBufferView.h:
1617         * public/WebAttribute.h:
1618         * public/WebAudioBus.h:
1619         * public/WebBindings.h:
1620         * public/WebBlobData.h:
1621         * public/WebBlobRegistry.h:
1622         * public/WebCString.h:
1623         * public/WebCache.h:
1624         * public/WebColor.h:
1625         * public/WebCommon.h:
1626         * public/WebCrossOriginPreflightResultCache.h:
1627         * public/WebDOMEvent.h:
1628         * public/WebDOMEventListener.h:
1629         * public/WebDOMMouseEvent.h:
1630         * public/WebDOMMutationEvent.h:
1631         * public/WebDOMStringList.h:
1632         * public/WebData.h:
1633         * public/WebDatabase.h:
1634         * public/WebDevToolsAgent.h:
1635         * public/WebDevToolsFrontend.h:
1636         * public/WebDeviceOrientationClientMock.h:
1637         * public/WebDeviceOrientationController.h:
1638         * public/WebDocument.h:
1639         * public/WebDocumentType.h:
1640         * public/WebDragData.h:
1641         * public/WebElement.h:
1642         * public/WebFont.h:
1643         * public/WebFontCache.h:
1644         * public/WebFormControlElement.h:
1645         * public/WebFormElement.h:
1646         * public/WebFrame.h:
1647         * public/WebGeolocationClientMock.h:
1648         * public/WebGeolocationController.h:
1649         * public/WebGeolocationError.h:
1650         * public/WebGeolocationPermissionRequest.h:
1651         * public/WebGeolocationPermissionRequestManager.h:
1652         * public/WebGeolocationPosition.h:
1653         * public/WebGlyphCache.h:
1654         * public/WebHTTPBody.h:
1655         * public/WebHTTPLoadInfo.h:
1656         * public/WebHistoryItem.h:
1657         * public/WebIDBDatabaseError.h:
1658         * public/WebIDBFactory.h:
1659         * public/WebIDBKey.h:
1660         * public/WebIDBKeyPath.h:
1661         * public/WebIDBKeyRange.h:
1662         * public/WebImage.h:
1663         * public/WebImageDecoder.h:
1664         * public/WebInputElement.h:
1665         * public/WebInputEvent.h:
1666         * public/WebKit.h:
1667         * public/WebLabelElement.h:
1668         * public/WebMediaElement.h:
1669         * public/WebNamedNodeMap.h:
1670         * public/WebNetworkStateNotifier.h:
1671         * public/WebNode.h:
1672         * public/WebNodeCollection.h:
1673         * public/WebNodeList.h:
1674         * public/WebNotification.h:
1675         * public/WebOptionElement.h:
1676         * public/WebPageSerializer.h:
1677         * public/WebPasswordFormData.h:
1678         * public/WebPerformance.h:
1679         * public/WebPluginDocument.h:
1680         * public/WebPopupMenu.h:
1681         * public/WebRange.h:
1682         * public/WebRegularExpression.h:
1683         * public/WebRuntimeFeatures.h:
1684         * public/WebScriptController.h:
1685         * public/WebScrollbar.h:
1686         * public/WebSearchableFormData.h:
1687         * public/WebSecurityOrigin.h:
1688         * public/WebSecurityPolicy.h:
1689         * public/WebSelectElement.h:
1690         * public/WebSerializedScriptValue.h:
1691         * public/WebSharedWorker.h:
1692         * public/WebSpeechInputControllerMock.h:
1693         * public/WebSpeechInputResult.h:
1694         * public/WebStorageEventDispatcher.h:
1695         * public/WebStorageNamespace.h:
1696         * public/WebString.h:
1697         * public/WebTestingSupport.h:
1698         * public/WebThreadSafeData.h:
1699         * public/WebURLLoadTiming.h:
1700         * public/WebURLRequest.h:
1701         * public/WebURLResponse.h:
1702         * public/WebView.h:
1703         * public/WebWorker.h:
1704         * public/gtk/WebFontInfo.h:
1705         * public/gtk/WebInputEventFactory.h:
1706         * public/linux/WebFontRenderStyle.h:
1707         * public/linux/WebFontRendering.h:
1708         * public/linux/WebRenderTheme.h:
1709         * public/mac/WebInputEventFactory.h:
1710         * public/mac/WebScreenInfoFactory.h:
1711         * public/mac/WebSubstringUtil.h:
1712         * public/win/WebInputEventFactory.h:
1713         * public/win/WebScreenInfoFactory.h:
1714         * public/x11/WebScreenInfoFactory.h:
1715         * tests/WebUnitTests.h:
1716
1717 2011-08-03  Michael Nordman  <michaeln@google.com>
1718
1719         [Chromium] Minor cleanup, remove a deprecated method.
1720         The old WebDatabase::updateDatabaseSize method has been replaced with 
1721         updateDatabaseSize, updateSpaceAvailable, and resetSpaceAvailable.
1722         https://bugs.webkit.org/show_bug.cgi?id=65553
1723
1724         Reviewed by Adam Barth.
1725
1726         * public/WebDatabase.h:
1727         * src/WebDatabase.cpp:
1728
1729 2011-08-03  Pavel Feldman  <pfeldman@google.com>
1730
1731         Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
1732         https://bugs.webkit.org/show_bug.cgi?id=65510
1733
1734         Reviewed by Yury Semikhatsky.
1735
1736         * src/WebDevToolsAgentImpl.cpp:
1737         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
1738
1739 2011-08-03  Jeremy Moskovich  <jeremy@chromium.org>
1740
1741         [Chromium] Fix OOP font loading to work on 10.6.6 and above.
1742         https://bugs.webkit.org/show_bug.cgi?id=65543
1743
1744         In 10.6.6 the function used to get the unique ID for an NSFont in the 
1745         renderer was changed so it fails in the sandbox (it now tries to access
1746         the on-disk font file). In order to work around this, we get the font
1747         ID from the browser process.
1748
1749         To speed things up, we introduce 2 levels of caching in WebKit. A font
1750         name cache where we can perform a quick lookup without the need for the
1751         font id and a font id cache which we can only lookup in after getting
1752         the unique ID from the browser process.
1753
1754         Reviewed by Kenneth Russell.
1755
1756         No new tests since this is not readily testable.
1757
1758         * public/mac/WebSandboxSupport.h: Plumb font ID parameter through.
1759         * src/PlatformBridge.cpp:
1760         (WebCore::PlatformBridge::loadFont): ditto.
1761
1762 2011-08-03  Pavel Feldman  <pfeldman@chromium.org>
1763
1764         Web Inspector: remove Node parameter from the InspectorClient::highlight
1765         https://bugs.webkit.org/show_bug.cgi?id=65549
1766
1767         Reviewed by Yury Semikhatsky.
1768
1769         * src/InspectorClientImpl.cpp:
1770         (WebKit::InspectorClientImpl::highlight):
1771         * src/InspectorClientImpl.h:
1772         * src/WebDevToolsAgentImpl.cpp:
1773         (WebKit::WebDevToolsAgentImpl::highlight):
1774         * src/WebDevToolsAgentImpl.h:
1775
1776 2011-08-02  David Reveman  <reveman@chromium.org>
1777
1778         [Chromium] Remove outer border from TilingData as it's no longer needed by layer compositor for anti-aliasing.
1779         https://bugs.webkit.org/show_bug.cgi?id=64942
1780
1781         Reviewed by James Robinson.
1782
1783         * tests/TilingDataTest.cpp:
1784         (WebCore::TEST):
1785
1786 2011-08-02  Robert Kroeger  <rjkroege@chromium.org>
1787
1788         [chromium] Layering violations in gesture recognizer
1789         https://bugs.webkit.org/show_bug.cgi?id=65044
1790
1791        Reviewed by Adam Barth.
1792
1793         Moved gesture recognition higher up the event delivery code
1794         path so that recognition of gestures is completely separated
1795         from gesture handling.
1796
1797         * features.gypi:
1798         * src/WebFrameImpl.cpp:
1799         (WebKit::WebFrameImpl::createFrameView):
1800         Added code to reset the gesture recognizer to preserve parallel
1801         layout test execution.
1802         * src/WebPopupMenuImpl.cpp:
1803         Support dispatching touch and gesture events to Popups.
1804         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1805         (WebKit::WebPopupMenuImpl::TouchEvent):
1806         (WebKit::WebPopupMenuImpl::handleInputEvent):
1807         * src/WebPopupMenuImpl.h:
1808         * src/WebViewImpl.cpp:
1809         (WebKit::WebViewImpl::WebViewImpl):
1810         Added gesture recognition creation.
1811         (WebKit::WebViewImpl::touchEvent):
1812         Added recognition of gestures and dispatch of gesture events.
1813         (WebKit::WebViewImpl::resetGestureRecognizer):
1814         * src/WebViewImpl.h:
1815
1816 2011-08-02  Zhenyao Mo  <zmo@google.com>
1817
1818         Unreviewed, mark SelectPopupMenuTest.SelectItemKeyEvent as flaky, gardener stuff.
1819
1820         * tests/PopupMenuTest.cpp:
1821         (WebKit::TEST_F):
1822
1823 2011-08-02  Vsevolod Vlasov  <vsevik@chromium.org>
1824
1825         Web Inspector: Remove initator column for JSC, fix network resource initiator tests.
1826         https://bugs.webkit.org/show_bug.cgi?id=65534
1827
1828         Reviewed by Pavel Feldman.
1829
1830         * src/js/DevTools.js:
1831         ():
1832
1833 2011-08-02  Nat Duca  <nduca@chromium.org>
1834
1835         [chromium] Remove resizeOnscreenContent from LRC. It can be derived.
1836         https://bugs.webkit.org/show_bug.cgi?id=65519
1837
1838         Reviewed by James Robinson.
1839
1840         * src/WebViewImpl.cpp:
1841         (WebKit::WebViewImpl::resize):
1842         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1843
1844 2011-08-01  Jean-luc Brouillet  <jeanluc@chromium.org>
1845
1846         Removing old source files in gyp files that slow build
1847         https://bugs.webkit.org/show_bug.cgi?id=65503
1848
1849         Reviewed by Adam Barth.
1850
1851         A number of stale files are listed in the gyp files. These slow the
1852         build on Visual Studio 2010. Removing them.
1853
1854         * WebKit.gyp:
1855
1856 2011-08-01  Nat Duca  <nduca@chromium.org>
1857
1858         [chromium] Add null check to setSwapbuffersCompletCallbackChromium
1859         https://bugs.webkit.org/show_bug.cgi?id=65485
1860
1861         Reviewed by James Robinson.
1862
1863         * src/GraphicsContext3DChromium.cpp:
1864         (WebCore::SwapBuffersCompleteCallbackAdapter::create):
1865
1866 2011-08-01  Yuta Kitamura  <yutak@chromium.org>
1867
1868         WebSocket: Rename SocketStreamHandleClient member functions
1869         https://bugs.webkit.org/show_bug.cgi?id=65374
1870
1871         Reviewed by Kent Tamura.
1872
1873         * src/SocketStreamHandle.cpp:
1874         (WebCore::SocketStreamHandleInternal::didOpenStream):
1875         (WebCore::SocketStreamHandleInternal::didReceiveData):
1876         (WebCore::SocketStreamHandleInternal::didClose):
1877         (WebCore::SocketStreamHandleInternal::didFail):
1878
1879 2011-07-31  Bill Budge  <bbudge@chromium.org>
1880
1881         [Chromium] Remove the parameterless WebFrame::createAssociatedURLLoader
1882         overload, and change the overload that takes WebURLLoaderOptions to
1883         use a default value. This is equivalent to the original parameterless
1884         overload.
1885         https://bugs.webkit.org/show_bug.cgi?id=65280
1886
1887         Reviewed by Darin Fisher.
1888
1889         * public/WebFrame.h:
1890         * src/AssociatedURLLoader.cpp:
1891         * src/AssociatedURLLoader.h:
1892         * src/WebFrameImpl.cpp:
1893         * src/WebFrameImpl.h:
1894
1895 2011-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1896
1897         Unreviewed.  Rolled DEPS.
1898
1899         * DEPS:
1900
1901 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
1902
1903         Remove inclusion of MainThread.h from Threading.h
1904         https://bugs.webkit.org/show_bug.cgi?id=65081
1905
1906         Reviewed by Darin Adler.
1907
1908         Add missing include statements for MainThread.
1909
1910         * src/WebKit.cpp:
1911         * src/WebViewImpl.cpp:
1912         * tests/CCThreadTest.cpp:
1913
1914 2011-07-29  Zhenyao Mo  <zmo@google.com>
1915
1916         Unreviewed, rolling out r92011.
1917         http://trac.webkit.org/changeset/92011
1918         https://bugs.webkit.org/show_bug.cgi?id=65044
1919
1920         break chromium win build
1921
1922         * features.gypi:
1923         * src/WebFrameImpl.cpp:
1924         (WebKit::WebFrameImpl::createFrameView):
1925         * src/WebPopupMenuImpl.cpp:
1926         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1927         (WebKit::WebPopupMenuImpl::handleInputEvent):
1928         * src/WebPopupMenuImpl.h:
1929         * src/WebViewImpl.cpp:
1930         (WebKit::WebViewImpl::WebViewImpl):
1931         (WebKit::WebViewImpl::touchEvent):
1932         * src/WebViewImpl.h:
1933
1934 2011-07-29  Robert Kroeger  <rjkroege@chromium.org>
1935
1936         [chromium] Layering violations in gesture recognizer
1937         https://bugs.webkit.org/show_bug.cgi?id=65044
1938
1939         Reviewed by Adam Barth.
1940
1941         Moved gesture recognition higher up the event delivery code
1942         path so that recognition of gestures is completely separated
1943         from gesture handling.
1944
1945         * features.gypi:
1946         * src/WebFrameImpl.cpp:
1947         (WebKit::WebFrameImpl::createFrameView):
1948         Added code to reset the gesture recognizer to preserve parallel
1949         layout test execution.
1950         * src/WebPopupMenuImpl.cpp:
1951         Support dispatching touch and gesture events to Popups.
1952         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1953         (WebKit::WebPopupMenuImpl::TouchEvent):
1954         (WebKit::WebPopupMenuImpl::handleInputEvent):
1955         * src/WebPopupMenuImpl.h:
1956         * src/WebViewImpl.cpp:
1957         (WebKit::WebViewImpl::WebViewImpl):
1958         Added gesture recognition creation.
1959         (WebKit::WebViewImpl::touchEvent):
1960         Added recognition of gestures and dispatch of gesture events.
1961         (WebKit::WebViewImpl::resetGestureRecognizer):
1962         * src/WebViewImpl.h:
1963
1964 2011-07-29  Scott Byer  <scottbyer@chromium.org>
1965
1966         Scroll animation refinements.
1967         https://bugs.webkit.org/show_bug.cgi?id=65154
1968
1969         Reviewed by Adam Barth.
1970
1971         Fix scroll animation bugs when scrolling to the ends of a document. Smooth over slow event repeat rates
1972         better. Fix tests to allow for unit testing of scrolling up and not just down.
1973
1974         Additional unit tests added to ScrollAnimatorNoneTest:
1975         ScrollQuadraticSmoothed, ScrollLotsQuadraticSmoothed, ScrollDownToBumper, ScrollUpToBumper
1976         
1977         * tests/ScrollAnimatorNoneTest.cpp:
1978         (ScrollAnimatorNoneTest::reset):
1979         (ScrollAnimatorNoneTest::updateDataFromParameters):
1980         (ScrollAnimatorNoneTest::animateScroll):
1981         (ScrollAnimatorNoneTest::checkDesiredPosition):
1982         (ScrollAnimatorNoneTest::checkSoftLanding):
1983
1984 2011-07-28  Naoki Takano  <honten@chromium.org>
1985
1986         [Chromium] Add form() function to access parent WebFormElement from WebFormControlElement.
1987         https://bugs.webkit.org/show_bug.cgi?id=65304
1988         http://code.google.com/p/chromium/issues/detail?id=63553
1989
1990         Reviewed by Darin Fisher.
1991
1992         Chromium Autofill feature needs to access the parent WebFormElement from WebFormControlElement. So added form() method.
1993
1994         * public/WebFormControlElement.h: Add form() function.
1995         * src/WebFormControlElement.cpp:
1996         (WebKit::WebFormControlElement::form): Return parent WebFormElement.
1997
1998 2011-07-28  Nico Weber  <thakis@chromium.org>
1999
2000         [chromium] Make WebImage::assign(CGImageRef) a WEBKIT_API
2001         https://bugs.webkit.org/show_bug.cgi?id=65265
2002
2003         Reviewed by James Robinson.
2004
2005         Required for the components build on mac. The inline function
2006         operator=(CGImageRef) is used from outside webkit, and calls this
2007         function.
2008
2009         * public/WebImage.h:
2010
2011 2011-07-28  Mihai Parparita  <mihaip@chromium.org>
2012
2013         [Chromium] Remove WebDocument::insertStyleText
2014         https://bugs.webkit.org/show_bug.cgi?id=65332
2015
2016         Reviewed by Tony Chang.
2017
2018         As of http://crrev.com/94499 no Chromium code calls this anymore.
2019         Also does a bit of #include cleanup.
2020
2021         * public/WebDocument.h:
2022         * src/WebDocument.cpp:
2023
2024 2011-07-27  Fady Samuel  <fsamuel@chromium.org>
2025
2026         Added a Chromium WebKit API method to set the minimum row height of a popup listbox.
2027         https://bugs.webkit.org/show_bug.cgi?id=64897
2028
2029         Reviewed by Darin Fisher.
2030
2031         * public/WebPopupMenu.h:
2032         * src/WebPopupMenuImpl.cpp:
2033         (WebKit::WebPopupMenu::setMinimumRowHeight):
2034
2035 2011-07-27  Peng Huang  <penghuang@chromium.org>
2036
2037         Add more text input types for chromium
2038         https://bugs.webkit.org/show_bug.cgi?id=64937
2039
2040         Reviewed by Darin Fisher.
2041
2042         * public/WebTextInputType.h:
2043         * src/WebViewImpl.cpp:
2044         (WebKit::WebViewImpl::textInputType):
2045
2046 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
2047
2048         Add sfntly library to the Chromium DEPS file.
2049
2050         * DEPS:
2051
2052 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
2053
2054         Unreviewed.  Rolled DEPS.
2055
2056         * DEPS:
2057
2058 2011-07-25  Mihai Parparita  <mihaip@chromium.org>
2059
2060         [Chromium] Add better WebKit API for chrome.tabs.insertCSS extension API
2061         https://bugs.webkit.org/show_bug.cgi?id=65158
2062
2063         Reviewed by David Hyatt.
2064
2065         Add WebDocument::insertUserStyleSheet which inserts a user stylesheet,
2066         instead of forcing extensions to use insertStyleText which manipulates
2067         the DOM of the page and results in compatibility issues (see
2068         http://crbug.com/82220).
2069
2070         * public/WebDocument.h:
2071         * src/WebDocument.cpp:
2072         (WebKit::WebDocument::insertUserStyleSheet):
2073
2074 2011-07-27  Vsevolod Vlasov  <vsevik@chromium.org>
2075
2076         Web Inspector: Disable cache option should only clear memory cache, not disable it.
2077         https://bugs.webkit.org/show_bug.cgi?id=65184
2078
2079         Reviewed by Pavel Feldman.
2080
2081         * src/InspectorClientImpl.cpp:
2082         * src/InspectorClientImpl.h:
2083         * src/WebDevToolsAgentImpl.cpp:
2084         * src/WebDevToolsAgentImpl.h:
2085
2086 2011-07-27  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2087
2088         Pass on the suggested name for download file to the client.
2089         https://bugs.webkit.org/show_bug.cgi?id=65181
2090
2091         Reviewed by Darin Fisher.
2092
2093         * src/FrameLoaderClientImpl.cpp:
2094         (WebKit::FrameLoaderClientImpl::startDownload):
2095
2096 2011-07-27  Tony Gentilcore  <tonyg@chromium.org>
2097
2098         Speculative win build fix after r91835
2099         https://bugs.webkit.org/show_bug.cgi?id=65255
2100
2101         Unreviewed build fix.
2102
2103         * src/WebFontImpl.cpp:
2104
2105 2011-07-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2106
2107         Unreviewed, rolling out r91809.
2108         http://trac.webkit.org/changeset/91809
2109         https://bugs.webkit.org/show_bug.cgi?id=65225
2110
2111         Does not build on Chromium Windows (Requested by abarth on
2112         #webkit).
2113
2114         * features.gypi:
2115         * src/WebFrameImpl.cpp:
2116         (WebKit::WebFrameImpl::createFrameView):
2117         * src/WebPopupMenuImpl.cpp:
2118         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2119         (WebKit::WebPopupMenuImpl::handleInputEvent):
2120         * src/WebPopupMenuImpl.h:
2121         * src/WebViewImpl.cpp:
2122         (WebKit::WebViewImpl::WebViewImpl):
2123         (WebKit::WebViewImpl::touchEvent):
2124         * src/WebViewImpl.h:
2125
2126 2011-07-26  Robert Kroeger  <rjkroege@chromium.org>
2127
2128         [chromium] Layering violations in gesture recognizer
2129         https://bugs.webkit.org/show_bug.cgi?id=65044
2130
2131         Reviewed by Adam Barth.
2132
2133         Moved gesture recognition higher up the event delivery code
2134         path so that recognition of gestures is completely separated
2135         from gesture handling.
2136
2137         * features.gypi:
2138         * src/WebFrameImpl.cpp:
2139         (WebKit::WebFrameImpl::createFrameView):
2140         Added code to reset the gesture recognizer to preserve parallel
2141         layout test execution.
2142         * src/WebPopupMenuImpl.cpp:
2143         Support dispatching touch and gesture events to Popups.
2144         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2145         (WebKit::WebPopupMenuImpl::TouchEvent):
2146         (WebKit::WebPopupMenuImpl::handleInputEvent):
2147         * src/WebPopupMenuImpl.h:
2148         * src/WebViewImpl.cpp:
2149         (WebKit::WebViewImpl::WebViewImpl):
2150         Added gesture recognition creation.
2151         (WebKit::WebViewImpl::touchEvent):
2152         Added recognition of gestures and dispatch of gesture events.
2153         (WebKit::WebViewImpl::resetGestureRecognizer):
2154         * src/WebViewImpl.h:
2155
2156 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2157
2158         Add support for download='filename' attribute in anchors.
2159         https://bugs.webkit.org/show_bug.cgi?id=64580
2160
2161         Reviewed by Adam Barth.
2162
2163         * features.gypi:
2164         * public/WebFrameClient.h:
2165         (WebKit::WebFrameClient::loadURLExternally):
2166         * src/FrameLoaderClientImpl.cpp:
2167         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
2168         (WebKit::FrameLoaderClientImpl::startDownload):
2169         * src/FrameLoaderClientImpl.h:
2170
2171 2011-07-26  Brett Wilson  <brettw@chromium.org>
2172
2173         Cancel the load when an associated URL loader goes out of scope.
2174         Previously, the load would continue even when the WebURLLoader object
2175         was deleted, and the data would just get queued up.
2176
2177         https://bugs.webkit.org/show_bug.cgi?id=65204
2178
2179         Reviewed by Darin Fisher.
2180
2181         * src/AssociatedURLLoader.cpp:
2182         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2183         (WebKit::AssociatedURLLoader::cancel):
2184
2185 2011-07-25  Al Patrick  <apatrick@chromium.org>
2186
2187         Removed support for the GL_latch_CHROMIUM extension which Chromium no longer supports.
2188         https://bugs.webkit.org/show_bug.cgi?id=65043
2189
2190         Reviewed by James Robinson.
2191
2192         * public/WebGraphicsContext3D.h:
2193         * src/Extensions3DChromium.cpp:
2194         * src/GraphicsContext3DChromium.cpp:
2195         * src/GraphicsContext3DInternal.h:
2196
2197 2011-07-25  Nico Weber  <thakis@chromium.org>
2198
2199         [chromium] Don't link in both libjpeg and libjpeg_turbo in the components build
2200         https://bugs.webkit.org/show_bug.cgi?id=65138
2201
2202         Reviewed by James Robinson.
2203
2204         * WebKit.gyp:
2205
2206 2011-07-25  Chris Rogers  <crogers@google.com>
2207
2208         Update Chromium DRT to output binary (instead of base64-encoded) data for web audio testing
2209         https://bugs.webkit.org/show_bug.cgi?id=65039
2210
2211         Reviewed by Tony Chang.
2212
2213         * WebKit.gyp:
2214         * public/WebArrayBufferView.h: Added.
2215         (WebKit::WebArrayBufferView::~WebArrayBufferView):
2216         (WebKit::WebArrayBufferView::WebArrayBufferView):
2217         * public/WebBindings.h:
2218         * src/WebArrayBufferView.cpp: Added.
2219         (WebKit::WebArrayBufferView::assign):
2220         (WebKit::WebArrayBufferView::reset):
2221         (WebKit::WebArrayBufferView::baseAddress):
2222         (WebKit::WebArrayBufferView::byteOffset):
2223         (WebKit::WebArrayBufferView::byteLength):
2224         (WebKit::WebArrayBufferView::WebArrayBufferView):
2225         (WebKit::WebArrayBufferView::operator=):
2226         (WebKit::WebArrayBufferView::operator PassRefPtr<ArrayBufferView>):
2227         * src/WebBindings.cpp:
2228         (WebKit::getArrayBufferViewImpl):
2229         (WebKit::WebBindings::getArrayBufferView):
2230
2231 2011-07-23  Alok Priyadarshi  <alokp@chromium.org>
2232
2233         Switching off acceleration for small canvas broke gpu tests
2234         https://bugs.webkit.org/show_bug.cgi?id=65053
2235
2236         Reviewed by Stephen White.
2237
2238         * public/WebSettings.h:
2239         * src/WebSettingsImpl.cpp:
2240         (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
2241         * src/WebSettingsImpl.h:
2242
2243 2011-07-23  Yuta Kitamura  <yutak@chromium.org>
2244
2245         [Chromium] Turn on new WebSocket protocol in worker shadow page
2246         https://bugs.webkit.org/show_bug.cgi?id=64852
2247
2248         Reviewed by Dmitry Titov.
2249
2250         * src/WebWorkerBase.cpp:
2251         (WebKit::WebWorkerBase::initializeLoader):
2252         Initialize the value of WebCore::Settings::useHixie76WebSocketProtocol()
2253         for a new shadow page. The default value of this flag is overridden through
2254         WebPreferences (located in webkit/glue in Chromium source tree) but a shadow
2255         page does not receive the preference values from it.
2256
2257 2011-07-22  James Robinson  <jamesr@chromium.org>
2258
2259         [chromium] Remove code that attempted to explicitly sync compositing state before compositing
2260         https://bugs.webkit.org/show_bug.cgi?id=65055
2261
2262         Reviewed by Kenneth Russell.
2263
2264         There was some logic in WebViewImpl to try to synchronously calculate compositing requirements and sync
2265         compositing state on all frames before painting in an attempt to flush out all pending updates before entering
2266         the composite routines. The idea behind this code was that it would allow us to not worry about compositing
2267         turning off in the middle of a composite operation due to things like RenderLayer overlap being lazily
2268         calculated.  In practice, we still need to be defensive to compositing requirements updating during the
2269         composite anyway and this code is quite expensive on some pages (10ms+ on the HTML specification on my box).
2270
2271         * src/WebViewImpl.cpp:
2272         (WebKit::WebViewImpl::layout):
2273         * src/WebViewImpl.h:
2274
2275 2011-07-22  Cris Neckar  <cdn@chromium.org>
2276
2277         Hook v8 up to cryptographicallyRandomValues as an entropy source.
2278         https://bugs.webkit.org/show_bug.cgi?id=64887
2279
2280         Reviewed by Adam Barth.
2281
2282         * public/WebKitClient.h:
2283         * src/WebKit.cpp:
2284         (WebKit::generateEntropy):
2285         (WebKit::initialize):
2286
2287 2011-07-22  Andrew Scherkus  <scherkus@chromium.org>
2288
2289         Remove surfaceType() and texture() methods from Chromium video frame classes.
2290         https://bugs.webkit.org/show_bug.cgi?id=64818
2291
2292         Reviewed by Kenneth Russell.
2293
2294         * public/WebVideoFrame.h:
2295         * src/AssertMatchingEnums.cpp:
2296         * src/VideoFrameChromiumImpl.cpp:
2297         * src/VideoFrameChromiumImpl.h:
2298
2299 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
2300
2301         Unreviewed.  Rolled DEPS.
2302
2303         * DEPS:
2304
2305 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
2306
2307         Revert r91510 due to Chromium debug test failures.
2308
2309         * src/WebKit.cpp:
2310         (WebKit::initialize):
2311
2312 2011-07-20  Cris Neckar  <cdn@chromium.org>
2313
2314         Hook v8 up to cryptographicallyRandomValues as an entropy source.
2315         https://bugs.webkit.org/show_bug.cgi?id=64887
2316
2317         Reviewed by Adam Barth.
2318
2319         * src/WebKit.cpp:
2320         (WebKit::generateEntropy):
2321         (WebKit::initialize):
2322
2323 2011-07-21  Vsevolod Vlasov  <vsevik@chromium.org>
2324
2325         [Chromium DevTools] Remove unused method setAgentIdentifierPrefix from WebDevToolAgent.
2326         https://bugs.webkit.org/show_bug.cgi?id=64793
2327
2328         Reviewed by Pavel Feldman.
2329
2330         * public/WebDevToolsAgent.h:
2331         * src/WebDevToolsAgentImpl.cpp:
2332         * src/WebDevToolsAgentImpl.h:
2333
2334 2011-07-21  Ryosuke Niwa  <rniwa@webkit.org>
2335
2336         Unreviewed.  Rolled DEPS.
2337
2338         * DEPS:
2339
2340 2011-07-20  Al Patrick  <apatrick@chromium.org>
2341
2342         Set the parent context to that of the associated view when calling GraphicsContext3DChromium::copyTextureToParentCHROMIUM.
2343         This fixes a race condition whereby the view window does not exist when the offscreen context is created. It allows
2344         accelerated 2D canvases to be added to newly created window.
2345         https://bugs.webkit.org/show_bug.cgi?id=64905
2346
2347         Reviewed by James Robinson.
2348
2349         * src/GraphicsContext3DChromium.cpp:
2350         (WebCore::GraphicsContext3DInternal::copyTextureToParentTextureCHROMIUM):
2351
2352 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
2353
2354         Web Inspector: Add support for disabling cache in web inspector.
2355         https://bugs.webkit.org/show_bug.cgi?id=64097
2356
2357         Reviewed by Pavel Feldman.
2358
2359         * src/InspectorClientImpl.cpp:
2360         (WebKit::InspectorClientImpl::setCacheDisabled):
2361         * src/InspectorClientImpl.h:
2362         * src/WebDevToolsAgentImpl.cpp:
2363         (WebKit::WebDevToolsAgentImpl::setCacheDisabled):
2364         * src/WebDevToolsAgentImpl.h:
2365         * src/js/DevTools.js:
2366         ():
2367
2368 2011-07-20  Peter Kasting  <pkasting@google.com>
2369
2370         Remove "const" from obviously-non-const accessors
2371         https://bugs.webkit.org/show_bug.cgi?id=62302
2372
2373         Reviewed by Darin Adler.
2374
2375         * public/WebElement.h:
2376         * src/WebElement.cpp:
2377         (WebKit::WebElement::innerText): Not const due to call to newly-non-const Element::innerText().
2378         * src/WebSearchableFormData.cpp: Use non-const Node*s for code that calls newly non-const accessors.
2379         (HTMLNames::IsSelectInDefaultState):
2380         (HTMLNames::IsInDefaultState):
2381         * src/WebViewImpl.cpp: Use non-const Node*s for code that calls newly non-const accessors.
2382         (WebKit::WebViewImpl::setComposition):
2383         (WebKit::WebViewImpl::confirmComposition):
2384         (WebKit::WebViewImpl::textInputType):
2385
2386 2011-07-20  Ilya Sherman  <isherman@chromium.org>
2387
2388         Remove TODO in WebNode.h from a two-sided patch that has now landed
2389         https://bugs.webkit.org/show_bug.cgi?id=64840
2390
2391         Reviewed by Darin Fisher.
2392
2393         * public/WebNode.h:
2394
2395 2011-07-20  Glen Shires  <gshires@google.com>
2396
2397         Bug 64625: Add isSpeechInputEnabled flag to WebContextMenuData.
2398         https://bugs.webkit.org/show_bug.cgi?id=64625
2399
2400         Reviewed by Darin Fisher.
2401
2402         * public/WebContextMenuData.h:
2403         (WebKit::WebContextMenuData::WebContextMenuData): added flag isSpeechInputEnabled
2404         * src/ContextMenuClientImpl.cpp:
2405         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): set flag isSpeechInputEnabled
2406
2407 2011-07-20  Andrey Kosyakov  <caseq@chromium.org>
2408
2409         Web Inspector: move Network log view to an iframe
2410         https://bugs.webkit.org/show_bug.cgi?id=62006
2411
2412         Reviewed by Pavel Feldman.
2413
2414         * WebKit.gyp:
2415
2416 2011-07-19  Ryosuke Niwa  <rniwa@webkit.org>
2417
2418         Unreviewed.  Rolled DEPS.
2419
2420         * DEPS:
2421
2422 2011-07-19  Dominic Mazzoni  <dmazzoni@google.com>
2423
2424         Adds some methods to retrieve accessible information from tables and
2425         table cells. Also refactors WebAccessibilityObject to use WebPrivatePtr
2426         instead of its own implementation that didn't allow access to subclasses
2427         of AccessibilityObject.
2428         https://bugs.webkit.org/show_bug.cgi?id=64805
2429
2430         Reviewed by Dimitri Glazkov.
2431
2432         * public/WebAccessibilityObject.h:
2433         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
2434         (WebKit::WebAccessibilityObject::isNull):
2435         * src/WebAccessibilityObject.cpp:
2436         (WebKit::WebAccessibilityObject::reset):
2437         (WebKit::WebAccessibilityObject::assign):
2438         (WebKit::WebAccessibilityObject::equals):
2439         (WebKit::WebAccessibilityObject::accessibilityDescription):
2440         (WebKit::WebAccessibilityObject::actionVerb):
2441         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
2442         (WebKit::WebAccessibilityObject::canSetValueAttribute):
2443         (WebKit::WebAccessibilityObject::isValid):
2444         (WebKit::WebAccessibilityObject::childCount):
2445         (WebKit::WebAccessibilityObject::childAt):
2446         (WebKit::WebAccessibilityObject::firstChild):
2447         (WebKit::WebAccessibilityObject::focusedChild):
2448         (WebKit::WebAccessibilityObject::lastChild):
2449         (WebKit::WebAccessibilityObject::nextSibling):
2450         (WebKit::WebAccessibilityObject::parentObject):
2451         (WebKit::WebAccessibilityObject::previousSibling):
2452         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
2453         (WebKit::WebAccessibilityObject::isAnchor):
2454         (WebKit::WebAccessibilityObject::isChecked):
2455         (WebKit::WebAccessibilityObject::isCollapsed):
2456         (WebKit::WebAccessibilityObject::isFocused):
2457         (WebKit::WebAccessibilityObject::isEnabled):
2458         (WebKit::WebAccessibilityObject::isHovered):
2459         (WebKit::WebAccessibilityObject::isIndeterminate):
2460         (WebKit::WebAccessibilityObject::isLinked):
2461         (WebKit::WebAccessibilityObject::isMultiSelectable):
2462         (WebKit::WebAccessibilityObject::isOffScreen):
2463         (WebKit::WebAccessibilityObject::isPasswordField):
2464         (WebKit::WebAccessibilityObject::isPressed):
2465         (WebKit::WebAccessibilityObject::isReadOnly):
2466         (WebKit::WebAccessibilityObject::isSelected):
2467         (WebKit::WebAccessibilityObject::isVisible):
2468         (WebKit::WebAccessibilityObject::isVisited):
2469         (WebKit::WebAccessibilityObject::boundingBoxRect):
2470         (WebKit::WebAccessibilityObject::helpText):
2471         (WebKit::WebAccessibilityObject::headingLevel):
2472         (WebKit::WebAccessibilityObject::hitTest):
2473         (WebKit::WebAccessibilityObject::keyboardShortcut):
2474         (WebKit::WebAccessibilityObject::performDefaultAction):
2475         (WebKit::WebAccessibilityObject::roleValue):
2476         (WebKit::WebAccessibilityObject::selectionEnd):
2477         (WebKit::WebAccessibilityObject::selectionStart):
2478         (WebKit::WebAccessibilityObject::setFocused):
2479         (WebKit::WebAccessibilityObject::stringValue):
2480         (WebKit::WebAccessibilityObject::title):
2481         (WebKit::WebAccessibilityObject::url):
2482         (WebKit::WebAccessibilityObject::node):
2483         (WebKit::WebAccessibilityObject::document):
2484         (WebKit::WebAccessibilityObject::hasComputedStyle):
2485         (WebKit::WebAccessibilityObject::computedStyleDisplay):
2486         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
2487         (WebKit::WebAccessibilityObject::lineBreaks):
2488         (WebKit::WebAccessibilityObject::columnCount):
2489         (WebKit::WebAccessibilityObject::rowCount):
2490         (WebKit::WebAccessibilityObject::cellForColumnAndRow):
2491         (WebKit::WebAccessibilityObject::cellColumnIndex):
2492         (WebKit::WebAccessibilityObject::cellColumnSpan):
2493         (WebKit::WebAccessibilityObject::cellRowIndex):
2494         (WebKit::WebAccessibilityObject::cellRowSpan):
2495         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
2496         (WebKit::WebAccessibilityObject::operator=):
2497         (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
2498
2499 2011-07-19  Robert Sesek  <rsesek@chromium.org>
2500
2501         [Chromium] Need to remove app/ from DEPS
2502         https://bugs.webkit.org/show_bug.cgi?id=64750
2503
2504         Reviewed by Tony Chang.
2505
2506         Roll DEPS and remove dependencies on Chromium's /src/app.
2507
2508         * DEPS:
2509         * WebKit.gyp:
2510
2511 2011-07-19  Yury Semikhatsky  <yurys@chromium.org>
2512
2513         [Chromium] Web Inspector: add sanity test for shared worker inspector
2514         https://bugs.webkit.org/show_bug.cgi?id=64799
2515
2516         Reviewed by Pavel Feldman.
2517
2518         * src/js/Tests.js:
2519         (.TestSuite.prototype.testSharedWorker):
2520         (.TestSuite.prototype.evaluateInConsole_):
2521
2522 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
2523
2524         Web Inspector: Rename agentIdentifierPrefix to processId, move out from page agent and make static.
2525         https://bugs.webkit.org/show_bug.cgi?id=64729
2526
2527         Reviewed by Pavel Feldman.
2528
2529         * public/WebDevToolsAgent.h:
2530         * src/WebDevToolsAgentImpl.cpp:
2531         (WebKit::WebDevToolsAgentImpl::setAgentIdentifierPrefix):
2532         (WebKit::WebDevToolsAgentImpl::setProcessId):
2533         * src/WebDevToolsAgentImpl.h:
2534
2535 2011-07-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2536
2537         Unreviewed.  Rolled DEPS.
2538
2539         * DEPS:
2540
2541 2011-07-18  James Robinson  <jamesr@chromium.org>
2542
2543         Timer scheduling should be based off the monotonic clock
2544         https://bugs.webkit.org/show_bug.cgi?id=64544
2545
2546         Reviewed by Darin Adler.
2547
2548         Renames setSharedTimerFireTime to setSharedTimerFireInterval to be consistent with WebCore.
2549
2550         * public/WebKitClient.h:
2551         (WebKit::WebKitClient::setSharedTimerFireInterval):
2552         * src/PlatformBridge.cpp:
2553         (WebCore::PlatformBridge::setSharedTimerFireInterval):
2554
2555 2011-07-18  Yuzhu Shen  <yzshen@chromium.com>
2556
2557         Reviewed by James Robinson.
2558
2559         [chromium] WebFontImpl::drawText needs to handle the canvasIsOpaque input.
2560         https://bugs.webkit.org/show_bug.cgi?id=64555
2561         
2562         This change handles canvasIsOpaque for the WEBKIT_USING_SKIA case.
2563  
2564         * src/WebFontImpl.cpp: handled canvasIsOpaque.
2565         * src/WebFontImpl.h: added method declaration.
2566
2567 2011-07-16  Simon Fraser  <simon.fraser@apple.com>
2568
2569         Add code to attempt to align compositing layers to pixel boundaries when page scale changes
2570         https://bugs.webkit.org/show_bug.cgi?id=64658
2571
2572         Reviewed by Dan Bernstein.
2573
2574         Removed implementations of backingScaleFactor() and pageScaleFactor() now
2575         that GraphicsLayerClient has default implementations.
2576
2577         * src/PageOverlay.cpp:
2578
2579 2011-07-15  Simon Fraser  <simon.fraser@apple.com>
2580
2581         Have GraphicsLayer pull their contentsScale, rather than pushing it onto them
2582         https://bugs.webkit.org/show_bug.cgi?id=64643
2583
2584         Reviewed by Darin Adler.
2585         
2586         Impement new GraphicsLayerClient methods related to contents scale.
2587
2588         * src/PageOverlay.cpp:
2589         (WebKit::OverlayGraphicsLayerClientImpl::backingScaleFactor):
2590         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
2591
2592 2011-07-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2593
2594         Unreviewed.  Rolled DEPS.
2595
2596         * DEPS:
2597
2598 2011-07-15  Kenneth Russell  <kbr@google.com>
2599
2600         Don't restore WebGL context if it was guilty of a graphics reset
2601         https://bugs.webkit.org/show_bug.cgi?id=64497
2602
2603         Reviewed by Stephen White.
2604
2605         Actually implement getGraphicsResetStatusARB rather than inferring
2606         the status based on whether the context has been lost.
2607
2608         * public/WebGraphicsContext3D.h:
2609         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
2610         * src/Extensions3DChromium.cpp:
2611         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
2612         * src/GraphicsContext3DChromium.cpp:
2613         * src/GraphicsContext3DInternal.h:
2614
2615 2011-07-15  Dan Bernstein  <mitz@apple.com>
2616
2617         Chromium build fix.
2618
2619         * src/WebPopupMenuImpl.cpp:
2620         (WebKit::WebPopupMenuImpl::setCursorHiddenUntilMouseMoves):
2621         * src/WebPopupMenuImpl.h:
2622
2623 2011-07-15  Dan Bernstein  <mitz@apple.com>
2624
2625         REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
2626         https://bugs.webkit.org/show_bug.cgi?id=64615
2627
2628         Reviewed by Anders Carlsson.
2629
2630         * src/ChromeClientImpl.cpp:
2631         (WebKit::ChromeClientImpl::setCursorHiddenUntilMouseMoves): Added this stub.
2632         * src/ChromeClientImpl.h:
2633
2634 2011-07-14  Ryosuke Niwa  <rniwa@webkit.org>
2635
2636         Rolled Chromium revision to 92606.
2637
2638         * DEPS:
2639
2640 2011-07-14  Ilya Sherman  <isherman@chromium.org>
2641
2642         Rename AutoFill -> Autofill and autoFill -> autofill
2643         https://bugs.webkit.org/show_bug.cgi?id=64333
2644         http://code.google.com/p/chromium/issues/detail?id=72758
2645
2646         Reviewed by Darin Fisher.
2647
2648         * WebKit.gyp:
2649         * public/WebAutofillClient.h:
2650         (WebKit::WebAutofillClient::didAcceptAutofillSuggestion):
2651         (WebKit::WebAutofillClient::didSelectAutofillSuggestion):
2652         (WebKit::WebAutofillClient::didClearAutofillSelection):
2653         (WebKit::WebAutofillClient::removeAutocompleteSuggestion):
2654         (WebKit::WebAutofillClient::textFieldDidBeginEditing):
2655         (WebKit::WebAutofillClient::textFieldDidEndEditing):
2656         (WebKit::WebAutofillClient::textFieldDidChange):
2657         (WebKit::WebAutofillClient::textFieldDidReceiveKeyDown):
2658         (WebKit::WebAutofillClient::~WebAutofillClient):
2659         * public/WebNode.h:
2660         * public/WebView.h:
2661         * src/AutofillPopupMenuClient.cpp:
2662         (WebKit::AutofillPopupMenuClient::AutofillPopupMenuClient):
2663         (WebKit::AutofillPopupMenuClient::~AutofillPopupMenuClient):
2664         (WebKit::AutofillPopupMenuClient::getSuggestionsCount):
2665         (WebKit::AutofillPopupMenuClient::getSuggestion):
2666         (WebKit::AutofillPopupMenuClient::getLabel):
2667         (WebKit::AutofillPopupMenuClient::getIcon):
2668         (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
2669         (WebKit::AutofillPopupMenuClient::canRemoveSuggestionAtIndex):
2670         (WebKit::AutofillPopupMenuClient::valueChanged):
2671         (WebKit::AutofillPopupMenuClient::selectionChanged):
2672         (WebKit::AutofillPopupMenuClient::selectionCleared):
2673         (WebKit::AutofillPopupMenuClient::itemText):
2674         (WebKit::AutofillPopupMenuClient::itemLabel):
2675         (WebKit::AutofillPopupMenuClient::itemIcon):
2676         (WebKit::AutofillPopupMenuClient::itemIsEnabled):
2677         (WebKit::AutofillPopupMenuClient::itemStyle):
2678         (WebKit::AutofillPopupMenuClient::menuStyle):
2679         (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
2680         (WebKit::AutofillPopupMenuClient::clientPaddingRight):
2681         (WebKit::AutofillPopupMenuClient::popupDidHide):
2682         (WebKit::AutofillPopupMenuClient::itemIsSeparator):
2683         (WebKit::AutofillPopupMenuClient::itemIsWarning):
2684         (WebKit::AutofillPopupMenuClient::setTextFromItem):
2685         (WebKit::AutofillPopupMenuClient::fontSelector):
2686         (WebKit::AutofillPopupMenuClient::hostWindow):
2687         (WebKit::AutofillPopupMenuClient::createScrollbar):
2688         (WebKit::AutofillPopupMenuClient::initialize):
2689         (WebKit::AutofillPopupMenuClient::setSuggestions):
2690         (WebKit::AutofillPopupMenuClient::convertListIndexToInternalIndex):
2691         (WebKit::AutofillPopupMenuClient::getWebView):
2692         (WebKit::AutofillPopupMenuClient::textFieldStyle):
2693         * src/AutofillPopupMenuClient.h:
2694         (WebKit::AutofillPopupMenuClient::itemToolTip):
2695         (WebKit::AutofillPopupMenuClient::itemAccessibilityText):
2696         (WebKit::AutofillPopupMenuClient::clientInsetLeft):
2697         (WebKit::AutofillPopupMenuClient::clientInsetRight):
2698         (WebKit::AutofillPopupMenuClient::listSize):
2699         (WebKit::AutofillPopupMenuClient::selectedIndex):
2700         (WebKit::AutofillPopupMenuClient::itemIsLabel):
2701         (WebKit::AutofillPopupMenuClient::itemIsSelected):
2702         (WebKit::AutofillPopupMenuClient::shouldPopOver):
2703         (WebKit::AutofillPopupMenuClient::valueShouldChangeOnHotTrack):
2704         (WebKit::AutofillPopupMenuClient::getTextField):
2705         (WebKit::AutofillPopupMenuClient::getSelectedIndex):
2706         (WebKit::AutofillPopupMenuClient::setSelectedIndex):
2707         * src/EditorClientImpl.cpp:
2708         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
2709         (WebKit::EditorClientImpl::textFieldDidEndEditing):
2710         (WebKit::EditorClientImpl::textDidChangeInTextField):
2711         (WebKit::EditorClientImpl::doAutofill):
2712         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2713         * src/WebInputElement.cpp:
2714         (WebKit::WebInputElement::setAutofilled):
2715         * src/WebViewImpl.cpp:
2716         (WebKit::WebViewImpl::setAutofillClient):
2717         (WebKit::WebViewImpl::WebViewImpl):
2718         (WebKit::WebViewImpl::mouseDown):
2719         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
2720         (WebKit::WebViewImpl::hideAutofillPopup):
2721         (WebKit::WebViewImpl::setFocus):
2722         (WebKit::WebViewImpl::applyAutofillSuggestions):
2723         (WebKit::WebViewImpl::hidePopups):
2724         (WebKit::WebViewImpl::refreshAutofillPopup):
2725         * src/WebViewImpl.h:
2726         (WebKit::WebViewImpl::autofillClient):
2727         (WebKit::WebViewImpl::autofillPopupDidHide):
2728
2729 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
2730
2731         [Chromium] Web Inspector: URL parameters should consistently use camel case names
2732         https://bugs.webkit.org/show_bug.cgi?id=64520
2733
2734         Reviewed by Pavel Feldman.
2735
2736         * src/js/DevTools.js:
2737         (devtools.domContentLoaded): Now that Chromium side is updated we can remove the old parameter
2738         handling code.
2739
2740 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
2741
2742         [Chromium] Web Inspector: URL parameters should consistently use camel case names
2743         https://bugs.webkit.org/show_bug.cgi?id=64520
2744
2745         Reviewed by Pavel Feldman.
2746
2747         * src/js/DevTools.js:
2748         (devtools.domContentLoaded):
2749
2750 2011-07-13  Noel Gordon  <noel.gordon@gmail.com>
2751
2752         [chromium] Clean undeeded WebCore:: namespace prefixing from WebBindings.
2753         https://bugs.webkit.org/show_bug.cgi?id=64361
2754
2755         Reviewed by Kent Tamura.
2756
2757         * src/WebBindings.cpp:
2758         (WebKit::makeIntArrayImpl):
2759         (WebKit::makeStringArrayImpl):
2760
2761 2011-07-13  James Robinson  <jamesr@chromium.org>
2762
2763         [chromium] No implementation defined for WTF::monotonicallyIncreasingTime
2764         https://bugs.webkit.org/show_bug.cgi?id=64420
2765
2766         Reviewed by Tony Gentilcore.
2767
2768         Provides an implementation of WTF::monotonicallyIncreasingTime() alongside the implementation of
2769         WTF::currentTime().
2770
2771         * src/ChromiumCurrentTime.cpp:
2772         (WTF::monotonicallyIncreasingTime):
2773         * src/PlatformBridge.cpp:
2774
2775 2011-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
2776
2777         Chromium DevTools: Enable clear cache and cookies from network panel in chromium.
2778         https://bugs.webkit.org/show_bug.cgi?id=64095
2779
2780         Reviewed by Pavel Feldman.
2781
2782         * src/js/DevTools.js:
2783         ():
2784
2785 2011-07-12  Al Patrick  <apatrick@chromium.org>
2786
2787         Added the ability to dynamically change the parent context of a WebGraphicsContext3D.
2788         GraphicsContext3DInternal::platformTexture uses this to set the parent as appropriate.
2789         https://bugs.webkit.org/show_bug.cgi?id=64397
2790
2791         Reviewed by Kenneth Russell.
2792
2793         * public/WebGraphicsContext3D.h:
2794         (WebKit::WebGraphicsContext3D::setParentContext):
2795         * src/GraphicsContext3DChromium.cpp:
2796         (WebCore::GraphicsContext3DInternal::platformTexture):
2797
2798 2011-07-12  James Robinson  <jamesr@chromium.org>
2799
2800         [chromium] Delete the unused legacy accelerated canvas 2d code
2801         https://bugs.webkit.org/show_bug.cgi?id=64214
2802
2803         Reviewed by Stephen White.
2804
2805         Adds a way to stash a GrContext* on a GraphicsContext3D. Previously, this was handled by
2806         SharedGraphicsContext3D, but we don't need that class any more.  This is used only for the shared
2807         GraphicsContext3D stashed on the Page and shared by all accelerated canvases within the Page, for WebGL and
2808         compositor contexts the GrContext is never set.
2809
2810         * src/GraphicsContext3DChromium.cpp:
2811         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2812         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
2813         (WebCore::GraphicsContext3DInternal::grContext):
2814         (WebCore::GraphicsContext3D::grContext):
2815         * src/GraphicsContext3DInternal.h:
2816
2817 2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
2818
2819         ApplicationCache update should not immediately fail when reaching per-origin quota
2820         https://bugs.webkit.org/show_bug.cgi?id=64177
2821
2822         Reviewed by Alexey Proskuryakov.
2823
2824         * src/ChromeClientImpl.cpp:
2825         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
2826         * src/ChromeClientImpl.h:
2827
2828 2011-07-12  John Bates  <jbates@google.com>
2829
2830         Move call to syncCompositingLayers so that we do not trigger redundant draws.
2831         https://bugs.webkit.org/show_bug.cgi?id=64224
2832
2833         doComposite was triggering two composites every time a canvas was dirtied.
2834         By moving syncCompositingLayers call to layout, the client code can draw without triggering
2835         a redundant frame. Also renamed WebViewImpl::updateLayers to
2836         syncCompositingLayers, because it was confusing.
2837
2838         Reviewed by James Robinson.
2839
2840         * src/WebViewImpl.cpp:
2841         (WebKit::WebViewImpl::layout):
2842         (WebKit::WebViewImpl::syncCompositingLayers):
2843         * src/WebViewImpl.h:
2844
2845 2011-07-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2846
2847         Unreviewed.  Rolled DEPS.
2848
2849         * DEPS:
2850
2851 2011-07-12  Evan Martin  <evan@chromium.org>
2852
2853         [chromium] DRT depends on v8
2854         https://bugs.webkit.org/show_bug.cgi?id=64376
2855
2856         DumpRenderTree.cpp has calls to v8:: functions, so it should have a build
2857         dependency on v8.  This fixes missing references in the shared-object build.
2858
2859         * WebKit.gyp:
2860
2861 2011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
2862
2863         Unreviewed.  Rolled DEPS.
2864
2865         * DEPS:
2866
2867 2011-07-08  Nate Chapin  <japhet@chromium.org>
2868
2869         Check activeDocumentLoader() in
2870         WebFrameImpl::currentHistoryItem() and return
2871         early if null, since that should mean we're
2872         shutting down.
2873         https://bugs.webkit.org/show_bug.cgi?id=52923
2874
2875         Reviewed by Darin Fisher.
2876
2877         No known repro, so no new test.
2878
2879         * src/WebFrameImpl.cpp:
2880         (WebKit::WebFrameImpl::currentHistoryItem):
2881
2882 2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>
2883
2884         Web Inspector: Add support for clearing cache and cookies from network panel.
2885         https://bugs.webkit.org/show_bug.cgi?id=63999
2886
2887         Reviewed by Pavel Feldman.
2888
2889         * public/WebDevToolsAgentClient.h:
2890         (WebKit::WebDevToolsAgentClient::clearBrowserCache):
2891         (WebKit::WebDevToolsAgentClient::clearBrowserCookies):
2892         * src/InspectorClientImpl.cpp:
2893         (WebKit::InspectorClientImpl::clearBrowserCache):
2894         (WebKit::InspectorClientImpl::clearBrowserCookies):
2895         * src/InspectorClientImpl.h:
2896         * src/WebDevToolsAgentImpl.cpp:
2897         (WebKit::WebDevToolsAgentImpl::clearBrowserCache):
2898         (WebKit::WebDevToolsAgentImpl::clearBrowserCookies):
2899         * src/WebDevToolsAgentImpl.h:
2900
2901 2011-07-06  Adam Barth  <abarth@webkit.org>
2902
2903         Unreviewed.  Rolled DEPS.
2904
2905         * DEPS:
2906
2907 2011-07-06  Johnny Ding  <jnd@chromium.org>
2908
2909         https://bugs.webkit.org/show_bug.cgi?id=63857
2910         Check WebWidgetClient before calling it to close widget.  
2911
2912         Reviewed by Tony Chang.
2913
2914         * src/WebPopupMenuImpl.cpp:
2915         (WebKit::WebPopupMenuImpl::popupClosed):
2916
2917 2011-07-06  Adrienne Walker  <enne@google.com>
2918
2919         [chromium] Add compositor texture manager soft limits and lost focus reclaiming
2920         https://bugs.webkit.org/show_bug.cgi?id=64009
2921
2922         Reviewed by James Robinson.
2923
2924         Reclaim textures when the tab loses focus.
2925
2926         * src/WebViewImpl.cpp:
2927         (WebKit::WebViewImpl::setVisibilityState):
2928
2929 2011-06-30  Cris Neckar  <cdn@chromium.org>
2930
2931         Reviewed by Darin Fisher.
2932
2933         Add versioning to Chromium clipboard and prevent polling from inside events.
2934         https://bugs.webkit.org/show_bug.cgi?id=63738
2935
2936         * public/WebClipboard.h:
2937         (WebKit::WebClipboard::getSequenceNumber):
2938         * src/PlatformBridge.cpp:
2939         (WebCore::PlatformBridge::clipboardGetSequenceNumber):
2940
2941 2011-07-06  Ryosuke Niwa  <rniwa@webkit.org>
2942
2943         Rolled DEPS.
2944
2945         * DEPS:
2946
2947 2011-07-05  Yury Semikhatsky  <yurys@chromium.org>
2948
2949         [Chromium] Web Inspector: extend WebSharedWorker with inspector transport methods
2950         https://bugs.webkit.org/show_bug.cgi?id=63942
2951
2952         Added methods for connecting inspector to shared worker and for passing
2953         messages between shared worker inspector and corresponding inspector frontend.
2954
2955         Reviewed by Pavel Feldman.
2956
2957         * public/WebCommonWorkerClient.h:
2958         (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
2959         * public/WebSharedWorker.h:
2960         (WebKit::WebSharedWorker::attachDevTools):
2961         (WebKit::WebSharedWorker::detachDevTools):
2962         (WebKit::WebSharedWorker::dispatchDevToolsMessage):
2963         * public/WebWorkerClient.h:
2964         * src/WebSharedWorkerImpl.cpp:
2965         (WebKit::connectToWorkerContextInspectorTask):
2966         (WebKit::WebSharedWorkerImpl::attachDevTools):
2967         (WebKit::disconnectFromWorkerContextInspectorTask):
2968         (WebKit::WebSharedWorkerImpl::detachDevTools):
2969         (WebKit::dispatchOnInspectorBackendTask):
2970         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
2971         * src/WebSharedWorkerImpl.h:
2972         * src/WebWorkerBase.cpp:
2973         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
2974
2975 2011-07-01  Kent Tamura  <tkent@chromium.org>
2976
2977         [Chromium] Rebaseline for fast/forms/input-file-re-render.html
2978         https://bugs.webkit.org/show_bug.cgi?id=63733
2979
2980         * DEPS: Update chromium revision to 91405 to have "Choose Files" string.
2981
2982 2011-07-01  Michael Nordman  <michaeln@google.com>
2983
2984         Reviewed by Darin Fisher.
2985
2986         [Chromium] FileSystem API can be used to learn about installed software on the user's computer
2987         https://bugs.webkit.org/show_bug.cgi?id=63220
2988
2989         * public/WebMimeRegistry.h:
2990         (WebKit::WebMimeRegistry::wellKnownMimeTypeForExtension):
2991         * src/PlatformBridge.cpp:
2992         (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
2993
2994 2011-07-01  Scott Byer  <scottbyer@chromium.org>
2995
2996         Reviewed by Adam Barth.
2997
2998         Smooth scrolling fixes
2999         https://bugs.webkit.org/show_bug.cgi?id=63770
3000
3001         Fix issues found in manual testing; distill the traces into unit tests. Fix the issues the tests exposed in the
3002         scroll animation code.
3003
3004         * tests/ScrollAnimatorNoneTest.cpp:
3005         (ScrollAnimatorNoneTest::updateDataFromParameters):
3006         (TEST_F):
3007
3008 2011-07-01  Hans Wennborg  <hans@chromium.org>
3009
3010         IndexedDB: make LevelDB the default back-end
3011         https://bugs.webkit.org/show_bug.cgi?id=63817
3012
3013         Reviewed by Tony Chang.
3014
3015         Use LevelDB as the default back-end.
3016
3017         Covered by existing layout tests for indexeddb, which will now be
3018         using the LevelDB back-end.
3019
3020         * src/WebIDBFactoryImpl.cpp:
3021         (WebKit::WebIDBFactoryImpl::open):
3022
3023 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
3024
3025         Reviewed by Ojan Vafai.
3026
3027         Move m_isDirectional from FrameSelection to VisibleSelection
3028         https://bugs.webkit.org/show_bug.cgi?id=63473
3029
3030         Don't pass MakeNonDirectionalSelection to setSelection since no other port does this.
3031
3032         * src/WebFrameImpl.cpp:
3033         (WebKit::WebFrameImpl::selectRange):
3034
3035 2011-07-01  Andrew Scherkus  <scherkus@chromium.org>
3036
3037         Reviewed by Darin Fisher.
3038
3039         Re-enable WTF_USE_WEBAUDIO_FFMPEG for Chromium
3040         https://bugs.webkit.org/show_bug.cgi?id=63783
3041
3042         * features.gypi:
3043
3044 2011-07-01  Tony Chang  <tony@chromium.org>
3045
3046         Fix the chromium build.  sql is a new top level directory.
3047
3048         * DEPS:
3049
3050 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
3051
3052         Rolled DEPS.
3053
3054         * DEPS:
3055
3056 2011-06-30  Noel Gordon  <noel.gordon@gmail.com>
3057
3058         Reviewed by Hajime Morita.
3059
3060         [Chromium] Remove WebBindings::makeNode.
3061         https://bugs.webkit.org/show_bug.cgi?id=63613
3062
3063         Dead code elimination. No change in behaviour, so no new tests.
3064
3065         * public/WebBindings.h:
3066         * src/WebBindings.cpp:
3067
3068 2011-06-30  Kent Tamura  <tkent@chromium.org>
3069
3070         Reviewed by Darin Fisher.
3071
3072         [Chromium] Implement WebCore::defaultDetailsSummaryText()
3073         https://bugs.webkit.org/show_bug.cgi?id=63700
3074
3075         * public/WebLocalizedString.h: Add new key.
3076         * src/LocalizedStrings.cpp: Call query() with the new key.
3077         (WebCore::defaultDetailsSummaryText):
3078
3079 2011-06-30  Andrew Scherkus  <scherkus@chromium.org>
3080
3081         Unreviewed.
3082
3083         Temporarily disabling WTF_USE_WEBAUDIO_FFMPEG due to FFmpeg update.
3084
3085         * features.gypi:
3086
3087 2011-06-30  John Bates  <jbates@google.com>
3088
3089         Reviewed by James Robinson.
3090
3091         Chromium bug: Compositing on a lost context causes latch deadlocks.
3092         The cause of deadlock was that a setLatch command is added to the lost
3093         compositor GL context, and a waitLatch would never complete on a child context.
3094         This change checks whether the compositor context is in error state before
3095         doing the compositing.
3096         https://bugs.webkit.org/show_bug.cgi?id=63681
3097
3098         * src/WebViewImpl.cpp:
3099         (WebKit::WebViewImpl::composite):
3100
3101 2011-06-30  Cary Clark  <caryclark@google.com>
3102
3103         Reviewed by James Robinson.
3104
3105         Use Skia if Skia on Mac Chrome is enabled
3106         https://bugs.webkit.org/show_bug.cgi?id=62999
3107
3108         * WebKit.gyp:
3109         If building for Skia, exclude CG files.
3110         If not, exclude Skia files.
3111
3112         * features.gypi:
3113         Enable Skia on Chromium Mac if so instructed by the gyp define.
3114         Allow Skia to be hardware accelerated on the Mac.
3115
3116         * public/WebCommon.h:
3117         If Skia is defined on the Mac, define it in the WebXXX
3118         interfaces as well.
3119
3120 2011-06-30  Sreeram Ramachandran  <sreeram@chromium.org>
3121
3122         Reviewed by Adam Barth.
3123
3124         Suppress modal JavaScript/HTML dialogs during unload events
3125         https://bugs.webkit.org/show_bug.cgi?id=56397
3126
3127         Implementation of the new shouldRunModalDialogDuringPageDismissal() API
3128         to block alerts during unload handlers. Logs such events to the console
3129         and updates histograms.
3130
3131         * src/ChromeClientImpl.cpp:
3132         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
3133         * src/ChromeClientImpl.h:
3134
3135 2011-06-30  Anders Carlsson  <andersca@apple.com>
3136
3137         Reviewed by Dan Bernstein.
3138
3139         More ScrollableArea scaffolding
3140         https://bugs.webkit.org/show_bug.cgi?id=63678
3141
3142         Add an enclosingScrollableArea stub.
3143
3144         * src/WebScrollbarImpl.cpp:
3145         (WebKit::WebScrollbarImpl::enclosingScrollableArea):
3146         * src/WebScrollbarImpl.h:
3147
3148 2011-06-28  Hans Wennborg  <hans@chromium.org>
3149
3150         Reviewed by Tony Chang.
3151
3152         IndexedDB: Prepare for running layout tests with LevelDB
3153         https://bugs.webkit.org/show_bug.cgi?id=63593
3154
3155         WebIDBFactory should decide what DefaultBackingStore means.
3156         Also fix handling of layout test and incognito mode properly.
3157
3158         * src/WebIDBFactoryImpl.cpp:
3159         (WebKit::WebIDBFactoryImpl::open):
3160
3161 2011-06-30  Alexander Pavlov  <apavlov@chromium.org>
3162
3163         Reviewed by Kent Tamura.
3164
3165         [Chromium] Autofill suggestions appear in upper left corner after input change
3166         https://bugs.webkit.org/show_bug.cgi?id=63702
3167
3168         * src/ChromeClientImpl.cpp:
3169         (WebKit::ChromeClientImpl::screenToWindow): Implemented.
3170         * src/WebViewImpl.cpp:
3171         (WebKit::WebViewImpl::refreshAutoFillPopup): Pass screen (not window) coordinates into setWindowRect().
3172
3173 2011-06-30  Kentaro Hara  <haraken@google.com>
3174
3175         Reviewed by Kent Tamura.
3176
3177         Change the label of an HTML5 file chooser button to "Choose Files"
3178         https://bugs.webkit.org/show_bug.cgi?id=49245
3179
3180         We should notify capability of multiple files to users.
3181
3182         Test: fast/forms/input-file-label.html
3183
3184         * DEPS:
3185         * public/WebLocalizedString.h: Depends on chromium_rev>=91051.
3186         * src/LocalizedStrings.cpp:
3187         (WebCore::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
3188
3189 2011-06-29  James Hawkins  <jhawkins@chromium.org>
3190
3191         Reviewed by Pavel Feldman.
3192
3193         [Chromium] Fix a crash on when executeCommand(copy) is called on a null node.
3194         https://bugs.webkit.org/show_bug.cgi?id=63626
3195
3196         * src/WebFrameImpl.cpp:
3197         (WebKit::pluginContainerFromNode):
3198
3199 2011-06-29  Andrey Kosyakov  <caseq@chromium.org>
3200
3201         Reviewed by Pavel Feldman.
3202
3203         Web Inspector: backend needs to provide system-unique object ids, so these remain unique across navigation
3204         https://bugs.webkit.org/show_bug.cgi?id=62894
3205
3206         * public/WebDevToolsAgent.h:
3207         * src/WebDevToolsAgentImpl.cpp:
3208         (WebKit::WebDevToolsAgentImpl::setAgentProcessIdentifier):
3209         * src/WebDevToolsAgentImpl.h:
3210
3211 2011-06-28  Ilya Sherman  <isherman@chromium.org>
3212
3213         Reviewed by Adam Barth.
3214
3215         form.autocomplete="off" does not work
3216         https://bugs.webkit.org/show_bug.cgi?id=35823
3217
3218         * src/EditorClientImpl.cpp:
3219         (WebKit::EditorClientImpl::autofill): Update callsite.
3220         * src/WebFormElement.cpp:
3221         (WebKit::WebFormElement::autoComplete): Update callsite.
3222         * src/WebInputElement.cpp:
3223         (WebKit::WebInputElement::autoComplete): Update callsite.
3224         * src/WebPasswordFormUtils.cpp:
3225         (WebKit::findPasswordFormFields): Update callsite.
3226
3227 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
3228
3229         Rolled DEPS.
3230
3231         * DEPS:
3232
3233 2011-06-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3234
3235         Unreviewed, rolling out r89968.
3236         http://trac.webkit.org/changeset/89968
3237         https://bugs.webkit.org/show_bug.cgi?id=63581
3238
3239         Broke chromium windows compile (Requested by jamesr on
3240         #webkit).
3241
3242         * WebKit.gyp:
3243         * features.gypi:
3244         * public/WebCommon.h:
3245
3246 2011-06-28  Cary Clark  <caryclark@google.com>
3247
3248         Reviewed by James Robinson.
3249
3250         Use Skia if Skia on Mac Chrome is enabled
3251         https://bugs.webkit.org/show_bug.cgi?id=62999
3252
3253         * WebKit.gyp:
3254         If building for Skia, exclude CG files.
3255         If not, exclude Skia files.
3256
3257         * features.gypi:
3258         Enable Skia on Chromium Mac if so instructed by the gyp define.
3259         Allow Skia to be hardware accelerated on the Mac.
3260
3261         * public/WebCommon.h:
3262         If Skia is defined on the Mac, define it in the WebXXX
3263         interfaces as well.
3264
3265 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
3266
3267         Rolled DEPS.
3268
3269         * DEPS:
3270
3271 2011-06-27  James Hawkins  <jhawkins@chromium.org>
3272
3273         Reviewed by Darin Fisher.
3274
3275         [Chromium] Pass an optional WebNode that is the node receiving the context menu action.
3276         https://bugs.webkit.org/show_bug.cgi?id=63503
3277
3278         * public/WebFrame.h:
3279         * src/WebFrameImpl.cpp:
3280         (WebKit::pluginContainerFromNode):
3281         (WebKit::WebFrameImpl::executeCommand):
3282         (WebKit::WebFrameImpl::printBegin):
3283         * src/WebFrameImpl.h:
3284
3285 2011-06-27  Ryosuke Niwa  <rniwa@webkit.org>
3286
3287         Rolled DEPS.
3288
3289         * DEPS:
3290
3291 2011-06-27  Jay Civelli  <jcivelli@chromium.org>
3292
3293         Reviewed by Darin Fisher.
3294
3295         Adding binary part support to MHTML.
3296         https://bugs.webkit.org/show_bug.cgi?id=63310
3297
3298         * public/WebPageSerializer.h:
3299         * src/WebPageSerializer.cpp:
3300         (WebKit::WebPageSerializer::serializeToMHTML):
3301         (WebKit::WebPageSerializer::serializeToMHTMLUsingBinaryEncoding):
3302
3303 2011-05-17  Nat Duca  <nduca@chromium.org>
3304
3305         Reviewed by James Robinson.
3306
3307         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
3308         https://bugs.webkit.org/show_bug.cgi?id=58408
3309
3310         Redirect invalidates and scheduling into compositor when in
3311         threaded compositing mode. Add stress tests for CCLayerTreeHost.
3312
3313         * WebKit.gypi:
3314         * public/WebWidget.h:
3315         * src/WebPopupMenuImpl.cpp:
3316         (WebKit::WebPopupMenuImpl::animate):
3317         * src/WebPopupMenuImpl.h:
3318         * src/WebViewImpl.cpp:
3319         (WebKit::WebViewImpl::animate):
3320         (WebKit::WebViewImpl::paint):
3321         (WebKit::WebViewImpl::animateAndLayout):
3322         (WebKit::WebViewImpl::updateLayers):
3323         (WebKit::WebViewImpl::composite):
3324         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3325         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3326         (WebKit::WebViewImpl::doComposite):
3327         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
3328         (WebKit::WebViewImpl::reallocateRenderer):
3329         (WebKit::WebViewImpl::updateLayerRendererSettings):
3330         (WebKit::WebViewImpl::updateLayerRendererViewport):
3331         * src/WebViewImpl.h:
3332         * tests/CCLayerTreeHostTest.cpp: Added.
3333         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3334         (WTF::CCLayerTreeHostTest::animateAndLayout):
3335         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
3336         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
3337         (WTF::CCLayerTreeHostTest::commitOnCCThread):
3338         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
3339         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
3340         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
3341         (WTF::CCLayerTreeHostTest::updateLayers):
3342         (WTF::CCLayerTreeHostTest::onBeginTest):
3343         (WTF::CCLayerTreeHostTest::doEndTest):
3344         (WTF::CCLayerTreeHostTest::onEndTest):
3345         (WTF::CCLayerTreeHostTest::runTest):
3346         (WTF::CCLayerTreeHostTest::testTimeout):
3347         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
3348         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3349         (WTF::MockLayerTreeHostClient::animateAndLayout):
3350         (WTF::MockLayerTreeHostClient::updateLayers):
3351         (WTF::MockLayerTreeHostCommitter::create):
3352         (WTF::MockLayerTreeHostCommitter::commit):
3353         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
3354         (WTF::MockLayerTreeHostImpl::create):
3355         (WTF::MockLayerTreeHostImpl::beginCommit):
3356         (WTF::MockLayerTreeHostImpl::commitComplete):
3357         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
3358         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
3359         (WTF::MockLayerTreeHostImplProxy::create):
3360         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
3361         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
3362         (WTF::MockLayerTreeHost::MockLayerTreeHost):
3363         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
3364         (WTF::MockLayerTreeHost::updateLayers):
3365         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
3366         (WTF::MockLayerTreeHost::beginCommit):
3367         (WTF::MockLayerTreeHost::commitComplete):
3368         (WTF::CCLayerTreeHostTest::doBeginTest):
3369         (WTF::CCLayerTreeHostTest::endTest):
3370         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
3371         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
3372         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
3373         (WTF::TEST_F):
3374         (WTF::CCLayerTreeHostTestShortlived2::CCLayerTreeHostTestShortlived2):
3375         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
3376         (WTF::CCLayerTreeHostTestShortlived2::afterTest):
3377         (WTF::CCLayerTreeHostTestShortlived3::CCLayerTreeHostTestShortlived3):
3378         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
3379         (WTF::CCLayerTreeHostTestShortlived3::afterTest):
3380         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::CCLayerTreeHostTestCommitingWithContinuousRedraw):
3381         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
3382         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
3383         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
3384         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::afterTest):
3385         (WTF::CCLayerTreeHostTestSetNeedsCommit1::CCLayerTreeHostTestSetNeedsCommit1):
3386         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
3387         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
3388         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
3389         (WTF::CCLayerTreeHostTestSetNeedsCommit1::afterTest):
3390         (WTF::CCLayerTreeHostTestSetNeedsCommit2::CCLayerTreeHostTestSetNeedsCommit2):
3391         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
3392         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
3393         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
3394         (WTF::CCLayerTreeHostTestSetNeedsCommit2::afterTest):
3395         (WTF::CCLayerTreeHostTestSetNeedsRedraw::CCLayerTreeHostTestSetNeedsRedraw):
3396         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
3397         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
3398         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
3399         (WTF::CCLayerTreeHostTestSetNeedsRedraw::afterTest):
3400         * tests/CCThreadTest.cpp:
3401         (WebCore::TEST):
3402
3403 2011-06-27  Yuta Kitamura  <yutak@chromium.org>
3404
3405         Reviewed by Adam Barth.
3406
3407         [Chromium] Add useHixie76WebSocketProtocol to WebSettings
3408         https://bugs.webkit.org/show_bug.cgi?id=63424
3409
3410         * public/WebSettings.h:
3411         * src/WebSettingsImpl.cpp:
3412         (WebKit::WebSettingsImpl::setHixie76WebSocketProtocolEnabled):
3413         * src/WebSettingsImpl.h:
3414
3415 2011-06-26  Adam Barth  <abarth@webkit.org>
3416
3417         Reviewed by Eric Seidel.
3418
3419         [Chromium] Remove WebSecurityOrigin::grantUniversalAccess
3420         https://bugs.webkit.org/show_bug.cgi?id=63415
3421
3422         This function has no callers and is downright dangerous.
3423
3424         * public/WebSecurityOrigin.h:
3425         * src/WebSecurityOrigin.cpp:
3426
3427 2011-06-26  Adam Barth  <abarth@webkit.org>
3428
3429         Reviewed by Eric Seidel.
3430
3431         [Chromium] Remove code behind WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
3432         https://bugs.webkit.org/show_bug.cgi?id=63402
3433
3434         These old APIs are no longer needed.
3435
3436         * public/WebFrame.h:
3437         * src/WebFrameImpl.cpp:
3438         * src/WebFrameImpl.h:
3439
3440 2011-06-25  Adam Barth  <abarth@webkit.org>
3441
3442         Reviewed by Eric Seidel.
3443
3444         [Chromium] Update WebKit for WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
3445         https://bugs.webkit.org/show_bug.cgi?id=63394
3446
3447         * src/FrameLoaderClientImpl.cpp:
3448         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
3449
3450 2011-06-25  Adam Barth  <abarth@webkit.org>
3451
3452         Roll Chromium DEPS.
3453
3454         * DEPS:
3455
3456 2011-06-25  Adam Barth  <abarth@webkit.org>
3457
3458         Unreviewed build fix.  Remove ifdefs around these two functions because
3459         we're not planning to move them.  This patch makes WebFrameImpl.h
3460         consistent with WebFrame.h so we can build with the new API
3461         configuration.
3462
3463         * src/WebFrameImpl.h:
3464
3465 2011-06-24  Nat Duca  <nduca@chromium.org>
3466
3467         Unreviewed, rolling out r89694.
3468         http://trac.webkit.org/changeset/89694
3469         https://bugs.webkit.org/show_bug.cgi?id=58408
3470
3471         Test shell still not ready for animate changes.
3472
3473         * WebKit.gypi:
3474         * public/WebWidget.h:
3475         (WebKit::WebWidget::animate):
3476         (WebKit::WebWidget::composite):
3477         * src/WebPopupMenuImpl.cpp:
3478         (WebKit::WebPopupMenuImpl::animate):
3479         * src/WebPopupMenuImpl.h:
3480         * src/WebViewImpl.cpp:
3481         (WebKit::WebViewImpl::resize):
3482         (WebKit::WebViewImpl::animate):
3483         (WebKit::WebViewImpl::paint):
3484         (WebKit::WebViewImpl::composite):
3485         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
3486         (WebKit::WebView::zoomLevelToZoomFactor):
3487         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3488         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3489         (WebKit::WebViewImpl::doComposite):
3490         (WebKit::WebViewImpl::reallocateRenderer):
3491         (WebKit::WebViewImpl::updateLayerRendererViewport):
3492         (WebKit::WebViewImpl::graphicsContext3D):
3493         * src/WebViewImpl.h:
3494         * tests/CCLayerTreeHostTest.cpp: Removed.
3495         * tests/CCThreadTest.cpp:
3496         (WebCore::TEST):
3497
3498 2011-05-17  Nat Duca  <nduca@chromium.org>
3499
3500         Reviewed by James Robinson.
3501
3502         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
3503         https://bugs.webkit.org/show_bug.cgi?id=58408
3504
3505         Redirect invalidates and scheduling into compositor when in
3506         threaded compositing mode. Add stress tests for CCLayerTreeHost.
3507
3508         * WebKit.gypi:
3509         * public/WebWidget.h:
3510         * src/WebPopupMenuImpl.cpp:
3511         (WebKit::WebPopupMenuImpl::animate):
3512         * src/WebPopupMenuImpl.h:
3513         * src/WebViewImpl.cpp:
3514         (WebKit::WebViewImpl::animate):
3515         (WebKit::WebViewImpl::paint):
3516         (WebKit::WebViewImpl::animateAndLayout):
3517         (WebKit::WebViewImpl::updateLayers):
3518         (WebKit::WebViewImpl::composite):
3519         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3520         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3521         (WebKit::WebViewImpl::doComposite):
3522         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
3523         (WebKit::WebViewImpl::reallocateRenderer):