Index: pdf/instance.h |
diff --git a/pdf/instance.h b/pdf/instance.h |
index fe794723d1dc79aa465f04eabe4ed834529fc617..e5c2c5d1cbe9779a8acbdaacac921151302546cb 100644 |
--- a/pdf/instance.h |
+++ b/pdf/instance.h |
@@ -200,6 +200,10 @@ class Instance : public pp::InstancePrivate, |
void RotateClockwise(); |
void RotateCounterclockwise(); |
+ // Helper function to inform when mouse pointer is on scrollbar, returns true |
+ // when mouse is on vertical or horizaontal scrollbar else returns false. |
+ bool IsMouseOnScrollbar(const pp::InputEvent& event); |
+ |
private: |
// Called whenever the plugin geometry changes to update the location of the |
// scrollbars, background parts, and notifies the pdf engine. |