Title: [139813] branches/chromium/1364/Source/WebKit/chromium
Revision
139813
Author
k...@chromium.org
Date
2013-01-15 17:38:38 -0800 (Tue, 15 Jan 2013)

Log Message

Merge 138893
> Add function to move caret selection towards a point
> https://bugs.webkit.org/show_bug.cgi?id=105189
> 
> Patch by Chris Hopman <cjhop...@google.com> on 2013-01-05
> Reviewed by Eric Seidel.
> 
> This function moves the selection to the corresponding point in the
> rootEditableElement of the current selection. Used on Android for
> the behavior of insertion handles (i.e. dragging the caret around).
> 
> * public/WebFrame.h:
> (WebFrame):
> * src/WebFrameImpl.cpp:
> (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
> (WebKit):
> * src/WebFrameImpl.h:
> (WebFrameImpl):

TBR=commit-qu...@webkit.org
Review URL: https://codereview.chromium.org/11931008

Modified Paths

Diff

Modified: branches/chromium/1364/Source/WebKit/chromium/ChangeLog (139812 => 139813)


--- branches/chromium/1364/Source/WebKit/chromium/ChangeLog	2013-01-16 01:33:30 UTC (rev 139812)
+++ branches/chromium/1364/Source/WebKit/chromium/ChangeLog	2013-01-16 01:38:38 UTC (rev 139813)
@@ -1,796 +1,3 @@
-2013-01-10  John Mellor  <joh...@chromium.org>
-
-        Fix scale of screen.width, window.outerWidth and @media device-width when page scale not applied in compositor.
-        https://bugs.webkit.org/show_bug.cgi?id=106460
-
-        Reviewed by Kenneth Rohde Christiansen.
-
-        1. Exposes the existing applyDeviceScaleFactorInCompositor from
-        WebSettings on Settings (and stores the value there instead), so it can
-        be accessed from WebCore.
-
-        2. Changes ChromeClientImpl::windowRect to return values in density
-        independent (UI) pixels pixels instead of physical screen pixels (see
-        explanation in Source/WebCore/ChangeLog).
-
-        * src/ChromeClientImpl.cpp:
-        (WebKit::ChromeClientImpl::windowRect):
-            Normalizes window rect scale.
-        * src/WebSettingsImpl.cpp:
-        (WebKit::WebSettingsImpl::WebSettingsImpl):
-        (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
-        (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
-        (WebKit):
-        * src/WebSettingsImpl.h:
-        (WebSettingsImpl):
-
-2013-01-10  Sheriff Bot  <webkit.review....@gmail.com>
-
-        Unreviewed.  Rolled DEPS.
-
-        * DEPS:
-
-2013-01-10  Dimitri Glazkov  <dglaz...@chromium.org>
-
-        Unreviewed, rolling out r139227.
-        http://trac.webkit.org/changeset/139227
-        https://bugs.webkit.org/show_bug.cgi?id=106227
-
-        Broke Win component build.
-
-        * public/WebAccessibilityObject.h:
-        * public/WebAccessibilityRole.h:
-        * public/WebActiveWheelFlingParameters.h:
-        * public/WebAnimationController.h:
-        * public/WebApplicationCacheHost.h:
-        * public/WebApplicationCacheHostClient.h:
-        * public/WebArrayBuffer.h:
-        * public/WebAudioSourceProvider.h:
-        * public/WebBatteryStatus.h:
-        * public/WebBindings.h:
-        * public/WebBlob.h:
-        * public/WebCache.h:
-        * public/WebCachedURLRequest.h:
-        * public/WebColorChooser.h:
-        * public/WebColorChooserClient.h:
-        * public/WebColorName.h:
-        * public/WebCommonWorkerClient.h:
-        * public/WebCompositionUnderline.h:
-        * public/WebCompositorInputHandler.h:
-        * public/WebConsoleMessage.h:
-        * public/WebContentDetectionResult.h:
-        * public/WebContextMenuData.h:
-        * public/WebCrossOriginPreflightResultCache.h:
-        * public/WebCursorInfo.h:
-        * public/WebDOMEvent.h:
-        * public/WebDOMEventListener.h:
-        * public/WebDOMStringList.h:
-        * public/WebDataSource.h:
-        * public/WebDatabase.h:
-        * public/WebDateTimeChooserCompletion.h:
-        * public/WebDateTimeChooserParams.h:
-        * public/WebDeliveredIntentClient.h:
-        * public/WebDevToolsAgent.h:
-        * public/WebDevToolsAgentClient.h:
-        * public/WebDevToolsFrontend.h:
-        * public/WebDeviceOrientationClient.h:
-        * public/WebDeviceOrientationClientMock.h:
-        * public/WebDeviceOrientationController.h:
-        * public/WebDocument.h:
-        * public/WebDraggableRegion.h:
-        * public/WebExternalPopupMenuClient.h:
-        * public/WebFileChooserCompletion.h:
-        * public/WebFileChooserParams.h:
-        * public/WebFileSystemCallbacks.h:
-        * public/WebFileSystemEntry.h:
-        * public/WebFileWriter.h:
-        * public/WebFileWriterClient.h:
-        * public/WebFindOptions.h:
-        * public/WebFont.h:
-        * public/WebFontCache.h:
-        * public/WebFontDescription.h:
-        * public/WebFormControlElement.h:
-        * public/WebFormElement.h:
-        * public/WebFrame.h:
-        * public/WebFrameClient.h:
-        * public/WebGeolocationClientMock.h:
-        * public/WebGeolocationController.h:
-        * public/WebGeolocationError.h:
-        * public/WebGeolocationPermissionRequest.h:
-        * public/WebGeolocationPermissionRequestManager.h:
-        * public/WebGeolocationPosition.h:
-        * public/WebGlyphCache.h:
-        * public/WebHelperPlugin.h:
-        * public/WebHistoryItem.h:
-        * public/WebHitTestResult.h:
-        * public/WebIDBCallbacks.h:
-        * public/WebIDBCursor.h:
-        * public/WebIDBDatabase.h:
-        * public/WebIDBDatabaseCallbacks.h:
-        * public/WebIDBDatabaseError.h:
-        * public/WebIDBFactory.h:
-        * public/WebIDBIndex.h:
-        * public/WebIDBKey.h:
-        * public/WebIDBKeyPath.h:
-        * public/WebIDBKeyRange.h:
-        * public/WebIDBMetadata.h:
-        * public/WebIDBObjectStore.h:
-        * public/WebIDBTransaction.h:
-        * public/WebIDBTransactionCallbacks.h:
-        * public/WebIconURL.h:
-        * public/WebImageDecoder.h:
-        * public/WebInputEvent.h:
-        * public/WebIntent.h:
-        * public/WebIntentRequest.h:
-        * public/WebIntentServiceInfo.h:
-        * public/WebMediaPlayer.h:
-        * public/WebMediaStreamRegistry.h:
-        * public/WebMenuItemInfo.h:
-        * public/WebNetworkStateNotifier.h:
-        * public/WebNode.h:
-        * public/WebNodeCollection.h:
-        * public/WebNodeList.h:
-        * public/WebNotification.h:
-        * public/WebNotificationPresenter.h:
-        * public/WebOptionElement.h:
-        * public/WebPageOverlay.h:
-        * public/WebPagePopup.h:
-        * public/WebPageSerializer.h:
-        * public/WebPasswordFormData.h:
-        * public/WebPerformance.h:
-        * public/WebPlugin.h:
-        * public/WebPluginContainer.h:
-        * public/WebPluginParams.h:
-        * public/WebPopupMenu.h:
-        * public/WebPopupMenuInfo.h:
-        * public/WebPrerendererClient.h:
-        * public/WebPrintParams.h:
-        * public/WebRange.h:
-        * public/WebRegularExpression.h:
-        * public/WebRuntimeFeatures.h:
-        * public/WebScopedMicrotaskSuppression.h:
-        * public/WebScopedUserGesture.h:
-        * public/WebScriptController.h:
-        * public/WebScriptSource.h:
-        * public/WebSearchableFormData.h:
-        * public/WebSecurityOrigin.h:
-        * public/WebSecurityPolicy.h:
-        * public/WebSelectElement.h:
-        * public/WebSettings.h:
-        * public/WebSharedWorker.h:
-        * public/WebSharedWorkerRepository.h:
-        * public/WebSpeechGrammar.h:
-        * public/WebSpeechInputController.h:
-        * public/WebSpeechInputResult.h:
-        * public/WebSpeechRecognitionHandle.h:
-        * public/WebSpeechRecognitionParams.h:
-        * public/WebSpeechRecognitionResult.h:
-        * public/WebSpeechRecognizer.h:
-        * public/WebSpeechRecognizerClient.h:
-        * public/WebSpellCheckClient.h:
-        * public/WebStorageEventDispatcher.h:
-        * public/WebSurroundingText.h:
-        * public/WebTestingSupport.h:
-        * public/WebTextCheckingCompletion.h:
-        * public/WebTextCheckingResult.h:
-        * public/WebTextFieldDecoratorClient.h:
-        * public/WebTextInputInfo.h:
-        * public/WebTextRun.h:
-        * public/WebTimeRange.h:
-        * public/WebTouchPoint.h:
-        * public/WebUserMediaRequest.h:
-        * public/WebView.h:
-        * public/WebViewBenchmarkSupport.h:
-        * public/WebViewClient.h:
-        * public/WebWidget.h:
-        * public/WebWidgetClient.h:
-        * public/WebWindowFeatures.h:
-        * public/WebWorkerInfo.h:
-
-2013-01-09  Alec Flett  <alecfl...@chromium.org>
-
-        IndexedDB: Allow createIndex/createObjectStore to be asynchronous
-        https://bugs.webkit.org/show_bug.cgi?id=106377
-
-        Reviewed by Tony Chang.
-
-        Remove this test as it makes no sense once the objectstore/index
-        hierarchy is gone.
-
-        * tests/IDBDatabaseBackendTest.cpp:
-
-2013-01-09  Chris Rogers  <crog...@google.com>
-
-        Allow live/local audio input to be enabled only when needed
-        https://bugs.webkit.org/show_bug.cgi?id=106490
-
-        Reviewed by Kenneth Russell.
-
-        * src/AudioDestinationChromium.cpp:
-        (WebCore):
-        (WebCore::AudioDestination::create):
-        (WebCore::AudioDestinationChromium::AudioDestinationChromium):
-        (WebCore::AudioDestinationChromium::render):
-        * src/AudioDestinationChromium.h:
-        (AudioDestinationChromium):
-
-2013-01-09  Yue Zhang  <zys...@google.com>
-
-        [Chromium] Always enable autocomplete for password fields
-        https://bugs.webkit.org/show_bug.cgi?id=104600
-
-        Reviewed by Darin Fisher.
-
-        Don't check autocomplete in webkit code. Rather, we check it in chrome code in the following way: if the password field is chrome generated password, we ignore autocomplete=off and always fill the password; otherwise, we respect the autocomplete set. Since this is a chrome only feature, we make it configurable (default to false but enable this in chrome code).
-
-        * src/WebPasswordFormUtils.cpp:
-        (WebKit::findPasswordFormFields):
-        * src/WebPasswordFormUtils.h:
-        (WebKit):
-        (WebKit::findPasswordFormFields):
-
-2013-01-09  James Robinson  <jam...@chromium.org>
-
-        [chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
-        https://bugs.webkit.org/show_bug.cgi?id=106495
-
-        Reviewed by Adrienne Walker.
-
-        The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
-        of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
-        client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
-        notification to the WebWidget that the WebLayerTreeView is going to go away.
-
-        This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
-        which will take a bit more refactoring.
-
-        * public/WebWidget.h:
-        (WebWidget):
-        (WebKit::WebWidget::willCloseLayerTreeView):
-        * src/WebViewImpl.cpp:
-        (WebKit::WebViewImpl::willCloseLayerTreeView):
-        (WebKit):
-        * src/WebViewImpl.h:
-        (WebViewImpl):
-
-2013-01-09  Mark Pilgrim  <pilg...@chromium.org>
-
-        [Chromium] Remove stray references to WebKitPlatformSupport.h
-        https://bugs.webkit.org/show_bug.cgi?id=106493
-
-        Reviewed by James Robinson.
-
-        Part of a refactoring series. See tracking bug 82948.
-
-        * src/SharedWorkerRepository.cpp:
-        * tests/RunAllTests.cpp:
-
-2013-01-09  Mark Pilgrim  <pilg...@chromium.org>
-
-        [Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
-        https://bugs.webkit.org/show_bug.cgi?id=106227
-
-        Reviewed by Darin Fisher.
-
-        Part of a larger refactoring series. See tracking bug 82948.
-
-        * public/WebAccessibilityObject.h:
-        * public/WebAccessibilityRole.h:
-        * public/WebActiveWheelFlingParameters.h:
-        * public/WebAnimationController.h:
-        * public/WebApplicationCacheHost.h:
-        * public/WebApplicationCacheHostClient.h:
-        * public/WebArrayBuffer.h:
-        * public/WebAudioSourceProvider.h:
-        * public/WebBatteryStatus.h:
-        * public/WebBindings.h:
-        * public/WebBlob.h:
-        * public/WebCache.h:
-        * public/WebCachedURLRequest.h:
-        * public/WebColorChooser.h:
-        * public/WebColorChooserClient.h:
-        * public/WebColorName.h:
-        * public/WebCommonWorkerClient.h:
-        * public/WebCompositionUnderline.h:
-        * public/WebCompositorInputHandler.h:
-        * public/WebConsoleMessage.h:
-        * public/WebContentDetectionResult.h:
-        * public/WebContextMenuData.h:
-        * public/WebCrossOriginPreflightResultCache.h:
-        * public/WebCursorInfo.h:
-        * public/WebDOMEvent.h:
-        * public/WebDOMEventListener.h:
-        * public/WebDOMStringList.h:
-        * public/WebDataSource.h:
-        * public/WebDatabase.h:
-        * public/WebDateTimeChooserCompletion.h:
-        * public/WebDateTimeChooserParams.h:
-        * public/WebDeliveredIntentClient.h:
-        * public/WebDevToolsAgent.h:
-        * public/WebDevToolsAgentClient.h:
-        * public/WebDevToolsFrontend.h:
-        * public/WebDeviceOrientationClient.h:
-        * public/WebDeviceOrientationClientMock.h:
-        * public/WebDeviceOrientationController.h:
-        * public/WebDocument.h:
-        * public/WebDraggableRegion.h:
-        * public/WebExternalPopupMenuClient.h:
-        * public/WebFileChooserCompletion.h:
-        * public/WebFileChooserParams.h:
-        * public/WebFileSystemCallbacks.h:
-        * public/WebFileSystemEntry.h:
-        * public/WebFileWriter.h:
-        * public/WebFileWriterClient.h:
-        * public/WebFindOptions.h:
-        * public/WebFont.h:
-        * public/WebFontCache.h:
-        * public/WebFontDescription.h:
-        * public/WebFormControlElement.h:
-        * public/WebFormElement.h:
-        * public/WebFrame.h:
-        * public/WebFrameClient.h:
-        * public/WebGeolocationClientMock.h:
-        * public/WebGeolocationController.h:
-        * public/WebGeolocationError.h:
-        * public/WebGeolocationPermissionRequest.h:
-        * public/WebGeolocationPermissionRequestManager.h:
-        * public/WebGeolocationPosition.h:
-        * public/WebGlyphCache.h:
-        * public/WebHelperPlugin.h:
-        * public/WebHistoryItem.h:
-        * public/WebHitTestResult.h:
-        * public/WebIDBCallbacks.h:
-        * public/WebIDBCursor.h:
-        * public/WebIDBDatabase.h:
-        * public/WebIDBDatabaseCallbacks.h:
-        * public/WebIDBDatabaseError.h:
-        * public/WebIDBFactory.h:
-        * public/WebIDBIndex.h:
-        * public/WebIDBKey.h:
-        * public/WebIDBKeyPath.h:
-        * public/WebIDBKeyRange.h:
-        * public/WebIDBMetadata.h:
-        * public/WebIDBObjectStore.h:
-        * public/WebIDBTransaction.h:
-        * public/WebIDBTransactionCallbacks.h:
-        * public/WebIconURL.h:
-        * public/WebImageDecoder.h:
-        * public/WebInputEvent.h:
-        * public/WebIntent.h:
-        * public/WebIntentRequest.h:
-        * public/WebIntentServiceInfo.h:
-        * public/WebMediaPlayer.h:
-        * public/WebMediaStreamRegistry.h:
-        * public/WebMenuItemInfo.h:
-        * public/WebNetworkStateNotifier.h:
-        * public/WebNode.h:
-        * public/WebNodeCollection.h:
-        * public/WebNodeList.h:
-        * public/WebNotification.h:
-        * public/WebNotificationPresenter.h:
-        * public/WebOptionElement.h:
-        * public/WebPageOverlay.h:
-        * public/WebPagePopup.h:
-        * public/WebPageSerializer.h:
-        * public/WebPasswordFormData.h:
-        * public/WebPerformance.h:
-        * public/WebPlugin.h:
-        * public/WebPluginContainer.h:
-        * public/WebPluginParams.h:
-        * public/WebPopupMenu.h:
-        * public/WebPopupMenuInfo.h:
-        * public/WebPrerendererClient.h:
-        * public/WebPrintParams.h:
-        * public/WebRange.h:
-        * public/WebRegularExpression.h:
-        * public/WebRuntimeFeatures.h:
-        * public/WebScopedMicrotaskSuppression.h:
-        * public/WebScopedUserGesture.h:
-        * public/WebScriptController.h:
-        * public/WebScriptSource.h:
-        * public/WebSearchableFormData.h:
-        * public/WebSecurityOrigin.h:
-        * public/WebSecurityPolicy.h:
-        * public/WebSelectElement.h:
-        * public/WebSettings.h:
-        * public/WebSharedWorker.h:
-        * public/WebSharedWorkerRepository.h:
-        * public/WebSpeechGrammar.h:
-        * public/WebSpeechInputController.h:
-        * public/WebSpeechInputResult.h:
-        * public/WebSpeechRecognitionHandle.h:
-        * public/WebSpeechRecognitionParams.h:
-        * public/WebSpeechRecognitionResult.h:
-        * public/WebSpeechRecognizer.h:
-        * public/WebSpeechRecognizerClient.h:
-        * public/WebSpellCheckClient.h:
-        * public/WebStorageEventDispatcher.h:
-        * public/WebSurroundingText.h:
-        * public/WebTestingSupport.h:
-        * public/WebTextCheckingCompletion.h:
-        * public/WebTextCheckingResult.h:
-        * public/WebTextFieldDecoratorClient.h:
-        * public/WebTextInputInfo.h:
-        * public/WebTextRun.h:
-        * public/WebTimeRange.h:
-        * public/WebTouchPoint.h:
-        * public/WebUserMediaRequest.h:
-        * public/WebView.h:
-        * public/WebViewBenchmarkSupport.h:
-        * public/WebViewClient.h:
-        * public/WebWidget.h:
-        * public/WebWidgetClient.h:
-        * public/WebWindowFeatures.h:
-        * public/WebWorkerInfo.h:
-
-2013-01-09  Stephen Chenney  <schen...@chromium.org>
-
-        Adjust Skia build flags to WebKit skia gyp
-
-        Unreviewed change to enable easy layout test rebaselining.
-
-        * skia_webkit.gyp:
-
-2013-01-09  Mikhail Naganov  <mnaga...@chromium.org>
-
-        [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
-
-        * tests/WebFrameTest.cpp:
-
-2013-01-08  Mikhail Naganov  <mnaga...@chromium.org>
-
-        [Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
-        https://bugs.webkit.org/show_bug.cgi?id=106021
-
-        This is to emulate 'UseWideViewport' setting of Android WebView properly.
-        'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
-        When the value is false, "meta viewport" tag is ignored, and when calculating
-        layout width, display width in DIP pixels is used.
-
-        Reviewed by Adam Barth.
-
-        * src/ChromeClientImpl.cpp:
-        (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
-        * src/WebViewImpl.cpp:
-        (WebKit::WebViewImpl::resize):
-        (WebKit::WebViewImpl::dipSize):
-        (WebKit):
-        * src/WebViewImpl.h:
-        (WebCore):
-        (WebViewImpl):
-
-2013-01-08  Chris Rogers  <crog...@google.com>
-
-        Remove unused/deprecated render() method in chromium WebKit API
-        https://bugs.webkit.org/show_bug.cgi?id=106399
-
-        Reviewed by Kent Tamura.
-
-        * src/AudioDestinationChromium.cpp:
-        * src/AudioDestinationChromium.h:
-        (AudioDestinationChromium):
-
-2013-01-08  Yoshifumi Inoue  <yo...@chromium.org>
-
-        Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
-        https://bugs.webkit.org/show_bug.cgi?id=106403
-
-        This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
-        r139044.
-
-        Reviewed by Hajime Morita.
-
-        * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
-        * src/DragScrollTimer.cpp: Removed.
-        * src/DragScrollTimer.h: Removed.
-
-2013-01-08  Keishi Hattori  <kei...@webkit.org>
-
-        [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
-        https://bugs.webkit.org/show_bug.cgi?id=106312
-
-        Reviewed by Kent Tamura.
-
-        We had to removed the code that closed popups on mouse wheel events from
-        content::RenderWidgetHostViewMac because it no longer had access to
-        child popups. WebViewImpl will hide the popups on mouse wheel events so
-        we can maintain the same behavior.
-
-        https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
-
-        * src/WebViewImpl.cpp:
-        (WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popups.
-        (WebKit):
-        * src/WebViewImpl.h:
-
-2013-01-08  James Robinson  <jam...@chromium.org>
-
-        [chromium] Remove transitional #defines from WebKit API headers
-        https://bugs.webkit.org/show_bug.cgi?id=106381
-
-        Reviewed by Adam Barth.
-
-        * public/WebWidget.h:
-
-2013-01-08  Sheriff Bot  <webkit.review....@gmail.com>
-
-        Unreviewed.  Rolled DEPS.
-
-        * DEPS:
-
-2013-01-08  Tom Sepez  <tse...@chromium.org>
-
-        Copy-paste preserves <embed> tags containing active content.
-        https://bugs.webkit.org/show_bug.cgi?id=77625
-
-        Reviewed by Ryosuke Niwa.
-
-        Adds chromium API to new unsafePluginPastingEnabled setting.
-
-        * public/WebSettings.h:
-        * src/WebSettingsImpl.cpp:
-        (WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
-        (WebKit):
-        * src/WebSettingsImpl.h:
-        (WebSettingsImpl):
-
-2013-01-08  Mark Lam  <mark....@apple.com>
-
-        Removed the need for the ProposedDatabase mechanism.
-        https://bugs.webkit.org/show_bug.cgi?id=106292.
-
-        Reviewed by Sam Weinig.
-
-        * src/ChromeClientImpl.cpp:
-        (WebKit::ChromeClientImpl::exceededDatabaseQuota):
-        * src/ChromeClientImpl.h:
-        (ChromeClientImpl):
-
-2013-01-08  Keishi Hattori  <kei...@webkit.org>
-
-        [Chromium] Don't confine page popups to root view on Mac
-        https://bugs.webkit.org/show_bug.cgi?id=106315
-
-        Reviewed by Kent Tamura.
-
-        Page popups on Mac no longer get clipped to the web view so we can
-        remove the code to confine to root view.
-
-        * src/ColorChooserPopupUIController.cpp:
-        (WebKit::ColorChooserPopupUIController::writeDocument): Removing parameters confineToRootView and rootViewRectInScreen.
-        * src/DateTimeChooserImpl.cpp:
-        (WebKit::DateTimeChooserImpl::writeDocument): Ditto.
-
-2012-12-20  Antonio Gomes  <a1.go...@sisa.samsung.com>
-
-        Introduce a compositing trigger for scrollable frames
-        https://bugs.webkit.org/show_bug.cgi?id=105573
-
-        Reviewed by James Robinson.
-
-        Set the newly added scrollable-inner-frames bit to compositing-trigger
-        bitset in accordance to the respective setting value.
-
-        * src/ChromeClientImpl.cpp:
-        (WebKit::ChromeClientImpl::allowedCompositingTriggers):
-
-2013-01-08  Steve Block  <stevebl...@chromium.org>
-
-        Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
-        https://bugs.webkit.org/show_bug.cgi?id=106307
-
-        This matches other method names which distinguish between sizes and
-        points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
-
-        Reviewed by Kentaro Hara.
-
-        * src/NonCompositedContentHost.cpp:
-        (WebKit::NonCompositedContentHost::setViewport):
-        * src/WebFrameImpl.cpp:
-        (WebKit::WebFrameImpl::minimumScrollOffset):
-        (WebKit::WebFrameImpl::maximumScrollOffset):
-
-2013-01-08  Yoshifumi Inoue  <yo...@chromium.org>
-
-        Dragging over an element with scrollbars should scroll the element when dragging near edges
-        https://bugs.webkit.org/show_bug.cgi?id=39725
-
-        Reviewed by Hajime Morita.
-
-        This patch removes DragScrollTimer used for automatic scrolling of main
-        frame drag-and-drop which is now implemented in EventHandler.
-
-        Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
-        make patch size small.
-
-        No tests. Existing test covers this change.
-
-        * src/WebViewImpl.cpp:
-        (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
-        (WebKit::WebViewImpl::dragSourceEndedAt): ditto
-        (WebKit::WebViewImpl::dragSourceMovedTo): ditto
-        (WebKit::WebViewImpl::dragTargetDrop): ditto
-        (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
-        * src/WebViewImpl.h:
-        (WebKit): Chagned to remove DragScrollTimer.
-
-2013-01-07  Steve Block  <stevebl...@chromium.org>
-
-        Use toSize() to convert from Int/FloatPoint to Int/FloatSize
-        https://bugs.webkit.org/show_bug.cgi?id=105992
-
-        Reviewed by Kentaro Hara.
-
-        * src/LinkHighlight.cpp:
-        (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
-        * src/WebFrameImpl.cpp:
-        (WebKit::WebFrameImpl::minimumScrollOffset):
-        (WebKit::WebFrameImpl::maximumScrollOffset):
-
-2013-01-07  Xianzhu Wang  <wangxian...@chromium.org>
-
-        [Chromium] Expose compositedScrollingForFramesEnabled setting in WebKit API
-        https://bugs.webkit.org/show_bug.cgi?id=106262
-
-        Reviewed by James Robinson.
-
-        * public/WebSettings.h:
-        * src/WebSettingsImpl.cpp:
-        (WebKit::WebSettingsImpl::setCompositedScrollingForFramesEnabled):
-        (WebKit):
-        * src/WebSettingsImpl.h:
-        (WebSettingsImpl):
-
-2013-01-07  Stephen White  <senorbla...@chromium.org>
-
-        Add a flag to control canvas antialiasing.
-        https://bugs.webkit.org/show_bug.cgi?id=106255
-
-        Reviewed by Darin Fisher.
-
-        * public/WebSettings.h:
-        * src/WebSettingsImpl.cpp:
-        (WebKit::WebSettingsImpl::setAntialiased2dCanvasEnabled):
-        * src/WebSettingsImpl.h:
-
-2013-01-07  Yusuf Ozuysal  <yus...@google.com>
-
-        Don't use double tap zoom if minimum and maximum page scale is the same
-        https://bugs.webkit.org/show_bug.cgi?id=106272
-
-        Reviewed by James Robinson.
-
-        We should only try to computed relevant scale and scrollOffset and start the animation
-        if the page is zoomable. This now creates an undesired animation for mobile pages which
-        are not zoomable.
-
-        * src/WebViewImpl.cpp:
-        (WebKit::WebViewImpl::handleGestureEvent):
-
-2013-01-07  Tony Chang  <t...@chromium.org>
-
-        Unreviewed.  Rolled DEPS.
-
-        * DEPS:
-
-2013-01-07  Alok Priyadarshi  <al...@chromium.org>
-
-        [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse
-        https://bugs.webkit.org/show_bug.cgi?id=104956
-
-        Reviewed by James Robinson.
-
-        Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsContext::setShouldSmoothFonts.
-
-        * src/NonCompositedContentHost.cpp:
-        (WebKit::NonCompositedContentHost::paintContents):
-        (WebKit):
-        (WebKit::NonCompositedContentHost::setShowDebugBorders):
-        * src/PageWidgetDelegate.cpp:
-        (WebKit::PageWidgetDelegate::paint):
-        * src/WebFontImpl.cpp:
-        (WebKit::WebFontImpl::drawText):
-
-2013-01-07  Mike West  <mk...@chromium.org>
-
-        Make the IFRAME_SEAMLESS flag runtime-enabled.
-        https://bugs.webkit.org/show_bug.cgi?id=106213
-
-        Reviewed by Ojan Vafai.
-
-        * public/WebRuntimeFeatures.h:
-        (WebRuntimeFeatures):
-        * src/WebRuntimeFeatures.cpp:
-        (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
-        (WebKit):
-        (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
-            Expose the new runtime feature to the Chromium port.
-
-2013-01-07  Alec Flett  <alecfl...@chromium.org>
-
-        IndexedDB: Stub out async IDBDatabaseBackendInterface::createObjectStore
-        https://bugs.webkit.org/show_bug.cgi?id=106148
-
-        Reviewed by Adam Barth.
-
-        Stub out WebKit API for async createObjectStore.
-
-        * public/WebIDBDatabase.h:
-        (WebIDBDatabase):
-        * src/IDBDatabaseBackendProxy.cpp:
-        (WebKit::IDBDatabaseBackendProxy::createObjectStore):
-        (WebKit):
-        (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
-        * src/IDBDatabaseBackendProxy.h:
-        (IDBDatabaseBackendProxy):
-        * src/WebIDBDatabaseImpl.cpp:
-        (WebKit::WebIDBDatabaseImpl::createObjectStore):
-        (WebKit):
-        (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
-        * src/WebIDBDatabaseImpl.h:
-        (WebIDBDatabaseImpl):
-
-2013-01-07  Stephen Chenney  <schen...@chromium.org>
-
-        Add comment to WebKit skia gyp
-
-        Unreviewed additon of a comment.
-
-        * skia_webkit.gyp: Some changes should not yet be committed. Commented to that effect.
-
-2013-01-07  Stephen Chenney  <schen...@chromium.org>
-
-        Add Skia build flags to WebKit skia gyp
-
-        Unreviewed change to enable easy layout test rebaselining.
-
-        * skia_webkit.gyp: Added SK_IGNORE_QUAD_STROKE_FIX and SK_IGNORE_TREAT_AS_SPRITE
-
-2013-01-05  Alec Flett  <alecfl...@chromium.org>
-
-        IndexedDB: Migrate backend ObjectStore calls to use transaction id
-        https://bugs.webkit.org/show_bug.cgi?id=102741
-
-        Reviewed by Tony Chang.
-
-        Fix a bug where an array was initialized with a large empty buffer,
-        clean up whitespace, and update to match signatures that changed
-        in WebCore.
-
-        * public/WebIDBDatabase.h:
-        (WebKit::WebIDBDatabase::clear):
-        * src/WebIDBDatabaseImpl.cpp:
-        (WebKit::WebIDBDatabaseImpl::put):
-        * src/WebIDBIndexImpl.cpp:
-        * tests/IDBDatabaseBackendTest.cpp:
-
-2013-01-05  Alec Flett  <alecfl...@chromium.org>
-
-        IndexedDB: Stub out IDBDatabaseBackendInterface::createIndex/deleteIndex
-        https://bugs.webkit.org/show_bug.cgi?id=106117
-
-        Reviewed by Adam Barth.
-
-        Stubs for migration from WebIDBObjectStore.
-
-        * public/WebIDBDatabase.h:
-        (WebKit::WebIDBDatabase::createIndex):
-        (WebKit::WebIDBDatabase::deleteIndex):
-        (WebIDBDatabase):
-        * src/IDBDatabaseBackendProxy.cpp:
-        (WebKit::IDBDatabaseBackendProxy::createIndex):
-        (WebKit):
-        (WebKit::IDBDatabaseBackendProxy::deleteIndex):
-        * src/IDBDatabaseBackendProxy.h:
-        (IDBDatabaseBackendProxy):
-        * src/WebIDBDatabaseImpl.cpp:
-        (WebKit::WebIDBDatabaseImpl::createIndex):
-        (WebKit):
-        (WebKit::WebIDBDatabaseImpl::deleteIndex):
-        * src/WebIDBDatabaseImpl.h:
-        (WebIDBDatabaseImpl):
-        * tests/IDBDatabaseBackendTest.cpp:
-
 2013-01-05  Chris Hopman  <cjhop...@google.com>
 
         Add function to move caret selection towards a point

Modified: branches/chromium/1364/Source/WebKit/chromium/public/WebFrame.h (139812 => 139813)


--- branches/chromium/1364/Source/WebKit/chromium/public/WebFrame.h	2013-01-16 01:33:30 UTC (rev 139812)
+++ branches/chromium/1364/Source/WebKit/chromium/public/WebFrame.h	2013-01-16 01:38:38 UTC (rev 139813)
@@ -470,6 +470,8 @@
 
     virtual void selectRange(const WebRange&) = 0;
 
+    virtual void moveCaretSelectionTowardsWindowPoint(const WebPoint&) = 0;
+
     // Printing ------------------------------------------------------------
 
     // Reformats the WebFrame for printing. WebPrintParams specifies the printable

Modified: branches/chromium/1364/Source/WebKit/chromium/src/WebFrameImpl.cpp (139812 => 139813)


--- branches/chromium/1364/Source/WebKit/chromium/src/WebFrameImpl.cpp	2013-01-16 01:33:30 UTC (rev 139812)
+++ branches/chromium/1364/Source/WebKit/chromium/src/WebFrameImpl.cpp	2013-01-16 01:38:38 UTC (rev 139813)
@@ -1388,6 +1388,16 @@
         frame()->selection()->setSelectedRange(range.get(), WebCore::VP_DEFAULT_AFFINITY, false);
 }
 
+void WebFrameImpl::moveCaretSelectionTowardsWindowPoint(const WebPoint& point)
+{
+    Element* editable = frame()->selection()->rootEditableElement();
+    IntPoint contentsPoint = frame()->view()->windowToContents(IntPoint(point));
+    LayoutPoint localPoint(editable->convertFromPage(contentsPoint));
+    VisiblePosition position = editable->renderer()->positionForPoint(localPoint);
+    if (frame()->selection()->shouldChangeSelection(position))
+        frame()->selection()->moveTo(position, UserTriggered);
+}
+
 VisiblePosition WebFrameImpl::visiblePositionForWindowPoint(const WebPoint& point)
 {
     HitTestRequest request = HitTestRequest::Move | HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::IgnoreClipping;

Modified: branches/chromium/1364/Source/WebKit/chromium/src/WebFrameImpl.h (139812 => 139813)


--- branches/chromium/1364/Source/WebKit/chromium/src/WebFrameImpl.h	2013-01-16 01:33:30 UTC (rev 139812)
+++ branches/chromium/1364/Source/WebKit/chromium/src/WebFrameImpl.h	2013-01-16 01:38:38 UTC (rev 139813)
@@ -190,6 +190,7 @@
     virtual bool selectWordAroundCaret();
     virtual void selectRange(const WebPoint& base, const WebPoint& extent);
     virtual void selectRange(const WebRange&);
+    virtual void moveCaretSelectionTowardsWindowPoint(const WebPoint&);
     virtual int printBegin(const WebPrintParams&,
                            const WebNode& constrainToNode,
                            bool* useBrowserOverlays);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to