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

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: Rebase Created 3 years, 5 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 bool WebViewFrameWidget::SelectionTextDirection(WebTextDirection& start, 141 bool WebViewFrameWidget::SelectionTextDirection(WebTextDirection& start,
142 WebTextDirection& end) const { 142 WebTextDirection& end) const {
143 return web_view_->SelectionTextDirection(start, end); 143 return web_view_->SelectionTextDirection(start, end);
144 } 144 }
145 145
146 bool WebViewFrameWidget::IsSelectionAnchorFirst() const { 146 bool WebViewFrameWidget::IsSelectionAnchorFirst() const {
147 return web_view_->IsSelectionAnchorFirst(); 147 return web_view_->IsSelectionAnchorFirst();
148 } 148 }
149 149
150 WebRange WebViewFrameWidget::CaretOrSelectionRange() {
151 return web_view_->CaretOrSelectionRange();
152 }
153
154 void WebViewFrameWidget::SetTextDirection(WebTextDirection direction) { 150 void WebViewFrameWidget::SetTextDirection(WebTextDirection direction) {
155 return web_view_->SetTextDirection(direction); 151 return web_view_->SetTextDirection(direction);
156 } 152 }
157 153
158 bool WebViewFrameWidget::IsAcceleratedCompositingActive() const { 154 bool WebViewFrameWidget::IsAcceleratedCompositingActive() const {
159 return web_view_->IsAcceleratedCompositingActive(); 155 return web_view_->IsAcceleratedCompositingActive();
160 } 156 }
161 157
162 void WebViewFrameWidget::WillCloseLayerTreeView() { 158 void WebViewFrameWidget::WillCloseLayerTreeView() {
163 return web_view_->WillCloseLayerTreeView(); 159 return web_view_->WillCloseLayerTreeView();
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 DEFINE_TRACE(WebViewFrameWidget) { 248 DEFINE_TRACE(WebViewFrameWidget) {
253 visitor->Trace(main_frame_); 249 visitor->Trace(main_frame_);
254 WebFrameWidgetBase::Trace(visitor); 250 WebFrameWidgetBase::Trace(visitor);
255 } 251 }
256 252
257 } // namespace blink 253 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698