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

Unified Diff: cc/input/layer_selection_bound.cc

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing aura problems Created 4 years, 5 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: cc/input/layer_selection_bound.cc
diff --git a/cc/input/layer_selection_bound.cc b/cc/input/layer_selection_bound.cc
index 8ecdf33a3e152aa556472361e614a74bcb6d6180..619a5aa0eb434a2a141bc6be1522ffa8927fb810 100644
--- a/cc/input/layer_selection_bound.cc
+++ b/cc/input/layer_selection_bound.cc
@@ -82,6 +82,7 @@ void LayerSelectionToProtobuf(const LayerSelection& selection,
selection.end.ToProtobuf(proto->mutable_end());
proto->set_is_editable(selection.is_editable);
proto->set_is_empty_text_form_control(selection.is_empty_text_form_control);
+ proto->set_is_handle_visible(selection.is_handle_visible);
}
void LayerSelectionFromProtobuf(LayerSelection* selection,
@@ -90,6 +91,7 @@ void LayerSelectionFromProtobuf(LayerSelection* selection,
selection->end.FromProtobuf(proto.end());
selection->is_editable = proto.is_editable();
selection->is_empty_text_form_control = proto.is_empty_text_form_control();
+ selection->is_handle_visible = proto.is_handle_visible();
}
} // namespace cc
« no previous file with comments | « no previous file | cc/input/selection.h » ('j') | third_party/WebKit/Source/core/layout/compositing/CompositedSelection.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698