diff options
author | Nicolas Roard <nicolas@android.com> | 2010-11-03 19:49:27 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-04-11 15:04:49 -0700 |
commit | 6edf92433a1c328f0b8e166fefc687e691dd7298 (patch) | |
tree | edd77425c5f5346916789f88001b7ba698c63331 /WebCore/platform/graphics/android/android_graphics.h | |
parent | 5ba4a087b9212ca9ae083f015637f417199d85cc (diff) | |
download | external_webkit-6edf92433a1c328f0b8e166fefc687e691dd7298.zip external_webkit-6edf92433a1c328f0b8e166fefc687e691dd7298.tar.gz external_webkit-6edf92433a1c328f0b8e166fefc687e691dd7298.tar.bz2 |
Implements the focus ring drawing in GL.
In WebView::drawGL(), we check if the extras to draw are rings,
and if so we get their rectangles and pass that to GLWebViewState.
Updated with holo colors
Change-Id: Id5f8941f16dba1733e8a84eae8cd2b317fbc7c55
Diffstat (limited to 'WebCore/platform/graphics/android/android_graphics.h')
-rw-r--r-- | WebCore/platform/graphics/android/android_graphics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/android_graphics.h b/WebCore/platform/graphics/android/android_graphics.h index be309a6..89312b5 100644 --- a/WebCore/platform/graphics/android/android_graphics.h +++ b/WebCore/platform/graphics/android/android_graphics.h @@ -56,6 +56,7 @@ public: virtual void draw(SkCanvas* , LayerAndroid* , IntRect* ); void setIsButton(const CachedNode* ); bool setup(); + WTF::Vector<IntRect>& rings() { return m_rings; } private: friend class WebView; WebViewCore* m_viewImpl; // copy for convenience |