Index: pdf/out_of_process_instance.cc |
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc |
index 4e76e32736a641d938c007ad6cff20aeb2d81332..26a2836826f7087f5a6d1034e5bded0fc282be4d 100644 |
--- a/pdf/out_of_process_instance.cc |
+++ b/pdf/out_of_process_instance.cc |
@@ -1354,6 +1354,13 @@ bool OutOfProcessInstance::IsPrintPreview() { |
return IsPrintPreviewUrl(url_); |
} |
+void OutOfProcessInstance::IsSelectingChanged(bool is_selecting) { |
+ pp::VarDictionary message; |
+ message.Set(kType, kJSIsSelectingType); |
+ message.Set(kJSIsSelecting, pp::Var(is_selecting); |
+ PostMessage(message); |
+} |
+ |
void OutOfProcessInstance::ProcessPreviewPageInfo(const std::string& url, |
int dst_page_index) { |
if (!IsPrintPreview()) |