2010-11-29 Dimitri Glazkov Remove Build directory that was erroneously added in r72103. * Build: Removed. 2010-11-29 Andrey Kosyakov Reviewed by Darin Fisher. Web Inspector: [Chromium] Expose extension API to select a node in WebInspector Added WebDevToolsAgent::inspect() https://bugs.webkit.org/show_bug.cgi?id=49727 * public/WebDevToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::inspectNode): * src/WebDevToolsAgentImpl.h: 2010-11-29 Dimitri Glazkov [Chromium] Remove python_24 dependency, because it is no longer necessary. * DEPS: Removed python_24 dependency. 2010-11-29 Bernhard Bauer Reviewed by Jeremy Orlow. Remove databaseFileName from WebIDBFactory https://bugs.webkit.org/show_bug.cgi?id=50150 * WebKit.gyp: * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * src/WebIDBFactory.cpp: Removed. 2010-11-26 Andrei Popescu Reviewed by Jeremy Orlow. IDBDatabase and IDBObjectStore remove* methods should be renamed to delete* https://bugs.webkit.org/show_bug.cgi?id=50113 * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::deleteObjectStore): (WebKit::WebIDBDatabase::removeObjectStore): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::remove): (WebKit::WebIDBObjectStore::deleteFunction): (WebKit::WebIDBObjectStore::deleteIndex): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::deleteObjectStore): * src/IDBDatabaseProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::deleteFunction): (WebCore::IDBObjectStoreProxy::deleteIndex): * src/IDBObjectStoreProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::deleteObjectStore): * src/WebIDBDatabaseImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::deleteFunction): (WebKit::WebIDBObjectStoreImpl::deleteIndex): * src/WebIDBObjectStoreImpl.h: 2010-11-26 Jeremy Orlow Reviewed by Steve Block. Make IDBKeyRange match the spec https://bugs.webkit.org/show_bug.cgi?id=50105 Remove flags and instead add two booleans for being open. Change left to lower and right to upper everywhere. * public/WebIDBKeyRange.h: (WebKit::WebIDBKeyRange::WebIDBKeyRange): * src/WebIDBKeyRange.cpp: (WebKit::WebIDBKeyRange::assign): (WebKit::WebIDBKeyRange::left): (WebKit::WebIDBKeyRange::right): (WebKit::WebIDBKeyRange::lower): (WebKit::WebIDBKeyRange::upper): (WebKit::WebIDBKeyRange::lowerOpen): (WebKit::WebIDBKeyRange::upperOpen): (WebKit::WebIDBKeyRange::flags): 2010-11-25 Jeremy Orlow Reviewed by Steve Block. Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore https://bugs.webkit.org/show_bug.cgi?id=50081 Plumb IDBTransaction.objectStore's exception code. * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::objectStore): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::transaction): * src/IDBTransactionBackendProxy.cpp: (WebCore::IDBTransactionBackendProxy::objectStore): * src/IDBTransactionBackendProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::createObjectStore): (WebKit::WebIDBDatabaseImpl::transaction): * src/WebIDBTransactionImpl.cpp: (WebKit::WebIDBTransactionImpl::objectStore): * src/WebIDBTransactionImpl.h: 2010-11-26 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames https://bugs.webkit.org/show_bug.cgi?id=50102 Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::objectStores): (WebKit::WebIDBDatabase::objectStoreNames): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::objectStoreNames): * src/IDBDatabaseProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::objectStoreNames): * src/WebIDBDatabaseImpl.h: 2010-11-26 Andrei Popescu Reviewed by Jeremy Orlow. IDBFactory::open should not have a description argument. https://bugs.webkit.org/show_bug.cgi?id=50087 * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::description): * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * src/IDBFactoryBackendProxy.cpp: (WebCore::IDBFactoryBackendProxy::open): * src/IDBFactoryBackendProxy.h: * src/WebIDBDatabaseImpl.cpp: * src/WebIDBDatabaseImpl.h: * src/WebIDBFactory.cpp: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::open): * src/WebIDBFactoryImpl.h: 2010-11-25 Ilya Tikhonovsky Unreviewed. Roll chromium 67004:67404. * DEPS: 2010-11-25 Jeremy Orlow Reviewed by Steve Block. Add exception code to WebIDBTransaction::objectStore https://bugs.webkit.org/show_bug.cgi?id=50030 * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::objectStore): 2010-11-24 MORITA Hajime Reviewed by Kent Tamura. [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick() https://bugs.webkit.org/show_bug.cgi?id=50052 makeStringArrayImpl() assumed wtf::StringImpl data is null-terminated. But it is not. Changed the code to pass the string length explicitly instead of making it computed by v8::String::New(). * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): 2010-11-24 Eric Uhrhane Reviewed by David Levin. [Chromium] Implement FileWriterSync https://bugs.webkit.org/show_bug.cgi?id=49940 Added waitForOperationToComplete, delegating to the bridge. * src/WorkerAsyncFileWriterChromium.cpp: * src/WorkerAsyncFileWriterChromium.h: Added waitForOperationToComplete and some debug-only code to make sure it's working properly. * src/WorkerFileWriterCallbacksBridge.cpp: (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread): (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread): (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread): (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge): (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread): (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread): (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread): (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete): * src/WorkerFileWriterCallbacksBridge.h: 2010-11-24 Kenneth Russell Reviewed by Darin Fisher. [chromium] Disable antialiasing for compositor https://bugs.webkit.org/show_bug.cgi?id=50039 * src/WebViewImpl.cpp: (WebCore::getCompositorContextAttributes): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::graphicsContext3D): 2010-11-24 Satish Sampath Reviewed by Steve Block. Remove API migration code which is no longer used. https://bugs.webkit.org/show_bug.cgi?id=50013 * public/WebSpeechInputControllerMock.h: 2010-11-23 Sheriff Bot Unreviewed, rolling out r72628. http://trac.webkit.org/changeset/72628 https://bugs.webkit.org/show_bug.cgi?id=49994 This patch is causing layout-test failtures on GTK Linux 64-bit Debug (Requested by ctguil on #webkit). * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::parentObject): 2010-11-23 Chris Guillory Reviewed by Dimitri Glazkov. Include the FrameView widget of a RenderWidget in the accessibility tree. https://bugs.webkit.org/show_bug.cgi?id=49106 * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::equals): (WebKit::WebAccessibilityObject::parentObject): 2010-11-23 John Knottenbelt Reviewed by Darin Fisher. [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition. https://bugs.webkit.org/show_bug.cgi?id=49735 Introduce WebKit API types so that the browser implementation can feed position and error updates to the WebCore::GeolocationController. * WebKit.gyp: * public/WebGeolocationError.h: Added. (WebKit::WebGeolocationError::WebGeolocationError): (WebKit::WebGeolocationError::~WebGeolocationError): * public/WebGeolocationPosition.h: Added. (WebKit::WebGeolocationPosition::WebGeolocationPosition): (WebKit::WebGeolocationPosition::~WebGeolocationPosition): * src/WebGeolocationError.cpp: Added. (WebKit::WebGeolocationError::assign): (WebKit::WebGeolocationError::reset): (WebKit::WebGeolocationError::WebGeolocationError): (WebKit::WebGeolocationError::operator=): (WebKit::WebGeolocationError::operator WTF::PassRefPtr): * src/WebGeolocationPosition.cpp: Added. (WebKit::WebGeolocationPosition::assign): (WebKit::WebGeolocationPosition::reset): (WebKit::WebGeolocationPosition::operator=): (WebKit::WebGeolocationPosition::operator PassRefPtr): 2010-11-23 Jonathan Backer Reviewed by Kenneth Russell. Renderer is resizing IOSurfaces when accelerated compositing is disabled. https://bugs.webkit.org/show_bug.cgi?id=49827 - IOSurfaces are only presented when accelerated compositing is enabled. - Slight performance increase (and clean-up for using this path for Linux and Windows). * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): 2010-11-23 Grace Kloba Reviewed by Kenneth Russell. [chromium] Accumulated scroll damage rect should be in the content space https://bugs.webkit.org/show_bug.cgi?id=49842 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect. 2010-11-18 Darin Fisher Reviewed by Dimitri Glazkov. Add a mechanism for creating a WebURLLoader that is associated with a particular WebFrame. https://bugs.webkit.org/show_bug.cgi?id=49764 This will be used by code that calls webKitClient()->createURLLoader() from within the Chromium source tree. An associated WebURLLoader should be treated like a subresource of the WebFrame's document. * WebKit.gyp: * public/WebFrame.h: * src/AssociatedURLLoader.cpp: Added. (WebKit::AssociatedURLLoader::AssociatedURLLoader): (WebKit::AssociatedURLLoader::~AssociatedURLLoader): (WebKit::AssociatedURLLoader::loadSynchronously): (WebKit::AssociatedURLLoader::loadAsynchronously): (WebKit::AssociatedURLLoader::cancel): (WebKit::AssociatedURLLoader::setDefersLoading): (WebKit::AssociatedURLLoader::PrepareRequest): * src/AssociatedURLLoader.h: Added. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::createAssociatedURLLoader): * src/WebFrameImpl.h: 2010-11-23 Satish Sampath Unreviewed, chromium build fix. * public/WebSpeechInputControllerMock.h: (WebKit::WebSpeechInputControllerMock::setMockRecognitionResult): 2010-11-18 Satish Sampath Reviewed by Jeremy Orlow. For speech input event, send an event object containing all the recognition results and metadata. https://bugs.webkit.org/show_bug.cgi?id=49736 Updated mock object's method to new signature. * public/WebSpeechInputControllerMock.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult): * src/WebSpeechInputControllerMockImpl.h: 2010-11-22 Alexey Marinichev Reviewed by Kenneth Russell. [chromium] Implement Extensions3DChromium::getGraphicsResetStatusARB https://bugs.webkit.org/show_bug.cgi?id=49946 * public/WebGraphicsContext3D.h: added isContextLost() * src/Extensions3DChromium.cpp: (WebCore::Extensions3DChromium::getGraphicsResetStatusARB): * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::isContextLost): * src/GraphicsContext3DInternal.h: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::isContextLost): * src/WebGraphicsContext3DDefaultImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::reallocateRenderer): ensure root layer repaining 2010-11-22 Jay Civelli Reviewed by David Levin. Don't create an external popup menu when there are no items to show. https://bugs.webkit.org/show_bug.cgi?id=49937 * src/ExternalPopupMenu.cpp: (WebKit::ExternalPopupMenu::show): 2010-11-22 Nat Duca Reviewed by Kenneth Russell. [chromium] Send didActivateAcceleratedCompositing when compositor initializes but does not create the shared context3d. https://bugs.webkit.org/show_bug.cgi?id=49930 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-11-22 Tony Chang Unreviewed, roll Chromium DEPS to r67004. * DEPS: 2010-11-22 Pavel Feldman Not reviewed. Partially roll out r72282. It should not have modified devtools files. * src/js/devTools.css: 2010-11-19 Ilya Sherman Reviewed by Darin Fisher. Expose default value of maxLength in Chromium API https://bugs.webkit.org/show_bug.cgi?id=49723 * public/WebInputElement.h: Added constant defaultMaximumLength * src/WebInputElement.cpp: 2010-11-18 Zhenyao Mo Reviewed by Kenneth Russell. GraphicsContext3D::reshape is clearing using current clear color instead of transparent https://bugs.webkit.org/show_bug.cgi?id=44064 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Use 0 as clear values. 2010-11-19 Tony Chang Unreviewed, updating Chromium DEPS to try and fix the chromium win build. * DEPS: r66792 2010-11-19 Tony Chang Reviewed by Kent Tamura. [chromium] Enable webkit's TestNetscapePlugIn for DRT on win and linux https://bugs.webkit.org/show_bug.cgi?id=49706 It is enabled simply by copying the plugin into {Debug,Release}/plugins. This change also rolls in a version of Chromium that disables the old plugin. * WebKit.gyp: 2010-11-19 Sheriff Bot Unreviewed, rolling out r72399. http://trac.webkit.org/changeset/72399 https://bugs.webkit.org/show_bug.cgi?id=49805 Broke Chromium build (Requested by antonm_ on #webkit). * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::popupOpened): * src/ChromeClientImpl.h: 2010-11-19 Jay Civelli Reviewed by David Levin. Removing unused code to show popup externally on Mac. https://bugs.webkit.org/show_bug.cgi?id=49747 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::popupOpened): * src/ChromeClientImpl.h: 2010-11-19 Pavel Feldman Not reviewed: flip chromium version to mitigate two-sided patch impact. * DEPS: 2010-11-18 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: provide response code and status text as a part of raw headers data. https://bugs.webkit.org/show_bug.cgi?id=49668 * WebKit.gyp: * public/WebHTTPLoadInfo.h: Renamed from WebKit/chromium/public/WebResourceRawHeaders.h. (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo): (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo): (WebKit::WebHTTPLoadInfo::operator =): * public/WebURLResponse.h: * src/WebHTTPLoadInfo.cpp: Renamed from WebKit/chromium/src/WebResourceRawHeaders.cpp. (WebKit::WebHTTPLoadInfo::initialize): (WebKit::WebHTTPLoadInfo::reset): (WebKit::WebHTTPLoadInfo::assign): (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo): (WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr): (WebKit::WebHTTPLoadInfo::responseCode): (WebKit::WebHTTPLoadInfo::setResponseCode): (WebKit::WebHTTPLoadInfo::statusText): (WebKit::WebHTTPLoadInfo::setStatusText): (WebKit::addHeader): (WebKit::WebHTTPLoadInfo::addRequestHeader): (WebKit::WebHTTPLoadInfo::addResponseHeader): * src/WebURLResponse.cpp: (WebKit::WebURLResponse::httpLoadInfo): (WebKit::WebURLResponse::setHTTPLoadInfo): 2010-11-18 Kent Tamura Reviewed by Tony Chang. Add more validation message functions https://bugs.webkit.org/show_bug.cgi?id=49716 Add implementations of new functions and symbols for new messages. * public/WebLocalizedString.h: * src/LocalizedStrings.cpp: (WebCore::validationMessageValueMissingForCheckboxText): (WebCore::validationMessageValueMissingForFileText): (WebCore::validationMessageValueMissingForMultipleFileText): (WebCore::validationMessageValueMissingForRadioText): (WebCore::validationMessageValueMissingForSelectText): 2010-11-18 Tony Chang Unreviewed, fix chromium compile. We need ipc and openssl now. * DEPS: 2010-11-18 James Robinson Reviewed by David Levin. [chromium] Update chromium DEPS to r66658 to pick up skia roll https://bugs.webkit.org/show_bug.cgi?id=49754 * DEPS: 2010-11-18 Jeremy Orlow Reviewed by Darin Fisher. [chromium] IndexedDB API cleanup https://bugs.webkit.org/show_bug.cgi?id=49733 Make it so that you can't directly instantiate our "interface" classes. Remove some code for 2 sided merges. * public/WebIDBCursor.h: (WebKit::WebIDBCursor::WebIDBCursor): * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::WebIDBDatabase): * public/WebIDBIndex.h: (WebKit::WebIDBIndex::WebIDBIndex): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::WebIDBObjectStore): * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::WebIDBTransaction): * src/IDBTransactionBackendProxy.cpp: (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy): 2010-11-18 Pavel Feldman Reviewed by Yury Semikhatsky. Chrome DevTools: minify front-end JavaScript. https://bugs.webkit.org/show_bug.cgi?id=49657 * scripts/concatenate_js_files.py: * scripts/jsmin.py: Added. 2010-11-18 Chris Rogers Reviewed by Dimitri Glazkov. Add loadPlatformAudioResource() and decodeAudioFileData() to ChromiumBridge https://bugs.webkit.org/show_bug.cgi?id=49557 * WebKit.gyp: * public/WebAudioBus.h: Added. (WebKit::WebAudioBus::WebAudioBus): * public/WebKitClient.h: (WebKit::WebKitClient::decodeAudioFileData): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::loadPlatformAudioResource): (WebCore::ChromiumBridge::decodeAudioFileData): * src/WebAudioBus.cpp: Added. (WebKit::WebAudioBus::~WebAudioBus): (WebKit::WebAudioBus::initialize): (WebKit::WebAudioBus::numberOfChannels): (WebKit::WebAudioBus::length): (WebKit::WebAudioBus::sampleRate): (WebKit::WebAudioBus::channelData): (WebKit::WebAudioBus::release): 2010-11-17 Sheriff Bot Unreviewed, rolling out r72228. http://trac.webkit.org/changeset/72228 https://bugs.webkit.org/show_bug.cgi?id=49712 Caused many >10 regressions on Win and Linux gpu layout test runs. (Requested by dave_levin on #webkit). * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::bytesPerComponent): (WebKit::componentsPerPixel): (WebKit::imageSizeInBytes): (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): 2010-11-17 Dimitri Glazkov Reviewed by Darin Adler. Converge means of querying a parent node into one way, which is Node::parentNode. https://bugs.webkit.org/show_bug.cgi?id=49686 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::insertStyleText): Changed to use parentNode. (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): Ditto. 2010-11-16 Zhenyao Mo Reviewed by Kenneth Russell. WebGLRenderingContext needs to zero textures and renderbuffers https://bugs.webkit.org/show_bug.cgi?id=49355 * src/WebGraphicsContext3DDefaultImpl.cpp: Don't deal with texture initialization at this level. 2010-11-17 Satish Sampath Reviewed by Jeremy Orlow. Clear the speech input mock explicitly before each test. https://bugs.webkit.org/show_bug.cgi?id=49660 * public/WebSpeechInputControllerMock.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::clearResults): Added method to clear results. * src/WebSpeechInputControllerMockImpl.h: 2010-11-17 Eric Uhrhane Reviewed by David Levin. [Chromium] implementation of async FileWriter for workers https://bugs.webkit.org/show_bug.cgi?id=47681 Tests are in a separate changelist. Added new files. * WebKit.gyp: * src/WorkerAsyncFileSystemChromium.cpp: Added WorkerAsyncFileWriterChromium construction. * src/WorkerAsyncFileWriterChromium.cpp: Added. * src/WorkerAsyncFileWriterChromium.h: Added. This class bridges between the context and main threads for the WorkerAsyncFileWriterChromium. * src/WorkerFileWriterCallbacksBridge.cpp: Added. * src/WorkerFileWriterCallbacksBridge.h: Added. 2010-11-17 John Mellor Reviewed by Darin Fisher. [chromium] Expose frame flattening setting in WebSettings. https://bugs.webkit.org/show_bug.cgi?id=49621 * public/WebSettings.h: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setFrameFlatteningEnabled): * src/WebSettingsImpl.h: 2010-11-17 Jonathan Backer Reviewed by Kenneth Russell. [Chromium] Resize initiated by renderer. https://bugs.webkit.org/show_bug.cgi?id=49617 To address synchronization issues with resizing, make resize work like DARWIN. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): 2010-11-17 Stuart Morgan Reviewed by Dimitri Glazkov. Fix click count for mouse-up events. - clickCount for mouse up was lost in conversion from NSEvent - clickCount was also lost when disptaching events through the plugin mouse capture event codepath. https://bugs.webkit.org/show_bug.cgi?id=49290 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleInputEvent): * src/mac/WebInputEventFactory.mm: (WebKit::WebInputEventFactory::mouseEvent): 2010-11-11 Zhenyao Mo Reviewed by Kenneth Russell. Implement UNPACK_COLORSPACE_CONVERSION_WEBGL https://bugs.webkit.org/show_bug.cgi?id=47196 * src/WebImageDecoder.cpp: (WebKit::WebImageDecoder::init): Add ignoreGammaAndColorProfile parameter. 2010-11-12 Zhenyao Mo Reviewed by Kenneth Russell. Refactor GL backend flags https://bugs.webkit.org/show_bug.cgi?id=49460 * public/WebGraphicsContext3D.h: Remove GL flag queries at this level. * src/GraphicsContext3DChromium.cpp: Ditto. * src/GraphicsContext3DInternal.h: Ditto. * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. * src/WebGraphicsContext3DDefaultImpl.h: Ditto. 2010-11-16 Pavel Feldman Not reviewed. Chromium build fix. * WebKit.gyp: * scripts/concatenate_css_files.py: Renamed from WebKit/chromium/Build/concatenate_css_files.py. * scripts/concatenate_js_files.py: Renamed from WebKit/chromium/Build/concatenate_js_files.py. * scripts/generate_devtools_html.py: Renamed from WebKit/chromium/Build/generate_devtools_html.py. 2010-11-16 Pavel Feldman Reviewed by Yury Semikhatsky. Chrome DevTools: concatenate CSS files, do not link missing JS files in release mode. https://bugs.webkit.org/show_bug.cgi?id=49586 * Build/concatenate_css_files.py: Added. * Build/concatenate_js_files.py: Added. * Build/generate_devtools_html.py: Added. * WebKit.gyp: 2010-11-15 Nat Duca Reviewed by Darin Fisher. [chromium] Make WebWidget actively notify client when compositing enables. https://bugs.webkit.org/show_bug.cgi?id=49396 * public/WebWidgetClient.h: (WebKit::WebWidgetClient::didAcceleratedCompositingEnable): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::setRootLayerNeedsDisplay): (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-11-15 Kenneth Russell Reviewed by James Robinson. [chromium] Remove assumption that GL functions are function pointers https://bugs.webkit.org/show_bug.cgi?id=49486 Added appropriate extension queries and no longer assume that GL function names are function pointers which can be tested. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::reshape): (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap): (WebKit::WebGraphicsContext3DDefaultImpl::getString): * src/WebGraphicsContext3DDefaultImpl.h: 2010-11-15 Ilya Sherman Reviewed by Kent Tamura. Add capability for displaying warnings to autofill popup Warnings are displayed in dark gray italic. https://bugs.webkit.org/show_bug.cgi?id=49291 http://code.google.com/p/chromium/issues/detail?id=58509 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Updated logic -- can only remove Autocomplete suggestions, which have unique ID 0. (WebKit::AutoFillPopupMenuClient::itemIsEnabled): False for warnings. (WebKit::AutoFillPopupMenuClient::itemStyle): Dark gray italic for warnings. (WebKit::AutoFillPopupMenuClient::menuStyle): Variable name changed. (WebKit::AutoFillPopupMenuClient::itemIsWarning): True for unique ID < 0. (WebKit::AutoFillPopupMenuClient::initialize): Updated cached styles (see above). * src/AutoFillPopupMenuClient.h: Added itemIsEnabled(), variable to cache warning style. * src/WebViewImpl.cpp: Minor cleanup. (WebKit::WebViewImpl::applyAutoFillSuggestions): 2010-11-14 Kent Tamura Reviewed by Dimitri Glazkov. Improve API for form validation message strings https://bugs.webkit.org/show_bug.cgi?id=34945 * public/WebLocalizedString.h: * src/LocalizedStrings.cpp: (WebCore::validationMessageTypeMismatchForEmailText): (WebCore::validationMessageTypeMismatchForMultipleEmailText): (WebCore::validationMessageTypeMismatchForURLText): (WebCore::validationMessageTooLongText): (WebCore::validationMessageRangeUnderflowText): (WebCore::validationMessageRangeOverflowText): (WebCore::validationMessageStepMismatchText): 2010-11-13 Shinichiro Hamaji Reviewed by Kent Tamura. [Chromium] print doesn't work on http://nodejs.org/api.html https://bugs.webkit.org/show_bug.cgi?id=49304 * src/WebFrameImpl.cpp: (WebKit::ChromePrintContext::begin): (WebKit::WebFrameImpl::printBegin): 2010-11-12 James Simonsen Reviewed by Darin Fisher. [Web Timing] Rename interfaces: - Navigation -> PerformanceNavigation - Timing -> PerformanceTiming https://bugs.webkit.org/show_bug.cgi?id=48919 * src/WebPerformance.cpp: (WebKit::WebPerformance::navigationType): 2010-11-12 Zhenyao Mo Reviewed by James Robinson. WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations https://bugs.webkit.org/show_bug.cgi?id=48282 Simple fix for a regression introduced in r71793. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 2010-11-12 Ilya Sherman Reviewed by Eric Seidel. Remove some trailing whitespace https://bugs.webkit.org/show_bug.cgi?id=49433 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::createPopupMenu): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): 2010-11-11 MORITA Hajime Unreviewed another attempt to fx windows build. * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): 2010-11-11 MORITA Hajime Unreviewed attempt to fx windows build. * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): 2010-11-11 MORITA Hajime Reviewed by Kent Tamura. editing/selection/context-menu-on-text.html fails on chromium https://bugs.webkit.org/show_bug.cgi?id=45898 Added makeStringArray(), that is used by DumpRenderTree. * public/WebBindings.h: * src/WebBindings.cpp: (WebKit::makeStringArrayImpl): Added. (WebKit::WebBindings::makeStringArray): Added. 2010-11-11 Tony Gentilcore Reviewed by Nate Chapin. [chromium] Convert WebPerformance doubles to seconds https://bugs.webkit.org/show_bug.cgi?id=49232 This makes them suitable for passing to Time::FromDoubleT(). * src/WebPerformance.cpp: (WebKit::millisecondsToSeconds): (WebKit::WebPerformance::navigationStart): (WebKit::WebPerformance::unloadEventEnd): (WebKit::WebPerformance::redirectStart): (WebKit::WebPerformance::redirectEnd): (WebKit::WebPerformance::fetchStart): (WebKit::WebPerformance::domainLookupStart): (WebKit::WebPerformance::domainLookupEnd): (WebKit::WebPerformance::connectStart): (WebKit::WebPerformance::connectEnd): (WebKit::WebPerformance::requestStart): (WebKit::WebPerformance::requestEnd): (WebKit::WebPerformance::responseStart): (WebKit::WebPerformance::responseEnd): (WebKit::WebPerformance::loadEventStart): (WebKit::WebPerformance::loadEventEnd): 2010-11-11 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: signal IDBFactoryBackendInterface destruction to embedder https://bugs.webkit.org/show_bug.cgi?id=49313 Implement ChromiumBridge::idbShutdown(), passing through to the WebKitClient. * public/WebKitClient.h: (WebKit::WebKitClient::idbShutdown): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::idbShutdown): 2010-11-10 Kenneth Russell Reviewed by James Robinson. [chromium] Clean up gfx::GetGLImplementation calls in WebGraphicsContext3DDefaultImpl https://bugs.webkit.org/show_bug.cgi?id=49336 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::reshape): (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): 2010-11-10 Evan Stade Reviewed by Tony Chang. [chromium] menu key doesn't work when capslock or numslock is on https://bugs.webkit.org/show_bug.cgi?id=49289 Add a special bitmask for the "input" modifier keys (shift, alt, crtl, meta). The Modifier enum has grown to something that might be better termed State, but changing the nomenclature now is difficult. The bitmask gets its name from the related function getWebInputModifiers. * public/WebInputEvent.h: add InputModifiers mask for true modifier keys * src/WebViewImpl.cpp: disregard non-modifier keys (WebKit::WebViewImpl::keyEvent): 2010-11-10 Csaba Osztrogonác Reviewed by David Hyatt. HTML5 Ruby support should be mandatory feature https://bugs.webkit.org/show_bug.cgi?id=49272 Remove Ruby as optional feature. * features.gypi: 2010-11-10 Tony Chang Unreviewed, add libvpx as a chromium dependency. This should fix the chromium linux build. * DEPS: 2010-11-10 Peter Rybin Reviewed by Adam Barth. HTML parser should provide script column position within HTML document to JavaScript engine https://bugs.webkit.org/show_bug.cgi?id=45271 Replaces script line number with TextPosition structure. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::executeScriptAndReturnValue): 2010-11-09 Kenneth Russell Reviewed by James Robinson. WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations https://bugs.webkit.org/show_bug.cgi?id=48282 Fixed assumptions in WebGraphicsContext3DDefaultImpl that it was running on top of desktop GL. Tested various WebGL demos on Windows with ANGLE and --in-process-webgl --disable-accelerated-compositing; all are now working. Verified that --use-gl=desktop continues to work in the same configuration. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant): (WebKit::WebGraphicsContext3DDefaultImpl::reshape): (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): * src/WebGraphicsContext3DDefaultImpl.h: 2010-11-09 Kent Tamura Reviewed by Dimitri Glazkov. [Chromium] Add form validation message support to WebLocalizedString.h https://bugs.webkit.org/show_bug.cgi?id=49239 * DEPS: Roll Chromium revision to r65502 to have crrev.com/65502 * public/WebLocalizedString.h: Add new symbols * src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions. (WebCore::validationMessageValueMissingText): (WebCore::validationMessageTypeMismatchText): (WebCore::validationMessagePatternMismatchText): (WebCore::validationMessageTooLongText): (WebCore::validationMessageRangeUnderflowText): (WebCore::validationMessageRangeOverflowText): (WebCore::validationMessageStepMismatchText): 2010-11-09 Tony Chang Unreviewed, rolling chromium DEPS. * DEPS: Roll to r65462. 2010-11-09 Mihai Parparita Unreviewed Chromium Windows build fix. Add isDisplayNone to the PopupMenuStyle constructor call in PopupMenuTest (necessary after r71618). * tests/PopupMenuTest.cpp: (WebKit::TestPopupMenuClient::itemStyle): 2010-11-09 Shinichiro Hamaji Reviewed by Dimitri Glazkov. [Chromium] display:none has no effect on