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

Unified Diff: components/plugins/renderer/webview_plugin.cc

Issue 853333002: Browser Plugin: Make aware of focus direction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 years, 11 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 | « components/plugins/renderer/webview_plugin.h ('k') | content/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 5beb3336f1d80eb2c986d5e1129877fba135f23a..d14e4f7235af237575e186fd9f3bf07dfcedc347 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -90,7 +90,7 @@ void WebViewPlugin::ReplayReceivedData(WebPlugin* plugin) {
}
// We need to transfer the |focused_| to new plugin after it loaded.
if (focused_) {
- plugin->updateFocus(true);
+ plugin->updateFocus(true, blink::WebFocusTypeNone);
}
if (finished_loading_) {
plugin->didFinishLoading();
@@ -157,7 +157,7 @@ void WebViewPlugin::updateGeometry(const WebRect& frame_rect,
}
}
-void WebViewPlugin::updateFocus(bool focused) {
+void WebViewPlugin::updateFocus(bool focused, blink::WebFocusType focus_type) {
focused_ = focused;
}
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698