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

Side by Side Diff: third_party/WebKit/Source/core/frame/WebViewFrameWidget.cpp

Issue 2910223003: [refactor] - Rename and Move WebWidget::CaretOrSelectionRange to WebInputMethodController::GetSelec… (Closed)
Patch Set: Fixed some comments Created 3 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #include "core/frame/WebViewFrameWidget.h" 5 #include "core/frame/WebViewFrameWidget.h"
6 6
7 #include "core/exported/WebViewBase.h" 7 #include "core/exported/WebViewBase.h"
8 #include "core/frame/WebLocalFrameBase.h" 8 #include "core/frame/WebLocalFrameBase.h"
9 #include "core/layout/HitTestResult.h" 9 #include "core/layout/HitTestResult.h"
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 bool WebViewFrameWidget::SelectionTextDirection(WebTextDirection& start, 139 bool WebViewFrameWidget::SelectionTextDirection(WebTextDirection& start,
140 WebTextDirection& end) const { 140 WebTextDirection& end) const {
141 return web_view_->SelectionTextDirection(start, end); 141 return web_view_->SelectionTextDirection(start, end);
142 } 142 }
143 143
144 bool WebViewFrameWidget::IsSelectionAnchorFirst() const { 144 bool WebViewFrameWidget::IsSelectionAnchorFirst() const {
145 return web_view_->IsSelectionAnchorFirst(); 145 return web_view_->IsSelectionAnchorFirst();
146 } 146 }
147 147
148 WebRange WebViewFrameWidget::CaretOrSelectionRange() {
149 return web_view_->CaretOrSelectionRange();
150 }
151
152 void WebViewFrameWidget::SetTextDirection(WebTextDirection direction) { 148 void WebViewFrameWidget::SetTextDirection(WebTextDirection direction) {
153 return web_view_->SetTextDirection(direction); 149 return web_view_->SetTextDirection(direction);
154 } 150 }
155 151
156 bool WebViewFrameWidget::IsAcceleratedCompositingActive() const { 152 bool WebViewFrameWidget::IsAcceleratedCompositingActive() const {
157 return web_view_->IsAcceleratedCompositingActive(); 153 return web_view_->IsAcceleratedCompositingActive();
158 } 154 }
159 155
160 void WebViewFrameWidget::WillCloseLayerTreeView() { 156 void WebViewFrameWidget::WillCloseLayerTreeView() {
161 return web_view_->WillCloseLayerTreeView(); 157 return web_view_->WillCloseLayerTreeView();
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 239
244 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const { 240 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const {
245 return web_view_->AnimationHost(); 241 return web_view_->AnimationHost();
246 } 242 }
247 243
248 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) { 244 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) {
249 return web_view_->CoreHitTestResultAt(point); 245 return web_view_->CoreHitTestResultAt(point);
250 } 246 }
251 247
252 } // namespace blink 248 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698