summaryrefslogtreecommitdiffstats
path: root/pdf/pdf_engine.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/pdf_engine.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/pdf_engine.h')
-rw-r--r--pdf/pdf_engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index befb1b8..0ef9da0 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -176,6 +176,9 @@ class PDFEngine {
// Get the background color of the PDF.
virtual uint32 GetBackgroundColor() = 0;
+
+ // Sets selection status.
+ virtual void IsSelectingChanged(bool is_selecting){};
};
// Factory method to create an instance of the PDF Engine.