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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10855036: Adding selection text direction to SelectionBoundsChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 0fdcb4d459044b45db3f1dac9440ec46bb3470c0..17b18853165ca8ad7a26514154798a4d0bbc35f3 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -1299,9 +1299,13 @@ void RenderViewHostImpl::OnMsgSelectionChanged(const string16& text,
void RenderViewHostImpl::OnMsgSelectionBoundsChanged(
const gfx::Rect& start_rect,
- const gfx::Rect& end_rect) {
- if (view_)
- view_->SelectionBoundsChanged(start_rect, end_rect);
+ WebKit::WebTextDirection start_direction,
+ const gfx::Rect& end_rect,
+ WebKit::WebTextDirection end_direction) {
+ if (view_) {
+ view_->SelectionBoundsChanged(start_rect, start_direction,
+ end_rect, end_direction);
+ }
}
void RenderViewHostImpl::OnMsgRouteCloseEvent() {
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698