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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 852083002: Propagate focus type to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved 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 | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index f59cc5f67e7a3b96641135678b6269a6bdba4a8c..c208bb47a9906d227afb1b72a9fcba444ee8aa76 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -180,18 +180,18 @@ void ChromeClientImpl::focus()
m_webView->client()->didFocus();
}
-bool ChromeClientImpl::canTakeFocus(FocusType)
+bool ChromeClientImpl::canTakeFocus(WebFocusType)
{
// For now the browser can always take focus if we're not running layout
// tests.
return !layoutTestMode();
}
-void ChromeClientImpl::takeFocus(FocusType type)
+void ChromeClientImpl::takeFocus(WebFocusType type)
{
if (!m_webView->client())
return;
- if (type == FocusTypeBackward)
+ if (type == WebFocusTypeBackward)
m_webView->client()->focusPrevious();
else
m_webView->client()->focusNext();
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698