Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: content/renderer/browser_plugin/browser_plugin_channel_manager.cc

Issue 10544143: Browser Plugin: Plumbing to enable tabbing out of a browser tag (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed nit Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_channel_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_plugin/browser_plugin_channel_manager.cc
diff --git a/content/renderer/browser_plugin/browser_plugin_channel_manager.cc b/content/renderer/browser_plugin/browser_plugin_channel_manager.cc
index 678af1c6c8b001c5cd4bf8ef2e10aa1c97995c24..0a49e9d9c070af0dbb7597bfcc73c28b1202b324 100644
--- a/content/renderer/browser_plugin/browser_plugin_channel_manager.cc
+++ b/content/renderer/browser_plugin/browser_plugin_channel_manager.cc
@@ -89,6 +89,7 @@ bool BrowserPluginChannelManager::OnControlMessageReceived(
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(BrowserPluginChannelManager, message)
IPC_MESSAGE_HANDLER(BrowserPluginMsg_LoadGuest, OnLoadGuest)
+ IPC_MESSAGE_HANDLER(BrowserPluginMsg_AdvanceFocus, OnAdvanceFocus)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -134,4 +135,10 @@ void BrowserPluginChannelManager::OnLoadGuest(
browser_plugin->LoadGuest(guest_process_id, channel_handle);
}
+void BrowserPluginChannelManager::OnAdvanceFocus(int instance_id,
+ bool reverse) {
+ BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id);
+ browser_plugin->AdvanceFocus(reverse);
+}
+
} // namespace content
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_channel_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698