diff options
author | deepak.m1 <deepak.m1@samsung.com> | 2015-02-13 03:56:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-13 11:56:55 +0000 |
commit | 423f09c6d2be8c916637cdda28ed0ee4e12490e0 (patch) | |
tree | 3e7792c64daff60ebe8100962e73755c0ba17963 /pdf/pdf_engine.h | |
parent | aa934d4d264715ab4c52b1cbefcd9447e3230987 (diff) | |
download | chromium_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.h | 3 |
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. |