| 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/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 } | 429 } |
| 430 | 430 |
| 431 void RenderWidgetHostViewAndroid::ImeCompositionRangeChanged( | 431 void RenderWidgetHostViewAndroid::ImeCompositionRangeChanged( |
| 432 const ui::Range& range, | 432 const ui::Range& range, |
| 433 const std::vector<gfx::Rect>& character_bounds) { | 433 const std::vector<gfx::Rect>& character_bounds) { |
| 434 } | 434 } |
| 435 | 435 |
| 436 void RenderWidgetHostViewAndroid::DidUpdateBackingStore( | 436 void RenderWidgetHostViewAndroid::DidUpdateBackingStore( |
| 437 const gfx::Rect& scroll_rect, | 437 const gfx::Rect& scroll_rect, |
| 438 const gfx::Vector2d& scroll_delta, | 438 const gfx::Vector2d& scroll_delta, |
| 439 const std::vector<gfx::Rect>& copy_rects) { | 439 const std::vector<gfx::Rect>& copy_rects, |
| 440 const ui::LatencyInfo& latency_info) { |
| 440 NOTIMPLEMENTED(); | 441 NOTIMPLEMENTED(); |
| 441 } | 442 } |
| 442 | 443 |
| 443 void RenderWidgetHostViewAndroid::RenderViewGone( | 444 void RenderWidgetHostViewAndroid::RenderViewGone( |
| 444 base::TerminationStatus status, int error_code) { | 445 base::TerminationStatus status, int error_code) { |
| 445 Destroy(); | 446 Destroy(); |
| 446 } | 447 } |
| 447 | 448 |
| 448 void RenderWidgetHostViewAndroid::Destroy() { | 449 void RenderWidgetHostViewAndroid::Destroy() { |
| 449 RemoveLayers(); | 450 RemoveLayers(); |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 // RenderWidgetHostView, public: | 1018 // RenderWidgetHostView, public: |
| 1018 | 1019 |
| 1019 // static | 1020 // static |
| 1020 RenderWidgetHostView* | 1021 RenderWidgetHostView* |
| 1021 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { | 1022 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { |
| 1022 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); | 1023 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); |
| 1023 return new RenderWidgetHostViewAndroid(rwhi, NULL); | 1024 return new RenderWidgetHostViewAndroid(rwhi, NULL); |
| 1024 } | 1025 } |
| 1025 | 1026 |
| 1026 } // namespace content | 1027 } // namespace content |
| OLD | NEW |