| 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/android/sys_utils.h" | 9 #include "base/android/sys_utils.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 | 571 |
| 572 void RenderWidgetHostViewAndroid::SelectionBoundsChanged( | 572 void RenderWidgetHostViewAndroid::SelectionBoundsChanged( |
| 573 const ViewHostMsg_SelectionBounds_Params& params) { | 573 const ViewHostMsg_SelectionBounds_Params& params) { |
| 574 if (content_view_core_) { | 574 if (content_view_core_) { |
| 575 content_view_core_->OnSelectionBoundsChanged(params); | 575 content_view_core_->OnSelectionBoundsChanged(params); |
| 576 } | 576 } |
| 577 } | 577 } |
| 578 | 578 |
| 579 void RenderWidgetHostViewAndroid::SelectionRootBoundsChanged( | 579 void RenderWidgetHostViewAndroid::SelectionRootBoundsChanged( |
| 580 const gfx::Rect& bounds) { | 580 const gfx::Rect& bounds) { |
| 581 if (content_view_core_) { | |
| 582 content_view_core_->OnSelectionRootBoundsChanged(bounds); | |
| 583 } | |
| 584 } | 581 } |
| 585 | 582 |
| 586 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() { | 583 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() { |
| 587 } | 584 } |
| 588 | 585 |
| 589 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore( | 586 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore( |
| 590 const gfx::Size& size) { | 587 const gfx::Size& size) { |
| 591 NOTIMPLEMENTED(); | 588 NOTIMPLEMENTED(); |
| 592 return NULL; | 589 return NULL; |
| 593 } | 590 } |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1435 // RenderWidgetHostView, public: | 1432 // RenderWidgetHostView, public: |
| 1436 | 1433 |
| 1437 // static | 1434 // static |
| 1438 RenderWidgetHostView* | 1435 RenderWidgetHostView* |
| 1439 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { | 1436 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { |
| 1440 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); | 1437 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); |
| 1441 return new RenderWidgetHostViewAndroid(rwhi, NULL); | 1438 return new RenderWidgetHostViewAndroid(rwhi, NULL); |
| 1442 } | 1439 } |
| 1443 | 1440 |
| 1444 } // namespace content | 1441 } // namespace content |
| OLD | NEW |