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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAreaElement.cpp

Issue 2810593002: Set plugin focus by implementing HTMLPlugInElement::SetFocused. (Closed)
Patch Set: fix comments Created 3 years, 8 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: third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
index ba005351c4995c4e3d09965c2c1aefc2826a07b5..473710c19cdc80d1a0b768de36ded39f9ac6ac1f 100644
--- a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
@@ -203,11 +203,12 @@ bool HTMLAreaElement::LayoutObjectIsFocusable() const {
return SupportsFocus() && Element::tabIndex() >= 0;
}
-void HTMLAreaElement::SetFocused(bool should_be_focused) {
+void HTMLAreaElement::SetFocused(bool should_be_focused,
+ WebFocusType focus_type) {
if (IsFocused() == should_be_focused)
return;
- HTMLAnchorElement::SetFocused(should_be_focused);
+ HTMLAnchorElement::SetFocused(should_be_focused, focus_type);
HTMLImageElement* image_element = this->ImageElement();
if (!image_element)
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAreaElement.h ('k') | third_party/WebKit/Source/core/html/HTMLFrameElementBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698