| 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 content_view_core_->OnSelectionChanged(utf8_selection); | 567 content_view_core_->OnSelectionChanged(utf8_selection); |
| 568 } | 568 } |
| 569 | 569 |
| 570 void RenderWidgetHostViewAndroid::SelectionBoundsChanged( | 570 void RenderWidgetHostViewAndroid::SelectionBoundsChanged( |
| 571 const ViewHostMsg_SelectionBounds_Params& params) { | 571 const ViewHostMsg_SelectionBounds_Params& params) { |
| 572 if (content_view_core_) { | 572 if (content_view_core_) { |
| 573 content_view_core_->OnSelectionBoundsChanged(params); | 573 content_view_core_->OnSelectionBoundsChanged(params); |
| 574 } | 574 } |
| 575 } | 575 } |
| 576 | 576 |
| 577 void RenderWidgetHostViewAndroid::SelectionRootBoundsChanged( |
| 578 const gfx::Rect& bounds) { |
| 579 } |
| 580 |
| 577 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() { | 581 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() { |
| 578 } | 582 } |
| 579 | 583 |
| 580 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore( | 584 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore( |
| 581 const gfx::Size& size) { | 585 const gfx::Size& size) { |
| 582 NOTIMPLEMENTED(); | 586 NOTIMPLEMENTED(); |
| 583 return NULL; | 587 return NULL; |
| 584 } | 588 } |
| 585 | 589 |
| 586 void RenderWidgetHostViewAndroid::SetBackground(const SkBitmap& background) { | 590 void RenderWidgetHostViewAndroid::SetBackground(const SkBitmap& background) { |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 // RenderWidgetHostView, public: | 1414 // RenderWidgetHostView, public: |
| 1411 | 1415 |
| 1412 // static | 1416 // static |
| 1413 RenderWidgetHostView* | 1417 RenderWidgetHostView* |
| 1414 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { | 1418 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { |
| 1415 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); | 1419 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); |
| 1416 return new RenderWidgetHostViewAndroid(rwhi, NULL); | 1420 return new RenderWidgetHostViewAndroid(rwhi, NULL); |
| 1417 } | 1421 } |
| 1418 | 1422 |
| 1419 } // namespace content | 1423 } // namespace content |
| OLD | NEW |