OSDN Git Service

When long pressing on title bar, do not use WebView in onCreateContextMenu
authorLeon Scroggins <scroggo@google.com>
Mon, 22 Feb 2010 21:54:14 +0000 (16:54 -0500)
committerLeon Scroggins <scroggo@google.com>
Tue, 23 Feb 2010 15:02:58 +0000 (10:02 -0500)
commit4e9f89b0a64395133b9160dcb4533d2dc62a424f
treebb4e02658f77c04937f5cdb829170652f63c9935
parentab1655e799a3b0a82cea62e05b4017c21ab53881
When long pressing on title bar, do not use WebView in onCreateContextMenu

Fix for http://b/issue?id=2456405

Override TitleBar::createContextMenu to call BrowserActivity's onCreateContextMenu
directly, so that WebView is ignored, and we only get the options for TitleBar.
src/com/android/browser/BrowserActivity.java
src/com/android/browser/TitleBar.java