summaryrefslogtreecommitdiffstats
path: root/content/common/browser_plugin
diff options
context:
space:
mode:
authoralexmos <alexmos@chromium.org>2015-12-06 02:07:39 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-06 10:09:28 +0000
commit401f0abaadb546a25d35c1a35c4557c30d736e06 (patch)
tree94c3ac2d744b94f15793a2a57cedf067db1d5bb0 /content/common/browser_plugin
parent7a93db44208d1135755e6331310077cdd8bca098 (diff)
downloadchromium_src-401f0abaadb546a25d35c1a35c4557c30d736e06.zip
chromium_src-401f0abaadb546a25d35c1a35c4557c30d736e06.tar.gz
chromium_src-401f0abaadb546a25d35c1a35c4557c30d736e06.tar.bz2
Implement sequential focus navigation for OOPIF.
Pressing <tab> or <shift-tab> traverses through all focusable elements on a page, descending into the content of any frames that it encounters along the way, including cross-origin frames. This behavior is currently broken with out-of-process frames: remote frames are skipped entirely during focus traversal. This CL puts in the initial plumbing to fix this and allow advancing focus across frames in different processes. When the search for focusable elements in FocusController::advanceFocusInDocumentOrder encounters an <iframe> element for a remote frame, it will instruct that frame to continue the search in its process via the new AdvanceFocus IPCs. Once the frame has finished advancing through its focusable elements, it will use the same IPCs to transfer the search for focusable elements to its parent frame. To allow the parent to resume search from the right place, the IPCs include the source frame (from which the search is being transferred). BUG=341918,339659 Review URL: https://codereview.chromium.org/1500873002 Cr-Commit-Position: refs/heads/master@{#363362}
Diffstat (limited to 'content/common/browser_plugin')
-rw-r--r--content/common/browser_plugin/browser_plugin_messages.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index ca06826..91f5f60 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -37,7 +37,6 @@
IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDragStatus, blink::WebDragStatusLast)
-IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFocusType, blink::WebFocusTypeLast)
IPC_STRUCT_BEGIN(BrowserPluginHostMsg_Attach_Params)
IPC_STRUCT_MEMBER(bool, focused)