Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: Source/web/WebRemoteFrameImpl.cpp

Issue 653383002: Add new API for only moving the selection extent point. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "web/WebRemoteFrameImpl.h" 6 #include "web/WebRemoteFrameImpl.h"
7 7
8 #include "core/frame/FrameOwner.h" 8 #include "core/frame/FrameOwner.h"
9 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
10 #include "core/frame/RemoteFrame.h" 10 #include "core/frame/RemoteFrame.h"
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 void WebRemoteFrameImpl::selectRange(const WebPoint& base, const WebPoint& exten t) 593 void WebRemoteFrameImpl::selectRange(const WebPoint& base, const WebPoint& exten t)
594 { 594 {
595 ASSERT_NOT_REACHED(); 595 ASSERT_NOT_REACHED();
596 } 596 }
597 597
598 void WebRemoteFrameImpl::selectRange(const WebRange&) 598 void WebRemoteFrameImpl::selectRange(const WebRange&)
599 { 599 {
600 ASSERT_NOT_REACHED(); 600 ASSERT_NOT_REACHED();
601 } 601 }
602 602
603 void WebRemoteFrameImpl::moveSelectionExtent(const WebPoint&)
604 {
605 ASSERT_NOT_REACHED();
606 }
607
603 void WebRemoteFrameImpl::moveRangeSelection(const WebPoint& base, const WebPoint & extent) 608 void WebRemoteFrameImpl::moveRangeSelection(const WebPoint& base, const WebPoint & extent)
604 { 609 {
605 ASSERT_NOT_REACHED(); 610 ASSERT_NOT_REACHED();
606 } 611 }
607 612
608 void WebRemoteFrameImpl::moveCaretSelection(const WebPoint&) 613 void WebRemoteFrameImpl::moveCaretSelection(const WebPoint&)
609 { 614 {
610 ASSERT_NOT_REACHED(); 615 ASSERT_NOT_REACHED();
611 } 616 }
612 617
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const 866 void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const
862 { 867 {
863 ASSERT(source); 868 ASSERT(source);
864 WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source); 869 WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source);
865 client()->initializeChildFrame( 870 client()->initializeChildFrame(
866 localFrameImpl->frame()->view()->frameRect(), 871 localFrameImpl->frame()->view()->frameRect(),
867 localFrameImpl->frame()->view()->visibleContentScaleFactor()); 872 localFrameImpl->frame()->view()->visibleContentScaleFactor());
868 } 873 }
869 874
870 } // namespace blink 875 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698