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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 186753002: Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 (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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 content_view_core_->OnSelectionChanged(utf8_selection); 568 content_view_core_->OnSelectionChanged(utf8_selection);
569 } 569 }
570 570
571 void RenderWidgetHostViewAndroid::SelectionBoundsChanged( 571 void RenderWidgetHostViewAndroid::SelectionBoundsChanged(
572 const ViewHostMsg_SelectionBounds_Params& params) { 572 const ViewHostMsg_SelectionBounds_Params& params) {
573 if (content_view_core_) { 573 if (content_view_core_) {
574 content_view_core_->OnSelectionBoundsChanged(params); 574 content_view_core_->OnSelectionBoundsChanged(params);
575 } 575 }
576 } 576 }
577 577
578 void RenderWidgetHostViewAndroid::SelectionRootBoundsChanged(
579 const gfx::Rect& bounds) {
580 }
581
578 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() { 582 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() {
579 } 583 }
580 584
581 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore( 585 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore(
582 const gfx::Size& size) { 586 const gfx::Size& size) {
583 NOTIMPLEMENTED(); 587 NOTIMPLEMENTED();
584 return NULL; 588 return NULL;
585 } 589 }
586 590
587 void RenderWidgetHostViewAndroid::SetBackground(const SkBitmap& background) { 591 void RenderWidgetHostViewAndroid::SetBackground(const SkBitmap& background) {
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 // RenderWidgetHostView, public: 1421 // RenderWidgetHostView, public:
1418 1422
1419 // static 1423 // static
1420 RenderWidgetHostView* 1424 RenderWidgetHostView*
1421 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { 1425 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) {
1422 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); 1426 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget);
1423 return new RenderWidgetHostViewAndroid(rwhi, NULL); 1427 return new RenderWidgetHostViewAndroid(rwhi, NULL);
1424 } 1428 }
1425 1429
1426 } // namespace content 1430 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698