summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/SelectText.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-08-31 17:01:41 -0700
committerJohn Reck <jreck@google.com>2011-08-31 17:05:09 -0700
commit8111ace8860f79c6b7ece2c408a3f80a0762b09b (patch)
tree31640d0c28d293e580c2481afc676f17e998d15b /Source/WebKit/android/nav/SelectText.h
parent24a08199b7204cfa19c1f61d93ea8df86d3bb99f (diff)
downloadexternal_webkit-8111ace8860f79c6b7ece2c408a3f80a0762b09b.zip
external_webkit-8111ace8860f79c6b7ece2c408a3f80a0762b09b.tar.gz
external_webkit-8111ace8860f79c6b7ece2c408a3f80a0762b09b.tar.bz2
Allow native to query selection region
Bug: 5224394 Bug: 5208328 Change-Id: I2141ad80a78f717e3005740285661cd1f558dfca
Diffstat (limited to 'Source/WebKit/android/nav/SelectText.h')
-rw-r--r--Source/WebKit/android/nav/SelectText.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebKit/android/nav/SelectText.h b/Source/WebKit/android/nav/SelectText.h
index de577ac..272cfd1 100644
--- a/Source/WebKit/android/nav/SelectText.h
+++ b/Source/WebKit/android/nav/SelectText.h
@@ -57,6 +57,7 @@ public:
void setExtendSelection(bool extend) { m_extendSelection = extend; }
bool startSelection(const CachedRoot* , const IntRect& vis, int x, int y);
bool wordSelection(const CachedRoot* , const IntRect& vis, int x, int y);
+ void getSelectionRegion(const IntRect& vis, SkRegion *region);
public:
float m_inverseScale; // inverse scale, x, y used for drawing select path
int m_selectX;