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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 2664253002: Revert "Blink handle selection handle visibility" (Closed)
Patch Set: Created 3 years, 11 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_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 7e784fbe1e950ebaa4fad051209f365b0fa7d3f4..dbf3024f8b635fa3f21fed69baa58a67038324fc 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -454,6 +454,13 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// Called when the parent window hierarchy for our window changes.
void ParentHierarchyChanged();
+ // Helper function to be called whenever new selection information is
+ // received. It will update selection controller.
+ void SelectionUpdated(bool is_editable,
+ bool is_empty_text_form_control,
+ const gfx::SelectionBound& start,
+ const gfx::SelectionBound& end);
+
// Helper function to create a selection controller.
void CreateSelectionController();

Powered by Google App Engine
This is Rietveld 408576698