1. 22 Sep, 2013 1 commit
  2. 21 Oct, 2011 1 commit
    • abarth@webkit.org's avatar
      Event.h shouldn't need to know about every ifdef and feature that uses events · 090fa4b0
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=70483
      
      Reviewed by Eric Seidel.
      
      This patch expands make_event_factory.pl to create a
      DOM_EVENT_INTERFACES_FOR_EACH macro that we can use to generate code
      for each Event interface.  We then apply that macro to removing a large
      number of virtual functions on Event.  Instead of having a Boolean
      virtual function for each subclass of Event, we have a single virtual
      interfaceName function, which returns an AtomicString.  We then use the
      AtomicString to jump through a HashMap to find the appropriate
      JavaScript wrapper type.
      
      This patch does not remove all of the Boolean virtual functions because
      I got exhausted making all of these edits, but I did remove all the
      ones that involve ifdefs.  A future patch will remove more.
      
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSEventCustom.cpp:
      (WebCore::toJS):
      * bindings/v8/custom/V8EventCustom.cpp:
      (WebCore::toV8):
      * dom/BeforeLoadEvent.h:
      (WebCore::BeforeLoadEvent::interfaceName):
      (WebCore::BeforeLoadEvent::isBeforeLoadEvent):
      * dom/BeforeTextInsertedEvent.cpp:
      (WebCore::BeforeTextInsertedEvent::interfaceName):
      * dom/BeforeTextInsertedEvent.h:
      * dom/ClipboardEvent.cpp:
      (WebCore::ClipboardEvent::interfaceName):
      * dom/ClipboardEvent.h:
      * dom/CompositionEvent.cpp:
      (WebCore::CompositionEvent::interfaceName):
      * dom/CompositionEvent.h:
      * dom/CustomEvent.cpp:
      (WebCore::CustomEvent::interfaceName):
      * dom/CustomEvent.h:
      * dom/DeviceMotionEvent.cpp:
      (WebCore::DeviceMotionEvent::interfaceName):
      * dom/DeviceMotionEvent.h:
      * dom/DeviceOrientationEvent.cpp:
      (WebCore::DeviceOrientationEvent::interfaceName):
      * dom/DeviceOrientationEvent.h:
      * dom/ErrorEvent.cpp:
      (WebCore::ErrorEvent::interfaceName):
      * dom/ErrorEvent.h:
      * dom/Event.cpp:
      (WebCore::Event::interfaceName):
      * dom/Event.h:
      * dom/EventNames.cpp:
      (WebCore::EventNames::EventNames):
      * dom/EventNames.h:
      * dom/HashChangeEvent.h:
      (WebCore::HashChangeEvent::interfaceName):
      * dom/KeyboardEvent.cpp:
      (WebCore::KeyboardEvent::interfaceName):
      * dom/KeyboardEvent.h:
      * dom/MessageEvent.cpp:
      (WebCore::MessageEvent::interfaceName):
      * dom/MessageEvent.h:
      * dom/MouseEvent.cpp:
      (WebCore::MouseEvent::interfaceName):
      * dom/MouseEvent.h:
      * dom/MutationEvent.cpp:
      (WebCore::MutationEvent::interfaceName):
      * dom/MutationEvent.h:
      * dom/OverflowEvent.cpp:
      (WebCore::OverflowEvent::interfaceName):
      * dom/OverflowEvent.h:
      * dom/PageTransitionEvent.cpp:
      (WebCore::PageTransitionEvent::interfaceName):
      * dom/PageTransitionEvent.h:
      * dom/PopStateEvent.cpp:
      (WebCore::PopStateEvent::interfaceName):
      * dom/PopStateEvent.h:
      * dom/ProgressEvent.cpp:
      (WebCore::ProgressEvent::interfaceName):
      * dom/ProgressEvent.h:
      * dom/TextEvent.cpp:
      (WebCore::TextEvent::interfaceName):
      * dom/TextEvent.h:
      * dom/TouchEvent.cpp:
      (WebCore::TouchEvent::interfaceName):
      * dom/TouchEvent.h:
      * dom/UIEvent.h:
      * dom/WebKitAnimationEvent.cpp:
      (WebCore::WebKitAnimationEvent::interfaceName):
      * dom/WebKitAnimationEvent.h:
      * dom/WebKitTransitionEvent.cpp:
      (WebCore::WebKitTransitionEvent::interfaceName):
      * dom/WebKitTransitionEvent.h:
      * dom/WheelEvent.cpp:
      (WebCore::WheelEvent::interfaceName):
      * dom/WheelEvent.h:
      * dom/make_event_factory.pl:
      (printFactoryFile):
      (printMacroFile):
      (printHeadersFile):
      * html/canvas/WebGLContextEvent.cpp:
      (WebCore::WebGLContextEvent::interfaceName):
      * html/canvas/WebGLContextEvent.h:
      * inspector/InspectorDOMStorageResource.cpp:
      (WebCore::InspectorDOMStorageResource::handleEvent):
      * p2p/MediaStreamEvent.cpp:
      (WebCore::MediaStreamEvent::interfaceName):
      * p2p/MediaStreamEvent.h:
      * page/SpeechInputEvent.cpp:
      (WebCore::SpeechInputEvent::interfaceName):
      * page/SpeechInputEvent.h:
      * storage/IDBVersionChangeEvent.cpp:
      (WebCore::IDBVersionChangeEvent::interfaceName):
      * storage/IDBVersionChangeEvent.h:
      * storage/StorageEvent.cpp:
      (WebCore::StorageEvent::interfaceName):
      * storage/StorageEvent.h:
      * svg/SVGZoomEvent.cpp:
      (WebCore::SVGZoomEvent::interfaceName):
      * svg/SVGZoomEvent.h:
      * webaudio/AudioProcessingEvent.cpp:
      (WebCore::AudioProcessingEvent::interfaceName):
      * webaudio/AudioProcessingEvent.h:
      * webaudio/OfflineAudioCompletionEvent.cpp:
      (WebCore::OfflineAudioCompletionEvent::interfaceName):
      * webaudio/OfflineAudioCompletionEvent.h:
      * websockets/CloseEvent.h:
      (WebCore::CloseEvent::interfaceName):
      * xml/XMLHttpRequestProgressEvent.h:
      (WebCore::XMLHttpRequestProgressEvent::interfaceName):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      090fa4b0
  3. 04 Sep, 2011 1 commit
    • weinig@apple.com's avatar
      Document.createEvent should support all the interfaces of Event we got · 1a8cc9d9
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=67568
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Updated fast/events/event-creation.html
      
      * dom/BeforeLoadEvent.h:
      (WebCore::BeforeLoadEvent::create):
      (WebCore::BeforeLoadEvent::BeforeLoadEvent):
      Added empty create.
              
      * dom/Document.cpp:
      (WebCore::Document::createEvent):
      Add missing interfaces.
      
      * dom/HashChangeEvent.h:
      (WebCore::HashChangeEvent::create):
      (WebCore::HashChangeEvent::HashChangeEvent):
      Added empty create.
      
      * page/SpeechInputEvent.cpp:
      (WebCore::SpeechInputEvent::create):
      (WebCore::SpeechInputEvent::SpeechInputEvent):
      (WebCore::SpeechInputEvent::~SpeechInputEvent):
      * page/SpeechInputEvent.h:
      Added empty create.
      
      LayoutTests: 
      
      * fast/events/event-creation.html:
      Converted to shouldBe style test, changed prototype check to us instanceof and constructor check,
      added enumeration based catchall.
      
      * fast/events/event-instanceof-expected.txt: Removed.
      * fast/events/event-instanceof.html: Removed.
      * fast/events/script-tests/event-instanceof.js: Removed.
      Moved contents to fast/events/event-creation.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a8cc9d9
  4. 08 Jan, 2011 1 commit
  5. 23 Nov, 2010 1 commit
    • satish@chromium.org's avatar
      2010-11-18 Satish Sampath <satish@chromium.org> · a739a241
      satish@chromium.org authored
              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
      
              * fast/speech/input-onspeechchange-event-expected.txt: Added.
              * fast/speech/input-onspeechchange-event.html: New test to check multiple results.
              * fast/speech/input-text-language-tag.html: Updated with new method signature.
              * fast/speech/input-text-speechbutton.html: Ditto.
              * fast/speech/speech-button-ignore-generated-events.html: Ditto.
      2010-11-18  Satish Sampath  <satish@chromium.org>
      
              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
      
              Currently the speech input event 'onwebkitspeechchange' receives no parameters. WebCore already
              has the full list of recognition results and populates only the top result into the input field
              automatically. In this patch we pass a SpeechInputEvent object to the event handler, and the JS
              code can access the full list of results via "event.results.length", "results[i].utterance" and
              "results[i].confidence". Also updated mock object with appropriate methods to test multiple results.
      
              Test: fast/speech/input-onspeechchange-event.html
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSEventCustom.cpp:
              (WebCore::toJS): Added new event
              * bindings/v8/custom/V8EventCustom.cpp:
              (WebCore::toV8): Added new event
              * dom/Event.cpp:
              (WebCore::Event::isSpeechInputEvent):
              * dom/Event.h:
              * html/HTMLInputElement.cpp:
              * html/HTMLInputElement.h:
              * page/SpeechInputEvent.h: New file implementing SpeechInputEvent.idl
              (WebCore::SpeechInputEvent::~SpeechInputEvent):
              (WebCore::SpeechInputEvent::create):
              (WebCore::SpeechInputEvent::isSpeechInputEvent):
              (WebCore::SpeechInputEvent::results):
              (WebCore::SpeechInputEvent::SpeechInputEvent):
              * page/SpeechInputEvent.idl: New file defining SpeechInputEvent object
              * page/SpeechInputListener.h:
              * page/SpeechInputResult.cpp:
              (WebCore::SpeechInputResult::create):
              * page/SpeechInputResult.h:
              * page/SpeechInputResult.idl: New file defining a single SpeechInputResult object
              * page/SpeechInputResultList.h: New file implementing SpeechInputResultList.idl
              (WebCore::SpeechInputResultList::create):
              (WebCore::SpeechInputResultList::length):
              (WebCore::SpeechInputResultList::item):
              (WebCore::SpeechInputResultList::SpeechInputResultList):
              * page/SpeechInputResultList.idl: New file defining a list of SpeechInputResult objects
              * platform/mock/SpeechInputClientMock.cpp:
              (WebCore::SpeechInputClientMock::addRecognitionResult): Renamed method and added one parameter.
              (WebCore::SpeechInputClientMock::clearResults):
              (WebCore::SpeechInputClientMock::timerFired):
              * platform/mock/SpeechInputClientMock.h:
              * rendering/TextControlInnerElements.cpp:
              (WebCore::InputFieldSpeechButtonElement::setRecognitionResult): Pass new event object to handler.
      2010-11-18  Satish Sampath  <satish@chromium.org>
      
              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-18  Satish Sampath  <satish@chromium.org>
      
              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 DRT by renaming the mock result method on all platforms to the new signature.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (addMockSpeechInputResultCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::addMockSpeechInputResult):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::addMockSpeechInputResult):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::addMockSpeechInputResult):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::addMockSpeechInputResult):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::addMockSpeechInputResult):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::addMockSpeechInputResult):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a739a241
  6. 25 Oct, 2010 1 commit
    • satish@chromium.org's avatar
      2010-10-21 Satish Sampath <satish@chromium.org> · bc97234a
      satish@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Allow embedder to pass on all the speech recognition results to the input element.
              https://bugs.webkit.org/show_bug.cgi?id=48068
      
              No new tests added as functionality has not changed, tests will be added in the next
              patch where these results are exposed as an attribute to scripts.
      
              * Android.mk: Added new source files.
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * page/SpeechInput.cpp:
              (WebCore::SpeechInput::setRecognitionResult): Accept an array instead of a single string.
              * page/SpeechInput.h:
              * page/SpeechInputListener.h:
              * page/SpeechInputResult.cpp: Added, defines a class for managing a speech input result.
              (WebCore::SpeechInputResult::create):
              (WebCore::SpeechInputResult::SpeechInputResult):
              (WebCore::SpeechInputResult::confidence):
              (WebCore::SpeechInputResult::utterance):
              * page/SpeechInputResult.h: Added.
              * platform/mock/SpeechInputClientMock.cpp:
              (WebCore::SpeechInputClientMock::timerFired):
              * rendering/TextControlInnerElements.cpp:
              (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
              * rendering/TextControlInnerElements.h:
      2010-10-21  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              Allow embedder to pass on all the speech recognition results to the input element.
              https://bugs.webkit.org/show_bug.cgi?id=48068
      
              * WebKit.gyp: Added new files
              * public/WebSpeechInputListener.h:
              * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult
              (WebKit::WebSpeechInputResult::WebSpeechInputResult):
              (WebKit::WebSpeechInputResult::~WebSpeechInputResult):
              * src/SpeechInputClientImpl.cpp:
              (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string.
              * src/SpeechInputClientImpl.h:
              * src/WebSpeechInputControllerMockImpl.cpp:
              (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
              * src/WebSpeechInputControllerMockImpl.h:
              * src/WebSpeechInputResult.cpp: Added.
              (WebKit::WebSpeechInputResult::reset):
              (WebKit::WebSpeechInputResult::WebSpeechInputResult):
              (WebKit::WebSpeechInputResult::set):
              (WebKit::WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc97234a
  7. 14 Dec, 2009 1 commit
    • eric@webkit.org's avatar
      2009-12-14 Andrei Popescu <andreip@google.com> · a9d61ba9
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              [Android] Android needs ResourceHandle implementation
              https://bugs.webkit.org/show_bug.cgi?id=32515
      
              Adds implementation of ResourceHandle on Android.
      
              No new tests needed, this is platform-specific code, so existing
              tests are sufficient.
      
              * platform/network/android/ResourceHandleAndroid.cpp: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::bufferedData):
              (WebCore::ResourceHandle::supportsBufferedData):
              (WebCore::ResourceHandle::setDefersLoading):
              (WebCore::ResourceHandle::willLoadFromCache):
              (WebCore::ResourceHandle::loadsBlocked):
              (WebCore::SyncLoader::SyncLoader):
              (WebCore::SyncLoader::~SyncLoader):
              (WebCore::SyncLoader::didReceiveResponse):
              (WebCore::SyncLoader::didReceiveData):
              (WebCore::SyncLoader::didFail):
              (WebCore::ResourceHandle::loadResourceSynchronously):
              * platform/network/android/ResourceLoaderAndroid.h: Added.
              (WebCore::ResourceLoaderAndroid::~ResourceLoaderAndroid):
              (WebCore::ResourceLoaderAndroid::ResourceLoaderAndroid):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9d61ba9
  8. 01 Dec, 2009 1 commit
    • eric@webkit.org's avatar
      2009-12-01 Steve Block <steveblock@google.com> · bc2e427e
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Adds V8 bindings for Geolocation.
              https://bugs.webkit.org/show_bug.cgi?id=30206
      
              Also adds Geolocation files to Chrome build files.
      
              * WebCore.gyp/WebCore.gyp: Modified. Corrects list of Geolocation IDL files.
              * WebCore.gypi: Modified. Adds Geolocation files.
              * bindings/v8/DOMObjectsInclude.h: Modified. Adds Geolocation includes.
              * bindings/v8/DerivedSourcesAllInOne.cpp: Modified. Adds Geolocation files.
              * bindings/v8/V8Index.cpp: Modified. Includes Geolocation generated headers.
              * bindings/v8/V8Index.h: Modified. Adds Geolocation types to DOM_OBJECT_TYPES.
              * bindings/v8/custom/V8CoordinatesCustom.cpp: Added. Handles optional properties.
              * bindings/v8/custom/V8CustomBinding.h: Modified. Declares callbacks and getters.
              * bindings/v8/custom/V8CustomPositionCallback.cpp: Added.
              (WebCore::V8CustomPositionCallback::V8CustomPositionCallback): Added. Constructor.
              (WebCore::V8CustomPositionCallback::~V8CustomPositionCallback): Added. Destructor.
              (WebCore::V8CustomPositionCallback::handleEvent): Added. Invokes callback.
              * bindings/v8/custom/V8CustomPositionCallback.h: Added.
              (WebCore::V8CustomPositionCallback::create): Added. Factory method.
              * bindings/v8/custom/V8CustomPositionErrorCallback.cpp: Added.
              (WebCore::V8CustomPositionErrorCallback::V8CustomPositionErrorCallback): Added. Constructor.
              (WebCore::V8CustomPositionErrorCallback::~V8CustomPositionErrorCallback): Added. Destructor.
              (WebCore::V8CustomPositionErrorCallback::handleEvent): Added. Invokes callback.
              * bindings/v8/custom/V8CustomPositionErrorCallback.h: Added.
              (WebCore::V8CustomPositionErrorCallback::create): Added. Factory method.
              * bindings/v8/custom/V8GeolocationCustom.cpp: Added.
              (WebCore::throwTypeMismatchException): Added. Throws a type mismatch error.
              (WebCore::createPositionCallback): Added. Handles type checking for successCallback argument.
              (WebCore::createPositionErrorCallback): Added. Handles type checking for errorCallback argument.
              (WebCore::createPositionOptions): Added. Handles type checking for positionOptions argument.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc2e427e
  9. 25 Nov, 2009 1 commit
  10. 18 Nov, 2009 1 commit
  11. 10 Jun, 2009 2 commits
  12. 06 Aug, 2008 1 commit
    • eric@webkit.org's avatar
      Reviewed by Cameron Zwarich. · 0683d949
      eric@webkit.org authored
              Move more methods from Frame into ScriptController
              https://bugs.webkit.org/show_bug.cgi?id=20294
      
              Finally finish more of the work which Darin started long ago
              Move a few more Frame methods into ScriptController.
              I also took this opportunity to clean up some of the plugin
              code as well, and moved some of that into ScriptController.
      
              I removed Frame::clearScriptController() and ScriptController::clear() is now clearWindowShell()
      
              No functional changes, thus no test cases.
      
              * GNUmakefile.am:
              * WebCore.NPAPI.exp:
              * WebCore.base.exp:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::ScriptController):
              (WebCore::ScriptController::~ScriptController):
              (WebCore::ScriptController::bindingRootObject):
              (WebCore::ScriptController::createRootObject):
              (WebCore::ScriptController::windowScriptNPObject):
              (WebCore::ScriptController::createScriptObjectForPluginElement): New method.
              (WebCore::ScriptController::clearPlatformScriptObjects):
              (WebCore::ScriptController::disconnectPlatformScriptObjects):
              (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
              (WebCore::ScriptController::clearScriptObjects):
              * bindings/js/ScriptController.h:
              (WebCore::ScriptController::sourceURL):
              (WebCore::ScriptController::clearFormerWindow):
              * bindings/js/ScriptControllerGtk.cpp: Copied from WebCore/page/gtk/FrameGtk.cpp.
              (WebCore::Frame::createScriptInstanceForWidget):
              * bindings/js/ScriptControllerMac.mm: Added.
              (WebCore::ScriptController::createScriptInstanceForWidget):
              (WebCore::ScriptController::windowScriptObject):
              (WebCore::ScriptController::clearPlatformScriptObjects):
              (WebCore::ScriptController::disconnectPlatformScriptObjects):
              (WebCore::updateRenderingForBindings):
              (WebCore::ScriptController::initJavaJSBindings):
              * bindings/js/ScriptControllerQt.cpp: Copied from WebCore/page/gtk/FrameGtk.cpp.
              (WebCore::ScriptController::createScriptInstanceForWidget):
              * bindings/js/ScriptControllerWin.cpp: Copied from WebCore/svg/graphics/cg/SVGResourceMaskerCg.cpp.
              (WebCore::ScriptController::createScriptInstanceForWidget):
              * bindings/objc/DOM.mm:
              (-[DOMNode KJS::Bindings::]):
              * bindings/objc/DOMInternal.mm:
              (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * bridge/jni/jni_jsobject.mm:
              (createRootObject):
              * html/HTMLAppletElement.cpp:
              (WebCore::HTMLAppletElement::renderWidgetForJSBindings):
              * html/HTMLAppletElement.h:
              * html/HTMLEmbedElement.cpp:
              (WebCore::findWidgetRenderer):
              (WebCore::HTMLEmbedElement::renderWidgetForJSBindings):
              * html/HTMLEmbedElement.h:
              * html/HTMLObjectElement.cpp:
              (WebCore::HTMLObjectElement::~HTMLObjectElement):
              (WebCore::HTMLObjectElement::renderWidgetForJSBindings):
              (WebCore::HTMLObjectElement::detach):
              * html/HTMLObjectElement.h:
              * html/HTMLPlugInElement.cpp:
              (WebCore::HTMLPlugInElement::~HTMLPlugInElement):
              (WebCore::HTMLPlugInElement::detach):
              (WebCore::HTMLPlugInElement::getInstance):
              (WebCore::HTMLPlugInElement::parseMappedAttribute):
              (WebCore::HTMLPlugInElement::getNPObject):
              * html/HTMLPlugInElement.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::clear):
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::~Frame):
              (WebCore::Frame::pageDestroyed):
              (WebCore::FramePrivate::FramePrivate):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/gtk/FrameGtk.cpp:
              * page/mac/FrameMac.mm:
              * page/qt/FrameQt.cpp:
              * page/win/FrameWin.cpp:
              (WebCore::computePageRectsForFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0683d949
  13. 15 Jun, 2008 1 commit
    • darin@apple.com's avatar
      WebCore: · 92aaa2a0
      darin@apple.com authored
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSAudioConstructor.h:
              * bindings/js/JSCustomSQLStatementCallback.cpp:
              * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
              * bindings/js/JSCustomSQLTransactionCallback.cpp:
              * bindings/js/JSCustomSQLTransactionErrorCallback.cpp:
              * bindings/js/JSCustomVoidCallback.cpp:
              * bindings/js/JSCustomXPathNSResolver.cpp:
              * bindings/js/JSDOMBinding.cpp: Copied from WebCore/bindings/js/kjs_binding.cpp.
              * bindings/js/JSDOMBinding.h: Copied from WebCore/bindings/js/kjs_binding.h.
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDOMWindowShell.cpp:
              * bindings/js/JSDOMWindowShell.h:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLFrameElementCustom.cpp:
              * bindings/js/JSHTMLFrameSetElementCustom.cpp:
              * bindings/js/JSHTMLIFrameElementCustom.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSImageConstructor.h:
              * bindings/js/JSLocationCustom.cpp:
              * bindings/js/JSNamedNodeMapCustom.cpp:
              * bindings/js/JSNamedNodesCollection.h:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCustom.cpp:
              * bindings/js/JSRGBColor.h:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSXMLHttpRequestConstructor.h:
              * bindings/js/JSXSLTProcessorConstructor.h:
              * bindings/js/JSXSLTProcessorCustom.cpp:
              * bindings/js/ScheduledAction.cpp:
              (WebCore::ScheduledAction::execute):
              * bindings/js/ScriptController.cpp: Copied from WebCore/bindings/js/kjs_proxy.cpp.
              * bindings/js/ScriptController.h: Copied from WebCore/bindings/js/kjs_proxy.h.
              * bindings/js/kjs_binding.cpp: Removed.
              * bindings/js/kjs_binding.h: Removed.
              * bindings/js/kjs_events.cpp:
              (WebCore::JSAbstractEventListener::handleEvent):
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_proxy.cpp: Removed.
              * bindings/js/kjs_proxy.h: Removed.
              * bindings/objc/DOMInternal.mm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/jni/jni_jsobject.mm:
              * dom/Document.cpp:
              * dom/EventTarget.cpp:
              * dom/Node.cpp:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::startElementNs):
              * history/CachedPage.cpp:
              (WebCore::CachedPage::CachedPage):
              (WebCore::CachedPage::restore):
              * html/HTMLPlugInElement.cpp:
              * html/HTMLScriptElement.cpp:
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::processToken):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeScript):
              * page/Frame.cpp:
              (WebCore::Frame::scriptProxy):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/InspectorController.cpp:
              * page/JavaScriptDebugServer.cpp:
              * page/JavaScriptProfileNode.cpp:
              * page/Page.cpp:
              * page/gtk/FrameGtk.cpp:
              * page/mac/FrameMac.mm:
              * page/qt/FrameQt.cpp:
              * page/win/FrameWin.cpp:
              * plugins/PluginView.cpp:
              (WebCore::getString):
              * plugins/gtk/PluginViewGtk.cpp:
              * plugins/qt/PluginViewQt.cpp:
              * plugins/win/PluginViewWin.cpp:
              * svg/SVGDocumentExtensions.cpp:
              * xml/XMLHttpRequest.cpp:
      
      WebKit/gtk:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              * webkit/webkitwebframe.cpp:
      
      WebKit/mac:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebView/WebFrame.mm:
              * WebView/WebScriptDebugDelegate.mm:
              * WebView/WebView.mm:
      
      WebKit/qt:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * Api/qwebframe.cpp:
              (QWebFrame::evaluateJavaScript):
              * WebKit_pch.h:
      
      WebKit/win:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebFrame.cpp:
      
      WebKit/wx:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebView.cpp:
      
      WebKitTools:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              * Scripts/do-webcore-rename: Moved planned renames into a separate hash
              from the actual renames. Removed many renames that are either done or
              no longer planned.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92aaa2a0
  14. 01 May, 2008 1 commit
  15. 22 Apr, 2008 1 commit
    • weinig@apple.com's avatar
      2008-04-22 Sam Weinig <sam@webkit.org> · f804579a
      weinig@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Make DOMAbstractView have a weak reference to the Frame instead of ref'ing
              the DOMWindow.
      
              To ensure that the WindowScriptObject (which is a DOMAbstractView) stays valid
              after a navigation once the split window is completed, the DOMAbstractView must
              wrap the Frame instead of a DOMWindow since the DOMWindow will change.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOMAbstractView.mm: Added.
              (-[DOMAbstractView dealloc]):
              (-[DOMAbstractView finalize]):
              (-[DOMAbstractView document]):
              (-[DOMAbstractView _disconnectFrame]):
              (-[DOMAbstractView WebCore::]):
              (-[DOMAbstractView _initWithFrame:WebCore::]):
              (+[DOMAbstractView _wrapAbstractView:WebCore::]):
              Add custom implementation to implement weak reference semantics.
      
              * bindings/objc/DOMAbstractViewFrame.h: Added.
              Declare the [DOMAbstractView _disconectFrame] selector.
              * bindings/objc/DOMInternal.h:
              Remove DOMRGBColor Internal category since it is now generated.
      
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              Don't ever create a DOMAbstractView from a JSDOMWindow, only from JSDOMWindowWrapper.
      
              * bindings/scripts/CodeGeneratorObjC.pm:
              Generate internal header for IDLs that want custom implementations.
      
              * css/RGBColor.idl:
              Make this a PODType as it really is in the implementation.
      
              * page/AbstractView.idl:
              This now needs a custom objective-c binding implementation.
      
              * page/Frame.cpp:
              (WebCore::Frame::~Frame):
              disconnect the weak frame reference in the WindowScriptObject.
      
              * page/Frame.h:
              * page/gtk/FrameGtk.cpp:
              (WebCore::Frame::disconnectPlatformScriptObjects): Dummy implementation.
              * page/mac/FrameMac.mm:
              (WebCore::Frame::windowScriptObject): ASSERT that the windowScriptObject is a DOMAbstractView.
              (WebCore::Frame::disconnectPlatformScriptObjects): Disconnect the frame pointer from the windowScriptObject.
              * page/qt/FrameQt.cpp:
              (WebCore::Frame::disconnectPlatformScriptObjects): Dummy implementation.
              * page/win/FrameWin.cpp:
              (WebCore::Frame::disconnectPlatformScriptObjects): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f804579a
  16. 13 Mar, 2008 2 commits
  17. 04 Mar, 2008 1 commit
  18. 04 Feb, 2008 1 commit
  19. 22 Dec, 2007 1 commit
  20. 18 Dec, 2007 1 commit
  21. 04 Dec, 2007 1 commit
    • aroben@apple.com's avatar
      Make the implementation of Frame::setNeedsReapplyStyles cross-platform · 4cfcb8ae
      aroben@apple.com authored
       WebCore:
      
               Make the implementation of Frame::setNeedsReapplyStyles cross-platform
      
               Reviewed by Hyatt.
      
               No change in functionality.
      
               * page/Frame.cpp:
               (WebCore::Frame::setNeedsReapplyStyles): Added. Invalidates the
               FrameView so that FrameView::layout will be called, which ends up
               calling reapplyStyles.
               (WebCore::Frame::needsReapplyStyles): Added.
               (WebCore::Frame::reapplyStyles): Renamed from reparseConfiguration.
               (WebCore::FramePrivate::FramePrivate):
               * page/Frame.h:
               * page/FramePrivate.h: Added new boolean member.
               * page/FrameView.cpp:
               (WebCore::FrameView::layout): Call Frame::reapplyStyles if needed.
               (WebCore::FrameView::needsLayout): Say that we need layout if the
               Frame needs styles reapplied.
               * page/mac/WebCoreFrameBridge.h: Removed setNeedsReapplyStyles.
               * page/mac/WebCoreFrameBridge.mm:
               (-[WebCoreFrameBridge reapplyStylesForDeviceType:]): Updated for
               rename.
      
               * bridge/win/FrameWin.cpp: Removed Frame::setNeedsReapplyStyles.
               * page/gtk/FrameGtk.cpp: Ditto.
               * page/mac/FrameMac.mm: Ditto.
               * page/qt/FrameQt.cpp: Ditto.
               * platform/wx/TemporaryLinkStubs.cpp: Ditto.
      
       WebKit/mac:
      
               Remove -[WebFrameBridge setNeedsReapplyStyles]
      
               This functionality is now WebCore's responsibility.
      
               Reviewed by Hyatt.
      
               * WebCoreSupport/WebFrameBridge.mm:
               * WebKit.order:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cfcb8ae
  22. 08 Nov, 2007 1 commit
    • darin@apple.com's avatar
      WebCore: · 02405e32
      darin@apple.com authored
              Reviewed by Steve.
      
              - cut down on notImplemented() functions on Windows
      
              * bridge/AXObjectCache.h: Put #if around the accessibility
              global.
      
              * bridge/win/FrameWin.cpp: (WebCore::Frame::setNeedsReapplyStyles):
              Moved here from TemporaryLinkStubs.
      
              * dom/Document.cpp: (WebCore::Document::lastModified): Re-implemented
              using the ResourceResponse that's now available from the DocumentLoader.
      
              * editing/JSEditor.cpp: (execTranspose): Changed to call transpose() on
              the Editor instead of the obsolete one on the Frame.
      
              * loader/DocumentLoader.h: Removed getResponseModifiedHeader.
              * loader/FrameLoader.h: Removed overrideMediaType.
      
              * loader/gtk/DocumentLoaderGtk.cpp: Removed.
              * loader/mac/DocumentLoaderMac.mm: Removed.
              * loader/qt/DocumentLoaderQt.cpp: Removed.
      
              * page/Frame.cpp: Removed transpose.
              * page/Frame.h: Ditto.
              * page/FrameView.h: Removed updateBorder.
              * page/gtk/FrameGtk.cpp: Removed issueTransposeCommand.
              * page/mac/FrameMac.mm: Ditto.
              * page/mac/WebCoreFrameBridge.h: Removed issueTransposeCommand and
              overrideMediaType.
              * page/qt/FrameQt.cpp: Removed issueTransposeCommand.
      
              * platform/gtk/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled.
              * platform/qt/TemporaryLinkStubs.cpp: Ditto.
              * platform/win/TemporaryLinkStubs.cpp: Removed or moved all but 3 of the stubs.
              * platform/wx/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled,
              issueTransposeCommand, and overrideMediaType.
      
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::ResourceHandle::loadsBlocked): Moved here from TemporaryLinkStubs.
              (WebCore::ResourceHandle::willLoadFromCache): Ditto.
              * platform/win/GraphicsContextWin.cpp:
              (WebCore::GraphicsContextPlatformPrivate::clip): Ditto.
              * platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::inWindow): Ditto.
              * platform/win/SystemTimeWin.cpp: (WebCore::userIdleTime): Ditto.
              * platform/win/WidgetWin.cpp: (WebCore::Widget::setIsSelected): Ditto.
      
              * WebCore.pro: Updated for removed files.
              * WebCore.xcodeproj/project.pbxproj: Updated for removed file.
      
      WebKit/mac:
      
              Reviewed by Steve.
      
              - removed some unused WebCore bridge methods
      
              * WebCoreSupport/WebFrameBridge.mm: Removed issueTransposeCommand and overrideMediaType.
      
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::overrideMediaType): Changed to call WebView directly instead of
              using the bridge object.
      
      WebKit/win:
      
              Reviewed by Steve.
      
              * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
              * WebChromeClient.cpp:
              (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
              here by calling through the UI delegate.
              (WebChromeClient::menubarVisible): Ditto.
              (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02405e32
  23. 23 Sep, 2007 1 commit
    • zecke's avatar
      /: · 2752405f
      zecke authored
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * WebKit.pri:
              * WebKit.pro:
      
      JavaScriptCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK 
      
              * JavaScriptCore.pri:
              * kjs/testkjs.pro:
              * pcre/dftables.pro:
              * wtf/Platform.h: PLATFORM(GDK) to PLATFORM(GTK)
      
      WebCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * loader/gdk: Removed.
              * loader/gdk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk: Added.
              * loader/gtk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk/DocumentLoaderGtk.cpp: Added.
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/gdk: Removed.
              * page/gdk/DragControllerGdk.cpp: Removed.
              * page/gdk/EventHandlerGdk.cpp: Removed.
              * page/gdk/FrameGdk.cpp: Removed.
              * page/gtk: Added.
              * page/gtk/DragControllerGdk.cpp: Removed.
              * page/gtk/DragControllerGtk.cpp: Added.
              * page/gtk/EventHandlerGdk.cpp: Removed.
              * page/gtk/EventHandlerGtk.cpp: Added.
              (WebCore::EventHandler::createDraggingClipboard):
              * page/gtk/FrameGdk.cpp: Removed.
              * page/gtk/FrameGtk.cpp: Added.
              * platform/ContextMenuItem.h:
              * platform/Cursor.h:
              * platform/DragData.h:
              * platform/DragImage.h:
              * platform/FontData.h:
              * platform/NotImplemented.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMenuDescription.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/gdk: Removed.
              * platform/gdk/ClipboardGdk.cpp: Removed.
              * platform/gdk/ClipboardGdk.h: Removed.
              * platform/gdk/ContextMenuGdk.cpp: Removed.
              * platform/gdk/ContextMenuItemGdk.cpp: Removed.
              * platform/gdk/CookieJarGdk.cpp: Removed.
              * platform/gdk/CursorGdk.cpp: Removed.
              * platform/gdk/DragDataGdk.cpp: Removed.
              * platform/gdk/DragImageGdk.cpp: Removed.
              * platform/gdk/FileChooserGdk.cpp: Removed.
              * platform/gdk/FileSystemGdk.cpp: Removed.
              * platform/gdk/FontCacheGdk.cpp: Removed.
              * platform/gdk/FontDataGdk.cpp: Removed.
              * platform/gdk/FontGdk.cpp: Removed.
              * platform/gdk/FontPlatformData.h: Removed.
              * platform/gdk/FontPlatformDataGdk.cpp: Removed.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gdk/KeyEventGdk.cpp: Removed.
              * platform/gdk/KeyboardCodes.h: Removed.
              * platform/gdk/LocalizedStringsGdk.cpp: Removed.
              * platform/gdk/LoggingGdk.cpp: Removed.
              * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gdk/MouseEventGdk.cpp: Removed.
              * platform/gdk/PasteboardGdk.cpp: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Removed.
              * platform/gdk/PlatformScrollBar.h: Removed.
              * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gdk/PopupMenuGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.h: Removed.
              * platform/gdk/ScrollViewGdk.cpp: Removed.
              * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gdk/SharedTimerLinux.cpp: Removed.
              * platform/gdk/SoundGdk.cpp: Removed.
              * platform/gdk/SystemTimeLinux.cpp: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed.
              * platform/gdk/WheelEventGdk.cpp: Removed.
              * platform/gdk/WidgetGdk.cpp: Removed.
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gdk: Removed.
              * platform/graphics/gdk/IconGdk.cpp: Removed.
              * platform/graphics/gdk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk: Added.
              * platform/graphics/gtk/IconGdk.cpp: Removed.
              * platform/graphics/gtk/IconGtk.cpp: Added.
              * platform/graphics/gtk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk/ImageGtk.cpp: Added.
              * platform/gtk: Added.
              * platform/gtk/ClipboardGdk.cpp: Removed.
              * platform/gtk/ClipboardGdk.h: Removed.
              * platform/gtk/ClipboardGtk.cpp: Added.
              (WebCore::ClipboardGtk::ClipboardGtk):
              (WebCore::ClipboardGtk::~ClipboardGtk):
              (WebCore::ClipboardGtk::clearData):
              (WebCore::ClipboardGtk::clearAllData):
              (WebCore::ClipboardGtk::getData):
              (WebCore::ClipboardGtk::setData):
              (WebCore::ClipboardGtk::types):
              (WebCore::ClipboardGtk::dragLocation):
              (WebCore::ClipboardGtk::dragImage):
              (WebCore::ClipboardGtk::setDragImage):
              (WebCore::ClipboardGtk::dragImageElement):
              (WebCore::ClipboardGtk::setDragImageElement):
              (WebCore::ClipboardGtk::createDragImage):
              (WebCore::ClipboardGtk::declareAndWriteDragImage):
              (WebCore::ClipboardGtk::writeURL):
              (WebCore::ClipboardGtk::writeRange):
              (WebCore::ClipboardGtk::hasData):
              * platform/gtk/ClipboardGtk.h: Added.
              * platform/gtk/ContextMenuGdk.cpp: Removed.
              * platform/gtk/ContextMenuGtk.cpp: Added.
              * platform/gtk/ContextMenuItemGdk.cpp: Removed.
              * platform/gtk/ContextMenuItemGtk.cpp: Added.
              * platform/gtk/CookieJarGdk.cpp: Removed.
              * platform/gtk/CookieJarGtk.cpp: Added.
              * platform/gtk/CursorGdk.cpp: Removed.
              * platform/gtk/CursorGtk.cpp: Added.
              * platform/gtk/DragDataGdk.cpp: Removed.
              * platform/gtk/DragDataGtk.cpp: Added.
              * platform/gtk/DragImageGdk.cpp: Removed.
              * platform/gtk/DragImageGtk.cpp: Added.
              * platform/gtk/FileChooserGdk.cpp: Removed.
              * platform/gtk/FileChooserGtk.cpp: Added.
              * platform/gtk/FileSystemGdk.cpp: Removed.
              * platform/gtk/FileSystemGtk.cpp: Added.
              * platform/gtk/FontCacheGdk.cpp: Removed.
              * platform/gtk/FontCacheGtk.cpp: Added.
              * platform/gtk/FontDataGdk.cpp: Removed.
              * platform/gtk/FontDataGtk.cpp: Added.
              * platform/gtk/FontGdk.cpp: Removed.
              * platform/gtk/FontGtk.cpp: Added.
              * platform/gtk/FontPlatformDataGdk.cpp: Removed.
              * platform/gtk/FontPlatformDataGtk.cpp: Added.
              * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
              * platform/gtk/KeyEventGdk.cpp: Removed.
              * platform/gtk/KeyEventGtk.cpp: Added.
              * platform/gtk/LocalizedStringsGdk.cpp: Removed.
              * platform/gtk/LocalizedStringsGtk.cpp: Added.
              * platform/gtk/LoggingGdk.cpp: Removed.
              * platform/gtk/LoggingGtk.cpp: Added.
              * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
              * platform/gtk/MouseEventGdk.cpp: Removed.
              * platform/gtk/MouseEventGtk.cpp: Added.
              * platform/gtk/PasteboardGdk.cpp: Removed.
              * platform/gtk/PasteboardGtk.cpp: Added.
              * platform/gtk/PlatformScreenGdk.cpp: Removed.
              * platform/gtk/PlatformScreenGtk.cpp: Added.
              * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gtk/PlatformScrollBarGtk.cpp: Added.
              * platform/gtk/PopupMenuGdk.cpp: Removed.
              * platform/gtk/PopupMenuGtk.cpp: Added.
              * platform/gtk/RenderThemeGdk.cpp: Removed.
              * platform/gtk/RenderThemeGdk.h: Removed.
              * platform/gtk/RenderThemeGtk.cpp: Added.
              (WebCore::theme):
              (WebCore::RenderThemeGtk::RenderThemeGtk):
              (WebCore::RenderThemeGtk::close):
              (WebCore::RenderThemeGtk::addIntrinsicMargins):
              (WebCore::RenderThemeGtk::supportsFocus):
              (WebCore::RenderThemeGtk::determineState):
              (WebCore::RenderThemeGtk::determineShadow):
              (WebCore::RenderThemeGtk::getThemeData):
              (WebCore::RenderThemeGtk::setCheckboxSize):
              (WebCore::RenderThemeGtk::paintCheckbox):
              (WebCore::RenderThemeGtk::setRadioSize):
              (WebCore::RenderThemeGtk::paintRadio):
              (WebCore::RenderThemeGtk::paintButton):
              (WebCore::RenderThemeGtk::adjustTextFieldStyle):
              (WebCore::RenderThemeGtk::paintTextField):
              (WebCore::RenderThemeGtk::paintTextArea):
              (WebCore::RenderThemeGtk::adjustButtonStyle):
              (WebCore::RenderThemeGtk::systemFont):
              (WebCore::RenderThemeGtk::gtkButton):
              (WebCore::RenderThemeGtk::gtkCheckbox):
              (WebCore::RenderThemeGtk::gtkRadioButton):
              (WebCore::RenderThemeGtk::gtkWindowContainer):
              * platform/gtk/RenderThemeGtk.h: Added.
              * platform/gtk/ScrollViewGdk.cpp: Removed.
              * platform/gtk/ScrollViewGtk.cpp: Added.
              * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gtk/SearchPopupMenuGtk.cpp: Added.
              * platform/gtk/SoundGdk.cpp: Removed.
              * platform/gtk/SoundGtk.cpp: Added.
              * platform/gtk/WheelEventGdk.cpp: Removed.
              * platform/gtk/WheelEventGtk.cpp: Added.
              * platform/gtk/WidgetGdk.cpp: Removed.
              * platform/gtk/WidgetGtk.cpp: Added.
              * platform/network/ResourceHandle.h:
      
      WebKitTools:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              * GdkLauncher: Removed.
              * GdkLauncher/Bakefiles.bkgen: Removed.
              * GdkLauncher/ENV: Removed.
              * GdkLauncher/GdkLauncher.pro: Removed.
              * GdkLauncher/gdklauncher.bkl: Removed.
              * GdkLauncher/main.cpp: Removed.
              * GdkLauncher/mk: Removed.
              * GdkLauncher/simple.svg: Removed.
              * GdkLauncher/text.html: Removed.
              * GtkLauncher: Added.
              * GtkLauncher/GdkLauncher.pro: Removed.
              * GtkLauncher/GtkLauncher.pro: Added.
              * GtkLauncher/main.cpp:
              (updateWindowTitle):
              (main):
              * Scripts/build-webkit:
              * Scripts/regenerate-makefiles:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-launcher:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2752405f
  24. 22 Sep, 2007 1 commit
  25. 08 Aug, 2007 2 commits
    • zecke's avatar
      WebCore: · da4d5df9
      zecke authored
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Kill class FrameGdk and move the stubs to page/gdk/FrameGdk.cpp and the
              remainings into WebKitGtkFrame.
              The DRT functionality of class FrameGdk is currently lost.
      
              * WebCore.pro:
              * loader/gdk/FrameLoaderClientGdk.cpp:
              * loader/gdk/FrameLoaderClientGdk.h:
              * page/gdk/FrameGdk.cpp: Renamed from WebCore/platform/gdk/FrameGdk.cpp.
              (WebCore::Frame::issueTransposeCommand):
              (WebCore::Frame::cleanupPlatformScriptObjects):
              (WebCore::Frame::dragImageForSelection):
              (WebCore::Frame::dashboardRegionsChanged):
              * platform/gdk/FrameGdk.h: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed Frame stub, added the loadResourceIntoArray stub
              * platform/gdk/WidgetGdk.cpp:
      
      WebKit:
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Moved code from class FrameGdk into WebKitGtkFrame. Update the
              webkitgrkprivate.h header file to not include FrameGdk.h.
      
              * gtk/Api/webkitgtkframe.cpp:
              * gtk/Api/webkitgtkprivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da4d5df9
    • zecke's avatar
      WebCore: · a96bd754
      zecke authored
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Remove the event handling code and move it to WebKit/gtk/Api/webkitgtkpage.cpp
      
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/FrameGdk.h:
      
      WebKit:
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Reimplement GtkWidget::event and handle the keyboard and mouse
              events inside WebKitGtkPage.
      
              * gtk/Api/webkitgtkpage.cpp:
              (FrameGdkExposeData::frame_gdk_expose_child):
              (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
              (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
              (FrameGdkExposeData::webkit_gtk_page_class_init):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a96bd754
  26. 23 Jul, 2007 1 commit
    • zecke's avatar
      2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org> · 5604daf5
      zecke authored
              Reviewed by Adam.
      
              Add WebKit/gtk/Api and WebCoreSupport API to the INCLUDEPATH to allow GdkLauncher to be
              build against it.
      
              * WebKit.pri:
      
      
      WebCore:
      2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              WARNING: NO TEST CASES ADDED OR CHANGED
      
              Add the WebKit/Gtk API to the buildsystem, ask qmake to create a
              pkg-config file and install headers and libraries.
      
              Start to emit signals from FrameLoaderClientGdk, hide the kit Frame
              inside the the FrameLoaderClientGdk.
      
              Move ChromeClientGdk to WebKit/gtk/WebCoreSupport
      
              * WebCore.pro:
              * loader/gdk/FrameLoaderClientGdk.cpp:
              * loader/gdk/FrameLoaderClientGdk.h:
              * platform/gdk/ChromeClientGdk.h: Removed.
              * platform/gdk/FrameGdk.cpp: Remove code not belonging here
              * platform/gdk/FrameGdk.h:
              * platform/gdk/ScrollViewGdk.cpp: The gdkDrawable won't exist at that time and it is fine
              * platform/gdk/TemporaryLinkStubs.cpp: Removed ChromeClientGdk stubs
      
      WebKit:
      2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Add the first API and partial implementation of the WebKit/Gtk port as
              of http://bugs.webkit.org/show_bug.cgi?id=14678.
      
              The delegates of WebView will be modeled as signals. Delegates like the
              WebPolicyDelegate will be implemented as signals with default handlers.
      
              Start moving files to WebKit/gtk/WebCoreSupport.
      
              * gtk: Added.
              * gtk/Api: Added.
              * gtk/Api/headers.pri: Added.
              * gtk/Api/webkitgtk-marshal.list: Added.
              * gtk/Api/webkitgtkdefines.h: Added.
              * gtk/Api/webkitgtkframe.cpp: Added.
              * gtk/Api/webkitgtkframe.h: Added.
              * gtk/Api/webkitgtkframedata.cpp: Added.
              * gtk/Api/webkitgtkframedata.h: Added.
              * gtk/Api/webkitgtkglobal.cpp: Added.
              * gtk/Api/webkitgtkglobal.h: Added.
              * gtk/Api/webkitgtknetworkrequest.cpp: Added.
              * gtk/Api/webkitgtknetworkrequest.h: Added.
              * gtk/Api/webkitgtkpage.cpp: Added.
              * gtk/Api/webkitgtkpage.h: Added.
              * gtk/Api/webkitgtkprivate.cpp: Added.
              * gtk/Api/webkitgtkprivate.h: Added.
              * gtk/Api/webkitgtksettings.cpp: Added.
              * gtk/Api/webkitgtksettings.h: Added.
              * gtk/WebCoreSupport: Added.
              * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
              (WebCore::ChromeClientGdk::ChromeClientGdk):
              (WebCore::ChromeClientGdk::chromeDestroyed):
              (WebCore::ChromeClientGdk::windowRect):
              (WebCore::ChromeClientGdk::setWindowRect):
              (WebCore::ChromeClientGdk::pageRect):
              (WebCore::ChromeClientGdk::scaleFactor):
              (WebCore::ChromeClientGdk::focus):
              (WebCore::ChromeClientGdk::unfocus):
              (WebCore::ChromeClientGdk::createWindow):
              (WebCore::ChromeClientGdk::createModalDialog):
              (WebCore::ChromeClientGdk::show):
              (WebCore::ChromeClientGdk::canRunModal):
              (WebCore::ChromeClientGdk::runModal):
              (WebCore::ChromeClientGdk::setToolbarsVisible):
              (WebCore::ChromeClientGdk::toolbarsVisible):
              (WebCore::ChromeClientGdk::setStatusbarVisible):
              (WebCore::ChromeClientGdk::statusbarVisible):
              (WebCore::ChromeClientGdk::setScrollbarsVisible):
              (WebCore::ChromeClientGdk::scrollbarsVisible):
              (WebCore::ChromeClientGdk::setMenubarVisible):
              (WebCore::ChromeClientGdk::menubarVisible):
              (WebCore::ChromeClientGdk::setResizable):
              (WebCore::ChromeClientGdk::closeWindowSoon):
              (WebCore::ChromeClientGdk::canTakeFocus):
              (WebCore::ChromeClientGdk::takeFocus):
              (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
              (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
              (WebCore::ChromeClientGdk::addMessageToConsole):
              (WebCore::ChromeClientGdk::runJavaScriptAlert):
              (WebCore::ChromeClientGdk::runJavaScriptConfirm):
              (WebCore::ChromeClientGdk::runJavaScriptPrompt):
              (WebCore::ChromeClientGdk::setStatusbarText):
              (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
              (WebCore::ChromeClientGdk::tabsToLinks):
              (WebCore::ChromeClientGdk::windowResizerRect):
              (WebCore::ChromeClientGdk::addToDirtyRegion):
              (WebCore::ChromeClientGdk::scrollBackingStore):
              (WebCore::ChromeClientGdk::updateBackingStore):
              (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
              (WebCore::ChromeClientGdk::setToolTip):
              (WebCore::ChromeClientGdk::print):
              * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
      
      WebKitTools:
      2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
              honor --qmakearg for the Gdk/Gtk build as well.
      
              * GdkLauncher/main.cpp: Switch to the new API
              * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5604daf5
  27. 04 Mar, 2007 1 commit
    • kjk's avatar
      WebCore: · 65a9f5ed
      kjk authored
              Reviewed by Nikolas Zimmermann.
      
              Move ScrollView stubs to ScrollViewGdk.cpp
      
              * platform/gdk/FrameGdk.h: remove comment that no longer makes sense
              * platform/gdk/ScrollViewGdk.cpp:
              (WebCore::ScrollView::addChild):
              (WebCore::ScrollView::removeChild):
              (WebCore::ScrollView::scrollPointRecursively):
              (WebCore::ScrollView::inWindow):
              (WebCore::ScrollView::wheelEvent):
              (WebCore::ScrollView::updateScrollbars):
              (WebCore::ScrollView::updateScrollInfo):
              (WebCore::ScrollView::windowToContents):
              (WebCore::ScrollView::contentsToWindow):
              (WebCore::ScrollView::scrollbarUnderMouse):
              * platform/gdk/TemporaryLinkStubs.cpp:
      
        WebKitTools:
      
              Reviewed by Nikolas Zimmermann.
      
              Load a url given on a command line in a way that also
              works for local (file://) urls.
      
              * GdkLauncher/main.cpp:
              (main):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65a9f5ed
  28. 20 Feb, 2007 1 commit
    • kjk's avatar
      Reviewed by Maciej S. · 781540ce
      kjk authored
              Gdk build fixes for recent refactorings.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * page/gdk/DragControllerGdk.cpp:
              (WebCore::DragController::dragOperation):
              (WebCore::DragController::maxDragImageSize):
              * page/gdk/EventHandlerGdk.cpp:
              (WebCore::EventHandler::createDraggingClipboard):
              * platform/DragImage.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/CursorGdk.cpp:
              (WebCore::verticalTextCursor):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::noDropCursor):
              (WebCore::copyCursor):
              (WebCore::progressCursor):
              (WebCore::aliasCursor):
              (WebCore::noneCursor):
              (WebCore::notAllowedCursor):
              * platform/gdk/EditorClientGdk.cpp:
              (WebCore::EditorClientGdk::shouldChangeSelectedRange):
              (WebCore::EditorClientGdk::isEditable):
              (WebCore::EditorClientGdk::textFieldDidBeginEditing):
              (WebCore::EditorClientGdk::textFieldDidEndEditing):
              (WebCore::EditorClientGdk::textDidChangeInTextField):
              (WebCore::EditorClientGdk::doTextFieldCommandFromEvent):
              (WebCore::EditorClientGdk::textWillBeDeletedInTextField):
              (WebCore::EditorClientGdk::textDidChangeInTextArea):
              * platform/gdk/EditorClientGdk.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::Frame::print):
              (WebCore::Frame::issueTransposeCommand):
              (WebCore::Frame::respondToChangedSelection):
              (WebCore::Frame::cleanupPlatformScriptObjects):
              (WebCore::Frame::isCharacterSmartReplaceExempt):
              (WebCore::Frame::dragImageForSelection):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/MimeTypeRegistryGdk.cpp: Added.
              * platform/gdk/TemporaryLinkStubs.cpp:
              (ChromeClientGdk::tabsToLinks):
              (ChromeClientGdk::windowResizerRect):
              (ChromeClientGdk::addToDirtyRegion):
              (ChromeClientGdk::scrollBackingStore):
              (ChromeClientGdk::updateBackingStore):
              * webcore-base.bkl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      781540ce
  29. 08 Feb, 2007 1 commit
    • kjk's avatar
      Reviewed by Adam Roben. · db1e270a
      kjk authored
              Linux/gdk build fixes.
      
              * platform/gdk/EditorClientGdk.cpp: Added. Based on qt version.
              (WebCore::EditorClientGdk::shouldDeleteRange):
              (WebCore::EditorClientGdk::shouldShowDeleteInterface):
              (WebCore::EditorClientGdk::isContinuousSpellCheckingEnabled):
              (WebCore::EditorClientGdk::isGrammarCheckingEnabled):
              (WebCore::EditorClientGdk::spellCheckerDocumentTag):
              (WebCore::EditorClientGdk::shouldBeginEditing):
              (WebCore::EditorClientGdk::shouldEndEditing):
              (WebCore::EditorClientGdk::shouldInsertText):
              (WebCore::EditorClientGdk::shouldApplyStyle):
              (WebCore::EditorClientGdk::didBeginEditing):
              (WebCore::EditorClientGdk::respondToChangedContents):
              (WebCore::EditorClientGdk::didEndEditing):
              (WebCore::EditorClientGdk::didWriteSelectionToPasteboard):
              (WebCore::EditorClientGdk::didSetSelectionTypesForPasteboard):
              (WebCore::EditorClientGdk::selectWordBeforeMenuEvent):
              (WebCore::EditorClientGdk::isEditable):
              (WebCore::EditorClientGdk::registerCommandForUndo):
              (WebCore::EditorClientGdk::registerCommandForRedo):
              (WebCore::EditorClientGdk::clearUndoRedoOperations):
              (WebCore::EditorClientGdk::canUndo):
              (WebCore::EditorClientGdk::canRedo):
              (WebCore::EditorClientGdk::undo):
              (WebCore::EditorClientGdk::redo):
              (WebCore::EditorClientGdk::shouldInsertNode):
              (WebCore::EditorClientGdk::pageDestroyed):
              (WebCore::EditorClientGdk::smartInsertDeleteEnabled):
              (WebCore::EditorClientGdk::toggleContinuousSpellChecking):
              (WebCore::EditorClientGdk::toggleGrammarChecking):
              (WebCore::EditorClientGdk::handleKeyPress):
              (WebCore::EditorClientGdk::EditorClientGdk):
              (WebCore::EditorClientGdk::setPage):
              * platform/gdk/EditorClientGdk.h: Added. Ditto.
              * platform/gdk/FrameGdk.cpp: Add exitAfterLoading and dumpRenderTreeAfterLoading
              as small debugging features. Remove FrameGdkClient as no other platform has Frame*Client
              anymore. Adjust for new APIs.
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::onDidFinishLoad):
              (WebCore::FrameGdk::dumpRenderTree):
              (WebCore::FrameGdk::keyPress):
              (WebCore::FrameGdk::handleGdkEvent):
              (WebCore::FrameGdk::focusWindow):
              (WebCore::FrameGdk::unfocusWindow):
              (WebCore::FrameGdk::getObjectInstanceForWidget):
              (WebCore::FrameGdk::getEmbedInstanceForWidget):
              (WebCore::FrameGdk::bindingRootObject):
              (WebCore::FrameGdk::print):
              (WebCore::FrameGdk::getAppletInstanceForWidget):
              (WebCore::FrameGdk::issueCutCommand):
              (WebCore::FrameGdk::issueCopyCommand):
              (WebCore::FrameGdk::issuePasteCommand):
              (WebCore::FrameGdk::issueTransposeCommand):
              (WebCore::FrameGdk::issuePasteAndMatchStyleCommand):
              (WebCore::FrameGdk::markedTextRange):
              (WebCore::FrameGdk::shouldChangeSelection):
              (WebCore::FrameGdk::respondToChangedSelection):
              (WebCore::FrameGdk::mimeTypeForFileName):
              * platform/gdk/FrameGdk.h: Ditto.
              (WebCore::FrameGdk::setExitAfterLoading):
              (WebCore::FrameGdk::exitAfterLoading):
              (WebCore::FrameGdk::setDumpRenderTreeAfterLoading):
              (WebCore::FrameGdk::dumpRenderTreeAfterLoading):
              (WebCore::GdkFrame):
              * platform/gdk/TemporaryLinkStubs.cpp: Adjust to new APIs. Small cleanups.
              (FrameView::updateBorder):
              (Widget::setEnabled):
              (Widget::isEnabled):
              (Widget::enableFlushDrawing):
              (Widget::removeFromParent):
              (Widget::paint):
              (Widget::setIsSelected):
              (Widget::invalidate):
              (Widget::invalidateRect):
              (PlatformMouseEvent::PlatformMouseEvent):
              (WebCore::findWordBoundary):
              (ChromeClientGdk::chromeDestroyed):
              (ChromeClientGdk::closeWindowSoon):
              (ChromeClientGdk::canTakeFocus):
              (ChromeClientGdk::takeFocus):
              (ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
              (ChromeClientGdk::addMessageToConsole):
              (ChromeClientGdk::runBeforeUnloadConfirmPanel):
              (ChromeClientGdk::runJavaScriptAlert):
              (ChromeClientGdk::runJavaScriptConfirm):
              (ChromeClientGdk::runJavaScriptPrompt):
              (ChromeClientGdk::setStatusbarText):
              (ChromeClientGdk::shouldInterruptJavaScript):
              (WebCore::inputElementAltText):
              (WebCore::resetButtonDefaultLabel):
              (WebCore::searchableIndexIntroduction):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (WebCore::contextMenuItemTagOpenLinkInNewWindow):
              (WebCore::contextMenuItemTagDownloadLinkToDisk):
              (WebCore::contextMenuItemTagCopyLinkToClipboard):
              (WebCore::contextMenuItemTagOpenImageInNewWindow):
              (WebCore::contextMenuItemTagDownloadImageToDisk):
              (WebCore::contextMenuItemTagCopyImageToClipboard):
              (WebCore::contextMenuItemTagOpenFrameInNewWindow):
              (WebCore::contextMenuItemTagCopy):
              (WebCore::contextMenuItemTagGoBack):
              (WebCore::contextMenuItemTagGoForward):
              (WebCore::contextMenuItemTagStop):
              (WebCore::contextMenuItemTagReload):
              (WebCore::contextMenuItemTagCut):
              (WebCore::contextMenuItemTagPaste):
              (WebCore::contextMenuItemTagNoGuessesFound):
              (WebCore::contextMenuItemTagIgnoreSpelling):
              (WebCore::contextMenuItemTagLearnSpelling):
              (WebCore::contextMenuItemTagSearchWeb):
              (WebCore::contextMenuItemTagLookUpInDictionary):
              (WebCore::contextMenuItemTagOpenLink):
              (WebCore::contextMenuItemTagIgnoreGrammar):
              (WebCore::contextMenuItemTagSpellingMenu):
              (WebCore::contextMenuItemTagShowSpellingPanel):
              (WebCore::contextMenuItemTagCheckSpelling):
              (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
              (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
              (WebCore::contextMenuItemTagFontMenu):
              (WebCore::contextMenuItemTagBold):
              (WebCore::contextMenuItemTagItalic):
              (WebCore::contextMenuItemTagUnderline):
              (WebCore::contextMenuItemTagOutline):
              (WebCore::contextMenuItemTagWritingDirectionMenu):
              (WebCore::contextMenuItemTagDefaultDirection):
              (WebCore::contextMenuItemTagLeftToRight):
              (WebCore::contextMenuItemTagRightToLeft):
              (PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (PlugInInfoStore::pluginCount):
              (WebCore::PlugInInfoStore::supportsMIMEType):
              (WebCore::refreshPlugins):
              (SearchPopupMenu::saveRecentSearches):
              (SearchPopupMenu::loadRecentSearches):
              (SearchPopupMenu::SearchPopupMenu):
              (Path::apply):
              (PlatformScrollbar::PlatformScrollbar):
              (PlatformScrollbar::~PlatformScrollbar):
              (PlatformScrollbar::width):
              (PlatformScrollbar::height):
              (PlatformScrollbar::setEnabled):
              (PlatformScrollbar::paint):
              (PlatformScrollbar::updateThumbPosition):
              (PlatformScrollbar::updateThumbProportion):
              (PlatformScrollbar::setRect):
              (ResourceHandle::willLoadFromCache):
              (ResourceHandle::loadsBlocked):
              (ResourceHandle::loadResourceSynchronously):
              (PageCache::close):
              (Editor::ignoreSpelling):
              (Editor::learnSpelling):
              (Editor::isSelectionUngrammatical):
              (Editor::isSelectionMisspelled):
              (Editor::guessesForMisspelledSelection):
              (Editor::guessesForUngrammaticalSelection):
              (Editor::markMisspellingsAfterTypingToPosition):
              (Editor::newGeneralClipboard):
              (Pasteboard::generalPasteboard):
              (Pasteboard::writeSelection):
              (Pasteboard::writeURL):
              (Pasteboard::clear):
              (Pasteboard::canSmartReplace):
              (Pasteboard::documentFragment):
              (Pasteboard::plainText):
              (Pasteboard::Pasteboard):
              (Pasteboard::~Pasteboard):
              (ContextMenu::ContextMenu):
              (ContextMenu::~ContextMenu):
              (ContextMenu::appendItem):
              (ContextMenu::setPlatformDescription):
              (ContextMenu::platformDescription):
              (ContextMenuItem::ContextMenuItem):
              (ContextMenuItem::~ContextMenuItem):
              (ContextMenuItem::releasePlatformDescription):
              (ContextMenuItem::type):
              (ContextMenuItem::setType):
              (ContextMenuItem::action):
              (ContextMenuItem::setAction):
              (ContextMenuItem::title):
              (ContextMenuItem::setTitle):
              (ContextMenuItem::platformSubMenu):
              (ContextMenuItem::setSubMenu):
              (ContextMenuItem::setChecked):
              (ContextMenuItem::setEnabled):
              (WebCore::systemBeep):
              (WebCore::userIdleTime):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db1e270a
  30. 16 Jan, 2007 1 commit
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 8eddecf9
      eseidel authored
              Reviewed by bdash.
      
              Update header guards to follow new style guidelines using new clean-header-guards script.
      
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGPODTypeWrapper.h:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.h:
              * bridge/EditorClient.h:
              * bridge/History.h:
              * css/CSSStyleSheet.h:
              * css/CSSValue.h:
              * css/CSSValueList.h:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.h:
              * css/FontValue.h:
              * css/MediaFeatureNames.h:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RectImpl.h:
              * css/ShadowValue.h:
              * css/StyleBase.h:
              * css/StyleList.h:
              * css/StyleSheet.h:
              * css/StyleSheetList.h:
              * css/cssstyleselector.h:
              * dom/BeforeTextInsertedEvent.h:
              * dom/CDATASection.h:
              * dom/CharacterData.h:
              * dom/ChildNodeList.h:
              * dom/Comment.h:
              * dom/DOMImplementation.h:
              * dom/DocPtr.h:
              * dom/Document.h:
              * dom/DocumentFragment.h:
              * dom/DocumentMarker.h:
              * dom/DocumentType.h:
              * dom/EditingText.h:
              * dom/Entity.h:
              * dom/EntityReference.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.h:
              * dom/NameNodeList.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/Notation.h:
              * dom/Position.h:
              * dom/ProcessingInstruction.h:
              * dom/Range.h:
              * dom/StyleElement.h:
              * dom/Text.h:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.h:
              * editing/CommandByName.h:
              * editing/CompositeEditCommand.h:
              * editing/DeleteButton.h:
              * editing/DeleteButtonController.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertParagraphSeparatorCommand.h:
              * editing/InsertTextCommand.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TextGranularity.h:
              * editing/TypingCommand.h:
              * editing/WrapContentsInDummySpanCommand.h:
              * history/BackForwardList.h:
              * history/HistoryItem.h:
              * history/HistoryItemTimer.h:
              * history/PageCache.h:
              * html/CanvasGradient.h:
              * html/CanvasPattern.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.h:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.h:
              * html/HTMLAppletElement.h:
              * html/HTMLAreaElement.h:
              * html/HTMLBRElement.h:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBodyElement.h:
              * html/HTMLButtonElement.h:
              * html/HTMLCanvasElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDListElement.h:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDivElement.h:
              * html/HTMLElement.h:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.h:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFontElement.h:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.h:
              * html/HTMLFrameSetElement.h:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.h:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadingElement.h:
              * html/HTMLHtmlElement.h:
              * html/HTMLImageElement.h:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.h:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.h:
              * html/HTMLLabelElement.h:
              * html/HTMLLegendElement.h:
              * html/HTMLLinkElement.h:
              * html/HTMLMapElement.h:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMenuElement.h:
              * html/HTMLMetaElement.h:
              * html/HTMLModElement.h:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.h:
              * html/HTMLObjectElement.h:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionsCollection.h:
              * html/HTMLParagraphElement.h:
              * html/HTMLParamElement.h:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.h:
              * html/HTMLQuoteElement.h:
              * html/HTMLScriptElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLStyleElement.h:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableColElement.h:
              * html/HTMLTableElement.h:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextFieldInnerElement.h:
              * html/HTMLTitleElement.h:
              * html/HTMLUListElement.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocumentLoader.h:
              * loader/Request.h:
              * loader/SubresourceLoader.h:
              * loader/icon/IconDataCache.h:
              * loader/icon/IconDatabase.h:
              * loader/icon/IconLoader.h:
              * loader/icon/SQLDatabase.h:
              * loader/icon/SQLStatement.h:
              * loader/icon/SQLTransaction.h:
              * page/Frame.h:
              * page/FrameLoadRequest.h:
              * page/FrameTree.h:
              * page/FrameView.h:
              * page/PageState.h:
              * page/Plugin.h:
              * page/qt/FrameQt.h:
              * page/qt/FrameQtClient.h:
              * platform/Arena.h:
              * platform/ArrayImpl.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedCString.h:
              * platform/FileChooser.h:
              * platform/Font.h:
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFamily.h:
              * platform/GlyphBuffer.h:
              * platform/GlyphMap.h:
              * platform/GlyphWidthMap.h:
              * platform/Logging.h:
              * platform/Pasteboard.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/ScrollBar.h:
              * platform/ScrollView.h:
              * platform/SearchPopupMenu.h:
              * platform/Shared.h:
              * platform/Sound.h:
              * platform/SystemTime.h:
              * platform/Timer.h:
              * platform/Widget.h:
              * platform/cf/RetainPtr.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/FontPlatformData.h:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyboardCodes.h:
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.h:
              * platform/graphics/BitmapImage.h:
              * platform/graphics/Color.h:
              * platform/graphics/FloatPoint.h:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/FloatRect.h:
              * platform/graphics/Icon.h:
              * platform/graphics/Image.h:
              * platform/graphics/ImageAnimationObserver.h:
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/IntPoint.h:
              * platform/graphics/IntRect.h:
              * platform/graphics/IntSize.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.h:
              * platform/graphics/Pen.h:
              * platform/graphics/qt/ImageDecoderQt.h:
              * platform/graphics/svg/SVGImage.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/CgSupport.h:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/mac/FontPlatformData.h:
              * platform/mac/PlatformScrollBar.h:
              * platform/network/AuthenticationChallenge.h:
              * platform/network/Credential.h:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceError.h:
              * platform/network/ResourceRequest.h:
              * platform/network/ResourceResponse.h:
              * platform/network/cf/FormDataStreamCFNet.h:
              * platform/network/cf/ResourceRequestCFNet.h:
              * platform/network/cf/ResourceResponseCFNet.h:
              * platform/network/gdk/ResourceHandleManager.h:
              * platform/network/mac/AuthenticationMac.h:
              * platform/network/mac/FormDataStreamMac.h:
              * platform/network/qt/ResourceHandleManagerKDE.h:
              * platform/network/qt/ResourceHandleManagerQt.h:
              * platform/network/win/ResourceHandleWin.h:
              * platform/qt/FontPlatformData.h:
              * platform/qt/KeyboardCodes.h:
              * platform/qt/PlatformScrollBar.h:
              * platform/qt/ScrollViewCanvasQt.h:
              * platform/qt/SharedTimerQt.h:
              * platform/win/FontPlatformData.h:
              * platform/win/PlatformScrollBar.h:
              * rendering/AutoTableLayout.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.h:
              * rendering/RenderBox.h:
              * rendering/RenderMenuList.h:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.h:
              * rendering/RenderStyle.h:
              * rendering/RenderTableCol.h:
              * rendering/RenderThemeWin.h:
              * rendering/bidi.h:
              * xml/DOMParser.h:
              * xml/XPathEvaluator.h:
              * xml/XPathExpression.h:
              * xml/XPathExpressionNode.h:
              * xml/XPathFunctions.h:
              * xml/XPathNSResolver.h:
              * xml/XPathNamespace.h:
              * xml/XPathParser.h:
              * xml/XPathPath.h:
              * xml/XPathPredicate.h:
              * xml/XPathResult.h:
              * xml/XPathStep.h:
              * xml/XPathUtil.h:
              * xml/XPathValue.h:
              * xml/XPathVariableReference.h:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.h:
              * xml/xmlhttprequest.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8eddecf9
  31. 19 Dec, 2006 1 commit
  32. 12 Nov, 2006 1 commit
    • bdash's avatar
      2006-11-12 Mark Rowe <bdash@webkit.org> · 3e7c4ace
      bdash authored
              Reviewed by Mitz.
      
              Linux/Gdk compilation fixes, and bakefile cleanups.  Based on patches by
              Alp Toker.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * page/PageState.cpp:
              * platform/gdk/ChromeClientGdk.h:
              (WebCore::ChromeClientGdk::ref):
              (WebCore::ChromeClientGdk::deref):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::openURL):
              (WebCore::FrameGdkClientDefault::didReceiveData):
              (WebCore::FrameGdkClientDefault::receivedAllData):
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::~FrameGdk):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyEventGdk.cpp:
              (WebCore::keyIdentifierForGdkKeyCode):
              * platform/gdk/ScreenClientGdk.h: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::canPaste):
              (FrameGdk::originalRequestURL):
              (TextField::TextField):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * webcore-base.bkl:
      2006-11-12  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Mitz.
      
              Clean up of JavaScriptCore bakefiles.
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
      2006-11-12  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Mitz.
      
              Clean up of GdkLauncher bakefile.
      
              * GdkLauncher/gdklauncher.bkl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e7c4ace
  33. 07 Nov, 2006 1 commit
    • bdash's avatar
      2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · 808883b8
      bdash authored
              Reviewed by Maciej.
      
              Remove warning about garbage after #else. #else clause applies for all
              non-mac platforms, not only win.
      
              * kjs/date_object.cpp:
      2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Linux\Gdk build fixes.
      
              * loader/icon/IconDatabase.cpp:
              * loader/icon/SQLStatement.h:
              * platform/gdk/ChromeClientGdk.h: Added.
              (WebCore::ChromeClientGdk::~ChromeClientGdk):
              * platform/gdk/CursorGdk.cpp:
              (WebCore::pointerCursor):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::doScroll):
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              (WebCore::FrameGdk::openURL):
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/FrameGdk.h:
              (WebCore::FrameGdk::client):
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::PopupMenu::updateFromElement):
              * platform/gdk/ScreenGdk.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (Slider::focusPolicy):
              (WebCore::ServeSynchronousRequest):
              (FrameGdk::goBackOrForward):
              (FrameGdk::getHistoryLength):
              (FrameGdk::historyURL):
              (ChromeClientGdk::canRunModal):
              (ChromeClientGdk::runModal):
              (WebCore::systemBeep):
              (WebCore::CachedResource::setPlatformResponse):
              (Path::transform):
              (ResourceLoader::loadsBlocked):
              (IconLoader::notifyIconChanged):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::writeCallback):
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
      2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Linux\gdk build fixes.
      
              * GdkLauncher/main.cpp:
              (LauncherFrameGdk::LauncherFrameGdk):
              (main):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      808883b8
  34. 05 Nov, 2006 1 commit
    • darin's avatar
      WebCore: · 7c9aa2d4
      darin authored
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                converted most uses of NSURL to KURL and NSEvent to DOM Event in
                loader classes
      
                moved download function out of FrameLoader.h to avoid reference to
                NSURLConnection
      
                added DOM Event parameters to various functions so that the handlers
                can use the DOM Event instead of the global "current NSEvent";
                includes Frame::submitForm, HTMLFormElement::prepareSubmit,
                HTMLFormElement::submit, FrameLoader::load
      
                moved the setMainFrame call that hands ownership to the Page
                into one of the Frame constructors, and removed it from all
                the clients
      
                removed const from Event parameter to the urlSelected function
                (we rarely use const with DOM elements)
      
                removed some redundant includes and declarations from various
                header files
      
                removed NSURL parameter from userAgent function -- if we need it we
                can add it back, but converting from NSURL to KURL and back is
                inefficient enough that it's best to have it out for now (since it's
                been unused for years) -- if we add it back, we can choose an
                appropriate parameter type that's always inexpensive to pass
      
                did some basic cleanup in the IconLoader class, including removing
                an unnecessary loop that added icon data a byte at a time
      
                renamed safeLoad to load, since it's no different from the other
                FrameLoader load functions, safety-wise
      
                fixed some code that was trying to distinguish null frame name from
                empty string frame name -- both should be handled the same, but callers
                were doing it by checking for empty and turning it into null (in a way
                that was causing extra round trips between NSString and WebCore::String)
      
                corrected all uses of "get" and "post" to be uppercase "GET" and "POST"
                and got rid of case-insensitive compares of methods
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::submitForm):
              (WebCore::FrameMac::urlSelected):
              (WebCore::FrameMac::userAgent):
              * bridge/mac/FrameViewMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject rendererForView:]):
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::submitForm):
              * bridge/win/FrameWin.h:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/UIEvent.cpp:
              (WebCore::UIEvent::~UIEvent):
              * dom/UIEvent.h:
              * dom/UIEventWithKeyState.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::defaultEventHandler):
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::submitClick):
              (WebCore::HTMLFormElement::prepareSubmit):
              (WebCore::HTMLFormElement::submit):
              * html/HTMLFormElement.h:
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::defaultEventHandler):
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::menuListDefaultEventHandler):
              * loader/DocumentLoader.h:
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/NavigationAction.h:
              (WebCore::NavigationAction::event):
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::create):
              (WebCore::IconLoader::startLoading):
              (WebCore::IconLoader::didReceiveData):
              (WebCore::IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              * loader/mac/DocumentLoaderMac.mm:
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::URLForHistory):
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::willSendRequest):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::loadResourceSynchronously):
              * loader/mac/IconLoaderMac.mm:
              (WebCore::IconLoader::notifyIconChanged):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/MainResourceLoaderMac.mm:
              (WebCore::shouldLoadAsEmptyDocument):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              * loader/mac/NavigationActionMac.mm:
              (WebCore::navigationType):
              (WebCore::NavigationAction::NavigationAction):
              * loader/mac/ResourceLoaderMac.mm:
              * loader/mac/SubresourceLoaderMac.mm:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::urlSelected):
              (WebCore::Frame::submitFormAgain):
              (WebCore::Frame::submitForm):
              (WebCore::Frame::endIfNotLoading):
              (WebCore::Frame::hitTestResultAtPoint):
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              * platform/gdk/FrameGdk.h:
              * platform/mac/TextFieldMac.mm:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleClient.h:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/mac/ResourceHandleMac.mm:
              * platform/network/mac/ResourceResponseMac.h:
              * platform/network/mac/ResourceResponseMac.mm:
              (-[NSURLResponse WebCore]):
              * platform/network/win/ResourceHandleWin.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::submitForm):
              (WebCore::FrameQt::urlSelected):
              * platform/qt/FrameQt.h:
              * rendering/RenderLineEdit.cpp:
              (WebCore::RenderLineEdit::returnPressed):
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
      
      WebKit:
      
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                store the computed user agent string as a WebCore::String instead
                of an NSString to avoid overhead converting it every time we get it
      
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              * ChangeLog:
              * Misc/WebElementDictionary.m:
              (-[WebElementDictionary _image]):
              (-[WebElementDictionary _targetWebFrame]):
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
              (WebFrameLoaderClient::shouldTreatURLAsSameAsCurrent):
              (WebFrameLoaderClient::setTitle):
              (WebFrameLoaderClient::userAgent):
              (WebFrameLoaderClient::actionDictionary):
              * WebCoreSupport/WebPageBridge.mm:
              (WebCore::if):
              * WebView/WebDataSource.mm:
              (-[WebDataSource _URL]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource unreachableURL]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView elementAtPoint:allowShadowContent:]):
              * WebView/WebPDFView.mm:
              (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
              (-[WebPDFView _path]):
              * WebView/WebView.mm:
              (-[WebViewPrivate init]):
              (-[WebViewPrivate dealloc]):
              (-[WebViewPrivate finalize]):
              (-[WebView _preferencesChangedNotification:]):
              (-[WebView _cachedResponseForURL:]):
              (-[WebView setApplicationNameForUserAgent:]):
              (-[WebView setCustomUserAgent:]):
              (-[WebView customUserAgent]):
              (-[WebView userAgentForURL:]):
              (-[WebView _computeUserAgent]):
              (-[WebView WebCore::]):
              * WebView/WebViewInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c9aa2d4
  35. 29 Oct, 2006 1 commit
    • mjs's avatar
      Rubber stamped by Darin. · 1d734efa
      mjs authored
              - renamed ResourceLoader to ResourceHandle (and same for related classes)
      
              * CMakeLists.txt:
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bridge/mac/FrameMac.mm:
              * bridge/win/FrameWin.cpp:
              * dom/XMLTokenizer.cpp:
              * loader/Cache.cpp:
              * loader/CachedResource.h:
              * loader/LoaderFunctions.h:
              * loader/icon/IconLoader.cpp:
              (IconLoader::startLoading):
              (IconLoader::didReceiveData):
              (IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::receivedAllData):
              (WebCore::Loader::receivedResponse):
              (WebCore::Loader::didReceiveData):
              (WebCore::Loader::cancelRequests):
              (WebCore::Loader::jobForRequest):
              * loader/loader.h:
              * loader/mac/IconLoaderMac.mm:
              (IconLoader::receivedResponse):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/WebLoader.h:
              * loader/mac/WebSubresourceLoader.h:
              * loader/mac/WebSubresourceLoader.mm:
              (WebCore::SubresourceLoader::SubresourceLoader):
              (WebCore::SubresourceLoader::create):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::FrameGdkClientDefault):
              (WebCore::FrameGdkClientDefault::openURL):
              (WebCore::FrameGdkClientDefault::submitForm):
              (WebCore::FrameGdkClientDefault::receivedResponse):
              (WebCore::FrameGdkClientDefault::didReceiveData):
              (WebCore::FrameGdkClientDefault::receivedAllData):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (WebCore::ServeSynchronousRequest):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveCharset):
              * platform/network/ResourceHandle.cpp: Added.
              (WebCore::ResourceHandle::ResourceHandle):
              (WebCore::ResourceHandle::create):
              (WebCore::ResourceHandle::isErrorPage):
              (WebCore::ResourceHandle::error):
              (WebCore::ResourceHandle::setError):
              (WebCore::ResourceHandle::responseEncoding):
              (WebCore::ResourceHandle::responseHTTPHeadersAsString):
              (WebCore::ResourceHandle::kill):
              (WebCore::ResourceHandle::requestHeaders):
              (WebCore::ResourceHandle::url):
              (WebCore::ResourceHandle::postData):
              (WebCore::ResourceHandle::method):
              (WebCore::ResourceHandle::client):
              * platform/network/ResourceHandle.h: Added.
              (WebCore::ResourceHandle::getInternal):
              * platform/network/ResourceHandleClient.h: Added.
              (WebCore::ResourceHandleClient::~ResourceHandleClient):
              (WebCore::ResourceHandleClient::didReceiveData):
              (WebCore::ResourceHandleClient::didFinishLoading):
              (WebCore::ResourceHandleClient::receivedRedirect):
              (WebCore::ResourceHandleClient::receivedResponse):
              (WebCore::ResourceHandleClient::receivedAllData):
              * platform/network/ResourceHandleInternal.h: Added.
              (WebCore::ResourceHandleInternal::ResourceHandleInternal):
              * platform/network/ResourceLoader.cpp: Removed.
              * platform/network/ResourceLoader.h: Removed.
              * platform/network/ResourceLoaderClient.h: Removed.
              * platform/network/ResourceLoaderInternal.h: Removed.
              * platform/network/cf/ResourceHandleCFNet.cpp: Added.
              (WebCore::willSendRequest):
              (WebCore::didReceiveResponse):
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::willCacheResponse):
              (WebCore::didReceiveChallenge):
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/network/cf/ResourceLoaderCFNet.cpp: Removed.
              * platform/network/gdk/ResourceHandleCurl.cpp: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/network/gdk/ResourceHandleManager.cpp: Added.
              (WebCore::ResourceHandleManager::ResourceHandleManager):
              (WebCore::ResourceHandleManager::get):
              (WebCore::ResourceHandleManager::useSimpleTransfer):
              (WebCore::writeCallback):
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * platform/network/gdk/ResourceHandleManager.h: Added.
              * platform/network/gdk/ResourceLoaderCurl.cpp: Removed.
              * platform/network/gdk/ResourceLoaderManager.cpp: Removed.
              * platform/network/gdk/ResourceLoaderManager.h: Removed.
              * platform/network/mac/ResourceHandleMac.mm: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ResourceHandle::receivedResponse):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::redirectedToURL):
              (WebCore::ResourceHandle::addData):
              (WebCore::ResourceHandle::finishJobAndHandle):
              (WebCore::ResourceHandle::reportError):
              * platform/network/mac/ResourceLoaderMac.mm: Removed.
              * platform/network/qt/ResourceHandleManager.cpp: Added.
              (WebCore::ResourceHandleManager::ResourceHandleManager):
              (WebCore::ResourceHandleManager::~ResourceHandleManager):
              (WebCore::ResourceHandleManager::self):
              (WebCore::ResourceHandleManager::slotData):
              (WebCore::ResourceHandleManager::slotMimetype):
              (WebCore::ResourceHandleManager::slotResult):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * platform/network/qt/ResourceHandleManager.h: Added.
              * platform/network/qt/ResourceHandleQt.cpp: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ResourceHandle::receivedResponse):
              (WebCore::ResourceHandle::extractCharsetFromHeaders):
              * platform/network/qt/ResourceLoaderManager.cpp: Removed.
              * platform/network/qt/ResourceLoaderManager.h: Removed.
              * platform/network/qt/ResourceLoaderQt.cpp: Removed.
              * platform/network/win/ResourceHandleWin.cpp: Added.
              (WebCore::):
              (WebCore::addToOutstandingJobs):
              (WebCore::lookupResourceHandle):
              (WebCore::ResourceHandleWndProc):
              (WebCore::initializeOffScreenResourceHandleWindow):
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::onHandleCreated):
              (WebCore::ResourceHandle::onRequestRedirected):
              (WebCore::ResourceHandle::onRequestComplete):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::fileLoadTimer):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::setHasReceivedResponse):
              (WebCore::ResourceHandle::hasReceivedResponse):
              * platform/network/win/ResourceHandleWin.h: Added.
              * platform/network/win/ResourceLoaderWin.cpp: Removed.
              * platform/network/win/ResourceLoaderWin.h: Removed.
              * platform/qt/FrameQt.cpp:
              * platform/qt/FrameQtClient.cpp:
              (WebCore::FrameQtClientDefault::openURL):
              (WebCore::FrameQtClientDefault::submitForm):
              (WebCore::FrameQtClientDefault::receivedResponse):
              (WebCore::FrameQtClientDefault::didReceiveData):
              (WebCore::FrameQtClientDefault::receivedAllData):
              * platform/qt/FrameQtClient.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ServeSynchronousRequest):
              * xml/XSLTProcessor.cpp:
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::didFinishLoading):
              (WebCore::XMLHttpRequest::receivedRedirect):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d734efa
  36. 24 Oct, 2006 2 commits
    • ggaren's avatar
      Rolling back in, now fixed: · c68cb259
      ggaren authored
              
              Nixed a few more redundant loading functions in Frame. Did my best to update
              the non-Mac builds.
      
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::urlSelected): Kept always 'true' argument for userGesture
              always 'true', because changing it broke the world, and testing seems to
              indicate that the one caller that might have passed 'false' didn't need to.
              * page/Frame.cpp:
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::frameLoader):
              (WebCore::Frame::redirectionTimerFired):
              * page/Frame.h:
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::issueCopyCommand):
              * platform/qt/FrameQt.cpp:
              * platform/qt/FrameQt.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::FrameWin::shouldInterruptJavaScript):
              (WebCore::FrameWin::issueCopyCommand):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c68cb259
    • ggaren's avatar
      Rolling out my last change because it broke the world. · ae8922c4
      ggaren authored
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::openURL):
              (WebCore::FrameMac::openURLRequest):
              (WebCore::FrameMac::urlSelected):
              * page/Frame.cpp:
              (WebCore::Frame::openURL):
              (WebCore::Frame::frameLoader):
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::redirectionTimerFired):
              * page/Frame.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::openURL):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::openURL):
              (WebCore::FrameQt::openURLRequest):
              * platform/qt/FrameQt.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::FrameWin::openURL):
              (WebCore::FrameWin::openURLRequest):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae8922c4