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

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

Issue 2892393002: Move WebInputMethodControllerImpl to core/exported/ & break dependencies. (Closed)
Patch Set: Rebase. 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 "web/WebViewFrameWidget.h" 5 #include "web/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 #include "web/WebInputMethodControllerImpl.h"
11 10
12 namespace blink { 11 namespace blink {
13 12
14 WebViewFrameWidget::WebViewFrameWidget(WebWidgetClient& client, 13 WebViewFrameWidget::WebViewFrameWidget(WebWidgetClient& client,
15 WebViewBase& web_view, 14 WebViewBase& web_view,
16 WebLocalFrameBase& main_frame) 15 WebLocalFrameBase& main_frame)
17 : client_(&client), web_view_(&web_view), main_frame_(&main_frame) { 16 : client_(&client), web_view_(&web_view), main_frame_(&main_frame) {
18 main_frame_->SetFrameWidget(this); 17 main_frame_->SetFrameWidget(this);
19 web_view_->SetCompositorVisibility(true); 18 web_view_->SetCompositorVisibility(true);
20 } 19 }
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 } 203 }
205 204
206 void WebViewFrameWidget::SetBaseBackgroundColor(WebColor color) { 205 void WebViewFrameWidget::SetBaseBackgroundColor(WebColor color) {
207 web_view_->SetBaseBackgroundColor(color); 206 web_view_->SetBaseBackgroundColor(color);
208 } 207 }
209 208
210 WebLocalFrameBase* WebViewFrameWidget::LocalRoot() const { 209 WebLocalFrameBase* WebViewFrameWidget::LocalRoot() const {
211 return web_view_->MainFrameImpl(); 210 return web_view_->MainFrameImpl();
212 } 211 }
213 212
214 WebInputMethodControllerImpl* 213 WebInputMethodController*
215 WebViewFrameWidget::GetActiveWebInputMethodController() const { 214 WebViewFrameWidget::GetActiveWebInputMethodController() const {
216 return web_view_->GetActiveWebInputMethodController(); 215 return web_view_->GetActiveWebInputMethodController();
217 } 216 }
218 217
219 void WebViewFrameWidget::ScheduleAnimation() { 218 void WebViewFrameWidget::ScheduleAnimation() {
220 web_view_->ScheduleAnimationForWidget(); 219 web_view_->ScheduleAnimationForWidget();
221 } 220 }
222 221
223 CompositorWorkerProxyClient* 222 CompositorWorkerProxyClient*
224 WebViewFrameWidget::CreateCompositorWorkerProxyClient() { 223 WebViewFrameWidget::CreateCompositorWorkerProxyClient() {
(...skipping 19 matching lines...) Expand all
244 243
245 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const { 244 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const {
246 return web_view_->AnimationHost(); 245 return web_view_->AnimationHost();
247 } 246 }
248 247
249 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) { 248 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) {
250 return web_view_->CoreHitTestResultAt(point); 249 return web_view_->CoreHitTestResultAt(point);
251 } 250 }
252 251
253 } // namespace blink 252 } // 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