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

Unified Diff: content/browser/browser_plugin/browser_plugin_host.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: 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
Index: content/browser/browser_plugin/browser_plugin_host.cc
diff --git a/content/browser/browser_plugin/browser_plugin_host.cc b/content/browser/browser_plugin/browser_plugin_host.cc
index 49b044c0b660579b456425bac27662bd37c29146..28e4e8f1504c50444803d55ca6e6ac02797b0259 100644
--- a/content/browser/browser_plugin/browser_plugin_host.cc
+++ b/content/browser/browser_plugin/browser_plugin_host.cc
@@ -55,6 +55,12 @@ void BrowserPluginHost::RegisterContainerInstance(
guests_by_container_id_[container_id] = observer;
}
+bool BrowserPluginHost::TakeFocus(bool reverse) {
+ embedder_render_process_host()->Send(
+ new BrowserPluginMsg_AdvanceFocus(instance_id(), reverse));
+ return true;
+}
+
bool BrowserPluginHost::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(BrowserPluginHost, message)

Powered by Google App Engine
This is Rietveld 408576698