OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/renderer_host/render_widget_host_view_android.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_android.h" |
6 | 6 |
7 #include <android/bitmap.h> | 7 #include <android/bitmap.h> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 void RenderWidgetHostViewAndroid::OnStartContentIntent( | 484 void RenderWidgetHostViewAndroid::OnStartContentIntent( |
485 const GURL& content_url) { | 485 const GURL& content_url) { |
486 if (content_view_core_) | 486 if (content_view_core_) |
487 content_view_core_->StartContentIntent(content_url); | 487 content_view_core_->StartContentIntent(content_url); |
488 } | 488 } |
489 | 489 |
490 void RenderWidgetHostViewAndroid::ImeCancelComposition() { | 490 void RenderWidgetHostViewAndroid::ImeCancelComposition() { |
491 ime_adapter_android_.CancelComposition(); | 491 ime_adapter_android_.CancelComposition(); |
492 } | 492 } |
493 | 493 |
| 494 void RenderWidgetHostViewAndroid::FocusedNodeChanged(bool is_editable_node) { |
| 495 ime_adapter_android_.FocusedNodeChanged(is_editable_node); |
| 496 } |
| 497 |
494 void RenderWidgetHostViewAndroid::DidUpdateBackingStore( | 498 void RenderWidgetHostViewAndroid::DidUpdateBackingStore( |
495 const gfx::Rect& scroll_rect, | 499 const gfx::Rect& scroll_rect, |
496 const gfx::Vector2d& scroll_delta, | 500 const gfx::Vector2d& scroll_delta, |
497 const std::vector<gfx::Rect>& copy_rects, | 501 const std::vector<gfx::Rect>& copy_rects, |
498 const ui::LatencyInfo& latency_info) { | 502 const ui::LatencyInfo& latency_info) { |
499 NOTIMPLEMENTED(); | 503 NOTIMPLEMENTED(); |
500 } | 504 } |
501 | 505 |
502 void RenderWidgetHostViewAndroid::RenderProcessGone( | 506 void RenderWidgetHostViewAndroid::RenderProcessGone( |
503 base::TerminationStatus status, int error_code) { | 507 base::TerminationStatus status, int error_code) { |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 // RenderWidgetHostView, public: | 1395 // RenderWidgetHostView, public: |
1392 | 1396 |
1393 // static | 1397 // static |
1394 RenderWidgetHostView* | 1398 RenderWidgetHostView* |
1395 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { | 1399 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { |
1396 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); | 1400 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); |
1397 return new RenderWidgetHostViewAndroid(rwhi, NULL); | 1401 return new RenderWidgetHostViewAndroid(rwhi, NULL); |
1398 } | 1402 } |
1399 | 1403 |
1400 } // namespace content | 1404 } // namespace content |
OLD | NEW |