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

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 2508363003: [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: Fixed Rebase Created 4 years 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 "web/WebViewFrameWidget.h" 5 #include "web/WebViewFrameWidget.h"
6 6
7 #include "web/WebInputMethodControllerImpl.h" 7 #include "web/WebInputMethodControllerImpl.h"
8 #include "web/WebLocalFrameImpl.h" 8 #include "web/WebLocalFrameImpl.h"
9 #include "web/WebViewImpl.h" 9 #include "web/WebViewImpl.h"
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 112 }
113 113
114 void WebViewFrameWidget::setFocus(bool enable) { 114 void WebViewFrameWidget::setFocus(bool enable) {
115 return m_webView->setFocus(enable); 115 return m_webView->setFocus(enable);
116 } 116 }
117 117
118 WebRange WebViewFrameWidget::compositionRange() { 118 WebRange WebViewFrameWidget::compositionRange() {
119 return m_webView->compositionRange(); 119 return m_webView->compositionRange();
120 } 120 }
121 121
122 WebTextInputInfo WebViewFrameWidget::textInputInfo() {
123 return m_webView->textInputInfo();
124 }
125
126 WebTextInputType WebViewFrameWidget::textInputType() {
127 return m_webView->textInputType();
128 }
129
130 bool WebViewFrameWidget::selectionBounds(WebRect& anchor, 122 bool WebViewFrameWidget::selectionBounds(WebRect& anchor,
131 WebRect& focus) const { 123 WebRect& focus) const {
132 return m_webView->selectionBounds(anchor, focus); 124 return m_webView->selectionBounds(anchor, focus);
133 } 125 }
134 126
135 bool WebViewFrameWidget::selectionTextDirection(WebTextDirection& start, 127 bool WebViewFrameWidget::selectionTextDirection(WebTextDirection& start,
136 WebTextDirection& end) const { 128 WebTextDirection& end) const {
137 return m_webView->selectionTextDirection(start, end); 129 return m_webView->selectionTextDirection(start, end);
138 } 130 }
139 131
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 void WebViewFrameWidget::detachCompositorAnimationTimeline( 235 void WebViewFrameWidget::detachCompositorAnimationTimeline(
244 CompositorAnimationTimeline* compositorTimeline) { 236 CompositorAnimationTimeline* compositorTimeline) {
245 m_webView->detachCompositorAnimationTimeline(compositorTimeline); 237 m_webView->detachCompositorAnimationTimeline(compositorTimeline);
246 } 238 }
247 239
248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { 240 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) {
249 return m_webView->coreHitTestResultAt(point); 241 return m_webView->coreHitTestResultAt(point);
250 } 242 }
251 243
252 } // namespace blink 244 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/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