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

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

Issue 188023002: Android-side of insertion/selection handles visibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed comments + rebased 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
581 } 584 }
582 585
583 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() { 586 void RenderWidgetHostViewAndroid::ScrollOffsetChanged() {
584 } 587 }
585 588
586 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore( 589 BackingStore* RenderWidgetHostViewAndroid::AllocBackingStore(
587 const gfx::Size& size) { 590 const gfx::Size& size) {
588 NOTIMPLEMENTED(); 591 NOTIMPLEMENTED();
589 return NULL; 592 return NULL;
590 } 593 }
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 // RenderWidgetHostView, public: 1435 // RenderWidgetHostView, public:
1433 1436
1434 // static 1437 // static
1435 RenderWidgetHostView* 1438 RenderWidgetHostView*
1436 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { 1439 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) {
1437 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); 1440 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget);
1438 return new RenderWidgetHostViewAndroid(rwhi, NULL); 1441 return new RenderWidgetHostViewAndroid(rwhi, NULL);
1439 } 1442 }
1440 1443
1441 } // namespace content 1444 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698