summaryrefslogtreecommitdiffstats
path: root/pdf/out_of_process_instance.h
diff options
context:
space:
mode:
authordeepak.m1 <deepak.m1@samsung.com>2015-02-13 03:56:23 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-13 11:56:55 +0000
commit423f09c6d2be8c916637cdda28ed0ee4e12490e0 (patch)
tree3e7792c64daff60ebe8100962e73755c0ba17963 /pdf/out_of_process_instance.h
parentaa934d4d264715ab4c52b1cbefcd9447e3230987 (diff)
downloadchromium_src-423f09c6d2be8c916637cdda28ed0ee4e12490e0.zip
chromium_src-423f09c6d2be8c916637cdda28ed0ee4e12490e0.tar.gz
chromium_src-423f09c6d2be8c916637cdda28ed0ee4e12490e0.tar.bz2
Fix for Multipage selection by dragging mouse in OOP case in PDF.
Code was not present for handling drag by mouse. Now we are passing message when their is selection happening and based on mousemove event handler we are scrolling page when mouse points are outside the viewport. When we move mouse outside the viewport and does not move then mousemove events will not come then we are scrolling based on timer. BUG=446831 Review URL: https://codereview.chromium.org/814573004 Cr-Commit-Position: refs/heads/master@{#316204}
Diffstat (limited to 'pdf/out_of_process_instance.h')
-rw-r--r--pdf/out_of_process_instance.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index 58e9b29..62d21c1 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -137,6 +137,7 @@ class OutOfProcessInstance : public pp::Instance,
void FormTextFieldFocusChange(bool in_focus) override;
bool IsPrintPreview() override;
uint32 GetBackgroundColor() override;
+ void IsSelectingChanged(bool is_selecting) override;
// PreviewModeClient::Client implementation.
void PreviewDocumentLoadComplete() override;