1. 28 Jun, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-06-28 Zhe Su <suzhe@chromium.org> · d626a026
      commit-queue@webkit.org authored
              Reviewed by Jian Li.
      
              [chromium]Remove deprecated code related to input method.
              https://bugs.webkit.org/show_bug.cgi?id=41244
      
              Also update TestWebWidget in tests/PopupMenuTest.cpp to add missing implementations.
      
              * WebKit.gyp:
              * public/WebCompositionCommand.h: Removed.
              * public/WebViewClient.h:
              * public/WebWidget.h:
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::setInputMethodState):
              * src/WebPopupMenuImpl.cpp:
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              * src/WebViewImpl.h:
              * tests/PopupMenuTest.cpp:
              (WebKit::TestWebWidget::setComposition):
              (WebKit::TestWebWidget::confirmComposition):
              (WebKit::TestWebWidget::textInputType):
              (WebKit::TestWebWidget::caretOrSelectionBounds):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d626a026
  2. 19 Jun, 2010 1 commit
    • eric@webkit.org's avatar
      2010-06-19 Zhe Su <suzhe@chromium.org> · 079bebf2
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              [chromium]Refactor input method related APIs.
              https://bugs.webkit.org/show_bug.cgi?id=40608
      
              No new tests are needed, because there is no new functionality.
      
              * page/FocusController.cpp:
              (WebCore::FocusController::setFocusedNode):
      2010-06-19  Zhe Su  <suzhe@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [chromium]Refactor input method related APIs.
              https://bugs.webkit.org/show_bug.cgi?id=40608
      
              * WebKit.gyp:
              * public/WebCompositionCommand.h:
              * public/WebCompositionUnderline.h: Added.
              (WebKit::WebCompositionUnderline::WebCompositionUnderline):
              * public/WebTextInputType.h: Added.
              (WebKit::):
              * public/WebViewClient.h:
              * public/WebWidget.h:
              * public/WebWidgetClient.h:
              (WebKit::WebWidgetClient::resetInputMethod):
              * src/CompositionUnderlineBuilder.h: Added.
              (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
              * src/CompositionUnderlineVectorBuilder.cpp: Added.
              (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
              * src/CompositionUnderlineVectorBuilder.h: Added.
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::setInputMethodState):
              * src/WebPopupMenuImpl.cpp:
              (WebKit::WebPopupMenuImpl::setComposition):
              (WebKit::WebPopupMenuImpl::confirmComposition):
              (WebKit::WebPopupMenuImpl::textInputType):
              (WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::handleCompositionEvent):
              (WebKit::WebViewImpl::setComposition):
              (WebKit::WebViewImpl::confirmComposition):
              (WebKit::WebViewImpl::textInputType):
              (WebKit::WebViewImpl::caretOrSelectionBounds):
              * src/WebViewImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      079bebf2
  3. 04 May, 2010 1 commit
    • eric@webkit.org's avatar
      2010-05-04 Vangelis Kokkevis <vangelis@chromium.org> · a2ccb1f3
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Provide an API for querying whether a WebWidget is using gpu accelerated compositing.
              Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive.
              https://bugs.webkit.org/show_bug.cgi?id=38220
      
              * public/WebWidget.h:
              * src/WebPopupMenuImpl.h:
              (WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::WebViewImpl):
              (WebKit::WebViewImpl::paint):
              (WebKit::WebViewImpl::isAcceleratedCompositingActive):
              (WebKit::WebViewImpl::setRootGraphicsLayer):
              (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
              (WebKit::WebViewImpl::updateRootLayerContents):
              * src/WebViewImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2ccb1f3
  4. 09 Nov, 2009 1 commit
    • eric@webkit.org's avatar
      2009-11-09 Yaar Schnitman <yaar@chromium.org> · 7c6268b9
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient
      
              https://bugs.webkit.org/show_bug.cgi?id=28394
      
              * public/WebVector.h: Added.
              (WebKit::WebVector::~WebVector):
              (WebKit::WebVector::WebVector):
              (WebKit::WebVector::operator=):
              (WebKit::WebVector::assign):
              (WebKit::WebVector::size):
              (WebKit::WebVector::isEmpty):
              (WebKit::WebVector::operator[]):
              (WebKit::WebVector::data):
              (WebKit::WebVector::swap):
              (WebKit::WebVector::initialize):
              (WebKit::WebVector::initializeFrom):
              (WebKit::WebVector::destroy):
              * public/WebView.h: Added.
              (WebKit::WebView::~WebView):
              * public/WebViewClient.h: Added.
              (WebKit::WebViewClient::createView):
              (WebKit::WebViewClient::createPopupMenu):
              (WebKit::WebViewClient::didAddMessageToConsole):
              (WebKit::WebViewClient::printPage):
              (WebKit::WebViewClient::notificationPresenter):
              (WebKit::WebViewClient::didStartLoading):
              (WebKit::WebViewClient::didStopLoading):
              (WebKit::WebViewClient::shouldBeginEditing):
              (WebKit::WebViewClient::shouldEndEditing):
              (WebKit::WebViewClient::shouldInsertNode):
              (WebKit::WebViewClient::shouldInsertText):
              (WebKit::WebViewClient::shouldChangeSelectedRange):
              (WebKit::WebViewClient::shouldDeleteRange):
              (WebKit::WebViewClient::shouldApplyStyle):
              (WebKit::WebViewClient::isSmartInsertDeleteEnabled):
              (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled):
              (WebKit::WebViewClient::setInputMethodEnabled):
              (WebKit::WebViewClient::didBeginEditing):
              (WebKit::WebViewClient::didChangeSelection):
              (WebKit::WebViewClient::didChangeContents):
              (WebKit::WebViewClient::didExecuteCommand):
              (WebKit::WebViewClient::didEndEditing):
              (WebKit::WebViewClient::handleCurrentKeyboardEvent):
              (WebKit::WebViewClient::spellCheck):
              (WebKit::WebViewClient::autoCorrectWord):
              (WebKit::WebViewClient::showSpellingUI):
              (WebKit::WebViewClient::isShowingSpellingUI):
              (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord):
              (WebKit::WebViewClient::runFileChooser):
              (WebKit::WebViewClient::runModalAlertDialog):
              (WebKit::WebViewClient::runModalConfirmDialog):
              (WebKit::WebViewClient::runModalPromptDialog):
              (WebKit::WebViewClient::runModalBeforeUnloadDialog):
              (WebKit::WebViewClient::setStatusText):
              (WebKit::WebViewClient::setMouseOverURL):
              (WebKit::WebViewClient::setKeyboardFocusURL):
              (WebKit::WebViewClient::setToolTipText):
              (WebKit::WebViewClient::showContextMenu):
              (WebKit::WebViewClient::startDragging):
              (WebKit::WebViewClient::acceptsLoadDrops):
              (WebKit::WebViewClient::focusNext):
              (WebKit::WebViewClient::focusPrevious):
              (WebKit::WebViewClient::navigateBackForwardSoon):
              (WebKit::WebViewClient::historyBackListCount):
              (WebKit::WebViewClient::historyForwardListCount):
              (WebKit::WebViewClient::didAddHistoryItem):
              (WebKit::WebViewClient::focusAccessibilityObject):
              (WebKit::WebViewClient::didUpdateInspectorSettings):
              (WebKit::WebViewClient::queryAutofillSuggestions):
              (WebKit::WebViewClient::removeAutofillSuggestions):
              (WebKit::WebViewClient::~WebViewClient):
              * public/WebWidget.h: Added.
              (WebKit::WebWidget::~WebWidget):
              * public/WebWidgetClient.h: Added.
              (WebKit::WebWidgetClient::didInvalidateRect):
              (WebKit::WebWidgetClient::didScrollRect):
              (WebKit::WebWidgetClient::didFocus):
              (WebKit::WebWidgetClient::didBlur):
              (WebKit::WebWidgetClient::didChangeCursor):
              (WebKit::WebWidgetClient::closeWidgetSoon):
              (WebKit::WebWidgetClient::show):
              (WebKit::WebWidgetClient::runModal):
              (WebKit::WebWidgetClient::windowRect):
              (WebKit::WebWidgetClient::setWindowRect):
              (WebKit::WebWidgetClient::windowResizerRect):
              (WebKit::WebWidgetClient::rootWindowRect):
              (WebKit::WebWidgetClient::screenInfo):
              (WebKit::WebWidgetClient::~WebWidgetClient):
              * public/WebWorker.h: Added.
              (WebKit::WebWorker::~WebWorker):
              * public/WebWorkerClient.h: Added.
              (WebKit::WebWorkerClient::~WebWorkerClient):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c6268b9